1
0
Fork 0
forked from len0rd/rockbox
Commit graph

916 commits

Author SHA1 Message Date
Kjell Ericson
8877ad943e Fixed so that the plugin is exitable (was irritating that the first plugin
in the list was the one you couldn't exit).
Negative impact: It seems to do a disk acess in the beginning and update the
display twice.
Positive impact: Pressing a key (like play) will "stress" the test and force
another disk access (and display update).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4801 a1c6a512-1295-4272-9138-f99709370657
2004-06-23 08:49:55 +00:00
Daniel Stenberg
8ea434834c Move two steps on each move up/down. (Attempt to make it more playable after
user input, maybe I should try it myself on target soon)
Replaced hard-coded LCD sizes with the proper defines.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4797 a1c6a512-1295-4272-9138-f99709370657
2004-06-23 06:59:16 +00:00
Kjell Ericson
57e43cfb21 1) Presents a time for us without RTC.
2) Escaping the percent-sign correct for the splash screen.
3) Removed the newline for the splash screen.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4785 a1c6a512-1295-4272-9138-f99709370657
2004-06-22 05:37:44 +00:00
Jens Arnold
051e017ab8 Slight speedup for drawing 1-bit bitmaps with draw modes 0..2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4784 a1c6a512-1295-4272-9138-f99709370657
2004-06-22 00:02:51 +00:00
Daniel Stenberg
91c51764ee on request, set the SIMULATOR define when building for the sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4780 a1c6a512-1295-4272-9138-f99709370657
2004-06-20 22:01:26 +00:00
Kjell Ericson
87d064d9d1 Ooops, I declared a variable in the middle of the code. Shame on me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4771 a1c6a512-1295-4272-9138-f99709370657
2004-06-18 10:08:32 +00:00
Kjell Ericson
fb9dbb623a First version of my chessclock. Only tried on Player. Lacking a simulator
environment made me prohibit compilation for recorders.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4769 a1c6a512-1295-4272-9138-f99709370657
2004-06-18 09:05:19 +00:00
Daniel Stenberg
4a55d16282 and use snprintf() from the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4765 a1c6a512-1295-4272-9138-f99709370657
2004-06-16 22:16:50 +00:00
Daniel Stenberg
ce60003ebb code after variables
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4764 a1c6a512-1295-4272-9138-f99709370657
2004-06-16 22:16:01 +00:00
Daniel Stenberg
38567bab2b only for bitmaps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4763 a1c6a512-1295-4272-9138-f99709370657
2004-06-16 21:56:46 +00:00
Daniel Stenberg
3430c5d6e6 Initial version of pong, not tested on target by me yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4762 a1c6a512-1295-4272-9138-f99709370657
2004-06-16 21:54:53 +00:00
Jens Arnold
c5800382c3 Fixed a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4761 a1c6a512-1295-4272-9138-f99709370657
2004-06-16 21:13:40 +00:00
Jens Arnold
58f17cd082 Mandelbrot didn't yield() at all, leading to playback problems when heavily calculating mandelbrots
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4759 a1c6a512-1295-4272-9138-f99709370657
2004-06-16 20:51:05 +00:00
Björn Stenberg
be52a11038 Simple battery runtime test
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4751 a1c6a512-1295-4272-9138-f99709370657
2004-06-15 23:24:06 +00:00
Linus Nielsen Feltzing
5b9c4c1297 The plugin lib now works in the win32 simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4747 a1c6a512-1295-4272-9138-f99709370657
2004-06-15 05:41:41 +00:00
Linus Nielsen Feltzing
f5491a519d Tetris is now Rockblox, to avoid trademark problems
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4742 a1c6a512-1295-4272-9138-f99709370657
2004-06-14 12:50:05 +00:00
Linus Nielsen Feltzing
a6142ab7ab Finally, the archos directory sandbox works in the same way for both X11 and win32 simulators. Unfortunately, this breaks the VC++ compatibility. Also, the plugin API now supports DEBUGF. Last, but not least, we have a new plugin, vbrfix.rock.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4726 a1c6a512-1295-4272-9138-f99709370657
2004-06-10 13:29:52 +00:00
Jörg Hohensohn
5fc1b64ae0 supporting 4:2:2 vertical subsampling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4725 a1c6a512-1295-4272-9138-f99709370657
2004-06-10 06:48:24 +00:00
Björn Stenberg
00f67d61ce Othelo removed due to legal issues.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4722 a1c6a512-1295-4272-9138-f99709370657
2004-06-08 11:14:37 +00:00
Jens Arnold
2adfd88965 Adapted to new grayscale framework
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4712 a1c6a512-1295-4272-9138-f99709370657
2004-06-02 23:54:18 +00:00
Jens Arnold
ca2bb463d3 Major rework of the grayscale framework:
* api change - all drawing functions now use draw mode, foreground and
  background shades set globally by separate functions
* There are now 4 draw modes for all drawing functions, no more separate
  functions for inverse drawing
* Significant speedup of 1-bit bitmap (and font) drawing (2..3 times)
* Some more speed tweaks
* Additional functions for horizontal and vertical lines
* Copied describing comments to the header file for easier reference
* The safety net against an uninitialized grayscale buffer is gone


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4711 a1c6a512-1295-4272-9138-f99709370657
2004-06-02 23:53:27 +00:00
Jens Arnold
7115cf1d50 Improved drawing speed by drawing whole columns at once (Matthias)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4707 a1c6a512-1295-4272-9138-f99709370657
2004-05-26 23:49:42 +00:00
Linus Nielsen Feltzing
4bd2702cad Patch #958658, metronome uses plugin_register_timer now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4704 a1c6a512-1295-4272-9138-f99709370657
2004-05-26 06:56:18 +00:00
Jörg Hohensohn
480c2fa215 removed a bit of obsolete stuff
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4697 a1c6a512-1295-4272-9138-f99709370657
2004-05-23 15:41:28 +00:00
Jörg Hohensohn
9592ebb879 now supports images with restart markers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4693 a1c6a512-1295-4272-9138-f99709370657
2004-05-23 06:23:02 +00:00
Jens Arnold
cc9bb412ee Default viewer for .ucl is rockbox_flash.rock
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4688 a1c6a512-1295-4272-9138-f99709370657
2004-05-21 23:05:50 +00:00
Björn Stenberg
0d53b48e0d Set up default viewers.config
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4682 a1c6a512-1295-4272-9138-f99709370657
2004-05-21 21:01:20 +00:00
Jens Arnold
9ca74798b6 Fix: scrolling left/right with even pixel counts caused an address error if the buffer width was odd. Some more tweaks and cleanups.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4681 a1c6a512-1295-4272-9138-f99709370657
2004-05-21 20:48:35 +00:00
Björn Stenberg
fb00c2190b Plugin/file type association system. Patch #879411 by Henrik Backe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4677 a1c6a512-1295-4272-9138-f99709370657
2004-05-21 20:08:24 +00:00
Jens Arnold
3e00f527fe Fixed behaviour when connecting USB, made scrolling a bit faster by not emptying the button queue every time
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4675 a1c6a512-1295-4272-9138-f99709370657
2004-05-21 19:54:22 +00:00
Daniel Stenberg
0a6acd5539 use the new path to the levels file, the daily build of tomorrow will make
it appear at this path


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4670 a1c6a512-1295-4272-9138-f99709370657
2004-05-21 17:25:46 +00:00
Daniel Stenberg
bfc4adec61 this is the levels file for sokoban
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4668 a1c6a512-1295-4272-9138-f99709370657
2004-05-21 17:15:10 +00:00
Jens Arnold
4c67f0f3bb FIX: The previous update produced a buffer overflow, which broke e.g. the jpeg viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4656 a1c6a512-1295-4272-9138-f99709370657
2004-05-20 13:10:41 +00:00
Jens Arnold
b3acd275ce Missing function declaration
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4655 a1c6a512-1295-4272-9138-f99709370657
2004-05-20 08:25:16 +00:00
Jens Arnold
512079f944 Font support, several speed and size tweaks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4654 a1c6a512-1295-4272-9138-f99709370657
2004-05-20 08:21:18 +00:00
Jens Arnold
6920aed858 Removed the grayscale framework, gets linked in from the plugin lib instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4652 a1c6a512-1295-4272-9138-f99709370657
2004-05-19 17:19:11 +00:00
Jens Arnold
71c83b9b6b Removed duplicate grayscale framework
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4651 a1c6a512-1295-4272-9138-f99709370657
2004-05-19 17:05:17 +00:00
Jens Arnold
38f1d4d285 Adapted to new gray_init_buffer()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4650 a1c6a512-1295-4272-9138-f99709370657
2004-05-19 17:04:08 +00:00
Jens Arnold
0d23d0adea JPEG viewer now uses the 'official' grayscale framework
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4649 a1c6a512-1295-4272-9138-f99709370657
2004-05-19 17:03:23 +00:00
Jens Arnold
007e1d1af3 Added return parameter for space taken by grayscale buffer to gray_init_buffer()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4648 a1c6a512-1295-4272-9138-f99709370657
2004-05-19 17:02:20 +00:00
Daniel Stenberg
0e1faea5ac declare variables before code, remain C89-compatible
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4647 a1c6a512-1295-4272-9138-f99709370657
2004-05-19 10:45:55 +00:00
Daniel Stenberg
e4e3337671 I am a wannabe code-police
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4646 a1c6a512-1295-4272-9138-f99709370657
2004-05-19 10:21:42 +00:00
Daniel Stenberg
367aac9519 Isaac's calculator plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4645 a1c6a512-1295-4272-9138-f99709370657
2004-05-19 09:19:02 +00:00
Jens Arnold
e4c1667979 Grayscale demo plugin, now using the grayscale library
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4642 a1c6a512-1295-4272-9138-f99709370657
2004-05-19 08:21:30 +00:00
Jens Arnold
a05c413774 First real library version of the grayscale framework
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4641 a1c6a512-1295-4272-9138-f99709370657
2004-05-19 08:18:25 +00:00
Daniel Stenberg
f4b52b82ea o removed the grayscale framework, it gets linked in from the libplugin instead
o use the grayscale.h header
o killed trailing whitespace


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4640 a1c6a512-1295-4272-9138-f99709370657
2004-05-19 08:05:58 +00:00
Daniel Stenberg
a08fa7142a o killed trailing whitespace
o uses the new grayscale.h header
o #ifdef'ed out the code that builds a plugin, as this is now only part of the
  libplugin. we should probably build a separate plugin instead.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4639 a1c6a512-1295-4272-9138-f99709370657
2004-05-19 08:04:55 +00:00
Daniel Stenberg
a9244032d2 grayscale framework header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4638 a1c6a512-1295-4272-9138-f99709370657
2004-05-19 08:03:43 +00:00
Daniel Stenberg
8b043aece9 this source file was moved to the lib/ dir instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4637 a1c6a512-1295-4272-9138-f99709370657
2004-05-19 06:46:07 +00:00
Daniel Stenberg
a834f0f5c3 moved Jens Arnold's grayscale frame work source file to the plugin library
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4636 a1c6a512-1295-4272-9138-f99709370657
2004-05-19 06:31:54 +00:00