GoldFish Engine
Quite simple and lightweight game engine
Loading...
Searching...
No Matches
gf_graphic.c
1
#define GF_EXPOSE_DRAW
2
#define GF_EXPOSE_TEXTURE
3
4
#include <
gf_pre.h
>
5
6
/* External library */
7
#include <
gf_directx.h
>
8
9
/* Interface */
10
#include <
gf_graphic.h
>
11
12
/* Engine */
13
#include <
gf_draw.h
>
14
#include <
gf_texture.h
>
15
#include <
gf_draw_driver.h
>
16
#include <
gf_math.h
>
17
18
/* Standard */
19
#include <stdarg.h>
20
#include <stdio.h>
21
22
void
gf_graphic_begin_2d(
gf_draw_t
* draw) {
/* TODO: Implement this */
}
23
24
void
gf_graphic_end_2d(
gf_draw_t
* draw) {
/* TODO: Implement this */
}
25
26
void
gf_graphic_clear(
gf_draw_t
* draw) {
/* TODO: Implement this */
}
27
28
void
gf_graphic_draw_texture_polygon(
gf_draw_t
* draw,
gf_texture_t
* texture,
gf_graphic_color_t
color,
int
dim,
int
npair, ...) {
/* TODO: Implement this */
}
29
30
void
gf_graphic_fill_polygon(
gf_draw_t
* draw,
gf_graphic_color_t
color,
int
dim,
int
npair, ...) {
/* TODO: Implement this */
}
31
32
void
gf_graphic_perspective(
gf_draw_t
* draw,
double
fovy,
double
znear,
double
zfar) {
/* TODO: Implement this */
}
33
34
GF_EXPORT
void
gf_graphic_set_camera(
gf_draw_t
* draw) {
/* TODO: Implement this */
}
gf_directx.h
DirectX headers.
gf_draw.h
Drawing interface.
gf_draw_driver.h
Drawing driver.
gf_graphic.h
Graphic interface.
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition
gf_macro.h:182
gf_math.h
Math.
gf_pre.h
Required headers before anything.
gf_texture.h
Texture.
gf_draw_t
Drawing interface.
Definition
draw.h:108
gf_graphic_color_t
Color.
Definition
graphic.h:44
gf_texture_t
Texture.
Definition
texture.h:49
graphic
directx
gf_graphic.c
Generated by
1.9.8