Commit graph

286 commits

Author SHA1 Message Date
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
8b1085d4d1 *** empty log message ***
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2102 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 23:05:36 +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
Robert Hak
620bb0e3dd we didn't use LCD_BITMAP
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2100 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 22:53:43 +00:00
Robert Hak
1b9109aba2 USE_SCREENSAVERS define added so that we can build w/o Screensavers for the recorders if we want
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2097 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 20:57:53 +00:00
Markus Braun
4e4dfc0848 Fixed time display in statusbar.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2087 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 19:44:58 +00:00
Björn Stenberg
b847a7b296 Added status_draw() to set_playmode().
Moved rtc reading from icons.c code to status.c
Added boundary checks for time display values.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2066 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 00:39:31 +00:00
Markus Braun
b23823e8f2 Added a scrollbar with sizable knob for directory browsing etc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2041 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 14:25:56 +00:00
Markus Braun
85e936b8a3 No longer use the *_PIXEL macros.
Added a scrollbar with sizable knob for directory browsing etc.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2040 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 14:24:59 +00:00
Markus Braun
257a2f890a Changed the lcd_drawrect() api.
No longer use the *_PIXEL macros.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2039 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 14:23:57 +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
Björn Stenberg
e67958ba86 Adapted wormlet to code standard and added it to simulators.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1978 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 09:21:59 +00:00
Eric Linenberg
b0a3984c5a Philpp Petermann's game wormlet
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1975 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 03:32:39 +00:00
Eric Linenberg
2bf41efe31 Philpp Petermann's tetris patch: save score after ending game
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1972 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 03:29:13 +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
Markus Braun
c7aaca4615 Make use of the fixed lcd_getstringsize() for prop fonts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1835 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 06:23:23 +00:00
Markus Braun
11d208ca85 calculate the string width for numerical volume display and time display in
status bar.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1828 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 20:32:08 +00:00
Daniel Stenberg
afc9b57c20 (while I remember this) The width padding is 4-byte aligned, nothing else...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1783 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 14:07:43 +00:00
Daniel Stenberg
a847271a24 removed code within #ifdef STANDALONE since it doesn't work and isn't ever
used.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1773 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 06:12:20 +00:00
Björn Stenberg
ebb14ca5f9 Gained about 128 KB buffer space by removing malloc() and the heap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1726 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 23:13:01 +00:00
Björn Stenberg
f385e36a05 Getting a few pixels more filename display width by using a smaller cursor icon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1723 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 20:55:08 +00:00
Daniel Stenberg
6f79d250ca made the movement a bit slower to appear smoother
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1714 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 15:01:59 +00:00
Björn Stenberg
5ba6f01bde Code makeup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1680 a1c6a512-1295-4272-9138-f99709370657
2002-08-12 08:47:09 +00:00
Markus Braun
f150d997ba fixed display of 100% volume level
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1678 a1c6a512-1295-4272-9138-f99709370657
2002-08-12 07:14:46 +00:00
Björn Stenberg
102665958a Removed warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1676 a1c6a512-1295-4272-9138-f99709370657
2002-08-11 22:08:23 +00:00
Robert Hak
bbb4c9ea47 initial entry
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1670 a1c6a512-1295-4272-9138-f99709370657
2002-08-11 11:59:40 +00:00
Björn Stenberg
d23591dd57 Killed warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1656 a1c6a512-1295-4272-9138-f99709370657
2002-08-10 07:45:35 +00:00
Markus Braun
9bf86f75fa Volume is shown numerical after a change
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1642 a1c6a512-1295-4272-9138-f99709370657
2002-08-09 11:57:31 +00:00
Markus Braun
709382c801 Power plug is shown when charger is attached and blinking when charging is enabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1594 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 13:05:13 +00:00
Markus Braun
de8fbf00a8 Added status bar to file browser and wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1582 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 10:35:26 +00:00
Linus Nielsen Feltzing
a93801da31 Now uses button_get_w_tmo()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1578 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 07:46:24 +00:00
Linus Nielsen Feltzing
d07f61014f Now handles key repeat again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1472 a1c6a512-1295-4272-9138-f99709370657
2002-07-27 21:29:07 +00:00
Linus Nielsen Feltzing
09fe394c3f Fixed button_get() problems
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1439 a1c6a512-1295-4272-9138-f99709370657
2002-07-24 19:42:46 +00:00
Felix Arends
4744d3bcf0 fixed cannot-lose-bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1335 a1c6a512-1295-4272-9138-f99709370657
2002-07-04 21:24:09 +00:00
Felix Arends
c849c397ad super-duper tetris applying to the standards of the Tetris Expert Panel and the GameBoy measures :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1330 a1c6a512-1295-4272-9138-f99709370657
2002-07-04 13:46:18 +00:00
Linus Nielsen Feltzing
3fd8a9e651 Killed warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1322 a1c6a512-1295-4272-9138-f99709370657
2002-07-03 15:45:39 +00:00
Felix Arends
cd890a5e5e 4x4 pixel stones, 90 degrees rotated (bigger), a few things still missing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1320 a1c6a512-1295-4272-9138-f99709370657
2002-07-03 13:31:12 +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
Daniel Stenberg
caebbcd77f removed Test from the enum list, it broke things
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1171 a1c6a512-1295-4272-9138-f99709370657
2002-06-25 09:02:00 +00:00
Robert Hak
d5dda2c360 slider bar is now available
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1166 a1c6a512-1295-4272-9138-f99709370657
2002-06-25 07:27:29 +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
Björn Stenberg
c7e4f828d5 Better random
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1120 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 09:40:51 +00:00
Björn Stenberg
28bb3033a5 Added level speeds. Cleaned up variables.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1119 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 09:32:33 +00:00
Linus Nielsen Feltzing
7ab949c9f9 now rotates counter-clockwise
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1113 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 08:34:06 +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
Robert Hak
06bb928dd6 bounce doesn't need to reference the nonexistant file: screensaver.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1054 a1c6a512-1295-4272-9138-f99709370657
2002-06-18 06:46:04 +00:00
Robert Hak
ab0cbf0fb4 removed files that were renamed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1052 a1c6a512-1295-4272-9138-f99709370657
2002-06-18 06:44:00 +00:00
Robert Hak
f9135f3b2f fixed typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1051 a1c6a512-1295-4272-9138-f99709370657
2002-06-18 06:41:50 +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
Robert Hak
4990c7511a renamed screensaver.[ch] to boxes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1019 a1c6a512-1295-4272-9138-f99709370657
2002-06-16 23:21:57 +00:00
Daniel Stenberg
6828b8791a unused variable, remove compiler warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1015 a1c6a512-1295-4272-9138-f99709370657
2002-06-15 13:45:50 +00:00
Daniel Stenberg
151a86d871 made ss_loop static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1013 a1c6a512-1295-4272-9138-f99709370657
2002-06-15 13:30:55 +00:00
Daniel Stenberg
733c99fe42 Lemme describe it this way:
Two sine waves. Seven letters. They're all flying! ;-)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1012 a1c6a512-1295-4272-9138-f99709370657
2002-06-15 13:29:03 +00:00
Daniel Stenberg
fc9aff3746 Selector was already the cursor image, so I removed the duplicate
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1010 a1c6a512-1295-4272-9138-f99709370657
2002-06-15 11:40:22 +00:00
Daniel Stenberg
c72061ea0b nicer cursor and a folder bitmap that is horizontally aligned with the file
one


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@994 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 09:02:16 +00:00
Daniel Stenberg
35facde576 Added cursor bitmap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@992 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 08:47:09 +00:00
Daniel Stenberg
4a3824425e remove WIN32 usage
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@983 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 17:57:49 +00:00
Felix Arends
d0b23126f1 need to include "sprintf.h" for win32 simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@980 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 15:33:07 +00:00
Daniel Stenberg
999c255599 include string.h to remove compiler warning on target
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@919 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 14:52:53 +00:00
Linus Nielsen Feltzing
6ecc0fa582 Killed a few warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@914 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 14:19:43 +00:00
Robert Hak
da4d33b7a9 sleep now references HZ
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@882 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 08:32:45 +00:00
Robert Hak
84ee4ca964 increased length of 'you lose' display
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@881 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 08:32:07 +00:00
Daniel Stenberg
2d4f717adc sprintf => snprintf and now we build on the recorder again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@877 a1c6a512-1295-4272-9138-f99709370657
2002-06-03 06:57:27 +00:00
Felix Arends
739f2ae0fe Zoomed Screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@864 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 22:16:10 +00:00
Felix Arends
7844e67034 Fixed remove-line-bug.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@863 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 20:33:22 +00:00
Daniel Stenberg
cccf7f8bb1 use proper ansi function declarations to reduce compiler warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@858 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 12:34:29 +00:00
Daniel Stenberg
9ea1f1a3a5 added this icon I call rockbox112x37, let's now all take a guess what it
might be ;-)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@856 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 12:30:48 +00:00
Daniel Stenberg
5813fa90d3 removed unused variables, removed static variables
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@816 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 08:40:21 +00:00
Daniel Stenberg
00c6f5136f corrected the comment regarding what kind of BMP files this reads
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@813 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 07:00:56 +00:00
Daniel Stenberg
acfb29ee32 prototype for the BMP file reader function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@807 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 06:36:09 +00:00
Felix Arends
1f50b8bd2d included debug.h for debugf function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@798 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 14:36:09 +00:00
Felix Arends
2e98c5348a included string.h for memset in windows
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@797 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 14:32:05 +00:00
Daniel Stenberg
c1bb768e5a new button_get() usage
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@766 a1c6a512-1295-4272-9138-f99709370657
2002-05-28 15:05:56 +00:00
Daniel Stenberg
2b56bcac3d removed bad extern
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@731 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 09:26:26 +00:00
Daniel Stenberg
1690a16d41 include "config.h" first
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@680 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 08:59:34 +00:00
Daniel Stenberg
aa11e3eae3 free memory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@635 a1c6a512-1295-4272-9138-f99709370657
2002-05-21 07:33:13 +00:00
Björn Stenberg
37a7c25caa Moving recorder code to recorder/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@618 a1c6a512-1295-4272-9138-f99709370657
2002-05-17 13:53:41 +00:00