rockbox/apps/plugins/xrick
Solomon Peachy e677895e29 xrick: Fix a race condition that could result in audio stopping
get_more() can disable audio when there's nothing more to genreate
but that can get called (and "fail") _before_ we set the flag
that audio is turned on.  If this occurs, we will incorrecly
set the "audio on" flag after the failure which will prevent
the mixer from being re-started.

(We're at the mercy of thread scheduling)

Change-Id: I4f6c50a71c7ad685ff45f775e7e4b1c61b8b7777
2026-03-29 18:07:00 -04:00
..
3rd_party/miniz xrick: Fix up -wundef warnings in miniz library 2025-12-07 14:28:51 -05:00
data
system xrick: Fix a race condition that could result in audio stopping 2026-03-29 18:07:00 -04:00
config.h
control.c
control.h
debug.h
devtools.c
devtools.h
draw.c
draw.h
e_bomb.c
e_bomb.h
e_bonus.c
e_bonus.h
e_box.c
e_box.h
e_bullet.c
e_bullet.h
e_rick.c
e_rick.h
e_sbonus.c
e_sbonus.h
e_them.c
e_them.h
ents.c
ents.h
game.c
game.h
maps.c
maps.h
README.md
README.rockbox
rects.c
rects.h
res_magic.c
resources.c xrick: finally fix the red. 2025-09-07 15:21:59 -04:00
resources.h
scr_gameover.c
scr_getname.c
scr_imain.c
scr_imap.c
scr_pause.c
scr_xrick.c
screens.h
scroller.c
scroller.h
SOURCES
util.c
util.h
xrick.make xrick: Fix up a questionable choice of include paths 2025-09-07 15:11:52 -04:00

xrick

xrick is a clone of Rick Dangerous, known to run on Linux, Windows, BeOs, Amiga, QNX, all sorts of gaming consoles...

I (BigOrno) have written the initial xrick code. However, graphics and maps and sounds are by the authors of the original Rick Dangerous game, and "Rick Dangerous" remains a trademark of its owner(s) -- maybe Core Design (who wrote the game) or FireBird (who published it). As of today, I have not been successful at contacting Core Design.

This makes it a bit difficult to formally release the whole code, including data for graphics and maps and sounds, under the terms of licences such as the GNU General Public Licence. So the code is released "in the spirit" of the GNU GPL. Whatever that means.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Building

Requirements:

  1. Create a build directory
$ cd xrick-x.x.x
$ mkdir build
$ cd build
  1. Generate your Makefile

$ cmake ../source/xrick/projects/cmake

  1. Build

$ make

  1. Install (optional)

$ make install

Platform specific notes can be found in README.platforms.

Usage

xrick --help will tell you all about command-line options.

Controls

  • left, right, up (jump) or down (crawl): arrow keys or Z, X, O and K.
  • fire: SPACE, end: E, pause: P, exit: ESC.
  • use left, right, up, down + fire to poke something with your stick, lay a stick of dynamite, or fire a bullet.
  • toggle fullscreen: F1 ; zoom in/out: F2, F3.
  • mute: F4 ; volume up/down: F5, F6.
  • cheat modes, "trainer": F7 ; "never die": F8 ; "expose": F9.

More details at http://www.bigorno.net/xrick/

Release History

Please see the file called CHANGELOG.md.

Contacts

Report problems or ask questions to: