summaryrefslogtreecommitdiff
path: root/apps/plugins/xobox.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/xobox.c')
-rw-r--r--apps/plugins/xobox.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/xobox.c b/apps/plugins/xobox.c
index 33ef4d04e9..0d1bdc4f72 100644
--- a/apps/plugins/xobox.c
+++ b/apps/plugins/xobox.c
@@ -19,6 +19,7 @@
19 ****************************************************************************/ 19 ****************************************************************************/
20 20
21#include "plugin.h" 21#include "plugin.h"
22#include "mem_function_wrappers.h"
22 23
23PLUGIN_HEADER 24PLUGIN_HEADER
24 25
@@ -204,6 +205,9 @@ static int difficulty = 75; /* Percentage of screen that needs to be filled
204 * in order to win the game */ 205 * in order to win the game */
205 206
206static struct plugin_api *rb; 207static struct plugin_api *rb;
208
209MEM_FUNCTION_WRAPPERS(rb);
210
207static bool quit = false; 211static bool quit = false;
208 212
209static unsigned int board[BOARD_H][BOARD_W]; 213static unsigned int board[BOARD_H][BOARD_W];
@@ -295,7 +299,6 @@ static inline void emptyStack (void)
295 299
296/*********************** END OF STACK STUFF *********************/ 300/*********************** END OF STACK STUFF *********************/
297 301
298
299/* calculate the new x coordinate of the ball according to angle and speed */ 302/* calculate the new x coordinate of the ball according to angle and speed */
300static inline int get_newx (int x, int len, int deg) 303static inline int get_newx (int x, int len, int deg)
301{ 304{