-  |
GoldFish Engine
diff --git a/engine/audio_8h.html b/engine/audio_8h.html
index d48ea72..dfeb7c0 100644
--- a/engine/audio_8h.html
+++ b/engine/audio_8h.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/audio_8h_source.html b/engine/audio_8h_source.html
index 36c4d8a..c44a0d4 100644
--- a/engine/audio_8h_source.html
+++ b/engine/audio_8h_source.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/classes.html b/engine/classes.html
index ec9a076..348eb53 100644
--- a/engine/classes.html
+++ b/engine/classes.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/client_8h.html b/engine/client_8h.html
index 81f3e64..4596b0e 100644
--- a/engine/client_8h.html
+++ b/engine/client_8h.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/client_8h_source.html b/engine/client_8h_source.html
index a33882e..b88cb9e 100644
--- a/engine/client_8h_source.html
+++ b/engine/client_8h_source.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/compat_8h.html b/engine/compat_8h.html
index 982431b..ecb8d75 100644
--- a/engine/compat_8h.html
+++ b/engine/compat_8h.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/compat_8h_source.html b/engine/compat_8h_source.html
index 30dbe1d..10bf2ef 100644
--- a/engine/compat_8h_source.html
+++ b/engine/compat_8h_source.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/core_8h.html b/engine/core_8h.html
index e2f2279..d2139c0 100644
--- a/engine/core_8h.html
+++ b/engine/core_8h.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/core_8h_source.html b/engine/core_8h_source.html
index 7ee763b..803b593 100644
--- a/engine/core_8h_source.html
+++ b/engine/core_8h_source.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/dir_01284e59d658032137ac90170bc51d5c.js b/engine/dir_01284e59d658032137ac90170bc51d5c.js
deleted file mode 100644
index c1eb805..0000000
--- a/engine/dir_01284e59d658032137ac90170bc51d5c.js
+++ /dev/null
@@ -1,5 +0,0 @@
-var dir_01284e59d658032137ac90170bc51d5c =
-[
- [ "posix", "dir_3a4208df5cf5d0ab1d583a2473f08407.html", "dir_3a4208df5cf5d0ab1d583a2473f08407" ],
- [ "win32", "dir_010439d597aa5f2c3973222e6254bb56.html", "dir_010439d597aa5f2c3973222e6254bb56" ]
-];
\ No newline at end of file
diff --git a/engine/dir_78c3bd53007468ca0f7c2ae3b8c8a04a.html b/engine/dir_0d98df33664112e13024255ca1b098d2.html
similarity index 88%
rename from engine/dir_78c3bd53007468ca0f7c2ae3b8c8a04a.html
rename to engine/dir_0d98df33664112e13024255ca1b098d2.html
index 107253f..c9712d1 100644
--- a/engine/dir_78c3bd53007468ca0f7c2ae3b8c8a04a.html
+++ b/engine/dir_0d98df33664112e13024255ca1b098d2.html
@@ -5,7 +5,7 @@
-GoldFish Engine: graphic/opengl/glfw Directory Reference
+GoldFish Engine: src/graphic/opengl/glfw Directory Reference
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
@@ -65,7 +64,7 @@ $(function() {
@@ -105,7 +104,7 @@ Files |
diff --git a/engine/dir_78c3bd53007468ca0f7c2ae3b8c8a04a.js b/engine/dir_0d98df33664112e13024255ca1b098d2.js
similarity index 62%
rename from engine/dir_78c3bd53007468ca0f7c2ae3b8c8a04a.js
rename to engine/dir_0d98df33664112e13024255ca1b098d2.js
index e003faa..a148e19 100644
--- a/engine/dir_78c3bd53007468ca0f7c2ae3b8c8a04a.js
+++ b/engine/dir_0d98df33664112e13024255ca1b098d2.js
@@ -1,4 +1,4 @@
-var dir_78c3bd53007468ca0f7c2ae3b8c8a04a =
+var dir_0d98df33664112e13024255ca1b098d2 =
[
[ "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_1d6203c8371f8f7ecbd9e9230894d473.html
similarity index 89%
rename from engine/dir_8b86b195670ff9abc2799cc711b7f0dc.html
rename to engine/dir_1d6203c8371f8f7ecbd9e9230894d473.html
index 0ea526e..1f23033 100644
--- a/engine/dir_8b86b195670ff9abc2799cc711b7f0dc.html
+++ b/engine/dir_1d6203c8371f8f7ecbd9e9230894d473.html
@@ -5,7 +5,7 @@
-GoldFish Engine: graphic/directx Directory Reference
+GoldFish Engine: src/graphic/directx Directory Reference
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
@@ -65,7 +64,7 @@ $(function() {
@@ -97,7 +96,7 @@ $(document).ready(function(){initNavTree('dir_8b86b195670ff9abc2799cc711b7f0dc.h
|
diff --git a/engine/dir_1d6203c8371f8f7ecbd9e9230894d473.js b/engine/dir_1d6203c8371f8f7ecbd9e9230894d473.js
new file mode 100644
index 0000000..66d5671
--- /dev/null
+++ b/engine/dir_1d6203c8371f8f7ecbd9e9230894d473.js
@@ -0,0 +1,6 @@
+var dir_1d6203c8371f8f7ecbd9e9230894d473 =
+[
+ [ "dx11", "dir_f3b487f46217856a45feb38703b75f99.html", "dir_f3b487f46217856a45feb38703b75f99" ],
+ [ "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_22f649445e791bda7c2b14c78388b946.html
similarity index 88%
rename from engine/dir_b950b80d4849be3c17e5feffdf9623ad.html
rename to engine/dir_22f649445e791bda7c2b14c78388b946.html
index 656fcb7..fd2b798 100644
--- a/engine/dir_b950b80d4849be3c17e5feffdf9623ad.html
+++ b/engine/dir_22f649445e791bda7c2b14c78388b946.html
@@ -5,7 +5,7 @@
-GoldFish Engine: graphic/opengl/glx Directory Reference
+GoldFish Engine: src/graphic/opengl/glx Directory Reference
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
@@ -65,7 +64,7 @@ $(function() {
@@ -105,7 +104,7 @@ Files |
diff --git a/engine/dir_b950b80d4849be3c17e5feffdf9623ad.js b/engine/dir_22f649445e791bda7c2b14c78388b946.js
similarity index 61%
rename from engine/dir_b950b80d4849be3c17e5feffdf9623ad.js
rename to engine/dir_22f649445e791bda7c2b14c78388b946.js
index 2af55ed..de8bb87 100644
--- a/engine/dir_b950b80d4849be3c17e5feffdf9623ad.js
+++ b/engine/dir_22f649445e791bda7c2b14c78388b946.js
@@ -1,4 +1,4 @@
-var dir_b950b80d4849be3c17e5feffdf9623ad =
+var dir_22f649445e791bda7c2b14c78388b946 =
[
[ "gf_draw.c", "opengl_2glx_2gf__draw_8c_source.html", null ]
];
\ No newline at end of file
diff --git a/engine/dir_23ec12649285f9fabf3a6b7380226c28.html b/engine/dir_23ec12649285f9fabf3a6b7380226c28.html
index 834b24a..f8171d9 100644
--- a/engine/dir_23ec12649285f9fabf3a6b7380226c28.html
+++ b/engine/dir_23ec12649285f9fabf3a6b7380226c28.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/dir_5a32c7c5d9a7b7a4563b24a8e4acb19a.html b/engine/dir_546733639134b9431ef34ac72f6d1288.html
similarity index 87%
rename from engine/dir_5a32c7c5d9a7b7a4563b24a8e4acb19a.html
rename to engine/dir_546733639134b9431ef34ac72f6d1288.html
index 56c783c..4b59f70 100644
--- a/engine/dir_5a32c7c5d9a7b7a4563b24a8e4acb19a.html
+++ b/engine/dir_546733639134b9431ef34ac72f6d1288.html
@@ -5,7 +5,7 @@
-GoldFish Engine: graphic Directory Reference
+GoldFish Engine: src/graphic Directory Reference
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
@@ -65,7 +64,7 @@ $(function() {
@@ -97,9 +96,9 @@ $(document).ready(function(){initNavTree('dir_5a32c7c5d9a7b7a4563b24a8e4acb19a.h
@@ -107,7 +106,7 @@ Directories |
diff --git a/engine/dir_546733639134b9431ef34ac72f6d1288.js b/engine/dir_546733639134b9431ef34ac72f6d1288.js
new file mode 100644
index 0000000..57bc9ae
--- /dev/null
+++ b/engine/dir_546733639134b9431ef34ac72f6d1288.js
@@ -0,0 +1,5 @@
+var dir_546733639134b9431ef34ac72f6d1288 =
+[
+ [ "directx", "dir_1d6203c8371f8f7ecbd9e9230894d473.html", "dir_1d6203c8371f8f7ecbd9e9230894d473" ],
+ [ "opengl", "dir_bc7c5e3621ab9884d751175cdc8197d4.html", "dir_bc7c5e3621ab9884d751175cdc8197d4" ]
+];
\ No newline at end of file
diff --git a/engine/dir_564eac3fbd1641f0d7f53b584187d9ce.html b/engine/dir_564eac3fbd1641f0d7f53b584187d9ce.html
index 4046ff9..1f2bfb2 100644
--- a/engine/dir_564eac3fbd1641f0d7f53b584187d9ce.html
+++ b/engine/dir_564eac3fbd1641f0d7f53b584187d9ce.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/dir_3a4208df5cf5d0ab1d583a2473f08407.html b/engine/dir_599f4bc7262791fc6e619beabec41e32.html
similarity index 89%
rename from engine/dir_3a4208df5cf5d0ab1d583a2473f08407.html
rename to engine/dir_599f4bc7262791fc6e619beabec41e32.html
index 6e4689b..297f882 100644
--- a/engine/dir_3a4208df5cf5d0ab1d583a2473f08407.html
+++ b/engine/dir_599f4bc7262791fc6e619beabec41e32.html
@@ -5,7 +5,7 @@
-GoldFish Engine: thread/posix Directory Reference
+GoldFish Engine: src/thread/posix Directory Reference
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
@@ -65,7 +64,7 @@ $(function() {
@@ -105,7 +104,7 @@ Files |
diff --git a/engine/dir_3a4208df5cf5d0ab1d583a2473f08407.js b/engine/dir_599f4bc7262791fc6e619beabec41e32.js
similarity index 61%
rename from engine/dir_3a4208df5cf5d0ab1d583a2473f08407.js
rename to engine/dir_599f4bc7262791fc6e619beabec41e32.js
index f6e055d..d40d313 100644
--- a/engine/dir_3a4208df5cf5d0ab1d583a2473f08407.js
+++ b/engine/dir_599f4bc7262791fc6e619beabec41e32.js
@@ -1,4 +1,4 @@
-var dir_3a4208df5cf5d0ab1d583a2473f08407 =
+var dir_599f4bc7262791fc6e619beabec41e32 =
[
[ "gf_thread.c", "posix_2gf__thread_8c_source.html", null ]
];
\ No newline at end of file
diff --git a/engine/dir_5a32c7c5d9a7b7a4563b24a8e4acb19a.js b/engine/dir_5a32c7c5d9a7b7a4563b24a8e4acb19a.js
deleted file mode 100644
index f60b1c0..0000000
--- a/engine/dir_5a32c7c5d9a7b7a4563b24a8e4acb19a.js
+++ /dev/null
@@ -1,5 +0,0 @@
-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_010439d597aa5f2c3973222e6254bb56.html b/engine/dir_6684fa0b48800166488fdb25c8e1a946.html
similarity index 89%
rename from engine/dir_010439d597aa5f2c3973222e6254bb56.html
rename to engine/dir_6684fa0b48800166488fdb25c8e1a946.html
index 9b3f3f6..014af1a 100644
--- a/engine/dir_010439d597aa5f2c3973222e6254bb56.html
+++ b/engine/dir_6684fa0b48800166488fdb25c8e1a946.html
@@ -5,7 +5,7 @@
-GoldFish Engine: thread/win32 Directory Reference
+GoldFish Engine: src/thread/win32 Directory Reference
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
@@ -65,7 +64,7 @@ $(function() {
@@ -105,7 +104,7 @@ Files |
diff --git a/engine/dir_010439d597aa5f2c3973222e6254bb56.js b/engine/dir_6684fa0b48800166488fdb25c8e1a946.js
similarity index 61%
rename from engine/dir_010439d597aa5f2c3973222e6254bb56.js
rename to engine/dir_6684fa0b48800166488fdb25c8e1a946.js
index d1aed4b..0c869f7 100644
--- a/engine/dir_010439d597aa5f2c3973222e6254bb56.js
+++ b/engine/dir_6684fa0b48800166488fdb25c8e1a946.js
@@ -1,4 +1,4 @@
-var dir_010439d597aa5f2c3973222e6254bb56 =
+var dir_6684fa0b48800166488fdb25c8e1a946 =
[
[ "gf_thread.c", "win32_2gf__thread_8c_source.html", null ]
];
\ No newline at end of file
diff --git a/engine/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/engine/dir_68267d1309a1af8e8297ef4c3efbcdba.html
new file mode 100644
index 0000000..1e7cd38
--- /dev/null
+++ b/engine/dir_68267d1309a1af8e8297ef4c3efbcdba.html
@@ -0,0 +1,151 @@
+
+
+
+
+
+
+
+GoldFish Engine: src Directory Reference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ GoldFish Engine
+
+ Quite simple and lightweight game engine
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Loading...
+ Searching...
+ No Matches
+
+
+
+
+
+
+
+
+ |
+ | gf_audio.c |
+ |
+ | gf_client.c |
+ |
+ | gf_core.c |
+ |
+ | gf_draw_common.c |
+ |
+ | gf_font.c |
+ |
+ | gf_graphic_common.c |
+ |
+ | gf_gui.c |
+ |
+ | gf_input.c |
+ |
+ | gf_log.c |
+ |
+ | gf_math.c |
+ |
+ | gf_mesh.c |
+ |
+ | gf_miniaudio.c |
+ |
+ | gf_model.c |
+ |
+ | gf_physics.c |
+ |
+ | gf_server.c |
+ |
+ | gf_stb_image.c |
+ |
+ | gf_texture.c |
+ |
+ | gf_version.c |
+ |
+
+
+
+
+
+
+
diff --git a/engine/dir_68267d1309a1af8e8297ef4c3efbcdba.js b/engine/dir_68267d1309a1af8e8297ef4c3efbcdba.js
new file mode 100644
index 0000000..fcc5526
--- /dev/null
+++ b/engine/dir_68267d1309a1af8e8297ef4c3efbcdba.js
@@ -0,0 +1,24 @@
+var dir_68267d1309a1af8e8297ef4c3efbcdba =
+[
+ [ "audio", "dir_a63dedf81f1e5ea1d42bb45ef831eb8c.html", "dir_a63dedf81f1e5ea1d42bb45ef831eb8c" ],
+ [ "graphic", "dir_546733639134b9431ef34ac72f6d1288.html", "dir_546733639134b9431ef34ac72f6d1288" ],
+ [ "thread", "dir_bfedb72b9d87795234454f6223b9ab1e.html", "dir_bfedb72b9d87795234454f6223b9ab1e" ],
+ [ "gf_audio.c", "gf__audio_8c_source.html", null ],
+ [ "gf_client.c", "gf__client_8c_source.html", null ],
+ [ "gf_core.c", "gf__core_8c_source.html", null ],
+ [ "gf_draw_common.c", "gf__draw__common_8c_source.html", null ],
+ [ "gf_font.c", "gf__font_8c_source.html", null ],
+ [ "gf_graphic_common.c", "gf__graphic__common_8c_source.html", null ],
+ [ "gf_gui.c", "gf__gui_8c_source.html", null ],
+ [ "gf_input.c", "gf__input_8c_source.html", null ],
+ [ "gf_log.c", "gf__log_8c_source.html", null ],
+ [ "gf_math.c", "gf__math_8c_source.html", null ],
+ [ "gf_mesh.c", "gf__mesh_8c_source.html", null ],
+ [ "gf_miniaudio.c", "gf__miniaudio_8c_source.html", null ],
+ [ "gf_model.c", "gf__model_8c_source.html", null ],
+ [ "gf_physics.c", "gf__physics_8c_source.html", null ],
+ [ "gf_server.c", "gf__server_8c_source.html", null ],
+ [ "gf_stb_image.c", "gf__stb__image_8c_source.html", null ],
+ [ "gf_texture.c", "gf__texture_8c_source.html", null ],
+ [ "gf_version.c", "gf__version_8c_source.html", null ]
+];
\ No newline at end of file
diff --git a/engine/dir_8b86b195670ff9abc2799cc711b7f0dc.js b/engine/dir_8b86b195670ff9abc2799cc711b7f0dc.js
deleted file mode 100644
index ccd37f3..0000000
--- a/engine/dir_8b86b195670ff9abc2799cc711b7f0dc.js
+++ /dev/null
@@ -1,6 +0,0 @@
-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_a5f32cf82ad289a7dac212f63f40f55b.html b/engine/dir_a63dedf81f1e5ea1d42bb45ef831eb8c.html
similarity index 92%
rename from engine/dir_a5f32cf82ad289a7dac212f63f40f55b.html
rename to engine/dir_a63dedf81f1e5ea1d42bb45ef831eb8c.html
index 1ed4cff..d140864 100644
--- a/engine/dir_a5f32cf82ad289a7dac212f63f40f55b.html
+++ b/engine/dir_a63dedf81f1e5ea1d42bb45ef831eb8c.html
@@ -5,7 +5,7 @@
-GoldFish Engine: audio Directory Reference
+GoldFish Engine: src/audio Directory Reference
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
@@ -65,7 +64,7 @@ $(function() {
@@ -107,7 +106,7 @@ Files |
diff --git a/engine/dir_a5f32cf82ad289a7dac212f63f40f55b.js b/engine/dir_a63dedf81f1e5ea1d42bb45ef831eb8c.js
similarity index 75%
rename from engine/dir_a5f32cf82ad289a7dac212f63f40f55b.js
rename to engine/dir_a63dedf81f1e5ea1d42bb45ef831eb8c.js
index 1419deb..5d3cf82 100644
--- a/engine/dir_a5f32cf82ad289a7dac212f63f40f55b.js
+++ b/engine/dir_a63dedf81f1e5ea1d42bb45ef831eb8c.js
@@ -1,4 +1,4 @@
-var dir_a5f32cf82ad289a7dac212f63f40f55b =
+var dir_a63dedf81f1e5ea1d42bb45ef831eb8c =
[
[ "gf_audio_mod.c", "gf__audio__mod_8c_source.html", null ],
[ "gf_audio_xm.c", "gf__audio__xm_8c_source.html", null ]
diff --git a/engine/dir_755d8abb012f637854d4b2fb26e768d7.html b/engine/dir_a9b34658e7907785f8479c4760b6a49c.html
similarity index 88%
rename from engine/dir_755d8abb012f637854d4b2fb26e768d7.html
rename to engine/dir_a9b34658e7907785f8479c4760b6a49c.html
index 8b0fc72..5676555 100644
--- a/engine/dir_755d8abb012f637854d4b2fb26e768d7.html
+++ b/engine/dir_a9b34658e7907785f8479c4760b6a49c.html
@@ -5,7 +5,7 @@
-GoldFish Engine: graphic/opengl/wgl Directory Reference
+GoldFish Engine: src/graphic/opengl/wgl Directory Reference
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
@@ -65,7 +64,7 @@ $(function() {
@@ -105,7 +104,7 @@ Files |
diff --git a/engine/dir_755d8abb012f637854d4b2fb26e768d7.js b/engine/dir_a9b34658e7907785f8479c4760b6a49c.js
similarity index 61%
rename from engine/dir_755d8abb012f637854d4b2fb26e768d7.js
rename to engine/dir_a9b34658e7907785f8479c4760b6a49c.js
index 418f72f..51cfb39 100644
--- a/engine/dir_755d8abb012f637854d4b2fb26e768d7.js
+++ b/engine/dir_a9b34658e7907785f8479c4760b6a49c.js
@@ -1,4 +1,4 @@
-var dir_755d8abb012f637854d4b2fb26e768d7 =
+var dir_a9b34658e7907785f8479c4760b6a49c =
[
[ "gf_draw.c", "opengl_2wgl_2gf__draw_8c_source.html", null ]
];
\ No newline at end of file
diff --git a/engine/dir_cdfa954f69b2b39cda8325447a851899.html b/engine/dir_bc7c5e3621ab9884d751175cdc8197d4.html
similarity index 86%
rename from engine/dir_cdfa954f69b2b39cda8325447a851899.html
rename to engine/dir_bc7c5e3621ab9884d751175cdc8197d4.html
index 7d6a96a..c1c9cd2 100644
--- a/engine/dir_cdfa954f69b2b39cda8325447a851899.html
+++ b/engine/dir_bc7c5e3621ab9884d751175cdc8197d4.html
@@ -5,7 +5,7 @@
-GoldFish Engine: graphic/opengl Directory Reference
+GoldFish Engine: src/graphic/opengl Directory Reference
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
@@ -65,7 +64,7 @@ $(function() {
@@ -97,11 +96,11 @@ $(document).ready(function(){initNavTree('dir_cdfa954f69b2b39cda8325447a851899.h
|
diff --git a/engine/dir_bc7c5e3621ab9884d751175cdc8197d4.js b/engine/dir_bc7c5e3621ab9884d751175cdc8197d4.js
new file mode 100644
index 0000000..dd8fe15
--- /dev/null
+++ b/engine/dir_bc7c5e3621ab9884d751175cdc8197d4.js
@@ -0,0 +1,8 @@
+var dir_bc7c5e3621ab9884d751175cdc8197d4 =
+[
+ [ "glfw", "dir_0d98df33664112e13024255ca1b098d2.html", "dir_0d98df33664112e13024255ca1b098d2" ],
+ [ "glx", "dir_22f649445e791bda7c2b14c78388b946.html", "dir_22f649445e791bda7c2b14c78388b946" ],
+ [ "wgl", "dir_a9b34658e7907785f8479c4760b6a49c.html", "dir_a9b34658e7907785f8479c4760b6a49c" ],
+ [ "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_01284e59d658032137ac90170bc51d5c.html b/engine/dir_bfedb72b9d87795234454f6223b9ab1e.html
similarity index 88%
rename from engine/dir_01284e59d658032137ac90170bc51d5c.html
rename to engine/dir_bfedb72b9d87795234454f6223b9ab1e.html
index 3c1e1bd..5927506 100644
--- a/engine/dir_01284e59d658032137ac90170bc51d5c.html
+++ b/engine/dir_bfedb72b9d87795234454f6223b9ab1e.html
@@ -5,7 +5,7 @@
-GoldFish Engine: thread Directory Reference
+GoldFish Engine: src/thread Directory Reference
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
@@ -65,7 +64,7 @@ $(function() {
@@ -97,9 +96,9 @@ $(document).ready(function(){initNavTree('dir_01284e59d658032137ac90170bc51d5c.h
@@ -107,7 +106,7 @@ Directories |
diff --git a/engine/dir_bfedb72b9d87795234454f6223b9ab1e.js b/engine/dir_bfedb72b9d87795234454f6223b9ab1e.js
new file mode 100644
index 0000000..7f41d96
--- /dev/null
+++ b/engine/dir_bfedb72b9d87795234454f6223b9ab1e.js
@@ -0,0 +1,5 @@
+var dir_bfedb72b9d87795234454f6223b9ab1e =
+[
+ [ "posix", "dir_599f4bc7262791fc6e619beabec41e32.html", "dir_599f4bc7262791fc6e619beabec41e32" ],
+ [ "win32", "dir_6684fa0b48800166488fdb25c8e1a946.html", "dir_6684fa0b48800166488fdb25c8e1a946" ]
+];
\ No newline at end of file
diff --git a/engine/dir_cdfa954f69b2b39cda8325447a851899.js b/engine/dir_cdfa954f69b2b39cda8325447a851899.js
deleted file mode 100644
index 94e6e45..0000000
--- a/engine/dir_cdfa954f69b2b39cda8325447a851899.js
+++ /dev/null
@@ -1,8 +0,0 @@
-var dir_cdfa954f69b2b39cda8325447a851899 =
-[
- [ "glfw", "dir_78c3bd53007468ca0f7c2ae3b8c8a04a.html", "dir_78c3bd53007468ca0f7c2ae3b8c8a04a" ],
- [ "glx", "dir_b950b80d4849be3c17e5feffdf9623ad.html", "dir_b950b80d4849be3c17e5feffdf9623ad" ],
- [ "wgl", "dir_755d8abb012f637854d4b2fb26e768d7.html", "dir_755d8abb012f637854d4b2fb26e768d7" ],
- [ "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 6322bca..d05bc37 100644
--- a/engine/dir_d44c64559bbebec7f509842c48db8b23.html
+++ b/engine/dir_d44c64559bbebec7f509842c48db8b23.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/dir_e60f2706c8c207c5a951446d03370319.html b/engine/dir_e60f2706c8c207c5a951446d03370319.html
index c6f138f..ed0ab96 100644
--- a/engine/dir_e60f2706c8c207c5a951446d03370319.html
+++ b/engine/dir_e60f2706c8c207c5a951446d03370319.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/dir_036ee58afba6ae32492bae49fa57c3dc.html b/engine/dir_f3b487f46217856a45feb38703b75f99.html
similarity index 87%
rename from engine/dir_036ee58afba6ae32492bae49fa57c3dc.html
rename to engine/dir_f3b487f46217856a45feb38703b75f99.html
index d283e89..60ac6d0 100644
--- a/engine/dir_036ee58afba6ae32492bae49fa57c3dc.html
+++ b/engine/dir_f3b487f46217856a45feb38703b75f99.html
@@ -5,7 +5,7 @@
-GoldFish Engine: graphic/directx/dx11 Directory Reference
+GoldFish Engine: src/graphic/directx/dx11 Directory Reference
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
@@ -65,7 +64,7 @@ $(function() {
@@ -105,7 +104,7 @@ Files |
diff --git a/engine/dir_036ee58afba6ae32492bae49fa57c3dc.js b/engine/dir_f3b487f46217856a45feb38703b75f99.js
similarity index 62%
rename from engine/dir_036ee58afba6ae32492bae49fa57c3dc.js
rename to engine/dir_f3b487f46217856a45feb38703b75f99.js
index 47d0e31..764bda3 100644
--- a/engine/dir_036ee58afba6ae32492bae49fa57c3dc.js
+++ b/engine/dir_f3b487f46217856a45feb38703b75f99.js
@@ -1,4 +1,4 @@
-var dir_036ee58afba6ae32492bae49fa57c3dc =
+var dir_f3b487f46217856a45feb38703b75f99 =
[
[ "gf_draw.c", "directx_2dx11_2gf__draw_8c_source.html", null ]
];
\ No newline at end of file
diff --git a/engine/directx_2dx11_2gf__draw_8c_source.html b/engine/directx_2dx11_2gf__draw_8c_source.html
index 8aa6341..18577f7 100644
--- a/engine/directx_2dx11_2gf__draw_8c_source.html
+++ b/engine/directx_2dx11_2gf__draw_8c_source.html
@@ -5,7 +5,7 @@
-GoldFish Engine: graphic/directx/dx11/gf_draw.c Source File
+GoldFish Engine: src/graphic/directx/dx11/gf_draw.c Source File
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
@@ -121,8 +120,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) {
@@ -140,7 +139,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);
+
@@ -197,10 +196,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)) {
@@ -213,9 +212,9 @@ $(document).ready(function(){initNavTree('directx_2dx11_2gf__draw_8c_source.html
- 114 gf_draw_driver_before(draw);
-
- 116 gf_draw_driver_after(draw);
+
+
+
@@ -224,7 +223,7 @@ $(document).ready(function(){initNavTree('directx_2dx11_2gf__draw_8c_source.html
-
+
@@ -235,7 +234,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);
+
@@ -253,14 +252,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);
+
@@ -282,7 +281,7 @@ $(document).ready(function(){initNavTree('directx_2dx11_2gf__draw_8c_source.html
-
+
180 if(platform->dc != NULL) {
181 ReleaseDC(platform->window, platform->dc);
@@ -295,8 +294,18 @@ $(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.
@@ -323,7 +332,7 @@ $(document).ready(function(){initNavTree('directx_2dx11_2gf__draw_8c_source.html
diff --git a/engine/directx_2gf__driver_8c_source.html b/engine/directx_2gf__driver_8c_source.html
index 3542347..7c145b6 100644
--- a/engine/directx_2gf__driver_8c_source.html
+++ b/engine/directx_2gf__driver_8c_source.html
@@ -5,7 +5,7 @@
-GoldFish Engine: graphic/directx/gf_driver.c Source File
+GoldFish Engine: src/graphic/directx/gf_driver.c Source File
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
@@ -124,21 +123,21 @@ $(document).ready(function(){initNavTree('directx_2gf__driver_8c_source.html',''
-
+
37 memset(draw_driver, 0, sizeof(*draw_driver));
38 draw_driver->engine = engine;
@@ -149,18 +148,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) { }
+
-
+
-
+
@@ -168,23 +167,36 @@ $(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.
@@ -201,7 +213,7 @@ $(document).ready(function(){initNavTree('directx_2gf__driver_8c_source.html',''
diff --git a/engine/directx_2gf__graphic_8c_source.html b/engine/directx_2gf__graphic_8c_source.html
index 8d27462..74f0f4c 100644
--- a/engine/directx_2gf__graphic_8c_source.html
+++ b/engine/directx_2gf__graphic_8c_source.html
@@ -5,7 +5,7 @@
-GoldFish Engine: graphic/directx/gf_graphic.c Source File
+GoldFish Engine: src/graphic/directx/gf_graphic.c Source File
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
@@ -120,23 +119,30 @@ $(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.
@@ -149,7 +155,7 @@ $(document).ready(function(){initNavTree('directx_2gf__graphic_8c_source.html','
diff --git a/engine/draw_8h.html b/engine/draw_8h.html
index f3ea2b1..71b2f75 100644
--- a/engine/draw_8h.html
+++ b/engine/draw_8h.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/draw_8h_source.html b/engine/draw_8h_source.html
index cd27ad8..ab980ba 100644
--- a/engine/draw_8h_source.html
+++ b/engine/draw_8h_source.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/draw__driver_8h.html b/engine/draw__driver_8h.html
index 64d2b4b..da69397 100644
--- a/engine/draw__driver_8h.html
+++ b/engine/draw__driver_8h.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/draw__driver_8h_source.html b/engine/draw__driver_8h_source.html
index 0ec8a67..d89849e 100644
--- a/engine/draw__driver_8h_source.html
+++ b/engine/draw__driver_8h_source.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/draw__platform_8h.html b/engine/draw__platform_8h.html
index c0b65a8..e3e4996 100644
--- a/engine/draw__platform_8h.html
+++ b/engine/draw__platform_8h.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/draw__platform_8h_source.html b/engine/draw__platform_8h_source.html
index babaef6..97ff2dc 100644
--- a/engine/draw__platform_8h_source.html
+++ b/engine/draw__platform_8h_source.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/files.html b/engine/files.html
index 0b6e843..31a4112 100644
--- a/engine/files.html
+++ b/engine/files.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
@@ -95,96 +94,97 @@ $(document).ready(function(){initNavTree('files.html',''); initResizable(); });
Here is a list of all documented files with brief descriptions:
- [detail level 1234]
- ▼ audio | |
- gf_audio_mod.c | |
- gf_audio_xm.c | |
- ▼ graphic | |
- ▼ 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 | |
- audio.h | Type definitions related to audio interface |
- client.h | Type definitions related to client interface |
- compat.h | Type definitions for C99 types in C89 |
- core.h | Type definitions related to core |
- draw.h | Type definitions related to drawing interface |
- draw_driver.h | Type definitions related to drawing driver |
- draw_platform.h | Type definitions related to platform-dependent part of drawing driver |
- font.h | Type definitions related to font |
- graphic.h | Type definitions related to graphic interface |
- gui.h | Type definitions related to GUI |
- input.h | Type definitions related to input interface |
- math.h | Type definitions related to math |
- mesh.h | Type definitions related to mesh |
- model.h | Type definitions related to model |
- physics.h | Type definitions related to physics interface |
- server.h | Type definitions related to server interface |
- texture.h | Type definitions related to texture |
- thread.h | Type definitions related to thread interface |
- version.h | Type definitions related to version |
- gf_audio.h | Audio interface |
- gf_client.h | Client interface |
- gf_core.h | Core |
- gf_directx.h | DirectX headers |
- gf_draw.h | Drawing interface |
- gf_draw_driver.h | Drawing driver |
- gf_draw_platform.h | Platform-dependent part of drawing driver |
- gf_font.h | Font |
- gf_graphic.h | Graphic interface |
- gf_gui.h | GUI |
- gf_input.h | Input |
- gf_log.h | Logger |
- gf_macro.h | Macro |
- gf_math.h | Math |
- gf_mesh.h | Mesh |
- gf_model.h | Model |
- gf_opengl.h | OpenGL headers |
- gf_physics.h | Physics interface |
- gf_pre.h | Required headers before anything |
- gf_server.h | Client interface |
- gf_texture.h | Texture |
- gf_thread.h | Thread interface |
- gf_version.h | Version |
- ▼ thread | |
- ▼ posix | |
- gf_thread.c | |
- ▼ win32 | |
- gf_thread.c | |
- ▼ util | |
- ▼ engineinfo | |
- main_console.c | |
- main_windows.c | |
- gf_audio.c | |
- gf_client.c | |
- gf_core.c | |
- gf_draw_common.c | |
- gf_font.c | |
- gf_graphic_common.c | |
- gf_gui.c | |
- gf_input.c | |
- gf_log.c | |
- gf_math.c | |
- gf_mesh.c | |
- gf_miniaudio.c | |
- gf_model.c | |
- gf_physics.c | |
- gf_server.c | |
- gf_stb_image.c | |
- gf_texture.c | |
- gf_version.c | |
+[detail level 12345]
diff --git a/engine/files_dup.js b/engine/files_dup.js
index 22fd240..ed06eb3 100644
--- a/engine/files_dup.js
+++ b/engine/files_dup.js
@@ -1,26 +1,6 @@
var files_dup =
[
- [ "audio", "dir_a5f32cf82ad289a7dac212f63f40f55b.html", "dir_a5f32cf82ad289a7dac212f63f40f55b" ],
- [ "graphic", "dir_5a32c7c5d9a7b7a4563b24a8e4acb19a.html", "dir_5a32c7c5d9a7b7a4563b24a8e4acb19a" ],
[ "include", "dir_d44c64559bbebec7f509842c48db8b23.html", "dir_d44c64559bbebec7f509842c48db8b23" ],
- [ "thread", "dir_01284e59d658032137ac90170bc51d5c.html", "dir_01284e59d658032137ac90170bc51d5c" ],
- [ "util", "dir_23ec12649285f9fabf3a6b7380226c28.html", "dir_23ec12649285f9fabf3a6b7380226c28" ],
- [ "gf_audio.c", "gf__audio_8c_source.html", null ],
- [ "gf_client.c", "gf__client_8c_source.html", null ],
- [ "gf_core.c", "gf__core_8c_source.html", null ],
- [ "gf_draw_common.c", "gf__draw__common_8c_source.html", null ],
- [ "gf_font.c", "gf__font_8c_source.html", null ],
- [ "gf_graphic_common.c", "gf__graphic__common_8c_source.html", null ],
- [ "gf_gui.c", "gf__gui_8c_source.html", null ],
- [ "gf_input.c", "gf__input_8c_source.html", null ],
- [ "gf_log.c", "gf__log_8c_source.html", null ],
- [ "gf_math.c", "gf__math_8c_source.html", null ],
- [ "gf_mesh.c", "gf__mesh_8c_source.html", null ],
- [ "gf_miniaudio.c", "gf__miniaudio_8c_source.html", null ],
- [ "gf_model.c", "gf__model_8c_source.html", null ],
- [ "gf_physics.c", "gf__physics_8c_source.html", null ],
- [ "gf_server.c", "gf__server_8c_source.html", null ],
- [ "gf_stb_image.c", "gf__stb__image_8c_source.html", null ],
- [ "gf_texture.c", "gf__texture_8c_source.html", null ],
- [ "gf_version.c", "gf__version_8c_source.html", null ]
+ [ "src", "dir_68267d1309a1af8e8297ef4c3efbcdba.html", "dir_68267d1309a1af8e8297ef4c3efbcdba" ],
+ [ "util", "dir_23ec12649285f9fabf3a6b7380226c28.html", "dir_23ec12649285f9fabf3a6b7380226c28" ]
];
\ No newline at end of file
diff --git a/engine/font_8h.html b/engine/font_8h.html
index e09951f..6365daf 100644
--- a/engine/font_8h.html
+++ b/engine/font_8h.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/font_8h_source.html b/engine/font_8h_source.html
index e040357..64c8b6c 100644
--- a/engine/font_8h_source.html
+++ b/engine/font_8h_source.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/functions.html b/engine/functions.html
index ddb3d8b..eacc1bf 100644
--- a/engine/functions.html
+++ b/engine/functions.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/functions_vars.html b/engine/functions_vars.html
index 9dfa3a5..a2034b5 100644
--- a/engine/functions_vars.html
+++ b/engine/functions_vars.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/gf__audio_8c_source.html b/engine/gf__audio_8c_source.html
index e0e1318..0230b3f 100644
--- a/engine/gf__audio_8c_source.html
+++ b/engine/gf__audio_8c_source.html
@@ -5,7 +5,7 @@
-GoldFish Engine: gf_audio.c Source File
+GoldFish Engine: src/gf_audio.c Source File
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
@@ -148,7 +147,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]);
+
@@ -165,7 +164,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]);
+
@@ -182,7 +181,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]);
+
@@ -196,7 +195,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);
@@ -252,7 +251,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");
@@ -264,7 +263,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);
+
@@ -273,7 +272,7 @@ $(document).ready(function(){initNavTree('gf__audio_8c_source.html',''); initRes
-
+
@@ -301,7 +300,7 @@ $(document).ready(function(){initNavTree('gf__audio_8c_source.html',''); initRes
- 198 gf_audio_destroy(audio);
+
@@ -310,13 +309,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);
+
@@ -331,7 +330,7 @@ $(document).ready(function(){initNavTree('gf__audio_8c_source.html',''); initRes
-
+
229 ma_decoder_uninit(decoder-> decoder);
@@ -353,7 +352,7 @@ $(document).ready(function(){initNavTree('gf__audio_8c_source.html',''); initRes
-
+
248 if(audio-> device != NULL) {
249 ma_device_uninit(audio-> device);
@@ -364,7 +363,7 @@ $(document).ready(function(){initNavTree('gf__audio_8c_source.html',''); initRes
- 257 gf_audio_decoder_destroy(&audio-> decoder[i]);
+
@@ -372,7 +371,7 @@ $(document).ready(function(){initNavTree('gf__audio_8c_source.html',''); initRes
-
+
264 ma_mutex_lock(audio-> mutex);
266 ma_mutex_unlock(audio-> mutex);
@@ -380,16 +379,24 @@ $(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.
@@ -414,7 +421,7 @@ $(document).ready(function(){initNavTree('gf__audio_8c_source.html',''); initRes
- - gf_audio.c
+ - src
- gf_audio.c
diff --git a/engine/gf__audio_8h.html b/engine/gf__audio_8h.html
index 901bb23..c6a5a33 100644
--- a/engine/gf__audio_8h.html
+++ b/engine/gf__audio_8h.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/gf__audio_8h_source.html b/engine/gf__audio_8h_source.html
index a361fc4..da0ba84 100644
--- a/engine/gf__audio_8h_source.html
+++ b/engine/gf__audio_8h_source.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/gf__audio__mod_8c_source.html b/engine/gf__audio__mod_8c_source.html
index df7a3fc..84641b0 100644
--- a/engine/gf__audio__mod_8c_source.html
+++ b/engine/gf__audio__mod_8c_source.html
@@ -5,7 +5,7 @@
-GoldFish Engine: audio/gf_audio_mod.c Source File
+GoldFish Engine: src/audio/gf_audio_mod.c Source File
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
@@ -116,7 +115,7 @@ $(document).ready(function(){initNavTree('gf__audio__mod_8c_source.html',''); in
diff --git a/engine/gf__audio__xm_8c_source.html b/engine/gf__audio__xm_8c_source.html
index 884a24a..ed15859 100644
--- a/engine/gf__audio__xm_8c_source.html
+++ b/engine/gf__audio__xm_8c_source.html
@@ -5,7 +5,7 @@
-GoldFish Engine: audio/gf_audio_xm.c Source File
+GoldFish Engine: src/audio/gf_audio_xm.c Source File
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
@@ -116,7 +115,7 @@ $(document).ready(function(){initNavTree('gf__audio__xm_8c_source.html',''); ini
diff --git a/engine/gf__client_8c_source.html b/engine/gf__client_8c_source.html
index adec7ad..996add7 100644
--- a/engine/gf__client_8c_source.html
+++ b/engine/gf__client_8c_source.html
@@ -5,7 +5,7 @@
-GoldFish Engine: gf_client.c Source File
+GoldFish Engine: src/gf_client.c Source File
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
@@ -119,53 +118,68 @@ $(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.
@@ -180,7 +194,7 @@ $(document).ready(function(){initNavTree('gf__client_8c_source.html',''); initRe
- - gf_client.c
+ - src
- gf_client.c
diff --git a/engine/gf__client_8h.html b/engine/gf__client_8h.html
index 56a1a46..55e7527 100644
--- a/engine/gf__client_8h.html
+++ b/engine/gf__client_8h.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/gf__client_8h_source.html b/engine/gf__client_8h_source.html
index 08f3921..bffa055 100644
--- a/engine/gf__client_8h_source.html
+++ b/engine/gf__client_8h_source.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/gf__core_8c_source.html b/engine/gf__core_8c_source.html
index c26d031..b34863f 100644
--- a/engine/gf__core_8c_source.html
+++ b/engine/gf__core_8c_source.html
@@ -5,7 +5,7 @@
-GoldFish Engine: gf_core.c Source File
+GoldFish Engine: src/gf_core.c Source File
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
@@ -123,12 +122,12 @@ $(document).ready(function(){initNavTree('gf__core_8c_source.html',''); initResi
- 24void gf_engine_begin( void) {
+
-
+
@@ -139,20 +138,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));
@@ -161,44 +160,59 @@ $(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.
@@ -216,7 +230,7 @@ $(document).ready(function(){initNavTree('gf__core_8c_source.html',''); initResi
- - gf_core.c
+ - src
- gf_core.c
diff --git a/engine/gf__core_8h.html b/engine/gf__core_8h.html
index 25f7f33..c34f522 100644
--- a/engine/gf__core_8h.html
+++ b/engine/gf__core_8h.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/gf__core_8h_source.html b/engine/gf__core_8h_source.html
index 0517ebd..f0f73e0 100644
--- a/engine/gf__core_8h_source.html
+++ b/engine/gf__core_8h_source.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/gf__directx_8h.html b/engine/gf__directx_8h.html
index cee3305..763aeab 100644
--- a/engine/gf__directx_8h.html
+++ b/engine/gf__directx_8h.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/gf__directx_8h_source.html b/engine/gf__directx_8h_source.html
index 067e023..911373b 100644
--- a/engine/gf__directx_8h_source.html
+++ b/engine/gf__directx_8h_source.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/gf__draw_8h.html b/engine/gf__draw_8h.html
index 06d22a9..e35ec58 100644
--- a/engine/gf__draw_8h.html
+++ b/engine/gf__draw_8h.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/gf__draw_8h_source.html b/engine/gf__draw_8h_source.html
index e8425d1..661849d 100644
--- a/engine/gf__draw_8h_source.html
+++ b/engine/gf__draw_8h_source.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/gf__draw__common_8c_source.html b/engine/gf__draw__common_8c_source.html
index 06081d3..86256e3 100644
--- a/engine/gf__draw__common_8c_source.html
+++ b/engine/gf__draw__common_8c_source.html
@@ -5,7 +5,7 @@
-GoldFish Engine: gf_draw_common.c Source File
+GoldFish Engine: src/gf_draw_common.c Source File
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
@@ -124,14 +123,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));
@@ -143,10 +142,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);
+
+
@@ -162,24 +161,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); }
+
@@ -192,19 +191,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,
+
@@ -220,13 +219,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;
@@ -235,27 +234,50 @@ $(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.
@@ -289,7 +311,7 @@ $(document).ready(function(){initNavTree('gf__draw__common_8c_source.html','');
- - gf_draw_common.c
+ - src
- gf_draw_common.c
diff --git a/engine/gf__draw__driver_8h.html b/engine/gf__draw__driver_8h.html
index d887818..e31cecd 100644
--- a/engine/gf__draw__driver_8h.html
+++ b/engine/gf__draw__driver_8h.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/gf__draw__driver_8h_source.html b/engine/gf__draw__driver_8h_source.html
index 1c1da6b..c40d6cc 100644
--- a/engine/gf__draw__driver_8h_source.html
+++ b/engine/gf__draw__driver_8h_source.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/gf__draw__platform_8h.html b/engine/gf__draw__platform_8h.html
index 13c385e..474296d 100644
--- a/engine/gf__draw__platform_8h.html
+++ b/engine/gf__draw__platform_8h.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/gf__draw__platform_8h_source.html b/engine/gf__draw__platform_8h_source.html
index e2781b3..5fe5e2c 100644
--- a/engine/gf__draw__platform_8h_source.html
+++ b/engine/gf__draw__platform_8h_source.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/gf__font_8c_source.html b/engine/gf__font_8c_source.html
index 161378b..6fa38e2 100644
--- a/engine/gf__font_8c_source.html
+++ b/engine/gf__font_8c_source.html
@@ -5,7 +5,7 @@
-GoldFish Engine: gf_font.c Source File
+GoldFish Engine: src/gf_font.c Source File
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
@@ -119,7 +118,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++) {
@@ -193,7 +192,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;
@@ -239,7 +238,7 @@ $(document).ready(function(){initNavTree('gf__font_8c_source.html',''); initResi
-
+
@@ -279,11 +278,14 @@ $(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.
@@ -304,7 +306,7 @@ $(document).ready(function(){initNavTree('gf__font_8c_source.html',''); initResi
- - gf_font.c
+ - src
- gf_font.c
diff --git a/engine/gf__font_8h.html b/engine/gf__font_8h.html
index 38e81a0..9cbebe6 100644
--- a/engine/gf__font_8h.html
+++ b/engine/gf__font_8h.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/gf__font_8h_source.html b/engine/gf__font_8h_source.html
index 196b242..40168b3 100644
--- a/engine/gf__font_8h_source.html
+++ b/engine/gf__font_8h_source.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/gf__graphic_8h.html b/engine/gf__graphic_8h.html
index 2b82902..d9d29ea 100644
--- a/engine/gf__graphic_8h.html
+++ b/engine/gf__graphic_8h.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/gf__graphic_8h_source.html b/engine/gf__graphic_8h_source.html
index 899df9c..1bbb19f 100644
--- a/engine/gf__graphic_8h_source.html
+++ b/engine/gf__graphic_8h_source.html
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
diff --git a/engine/gf__graphic__common_8c_source.html b/engine/gf__graphic__common_8c_source.html
index d22c11e..2a2b733 100644
--- a/engine/gf__graphic__common_8c_source.html
+++ b/engine/gf__graphic__common_8c_source.html
@@ -5,7 +5,7 @@
-GoldFish Engine: gf_graphic_common.c Source File
+GoldFish Engine: src/gf_graphic_common.c Source File
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
@@ -117,10 +116,10 @@ $(document).ready(function(){initNavTree('gf__graphic__common_8c_source.html',''
- 19void gf_graphic_fill_rect( gf_draw_t* draw, double x, double y, double w, double h, gf_graphic_color_t color) { gf_graphic_fill_polygon(draw, color, GF_GRAPHIC_2D, 4, x, y, x, y + h, x + w, y + h, x + w, y); }
+ 19void gf_graphic_fill_rect( gf_draw_t* draw, double x, double y, double w, double h, gf_graphic_color_t color) { gf_graphic_fill_polygon(draw, color, GF_GRAPHIC_2D, 4, x, y, x, y + h, x + w, y + h, x + w, y); }
-
+
@@ -128,12 +127,12 @@ $(document).ready(function(){initNavTree('gf__graphic__common_8c_source.html',''
26 if(draw-> font != NULL) {
28 for(i = 0; text[i] != 0; i++) {
- 29 if((glyph = gf_font_get(draw-> font, text[i])) != NULL) {
+
32 double fx = glyph-> bbox. x;
- 34 gf_graphic_draw_texture_2d(draw, x + mx + fx * zoom, y + fy * zoom, zoom * fax, zoom * fay, glyph-> texture, color);
+
35 mx += zoom * glyph-> dwidth[0];
@@ -142,7 +141,7 @@ $(document).ready(function(){initNavTree('gf__graphic__common_8c_source.html',''
- 41double gf_graphic_text_width( gf_draw_t* draw, double size, const char* text) {
+
@@ -150,7 +149,7 @@ $(document).ready(function(){initNavTree('gf__graphic__common_8c_source.html',''
46 if(draw-> font != NULL) {
48 for(i = 0; text[i] != 0; i++) {
- 49 if((glyph = gf_font_get(draw-> font, text[i])) != NULL) {
+
50 mx += zoom * glyph-> dwidth[0];
@@ -160,13 +159,20 @@ $(document).ready(function(){initNavTree('gf__graphic__common_8c_source.html',''
-
- 58 if(texture != NULL) gf_graphic_draw_texture_polygon(draw, texture, color, GF_GRAPHIC_2D, 4, 0.0, 0.0, x, y, 0.0, 1.0, x, y + h, 1.0, 1.0, x + w, y + h, 1.0, 0.0, x + w, y);
+
+ 58 if(texture != NULL) gf_graphic_draw_texture_polygon(draw, texture, color, GF_GRAPHIC_2D, 4, 0.0, 0.0, x, y, 0.0, 1.0, x, y + h, 1.0, 1.0, x + w, y + h, 1.0, 0.0, x + w, y);
+gf_font_glyph_t * gf_font_get(gf_font_t *font, int code) Get glyph.
+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.
+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_fill_rect(gf_draw_t *draw, double x, double y, double w, double h, gf_graphic_color_t color) Draw filled rectangle.
+void gf_graphic_fill_polygon(gf_draw_t *draw, gf_graphic_color_t color, int dim, int npair,...) Draw polygon.
+void gf_graphic_text(gf_draw_t *draw, double x, double y, double size, const char *text, gf_graphic_color_t color) Draw text.
+double gf_graphic_text_width(gf_draw_t *draw, double size, const char *text) Calculate text width.
#define GF_GRAPHIC_2D Dimension parameter for 2D.
Required headers before anything.
@@ -187,7 +193,7 @@ $(document).ready(function(){initNavTree('gf__graphic__common_8c_source.html',''
- - gf_graphic_common.c
+ - src
- gf_graphic_common.c
diff --git a/engine/gf__gui_8c_source.html b/engine/gf__gui_8c_source.html
index 1f9d0ee..5beb506 100644
--- a/engine/gf__gui_8c_source.html
+++ b/engine/gf__gui_8c_source.html
@@ -5,7 +5,7 @@
-GoldFish Engine: gf_gui.c Source File
+GoldFish Engine: src/gf_gui.c Source File
@@ -24,7 +24,6 @@
-  |
GoldFish Engine
@@ -125,7 +124,7 @@ $(document).ready(function(){initNavTree('gf__gui_8c_source.html',''); initResiz
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |