Commit graph

34 commits

Author SHA1 Message Date
Daniel Stenberg
48d28542d3 include "sprintf.h" after the system headers for the simulator magic
redefines to work better


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3618 a1c6a512-1295-4272-9138-f99709370657
2003-04-25 14:28:41 +00:00
Robert Hak
832425c605 stupid tabs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3339 a1c6a512-1295-4272-9138-f99709370657
2003-02-25 21:39:11 +00:00
Robert Hak
ff78e09f94 undo bug across levels, you can't undo to the previous level
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3338 a1c6a512-1295-4272-9138-f99709370657
2003-02-25 21:32:46 +00:00
Daniel Stenberg
e1c6604719 use void, not blanks, in function protos to prevent warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3328 a1c6a512-1295-4272-9138-f99709370657
2003-02-24 10:03:27 +00:00
Robert Hak
820e3ae746 rewrite/cleanup, addition of multilevel undo (limit is 5 right now)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3327 a1c6a512-1295-4272-9138-f99709370657
2003-02-24 09:32:09 +00:00
Robert Hak
03e521f86f added undo info to opening screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3318 a1c6a512-1295-4272-9138-f99709370657
2003-02-21 18:58:34 +00:00
Eric Linenberg
ed69390542 fixed bug with undo and switching levels
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3109 a1c6a512-1295-4272-9138-f99709370657
2003-01-16 14:50:34 +00:00
Eric Linenberg
16576efae7 press ON for undo in sokoban (only 1 undo for now, but better than nothing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3103 a1c6a512-1295-4272-9138-f99709370657
2003-01-16 05:44:00 +00:00
Robert Hak
8f11dc00ac usb detection in bounce, and all files use default font (not loaded)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2773 a1c6a512-1295-4272-9138-f99709370657
2002-10-29 10:45:29 +00:00
Robert Hak
1df1e51a03 stepping towards seperate levels file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2725 a1c6a512-1295-4272-9138-f99709370657
2002-10-19 12:06:16 +00:00
Björn Stenberg
a4c3b03f15 Removed lcd_getfontsize(). Removed font parameters to lcd_putsxy and lcd_getstringsize.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2403 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 18:04:15 +00:00
Björn Stenberg
b1b8bd4dd1 Moved on_screen, f2_screen, f3_screen and handle_usb (renamed usb_screen) to a new file: screens.c.
typedef Menu replaced with a bool.
All code now calls usb_screen() for usb handling.
Nearly all code now deals with USB connect/disconnect properly.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2401 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 17:22:12 +00:00
Björn Stenberg
505eca76e6 New language/string handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2327 a1c6a512-1295-4272-9138-f99709370657
2002-09-18 14:08:05 +00:00
Daniel Stenberg
6e881b4833 features.h was renamed to options.h since it collided with the system
header file using that name when building the simulator...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2205 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 07:35:40 +00:00
Daniel Stenberg
d0cd07237a include features.h for deciding which features to include
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2202 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 06:41:39 +00:00
Eric Linenberg
d1bcc58290 added the last 51 leves I have been working on to make 101 levels. I know this adds a bunch of bulk to the firmware (about 20k), but I just wanted to get them out there. In the future we can do ./rockbox/slevels with the default levels or something like that. There may be some bugs in these levels, but that is for you to find.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2141 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 03:41:38 +00:00
Eric Linenberg
7d627acc05 fixed up a bunch of the levels
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2140 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 03:23:07 +00:00
Robert Hak
862f479bec we don't need HAS_LCD_BITMAP
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2110 a1c6a512-1295-4272-9138-f99709370657
2002-09-01 17:14:17 +00:00
Robert Hak
1bcdb239c7 now use USE_GAMES
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2105 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 23:41:17 +00:00
Robert Hak
e0248c5b5c didnt make use of HAVE_LCD_BITMAP
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2101 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 22:55:40 +00:00
Markus Braun
aad11165dc Changed the lcd_drawrect() api.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2038 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 14:22:40 +00:00
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