summaryrefslogtreecommitdiff
path: root/apps/plugins/xrick/e_bullet.h
diff options
context:
space:
mode:
authorSebastian Leonhardt <sebastian.leonhardt@web.de>2016-01-08 01:05:36 +0100
committerSolomon Peachy <pizza@shaftnet.org>2024-06-30 17:24:16 -0400
commit102c3742487dba76ec72d5f56a2c3041344b2d68 (patch)
tree4931ad34d2cc0bac56d9984b9ead355d012ad63a /apps/plugins/xrick/e_bullet.h
parent6f1e67e5e318ba2fd0f5ec1892c7b6633ec6521c (diff)
downloadrockbox-102c3742487dba76ec72d5f56a2c3041344b2d68.tar.gz
rockbox-102c3742487dba76ec72d5f56a2c3041344b2d68.zip
added xrick game
original xrick code by 'BigOrno' at: http://www.bigorno.net/xrick/ Rockbox port, plus bugfixes at: https://github.com/pierluigi-vicinanza/xrick Further changes: * Additonal fixes from g#3026 * Port to modern plugin API * Add Pluginlib keymap fallback * Support all >1bpp screens * Fix build warnings in miniz * Better error message when resources are missing Change-Id: Id83928bc2539901b0221692f65cbca41389c58e7
Diffstat (limited to 'apps/plugins/xrick/e_bullet.h')
-rw-r--r--apps/plugins/xrick/e_bullet.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/apps/plugins/xrick/e_bullet.h b/apps/plugins/xrick/e_bullet.h
new file mode 100644
index 0000000000..5b8c78b709
--- /dev/null
+++ b/apps/plugins/xrick/e_bullet.h
@@ -0,0 +1,32 @@
1/*
2 * xrick/e_bullet.h
3 *
4 * Copyright (C) 1998-2002 BigOrno (bigorno@bigorno.net).
5 * Copyright (C) 2008-2014 Pierluigi Vicinanza.
6 * All rights reserved.
7 *
8 * The use and distribution terms for this software are contained in the file
9 * named README, which can be found in the root of this distribution. By
10 * using this software in any fashion, you are agreeing to be bound by the
11 * terms of this license.
12 *
13 * You must not remove this notice, or any other, from this software.
14 */
15
16#ifndef _E_BULLET_H
17#define _E_BULLET_H
18
19#include "xrick/system/basic_types.h"
20
21#define E_BULLET_NO 2
22#define E_BULLET_ENT ent_ents[E_BULLET_NO]
23
24extern S8 e_bullet_offsx;
25extern S16 e_bullet_xc, e_bullet_yc;
26
27extern void e_bullet_init(U16, U16);
28extern void e_bullet_action(U8);
29
30#endif /* ndef _E_BULLET_H */
31
32/* eof */