GoldFish Engine
Quite simple and lightweight game engine
Loading...
Searching...
No Matches
physics.h
Go to the documentation of this file.
1
7
#ifndef __GF_TYPE_PHYSICS_H__
8
#define __GF_TYPE_PHYSICS_H__
9
10
#include <
gf_pre.h
>
11
#include <
gf_macro.h
>
12
13
#ifdef GF_EXPOSE_PHYSICS
14
/* External library */
15
#include <ode/ode.h>
16
17
/* Engine */
18
#include <
gf_type/core.h
>
19
20
/* Standard */
21
33
GF_DECLARE_TYPE
(physics, {
34
gf_engine_t
* engine;
35
dWorldID id;
36
});
37
#else
38
typedef
void
gf_physics_t
;
39
#endif
40
41
#endif
core.h
Type definitions related to core.
gf_macro.h
Macro.
GF_DECLARE_TYPE
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Definition
gf_macro.h:172
gf_pre.h
Required headers before anything.
gf_engine_t
Engine instance.
Definition
core.h:44
gf_physics_t
Physics interface.
Definition
physics.h:36
include
gf_type
physics.h
Generated by
1.9.8