#include "host.h"
#include "random.h"
Compounds | |
class | Cgame |
Functions | |
void | game_set_pause (int value) |
int | game_get_pause (void) |
void | game_new (int new_screen_width, int new_screen_height, int random_number_seed) |
void | game_delete (void) |
int | game_advance (unsigned long int keys, long int joystickX, long int joystickY) |
Variables | |
Cgame * | the_game |
Code that depends on the host operating system, like PalmOS, does not belong here. Instead all such functionality is obtained through the host (HostPalm.c).
At the same time, because this code is free of the OS it simpler to read and easier to compile.
This file is in C++ to show how to interact with HostPalm.c
|
Map terrain types. These terrain types all have matching bitmaps for display. |