![]() |
Nilorea Library
C utilities for networking, threading, graphics
|
Games helpers functions. More...
Include dependency graph for n_games.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | GAME_ENV |
| Game Environment structure. More... | |
Macros | |
| #define | CPU_USE_FULL -1 |
| full use of CPU | |
| #define | CPU_USE_LESS 10 |
| wait more | |
| #define | CPU_USE_NICE 0 |
| let the other process have some times | |
| #define | GFX_FULLSCREEN 1 |
| display mode: fullscreen | |
| #define | GFX_FULLSCREEN_WINDOW 2 |
| display mode: fullscreen windowed | |
| #define | GFX_WINDOWED 0 |
| display mode: windowed | |
Functions | |
| void | destroy_game_env (GAME_ENV **game) |
| destroy a game environment | |
| int | init_game_env (GAME_ENV **game) |
| initialize a new game environment | |
| GAME_ENV * | load_game_config (char *config_name) |
| load a game config from file | |