Nilorea Library

- Main Page
- Modules
- Data Structures
- Files

All Data Structures Files Functions Variables Typedefs Macros Groups
Data Structures | Macros | Typedefs | Functions
GAMES: game utilities

## Data Structures

struct | GAME_ENV

## Macros

#define | GFX_DIRECTX GFX_AUTODETECT
#define | GFX_DIRECTX_WIN GFX_AUTODETECT_WINDOWED
#define | CPU_USE_FULL -1
#define | CPU_USE_NICE 0
#define | CPU_USE_LESS 10

## Typedefs

typedef struct GAME_ENV | GAME_ENV

## Functions

int | init_game_env (GAME_ENV **game)
void | destroy_game_env (GAME_ENV **game)
GAME_ENV * | load_game_config (char *config_name)

## Detailed Description

## Macro Definition Documentation

#define CPU_USE_FULL -1

full use of CPU

Definition at line 33 of file n_games.h.

#define CPU_USE_LESS 10

wait more

Definition at line 37 of file n_games.h.

#define CPU_USE_NICE 0

let the other process have some times

Definition at line 35 of file n_games.h.

#define GFX_DIRECTX GFX_AUTODETECT

Definition at line 26 of file n_games.h.

#define GFX_DIRECTX_WIN GFX_AUTODETECT_WINDOWED

Definition at line 29 of file n_games.h.

## Typedef Documentation

typedef struct GAME_ENV GAME_ENV

Game Environment structure

## Function Documentation

void destroy_game_env | ( | GAME_ENV ** | game | ) |

Definition at line 52 of file n_games.c.

Here is the caller graph for this function:

int init_game_env | ( | GAME_ENV ** | game | ) |

Definition at line 12 of file n_games.c.

Here is the caller graph for this function:

GAME_ENV* load_game_config | ( | char * | config_name | ) |

Definition at line 63 of file n_games.c.

Here is the call graph for this function: