Commit graph

239 commits

Author SHA1 Message Date
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
Björn Stenberg
a6428f6373 We don't store target binaries in CVS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@224 a1c6a512-1295-4272-9138-f99709370657
2002-04-25 08:35:28 +00:00
Björn Stenberg
6365574ea0 Added Rob's dependency generation script
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@223 a1c6a512-1295-4272-9138-f99709370657
2002-04-25 08:06:38 +00:00
Felix Arends
8c0a6010bb test of simulator code
Björn's Tetris


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@222 a1c6a512-1295-4272-9138-f99709370657
2002-04-25 04:46:50 +00:00
Felix Arends
144bc70a12 First Version of UISimulator for Win32
lcd and keypad working for recorder


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@221 a1c6a512-1295-4272-9138-f99709370657
2002-04-25 04:41:45 +00:00
Robert Hak
c602d3f39a Clearing out last insert
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@209 a1c6a512-1295-4272-9138-f99709370657
2002-04-24 09:14:16 +00:00
Robert Hak
6c29622e42 Trying to make this a bit more readable to the lay ppl
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@208 a1c6a512-1295-4272-9138-f99709370657
2002-04-24 09:13:27 +00:00
Robert Hak
12c91b8e16 Added reference to new drivers directory in firmware
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@206 a1c6a512-1295-4272-9138-f99709370657
2002-04-24 08:09:39 +00:00
Robert Hak
c92bead2cf a simple battery function to display a battery of passed width, length,
and location on the player.  As similar to the player display as I could get.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@186 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 08:50:38 +00:00
Björn Stenberg
45e9494a45 Missing buttons added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@149 a1c6a512-1295-4272-9138-f99709370657
2002-04-19 14:38:28 +00:00
Björn Stenberg
c7dd78e90d Tetris!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@148 a1c6a512-1295-4272-9138-f99709370657
2002-04-19 14:12:31 +00:00
Björn Stenberg
5d4094fc98 Made handle_events a polling function to allow button scanning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@146 a1c6a512-1295-4272-9138-f99709370657
2002-04-19 14:02:23 +00:00
Björn Stenberg
f9429cc11b Quick hack to clear screen before updating
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@145 a1c6a512-1295-4272-9138-f99709370657
2002-04-19 12:55:12 +00:00
Daniel Stenberg
fa2669667b cleaned up to work with some code from the firmware directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@83 a1c6a512-1295-4272-9138-f99709370657
2002-04-11 12:41:27 +00:00
Daniel Stenberg
bf538ccd21 include firmware lcd header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@82 a1c6a512-1295-4272-9138-f99709370657
2002-04-11 12:40:58 +00:00
Daniel Stenberg
fb6fd1786a adjusted to new lcd code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@81 a1c6a512-1295-4272-9138-f99709370657
2002-04-11 12:40:39 +00:00
Daniel Stenberg
defbca5a40 adjusted to new API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@80 a1c6a512-1295-4272-9138-f99709370657
2002-04-11 12:40:18 +00:00
Daniel Stenberg
eb2072507d use live, actual firmware code instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@79 a1c6a512-1295-4272-9138-f99709370657
2002-04-11 12:39:50 +00:00
Daniel Stenberg
f57d3c28d6 new
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@41 a1c6a512-1295-4272-9138-f99709370657
2002-03-28 08:52:37 +00:00
Daniel Stenberg
9898b48b68 removed the -I and -L with Linux-style paths. If we need those full paths,
we should make a configure script or similar


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@40 a1c6a512-1295-4272-9138-f99709370657
2002-03-28 08:38:09 +00:00
Robert Hak
bded740a74 Initial entry
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@37 a1c6a512-1295-4272-9138-f99709370657
2002-03-28 07:52:15 +00:00
Daniel Stenberg
f883986dd1 cut off debug output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29 a1c6a512-1295-4272-9138-f99709370657
2002-03-26 15:42:25 +00:00
Daniel Stenberg
530f01f3dc so this works now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28 a1c6a512-1295-4272-9138-f99709370657
2002-03-26 15:40:53 +00:00
Daniel Stenberg
0c4589d3bc this shows the bugs I have now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27 a1c6a512-1295-4272-9138-f99709370657
2002-03-26 14:42:33 +00:00
Daniel Stenberg
a1fd255d04 updates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26 a1c6a512-1295-4272-9138-f99709370657
2002-03-26 14:27:03 +00:00
Daniel Stenberg
e446977579 unused includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25 a1c6a512-1295-4272-9138-f99709370657
2002-03-26 13:47:42 +00:00
Daniel Stenberg
d2a47e88c1 cut off unused includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24 a1c6a512-1295-4272-9138-f99709370657
2002-03-26 13:47:32 +00:00
Daniel Stenberg
c48758e486 removed alpha.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23 a1c6a512-1295-4272-9138-f99709370657
2002-03-26 13:45:10 +00:00
Daniel Stenberg
e35c0b3dbf removed unused crap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22 a1c6a512-1295-4272-9138-f99709370657
2002-03-26 13:44:16 +00:00
Daniel Stenberg
3066991c06 removed unused code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21 a1c6a512-1295-4272-9138-f99709370657
2002-03-26 13:41:46 +00:00
Daniel Stenberg
50e2329458 not used
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20 a1c6a512-1295-4272-9138-f99709370657
2002-03-26 13:39:53 +00:00
Daniel Stenberg
a0b47e16eb cut off the #if 0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19 a1c6a512-1295-4272-9138-f99709370657
2002-03-26 13:15:58 +00:00
Daniel Stenberg
9f9a5f1af6 corrected
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18 a1c6a512-1295-4272-9138-f99709370657
2002-03-26 13:10:09 +00:00
Daniel Stenberg
1b10eeeed7 gone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17 a1c6a512-1295-4272-9138-f99709370657
2002-03-26 12:28:40 +00:00
Daniel Stenberg
a06d278426 remove grabscreen.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16 a1c6a512-1295-4272-9138-f99709370657
2002-03-26 12:27:42 +00:00
Daniel Stenberg
319d1f3406 lcd_update() works for X11 now...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15 a1c6a512-1295-4272-9138-f99709370657
2002-03-26 10:59:39 +00:00
Daniel Stenberg
d20e6eee0e generic and specific LCD functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14 a1c6a512-1295-4272-9138-f99709370657
2002-03-26 10:06:28 +00:00
Daniel Stenberg
643542799e not used anymore
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13 a1c6a512-1295-4272-9138-f99709370657
2002-03-26 09:45:27 +00:00
Daniel Stenberg
3484980afa fixed Id
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12 a1c6a512-1295-4272-9138-f99709370657
2002-03-25 14:44:06 +00:00
Daniel Stenberg
1c51babfb6 Id
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11 a1c6a512-1295-4272-9138-f99709370657
2002-03-25 14:43:36 +00:00
Daniel Stenberg
de7bdb5226 added header, removed -lsocket and -lnsl
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10 a1c6a512-1295-4272-9138-f99709370657
2002-03-25 14:42:44 +00:00
Daniel Stenberg
51b9449c47 files that don't belong here
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9 a1c6a512-1295-4272-9138-f99709370657
2002-03-25 14:30:07 +00:00
Daniel Stenberg
64cdad0108 begone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8 a1c6a512-1295-4272-9138-f99709370657
2002-03-25 14:29:00 +00:00
Daniel Stenberg
9f6733fcc8 Initial revision
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4 a1c6a512-1295-4272-9138-f99709370657
2002-03-25 14:21:30 +00:00