GoldFish Engine
Quite simple and lightweight game engine
Loading...
Searching...
No Matches
server.h
Go to the documentation of this file.
1
7
#ifndef __GF_TYPE_SERVER_H__
8
#define __GF_TYPE_SERVER_H__
9
10
#include <
gf_pre.h
>
11
#include <
gf_macro.h
>
12
13
#ifdef GF_EXPOSE_SERVER
14
typedef
struct
gf_server_t
gf_server_t
;
15
16
/* External library */
17
18
/* Engine */
19
#include <
gf_type/core.h
>
20
#include <
gf_type/physics.h
>
21
22
/* Standard */
23
35
GF_DECLARE_TYPE
(server, {
36
gf_engine_t
*
engine
;
37
gf_physics_t
*
physics
;
38
});
39
#else
40
typedef
void
gf_server_t
;
41
#endif
42
43
#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:180
gf_pre.h
Required headers before anything.
physics.h
Type definitions related to physics interface.
gf_engine_t
Engine instance.
Definition
core.h:46
gf_physics_t
Physics interface.
Definition
physics.h:38
gf_server_t
Server interface.
Definition
server.h:38
gf_server_t::physics
gf_physics_t * physics
Physics interface.
Definition
server.h:38
gf_server_t::engine
gf_engine_t * engine
Engine instance.
Definition
server.h:38
include
gf_type
server.h
Generated by
1.9.8