![]() |
Nilorea Library
C utilities for networking, threading, graphics
|
#include "nilorea/n_fluids.h"
Include dependency graph for ex_fluid_config.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| int | load_app_state (char *state_filename, int *WIDTH, int *HEIGHT, bool *fullscreen, char **bgmusic, double *drawFPS, double *logicFPS, N_FLUID *fluid, int *threaded) |
| Load application state from a config file. | |
| int load_app_state | ( | char * | state_filename, |
| int * | WIDTH, | ||
| int * | HEIGHT, | ||
| bool * | fullscreen, | ||
| char ** | bgmusic, | ||
| double * | drawFPS, | ||
| double * | logicFPS, | ||
| N_FLUID * | fluid, | ||
| int * | threaded | ||
| ) |
Load application state from a config file.
| state_filename | path to the config file |
| WIDTH | pointer to store display width |
| HEIGHT | pointer to store display height |
| fullscreen | pointer to store fullscreen flag |
| bgmusic | pointer to store background music path |
| drawFPS | pointer to store drawing framerate |
| logicFPS | pointer to store logic framerate |
| fluid | pointer to a N_FLUID to populate |
| threaded | pointer to store threaded processing flag |
Definition at line 45 of file ex_fluid_config.c.
References __n_assert, N_FLUID::cScale, N_FLUID::density, destroy_config_file(), N_FLUID::fluid_production_percentage, get_config_section_value(), get_nb_config_file_sections(), N_FLUID::gravity, load_config_file(), LOG_ERR, LOG_INFO, n_log, N_FLUID::numIters, and N_FLUID::overRelaxation.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function: