# commons.h File Reference

Go to the source code of this file.

## Data Structures
struct | GDATAPTR
## Defines
#define | res_width 800
#define | res_height 600
#define | _I(x) (int*)x
#define | _B(x) (double*)x
#define | _C(x) (char*)x
#define | _D(x) (double*)x
#define | __I(x) *(int*)x
#define | __B(x) *(_Bool*)x
#define | __C(x) *(char*)x
#define | __D(x) *(double*)x
## Typedefs
typedef char * | String
## Functions
GDATAPTR | get_game_data (void)
| Grabs the main GDATA structure.
void | cleanup (GDATAPTR game)

## Detailed Description

defines of all needed macros for the program, this module is global and is included in all other modules

Definition in file commons.h.