Commit graph

33032 commits

Author SHA1 Message Date
Daniel Stenberg
19b25e9dd6 Improved the randomise playlist function pretty major. This one will run
a lot faster. Also made the function accept a seed number as a function
argument, as we are likely to want to randomise using a known seed very
many times...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@437 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 11:16:32 +00:00
Daniel Stenberg
cd96302418 builds wavey's playlist test harness on Linux/unix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@436 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 11:14:58 +00:00
Daniel Stenberg
c484ae4494 builds with Player LCD too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@435 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 10:45:50 +00:00
Daniel Stenberg
08e2b4917b remove printf()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@434 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 10:34:16 +00:00
Daniel Stenberg
5adb05fff5 void functions don't return values...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@433 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 10:33:41 +00:00
Daniel Stenberg
83e92b86fc minor protection to not re-define O_RDONLY if it is already defined
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@432 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 10:32:59 +00:00
Daniel Stenberg
0343834852 include file.h (important for the x11 sim to work) and types.h (as that
already has a bool type and TRUE/FALSE defines). Also now includes its
own new id3.h for the struct definition.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@431 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 10:32:20 +00:00
Daniel Stenberg
fa1bce237a proto and struct for id3-info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@430 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 10:31:21 +00:00
Daniel Stenberg
df700fd007 use the menu function pointers properly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@429 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 10:30:41 +00:00
Daniel Stenberg
1cc447afe6 Play a tune. Uses the id3-info now and display it on screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@428 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 10:30:17 +00:00
Daniel Stenberg
86a05c56c2 build play.c and id3.c too now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@427 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 10:29:17 +00:00
Daniel Stenberg
b3df1916fb wrapper include for the actual file.h to enable the change-root fiddle
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@426 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 10:28:48 +00:00
Daniel Stenberg
91f165e3da support open() properly so that the root dir works in the archos subdir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@425 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 10:28:23 +00:00
Daniel Stenberg
bd16e2fa94 Use the defines, we can't assume a particular LCD or keypad.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@424 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 12:27:18 +00:00
Daniel Stenberg
f7a6c45c43 Make it easy to select which kind of LCD you want the simulator to feature
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@423 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 12:26:21 +00:00
Daniel Stenberg
d3cf73e6f5 started to implement the charcell LCD api
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@422 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 12:25:06 +00:00
Daniel Stenberg
837e2c475f don't define anything like this here
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@421 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 12:22:03 +00:00
Daniel Stenberg
7212f83996 funny preprocessor tricks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@420 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 12:21:36 +00:00
Daniel Stenberg
c8b6119b38 Added weird circumvention macros for SIMULATOR builds. When we build a
charcell LCD simulator, we keep the bitmap LCD functions too, as we use
the bitmap functionality to put characters on screen. But since the charcell
LCD api and the bitmap LCD api use the same function names for a few
functions, we include redef and undef files to fix that...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@419 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 12:19:36 +00:00
Daniel Stenberg
9b79d0b966 get the chartables even for non-bitmap displays when we simulate
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@418 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 12:13:58 +00:00
Daniel Stenberg
c8397f55e5 changed window size to be about the same size as a recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@417 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 11:16:07 +00:00
Robert Hak
225f620ac9 Removed #defines
Added structs, function pointers and enum of menu items.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@416 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 10:03:41 +00:00
Robert Hak
523f228bbe Added browse_root(void)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@415 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 10:02:50 +00:00
Robert Hak
dbf60ee358 created
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@414 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 10:01:34 +00:00
Robert Hak
a5e942f64d add reference to its header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@413 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 10:00:47 +00:00
Björn Stenberg
4d4ec3aa0b Added opendir, closedir and readdir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@412 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 15:36:52 +00:00
Björn Stenberg
924164e6a7 Changed to global 'bpb' struct
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@411 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 15:35:51 +00:00
Linus Nielsen Feltzing
3b3e7bd8af First sound check
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@410 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 13:13:54 +00:00
Linus Nielsen Feltzing
1ba5d1f6b6 Doubled the buffer size
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@409 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 13:13:21 +00:00
Linus Nielsen Feltzing
0bd77a6a80 Added a few functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@408 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 13:12:21 +00:00
Björn Stenberg
f7f576f6c7 Updates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@407 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 13:07:36 +00:00
Björn Stenberg
e66dbaddba Moved MAS to status GREEN
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@406 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 12:32:31 +00:00
Björn Stenberg
c7f7934e8f Added disk/partition handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@405 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 11:59:53 +00:00
Linus Nielsen Feltzing
86a59ecdf6 Added port B findings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@404 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 08:29:15 +00:00
Robert Hak
8ff2e3f3a4 minor sizing correction
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@403 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 07:50:11 +00:00
Robert Hak
6675042641 *** empty log message ***
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@402 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 07:01:40 +00:00
Robert Hak
38cb040f07 Commented out log statement on lcd_update
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@401 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 06:54:41 +00:00
Robert Hak
0326934e91 Commented out the KEY PRESSED and EVENT debug messages
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@400 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 06:51:05 +00:00
Robert Hak
1118c88639 lcd_drawrect added
I was tired of calling lcd_drawline 4 times on my own.  This acts
as a wrapper around that.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@399 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 06:23:30 +00:00
Robert Hak
0e747f18bc Removed unused menu options
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@398 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 06:11:39 +00:00
Robert Hak
7350957516 Fixed stupid error with cursor positioning on return from an app.
By request, cursor remains at last menu item selected upon return from
that sub-menu


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@397 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 06:00:54 +00:00
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