Nilorea Library
C utilities for networking, threading, graphics
Loading...
Searching...
No Matches
ex_fluid_config.h

Config file for ex_fluid.

Config file for ex_fluid

Author
Castagnier Mickael aka Gull Ra Driel
Version
1.0
Date
29/12/2021
/*
* Nilorea Library
* Copyright (C) 2005-2026 Castagnier Mickael
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _N_FLUID_CONFIG
#define _N_FLUID_CONFIG
#ifdef __cplusplus
extern "C" {
#endif
int load_app_state(char* state_filename, int* WIDTH, int* HEIGHT, bool* fullscreen, char** bgmusic, double* drawFPS, double* logicFPS, N_FLUID* fluid, int* threaded);
#ifdef __cplusplus
}
#endif
#endif
double drawFPS
Definition ex_fluid.c:62
bool fullscreen
Definition ex_fluid.c:73
char * bgmusic
Definition ex_fluid.c:74
double logicFPS
Definition ex_fluid.c:63
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.
#define WIDTH
Definition ex_gui.c:42
#define HEIGHT
Definition ex_gui.c:43
structure of a fluid
Definition n_fluids.h:70
Fluid management port from "How to write an Eulerian fluid simulator with 200 lines of code",...