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
23/* Standard */
24
39GF_DECLARE_TYPE(client, {
43});
44#else
45typedef void gf_client_t;
46#endif
47
48#endif
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:172
Required headers before anything.
Type definitions related to input interface.
Client interface.
Definition client.h:43
gf_draw_t * draw
Drawing interface.
Definition client.h:43
gf_input_t * input
Input interface.
Definition client.h:43
gf_engine_t * engine
Engine instance.
Definition client.h:43
Drawing interface.
Definition draw.h:108
Engine instance.
Definition core.h:46
Input interface.
Definition input.h:64