diff --git a/engine/dir_036ee58afba6ae32492bae49fa57c3dc.html b/engine/dir_036ee58afba6ae32492bae49fa57c3dc.html new file mode 100644 index 0000000..d283e89 --- /dev/null +++ b/engine/dir_036ee58afba6ae32492bae49fa57c3dc.html @@ -0,0 +1,113 @@ + + + + + + + +GoldFish Engine: graphic/directx/dx11 Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + + +
+
GoldFish Engine +
+
Quite simple and lightweight game engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
dx11 Directory Reference
+
+
+ + + + +

+Files

 gf_draw.c
 
+
+
+ + + + diff --git a/engine/dir_036ee58afba6ae32492bae49fa57c3dc.js b/engine/dir_036ee58afba6ae32492bae49fa57c3dc.js new file mode 100644 index 0000000..47d0e31 --- /dev/null +++ b/engine/dir_036ee58afba6ae32492bae49fa57c3dc.js @@ -0,0 +1,4 @@ +var dir_036ee58afba6ae32492bae49fa57c3dc = +[ + [ "gf_draw.c", "directx_2dx11_2gf__draw_8c_source.html", null ] +]; \ No newline at end of file diff --git a/engine/dir_5a32c7c5d9a7b7a4563b24a8e4acb19a.html b/engine/dir_5a32c7c5d9a7b7a4563b24a8e4acb19a.html index ed487be..56c783c 100644 --- a/engine/dir_5a32c7c5d9a7b7a4563b24a8e4acb19a.html +++ b/engine/dir_5a32c7c5d9a7b7a4563b24a8e4acb19a.html @@ -97,6 +97,8 @@ $(document).ready(function(){initNavTree('dir_5a32c7c5d9a7b7a4563b24a8e4acb19a.h + +

Directories

 directx
 
 opengl
 
diff --git a/engine/dir_5a32c7c5d9a7b7a4563b24a8e4acb19a.js b/engine/dir_5a32c7c5d9a7b7a4563b24a8e4acb19a.js index 847c92c..f60b1c0 100644 --- a/engine/dir_5a32c7c5d9a7b7a4563b24a8e4acb19a.js +++ b/engine/dir_5a32c7c5d9a7b7a4563b24a8e4acb19a.js @@ -1,4 +1,5 @@ var dir_5a32c7c5d9a7b7a4563b24a8e4acb19a = [ + [ "directx", "dir_8b86b195670ff9abc2799cc711b7f0dc.html", "dir_8b86b195670ff9abc2799cc711b7f0dc" ], [ "opengl", "dir_cdfa954f69b2b39cda8325447a851899.html", "dir_cdfa954f69b2b39cda8325447a851899" ] ]; \ No newline at end of file diff --git a/engine/dir_755d8abb012f637854d4b2fb26e768d7.html b/engine/dir_755d8abb012f637854d4b2fb26e768d7.html index c0aa512..8b0fc72 100644 --- a/engine/dir_755d8abb012f637854d4b2fb26e768d7.html +++ b/engine/dir_755d8abb012f637854d4b2fb26e768d7.html @@ -97,7 +97,7 @@ $(document).ready(function(){initNavTree('dir_755d8abb012f637854d4b2fb26e768d7.h - +

Files

 gf_draw.c
 gf_draw.c
 
diff --git a/engine/dir_755d8abb012f637854d4b2fb26e768d7.js b/engine/dir_755d8abb012f637854d4b2fb26e768d7.js index 82ea085..418f72f 100644 --- a/engine/dir_755d8abb012f637854d4b2fb26e768d7.js +++ b/engine/dir_755d8abb012f637854d4b2fb26e768d7.js @@ -1,4 +1,4 @@ var dir_755d8abb012f637854d4b2fb26e768d7 = [ - [ "gf_draw.c", "wgl_2gf__draw_8c_source.html", null ] + [ "gf_draw.c", "opengl_2wgl_2gf__draw_8c_source.html", null ] ]; \ No newline at end of file diff --git a/engine/dir_78c3bd53007468ca0f7c2ae3b8c8a04a.html b/engine/dir_78c3bd53007468ca0f7c2ae3b8c8a04a.html index b54491a..107253f 100644 --- a/engine/dir_78c3bd53007468ca0f7c2ae3b8c8a04a.html +++ b/engine/dir_78c3bd53007468ca0f7c2ae3b8c8a04a.html @@ -97,7 +97,7 @@ $(document).ready(function(){initNavTree('dir_78c3bd53007468ca0f7c2ae3b8c8a04a.h - +

Files

 gf_draw.c
 gf_draw.c
 
diff --git a/engine/dir_78c3bd53007468ca0f7c2ae3b8c8a04a.js b/engine/dir_78c3bd53007468ca0f7c2ae3b8c8a04a.js index 3066954..e003faa 100644 --- a/engine/dir_78c3bd53007468ca0f7c2ae3b8c8a04a.js +++ b/engine/dir_78c3bd53007468ca0f7c2ae3b8c8a04a.js @@ -1,4 +1,4 @@ var dir_78c3bd53007468ca0f7c2ae3b8c8a04a = [ - [ "gf_draw.c", "glfw_2gf__draw_8c_source.html", null ] + [ "gf_draw.c", "opengl_2glfw_2gf__draw_8c_source.html", null ] ]; \ No newline at end of file diff --git a/engine/dir_8b86b195670ff9abc2799cc711b7f0dc.html b/engine/dir_8b86b195670ff9abc2799cc711b7f0dc.html new file mode 100644 index 0000000..0ea526e --- /dev/null +++ b/engine/dir_8b86b195670ff9abc2799cc711b7f0dc.html @@ -0,0 +1,120 @@ + + + + + + + +GoldFish Engine: graphic/directx Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + + +
+
GoldFish Engine +
+
Quite simple and lightweight game engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
directx Directory Reference
+
+
+ + + + +

+Directories

 dx11
 
+ + + + + +

+Files

 gf_driver.c
 
 gf_graphic.c
 
+
+
+ + + + diff --git a/engine/dir_8b86b195670ff9abc2799cc711b7f0dc.js b/engine/dir_8b86b195670ff9abc2799cc711b7f0dc.js new file mode 100644 index 0000000..ccd37f3 --- /dev/null +++ b/engine/dir_8b86b195670ff9abc2799cc711b7f0dc.js @@ -0,0 +1,6 @@ +var dir_8b86b195670ff9abc2799cc711b7f0dc = +[ + [ "dx11", "dir_036ee58afba6ae32492bae49fa57c3dc.html", "dir_036ee58afba6ae32492bae49fa57c3dc" ], + [ "gf_driver.c", "directx_2gf__driver_8c_source.html", null ], + [ "gf_graphic.c", "directx_2gf__graphic_8c_source.html", null ] +]; \ No newline at end of file diff --git a/engine/dir_b950b80d4849be3c17e5feffdf9623ad.html b/engine/dir_b950b80d4849be3c17e5feffdf9623ad.html index 0ab25f9..656fcb7 100644 --- a/engine/dir_b950b80d4849be3c17e5feffdf9623ad.html +++ b/engine/dir_b950b80d4849be3c17e5feffdf9623ad.html @@ -97,7 +97,7 @@ $(document).ready(function(){initNavTree('dir_b950b80d4849be3c17e5feffdf9623ad.h - +

Files

 gf_draw.c
 gf_draw.c
 
diff --git a/engine/dir_b950b80d4849be3c17e5feffdf9623ad.js b/engine/dir_b950b80d4849be3c17e5feffdf9623ad.js index 4ca3e55..2af55ed 100644 --- a/engine/dir_b950b80d4849be3c17e5feffdf9623ad.js +++ b/engine/dir_b950b80d4849be3c17e5feffdf9623ad.js @@ -1,4 +1,4 @@ var dir_b950b80d4849be3c17e5feffdf9623ad = [ - [ "gf_draw.c", "glx_2gf__draw_8c_source.html", null ] + [ "gf_draw.c", "opengl_2glx_2gf__draw_8c_source.html", null ] ]; \ No newline at end of file diff --git a/engine/dir_cdfa954f69b2b39cda8325447a851899.html b/engine/dir_cdfa954f69b2b39cda8325447a851899.html index e14d1d1..7d6a96a 100644 --- a/engine/dir_cdfa954f69b2b39cda8325447a851899.html +++ b/engine/dir_cdfa954f69b2b39cda8325447a851899.html @@ -106,9 +106,9 @@ Directories - + - +

Files

 gf_driver.c
 gf_driver.c
 
 gf_graphic.c
 gf_graphic.c
 
diff --git a/engine/dir_cdfa954f69b2b39cda8325447a851899.js b/engine/dir_cdfa954f69b2b39cda8325447a851899.js index fc32334..94e6e45 100644 --- a/engine/dir_cdfa954f69b2b39cda8325447a851899.js +++ b/engine/dir_cdfa954f69b2b39cda8325447a851899.js @@ -3,6 +3,6 @@ var dir_cdfa954f69b2b39cda8325447a851899 = [ "glfw", "dir_78c3bd53007468ca0f7c2ae3b8c8a04a.html", "dir_78c3bd53007468ca0f7c2ae3b8c8a04a" ], [ "glx", "dir_b950b80d4849be3c17e5feffdf9623ad.html", "dir_b950b80d4849be3c17e5feffdf9623ad" ], [ "wgl", "dir_755d8abb012f637854d4b2fb26e768d7.html", "dir_755d8abb012f637854d4b2fb26e768d7" ], - [ "gf_driver.c", "gf__driver_8c_source.html", null ], - [ "gf_graphic.c", "gf__graphic_8c_source.html", null ] + [ "gf_driver.c", "opengl_2gf__driver_8c_source.html", null ], + [ "gf_graphic.c", "opengl_2gf__graphic_8c_source.html", null ] ]; \ No newline at end of file diff --git a/engine/dir_d44c64559bbebec7f509842c48db8b23.html b/engine/dir_d44c64559bbebec7f509842c48db8b23.html index 06c3cb5..ef33420 100644 --- a/engine/dir_d44c64559bbebec7f509842c48db8b23.html +++ b/engine/dir_d44c64559bbebec7f509842c48db8b23.html @@ -108,6 +108,9 @@ Files  gf_core.h  Core.
  + gf_directx.h + DirectX headers.
 gf_draw.h  Drawing interface.
  diff --git a/engine/dir_d44c64559bbebec7f509842c48db8b23.js b/engine/dir_d44c64559bbebec7f509842c48db8b23.js index 4bdf8a2..5492318 100644 --- a/engine/dir_d44c64559bbebec7f509842c48db8b23.js +++ b/engine/dir_d44c64559bbebec7f509842c48db8b23.js @@ -3,6 +3,7 @@ var dir_d44c64559bbebec7f509842c48db8b23 = [ "gf_type", "dir_e60f2706c8c207c5a951446d03370319.html", "dir_e60f2706c8c207c5a951446d03370319" ], [ "gf_client.h", "gf__client_8h.html", "gf__client_8h" ], [ "gf_core.h", "gf__core_8h.html", "gf__core_8h" ], + [ "gf_directx.h", "gf__directx_8h.html", null ], [ "gf_draw.h", "gf__draw_8h.html", "gf__draw_8h" ], [ "gf_draw_driver.h", "gf__draw__driver_8h.html", "gf__draw__driver_8h" ], [ "gf_draw_platform.h", "gf__draw__platform_8h.html", "gf__draw__platform_8h" ], diff --git a/engine/directx_2dx11_2gf__draw_8c_source.html b/engine/directx_2dx11_2gf__draw_8c_source.html new file mode 100644 index 0000000..ca9722c --- /dev/null +++ b/engine/directx_2dx11_2gf__draw_8c_source.html @@ -0,0 +1,279 @@ + + + + + + + +GoldFish Engine: graphic/directx/dx11/gf_draw.c Source File + + + + + + + + + + + + + +
+
+ + + + + + + +
+
GoldFish Engine +
+
Quite simple and lightweight game engine
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
gf_draw.c
+
+
+
1#define GF_EXPOSE_DRAW_PLATFORM
+
2#define GF_EXPOSE_DRAW
+
3
+
4#include <gf_pre.h>
+
5
+
6/* External library */
+
7#include <gf_directx.h>
+
8
+
9/* Interface */
+
10#include <gf_draw_platform.h>
+
11
+
12/* Engine */
+
13#include <gf_draw_driver.h>
+
14#include <gf_log.h>
+
15#include <gf_draw.h>
+
16
+
17/* Standard */
+
18#include <string.h>
+
19#include <stdlib.h>
+
20
+
21void gf_draw_platform_begin(void) {}
+
22void gf_draw_platform_end(void) {}
+
23
+
24LRESULT CALLBACK gf_draw_platform_proc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp) {
+
25 PAINTSTRUCT ps;
+
26 RECT rect;
+
27 gf_draw_t* draw = (gf_draw_t*)GetWindowLongPtr(hWnd, GWLP_USERDATA);
+
28 switch(msg) {
+
29 case WM_PAINT:
+
30 BeginPaint(hWnd, &ps);
+
31 EndPaint(hWnd, &ps);
+
32 break;
+
33 case WM_SIZE:
+
34 if(draw->platform != NULL) {
+
35 GetClientRect(hWnd, &rect);
+
36 draw->x = rect.left;
+
37 draw->y = rect.top;
+
38 draw->width = rect.right - rect.left;
+
39 draw->height = rect.bottom - rect.top;
+
40 gf_draw_reshape(draw);
+
41 }
+
42 break;
+
43 case WM_CLOSE:
+
44 draw->close = 1;
+
45 break;
+
46 case WM_DESTROY:
+
47 PostQuitMessage(0);
+
48 break;
+
49 default:
+
50 return DefWindowProc(hWnd, msg, wp, lp);
+
51 }
+
52 return 0;
+
53}
+
54
+
55int gf_draw_platform_has_extension(gf_draw_t* draw, const char* query) { return 0; }
+
56
+
+
57int gf_draw_platform_step(gf_draw_t* draw) {
+
58 MSG msg;
+
59 int ret = 0;
+
60 while(PeekMessage(&msg, draw->platform->window, 0, 0, PM_NOREMOVE)) {
+
61 if(GetMessage(&msg, draw->platform->window, 0, 0)) {
+
62 TranslateMessage(&msg);
+
63 DispatchMessage(&msg);
+
64 } else {
+
65 ret = 1;
+
66 break;
+
67 }
+
68 }
+
69 if(ret == 0) {
+
70 gf_draw_driver_before(draw);
+
71 gf_draw_frame(draw);
+
72 gf_draw_driver_after(draw);
+
73
+
74 SwapBuffers(draw->platform->dc);
+
75 }
+
76 return ret;
+
77}
+
+
78
+
+
79gf_draw_platform_t* gf_draw_platform_create(gf_engine_t* engine, gf_draw_t* draw) {
+
80 WNDCLASSEX wc;
+
81 RECT rect;
+
82 DWORD style;
+
83 gf_draw_platform_t* platform = malloc(sizeof(*platform));
+
84 memset(platform, 0, sizeof(*platform));
+
85 platform->engine = engine;
+
86
+
87 platform->instance = (HINSTANCE)GetModuleHandle(NULL);
+
88 if(platform->instance == NULL) {
+
89 gf_log_function(engine, "Failed to get instance", "");
+
90 gf_draw_platform_destroy(platform);
+
91 return NULL;
+
92 }
+
93
+
94 wc.cbSize = sizeof(wc);
+
95 wc.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC;
+
96 wc.lpfnWndProc = gf_draw_platform_proc;
+
97 wc.cbClsExtra = 0;
+
98 wc.cbWndExtra = 0;
+
99 wc.hInstance = platform->instance;
+
100 wc.hIcon = LoadIcon(platform->instance, "GAME");
+
101 wc.hCursor = LoadCursor(NULL, IDC_ARROW);
+
102 wc.hbrBackground = NULL;
+
103 wc.lpszMenuName = NULL;
+
104 wc.lpszClassName = "goldfish";
+
105 wc.hIconSm = LoadIcon(platform->instance, "GAME");
+
106 if(!RegisterClassEx(&wc)) {
+
107 gf_log_function(engine, "Failed to register class", "");
+
108 gf_draw_platform_destroy(platform);
+
109 return NULL;
+
110 }
+
111
+
112 platform->window = CreateWindow("goldfish", draw->title, (WS_OVERLAPPEDWINDOW), draw->x, draw->y, draw->width, draw->height, NULL, 0, platform->instance, NULL);
+
113 if(platform->window == NULL) {
+
114 gf_log_function(engine, "Failed to create window", "");
+
115 gf_draw_platform_destroy(platform);
+
116 return NULL;
+
117 }
+
118
+
119 SetWindowLongPtr(platform->window, GWLP_USERDATA, (LONG_PTR)draw);
+
120
+
121 platform->dc = GetDC(platform->window);
+
122
+
123 SetRect(&rect, 0, 0, draw->width, draw->height);
+
124
+
125 style = (DWORD)GetWindowLongPtr(platform->window, GWL_STYLE);
+
126 AdjustWindowRect(&rect, style, FALSE);
+
127 SetWindowPos(platform->window, NULL, rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top, SWP_NOMOVE);
+
128
+
129 ShowWindow(platform->window, SW_NORMAL);
+
130 UpdateWindow(platform->window);
+
131
+
132 return platform;
+
133}
+
+
134
+
+
135void gf_draw_platform_destroy(gf_draw_platform_t* platform) {
+
136 if(platform->dc != NULL) {
+
137 ReleaseDC(platform->window, platform->dc);
+
138 }
+
139 if(platform->window != NULL) {
+
140 DestroyWindow(platform->window);
+
141 }
+
142 gf_log_function(platform->engine, "Destroyed platform-dependent part of drawing driver", "");
+
143 free(platform);
+
144}
+
+
DirectX headers.
+
Drawing interface.
+
Drawing driver.
+
Platform-dependent part of drawing driver.
+
Logger.
+
#define gf_log_function(engine, fmt,...)
Output log with line number and function name.
Definition gf_log.h:26
+
Required headers before anything.
+
Platform-dependent part of drawing driver.
+
Drawing interface.
Definition draw.h:101
+
int y
Y coord of window.
Definition draw.h:101
+
char title[128]
Window title.
Definition draw.h:101
+
int close
1 if it was requested to be closed, otherwise 0
Definition draw.h:101
+
gf_draw_platform_t * platform
Platform-dependent part of drawing driver.
Definition draw.h:101
+
int x
X coord of window.
Definition draw.h:101
+
int width
Width of window.
Definition draw.h:101
+
int height
Height of window.
Definition draw.h:101
+
Engine instance.
Definition core.h:44
+
+
+ + + + diff --git a/engine/directx_2gf__driver_8c_source.html b/engine/directx_2gf__driver_8c_source.html new file mode 100644 index 0000000..f0df769 --- /dev/null +++ b/engine/directx_2gf__driver_8c_source.html @@ -0,0 +1,209 @@ + + + + + + + +GoldFish Engine: graphic/directx/gf_driver.c Source File + + + + + + + + + + + + + +
+
+ + + + + + + +
+
GoldFish Engine +
+
Quite simple and lightweight game engine
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
gf_driver.c
+
+
+
1#define GF_EXPOSE_DRAW_DRIVER
+
2#define GF_EXPOSE_DRAW
+
3#define GF_EXPOSE_TEXTURE
+
4
+
5#include <gf_pre.h>
+
6
+
7/* External library */
+
8#include <gf_directx.h>
+
9
+
10/* Interface */
+
11#include <gf_draw_driver.h>
+
12
+
13/* Engine */
+
14#include <gf_draw_platform.h>
+
15#include <gf_texture.h>
+
16#include <gf_draw.h>
+
17#include <gf_log.h>
+
18#include <gf_math.h>
+
19#include <gf_graphic.h>
+
20
+
21/* Standard */
+
22#include <stdlib.h>
+
23#include <string.h>
+
24
+
+
25gf_draw_driver_texture_t* gf_draw_driver_register_texture(gf_draw_t* draw, int width, int height, int* iwidth, int* iheight, unsigned char* data) {
+
26 /* TODO: Implement this */
+
27 return NULL;
+
28}
+
+
29
+
+
30void gf_draw_driver_destroy_texture(gf_draw_driver_texture_t* t) {
+
31 /* TODO: Implement this */
+
32 free(t);
+
33}
+
+
34
+
+
35gf_draw_driver_t* gf_draw_driver_create(gf_engine_t* engine, gf_draw_t* draw) {
+
36 gf_draw_driver_t* draw_driver = malloc(sizeof(*draw_driver));
+
37 memset(draw_driver, 0, sizeof(*draw_driver));
+
38 draw_driver->engine = engine;
+
39
+
40 /* TODO: Implement this */
+
41
+
42 return draw_driver;
+
43}
+
+
44
+
45int gf_draw_driver_has_extension(gf_draw_t* draw, const char* query) { return 0; }
+
46
+
47void gf_draw_driver_reshape(gf_draw_t* draw) { /* TODO: Implement this */ }
+
48
+
49void gf_draw_driver_begin_texture_2d(gf_draw_t* draw, gf_texture_t* texture) { /* TODO: Implement this */ }
+
50
+
51void gf_draw_driver_end_texture_2d(gf_draw_t* draw) { /* TODO: Implement this */ }
+
52
+
53void gf_draw_driver_set_color(gf_draw_t* draw, gf_graphic_color_t color) { /* TODO: Implement this */ }
+
54
+
+
55void gf_draw_driver_destroy(gf_draw_driver_t* driver) {
+
56 /* TODO: Implement this */
+
57 gf_log_function(driver->engine, "Destroyed drawing driver", "");
+
58 free(driver);
+
59}
+
+
60
+
+
61void gf_draw_driver_before(gf_draw_t* draw) {
+
62 /* TODO: Remove if needed, needed at least for OpenGL */
+
63 gf_draw_driver_reshape(draw);
+
64
+
65 /* TODO: Remove if needed, needed at least for OpenGL */
+
66 gf_graphic_set_camera(draw);
+
67
+
68 gf_graphic_clear(draw);
+
69}
+
+
70
+
71void gf_draw_driver_after(gf_draw_t* draw) {}
+
DirectX headers.
+
Drawing interface.
+
Drawing driver.
+
Platform-dependent part of drawing driver.
+
Graphic interface.
+
Logger.
+
#define gf_log_function(engine, fmt,...)
Output log with line number and function name.
Definition gf_log.h:26
+ +
Required headers before anything.
+
Texture.
+
Drawing driver.
Definition draw_driver.h:48
+
Driver-dependent texture.
Definition draw_driver.h:56
+
Drawing interface.
Definition draw.h:101
+
Engine instance.
Definition core.h:44
+ +
Texture.
Definition texture.h:47
+
+
+ + + + diff --git a/engine/directx_2gf__graphic_8c_source.html b/engine/directx_2gf__graphic_8c_source.html new file mode 100644 index 0000000..1eb2b26 --- /dev/null +++ b/engine/directx_2gf__graphic_8c_source.html @@ -0,0 +1,157 @@ + + + + + + + +GoldFish Engine: graphic/directx/gf_graphic.c Source File + + + + + + + + + + + + + +
+
+ + + + + + + +
+
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
+
22void gf_graphic_begin_2d(gf_draw_t* draw) { /* TODO: Implement this */ }
+
23
+
24void gf_graphic_end_2d(gf_draw_t* draw) { /* TODO: Implement this */ }
+
25
+
26void gf_graphic_clear(gf_draw_t* draw) { /* TODO: Implement this */ }
+
27
+
28void 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
+
30void gf_graphic_fill_polygon(gf_draw_t* draw, gf_graphic_color_t color, int dim, int npair, ...) { /* TODO: Implement this */ }
+
31
+
32void gf_graphic_perspective(gf_draw_t* draw, double fovy, double znear, double zfar) { /* TODO: Implement this */ }
+
33
+
34GF_EXPORT void gf_graphic_set_camera(gf_draw_t* draw) { /* TODO: Implement this */ }
+
DirectX headers.
+
Drawing interface.
+
Drawing driver.
+
Graphic interface.
+
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:174
+ +
Required headers before anything.
+
Texture.
+
Drawing interface.
Definition draw.h:101
+ +
Texture.
Definition texture.h:47
+
+
+ + + + diff --git a/engine/draw_8h_source.html b/engine/draw_8h_source.html index 236a720..29ca820 100644 --- a/engine/draw_8h_source.html +++ b/engine/draw_8h_source.html @@ -153,8 +153,8 @@ $(document).ready(function(){initNavTree('draw_8h_source.html',''); initResizabl
gui.h
Type definitions related to GUI.
math.h
Type definitions related to math.
gf_math_vector_t
double gf_math_vector_t[4]
Vector.
Definition math.h:25
-
gf_draw_driver_t
Drawing driver.
Definition draw_driver.h:39
-
gf_draw_platform_t
Platform-dependent part of drawing driver.
Definition draw_platform.h:54
+
gf_draw_driver_t
Drawing driver.
Definition draw_driver.h:48
+
gf_draw_platform_t
Platform-dependent part of drawing driver.
Definition draw_platform.h:65
gf_draw_t
Drawing interface.
Definition draw.h:101
gf_engine_t
Engine instance.
Definition core.h:44
gf_font_t
Font.
Definition font.h:91
diff --git a/engine/draw__driver_8h_source.html b/engine/draw__driver_8h_source.html index 7a2aeed..3f96feb 100644 --- a/engine/draw__driver_8h_source.html +++ b/engine/draw__driver_8h_source.html @@ -110,39 +110,49 @@ $(document).ready(function(){initNavTree('draw__driver_8h_source.html',''); init
14/* External library */
15#if defined(DRV_OPENGL)
16#include <gf_opengl.h>
-
17#endif
-
18
-
19/* Engine */
-
20#include <gf_type/core.h>
-
21
-
22/* Standard */
+
17#elif defined(DRV_DIRECTX)
+
18#include <gf_directx.h>
+
19#endif
+
20
+
21/* Engine */
+
22#include <gf_type/core.h>
23
-
24#if defined(DRV_OPENGL)
-
25GF_DECLARE_TYPE(draw_driver, { gf_engine_t* engine; });
-
26GF_DECLARE_TYPE(draw_driver_texture, {
-
27 gf_engine_t* engine;
-
28 GLuint id;
-
29 int width;
-
30 int height;
-
31});
-
32#else
-
39GF_DECLARE_TYPE(draw_driver, {});
-
40
-
47GF_DECLARE_TYPE(draw_driver_texture, {});
-
48#endif
-
49#else
-
50typedef void gf_draw_driver_t;
-
51typedef void gf_draw_driver_texture_t;
-
52#endif
-
53
-
54#endif
+
24/* Standard */
+
25
+
26#if defined(DRV_OPENGL)
+
27GF_DECLARE_TYPE(draw_driver, { gf_engine_t* engine; });
+
28GF_DECLARE_TYPE(draw_driver_texture, {
+
29 gf_engine_t* engine;
+
30 GLuint id;
+
31 int width;
+
32 int height;
+
33});
+
34#elif defined(DRV_DIRECTX)
+
35GF_DECLARE_TYPE(draw_driver, { gf_engine_t* engine; });
+
36GF_DECLARE_TYPE(draw_driver_texture, {
+
37 gf_engine_t* engine;
+
38 int width;
+
39 int height;
+
40});
+
41#else
+
48GF_DECLARE_TYPE(draw_driver, {});
+
49
+
56GF_DECLARE_TYPE(draw_driver_texture, {});
+
57#endif
+
58#else
+
59typedef void gf_draw_driver_t;
+
60typedef void gf_draw_driver_texture_t;
+
61#endif
+
62
+
63#endif
core.h
Type definitions related to core.
+
gf_directx.h
DirectX headers.
gf_macro.h
Macro.
GF_DECLARE_TYPE
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Definition gf_macro.h:164
gf_opengl.h
OpenGL headers.
gf_pre.h
Required headers before anything.
-
gf_draw_driver_t
Drawing driver.
Definition draw_driver.h:39
-
gf_draw_driver_texture_t
Driver-dependent texture.
Definition draw_driver.h:47
+
gf_draw_driver_t
Drawing driver.
Definition draw_driver.h:48
+
gf_draw_driver_texture_t
Driver-dependent texture.
Definition draw_driver.h:56
gf_engine_t
Engine instance.
Definition core.h:44
diff --git a/engine/draw__platform_8h_source.html b/engine/draw__platform_8h_source.html index 4dd17a2..952013f 100644 --- a/engine/draw__platform_8h_source.html +++ b/engine/draw__platform_8h_source.html @@ -110,50 +110,62 @@ $(document).ready(function(){initNavTree('draw__platform_8h_source.html',''); in
14/* External library */
15#if defined(DRV_OPENGL)
16#include <gf_opengl.h>
-
17#endif
-
18
-
19/* Engine */
-
20#include <gf_type/core.h>
-
21
-
22/* Standard */
+
17#elif defined(DRV_DIRECTX)
+
18#include <gf_directx.h>
+
19#endif
+
20
+
21/* Engine */
+
22#include <gf_type/core.h>
23
-
24#if defined(DRV_OPENGL)
-
25#if defined(USE_GLX)
-
26GF_DECLARE_TYPE(draw_platform, {
-
27 gf_engine_t* engine;
-
28 Display* display;
-
29 Window window;
-
30 GLXContext context;
-
31 Atom wm_delete_window;
-
32});
-
33#elif defined(USE_WGL)
-
34GF_DECLARE_TYPE(draw_platform, {
-
35 gf_engine_t* engine;
-
36 HINSTANCE instance;
-
37 HWND window;
-
38 HDC dc;
-
39 HGLRC glrc;
-
40});
-
41#elif defined(USE_GLFW)
-
42GF_DECLARE_TYPE(draw_platform, {
-
43 gf_engine_t* engine;
-
44 GLFWwindow* window;
-
45});
-
46#endif
-
47#else
-
54GF_DECLARE_TYPE(draw_platform, {});
-
55#endif
-
56#else
-
57typedef void gf_draw_platform_t;
-
58#endif
-
59
-
60#endif
+
24/* Standard */
+
25
+
26#if defined(DRV_OPENGL)
+
27#if defined(USE_GLX)
+
28GF_DECLARE_TYPE(draw_platform, {
+
29 gf_engine_t* engine;
+
30 Display* display;
+
31 Window window;
+
32 GLXContext context;
+
33 Atom wm_delete_window;
+
34});
+
35#elif defined(USE_WGL)
+
36GF_DECLARE_TYPE(draw_platform, {
+
37 gf_engine_t* engine;
+
38 HINSTANCE instance;
+
39 HWND window;
+
40 HDC dc;
+
41 HGLRC glrc;
+
42});
+
43#elif defined(USE_GLFW)
+
44GF_DECLARE_TYPE(draw_platform, {
+
45 gf_engine_t* engine;
+
46 GLFWwindow* window;
+
47});
+
48#endif
+
49#elif defined(DRV_DIRECTX)
+
50#if defined(USE_DX11)
+
51GF_DECLARE_TYPE(draw_platform, {
+
52 gf_engine_t* engine;
+
53 HINSTANCE instance;
+
54 HWND window;
+
55 HDC dc;
+
56});
+
57#endif
+
58#else
+
65GF_DECLARE_TYPE(draw_platform, {});
+
66#endif
+
67#else
+
68typedef void gf_draw_platform_t;
+
69#endif
+
70
+
71#endif
core.h
Type definitions related to core.
+
gf_directx.h
DirectX headers.
gf_macro.h
Macro.
GF_DECLARE_TYPE
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Definition gf_macro.h:164
gf_opengl.h
OpenGL headers.
gf_pre.h
Required headers before anything.
-
gf_draw_platform_t
Platform-dependent part of drawing driver.
Definition draw_platform.h:54
+
gf_draw_platform_t
Platform-dependent part of drawing driver.
Definition draw_platform.h:65
gf_engine_t
Engine instance.
Definition core.h:44
diff --git a/engine/files.html b/engine/files.html index 0c4ea0b..a4e6a14 100644 --- a/engine/files.html +++ b/engine/files.html @@ -97,54 +97,60 @@ $(document).ready(function(){initNavTree('files.html',''); initResizable(); });
Here is a list of all documented files with brief descriptions:
[detail level 1234]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/engine/gf__directx_8h.html b/engine/gf__directx_8h.html new file mode 100644 index 0000000..cee3305 --- /dev/null +++ b/engine/gf__directx_8h.html @@ -0,0 +1,117 @@ + + + + + + + +GoldFish Engine: include/gf_directx.h File Reference + + + + + + + + + + + + + +
+
+
  graphic
  opengl
  glfw
 gf_draw.c
  glx
 gf_draw.c
  wgl
 gf_draw.c
 gf_driver.c
 gf_graphic.c
  include
  gf_type
 client.hType definitions related to client interface
 core.hType definitions related to core
 draw.hType definitions related to drawing interface
 draw_driver.hType definitions related to drawing driver
 draw_platform.hType definitions related to platform-dependent part of drawing driver
 font.hType definitions related to font
 graphic.hType definitions related to graphic interface
 gui.hType definitions related to GUI
 math.hType definitions related to math
 mesh.hType definitions related to mesh
 model.hType definitions related to model
 physics.hType definitions related to physics interface
 server.hType definitions related to server interface
 texture.hType definitions related to texture
 thread.hType definitions related to thread interface
 version.hType definitions related to version
 gf_client.hClient interface
 gf_core.hCore
 gf_draw.hDrawing interface
 gf_draw_driver.hDrawing driver
 gf_draw_platform.hPlatform-dependent part of drawing driver
 gf_font.hFont
 gf_graphic.hGraphic interface
 gf_gui.hGUI
 gf_input.hInput
 gf_log.hLogger
 gf_macro.hMacro
 gf_math.hMath
 gf_mesh.hMesh
 gf_model.hModel
 gf_opengl.hOpenGL headers
 gf_physics.hPhysics interface
 gf_pre.hRequired headers before anything
 gf_server.hClient interface
 gf_texture.hTexture
 gf_thread.hThread interface
 gf_version.hVersion
  directx
  dx11
 gf_draw.c
 gf_driver.c
 gf_graphic.c
  opengl
  glfw
 gf_draw.c
  glx
 gf_draw.c
  wgl
 gf_draw.c
 gf_driver.c
 gf_graphic.c
  include
  gf_type
 client.hType definitions related to client interface
 core.hType definitions related to core
 draw.hType definitions related to drawing interface
 draw_driver.hType definitions related to drawing driver
 draw_platform.hType definitions related to platform-dependent part of drawing driver
 font.hType definitions related to font
 graphic.hType definitions related to graphic interface
 gui.hType definitions related to GUI
 math.hType definitions related to math
 mesh.hType definitions related to mesh
 model.hType definitions related to model
 physics.hType definitions related to physics interface
 server.hType definitions related to server interface
 texture.hType definitions related to texture
 thread.hType definitions related to thread interface
 version.hType definitions related to version
 gf_client.hClient interface
 gf_core.hCore
 gf_directx.hDirectX headers
 gf_draw.hDrawing interface
 gf_draw_driver.hDrawing driver
 gf_draw_platform.hPlatform-dependent part of drawing driver
 gf_font.hFont
 gf_graphic.hGraphic interface
 gf_gui.hGUI
 gf_input.hInput
 gf_log.hLogger
 gf_macro.hMacro
 gf_math.hMath
 gf_mesh.hMesh
 gf_model.hModel
 gf_opengl.hOpenGL headers
 gf_physics.hPhysics interface
 gf_pre.hRequired headers before anything
 gf_server.hClient interface
 gf_texture.hTexture
 gf_thread.hThread interface
 gf_version.hVersion
  thread
  posix
 gf_thread.c
+ + + + + + +
+
GoldFish Engine +
+
Quite simple and lightweight game engine
+
+
+ + + + + + + + +
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
gf_directx.h File Reference
+
+
+ +

DirectX headers. +More...

+ +

Go to the source code of this file.

+

Detailed Description

+

DirectX headers.

+
Note
User should not include this, this header is used internally
+ +

Definition in file gf_directx.h.

+
+
+ + + + diff --git a/engine/gf__directx_8h_source.html b/engine/gf__directx_8h_source.html new file mode 100644 index 0000000..067e023 --- /dev/null +++ b/engine/gf__directx_8h_source.html @@ -0,0 +1,126 @@ + + + + + + + +GoldFish Engine: include/gf_directx.h Source File + + + + + + + + + + + + + +
+
+ + + + + + + +
+
GoldFish Engine +
+
Quite simple and lightweight game engine
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
gf_directx.h
+
+
+Go to the documentation of this file.
1
+
8#ifndef __GF_DIRECTX_H__
+
9#define __GF_DIRECTX_H__
+
10
+
11#ifdef _WIN32
+
12#include <windows.h>
+
13#endif
+
14#if defined(USE_DX11)
+
15#include <d3d11.h>
+
16#include <dxgi1_3.h>
+
17#include <d3dcompiler.h>
+
18#endif
+
19
+
20#endif
+
+
+ + + + diff --git a/engine/gf__draw__driver_8h.html b/engine/gf__draw__driver_8h.html index 1b38871..12be5b1 100644 --- a/engine/gf__draw__driver_8h.html +++ b/engine/gf__draw__driver_8h.html @@ -183,7 +183,7 @@ Functions -

Definition at line 152 of file gf_driver.c.

+

Definition at line 71 of file gf_driver.c.

@@ -219,7 +219,7 @@ Functions -

Definition at line 139 of file gf_driver.c.

+

Definition at line 61 of file gf_driver.c.

@@ -266,7 +266,7 @@ Functions -

Definition at line 122 of file gf_driver.c.

+

Definition at line 49 of file gf_driver.c.

@@ -314,7 +314,7 @@ Functions
Returns
Drawing driver
-

Definition at line 68 of file gf_driver.c.

+

Definition at line 35 of file gf_driver.c.

@@ -350,7 +350,7 @@ Functions -

Definition at line 134 of file gf_driver.c.

+

Definition at line 55 of file gf_driver.c.

@@ -386,7 +386,7 @@ Functions -

Definition at line 63 of file gf_driver.c.

+

Definition at line 30 of file gf_driver.c.

@@ -422,7 +422,7 @@ Functions -

Definition at line 127 of file gf_driver.c.

+

Definition at line 51 of file gf_driver.c.

@@ -470,7 +470,7 @@ Functions
Returns
1 if extension is present, otherwise if it isn't
-

Definition at line 101 of file gf_driver.c.

+

Definition at line 45 of file gf_driver.c.

@@ -546,7 +546,7 @@ Functions
Returns
Driver-dependent texture
-

Definition at line 30 of file gf_driver.c.

+

Definition at line 25 of file gf_driver.c.

@@ -582,7 +582,7 @@ Functions -

Definition at line 113 of file gf_driver.c.

+

Definition at line 47 of file gf_driver.c.

@@ -629,7 +629,7 @@ Functions -

Definition at line 132 of file gf_driver.c.

+

Definition at line 53 of file gf_driver.c.

diff --git a/engine/gf__draw__driver_8h_source.html b/engine/gf__draw__driver_8h_source.html index e38792b..6a7620a 100644 --- a/engine/gf__draw__driver_8h_source.html +++ b/engine/gf__draw__driver_8h_source.html @@ -143,23 +143,23 @@ $(document).ready(function(){initNavTree('gf__draw__driver_8h_source.html','');
core.h
Type definitions related to core.
draw.h
Type definitions related to drawing interface.
draw_driver.h
Type definitions related to drawing driver.
-
gf_draw_driver_register_texture
gf_draw_driver_texture_t * gf_draw_driver_register_texture(gf_draw_t *draw, int width, int height, int *iwidth, int *iheight, unsigned char *data)
Register driver-dependent texture.
Definition gf_driver.c:30
-
gf_draw_driver_set_color
void gf_draw_driver_set_color(gf_draw_t *draw, gf_graphic_color_t color)
Set color.
Definition gf_driver.c:132
-
gf_draw_driver_end_texture_2d
void gf_draw_driver_end_texture_2d(gf_draw_t *draw)
End 2D texture mode.
Definition gf_driver.c:127
-
gf_draw_driver_before
void gf_draw_driver_before(gf_draw_t *draw)
Called before gf_draw_frame.
Definition gf_driver.c:139
-
gf_draw_driver_after
void gf_draw_driver_after(gf_draw_t *draw)
Called after gf_draw_frame.
Definition gf_driver.c:152
-
gf_draw_driver_has_extension
int gf_draw_driver_has_extension(gf_draw_t *draw, const char *query)
Check if renderer has extension.
Definition gf_driver.c:101
-
gf_draw_driver_destroy_texture
void gf_draw_driver_destroy_texture(gf_draw_driver_texture_t *texture)
Destroy driver-dependent texture.
Definition gf_driver.c:63
-
gf_draw_driver_begin_texture_2d
void gf_draw_driver_begin_texture_2d(gf_draw_t *draw, gf_texture_t *texture)
Begin 2D texture mode.
Definition gf_driver.c:122
-
gf_draw_driver_create
gf_draw_driver_t * gf_draw_driver_create(gf_engine_t *engine, gf_draw_t *draw)
Initialize drawing driver.
Definition gf_driver.c:68
-
gf_draw_driver_reshape
void gf_draw_driver_reshape(gf_draw_t *draw)
Do stuffs required on resizing window.
Definition gf_driver.c:113
-
gf_draw_driver_destroy
void gf_draw_driver_destroy(gf_draw_driver_t *driver)
Destroy drawing driver.
Definition gf_driver.c:134
+
gf_draw_driver_register_texture
gf_draw_driver_texture_t * gf_draw_driver_register_texture(gf_draw_t *draw, int width, int height, int *iwidth, int *iheight, unsigned char *data)
Register driver-dependent texture.
Definition gf_driver.c:25
+
gf_draw_driver_set_color
void gf_draw_driver_set_color(gf_draw_t *draw, gf_graphic_color_t color)
Set color.
Definition gf_driver.c:53
+
gf_draw_driver_end_texture_2d
void gf_draw_driver_end_texture_2d(gf_draw_t *draw)
End 2D texture mode.
Definition gf_driver.c:51
+
gf_draw_driver_before
void gf_draw_driver_before(gf_draw_t *draw)
Called before gf_draw_frame.
Definition gf_driver.c:61
+
gf_draw_driver_after
void gf_draw_driver_after(gf_draw_t *draw)
Called after gf_draw_frame.
Definition gf_driver.c:71
+
gf_draw_driver_has_extension
int gf_draw_driver_has_extension(gf_draw_t *draw, const char *query)
Check if renderer has extension.
Definition gf_driver.c:45
+
gf_draw_driver_destroy_texture
void gf_draw_driver_destroy_texture(gf_draw_driver_texture_t *texture)
Destroy driver-dependent texture.
Definition gf_driver.c:30
+
gf_draw_driver_begin_texture_2d
void gf_draw_driver_begin_texture_2d(gf_draw_t *draw, gf_texture_t *texture)
Begin 2D texture mode.
Definition gf_driver.c:49
+
gf_draw_driver_create
gf_draw_driver_t * gf_draw_driver_create(gf_engine_t *engine, gf_draw_t *draw)
Initialize drawing driver.
Definition gf_driver.c:35
+
gf_draw_driver_reshape
void gf_draw_driver_reshape(gf_draw_t *draw)
Do stuffs required on resizing window.
Definition gf_driver.c:47
+
gf_draw_driver_destroy
void gf_draw_driver_destroy(gf_draw_driver_t *driver)
Destroy drawing driver.
Definition gf_driver.c:55
gf_macro.h
Macro.
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:174
gf_pre.h
Required headers before anything.
graphic.h
Type definitions related to graphic interface.
-
gf_draw_driver_t
Drawing driver.
Definition draw_driver.h:39
-
gf_draw_driver_texture_t
Driver-dependent texture.
Definition draw_driver.h:47
+
gf_draw_driver_t
Drawing driver.
Definition draw_driver.h:48
+
gf_draw_driver_texture_t
Driver-dependent texture.
Definition draw_driver.h:56
gf_draw_t
Drawing interface.
Definition draw.h:101
gf_engine_t
Engine instance.
Definition core.h:44
gf_graphic_color_t
Color.
Definition graphic.h:42
diff --git a/engine/gf__draw__platform_8h.html b/engine/gf__draw__platform_8h.html index 44c8659..0111138 100644 --- a/engine/gf__draw__platform_8h.html +++ b/engine/gf__draw__platform_8h.html @@ -160,7 +160,7 @@ Functions

Initialize platform-dependent part of drawing driver.

-

Definition at line 21 of file gf_draw.c.

+

Definition at line 21 of file gf_draw.c.

@@ -208,7 +208,7 @@ Functions
Returns
Platform-dependent part of drawing driver
-

Definition at line 66 of file gf_draw.c.

+

Definition at line 79 of file gf_draw.c.

@@ -244,7 +244,7 @@ Functions -

Definition at line 88 of file gf_draw.c.

+

Definition at line 135 of file gf_draw.c.

@@ -274,7 +274,7 @@ Functions

Cleanup platform-dependent part of drawing driver.

-

Definition at line 29 of file gf_draw.c.

+

Definition at line 22 of file gf_draw.c.

@@ -322,7 +322,7 @@ Functions
Returns
1 if extension is present, otherwise if it isn't
-

Definition at line 39 of file gf_draw.c.

+

Definition at line 55 of file gf_draw.c.

@@ -359,7 +359,7 @@ Functions
Returns
0 if successful, otherwise if failed
-

Definition at line 49 of file gf_draw.c.

+

Definition at line 57 of file gf_draw.c.

diff --git a/engine/gf__draw__platform_8h_source.html b/engine/gf__draw__platform_8h_source.html index 5bd75de..8caf9de 100644 --- a/engine/gf__draw__platform_8h_source.html +++ b/engine/gf__draw__platform_8h_source.html @@ -131,16 +131,16 @@ $(document).ready(function(){initNavTree('gf__draw__platform_8h_source.html','')
core.h
Type definitions related to core.
draw.h
Type definitions related to drawing interface.
draw_platform.h
Type definitions related to platform-dependent part of drawing driver.
-
gf_draw_platform_destroy
void gf_draw_platform_destroy(gf_draw_platform_t *platform)
Destroy platform-dependent part of drawing driver.
Definition gf_draw.c:88
-
gf_draw_platform_has_extension
int gf_draw_platform_has_extension(gf_draw_t *draw, const char *query)
Check if renderer has extension.
Definition gf_draw.c:39
-
gf_draw_platform_begin
void gf_draw_platform_begin(void)
Initialize platform-dependent part of drawing driver.
Definition gf_draw.c:21
-
gf_draw_platform_end
void gf_draw_platform_end(void)
Cleanup platform-dependent part of drawing driver.
Definition gf_draw.c:29
-
gf_draw_platform_create
gf_draw_platform_t * gf_draw_platform_create(gf_engine_t *engine, gf_draw_t *draw)
Create platform-dependent part of drawing driver.
Definition gf_draw.c:66
-
gf_draw_platform_step
int gf_draw_platform_step(gf_draw_t *draw)
Do platform-dependent step.
Definition gf_draw.c:49
+
gf_draw_platform_destroy
void gf_draw_platform_destroy(gf_draw_platform_t *platform)
Destroy platform-dependent part of drawing driver.
Definition gf_draw.c:135
+
gf_draw_platform_has_extension
int gf_draw_platform_has_extension(gf_draw_t *draw, const char *query)
Check if renderer has extension.
Definition gf_draw.c:55
+
gf_draw_platform_begin
void gf_draw_platform_begin(void)
Initialize platform-dependent part of drawing driver.
Definition gf_draw.c:21
+
gf_draw_platform_end
void gf_draw_platform_end(void)
Cleanup platform-dependent part of drawing driver.
Definition gf_draw.c:22
+
gf_draw_platform_create
gf_draw_platform_t * gf_draw_platform_create(gf_engine_t *engine, gf_draw_t *draw)
Create platform-dependent part of drawing driver.
Definition gf_draw.c:79
+
gf_draw_platform_step
int gf_draw_platform_step(gf_draw_t *draw)
Do platform-dependent step.
Definition gf_draw.c:57
gf_macro.h
Macro.
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:174
gf_pre.h
Required headers before anything.
-
gf_draw_platform_t
Platform-dependent part of drawing driver.
Definition draw_platform.h:54
+
gf_draw_platform_t
Platform-dependent part of drawing driver.
Definition draw_platform.h:65
gf_draw_t
Drawing interface.
Definition draw.h:101
gf_engine_t
Engine instance.
Definition core.h:44
diff --git a/engine/gf__graphic_8h.html b/engine/gf__graphic_8h.html index 7ab01b6..2b82902 100644 --- a/engine/gf__graphic_8h.html +++ b/engine/gf__graphic_8h.html @@ -284,7 +284,7 @@ Functions

Start 2D mode.

-

Definition at line 22 of file gf_graphic.c.

+

Definition at line 22 of file gf_graphic.c.

@@ -314,7 +314,7 @@ Functions

Clear the screen.

-

Definition at line 44 of file gf_graphic.c.

+

Definition at line 26 of file gf_graphic.c.

@@ -448,7 +448,7 @@ Functions

Draw polygon with texture.

-

Definition at line 46 of file gf_graphic.c.

+

Definition at line 28 of file gf_graphic.c.

@@ -478,7 +478,7 @@ Functions

End 2D mode.

-

Definition at line 34 of file gf_graphic.c.

+

Definition at line 24 of file gf_graphic.c.

@@ -536,7 +536,7 @@ Functions

Draw polygon.

-

Definition at line 81 of file gf_graphic.c.

+

Definition at line 30 of file gf_graphic.c.

@@ -661,7 +661,7 @@ Functions -

Definition at line 108 of file gf_graphic.c.

+

Definition at line 32 of file gf_graphic.c.

@@ -697,7 +697,7 @@ Functions -

Definition at line 125 of file gf_graphic.c.

+

Definition at line 34 of file gf_graphic.c.

diff --git a/engine/gf__graphic_8h_source.html b/engine/gf__graphic_8h_source.html index 39ce58a..75766f0 100644 --- a/engine/gf__graphic_8h_source.html +++ b/engine/gf__graphic_8h_source.html @@ -154,16 +154,16 @@ $(document).ready(function(){initNavTree('gf__graphic_8h_source.html',''); initR
119#endif
draw.h
Type definitions related to drawing interface.
gf_graphic_draw_texture_2d
void gf_graphic_draw_texture_2d(gf_draw_t *draw, double x, double y, double w, double h, gf_texture_t *texture, gf_graphic_color_t color)
Draw rectangle with texture.
Definition gf_graphic_common.c:57
-
gf_graphic_draw_texture_polygon
void gf_graphic_draw_texture_polygon(gf_draw_t *draw, gf_texture_t *texture, gf_graphic_color_t color, int dim, int npair,...)
Draw polygon with texture.
Definition gf_graphic.c:46
+
gf_graphic_draw_texture_polygon
void gf_graphic_draw_texture_polygon(gf_draw_t *draw, gf_texture_t *texture, gf_graphic_color_t color, int dim, int npair,...)
Draw polygon with texture.
Definition gf_graphic.c:28
gf_graphic_fill_rect
void gf_graphic_fill_rect(gf_draw_t *draw, double x, double y, double w, double h, gf_graphic_color_t color)
Draw filled rectangle.
Definition gf_graphic_common.c:19
-
gf_graphic_clear
void gf_graphic_clear(gf_draw_t *draw)
Clear the screen.
Definition gf_graphic.c:44
-
gf_graphic_fill_polygon
void gf_graphic_fill_polygon(gf_draw_t *draw, gf_graphic_color_t color, int dim, int npair,...)
Draw polygon.
Definition gf_graphic.c:81
-
gf_graphic_perspective
void gf_graphic_perspective(gf_draw_t *draw, double fovy, double znear, double zfar)
Set perspective.
Definition gf_graphic.c:108
+
gf_graphic_clear
void gf_graphic_clear(gf_draw_t *draw)
Clear the screen.
Definition gf_graphic.c:26
+
gf_graphic_fill_polygon
void gf_graphic_fill_polygon(gf_draw_t *draw, gf_graphic_color_t color, int dim, int npair,...)
Draw polygon.
Definition gf_graphic.c:30
+
gf_graphic_perspective
void gf_graphic_perspective(gf_draw_t *draw, double fovy, double znear, double zfar)
Set perspective.
Definition gf_graphic.c:32
gf_graphic_text
void gf_graphic_text(gf_draw_t *draw, double x, double y, double size, const char *text, gf_graphic_color_t color)
Draw text.
Definition gf_graphic_common.c:21
gf_graphic_text_width
double gf_graphic_text_width(gf_draw_t *draw, double size, const char *text)
Calculate text width.
Definition gf_graphic_common.c:41
-
gf_graphic_end_2d
void gf_graphic_end_2d(gf_draw_t *draw)
End 2D mode.
Definition gf_graphic.c:34
-
gf_graphic_begin_2d
void gf_graphic_begin_2d(gf_draw_t *draw)
Start 2D mode.
Definition gf_graphic.c:22
-
gf_graphic_set_camera
void gf_graphic_set_camera(gf_draw_t *draw)
Set camera.
Definition gf_graphic.c:125
+
gf_graphic_end_2d
void gf_graphic_end_2d(gf_draw_t *draw)
End 2D mode.
Definition gf_graphic.c:24
+
gf_graphic_begin_2d
void gf_graphic_begin_2d(gf_draw_t *draw)
Start 2D mode.
Definition gf_graphic.c:22
+
gf_graphic_set_camera
void gf_graphic_set_camera(gf_draw_t *draw)
Set camera.
Definition gf_graphic.c:34
gf_macro.h
Macro.
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:174
gf_pre.h
Required headers before anything.
diff --git a/engine/gf__texture_8c_source.html b/engine/gf__texture_8c_source.html index 143dcaf..13e112f 100644 --- a/engine/gf__texture_8c_source.html +++ b/engine/gf__texture_8c_source.html @@ -142,7 +142,7 @@ $(document).ready(function(){initNavTree('gf__texture_8c_source.html',''); initR
gf_draw_driver.h
Drawing driver.
gf_pre.h
Required headers before anything.
gf_texture.h
Texture.
-
gf_draw_driver_texture_t
Driver-dependent texture.
Definition draw_driver.h:47
+
gf_draw_driver_texture_t
Driver-dependent texture.
Definition draw_driver.h:56
gf_draw_t
Drawing interface.
Definition draw.h:101
gf_texture_t
Texture.
Definition texture.h:47
gf_texture_t::internal_width
int internal_width
Internal width of texture.
Definition texture.h:47
diff --git a/engine/gf__version_8c_source.html b/engine/gf__version_8c_source.html index 717ed36..730ee4d 100644 --- a/engine/gf__version_8c_source.html +++ b/engine/gf__version_8c_source.html @@ -142,31 +142,38 @@ $(document).ready(function(){initNavTree('gf__version_8c_source.html',''); initR
40#endif
41#endif
42
-
43#if defined(THREAD_WIN32)
-
44 strcpy(version->thread, "Win32");
-
45#elif defined(THREAD_POSIX)
-
46 strcpy(version->thread, "POSIX");
+
43#if defined(DRV_DIRECTX)
+
44 strcpy(version->driver, "DirectX");
+
45#if defined(USE_DX11)
+
46 strcpy(version->backend, "DirectX 11");
47#endif
-
48
-
49 strcpy(cpstr, GF_VERSION);
-
50 for(i = 0;; i++) {
-
51 if(cpstr[i] == '.' || cpstr[i] == 0) {
-
52 int num;
-
53 cpstr[i] = 0;
-
54 num = atoi(cpstr + old);
-
55 if(incr == 0) {
-
56 version->major = num;
-
57 } else if(incr == 1) {
-
58 version->minor = num;
-
59 } else if(incr == 2) {
-
60 version->patch = num;
-
61 }
-
62 old = i + 1;
-
63 incr++;
-
64 if(incr == 3) break;
-
65 }
-
66 }
-
67}
+
48#endif
+
49
+
50#if defined(THREAD_WIN32)
+
51 strcpy(version->thread, "Win32");
+
52#elif defined(THREAD_POSIX)
+
53 strcpy(version->thread, "POSIX");
+
54#endif
+
55
+
56 strcpy(cpstr, GF_VERSION);
+
57 for(i = 0;; i++) {
+
58 if(cpstr[i] == '.' || cpstr[i] == 0) {
+
59 int num;
+
60 cpstr[i] = 0;
+
61 num = atoi(cpstr + old);
+
62 if(incr == 0) {
+
63 version->major = num;
+
64 } else if(incr == 1) {
+
65 version->minor = num;
+
66 } else if(incr == 2) {
+
67 version->patch = num;
+
68 }
+
69 old = i + 1;
+
70 incr++;
+
71 if(incr == 3) break;
+
72 }
+
73 }
+
74}
gf_pre.h
Required headers before anything.
gf_version.h
Version.
diff --git a/engine/navtreedata.js b/engine/navtreedata.js index 06d6595..76c50bc 100644 --- a/engine/navtreedata.js +++ b/engine/navtreedata.js @@ -50,7 +50,7 @@ var NAVTREE = var NAVTREEINDEX = [ "annotated.html", -"structgf__font__bbox__t.html#a2b45d905b5ba888912df8e50037b4727" +"structgf__draw__t.html#adeb3586537ce39bf94c594dec0348346" ]; var SYNCONMSG = 'click to disable panel synchronisation'; diff --git a/engine/navtreeindex0.js b/engine/navtreeindex0.js index 902762d..286c959 100644 --- a/engine/navtreeindex0.js +++ b/engine/navtreeindex0.js @@ -8,14 +8,19 @@ var NAVTREEINDEX0 = "core_8h_source.html":[2,0,1,0,1], "dir_010439d597aa5f2c3973222e6254bb56.html":[2,0,2,1], "dir_01284e59d658032137ac90170bc51d5c.html":[2,0,2], +"dir_036ee58afba6ae32492bae49fa57c3dc.html":[2,0,0,0,0], "dir_3a4208df5cf5d0ab1d583a2473f08407.html":[2,0,2,0], "dir_5a32c7c5d9a7b7a4563b24a8e4acb19a.html":[2,0,0], -"dir_755d8abb012f637854d4b2fb26e768d7.html":[2,0,0,0,2], -"dir_78c3bd53007468ca0f7c2ae3b8c8a04a.html":[2,0,0,0,0], -"dir_b950b80d4849be3c17e5feffdf9623ad.html":[2,0,0,0,1], -"dir_cdfa954f69b2b39cda8325447a851899.html":[2,0,0,0], +"dir_755d8abb012f637854d4b2fb26e768d7.html":[2,0,0,1,2], +"dir_78c3bd53007468ca0f7c2ae3b8c8a04a.html":[2,0,0,1,0], +"dir_8b86b195670ff9abc2799cc711b7f0dc.html":[2,0,0,0], +"dir_b950b80d4849be3c17e5feffdf9623ad.html":[2,0,0,1,1], +"dir_cdfa954f69b2b39cda8325447a851899.html":[2,0,0,1], "dir_d44c64559bbebec7f509842c48db8b23.html":[2,0,1], "dir_e60f2706c8c207c5a951446d03370319.html":[2,0,1,0], +"directx_2dx11_2gf__draw_8c_source.html":[2,0,0,0,0,0], +"directx_2gf__driver_8c_source.html":[2,0,0,0,1], +"directx_2gf__graphic_8c_source.html":[2,0,0,0,2], "draw_8h.html":[2,0,1,0,2], "draw_8h_source.html":[2,0,1,0,2], "draw__driver_8h.html":[2,0,1,0,3], @@ -43,160 +48,158 @@ var NAVTREEINDEX0 = "gf__core_8h.html#abae48921e84f92d590608745536a9ffc":[2,0,1,2,3], "gf__core_8h.html#ade0f3fb928e49b05985f095e95fb1f92":[2,0,1,2,0], "gf__core_8h_source.html":[2,0,1,2], -"gf__draw_8h.html":[2,0,1,3], -"gf__draw_8h.html#a11d157bf565b4010f1350dd5329fa4a4":[2,0,1,3,3], -"gf__draw_8h.html#a4575368fee8a93966d657874a0906aaf":[2,0,1,3,0], -"gf__draw_8h.html#a47934a1eafd8426cc145a97e36867551":[2,0,1,3,6], -"gf__draw_8h.html#a4887fe11d8dfe55cf784e07b382b046a":[2,0,1,3,4], -"gf__draw_8h.html#aa7c19917300ff10b22de455323f01d83":[2,0,1,3,2], -"gf__draw_8h.html#af1d6ba858a1cee357f8626501540e8bf":[2,0,1,3,5], -"gf__draw_8h.html#af65b9048f8e8b33c560f374a945d1dec":[2,0,1,3,1], -"gf__draw_8h_source.html":[2,0,1,3], +"gf__directx_8h.html":[2,0,1,3], +"gf__directx_8h_source.html":[2,0,1,3], +"gf__draw_8h.html":[2,0,1,4], +"gf__draw_8h.html#a11d157bf565b4010f1350dd5329fa4a4":[2,0,1,4,3], +"gf__draw_8h.html#a4575368fee8a93966d657874a0906aaf":[2,0,1,4,0], +"gf__draw_8h.html#a47934a1eafd8426cc145a97e36867551":[2,0,1,4,6], +"gf__draw_8h.html#a4887fe11d8dfe55cf784e07b382b046a":[2,0,1,4,4], +"gf__draw_8h.html#aa7c19917300ff10b22de455323f01d83":[2,0,1,4,2], +"gf__draw_8h.html#af1d6ba858a1cee357f8626501540e8bf":[2,0,1,4,5], +"gf__draw_8h.html#af65b9048f8e8b33c560f374a945d1dec":[2,0,1,4,1], +"gf__draw_8h_source.html":[2,0,1,4], "gf__draw__common_8c_source.html":[2,0,5], -"gf__draw__driver_8h.html":[2,0,1,4], -"gf__draw__driver_8h.html#a034ba7f18e4d2c0395d4116182c47785":[2,0,1,4,8], -"gf__draw__driver_8h.html#a2740a2bb536d05c08ca019e66be4b6c6":[2,0,1,4,10], -"gf__draw__driver_8h.html#a43e4c5ac09e1092f2236af7bc3974431":[2,0,1,4,6], -"gf__draw__driver_8h.html#a5d2d7820e9dabe9f558d3f5a45b0ea60":[2,0,1,4,1], -"gf__draw__driver_8h.html#a646a68acd6e610379fc6ef5511e8c5d9":[2,0,1,4,0], -"gf__draw__driver_8h.html#a9ba4f91da9872bfc447a124cc4cf7d2a":[2,0,1,4,7], -"gf__draw__driver_8h.html#aa43ec41907a9e23dd236332f9d624dac":[2,0,1,4,5], -"gf__draw__driver_8h.html#ac53faf99d73b8279f7a020a7c08d7121":[2,0,1,4,2], -"gf__draw__driver_8h.html#aebc8d113d5682c2f1090e6f04d0857e4":[2,0,1,4,3], -"gf__draw__driver_8h.html#af0a260e2df4036c09bebe329c821fc19":[2,0,1,4,9], -"gf__draw__driver_8h.html#af8f5a8642f6e54ece2ab4b6389877b56":[2,0,1,4,4], -"gf__draw__driver_8h_source.html":[2,0,1,4], -"gf__draw__platform_8h.html":[2,0,1,5], -"gf__draw__platform_8h.html#a24822bbf6cda6c2cbe336d70116dfb25":[2,0,1,5,2], -"gf__draw__platform_8h.html#a368f0172138b75a37072d1ed357b1183":[2,0,1,5,4], -"gf__draw__platform_8h.html#aa3106f20d1a654acf65f5e4ddb7a0fdd":[2,0,1,5,0], -"gf__draw__platform_8h.html#ad6f83af1b5dec4457aea20dcab88c94f":[2,0,1,5,3], -"gf__draw__platform_8h.html#ae0d81adf1fa83413f5052dab1fc4793f":[2,0,1,5,1], -"gf__draw__platform_8h.html#af006e1dd0055cd824dd61122454d6192":[2,0,1,5,5], -"gf__draw__platform_8h_source.html":[2,0,1,5], -"gf__driver_8c_source.html":[2,0,0,0,3], +"gf__draw__driver_8h.html":[2,0,1,5], +"gf__draw__driver_8h.html#a034ba7f18e4d2c0395d4116182c47785":[2,0,1,5,8], +"gf__draw__driver_8h.html#a2740a2bb536d05c08ca019e66be4b6c6":[2,0,1,5,10], +"gf__draw__driver_8h.html#a43e4c5ac09e1092f2236af7bc3974431":[2,0,1,5,6], +"gf__draw__driver_8h.html#a5d2d7820e9dabe9f558d3f5a45b0ea60":[2,0,1,5,1], +"gf__draw__driver_8h.html#a646a68acd6e610379fc6ef5511e8c5d9":[2,0,1,5,0], +"gf__draw__driver_8h.html#a9ba4f91da9872bfc447a124cc4cf7d2a":[2,0,1,5,7], +"gf__draw__driver_8h.html#aa43ec41907a9e23dd236332f9d624dac":[2,0,1,5,5], +"gf__draw__driver_8h.html#ac53faf99d73b8279f7a020a7c08d7121":[2,0,1,5,2], +"gf__draw__driver_8h.html#aebc8d113d5682c2f1090e6f04d0857e4":[2,0,1,5,3], +"gf__draw__driver_8h.html#af0a260e2df4036c09bebe329c821fc19":[2,0,1,5,9], +"gf__draw__driver_8h.html#af8f5a8642f6e54ece2ab4b6389877b56":[2,0,1,5,4], +"gf__draw__driver_8h_source.html":[2,0,1,5], +"gf__draw__platform_8h.html":[2,0,1,6], +"gf__draw__platform_8h.html#a24822bbf6cda6c2cbe336d70116dfb25":[2,0,1,6,2], +"gf__draw__platform_8h.html#a368f0172138b75a37072d1ed357b1183":[2,0,1,6,4], +"gf__draw__platform_8h.html#aa3106f20d1a654acf65f5e4ddb7a0fdd":[2,0,1,6,0], +"gf__draw__platform_8h.html#ad6f83af1b5dec4457aea20dcab88c94f":[2,0,1,6,3], +"gf__draw__platform_8h.html#ae0d81adf1fa83413f5052dab1fc4793f":[2,0,1,6,1], +"gf__draw__platform_8h.html#af006e1dd0055cd824dd61122454d6192":[2,0,1,6,5], +"gf__draw__platform_8h_source.html":[2,0,1,6], "gf__font_8c_source.html":[2,0,6], -"gf__font_8h.html":[2,0,1,6], -"gf__font_8h.html#a0d171fe12d2ac1d3acc18476436608a1":[2,0,1,6,0], -"gf__font_8h.html#adc4a1d10e49218c6383f5af6c4752fa1":[2,0,1,6,1], -"gf__font_8h_source.html":[2,0,1,6], -"gf__graphic_8c_source.html":[2,0,0,0,4], -"gf__graphic_8h.html":[2,0,1,7], -"gf__graphic_8h.html#a0b9f704231aa067e58c6a8e7a42afdcf":[2,0,1,7,1], -"gf__graphic_8h.html#a30c57cf06829cfb3f68556e73a86b203":[2,0,1,7,2], -"gf__graphic_8h.html#a3285370a495233cc7db4f25317cd5fb0":[2,0,1,7,5], -"gf__graphic_8h.html#a4157822cc342fa294329ed2c436d53f2":[2,0,1,7,6], -"gf__graphic_8h.html#a4811198de205914602e5cdbafdcdd68d":[2,0,1,7,9], -"gf__graphic_8h.html#a74f8bf7e2fc346f7d85ecfcea061f3fb":[2,0,1,7,4], -"gf__graphic_8h.html#a8ff780a4bcadc008355699101d2a42cc":[2,0,1,7,8], -"gf__graphic_8h.html#a95e7c86d8e9b64501af7de7268f6d74d":[2,0,1,7,10], -"gf__graphic_8h.html#a9840372651011386f6851954e95e7943":[2,0,1,7,12], -"gf__graphic_8h.html#a996f203bc791922f639ad2e02b5299c1":[2,0,1,7,13], -"gf__graphic_8h.html#ab0a76f61b9510881b842dbba4b0b54c0":[2,0,1,7,0], -"gf__graphic_8h.html#acd5d3047cf76b63b2d1161e4e880f446":[2,0,1,7,7], -"gf__graphic_8h.html#ad35db673e213edbadbfd938138c88a4c":[2,0,1,7,3], -"gf__graphic_8h.html#af8285b506b90125960bf01b427a9a883":[2,0,1,7,11], -"gf__graphic_8h_source.html":[2,0,1,7], +"gf__font_8h.html":[2,0,1,7], +"gf__font_8h.html#a0d171fe12d2ac1d3acc18476436608a1":[2,0,1,7,0], +"gf__font_8h.html#adc4a1d10e49218c6383f5af6c4752fa1":[2,0,1,7,1], +"gf__font_8h_source.html":[2,0,1,7], +"gf__graphic_8h.html":[2,0,1,8], +"gf__graphic_8h.html#a0b9f704231aa067e58c6a8e7a42afdcf":[2,0,1,8,1], +"gf__graphic_8h.html#a30c57cf06829cfb3f68556e73a86b203":[2,0,1,8,2], +"gf__graphic_8h.html#a3285370a495233cc7db4f25317cd5fb0":[2,0,1,8,5], +"gf__graphic_8h.html#a4157822cc342fa294329ed2c436d53f2":[2,0,1,8,6], +"gf__graphic_8h.html#a4811198de205914602e5cdbafdcdd68d":[2,0,1,8,9], +"gf__graphic_8h.html#a74f8bf7e2fc346f7d85ecfcea061f3fb":[2,0,1,8,4], +"gf__graphic_8h.html#a8ff780a4bcadc008355699101d2a42cc":[2,0,1,8,8], +"gf__graphic_8h.html#a95e7c86d8e9b64501af7de7268f6d74d":[2,0,1,8,10], +"gf__graphic_8h.html#a9840372651011386f6851954e95e7943":[2,0,1,8,12], +"gf__graphic_8h.html#a996f203bc791922f639ad2e02b5299c1":[2,0,1,8,13], +"gf__graphic_8h.html#ab0a76f61b9510881b842dbba4b0b54c0":[2,0,1,8,0], +"gf__graphic_8h.html#acd5d3047cf76b63b2d1161e4e880f446":[2,0,1,8,7], +"gf__graphic_8h.html#ad35db673e213edbadbfd938138c88a4c":[2,0,1,8,3], +"gf__graphic_8h.html#af8285b506b90125960bf01b427a9a883":[2,0,1,8,11], +"gf__graphic_8h_source.html":[2,0,1,8], "gf__graphic__common_8c_source.html":[2,0,7], "gf__gui_8c_source.html":[2,0,8], -"gf__gui_8h.html":[2,0,1,8], -"gf__gui_8h.html#a01d6d034ff93d118bcbabf86f33735c5":[2,0,1,8,1], -"gf__gui_8h.html#a39fc0e9d0e6ebaf3d60e1275008124b5":[2,0,1,8,6], -"gf__gui_8h.html#a41f221ae3b2221553f49678f9434976c":[2,0,1,8,7], -"gf__gui_8h.html#a59c22dec721b5a703d29e0b0d9fc3522":[2,0,1,8,0], -"gf__gui_8h.html#a670ac29a4409cc16c8d77f2d33ccc499":[2,0,1,8,5], -"gf__gui_8h.html#a929e99bf9dd58e4abc0c9f2a6b1341a1":[2,0,1,8,3], -"gf__gui_8h.html#a9bfb5fc1e4dff3c3f0e4748d5b8c3c2e":[2,0,1,8,4], -"gf__gui_8h.html#ad122969dc187a91908fc312f185eaa46":[2,0,1,8,2], -"gf__gui_8h_source.html":[2,0,1,8], +"gf__gui_8h.html":[2,0,1,9], +"gf__gui_8h.html#a01d6d034ff93d118bcbabf86f33735c5":[2,0,1,9,1], +"gf__gui_8h.html#a39fc0e9d0e6ebaf3d60e1275008124b5":[2,0,1,9,6], +"gf__gui_8h.html#a41f221ae3b2221553f49678f9434976c":[2,0,1,9,7], +"gf__gui_8h.html#a59c22dec721b5a703d29e0b0d9fc3522":[2,0,1,9,0], +"gf__gui_8h.html#a670ac29a4409cc16c8d77f2d33ccc499":[2,0,1,9,5], +"gf__gui_8h.html#a929e99bf9dd58e4abc0c9f2a6b1341a1":[2,0,1,9,3], +"gf__gui_8h.html#a9bfb5fc1e4dff3c3f0e4748d5b8c3c2e":[2,0,1,9,4], +"gf__gui_8h.html#ad122969dc187a91908fc312f185eaa46":[2,0,1,9,2], +"gf__gui_8h_source.html":[2,0,1,9], "gf__input_8c_source.html":[2,0,9], -"gf__input_8h.html":[2,0,1,9], -"gf__input_8h_source.html":[2,0,1,9], +"gf__input_8h.html":[2,0,1,10], +"gf__input_8h_source.html":[2,0,1,10], "gf__log_8c_source.html":[2,0,10], -"gf__log_8h.html":[2,0,1,10], -"gf__log_8h.html#a165a2d1cecbdd974b4a44450011bb84a":[2,0,1,10,0], -"gf__log_8h.html#aed92dc232c3ae9cabdff1eeea67dfa90":[2,0,1,10,1], -"gf__log_8h_source.html":[2,0,1,10], -"gf__macro_8h.html":[2,0,1,11], -"gf__macro_8h.html#a018031ff5fba22b9d5052a55f8c9a377":[2,0,1,11,1], -"gf__macro_8h.html#a0741ff0ae6d4298a707cb24a2b88d13e":[2,0,1,11,11], -"gf__macro_8h.html#a13d820c4f195f0f38ce7d791a9a4ddeb":[2,0,1,11,3], -"gf__macro_8h.html#a162dc93ccefb746c38c3874a79b42eca":[2,0,1,11,13], -"gf__macro_8h.html#a1b10588ebedb9c8ea44c1e4d2dd11086":[2,0,1,11,16], -"gf__macro_8h.html#a25e2d509981e06719691d7b1b4b25b12":[2,0,1,11,0], -"gf__macro_8h.html#a25f301eb3d5e8c3bfb8187876fa36efa":[2,0,1,11,6], -"gf__macro_8h.html#a438e60b3ef2df2ad0a220523e95d6dca":[2,0,1,11,5], -"gf__macro_8h.html#a44fcf2830dd68160e7745e6c93a0fc15":[2,0,1,11,8], -"gf__macro_8h.html#a4a8b5bd4a3f26e4e775db703d383e315":[2,0,1,11,10], -"gf__macro_8h.html#a522da62928e59f2d7e01a128eb2441f2":[2,0,1,11,18], -"gf__macro_8h.html#a5a117ced8c73165c3cc6144a49bf5af0":[2,0,1,11,7], -"gf__macro_8h.html#a64ddd31b0795e397b5d944e6f1821357":[2,0,1,11,2], -"gf__macro_8h.html#a697eb08d834a4889d84940e79575779d":[2,0,1,11,4], -"gf__macro_8h.html#a7bbb6e42ee5fdf2e1dbbb4678e46973a":[2,0,1,11,15], -"gf__macro_8h.html#a9c8f57368c8d0b9a005e88951bb6b999":[2,0,1,11,9], -"gf__macro_8h.html#ac44de892fe92937b0c6bf471ed7c39d3":[2,0,1,11,12], -"gf__macro_8h.html#aeb8d09c8509f1bbb5c2647be76806117":[2,0,1,11,14], -"gf__macro_8h.html#aeddf0443a9813483ca6bfc05190915e0":[2,0,1,11,17], -"gf__macro_8h_source.html":[2,0,1,11], +"gf__log_8h.html":[2,0,1,11], +"gf__log_8h.html#a165a2d1cecbdd974b4a44450011bb84a":[2,0,1,11,0], +"gf__log_8h.html#aed92dc232c3ae9cabdff1eeea67dfa90":[2,0,1,11,1], +"gf__log_8h_source.html":[2,0,1,11], +"gf__macro_8h.html":[2,0,1,12], +"gf__macro_8h.html#a018031ff5fba22b9d5052a55f8c9a377":[2,0,1,12,1], +"gf__macro_8h.html#a0741ff0ae6d4298a707cb24a2b88d13e":[2,0,1,12,11], +"gf__macro_8h.html#a13d820c4f195f0f38ce7d791a9a4ddeb":[2,0,1,12,3], +"gf__macro_8h.html#a162dc93ccefb746c38c3874a79b42eca":[2,0,1,12,13], +"gf__macro_8h.html#a1b10588ebedb9c8ea44c1e4d2dd11086":[2,0,1,12,16], +"gf__macro_8h.html#a25e2d509981e06719691d7b1b4b25b12":[2,0,1,12,0], +"gf__macro_8h.html#a25f301eb3d5e8c3bfb8187876fa36efa":[2,0,1,12,6], +"gf__macro_8h.html#a438e60b3ef2df2ad0a220523e95d6dca":[2,0,1,12,5], +"gf__macro_8h.html#a44fcf2830dd68160e7745e6c93a0fc15":[2,0,1,12,8], +"gf__macro_8h.html#a4a8b5bd4a3f26e4e775db703d383e315":[2,0,1,12,10], +"gf__macro_8h.html#a522da62928e59f2d7e01a128eb2441f2":[2,0,1,12,18], +"gf__macro_8h.html#a5a117ced8c73165c3cc6144a49bf5af0":[2,0,1,12,7], +"gf__macro_8h.html#a64ddd31b0795e397b5d944e6f1821357":[2,0,1,12,2], +"gf__macro_8h.html#a697eb08d834a4889d84940e79575779d":[2,0,1,12,4], +"gf__macro_8h.html#a7bbb6e42ee5fdf2e1dbbb4678e46973a":[2,0,1,12,15], +"gf__macro_8h.html#a9c8f57368c8d0b9a005e88951bb6b999":[2,0,1,12,9], +"gf__macro_8h.html#ac44de892fe92937b0c6bf471ed7c39d3":[2,0,1,12,12], +"gf__macro_8h.html#aeb8d09c8509f1bbb5c2647be76806117":[2,0,1,12,14], +"gf__macro_8h.html#aeddf0443a9813483ca6bfc05190915e0":[2,0,1,12,17], +"gf__macro_8h_source.html":[2,0,1,12], "gf__math_8c_source.html":[2,0,11], -"gf__math_8h.html":[2,0,1,12], -"gf__math_8h.html#a018423cb05adf480f9c3f28f304d1c47":[2,0,1,12,3], -"gf__math_8h.html#a394ebd35e2cddf28c86a45dad759fbee":[2,0,1,12,4], -"gf__math_8h.html#a3bd2afc9ff0e67e60afef9fe82553726":[2,0,1,12,7], -"gf__math_8h.html#a5438b2f7f1324cdd664f2b823faa1ba6":[2,0,1,12,6], -"gf__math_8h.html#a545245d1e846e9c756e776eb6138536b":[2,0,1,12,1], -"gf__math_8h.html#a8bf10c0638a206ac572807e90508b6b5":[2,0,1,12,0], -"gf__math_8h.html#a9df6d1b30bea0b200582e2873bddd113":[2,0,1,12,8], -"gf__math_8h.html#aac8f6a22f2880f5b86b20a191a662333":[2,0,1,12,2], -"gf__math_8h.html#aefea2441e869786726095fcda71750dc":[2,0,1,12,5], -"gf__math_8h_source.html":[2,0,1,12], +"gf__math_8h.html":[2,0,1,13], +"gf__math_8h.html#a018423cb05adf480f9c3f28f304d1c47":[2,0,1,13,3], +"gf__math_8h.html#a394ebd35e2cddf28c86a45dad759fbee":[2,0,1,13,4], +"gf__math_8h.html#a3bd2afc9ff0e67e60afef9fe82553726":[2,0,1,13,7], +"gf__math_8h.html#a5438b2f7f1324cdd664f2b823faa1ba6":[2,0,1,13,6], +"gf__math_8h.html#a545245d1e846e9c756e776eb6138536b":[2,0,1,13,1], +"gf__math_8h.html#a8bf10c0638a206ac572807e90508b6b5":[2,0,1,13,0], +"gf__math_8h.html#a9df6d1b30bea0b200582e2873bddd113":[2,0,1,13,8], +"gf__math_8h.html#aac8f6a22f2880f5b86b20a191a662333":[2,0,1,13,2], +"gf__math_8h.html#aefea2441e869786726095fcda71750dc":[2,0,1,13,5], +"gf__math_8h_source.html":[2,0,1,13], "gf__mesh_8c_source.html":[2,0,12], -"gf__mesh_8h.html":[2,0,1,13], -"gf__mesh_8h_source.html":[2,0,1,13], +"gf__mesh_8h.html":[2,0,1,14], +"gf__mesh_8h_source.html":[2,0,1,14], "gf__miniaudio_8c_source.html":[2,0,13], "gf__model_8c_source.html":[2,0,14], -"gf__model_8h.html":[2,0,1,14], -"gf__model_8h_source.html":[2,0,1,14], -"gf__opengl_8h.html":[2,0,1,15], -"gf__opengl_8h_source.html":[2,0,1,15], +"gf__model_8h.html":[2,0,1,15], +"gf__model_8h_source.html":[2,0,1,15], +"gf__opengl_8h.html":[2,0,1,16], +"gf__opengl_8h_source.html":[2,0,1,16], "gf__physics_8c_source.html":[2,0,15], -"gf__physics_8h.html":[2,0,1,16], -"gf__physics_8h.html#a046ff3b6d3842c4cfd2c43ec576b09c6":[2,0,1,16,0], -"gf__physics_8h.html#a5724da53e501775d4a0faad3c91f1a14":[2,0,1,16,3], -"gf__physics_8h.html#a7e225db0a916463d791036c4d8636993":[2,0,1,16,1], -"gf__physics_8h.html#ad9f65aa74657b4558c67f809c590fad3":[2,0,1,16,2], -"gf__physics_8h_source.html":[2,0,1,16], -"gf__pre_8h.html":[2,0,1,17], -"gf__pre_8h_source.html":[2,0,1,17], +"gf__physics_8h.html":[2,0,1,17], +"gf__physics_8h.html#a046ff3b6d3842c4cfd2c43ec576b09c6":[2,0,1,17,0], +"gf__physics_8h.html#a5724da53e501775d4a0faad3c91f1a14":[2,0,1,17,3], +"gf__physics_8h.html#a7e225db0a916463d791036c4d8636993":[2,0,1,17,1], +"gf__physics_8h.html#ad9f65aa74657b4558c67f809c590fad3":[2,0,1,17,2], +"gf__physics_8h_source.html":[2,0,1,17], +"gf__pre_8h.html":[2,0,1,18], +"gf__pre_8h_source.html":[2,0,1,18], "gf__server_8c_source.html":[2,0,16], -"gf__server_8h.html":[2,0,1,18], -"gf__server_8h.html#a656e41de75a97731bffa1653fc2c8d4a":[2,0,1,18,0], -"gf__server_8h.html#a861aac514f048d33ce16e3209e125df5":[2,0,1,18,1], -"gf__server_8h.html#a9f44e37cb5becfe321b352f8801fe22e":[2,0,1,18,3], -"gf__server_8h.html#afedff111b1691c5973e264ce4f6a3787":[2,0,1,18,2], -"gf__server_8h_source.html":[2,0,1,18], +"gf__server_8h.html":[2,0,1,19], +"gf__server_8h.html#a656e41de75a97731bffa1653fc2c8d4a":[2,0,1,19,0], +"gf__server_8h.html#a861aac514f048d33ce16e3209e125df5":[2,0,1,19,1], +"gf__server_8h.html#a9f44e37cb5becfe321b352f8801fe22e":[2,0,1,19,3], +"gf__server_8h.html#afedff111b1691c5973e264ce4f6a3787":[2,0,1,19,2], +"gf__server_8h_source.html":[2,0,1,19], "gf__stb__image_8c_source.html":[2,0,17], "gf__texture_8c_source.html":[2,0,18], -"gf__texture_8h.html":[2,0,1,19], -"gf__texture_8h.html#a3bfedc6c576e35173d3a7b1b9565e649":[2,0,1,19,1], -"gf__texture_8h.html#a6cd0c41bfc9dbe140bb52f39aaa14080":[2,0,1,19,0], -"gf__texture_8h_source.html":[2,0,1,19], -"gf__thread_8h.html":[2,0,1,20], -"gf__thread_8h.html#a168bd57321daded0d1789442e5680dea":[2,0,1,20,2], -"gf__thread_8h.html#ad2a42aa3c8b51ec7e22625e8932906a4":[2,0,1,20,0], -"gf__thread_8h.html#ae75b99ee6c28e149e333512f46e8656a":[2,0,1,20,1], -"gf__thread_8h_source.html":[2,0,1,20], +"gf__texture_8h.html":[2,0,1,20], +"gf__texture_8h.html#a3bfedc6c576e35173d3a7b1b9565e649":[2,0,1,20,1], +"gf__texture_8h.html#a6cd0c41bfc9dbe140bb52f39aaa14080":[2,0,1,20,0], +"gf__texture_8h_source.html":[2,0,1,20], +"gf__thread_8h.html":[2,0,1,21], +"gf__thread_8h.html#a168bd57321daded0d1789442e5680dea":[2,0,1,21,2], +"gf__thread_8h.html#ad2a42aa3c8b51ec7e22625e8932906a4":[2,0,1,21,0], +"gf__thread_8h.html#ae75b99ee6c28e149e333512f46e8656a":[2,0,1,21,1], +"gf__thread_8h_source.html":[2,0,1,21], "gf__version_8c_source.html":[2,0,19], -"gf__version_8h.html":[2,0,1,21], -"gf__version_8h.html#a6bbaecc50f6c677871dcf74d7d7dbc4a":[2,0,1,21,0], -"gf__version_8h_source.html":[2,0,1,21], -"glfw_2gf__draw_8c_source.html":[2,0,0,0,0,0], +"gf__version_8h.html":[2,0,1,22], +"gf__version_8h.html#a6bbaecc50f6c677871dcf74d7d7dbc4a":[2,0,1,22,0], +"gf__version_8h_source.html":[2,0,1,22], "globals.html":[2,1,0], "globals_defs.html":[2,1,4], "globals_enum.html":[2,1,3], "globals_func.html":[2,1,1], "globals_type.html":[2,1,2], -"glx_2gf__draw_8c_source.html":[2,0,0,0,1,0], "graphic_8h.html":[2,0,1,0,6], "graphic_8h_source.html":[2,0,1,0,6], "gui_8h.html":[2,0,1,0,7], @@ -215,6 +218,11 @@ var NAVTREEINDEX0 = "mesh_8h_source.html":[2,0,1,0,9], "model_8h.html":[2,0,1,0,10], "model_8h_source.html":[2,0,1,0,10], +"opengl_2gf__driver_8c_source.html":[2,0,0,1,3], +"opengl_2gf__graphic_8c_source.html":[2,0,0,1,4], +"opengl_2glfw_2gf__draw_8c_source.html":[2,0,0,1,0,0], +"opengl_2glx_2gf__draw_8c_source.html":[2,0,0,1,1,0], +"opengl_2wgl_2gf__draw_8c_source.html":[2,0,0,1,2,0], "pages.html":[], "physics_8h.html":[2,0,1,0,11], "physics_8h_source.html":[2,0,1,0,11], @@ -241,13 +249,5 @@ var NAVTREEINDEX0 = "structgf__draw__t.html#a923e76b7eba5d6bca1c92bea6a716adb":[1,0,4,1], "structgf__draw__t.html#ab7893e83d1d13fe68efbed786df0ce5c":[1,0,4,10], "structgf__draw__t.html#ac8333a3ac4ec20cc31dffe69cf9fb19b":[1,0,4,0], -"structgf__draw__t.html#ad0dd9e86b268e783bb7aa7483f604587":[1,0,4,14], -"structgf__draw__t.html#adeb3586537ce39bf94c594dec0348346":[1,0,4,13], -"structgf__draw__t.html#ae300bda23f566c186f873c56c5d32a3f":[1,0,4,7], -"structgf__engine__t.html":[1,0,5], -"structgf__engine__t.html#a2ddb35da78854ca79e6f3be1cd5b8390":[1,0,5,2], -"structgf__engine__t.html#a311f3b1680291fbfb3271fc73a05748c":[1,0,5,1], -"structgf__engine__t.html#a4f2720244393f64efe90ef5079338ac2":[1,0,5,0], -"structgf__font__bbox__t.html":[1,0,6], -"structgf__font__bbox__t.html#a04fcce6ac897ce07a88fb98b4c2f133c":[1,0,6,3] +"structgf__draw__t.html#ad0dd9e86b268e783bb7aa7483f604587":[1,0,4,14] }; diff --git a/engine/navtreeindex1.js b/engine/navtreeindex1.js index be14b5f..deeb92d 100644 --- a/engine/navtreeindex1.js +++ b/engine/navtreeindex1.js @@ -1,5 +1,13 @@ var NAVTREEINDEX1 = { +"structgf__draw__t.html#adeb3586537ce39bf94c594dec0348346":[1,0,4,13], +"structgf__draw__t.html#ae300bda23f566c186f873c56c5d32a3f":[1,0,4,7], +"structgf__engine__t.html":[1,0,5], +"structgf__engine__t.html#a2ddb35da78854ca79e6f3be1cd5b8390":[1,0,5,2], +"structgf__engine__t.html#a311f3b1680291fbfb3271fc73a05748c":[1,0,5,1], +"structgf__engine__t.html#a4f2720244393f64efe90ef5079338ac2":[1,0,5,0], +"structgf__font__bbox__t.html":[1,0,6], +"structgf__font__bbox__t.html#a04fcce6ac897ce07a88fb98b4c2f133c":[1,0,6,3], "structgf__font__bbox__t.html#a2b45d905b5ba888912df8e50037b4727":[1,0,6,1], "structgf__font__bbox__t.html#a74aeb849bbd50cbe19cd3f992a583fd9":[1,0,6,2], "structgf__font__bbox__t.html#aadca894f3608eb26ffdf5a84bfb7dbd3":[1,0,6,0], @@ -77,6 +85,5 @@ var NAVTREEINDEX1 = "uniongf__gui__union__t.html#a35c5cf94acf5b2158389f19578ee9ad7":[1,0,14,0], "version_8h.html":[2,0,1,0,15], "version_8h_source.html":[2,0,1,0,15], -"wgl_2gf__draw_8c_source.html":[2,0,0,0,2,0], "win32_2gf__thread_8c_source.html":[2,0,2,1,0] }; diff --git a/engine/gf__driver_8c_source.html b/engine/opengl_2gf__driver_8c_source.html similarity index 86% rename from engine/gf__driver_8c_source.html rename to engine/opengl_2gf__driver_8c_source.html index 1963487..db30e75 100644 --- a/engine/gf__driver_8c_source.html +++ b/engine/opengl_2gf__driver_8c_source.html @@ -70,7 +70,7 @@ $(document).ready(function() { init_codefold(0); });
@@ -128,8 +128,7 @@ $(document).ready(function(){initNavTree('gf__driver_8c_source.html',''); initRe
27GLfloat lightdim[] = {0.2f, 0.2f, 0.2f, 1.0f};
28GLfloat lightblk[] = {0.0f, 0.0f, 0.0f, 1.0f};
29
-
-
30gf_draw_driver_texture_t* gf_draw_driver_register_texture(gf_draw_t* draw, int width, int height, int* iwidth, int* iheight, unsigned char* data) {
+
30gf_draw_driver_texture_t* gf_draw_driver_register_texture(gf_draw_t* draw, int width, int height, int* iwidth, int* iheight, unsigned char* data) {
31 gf_draw_driver_texture_t* r = malloc(sizeof(*r));
32 int w = gf_math_nearest_2pow(width);
33 int h = gf_math_nearest_2pow(height);
@@ -161,17 +160,13 @@ $(document).ready(function(){initNavTree('gf__driver_8c_source.html',''); initRe
59
60 return r;
61}
-
62
-
-
63void gf_draw_driver_destroy_texture(gf_draw_driver_texture_t* t) {
+
63void gf_draw_driver_destroy_texture(gf_draw_driver_texture_t* t) {
64 glDeleteTextures(1, &t->id);
65 free(t);
66}
-
67
-
-
68gf_draw_driver_t* gf_draw_driver_create(gf_engine_t* engine, gf_draw_t* draw) {
+
68gf_draw_driver_t* gf_draw_driver_create(gf_engine_t* engine, gf_draw_t* draw) {
69 gf_draw_driver_t* draw_driver = malloc(sizeof(*draw_driver));
70 memset(draw_driver, 0, sizeof(*draw_driver));
71 draw_driver->engine = engine;
@@ -203,10 +198,8 @@ $(document).ready(function(){initNavTree('gf__driver_8c_source.html',''); initRe
97
98 return draw_driver;
99}
-
100
-
-
101int gf_draw_driver_has_extension(gf_draw_t* draw, const char* query) {
+
101int gf_draw_driver_has_extension(gf_draw_t* draw, const char* query) {
102 int ret = gf_draw_platform_has_extension(draw, query);
103 const char* ext = NULL;
104 const char* ptr;
@@ -217,10 +210,8 @@ $(document).ready(function(){initNavTree('gf__driver_8c_source.html',''); initRe
109 ptr = strstr(ext, query);
110 return ((ptr != NULL) && ((ptr[len] == ' ') || (ptr[len] == '\0')));
111}
-
112
-
-
113void gf_draw_driver_reshape(gf_draw_t* draw) {
+
113void gf_draw_driver_reshape(gf_draw_t* draw) {
114 glViewport(0, 0, (GLint)draw->width, (GLint)draw->height);
115 glMatrixMode(GL_PROJECTION);
116 gf_graphic_perspective(draw, 30, 1.0, 1000.0);
@@ -228,33 +219,25 @@ $(document).ready(function(){initNavTree('gf__driver_8c_source.html',''); initRe
118 glMatrixMode(GL_MODELVIEW);
119 glLoadIdentity();
120}
-
121
-
-
122void gf_draw_driver_begin_texture_2d(gf_draw_t* draw, gf_texture_t* texture) {
+
122void gf_draw_driver_begin_texture_2d(gf_draw_t* draw, gf_texture_t* texture) {
123 glEnable(GL_TEXTURE_2D);
124 glBindTexture(GL_TEXTURE_2D, texture->draw_driver_texture->id);
125}
-
126
-
-
127void gf_draw_driver_end_texture_2d(gf_draw_t* draw) {
+
127void gf_draw_driver_end_texture_2d(gf_draw_t* draw) {
128 glDisable(GL_TEXTURE_2D);
129 glBindTexture(GL_TEXTURE_2D, 0);
130}
-
131
-
132void gf_draw_driver_set_color(gf_draw_t* draw, gf_graphic_color_t color) { glColor4f(color.r / 255, color.g / 255, color.b / 255, color.a / 255); }
+
132void gf_draw_driver_set_color(gf_draw_t* draw, gf_graphic_color_t color) { glColor4f(color.r / 255, color.g / 255, color.b / 255, color.a / 255); }
133
-
-
134void gf_draw_driver_destroy(gf_draw_driver_t* driver) {
+
134void gf_draw_driver_destroy(gf_draw_driver_t* driver) {
135 gf_log_function(driver->engine, "Destroyed drawing driver", "");
136 free(driver);
137}
-
138
-
-
139void gf_draw_driver_before(gf_draw_t* draw) {
+
139void gf_draw_driver_before(gf_draw_t* draw) {
140 GLfloat lightpos[4];
141 GF_MATH_VECTOR_COPY(draw->light, lightpos);
142 lightpos[3] = draw->light[3];
@@ -266,9 +249,8 @@ $(document).ready(function(){initNavTree('gf__driver_8c_source.html',''); initRe
148 glLightfv(GL_LIGHT0, GL_POSITION, lightpos);
149 gf_graphic_clear(draw);
150}
-
151
-
152void gf_draw_driver_after(gf_draw_t* draw) { glFlush(); }
+
152void gf_draw_driver_after(gf_draw_t* draw) { glFlush(); }
Drawing interface.
Drawing driver.
Platform-dependent part of drawing driver.
@@ -280,8 +262,8 @@ $(document).ready(function(){initNavTree('gf__driver_8c_source.html',''); initRe
OpenGL headers.
Required headers before anything.
Texture.
-
Drawing driver.
Definition draw_driver.h:39
-
Driver-dependent texture.
Definition draw_driver.h:47
+
Drawing driver.
Definition draw_driver.h:48
+
Driver-dependent texture.
Definition draw_driver.h:56
Drawing interface.
Definition draw.h:101
gf_math_vector_t light
Light location.
Definition draw.h:101
int width
Width of window.
Definition draw.h:101
diff --git a/engine/gf__graphic_8c_source.html b/engine/opengl_2gf__graphic_8c_source.html similarity index 89% rename from engine/gf__graphic_8c_source.html rename to engine/opengl_2gf__graphic_8c_source.html index a10b6e2..e59337b 100644 --- a/engine/gf__graphic_8c_source.html +++ b/engine/opengl_2gf__graphic_8c_source.html @@ -70,7 +70,7 @@ $(document).ready(function() { init_codefold(0); });
@@ -120,8 +120,7 @@ $(document).ready(function(){initNavTree('gf__graphic_8c_source.html',''); initR
19#include <stdarg.h>
20#include <stdio.h>
21
-
-
22void gf_graphic_begin_2d(gf_draw_t* draw) {
+
22void gf_graphic_begin_2d(gf_draw_t* draw) {
23 glDisable(GL_LIGHTING);
24 glDisable(GL_DEPTH_TEST);
25 glMatrixMode(GL_PROJECTION);
@@ -132,10 +131,8 @@ $(document).ready(function(){initNavTree('gf__graphic_8c_source.html',''); initR
30 glPushMatrix();
31 glLoadIdentity();
32}
-
33
-
-
34void gf_graphic_end_2d(gf_draw_t* draw) {
+
34void gf_graphic_end_2d(gf_draw_t* draw) {
35 glMatrixMode(GL_MODELVIEW);
36 glPopMatrix();
37 glMatrixMode(GL_PROJECTION);
@@ -144,14 +141,12 @@ $(document).ready(function(){initNavTree('gf__graphic_8c_source.html',''); initR
40 glEnable(GL_DEPTH_TEST);
41 glEnable(GL_LIGHTING);
42}
-
43
-
44void gf_graphic_clear(gf_draw_t* draw) { glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT); }
+
44void gf_graphic_clear(gf_draw_t* draw) { glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT); }
45
-
-
46void gf_graphic_draw_texture_polygon(gf_draw_t* draw, gf_texture_t* texture, gf_graphic_color_t color, int dim, int npair, ...) {
+
46void gf_graphic_draw_texture_polygon(gf_draw_t* draw, gf_texture_t* texture, gf_graphic_color_t color, int dim, int npair, ...) {
47 double tw = (double)texture->width / texture->internal_width;
-
48 double th = (double)texture->height / texture->internal_height;
+
48 double th = (double)texture->height / texture->internal_height;
49 int i;
50 va_list va;
51 va_start(va, npair);
@@ -183,10 +178,8 @@ $(document).ready(function(){initNavTree('gf__graphic_8c_source.html',''); initR
77
78 va_end(va);
79}
-
80
-
-
81void gf_graphic_fill_polygon(gf_draw_t* draw, gf_graphic_color_t color, int dim, int npair, ...) {
+
81void gf_graphic_fill_polygon(gf_draw_t* draw, gf_graphic_color_t color, int dim, int npair, ...) {
82 int i;
83 va_list va;
84 va_start(va, npair);
@@ -212,10 +205,8 @@ $(document).ready(function(){initNavTree('gf__graphic_8c_source.html',''); initR
104
105 va_end(va);
106}
-
107
-
-
108void gf_graphic_perspective(gf_draw_t* draw, double fovy, double znear, double zfar) {
+
108void gf_graphic_perspective(gf_draw_t* draw, double fovy, double znear, double zfar) {
109 double aspect = (double)draw->width / (double)draw->height;
110 double f = gf_math_cot(fovy / 180 * GF_MATH_PI / 2);
111 GLdouble matrix[16];
@@ -231,10 +222,8 @@ $(document).ready(function(){initNavTree('gf__graphic_8c_source.html',''); initR
121 glLoadIdentity();
122 glLoadMatrixd(matrix);
123}
-
124
-
-
125GF_EXPORT void gf_graphic_set_camera(gf_draw_t* draw) {
+
125GF_EXPORT void gf_graphic_set_camera(gf_draw_t* draw) {
126 GLdouble matrix[16];
@@ -273,7 +262,6 @@ $(document).ready(function(){initNavTree('gf__graphic_8c_source.html',''); initR
161 glLoadMatrixd(matrix);
162 glTranslated(-draw->camera[0], -draw->camera[1], -draw->camera[2]);
163}
-
Drawing interface.
Drawing driver.
Graphic interface.
@@ -294,8 +282,6 @@ $(document).ready(function(){initNavTree('gf__graphic_8c_source.html',''); initR
Color.
Definition graphic.h:42
Texture.
Definition texture.h:47
int internal_width
Internal width of texture.
Definition texture.h:47
-
int internal_height
Internal height of texture.
Definition texture.h:47
-
int height
Height of texture.
Definition texture.h:47
int width
Width of texture.
Definition texture.h:47
diff --git a/engine/glfw_2gf__draw_8c_source.html b/engine/opengl_2glfw_2gf__draw_8c_source.html similarity index 91% rename from engine/glfw_2gf__draw_8c_source.html rename to engine/opengl_2glfw_2gf__draw_8c_source.html index 5ca36e2..e299baa 100644 --- a/engine/glfw_2gf__draw_8c_source.html +++ b/engine/opengl_2glfw_2gf__draw_8c_source.html @@ -70,7 +70,7 @@ $(document).ready(function() { init_codefold(0); });
@@ -119,17 +119,15 @@ $(document).ready(function(){initNavTree('glfw_2gf__draw_8c_source.html',''); in
18#include <string.h>
19#include <stdlib.h>
20
-
-
21void gf_draw_platform_begin(void) {
+
21void gf_draw_platform_begin(void) {
22 glfwInit();
23 glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 1);
24 glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 1);
25 glfwWindowHint(GLFW_DOUBLEBUFFER, GLFW_TRUE);
26 glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_ANY_PROFILE);
27}
-
28
-
29void gf_draw_platform_end(void) {}
+
29void gf_draw_platform_end(void) {}
30
31void gf_glfw_size(GLFWwindow* window, int w, int h) {
32 gf_draw_t* draw = (gf_draw_t*)glfwGetWindowUserPointer(window);
@@ -139,8 +137,7 @@ $(document).ready(function(){initNavTree('glfw_2gf__draw_8c_source.html',''); in
36 gf_draw_reshape(draw);
37}
38
-
-
39int gf_draw_platform_has_extension(gf_draw_t* draw, const char* query) {
+
39int gf_draw_platform_has_extension(gf_draw_t* draw, const char* query) {
40 const char* ext = NULL;
41 const char* ptr;
42 const int len = strlen(query);
@@ -149,10 +146,8 @@ $(document).ready(function(){initNavTree('glfw_2gf__draw_8c_source.html',''); in
45
46 return glfwExtensionSupported(query);
47}
-
48
-
-
49int gf_draw_platform_step(gf_draw_t* draw) {
+
49int gf_draw_platform_step(gf_draw_t* draw) {
50 int ret = 0;
51 int w, h;
52 glfwMakeContextCurrent(draw->platform->window);
@@ -168,10 +163,8 @@ $(document).ready(function(){initNavTree('glfw_2gf__draw_8c_source.html',''); in
62 }
63 return ret;
64}
-
65
-
-
66gf_draw_platform_t* gf_draw_platform_create(gf_engine_t* engine, gf_draw_t* draw) {
+
66gf_draw_platform_t* gf_draw_platform_create(gf_engine_t* engine, gf_draw_t* draw) {
67 gf_draw_platform_t* platform = malloc(sizeof(*platform));
68 memset(platform, 0, sizeof(*platform));
69 platform->engine = engine;
@@ -192,17 +185,14 @@ $(document).ready(function(){initNavTree('glfw_2gf__draw_8c_source.html',''); in
84#endif
85 return platform;
86}
-
87
-
-
88void gf_draw_platform_destroy(gf_draw_platform_t* platform) {
+
88void gf_draw_platform_destroy(gf_draw_platform_t* platform) {
89 if(platform->window != NULL) {
90 glfwDestroyWindow(platform->window);
91 }
92 gf_log_function(platform->engine, "Destroyed platform-dependent part of drawing driver", "");
93 free(platform);
94}
-
Drawing interface.
Drawing driver.
Platform-dependent part of drawing driver.
@@ -210,7 +200,7 @@ $(document).ready(function(){initNavTree('glfw_2gf__draw_8c_source.html',''); in
#define gf_log_function(engine, fmt,...)
Output log with line number and function name.
Definition gf_log.h:26
OpenGL headers.
Required headers before anything.
-
Platform-dependent part of drawing driver.
+
Platform-dependent part of drawing driver.
Drawing interface.
Definition draw.h:101
char title[128]
Window title.
Definition draw.h:101
int close
1 if it was requested to be closed, otherwise 0
Definition draw.h:101
diff --git a/engine/glx_2gf__draw_8c_source.html b/engine/opengl_2glx_2gf__draw_8c_source.html similarity index 99% rename from engine/glx_2gf__draw_8c_source.html rename to engine/opengl_2glx_2gf__draw_8c_source.html index 9b2e639..7c5976a 100644 --- a/engine/glx_2gf__draw_8c_source.html +++ b/engine/opengl_2glx_2gf__draw_8c_source.html @@ -70,7 +70,7 @@ $(document).ready(function() { init_codefold(0); });
@@ -302,7 +302,7 @@ $(document).ready(function(){initNavTree('glx_2gf__draw_8c_source.html',''); ini
#define gf_log_function(engine, fmt,...)
Output log with line number and function name.
Definition gf_log.h:26
OpenGL headers.
Required headers before anything.
-
Platform-dependent part of drawing driver.
+
Platform-dependent part of drawing driver.
Drawing interface.
Definition draw.h:101
int y
Y coord of window.
Definition draw.h:101
char title[128]
Window title.
Definition draw.h:101
diff --git a/engine/wgl_2gf__draw_8c_source.html b/engine/opengl_2wgl_2gf__draw_8c_source.html similarity index 99% rename from engine/wgl_2gf__draw_8c_source.html rename to engine/opengl_2wgl_2gf__draw_8c_source.html index e847d7c..abf1454 100644 --- a/engine/wgl_2gf__draw_8c_source.html +++ b/engine/opengl_2wgl_2gf__draw_8c_source.html @@ -70,7 +70,7 @@ $(document).ready(function() { init_codefold(0); });
@@ -311,7 +311,7 @@ $(document).ready(function(){initNavTree('wgl_2gf__draw_8c_source.html',''); ini
#define gf_log_function(engine, fmt,...)
Output log with line number and function name.
Definition gf_log.h:26
OpenGL headers.
Required headers before anything.
-
Platform-dependent part of drawing driver.
+
Platform-dependent part of drawing driver.
Drawing interface.
Definition draw.h:101
int y
Y coord of window.
Definition draw.h:101
char title[128]
Window title.
Definition draw.h:101
diff --git a/engine/search/all_7.js b/engine/search/all_7.js index 46d5305..1418a11 100644 --- a/engine/search/all_7.js +++ b/engine/search/all_7.js @@ -10,150 +10,151 @@ var searchData= ['gf_5fclient_5ft_7',['gf_client_t',['../structgf__client__t.html',1,'']]], ['gf_5fcore_2eh_8',['gf_core.h',['../gf__core_8h.html',1,'']]], ['gf_5fdeclare_5ftype_9',['GF_DECLARE_TYPE',['../gf__macro_8h.html#a018031ff5fba22b9d5052a55f8c9a377',1,'gf_macro.h']]], - ['gf_5fdraw_2eh_10',['gf_draw.h',['../gf__draw_8h.html',1,'']]], - ['gf_5fdraw_5fbegin_11',['gf_draw_begin',['../gf__draw_8h.html#a4575368fee8a93966d657874a0906aaf',1,'gf_draw_common.c']]], - ['gf_5fdraw_5fcreate_12',['gf_draw_create',['../gf__draw_8h.html#af65b9048f8e8b33c560f374a945d1dec',1,'gf_draw_common.c']]], - ['gf_5fdraw_5fdestroy_13',['gf_draw_destroy',['../gf__draw_8h.html#aa7c19917300ff10b22de455323f01d83',1,'gf_draw_common.c']]], - ['gf_5fdraw_5fdriver_2eh_14',['gf_draw_driver.h',['../gf__draw__driver_8h.html',1,'']]], - ['gf_5fdraw_5fdriver_5fafter_15',['gf_draw_driver_after',['../gf__draw__driver_8h.html#a646a68acd6e610379fc6ef5511e8c5d9',1,'gf_driver.c']]], - ['gf_5fdraw_5fdriver_5fbefore_16',['gf_draw_driver_before',['../gf__draw__driver_8h.html#a5d2d7820e9dabe9f558d3f5a45b0ea60',1,'gf_driver.c']]], - ['gf_5fdraw_5fdriver_5fbegin_5ftexture_5f2d_17',['gf_draw_driver_begin_texture_2d',['../gf__draw__driver_8h.html#ac53faf99d73b8279f7a020a7c08d7121',1,'gf_driver.c']]], - ['gf_5fdraw_5fdriver_5fcreate_18',['gf_draw_driver_create',['../gf__draw__driver_8h.html#aebc8d113d5682c2f1090e6f04d0857e4',1,'gf_driver.c']]], - ['gf_5fdraw_5fdriver_5fdestroy_19',['gf_draw_driver_destroy',['../gf__draw__driver_8h.html#af8f5a8642f6e54ece2ab4b6389877b56',1,'gf_driver.c']]], - ['gf_5fdraw_5fdriver_5fdestroy_5ftexture_20',['gf_draw_driver_destroy_texture',['../gf__draw__driver_8h.html#aa43ec41907a9e23dd236332f9d624dac',1,'gf_driver.c']]], - ['gf_5fdraw_5fdriver_5fend_5ftexture_5f2d_21',['gf_draw_driver_end_texture_2d',['../gf__draw__driver_8h.html#a43e4c5ac09e1092f2236af7bc3974431',1,'gf_driver.c']]], - ['gf_5fdraw_5fdriver_5fhas_5fextension_22',['gf_draw_driver_has_extension',['../gf__draw__driver_8h.html#a9ba4f91da9872bfc447a124cc4cf7d2a',1,'gf_driver.c']]], - ['gf_5fdraw_5fdriver_5fregister_5ftexture_23',['gf_draw_driver_register_texture',['../gf__draw__driver_8h.html#a034ba7f18e4d2c0395d4116182c47785',1,'gf_driver.c']]], - ['gf_5fdraw_5fdriver_5freshape_24',['gf_draw_driver_reshape',['../gf__draw__driver_8h.html#af0a260e2df4036c09bebe329c821fc19',1,'gf_driver.c']]], - ['gf_5fdraw_5fdriver_5fset_5fcolor_25',['gf_draw_driver_set_color',['../gf__draw__driver_8h.html#a2740a2bb536d05c08ca019e66be4b6c6',1,'gf_driver.c']]], - ['gf_5fdraw_5fdriver_5ft_26',['gf_draw_driver_t',['../structgf__draw__driver__t.html',1,'']]], - ['gf_5fdraw_5fdriver_5ftexture_5ft_27',['gf_draw_driver_texture_t',['../structgf__draw__driver__texture__t.html',1,'']]], - ['gf_5fdraw_5fend_28',['gf_draw_end',['../gf__draw_8h.html#a11d157bf565b4010f1350dd5329fa4a4',1,'gf_draw_common.c']]], - ['gf_5fdraw_5fframe_29',['gf_draw_frame',['../gf__draw_8h.html#a4887fe11d8dfe55cf784e07b382b046a',1,'gf_draw_common.c']]], - ['gf_5fdraw_5fplatform_2eh_30',['gf_draw_platform.h',['../gf__draw__platform_8h.html',1,'']]], - ['gf_5fdraw_5fplatform_5fbegin_31',['gf_draw_platform_begin',['../gf__draw__platform_8h.html#aa3106f20d1a654acf65f5e4ddb7a0fdd',1,'gf_draw.c']]], - ['gf_5fdraw_5fplatform_5fcreate_32',['gf_draw_platform_create',['../gf__draw__platform_8h.html#ae0d81adf1fa83413f5052dab1fc4793f',1,'gf_draw.c']]], - ['gf_5fdraw_5fplatform_5fdestroy_33',['gf_draw_platform_destroy',['../gf__draw__platform_8h.html#a24822bbf6cda6c2cbe336d70116dfb25',1,'gf_draw.c']]], - ['gf_5fdraw_5fplatform_5fend_34',['gf_draw_platform_end',['../gf__draw__platform_8h.html#ad6f83af1b5dec4457aea20dcab88c94f',1,'gf_draw.c']]], - ['gf_5fdraw_5fplatform_5fhas_5fextension_35',['gf_draw_platform_has_extension',['../gf__draw__platform_8h.html#a368f0172138b75a37072d1ed357b1183',1,'gf_draw.c']]], - ['gf_5fdraw_5fplatform_5fstep_36',['gf_draw_platform_step',['../gf__draw__platform_8h.html#af006e1dd0055cd824dd61122454d6192',1,'gf_draw.c']]], - ['gf_5fdraw_5fplatform_5ft_37',['gf_draw_platform_t',['../structgf__draw__platform__t.html',1,'']]], - ['gf_5fdraw_5freshape_38',['gf_draw_reshape',['../gf__draw_8h.html#af1d6ba858a1cee357f8626501540e8bf',1,'gf_draw_common.c']]], - ['gf_5fdraw_5fstep_39',['gf_draw_step',['../gf__draw_8h.html#a47934a1eafd8426cc145a97e36867551',1,'gf_draw_common.c']]], - ['gf_5fdraw_5ft_40',['gf_draw_t',['../structgf__draw__t.html',1,'']]], - ['gf_5fengine_5fbegin_41',['gf_engine_begin',['../gf__core_8h.html#ade0f3fb928e49b05985f095e95fb1f92',1,'gf_core.c']]], - ['gf_5fengine_5fcreate_42',['gf_engine_create',['../gf__core_8h.html#a741291298ef02f3dceb1fdeaee2e27b4',1,'gf_core.c']]], - ['gf_5fengine_5fdestroy_43',['gf_engine_destroy',['../gf__core_8h.html#a978d9c52b1d1098b5fc2f3e869036b64',1,'gf_core.c']]], - ['gf_5fengine_5fend_44',['gf_engine_end',['../gf__core_8h.html#abae48921e84f92d590608745536a9ffc',1,'gf_core.c']]], - ['gf_5fengine_5floop_45',['gf_engine_loop',['../gf__core_8h.html#aa9a229aa7c06d1a02ae89f93b8029fea',1,'gf_core.c']]], - ['gf_5fengine_5ft_46',['gf_engine_t',['../structgf__engine__t.html',1,'']]], - ['gf_5fexport_47',['GF_EXPORT',['../gf__macro_8h.html#a64ddd31b0795e397b5d944e6f1821357',1,'gf_macro.h']]], - ['gf_5fexpose_5fclient_48',['GF_EXPOSE_CLIENT',['../gf__macro_8h.html#a13d820c4f195f0f38ce7d791a9a4ddeb',1,'gf_macro.h']]], - ['gf_5fexpose_5fcore_49',['GF_EXPOSE_CORE',['../gf__macro_8h.html#a697eb08d834a4889d84940e79575779d',1,'gf_macro.h']]], - ['gf_5fexpose_5fdraw_50',['GF_EXPOSE_DRAW',['../gf__macro_8h.html#a438e60b3ef2df2ad0a220523e95d6dca',1,'gf_macro.h']]], - ['gf_5fexpose_5fdraw_5fdriver_51',['GF_EXPOSE_DRAW_DRIVER',['../gf__macro_8h.html#a25f301eb3d5e8c3bfb8187876fa36efa',1,'gf_macro.h']]], - ['gf_5fexpose_5fdraw_5fplatform_52',['GF_EXPOSE_DRAW_PLATFORM',['../gf__macro_8h.html#a5a117ced8c73165c3cc6144a49bf5af0',1,'gf_macro.h']]], - ['gf_5fexpose_5ffont_53',['GF_EXPOSE_FONT',['../gf__macro_8h.html#a44fcf2830dd68160e7745e6c93a0fc15',1,'gf_macro.h']]], - ['gf_5fexpose_5fgraphic_54',['GF_EXPOSE_GRAPHIC',['../gf__macro_8h.html#a9c8f57368c8d0b9a005e88951bb6b999',1,'gf_macro.h']]], - ['gf_5fexpose_5fgui_55',['GF_EXPOSE_GUI',['../gf__macro_8h.html#a4a8b5bd4a3f26e4e775db703d383e315',1,'gf_macro.h']]], - ['gf_5fexpose_5fmath_56',['GF_EXPOSE_MATH',['../gf__macro_8h.html#a0741ff0ae6d4298a707cb24a2b88d13e',1,'gf_macro.h']]], - ['gf_5fexpose_5fmesh_57',['GF_EXPOSE_MESH',['../gf__macro_8h.html#ac44de892fe92937b0c6bf471ed7c39d3',1,'gf_macro.h']]], - ['gf_5fexpose_5fmodel_58',['GF_EXPOSE_MODEL',['../gf__macro_8h.html#a162dc93ccefb746c38c3874a79b42eca',1,'gf_macro.h']]], - ['gf_5fexpose_5fphysics_59',['GF_EXPOSE_PHYSICS',['../gf__macro_8h.html#aeb8d09c8509f1bbb5c2647be76806117',1,'gf_macro.h']]], - ['gf_5fexpose_5fserver_60',['GF_EXPOSE_SERVER',['../gf__macro_8h.html#a7bbb6e42ee5fdf2e1dbbb4678e46973a',1,'gf_macro.h']]], - ['gf_5fexpose_5ftexture_61',['GF_EXPOSE_TEXTURE',['../gf__macro_8h.html#a1b10588ebedb9c8ea44c1e4d2dd11086',1,'gf_macro.h']]], - ['gf_5fexpose_5fthread_62',['GF_EXPOSE_THREAD',['../gf__macro_8h.html#aeddf0443a9813483ca6bfc05190915e0',1,'gf_macro.h']]], - ['gf_5fexpose_5fversion_63',['GF_EXPOSE_VERSION',['../gf__macro_8h.html#a522da62928e59f2d7e01a128eb2441f2',1,'gf_macro.h']]], - ['gf_5ffont_2eh_64',['gf_font.h',['../gf__font_8h.html',1,'']]], - ['gf_5ffont_5fbbox_5ft_65',['gf_font_bbox_t',['../structgf__font__bbox__t.html',1,'']]], - ['gf_5ffont_5fcreate_66',['gf_font_create',['../gf__font_8h.html#a0d171fe12d2ac1d3acc18476436608a1',1,'gf_font.c']]], - ['gf_5ffont_5fget_67',['gf_font_get',['../gf__font_8h.html#adc4a1d10e49218c6383f5af6c4752fa1',1,'gf_font.c']]], - ['gf_5ffont_5fglyph_5ft_68',['gf_font_glyph_t',['../structgf__font__glyph__t.html',1,'']]], - ['gf_5ffont_5fstore_5ft_69',['gf_font_store_t',['../structgf__font__store__t.html',1,'']]], - ['gf_5ffont_5ft_70',['gf_font_t',['../structgf__font__t.html',1,'']]], - ['gf_5fgraphic_2eh_71',['gf_graphic.h',['../gf__graphic_8h.html',1,'']]], - ['gf_5fgraphic_5f2d_72',['GF_GRAPHIC_2D',['../gf__graphic_8h.html#ab0a76f61b9510881b842dbba4b0b54c0',1,'gf_graphic.h']]], - ['gf_5fgraphic_5f3d_73',['GF_GRAPHIC_3D',['../gf__graphic_8h.html#a0b9f704231aa067e58c6a8e7a42afdcf',1,'gf_graphic.h']]], - ['gf_5fgraphic_5fbegin_5f2d_74',['gf_graphic_begin_2d',['../gf__graphic_8h.html#ad35db673e213edbadbfd938138c88a4c',1,'gf_graphic.c']]], - ['gf_5fgraphic_5fclear_75',['gf_graphic_clear',['../gf__graphic_8h.html#a74f8bf7e2fc346f7d85ecfcea061f3fb',1,'gf_graphic.c']]], - ['gf_5fgraphic_5fcolor_5ft_76',['gf_graphic_color_t',['../structgf__graphic__color__t.html',1,'']]], - ['gf_5fgraphic_5fdraw_5ftexture_5f2d_77',['gf_graphic_draw_texture_2d',['../gf__graphic_8h.html#a3285370a495233cc7db4f25317cd5fb0',1,'gf_graphic_common.c']]], - ['gf_5fgraphic_5fdraw_5ftexture_5fpolygon_78',['gf_graphic_draw_texture_polygon',['../gf__graphic_8h.html#a4157822cc342fa294329ed2c436d53f2',1,'gf_graphic.c']]], - ['gf_5fgraphic_5fend_5f2d_79',['gf_graphic_end_2d',['../gf__graphic_8h.html#acd5d3047cf76b63b2d1161e4e880f446',1,'gf_graphic.c']]], - ['gf_5fgraphic_5ffill_5fpolygon_80',['gf_graphic_fill_polygon',['../gf__graphic_8h.html#a8ff780a4bcadc008355699101d2a42cc',1,'gf_graphic.c']]], - ['gf_5fgraphic_5ffill_5frect_81',['gf_graphic_fill_rect',['../gf__graphic_8h.html#a4811198de205914602e5cdbafdcdd68d',1,'gf_graphic_common.c']]], - ['gf_5fgraphic_5fperspective_82',['gf_graphic_perspective',['../gf__graphic_8h.html#a95e7c86d8e9b64501af7de7268f6d74d',1,'gf_graphic.c']]], - ['gf_5fgraphic_5fset_5fcamera_83',['gf_graphic_set_camera',['../gf__graphic_8h.html#af8285b506b90125960bf01b427a9a883',1,'gf_graphic.c']]], - ['gf_5fgraphic_5ftext_84',['gf_graphic_text',['../gf__graphic_8h.html#a9840372651011386f6851954e95e7943',1,'gf_graphic_common.c']]], - ['gf_5fgraphic_5ftext_5fwidth_85',['gf_graphic_text_width',['../gf__graphic_8h.html#a996f203bc791922f639ad2e02b5299c1',1,'gf_graphic_common.c']]], - ['gf_5fgui_2eh_86',['gf_gui.h',['../gf__gui_8h.html',1,'']]], - ['gf_5fgui_5fbutton_5ft_87',['gf_gui_button_t',['../structgf__gui__button__t.html',1,'']]], - ['gf_5fgui_5fcomponent_5ft_88',['gf_gui_component_t',['../structgf__gui__component__t.html',1,'']]], - ['gf_5fgui_5fcomponent_5ftypes_89',['GF_GUI_COMPONENT_TYPES',['../gui_8h.html#a29f22c7359d8c3b586f0d4eb82213d03',1,'gui.h']]], - ['gf_5fgui_5fcreate_90',['gf_gui_create',['../gf__gui_8h.html#a929e99bf9dd58e4abc0c9f2a6b1341a1',1,'gf_gui.c']]], - ['gf_5fgui_5fcreate_5fbutton_91',['gf_gui_create_button',['../gf__gui_8h.html#a9bfb5fc1e4dff3c3f0e4748d5b8c3c2e',1,'gf_gui.c']]], - ['gf_5fgui_5fdraw_5fbox_92',['gf_gui_draw_box',['../gf__gui_8h.html#a670ac29a4409cc16c8d77f2d33ccc499',1,'gf_gui.c']]], - ['gf_5fgui_5ffirst_5funused_93',['gf_gui_first_unused',['../gf__gui_8h.html#a39fc0e9d0e6ebaf3d60e1275008124b5',1,'gf_gui.c']]], - ['gf_5fgui_5ffont_5fsize_94',['GF_GUI_FONT_SIZE',['../gf__gui_8h.html#a59c22dec721b5a703d29e0b0d9fc3522',1,'gf_gui.h']]], - ['gf_5fgui_5fid_5ft_95',['gf_gui_id_t',['../gui_8h.html#a17ba559c53b849a8391b8f48d91b4f11',1,'gui.h']]], - ['gf_5fgui_5finvert_96',['GF_GUI_INVERT',['../gf__gui_8h.html#a01d6d034ff93d118bcbabf86f33735c5',1,'gf_gui.h']]], - ['gf_5fgui_5fmax_5fcomponents_97',['GF_GUI_MAX_COMPONENTS',['../gui_8h.html#a33770d9046d53ad607fcc938f1619eb8',1,'gui.h']]], - ['gf_5fgui_5fnormal_98',['GF_GUI_NORMAL',['../gf__gui_8h.html#ad122969dc187a91908fc312f185eaa46',1,'gf_gui.h']]], - ['gf_5fgui_5frender_99',['gf_gui_render',['../gf__gui_8h.html#a41f221ae3b2221553f49678f9434976c',1,'gf_gui.c']]], - ['gf_5fgui_5ft_100',['gf_gui_t',['../structgf__gui__t.html',1,'']]], - ['gf_5fgui_5funion_5ft_101',['gf_gui_union_t',['../uniongf__gui__union__t.html',1,'']]], - ['gf_5finput_2eh_102',['gf_input.h',['../gf__input_8h.html',1,'']]], - ['gf_5flog_103',['gf_log',['../gf__log_8h.html#aed92dc232c3ae9cabdff1eeea67dfa90',1,'gf_log.c']]], - ['gf_5flog_2eh_104',['gf_log.h',['../gf__log_8h.html',1,'']]], - ['gf_5flog_5ffunction_105',['gf_log_function',['../gf__log_8h.html#a165a2d1cecbdd974b4a44450011bb84a',1,'gf_log.h']]], - ['gf_5fmacro_2eh_106',['gf_macro.h',['../gf__macro_8h.html',1,'']]], - ['gf_5fmath_2eh_107',['gf_math.h',['../gf__math_8h.html',1,'']]], - ['gf_5fmath_5fcot_108',['gf_math_cot',['../gf__math_8h.html#aac8f6a22f2880f5b86b20a191a662333',1,'gf_math.c']]], - ['gf_5fmath_5flog2_109',['gf_math_log2',['../gf__math_8h.html#a018423cb05adf480f9c3f28f304d1c47',1,'gf_math.c']]], - ['gf_5fmath_5fmultiply_110',['gf_math_multiply',['../gf__math_8h.html#a394ebd35e2cddf28c86a45dad759fbee',1,'gf_math.c']]], - ['gf_5fmath_5fnearest_5f2pow_111',['gf_math_nearest_2pow',['../gf__math_8h.html#aefea2441e869786726095fcda71750dc',1,'gf_math.c']]], - ['gf_5fmath_5fnormal_112',['gf_math_normal',['../gf__math_8h.html#a5438b2f7f1324cdd664f2b823faa1ba6',1,'gf_math.c']]], - ['gf_5fmath_5fnormalize_113',['gf_math_normalize',['../gf__math_8h.html#a3bd2afc9ff0e67e60afef9fe82553726',1,'gf_math.c']]], - ['gf_5fmath_5fpi_114',['GF_MATH_PI',['../gf__math_8h.html#a8bf10c0638a206ac572807e90508b6b5',1,'gf_math.h']]], - ['gf_5fmath_5fsubtract_115',['gf_math_subtract',['../gf__math_8h.html#a9df6d1b30bea0b200582e2873bddd113',1,'gf_math.c']]], - ['gf_5fmath_5fvector_5fcopy_116',['GF_MATH_VECTOR_COPY',['../gf__math_8h.html#a545245d1e846e9c756e776eb6138536b',1,'gf_math.h']]], - ['gf_5fmath_5fvector_5ft_117',['gf_math_vector_t',['../math_8h.html#a866f43b3ea5386cb9497738f1eec3d88',1,'math.h']]], - ['gf_5fmesh_2eh_118',['gf_mesh.h',['../gf__mesh_8h.html',1,'']]], - ['gf_5fmesh_5ft_119',['gf_mesh_t',['../structgf__mesh__t.html',1,'']]], - ['gf_5fmodel_2eh_120',['gf_model.h',['../gf__model_8h.html',1,'']]], - ['gf_5fmodel_5ft_121',['gf_model_t',['../structgf__model__t.html',1,'']]], - ['gf_5fopengl_2eh_122',['gf_opengl.h',['../gf__opengl_8h.html',1,'']]], - ['gf_5fphysics_2eh_123',['gf_physics.h',['../gf__physics_8h.html',1,'']]], - ['gf_5fphysics_5fbegin_124',['gf_physics_begin',['../gf__physics_8h.html#a046ff3b6d3842c4cfd2c43ec576b09c6',1,'gf_physics.c']]], - ['gf_5fphysics_5fcreate_125',['gf_physics_create',['../gf__physics_8h.html#a7e225db0a916463d791036c4d8636993',1,'gf_physics.c']]], - ['gf_5fphysics_5fdestroy_126',['gf_physics_destroy',['../gf__physics_8h.html#ad9f65aa74657b4558c67f809c590fad3',1,'gf_physics.c']]], - ['gf_5fphysics_5fend_127',['gf_physics_end',['../gf__physics_8h.html#a5724da53e501775d4a0faad3c91f1a14',1,'gf_physics.c']]], - ['gf_5fphysics_5ft_128',['gf_physics_t',['../structgf__physics__t.html',1,'']]], - ['gf_5fpre_2eh_129',['gf_pre.h',['../gf__pre_8h.html',1,'']]], - ['gf_5fserver_2eh_130',['gf_server.h',['../gf__server_8h.html',1,'']]], - ['gf_5fserver_5fbegin_131',['gf_server_begin',['../gf__server_8h.html#a656e41de75a97731bffa1653fc2c8d4a',1,'gf_server.c']]], - ['gf_5fserver_5fcreate_132',['gf_server_create',['../gf__server_8h.html#a861aac514f048d33ce16e3209e125df5',1,'gf_server.c']]], - ['gf_5fserver_5fdestroy_133',['gf_server_destroy',['../gf__server_8h.html#afedff111b1691c5973e264ce4f6a3787',1,'gf_server.c']]], - ['gf_5fserver_5fend_134',['gf_server_end',['../gf__server_8h.html#a9f44e37cb5becfe321b352f8801fe22e',1,'gf_server.c']]], - ['gf_5fserver_5ft_135',['gf_server_t',['../structgf__server__t.html',1,'']]], - ['gf_5fset_5fcolor_136',['GF_SET_COLOR',['../gf__graphic_8h.html#a30c57cf06829cfb3f68556e73a86b203',1,'gf_graphic.h']]], - ['gf_5ftexture_2eh_137',['gf_texture.h',['../gf__texture_8h.html',1,'']]], - ['gf_5ftexture_5fcreate_138',['gf_texture_create',['../gf__texture_8h.html#a6cd0c41bfc9dbe140bb52f39aaa14080',1,'gf_texture.c']]], - ['gf_5ftexture_5fdestroy_139',['gf_texture_destroy',['../gf__texture_8h.html#a3bfedc6c576e35173d3a7b1b9565e649',1,'gf_texture.c']]], - ['gf_5ftexture_5ft_140',['gf_texture_t',['../structgf__texture__t.html',1,'']]], - ['gf_5fthread_2eh_141',['gf_thread.h',['../gf__thread_8h.html',1,'']]], - ['gf_5fthread_5fcontext_5ft_142',['gf_thread_context_t',['../structgf__thread__context__t.html',1,'']]], - ['gf_5fthread_5fcreate_143',['gf_thread_create',['../gf__thread_8h.html#ad2a42aa3c8b51ec7e22625e8932906a4',1,'gf_thread.c']]], - ['gf_5fthread_5fdestroy_144',['gf_thread_destroy',['../gf__thread_8h.html#ae75b99ee6c28e149e333512f46e8656a',1,'gf_thread.c']]], - ['gf_5fthread_5fjoin_145',['gf_thread_join',['../gf__thread_8h.html#a168bd57321daded0d1789442e5680dea',1,'gf_thread.c']]], - ['gf_5fthread_5ft_146',['gf_thread_t',['../structgf__thread__t.html',1,'']]], - ['gf_5ftriangle_5ft_147',['gf_triangle_t',['../structgf__triangle__t.html',1,'']]], - ['gf_5fversion_2eh_148',['gf_version.h',['../gf__version_8h.html',1,'']]], - ['gf_5fversion_5fget_149',['gf_version_get',['../gf__version_8h.html#a6bbaecc50f6c677871dcf74d7d7dbc4a',1,'gf_version.c']]], - ['gf_5fversion_5ft_150',['gf_version_t',['../structgf__version__t.html',1,'']]], - ['glyph_151',['glyph',['../structgf__font__t.html#a1264a95b11cec574d66cda5f57de1808',1,'gf_font_t']]], - ['goldfish_20engine_152',['GoldFish Engine',['../index.html',1,'']]], - ['graphic_2eh_153',['graphic.h',['../graphic_8h.html',1,'']]], - ['gui_154',['gui',['../structgf__draw__t.html#a5db50986159b8a2b1736aa315a5d8063',1,'gf_draw_t']]], - ['gui_2eh_155',['gui.h',['../gui_8h.html',1,'']]] + ['gf_5fdirectx_2eh_10',['gf_directx.h',['../gf__directx_8h.html',1,'']]], + ['gf_5fdraw_2eh_11',['gf_draw.h',['../gf__draw_8h.html',1,'']]], + ['gf_5fdraw_5fbegin_12',['gf_draw_begin',['../gf__draw_8h.html#a4575368fee8a93966d657874a0906aaf',1,'gf_draw_common.c']]], + ['gf_5fdraw_5fcreate_13',['gf_draw_create',['../gf__draw_8h.html#af65b9048f8e8b33c560f374a945d1dec',1,'gf_draw_common.c']]], + ['gf_5fdraw_5fdestroy_14',['gf_draw_destroy',['../gf__draw_8h.html#aa7c19917300ff10b22de455323f01d83',1,'gf_draw_common.c']]], + ['gf_5fdraw_5fdriver_2eh_15',['gf_draw_driver.h',['../gf__draw__driver_8h.html',1,'']]], + ['gf_5fdraw_5fdriver_5fafter_16',['gf_draw_driver_after',['../gf__draw__driver_8h.html#a646a68acd6e610379fc6ef5511e8c5d9',1,'gf_driver.c']]], + ['gf_5fdraw_5fdriver_5fbefore_17',['gf_draw_driver_before',['../gf__draw__driver_8h.html#a5d2d7820e9dabe9f558d3f5a45b0ea60',1,'gf_driver.c']]], + ['gf_5fdraw_5fdriver_5fbegin_5ftexture_5f2d_18',['gf_draw_driver_begin_texture_2d',['../gf__draw__driver_8h.html#ac53faf99d73b8279f7a020a7c08d7121',1,'gf_driver.c']]], + ['gf_5fdraw_5fdriver_5fcreate_19',['gf_draw_driver_create',['../gf__draw__driver_8h.html#aebc8d113d5682c2f1090e6f04d0857e4',1,'gf_driver.c']]], + ['gf_5fdraw_5fdriver_5fdestroy_20',['gf_draw_driver_destroy',['../gf__draw__driver_8h.html#af8f5a8642f6e54ece2ab4b6389877b56',1,'gf_driver.c']]], + ['gf_5fdraw_5fdriver_5fdestroy_5ftexture_21',['gf_draw_driver_destroy_texture',['../gf__draw__driver_8h.html#aa43ec41907a9e23dd236332f9d624dac',1,'gf_driver.c']]], + ['gf_5fdraw_5fdriver_5fend_5ftexture_5f2d_22',['gf_draw_driver_end_texture_2d',['../gf__draw__driver_8h.html#a43e4c5ac09e1092f2236af7bc3974431',1,'gf_driver.c']]], + ['gf_5fdraw_5fdriver_5fhas_5fextension_23',['gf_draw_driver_has_extension',['../gf__draw__driver_8h.html#a9ba4f91da9872bfc447a124cc4cf7d2a',1,'gf_driver.c']]], + ['gf_5fdraw_5fdriver_5fregister_5ftexture_24',['gf_draw_driver_register_texture',['../gf__draw__driver_8h.html#a034ba7f18e4d2c0395d4116182c47785',1,'gf_driver.c']]], + ['gf_5fdraw_5fdriver_5freshape_25',['gf_draw_driver_reshape',['../gf__draw__driver_8h.html#af0a260e2df4036c09bebe329c821fc19',1,'gf_driver.c']]], + ['gf_5fdraw_5fdriver_5fset_5fcolor_26',['gf_draw_driver_set_color',['../gf__draw__driver_8h.html#a2740a2bb536d05c08ca019e66be4b6c6',1,'gf_driver.c']]], + ['gf_5fdraw_5fdriver_5ft_27',['gf_draw_driver_t',['../structgf__draw__driver__t.html',1,'']]], + ['gf_5fdraw_5fdriver_5ftexture_5ft_28',['gf_draw_driver_texture_t',['../structgf__draw__driver__texture__t.html',1,'']]], + ['gf_5fdraw_5fend_29',['gf_draw_end',['../gf__draw_8h.html#a11d157bf565b4010f1350dd5329fa4a4',1,'gf_draw_common.c']]], + ['gf_5fdraw_5fframe_30',['gf_draw_frame',['../gf__draw_8h.html#a4887fe11d8dfe55cf784e07b382b046a',1,'gf_draw_common.c']]], + ['gf_5fdraw_5fplatform_2eh_31',['gf_draw_platform.h',['../gf__draw__platform_8h.html',1,'']]], + ['gf_5fdraw_5fplatform_5fbegin_32',['gf_draw_platform_begin',['../gf__draw__platform_8h.html#aa3106f20d1a654acf65f5e4ddb7a0fdd',1,'gf_draw.c']]], + ['gf_5fdraw_5fplatform_5fcreate_33',['gf_draw_platform_create',['../gf__draw__platform_8h.html#ae0d81adf1fa83413f5052dab1fc4793f',1,'gf_draw.c']]], + ['gf_5fdraw_5fplatform_5fdestroy_34',['gf_draw_platform_destroy',['../gf__draw__platform_8h.html#a24822bbf6cda6c2cbe336d70116dfb25',1,'gf_draw.c']]], + ['gf_5fdraw_5fplatform_5fend_35',['gf_draw_platform_end',['../gf__draw__platform_8h.html#ad6f83af1b5dec4457aea20dcab88c94f',1,'gf_draw.c']]], + ['gf_5fdraw_5fplatform_5fhas_5fextension_36',['gf_draw_platform_has_extension',['../gf__draw__platform_8h.html#a368f0172138b75a37072d1ed357b1183',1,'gf_draw.c']]], + ['gf_5fdraw_5fplatform_5fstep_37',['gf_draw_platform_step',['../gf__draw__platform_8h.html#af006e1dd0055cd824dd61122454d6192',1,'gf_draw.c']]], + ['gf_5fdraw_5fplatform_5ft_38',['gf_draw_platform_t',['../structgf__draw__platform__t.html',1,'']]], + ['gf_5fdraw_5freshape_39',['gf_draw_reshape',['../gf__draw_8h.html#af1d6ba858a1cee357f8626501540e8bf',1,'gf_draw_common.c']]], + ['gf_5fdraw_5fstep_40',['gf_draw_step',['../gf__draw_8h.html#a47934a1eafd8426cc145a97e36867551',1,'gf_draw_common.c']]], + ['gf_5fdraw_5ft_41',['gf_draw_t',['../structgf__draw__t.html',1,'']]], + ['gf_5fengine_5fbegin_42',['gf_engine_begin',['../gf__core_8h.html#ade0f3fb928e49b05985f095e95fb1f92',1,'gf_core.c']]], + ['gf_5fengine_5fcreate_43',['gf_engine_create',['../gf__core_8h.html#a741291298ef02f3dceb1fdeaee2e27b4',1,'gf_core.c']]], + ['gf_5fengine_5fdestroy_44',['gf_engine_destroy',['../gf__core_8h.html#a978d9c52b1d1098b5fc2f3e869036b64',1,'gf_core.c']]], + ['gf_5fengine_5fend_45',['gf_engine_end',['../gf__core_8h.html#abae48921e84f92d590608745536a9ffc',1,'gf_core.c']]], + ['gf_5fengine_5floop_46',['gf_engine_loop',['../gf__core_8h.html#aa9a229aa7c06d1a02ae89f93b8029fea',1,'gf_core.c']]], + ['gf_5fengine_5ft_47',['gf_engine_t',['../structgf__engine__t.html',1,'']]], + ['gf_5fexport_48',['GF_EXPORT',['../gf__macro_8h.html#a64ddd31b0795e397b5d944e6f1821357',1,'gf_macro.h']]], + ['gf_5fexpose_5fclient_49',['GF_EXPOSE_CLIENT',['../gf__macro_8h.html#a13d820c4f195f0f38ce7d791a9a4ddeb',1,'gf_macro.h']]], + ['gf_5fexpose_5fcore_50',['GF_EXPOSE_CORE',['../gf__macro_8h.html#a697eb08d834a4889d84940e79575779d',1,'gf_macro.h']]], + ['gf_5fexpose_5fdraw_51',['GF_EXPOSE_DRAW',['../gf__macro_8h.html#a438e60b3ef2df2ad0a220523e95d6dca',1,'gf_macro.h']]], + ['gf_5fexpose_5fdraw_5fdriver_52',['GF_EXPOSE_DRAW_DRIVER',['../gf__macro_8h.html#a25f301eb3d5e8c3bfb8187876fa36efa',1,'gf_macro.h']]], + ['gf_5fexpose_5fdraw_5fplatform_53',['GF_EXPOSE_DRAW_PLATFORM',['../gf__macro_8h.html#a5a117ced8c73165c3cc6144a49bf5af0',1,'gf_macro.h']]], + ['gf_5fexpose_5ffont_54',['GF_EXPOSE_FONT',['../gf__macro_8h.html#a44fcf2830dd68160e7745e6c93a0fc15',1,'gf_macro.h']]], + ['gf_5fexpose_5fgraphic_55',['GF_EXPOSE_GRAPHIC',['../gf__macro_8h.html#a9c8f57368c8d0b9a005e88951bb6b999',1,'gf_macro.h']]], + ['gf_5fexpose_5fgui_56',['GF_EXPOSE_GUI',['../gf__macro_8h.html#a4a8b5bd4a3f26e4e775db703d383e315',1,'gf_macro.h']]], + ['gf_5fexpose_5fmath_57',['GF_EXPOSE_MATH',['../gf__macro_8h.html#a0741ff0ae6d4298a707cb24a2b88d13e',1,'gf_macro.h']]], + ['gf_5fexpose_5fmesh_58',['GF_EXPOSE_MESH',['../gf__macro_8h.html#ac44de892fe92937b0c6bf471ed7c39d3',1,'gf_macro.h']]], + ['gf_5fexpose_5fmodel_59',['GF_EXPOSE_MODEL',['../gf__macro_8h.html#a162dc93ccefb746c38c3874a79b42eca',1,'gf_macro.h']]], + ['gf_5fexpose_5fphysics_60',['GF_EXPOSE_PHYSICS',['../gf__macro_8h.html#aeb8d09c8509f1bbb5c2647be76806117',1,'gf_macro.h']]], + ['gf_5fexpose_5fserver_61',['GF_EXPOSE_SERVER',['../gf__macro_8h.html#a7bbb6e42ee5fdf2e1dbbb4678e46973a',1,'gf_macro.h']]], + ['gf_5fexpose_5ftexture_62',['GF_EXPOSE_TEXTURE',['../gf__macro_8h.html#a1b10588ebedb9c8ea44c1e4d2dd11086',1,'gf_macro.h']]], + ['gf_5fexpose_5fthread_63',['GF_EXPOSE_THREAD',['../gf__macro_8h.html#aeddf0443a9813483ca6bfc05190915e0',1,'gf_macro.h']]], + ['gf_5fexpose_5fversion_64',['GF_EXPOSE_VERSION',['../gf__macro_8h.html#a522da62928e59f2d7e01a128eb2441f2',1,'gf_macro.h']]], + ['gf_5ffont_2eh_65',['gf_font.h',['../gf__font_8h.html',1,'']]], + ['gf_5ffont_5fbbox_5ft_66',['gf_font_bbox_t',['../structgf__font__bbox__t.html',1,'']]], + ['gf_5ffont_5fcreate_67',['gf_font_create',['../gf__font_8h.html#a0d171fe12d2ac1d3acc18476436608a1',1,'gf_font.c']]], + ['gf_5ffont_5fget_68',['gf_font_get',['../gf__font_8h.html#adc4a1d10e49218c6383f5af6c4752fa1',1,'gf_font.c']]], + ['gf_5ffont_5fglyph_5ft_69',['gf_font_glyph_t',['../structgf__font__glyph__t.html',1,'']]], + ['gf_5ffont_5fstore_5ft_70',['gf_font_store_t',['../structgf__font__store__t.html',1,'']]], + ['gf_5ffont_5ft_71',['gf_font_t',['../structgf__font__t.html',1,'']]], + ['gf_5fgraphic_2eh_72',['gf_graphic.h',['../gf__graphic_8h.html',1,'']]], + ['gf_5fgraphic_5f2d_73',['GF_GRAPHIC_2D',['../gf__graphic_8h.html#ab0a76f61b9510881b842dbba4b0b54c0',1,'gf_graphic.h']]], + ['gf_5fgraphic_5f3d_74',['GF_GRAPHIC_3D',['../gf__graphic_8h.html#a0b9f704231aa067e58c6a8e7a42afdcf',1,'gf_graphic.h']]], + ['gf_5fgraphic_5fbegin_5f2d_75',['gf_graphic_begin_2d',['../gf__graphic_8h.html#ad35db673e213edbadbfd938138c88a4c',1,'gf_graphic.c']]], + ['gf_5fgraphic_5fclear_76',['gf_graphic_clear',['../gf__graphic_8h.html#a74f8bf7e2fc346f7d85ecfcea061f3fb',1,'gf_graphic.c']]], + ['gf_5fgraphic_5fcolor_5ft_77',['gf_graphic_color_t',['../structgf__graphic__color__t.html',1,'']]], + ['gf_5fgraphic_5fdraw_5ftexture_5f2d_78',['gf_graphic_draw_texture_2d',['../gf__graphic_8h.html#a3285370a495233cc7db4f25317cd5fb0',1,'gf_graphic_common.c']]], + ['gf_5fgraphic_5fdraw_5ftexture_5fpolygon_79',['gf_graphic_draw_texture_polygon',['../gf__graphic_8h.html#a4157822cc342fa294329ed2c436d53f2',1,'gf_graphic.c']]], + ['gf_5fgraphic_5fend_5f2d_80',['gf_graphic_end_2d',['../gf__graphic_8h.html#acd5d3047cf76b63b2d1161e4e880f446',1,'gf_graphic.c']]], + ['gf_5fgraphic_5ffill_5fpolygon_81',['gf_graphic_fill_polygon',['../gf__graphic_8h.html#a8ff780a4bcadc008355699101d2a42cc',1,'gf_graphic.c']]], + ['gf_5fgraphic_5ffill_5frect_82',['gf_graphic_fill_rect',['../gf__graphic_8h.html#a4811198de205914602e5cdbafdcdd68d',1,'gf_graphic_common.c']]], + ['gf_5fgraphic_5fperspective_83',['gf_graphic_perspective',['../gf__graphic_8h.html#a95e7c86d8e9b64501af7de7268f6d74d',1,'gf_graphic.c']]], + ['gf_5fgraphic_5fset_5fcamera_84',['gf_graphic_set_camera',['../gf__graphic_8h.html#af8285b506b90125960bf01b427a9a883',1,'gf_graphic.c']]], + ['gf_5fgraphic_5ftext_85',['gf_graphic_text',['../gf__graphic_8h.html#a9840372651011386f6851954e95e7943',1,'gf_graphic_common.c']]], + ['gf_5fgraphic_5ftext_5fwidth_86',['gf_graphic_text_width',['../gf__graphic_8h.html#a996f203bc791922f639ad2e02b5299c1',1,'gf_graphic_common.c']]], + ['gf_5fgui_2eh_87',['gf_gui.h',['../gf__gui_8h.html',1,'']]], + ['gf_5fgui_5fbutton_5ft_88',['gf_gui_button_t',['../structgf__gui__button__t.html',1,'']]], + ['gf_5fgui_5fcomponent_5ft_89',['gf_gui_component_t',['../structgf__gui__component__t.html',1,'']]], + ['gf_5fgui_5fcomponent_5ftypes_90',['GF_GUI_COMPONENT_TYPES',['../gui_8h.html#a29f22c7359d8c3b586f0d4eb82213d03',1,'gui.h']]], + ['gf_5fgui_5fcreate_91',['gf_gui_create',['../gf__gui_8h.html#a929e99bf9dd58e4abc0c9f2a6b1341a1',1,'gf_gui.c']]], + ['gf_5fgui_5fcreate_5fbutton_92',['gf_gui_create_button',['../gf__gui_8h.html#a9bfb5fc1e4dff3c3f0e4748d5b8c3c2e',1,'gf_gui.c']]], + ['gf_5fgui_5fdraw_5fbox_93',['gf_gui_draw_box',['../gf__gui_8h.html#a670ac29a4409cc16c8d77f2d33ccc499',1,'gf_gui.c']]], + ['gf_5fgui_5ffirst_5funused_94',['gf_gui_first_unused',['../gf__gui_8h.html#a39fc0e9d0e6ebaf3d60e1275008124b5',1,'gf_gui.c']]], + ['gf_5fgui_5ffont_5fsize_95',['GF_GUI_FONT_SIZE',['../gf__gui_8h.html#a59c22dec721b5a703d29e0b0d9fc3522',1,'gf_gui.h']]], + ['gf_5fgui_5fid_5ft_96',['gf_gui_id_t',['../gui_8h.html#a17ba559c53b849a8391b8f48d91b4f11',1,'gui.h']]], + ['gf_5fgui_5finvert_97',['GF_GUI_INVERT',['../gf__gui_8h.html#a01d6d034ff93d118bcbabf86f33735c5',1,'gf_gui.h']]], + ['gf_5fgui_5fmax_5fcomponents_98',['GF_GUI_MAX_COMPONENTS',['../gui_8h.html#a33770d9046d53ad607fcc938f1619eb8',1,'gui.h']]], + ['gf_5fgui_5fnormal_99',['GF_GUI_NORMAL',['../gf__gui_8h.html#ad122969dc187a91908fc312f185eaa46',1,'gf_gui.h']]], + ['gf_5fgui_5frender_100',['gf_gui_render',['../gf__gui_8h.html#a41f221ae3b2221553f49678f9434976c',1,'gf_gui.c']]], + ['gf_5fgui_5ft_101',['gf_gui_t',['../structgf__gui__t.html',1,'']]], + ['gf_5fgui_5funion_5ft_102',['gf_gui_union_t',['../uniongf__gui__union__t.html',1,'']]], + ['gf_5finput_2eh_103',['gf_input.h',['../gf__input_8h.html',1,'']]], + ['gf_5flog_104',['gf_log',['../gf__log_8h.html#aed92dc232c3ae9cabdff1eeea67dfa90',1,'gf_log.c']]], + ['gf_5flog_2eh_105',['gf_log.h',['../gf__log_8h.html',1,'']]], + ['gf_5flog_5ffunction_106',['gf_log_function',['../gf__log_8h.html#a165a2d1cecbdd974b4a44450011bb84a',1,'gf_log.h']]], + ['gf_5fmacro_2eh_107',['gf_macro.h',['../gf__macro_8h.html',1,'']]], + ['gf_5fmath_2eh_108',['gf_math.h',['../gf__math_8h.html',1,'']]], + ['gf_5fmath_5fcot_109',['gf_math_cot',['../gf__math_8h.html#aac8f6a22f2880f5b86b20a191a662333',1,'gf_math.c']]], + ['gf_5fmath_5flog2_110',['gf_math_log2',['../gf__math_8h.html#a018423cb05adf480f9c3f28f304d1c47',1,'gf_math.c']]], + ['gf_5fmath_5fmultiply_111',['gf_math_multiply',['../gf__math_8h.html#a394ebd35e2cddf28c86a45dad759fbee',1,'gf_math.c']]], + ['gf_5fmath_5fnearest_5f2pow_112',['gf_math_nearest_2pow',['../gf__math_8h.html#aefea2441e869786726095fcda71750dc',1,'gf_math.c']]], + ['gf_5fmath_5fnormal_113',['gf_math_normal',['../gf__math_8h.html#a5438b2f7f1324cdd664f2b823faa1ba6',1,'gf_math.c']]], + ['gf_5fmath_5fnormalize_114',['gf_math_normalize',['../gf__math_8h.html#a3bd2afc9ff0e67e60afef9fe82553726',1,'gf_math.c']]], + ['gf_5fmath_5fpi_115',['GF_MATH_PI',['../gf__math_8h.html#a8bf10c0638a206ac572807e90508b6b5',1,'gf_math.h']]], + ['gf_5fmath_5fsubtract_116',['gf_math_subtract',['../gf__math_8h.html#a9df6d1b30bea0b200582e2873bddd113',1,'gf_math.c']]], + ['gf_5fmath_5fvector_5fcopy_117',['GF_MATH_VECTOR_COPY',['../gf__math_8h.html#a545245d1e846e9c756e776eb6138536b',1,'gf_math.h']]], + ['gf_5fmath_5fvector_5ft_118',['gf_math_vector_t',['../math_8h.html#a866f43b3ea5386cb9497738f1eec3d88',1,'math.h']]], + ['gf_5fmesh_2eh_119',['gf_mesh.h',['../gf__mesh_8h.html',1,'']]], + ['gf_5fmesh_5ft_120',['gf_mesh_t',['../structgf__mesh__t.html',1,'']]], + ['gf_5fmodel_2eh_121',['gf_model.h',['../gf__model_8h.html',1,'']]], + ['gf_5fmodel_5ft_122',['gf_model_t',['../structgf__model__t.html',1,'']]], + ['gf_5fopengl_2eh_123',['gf_opengl.h',['../gf__opengl_8h.html',1,'']]], + ['gf_5fphysics_2eh_124',['gf_physics.h',['../gf__physics_8h.html',1,'']]], + ['gf_5fphysics_5fbegin_125',['gf_physics_begin',['../gf__physics_8h.html#a046ff3b6d3842c4cfd2c43ec576b09c6',1,'gf_physics.c']]], + ['gf_5fphysics_5fcreate_126',['gf_physics_create',['../gf__physics_8h.html#a7e225db0a916463d791036c4d8636993',1,'gf_physics.c']]], + ['gf_5fphysics_5fdestroy_127',['gf_physics_destroy',['../gf__physics_8h.html#ad9f65aa74657b4558c67f809c590fad3',1,'gf_physics.c']]], + ['gf_5fphysics_5fend_128',['gf_physics_end',['../gf__physics_8h.html#a5724da53e501775d4a0faad3c91f1a14',1,'gf_physics.c']]], + ['gf_5fphysics_5ft_129',['gf_physics_t',['../structgf__physics__t.html',1,'']]], + ['gf_5fpre_2eh_130',['gf_pre.h',['../gf__pre_8h.html',1,'']]], + ['gf_5fserver_2eh_131',['gf_server.h',['../gf__server_8h.html',1,'']]], + ['gf_5fserver_5fbegin_132',['gf_server_begin',['../gf__server_8h.html#a656e41de75a97731bffa1653fc2c8d4a',1,'gf_server.c']]], + ['gf_5fserver_5fcreate_133',['gf_server_create',['../gf__server_8h.html#a861aac514f048d33ce16e3209e125df5',1,'gf_server.c']]], + ['gf_5fserver_5fdestroy_134',['gf_server_destroy',['../gf__server_8h.html#afedff111b1691c5973e264ce4f6a3787',1,'gf_server.c']]], + ['gf_5fserver_5fend_135',['gf_server_end',['../gf__server_8h.html#a9f44e37cb5becfe321b352f8801fe22e',1,'gf_server.c']]], + ['gf_5fserver_5ft_136',['gf_server_t',['../structgf__server__t.html',1,'']]], + ['gf_5fset_5fcolor_137',['GF_SET_COLOR',['../gf__graphic_8h.html#a30c57cf06829cfb3f68556e73a86b203',1,'gf_graphic.h']]], + ['gf_5ftexture_2eh_138',['gf_texture.h',['../gf__texture_8h.html',1,'']]], + ['gf_5ftexture_5fcreate_139',['gf_texture_create',['../gf__texture_8h.html#a6cd0c41bfc9dbe140bb52f39aaa14080',1,'gf_texture.c']]], + ['gf_5ftexture_5fdestroy_140',['gf_texture_destroy',['../gf__texture_8h.html#a3bfedc6c576e35173d3a7b1b9565e649',1,'gf_texture.c']]], + ['gf_5ftexture_5ft_141',['gf_texture_t',['../structgf__texture__t.html',1,'']]], + ['gf_5fthread_2eh_142',['gf_thread.h',['../gf__thread_8h.html',1,'']]], + ['gf_5fthread_5fcontext_5ft_143',['gf_thread_context_t',['../structgf__thread__context__t.html',1,'']]], + ['gf_5fthread_5fcreate_144',['gf_thread_create',['../gf__thread_8h.html#ad2a42aa3c8b51ec7e22625e8932906a4',1,'gf_thread.c']]], + ['gf_5fthread_5fdestroy_145',['gf_thread_destroy',['../gf__thread_8h.html#ae75b99ee6c28e149e333512f46e8656a',1,'gf_thread.c']]], + ['gf_5fthread_5fjoin_146',['gf_thread_join',['../gf__thread_8h.html#a168bd57321daded0d1789442e5680dea',1,'gf_thread.c']]], + ['gf_5fthread_5ft_147',['gf_thread_t',['../structgf__thread__t.html',1,'']]], + ['gf_5ftriangle_5ft_148',['gf_triangle_t',['../structgf__triangle__t.html',1,'']]], + ['gf_5fversion_2eh_149',['gf_version.h',['../gf__version_8h.html',1,'']]], + ['gf_5fversion_5fget_150',['gf_version_get',['../gf__version_8h.html#a6bbaecc50f6c677871dcf74d7d7dbc4a',1,'gf_version.c']]], + ['gf_5fversion_5ft_151',['gf_version_t',['../structgf__version__t.html',1,'']]], + ['glyph_152',['glyph',['../structgf__font__t.html#a1264a95b11cec574d66cda5f57de1808',1,'gf_font_t']]], + ['goldfish_20engine_153',['GoldFish Engine',['../index.html',1,'']]], + ['graphic_2eh_154',['graphic.h',['../graphic_8h.html',1,'']]], + ['gui_155',['gui',['../structgf__draw__t.html#a5db50986159b8a2b1736aa315a5d8063',1,'gf_draw_t']]], + ['gui_2eh_156',['gui.h',['../gui_8h.html',1,'']]] ]; diff --git a/engine/search/files_3.js b/engine/search/files_3.js index bb60d8a..5149922 100644 --- a/engine/search/files_3.js +++ b/engine/search/files_3.js @@ -2,25 +2,26 @@ var searchData= [ ['gf_5fclient_2eh_0',['gf_client.h',['../gf__client_8h.html',1,'']]], ['gf_5fcore_2eh_1',['gf_core.h',['../gf__core_8h.html',1,'']]], - ['gf_5fdraw_2eh_2',['gf_draw.h',['../gf__draw_8h.html',1,'']]], - ['gf_5fdraw_5fdriver_2eh_3',['gf_draw_driver.h',['../gf__draw__driver_8h.html',1,'']]], - ['gf_5fdraw_5fplatform_2eh_4',['gf_draw_platform.h',['../gf__draw__platform_8h.html',1,'']]], - ['gf_5ffont_2eh_5',['gf_font.h',['../gf__font_8h.html',1,'']]], - ['gf_5fgraphic_2eh_6',['gf_graphic.h',['../gf__graphic_8h.html',1,'']]], - ['gf_5fgui_2eh_7',['gf_gui.h',['../gf__gui_8h.html',1,'']]], - ['gf_5finput_2eh_8',['gf_input.h',['../gf__input_8h.html',1,'']]], - ['gf_5flog_2eh_9',['gf_log.h',['../gf__log_8h.html',1,'']]], - ['gf_5fmacro_2eh_10',['gf_macro.h',['../gf__macro_8h.html',1,'']]], - ['gf_5fmath_2eh_11',['gf_math.h',['../gf__math_8h.html',1,'']]], - ['gf_5fmesh_2eh_12',['gf_mesh.h',['../gf__mesh_8h.html',1,'']]], - ['gf_5fmodel_2eh_13',['gf_model.h',['../gf__model_8h.html',1,'']]], - ['gf_5fopengl_2eh_14',['gf_opengl.h',['../gf__opengl_8h.html',1,'']]], - ['gf_5fphysics_2eh_15',['gf_physics.h',['../gf__physics_8h.html',1,'']]], - ['gf_5fpre_2eh_16',['gf_pre.h',['../gf__pre_8h.html',1,'']]], - ['gf_5fserver_2eh_17',['gf_server.h',['../gf__server_8h.html',1,'']]], - ['gf_5ftexture_2eh_18',['gf_texture.h',['../gf__texture_8h.html',1,'']]], - ['gf_5fthread_2eh_19',['gf_thread.h',['../gf__thread_8h.html',1,'']]], - ['gf_5fversion_2eh_20',['gf_version.h',['../gf__version_8h.html',1,'']]], - ['graphic_2eh_21',['graphic.h',['../graphic_8h.html',1,'']]], - ['gui_2eh_22',['gui.h',['../gui_8h.html',1,'']]] + ['gf_5fdirectx_2eh_2',['gf_directx.h',['../gf__directx_8h.html',1,'']]], + ['gf_5fdraw_2eh_3',['gf_draw.h',['../gf__draw_8h.html',1,'']]], + ['gf_5fdraw_5fdriver_2eh_4',['gf_draw_driver.h',['../gf__draw__driver_8h.html',1,'']]], + ['gf_5fdraw_5fplatform_2eh_5',['gf_draw_platform.h',['../gf__draw__platform_8h.html',1,'']]], + ['gf_5ffont_2eh_6',['gf_font.h',['../gf__font_8h.html',1,'']]], + ['gf_5fgraphic_2eh_7',['gf_graphic.h',['../gf__graphic_8h.html',1,'']]], + ['gf_5fgui_2eh_8',['gf_gui.h',['../gf__gui_8h.html',1,'']]], + ['gf_5finput_2eh_9',['gf_input.h',['../gf__input_8h.html',1,'']]], + ['gf_5flog_2eh_10',['gf_log.h',['../gf__log_8h.html',1,'']]], + ['gf_5fmacro_2eh_11',['gf_macro.h',['../gf__macro_8h.html',1,'']]], + ['gf_5fmath_2eh_12',['gf_math.h',['../gf__math_8h.html',1,'']]], + ['gf_5fmesh_2eh_13',['gf_mesh.h',['../gf__mesh_8h.html',1,'']]], + ['gf_5fmodel_2eh_14',['gf_model.h',['../gf__model_8h.html',1,'']]], + ['gf_5fopengl_2eh_15',['gf_opengl.h',['../gf__opengl_8h.html',1,'']]], + ['gf_5fphysics_2eh_16',['gf_physics.h',['../gf__physics_8h.html',1,'']]], + ['gf_5fpre_2eh_17',['gf_pre.h',['../gf__pre_8h.html',1,'']]], + ['gf_5fserver_2eh_18',['gf_server.h',['../gf__server_8h.html',1,'']]], + ['gf_5ftexture_2eh_19',['gf_texture.h',['../gf__texture_8h.html',1,'']]], + ['gf_5fthread_2eh_20',['gf_thread.h',['../gf__thread_8h.html',1,'']]], + ['gf_5fversion_2eh_21',['gf_version.h',['../gf__version_8h.html',1,'']]], + ['graphic_2eh_22',['graphic.h',['../graphic_8h.html',1,'']]], + ['gui_2eh_23',['gui.h',['../gui_8h.html',1,'']]] ]; diff --git a/engine/structgf__draw__driver__t.html b/engine/structgf__draw__driver__t.html index 1910fd1..9e878a5 100644 --- a/engine/structgf__draw__driver__t.html +++ b/engine/structgf__draw__driver__t.html @@ -103,7 +103,7 @@ $(document).ready(function(){initNavTree('structgf__draw__driver__t.html',''); i

Drawing driver.

Note
Definition depends on the drawing driver, read the header file for definition
-

Definition at line 39 of file draw_driver.h.

+

Definition at line 48 of file draw_driver.h.


The documentation for this struct was generated from the following file: diff --git a/engine/structgf__draw__driver__texture__t.html b/engine/structgf__draw__driver__texture__t.html index f26535d..372e55e 100644 --- a/engine/structgf__draw__driver__texture__t.html +++ b/engine/structgf__draw__driver__texture__t.html @@ -103,7 +103,7 @@ $(document).ready(function(){initNavTree('structgf__draw__driver__texture__t.htm

Driver-dependent texture.

Note
Definition depends on the drawing driver, read the header file for definition
-

Definition at line 47 of file draw_driver.h.

+

Definition at line 56 of file draw_driver.h.


The documentation for this struct was generated from the following file: diff --git a/engine/structgf__draw__platform__t.html b/engine/structgf__draw__platform__t.html index 55103fd..348ac1e 100644 --- a/engine/structgf__draw__platform__t.html +++ b/engine/structgf__draw__platform__t.html @@ -103,7 +103,7 @@ $(document).ready(function(){initNavTree('structgf__draw__platform__t.html','');

Platform-dependent part of drawing driver.

Note
Definition depends on the drawing driver and the platform, read the header file for definition
-

Definition at line 54 of file draw_platform.h.

+

Definition at line 65 of file draw_platform.h.


The documentation for this struct was generated from the following file: diff --git a/engine/texture_8h_source.html b/engine/texture_8h_source.html index b02468a..81b865a 100644 --- a/engine/texture_8h_source.html +++ b/engine/texture_8h_source.html @@ -130,7 +130,7 @@ $(document).ready(function(){initNavTree('texture_8h_source.html',''); initResiz
Macro.
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Definition gf_macro.h:164
Required headers before anything.
-
Driver-dependent texture.
Definition draw_driver.h:47
+
Driver-dependent texture.
Definition draw_driver.h:56
Texture.
Definition texture.h:47