GoldFish Engine
Quite simple and lightweight game engine
Loading...
Searching...
No Matches
graphic.h
Go to the documentation of this file.
1
7
#ifndef __GF_TYPE_GRAPHIC_H__
8
#define __GF_TYPE_GRAPHIC_H__
9
10
#include <
gf_pre.h
>
11
#include <
gf_macro.h
>
12
13
#ifdef GF_EXPOSE_GRAPHIC
14
/* External library */
15
16
/* Engine */
17
18
/* Standard */
19
37
GF_DECLARE_TYPE
(graphic_color, {
38
double
r;
39
double
g;
40
double
b;
41
double
a;
42
});
43
#else
44
#error "should not happen!"
45
#endif
46
47
#endif
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.
include
gf_type
graphic.h
Generated by
1.9.8