Commit graph

93 commits

Author SHA1 Message Date
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
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
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
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
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
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
Daniel Stenberg
25ca8f2a56 expanded the browser with a little cursor to move
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@331 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 13:37:28 +00:00
Daniel Stenberg
5ab87aa978 clear first, then draw might look better
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@330 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 13:29:08 +00:00
Daniel Stenberg
000cff80a1 call the dir browser when selected
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@328 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 13:17:11 +00:00
Daniel Stenberg
2df9d9a16c initial dir browsing code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@327 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 13:16:08 +00:00
Daniel Stenberg
7b3abdcb09 added for dir emulation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@326 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 13:14:59 +00:00
Robert Hak
381f6f18ac Correcting mistaken formatting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@323 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 09:05:22 +00:00
Robert Hak
642484149b Changed calls in draw_frame to lcd_drawline rather then drawing individual
pixels.  Cleared up the whole "if ((clear ? 0 : block + 1)) issue.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@322 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 09:00:21 +00:00
Daniel Stenberg
b3a0b4bfb8 corrected for Linux again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@320 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 07:02:37 +00:00
Daniel Stenberg
9b68ef8ddc draw the "box" before calling the app
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@319 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 06:55:45 +00:00
Daniel Stenberg
22740a0999 fixed for Solaris build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@318 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 06:54:36 +00:00
Daniel Stenberg
497796b3d2 corrected the source header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@305 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 20:35:33 +00:00
Felix Arends
98ed5ed17a renamed file-win32.c/h to dir-win32.c/h
corrected function definition for directory access functions.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@302 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 19:27:16 +00:00
Felix Arends
66ff6214ae updated directory functions, not fully working and untested yet
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@300 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 16:52:43 +00:00
Daniel Stenberg
1ba9faed31 changed the colors to be more Recorder-like
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@296 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 09:38:20 +00:00
Felix Arends
e0cabeeb63 removed tetris.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@295 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 09:30:54 +00:00
Felix Arends
ca3d6dc5dc commented and explained block_data array
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@294 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 09:10:47 +00:00
Daniel Stenberg
e15d317287 removed unistd.h completely
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@292 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 08:39:07 +00:00
Daniel Stenberg
d00a54f746 set recorder keypad
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@291 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 08:38:51 +00:00
Felix Arends
9636bb58d7 win32 compatible versions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@290 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 08:37:15 +00:00
Daniel Stenberg
ac4d5ef7f0 one sleep is enough
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@289 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 00:19:30 +00:00
Daniel Stenberg
5ae04070b4 only lcd_update() when a key actually was pressed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@288 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 00:18:27 +00:00
Daniel Stenberg
8776e03825 pressing OFF in tetris now gets you back to the main menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@287 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 00:11:50 +00:00
Daniel Stenberg
bd07316bcb adding small README to explain what this dir is about
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@286 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 00:03:36 +00:00
Daniel Stenberg
bbce66c735 removed log, put a sleep() back since it runs just too fast otherwise
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@285 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 00:00:41 +00:00
Daniel Stenberg
c6e0734b7b works in new dir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@284 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 00:00:02 +00:00
Daniel Stenberg
a73d52c711 use Logf()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@283 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 23:59:47 +00:00
Daniel Stenberg
3caa3c0871 moved X11-specific files into a separate subdir to keep root clean for
target files


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@282 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 23:48:49 +00:00
Daniel Stenberg
c1543511b3 runs the app now, improved the lcd simulation a bit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@281 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 23:41:41 +00:00
Daniel Stenberg
ebc68a9442 my first take at writing a little app, which of course can start tetris!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@280 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 23:41:18 +00:00
Felix Arends
31500d1824 will compile with file-win32.c now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@268 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 18:52:01 +00:00
Felix Arends
1904870cf9 fixed makefile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@267 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 18:45:55 +00:00
Felix Arends
53ba9c3911 makefile for uisw32
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@266 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 18:26:13 +00:00
Felix Arends
ae43fcaa49 file header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@264 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 17:11:23 +00:00
Felix Arends
8002aa7ee5 new files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@263 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 17:10:15 +00:00
Felix Arends
ffb9e3a5bd renamed cpp extensions to c, started coding file functions
file functions not working yet


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@262 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 17:02:17 +00:00
Felix Arends
a6ca085a35 removed unneeded code from lcd.c and renamed it do lcd-win32.c
updated modified constants (LCD_WIDTH, LCD_HEIGHT)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@261 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 15:20:53 +00:00
Felix Arends
7017fce0c7 a little fix of one constant only...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@240 a1c6a512-1295-4272-9138-f99709370657
2002-04-26 05:37:29 +00:00
Felix Arends
a6f4d21486 latest files, nothing really changed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@234 a1c6a512-1295-4272-9138-f99709370657
2002-04-25 14:09:08 +00:00