Nilorea Library
C utilities for networking, threading, graphics
Loading...
Searching...
No Matches
ex_fluid_config.h
Go to the documentation of this file.
1
/*
2
* Nilorea Library
3
* Copyright (C) 2005-2026 Castagnier Mickael
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
14
* implied. See the License for the specific language governing
15
* permissions and limitations under the License.
16
*
17
* SPDX-License-Identifier: Apache-2.0
18
*/
19
28
#ifndef _N_FLUID_CONFIG
29
#define _N_FLUID_CONFIG
30
31
#ifdef __cplusplus
32
extern
"C"
{
33
#endif
34
35
#include "
nilorea/n_fluids.h
"
36
49
int
load_app_state
(
char
* state_filename,
int
*
WIDTH
,
int
*
HEIGHT
,
bool
*
fullscreen
,
char
**
bgmusic
,
double
*
drawFPS
,
double
*
logicFPS
,
N_FLUID
* fluid,
int
* threaded);
50
51
#ifdef __cplusplus
52
}
53
#endif
54
55
#endif
drawFPS
double drawFPS
Definition
ex_fluid.c:62
fullscreen
bool fullscreen
Definition
ex_fluid.c:73
bgmusic
char * bgmusic
Definition
ex_fluid.c:74
logicFPS
double logicFPS
Definition
ex_fluid.c:63
load_app_state
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.
Definition
ex_fluid_config.c:46
WIDTH
#define WIDTH
Definition
ex_gui.c:42
HEIGHT
#define HEIGHT
Definition
ex_gui.c:43
N_FLUID
structure of a fluid
Definition
n_fluids.h:70
n_fluids.h
Fluid management port from "How to write an Eulerian fluid simulator with 200 lines of code",...
examples
ex_fluid_config.h
Generated on Fri Jul 31 2026 14:12:30 for Nilorea Library by
1.9.8