FS#2533 - snake - make "apple" appear faster

Attached to Project: Rockbox
Opened by Anonymous Submitter - Friday, 17 June 2005, 14:36 GMT
Last edited by Thomas Martitz (kugel.) - Thursday, 05 February 2009, 14:31 GMT
Task Type Patches
Category Games
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Release 3.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The new apple doesn't appear for around a second after
you ate the last. Dunno whether this is a bug or a
suggestion for improvement, the difference is often
unrecognisable. :D
This task depends upon

Closed by  Thomas Martitz (kugel.)
Thursday, 05 February 2009, 14:31 GMT
Reason for closing:  Accepted
Additional comments about closing:  Committed the fix with small changes to the variable types in r19926. Thanks
Comment by Daniel Stenberg (bagder) - Thursday, 30 June 2005, 06:31 GMT

Moving this to the feature-request section
Comment by Luke Blaney (lucas42) - Tuesday, 27 November 2007, 01:15 GMT
The problem seems to be that it was only checking to see if there was no apple once every 10 frames. I've attached a patch which makes this every frame.
   patch (1.3 KiB)
Comment by Johannes Linke (Jaykay) - Saturday, 13 December 2008, 15:02 GMT
synced, works well for me^^
Comment by Johannes Linke (Jaykay) - Tuesday, 16 December 2008, 13:37 GMT
gevaerts already wrote it can be committed after 3.1, this is some kind of a reminder ;)