diff --git a/engine/annotated.html b/engine/annotated.html index 290dfe1..4fed5ae 100644 --- a/engine/annotated.html +++ b/engine/annotated.html @@ -96,31 +96,33 @@ $(document).ready(function(){initNavTree('annotated.html',''); initResizable();
Here are the data structures with brief descriptions:
- - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + +
 Cgf_client_tClient interface
 Cgf_draw_driver_tDrawing driver
 Cgf_draw_driver_texture_tDriver-dependent texture
 Cgf_draw_platform_tPlatform-dependent part of drawing driver
 Cgf_draw_tDrawing interface
 Cgf_engine_tEngine instance
 Cgf_font_bbox_tBounding box
 Cgf_font_glyph_tGlyph
 Cgf_font_store_t
 Cgf_font_tFont
 Cgf_graphic_color_tColor
 Cgf_gui_button_tButton component
 Cgf_gui_component_tComponent
 Cgf_gui_tGUI
 Cgf_gui_union_tComponent union
 Cgf_input_tInput interface
 Cgf_mesh_tMesh
 Cgf_mesh_triangle_tTriangle
 Cgf_model_tModel
 Cgf_physics_tPhysics interface
 Cgf_server_tServer interface
 Cgf_texture_tTexture
 Cgf_thread_context_tThread context
 Cgf_thread_tPlatform-dependent thread
 Cgf_version_tVersion
 Cgf_audio_decoder_tAudio decoder
 Cgf_audio_tAudio interface
 Cgf_client_tClient interface
 Cgf_draw_driver_tDrawing driver
 Cgf_draw_driver_texture_tDriver-dependent texture
 Cgf_draw_platform_tPlatform-dependent part of drawing driver
 Cgf_draw_tDrawing interface
 Cgf_engine_tEngine instance
 Cgf_font_bbox_tBounding box
 Cgf_font_glyph_tGlyph
 Cgf_font_store_t
 Cgf_font_tFont
 Cgf_graphic_color_tColor
 Cgf_gui_button_tButton component
 Cgf_gui_component_tComponent
 Cgf_gui_tGUI
 Cgf_gui_union_tComponent union
 Cgf_input_tInput interface
 Cgf_mesh_tMesh
 Cgf_mesh_triangle_tTriangle
 Cgf_model_tModel
 Cgf_physics_tPhysics interface
 Cgf_server_tServer interface
 Cgf_texture_tTexture
 Cgf_thread_context_tThread context
 Cgf_thread_tPlatform-dependent thread
 Cgf_version_tVersion
diff --git a/engine/annotated_dup.js b/engine/annotated_dup.js index 9dd5dfc..c75ed85 100644 --- a/engine/annotated_dup.js +++ b/engine/annotated_dup.js @@ -1,5 +1,7 @@ var annotated_dup = [ + [ "gf_audio_decoder_t", "structgf__audio__decoder__t.html", "structgf__audio__decoder__t" ], + [ "gf_audio_t", "structgf__audio__t.html", "structgf__audio__t" ], [ "gf_client_t", "structgf__client__t.html", "structgf__client__t" ], [ "gf_draw_driver_t", "structgf__draw__driver__t.html", null ], [ "gf_draw_driver_texture_t", "structgf__draw__driver__texture__t.html", null ], diff --git a/engine/audio_8h.html b/engine/audio_8h.html new file mode 100644 index 0000000..7809365 --- /dev/null +++ b/engine/audio_8h.html @@ -0,0 +1,158 @@ + + + + + + + +GoldFish Engine: include/gf_type/audio.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + + +
+
GoldFish Engine +
+
Quite simple and lightweight game engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
audio.h File Reference
+
+
+ +

Type definitions related to audio interface. +More...

+
#include <gf_pre.h>
+#include <gf_macro.h>
+#include <miniaudio.h>
+#include <gf_type/core.h>
+
+

Go to the source code of this file.

+ + + + + + + + +

+Data Structures

struct  gf_audio_decoder_t
 Audio decoder. More...
 
struct  gf_audio_t
 Audio interface. More...
 
+ + + + +

+Macros

#define GF_AUDIO_MAX_DECODERS   64
 Max decoders audio interface can handle.
 
+

Detailed Description

+

Type definitions related to audio interface.

+ +

Definition in file audio.h.

+

Macro Definition Documentation

+ +

◆ GF_AUDIO_MAX_DECODERS

+ +
+
+ + + + +
#define GF_AUDIO_MAX_DECODERS   64
+
+ +

Max decoders audio interface can handle.

+ +

Definition at line 29 of file audio.h.

+ +
+
+
+
+ + + + diff --git a/engine/audio_8h.js b/engine/audio_8h.js new file mode 100644 index 0000000..b88cadf --- /dev/null +++ b/engine/audio_8h.js @@ -0,0 +1,6 @@ +var audio_8h = +[ + [ "gf_audio_decoder_t", "structgf__audio__decoder__t.html", "structgf__audio__decoder__t" ], + [ "gf_audio_t", "structgf__audio__t.html", "structgf__audio__t" ], + [ "GF_AUDIO_MAX_DECODERS", "audio_8h.html#a6d19d179e9a386872980ec047b37345c", null ] +]; \ No newline at end of file diff --git a/engine/audio_8h_source.html b/engine/audio_8h_source.html new file mode 100644 index 0000000..ea8ba31 --- /dev/null +++ b/engine/audio_8h_source.html @@ -0,0 +1,162 @@ + + + + + + + +GoldFish Engine: include/gf_type/audio.h Source File + + + + + + + + + + + + + +
+
+ + + + + + + +
+
GoldFish Engine +
+
Quite simple and lightweight game engine
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
audio.h
+
+
+Go to the documentation of this file.
1
+
7#ifndef __GF_TYPE_AUDIO_H__
+
8#define __GF_TYPE_AUDIO_H__
+
9
+
10#include <gf_pre.h>
+
11#include <gf_macro.h>
+
12
+
13#ifdef GF_EXPOSE_AUDIO
+
14typedef struct gf_audio_t gf_audio_t;
+ +
16
+
17/* External library */
+
18#include <miniaudio.h>
+
19
+
20/* Engine */
+
21#include <gf_type/core.h>
+
22
+
23/* Standard */
+
24
+
29#define GF_AUDIO_MAX_DECODERS 64
+
30
+
45GF_DECLARE_TYPE(audio_decoder, {
+
46 ma_decoder_config decoder_config;
+
47 ma_decoder* decoder;
+
48 int used;
+
49});
+
50
+
68GF_DECLARE_TYPE(audio, {
+
69 gf_engine_t* engine;
+
70 ma_device_config device_config;
+
71 ma_device* device;
+ +
73});
+
74#else
+
75typedef void gf_audio_decoder_t;
+
76typedef void gf_audio_t;
+
77#endif
+
78
+
79#endif
+
#define GF_AUDIO_MAX_DECODERS
Max decoders audio interface can handle.
Definition audio.h:29
+
Type definitions related to core.
+ +
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Definition gf_macro.h:180
+
Required headers before anything.
+
Audio decoder.
Definition audio.h:49
+
ma_decoder_config decoder_config
miniaudio decoder config
Definition audio.h:49
+
int used
1 if used, otherwise 0
Definition audio.h:49
+
ma_decoder * decoder
miniaudio decoder
Definition audio.h:49
+
Audio interface.
Definition audio.h:73
+
Engine instance.
Definition core.h:46
+
+
+ + + + diff --git a/engine/classes.html b/engine/classes.html index 90ca04a..ec9a076 100644 --- a/engine/classes.html +++ b/engine/classes.html @@ -98,7 +98,7 @@ $(document).ready(function(){initNavTree('classes.html',''); initResizable(); })
G
-
gf_client_t
gf_draw_driver_t
gf_draw_driver_texture_t
gf_draw_platform_t
gf_draw_t
gf_engine_t
gf_font_bbox_t
gf_font_glyph_t
gf_font_store_t
gf_font_t
gf_graphic_color_t
gf_gui_button_t
gf_gui_component_t
gf_gui_t
gf_gui_union_t
gf_input_t
gf_mesh_t
gf_mesh_triangle_t
gf_model_t
gf_physics_t
gf_server_t
gf_texture_t
gf_thread_context_t
gf_thread_t
gf_version_t
+
gf_audio_decoder_t
gf_audio_t
gf_client_t
gf_draw_driver_t
gf_draw_driver_texture_t
gf_draw_platform_t
gf_draw_t
gf_engine_t
gf_font_bbox_t
gf_font_glyph_t
gf_font_store_t
gf_font_t
gf_graphic_color_t
gf_gui_button_t
gf_gui_component_t
gf_gui_t
gf_gui_union_t
gf_input_t
gf_mesh_t
gf_mesh_triangle_t
gf_model_t
gf_physics_t
gf_server_t
gf_texture_t
gf_thread_context_t
gf_thread_t
gf_version_t
diff --git a/engine/client_8h.html b/engine/client_8h.html index 8152db3..81f3e64 100644 --- a/engine/client_8h.html +++ b/engine/client_8h.html @@ -104,6 +104,7 @@ $(document).ready(function(){initNavTree('client_8h.html',''); initResizable(); #include <gf_type/core.h>
#include <gf_type/draw.h>
#include <gf_type/input.h>
+#include <gf_type/audio.h>

Go to the source code of this file.

diff --git a/engine/client_8h_source.html b/engine/client_8h_source.html index 3c94bae..8e49adb 100644 --- a/engine/client_8h_source.html +++ b/engine/client_8h_source.html @@ -115,29 +115,34 @@ $(document).ready(function(){initNavTree('client_8h_source.html',''); initResiza
19#include <gf_type/core.h>
20#include <gf_type/draw.h>
21#include <gf_type/input.h>
-
22
-
23/* Standard */
-
24
-
39GF_DECLARE_TYPE(client, {
-
40 gf_engine_t* engine;
-
41 gf_draw_t* draw;
-
42 gf_input_t* input;
-
43});
-
44#else
-
45typedef void gf_client_t;
-
46#endif
-
47
-
48#endif
+
22#include <gf_type/audio.h>
+
23
+
24/* Standard */
+
25
+
43GF_DECLARE_TYPE(client, {
+
44 gf_engine_t* engine;
+
45 gf_draw_t* draw;
+
46 gf_input_t* input;
+
47 gf_audio_t* audio;
+
48});
+
49#else
+
50typedef void gf_client_t;
+
51#endif
+
52
+
53#endif
+
audio.h
Type definitions related to audio interface.
core.h
Type definitions related to core.
draw.h
Type definitions related to drawing interface.
gf_macro.h
Macro.
-
GF_DECLARE_TYPE
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Definition gf_macro.h:172
+
GF_DECLARE_TYPE
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Definition gf_macro.h:180
gf_pre.h
Required headers before anything.
input.h
Type definitions related to input interface.
-
gf_client_t
Client interface.
Definition client.h:43
-
gf_client_t::draw
gf_draw_t * draw
Drawing interface.
Definition client.h:43
-
gf_client_t::input
gf_input_t * input
Input interface.
Definition client.h:43
-
gf_client_t::engine
gf_engine_t * engine
Engine instance.
Definition client.h:43
+
gf_audio_t
Audio interface.
Definition audio.h:73
+
gf_client_t
Client interface.
Definition client.h:48
+
gf_client_t::draw
gf_draw_t * draw
Drawing interface.
Definition client.h:48
+
gf_client_t::audio
gf_audio_t * audio
Audio interface.
Definition client.h:48
+
gf_client_t::input
gf_input_t * input
Input interface.
Definition client.h:48
+
gf_client_t::engine
gf_engine_t * engine
Engine instance.
Definition client.h:48
gf_draw_t
Drawing interface.
Definition draw.h:108
gf_engine_t
Engine instance.
Definition core.h:46
gf_input_t
Input interface.
Definition input.h:64
diff --git a/engine/core_8h_source.html b/engine/core_8h_source.html index a159b1f..7ee763b 100644 --- a/engine/core_8h_source.html +++ b/engine/core_8h_source.html @@ -130,10 +130,10 @@ $(document).ready(function(){initNavTree('core_8h_source.html',''); initResizabl
51#endif
client.h
Type definitions related to client interface.
gf_macro.h
Macro.
-
GF_DECLARE_TYPE
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Definition gf_macro.h:172
+
GF_DECLARE_TYPE
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Definition gf_macro.h:180
gf_pre.h
Required headers before anything.
server.h
Type definitions related to server interface.
-
gf_client_t
Client interface.
Definition client.h:43
+
gf_client_t
Client interface.
Definition client.h:48
gf_engine_t
Engine instance.
Definition core.h:46
gf_engine_t::server
gf_server_t * server
Server interface.
Definition core.h:46
gf_engine_t::log
FILE * log
Log output.
Definition core.h:46
diff --git a/engine/gf__jar__mod_8c_source.html b/engine/dir_a5f32cf82ad289a7dac212f63f40f55b.html similarity index 76% rename from engine/gf__jar__mod_8c_source.html rename to engine/dir_a5f32cf82ad289a7dac212f63f40f55b.html index 0f74ee6..1ed4cff 100644 --- a/engine/gf__jar__mod_8c_source.html +++ b/engine/dir_a5f32cf82ad289a7dac212f63f40f55b.html @@ -5,7 +5,7 @@ -GoldFish Engine: gf_jar_mod.c Source File +GoldFish Engine: audio Directory Reference @@ -52,11 +52,6 @@ $(function() { /* @license-end */ -
@@ -96,17 +91,23 @@ $(document).ready(function(){initNavTree('gf__jar__mod_8c_source.html',''); init
-
gf_jar_mod.c
+
audio Directory Reference
-
1#define JAR_MOD_IMPLEMENTATION
-
2#include <jar_mod.h>
-
+
+ + + + + +

+Files

 gf_audio_mod.c
 
 gf_audio_xm.c
 
+ diff --git a/engine/dir_a5f32cf82ad289a7dac212f63f40f55b.js b/engine/dir_a5f32cf82ad289a7dac212f63f40f55b.js new file mode 100644 index 0000000..1419deb --- /dev/null +++ b/engine/dir_a5f32cf82ad289a7dac212f63f40f55b.js @@ -0,0 +1,5 @@ +var dir_a5f32cf82ad289a7dac212f63f40f55b = +[ + [ "gf_audio_mod.c", "gf__audio__mod_8c_source.html", null ], + [ "gf_audio_xm.c", "gf__audio__xm_8c_source.html", null ] +]; \ No newline at end of file diff --git a/engine/dir_d44c64559bbebec7f509842c48db8b23.html b/engine/dir_d44c64559bbebec7f509842c48db8b23.html index ef33420..6322bca 100644 --- a/engine/dir_d44c64559bbebec7f509842c48db8b23.html +++ b/engine/dir_d44c64559bbebec7f509842c48db8b23.html @@ -102,6 +102,9 @@ Directories + + + diff --git a/engine/dir_d44c64559bbebec7f509842c48db8b23.js b/engine/dir_d44c64559bbebec7f509842c48db8b23.js index 4f6ff41..a3ac17b 100644 --- a/engine/dir_d44c64559bbebec7f509842c48db8b23.js +++ b/engine/dir_d44c64559bbebec7f509842c48db8b23.js @@ -1,6 +1,7 @@ var dir_d44c64559bbebec7f509842c48db8b23 = [ [ "gf_type", "dir_e60f2706c8c207c5a951446d03370319.html", "dir_e60f2706c8c207c5a951446d03370319" ], + [ "gf_audio.h", "gf__audio_8h.html", "gf__audio_8h" ], [ "gf_client.h", "gf__client_8h.html", "gf__client_8h" ], [ "gf_core.h", "gf__core_8h.html", "gf__core_8h" ], [ "gf_directx.h", "gf__directx_8h.html", null ], diff --git a/engine/dir_e60f2706c8c207c5a951446d03370319.html b/engine/dir_e60f2706c8c207c5a951446d03370319.html index 19c4777..c6f138f 100644 --- a/engine/dir_e60f2706c8c207c5a951446d03370319.html +++ b/engine/dir_e60f2706c8c207c5a951446d03370319.html @@ -97,6 +97,9 @@ $(document).ready(function(){initNavTree('dir_e60f2706c8c207c5a951446d03370319.h

Files

 gf_audio.h
 Audio interface.
 
 gf_client.h
 Client interface.
 
+ + + diff --git a/engine/dir_e60f2706c8c207c5a951446d03370319.js b/engine/dir_e60f2706c8c207c5a951446d03370319.js index c8864f7..477ead9 100644 --- a/engine/dir_e60f2706c8c207c5a951446d03370319.js +++ b/engine/dir_e60f2706c8c207c5a951446d03370319.js @@ -1,5 +1,6 @@ var dir_e60f2706c8c207c5a951446d03370319 = [ + [ "audio.h", "audio_8h.html", "audio_8h" ], [ "client.h", "client_8h.html", "client_8h" ], [ "compat.h", "compat_8h.html", null ], [ "core.h", "core_8h.html", "core_8h" ], diff --git a/engine/directx_2gf__graphic_8c_source.html b/engine/directx_2gf__graphic_8c_source.html index 5398933..8d27462 100644 --- a/engine/directx_2gf__graphic_8c_source.html +++ b/engine/directx_2gf__graphic_8c_source.html @@ -137,7 +137,7 @@ $(document).ready(function(){initNavTree('directx_2gf__graphic_8c_source.html','
gf_draw.h
Drawing interface.
gf_draw_driver.h
Drawing driver.
gf_graphic.h
Graphic interface.
-
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:182
+
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:190
gf_math.h
Math.
gf_pre.h
Required headers before anything.
gf_texture.h
Texture.
diff --git a/engine/draw_8h_source.html b/engine/draw_8h_source.html index 4a66bfe..cd27ad8 100644 --- a/engine/draw_8h_source.html +++ b/engine/draw_8h_source.html @@ -152,7 +152,7 @@ $(document).ready(function(){initNavTree('draw_8h_source.html',''); initResizabl
draw_platform.h
Type definitions related to platform-dependent part of drawing driver.
font.h
Type definitions related to font.
gf_macro.h
Macro.
-
GF_DECLARE_TYPE
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Definition gf_macro.h:172
+
GF_DECLARE_TYPE
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Definition gf_macro.h:180
gf_pre.h
Required headers before anything.
gui.h
Type definitions related to GUI.
input.h
Type definitions related to input interface.
diff --git a/engine/draw__driver_8h_source.html b/engine/draw__driver_8h_source.html index 8f810f8..0ec8a67 100644 --- a/engine/draw__driver_8h_source.html +++ b/engine/draw__driver_8h_source.html @@ -150,7 +150,7 @@ $(document).ready(function(){initNavTree('draw__driver_8h_source.html',''); init
core.h
Type definitions related to core.
gf_directx.h
DirectX headers.
gf_macro.h
Macro.
-
GF_DECLARE_TYPE
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Definition gf_macro.h:172
+
GF_DECLARE_TYPE
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Definition gf_macro.h:180
gf_opengl.h
OpenGL headers.
gf_pre.h
Required headers before anything.
gf_draw_driver_t
Drawing driver.
Definition draw_driver.h:50
diff --git a/engine/draw__platform_8h_source.html b/engine/draw__platform_8h_source.html index fb781ee..babaef6 100644 --- a/engine/draw__platform_8h_source.html +++ b/engine/draw__platform_8h_source.html @@ -164,7 +164,7 @@ $(document).ready(function(){initNavTree('draw__platform_8h_source.html',''); in
core.h
Type definitions related to core.
gf_directx.h
DirectX headers.
gf_macro.h
Macro.
-
GF_DECLARE_TYPE
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Definition gf_macro.h:172
+
GF_DECLARE_TYPE
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Definition gf_macro.h:180
gf_opengl.h
OpenGL headers.
gf_pre.h
Required headers before anything.
gf_draw_platform_t
Platform-dependent part of drawing driver.
Definition draw_platform.h:67
diff --git a/engine/files.html b/engine/files.html index 4a858c0..6588264 100644 --- a/engine/files.html +++ b/engine/files.html @@ -96,77 +96,81 @@ $(document).ready(function(){initNavTree('files.html',''); initResizable(); });
Here is a list of all documented files with brief descriptions:
[detail level 1234]

Files

 audio.h
 Type definitions related to audio interface.
 
 client.h
 Type definitions related to client interface.
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/engine/files_dup.js b/engine/files_dup.js index 7424275..aef842c 100644 --- a/engine/files_dup.js +++ b/engine/files_dup.js @@ -1,8 +1,10 @@ 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" ], + [ "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 ], @@ -10,8 +12,6 @@ var files_dup = [ "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_jar_mod.c", "gf__jar__mod_8c_source.html", null ], - [ "gf_jar_xm.c", "gf__jar__xm_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 ], diff --git a/engine/font_8h_source.html b/engine/font_8h_source.html index 27346c9..e040357 100644 --- a/engine/font_8h_source.html +++ b/engine/font_8h_source.html @@ -146,7 +146,7 @@ $(document).ready(function(){initNavTree('font_8h_source.html',''); initResizabl
101
102#endif
gf_macro.h
Macro.
-
GF_DECLARE_TYPE
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Definition gf_macro.h:172
+
GF_DECLARE_TYPE
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Definition gf_macro.h:180
gf_pre.h
Required headers before anything.
gf_font_bbox_t
Bounding box.
Definition font.h:47
gf_font_glyph_t
Glyph.
Definition font.h:75
diff --git a/engine/functions.html b/engine/functions.html index 12790d0..45517f4 100644 --- a/engine/functions.html +++ b/engine/functions.html @@ -96,6 +96,7 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();

- a -

@@ -122,6 +123,10 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();

- d -

  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
 client.hType definitions related to client interface
 compat.hType definitions for C99 types in C89
 core.hType definitions related to core
 draw.hType definitions related to drawing interface
 draw_driver.hType definitions related to drawing driver
 draw_platform.hType definitions related to platform-dependent part of drawing driver
 font.hType definitions related to font
 graphic.hType definitions related to graphic interface
 gui.hType definitions related to GUI
 input.hType definitions related to input interface
 math.hType definitions related to math
 mesh.hType definitions related to mesh
 model.hType definitions related to model
 physics.hType definitions related to physics interface
 server.hType definitions related to server interface
 texture.hType definitions related to texture
 thread.hType definitions related to thread interface
 version.hType definitions related to version
 gf_client.hClient interface
 gf_core.hCore
 gf_directx.hDirectX headers
 gf_draw.hDrawing interface
 gf_draw_driver.hDrawing driver
 gf_draw_platform.hPlatform-dependent part of drawing driver
 gf_font.hFont
 gf_graphic.hGraphic interface
 gf_gui.hGUI
 gf_input.hInput
 gf_log.hLogger
 gf_macro.hMacro
 gf_math.hMath
 gf_mesh.hMesh
 gf_model.hModel
 gf_opengl.hOpenGL headers
 gf_physics.hPhysics interface
 gf_pre.hRequired headers before anything
 gf_server.hClient interface
 gf_texture.hTexture
 gf_thread.hThread interface
 gf_version.hVersion
  thread
  posix
 gf_thread.c
  win32
 gf_thread.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_jar_mod.c
 gf_jar_xm.c
  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.hType definitions related to audio interface
 client.hType definitions related to client interface
 compat.hType definitions for C99 types in C89
 core.hType definitions related to core
 draw.hType definitions related to drawing interface
 draw_driver.hType definitions related to drawing driver
 draw_platform.hType definitions related to platform-dependent part of drawing driver
 font.hType definitions related to font
 graphic.hType definitions related to graphic interface
 gui.hType definitions related to GUI
 input.hType definitions related to input interface
 math.hType definitions related to math
 mesh.hType definitions related to mesh
 model.hType definitions related to model
 physics.hType definitions related to physics interface
 server.hType definitions related to server interface
 texture.hType definitions related to texture
 thread.hType definitions related to thread interface
 version.hType definitions related to version
 gf_audio.hAudio interface
 gf_client.hClient interface
 gf_core.hCore
 gf_directx.hDirectX headers
 gf_draw.hDrawing interface
 gf_draw_driver.hDrawing driver
 gf_draw_platform.hPlatform-dependent part of drawing driver
 gf_font.hFont
 gf_graphic.hGraphic interface
 gf_gui.hGUI
 gf_input.hInput
 gf_log.hLogger
 gf_macro.hMacro
 gf_math.hMath
 gf_mesh.hMesh
 gf_model.hModel
 gf_opengl.hOpenGL headers
 gf_physics.hPhysics interface
 gf_pre.hRequired headers before anything
 gf_server.hClient interface
 gf_texture.hTexture
 gf_thread.hThread interface
 gf_version.hVersion
  thread
  posix
 gf_thread.c
  win32
 gf_thread.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
+ + + + + + +
+
GoldFish Engine +
+
Quite simple and lightweight game engine
+
+ + + + + + + + + + +
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
gf_audio.c
+
+
+
1#define GF_EXPOSE_AUDIO
+
2
+
3#include <gf_pre.h>
+
4
+
5/* External library */
+
6#include <miniaudio.h>
+
7#include <jar_xm.h>
+
8#include <jar_mod.h>
+
9
+
10/* Interface */
+
11#include <gf_audio.h>
+
12
+
13/* Engine */
+
14#include <gf_log.h>
+
15
+
16/* Standard */
+
17#include <stdlib.h>
+
18#include <string.h>
+
19#include <math.h>
+
20
+
21void gf_audio_callback(ma_device* dev, void* output, const void* input, ma_uint32 frame) {
+
22 int i;
+
23 gf_audio_t* audio = dev->pUserData;
+
24 ma_int16* out = (ma_int16*)output;
+
25 float* tmp = malloc(sizeof(*tmp) * frame * 2);
+
26
+
27 for(i = 0; i < frame; i++) {
+
28 tmp[2 * i + 0] = 0;
+
29 tmp[2 * i + 1] = 0;
+
30 }
+
31
+
32 for(i = 0; i < GF_AUDIO_MAX_DECODERS; i++) {
+
33 if(audio->decoder[i].used == 1) {
+
34 ma_uint64 readframe;
+
35 int j;
+
36 ma_int16* r = malloc(sizeof(*r) * frame * 2);
+
37 ma_decoder_read_pcm_frames(audio->decoder[i].decoder, r, frame, &readframe);
+
38 for(j = 0; j < readframe; j++) {
+
39 tmp[2 * j + 0] += (double)r[2 * j + 0] / 32768.0;
+
40 tmp[2 * j + 1] += (double)r[2 * j + 1] / 32768.0;
+
41 }
+
42 free(r);
+
43 if(frame > readframe) {
+
44 ma_decoder_uninit(audio->decoder[i].decoder);
+
45 free(audio->decoder[i].decoder);
+
46 audio->decoder[i].decoder = NULL;
+
47 audio->decoder[i].used = 0;
+
48 }
+
49 }
+
50 }
+
51
+
52 for(i = 0; i < frame; i++) {
+
53 out[2 * i + 0] = tmp[2 * i + 0] * 32768;
+
54 out[2 * i + 1] = tmp[2 * i + 1] * 32768;
+
55 }
+
56 free(tmp);
+
57}
+
58
+
+
59int gf_audio_load(gf_audio_t* audio, const void* data, size_t size) {
+
60 int i;
+
61 for(i = 0; i < GF_AUDIO_MAX_DECODERS; i++) {
+
62 if(audio->decoder[i].used == 0) {
+
63 audio->decoder[i].decoder = malloc(sizeof(*audio->decoder[i].decoder));
+
64 if(ma_decoder_init_memory(data, size, &audio->decoder[i].decoder_config, audio->decoder[i].decoder) == MA_SUCCESS) {
+
65 audio->decoder[i].used = 1;
+
66 return 0;
+
67 }
+
68 free(audio->decoder[i].decoder);
+
69 audio->decoder[i].decoder = NULL;
+
70 return -1;
+
71 }
+
72 }
+
73 return -1;
+
74}
+
+
75
+
+
76int gf_audio_load_file(gf_audio_t* audio, const char* path) {
+
77 FILE* f = fopen(path, "rb");
+
78 size_t sz;
+
79 unsigned char* data;
+
80 int st;
+
81 if(f == NULL) return -1;
+
82 fseek(f, 0, SEEK_END);
+
83 sz = ftell(f);
+
84 fseek(f, 0, SEEK_SET);
+
85
+
86 data = malloc(sz);
+
87 fread(data, sz, 1, f);
+
88 st = gf_audio_load(audio, data, sz);
+
89
+
90 fclose(f);
+
91
+
92 return st;
+
93}
+
+
94
+
+
95gf_audio_t* gf_audio_create(gf_engine_t* engine) {
+
96 gf_audio_t* audio = malloc(sizeof(*audio));
+
97 int i;
+
98
+
99 memset(audio, 0, sizeof(*audio));
+
100 audio->engine = engine;
+
101
+
102 audio->device_config = ma_device_config_init(ma_device_type_playback);
+
103 audio->device_config.playback.format = ma_format_s16;
+
104 audio->device_config.playback.channels = 2;
+
105 audio->device_config.sampleRate = 44100;
+
106 audio->device_config.dataCallback = gf_audio_callback;
+
107 audio->device_config.pUserData = audio;
+
108
+
109 for(i = 0; i < GF_AUDIO_MAX_DECODERS; i++) {
+
110 audio->decoder[i].used = 0;
+
111 audio->decoder[i].decoder = NULL;
+
112 audio->decoder[i].decoder_config = ma_decoder_config_init(audio->device_config.playback.format, audio->device_config.playback.channels, audio->device_config.sampleRate);
+
113 }
+
114
+
115 audio->device = malloc(sizeof(*audio->device));
+
116 if(ma_device_init(NULL, &audio->device_config, audio->device) != MA_SUCCESS) {
+
117 gf_log_function(engine, "Failed to open playback device", "");
+
118 free(audio->device);
+
119 audio->device = NULL;
+
120 gf_audio_destroy(audio);
+
121 return NULL;
+
122 }
+
123
+
124 if(ma_device_start(audio->device) != MA_SUCCESS) {
+
125 gf_log_function(engine, "Failed to start playback device", "");
+
126 gf_audio_destroy(audio);
+
127 return NULL;
+
128 }
+
129
+
130 gf_log_function(engine, "Audio interface started", "");
+
131
+
132 return audio;
+
133}
+
+
134
+
+
135void gf_audio_destroy(gf_audio_t* audio) {
+
136 int i;
+
137 if(audio->device != NULL) {
+
138 ma_device_uninit(audio->device);
+
139 free(audio->device);
+
140 }
+
141 for(i = 0; i < GF_AUDIO_MAX_DECODERS; i++) {
+
142 if(audio->decoder[i].decoder != NULL) {
+
143 ma_decoder_uninit(audio->decoder[i].decoder);
+
144 free(audio->decoder[i].decoder);
+
145 }
+
146 }
+
147 gf_log_function(audio->engine, "Destroyed audio interface", "");
+
148 free(audio);
+
149}
+
+
#define GF_AUDIO_MAX_DECODERS
Max decoders audio interface can handle.
Definition audio.h:29
+
Audio interface.
+
Logger.
+
#define gf_log_function(engine, fmt,...)
Output log with line number and function name.
Definition gf_log.h:26
+
Required headers before anything.
+
Type definitions related to math.
+
ma_decoder_config decoder_config
miniaudio decoder config
Definition audio.h:49
+
int used
1 if used, otherwise 0
Definition audio.h:49
+
ma_decoder * decoder
miniaudio decoder
Definition audio.h:49
+
Audio interface.
Definition audio.h:73
+
ma_device_config device_config
miniaudio device config
Definition audio.h:73
+
ma_device * device
miniaudio device
Definition audio.h:73
+
gf_audio_decoder_t decoder[64]
Decoder.
Definition audio.h:73
+
gf_engine_t * engine
Engine instance.
Definition audio.h:73
+
Engine instance.
Definition core.h:46
+
+
+ + + + diff --git a/engine/gf__audio_8h.html b/engine/gf__audio_8h.html new file mode 100644 index 0000000..587a23b --- /dev/null +++ b/engine/gf__audio_8h.html @@ -0,0 +1,300 @@ + + + + + + + +GoldFish Engine: include/gf_audio.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + + +
+
GoldFish Engine +
+
Quite simple and lightweight game engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
gf_audio.h File Reference
+
+
+ +

Audio interface. +More...

+
#include <gf_pre.h>
+#include <gf_macro.h>
+#include <gf_type/audio.h>
+#include <gf_type/core.h>
+#include <stddef.h>
+
+

Go to the source code of this file.

+ + + + + + + + + + + + + + +

+Functions

gf_audio_tgf_audio_create (gf_engine_t *engine)
 Create audio interface.
 
void gf_audio_destroy (gf_audio_t *audio)
 Destroy audio interface.
 
int gf_audio_load_file (gf_audio_t *audio, const char *path)
 Load and play file.
 
int gf_audio_load (gf_audio_t *audio, const void *data, size_t size)
 Load and play data.
 
+

Detailed Description

+

Audio interface.

+ +

Definition in file gf_audio.h.

+

Function Documentation

+ +

◆ gf_audio_create()

+ +
+
+ + + + + +
+ + + + + + + + +
gf_audio_t * gf_audio_create (gf_engine_tengine)
+
+extern
+
+ +

Create audio interface.

+
Parameters
+ + +
engineEngine instance
+
+
+
Returns
Audio interface
+ +

Definition at line 95 of file gf_audio.c.

+ +
+
+ +

◆ gf_audio_destroy()

+ +
+
+ + + + + +
+ + + + + + + + +
void gf_audio_destroy (gf_audio_taudio)
+
+extern
+
+ +

Destroy audio interface.

+
Parameters
+ + +
audioAudio interface
+
+
+ +

Definition at line 135 of file gf_audio.c.

+ +
+
+ +

◆ gf_audio_load()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int gf_audio_load (gf_audio_taudio,
const void * data,
size_t size 
)
+
+ +

Load and play data.

+
Parameters
+ + + + +
audioAudio interface
dataData
sizeData size
+
+
+
Returns
0 if successful, otherwise -1
+ +

Definition at line 59 of file gf_audio.c.

+ +
+
+ +

◆ gf_audio_load_file()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int gf_audio_load_file (gf_audio_taudio,
const char * path 
)
+
+ +

Load and play file.

+
Parameters
+ + + +
audioAudio interface
pathPath
+
+
+
Returns
0 if successful, otherwise -1
+ +

Definition at line 76 of file gf_audio.c.

+ +
+
+
+
+ + + + diff --git a/engine/gf__audio_8h.js b/engine/gf__audio_8h.js new file mode 100644 index 0000000..fa038d6 --- /dev/null +++ b/engine/gf__audio_8h.js @@ -0,0 +1,7 @@ +var gf__audio_8h = +[ + [ "gf_audio_create", "gf__audio_8h.html#a52e61cbf2518774a590141631e053330", null ], + [ "gf_audio_destroy", "gf__audio_8h.html#ab5022a62ecc7ba83ccb5da4a1add398b", null ], + [ "gf_audio_load", "gf__audio_8h.html#a7a6428af79e540740776ae0d202c3962", null ], + [ "gf_audio_load_file", "gf__audio_8h.html#a644b31417fc839bb2be69a88c2e77fbe", null ] +]; \ No newline at end of file diff --git a/engine/gf__audio_8h_source.html b/engine/gf__audio_8h_source.html new file mode 100644 index 0000000..57411c4 --- /dev/null +++ b/engine/gf__audio_8h_source.html @@ -0,0 +1,148 @@ + + + + + + + +GoldFish Engine: include/gf_audio.h Source File + + + + + + + + + + + + + +
+
+ + + + + + + +
+
GoldFish Engine +
+
Quite simple and lightweight game engine
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
gf_audio.h
+
+
+Go to the documentation of this file.
1
+
7#ifndef __GF_AUDIO_H__
+
8#define __GF_AUDIO_H__
+
9
+
10#include <gf_pre.h>
+
11#include <gf_macro.h>
+
12
+
13/* Type */
+
14#include <gf_type/audio.h>
+
15
+
16/* Engine */
+
17#include <gf_type/core.h>
+
18
+
19/* Standard */
+
20#include <stddef.h>
+
21
+ +
29
+ +
36
+
44int gf_audio_load_file(gf_audio_t* audio, const char* path);
+
45
+
54int gf_audio_load(gf_audio_t* audio, const void* data, size_t size);
+
55
+
56#endif
+
Type definitions related to audio interface.
+
Type definitions related to core.
+
gf_audio_t * gf_audio_create(gf_engine_t *engine)
Create audio interface.
Definition gf_audio.c:95
+
int gf_audio_load_file(gf_audio_t *audio, const char *path)
Load and play file.
Definition gf_audio.c:76
+
int gf_audio_load(gf_audio_t *audio, const void *data, size_t size)
Load and play data.
Definition gf_audio.c:59
+
void gf_audio_destroy(gf_audio_t *audio)
Destroy audio interface.
Definition gf_audio.c:135
+ +
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:190
+
Required headers before anything.
+
Audio interface.
Definition audio.h:73
+
Engine instance.
Definition core.h:46
+
+
+ + + + diff --git a/engine/gf__audio__mod_8c_source.html b/engine/gf__audio__mod_8c_source.html new file mode 100644 index 0000000..df7a3fc --- /dev/null +++ b/engine/gf__audio__mod_8c_source.html @@ -0,0 +1,124 @@ + + + + + + + +GoldFish Engine: audio/gf_audio_mod.c Source File + + + + + + + + + + + + + +
+
+ + + + + + + +
+
GoldFish Engine +
+
Quite simple and lightweight game engine
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
gf_audio_mod.c
+
+
+
1#include <gf_pre.h>
+
2
+
3/* External library */
+
4#define JAR_MOD_IMPLEMENTATION
+
5#include <jar_mod.h>
+
6
+
7/* Interface */
+
8
+
9/* Engine */
+
10
+
11/* Standard */
+
Required headers before anything.
+
+
+ + + + diff --git a/engine/gf__jar__xm_8c_source.html b/engine/gf__audio__xm_8c_source.html similarity index 70% rename from engine/gf__jar__xm_8c_source.html rename to engine/gf__audio__xm_8c_source.html index ab73091..884a24a 100644 --- a/engine/gf__jar__xm_8c_source.html +++ b/engine/gf__audio__xm_8c_source.html @@ -5,7 +5,7 @@ -GoldFish Engine: gf_jar_xm.c Source File +GoldFish Engine: audio/gf_audio_xm.c Source File @@ -70,7 +70,7 @@ $(document).ready(function() { init_codefold(0); });
@@ -96,17 +96,27 @@ $(document).ready(function(){initNavTree('gf__jar__xm_8c_source.html',''); initR
-
gf_jar_xm.c
+
gf_audio_xm.c
-
1#define JAR_XM_IMPLEMENTATION
-
2#include <jar_xm.h>
+
1#include <gf_pre.h>
+
2
+
3/* External library */
+
4#define JAR_XM_IMPLEMENTATION
+
5#include <jar_xm.h>
+
6
+
7/* Interface */
+
8
+
9/* Engine */
+
10
+
11/* Standard */
+
Required headers before anything.
diff --git a/engine/gf__client_8c_source.html b/engine/gf__client_8c_source.html index 8bc2403..adec7ad 100644 --- a/engine/gf__client_8c_source.html +++ b/engine/gf__client_8c_source.html @@ -113,57 +113,67 @@ $(document).ready(function(){initNavTree('gf__client_8c_source.html',''); initRe
12#include <gf_draw.h>
13#include <gf_log.h>
14#include <gf_input.h>
-
15
-
16/* Standard */
-
17#include <stdlib.h>
-
18#include <string.h>
-
19
-
20void gf_client_begin(void) { gf_draw_begin(); }
-
21
-
22void gf_client_end(void) { gf_draw_end(); }
-
23
-
-
24gf_client_t* gf_client_create(gf_engine_t* engine, const char* title) {
-
25 gf_client_t* client = malloc(sizeof(*client));
-
26 memset(client, 0, sizeof(*client));
-
27 client->engine = engine;
-
28 client->draw = gf_draw_create(engine, title);
-
29 if(client->draw == NULL) {
-
30 gf_log_function(engine, "Failed to create drawing interface", "");
-
31 gf_client_destroy(client);
-
32 return NULL;
-
33 }
-
34 client->input = gf_input_create(engine);
-
35 gf_draw_set_input(client->draw, client->input);
-
36 return client;
-
37}
-
-
38
-
-
39void gf_client_destroy(gf_client_t* client) {
-
40 if(client->draw != NULL) gf_draw_destroy(client->draw);
-
41 if(client->input != NULL) gf_input_destroy(client->input);
-
42 gf_log_function(client->engine, "Destroyed client interface", "");
-
43 free(client);
+
15#include <gf_audio.h>
+
16
+
17/* Standard */
+
18#include <stdlib.h>
+
19#include <string.h>
+
20
+
21void gf_client_begin(void) { gf_draw_begin(); }
+
22
+
23void gf_client_end(void) { gf_draw_end(); }
+
24
+
+
25gf_client_t* gf_client_create(gf_engine_t* engine, const char* title) {
+
26 gf_client_t* client = malloc(sizeof(*client));
+
27 memset(client, 0, sizeof(*client));
+
28 client->engine = engine;
+
29 client->draw = gf_draw_create(engine, title);
+
30 if(client->draw == NULL) {
+
31 gf_log_function(engine, "Failed to create drawing interface", "");
+
32 gf_client_destroy(client);
+
33 return NULL;
+
34 }
+
35 client->audio = gf_audio_create(engine);
+
36 if(client->audio == NULL) {
+
37 gf_log_function(engine, "Failed to create audio interface", "");
+
38 gf_client_destroy(client);
+
39 return NULL;
+
40 }
+
41 client->input = gf_input_create(engine);
+
42 gf_draw_set_input(client->draw, client->input);
+
43 return client;
44}
45
-
46int gf_client_step(gf_client_t* client) {
-
47 int s = gf_draw_step(client->draw);
-
48 return s;
-
49}
+
46void gf_client_destroy(gf_client_t* client) {
+
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);
+
50 gf_log_function(client->engine, "Destroyed client interface", "");
+
51 free(client);
+
52}
+
53
+
+
54int gf_client_step(gf_client_t* client) {
+
55 int s = gf_draw_step(client->draw);
+
56 return s;
+
57}
+
+
Audio interface.
Client interface.
Drawing interface.
Input.
Logger.
#define gf_log_function(engine, fmt,...)
Output log with line number and function name.
Definition gf_log.h:26
Required headers before anything.
-
Client interface.
Definition client.h:43
-
gf_draw_t * draw
Drawing interface.
Definition client.h:43
-
gf_input_t * input
Input interface.
Definition client.h:43
-
gf_engine_t * engine
Engine instance.
Definition client.h:43
+
Client interface.
Definition client.h:48
+
gf_draw_t * draw
Drawing interface.
Definition client.h:48
+
gf_audio_t * audio
Audio interface.
Definition client.h:48
+
gf_input_t * input
Input interface.
Definition client.h:48
+
gf_engine_t * engine
Engine instance.
Definition client.h:48
Engine instance.
Definition core.h:46
diff --git a/engine/gf__client_8h.html b/engine/gf__client_8h.html index 90750ba..56a1a46 100644 --- a/engine/gf__client_8h.html +++ b/engine/gf__client_8h.html @@ -155,7 +155,7 @@ Functions

Initialize client interface.

-

Definition at line 20 of file gf_client.c.

+

Definition at line 21 of file gf_client.c.

@@ -203,7 +203,7 @@ Functions
Returns
Client interface
-

Definition at line 24 of file gf_client.c.

+

Definition at line 25 of file gf_client.c.

@@ -239,7 +239,7 @@ Functions -

Definition at line 39 of file gf_client.c.

+

Definition at line 46 of file gf_client.c.

@@ -269,7 +269,7 @@ Functions

Cleanup client interface.

-

Definition at line 22 of file gf_client.c.

+

Definition at line 23 of file gf_client.c.

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

Definition at line 46 of file gf_client.c.

+

Definition at line 54 of file gf_client.c.

diff --git a/engine/gf__client_8h_source.html b/engine/gf__client_8h_source.html index 875aebd..08f3921 100644 --- a/engine/gf__client_8h_source.html +++ b/engine/gf__client_8h_source.html @@ -127,15 +127,15 @@ $(document).ready(function(){initNavTree('gf__client_8h_source.html',''); initRe
57#endif
client.h
Type definitions related to client interface.
core.h
Type definitions related to core.
-
gf_client_begin
void gf_client_begin(void)
Initialize client interface.
Definition gf_client.c:20
-
gf_client_destroy
void gf_client_destroy(gf_client_t *client)
Destroy client interface.
Definition gf_client.c:39
-
gf_client_create
gf_client_t * gf_client_create(gf_engine_t *engine, const char *title)
Create client interface.
Definition gf_client.c:24
-
gf_client_end
void gf_client_end(void)
Cleanup client interface.
Definition gf_client.c:22
-
gf_client_step
int gf_client_step(gf_client_t *client)
Do client single step.
Definition gf_client.c:46
+
gf_client_begin
void gf_client_begin(void)
Initialize client interface.
Definition gf_client.c:21
+
gf_client_destroy
void gf_client_destroy(gf_client_t *client)
Destroy client interface.
Definition gf_client.c:46
+
gf_client_create
gf_client_t * gf_client_create(gf_engine_t *engine, const char *title)
Create client interface.
Definition gf_client.c:25
+
gf_client_end
void gf_client_end(void)
Cleanup client interface.
Definition gf_client.c:23
+
gf_client_step
int gf_client_step(gf_client_t *client)
Do client single step.
Definition gf_client.c:54
gf_macro.h
Macro.
-
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:182
+
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:190
gf_pre.h
Required headers before anything.
-
gf_client_t
Client interface.
Definition client.h:43
+
gf_client_t
Client interface.
Definition client.h:48
gf_engine_t
Engine instance.
Definition core.h:46
diff --git a/engine/gf__core_8h_source.html b/engine/gf__core_8h_source.html index ad9f56b..0517ebd 100644 --- a/engine/gf__core_8h_source.html +++ b/engine/gf__core_8h_source.html @@ -133,7 +133,7 @@ $(document).ready(function(){initNavTree('gf__core_8h_source.html',''); initResi
gf_engine_end
void gf_engine_end(void)
Cleanup engine.
Definition gf_core.c:44
gf_engine_begin
void gf_engine_begin(void)
Initialize engine.
Definition gf_core.c:24
gf_macro.h
Macro.
-
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:182
+
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:190
gf_pre.h
Required headers before anything.
gf_engine_t
Engine instance.
Definition core.h:46
diff --git a/engine/gf__draw_8h_source.html b/engine/gf__draw_8h_source.html index 391e969..e8425d1 100644 --- a/engine/gf__draw_8h_source.html +++ b/engine/gf__draw_8h_source.html @@ -143,7 +143,7 @@ $(document).ready(function(){initNavTree('gf__draw_8h_source.html',''); initResi
gf_draw_reshape
void gf_draw_reshape(gf_draw_t *draw)
Do stuffs required on resizing window.
Definition gf_draw_common.c:79
gf_draw_create
gf_draw_t * gf_draw_create(gf_engine_t *engine, const char *title)
Create drawing interface.
Definition gf_draw_common.c:32
gf_macro.h
Macro.
-
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:182
+
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:190
gf_pre.h
Required headers before anything.
input.h
Type definitions related to input interface.
gf_draw_t
Drawing interface.
Definition draw.h:108
diff --git a/engine/gf__draw__driver_8h_source.html b/engine/gf__draw__driver_8h_source.html index 0dc28c5..1c1da6b 100644 --- a/engine/gf__draw__driver_8h_source.html +++ b/engine/gf__draw__driver_8h_source.html @@ -156,7 +156,7 @@ $(document).ready(function(){initNavTree('gf__draw__driver_8h_source.html','');
gf_draw_driver_reshape
void gf_draw_driver_reshape(gf_draw_t *draw)
Do stuffs required on resizing window.
Definition gf_driver.c:47
gf_draw_driver_destroy
void gf_draw_driver_destroy(gf_draw_driver_t *driver)
Destroy drawing driver.
Definition gf_driver.c:55
gf_macro.h
Macro.
-
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:182
+
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:190
gf_pre.h
Required headers before anything.
graphic.h
Type definitions related to graphic interface.
input.h
Type definitions related to input interface.
diff --git a/engine/gf__draw__platform_8h_source.html b/engine/gf__draw__platform_8h_source.html index 50679db..e2781b3 100644 --- a/engine/gf__draw__platform_8h_source.html +++ b/engine/gf__draw__platform_8h_source.html @@ -138,7 +138,7 @@ $(document).ready(function(){initNavTree('gf__draw__platform_8h_source.html','')
gf_draw_platform_create
gf_draw_platform_t * gf_draw_platform_create(gf_engine_t *engine, gf_draw_t *draw)
Create platform-dependent part of drawing driver.
Definition gf_draw.c:123
gf_draw_platform_step
int gf_draw_platform_step(gf_draw_t *draw)
Do platform-dependent step.
Definition gf_draw.c:101
gf_macro.h
Macro.
-
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:182
+
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:190
gf_pre.h
Required headers before anything.
gf_draw_platform_t
Platform-dependent part of drawing driver.
Definition draw_platform.h:67
gf_draw_t
Drawing interface.
Definition draw.h:108
diff --git a/engine/gf__font_8c_source.html b/engine/gf__font_8c_source.html index b727534..161378b 100644 --- a/engine/gf__font_8c_source.html +++ b/engine/gf__font_8c_source.html @@ -281,7 +281,7 @@ $(document).ready(function(){initNavTree('gf__font_8c_source.html',''); initResi
gf_font.h
Font.
gf_log.h
Logger.
gf_log_function
#define gf_log_function(engine, fmt,...)
Output log with line number and function name.
Definition gf_log.h:26
-
GF_DECLARE_TYPE
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Definition gf_macro.h:172
+
GF_DECLARE_TYPE
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Definition gf_macro.h:180
gf_pre.h
Required headers before anything.
gf_texture.h
Texture.
gf_draw_t
Drawing interface.
Definition draw.h:108
diff --git a/engine/gf__font_8h_source.html b/engine/gf__font_8h_source.html index 572addb..196b242 100644 --- a/engine/gf__font_8h_source.html +++ b/engine/gf__font_8h_source.html @@ -124,7 +124,7 @@ $(document).ready(function(){initNavTree('gf__font_8h_source.html',''); initResi
gf_font_create
gf_font_t * gf_font_create(gf_draw_t *draw, const char *path)
Load font.
Definition gf_font.c:141
gf_font_get
gf_font_glyph_t * gf_font_get(gf_font_t *font, int code)
Get glyph.
Definition gf_font.c:20
gf_macro.h
Macro.
-
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:182
+
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:190
gf_pre.h
Required headers before anything.
gf_draw_t
Drawing interface.
Definition draw.h:108
gf_font_glyph_t
Glyph.
Definition font.h:75
diff --git a/engine/gf__graphic_8h_source.html b/engine/gf__graphic_8h_source.html index 2aa98da..899df9c 100644 --- a/engine/gf__graphic_8h_source.html +++ b/engine/gf__graphic_8h_source.html @@ -165,7 +165,7 @@ $(document).ready(function(){initNavTree('gf__graphic_8h_source.html',''); initR
gf_graphic_begin_2d
void gf_graphic_begin_2d(gf_draw_t *draw)
Start 2D mode.
Definition gf_graphic.c:22
gf_graphic_set_camera
void gf_graphic_set_camera(gf_draw_t *draw)
Set camera.
Definition gf_graphic.c:34
gf_macro.h
Macro.
-
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:182
+
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:190
gf_pre.h
Required headers before anything.
graphic.h
Type definitions related to graphic interface.
gf_draw_t
Drawing interface.
Definition draw.h:108
diff --git a/engine/gf__gui_8c_source.html b/engine/gf__gui_8c_source.html index 98ec38c..1f9d0ee 100644 --- a/engine/gf__gui_8c_source.html +++ b/engine/gf__gui_8c_source.html @@ -265,7 +265,7 @@ $(document).ready(function(){initNavTree('gf__gui_8c_source.html',''); initResiz
gf_log.h
Logger.
gf_pre.h
Required headers before anything.
gf_gui_id_t
int gf_gui_id_t
Component ID.
Definition gui.h:17
-
GF_GUI_MAX_COMPONENTS
#define GF_GUI_MAX_COMPONENTS
Max components engine GUI can handle.
Definition gui.h:48
+
GF_GUI_MAX_COMPONENTS
#define GF_GUI_MAX_COMPONENTS
Max components GUI can handle.
Definition gui.h:48
GF_INPUT_MOUSE_LEFT_MASK
#define GF_INPUT_MOUSE_LEFT_MASK
Mask for left mouse button.
Definition input.h:28
gf_draw_t
Drawing interface.
Definition draw.h:108
gf_draw_t::input
gf_input_t * input
Input interface.
Definition draw.h:108
diff --git a/engine/gf__gui_8h_source.html b/engine/gf__gui_8h_source.html index 7c7c9ed..ed20c81 100644 --- a/engine/gf__gui_8h_source.html +++ b/engine/gf__gui_8h_source.html @@ -143,7 +143,7 @@ $(document).ready(function(){initNavTree('gf__gui_8h_source.html',''); initResiz
gf_gui_create_button
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.
Definition gf_gui.c:78
gf_gui_set_callback
void gf_gui_set_callback(gf_gui_t *gui, gf_gui_id_t id, gf_gui_callback_t callback)
Set callback.
Definition gf_gui.c:145
gf_macro.h
Macro.
-
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:182
+
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:190
gf_pre.h
Required headers before anything.
gui.h
Type definitions related to GUI.
gf_gui_id_t
int gf_gui_id_t
Component ID.
Definition gui.h:17
diff --git a/engine/gf__input_8h_source.html b/engine/gf__input_8h_source.html index 8dbbc93..ad30a4b 100644 --- a/engine/gf__input_8h_source.html +++ b/engine/gf__input_8h_source.html @@ -123,7 +123,7 @@ $(document).ready(function(){initNavTree('gf__input_8h_source.html',''); initRes
gf_input_destroy
void gf_input_destroy(gf_input_t *input)
Destroy input interface.
Definition gf_input.c:29
gf_input_create
gf_input_t * gf_input_create(gf_engine_t *engine)
Create input interface.
Definition gf_input.c:17
gf_macro.h
Macro.
-
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:182
+
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:190
gf_pre.h
Required headers before anything.
input.h
Type definitions related to input interface.
gf_engine_t
Engine instance.
Definition core.h:46
diff --git a/engine/gf__log_8h_source.html b/engine/gf__log_8h_source.html index 1c9a2bf..0aaaf5d 100644 --- a/engine/gf__log_8h_source.html +++ b/engine/gf__log_8h_source.html @@ -121,7 +121,7 @@ $(document).ready(function(){initNavTree('gf__log_8h_source.html',''); initResiz
core.h
Type definitions related to core.
gf_log
void gf_log(gf_engine_t *engine, const char *fmt,...)
Output log.
Definition gf_log.c:18
gf_macro.h
Macro.
-
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:182
+
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:190
gf_pre.h
Required headers before anything.
gf_engine_t
Engine instance.
Definition core.h:46
diff --git a/engine/gf__macro_8h.html b/engine/gf__macro_8h.html index 3b66c62..c5f3ddc 100644 --- a/engine/gf__macro_8h.html +++ b/engine/gf__macro_8h.html @@ -146,6 +146,9 @@ Macros #define GF_EXPOSE_INPUT  Expose input interface properties.
  +#define GF_EXPOSE_AUDIO + Expose audio interface properties.
+  #define GF_EXPOSE_GRAPHIC  Expose graphic interface properties.
  @@ -184,7 +187,7 @@ Macros

Macro for compiler-dependent function name macro.

-

Definition at line 162 of file gf_macro.h.

+

Definition at line 170 of file gf_macro.h.

@@ -223,7 +226,7 @@ Macros -

Definition at line 172 of file gf_macro.h.

+

Definition at line 180 of file gf_macro.h.

@@ -241,7 +244,25 @@ Macros

Macro for platform-dependent symbol export/import.

-

Definition at line 182 of file gf_macro.h.

+

Definition at line 190 of file gf_macro.h.

+ + + + +

◆ GF_EXPOSE_AUDIO

+ +
+
+ + + + +
#define GF_EXPOSE_AUDIO
+
+ +

Expose audio interface properties.

+ +

Definition at line 129 of file gf_macro.h.

@@ -368,7 +389,7 @@ Macros

Expose graphic interface properties.

Note
Exposed by default
-

Definition at line 130 of file gf_macro.h.

+

Definition at line 138 of file gf_macro.h.

@@ -423,7 +444,7 @@ Macros

Expose math properties.

Note
Exposed by default
-

Definition at line 139 of file gf_macro.h.

+

Definition at line 147 of file gf_macro.h.

@@ -550,7 +571,7 @@ Macros

Expose version properties.

Note
Exposed by default
-

Definition at line 148 of file gf_macro.h.

+

Definition at line 156 of file gf_macro.h.

diff --git a/engine/gf__macro_8h.js b/engine/gf__macro_8h.js index 76100e4..99ad7e8 100644 --- a/engine/gf__macro_8h.js +++ b/engine/gf__macro_8h.js @@ -3,6 +3,7 @@ var gf__macro_8h = [ "__FUNCTION_NAME__", "gf__macro_8h.html#a25e2d509981e06719691d7b1b4b25b12", null ], [ "GF_DECLARE_TYPE", "gf__macro_8h.html#a018031ff5fba22b9d5052a55f8c9a377", null ], [ "GF_EXPORT", "gf__macro_8h.html#a64ddd31b0795e397b5d944e6f1821357", null ], + [ "GF_EXPOSE_AUDIO", "gf__macro_8h.html#a0c037da6649bf5ca0c58c12ec3a422ff", null ], [ "GF_EXPOSE_CLIENT", "gf__macro_8h.html#a13d820c4f195f0f38ce7d791a9a4ddeb", null ], [ "GF_EXPOSE_CORE", "gf__macro_8h.html#a697eb08d834a4889d84940e79575779d", null ], [ "GF_EXPOSE_DRAW", "gf__macro_8h.html#a438e60b3ef2df2ad0a220523e95d6dca", null ], diff --git a/engine/gf__macro_8h_source.html b/engine/gf__macro_8h_source.html index 7c1bd01..a7d0fa8 100644 --- a/engine/gf__macro_8h_source.html +++ b/engine/gf__macro_8h_source.html @@ -161,50 +161,54 @@ $(document).ready(function(){initNavTree('gf__macro_8h_source.html',''); initRes
121#define GF_EXPOSE_INPUT
122#endif
123
-
124#ifndef GF_EXPOSE_GRAPHIC
-
130#define GF_EXPOSE_GRAPHIC
-
131#endif
-
132
-
133#ifndef GF_EXPOSE_MATH
-
139#define GF_EXPOSE_MATH
-
140#endif
-
141
-
142#ifndef GF_EXPOSE_VERSION
-
148#define GF_EXPOSE_VERSION
-
149#endif
-
150
-
151#endif
-
152
-
158#ifndef __FUNCTION_NAME__
-
159#ifdef _MSC_VER
-
160#define __FUNCTION_NAME__ __FUNCTION__
-
161#else
-
162#define __FUNCTION_NAME__ __func__
-
163#endif
-
164#endif
-
165
-
172#define GF_DECLARE_TYPE(n, b) typedef struct gf_##n##_t b gf_##n##_t;
+
124#ifndef GF_EXPOSE_AUDIO
+
129#define GF_EXPOSE_AUDIO
+
130#endif
+
131
+
132#ifndef GF_EXPOSE_GRAPHIC
+
138#define GF_EXPOSE_GRAPHIC
+
139#endif
+
140
+
141#ifndef GF_EXPOSE_MATH
+
147#define GF_EXPOSE_MATH
+
148#endif
+
149
+
150#ifndef GF_EXPOSE_VERSION
+
156#define GF_EXPOSE_VERSION
+
157#endif
+
158
+
159#endif
+
160
+
166#ifndef __FUNCTION_NAME__
+
167#ifdef _MSC_VER
+
168#define __FUNCTION_NAME__ __FUNCTION__
+
169#else
+
170#define __FUNCTION_NAME__ __func__
+
171#endif
+
172#endif
173
-
179#if defined(_WIN32) && defined(GF_DLL)
-
180#define GF_EXPORT extern __declspec(dllexport)
-
181#else
-
182#define GF_EXPORT extern
-
183#endif
-
184
-
185/* Expose them by default */
-
186#ifndef GF_EXPOSE_GRAPHIC
-
187#define GF_EXPOSE_GRAPHIC
-
188#endif
-
189
-
190#ifndef GF_EXPOSE_MATH
-
191#define GF_EXPOSE_MATH
-
192#endif
-
193
-
194#ifndef GF_EXPOSE_VERSION
-
195#define GF_EXPOSE_VERSION
+
180#define GF_DECLARE_TYPE(n, b) typedef struct gf_##n##_t b gf_##n##_t;
+
181
+
187#if defined(_WIN32) && defined(GF_DLL)
+
188#define GF_EXPORT extern __declspec(dllexport)
+
189#else
+
190#define GF_EXPORT extern
+
191#endif
+
192
+
193/* Expose them by default */
+
194#ifndef GF_EXPOSE_GRAPHIC
+
195#define GF_EXPOSE_GRAPHIC
196#endif
197
-
198#endif
+
198#ifndef GF_EXPOSE_MATH
+
199#define GF_EXPOSE_MATH
+
200#endif
+
201
+
202#ifndef GF_EXPOSE_VERSION
+
203#define GF_EXPOSE_VERSION
+
204#endif
+
205
+
206#endif
diff --git a/engine/gf__math_8h_source.html b/engine/gf__math_8h_source.html index 6e988fe..b315e8f 100644 --- a/engine/gf__math_8h_source.html +++ b/engine/gf__math_8h_source.html @@ -138,7 +138,7 @@ $(document).ready(function(){initNavTree('gf__math_8h_source.html',''); initResi
95
96#endif
gf_macro.h
Macro.
-
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:182
+
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:190
gf_math_log2
double gf_math_log2(double x)
Calculate log2(x)
Definition gf_math.c:15
gf_math_multiply
void gf_math_multiply(gf_math_vector_t r, gf_math_vector_t v0, gf_math_vector_t v1)
Multiply vector by vector.
Definition gf_math.c:56
gf_math_normalize
void gf_math_normalize(gf_math_vector_t v)
Normalize vector.
Definition gf_math.c:17
diff --git a/engine/gf__physics_8h_source.html b/engine/gf__physics_8h_source.html index 5b278ef..b2c1234 100644 --- a/engine/gf__physics_8h_source.html +++ b/engine/gf__physics_8h_source.html @@ -125,7 +125,7 @@ $(document).ready(function(){initNavTree('gf__physics_8h_source.html',''); initR
48#endif
core.h
Type definitions related to core.
gf_macro.h
Macro.
-
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:182
+
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:190
gf_physics_begin
void gf_physics_begin(void)
Initialize physics interface.
Definition gf_physics.c:17
gf_physics_end
void gf_physics_end(void)
Cleanup physics interface.
Definition gf_physics.c:19
gf_physics_create
gf_physics_t * gf_physics_create(gf_engine_t *engine)
Create physics interface.
Definition gf_physics.c:21
diff --git a/engine/gf__server_8h_source.html b/engine/gf__server_8h_source.html index 5dc7d38..056c89f 100644 --- a/engine/gf__server_8h_source.html +++ b/engine/gf__server_8h_source.html @@ -125,7 +125,7 @@ $(document).ready(function(){initNavTree('gf__server_8h_source.html',''); initRe
48#endif
core.h
Type definitions related to core.
gf_macro.h
Macro.
-
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:182
+
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:190
gf_pre.h
Required headers before anything.
gf_server_begin
void gf_server_begin(void)
Initialize server interface.
Definition gf_server.c:18
gf_server_create
gf_server_t * gf_server_create(gf_engine_t *engine)
Create server interface.
Definition gf_server.c:22
diff --git a/engine/gf__texture_8h_source.html b/engine/gf__texture_8h_source.html index 63a795c..488bd2c 100644 --- a/engine/gf__texture_8h_source.html +++ b/engine/gf__texture_8h_source.html @@ -121,7 +121,7 @@ $(document).ready(function(){initNavTree('gf__texture_8h_source.html',''); initR
39#endif
draw.h
Type definitions related to drawing interface.
gf_macro.h
Macro.
-
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:182
+
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:190
gf_pre.h
Required headers before anything.
gf_texture_destroy
void gf_texture_destroy(gf_texture_t *texture)
Destroy texture.
Definition gf_texture.c:33
gf_texture_create
gf_texture_t * gf_texture_create(gf_draw_t *draw, int width, int height, unsigned char *data)
Create texture.
Definition gf_texture.c:17
diff --git a/engine/gf__thread_8h_source.html b/engine/gf__thread_8h_source.html index 46329f8..054b94b 100644 --- a/engine/gf__thread_8h_source.html +++ b/engine/gf__thread_8h_source.html @@ -121,7 +121,7 @@ $(document).ready(function(){initNavTree('gf__thread_8h_source.html',''); initRe
42
43#endif
gf_macro.h
Macro.
-
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:182
+
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:190
gf_pre.h
Required headers before anything.
gf_thread_join
void gf_thread_join(gf_thread_t *thread)
Join thread.
Definition gf_thread.c:31
gf_thread_create
gf_thread_t * gf_thread_create(void(*func)(void *), void *userdata)
Create thread.
Definition gf_thread.c:22
diff --git a/engine/gf__version_8h_source.html b/engine/gf__version_8h_source.html index 7e5a414..3325609 100644 --- a/engine/gf__version_8h_source.html +++ b/engine/gf__version_8h_source.html @@ -117,7 +117,7 @@ $(document).ready(function(){initNavTree('gf__version_8h_source.html',''); initR
25
26#endif
gf_macro.h
Macro.
-
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:182
+
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:190
gf_pre.h
Required headers before anything.
gf_version_get
void gf_version_get(gf_version_t *version)
Get version of engine.
Definition gf_version.c:18
gf_version_t
Version.
Definition version.h:68
diff --git a/engine/globals.html b/engine/globals.html index d8d2775..e2a2268 100644 --- a/engine/globals.html +++ b/engine/globals.html @@ -99,6 +99,11 @@ $(document).ready(function(){initNavTree('globals.html',''); initResizable(); })

- g -