Daniel Stenberg
b285076925
Remade the menu system slightly. All functions invoked from menus now use
...
the Menu typedef as return type, and *ALL* menus that intercept USB connect
can then return MENU_REFRESH_DIR so that the parent (any parent really) that
do file or dir-accesses knows that and can do the refresh. If no refresh
is needed by the parent, MENU_OK is returned.
Somewhat biggish commit this close to 1.3, but we need to sort out this
refresh-after-usb-connected business.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1948 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 12:32:52 +00:00
Eric Linenberg
1d1c9597c4
fixed level 11 again, and moving between levels bug
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1187 a1c6a512-1295-4272-9138-f99709370657
2002-06-25 14:43:16 +00:00
Robert Hak
9ce86e1596
corrected score placement
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1164 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 21:45:29 +00:00
Björn Stenberg
c40ac3249a
Removed some duplicated code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1145 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 11:02:18 +00:00
Eric Linenberg
ee7ddfa498
now we have 50 levels -- more on the way too
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1125 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 12:29:42 +00:00
Björn Stenberg
7826fc39f2
Changed level array to more friendly format.
...
Made all global variables static.
Replaced nested ifs with switches.
Added button exit in "you win" display.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1123 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 10:49:15 +00:00
Linus Nielsen Feltzing
f855a57976
Now blocks when waiting for a key
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1111 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 07:50:35 +00:00
Eric Linenberg
46b88fbcd3
cut down the size of the firmware by ~20k. Changed the ints to chars
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1108 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 05:04:00 +00:00
Eric Linenberg
2efc7d4e9e
sometimes when you loaded a level, a 'home' spot would appear below you
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1107 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 03:35:35 +00:00
Eric Linenberg
ea0d06fa3e
left in garbage
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1083 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 14:29:01 +00:00
Eric Linenberg
369233657f
Added more levels, also now you can restart a level and move back and forth between the levels
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1082 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 14:26:41 +00:00
Björn Stenberg
ba5e6aec47
Removed snprintf warning. Removed unnecessary #ifdef
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1032 a1c6a512-1295-4272-9138-f99709370657
2002-06-17 12:07:30 +00:00
Robert Hak
d58ab78e2c
first there was tetris, now we have sokoban
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1020 a1c6a512-1295-4272-9138-f99709370657
2002-06-16 23:24:22 +00:00