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
14/* External library */
15
16/* Engine */
17#include <gf_type/core.h>
18#include <gf_type/draw.h>
19
20/* Standard */
21
33GF_DECLARE_TYPE(client, {
34 gf_engine_t* engine;
35 gf_draw_t* draw;
36});
37#else
38typedef void gf_client_t;
39#endif
40
41#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.
Client interface.
Definition client.h:36
Drawing interface.
Definition draw.h:101
Engine instance.
Definition core.h:44