Commit graph

384 commits

Author SHA1 Message Date
Linus Nielsen Feltzing
dece2cca81 Gain adjustments now use key repeats
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3402 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 11:23:57 +00:00
Daniel Stenberg
2e638cf8d5 CP: no tabs, 4-level indent.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3381 a1c6a512-1295-4272-9138-f99709370657
2003-03-04 15:20:51 +00:00
Robert Hak
648ccc8f0f code police
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3350 a1c6a512-1295-4272-9138-f99709370657
2003-02-26 21:39:13 +00:00
Robert Hak
832425c605 stupid tabs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3339 a1c6a512-1295-4272-9138-f99709370657
2003-02-25 21:39:11 +00:00
Robert Hak
ff78e09f94 undo bug across levels, you can't undo to the previous level
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3338 a1c6a512-1295-4272-9138-f99709370657
2003-02-25 21:32:46 +00:00
Daniel Stenberg
e1c6604719 use void, not blanks, in function protos to prevent warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3328 a1c6a512-1295-4272-9138-f99709370657
2003-02-24 10:03:27 +00:00
Robert Hak
820e3ae746 rewrite/cleanup, addition of multilevel undo (limit is 5 right now)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3327 a1c6a512-1295-4272-9138-f99709370657
2003-02-24 09:32:09 +00:00
Robert Hak
03e521f86f added undo info to opening screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3318 a1c6a512-1295-4272-9138-f99709370657
2003-02-21 18:58:34 +00:00
Björn Stenberg
c4d8d970f6 The power-saving SLEEP patch by Simon Elén.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3259 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 09:44:34 +00:00
Linus Nielsen Feltzing
75c063f5cc The recording screen now uses the fixed internal font
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3255 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 03:31:45 +00:00
Linus Nielsen Feltzing
1fcd31d3ff Fixed the 3-hour time display bug, plus some cosmetic changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3253 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 02:48:12 +00:00
Uwe Freese
5e44a56b65 disable charge control for FM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3239 a1c6a512-1295-4272-9138-f99709370657
2003-02-12 22:21:07 +00:00
Linus Nielsen Feltzing
c43a307011 Added some debugging info to chase the 3-hour time display bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3227 a1c6a512-1295-4272-9138-f99709370657
2003-02-08 02:59:47 +00:00
Felix Arends
aa8adb252b no inline for simulator compilation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3194 a1c6a512-1295-4272-9138-f99709370657
2003-01-30 15:52:47 +00:00
Björn Stenberg
b8f5759d96 tm_mon starts at 0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3173 a1c6a512-1295-4272-9138-f99709370657
2003-01-27 14:43:32 +00:00
Björn Stenberg
cc11e885d1 Corrected get_time(). This should fix the bad file date bug. Also changed status.c to use get_time() instead of reading directly from RTC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3170 a1c6a512-1295-4272-9138-f99709370657
2003-01-27 14:24:40 +00:00
Mats Lidell
74cc9e41fa Remove use of rockbox-mode.el in local variables list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3157 a1c6a512-1295-4272-9138-f99709370657
2003-01-24 10:56:06 +00:00
Kjell Ericson
767d604bcd Removed unnecessary calls to lcd_stop_scroll().
Changed all lcd_scroll_pause() to lcd_stop_scroll().
Updated the tree system for new scroll-behaviour.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3154 a1c6a512-1295-4272-9138-f99709370657
2003-01-23 14:28:16 +00:00
Björn Stenberg
34c1795430 Added repeat for DEL key
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3127 a1c6a512-1295-4272-9138-f99709370657
2003-01-18 17:47:50 +00:00
Hardeep Sidhu
c74a28f20d Include config.h. Fixes compile error because of new MAS define.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3116 a1c6a512-1295-4272-9138-f99709370657
2003-01-16 20:25:49 +00:00
Eric Linenberg
ed69390542 fixed bug with undo and switching levels
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3109 a1c6a512-1295-4272-9138-f99709370657
2003-01-16 14:50:34 +00:00
Eric Linenberg
16576efae7 press ON for undo in sokoban (only 1 undo for now, but better than nothing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3103 a1c6a512-1295-4272-9138-f99709370657
2003-01-16 05:44:00 +00:00
Björn Stenberg
43d6d28e20 Fixed wrong u character.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3095 a1c6a512-1295-4272-9138-f99709370657
2003-01-15 14:31:05 +00:00
Björn Stenberg
0e84a50ea7 Recording screen now uses fixed font.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3093 a1c6a512-1295-4272-9138-f99709370657
2003-01-15 13:57:10 +00:00
Björn Stenberg
58dff17b8e Keyboard fixes. ON now means Done on both recorder and player. Navigation keys repeat. Recorder keyboard uses system font.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3092 a1c6a512-1295-4272-9138-f99709370657
2003-01-15 13:48:54 +00:00
Uwe Freese
89a180674b fix for another sim error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3022 a1c6a512-1295-4272-9138-f99709370657
2002-12-18 22:57:59 +00:00
Uwe Freese
012d1d5f90 display graphic batt. animation instead of numerical 0,34,68,100 when charging
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3016 a1c6a512-1295-4272-9138-f99709370657
2002-12-18 18:47:11 +00:00
Björn Stenberg
c3fd67c6c9 Killed a dozen global variables
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3015 a1c6a512-1295-4272-9138-f99709370657
2002-12-18 14:57:45 +00:00
Linus Nielsen Feltzing
3c9a109ec2 Added recorded file size display
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2981 a1c6a512-1295-4272-9138-f99709370657
2002-12-14 00:09:47 +00:00
Björn Stenberg
c8cb6ffcc0 Added virtual keyboard for text input, loosely based on John Wood's code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2928 a1c6a512-1295-4272-9138-f99709370657
2002-12-04 15:04:43 +00:00
Robert Hak
0789d42400 updateing a build failure (ata_power_off) and first attempt to add 'playlist only' file display
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2894 a1c6a512-1295-4272-9138-f99709370657
2002-11-30 09:42:13 +00:00
Linus Nielsen Feltzing
d0c958a861 Corrected time info when recording
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2884 a1c6a512-1295-4272-9138-f99709370657
2002-11-25 00:00:46 +00:00
Linus Nielsen Feltzing
c833a816d8 Lots of MAS hacking for better recording results
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2878 a1c6a512-1295-4272-9138-f99709370657
2002-11-24 00:23:49 +00:00
Linus Nielsen Feltzing
390e8f0ec6 Set both channel level to 0 when recording from microphone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2872 a1c6a512-1295-4272-9138-f99709370657
2002-11-21 18:58:55 +00:00
Linus Nielsen Feltzing
6100dd099b New filename generation based on date/time
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2863 a1c6a512-1295-4272-9138-f99709370657
2002-11-20 00:02:52 +00:00
Linus Nielsen Feltzing
d703389780 More recording stability, plus some feedback
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2860 a1c6a512-1295-4272-9138-f99709370657
2002-11-19 21:07:44 +00:00
Linus Nielsen Feltzing
51fc9820c0 Forgot to set the gain when entering the recording screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2842 a1c6a512-1295-4272-9138-f99709370657
2002-11-13 08:27:18 +00:00
Linus Nielsen Feltzing
5afd4aad26 No stops MP3 playback when entering the recording screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2841 a1c6a512-1295-4272-9138-f99709370657
2002-11-12 22:36:06 +00:00
Linus Nielsen Feltzing
ddcc25a141 Now reloads the dir when leaving the recording screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2824 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 13:19:17 +00:00
Linus Nielsen Feltzing
1bee8d5117 Now applies the selected options properly when exiting the setup menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2819 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 08:16:18 +00:00
Linus Nielsen Feltzing
afe0da9e16 Recording settings are now persistent. Added a Recording Settings menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2818 a1c6a512-1295-4272-9138-f99709370657
2002-11-10 23:18:33 +00:00
Linus Nielsen Feltzing
1325c9d9fe Added recording functionality
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2816 a1c6a512-1295-4272-9138-f99709370657
2002-11-10 16:42:31 +00:00
Linus Nielsen Feltzing
a02ffd5afa Some peak meter optimizations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2784 a1c6a512-1295-4272-9138-f99709370657
2002-10-30 23:01:27 +00:00
Linus Nielsen Feltzing
0afe4ffcb6 New repeat and repeat-one icons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2779 a1c6a512-1295-4272-9138-f99709370657
2002-10-29 13:59:51 +00:00
Linus Nielsen Feltzing
fd0cc3b2b1 Phil Pertermann's dB peak meter patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2774 a1c6a512-1295-4272-9138-f99709370657
2002-10-29 12:09:15 +00:00
Robert Hak
8f11dc00ac usb detection in bounce, and all files use default font (not loaded)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2773 a1c6a512-1295-4272-9138-f99709370657
2002-10-29 10:45:29 +00:00
Robert Hak
5a9e8929cd battery/volume status can be displayed numerically
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2750 a1c6a512-1295-4272-9138-f99709370657
2002-10-26 05:26:23 +00:00
Daniel Stenberg
061763b2a6 fixed the check for the release events
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2749 a1c6a512-1295-4272-9138-f99709370657
2002-10-23 15:09:52 +00:00
Robert Hak
b351656491 fix on button detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2748 a1c6a512-1295-4272-9138-f99709370657
2002-10-23 14:42:45 +00:00
Björn Stenberg
89d57b122a Added USB handling. Fixed return value bug.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2744 a1c6a512-1295-4272-9138-f99709370657
2002-10-22 20:13:40 +00:00
Robert Hak
1df1e51a03 stepping towards seperate levels file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2725 a1c6a512-1295-4272-9138-f99709370657
2002-10-19 12:06:16 +00:00
Felix Arends
12c1981728 don't compile on the simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2686 a1c6a512-1295-4272-9138-f99709370657
2002-10-16 16:26:11 +00:00
Robert Hak
67c977fe0d added missing line
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2682 a1c6a512-1295-4272-9138-f99709370657
2002-10-16 12:37:51 +00:00
Robert Hak
1e1400028f added legend
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2681 a1c6a512-1295-4272-9138-f99709370657
2002-10-16 12:34:28 +00:00
Robert Hak
88acd05e89 initial creation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2680 a1c6a512-1295-4272-9138-f99709370657
2002-10-16 12:30:57 +00:00
Daniel Stenberg
9eac76dc53 exit on the button off release event
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2645 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 08:05:52 +00:00
Daniel Stenberg
9277d8724e Rotating cube demo.
Original code by Damien Teney, modified to integer math by Andreas Zwirtes,
code policed by Daniel Stenberg (think 'static').


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2627 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 07:17:50 +00:00
Markus Braun
22a7a2d7d3 Added 12 hour clock to status bar on recorders.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2621 a1c6a512-1295-4272-9138-f99709370657
2002-10-14 12:50:20 +00:00
Robert Hak
59ed9d0542 translation fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2617 a1c6a512-1295-4272-9138-f99709370657
2002-10-14 12:09:57 +00:00
Daniel Stenberg
f84d6bf886 Now, try press ON while watching the bounce screen. I'm sure we can think
of something more fun to do with this in the future.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2604 a1c6a512-1295-4272-9138-f99709370657
2002-10-13 12:48:31 +00:00
Daniel Stenberg
33adade0d5 Added an analogue clock to the screen. Adds a perfect excuse for running
this a little more often!! ;-)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2588 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 20:15:22 +00:00
Björn Stenberg
6e9d574b2b Removed the 'repeat off' icon.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2553 a1c6a512-1295-4272-9138-f99709370657
2002-10-09 23:30:40 +00:00
Björn Stenberg
96d0f05853 Removed icon sketch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2524 a1c6a512-1295-4272-9138-f99709370657
2002-10-08 10:34:07 +00:00
Björn Stenberg
7e23c70f65 Added repeat-one icon for recorders.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2523 a1c6a512-1295-4272-9138-f99709370657
2002-10-08 10:24:29 +00:00
Björn Stenberg
b7638221cd Added new icons for .cfg and .txt files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2522 a1c6a512-1295-4272-9138-f99709370657
2002-10-08 10:10:16 +00:00
Robert Hak
2eda5385d3 i dumb
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2485 a1c6a512-1295-4272-9138-f99709370657
2002-10-03 09:19:11 +00:00
Robert Hak
2ec768a206 we no longer have lang.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2484 a1c6a512-1295-4272-9138-f99709370657
2002-10-03 09:12:44 +00:00
Linus Nielsen Feltzing
69befb58ef Made peak_meter_peek() non-static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2441 a1c6a512-1295-4272-9138-f99709370657
2002-09-27 12:16:48 +00:00
Linus Nielsen Feltzing
f11702921f Philip Pertermanns peak meter
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2437 a1c6a512-1295-4272-9138-f99709370657
2002-09-27 09:44:51 +00:00
Daniel Stenberg
17b3bea830 Phil modified FIELD_RECT_WIDTH for the new default font
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2433 a1c6a512-1295-4272-9138-f99709370657
2002-09-27 07:13:02 +00:00
Markus Braun
d3d342dc27 progressbar, slidebar and scrollbar are not drawn, if they don't fit on
screen.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2414 a1c6a512-1295-4272-9138-f99709370657
2002-09-25 14:04:41 +00:00
Björn Stenberg
cae1d3b115 Fixed reds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2404 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 18:23:10 +00:00
Björn Stenberg
a4c3b03f15 Removed lcd_getfontsize(). Removed font parameters to lcd_putsxy and lcd_getstringsize.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2403 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 18:04:15 +00:00
Björn Stenberg
614272c45f One snake game is enough
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2402 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 17:47:09 +00:00
Björn Stenberg
b1b8bd4dd1 Moved on_screen, f2_screen, f3_screen and handle_usb (renamed usb_screen) to a new file: screens.c.
typedef Menu replaced with a bool.
All code now calls usb_screen() for usb handling.
Nearly all code now deals with USB connect/disconnect properly.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2401 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 17:22:12 +00:00
Björn Stenberg
1715b2707e Added a flag icon for language files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2398 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 14:42:14 +00:00
Björn Stenberg
86f9a8410b Split lcd driver into lcd-player and lcd-recorder. Player simulator still needs fixing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2370 a1c6a512-1295-4272-9138-f99709370657
2002-09-23 11:17:52 +00:00
Björn Stenberg
bed3d3f7e0 New full ISO-8859-1 system font.
Added font loading from dir browser.
Changed default font location to /.rockbox/default.fnt.
Code-policed font code.
Removed old font tools.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2347 a1c6a512-1295-4272-9138-f99709370657
2002-09-20 08:07:51 +00:00
Björn Stenberg
4da04f3bf3 Added Philipp Pertermanns oscillograph demo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2334 a1c6a512-1295-4272-9138-f99709370657
2002-09-19 10:28:10 +00:00
Björn Stenberg
505eca76e6 New language/string handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2327 a1c6a512-1295-4272-9138-f99709370657
2002-09-18 14:08:05 +00:00
Eric Linenberg
380ca88d4d Philipp's patch to stop food from appearing on a worm
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2317 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 12:39:47 +00:00
Daniel Stenberg
48c23501e9 moved the 12x16 font from the chartables to the bounce code, as that is
now the only code using that font table


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2283 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:32:25 +00:00
Daniel Stenberg
93b231c693 Greg Haerr's new loadable font. No more #ifdef font-style, removed old
propfont and loadable font code. New font file format.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2269 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:33:59 +00:00
Eric Linenberg
5d33b5b68f classic snake game by Itai Shaked
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2260 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 15:55:37 +00:00
Björn Stenberg
50053d11a0 Much expanded wormlet (Philipp Pertermann). Read the manual... :-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2250 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 23:30:16 +00:00
Björn Stenberg
77904ab892 Added snow for real.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2216 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 22:30:10 +00:00
Björn Stenberg
451d7f5d37 Renamed menu item 'Screensavers' to more descriptive 'Demos'. Added snow, removed blank and boxes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2215 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 22:28:28 +00:00
Daniel Stenberg
9381765209 To give you all a feeling from the good-old C64 demo scene, press UP or DOWN
and then change the values with LEFT and RIGHT. Enjoy!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2211 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 12:05:37 +00:00
Linus Nielsen Feltzing
b5965448fb Now includes options.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2207 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 08:31:39 +00:00
Daniel Stenberg
6e881b4833 features.h was renamed to options.h since it collided with the system
header file using that name when building the simulator...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2205 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 07:35:40 +00:00
Daniel Stenberg
d0cd07237a include features.h for deciding which features to include
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2202 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 06:41:39 +00:00
Daniel Stenberg
e4d35f6170 made it move really smooth again and extended the X axis sine table
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2185 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 13:13:01 +00:00
Björn Stenberg
0ad2010865 Added dir filter toggle (mp3/m3u) to F2 quick-set screen.
Added UpArrow and DownArrow icons.
Simplified dir reload handling in tree.c


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2158 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 20:47:23 +00:00
Björn Stenberg
abe11fd910 Added quick-set screens to F2 (play modes) and F3 (screen settings) in dir browser and wps. Fixed minor propfont issues in lcd.c. Exported icons outside of icons.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2154 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 15:58:47 +00:00
Eric Linenberg
d1bcc58290 added the last 51 leves I have been working on to make 101 levels. I know this adds a bunch of bulk to the firmware (about 20k), but I just wanted to get them out there. In the future we can do ./rockbox/slevels with the default levels or something like that. There may be some bugs in these levels, but that is for you to find.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2141 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 03:41:38 +00:00
Eric Linenberg
7d627acc05 fixed up a bunch of the levels
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2140 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 03:23:07 +00:00
Eric Linenberg
146ad6dfc5 added better WPS icon and an icon for mod/ajz files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2139 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 01:07:31 +00:00
Björn Stenberg
1a682bedad Renamed "wps.config" to "default.wps".
Added *.wps loading from dir browser.
Added ugly 'wps' icon. :-)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2131 a1c6a512-1295-4272-9138-f99709370657
2002-09-02 12:46:32 +00:00
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