Commit graph

185 commits

Author SHA1 Message Date
Linus Nielsen Feltzing
c145dacb90 snake2: Some code cleanup, loads all levels at startup, fixed the bug that prevented game B from advancing to the next level
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4885 a1c6a512-1295-4272-9138-f99709370657
2004-07-15 12:33:19 +00:00
Linus Nielsen Feltzing
557633592a New plugin, snake2, by Mat Holton (Patch #838045)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4881 a1c6a512-1295-4272-9138-f99709370657
2004-07-14 13:09:56 +00:00
Linus Nielsen Feltzing
79dd35ec65 Removed the need for memcpy()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4875 a1c6a512-1295-4272-9138-f99709370657
2004-07-13 19:22:07 +00:00
Linus Nielsen Feltzing
6d84d3a691 New plugin, search.rock, by Stefan Meyer (Patch #723682)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4874 a1c6a512-1295-4272-9138-f99709370657
2004-07-13 14:25:19 +00:00
Linus Nielsen Feltzing
0c458c043a The plugin API now supports ctype macros like tolower() and friends
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4872 a1c6a512-1295-4272-9138-f99709370657
2004-07-13 14:01:41 +00:00
Linus Nielsen Feltzing
7c0cdf1918 The check for solvable puzzles didn't use all squares. This fixes bug #911484. Now uses rand() instead of current_tick for randomizing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4864 a1c6a512-1295-4272-9138-f99709370657
2004-07-12 10:46:00 +00:00
Linus Nielsen Feltzing
dcad830c92 The stop watch now inhibits the idle poweroff while counting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4863 a1c6a512-1295-4272-9138-f99709370657
2004-07-12 08:10:55 +00:00
Jens Arnold
6b559b1f97 scrollbar() parameters were swapped
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4859 a1c6a512-1295-4272-9138-f99709370657
2004-07-09 07:04:45 +00:00
Linus Nielsen Feltzing
ec9bea42a8 Removed progressbar() and a few tables as well
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4855 a1c6a512-1295-4272-9138-f99709370657
2004-07-08 13:15:16 +00:00
Linus Nielsen Feltzing
2441061764 Removed progressbar() and slidebar()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4854 a1c6a512-1295-4272-9138-f99709370657
2004-07-08 13:14:44 +00:00
Linus Nielsen Feltzing
e7bb8c0428 Added the apps/recorder dir to the include path for recorder builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4853 a1c6a512-1295-4272-9138-f99709370657
2004-07-08 13:12:16 +00:00
Jens Arnold
d073326b6b Added screen dump function to the grayscale lib
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4843 a1c6a512-1295-4272-9138-f99709370657
2004-07-06 23:11:02 +00:00
Linus Nielsen Feltzing
058302a480 Changed the behaviour of F2, and simplified the version string handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4816 a1c6a512-1295-4272-9138-f99709370657
2004-06-30 06:01:19 +00:00
Hardeep Sidhu
7eb4692e0e Fixed simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4815 a1c6a512-1295-4272-9138-f99709370657
2004-06-30 03:39:38 +00:00
Hardeep Sidhu
9814089f6f Major clock update by Zakk Roberts (patch #932605)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4814 a1c6a512-1295-4272-9138-f99709370657
2004-06-30 02:42:11 +00:00
Linus Nielsen Feltzing
a1742f2692 Corrected spelling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4813 a1c6a512-1295-4272-9138-f99709370657
2004-06-29 13:12:07 +00:00
Jens Arnold
0690ac1966 added comments about default values
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4804 a1c6a512-1295-4272-9138-f99709370657
2004-06-25 21:09:34 +00:00
Jens Arnold
b058366b13 Save and restore pr register within _writearray() / _writeblock(). Cleaner coding, fixes GCC 3.3.1 build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4803 a1c6a512-1295-4272-9138-f99709370657
2004-06-25 21:01:37 +00:00
Jens Arnold
7c6bdd6493 Split grayscale library into several files to make up a real function library. Significantly decreases binary size for plugins using it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4802 a1c6a512-1295-4272-9138-f99709370657
2004-06-23 22:15:50 +00:00
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