+  |
GoldFish Engine
diff --git a/engine/audio_8h.html b/engine/audio_8h.html
index dfeb7c0..d48ea72 100644
--- a/engine/audio_8h.html
+++ b/engine/audio_8h.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/audio_8h_source.html b/engine/audio_8h_source.html
index c44a0d4..36c4d8a 100644
--- a/engine/audio_8h_source.html
+++ b/engine/audio_8h_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/classes.html b/engine/classes.html
index 348eb53..ec9a076 100644
--- a/engine/classes.html
+++ b/engine/classes.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/client_8h.html b/engine/client_8h.html
index 4596b0e..81f3e64 100644
--- a/engine/client_8h.html
+++ b/engine/client_8h.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/client_8h_source.html b/engine/client_8h_source.html
index b88cb9e..a33882e 100644
--- a/engine/client_8h_source.html
+++ b/engine/client_8h_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/compat_8h.html b/engine/compat_8h.html
index ecb8d75..982431b 100644
--- a/engine/compat_8h.html
+++ b/engine/compat_8h.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/compat_8h_source.html b/engine/compat_8h_source.html
index 10bf2ef..30dbe1d 100644
--- a/engine/compat_8h_source.html
+++ b/engine/compat_8h_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/core_8h.html b/engine/core_8h.html
index d2139c0..e2f2279 100644
--- a/engine/core_8h.html
+++ b/engine/core_8h.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/core_8h_source.html b/engine/core_8h_source.html
index 803b593..7ee763b 100644
--- a/engine/core_8h_source.html
+++ b/engine/core_8h_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/dir_0d98df33664112e13024255ca1b098d2.html b/engine/dir_0d98df33664112e13024255ca1b098d2.html
index c9712d1..183dfaa 100644
--- a/engine/dir_0d98df33664112e13024255ca1b098d2.html
+++ b/engine/dir_0d98df33664112e13024255ca1b098d2.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/dir_1d6203c8371f8f7ecbd9e9230894d473.html b/engine/dir_1d6203c8371f8f7ecbd9e9230894d473.html
index 1f23033..b271e02 100644
--- a/engine/dir_1d6203c8371f8f7ecbd9e9230894d473.html
+++ b/engine/dir_1d6203c8371f8f7ecbd9e9230894d473.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/dir_22f649445e791bda7c2b14c78388b946.html b/engine/dir_22f649445e791bda7c2b14c78388b946.html
index fd2b798..5f4d363 100644
--- a/engine/dir_22f649445e791bda7c2b14c78388b946.html
+++ b/engine/dir_22f649445e791bda7c2b14c78388b946.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/dir_23ec12649285f9fabf3a6b7380226c28.html b/engine/dir_23ec12649285f9fabf3a6b7380226c28.html
deleted file mode 100644
index f8171d9..0000000
--- a/engine/dir_23ec12649285f9fabf3a6b7380226c28.html
+++ /dev/null
@@ -1,112 +0,0 @@
-
-
-
-
-
-
-
-GoldFish Engine: util Directory Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GoldFish Engine
-
- Quite simple and lightweight game engine
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Loading...
- Searching...
- No Matches
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/engine/dir_23ec12649285f9fabf3a6b7380226c28.js b/engine/dir_23ec12649285f9fabf3a6b7380226c28.js
deleted file mode 100644
index 30e1afa..0000000
--- a/engine/dir_23ec12649285f9fabf3a6b7380226c28.js
+++ /dev/null
@@ -1,4 +0,0 @@
-var dir_23ec12649285f9fabf3a6b7380226c28 =
-[
- [ "engineinfo", "dir_564eac3fbd1641f0d7f53b584187d9ce.html", "dir_564eac3fbd1641f0d7f53b584187d9ce" ]
-];
\ No newline at end of file
diff --git a/engine/dir_546733639134b9431ef34ac72f6d1288.html b/engine/dir_546733639134b9431ef34ac72f6d1288.html
index 4b59f70..0e239f7 100644
--- a/engine/dir_546733639134b9431ef34ac72f6d1288.html
+++ b/engine/dir_546733639134b9431ef34ac72f6d1288.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/dir_564eac3fbd1641f0d7f53b584187d9ce.html b/engine/dir_564eac3fbd1641f0d7f53b584187d9ce.html
deleted file mode 100644
index 1f2bfb2..0000000
--- a/engine/dir_564eac3fbd1641f0d7f53b584187d9ce.html
+++ /dev/null
@@ -1,114 +0,0 @@
-
-
-
-
-
-
-
-GoldFish Engine: util/engineinfo Directory Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GoldFish Engine
-
- Quite simple and lightweight game engine
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Loading...
- Searching...
- No Matches
-
-
-
-
-
-
-
-
- |
- | main_console.c |
- |
- | main_windows.c |
- |
-
-
-
-
-
-
-
diff --git a/engine/dir_564eac3fbd1641f0d7f53b584187d9ce.js b/engine/dir_564eac3fbd1641f0d7f53b584187d9ce.js
deleted file mode 100644
index 5979b4a..0000000
--- a/engine/dir_564eac3fbd1641f0d7f53b584187d9ce.js
+++ /dev/null
@@ -1,5 +0,0 @@
-var dir_564eac3fbd1641f0d7f53b584187d9ce =
-[
- [ "main_console.c", "main__console_8c_source.html", null ],
- [ "main_windows.c", "main__windows_8c_source.html", null ]
-];
\ No newline at end of file
diff --git a/engine/dir_599f4bc7262791fc6e619beabec41e32.html b/engine/dir_599f4bc7262791fc6e619beabec41e32.html
index 297f882..834f39c 100644
--- a/engine/dir_599f4bc7262791fc6e619beabec41e32.html
+++ b/engine/dir_599f4bc7262791fc6e619beabec41e32.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/dir_6684fa0b48800166488fdb25c8e1a946.html b/engine/dir_6684fa0b48800166488fdb25c8e1a946.html
index 014af1a..c2364d7 100644
--- a/engine/dir_6684fa0b48800166488fdb25c8e1a946.html
+++ b/engine/dir_6684fa0b48800166488fdb25c8e1a946.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/engine/dir_68267d1309a1af8e8297ef4c3efbcdba.html
index 1e7cd38..042f72e 100644
--- a/engine/dir_68267d1309a1af8e8297ef4c3efbcdba.html
+++ b/engine/dir_68267d1309a1af8e8297ef4c3efbcdba.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/dir_a63dedf81f1e5ea1d42bb45ef831eb8c.html b/engine/dir_a63dedf81f1e5ea1d42bb45ef831eb8c.html
index d140864..ab2a0de 100644
--- a/engine/dir_a63dedf81f1e5ea1d42bb45ef831eb8c.html
+++ b/engine/dir_a63dedf81f1e5ea1d42bb45ef831eb8c.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/dir_a9b34658e7907785f8479c4760b6a49c.html b/engine/dir_a9b34658e7907785f8479c4760b6a49c.html
index 5676555..96c5b83 100644
--- a/engine/dir_a9b34658e7907785f8479c4760b6a49c.html
+++ b/engine/dir_a9b34658e7907785f8479c4760b6a49c.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/dir_bc7c5e3621ab9884d751175cdc8197d4.html b/engine/dir_bc7c5e3621ab9884d751175cdc8197d4.html
index c1c9cd2..b276407 100644
--- a/engine/dir_bc7c5e3621ab9884d751175cdc8197d4.html
+++ b/engine/dir_bc7c5e3621ab9884d751175cdc8197d4.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/dir_bfedb72b9d87795234454f6223b9ab1e.html b/engine/dir_bfedb72b9d87795234454f6223b9ab1e.html
index 5927506..fbcdc29 100644
--- a/engine/dir_bfedb72b9d87795234454f6223b9ab1e.html
+++ b/engine/dir_bfedb72b9d87795234454f6223b9ab1e.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/dir_d44c64559bbebec7f509842c48db8b23.html b/engine/dir_d44c64559bbebec7f509842c48db8b23.html
index d05bc37..6322bca 100644
--- a/engine/dir_d44c64559bbebec7f509842c48db8b23.html
+++ b/engine/dir_d44c64559bbebec7f509842c48db8b23.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/dir_e60f2706c8c207c5a951446d03370319.html b/engine/dir_e60f2706c8c207c5a951446d03370319.html
index ed0ab96..c6f138f 100644
--- a/engine/dir_e60f2706c8c207c5a951446d03370319.html
+++ b/engine/dir_e60f2706c8c207c5a951446d03370319.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/dir_f3b487f46217856a45feb38703b75f99.html b/engine/dir_f3b487f46217856a45feb38703b75f99.html
index 60ac6d0..b5159de 100644
--- a/engine/dir_f3b487f46217856a45feb38703b75f99.html
+++ b/engine/dir_f3b487f46217856a45feb38703b75f99.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/directx_2dx11_2gf__draw_8c_source.html b/engine/directx_2dx11_2gf__draw_8c_source.html
index 18577f7..12b7439 100644
--- a/engine/directx_2dx11_2gf__draw_8c_source.html
+++ b/engine/directx_2dx11_2gf__draw_8c_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
@@ -120,8 +121,8 @@ $(document).ready(function(){initNavTree('directx_2dx11_2gf__draw_8c_source.html
-
-
+ 23void gf_draw_platform_begin( void) {}
+ 24void gf_draw_platform_end( void) {}
26LRESULT CALLBACK gf_draw_platform_proc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp) {
@@ -139,7 +140,7 @@ $(document).ready(function(){initNavTree('directx_2dx11_2gf__draw_8c_source.html
40 draw-> width = rect.right - rect.left;
41 draw-> height = rect.bottom - rect.top;
-
+ 42 gf_draw_reshape(draw);
@@ -196,10 +197,10 @@ $(document).ready(function(){initNavTree('directx_2dx11_2gf__draw_8c_source.html
-
+ 99int gf_draw_platform_has_extension( gf_draw_t* draw, const char* query) { return 0; }
-
+
104 while(PeekMessage(&msg, draw-> platform->window, 0, 0, PM_NOREMOVE)) {
@@ -212,9 +213,9 @@ $(document).ready(function(){initNavTree('directx_2dx11_2gf__draw_8c_source.html
-
-
-
+ 114 gf_draw_driver_before(draw);
+
+ 116 gf_draw_driver_after(draw);
@@ -223,7 +224,7 @@ $(document).ready(function(){initNavTree('directx_2dx11_2gf__draw_8c_source.html
-
+
@@ -234,7 +235,7 @@ $(document).ready(function(){initNavTree('directx_2dx11_2gf__draw_8c_source.html
131 platform->instance = (HINSTANCE)GetModuleHandle(NULL);
132 if(platform->instance == NULL) {
-
+ 134 gf_draw_platform_destroy(platform);
@@ -252,14 +253,14 @@ $(document).ready(function(){initNavTree('directx_2dx11_2gf__draw_8c_source.html
149 wc.hIconSm = LoadIcon(platform->instance, "GAME");
150 if(!RegisterClassEx(&wc)) {
-
+ 152 gf_draw_platform_destroy(platform);
156 platform->window = CreateWindow( "goldfish", draw-> title, (WS_OVERLAPPEDWINDOW), draw-> x, draw-> y, draw-> width, draw-> height, NULL, 0, platform->instance, NULL);
157 if(platform->window == NULL) {
-
+ 159 gf_draw_platform_destroy(platform);
@@ -281,7 +282,7 @@ $(document).ready(function(){initNavTree('directx_2dx11_2gf__draw_8c_source.html
-
+
180 if(platform->dc != NULL) {
181 ReleaseDC(platform->window, platform->dc);
@@ -294,18 +295,8 @@ $(document).ready(function(){initNavTree('directx_2dx11_2gf__draw_8c_source.html
-void gf_draw_frame(gf_draw_t *draw) Draw frame (common part)
-void gf_draw_reshape(gf_draw_t *draw) Do stuffs required on resizing window.
-void gf_draw_driver_before(gf_draw_t *draw) Called before gf_draw_frame.
-void gf_draw_driver_after(gf_draw_t *draw) Called after gf_draw_frame.
-
-
-
-
-
-
#define gf_log_function(engine, fmt,...) Output log with line number and function name.
diff --git a/engine/directx_2gf__driver_8c_source.html b/engine/directx_2gf__driver_8c_source.html
index 7c145b6..36c6cb2 100644
--- a/engine/directx_2gf__driver_8c_source.html
+++ b/engine/directx_2gf__driver_8c_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
@@ -123,21 +124,21 @@ $(document).ready(function(){initNavTree('directx_2gf__driver_8c_source.html',''
-
+
37 memset(draw_driver, 0, sizeof(*draw_driver));
38 draw_driver->engine = engine;
@@ -148,18 +149,18 @@ $(document).ready(function(){initNavTree('directx_2gf__driver_8c_source.html',''
-
+ 45int gf_draw_driver_has_extension( gf_draw_t* draw, const char* query) { return 0; }
-
+
-
+
-
+ 51void gf_draw_driver_end_texture_2d( gf_draw_t* draw) { }
-
+
-
+
@@ -167,36 +168,23 @@ $(document).ready(function(){initNavTree('directx_2gf__driver_8c_source.html',''
-
+
-
+ 63 gf_draw_driver_reshape(draw);
-
+ 66 gf_graphic_set_camera(draw);
-
+ 68 gf_graphic_clear(draw);
-
+
-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.
-void gf_draw_driver_set_color(gf_draw_t *draw, gf_graphic_color_t color) Set color.
-void gf_draw_driver_end_texture_2d(gf_draw_t *draw) End 2D texture mode.
-void gf_draw_driver_before(gf_draw_t *draw) Called before gf_draw_frame.
-void gf_draw_driver_after(gf_draw_t *draw) Called after gf_draw_frame.
-int gf_draw_driver_has_extension(gf_draw_t *draw, const char *query) Check if renderer has extension.
-void gf_draw_driver_destroy_texture(gf_draw_driver_texture_t *texture) Destroy driver-dependent texture.
-void gf_draw_driver_begin_texture_2d(gf_draw_t *draw, gf_texture_t *texture) Begin 2D texture mode.
-gf_draw_driver_t * gf_draw_driver_create(gf_engine_t *engine, gf_draw_t *draw) Initialize drawing driver.
-void gf_draw_driver_reshape(gf_draw_t *draw) Do stuffs required on resizing window.
-void gf_draw_driver_destroy(gf_draw_driver_t *driver) Destroy drawing driver.
-void gf_graphic_clear(gf_draw_t *draw) Clear the screen.
-void gf_graphic_set_camera(gf_draw_t *draw) Set camera.
#define gf_log_function(engine, fmt,...) Output log with line number and function name.
diff --git a/engine/directx_2gf__graphic_8c_source.html b/engine/directx_2gf__graphic_8c_source.html
index 74f0f4c..4ab9abd 100644
--- a/engine/directx_2gf__graphic_8c_source.html
+++ b/engine/directx_2gf__graphic_8c_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
@@ -119,30 +120,23 @@ $(document).ready(function(){initNavTree('directx_2gf__graphic_8c_source.html','
-
+
-
+
-
+
-
+
-
+
-
+ 32void gf_graphic_perspective( gf_draw_t* draw, double fovy, double znear, double zfar) { }
-
+
-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.
-void gf_graphic_clear(gf_draw_t *draw) Clear the screen.
-void gf_graphic_fill_polygon(gf_draw_t *draw, gf_graphic_color_t color, int dim, int npair,...) Draw polygon.
-void gf_graphic_perspective(gf_draw_t *draw, double fovy, double znear, double zfar) Set perspective.
-void gf_graphic_end_2d(gf_draw_t *draw) End 2D mode.
-void gf_graphic_begin_2d(gf_draw_t *draw) Start 2D mode.
-void gf_graphic_set_camera(gf_draw_t *draw) Set camera.
#define GF_EXPORT Macro for platform-dependent symbol export/import.
Required headers before anything.
diff --git a/engine/draw_8h.html b/engine/draw_8h.html
index 71b2f75..f3ea2b1 100644
--- a/engine/draw_8h.html
+++ b/engine/draw_8h.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/draw_8h_source.html b/engine/draw_8h_source.html
index ab980ba..cd27ad8 100644
--- a/engine/draw_8h_source.html
+++ b/engine/draw_8h_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/draw__driver_8h.html b/engine/draw__driver_8h.html
index da69397..64d2b4b 100644
--- a/engine/draw__driver_8h.html
+++ b/engine/draw__driver_8h.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/draw__driver_8h_source.html b/engine/draw__driver_8h_source.html
index d89849e..0ec8a67 100644
--- a/engine/draw__driver_8h_source.html
+++ b/engine/draw__driver_8h_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/draw__platform_8h.html b/engine/draw__platform_8h.html
index e3e4996..c0b65a8 100644
--- a/engine/draw__platform_8h.html
+++ b/engine/draw__platform_8h.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/draw__platform_8h_source.html b/engine/draw__platform_8h_source.html
index 97ff2dc..babaef6 100644
--- a/engine/draw__platform_8h_source.html
+++ b/engine/draw__platform_8h_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/files.html b/engine/files.html
index 31a4112..3d278fd 100644
--- a/engine/files.html
+++ b/engine/files.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
@@ -181,10 +182,6 @@ $(document).ready(function(){initNavTree('files.html',''); initResizable(); });
| gf_stb_image.c | |
gf_texture.c | |
gf_version.c | |
- ▼ util | |
- ▼ engineinfo | |
- main_console.c | |
- main_windows.c | |
diff --git a/engine/files_dup.js b/engine/files_dup.js
index ed06eb3..89e9042 100644
--- a/engine/files_dup.js
+++ b/engine/files_dup.js
@@ -1,6 +1,5 @@
var files_dup =
[
[ "include", "dir_d44c64559bbebec7f509842c48db8b23.html", "dir_d44c64559bbebec7f509842c48db8b23" ],
- [ "src", "dir_68267d1309a1af8e8297ef4c3efbcdba.html", "dir_68267d1309a1af8e8297ef4c3efbcdba" ],
- [ "util", "dir_23ec12649285f9fabf3a6b7380226c28.html", "dir_23ec12649285f9fabf3a6b7380226c28" ]
+ [ "src", "dir_68267d1309a1af8e8297ef4c3efbcdba.html", "dir_68267d1309a1af8e8297ef4c3efbcdba" ]
];
\ No newline at end of file
diff --git a/engine/font_8h.html b/engine/font_8h.html
index 6365daf..e09951f 100644
--- a/engine/font_8h.html
+++ b/engine/font_8h.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/font_8h_source.html b/engine/font_8h_source.html
index 64c8b6c..e040357 100644
--- a/engine/font_8h_source.html
+++ b/engine/font_8h_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/functions.html b/engine/functions.html
index eacc1bf..ddb3d8b 100644
--- a/engine/functions.html
+++ b/engine/functions.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/functions_vars.html b/engine/functions_vars.html
index a2034b5..9dfa3a5 100644
--- a/engine/functions_vars.html
+++ b/engine/functions_vars.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/gf__audio_8c_source.html b/engine/gf__audio_8c_source.html
index 0230b3f..f51ec82 100644
--- a/engine/gf__audio_8c_source.html
+++ b/engine/gf__audio_8c_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
@@ -147,7 +148,7 @@ $(document).ready(function(){initNavTree('gf__audio_8c_source.html',''); initRes
47 if(frame > readframe) {
48 ma_mutex_unlock(audio-> mutex);
-
+ 50 gf_audio_decoder_destroy(&audio-> decoder[i]);
@@ -164,7 +165,7 @@ $(document).ready(function(){initNavTree('gf__audio_8c_source.html',''); initRes
65 ma_mutex_unlock(audio-> mutex);
-
+ 67 gf_audio_decoder_destroy(&audio-> decoder[i]);
@@ -181,7 +182,7 @@ $(document).ready(function(){initNavTree('gf__audio_8c_source.html',''); initRes
82 ma_mutex_unlock(audio-> mutex);
-
+ 84 gf_audio_decoder_destroy(&audio-> decoder[i]);
@@ -195,7 +196,7 @@ $(document).ready(function(){initNavTree('gf__audio_8c_source.html',''); initRes
-
+ 97gf_audio_id_t gf_audio_load( gf_audio_t* audio, const void* data, size_t size) {
99 ma_mutex_lock(audio-> mutex);
@@ -251,7 +252,7 @@ $(document).ready(function(){initNavTree('gf__audio_8c_source.html',''); initRes
-
+ 151gf_audio_id_t gf_audio_load_file( gf_audio_t* audio, const char* path) {
152 FILE* f = fopen(path, "rb");
@@ -263,7 +264,7 @@ $(document).ready(function(){initNavTree('gf__audio_8c_source.html',''); initRes
162 fread(data, sz, 1, f);
-
+ 163 st = gf_audio_load(audio, data, sz);
@@ -272,7 +273,7 @@ $(document).ready(function(){initNavTree('gf__audio_8c_source.html',''); initRes
-
+
@@ -300,7 +301,7 @@ $(document).ready(function(){initNavTree('gf__audio_8c_source.html',''); initRes
-
+ 198 gf_audio_destroy(audio);
@@ -309,13 +310,13 @@ $(document).ready(function(){initNavTree('gf__audio_8c_source.html',''); initRes
-
+ 207 gf_audio_destroy(audio);
211 if(ma_device_start(audio-> device) != MA_SUCCESS) {
-
+ 213 gf_audio_destroy(audio);
@@ -330,7 +331,7 @@ $(document).ready(function(){initNavTree('gf__audio_8c_source.html',''); initRes
-
+
229 ma_decoder_uninit(decoder-> decoder);
@@ -352,7 +353,7 @@ $(document).ready(function(){initNavTree('gf__audio_8c_source.html',''); initRes
-
+
248 if(audio-> device != NULL) {
249 ma_device_uninit(audio-> device);
@@ -363,7 +364,7 @@ $(document).ready(function(){initNavTree('gf__audio_8c_source.html',''); initRes
-
+ 257 gf_audio_decoder_destroy(&audio-> decoder[i]);
@@ -371,7 +372,7 @@ $(document).ready(function(){initNavTree('gf__audio_8c_source.html',''); initRes
-
+
264 ma_mutex_lock(audio-> mutex);
266 ma_mutex_unlock(audio-> mutex);
@@ -379,24 +380,16 @@ $(document).ready(function(){initNavTree('gf__audio_8c_source.html',''); initRes
-
+
270 ma_mutex_lock(audio-> mutex);
272 ma_mutex_unlock(audio-> mutex);
-
+ 275void gf_audio_stop( gf_audio_t* audio, gf_audio_id_t id) { gf_audio_decoder_destroy(&audio-> decoder[ id]); }
#define GF_AUDIO_MAX_DECODERS Max decoders audio interface can handle.
-void gf_audio_stop(gf_audio_t *audio, gf_audio_id_t id) Stop audio.
-void gf_audio_resume(gf_audio_t *audio, gf_audio_id_t id) Resume audio.
-gf_audio_id_t gf_audio_load(gf_audio_t *audio, const void *data, size_t size) Load and play data.
-gf_audio_t * gf_audio_create(gf_engine_t *engine) Create audio interface.
-void gf_audio_destroy(gf_audio_t *audio) Destroy audio interface.
-void gf_audio_decoder_destroy(gf_audio_decoder_t *decoder) Destroy audio decoder.
-void gf_audio_pause(gf_audio_t *audio, gf_audio_id_t id) Pause audio.
-gf_audio_id_t gf_audio_load_file(gf_audio_t *audio, const char *path) Load and play file.
#define gf_log_function(engine, fmt,...) Output log with line number and function name.
Required headers before anything.
diff --git a/engine/gf__audio_8h.html b/engine/gf__audio_8h.html
index c6a5a33..901bb23 100644
--- a/engine/gf__audio_8h.html
+++ b/engine/gf__audio_8h.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/gf__audio_8h_source.html b/engine/gf__audio_8h_source.html
index da0ba84..a361fc4 100644
--- a/engine/gf__audio_8h_source.html
+++ b/engine/gf__audio_8h_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/gf__audio__mod_8c_source.html b/engine/gf__audio__mod_8c_source.html
index 84641b0..479ac05 100644
--- a/engine/gf__audio__mod_8c_source.html
+++ b/engine/gf__audio__mod_8c_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/gf__audio__xm_8c_source.html b/engine/gf__audio__xm_8c_source.html
index ed15859..9da0682 100644
--- a/engine/gf__audio__xm_8c_source.html
+++ b/engine/gf__audio__xm_8c_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/gf__client_8c_source.html b/engine/gf__client_8c_source.html
index 996add7..a47f0ac 100644
--- a/engine/gf__client_8c_source.html
+++ b/engine/gf__client_8c_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
@@ -118,68 +119,53 @@ $(document).ready(function(){initNavTree('gf__client_8c_source.html',''); initRe
-
+ 21void gf_client_begin( void) { gf_draw_begin(); }
-
+ 23void gf_client_end( void) { gf_draw_end(); }
-
+
27 memset(client, 0, sizeof(*client));
-
+ 29 client-> draw = gf_draw_create(engine, title);
30 if(client-> draw == NULL) {
-
+ 32 gf_client_destroy(client);
-
+ 35 client-> audio = gf_audio_create(engine);
36 if(client-> audio == NULL) {
-
+ 38 gf_client_destroy(client);
-
-
+ 41 client-> input = gf_input_create(engine);
+ 42 gf_draw_set_input(client-> draw, client-> input);
-
-
-
-
+
+ 47 if(client-> draw != NULL) gf_draw_destroy(client-> draw);
+ 48 if(client-> audio != NULL) gf_audio_destroy(client-> audio);
+ 49 if(client-> input != NULL) gf_input_destroy(client-> input);
-
-
+
+ 55 int s = gf_draw_step(client-> draw);
-gf_audio_t * gf_audio_create(gf_engine_t *engine) Create audio interface.
-void gf_audio_destroy(gf_audio_t *audio) Destroy audio interface.
-void gf_client_begin(void) Initialize client interface.
-void gf_client_destroy(gf_client_t *client) Destroy client interface.
-gf_client_t * gf_client_create(gf_engine_t *engine, const char *title) Create client interface.
-void gf_client_end(void) Cleanup client interface.
-int gf_client_step(gf_client_t *client) Do client single step.
-void gf_draw_end(void) Cleanup drawing stuffs.
-void gf_draw_begin(void) Initialize drawing stuffs.
-int gf_draw_step(gf_draw_t *draw) Do drawing single step.
-void gf_draw_set_input(gf_draw_t *draw, gf_input_t *input) Set input interface.
-void gf_draw_destroy(gf_draw_t *draw) Destroy drawing interface.
-gf_draw_t * gf_draw_create(gf_engine_t *engine, const char *title) Create drawing interface.
-
-
#define gf_log_function(engine, fmt,...) Output log with line number and function name.
Required headers before anything.
diff --git a/engine/gf__client_8h.html b/engine/gf__client_8h.html
index 55e7527..56a1a46 100644
--- a/engine/gf__client_8h.html
+++ b/engine/gf__client_8h.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/gf__client_8h_source.html b/engine/gf__client_8h_source.html
index bffa055..08f3921 100644
--- a/engine/gf__client_8h_source.html
+++ b/engine/gf__client_8h_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/gf__core_8c_source.html b/engine/gf__core_8c_source.html
index b34863f..d7e8eec 100644
--- a/engine/gf__core_8c_source.html
+++ b/engine/gf__core_8c_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
@@ -122,12 +123,12 @@ $(document).ready(function(){initNavTree('gf__core_8c_source.html',''); initResi
-
+ 24void gf_engine_begin( void) {
-
+
@@ -138,20 +139,20 @@ $(document).ready(function(){initNavTree('gf__core_8c_source.html',''); initResi
37 WSAStartup(MAKEWORD(1, 1), &wsa);
-
-
+
+
-
-
-
+ 44void gf_engine_end( void) {
+
+
-
+
51 memset(engine, 0, sizeof(*engine));
@@ -160,59 +161,44 @@ $(document).ready(function(){initNavTree('gf__core_8c_source.html',''); initResi
-
+ 58 engine-> client = gf_client_create(engine, title);
59 if(engine-> client == NULL) {
-
+ 61 gf_engine_destroy(engine);
-
+ 66 engine-> server = gf_server_create(engine);
-
+
86 if(engine-> client != NULL) {
-
+ 87 if(gf_client_step(engine-> client) != 0) break;
-
-
-
+
+ 93 if(engine-> server != NULL) gf_server_destroy(engine-> server);
+ 94 if(engine-> client != NULL) gf_client_destroy(engine-> client);
-void gf_client_begin(void) Initialize client interface.
-void gf_client_destroy(gf_client_t *client) Destroy client interface.
-gf_client_t * gf_client_create(gf_engine_t *engine, const char *title) Create client interface.
-void gf_client_end(void) Cleanup client interface.
-int gf_client_step(gf_client_t *client) Do client single step.
-gf_engine_t * gf_engine_create(const char *title, int nogui) Create engine instance.
-void gf_engine_destroy(gf_engine_t *engine) Destroy engine instance.
-void gf_engine_loop(gf_engine_t *engine) Start engine main loop.
-void gf_engine_end(void) Cleanup engine.
-void gf_engine_begin(void) Initialize engine.
#define gf_log_function(engine, fmt,...) Output log with line number and function name.
Required headers before anything.
-void gf_server_begin(void) Initialize server interface.
-gf_server_t * gf_server_create(gf_engine_t *engine) Create server interface.
-void gf_server_end(void) Cleanup server interface.
-void gf_server_destroy(gf_server_t *server) Destroy server interface.
-void gf_version_get(gf_version_t *version) Get version of engine.
gf_server_t * server Server interface.
diff --git a/engine/gf__core_8h.html b/engine/gf__core_8h.html
index c34f522..25f7f33 100644
--- a/engine/gf__core_8h.html
+++ b/engine/gf__core_8h.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/gf__core_8h_source.html b/engine/gf__core_8h_source.html
index f0f73e0..0517ebd 100644
--- a/engine/gf__core_8h_source.html
+++ b/engine/gf__core_8h_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/gf__directx_8h.html b/engine/gf__directx_8h.html
index 763aeab..cee3305 100644
--- a/engine/gf__directx_8h.html
+++ b/engine/gf__directx_8h.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/gf__directx_8h_source.html b/engine/gf__directx_8h_source.html
index 911373b..067e023 100644
--- a/engine/gf__directx_8h_source.html
+++ b/engine/gf__directx_8h_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/gf__draw_8h.html b/engine/gf__draw_8h.html
index e35ec58..06d22a9 100644
--- a/engine/gf__draw_8h.html
+++ b/engine/gf__draw_8h.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/gf__draw_8h_source.html b/engine/gf__draw_8h_source.html
index 661849d..e8425d1 100644
--- a/engine/gf__draw_8h_source.html
+++ b/engine/gf__draw_8h_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/gf__draw__common_8c_source.html b/engine/gf__draw__common_8c_source.html
index 86256e3..296b5a5 100644
--- a/engine/gf__draw__common_8c_source.html
+++ b/engine/gf__draw__common_8c_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
@@ -123,14 +124,14 @@ $(document).ready(function(){initNavTree('gf__draw__common_8c_source.html','');
-
+ 26void gf_draw_begin( void) { gf_draw_platform_begin(); }
-
+ 28void gf_draw_end( void) { gf_draw_platform_end(); }
-
+
34 memset(draw, 0, sizeof(*draw));
@@ -142,10 +143,10 @@ $(document).ready(function(){initNavTree('gf__draw__common_8c_source.html','');
43 strcpy(draw-> title, title);
-
+ 44 draw-> platform = gf_draw_platform_create(engine, draw);
-
-
+ 46 draw-> driver = gf_draw_driver_create(engine, draw);
+ 47 gf_draw_reshape(draw);
@@ -161,24 +162,24 @@ $(document).ready(function(){initNavTree('gf__draw__common_8c_source.html','');
-
+ 63 draw-> font = gf_font_create(draw, "font/helvR24.bdf");
-
+ 65 draw-> gui = gf_gui_create(engine, draw);
68 unsigned char* d = stbi_load( "texture/test.bmp", &w, &h, &c, 4);
-
+ 69 test_texture = gf_texture_create(draw, w, h, d);
-
+ 73 gf_draw_destroy(draw);
-
+ 79void gf_draw_reshape( gf_draw_t* draw) { gf_draw_driver_reshape(draw); }
@@ -191,19 +192,19 @@ $(document).ready(function(){initNavTree('gf__draw__common_8c_source.html','');
-
+
93 color. r = color. g = color. b = color. a = 255;
-
-
+ 95 button1 = gf_gui_create_button(draw-> gui, 0, 0, 200, 50, "\"Test\" text");
+ 96 gf_gui_set_callback(draw-> gui, button1, gf_button_callback);
-
-
+ 99 button2 = gf_gui_create_button(draw-> gui, 100, 25, 200, 50, "\"Test\" text");
+ 100 gf_gui_set_callback(draw-> gui, button2, gf_button_callback);
-
+ 103 gf_graphic_draw_texture_polygon(draw, test_texture, color, GF_GRAPHIC_3D, 4,
@@ -219,13 +220,13 @@ $(document).ready(function(){initNavTree('gf__draw__common_8c_source.html','');
-
+ 119 gf_gui_render(draw-> gui);
-
-
+
+ 123 int ret = gf_draw_platform_step(draw);
124 if(ret != 0) return ret;
@@ -234,50 +235,27 @@ $(document).ready(function(){initNavTree('gf__draw__common_8c_source.html','');
-
-
-
+
+ 131 if(draw-> driver != NULL) gf_draw_driver_destroy(draw-> driver);
+
-
+
-void gf_draw_end(void) Cleanup drawing stuffs.
-void gf_draw_begin(void) Initialize drawing stuffs.
-int gf_draw_step(gf_draw_t *draw) Do drawing single step.
-void gf_draw_frame(gf_draw_t *draw) Draw frame (common part)
-void gf_draw_set_input(gf_draw_t *draw, gf_input_t *input) Set input interface.
-void gf_draw_destroy(gf_draw_t *draw) Destroy drawing interface.
-void gf_draw_reshape(gf_draw_t *draw) Do stuffs required on resizing window.
-gf_draw_t * gf_draw_create(gf_engine_t *engine, const char *title) Create drawing interface.
-gf_draw_driver_t * gf_draw_driver_create(gf_engine_t *engine, gf_draw_t *draw) Initialize drawing driver.
-void gf_draw_driver_reshape(gf_draw_t *draw) Do stuffs required on resizing window.
-void gf_draw_driver_destroy(gf_draw_driver_t *driver) Destroy drawing driver.
-
-
-
-
-
-gf_font_t * gf_font_create(gf_draw_t *draw, const char *path) Load font.
#define GF_GRAPHIC_3D Dimension parameter for 3D.
-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.
-void gf_gui_render(gf_gui_t *gui) Render GUI.
-gf_gui_t * gf_gui_create(gf_engine_t *engine, gf_draw_t *draw) Create GUI.
-gf_gui_id_t gf_gui_create_button(gf_gui_t *gui, double x, double y, double w, double h, const char *text) Create button component.
-void gf_gui_set_callback(gf_gui_t *gui, gf_gui_id_t id, gf_gui_callback_t callback) Set callback.
#define gf_log_function(engine, fmt,...) Output log with line number and function name.
Required headers before anything.
-gf_texture_t * gf_texture_create(gf_draw_t *draw, int width, int height, unsigned char *data) Create texture.
int gf_gui_id_t Component ID.
Type definitions related to math.
diff --git a/engine/gf__draw__driver_8h.html b/engine/gf__draw__driver_8h.html
index e31cecd..d887818 100644
--- a/engine/gf__draw__driver_8h.html
+++ b/engine/gf__draw__driver_8h.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/gf__draw__driver_8h_source.html b/engine/gf__draw__driver_8h_source.html
index c40d6cc..1c1da6b 100644
--- a/engine/gf__draw__driver_8h_source.html
+++ b/engine/gf__draw__driver_8h_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/gf__draw__platform_8h.html b/engine/gf__draw__platform_8h.html
index 474296d..13c385e 100644
--- a/engine/gf__draw__platform_8h.html
+++ b/engine/gf__draw__platform_8h.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/gf__draw__platform_8h_source.html b/engine/gf__draw__platform_8h_source.html
index 5fe5e2c..e2781b3 100644
--- a/engine/gf__draw__platform_8h_source.html
+++ b/engine/gf__draw__platform_8h_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/gf__font_8c_source.html b/engine/gf__font_8c_source.html
index 6fa38e2..6154f16 100644
--- a/engine/gf__font_8c_source.html
+++ b/engine/gf__font_8c_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
@@ -118,7 +119,7 @@ $(document).ready(function(){initNavTree('gf__font_8c_source.html',''); initResi
-
+
22 if(code < 0x20) return NULL;
23 for(i = 0; i < font-> count; i++) {
@@ -192,7 +193,7 @@ $(document).ready(function(){initNavTree('gf__font_8c_source.html',''); initResi
93 font-> glyph[store->glyph_index] = malloc( sizeof(**font-> glyph));
94 memset(font-> glyph[store->glyph_index], 0, sizeof(**font-> glyph));
95 } else if(argc > 0 && strcmp(args[0], "ENDCHAR") == 0) {
-
+
99 store->line_index = -1;
@@ -238,7 +239,7 @@ $(document).ready(function(){initNavTree('gf__font_8c_source.html',''); initResi
-
+
@@ -278,14 +279,11 @@ $(document).ready(function(){initNavTree('gf__font_8c_source.html',''); initResi
- gf_font_t * gf_font_create(gf_draw_t *draw, const char *path) Load font.
- gf_font_glyph_t * gf_font_get(gf_font_t *font, int code) Get glyph.
#define gf_log_function(engine, fmt,...) Output log with line number and function name.
#define GF_DECLARE_TYPE(n, b) Macro to define engine type shorter.
Required headers before anything.
- gf_texture_t * gf_texture_create(gf_draw_t *draw, int width, int height, unsigned char *data) Create texture.
diff --git a/engine/gf__font_8h.html b/engine/gf__font_8h.html
index 9cbebe6..38e81a0 100644
--- a/engine/gf__font_8h.html
+++ b/engine/gf__font_8h.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/gf__font_8h_source.html b/engine/gf__font_8h_source.html
index 40168b3..196b242 100644
--- a/engine/gf__font_8h_source.html
+++ b/engine/gf__font_8h_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/gf__graphic_8h.html b/engine/gf__graphic_8h.html
index d9d29ea..2b82902 100644
--- a/engine/gf__graphic_8h.html
+++ b/engine/gf__graphic_8h.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/gf__graphic_8h_source.html b/engine/gf__graphic_8h_source.html
index 1bbb19f..899df9c 100644
--- a/engine/gf__graphic_8h_source.html
+++ b/engine/gf__graphic_8h_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
diff --git a/engine/gf__graphic__common_8c_source.html b/engine/gf__graphic__common_8c_source.html
index 2a2b733..17ce708 100644
--- a/engine/gf__graphic__common_8c_source.html
+++ b/engine/gf__graphic__common_8c_source.html
@@ -24,6 +24,7 @@
+  |
GoldFish Engine
@@ -116,10 +117,10 @@ $(document).ready(function(){initNavTree('gf__graphic__common_8c_source.html',''
- | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |