Commit graph

619 commits

Author SHA1 Message Date
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