Commit graph

491 commits

Author SHA1 Message Date
Robert Hak
9433a8e7bf Fixed global values for tetris game not being reset. This prevented you
from playing another game if you lost your first.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@396 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 05:27:49 +00:00
Robert Hak
67dc94786b Menu cursor now wraps around top and bottom. Reworked drawing of cursor
to be a bit more friendly.  Made use of lcd_clear_display instead of
lcd_clearrect with the full display for x, y.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@395 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 05:21:58 +00:00
Linus Nielsen Feltzing
46f5461ac7 Early MP3 playing test
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@394 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 23:02:36 +00:00
Linus Nielsen Feltzing
611a7c55e2 Added mas_run function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@393 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 23:01:10 +00:00
Linus Nielsen Feltzing
1e54ea855d Just to create a C array with mp3 data
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@392 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 22:58:12 +00:00
Robert Hak
24df270e86 Fixed tab issues and made use of lcd_clear_display instead of lcd_clearrect
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@391 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 21:50:34 +00:00
Robert Hak
4bcfec6846 Corrected title display.
List how to stop screensaver under the title.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@390 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 21:40:41 +00:00
Robert Hak
797b4696d9 Added screensaver.c reference
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@389 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 21:30:58 +00:00
Robert Hak
0c75674817 Yes, its a simple screensaver... why not?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@388 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 21:28:10 +00:00
Robert Hak
caa446f4bb Added reference to the small screensaver app I added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@387 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 21:27:35 +00:00
Linus Nielsen Feltzing
8307cfd1c1 New sprintf.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@386 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 21:23:04 +00:00
Linus Nielsen Feltzing
9376d05a3b Added DEBUG macro. Now uses our own sprintf.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@385 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 21:20:05 +00:00
Daniel Stenberg
d85d4637bc link with the firmware's sprintf() code just in case we'd start to use it,
so that we don't accidently try using sprintg() formatting the firmware
doesn't support!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@384 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 14:12:08 +00:00
Björn Stenberg
697dd70ac4 Changed debug to DEBUGF and panic to panicf.
Also some linking changes.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@383 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 14:05:51 +00:00
Daniel Stenberg
bca0f0f5ea two new lines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@382 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 13:59:37 +00:00
Björn Stenberg
07b5ada0c6 Revert last change
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@381 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 12:19:41 +00:00
Björn Stenberg
1244dd7d18 Added support for %%
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@380 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 12:16:51 +00:00
Björn Stenberg
824a003052 Added Gary's snprintf() and changed all places to use it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@379 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 11:44:15 +00:00
Björn Stenberg
a98b20e22a Added flags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@378 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 11:04:30 +00:00
Robert Hak
8488530f0f Count me too... count me
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@377 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 10:31:34 +00:00
Daniel Stenberg
72aa3cfb02 Reverted the 1.10 and 1.11 changes, as they don't work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@376 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 10:06:45 +00:00
Björn Stenberg
fc292180e9 I write code too... :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@375 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 08:15:34 +00:00
Felix Arends
fea4cfa41a fixed lcd_bitmap, again. Works for y%8 != 0 as well now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@374 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 17:05:55 +00:00
Felix Arends
fa16227b25 fixed lcd_bitmap code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@373 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 16:08:21 +00:00
Stuart Martin
f707565e55 activity updates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@372 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 10:44:01 +00:00
Stuart Martin
ae082240e0 activity updates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@371 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 10:42:45 +00:00
Stuart Martin
42a878d483 activity updates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@370 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 10:41:57 +00:00
Daniel Stenberg
90ea952230 slow down tetris a bit, now when the X11 simulator supports sleep() with
an approximately correct sleep time


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@369 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 10:40:10 +00:00
Stuart Martin
96d0282f32 activity updates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@368 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 10:39:52 +00:00
Daniel Stenberg
85503a80a3 fixed header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@367 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 10:36:54 +00:00
Daniel Stenberg
49108ec572 added the sleep simulation file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@366 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 10:36:43 +00:00
Daniel Stenberg
aa4ddab13c kernel.h wrapper file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@365 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 10:36:30 +00:00
Daniel Stenberg
8d7c442a5d added sleep() simulation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@364 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 10:35:42 +00:00
Robert Hak
e916e25724 You can now successfully lose at tetris! (In other words, the game
does end now.)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@363 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 10:22:36 +00:00
Daniel Stenberg
d31188fc6e corrected the load-file path
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@362 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 10:12:28 +00:00
Daniel Stenberg
2877995956 lcd_puts() uses the new fontheight table now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@361 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 09:59:15 +00:00
Daniel Stenberg
0b81b35b7a Added lcd_fontsize() that returns the size of a given font
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@360 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 09:56:38 +00:00
Felix Arends
fda07efa45 removed win32 compiler directive
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@359 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 09:48:29 +00:00
Felix Arends
dc64ef99d1 removed WIN32 compiler directive
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@358 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 09:46:34 +00:00
Felix Arends
53a7dd242c added debug and panic support for the simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@357 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 09:34:55 +00:00
Felix Arends
9469b0458f Added compiled resource to cvs, so that people can compile with the make file without having to make the resource.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@356 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 09:34:22 +00:00
Felix Arends
0f3001a1d6 applied c standard to memory allocation so this will compile with win32 simulator as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@355 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 09:27:21 +00:00
Felix Arends
488bf3ed54 win32 simulator compability
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@354 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 09:23:45 +00:00
Felix Arends
0a7c37f430 latest (working) makefile.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@353 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 21:22:20 +00:00
Felix Arends
3d2999c911 Win32 Simulator compability:
needed to include windows.h for memcpy operations.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@352 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 21:17:27 +00:00
Felix Arends
ced58d3fef again, a little win32 simulator compability fix
(included io.h)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@351 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 21:16:22 +00:00
Felix Arends
4f94aef243 added win32 simulator compability (by including windows.h)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@350 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 21:15:44 +00:00
Felix Arends
664b2f7e9e UISW32 dir functions working,
dirbrowse compatible.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@349 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 21:15:02 +00:00
Stuart Martin
335ae5578a added -DCRT_DISPLAY
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@348 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 20:20:21 +00:00
Stuart Martin
0b9953ebca removing #define CRT_DISPLAY ;)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@347 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 20:16:44 +00:00