GoldFish Engine
Quite simple and lightweight game engine
Loading...
Searching...
No Matches
client.h
Go to the documentation of this file.
1
7#ifndef __GF_TYPE_CLIENT_H__
8#define __GF_TYPE_CLIENT_H__
9
10#include <gf_pre.h>
11#include <gf_macro.h>
12
13#ifdef GF_EXPOSE_CLIENT
14typedef struct gf_client_t gf_client_t;
15
16/* External library */
17
18/* Engine */
19#include <gf_type/core.h>
20#include <gf_type/draw.h>
21#include <gf_type/input.h>
22#include <gf_type/audio.h>
23
24/* Standard */
25
43GF_DECLARE_TYPE(client, {
48});
49#else
50typedef void gf_client_t;
51#endif
52
53#endif
Type definitions related to audio interface.
Type definitions related to core.
Type definitions related to drawing interface.
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Definition gf_macro.h:180
Required headers before anything.
Type definitions related to input interface.
Audio interface.
Definition audio.h:97
Client interface.
Definition client.h:48
gf_draw_t * draw
Drawing interface.
Definition client.h:48
gf_audio_t * audio
Audio interface.
Definition client.h:48
gf_input_t * input
Input interface.
Definition client.h:48
gf_engine_t * engine
Engine instance.
Definition client.h:48
Drawing interface.
Definition draw.h:108
Engine instance.
Definition core.h:46
Input interface.
Definition input.h:64