From d109bc51524d2b0cc9135bd8861a4a0caf47cb44 Mon Sep 17 00:00:00 2001 From: herbglitch Date: Tue, 24 Dec 2024 03:48:05 -0700 Subject: [PATCH] removed generated html --- .gitignore | 2 +- doc/doxygen/html/annotated.html | 159 -- doc/doxygen/html/annotated_dup.js | 30 - doc/doxygen/html/bc_s.png | Bin 676 -> 0 bytes doc/doxygen/html/bc_sd.png | Bin 635 -> 0 bytes doc/doxygen/html/classes.html | 134 - doc/doxygen/html/clipboard.js | 61 - doc/doxygen/html/closed.png | Bin 132 -> 0 bytes doc/doxygen/html/cookie.js | 58 - ...d_8dir_2src_2input_2keyboard_8c_8o_8d.html | 130 - ...2src_2input_2keyboard_8c_8o_8d_source.html | 150 -- doc/doxygen/html/d0/d18/structARC__Rect.html | 215 -- doc/doxygen/html/d0/d18/structARC__Rect.js | 7 - .../d0/d19/include_2arc_2audio_2audio_8h.html | 187 -- .../d0/d19/include_2arc_2audio_2audio_8h.js | 5 - .../include_2arc_2audio_2audio_8h_source.html | 146 -- doc/doxygen/html/d0/d20/readme_8md.html | 128 - .../html/d0/d41/structARC__Spritesheet.html | 183 -- .../html/d0/d41/structARC__Spritesheet.js | 5 - ...std_8dir_2src_2files_2config_8c_8o_8d.html | 130 - ...r_2src_2files_2config_8c_8o_8d_source.html | 177 -- doc/doxygen/html/d0/d53/parserlang_8c.html | 970 ------- .../html/d0/d53/parserlang_8c_source.html | 619 ----- .../html/d0/d54/structARC__Parser.html | 261 -- doc/doxygen/html/d0/d54/structARC__Parser.js | 9 - doc/doxygen/html/d0/d5a/structARC__ECS.html | 159 -- doc/doxygen/html/d0/d5a/structARC__ECS.js | 4 - doc/doxygen/html/d0/d7e/vector3_8h.html | 130 - .../html/d0/d7e/vector3_8h_source.html | 129 - .../html/d0/d80/structARC__StackNode.html | 181 -- .../html/d0/d80/structARC__StackNode.js | 5 - doc/doxygen/html/d0/d90/errno_8c.html | 159 -- doc/doxygen/html/d0/d90/errno_8c.js | 4 - doc/doxygen/html/d0/d90/errno_8c_source.html | 146 -- .../d0/da4/console_2ncurses_2view_8c.html | 1308 ---------- .../html/d0/da4/console_2ncurses_2view_8c.js | 28 - .../da4/console_2ncurses_2view_8c_source.html | 512 ---- doc/doxygen/html/d0/db1/page1.html | 155 -- ..._2src_2std_2defaults_2config_8c_8o_8d.html | 130 - ...std_2defaults_2config_8c_8o_8d_source.html | 176 -- ...d_8dir_2src_2math_2rectangle_8c_8o_8d.html | 130 - ...2src_2math_2rectangle_8c_8o_8d_source.html | 144 -- doc/doxygen/html/d0/dc9/state_8c.html | 192 -- doc/doxygen/html/d0/dc9/state_8c.js | 5 - doc/doxygen/html/d0/dc9/state_8c_source.html | 146 -- .../d0/dd6/src_2graphics_2spritesheet_8c.html | 130 - .../src_2graphics_2spritesheet_8c_source.html | 158 -- doc/doxygen/html/d1/d02/helpers_8c.html | 215 -- doc/doxygen/html/d1/d02/helpers_8c.js | 4 - .../html/d1/d02/helpers_8c_source.html | 170 -- doc/doxygen/html/d1/d03/vector2_8h.html | 243 -- doc/doxygen/html/d1/d03/vector2_8h.js | 9 - .../html/d1/d03/vector2_8h_source.html | 177 -- doc/doxygen/html/d1/d06/input_8c.html | 252 -- doc/doxygen/html/d1/d06/input_8c_source.html | 154 -- .../html/d1/d1a/structARC__WindowInfo.html | 198 -- .../html/d1/d1a/structARC__WindowInfo.js | 6 - .../tests_8dir_2src_2std_2io_8c_8o_8d.html | 130 - ...ts_8dir_2src_2std_2io_8c_8o_8d_source.html | 170 -- .../packages_2graphics_2sdl_2renderer_8h.html | 158 -- .../packages_2graphics_2sdl_2renderer_8h.js | 4 - ...es_2graphics_2sdl_2renderer_8h_source.html | 141 - ...dir_2src_2graphics_2renderer_8c_8o_8d.html | 130 - ...c_2graphics_2renderer_8c_8o_8d_source.html | 147 -- ..._8dir_2src_2graphics_2sprite_8c_8o_8d.html | 130 - ...src_2graphics_2sprite_8c_8o_8d_source.html | 161 -- .../html/d1/d4a/structARC__ConsoleView.html | 221 -- .../html/d1/d4a/structARC__ConsoleView.js | 7 - doc/doxygen/html/d1/d55/engine_8h.html | 271 -- doc/doxygen/html/d1/d55/engine_8h.js | 8 - doc/doxygen/html/d1/d55/engine_8h_source.html | 221 -- ..._std_8dir_2src_2math_2circle_8c_8o_8d.html | 130 - ...ir_2src_2math_2circle_8c_8o_8d_source.html | 131 - ..._8dir_2src_2std_2parser_2csv_8c_8o_8d.html | 130 - ...src_2std_2parser_2csv_8c_8o_8d_source.html | 169 -- .../packages_2graphics_2sdl_2sprite_8h.html | 140 - .../d88/packages_2graphics_2sdl_2sprite_8h.js | 4 - ...ages_2graphics_2sdl_2sprite_8h_source.html | 153 -- .../html/d1/d88/src_2std_2parser_8c.html | 1013 -------- .../html/d1/d88/src_2std_2parser_8c.js | 16 - .../d1/d88/src_2std_2parser_8c_source.html | 599 ----- .../html/d1/d8e/src_2std_2parser_2csv_8c.html | 787 ------ .../html/d1/d8e/src_2std_2parser_2csv_8c.js | 13 - .../d8e/src_2std_2parser_2csv_8c_source.html | 534 ---- ...r_2src_2std_2parser_2helpers_8c_8o_8d.html | 130 - ...2std_2parser_2helpers_8c_8o_8d_source.html | 160 -- doc/doxygen/html/d1/d98/helpers_8h.html | 175 -- doc/doxygen/html/d1/d98/helpers_8h.js | 4 - .../html/d1/d98/helpers_8h_source.html | 158 -- doc/doxygen/html/d1/db0/string_8c.html | 2263 ----------------- doc/doxygen/html/d1/db0/string_8c.js | 39 - doc/doxygen/html/d1/db0/string_8c_source.html | 880 ------- .../d1/db3/src_2graphics_2obround_8c.html | 130 - .../db3/src_2graphics_2obround_8c_source.html | 149 -- ..._2arc_2graphics_2none_2spritesheet_8h.html | 130 - ...graphics_2none_2spritesheet_8h_source.html | 142 -- .../include_2arc_2graphics_2renderer_8h.html | 331 --- .../include_2arc_2graphics_2renderer_8h.js | 8 - ...de_2arc_2graphics_2renderer_8h_source.html | 191 -- .../de1/packages_2input_2sdl_2mouse_8c.html | 447 ---- .../d1/de1/packages_2input_2sdl_2mouse_8c.js | 10 - ...packages_2input_2sdl_2mouse_8c_source.html | 282 -- ...ests_8dir_2src_2math_2config_8c_8o_8d.html | 130 - ...ir_2src_2math_2config_8c_8o_8d_source.html | 179 -- ...s_8dir_2tests_2std_2chemical_8c_8o_8d.html | 130 - ...2tests_2std_2chemical_8c_8o_8d_source.html | 160 -- ...ts_8dir_2src_2std_2hashtable_8c_8o_8d.html | 130 - ..._2src_2std_2hashtable_8c_8o_8d_source.html | 167 -- ...std_8dir_2src_2engine_2state_8c_8o_8d.html | 130 - ...r_2src_2engine_2state_8c_8o_8d_source.html | 133 - ...sts_8dir_2src_2math_2obround_8c_8o_8d.html | 130 - ...r_2src_2math_2obround_8c_8o_8d_source.html | 142 -- ...std_8dir_2src_2math_2vector2_8c_8o_8d.html | 130 - ...r_2src_2math_2vector2_8c_8o_8d_source.html | 144 -- .../packages_2input_2glfw_2keyboard_8c.html | 130 - ...ages_2input_2glfw_2keyboard_8c_source.html | 164 -- .../html/d2/d14/math_2rectangle_8h.html | 557 ---- doc/doxygen/html/d2/d14/math_2rectangle_8h.js | 19 - .../d2/d14/math_2rectangle_8h_source.html | 307 --- .../html/d2/d19/group__ARC__Vector.html | 493 ---- doc/doxygen/html/d2/d19/group__ARC__Vector.js | 14 - .../packages_2graphics_2sdl_2sprite_8c.html | 691 ----- .../d1a/packages_2graphics_2sdl_2sprite_8c.js | 15 - ...ages_2graphics_2sdl_2sprite_8c_source.html | 280 -- ...sts_8dir_2src_2files_2config_8c_8o_8d.html | 130 - ...r_2src_2files_2config_8c_8o_8d_source.html | 177 -- .../html/d2/d20/structARC__ConsoleBuffer.html | 161 -- .../html/d2/d20/structARC__ConsoleBuffer.js | 4 - doc/doxygen/html/d2/d24/page_8dox.html | 128 - doc/doxygen/html/d2/d30/structARC__Color.html | 215 -- doc/doxygen/html/d2/d30/structARC__Color.js | 7 - doc/doxygen/html/d2/d32/structARC__Queue.html | 181 -- doc/doxygen/html/d2/d32/structARC__Queue.js | 5 - .../html/d2/d37/structARC__LexerToken.html | 183 -- .../html/d2/d37/structARC__LexerToken.js | 5 - doc/doxygen/html/d2/d71/window_8c.html | 104 - doc/doxygen/html/d2/d71/window_8c_source.html | 121 - doc/doxygen/html/d2/d72/parser_8c.html | 984 ------- doc/doxygen/html/d2/d72/parser_8c_source.html | 572 ----- .../d78/include_2arc_2input_2keyboard_8h.html | 665 ----- .../d78/include_2arc_2input_2keyboard_8h.js | 58 - ...clude_2arc_2input_2keyboard_8h_source.html | 266 -- ...__std_8dir_2src_2std_2parser_8c_8o_8d.html | 130 - ...dir_2src_2std_2parser_8c_8o_8d_source.html | 179 -- .../html/d2/d8b/std_2defaults_2config_8h.html | 998 -------- .../html/d2/d8b/std_2defaults_2config_8h.js | 34 - .../d8b/std_2defaults_2config_8h_source.html | 212 -- doc/doxygen/html/d2/d91/point_8h.html | 229 -- doc/doxygen/html/d2/d91/point_8h.js | 10 - doc/doxygen/html/d2/d91/point_8h_source.html | 178 -- doc/doxygen/html/d2/d9d/structARC__Point.html | 179 -- doc/doxygen/html/d2/d9d/structARC__Point.js | 5 - .../html/d2/da7/std_2defaults_2config_8c.html | 105 - .../da7/std_2defaults_2config_8c_source.html | 498 ---- .../html/d2/dba/graphics_2obround_8h.html | 197 -- .../html/d2/dba/graphics_2obround_8h.js | 5 - .../d2/dba/graphics_2obround_8h_source.html | 160 -- ...kages_2graphics_2opengl_2rectangle_8c.html | 130 - ...graphics_2opengl_2rectangle_8c_source.html | 145 -- ..._2src_2graphics_2spritesheet_8c_8o_8d.html | 130 - ...graphics_2spritesheet_8c_8o_8d_source.html | 159 -- doc/doxygen/html/d2/dbd/queue_8c.html | 419 --- doc/doxygen/html/d2/dbd/queue_8c.js | 11 - doc/doxygen/html/d2/dbd/queue_8c_source.html | 257 -- doc/doxygen/html/d2/ddc/test_8h.html | 375 --- doc/doxygen/html/d2/ddc/test_8h.js | 11 - doc/doxygen/html/d2/ddc/test_8h_source.html | 182 -- ...packages_2graphics_2sdl_2rectangle_8c.html | 296 --- .../packages_2graphics_2sdl_2rectangle_8c.js | 7 - ...s_2graphics_2sdl_2rectangle_8c_source.html | 174 -- .../d2/de7/archeus__std_8dir_2link_8d.html | 130 - .../archeus__std_8dir_2link_8d_source.html | 153 -- ...src_2std_2parser_2parserlang_8c_8o_8d.html | 130 - ...d_2parser_2parserlang_8c_8o_8d_source.html | 175 -- ...__std_8dir_2src_2std_2config_8c_8o_8d.html | 130 - ...dir_2src_2std_2config_8c_8o_8d_source.html | 176 -- .../html/d3/d0a/structARC__ParserTag.html | 201 -- .../html/d3/d0a/structARC__ParserTag.js | 6 - .../d3/d25/src_2std_2chemical_8c_8o_8d.html | 104 - .../src_2std_2chemical_8c_8o_8d_source.html | 144 -- ...nclude_2arc_2input_2none_2keyboard_8h.html | 130 - ...2arc_2input_2none_2keyboard_8h_source.html | 145 -- .../html/d3/d3c/structARC__Config.html | 201 -- doc/doxygen/html/d3/d3c/structARC__Config.js | 6 - .../d3/d3e/include_2arc_2input_2input_8h.html | 337 --- .../d3/d3e/include_2arc_2input_2input_8h.js | 9 - .../include_2arc_2input_2input_8h_source.html | 174 -- .../tests_8dir_2src_2std_2time_8c_8o_8d.html | 130 - ..._8dir_2src_2std_2time_8c_8o_8d_source.html | 150 -- doc/doxygen/html/d3/d58/std_2config_8h.html | 582 ----- doc/doxygen/html/d3/d58/std_2config_8h.js | 18 - .../html/d3/d58/std_2config_8h_source.html | 269 -- doc/doxygen/html/d3/d66/math_2obround_8h.html | 241 -- doc/doxygen/html/d3/d66/math_2obround_8h.js | 9 - .../html/d3/d66/math_2obround_8h_source.html | 193 -- ..._std_8dir_2src_2std_2handler_8c_8o_8d.html | 130 - ...ir_2src_2std_2handler_8c_8o_8d_source.html | 171 -- .../html/d3/d6d/tests_2std_2lexer_8c.html | 418 --- .../html/d3/d6d/tests_2std_2lexer_8c.js | 9 - .../d3/d6d/tests_2std_2lexer_8c_source.html | 292 --- doc/doxygen/html/d3/d76/ecs_8h.html | 236 -- doc/doxygen/html/d3/d76/ecs_8h.js | 7 - doc/doxygen/html/d3/d76/ecs_8h_source.html | 170 -- doc/doxygen/html/d3/d8b/buffer_8c.html | 669 ----- doc/doxygen/html/d3/d8b/buffer_8c.js | 14 - doc/doxygen/html/d3/d8b/buffer_8c_source.html | 330 --- doc/doxygen/html/d3/d8e/csv_8h.html | 424 --- doc/doxygen/html/d3/d8e/csv_8h.js | 16 - doc/doxygen/html/d3/d8e/csv_8h_source.html | 222 -- doc/doxygen/html/d3/d9a/audio_8c.html | 167 -- doc/doxygen/html/d3/d9a/audio_8c.js | 4 - doc/doxygen/html/d3/d9a/audio_8c_source.html | 142 -- doc/doxygen/html/d3/dac/structARC__Array.html | 183 -- doc/doxygen/html/d3/dac/structARC__Array.js | 5 - ...litch_2programs_2archeus_2arc_2readme.html | 134 - doc/doxygen/html/d3/dbb/stack_8c.html | 398 --- doc/doxygen/html/d3/dbb/stack_8c.js | 11 - doc/doxygen/html/d3/dbb/stack_8c_source.html | 236 -- .../d3/dc3/src_2graphics_2rectangle_8c.html | 130 - .../src_2graphics_2rectangle_8c_source.html | 159 -- doc/doxygen/html/d3/dcc/none_2mouse_8h.html | 130 - .../html/d3/dcc/none_2mouse_8h_source.html | 144 -- ...r_2src_2std_2parser_2helpers_8c_8o_8d.html | 130 - ...2std_2parser_2helpers_8c_8o_8d_source.html | 160 -- .../html/d3/ddb/structARC__DVector2.html | 179 -- .../html/d3/ddb/structARC__DVector2.js | 5 - doc/doxygen/html/d3/df1/window_8h.html | 241 -- doc/doxygen/html/d3/df1/window_8h.js | 8 - doc/doxygen/html/d3/df1/window_8h_source.html | 182 -- .../html/d4/d05/graphics_2rectangle_8c.html | 104 - .../d4/d05/graphics_2rectangle_8c_source.html | 133 - .../html/d4/d06/structARC__Obround.html | 215 -- doc/doxygen/html/d4/d06/structARC__Obround.js | 7 - doc/doxygen/html/d4/d43/chemical_8c.html | 535 ---- .../html/d4/d43/chemical_8c_source.html | 258 -- .../d4/d4c/include_2arc_2input_2mouse_8h.html | 539 ---- .../d4/d4c/include_2arc_2input_2mouse_8h.js | 25 - .../include_2arc_2input_2mouse_8h_source.html | 198 -- .../html/d4/d52/src_2input_2mouse_8c.html | 130 - .../d4/d52/src_2input_2mouse_8c_source.html | 179 -- ...clude_2arc_2graphics_2none_2window_8h.html | 130 - ...arc_2graphics_2none_2window_8h_source.html | 140 - doc/doxygen/html/d4/d5c/point_8c.html | 179 -- doc/doxygen/html/d4/d5c/point_8c.js | 4 - doc/doxygen/html/d4/d5c/point_8c_source.html | 143 -- .../packages_2input_2sdl_2keyboard_8h.html | 140 - .../d6b/packages_2input_2sdl_2keyboard_8h.js | 4 - ...kages_2input_2sdl_2keyboard_8h_source.html | 150 -- .../html/d4/d71/structARC__ParserCSVData.html | 238 -- .../html/d4/d71/structARC__ParserCSVData.js | 8 - doc/doxygen/html/d4/d93/structARC__Input.html | 203 -- doc/doxygen/html/d4/d93/structARC__Input.js | 6 - .../html/d4/da4/structARC__FPoint.html | 179 -- doc/doxygen/html/d4/da4/structARC__FPoint.js | 5 - ..._8dir_2src_2graphics_2config_8c_8o_8d.html | 130 - ...src_2graphics_2config_8c_8o_8d_source.html | 158 -- .../html/d4/db5/tests_2std_2chemical_8c.html | 174 -- .../html/d4/db5/tests_2std_2chemical_8c.js | 4 - .../db5/tests_2std_2chemical_8c_source.html | 151 -- doc/doxygen/html/d4/dfe/element_8h.html | 406 --- doc/doxygen/html/d4/dfe/element_8h.js | 15 - .../html/d4/dfe/element_8h_source.html | 230 -- .../include_2arc_2graphics_2window_8h.html | 284 --- .../d03/include_2arc_2graphics_2window_8h.js | 8 - ...lude_2arc_2graphics_2window_8h_source.html | 183 -- .../html/d5/d07/graphics_2config_8c.html | 104 - .../d5/d07/graphics_2config_8c_source.html | 116 - doc/doxygen/html/d5/d08/buffer_8h.html | 492 ---- doc/doxygen/html/d5/d08/buffer_8h.js | 14 - doc/doxygen/html/d5/d08/buffer_8h_source.html | 245 -- .../packages_2graphics_2glfw_2window_8h.html | 130 - ...ges_2graphics_2glfw_2window_8h_source.html | 146 -- doc/doxygen/html/d5/d36/parser_8h.html | 645 ----- doc/doxygen/html/d5/d36/parser_8h.js | 21 - doc/doxygen/html/d5/d36/parser_8h_source.html | 320 --- doc/doxygen/html/d5/d48/archeus_8md.html | 128 - doc/doxygen/html/d5/d5d/structARC__Mouse.html | 243 -- doc/doxygen/html/d5/d5d/structARC__Mouse.js | 8 - ...s_8dir_2src_2math_2rectangle_8c_8o_8d.html | 130 - ...2src_2math_2rectangle_8c_8o_8d_source.html | 144 -- .../d6e/packages_2input_2sdl_2input_8c.html | 296 --- .../d5/d6e/packages_2input_2sdl_2input_8c.js | 8 - ...packages_2input_2sdl_2input_8c_source.html | 208 -- ..._8dir_2src_2graphics_2window_8c_8o_8d.html | 130 - ...src_2graphics_2window_8c_8o_8d_source.html | 150 -- .../tests_8dir_2src_2std_2errno_8c_8o_8d.html | 130 - ...8dir_2src_2std_2errno_8c_8o_8d_source.html | 150 -- ...s_8dir_2src_2input_2keyboard_8c_8o_8d.html | 130 - ...2src_2input_2keyboard_8c_8o_8d_source.html | 150 -- doc/doxygen/html/d5/d89/math_2circle_8c.html | 104 - .../html/d5/d89/math_2circle_8c_source.html | 103 - .../d90/packages_2graphics_2sdl_2text_8h.html | 163 -- .../d90/packages_2graphics_2sdl_2text_8h.js | 5 - ...ckages_2graphics_2sdl_2text_8h_source.html | 163 -- ...s__std_8dir_2src_2std_2lexer_8c_8o_8d.html | 130 - ...8dir_2src_2std_2lexer_8c_8o_8d_source.html | 174 -- .../html/d5/d9e/graphics_2circle_8c.html | 104 - .../d5/d9e/graphics_2circle_8c_source.html | 117 - .../d5/d9f/include_2arc_2console_2key_8h.html | 715 ------ .../d5/d9f/include_2arc_2console_2key_8h.js | 57 - .../include_2arc_2console_2key_8h_source.html | 267 -- .../html/d5/da2/structARC__QueueNode.html | 181 -- .../html/d5/da2/structARC__QueueNode.js | 5 - ...tests_8dir_2src_2std_2vector_8c_8o_8d.html | 130 - ...dir_2src_2std_2vector_8c_8o_8d_source.html | 169 -- .../da8/src_2std_2parser_2parserlang_8c.html | 996 -------- .../d5/da8/src_2std_2parser_2parserlang_8c.js | 16 - ...rc_2std_2parser_2parserlang_8c_source.html | 645 ----- .../d5/dba/temp__parserlang_8c_8o_8d.html | 130 - .../dba/temp__parserlang_8c_8o_8d_source.html | 158 -- .../d5/dbd/structARC__LexerTokenRule.html | 219 -- .../html/d5/dbd/structARC__LexerTokenRule.js | 7 - ...sts_8dir_2src_2math_2vector2_8c_8o_8d.html | 130 - ...r_2src_2math_2vector2_8c_8o_8d_source.html | 144 -- ..._std_8dir_2src_2math_2config_8c_8o_8d.html | 130 - ...ir_2src_2math_2config_8c_8o_8d_source.html | 179 -- .../html/d5/de5/graphics_2view_8h.html | 322 --- doc/doxygen/html/d5/de5/graphics_2view_8h.js | 10 - .../html/d5/de5/graphics_2view_8h_source.html | 202 -- .../html/d5/df0/structARC__EngineData.html | 305 --- .../html/d5/df0/structARC__EngineData.js | 12 - doc/doxygen/html/d5/df3/lexer_8h.html | 1801 ------------- doc/doxygen/html/d5/df3/lexer_8h.js | 78 - doc/doxygen/html/d5/df3/lexer_8h_source.html | 478 ---- .../html/d5/df6/src_2math_2obround_8c.html | 232 -- .../html/d5/df6/src_2math_2obround_8c.js | 5 - .../d5/df6/src_2math_2obround_8c_source.html | 164 -- ..._8dir_2src_2graphics_2sprite_8c_8o_8d.html | 130 - ...src_2graphics_2sprite_8c_8o_8d_source.html | 161 -- ...ests_8dir_2src_2input_2input_8c_8o_8d.html | 130 - ...ir_2src_2input_2input_8c_8o_8d_source.html | 156 -- doc/doxygen/html/d6/d2b/structARC__Lexer.html | 221 -- doc/doxygen/html/d6/d2b/structARC__Lexer.js | 7 - ...heus__std_8dir_2src_2std_2io_8c_8o_8d.html | 130 - ...td_8dir_2src_2std_2io_8c_8o_8d_source.html | 170 -- doc/doxygen/html/d6/d4e/structARC__Audio.html | 163 -- doc/doxygen/html/d6/d4e/structARC__Audio.js | 4 - doc/doxygen/html/d6/d4f/shell_8c.html | 416 --- doc/doxygen/html/d6/d4f/shell_8c.js | 9 - doc/doxygen/html/d6/d4f/shell_8c_source.html | 223 -- doc/doxygen/html/d6/d68/vector_8h.html | 182 -- doc/doxygen/html/d6/d68/vector_8h.js | 14 - doc/doxygen/html/d6/d68/vector_8h_source.html | 278 -- ...8dir_2src_2graphics_2obround_8c_8o_8d.html | 130 - ...rc_2graphics_2obround_8c_8o_8d_source.html | 154 -- ..._80_2CompilerIdC_2CMakeCCompilerId_8c.html | 593 ----- ...31_80_2CompilerIdC_2CMakeCCompilerId_8c.js | 22 - ...mpilerIdC_2CMakeCCompilerId_8c_source.html | 1048 -------- ..._8dir_2src_2std_2parser_2csv_8c_8o_8d.html | 130 - ...src_2std_2parser_2csv_8c_8o_8d_source.html | 169 -- doc/doxygen/html/d6/d7e/console_2view_8h.html | 1084 -------- doc/doxygen/html/d6/d7e/console_2view_8h.js | 34 - .../html/d6/d7e/console_2view_8h_source.html | 431 ---- .../packages_2graphics_2sdl_2window_8c.html | 240 -- .../d83/packages_2graphics_2sdl_2window_8c.js | 5 - ...ages_2graphics_2sdl_2window_8c_source.html | 178 -- doc/doxygen/html/d6/d85/renderer_8h.html | 278 -- doc/doxygen/html/d6/d85/renderer_8h.js | 8 - .../html/d6/d85/renderer_8h_source.html | 190 -- .../html/d6/d85/src_2input_2input_8c.html | 286 --- .../html/d6/d85/src_2input_2input_8c.js | 8 - .../d6/d85/src_2input_2input_8c_source.html | 180 -- .../packages_2graphics_2opengl_2text_8c.html | 130 - ...ges_2graphics_2opengl_2text_8c_source.html | 165 -- ...src_2std_2parser_2parserlang_8c_8o_8d.html | 130 - ...d_2parser_2parserlang_8c_8o_8d_source.html | 175 -- doc/doxygen/html/d6/da0/keyboard_8h.html | 550 ---- doc/doxygen/html/d6/da0/keyboard_8h.js | 58 - .../html/d6/da0/keyboard_8h_source.html | 266 -- .../html/d6/da1/none_2spritesheet_8h.html | 130 - .../d6/da1/none_2spritesheet_8h_source.html | 142 -- .../html/d6/dad/none_2keyboard_8h.html | 130 - .../html/d6/dad/none_2keyboard_8h_source.html | 145 -- ...__std_8dir_2src_2std_2vector_8c_8o_8d.html | 130 - ...dir_2src_2std_2vector_8c_8o_8d_source.html | 169 -- ...sts_2std_2parser_2parserlang_8c_8o_8d.html | 130 - ...d_2parser_2parserlang_8c_8o_8d_source.html | 160 -- .../html/d6/deb/src_2graphics_2line_8c.html | 130 - .../d6/deb/src_2graphics_2line_8c_source.html | 142 -- doc/doxygen/html/d6/dec/none_2text_8h.html | 130 - .../html/d6/dec/none_2text_8h_source.html | 142 -- .../html/d6/df5/structARC__HashtableNode.html | 215 -- .../html/d6/df5/structARC__HashtableNode.js | 7 - ...include_2arc_2graphics_2none_2text_8h.html | 130 - ..._2arc_2graphics_2none_2text_8h_source.html | 142 -- .../packages_2graphics_2glfw_2window_8c.html | 130 - ...ges_2graphics_2glfw_2window_8c_source.html | 176 -- .../html/d7/d09/graphics_2rectangle_8h.html | 253 -- .../html/d7/d09/graphics_2rectangle_8h.js | 7 - .../d7/d09/graphics_2rectangle_8h_source.html | 164 -- .../html/d7/d28/src_2graphics_2window_8c.html | 130 - .../d28/src_2graphics_2window_8c_source.html | 147 -- ...ir_2src_2graphics_2rectangle_8c_8o_8d.html | 130 - ..._2graphics_2rectangle_8c_8o_8d_source.html | 156 -- .../html/d7/d34/none_2renderer_8h.html | 130 - .../html/d7/d34/none_2renderer_8h_source.html | 140 - .../packages_2input_2sdl_2keyboard_8c.html | 386 --- .../d37/packages_2input_2sdl_2keyboard_8c.js | 7 - ...kages_2input_2sdl_2keyboard_8c_source.html | 294 --- ..._std_8dir_2src_2input_2input_8c_8o_8d.html | 130 - ...ir_2src_2input_2input_8c_8o_8d_source.html | 156 -- ...ckages_2graphics_2sdl_2spritesheet_8c.html | 326 --- ...packages_2graphics_2sdl_2spritesheet_8c.js | 8 - ...2graphics_2sdl_2spritesheet_8c_source.html | 205 -- ...sts_8dir_2tests_2std_2parser_8c_8o_8d.html | 130 - ...r_2tests_2std_2parser_8c_8o_8d_source.html | 176 -- doc/doxygen/html/d7/d5d/line_8h.html | 184 -- doc/doxygen/html/d7/d5d/line_8h.js | 4 - doc/doxygen/html/d7/d5d/line_8h_source.html | 153 -- .../html/d7/d7c/structARC__ConfigKey.html | 181 -- .../html/d7/d7c/structARC__ConfigKey.js | 5 - .../d7/d80/src_2graphics_2renderer_8c.html | 130 - .../src_2graphics_2renderer_8c_source.html | 157 -- ...td_8dir_2src_2std_2hashtable_8c_8o_8d.html | 130 - ..._2src_2std_2hashtable_8c_8o_8d_source.html | 167 -- ...td_8dir_2src_2graphics_2text_8c_8o_8d.html | 130 - ..._2src_2graphics_2text_8c_8o_8d_source.html | 157 -- ...packages_2graphics_2opengl_2circle_8c.html | 130 - ...s_2graphics_2opengl_2circle_8c_source.html | 143 -- doc/doxygen/html/d7/de0/stack_8h.html | 305 --- doc/doxygen/html/d7/de0/stack_8h.js | 9 - doc/doxygen/html/d7/de0/stack_8h_source.html | 191 -- ...__std_8dir_2src_2std_2string_8c_8o_8d.html | 130 - ...dir_2src_2std_2string_8c_8o_8d_source.html | 172 -- ...dir_2src_2graphics_2renderer_8c_8o_8d.html | 130 - ...c_2graphics_2renderer_8c_8o_8d_source.html | 147 -- doc/doxygen/html/d7/dfb/ssh_8c.html | 624 ----- doc/doxygen/html/d7/dfb/ssh_8c.js | 10 - doc/doxygen/html/d7/dfb/ssh_8c_source.html | 453 ---- .../packages_2graphics_2sdl_2renderer_8c.html | 314 --- .../packages_2graphics_2sdl_2renderer_8c.js | 7 - ...es_2graphics_2sdl_2renderer_8c_source.html | 193 -- doc/doxygen/html/d8/d33/lexer_8c.html | 1574 ------------ doc/doxygen/html/d8/d33/lexer_8c_source.html | 765 ------ doc/doxygen/html/d8/d38/queue_8h.html | 305 --- doc/doxygen/html/d8/d38/queue_8h.js | 9 - doc/doxygen/html/d8/d38/queue_8h_source.html | 191 -- doc/doxygen/html/d8/d43/structARC__Ssh.html | 161 -- doc/doxygen/html/d8/d43/structARC__Ssh.js | 4 - .../html/d8/d5c/src_2std_2config_8c.html | 1580 ------------ .../html/d8/d5c/src_2std_2config_8c.js | 31 - .../d8/d5c/src_2std_2config_8c_source.html | 867 ------- .../html/d8/d66/graphics_2obround_8c.html | 104 - .../d8/d66/graphics_2obround_8c_source.html | 123 - ...packages_2graphics_2glfw_2renderer_8h.html | 130 - ...s_2graphics_2glfw_2renderer_8h_source.html | 160 -- .../html/d8/d71/src_2input_2keyboard_8c.html | 130 - .../d71/src_2input_2keyboard_8c_source.html | 161 -- .../html/d8/d72/src_2graphics_2sprite_8c.html | 130 - .../d72/src_2graphics_2sprite_8c_source.html | 194 -- doc/doxygen/html/d8/d77/bool_8h.html | 192 -- doc/doxygen/html/d8/d77/bool_8h.js | 6 - doc/doxygen/html/d8/d77/bool_8h_source.html | 146 -- .../html/d8/d79/graphics_2circle_8h.html | 197 -- .../html/d8/d79/graphics_2circle_8h.js | 5 - .../d8/d79/graphics_2circle_8h_source.html | 157 -- ..._81_2CompilerIdC_2CMakeCCompilerId_8c.html | 593 ----- ...31_81_2CompilerIdC_2CMakeCCompilerId_8c.js | 22 - ...mpilerIdC_2CMakeCCompilerId_8c_source.html | 1048 -------- doc/doxygen/html/d8/d86/csv_8c.html | 759 ------ doc/doxygen/html/d8/d86/csv_8c_source.html | 508 ---- .../da4/structARC__ConfigDeleteKeyArgs.html | 181 -- .../d8/da4/structARC__ConfigDeleteKeyArgs.js | 5 - .../da9/include_2arc_2graphics_2text_8h.html | 381 --- .../d8/da9/include_2arc_2graphics_2text_8h.js | 9 - ...nclude_2arc_2graphics_2text_8h_source.html | 174 -- .../db1/packages_2audio_2sdl_2audio_8h.html | 160 -- .../d8/db1/packages_2audio_2sdl_2audio_8h.js | 5 - ...packages_2audio_2sdl_2audio_8h_source.html | 143 -- ...us__std_8dir_2src_2std_2time_8c_8o_8d.html | 130 - ..._8dir_2src_2std_2time_8c_8o_8d_source.html | 150 -- doc/doxygen/html/d8/db9/test_8c.html | 254 -- doc/doxygen/html/d8/db9/test_8c.js | 8 - doc/doxygen/html/d8/db9/test_8c_source.html | 163 -- doc/doxygen/html/d8/dc2/errno_8h.html | 339 --- doc/doxygen/html/d8/dc2/errno_8h.js | 13 - doc/doxygen/html/d8/dc2/errno_8h_source.html | 172 -- ...ests_8dir_2tests_2std_2lexer_8c_8o_8d.html | 130 - ...ir_2tests_2std_2lexer_8c_8o_8d_source.html | 154 -- doc/doxygen/html/d8/dd3/ssh_8h.html | 340 --- doc/doxygen/html/d8/dd3/ssh_8h.js | 10 - doc/doxygen/html/d8/dd3/ssh_8h_source.html | 195 -- .../packages_2graphics_2opengl_2text_8h.html | 133 - ...ges_2graphics_2opengl_2text_8h_source.html | 147 -- .../ddd/packages_2audio_2sdl_2config_8c.html | 276 -- .../d8/ddd/packages_2audio_2sdl_2config_8c.js | 6 - ...ackages_2audio_2sdl_2config_8c_source.html | 198 -- doc/doxygen/html/d8/de9/hashtable_8c.html | 710 ------ doc/doxygen/html/d8/de9/hashtable_8c.js | 13 - .../html/d8/de9/hashtable_8c_source.html | 345 --- doc/doxygen/html/d8/dec/math_2config_8h.html | 326 --- doc/doxygen/html/d8/dec/math_2config_8h.js | 10 - .../html/d8/dec/math_2config_8h_source.html | 164 -- ...tests_8dir_2src_2std_2string_8c_8o_8d.html | 130 - ...dir_2src_2std_2string_8c_8o_8d_source.html | 172 -- ...ests_8dir_2src_2math_2circle_8c_8o_8d.html | 130 - ...ir_2src_2math_2circle_8c_8o_8d_source.html | 131 - .../html/d9/d09/src_2math_2rectangle_8c.html | 631 ----- .../html/d9/d09/src_2math_2rectangle_8c.js | 13 - .../d09/src_2math_2rectangle_8c_source.html | 273 -- ...s__std_8dir_2src_2std_2stack_8c_8o_8d.html | 130 - ...8dir_2src_2std_2stack_8c_8o_8d_source.html | 167 -- ...td_8dir_2src_2graphics_2line_8c_8o_8d.html | 130 - ..._2src_2graphics_2line_8c_8o_8d_source.html | 156 -- doc/doxygen/html/d9/d17/math_2circle_8h.html | 160 -- doc/doxygen/html/d9/d17/math_2circle_8h.js | 5 - .../html/d9/d17/math_2circle_8h_source.html | 155 -- .../include_2arc_2graphics_2sprite_8h.html | 769 ------ .../d18/include_2arc_2graphics_2sprite_8h.js | 22 - ...lude_2arc_2graphics_2sprite_8h_source.html | 297 --- .../packages_2graphics_2sdl_2window_8h.html | 157 -- .../d1a/packages_2graphics_2sdl_2window_8h.js | 4 - ...ages_2graphics_2sdl_2window_8h_source.html | 139 - ...dir_2tests_2std_2parser_2csv_8c_8o_8d.html | 130 - ...sts_2std_2parser_2csv_8c_8o_8d_source.html | 176 -- .../packages_2graphics_2sdl_2config_8c.html | 814 ------ .../d34/packages_2graphics_2sdl_2config_8c.js | 14 - ...ages_2graphics_2sdl_2config_8c_source.html | 508 ---- ..._83_2CompilerIdC_2CMakeCCompilerId_8c.html | 593 ----- ...31_83_2CompilerIdC_2CMakeCCompilerId_8c.js | 22 - ...mpilerIdC_2CMakeCCompilerId_8c_source.html | 1048 -------- ..._8dir_2src_2graphics_2circle_8c_8o_8d.html | 130 - ...src_2graphics_2circle_8c_8o_8d_source.html | 154 -- .../tests_8dir_2src_2std_2stack_8c_8o_8d.html | 130 - ...8dir_2src_2std_2stack_8c_8o_8d_source.html | 167 -- .../html/d9/d4c/structARC__ConsoleShell.html | 287 --- .../html/d9/d4c/structARC__ConsoleShell.js | 11 - doc/doxygen/html/d9/d53/spritesheet_8h.html | 283 --- doc/doxygen/html/d9/d53/spritesheet_8h.js | 9 - .../html/d9/d53/spritesheet_8h_source.html | 171 -- ...ges_2graphics_2opengl_2spritesheet_8c.html | 130 - ...aphics_2opengl_2spritesheet_8c_source.html | 154 -- ...td_8dir_2src_2engine_2engine_8c_8o_8d.html | 130 - ..._2src_2engine_2engine_8c_8o_8d_source.html | 178 -- .../packages_2graphics_2sdl_2circle_8c.html | 257 -- .../d6f/packages_2graphics_2sdl_2circle_8c.js | 5 - ...ages_2graphics_2sdl_2circle_8c_source.html | 195 -- .../packages_2graphics_2sdl_2obround_8c.html | 259 -- .../packages_2graphics_2sdl_2obround_8c.js | 5 - ...ges_2graphics_2sdl_2obround_8c_source.html | 197 -- ..._85_2CompilerIdC_2CMakeCCompilerId_8c.html | 603 ----- ...30_85_2CompilerIdC_2CMakeCCompilerId_8c.js | 22 - ...mpilerIdC_2CMakeCCompilerId_8c_source.html | 1048 -------- .../html/d9/d9f/graphics_2config_8h.html | 162 -- .../html/d9/d9f/graphics_2config_8h.js | 4 - .../d9/d9f/graphics_2config_8h_source.html | 150 -- .../packages_2graphics_2glfw_2config_8c.html | 130 - ...ges_2graphics_2glfw_2config_8c_source.html | 149 -- ..._8dir_2src_2graphics_2circle_8c_8o_8d.html | 130 - ...src_2graphics_2circle_8c_8o_8d_source.html | 154 -- doc/doxygen/html/d9/dcc/text_8h.html | 291 --- doc/doxygen/html/d9/dcc/text_8h.js | 9 - doc/doxygen/html/d9/dcc/text_8h_source.html | 172 -- .../html/d9/ddf/src_2graphics_2circle_8c.html | 130 - .../ddf/src_2graphics_2circle_8c_source.html | 143 -- doc/doxygen/html/da/d09/audio_8h.html | 179 -- doc/doxygen/html/da/d09/audio_8h.js | 5 - doc/doxygen/html/da/d09/audio_8h_source.html | 146 -- doc/doxygen/html/da/d0a/element_8c.html | 375 --- doc/doxygen/html/da/d0a/element_8c.js | 9 - .../html/da/d0a/element_8c_source.html | 218 -- doc/doxygen/html/da/d0c/sprite_8c.html | 104 - doc/doxygen/html/da/d0c/sprite_8c_source.html | 168 -- .../html/da/d10/src_2std_2chemical_8c.html | 565 ---- .../html/da/d10/src_2std_2chemical_8c.js | 16 - .../da/d10/src_2std_2chemical_8c_source.html | 284 --- .../tests_2std_2parser_2parserlang_8c.html | 274 -- .../d17/tests_2std_2parser_2parserlang_8c.js | 6 - ...ts_2std_2parser_2parserlang_8c_source.html | 207 -- .../html/da/d24/src_2std_2lexer_8c.html | 1604 ------------ doc/doxygen/html/da/d24/src_2std_2lexer_8c.js | 29 - .../da/d24/src_2std_2lexer_8c_source.html | 791 ------ ...tests_8dir_2src_2std_2parser_8c_8o_8d.html | 130 - ...dir_2src_2std_2parser_8c_8o_8d_source.html | 179 -- .../d50/packages_2input_2glfw_2input_8c.html | 130 - ...ackages_2input_2glfw_2input_8c_source.html | 186 -- ...ts_8dir_2src_2graphics_2line_8c_8o_8d.html | 130 - ..._2src_2graphics_2line_8c_8o_8d_source.html | 156 -- .../include_2arc_2input_2none_2mouse_8h.html | 130 - ...de_2arc_2input_2none_2mouse_8h_source.html | 144 -- doc/doxygen/html/da/d62/math_2config_8c.html | 706 ----- .../html/da/d62/math_2config_8c_source.html | 432 ---- doc/doxygen/html/da/d66/string_8h.html | 1493 ----------- doc/doxygen/html/da/d66/string_8h.js | 41 - doc/doxygen/html/da/d66/string_8h_source.html | 554 ---- ...tests_8dir_2src_2math_2point_8c_8o_8d.html | 130 - ...dir_2src_2math_2point_8c_8o_8d_source.html | 142 -- doc/doxygen/html/da/d80/text_8c.html | 104 - doc/doxygen/html/da/d80/text_8c_source.html | 139 - doc/doxygen/html/da/d9a/none_2window_8h.html | 130 - .../html/da/d9a/none_2window_8h_source.html | 140 - ...std_8dir_2src_2std_2chemical_8c_8o_8d.html | 130 - ...r_2src_2std_2chemical_8c_8o_8d_source.html | 170 -- ...sts_8dir_2src_2engine_2state_8c_8o_8d.html | 130 - ...r_2src_2engine_2state_8c_8o_8d_source.html | 133 - ...ts_8dir_2src_2engine_2engine_8c_8o_8d.html | 130 - ..._2src_2engine_2engine_8c_8o_8d_source.html | 178 -- doc/doxygen/html/da/dba/structARC__Time.html | 313 --- doc/doxygen/html/da/dba/structARC__Time.js | 12 - ...ests_8dir_2src_2input_2mouse_8c_8o_8d.html | 130 - ...ir_2src_2input_2mouse_8c_8o_8d_source.html | 151 -- ..._8dir_2src_2graphics_2config_8c_8o_8d.html | 130 - ...src_2graphics_2config_8c_8o_8d_source.html | 158 -- doc/doxygen/html/da/dce/none_2sprite_8h.html | 130 - .../html/da/dce/none_2sprite_8h_source.html | 142 -- .../html/da/dcf/structARC__Handler.html | 201 -- doc/doxygen/html/da/dcf/structARC__Handler.js | 6 - doc/doxygen/html/da/dec/color_8h.html | 160 -- doc/doxygen/html/da/dec/color_8h.js | 5 - doc/doxygen/html/da/dec/color_8h_source.html | 155 -- doc/doxygen/html/db/d08/sprite_8h.html | 640 ----- doc/doxygen/html/db/d08/sprite_8h.js | 22 - doc/doxygen/html/db/d08/sprite_8h_source.html | 294 --- doc/doxygen/html/db/d3b/state_8h.html | 238 -- doc/doxygen/html/db/d3b/state_8h.js | 9 - doc/doxygen/html/db/d3b/state_8h_source.html | 163 -- .../html/db/d45/structARC__Sprite.html | 223 -- doc/doxygen/html/db/d45/structARC__Sprite.js | 7 - ...s__std_8dir_2src_2std_2queue_8c_8o_8d.html | 130 - ...8dir_2src_2std_2queue_8c_8o_8d_source.html | 167 -- ...ges_2graphics_2opengl_2spritesheet_8h.html | 130 - ...aphics_2opengl_2spritesheet_8h_source.html | 143 -- doc/doxygen/html/db/d63/array_8h.html | 164 -- doc/doxygen/html/db/d63/array_8h.js | 5 - doc/doxygen/html/db/d63/array_8h_source.html | 156 -- .../html/db/d67/structARC__Circle.html | 197 -- doc/doxygen/html/db/d67/structARC__Circle.js | 6 - .../html/db/d86/structARC__Vector2.html | 179 -- doc/doxygen/html/db/d86/structARC__Vector2.js | 5 - doc/doxygen/html/db/d9c/std_2config_8c.html | 1554 ----------- .../html/db/d9c/std_2config_8c_source.html | 841 ------ doc/doxygen/html/db/d9f/mouse_8c.html | 104 - doc/doxygen/html/db/d9f/mouse_8c_source.html | 152 -- .../db/db4/structARC__ConsoleElement.html | 233 -- .../html/db/db4/structARC__ConsoleElement.js | 8 - .../dc8/packages_2graphics_2sdl_2text_8c.html | 360 --- .../dc8/packages_2graphics_2sdl_2text_8c.js | 8 - ...ckages_2graphics_2sdl_2text_8c_source.html | 237 -- doc/doxygen/html/db/dd1/handler_8c.html | 552 ---- doc/doxygen/html/db/dd1/handler_8c.js | 13 - .../html/db/dd1/handler_8c_source.html | 253 -- .../dda/packages_2input_2glfw_2mouse_8h.html | 130 - ...ackages_2input_2glfw_2mouse_8h_source.html | 162 -- .../html/db/de0/tests_8dir_2link_8d.html | 130 - .../db/de0/tests_8dir_2link_8d_source.html | 156 -- ..._82_2CompilerIdC_2CMakeCCompilerId_8c.html | 593 ----- ...31_82_2CompilerIdC_2CMakeCCompilerId_8c.js | 22 - ...mpilerIdC_2CMakeCCompilerId_8c_source.html | 1048 -------- ...s__std_8dir_2src_2std_2errno_8c_8o_8d.html | 130 - ...8dir_2src_2std_2errno_8c_8o_8d_source.html | 150 -- doc/doxygen/html/db/df9/structARC__State.html | 197 -- doc/doxygen/html/db/df9/structARC__State.js | 6 - .../html/db/df9/structARC__UPoint.html | 179 -- doc/doxygen/html/db/df9/structARC__UPoint.js | 5 - doc/doxygen/html/db/dfd/key_8c.html | 501 ---- doc/doxygen/html/db/dfd/key_8c.js | 9 - doc/doxygen/html/db/dfd/key_8c_source.html | 368 --- .../html/dc/d00/structARC__FObround.html | 215 -- .../html/dc/d00/structARC__FObround.js | 7 - ...clude_2arc_2graphics_2none_2sprite_8h.html | 130 - ...arc_2graphics_2none_2sprite_8h_source.html | 142 -- doc/doxygen/html/dc/d18/structARC__View.html | 179 -- doc/doxygen/html/dc/d18/structARC__View.js | 5 - .../dc/d37/structARC__ParserTagToken.html | 206 -- .../html/dc/d37/structARC__ParserTagToken.js | 6 - .../packages_2graphics_2opengl_2line_8c.html | 130 - ...ges_2graphics_2opengl_2line_8c_source.html | 140 - .../html/dc/d60/src_2math_2circle_8c.html | 130 - .../dc/d60/src_2math_2circle_8c_source.html | 129 - ...tests_8dir_2src_2std_2config_8c_8o_8d.html | 130 - ...dir_2src_2std_2config_8c_8o_8d_source.html | 176 -- doc/doxygen/html/dc/d7a/structARC__Text.html | 243 -- doc/doxygen/html/dc/d7a/structARC__Text.js | 8 - .../d7e/packages_2graphics_2sdl_2line_8c.html | 195 -- .../d7e/packages_2graphics_2sdl_2line_8c.js | 4 - ...ckages_2graphics_2sdl_2line_8c_source.html | 147 -- .../d7e/packages_2input_2sdl_2input_8h.html | 141 - .../dc/d7e/packages_2input_2sdl_2input_8h.js | 4 - ...packages_2input_2sdl_2input_8h_source.html | 153 -- .../html/dc/d82/tests_2std_2vector_8c.html | 445 ---- .../html/dc/d82/tests_2std_2vector_8c.js | 9 - .../dc/d82/tests_2std_2vector_8c_source.html | 320 --- ...ckages_2graphics_2sdl_2spritesheet_8h.html | 140 - ...packages_2graphics_2sdl_2spritesheet_8h.js | 4 - ...2graphics_2sdl_2spritesheet_8h_source.html | 146 -- doc/doxygen/html/dc/dac/io_8h.html | 244 -- doc/doxygen/html/dc/dac/io_8h.js | 6 - doc/doxygen/html/dc/dac/io_8h_source.html | 175 -- ...ackages_2graphics_2opengl_2obround_8c.html | 130 - ..._2graphics_2opengl_2obround_8c_source.html | 149 -- ...packages_2graphics_2opengl_2sprite_8h.html | 130 - ...s_2graphics_2opengl_2sprite_8h_source.html | 143 -- doc/doxygen/html/dc/dd6/standard_8md.html | 128 - .../html/dc/ddf/structARC__Keyboard.html | 203 -- .../html/dc/ddf/structARC__Keyboard.js | 6 - doc/doxygen/html/dc/ded/mouse_8h.html | 425 ---- doc/doxygen/html/dc/ded/mouse_8h.js | 25 - doc/doxygen/html/dc/ded/mouse_8h_source.html | 198 -- ..._std_8dir_2src_2input_2mouse_8c_8o_8d.html | 130 - ...ir_2src_2input_2mouse_8c_8o_8d_source.html | 151 -- .../dd/d01/structARC__ConsoleKeyType.html | 163 -- .../html/dd/d01/structARC__ConsoleKeyType.js | 4 - .../dd/d08/structARC__ConfigTypeTemplate.html | 181 -- .../dd/d08/structARC__ConfigTypeTemplate.js | 5 - .../html/dd/d0d/math_2rectangle_8c.html | 603 ----- .../dd/d0d/math_2rectangle_8c_source.html | 247 -- doc/doxygen/html/dd/d0d/parserlang_8h.html | 754 ------ doc/doxygen/html/dd/d0d/parserlang_8h.js | 36 - .../html/dd/d0d/parserlang_8h_source.html | 213 -- doc/doxygen/html/dd/d16/hashtable_8h.html | 503 ---- doc/doxygen/html/dd/d16/hashtable_8h.js | 14 - .../html/dd/d16/hashtable_8h_source.html | 253 -- .../dd/d22/tests_2std_2chemical_8c_8o_8d.html | 104 - .../tests_2std_2chemical_8c_8o_8d_source.html | 134 - .../html/dd/d28/structARC__Hashtable.html | 221 -- .../html/dd/d28/structARC__Hashtable.js | 7 - doc/doxygen/html/dd/d36/test_8c_8o_8d.html | 130 - .../html/dd/d36/test_8c_8o_8d_source.html | 167 -- doc/doxygen/html/dd/d4d/structARC__FRect.html | 215 -- doc/doxygen/html/dd/d4d/structARC__FRect.js | 7 - doc/doxygen/html/dd/d53/structARC__Stack.html | 181 -- doc/doxygen/html/dd/d53/structARC__Stack.js | 5 - doc/doxygen/html/dd/d56/engine_8c.html | 350 --- doc/doxygen/html/dd/d56/engine_8c.js | 6 - doc/doxygen/html/dd/d56/engine_8c_source.html | 263 -- ...std_8dir_2src_2math_2obround_8c_8o_8d.html | 130 - ...r_2src_2math_2obround_8c_8o_8d_source.html | 142 -- .../tests_8dir_2src_2std_2queue_8c_8o_8d.html | 130 - ...8dir_2src_2std_2queue_8c_8o_8d_source.html | 167 -- ...8dir_2src_2graphics_2obround_8c_8o_8d.html | 130 - ...rc_2graphics_2obround_8c_8o_8d_source.html | 154 -- ...__std_8dir_2src_2math_2point_8c_8o_8d.html | 130 - ...dir_2src_2math_2point_8c_8o_8d_source.html | 142 -- ...packages_2graphics_2glfw_2renderer_8c.html | 130 - ...s_2graphics_2glfw_2renderer_8c_source.html | 194 -- doc/doxygen/html/dd/dee/handler_8h.html | 535 ---- doc/doxygen/html/dd/dee/handler_8h.js | 16 - .../html/dd/dee/handler_8h_source.html | 269 -- ...sts_8dir_2tests_2std_2vector_8c_8o_8d.html | 130 - ...r_2tests_2std_2vector_8c_8o_8d_source.html | 170 -- ...ts_8dir_2src_2graphics_2text_8c_8o_8d.html | 130 - ..._2src_2graphics_2text_8c_8o_8d_source.html | 157 -- ..._2src_2graphics_2spritesheet_8c_8o_8d.html | 130 - ...graphics_2spritesheet_8c_8o_8d_source.html | 159 -- .../d26/packages_2input_2sdl_2mouse_8h.html | 141 - .../de/d26/packages_2input_2sdl_2mouse_8h.js | 4 - ...packages_2input_2sdl_2mouse_8h_source.html | 157 -- doc/doxygen/html/de/d61/math_2obround_8c.html | 204 -- .../html/de/d61/math_2obround_8c_source.html | 138 - .../de/d6b/src_2std_2defaults_2config_8c.html | 131 - .../src_2std_2defaults_2config_8c_source.html | 524 ---- .../html/de/d74/structARC__Chemical.html | 177 -- .../html/de/d74/structARC__Chemical.js | 5 - doc/doxygen/html/de/d89/renderer_8c.html | 104 - .../html/de/d89/renderer_8c_source.html | 131 - .../html/de/d8a/src_2math_2config_8c.html | 732 ------ .../html/de/d8a/src_2math_2config_8c.js | 12 - .../de/d8a/src_2math_2config_8c_source.html | 458 ---- ...packages_2graphics_2opengl_2sprite_8c.html | 130 - ...s_2graphics_2opengl_2sprite_8c_source.html | 173 -- doc/doxygen/html/de/d96/library.html | 131 - ...ude_2arc_2graphics_2none_2renderer_8h.html | 130 - ...c_2graphics_2none_2renderer_8h_source.html | 140 - .../html/de/da7/src_2graphics_2config_8c.html | 130 - .../da7/src_2graphics_2config_8c_source.html | 142 -- doc/doxygen/html/de/dbd/keyboard_8c.html | 104 - .../html/de/dbd/keyboard_8c_source.html | 135 - .../html/de/dbd/structARC__Vector.html | 245 -- doc/doxygen/html/de/dbd/structARC__Vector.js | 8 - .../de0/packages_2input_2glfw_2mouse_8c.html | 130 - ...ackages_2input_2glfw_2mouse_8c_source.html | 182 -- doc/doxygen/html/de/de5/key_8h.html | 526 ---- doc/doxygen/html/de/de5/key_8h.js | 57 - doc/doxygen/html/de/de5/key_8h_source.html | 266 -- doc/doxygen/html/de/de6/vector2_8c.html | 225 -- doc/doxygen/html/de/de6/vector2_8c.js | 5 - .../html/de/de6/vector2_8c_source.html | 156 -- ..._8dir_2src_2graphics_2window_8c_8o_8d.html | 130 - ...src_2graphics_2window_8c_8o_8d_source.html | 150 -- doc/doxygen/html/de/de8/chemical_8h.html | 464 ---- doc/doxygen/html/de/de8/chemical_8h.js | 15 - .../html/de/de8/chemical_8h_source.html | 279 -- .../packages_2input_2glfw_2keyboard_8h.html | 130 - ...ages_2input_2glfw_2keyboard_8h_source.html | 155 -- doc/doxygen/html/de/ded/input_8h.html | 265 -- doc/doxygen/html/de/ded/input_8h.js | 9 - doc/doxygen/html/de/ded/input_8h_source.html | 174 -- .../html/de/df2/tests_2std_2parser_8c.html | 1067 -------- .../html/de/df2/tests_2std_2parser_8c.js | 27 - .../de/df2/tests_2std_2parser_8c_source.html | 546 ---- ...ests_8dir_2src_2std_2handler_8c_8o_8d.html | 130 - ...ir_2src_2std_2handler_8c_8o_8d_source.html | 171 -- doc/doxygen/html/de/df7/time_8h.html | 203 -- doc/doxygen/html/de/df7/time_8h.js | 6 - doc/doxygen/html/de/df7/time_8h_source.html | 198 -- doc/doxygen/html/df/d03/shell_8h.html | 380 --- doc/doxygen/html/df/d03/shell_8h.js | 12 - doc/doxygen/html/df/d03/shell_8h_source.html | 251 -- .../html/df/d06/structARC__String.html | 183 -- doc/doxygen/html/df/d06/structARC__String.js | 5 - doc/doxygen/html/df/d0a/io_8c.html | 353 --- doc/doxygen/html/df/d0a/io_8c.js | 6 - doc/doxygen/html/df/d0a/io_8c_source.html | 242 -- doc/doxygen/html/df/d15/ecs_8c.html | 142 -- doc/doxygen/html/df/d15/ecs_8c.js | 5 - doc/doxygen/html/df/d15/ecs_8c_source.html | 151 -- .../html/df/d2d/src_2graphics_2text_8c.html | 130 - .../df/d2d/src_2graphics_2text_8c_source.html | 165 -- .../tests_8dir_2src_2std_2lexer_8c_8o_8d.html | 130 - ...8dir_2src_2std_2lexer_8c_8o_8d_source.html | 174 -- ..._2src_2std_2defaults_2config_8c_8o_8d.html | 130 - ...std_2defaults_2config_8c_8o_8d_source.html | 176 -- doc/doxygen/html/df/d4e/spritesheet_8c.html | 104 - .../html/df/d4e/spritesheet_8c_source.html | 132 - ...nclude_2arc_2graphics_2spritesheet_8h.html | 347 --- .../include_2arc_2graphics_2spritesheet_8h.js | 9 - ...2arc_2graphics_2spritesheet_8h_source.html | 171 -- .../packages_2console_2ncurses_2key_8h.html | 161 -- .../d5e/packages_2console_2ncurses_2key_8h.js | 5 - ...ages_2console_2ncurses_2key_8h_source.html | 153 -- .../html/df/d6b/src_2std_2vector_8c.html | 650 ----- .../html/df/d6b/src_2std_2vector_8c.js | 13 - .../df/d6b/src_2std_2vector_8c_source.html | 338 --- doc/doxygen/html/df/d6d/line_8c.html | 104 - doc/doxygen/html/df/d6d/line_8c_source.html | 116 - doc/doxygen/html/df/d73/time_8c.html | 186 -- doc/doxygen/html/df/d73/time_8c.js | 4 - doc/doxygen/html/df/d73/time_8c_source.html | 151 -- ...ir_2src_2graphics_2rectangle_8c_8o_8d.html | 130 - ..._2graphics_2rectangle_8c_8o_8d_source.html | 156 -- .../df/d9c/tests_2std_2parser_2csv_8c.html | 331 --- .../html/df/d9c/tests_2std_2parser_2csv_8c.js | 7 - .../tests_2std_2parser_2csv_8c_source.html | 241 -- doc/doxygen/html/df/db0/structARC__URect.html | 215 -- doc/doxygen/html/df/db0/structARC__URect.js | 7 - .../html/df/dbf/structARC__ECSComponent.html | 177 -- .../html/df/dbf/structARC__ECSComponent.js | 5 - doc/doxygen/html/df/dcf/index_8md.html | 128 - .../df/dd5/structARC__ParserCSVUserData.html | 201 -- .../df/dd5/structARC__ParserCSVUserData.js | 6 - ...sts_8dir_2src_2std_2chemical_8c_8o_8d.html | 130 - ...r_2src_2std_2chemical_8c_8o_8d_source.html | 170 -- .../html/df/df3/graphics_2sdl_2view_8c.html | 314 --- .../html/df/df3/graphics_2sdl_2view_8c.js | 7 - .../df/df3/graphics_2sdl_2view_8c_source.html | 184 -- doc/doxygen/html/df/df7/audio_2config_8h.html | 240 -- doc/doxygen/html/df/df7/audio_2config_8h.js | 7 - .../html/df/df7/audio_2config_8h_source.html | 156 -- doc/doxygen/html/df/dfa/vector_8c.html | 623 ----- doc/doxygen/html/df/dfa/vector_8c_source.html | 309 --- .../dir_00ee88e1b425f7ddaec4195e254db132.html | 165 -- .../dir_00ee88e1b425f7ddaec4195e254db132.js | 18 - .../dir_04f2ecc425faf0d475a3caf484e551f3.html | 134 - .../dir_04f2ecc425faf0d475a3caf484e551f3.js | 4 - .../dir_054ad823f0debba630ab5fbbf1e7a6c9.html | 136 - .../dir_054ad823f0debba630ab5fbbf1e7a6c9.js | 5 - .../dir_0cc0f854d85af330638b97943ef1598a.html | 134 - .../dir_0cc0f854d85af330638b97943ef1598a.js | 4 - .../dir_0cddbdba956d28cc5c2a9c72cbf1dc5d.html | 138 - .../dir_0cddbdba956d28cc5c2a9c72cbf1dc5d.js | 6 - .../dir_0dcf4f7c6544b1354195e075c2917c00.html | 134 - .../dir_0dcf4f7c6544b1354195e075c2917c00.js | 4 - .../dir_0e5878cd227b5e28a0db2e00cb2d57e6.html | 134 - .../dir_0e5878cd227b5e28a0db2e00cb2d57e6.js | 4 - .../dir_163314b79eb3671f49919bcd27dd2527.html | 128 - .../dir_169ca87d8ac185e5b51c45f4a68386c0.html | 161 -- .../dir_169ca87d8ac185e5b51c45f4a68386c0.js | 16 - .../dir_18cfdf016ecefe87e5869aa9b18a6108.html | 138 - .../dir_18cfdf016ecefe87e5869aa9b18a6108.js | 6 - .../dir_1aa57a5c72ad553cca2096ac851c7fe9.html | 134 - .../dir_1aa57a5c72ad553cca2096ac851c7fe9.js | 4 - .../dir_1e9b1c2bca8c85fcac6951a589476a54.html | 134 - .../dir_1e9b1c2bca8c85fcac6951a589476a54.js | 4 - .../dir_2052808828190f934b76e979ee65af8a.html | 138 - .../dir_2052808828190f934b76e979ee65af8a.js | 6 - .../dir_274e923eff7918b2388b6f9ebd3ed990.html | 144 -- .../dir_274e923eff7918b2388b6f9ebd3ed990.js | 9 - .../dir_2795c06419c71269fc9fb411358a993a.html | 139 - .../dir_2795c06419c71269fc9fb411358a993a.js | 5 - .../dir_29d0c141dfe07fbd3b448a97ed048de8.html | 136 - .../dir_29d0c141dfe07fbd3b448a97ed048de8.js | 5 - .../dir_2bbf512b9e35d75796f0ef9e0028c78c.html | 152 -- .../dir_2bbf512b9e35d75796f0ef9e0028c78c.js | 13 - .../dir_384bcd99d3b936f9e95fe1cb5def6f01.html | 164 -- .../dir_384bcd99d3b936f9e95fe1cb5def6f01.js | 19 - .../dir_39f9099a5bacc3a9f2ef380a945c9920.html | 136 - .../dir_39f9099a5bacc3a9f2ef380a945c9920.js | 5 - .../dir_4197791ff18dd02c801bc5b43bba3f61.html | 134 - .../dir_4197791ff18dd02c801bc5b43bba3f61.js | 4 - .../dir_448f06559c042ed382334cf4265840a4.html | 136 - .../dir_448f06559c042ed382334cf4265840a4.js | 5 - .../dir_4674e85715d023eabe12f929a557712f.html | 134 - .../dir_4674e85715d023eabe12f929a557712f.js | 4 - .../dir_46d97a8ae0c0aa8b914a0b5ca3ee1355.html | 143 -- .../dir_46d97a8ae0c0aa8b914a0b5ca3ee1355.js | 7 - .../dir_4b39d776351c46ae0dc101f31c393a2e.html | 142 -- .../dir_4b39d776351c46ae0dc101f31c393a2e.js | 8 - .../dir_4befb2d6cf456f6f5659a6d11734df7d.html | 144 -- .../dir_4befb2d6cf456f6f5659a6d11734df7d.js | 9 - .../dir_4e7df8a09b2bea044f947dc813dc17f8.html | 134 - .../dir_4e7df8a09b2bea044f947dc813dc17f8.js | 4 - .../dir_4eff4d556f090b5df86a0d7e570b70c4.html | 144 -- .../dir_4eff4d556f090b5df86a0d7e570b70c4.js | 9 - .../dir_4fef79e7177ba769987a8da36c892c5f.html | 134 - .../dir_4fef79e7177ba769987a8da36c892c5f.js | 4 - .../dir_51e2434ae88e74fc7fbecce0cef5d995.html | 136 - .../dir_51e2434ae88e74fc7fbecce0cef5d995.js | 5 - .../dir_55e5558cfbdbc80ca812673b2b436991.html | 134 - .../dir_55e5558cfbdbc80ca812673b2b436991.js | 4 - .../dir_560415a5d2bc4999842279f4fc1debef.html | 152 -- .../dir_560415a5d2bc4999842279f4fc1debef.js | 13 - .../dir_59425e443f801f1f2fd8bbe4959a3ccf.html | 141 - .../dir_59425e443f801f1f2fd8bbe4959a3ccf.js | 6 - .../dir_5aa234f39af1e5124a04611dbfe42dcf.html | 147 -- .../dir_5aa234f39af1e5124a04611dbfe42dcf.js | 9 - .../dir_5aebe31537d3974f8e32cdc730d5a0fc.html | 134 - .../dir_5aebe31537d3974f8e32cdc730d5a0fc.js | 4 - .../dir_602b14a08b68f813a0b382d0af9a55c0.html | 142 -- .../dir_602b14a08b68f813a0b382d0af9a55c0.js | 8 - .../dir_63772b626f2709090f0bdca0f40827b4.html | 146 -- .../dir_63772b626f2709090f0bdca0f40827b4.js | 10 - .../dir_68267d1309a1af8e8297ef4c3efbcdba.html | 142 -- .../dir_68267d1309a1af8e8297ef4c3efbcdba.js | 8 - .../dir_68472d21c045480741914e1e67562a4d.html | 134 - .../dir_68472d21c045480741914e1e67562a4d.js | 4 - .../dir_6af8a0d0bed2e7af089a3ab97240c95c.html | 136 - .../dir_6af8a0d0bed2e7af089a3ab97240c95c.js | 5 - .../dir_6d4706c88628d101f934aaf13e871b17.html | 134 - .../dir_6d4706c88628d101f934aaf13e871b17.js | 4 - .../dir_6f547df634da3cde0da25005fef651f4.html | 134 - .../dir_6f547df634da3cde0da25005fef651f4.js | 4 - .../dir_73fe40c7155b0dc0a07bd2c7c6ddd134.html | 134 - .../dir_73fe40c7155b0dc0a07bd2c7c6ddd134.js | 4 - .../dir_74e8f229f95a2dcbfc8cf6373759ba2f.html | 145 -- .../dir_74e8f229f95a2dcbfc8cf6373759ba2f.js | 8 - .../dir_7d6e884eab516ceee85baf879ae85713.html | 165 -- .../dir_7d6e884eab516ceee85baf879ae85713.js | 18 - .../dir_8600ea1c4b892b5b70355aa785f2ac76.html | 146 -- .../dir_8600ea1c4b892b5b70355aa785f2ac76.js | 10 - .../dir_8698ff38f6ae643760cdad826b9d4736.html | 148 -- .../dir_8698ff38f6ae643760cdad826b9d4736.js | 11 - .../dir_93501a11e921083efbd154e0cdff5f10.html | 142 -- .../dir_93501a11e921083efbd154e0cdff5f10.js | 8 - .../dir_98ffd4beff65168e3bae17ec0bd21166.html | 144 -- .../dir_98ffd4beff65168e3bae17ec0bd21166.js | 9 - .../dir_9c33770e936321ba34955e10f41fa668.html | 134 - .../dir_9c33770e936321ba34955e10f41fa668.js | 4 - .../dir_a3aae0d143abdcbbf7d60d64e23cfff9.html | 138 - .../dir_a3aae0d143abdcbbf7d60d64e23cfff9.js | 6 - .../dir_ac0697b564c96e18b8b1b2aae0d0e92d.html | 144 -- .../dir_ac0697b564c96e18b8b1b2aae0d0e92d.js | 9 - .../dir_ad51ffe8b33deed52e38849f403bcdb5.html | 152 -- .../dir_ad51ffe8b33deed52e38849f403bcdb5.js | 13 - .../dir_ae9a93452e2a84339148a16bcf2eb561.html | 144 -- .../dir_ae9a93452e2a84339148a16bcf2eb561.js | 9 - .../dir_af6e6c3357835c7f766dfcaf351d30ad.html | 138 - .../dir_af6e6c3357835c7f766dfcaf351d30ad.js | 6 - .../dir_b29a8eaba25fe5828ebef328b36f3b30.html | 138 - .../dir_b29a8eaba25fe5828ebef328b36f3b30.js | 6 - .../dir_b3e500eb3a6fe660b1141f591e523c76.html | 170 -- .../dir_b3e500eb3a6fe660b1141f591e523c76.js | 20 - .../dir_b9e3eff3b82e60db2871e444fb0ec7a9.html | 134 - .../dir_b9e3eff3b82e60db2871e444fb0ec7a9.js | 4 - .../dir_beba8fde51bfc57b68b9250b4fe33f5c.html | 142 -- .../dir_beba8fde51bfc57b68b9250b4fe33f5c.js | 8 - .../dir_bec16ba743e08072affe6b2eea082d36.html | 138 - .../dir_bec16ba743e08072affe6b2eea082d36.js | 6 - .../dir_c1c3ed0f1e7db0ff79e193ba6ffad3e2.html | 142 -- .../dir_c1c3ed0f1e7db0ff79e193ba6ffad3e2.js | 8 - .../dir_cd72573f226dc6c10f54b9062fdbdd4d.html | 144 -- .../dir_cd72573f226dc6c10f54b9062fdbdd4d.js | 9 - .../dir_ce58f86fb6c402a20d8a44d53d2989b0.html | 134 - .../dir_ce58f86fb6c402a20d8a44d53d2989b0.js | 4 - .../dir_d11220183916186425735b00db5d9816.html | 152 -- .../dir_d11220183916186425735b00db5d9816.js | 13 - .../dir_d1ecdd01b8fada8604b50b93b61a4e5a.html | 134 - .../dir_d1ecdd01b8fada8604b50b93b61a4e5a.js | 4 - .../dir_d365e15d984c8d0205117ee0c40d6716.html | 138 - .../dir_d365e15d984c8d0205117ee0c40d6716.js | 6 - .../dir_d44c64559bbebec7f509842c48db8b23.html | 134 - .../dir_d44c64559bbebec7f509842c48db8b23.js | 4 - .../dir_d73f2787a5aec4ff153a305f674170cb.html | 141 - .../dir_d73f2787a5aec4ff153a305f674170cb.js | 6 - .../dir_dbf9480175308ae732cb8d3712ebefd9.html | 134 - .../dir_dbf9480175308ae732cb8d3712ebefd9.js | 4 - .../dir_e1e6d6205f1f2bb361dce2a25d40e4a1.html | 134 - .../dir_e1e6d6205f1f2bb361dce2a25d40e4a1.js | 4 - .../dir_e3135e82d92383077dc2ae889e637794.html | 138 - .../dir_e3135e82d92383077dc2ae889e637794.js | 6 - .../dir_e86ec9f70dc763f43ea709e4264f0e24.html | 136 - .../dir_e86ec9f70dc763f43ea709e4264f0e24.js | 5 - .../dir_e933f075b9a5929f0ce275b11b2e8443.html | 138 - .../dir_e933f075b9a5929f0ce275b11b2e8443.js | 6 - .../dir_f0be7a42b269f35efaacb499c42a3b1e.html | 139 - .../dir_f0be7a42b269f35efaacb499c42a3b1e.js | 5 - .../dir_f167314a7ea0a344943dd90acf082a89.html | 138 - .../dir_f167314a7ea0a344943dd90acf082a89.js | 6 - .../dir_f87cf45cf3971bc7842866b110ab565f.html | 134 - .../dir_f87cf45cf3971bc7842866b110ab565f.js | 4 - .../dir_f984958c5f374b898f140c102df5299f.html | 134 - .../dir_f984958c5f374b898f140c102df5299f.js | 4 - .../dir_fe9004854c8f0f3cfbfe7f330be58a96.html | 165 -- .../dir_fe9004854c8f0f3cfbfe7f330be58a96.js | 18 - doc/doxygen/html/doc.svg | 12 - doc/doxygen/html/docd.svg | 12 - .../html/doxygen-awesome-darkmode-toggle.js | 115 - ...n-awesome-sidebar-only-darkmode-toggle.css | 40 - .../html/doxygen-awesome-sidebar-only.css | 108 - doc/doxygen/html/doxygen-awesome.css | 1504 ----------- doc/doxygen/html/doxygen.css | 2229 ---------------- doc/doxygen/html/doxygen.svg | 28 - doc/doxygen/html/doxygen_crawl.html | 1052 -------- doc/doxygen/html/dynsections.js | 205 -- doc/doxygen/html/files.html | 205 -- doc/doxygen/html/files_dup.js | 4 - doc/doxygen/html/folderclosed.svg | 11 - doc/doxygen/html/folderclosedd.svg | 11 - doc/doxygen/html/folderopen.svg | 17 - doc/doxygen/html/folderopend.svg | 12 - doc/doxygen/html/functions.html | 270 -- doc/doxygen/html/functions_vars.html | 270 -- doc/doxygen/html/globals.html | 727 ------ doc/doxygen/html/globals_a.html | 807 ------ doc/doxygen/html/globals_c.html | 137 - doc/doxygen/html/globals_d.html | 130 - doc/doxygen/html/globals_defs.html | 247 -- doc/doxygen/html/globals_dup.js | 4 - doc/doxygen/html/globals_enum.html | 133 - doc/doxygen/html/globals_eval.html | 226 -- doc/doxygen/html/globals_func.html | 424 --- doc/doxygen/html/globals_func.js | 4 - doc/doxygen/html/globals_func_c.html | 130 - doc/doxygen/html/globals_func_m.html | 130 - doc/doxygen/html/globals_func_t.html | 141 - doc/doxygen/html/globals_func_v.html | 130 - doc/doxygen/html/globals_g.html | 130 - doc/doxygen/html/globals_h.html | 130 - doc/doxygen/html/globals_i.html | 134 - doc/doxygen/html/globals_l.html | 130 - doc/doxygen/html/globals_m.html | 130 - doc/doxygen/html/globals_p.html | 130 - doc/doxygen/html/globals_s.html | 131 - doc/doxygen/html/globals_t.html | 151 -- doc/doxygen/html/globals_type.html | 214 -- doc/doxygen/html/globals_v.html | 132 - doc/doxygen/html/globals_vars.html | 128 - doc/doxygen/html/index.html | 134 - doc/doxygen/html/index.js | 4 - doc/doxygen/html/jquery.js | 204 -- doc/doxygen/html/menu.js | 134 - doc/doxygen/html/menudata.js | 91 - doc/doxygen/html/minus.svg | 8 - doc/doxygen/html/minusd.svg | 8 - doc/doxygen/html/nav_f.png | Bin 153 -> 0 bytes doc/doxygen/html/nav_fd.png | Bin 169 -> 0 bytes doc/doxygen/html/nav_g.png | Bin 95 -> 0 bytes doc/doxygen/html/nav_h.png | Bin 98 -> 0 bytes doc/doxygen/html/nav_hd.png | Bin 114 -> 0 bytes doc/doxygen/html/navtree.css | 149 -- doc/doxygen/html/navtree.js | 483 ---- doc/doxygen/html/navtreedata.js | 63 - doc/doxygen/html/navtreeindex0.js | 253 -- doc/doxygen/html/navtreeindex1.js | 253 -- doc/doxygen/html/navtreeindex2.js | 253 -- doc/doxygen/html/navtreeindex3.js | 137 - doc/doxygen/html/navtreeindex4.js | 253 -- doc/doxygen/html/navtreeindex5.js | 253 -- doc/doxygen/html/navtreeindex6.js | 253 -- doc/doxygen/html/navtreeindex7.js | 206 -- doc/doxygen/html/open.png | Bin 123 -> 0 bytes doc/doxygen/html/pages.html | 133 - doc/doxygen/html/plus.svg | 9 - doc/doxygen/html/plusd.svg | 9 - doc/doxygen/html/resize.js | 147 -- doc/doxygen/html/search/all_0.js | 607 ----- doc/doxygen/html/search/all_1.js | 9 - doc/doxygen/html/search/all_10.js | 10 - doc/doxygen/html/search/all_11.js | 16 - doc/doxygen/html/search/all_12.js | 12 - doc/doxygen/html/search/all_13.js | 5 - doc/doxygen/html/search/all_14.js | 8 - doc/doxygen/html/search/all_15.js | 8 - doc/doxygen/html/search/all_16.js | 4 - doc/doxygen/html/search/all_17.js | 5 - doc/doxygen/html/search/all_18.js | 5 - doc/doxygen/html/search/all_2.js | 9 - doc/doxygen/html/search/all_3.js | 11 - doc/doxygen/html/search/all_4.js | 7 - doc/doxygen/html/search/all_5.js | 4 - doc/doxygen/html/search/all_6.js | 4 - doc/doxygen/html/search/all_7.js | 13 - doc/doxygen/html/search/all_8.js | 9 - doc/doxygen/html/search/all_9.js | 8 - doc/doxygen/html/search/all_a.js | 7 - doc/doxygen/html/search/all_b.js | 7 - doc/doxygen/html/search/all_c.js | 4 - doc/doxygen/html/search/all_d.js | 4 - doc/doxygen/html/search/all_e.js | 7 - doc/doxygen/html/search/all_f.js | 4 - doc/doxygen/html/search/classes_0.js | 30 - doc/doxygen/html/search/close.svg | 18 - doc/doxygen/html/search/defines_0.js | 121 - doc/doxygen/html/search/defines_1.js | 126 - doc/doxygen/html/search/defines_2.js | 9 - doc/doxygen/html/search/defines_3.js | 4 - doc/doxygen/html/search/defines_4.js | 4 - doc/doxygen/html/search/defines_5.js | 4 - doc/doxygen/html/search/defines_6.js | 5 - doc/doxygen/html/search/enums_0.js | 9 - doc/doxygen/html/search/enumvalues_0.js | 100 - doc/doxygen/html/search/files_0.js | 5 - doc/doxygen/html/search/files_1.js | 5 - doc/doxygen/html/search/files_10.js | 4 - doc/doxygen/html/search/files_2.js | 8 - doc/doxygen/html/search/files_3.js | 7 - doc/doxygen/html/search/files_4.js | 6 - doc/doxygen/html/search/files_5.js | 6 - doc/doxygen/html/search/files_6.js | 5 - doc/doxygen/html/search/files_7.js | 5 - doc/doxygen/html/search/files_8.js | 4 - doc/doxygen/html/search/files_9.js | 4 - doc/doxygen/html/search/files_a.js | 6 - doc/doxygen/html/search/files_b.js | 4 - doc/doxygen/html/search/files_c.js | 5 - doc/doxygen/html/search/files_d.js | 11 - doc/doxygen/html/search/files_e.js | 5 - doc/doxygen/html/search/files_f.js | 7 - doc/doxygen/html/search/functions_0.js | 298 --- doc/doxygen/html/search/functions_1.js | 4 - doc/doxygen/html/search/functions_2.js | 4 - doc/doxygen/html/search/functions_3.js | 15 - doc/doxygen/html/search/functions_4.js | 4 - doc/doxygen/html/search/groups_0.js | 4 - doc/doxygen/html/search/mag.svg | 24 - doc/doxygen/html/search/mag_d.svg | 24 - doc/doxygen/html/search/mag_sel.svg | 31 - doc/doxygen/html/search/mag_seld.svg | 31 - doc/doxygen/html/search/pages_0.js | 4 - doc/doxygen/html/search/pages_1.js | 4 - doc/doxygen/html/search/pages_2.js | 4 - doc/doxygen/html/search/pages_3.js | 4 - doc/doxygen/html/search/pages_4.js | 4 - doc/doxygen/html/search/search.css | 291 --- doc/doxygen/html/search/search.js | 694 ----- doc/doxygen/html/search/searchdata.js | 45 - doc/doxygen/html/search/typedefs_0.js | 88 - doc/doxygen/html/search/variables_0.js | 7 - doc/doxygen/html/search/variables_1.js | 7 - doc/doxygen/html/search/variables_10.js | 5 - doc/doxygen/html/search/variables_11.js | 4 - doc/doxygen/html/search/variables_12.js | 7 - doc/doxygen/html/search/variables_13.js | 4 - doc/doxygen/html/search/variables_14.js | 5 - doc/doxygen/html/search/variables_15.js | 4 - doc/doxygen/html/search/variables_16.js | 5 - doc/doxygen/html/search/variables_2.js | 4 - doc/doxygen/html/search/variables_3.js | 10 - doc/doxygen/html/search/variables_4.js | 4 - doc/doxygen/html/search/variables_5.js | 4 - doc/doxygen/html/search/variables_6.js | 10 - doc/doxygen/html/search/variables_7.js | 5 - doc/doxygen/html/search/variables_8.js | 6 - doc/doxygen/html/search/variables_9.js | 4 - doc/doxygen/html/search/variables_a.js | 6 - doc/doxygen/html/search/variables_b.js | 4 - doc/doxygen/html/search/variables_c.js | 4 - doc/doxygen/html/search/variables_d.js | 8 - doc/doxygen/html/search/variables_e.js | 7 - doc/doxygen/html/search/variables_f.js | 10 - doc/doxygen/html/splitbar.png | Bin 314 -> 0 bytes doc/doxygen/html/splitbard.png | Bin 282 -> 0 bytes doc/doxygen/html/sync_off.png | Bin 853 -> 0 bytes doc/doxygen/html/sync_on.png | Bin 845 -> 0 bytes doc/doxygen/html/tab_a.png | Bin 142 -> 0 bytes doc/doxygen/html/tab_ad.png | Bin 135 -> 0 bytes doc/doxygen/html/tab_b.png | Bin 169 -> 0 bytes doc/doxygen/html/tab_bd.png | Bin 173 -> 0 bytes doc/doxygen/html/tab_h.png | Bin 177 -> 0 bytes doc/doxygen/html/tab_hd.png | Bin 180 -> 0 bytes doc/doxygen/html/tab_s.png | Bin 184 -> 0 bytes doc/doxygen/html/tab_sd.png | Bin 188 -> 0 bytes doc/doxygen/html/tabs.css | 1 - doc/doxygen/html/topics.html | 133 - doc/doxygen/html/topics.js | 4 - 1184 files changed, 1 insertion(+), 196515 deletions(-) delete mode 100644 doc/doxygen/html/annotated.html delete mode 100644 doc/doxygen/html/annotated_dup.js delete mode 100644 doc/doxygen/html/bc_s.png delete mode 100644 doc/doxygen/html/bc_sd.png delete mode 100644 doc/doxygen/html/classes.html delete mode 100644 doc/doxygen/html/clipboard.js delete mode 100644 doc/doxygen/html/closed.png delete mode 100644 doc/doxygen/html/cookie.js delete mode 100644 doc/doxygen/html/d0/d17/archeus__std_8dir_2src_2input_2keyboard_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d0/d17/archeus__std_8dir_2src_2input_2keyboard_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d0/d18/structARC__Rect.html delete mode 100644 doc/doxygen/html/d0/d18/structARC__Rect.js delete mode 100644 doc/doxygen/html/d0/d19/include_2arc_2audio_2audio_8h.html delete mode 100644 doc/doxygen/html/d0/d19/include_2arc_2audio_2audio_8h.js delete mode 100644 doc/doxygen/html/d0/d19/include_2arc_2audio_2audio_8h_source.html delete mode 100644 doc/doxygen/html/d0/d20/readme_8md.html delete mode 100644 doc/doxygen/html/d0/d41/structARC__Spritesheet.html delete mode 100644 doc/doxygen/html/d0/d41/structARC__Spritesheet.js delete mode 100644 doc/doxygen/html/d0/d4f/archeus__std_8dir_2src_2files_2config_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d0/d4f/archeus__std_8dir_2src_2files_2config_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d0/d53/parserlang_8c.html delete mode 100644 doc/doxygen/html/d0/d53/parserlang_8c_source.html delete mode 100644 doc/doxygen/html/d0/d54/structARC__Parser.html delete mode 100644 doc/doxygen/html/d0/d54/structARC__Parser.js delete mode 100644 doc/doxygen/html/d0/d5a/structARC__ECS.html delete mode 100644 doc/doxygen/html/d0/d5a/structARC__ECS.js delete mode 100644 doc/doxygen/html/d0/d7e/vector3_8h.html delete mode 100644 doc/doxygen/html/d0/d7e/vector3_8h_source.html delete mode 100644 doc/doxygen/html/d0/d80/structARC__StackNode.html delete mode 100644 doc/doxygen/html/d0/d80/structARC__StackNode.js delete mode 100644 doc/doxygen/html/d0/d90/errno_8c.html delete mode 100644 doc/doxygen/html/d0/d90/errno_8c.js delete mode 100644 doc/doxygen/html/d0/d90/errno_8c_source.html delete mode 100644 doc/doxygen/html/d0/da4/console_2ncurses_2view_8c.html delete mode 100644 doc/doxygen/html/d0/da4/console_2ncurses_2view_8c.js delete mode 100644 doc/doxygen/html/d0/da4/console_2ncurses_2view_8c_source.html delete mode 100644 doc/doxygen/html/d0/db1/page1.html delete mode 100644 doc/doxygen/html/d0/db4/tests_8dir_2src_2std_2defaults_2config_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d0/db4/tests_8dir_2src_2std_2defaults_2config_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d0/dc1/archeus__std_8dir_2src_2math_2rectangle_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d0/dc1/archeus__std_8dir_2src_2math_2rectangle_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d0/dc9/state_8c.html delete mode 100644 doc/doxygen/html/d0/dc9/state_8c.js delete mode 100644 doc/doxygen/html/d0/dc9/state_8c_source.html delete mode 100644 doc/doxygen/html/d0/dd6/src_2graphics_2spritesheet_8c.html delete mode 100644 doc/doxygen/html/d0/dd6/src_2graphics_2spritesheet_8c_source.html delete mode 100644 doc/doxygen/html/d1/d02/helpers_8c.html delete mode 100644 doc/doxygen/html/d1/d02/helpers_8c.js delete mode 100644 doc/doxygen/html/d1/d02/helpers_8c_source.html delete mode 100644 doc/doxygen/html/d1/d03/vector2_8h.html delete mode 100644 doc/doxygen/html/d1/d03/vector2_8h.js delete mode 100644 doc/doxygen/html/d1/d03/vector2_8h_source.html delete mode 100644 doc/doxygen/html/d1/d06/input_8c.html delete mode 100644 doc/doxygen/html/d1/d06/input_8c_source.html delete mode 100644 doc/doxygen/html/d1/d1a/structARC__WindowInfo.html delete mode 100644 doc/doxygen/html/d1/d1a/structARC__WindowInfo.js delete mode 100644 doc/doxygen/html/d1/d27/tests_8dir_2src_2std_2io_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d1/d27/tests_8dir_2src_2std_2io_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d1/d2f/packages_2graphics_2sdl_2renderer_8h.html delete mode 100644 doc/doxygen/html/d1/d2f/packages_2graphics_2sdl_2renderer_8h.js delete mode 100644 doc/doxygen/html/d1/d2f/packages_2graphics_2sdl_2renderer_8h_source.html delete mode 100644 doc/doxygen/html/d1/d37/tests_8dir_2src_2graphics_2renderer_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d1/d37/tests_8dir_2src_2graphics_2renderer_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d1/d41/tests_8dir_2src_2graphics_2sprite_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d1/d41/tests_8dir_2src_2graphics_2sprite_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d1/d4a/structARC__ConsoleView.html delete mode 100644 doc/doxygen/html/d1/d4a/structARC__ConsoleView.js delete mode 100644 doc/doxygen/html/d1/d55/engine_8h.html delete mode 100644 doc/doxygen/html/d1/d55/engine_8h.js delete mode 100644 doc/doxygen/html/d1/d55/engine_8h_source.html delete mode 100644 doc/doxygen/html/d1/d77/archeus__std_8dir_2src_2math_2circle_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d1/d77/archeus__std_8dir_2src_2math_2circle_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d1/d7b/tests_8dir_2src_2std_2parser_2csv_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d1/d7b/tests_8dir_2src_2std_2parser_2csv_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d1/d88/packages_2graphics_2sdl_2sprite_8h.html delete mode 100644 doc/doxygen/html/d1/d88/packages_2graphics_2sdl_2sprite_8h.js delete mode 100644 doc/doxygen/html/d1/d88/packages_2graphics_2sdl_2sprite_8h_source.html delete mode 100644 doc/doxygen/html/d1/d88/src_2std_2parser_8c.html delete mode 100644 doc/doxygen/html/d1/d88/src_2std_2parser_8c.js delete mode 100644 doc/doxygen/html/d1/d88/src_2std_2parser_8c_source.html delete mode 100644 doc/doxygen/html/d1/d8e/src_2std_2parser_2csv_8c.html delete mode 100644 doc/doxygen/html/d1/d8e/src_2std_2parser_2csv_8c.js delete mode 100644 doc/doxygen/html/d1/d8e/src_2std_2parser_2csv_8c_source.html delete mode 100644 doc/doxygen/html/d1/d97/archeus__std_8dir_2src_2std_2parser_2helpers_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d1/d97/archeus__std_8dir_2src_2std_2parser_2helpers_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d1/d98/helpers_8h.html delete mode 100644 doc/doxygen/html/d1/d98/helpers_8h.js delete mode 100644 doc/doxygen/html/d1/d98/helpers_8h_source.html delete mode 100644 doc/doxygen/html/d1/db0/string_8c.html delete mode 100644 doc/doxygen/html/d1/db0/string_8c.js delete mode 100644 doc/doxygen/html/d1/db0/string_8c_source.html delete mode 100644 doc/doxygen/html/d1/db3/src_2graphics_2obround_8c.html delete mode 100644 doc/doxygen/html/d1/db3/src_2graphics_2obround_8c_source.html delete mode 100644 doc/doxygen/html/d1/dbd/include_2arc_2graphics_2none_2spritesheet_8h.html delete mode 100644 doc/doxygen/html/d1/dbd/include_2arc_2graphics_2none_2spritesheet_8h_source.html delete mode 100644 doc/doxygen/html/d1/dc6/include_2arc_2graphics_2renderer_8h.html delete mode 100644 doc/doxygen/html/d1/dc6/include_2arc_2graphics_2renderer_8h.js delete mode 100644 doc/doxygen/html/d1/dc6/include_2arc_2graphics_2renderer_8h_source.html delete mode 100644 doc/doxygen/html/d1/de1/packages_2input_2sdl_2mouse_8c.html delete mode 100644 doc/doxygen/html/d1/de1/packages_2input_2sdl_2mouse_8c.js delete mode 100644 doc/doxygen/html/d1/de1/packages_2input_2sdl_2mouse_8c_source.html delete mode 100644 doc/doxygen/html/d1/de3/tests_8dir_2src_2math_2config_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d1/de3/tests_8dir_2src_2math_2config_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d1/dfa/tests_8dir_2tests_2std_2chemical_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d1/dfa/tests_8dir_2tests_2std_2chemical_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d1/dfc/tests_8dir_2src_2std_2hashtable_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d1/dfc/tests_8dir_2src_2std_2hashtable_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d1/dff/archeus__std_8dir_2src_2engine_2state_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d1/dff/archeus__std_8dir_2src_2engine_2state_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d2/d04/tests_8dir_2src_2math_2obround_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d2/d04/tests_8dir_2src_2math_2obround_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d2/d0c/archeus__std_8dir_2src_2math_2vector2_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d2/d0c/archeus__std_8dir_2src_2math_2vector2_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d2/d0d/packages_2input_2glfw_2keyboard_8c.html delete mode 100644 doc/doxygen/html/d2/d0d/packages_2input_2glfw_2keyboard_8c_source.html delete mode 100644 doc/doxygen/html/d2/d14/math_2rectangle_8h.html delete mode 100644 doc/doxygen/html/d2/d14/math_2rectangle_8h.js delete mode 100644 doc/doxygen/html/d2/d14/math_2rectangle_8h_source.html delete mode 100644 doc/doxygen/html/d2/d19/group__ARC__Vector.html delete mode 100644 doc/doxygen/html/d2/d19/group__ARC__Vector.js delete mode 100644 doc/doxygen/html/d2/d1a/packages_2graphics_2sdl_2sprite_8c.html delete mode 100644 doc/doxygen/html/d2/d1a/packages_2graphics_2sdl_2sprite_8c.js delete mode 100644 doc/doxygen/html/d2/d1a/packages_2graphics_2sdl_2sprite_8c_source.html delete mode 100644 doc/doxygen/html/d2/d1f/tests_8dir_2src_2files_2config_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d2/d1f/tests_8dir_2src_2files_2config_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d2/d20/structARC__ConsoleBuffer.html delete mode 100644 doc/doxygen/html/d2/d20/structARC__ConsoleBuffer.js delete mode 100644 doc/doxygen/html/d2/d24/page_8dox.html delete mode 100644 doc/doxygen/html/d2/d30/structARC__Color.html delete mode 100644 doc/doxygen/html/d2/d30/structARC__Color.js delete mode 100644 doc/doxygen/html/d2/d32/structARC__Queue.html delete mode 100644 doc/doxygen/html/d2/d32/structARC__Queue.js delete mode 100644 doc/doxygen/html/d2/d37/structARC__LexerToken.html delete mode 100644 doc/doxygen/html/d2/d37/structARC__LexerToken.js delete mode 100644 doc/doxygen/html/d2/d71/window_8c.html delete mode 100644 doc/doxygen/html/d2/d71/window_8c_source.html delete mode 100644 doc/doxygen/html/d2/d72/parser_8c.html delete mode 100644 doc/doxygen/html/d2/d72/parser_8c_source.html delete mode 100644 doc/doxygen/html/d2/d78/include_2arc_2input_2keyboard_8h.html delete mode 100644 doc/doxygen/html/d2/d78/include_2arc_2input_2keyboard_8h.js delete mode 100644 doc/doxygen/html/d2/d78/include_2arc_2input_2keyboard_8h_source.html delete mode 100644 doc/doxygen/html/d2/d7b/archeus__std_8dir_2src_2std_2parser_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d2/d7b/archeus__std_8dir_2src_2std_2parser_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d2/d8b/std_2defaults_2config_8h.html delete mode 100644 doc/doxygen/html/d2/d8b/std_2defaults_2config_8h.js delete mode 100644 doc/doxygen/html/d2/d8b/std_2defaults_2config_8h_source.html delete mode 100644 doc/doxygen/html/d2/d91/point_8h.html delete mode 100644 doc/doxygen/html/d2/d91/point_8h.js delete mode 100644 doc/doxygen/html/d2/d91/point_8h_source.html delete mode 100644 doc/doxygen/html/d2/d9d/structARC__Point.html delete mode 100644 doc/doxygen/html/d2/d9d/structARC__Point.js delete mode 100644 doc/doxygen/html/d2/da7/std_2defaults_2config_8c.html delete mode 100644 doc/doxygen/html/d2/da7/std_2defaults_2config_8c_source.html delete mode 100644 doc/doxygen/html/d2/dba/graphics_2obround_8h.html delete mode 100644 doc/doxygen/html/d2/dba/graphics_2obround_8h.js delete mode 100644 doc/doxygen/html/d2/dba/graphics_2obround_8h_source.html delete mode 100644 doc/doxygen/html/d2/dba/packages_2graphics_2opengl_2rectangle_8c.html delete mode 100644 doc/doxygen/html/d2/dba/packages_2graphics_2opengl_2rectangle_8c_source.html delete mode 100644 doc/doxygen/html/d2/dbb/tests_8dir_2src_2graphics_2spritesheet_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d2/dbb/tests_8dir_2src_2graphics_2spritesheet_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d2/dbd/queue_8c.html delete mode 100644 doc/doxygen/html/d2/dbd/queue_8c.js delete mode 100644 doc/doxygen/html/d2/dbd/queue_8c_source.html delete mode 100644 doc/doxygen/html/d2/ddc/test_8h.html delete mode 100644 doc/doxygen/html/d2/ddc/test_8h.js delete mode 100644 doc/doxygen/html/d2/ddc/test_8h_source.html delete mode 100644 doc/doxygen/html/d2/de6/packages_2graphics_2sdl_2rectangle_8c.html delete mode 100644 doc/doxygen/html/d2/de6/packages_2graphics_2sdl_2rectangle_8c.js delete mode 100644 doc/doxygen/html/d2/de6/packages_2graphics_2sdl_2rectangle_8c_source.html delete mode 100644 doc/doxygen/html/d2/de7/archeus__std_8dir_2link_8d.html delete mode 100644 doc/doxygen/html/d2/de7/archeus__std_8dir_2link_8d_source.html delete mode 100644 doc/doxygen/html/d2/df0/archeus__std_8dir_2src_2std_2parser_2parserlang_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d2/df0/archeus__std_8dir_2src_2std_2parser_2parserlang_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d2/df4/archeus__std_8dir_2src_2std_2config_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d2/df4/archeus__std_8dir_2src_2std_2config_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d3/d0a/structARC__ParserTag.html delete mode 100644 doc/doxygen/html/d3/d0a/structARC__ParserTag.js delete mode 100644 doc/doxygen/html/d3/d25/src_2std_2chemical_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d3/d25/src_2std_2chemical_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d3/d28/include_2arc_2input_2none_2keyboard_8h.html delete mode 100644 doc/doxygen/html/d3/d28/include_2arc_2input_2none_2keyboard_8h_source.html delete mode 100644 doc/doxygen/html/d3/d3c/structARC__Config.html delete mode 100644 doc/doxygen/html/d3/d3c/structARC__Config.js delete mode 100644 doc/doxygen/html/d3/d3e/include_2arc_2input_2input_8h.html delete mode 100644 doc/doxygen/html/d3/d3e/include_2arc_2input_2input_8h.js delete mode 100644 doc/doxygen/html/d3/d3e/include_2arc_2input_2input_8h_source.html delete mode 100644 doc/doxygen/html/d3/d42/tests_8dir_2src_2std_2time_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d3/d42/tests_8dir_2src_2std_2time_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d3/d58/std_2config_8h.html delete mode 100644 doc/doxygen/html/d3/d58/std_2config_8h.js delete mode 100644 doc/doxygen/html/d3/d58/std_2config_8h_source.html delete mode 100644 doc/doxygen/html/d3/d66/math_2obround_8h.html delete mode 100644 doc/doxygen/html/d3/d66/math_2obround_8h.js delete mode 100644 doc/doxygen/html/d3/d66/math_2obround_8h_source.html delete mode 100644 doc/doxygen/html/d3/d68/archeus__std_8dir_2src_2std_2handler_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d3/d68/archeus__std_8dir_2src_2std_2handler_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d3/d6d/tests_2std_2lexer_8c.html delete mode 100644 doc/doxygen/html/d3/d6d/tests_2std_2lexer_8c.js delete mode 100644 doc/doxygen/html/d3/d6d/tests_2std_2lexer_8c_source.html delete mode 100644 doc/doxygen/html/d3/d76/ecs_8h.html delete mode 100644 doc/doxygen/html/d3/d76/ecs_8h.js delete mode 100644 doc/doxygen/html/d3/d76/ecs_8h_source.html delete mode 100644 doc/doxygen/html/d3/d8b/buffer_8c.html delete mode 100644 doc/doxygen/html/d3/d8b/buffer_8c.js delete mode 100644 doc/doxygen/html/d3/d8b/buffer_8c_source.html delete mode 100644 doc/doxygen/html/d3/d8e/csv_8h.html delete mode 100644 doc/doxygen/html/d3/d8e/csv_8h.js delete mode 100644 doc/doxygen/html/d3/d8e/csv_8h_source.html delete mode 100644 doc/doxygen/html/d3/d9a/audio_8c.html delete mode 100644 doc/doxygen/html/d3/d9a/audio_8c.js delete mode 100644 doc/doxygen/html/d3/d9a/audio_8c_source.html delete mode 100644 doc/doxygen/html/d3/dac/structARC__Array.html delete mode 100644 doc/doxygen/html/d3/dac/structARC__Array.js delete mode 100644 doc/doxygen/html/d3/db5/md__2home_2herbglitch_2programs_2archeus_2arc_2readme.html delete mode 100644 doc/doxygen/html/d3/dbb/stack_8c.html delete mode 100644 doc/doxygen/html/d3/dbb/stack_8c.js delete mode 100644 doc/doxygen/html/d3/dbb/stack_8c_source.html delete mode 100644 doc/doxygen/html/d3/dc3/src_2graphics_2rectangle_8c.html delete mode 100644 doc/doxygen/html/d3/dc3/src_2graphics_2rectangle_8c_source.html delete mode 100644 doc/doxygen/html/d3/dcc/none_2mouse_8h.html delete mode 100644 doc/doxygen/html/d3/dcc/none_2mouse_8h_source.html delete mode 100644 doc/doxygen/html/d3/dcd/tests_8dir_2src_2std_2parser_2helpers_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d3/dcd/tests_8dir_2src_2std_2parser_2helpers_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d3/ddb/structARC__DVector2.html delete mode 100644 doc/doxygen/html/d3/ddb/structARC__DVector2.js delete mode 100644 doc/doxygen/html/d3/df1/window_8h.html delete mode 100644 doc/doxygen/html/d3/df1/window_8h.js delete mode 100644 doc/doxygen/html/d3/df1/window_8h_source.html delete mode 100644 doc/doxygen/html/d4/d05/graphics_2rectangle_8c.html delete mode 100644 doc/doxygen/html/d4/d05/graphics_2rectangle_8c_source.html delete mode 100644 doc/doxygen/html/d4/d06/structARC__Obround.html delete mode 100644 doc/doxygen/html/d4/d06/structARC__Obround.js delete mode 100644 doc/doxygen/html/d4/d43/chemical_8c.html delete mode 100644 doc/doxygen/html/d4/d43/chemical_8c_source.html delete mode 100644 doc/doxygen/html/d4/d4c/include_2arc_2input_2mouse_8h.html delete mode 100644 doc/doxygen/html/d4/d4c/include_2arc_2input_2mouse_8h.js delete mode 100644 doc/doxygen/html/d4/d4c/include_2arc_2input_2mouse_8h_source.html delete mode 100644 doc/doxygen/html/d4/d52/src_2input_2mouse_8c.html delete mode 100644 doc/doxygen/html/d4/d52/src_2input_2mouse_8c_source.html delete mode 100644 doc/doxygen/html/d4/d5b/include_2arc_2graphics_2none_2window_8h.html delete mode 100644 doc/doxygen/html/d4/d5b/include_2arc_2graphics_2none_2window_8h_source.html delete mode 100644 doc/doxygen/html/d4/d5c/point_8c.html delete mode 100644 doc/doxygen/html/d4/d5c/point_8c.js delete mode 100644 doc/doxygen/html/d4/d5c/point_8c_source.html delete mode 100644 doc/doxygen/html/d4/d6b/packages_2input_2sdl_2keyboard_8h.html delete mode 100644 doc/doxygen/html/d4/d6b/packages_2input_2sdl_2keyboard_8h.js delete mode 100644 doc/doxygen/html/d4/d6b/packages_2input_2sdl_2keyboard_8h_source.html delete mode 100644 doc/doxygen/html/d4/d71/structARC__ParserCSVData.html delete mode 100644 doc/doxygen/html/d4/d71/structARC__ParserCSVData.js delete mode 100644 doc/doxygen/html/d4/d93/structARC__Input.html delete mode 100644 doc/doxygen/html/d4/d93/structARC__Input.js delete mode 100644 doc/doxygen/html/d4/da4/structARC__FPoint.html delete mode 100644 doc/doxygen/html/d4/da4/structARC__FPoint.js delete mode 100644 doc/doxygen/html/d4/db2/archeus__std_8dir_2src_2graphics_2config_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d4/db2/archeus__std_8dir_2src_2graphics_2config_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d4/db5/tests_2std_2chemical_8c.html delete mode 100644 doc/doxygen/html/d4/db5/tests_2std_2chemical_8c.js delete mode 100644 doc/doxygen/html/d4/db5/tests_2std_2chemical_8c_source.html delete mode 100644 doc/doxygen/html/d4/dfe/element_8h.html delete mode 100644 doc/doxygen/html/d4/dfe/element_8h.js delete mode 100644 doc/doxygen/html/d4/dfe/element_8h_source.html delete mode 100644 doc/doxygen/html/d5/d03/include_2arc_2graphics_2window_8h.html delete mode 100644 doc/doxygen/html/d5/d03/include_2arc_2graphics_2window_8h.js delete mode 100644 doc/doxygen/html/d5/d03/include_2arc_2graphics_2window_8h_source.html delete mode 100644 doc/doxygen/html/d5/d07/graphics_2config_8c.html delete mode 100644 doc/doxygen/html/d5/d07/graphics_2config_8c_source.html delete mode 100644 doc/doxygen/html/d5/d08/buffer_8h.html delete mode 100644 doc/doxygen/html/d5/d08/buffer_8h.js delete mode 100644 doc/doxygen/html/d5/d08/buffer_8h_source.html delete mode 100644 doc/doxygen/html/d5/d2a/packages_2graphics_2glfw_2window_8h.html delete mode 100644 doc/doxygen/html/d5/d2a/packages_2graphics_2glfw_2window_8h_source.html delete mode 100644 doc/doxygen/html/d5/d36/parser_8h.html delete mode 100644 doc/doxygen/html/d5/d36/parser_8h.js delete mode 100644 doc/doxygen/html/d5/d36/parser_8h_source.html delete mode 100644 doc/doxygen/html/d5/d48/archeus_8md.html delete mode 100644 doc/doxygen/html/d5/d5d/structARC__Mouse.html delete mode 100644 doc/doxygen/html/d5/d5d/structARC__Mouse.js delete mode 100644 doc/doxygen/html/d5/d62/tests_8dir_2src_2math_2rectangle_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d5/d62/tests_8dir_2src_2math_2rectangle_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d5/d6e/packages_2input_2sdl_2input_8c.html delete mode 100644 doc/doxygen/html/d5/d6e/packages_2input_2sdl_2input_8c.js delete mode 100644 doc/doxygen/html/d5/d6e/packages_2input_2sdl_2input_8c_source.html delete mode 100644 doc/doxygen/html/d5/d73/tests_8dir_2src_2graphics_2window_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d5/d73/tests_8dir_2src_2graphics_2window_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d5/d7e/tests_8dir_2src_2std_2errno_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d5/d7e/tests_8dir_2src_2std_2errno_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d5/d83/tests_8dir_2src_2input_2keyboard_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d5/d83/tests_8dir_2src_2input_2keyboard_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d5/d89/math_2circle_8c.html delete mode 100644 doc/doxygen/html/d5/d89/math_2circle_8c_source.html delete mode 100644 doc/doxygen/html/d5/d90/packages_2graphics_2sdl_2text_8h.html delete mode 100644 doc/doxygen/html/d5/d90/packages_2graphics_2sdl_2text_8h.js delete mode 100644 doc/doxygen/html/d5/d90/packages_2graphics_2sdl_2text_8h_source.html delete mode 100644 doc/doxygen/html/d5/d9c/archeus__std_8dir_2src_2std_2lexer_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d5/d9c/archeus__std_8dir_2src_2std_2lexer_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d5/d9e/graphics_2circle_8c.html delete mode 100644 doc/doxygen/html/d5/d9e/graphics_2circle_8c_source.html delete mode 100644 doc/doxygen/html/d5/d9f/include_2arc_2console_2key_8h.html delete mode 100644 doc/doxygen/html/d5/d9f/include_2arc_2console_2key_8h.js delete mode 100644 doc/doxygen/html/d5/d9f/include_2arc_2console_2key_8h_source.html delete mode 100644 doc/doxygen/html/d5/da2/structARC__QueueNode.html delete mode 100644 doc/doxygen/html/d5/da2/structARC__QueueNode.js delete mode 100644 doc/doxygen/html/d5/da3/tests_8dir_2src_2std_2vector_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d5/da3/tests_8dir_2src_2std_2vector_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d5/da8/src_2std_2parser_2parserlang_8c.html delete mode 100644 doc/doxygen/html/d5/da8/src_2std_2parser_2parserlang_8c.js delete mode 100644 doc/doxygen/html/d5/da8/src_2std_2parser_2parserlang_8c_source.html delete mode 100644 doc/doxygen/html/d5/dba/temp__parserlang_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d5/dba/temp__parserlang_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d5/dbd/structARC__LexerTokenRule.html delete mode 100644 doc/doxygen/html/d5/dbd/structARC__LexerTokenRule.js delete mode 100644 doc/doxygen/html/d5/dc7/tests_8dir_2src_2math_2vector2_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d5/dc7/tests_8dir_2src_2math_2vector2_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d5/dcc/archeus__std_8dir_2src_2math_2config_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d5/dcc/archeus__std_8dir_2src_2math_2config_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d5/de5/graphics_2view_8h.html delete mode 100644 doc/doxygen/html/d5/de5/graphics_2view_8h.js delete mode 100644 doc/doxygen/html/d5/de5/graphics_2view_8h_source.html delete mode 100644 doc/doxygen/html/d5/df0/structARC__EngineData.html delete mode 100644 doc/doxygen/html/d5/df0/structARC__EngineData.js delete mode 100644 doc/doxygen/html/d5/df3/lexer_8h.html delete mode 100644 doc/doxygen/html/d5/df3/lexer_8h.js delete mode 100644 doc/doxygen/html/d5/df3/lexer_8h_source.html delete mode 100644 doc/doxygen/html/d5/df6/src_2math_2obround_8c.html delete mode 100644 doc/doxygen/html/d5/df6/src_2math_2obround_8c.js delete mode 100644 doc/doxygen/html/d5/df6/src_2math_2obround_8c_source.html delete mode 100644 doc/doxygen/html/d6/d06/archeus__std_8dir_2src_2graphics_2sprite_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d6/d06/archeus__std_8dir_2src_2graphics_2sprite_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d6/d0d/tests_8dir_2src_2input_2input_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d6/d0d/tests_8dir_2src_2input_2input_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d6/d2b/structARC__Lexer.html delete mode 100644 doc/doxygen/html/d6/d2b/structARC__Lexer.js delete mode 100644 doc/doxygen/html/d6/d36/archeus__std_8dir_2src_2std_2io_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d6/d36/archeus__std_8dir_2src_2std_2io_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d6/d4e/structARC__Audio.html delete mode 100644 doc/doxygen/html/d6/d4e/structARC__Audio.js delete mode 100644 doc/doxygen/html/d6/d4f/shell_8c.html delete mode 100644 doc/doxygen/html/d6/d4f/shell_8c.js delete mode 100644 doc/doxygen/html/d6/d4f/shell_8c_source.html delete mode 100644 doc/doxygen/html/d6/d68/vector_8h.html delete mode 100644 doc/doxygen/html/d6/d68/vector_8h.js delete mode 100644 doc/doxygen/html/d6/d68/vector_8h_source.html delete mode 100644 doc/doxygen/html/d6/d69/archeus__std_8dir_2src_2graphics_2obround_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d6/d69/archeus__std_8dir_2src_2graphics_2obround_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html delete mode 100644 doc/doxygen/html/d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.js delete mode 100644 doc/doxygen/html/d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c_source.html delete mode 100644 doc/doxygen/html/d6/d75/archeus__std_8dir_2src_2std_2parser_2csv_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d6/d75/archeus__std_8dir_2src_2std_2parser_2csv_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d6/d7e/console_2view_8h.html delete mode 100644 doc/doxygen/html/d6/d7e/console_2view_8h.js delete mode 100644 doc/doxygen/html/d6/d7e/console_2view_8h_source.html delete mode 100644 doc/doxygen/html/d6/d83/packages_2graphics_2sdl_2window_8c.html delete mode 100644 doc/doxygen/html/d6/d83/packages_2graphics_2sdl_2window_8c.js delete mode 100644 doc/doxygen/html/d6/d83/packages_2graphics_2sdl_2window_8c_source.html delete mode 100644 doc/doxygen/html/d6/d85/renderer_8h.html delete mode 100644 doc/doxygen/html/d6/d85/renderer_8h.js delete mode 100644 doc/doxygen/html/d6/d85/renderer_8h_source.html delete mode 100644 doc/doxygen/html/d6/d85/src_2input_2input_8c.html delete mode 100644 doc/doxygen/html/d6/d85/src_2input_2input_8c.js delete mode 100644 doc/doxygen/html/d6/d85/src_2input_2input_8c_source.html delete mode 100644 doc/doxygen/html/d6/d94/packages_2graphics_2opengl_2text_8c.html delete mode 100644 doc/doxygen/html/d6/d94/packages_2graphics_2opengl_2text_8c_source.html delete mode 100644 doc/doxygen/html/d6/d96/tests_8dir_2src_2std_2parser_2parserlang_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d6/d96/tests_8dir_2src_2std_2parser_2parserlang_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d6/da0/keyboard_8h.html delete mode 100644 doc/doxygen/html/d6/da0/keyboard_8h.js delete mode 100644 doc/doxygen/html/d6/da0/keyboard_8h_source.html delete mode 100644 doc/doxygen/html/d6/da1/none_2spritesheet_8h.html delete mode 100644 doc/doxygen/html/d6/da1/none_2spritesheet_8h_source.html delete mode 100644 doc/doxygen/html/d6/dad/none_2keyboard_8h.html delete mode 100644 doc/doxygen/html/d6/dad/none_2keyboard_8h_source.html delete mode 100644 doc/doxygen/html/d6/dae/archeus__std_8dir_2src_2std_2vector_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d6/dae/archeus__std_8dir_2src_2std_2vector_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d6/db0/tests_8dir_2tests_2std_2parser_2parserlang_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d6/db0/tests_8dir_2tests_2std_2parser_2parserlang_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d6/deb/src_2graphics_2line_8c.html delete mode 100644 doc/doxygen/html/d6/deb/src_2graphics_2line_8c_source.html delete mode 100644 doc/doxygen/html/d6/dec/none_2text_8h.html delete mode 100644 doc/doxygen/html/d6/dec/none_2text_8h_source.html delete mode 100644 doc/doxygen/html/d6/df5/structARC__HashtableNode.html delete mode 100644 doc/doxygen/html/d6/df5/structARC__HashtableNode.js delete mode 100644 doc/doxygen/html/d6/dfa/include_2arc_2graphics_2none_2text_8h.html delete mode 100644 doc/doxygen/html/d6/dfa/include_2arc_2graphics_2none_2text_8h_source.html delete mode 100644 doc/doxygen/html/d7/d08/packages_2graphics_2glfw_2window_8c.html delete mode 100644 doc/doxygen/html/d7/d08/packages_2graphics_2glfw_2window_8c_source.html delete mode 100644 doc/doxygen/html/d7/d09/graphics_2rectangle_8h.html delete mode 100644 doc/doxygen/html/d7/d09/graphics_2rectangle_8h.js delete mode 100644 doc/doxygen/html/d7/d09/graphics_2rectangle_8h_source.html delete mode 100644 doc/doxygen/html/d7/d28/src_2graphics_2window_8c.html delete mode 100644 doc/doxygen/html/d7/d28/src_2graphics_2window_8c_source.html delete mode 100644 doc/doxygen/html/d7/d2f/archeus__std_8dir_2src_2graphics_2rectangle_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d7/d2f/archeus__std_8dir_2src_2graphics_2rectangle_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d7/d34/none_2renderer_8h.html delete mode 100644 doc/doxygen/html/d7/d34/none_2renderer_8h_source.html delete mode 100644 doc/doxygen/html/d7/d37/packages_2input_2sdl_2keyboard_8c.html delete mode 100644 doc/doxygen/html/d7/d37/packages_2input_2sdl_2keyboard_8c.js delete mode 100644 doc/doxygen/html/d7/d37/packages_2input_2sdl_2keyboard_8c_source.html delete mode 100644 doc/doxygen/html/d7/d3c/archeus__std_8dir_2src_2input_2input_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d7/d3c/archeus__std_8dir_2src_2input_2input_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d7/d5c/packages_2graphics_2sdl_2spritesheet_8c.html delete mode 100644 doc/doxygen/html/d7/d5c/packages_2graphics_2sdl_2spritesheet_8c.js delete mode 100644 doc/doxygen/html/d7/d5c/packages_2graphics_2sdl_2spritesheet_8c_source.html delete mode 100644 doc/doxygen/html/d7/d5c/tests_8dir_2tests_2std_2parser_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d7/d5c/tests_8dir_2tests_2std_2parser_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d7/d5d/line_8h.html delete mode 100644 doc/doxygen/html/d7/d5d/line_8h.js delete mode 100644 doc/doxygen/html/d7/d5d/line_8h_source.html delete mode 100644 doc/doxygen/html/d7/d7c/structARC__ConfigKey.html delete mode 100644 doc/doxygen/html/d7/d7c/structARC__ConfigKey.js delete mode 100644 doc/doxygen/html/d7/d80/src_2graphics_2renderer_8c.html delete mode 100644 doc/doxygen/html/d7/d80/src_2graphics_2renderer_8c_source.html delete mode 100644 doc/doxygen/html/d7/d9d/archeus__std_8dir_2src_2std_2hashtable_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d7/d9d/archeus__std_8dir_2src_2std_2hashtable_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d7/db2/archeus__std_8dir_2src_2graphics_2text_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d7/db2/archeus__std_8dir_2src_2graphics_2text_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d7/dd8/packages_2graphics_2opengl_2circle_8c.html delete mode 100644 doc/doxygen/html/d7/dd8/packages_2graphics_2opengl_2circle_8c_source.html delete mode 100644 doc/doxygen/html/d7/de0/stack_8h.html delete mode 100644 doc/doxygen/html/d7/de0/stack_8h.js delete mode 100644 doc/doxygen/html/d7/de0/stack_8h_source.html delete mode 100644 doc/doxygen/html/d7/de9/archeus__std_8dir_2src_2std_2string_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d7/de9/archeus__std_8dir_2src_2std_2string_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d7/dea/archeus__std_8dir_2src_2graphics_2renderer_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d7/dea/archeus__std_8dir_2src_2graphics_2renderer_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d7/dfb/ssh_8c.html delete mode 100644 doc/doxygen/html/d7/dfb/ssh_8c.js delete mode 100644 doc/doxygen/html/d7/dfb/ssh_8c_source.html delete mode 100644 doc/doxygen/html/d8/d04/packages_2graphics_2sdl_2renderer_8c.html delete mode 100644 doc/doxygen/html/d8/d04/packages_2graphics_2sdl_2renderer_8c.js delete mode 100644 doc/doxygen/html/d8/d04/packages_2graphics_2sdl_2renderer_8c_source.html delete mode 100644 doc/doxygen/html/d8/d33/lexer_8c.html delete mode 100644 doc/doxygen/html/d8/d33/lexer_8c_source.html delete mode 100644 doc/doxygen/html/d8/d38/queue_8h.html delete mode 100644 doc/doxygen/html/d8/d38/queue_8h.js delete mode 100644 doc/doxygen/html/d8/d38/queue_8h_source.html delete mode 100644 doc/doxygen/html/d8/d43/structARC__Ssh.html delete mode 100644 doc/doxygen/html/d8/d43/structARC__Ssh.js delete mode 100644 doc/doxygen/html/d8/d5c/src_2std_2config_8c.html delete mode 100644 doc/doxygen/html/d8/d5c/src_2std_2config_8c.js delete mode 100644 doc/doxygen/html/d8/d5c/src_2std_2config_8c_source.html delete mode 100644 doc/doxygen/html/d8/d66/graphics_2obround_8c.html delete mode 100644 doc/doxygen/html/d8/d66/graphics_2obround_8c_source.html delete mode 100644 doc/doxygen/html/d8/d6d/packages_2graphics_2glfw_2renderer_8h.html delete mode 100644 doc/doxygen/html/d8/d6d/packages_2graphics_2glfw_2renderer_8h_source.html delete mode 100644 doc/doxygen/html/d8/d71/src_2input_2keyboard_8c.html delete mode 100644 doc/doxygen/html/d8/d71/src_2input_2keyboard_8c_source.html delete mode 100644 doc/doxygen/html/d8/d72/src_2graphics_2sprite_8c.html delete mode 100644 doc/doxygen/html/d8/d72/src_2graphics_2sprite_8c_source.html delete mode 100644 doc/doxygen/html/d8/d77/bool_8h.html delete mode 100644 doc/doxygen/html/d8/d77/bool_8h.js delete mode 100644 doc/doxygen/html/d8/d77/bool_8h_source.html delete mode 100644 doc/doxygen/html/d8/d79/graphics_2circle_8h.html delete mode 100644 doc/doxygen/html/d8/d79/graphics_2circle_8h.js delete mode 100644 doc/doxygen/html/d8/d79/graphics_2circle_8h_source.html delete mode 100644 doc/doxygen/html/d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html delete mode 100644 doc/doxygen/html/d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.js delete mode 100644 doc/doxygen/html/d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c_source.html delete mode 100644 doc/doxygen/html/d8/d86/csv_8c.html delete mode 100644 doc/doxygen/html/d8/d86/csv_8c_source.html delete mode 100644 doc/doxygen/html/d8/da4/structARC__ConfigDeleteKeyArgs.html delete mode 100644 doc/doxygen/html/d8/da4/structARC__ConfigDeleteKeyArgs.js delete mode 100644 doc/doxygen/html/d8/da9/include_2arc_2graphics_2text_8h.html delete mode 100644 doc/doxygen/html/d8/da9/include_2arc_2graphics_2text_8h.js delete mode 100644 doc/doxygen/html/d8/da9/include_2arc_2graphics_2text_8h_source.html delete mode 100644 doc/doxygen/html/d8/db1/packages_2audio_2sdl_2audio_8h.html delete mode 100644 doc/doxygen/html/d8/db1/packages_2audio_2sdl_2audio_8h.js delete mode 100644 doc/doxygen/html/d8/db1/packages_2audio_2sdl_2audio_8h_source.html delete mode 100644 doc/doxygen/html/d8/db8/archeus__std_8dir_2src_2std_2time_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d8/db8/archeus__std_8dir_2src_2std_2time_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d8/db9/test_8c.html delete mode 100644 doc/doxygen/html/d8/db9/test_8c.js delete mode 100644 doc/doxygen/html/d8/db9/test_8c_source.html delete mode 100644 doc/doxygen/html/d8/dc2/errno_8h.html delete mode 100644 doc/doxygen/html/d8/dc2/errno_8h.js delete mode 100644 doc/doxygen/html/d8/dc2/errno_8h_source.html delete mode 100644 doc/doxygen/html/d8/dd0/tests_8dir_2tests_2std_2lexer_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d8/dd0/tests_8dir_2tests_2std_2lexer_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d8/dd3/ssh_8h.html delete mode 100644 doc/doxygen/html/d8/dd3/ssh_8h.js delete mode 100644 doc/doxygen/html/d8/dd3/ssh_8h_source.html delete mode 100644 doc/doxygen/html/d8/dd5/packages_2graphics_2opengl_2text_8h.html delete mode 100644 doc/doxygen/html/d8/dd5/packages_2graphics_2opengl_2text_8h_source.html delete mode 100644 doc/doxygen/html/d8/ddd/packages_2audio_2sdl_2config_8c.html delete mode 100644 doc/doxygen/html/d8/ddd/packages_2audio_2sdl_2config_8c.js delete mode 100644 doc/doxygen/html/d8/ddd/packages_2audio_2sdl_2config_8c_source.html delete mode 100644 doc/doxygen/html/d8/de9/hashtable_8c.html delete mode 100644 doc/doxygen/html/d8/de9/hashtable_8c.js delete mode 100644 doc/doxygen/html/d8/de9/hashtable_8c_source.html delete mode 100644 doc/doxygen/html/d8/dec/math_2config_8h.html delete mode 100644 doc/doxygen/html/d8/dec/math_2config_8h.js delete mode 100644 doc/doxygen/html/d8/dec/math_2config_8h_source.html delete mode 100644 doc/doxygen/html/d8/ded/tests_8dir_2src_2std_2string_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d8/ded/tests_8dir_2src_2std_2string_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d8/dfc/tests_8dir_2src_2math_2circle_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d8/dfc/tests_8dir_2src_2math_2circle_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d9/d09/src_2math_2rectangle_8c.html delete mode 100644 doc/doxygen/html/d9/d09/src_2math_2rectangle_8c.js delete mode 100644 doc/doxygen/html/d9/d09/src_2math_2rectangle_8c_source.html delete mode 100644 doc/doxygen/html/d9/d0a/archeus__std_8dir_2src_2std_2stack_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d9/d0a/archeus__std_8dir_2src_2std_2stack_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d9/d13/archeus__std_8dir_2src_2graphics_2line_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d9/d13/archeus__std_8dir_2src_2graphics_2line_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d9/d17/math_2circle_8h.html delete mode 100644 doc/doxygen/html/d9/d17/math_2circle_8h.js delete mode 100644 doc/doxygen/html/d9/d17/math_2circle_8h_source.html delete mode 100644 doc/doxygen/html/d9/d18/include_2arc_2graphics_2sprite_8h.html delete mode 100644 doc/doxygen/html/d9/d18/include_2arc_2graphics_2sprite_8h.js delete mode 100644 doc/doxygen/html/d9/d18/include_2arc_2graphics_2sprite_8h_source.html delete mode 100644 doc/doxygen/html/d9/d1a/packages_2graphics_2sdl_2window_8h.html delete mode 100644 doc/doxygen/html/d9/d1a/packages_2graphics_2sdl_2window_8h.js delete mode 100644 doc/doxygen/html/d9/d1a/packages_2graphics_2sdl_2window_8h_source.html delete mode 100644 doc/doxygen/html/d9/d2a/tests_8dir_2tests_2std_2parser_2csv_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d9/d2a/tests_8dir_2tests_2std_2parser_2csv_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d9/d34/packages_2graphics_2sdl_2config_8c.html delete mode 100644 doc/doxygen/html/d9/d34/packages_2graphics_2sdl_2config_8c.js delete mode 100644 doc/doxygen/html/d9/d34/packages_2graphics_2sdl_2config_8c_source.html delete mode 100644 doc/doxygen/html/d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html delete mode 100644 doc/doxygen/html/d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.js delete mode 100644 doc/doxygen/html/d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c_source.html delete mode 100644 doc/doxygen/html/d9/d39/tests_8dir_2src_2graphics_2circle_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d9/d39/tests_8dir_2src_2graphics_2circle_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d9/d43/tests_8dir_2src_2std_2stack_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d9/d43/tests_8dir_2src_2std_2stack_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d9/d4c/structARC__ConsoleShell.html delete mode 100644 doc/doxygen/html/d9/d4c/structARC__ConsoleShell.js delete mode 100644 doc/doxygen/html/d9/d53/spritesheet_8h.html delete mode 100644 doc/doxygen/html/d9/d53/spritesheet_8h.js delete mode 100644 doc/doxygen/html/d9/d53/spritesheet_8h_source.html delete mode 100644 doc/doxygen/html/d9/d5a/packages_2graphics_2opengl_2spritesheet_8c.html delete mode 100644 doc/doxygen/html/d9/d5a/packages_2graphics_2opengl_2spritesheet_8c_source.html delete mode 100644 doc/doxygen/html/d9/d6e/archeus__std_8dir_2src_2engine_2engine_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d9/d6e/archeus__std_8dir_2src_2engine_2engine_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d9/d6f/packages_2graphics_2sdl_2circle_8c.html delete mode 100644 doc/doxygen/html/d9/d6f/packages_2graphics_2sdl_2circle_8c.js delete mode 100644 doc/doxygen/html/d9/d6f/packages_2graphics_2sdl_2circle_8c_source.html delete mode 100644 doc/doxygen/html/d9/d7b/packages_2graphics_2sdl_2obround_8c.html delete mode 100644 doc/doxygen/html/d9/d7b/packages_2graphics_2sdl_2obround_8c.js delete mode 100644 doc/doxygen/html/d9/d7b/packages_2graphics_2sdl_2obround_8c_source.html delete mode 100644 doc/doxygen/html/d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html delete mode 100644 doc/doxygen/html/d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.js delete mode 100644 doc/doxygen/html/d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c_source.html delete mode 100644 doc/doxygen/html/d9/d9f/graphics_2config_8h.html delete mode 100644 doc/doxygen/html/d9/d9f/graphics_2config_8h.js delete mode 100644 doc/doxygen/html/d9/d9f/graphics_2config_8h_source.html delete mode 100644 doc/doxygen/html/d9/d9f/packages_2graphics_2glfw_2config_8c.html delete mode 100644 doc/doxygen/html/d9/d9f/packages_2graphics_2glfw_2config_8c_source.html delete mode 100644 doc/doxygen/html/d9/da8/archeus__std_8dir_2src_2graphics_2circle_8c_8o_8d.html delete mode 100644 doc/doxygen/html/d9/da8/archeus__std_8dir_2src_2graphics_2circle_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/d9/dcc/text_8h.html delete mode 100644 doc/doxygen/html/d9/dcc/text_8h.js delete mode 100644 doc/doxygen/html/d9/dcc/text_8h_source.html delete mode 100644 doc/doxygen/html/d9/ddf/src_2graphics_2circle_8c.html delete mode 100644 doc/doxygen/html/d9/ddf/src_2graphics_2circle_8c_source.html delete mode 100644 doc/doxygen/html/da/d09/audio_8h.html delete mode 100644 doc/doxygen/html/da/d09/audio_8h.js delete mode 100644 doc/doxygen/html/da/d09/audio_8h_source.html delete mode 100644 doc/doxygen/html/da/d0a/element_8c.html delete mode 100644 doc/doxygen/html/da/d0a/element_8c.js delete mode 100644 doc/doxygen/html/da/d0a/element_8c_source.html delete mode 100644 doc/doxygen/html/da/d0c/sprite_8c.html delete mode 100644 doc/doxygen/html/da/d0c/sprite_8c_source.html delete mode 100644 doc/doxygen/html/da/d10/src_2std_2chemical_8c.html delete mode 100644 doc/doxygen/html/da/d10/src_2std_2chemical_8c.js delete mode 100644 doc/doxygen/html/da/d10/src_2std_2chemical_8c_source.html delete mode 100644 doc/doxygen/html/da/d17/tests_2std_2parser_2parserlang_8c.html delete mode 100644 doc/doxygen/html/da/d17/tests_2std_2parser_2parserlang_8c.js delete mode 100644 doc/doxygen/html/da/d17/tests_2std_2parser_2parserlang_8c_source.html delete mode 100644 doc/doxygen/html/da/d24/src_2std_2lexer_8c.html delete mode 100644 doc/doxygen/html/da/d24/src_2std_2lexer_8c.js delete mode 100644 doc/doxygen/html/da/d24/src_2std_2lexer_8c_source.html delete mode 100644 doc/doxygen/html/da/d36/tests_8dir_2src_2std_2parser_8c_8o_8d.html delete mode 100644 doc/doxygen/html/da/d36/tests_8dir_2src_2std_2parser_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/da/d50/packages_2input_2glfw_2input_8c.html delete mode 100644 doc/doxygen/html/da/d50/packages_2input_2glfw_2input_8c_source.html delete mode 100644 doc/doxygen/html/da/d56/tests_8dir_2src_2graphics_2line_8c_8o_8d.html delete mode 100644 doc/doxygen/html/da/d56/tests_8dir_2src_2graphics_2line_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/da/d58/include_2arc_2input_2none_2mouse_8h.html delete mode 100644 doc/doxygen/html/da/d58/include_2arc_2input_2none_2mouse_8h_source.html delete mode 100644 doc/doxygen/html/da/d62/math_2config_8c.html delete mode 100644 doc/doxygen/html/da/d62/math_2config_8c_source.html delete mode 100644 doc/doxygen/html/da/d66/string_8h.html delete mode 100644 doc/doxygen/html/da/d66/string_8h.js delete mode 100644 doc/doxygen/html/da/d66/string_8h_source.html delete mode 100644 doc/doxygen/html/da/d6c/tests_8dir_2src_2math_2point_8c_8o_8d.html delete mode 100644 doc/doxygen/html/da/d6c/tests_8dir_2src_2math_2point_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/da/d80/text_8c.html delete mode 100644 doc/doxygen/html/da/d80/text_8c_source.html delete mode 100644 doc/doxygen/html/da/d9a/none_2window_8h.html delete mode 100644 doc/doxygen/html/da/d9a/none_2window_8h_source.html delete mode 100644 doc/doxygen/html/da/d9d/archeus__std_8dir_2src_2std_2chemical_8c_8o_8d.html delete mode 100644 doc/doxygen/html/da/d9d/archeus__std_8dir_2src_2std_2chemical_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/da/da4/tests_8dir_2src_2engine_2state_8c_8o_8d.html delete mode 100644 doc/doxygen/html/da/da4/tests_8dir_2src_2engine_2state_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/da/db0/tests_8dir_2src_2engine_2engine_8c_8o_8d.html delete mode 100644 doc/doxygen/html/da/db0/tests_8dir_2src_2engine_2engine_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/da/dba/structARC__Time.html delete mode 100644 doc/doxygen/html/da/dba/structARC__Time.js delete mode 100644 doc/doxygen/html/da/dbb/tests_8dir_2src_2input_2mouse_8c_8o_8d.html delete mode 100644 doc/doxygen/html/da/dbb/tests_8dir_2src_2input_2mouse_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/da/dbc/tests_8dir_2src_2graphics_2config_8c_8o_8d.html delete mode 100644 doc/doxygen/html/da/dbc/tests_8dir_2src_2graphics_2config_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/da/dce/none_2sprite_8h.html delete mode 100644 doc/doxygen/html/da/dce/none_2sprite_8h_source.html delete mode 100644 doc/doxygen/html/da/dcf/structARC__Handler.html delete mode 100644 doc/doxygen/html/da/dcf/structARC__Handler.js delete mode 100644 doc/doxygen/html/da/dec/color_8h.html delete mode 100644 doc/doxygen/html/da/dec/color_8h.js delete mode 100644 doc/doxygen/html/da/dec/color_8h_source.html delete mode 100644 doc/doxygen/html/db/d08/sprite_8h.html delete mode 100644 doc/doxygen/html/db/d08/sprite_8h.js delete mode 100644 doc/doxygen/html/db/d08/sprite_8h_source.html delete mode 100644 doc/doxygen/html/db/d3b/state_8h.html delete mode 100644 doc/doxygen/html/db/d3b/state_8h.js delete mode 100644 doc/doxygen/html/db/d3b/state_8h_source.html delete mode 100644 doc/doxygen/html/db/d45/structARC__Sprite.html delete mode 100644 doc/doxygen/html/db/d45/structARC__Sprite.js delete mode 100644 doc/doxygen/html/db/d58/archeus__std_8dir_2src_2std_2queue_8c_8o_8d.html delete mode 100644 doc/doxygen/html/db/d58/archeus__std_8dir_2src_2std_2queue_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/db/d60/packages_2graphics_2opengl_2spritesheet_8h.html delete mode 100644 doc/doxygen/html/db/d60/packages_2graphics_2opengl_2spritesheet_8h_source.html delete mode 100644 doc/doxygen/html/db/d63/array_8h.html delete mode 100644 doc/doxygen/html/db/d63/array_8h.js delete mode 100644 doc/doxygen/html/db/d63/array_8h_source.html delete mode 100644 doc/doxygen/html/db/d67/structARC__Circle.html delete mode 100644 doc/doxygen/html/db/d67/structARC__Circle.js delete mode 100644 doc/doxygen/html/db/d86/structARC__Vector2.html delete mode 100644 doc/doxygen/html/db/d86/structARC__Vector2.js delete mode 100644 doc/doxygen/html/db/d9c/std_2config_8c.html delete mode 100644 doc/doxygen/html/db/d9c/std_2config_8c_source.html delete mode 100644 doc/doxygen/html/db/d9f/mouse_8c.html delete mode 100644 doc/doxygen/html/db/d9f/mouse_8c_source.html delete mode 100644 doc/doxygen/html/db/db4/structARC__ConsoleElement.html delete mode 100644 doc/doxygen/html/db/db4/structARC__ConsoleElement.js delete mode 100644 doc/doxygen/html/db/dc8/packages_2graphics_2sdl_2text_8c.html delete mode 100644 doc/doxygen/html/db/dc8/packages_2graphics_2sdl_2text_8c.js delete mode 100644 doc/doxygen/html/db/dc8/packages_2graphics_2sdl_2text_8c_source.html delete mode 100644 doc/doxygen/html/db/dd1/handler_8c.html delete mode 100644 doc/doxygen/html/db/dd1/handler_8c.js delete mode 100644 doc/doxygen/html/db/dd1/handler_8c_source.html delete mode 100644 doc/doxygen/html/db/dda/packages_2input_2glfw_2mouse_8h.html delete mode 100644 doc/doxygen/html/db/dda/packages_2input_2glfw_2mouse_8h_source.html delete mode 100644 doc/doxygen/html/db/de0/tests_8dir_2link_8d.html delete mode 100644 doc/doxygen/html/db/de0/tests_8dir_2link_8d_source.html delete mode 100644 doc/doxygen/html/db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html delete mode 100644 doc/doxygen/html/db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.js delete mode 100644 doc/doxygen/html/db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c_source.html delete mode 100644 doc/doxygen/html/db/df9/archeus__std_8dir_2src_2std_2errno_8c_8o_8d.html delete mode 100644 doc/doxygen/html/db/df9/archeus__std_8dir_2src_2std_2errno_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/db/df9/structARC__State.html delete mode 100644 doc/doxygen/html/db/df9/structARC__State.js delete mode 100644 doc/doxygen/html/db/df9/structARC__UPoint.html delete mode 100644 doc/doxygen/html/db/df9/structARC__UPoint.js delete mode 100644 doc/doxygen/html/db/dfd/key_8c.html delete mode 100644 doc/doxygen/html/db/dfd/key_8c.js delete mode 100644 doc/doxygen/html/db/dfd/key_8c_source.html delete mode 100644 doc/doxygen/html/dc/d00/structARC__FObround.html delete mode 100644 doc/doxygen/html/dc/d00/structARC__FObround.js delete mode 100644 doc/doxygen/html/dc/d17/include_2arc_2graphics_2none_2sprite_8h.html delete mode 100644 doc/doxygen/html/dc/d17/include_2arc_2graphics_2none_2sprite_8h_source.html delete mode 100644 doc/doxygen/html/dc/d18/structARC__View.html delete mode 100644 doc/doxygen/html/dc/d18/structARC__View.js delete mode 100644 doc/doxygen/html/dc/d37/structARC__ParserTagToken.html delete mode 100644 doc/doxygen/html/dc/d37/structARC__ParserTagToken.js delete mode 100644 doc/doxygen/html/dc/d3c/packages_2graphics_2opengl_2line_8c.html delete mode 100644 doc/doxygen/html/dc/d3c/packages_2graphics_2opengl_2line_8c_source.html delete mode 100644 doc/doxygen/html/dc/d60/src_2math_2circle_8c.html delete mode 100644 doc/doxygen/html/dc/d60/src_2math_2circle_8c_source.html delete mode 100644 doc/doxygen/html/dc/d76/tests_8dir_2src_2std_2config_8c_8o_8d.html delete mode 100644 doc/doxygen/html/dc/d76/tests_8dir_2src_2std_2config_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/dc/d7a/structARC__Text.html delete mode 100644 doc/doxygen/html/dc/d7a/structARC__Text.js delete mode 100644 doc/doxygen/html/dc/d7e/packages_2graphics_2sdl_2line_8c.html delete mode 100644 doc/doxygen/html/dc/d7e/packages_2graphics_2sdl_2line_8c.js delete mode 100644 doc/doxygen/html/dc/d7e/packages_2graphics_2sdl_2line_8c_source.html delete mode 100644 doc/doxygen/html/dc/d7e/packages_2input_2sdl_2input_8h.html delete mode 100644 doc/doxygen/html/dc/d7e/packages_2input_2sdl_2input_8h.js delete mode 100644 doc/doxygen/html/dc/d7e/packages_2input_2sdl_2input_8h_source.html delete mode 100644 doc/doxygen/html/dc/d82/tests_2std_2vector_8c.html delete mode 100644 doc/doxygen/html/dc/d82/tests_2std_2vector_8c.js delete mode 100644 doc/doxygen/html/dc/d82/tests_2std_2vector_8c_source.html delete mode 100644 doc/doxygen/html/dc/d95/packages_2graphics_2sdl_2spritesheet_8h.html delete mode 100644 doc/doxygen/html/dc/d95/packages_2graphics_2sdl_2spritesheet_8h.js delete mode 100644 doc/doxygen/html/dc/d95/packages_2graphics_2sdl_2spritesheet_8h_source.html delete mode 100644 doc/doxygen/html/dc/dac/io_8h.html delete mode 100644 doc/doxygen/html/dc/dac/io_8h.js delete mode 100644 doc/doxygen/html/dc/dac/io_8h_source.html delete mode 100644 doc/doxygen/html/dc/db4/packages_2graphics_2opengl_2obround_8c.html delete mode 100644 doc/doxygen/html/dc/db4/packages_2graphics_2opengl_2obround_8c_source.html delete mode 100644 doc/doxygen/html/dc/dc5/packages_2graphics_2opengl_2sprite_8h.html delete mode 100644 doc/doxygen/html/dc/dc5/packages_2graphics_2opengl_2sprite_8h_source.html delete mode 100644 doc/doxygen/html/dc/dd6/standard_8md.html delete mode 100644 doc/doxygen/html/dc/ddf/structARC__Keyboard.html delete mode 100644 doc/doxygen/html/dc/ddf/structARC__Keyboard.js delete mode 100644 doc/doxygen/html/dc/ded/mouse_8h.html delete mode 100644 doc/doxygen/html/dc/ded/mouse_8h.js delete mode 100644 doc/doxygen/html/dc/ded/mouse_8h_source.html delete mode 100644 doc/doxygen/html/dc/df6/archeus__std_8dir_2src_2input_2mouse_8c_8o_8d.html delete mode 100644 doc/doxygen/html/dc/df6/archeus__std_8dir_2src_2input_2mouse_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/dd/d01/structARC__ConsoleKeyType.html delete mode 100644 doc/doxygen/html/dd/d01/structARC__ConsoleKeyType.js delete mode 100644 doc/doxygen/html/dd/d08/structARC__ConfigTypeTemplate.html delete mode 100644 doc/doxygen/html/dd/d08/structARC__ConfigTypeTemplate.js delete mode 100644 doc/doxygen/html/dd/d0d/math_2rectangle_8c.html delete mode 100644 doc/doxygen/html/dd/d0d/math_2rectangle_8c_source.html delete mode 100644 doc/doxygen/html/dd/d0d/parserlang_8h.html delete mode 100644 doc/doxygen/html/dd/d0d/parserlang_8h.js delete mode 100644 doc/doxygen/html/dd/d0d/parserlang_8h_source.html delete mode 100644 doc/doxygen/html/dd/d16/hashtable_8h.html delete mode 100644 doc/doxygen/html/dd/d16/hashtable_8h.js delete mode 100644 doc/doxygen/html/dd/d16/hashtable_8h_source.html delete mode 100644 doc/doxygen/html/dd/d22/tests_2std_2chemical_8c_8o_8d.html delete mode 100644 doc/doxygen/html/dd/d22/tests_2std_2chemical_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/dd/d28/structARC__Hashtable.html delete mode 100644 doc/doxygen/html/dd/d28/structARC__Hashtable.js delete mode 100644 doc/doxygen/html/dd/d36/test_8c_8o_8d.html delete mode 100644 doc/doxygen/html/dd/d36/test_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/dd/d4d/structARC__FRect.html delete mode 100644 doc/doxygen/html/dd/d4d/structARC__FRect.js delete mode 100644 doc/doxygen/html/dd/d53/structARC__Stack.html delete mode 100644 doc/doxygen/html/dd/d53/structARC__Stack.js delete mode 100644 doc/doxygen/html/dd/d56/engine_8c.html delete mode 100644 doc/doxygen/html/dd/d56/engine_8c.js delete mode 100644 doc/doxygen/html/dd/d56/engine_8c_source.html delete mode 100644 doc/doxygen/html/dd/d72/archeus__std_8dir_2src_2math_2obround_8c_8o_8d.html delete mode 100644 doc/doxygen/html/dd/d72/archeus__std_8dir_2src_2math_2obround_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/dd/db8/tests_8dir_2src_2std_2queue_8c_8o_8d.html delete mode 100644 doc/doxygen/html/dd/db8/tests_8dir_2src_2std_2queue_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/dd/dbf/tests_8dir_2src_2graphics_2obround_8c_8o_8d.html delete mode 100644 doc/doxygen/html/dd/dbf/tests_8dir_2src_2graphics_2obround_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/dd/dc5/archeus__std_8dir_2src_2math_2point_8c_8o_8d.html delete mode 100644 doc/doxygen/html/dd/dc5/archeus__std_8dir_2src_2math_2point_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/dd/ddd/packages_2graphics_2glfw_2renderer_8c.html delete mode 100644 doc/doxygen/html/dd/ddd/packages_2graphics_2glfw_2renderer_8c_source.html delete mode 100644 doc/doxygen/html/dd/dee/handler_8h.html delete mode 100644 doc/doxygen/html/dd/dee/handler_8h.js delete mode 100644 doc/doxygen/html/dd/dee/handler_8h_source.html delete mode 100644 doc/doxygen/html/de/d00/tests_8dir_2tests_2std_2vector_8c_8o_8d.html delete mode 100644 doc/doxygen/html/de/d00/tests_8dir_2tests_2std_2vector_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/de/d1e/tests_8dir_2src_2graphics_2text_8c_8o_8d.html delete mode 100644 doc/doxygen/html/de/d1e/tests_8dir_2src_2graphics_2text_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/de/d1f/archeus__std_8dir_2src_2graphics_2spritesheet_8c_8o_8d.html delete mode 100644 doc/doxygen/html/de/d1f/archeus__std_8dir_2src_2graphics_2spritesheet_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/de/d26/packages_2input_2sdl_2mouse_8h.html delete mode 100644 doc/doxygen/html/de/d26/packages_2input_2sdl_2mouse_8h.js delete mode 100644 doc/doxygen/html/de/d26/packages_2input_2sdl_2mouse_8h_source.html delete mode 100644 doc/doxygen/html/de/d61/math_2obround_8c.html delete mode 100644 doc/doxygen/html/de/d61/math_2obround_8c_source.html delete mode 100644 doc/doxygen/html/de/d6b/src_2std_2defaults_2config_8c.html delete mode 100644 doc/doxygen/html/de/d6b/src_2std_2defaults_2config_8c_source.html delete mode 100644 doc/doxygen/html/de/d74/structARC__Chemical.html delete mode 100644 doc/doxygen/html/de/d74/structARC__Chemical.js delete mode 100644 doc/doxygen/html/de/d89/renderer_8c.html delete mode 100644 doc/doxygen/html/de/d89/renderer_8c_source.html delete mode 100644 doc/doxygen/html/de/d8a/src_2math_2config_8c.html delete mode 100644 doc/doxygen/html/de/d8a/src_2math_2config_8c.js delete mode 100644 doc/doxygen/html/de/d8a/src_2math_2config_8c_source.html delete mode 100644 doc/doxygen/html/de/d95/packages_2graphics_2opengl_2sprite_8c.html delete mode 100644 doc/doxygen/html/de/d95/packages_2graphics_2opengl_2sprite_8c_source.html delete mode 100644 doc/doxygen/html/de/d96/library.html delete mode 100644 doc/doxygen/html/de/da5/include_2arc_2graphics_2none_2renderer_8h.html delete mode 100644 doc/doxygen/html/de/da5/include_2arc_2graphics_2none_2renderer_8h_source.html delete mode 100644 doc/doxygen/html/de/da7/src_2graphics_2config_8c.html delete mode 100644 doc/doxygen/html/de/da7/src_2graphics_2config_8c_source.html delete mode 100644 doc/doxygen/html/de/dbd/keyboard_8c.html delete mode 100644 doc/doxygen/html/de/dbd/keyboard_8c_source.html delete mode 100644 doc/doxygen/html/de/dbd/structARC__Vector.html delete mode 100644 doc/doxygen/html/de/dbd/structARC__Vector.js delete mode 100644 doc/doxygen/html/de/de0/packages_2input_2glfw_2mouse_8c.html delete mode 100644 doc/doxygen/html/de/de0/packages_2input_2glfw_2mouse_8c_source.html delete mode 100644 doc/doxygen/html/de/de5/key_8h.html delete mode 100644 doc/doxygen/html/de/de5/key_8h.js delete mode 100644 doc/doxygen/html/de/de5/key_8h_source.html delete mode 100644 doc/doxygen/html/de/de6/vector2_8c.html delete mode 100644 doc/doxygen/html/de/de6/vector2_8c.js delete mode 100644 doc/doxygen/html/de/de6/vector2_8c_source.html delete mode 100644 doc/doxygen/html/de/de7/archeus__std_8dir_2src_2graphics_2window_8c_8o_8d.html delete mode 100644 doc/doxygen/html/de/de7/archeus__std_8dir_2src_2graphics_2window_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/de/de8/chemical_8h.html delete mode 100644 doc/doxygen/html/de/de8/chemical_8h.js delete mode 100644 doc/doxygen/html/de/de8/chemical_8h_source.html delete mode 100644 doc/doxygen/html/de/de8/packages_2input_2glfw_2keyboard_8h.html delete mode 100644 doc/doxygen/html/de/de8/packages_2input_2glfw_2keyboard_8h_source.html delete mode 100644 doc/doxygen/html/de/ded/input_8h.html delete mode 100644 doc/doxygen/html/de/ded/input_8h.js delete mode 100644 doc/doxygen/html/de/ded/input_8h_source.html delete mode 100644 doc/doxygen/html/de/df2/tests_2std_2parser_8c.html delete mode 100644 doc/doxygen/html/de/df2/tests_2std_2parser_8c.js delete mode 100644 doc/doxygen/html/de/df2/tests_2std_2parser_8c_source.html delete mode 100644 doc/doxygen/html/de/df6/tests_8dir_2src_2std_2handler_8c_8o_8d.html delete mode 100644 doc/doxygen/html/de/df6/tests_8dir_2src_2std_2handler_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/de/df7/time_8h.html delete mode 100644 doc/doxygen/html/de/df7/time_8h.js delete mode 100644 doc/doxygen/html/de/df7/time_8h_source.html delete mode 100644 doc/doxygen/html/df/d03/shell_8h.html delete mode 100644 doc/doxygen/html/df/d03/shell_8h.js delete mode 100644 doc/doxygen/html/df/d03/shell_8h_source.html delete mode 100644 doc/doxygen/html/df/d06/structARC__String.html delete mode 100644 doc/doxygen/html/df/d06/structARC__String.js delete mode 100644 doc/doxygen/html/df/d0a/io_8c.html delete mode 100644 doc/doxygen/html/df/d0a/io_8c.js delete mode 100644 doc/doxygen/html/df/d0a/io_8c_source.html delete mode 100644 doc/doxygen/html/df/d15/ecs_8c.html delete mode 100644 doc/doxygen/html/df/d15/ecs_8c.js delete mode 100644 doc/doxygen/html/df/d15/ecs_8c_source.html delete mode 100644 doc/doxygen/html/df/d2d/src_2graphics_2text_8c.html delete mode 100644 doc/doxygen/html/df/d2d/src_2graphics_2text_8c_source.html delete mode 100644 doc/doxygen/html/df/d37/tests_8dir_2src_2std_2lexer_8c_8o_8d.html delete mode 100644 doc/doxygen/html/df/d37/tests_8dir_2src_2std_2lexer_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/df/d41/archeus__std_8dir_2src_2std_2defaults_2config_8c_8o_8d.html delete mode 100644 doc/doxygen/html/df/d41/archeus__std_8dir_2src_2std_2defaults_2config_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/df/d4e/spritesheet_8c.html delete mode 100644 doc/doxygen/html/df/d4e/spritesheet_8c_source.html delete mode 100644 doc/doxygen/html/df/d55/include_2arc_2graphics_2spritesheet_8h.html delete mode 100644 doc/doxygen/html/df/d55/include_2arc_2graphics_2spritesheet_8h.js delete mode 100644 doc/doxygen/html/df/d55/include_2arc_2graphics_2spritesheet_8h_source.html delete mode 100644 doc/doxygen/html/df/d5e/packages_2console_2ncurses_2key_8h.html delete mode 100644 doc/doxygen/html/df/d5e/packages_2console_2ncurses_2key_8h.js delete mode 100644 doc/doxygen/html/df/d5e/packages_2console_2ncurses_2key_8h_source.html delete mode 100644 doc/doxygen/html/df/d6b/src_2std_2vector_8c.html delete mode 100644 doc/doxygen/html/df/d6b/src_2std_2vector_8c.js delete mode 100644 doc/doxygen/html/df/d6b/src_2std_2vector_8c_source.html delete mode 100644 doc/doxygen/html/df/d6d/line_8c.html delete mode 100644 doc/doxygen/html/df/d6d/line_8c_source.html delete mode 100644 doc/doxygen/html/df/d73/time_8c.html delete mode 100644 doc/doxygen/html/df/d73/time_8c.js delete mode 100644 doc/doxygen/html/df/d73/time_8c_source.html delete mode 100644 doc/doxygen/html/df/d7a/tests_8dir_2src_2graphics_2rectangle_8c_8o_8d.html delete mode 100644 doc/doxygen/html/df/d7a/tests_8dir_2src_2graphics_2rectangle_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/df/d9c/tests_2std_2parser_2csv_8c.html delete mode 100644 doc/doxygen/html/df/d9c/tests_2std_2parser_2csv_8c.js delete mode 100644 doc/doxygen/html/df/d9c/tests_2std_2parser_2csv_8c_source.html delete mode 100644 doc/doxygen/html/df/db0/structARC__URect.html delete mode 100644 doc/doxygen/html/df/db0/structARC__URect.js delete mode 100644 doc/doxygen/html/df/dbf/structARC__ECSComponent.html delete mode 100644 doc/doxygen/html/df/dbf/structARC__ECSComponent.js delete mode 100644 doc/doxygen/html/df/dcf/index_8md.html delete mode 100644 doc/doxygen/html/df/dd5/structARC__ParserCSVUserData.html delete mode 100644 doc/doxygen/html/df/dd5/structARC__ParserCSVUserData.js delete mode 100644 doc/doxygen/html/df/dd9/tests_8dir_2src_2std_2chemical_8c_8o_8d.html delete mode 100644 doc/doxygen/html/df/dd9/tests_8dir_2src_2std_2chemical_8c_8o_8d_source.html delete mode 100644 doc/doxygen/html/df/df3/graphics_2sdl_2view_8c.html delete mode 100644 doc/doxygen/html/df/df3/graphics_2sdl_2view_8c.js delete mode 100644 doc/doxygen/html/df/df3/graphics_2sdl_2view_8c_source.html delete mode 100644 doc/doxygen/html/df/df7/audio_2config_8h.html delete mode 100644 doc/doxygen/html/df/df7/audio_2config_8h.js delete mode 100644 doc/doxygen/html/df/df7/audio_2config_8h_source.html delete mode 100644 doc/doxygen/html/df/dfa/vector_8c.html delete mode 100644 doc/doxygen/html/df/dfa/vector_8c_source.html delete mode 100644 doc/doxygen/html/dir_00ee88e1b425f7ddaec4195e254db132.html delete mode 100644 doc/doxygen/html/dir_00ee88e1b425f7ddaec4195e254db132.js delete mode 100644 doc/doxygen/html/dir_04f2ecc425faf0d475a3caf484e551f3.html delete mode 100644 doc/doxygen/html/dir_04f2ecc425faf0d475a3caf484e551f3.js delete mode 100644 doc/doxygen/html/dir_054ad823f0debba630ab5fbbf1e7a6c9.html delete mode 100644 doc/doxygen/html/dir_054ad823f0debba630ab5fbbf1e7a6c9.js delete mode 100644 doc/doxygen/html/dir_0cc0f854d85af330638b97943ef1598a.html delete mode 100644 doc/doxygen/html/dir_0cc0f854d85af330638b97943ef1598a.js delete mode 100644 doc/doxygen/html/dir_0cddbdba956d28cc5c2a9c72cbf1dc5d.html delete mode 100644 doc/doxygen/html/dir_0cddbdba956d28cc5c2a9c72cbf1dc5d.js delete mode 100644 doc/doxygen/html/dir_0dcf4f7c6544b1354195e075c2917c00.html delete mode 100644 doc/doxygen/html/dir_0dcf4f7c6544b1354195e075c2917c00.js delete mode 100644 doc/doxygen/html/dir_0e5878cd227b5e28a0db2e00cb2d57e6.html delete mode 100644 doc/doxygen/html/dir_0e5878cd227b5e28a0db2e00cb2d57e6.js delete mode 100644 doc/doxygen/html/dir_163314b79eb3671f49919bcd27dd2527.html delete mode 100644 doc/doxygen/html/dir_169ca87d8ac185e5b51c45f4a68386c0.html delete mode 100644 doc/doxygen/html/dir_169ca87d8ac185e5b51c45f4a68386c0.js delete mode 100644 doc/doxygen/html/dir_18cfdf016ecefe87e5869aa9b18a6108.html delete mode 100644 doc/doxygen/html/dir_18cfdf016ecefe87e5869aa9b18a6108.js delete mode 100644 doc/doxygen/html/dir_1aa57a5c72ad553cca2096ac851c7fe9.html delete mode 100644 doc/doxygen/html/dir_1aa57a5c72ad553cca2096ac851c7fe9.js delete mode 100644 doc/doxygen/html/dir_1e9b1c2bca8c85fcac6951a589476a54.html delete mode 100644 doc/doxygen/html/dir_1e9b1c2bca8c85fcac6951a589476a54.js delete mode 100644 doc/doxygen/html/dir_2052808828190f934b76e979ee65af8a.html delete mode 100644 doc/doxygen/html/dir_2052808828190f934b76e979ee65af8a.js delete mode 100644 doc/doxygen/html/dir_274e923eff7918b2388b6f9ebd3ed990.html delete mode 100644 doc/doxygen/html/dir_274e923eff7918b2388b6f9ebd3ed990.js delete mode 100644 doc/doxygen/html/dir_2795c06419c71269fc9fb411358a993a.html delete mode 100644 doc/doxygen/html/dir_2795c06419c71269fc9fb411358a993a.js delete mode 100644 doc/doxygen/html/dir_29d0c141dfe07fbd3b448a97ed048de8.html delete mode 100644 doc/doxygen/html/dir_29d0c141dfe07fbd3b448a97ed048de8.js delete mode 100644 doc/doxygen/html/dir_2bbf512b9e35d75796f0ef9e0028c78c.html delete mode 100644 doc/doxygen/html/dir_2bbf512b9e35d75796f0ef9e0028c78c.js delete mode 100644 doc/doxygen/html/dir_384bcd99d3b936f9e95fe1cb5def6f01.html delete mode 100644 doc/doxygen/html/dir_384bcd99d3b936f9e95fe1cb5def6f01.js delete mode 100644 doc/doxygen/html/dir_39f9099a5bacc3a9f2ef380a945c9920.html delete mode 100644 doc/doxygen/html/dir_39f9099a5bacc3a9f2ef380a945c9920.js delete mode 100644 doc/doxygen/html/dir_4197791ff18dd02c801bc5b43bba3f61.html delete mode 100644 doc/doxygen/html/dir_4197791ff18dd02c801bc5b43bba3f61.js delete mode 100644 doc/doxygen/html/dir_448f06559c042ed382334cf4265840a4.html delete mode 100644 doc/doxygen/html/dir_448f06559c042ed382334cf4265840a4.js delete mode 100644 doc/doxygen/html/dir_4674e85715d023eabe12f929a557712f.html delete mode 100644 doc/doxygen/html/dir_4674e85715d023eabe12f929a557712f.js delete mode 100644 doc/doxygen/html/dir_46d97a8ae0c0aa8b914a0b5ca3ee1355.html delete mode 100644 doc/doxygen/html/dir_46d97a8ae0c0aa8b914a0b5ca3ee1355.js delete mode 100644 doc/doxygen/html/dir_4b39d776351c46ae0dc101f31c393a2e.html delete mode 100644 doc/doxygen/html/dir_4b39d776351c46ae0dc101f31c393a2e.js delete mode 100644 doc/doxygen/html/dir_4befb2d6cf456f6f5659a6d11734df7d.html delete mode 100644 doc/doxygen/html/dir_4befb2d6cf456f6f5659a6d11734df7d.js delete mode 100644 doc/doxygen/html/dir_4e7df8a09b2bea044f947dc813dc17f8.html delete mode 100644 doc/doxygen/html/dir_4e7df8a09b2bea044f947dc813dc17f8.js delete mode 100644 doc/doxygen/html/dir_4eff4d556f090b5df86a0d7e570b70c4.html delete mode 100644 doc/doxygen/html/dir_4eff4d556f090b5df86a0d7e570b70c4.js delete mode 100644 doc/doxygen/html/dir_4fef79e7177ba769987a8da36c892c5f.html delete mode 100644 doc/doxygen/html/dir_4fef79e7177ba769987a8da36c892c5f.js delete mode 100644 doc/doxygen/html/dir_51e2434ae88e74fc7fbecce0cef5d995.html delete mode 100644 doc/doxygen/html/dir_51e2434ae88e74fc7fbecce0cef5d995.js delete mode 100644 doc/doxygen/html/dir_55e5558cfbdbc80ca812673b2b436991.html delete mode 100644 doc/doxygen/html/dir_55e5558cfbdbc80ca812673b2b436991.js delete mode 100644 doc/doxygen/html/dir_560415a5d2bc4999842279f4fc1debef.html delete mode 100644 doc/doxygen/html/dir_560415a5d2bc4999842279f4fc1debef.js delete mode 100644 doc/doxygen/html/dir_59425e443f801f1f2fd8bbe4959a3ccf.html delete mode 100644 doc/doxygen/html/dir_59425e443f801f1f2fd8bbe4959a3ccf.js delete mode 100644 doc/doxygen/html/dir_5aa234f39af1e5124a04611dbfe42dcf.html delete mode 100644 doc/doxygen/html/dir_5aa234f39af1e5124a04611dbfe42dcf.js delete mode 100644 doc/doxygen/html/dir_5aebe31537d3974f8e32cdc730d5a0fc.html delete mode 100644 doc/doxygen/html/dir_5aebe31537d3974f8e32cdc730d5a0fc.js delete mode 100644 doc/doxygen/html/dir_602b14a08b68f813a0b382d0af9a55c0.html delete mode 100644 doc/doxygen/html/dir_602b14a08b68f813a0b382d0af9a55c0.js delete mode 100644 doc/doxygen/html/dir_63772b626f2709090f0bdca0f40827b4.html delete mode 100644 doc/doxygen/html/dir_63772b626f2709090f0bdca0f40827b4.js delete mode 100644 doc/doxygen/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html delete mode 100644 doc/doxygen/html/dir_68267d1309a1af8e8297ef4c3efbcdba.js delete mode 100644 doc/doxygen/html/dir_68472d21c045480741914e1e67562a4d.html delete mode 100644 doc/doxygen/html/dir_68472d21c045480741914e1e67562a4d.js delete mode 100644 doc/doxygen/html/dir_6af8a0d0bed2e7af089a3ab97240c95c.html delete mode 100644 doc/doxygen/html/dir_6af8a0d0bed2e7af089a3ab97240c95c.js delete mode 100644 doc/doxygen/html/dir_6d4706c88628d101f934aaf13e871b17.html delete mode 100644 doc/doxygen/html/dir_6d4706c88628d101f934aaf13e871b17.js delete mode 100644 doc/doxygen/html/dir_6f547df634da3cde0da25005fef651f4.html delete mode 100644 doc/doxygen/html/dir_6f547df634da3cde0da25005fef651f4.js delete mode 100644 doc/doxygen/html/dir_73fe40c7155b0dc0a07bd2c7c6ddd134.html delete mode 100644 doc/doxygen/html/dir_73fe40c7155b0dc0a07bd2c7c6ddd134.js delete mode 100644 doc/doxygen/html/dir_74e8f229f95a2dcbfc8cf6373759ba2f.html delete mode 100644 doc/doxygen/html/dir_74e8f229f95a2dcbfc8cf6373759ba2f.js delete mode 100644 doc/doxygen/html/dir_7d6e884eab516ceee85baf879ae85713.html delete mode 100644 doc/doxygen/html/dir_7d6e884eab516ceee85baf879ae85713.js delete mode 100644 doc/doxygen/html/dir_8600ea1c4b892b5b70355aa785f2ac76.html delete mode 100644 doc/doxygen/html/dir_8600ea1c4b892b5b70355aa785f2ac76.js delete mode 100644 doc/doxygen/html/dir_8698ff38f6ae643760cdad826b9d4736.html delete mode 100644 doc/doxygen/html/dir_8698ff38f6ae643760cdad826b9d4736.js delete mode 100644 doc/doxygen/html/dir_93501a11e921083efbd154e0cdff5f10.html delete mode 100644 doc/doxygen/html/dir_93501a11e921083efbd154e0cdff5f10.js delete mode 100644 doc/doxygen/html/dir_98ffd4beff65168e3bae17ec0bd21166.html delete mode 100644 doc/doxygen/html/dir_98ffd4beff65168e3bae17ec0bd21166.js delete mode 100644 doc/doxygen/html/dir_9c33770e936321ba34955e10f41fa668.html delete mode 100644 doc/doxygen/html/dir_9c33770e936321ba34955e10f41fa668.js delete mode 100644 doc/doxygen/html/dir_a3aae0d143abdcbbf7d60d64e23cfff9.html delete mode 100644 doc/doxygen/html/dir_a3aae0d143abdcbbf7d60d64e23cfff9.js delete mode 100644 doc/doxygen/html/dir_ac0697b564c96e18b8b1b2aae0d0e92d.html delete mode 100644 doc/doxygen/html/dir_ac0697b564c96e18b8b1b2aae0d0e92d.js delete mode 100644 doc/doxygen/html/dir_ad51ffe8b33deed52e38849f403bcdb5.html delete mode 100644 doc/doxygen/html/dir_ad51ffe8b33deed52e38849f403bcdb5.js delete mode 100644 doc/doxygen/html/dir_ae9a93452e2a84339148a16bcf2eb561.html delete mode 100644 doc/doxygen/html/dir_ae9a93452e2a84339148a16bcf2eb561.js delete mode 100644 doc/doxygen/html/dir_af6e6c3357835c7f766dfcaf351d30ad.html delete mode 100644 doc/doxygen/html/dir_af6e6c3357835c7f766dfcaf351d30ad.js delete mode 100644 doc/doxygen/html/dir_b29a8eaba25fe5828ebef328b36f3b30.html delete mode 100644 doc/doxygen/html/dir_b29a8eaba25fe5828ebef328b36f3b30.js delete mode 100644 doc/doxygen/html/dir_b3e500eb3a6fe660b1141f591e523c76.html delete mode 100644 doc/doxygen/html/dir_b3e500eb3a6fe660b1141f591e523c76.js delete mode 100644 doc/doxygen/html/dir_b9e3eff3b82e60db2871e444fb0ec7a9.html delete mode 100644 doc/doxygen/html/dir_b9e3eff3b82e60db2871e444fb0ec7a9.js delete mode 100644 doc/doxygen/html/dir_beba8fde51bfc57b68b9250b4fe33f5c.html delete mode 100644 doc/doxygen/html/dir_beba8fde51bfc57b68b9250b4fe33f5c.js delete mode 100644 doc/doxygen/html/dir_bec16ba743e08072affe6b2eea082d36.html delete mode 100644 doc/doxygen/html/dir_bec16ba743e08072affe6b2eea082d36.js delete mode 100644 doc/doxygen/html/dir_c1c3ed0f1e7db0ff79e193ba6ffad3e2.html delete mode 100644 doc/doxygen/html/dir_c1c3ed0f1e7db0ff79e193ba6ffad3e2.js delete mode 100644 doc/doxygen/html/dir_cd72573f226dc6c10f54b9062fdbdd4d.html delete mode 100644 doc/doxygen/html/dir_cd72573f226dc6c10f54b9062fdbdd4d.js delete mode 100644 doc/doxygen/html/dir_ce58f86fb6c402a20d8a44d53d2989b0.html delete mode 100644 doc/doxygen/html/dir_ce58f86fb6c402a20d8a44d53d2989b0.js delete mode 100644 doc/doxygen/html/dir_d11220183916186425735b00db5d9816.html delete mode 100644 doc/doxygen/html/dir_d11220183916186425735b00db5d9816.js delete mode 100644 doc/doxygen/html/dir_d1ecdd01b8fada8604b50b93b61a4e5a.html delete mode 100644 doc/doxygen/html/dir_d1ecdd01b8fada8604b50b93b61a4e5a.js delete mode 100644 doc/doxygen/html/dir_d365e15d984c8d0205117ee0c40d6716.html delete mode 100644 doc/doxygen/html/dir_d365e15d984c8d0205117ee0c40d6716.js delete mode 100644 doc/doxygen/html/dir_d44c64559bbebec7f509842c48db8b23.html delete mode 100644 doc/doxygen/html/dir_d44c64559bbebec7f509842c48db8b23.js delete mode 100644 doc/doxygen/html/dir_d73f2787a5aec4ff153a305f674170cb.html delete mode 100644 doc/doxygen/html/dir_d73f2787a5aec4ff153a305f674170cb.js delete mode 100644 doc/doxygen/html/dir_dbf9480175308ae732cb8d3712ebefd9.html delete mode 100644 doc/doxygen/html/dir_dbf9480175308ae732cb8d3712ebefd9.js delete mode 100644 doc/doxygen/html/dir_e1e6d6205f1f2bb361dce2a25d40e4a1.html delete mode 100644 doc/doxygen/html/dir_e1e6d6205f1f2bb361dce2a25d40e4a1.js delete mode 100644 doc/doxygen/html/dir_e3135e82d92383077dc2ae889e637794.html delete mode 100644 doc/doxygen/html/dir_e3135e82d92383077dc2ae889e637794.js delete mode 100644 doc/doxygen/html/dir_e86ec9f70dc763f43ea709e4264f0e24.html delete mode 100644 doc/doxygen/html/dir_e86ec9f70dc763f43ea709e4264f0e24.js delete mode 100644 doc/doxygen/html/dir_e933f075b9a5929f0ce275b11b2e8443.html delete mode 100644 doc/doxygen/html/dir_e933f075b9a5929f0ce275b11b2e8443.js delete mode 100644 doc/doxygen/html/dir_f0be7a42b269f35efaacb499c42a3b1e.html delete mode 100644 doc/doxygen/html/dir_f0be7a42b269f35efaacb499c42a3b1e.js delete mode 100644 doc/doxygen/html/dir_f167314a7ea0a344943dd90acf082a89.html delete mode 100644 doc/doxygen/html/dir_f167314a7ea0a344943dd90acf082a89.js delete mode 100644 doc/doxygen/html/dir_f87cf45cf3971bc7842866b110ab565f.html delete mode 100644 doc/doxygen/html/dir_f87cf45cf3971bc7842866b110ab565f.js delete mode 100644 doc/doxygen/html/dir_f984958c5f374b898f140c102df5299f.html delete mode 100644 doc/doxygen/html/dir_f984958c5f374b898f140c102df5299f.js delete mode 100644 doc/doxygen/html/dir_fe9004854c8f0f3cfbfe7f330be58a96.html delete mode 100644 doc/doxygen/html/dir_fe9004854c8f0f3cfbfe7f330be58a96.js delete mode 100644 doc/doxygen/html/doc.svg delete mode 100644 doc/doxygen/html/docd.svg delete mode 100644 doc/doxygen/html/doxygen-awesome-darkmode-toggle.js delete mode 100644 doc/doxygen/html/doxygen-awesome-sidebar-only-darkmode-toggle.css delete mode 100644 doc/doxygen/html/doxygen-awesome-sidebar-only.css delete mode 100644 doc/doxygen/html/doxygen-awesome.css delete mode 100644 doc/doxygen/html/doxygen.css delete mode 100644 doc/doxygen/html/doxygen.svg delete mode 100644 doc/doxygen/html/doxygen_crawl.html delete mode 100644 doc/doxygen/html/dynsections.js delete mode 100644 doc/doxygen/html/files.html delete mode 100644 doc/doxygen/html/files_dup.js delete mode 100644 doc/doxygen/html/folderclosed.svg delete mode 100644 doc/doxygen/html/folderclosedd.svg delete mode 100644 doc/doxygen/html/folderopen.svg delete mode 100644 doc/doxygen/html/folderopend.svg delete mode 100644 doc/doxygen/html/functions.html delete mode 100644 doc/doxygen/html/functions_vars.html delete mode 100644 doc/doxygen/html/globals.html delete mode 100644 doc/doxygen/html/globals_a.html delete mode 100644 doc/doxygen/html/globals_c.html delete mode 100644 doc/doxygen/html/globals_d.html delete mode 100644 doc/doxygen/html/globals_defs.html delete mode 100644 doc/doxygen/html/globals_dup.js delete mode 100644 doc/doxygen/html/globals_enum.html delete mode 100644 doc/doxygen/html/globals_eval.html delete mode 100644 doc/doxygen/html/globals_func.html delete mode 100644 doc/doxygen/html/globals_func.js delete mode 100644 doc/doxygen/html/globals_func_c.html delete mode 100644 doc/doxygen/html/globals_func_m.html delete mode 100644 doc/doxygen/html/globals_func_t.html delete mode 100644 doc/doxygen/html/globals_func_v.html delete mode 100644 doc/doxygen/html/globals_g.html delete mode 100644 doc/doxygen/html/globals_h.html delete mode 100644 doc/doxygen/html/globals_i.html delete mode 100644 doc/doxygen/html/globals_l.html delete mode 100644 doc/doxygen/html/globals_m.html delete mode 100644 doc/doxygen/html/globals_p.html delete mode 100644 doc/doxygen/html/globals_s.html delete mode 100644 doc/doxygen/html/globals_t.html delete mode 100644 doc/doxygen/html/globals_type.html delete mode 100644 doc/doxygen/html/globals_v.html delete mode 100644 doc/doxygen/html/globals_vars.html delete mode 100644 doc/doxygen/html/index.html delete mode 100644 doc/doxygen/html/index.js delete mode 100644 doc/doxygen/html/jquery.js delete mode 100644 doc/doxygen/html/menu.js delete mode 100644 doc/doxygen/html/menudata.js delete mode 100644 doc/doxygen/html/minus.svg delete mode 100644 doc/doxygen/html/minusd.svg delete mode 100644 doc/doxygen/html/nav_f.png delete mode 100644 doc/doxygen/html/nav_fd.png delete mode 100644 doc/doxygen/html/nav_g.png delete mode 100644 doc/doxygen/html/nav_h.png delete mode 100644 doc/doxygen/html/nav_hd.png delete mode 100644 doc/doxygen/html/navtree.css delete mode 100644 doc/doxygen/html/navtree.js delete mode 100644 doc/doxygen/html/navtreedata.js delete mode 100644 doc/doxygen/html/navtreeindex0.js delete mode 100644 doc/doxygen/html/navtreeindex1.js delete mode 100644 doc/doxygen/html/navtreeindex2.js delete mode 100644 doc/doxygen/html/navtreeindex3.js delete mode 100644 doc/doxygen/html/navtreeindex4.js delete mode 100644 doc/doxygen/html/navtreeindex5.js delete mode 100644 doc/doxygen/html/navtreeindex6.js delete mode 100644 doc/doxygen/html/navtreeindex7.js delete mode 100644 doc/doxygen/html/open.png delete mode 100644 doc/doxygen/html/pages.html delete mode 100644 doc/doxygen/html/plus.svg delete mode 100644 doc/doxygen/html/plusd.svg delete mode 100644 doc/doxygen/html/resize.js delete mode 100644 doc/doxygen/html/search/all_0.js delete mode 100644 doc/doxygen/html/search/all_1.js delete mode 100644 doc/doxygen/html/search/all_10.js delete mode 100644 doc/doxygen/html/search/all_11.js delete mode 100644 doc/doxygen/html/search/all_12.js delete mode 100644 doc/doxygen/html/search/all_13.js delete mode 100644 doc/doxygen/html/search/all_14.js delete mode 100644 doc/doxygen/html/search/all_15.js delete mode 100644 doc/doxygen/html/search/all_16.js delete mode 100644 doc/doxygen/html/search/all_17.js delete mode 100644 doc/doxygen/html/search/all_18.js delete mode 100644 doc/doxygen/html/search/all_2.js delete mode 100644 doc/doxygen/html/search/all_3.js delete mode 100644 doc/doxygen/html/search/all_4.js delete mode 100644 doc/doxygen/html/search/all_5.js delete mode 100644 doc/doxygen/html/search/all_6.js delete mode 100644 doc/doxygen/html/search/all_7.js delete mode 100644 doc/doxygen/html/search/all_8.js delete mode 100644 doc/doxygen/html/search/all_9.js delete mode 100644 doc/doxygen/html/search/all_a.js delete mode 100644 doc/doxygen/html/search/all_b.js delete mode 100644 doc/doxygen/html/search/all_c.js delete mode 100644 doc/doxygen/html/search/all_d.js delete mode 100644 doc/doxygen/html/search/all_e.js delete mode 100644 doc/doxygen/html/search/all_f.js delete mode 100644 doc/doxygen/html/search/classes_0.js delete mode 100644 doc/doxygen/html/search/close.svg delete mode 100644 doc/doxygen/html/search/defines_0.js delete mode 100644 doc/doxygen/html/search/defines_1.js delete mode 100644 doc/doxygen/html/search/defines_2.js delete mode 100644 doc/doxygen/html/search/defines_3.js delete mode 100644 doc/doxygen/html/search/defines_4.js delete mode 100644 doc/doxygen/html/search/defines_5.js delete mode 100644 doc/doxygen/html/search/defines_6.js delete mode 100644 doc/doxygen/html/search/enums_0.js delete mode 100644 doc/doxygen/html/search/enumvalues_0.js delete mode 100644 doc/doxygen/html/search/files_0.js delete mode 100644 doc/doxygen/html/search/files_1.js delete mode 100644 doc/doxygen/html/search/files_10.js delete mode 100644 doc/doxygen/html/search/files_2.js delete mode 100644 doc/doxygen/html/search/files_3.js delete mode 100644 doc/doxygen/html/search/files_4.js delete mode 100644 doc/doxygen/html/search/files_5.js delete mode 100644 doc/doxygen/html/search/files_6.js delete mode 100644 doc/doxygen/html/search/files_7.js delete mode 100644 doc/doxygen/html/search/files_8.js delete mode 100644 doc/doxygen/html/search/files_9.js delete mode 100644 doc/doxygen/html/search/files_a.js delete mode 100644 doc/doxygen/html/search/files_b.js delete mode 100644 doc/doxygen/html/search/files_c.js delete mode 100644 doc/doxygen/html/search/files_d.js delete mode 100644 doc/doxygen/html/search/files_e.js delete mode 100644 doc/doxygen/html/search/files_f.js delete mode 100644 doc/doxygen/html/search/functions_0.js delete mode 100644 doc/doxygen/html/search/functions_1.js delete mode 100644 doc/doxygen/html/search/functions_2.js delete mode 100644 doc/doxygen/html/search/functions_3.js delete mode 100644 doc/doxygen/html/search/functions_4.js delete mode 100644 doc/doxygen/html/search/groups_0.js delete mode 100644 doc/doxygen/html/search/mag.svg delete mode 100644 doc/doxygen/html/search/mag_d.svg delete mode 100644 doc/doxygen/html/search/mag_sel.svg delete mode 100644 doc/doxygen/html/search/mag_seld.svg delete mode 100644 doc/doxygen/html/search/pages_0.js delete mode 100644 doc/doxygen/html/search/pages_1.js delete mode 100644 doc/doxygen/html/search/pages_2.js delete mode 100644 doc/doxygen/html/search/pages_3.js delete mode 100644 doc/doxygen/html/search/pages_4.js delete mode 100644 doc/doxygen/html/search/search.css delete mode 100644 doc/doxygen/html/search/search.js delete mode 100644 doc/doxygen/html/search/searchdata.js delete mode 100644 doc/doxygen/html/search/typedefs_0.js delete mode 100644 doc/doxygen/html/search/variables_0.js delete mode 100644 doc/doxygen/html/search/variables_1.js delete mode 100644 doc/doxygen/html/search/variables_10.js delete mode 100644 doc/doxygen/html/search/variables_11.js delete mode 100644 doc/doxygen/html/search/variables_12.js delete mode 100644 doc/doxygen/html/search/variables_13.js delete mode 100644 doc/doxygen/html/search/variables_14.js delete mode 100644 doc/doxygen/html/search/variables_15.js delete mode 100644 doc/doxygen/html/search/variables_16.js delete mode 100644 doc/doxygen/html/search/variables_2.js delete mode 100644 doc/doxygen/html/search/variables_3.js delete mode 100644 doc/doxygen/html/search/variables_4.js delete mode 100644 doc/doxygen/html/search/variables_5.js delete mode 100644 doc/doxygen/html/search/variables_6.js delete mode 100644 doc/doxygen/html/search/variables_7.js delete mode 100644 doc/doxygen/html/search/variables_8.js delete mode 100644 doc/doxygen/html/search/variables_9.js delete mode 100644 doc/doxygen/html/search/variables_a.js delete mode 100644 doc/doxygen/html/search/variables_b.js delete mode 100644 doc/doxygen/html/search/variables_c.js delete mode 100644 doc/doxygen/html/search/variables_d.js delete mode 100644 doc/doxygen/html/search/variables_e.js delete mode 100644 doc/doxygen/html/search/variables_f.js delete mode 100644 doc/doxygen/html/splitbar.png delete mode 100644 doc/doxygen/html/splitbard.png delete mode 100644 doc/doxygen/html/sync_off.png delete mode 100644 doc/doxygen/html/sync_on.png delete mode 100644 doc/doxygen/html/tab_a.png delete mode 100644 doc/doxygen/html/tab_ad.png delete mode 100644 doc/doxygen/html/tab_b.png delete mode 100644 doc/doxygen/html/tab_bd.png delete mode 100644 doc/doxygen/html/tab_h.png delete mode 100644 doc/doxygen/html/tab_hd.png delete mode 100644 doc/doxygen/html/tab_s.png delete mode 100644 doc/doxygen/html/tab_sd.png delete mode 100644 doc/doxygen/html/tabs.css delete mode 100644 doc/doxygen/html/topics.html delete mode 100644 doc/doxygen/html/topics.js diff --git a/.gitignore b/.gitignore index cd76ae7..6f2c669 100644 --- a/.gitignore +++ b/.gitignore @@ -524,7 +524,7 @@ FodyWeavers.xsd # End of https://www.toptal.com/developers/gitignore/api/c,c++,visualstudiocode,visualstudio,vim,cmake -doxygen/html +doc/doxygen/html [Bb][Uu][Ii][Ll][Dd] .ccls .vscode diff --git a/doc/doxygen/html/annotated.html b/doc/doxygen/html/annotated.html deleted file mode 100644 index c62511b..0000000 --- a/doc/doxygen/html/annotated.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - -Archeus: Data Structures - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Data Structures
-
-
-
Here are the data structures with brief descriptions:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 CARC_ArrayType that holds an array of data and its size
 CARC_Circle
 CARC_Color
 CARC_ConsoleElement
 CARC_ConsoleShell
 CARC_DVector2
 CARC_EngineData
 CARC_FObround
 CARC_FPoint
 CARC_FRect
 CARC_HashtableNode
 CARC_LexerTokenLexer token type
 CARC_LexerTokenRuleLexer token rule type
 CARC_Obround
 CARC_ParserCSVDataDefines a csv data type, data is set by the callback passed in when createing a parserCSV as parser
 CARC_ParserTagLangue tag type for the parser //TODO: explain this better
 CARC_ParserTagTokenParser type used inside of the parser data create function
 CARC_Point
 CARC_Rect
 CARC_State
 CARC_StringSubstring position within a string
 CARC_TimeARC_Time data structre based on time.h (mainly added to avoid having to type struct tm every time)
 CARC_UPoint
 CARC_URect
 CARC_Vector2
 CARC_View
 CARC_WindowInfo
-
-
-
- - - - - - diff --git a/doc/doxygen/html/annotated_dup.js b/doc/doxygen/html/annotated_dup.js deleted file mode 100644 index 238aa11..0000000 --- a/doc/doxygen/html/annotated_dup.js +++ /dev/null @@ -1,30 +0,0 @@ -var annotated_dup = -[ - [ "ARC_Array", "d3/dac/structARC__Array.html", "d3/dac/structARC__Array" ], - [ "ARC_Circle", "db/d67/structARC__Circle.html", "db/d67/structARC__Circle" ], - [ "ARC_Color", "d2/d30/structARC__Color.html", "d2/d30/structARC__Color" ], - [ "ARC_ConsoleElement", "db/db4/structARC__ConsoleElement.html", "db/db4/structARC__ConsoleElement" ], - [ "ARC_ConsoleShell", "d9/d4c/structARC__ConsoleShell.html", "d9/d4c/structARC__ConsoleShell" ], - [ "ARC_DVector2", "d3/ddb/structARC__DVector2.html", "d3/ddb/structARC__DVector2" ], - [ "ARC_EngineData", "d5/df0/structARC__EngineData.html", "d5/df0/structARC__EngineData" ], - [ "ARC_FObround", "dc/d00/structARC__FObround.html", "dc/d00/structARC__FObround" ], - [ "ARC_FPoint", "d4/da4/structARC__FPoint.html", "d4/da4/structARC__FPoint" ], - [ "ARC_FRect", "dd/d4d/structARC__FRect.html", "dd/d4d/structARC__FRect" ], - [ "ARC_HashtableNode", "d6/df5/structARC__HashtableNode.html", "d6/df5/structARC__HashtableNode" ], - [ "ARC_LexerToken", "d2/d37/structARC__LexerToken.html", "d2/d37/structARC__LexerToken" ], - [ "ARC_LexerTokenRule", "d5/dbd/structARC__LexerTokenRule.html", "d5/dbd/structARC__LexerTokenRule" ], - [ "ARC_Obround", "d4/d06/structARC__Obround.html", "d4/d06/structARC__Obround" ], - [ "ARC_ParserCSVData", "d4/d71/structARC__ParserCSVData.html", "d4/d71/structARC__ParserCSVData" ], - [ "ARC_ParserTag", "d3/d0a/structARC__ParserTag.html", "d3/d0a/structARC__ParserTag" ], - [ "ARC_ParserTagToken", "dc/d37/structARC__ParserTagToken.html", "dc/d37/structARC__ParserTagToken" ], - [ "ARC_Point", "d2/d9d/structARC__Point.html", "d2/d9d/structARC__Point" ], - [ "ARC_Rect", "d0/d18/structARC__Rect.html", "d0/d18/structARC__Rect" ], - [ "ARC_State", "db/df9/structARC__State.html", "db/df9/structARC__State" ], - [ "ARC_String", "df/d06/structARC__String.html", "df/d06/structARC__String" ], - [ "ARC_Time", "da/dba/structARC__Time.html", "da/dba/structARC__Time" ], - [ "ARC_UPoint", "db/df9/structARC__UPoint.html", "db/df9/structARC__UPoint" ], - [ "ARC_URect", "df/db0/structARC__URect.html", "df/db0/structARC__URect" ], - [ "ARC_Vector2", "db/d86/structARC__Vector2.html", "db/d86/structARC__Vector2" ], - [ "ARC_View", "dc/d18/structARC__View.html", "dc/d18/structARC__View" ], - [ "ARC_WindowInfo", "d1/d1a/structARC__WindowInfo.html", "d1/d1a/structARC__WindowInfo" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/bc_s.png b/doc/doxygen/html/bc_s.png deleted file mode 100644 index 224b29aa9847d5a4b3902efd602b7ddf7d33e6c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 676 zcmV;V0$crwP)y__>=_9%My z{n931IS})GlGUF8K#6VIbs%684A^L3@%PlP2>_sk`UWPq@f;rU*V%rPy_ekbhXT&s z(GN{DxFv}*vZp`F>S!r||M`I*nOwwKX+BC~3P5N3-)Y{65c;ywYiAh-1*hZcToLHK ztpl1xomJ+Yb}K(cfbJr2=GNOnT!UFA7Vy~fBz8?J>XHsbZoDad^8PxfSa0GDgENZS zuLCEqzb*xWX2CG*b&5IiO#NzrW*;`VC9455M`o1NBh+(k8~`XCEEoC1Ybwf;vr4K3 zg|EB<07?SOqHp9DhLpS&bzgo70I+ghB_#)K7H%AMU3v}xuyQq9&Bm~++VYhF09a+U zl7>n7Jjm$K#b*FONz~fj;I->Bf;ule1prFN9FovcDGBkpg>)O*-}eLnC{6oZHZ$o% zXKW$;0_{8hxHQ>l;_*HATI(`7t#^{$(zLe}h*mqwOc*nRY9=?Sx4OOeVIfI|0V(V2 zBrW#G7Ss9wvzr@>H*`r>zE z+e8bOBgqIgldUJlG(YUDviMB`9+DH8n-s9SXRLyJHO1!=wY^79WYZMTa(wiZ!zP66 zA~!21vmF3H2{ngD;+`6j#~6j;$*f*G_2ZD1E;9(yaw7d-QnSCpK(cR1zU3qU0000< KMNUMnLSTYoA~SLT diff --git a/doc/doxygen/html/bc_sd.png b/doc/doxygen/html/bc_sd.png deleted file mode 100644 index 31ca888dc71049713b35c351933a8d0f36180bf1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 635 zcmV->0)+jEP)Jwi0r1~gdSq#w{Bu1q z`craw(p2!hu$4C_$Oc3X(sI6e=9QSTwPt{G) z=htT&^~&c~L2~e{r5_5SYe7#Is-$ln>~Kd%$F#tC65?{LvQ}8O`A~RBB0N~`2M+waajO;5>3B&-viHGJeEK2TQOiPRa zfDKyqwMc4wfaEh4jt>H`nW_Zidwk@Bowp`}(VUaj-pSI(-1L>FJVsX}Yl9~JsqgsZ zUD9(rMwf23Gez6KPa|wwInZodP-2}9@fK0Ga_9{8SOjU&4l`pH4@qlQp83>>HT$xW zER^U>)MyV%t(Lu=`d=Y?{k1@}&r7ZGkFQ%z%N+sE9BtYjovzxyxCPxN6&@wLK{soQ zSmkj$aLI}miuE^p@~4}mg9OjDfGEkgY4~^XzLRUBB*O{+&vq<3v(E%+k_i%=`~j%{ Vj14gnt9}3g002ovPDHLkV1n!oC4m3{ diff --git a/doc/doxygen/html/classes.html b/doc/doxygen/html/classes.html deleted file mode 100644 index 825f83a..0000000 --- a/doc/doxygen/html/classes.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: Data Structure Index - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- - - - - - - - diff --git a/doc/doxygen/html/clipboard.js b/doc/doxygen/html/clipboard.js deleted file mode 100644 index 42c1fb0..0000000 --- a/doc/doxygen/html/clipboard.js +++ /dev/null @@ -1,61 +0,0 @@ -/** - -The code below is based on the Doxygen Awesome project, see -https://github.com/jothepro/doxygen-awesome-css - -MIT License - -Copyright (c) 2021 - 2022 jothepro - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -*/ - -let clipboard_title = "Copy to clipboard" -let clipboard_icon = `` -let clipboard_successIcon = `` -let clipboard_successDuration = 1000 - -$(function() { - if(navigator.clipboard) { - const fragments = document.getElementsByClassName("fragment") - for(const fragment of fragments) { - const clipboard_div = document.createElement("div") - clipboard_div.classList.add("clipboard") - clipboard_div.innerHTML = clipboard_icon - clipboard_div.title = clipboard_title - $(clipboard_div).click(function() { - const content = this.parentNode.cloneNode(true) - // filter out line number and folded fragments from file listings - content.querySelectorAll(".lineno, .ttc, .foldclosed").forEach((node) => { node.remove() }) - let text = content.textContent - // remove trailing newlines and trailing spaces from empty lines - text = text.replace(/^\s*\n/gm,'\n').replace(/\n*$/,'') - navigator.clipboard.writeText(text); - this.classList.add("success") - this.innerHTML = clipboard_successIcon - window.setTimeout(() => { // switch back to normal icon after timeout - this.classList.remove("success") - this.innerHTML = clipboard_icon - }, clipboard_successDuration); - }) - fragment.insertBefore(clipboard_div, fragment.firstChild) - } - } -}) diff --git a/doc/doxygen/html/closed.png b/doc/doxygen/html/closed.png deleted file mode 100644 index 98cc2c909da37a6df914fbf67780eebd99c597f5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 132 zcmeAS@N?(olHy`uVBq!ia0vp^oFL4>1|%O$WD@{V-kvUwAr*{o@8{^CZMh(5KoB^r_<4^zF@3)Cp&&t3hdujKf f*?bjBoY!V+E))@{xMcbjXe@)LtDnm{r-UW|*e5JT diff --git a/doc/doxygen/html/cookie.js b/doc/doxygen/html/cookie.js deleted file mode 100644 index 53ad21d..0000000 --- a/doc/doxygen/html/cookie.js +++ /dev/null @@ -1,58 +0,0 @@ -/*! - Cookie helper functions - Copyright (c) 2023 Dimitri van Heesch - Released under MIT license. -*/ -let Cookie = { - cookie_namespace: 'doxygen_', - - readSetting(cookie,defVal) { - if (window.chrome) { - const val = localStorage.getItem(this.cookie_namespace+cookie) || - sessionStorage.getItem(this.cookie_namespace+cookie); - if (val) return val; - } else { - let myCookie = this.cookie_namespace+cookie+"="; - if (document.cookie) { - const index = document.cookie.indexOf(myCookie); - if (index != -1) { - const valStart = index + myCookie.length; - let valEnd = document.cookie.indexOf(";", valStart); - if (valEnd == -1) { - valEnd = document.cookie.length; - } - return document.cookie.substring(valStart, valEnd); - } - } - } - return defVal; - }, - - writeSetting(cookie,val,days=10*365) { // default days='forever', 0=session cookie, -1=delete - if (window.chrome) { - if (days==0) { - sessionStorage.setItem(this.cookie_namespace+cookie,val); - } else { - localStorage.setItem(this.cookie_namespace+cookie,val); - } - } else { - let date = new Date(); - date.setTime(date.getTime()+(days*24*60*60*1000)); - const expiration = days!=0 ? "expires="+date.toGMTString()+";" : ""; - document.cookie = this.cookie_namespace + cookie + "=" + - val + "; SameSite=Lax;" + expiration + "path=/"; - } - }, - - eraseSetting(cookie) { - if (window.chrome) { - if (localStorage.getItem(this.cookie_namespace+cookie)) { - localStorage.removeItem(this.cookie_namespace+cookie); - } else if (sessionStorage.getItem(this.cookie_namespace+cookie)) { - sessionStorage.removeItem(this.cookie_namespace+cookie); - } - } else { - this.writeSetting(cookie,'',-1); - } - }, -} diff --git a/doc/doxygen/html/d0/d17/archeus__std_8dir_2src_2input_2keyboard_8c_8o_8d.html b/doc/doxygen/html/d0/d17/archeus__std_8dir_2src_2input_2keyboard_8c_8o_8d.html deleted file mode 100644 index be93d92..0000000 --- a/doc/doxygen/html/d0/d17/archeus__std_8dir_2src_2input_2keyboard_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/input/keyboard.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
keyboard.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d0/d17/archeus__std_8dir_2src_2input_2keyboard_8c_8o_8d_source.html b/doc/doxygen/html/d0/d17/archeus__std_8dir_2src_2input_2keyboard_8c_8o_8d_source.html deleted file mode 100644 index 27ca3ab..0000000 --- a/doc/doxygen/html/d0/d17/archeus__std_8dir_2src_2input_2keyboard_8c_8o_8d_source.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/input/keyboard.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
keyboard.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/input/keyboard.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/input/keyboard.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/input/keyboard.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h /usr/include/stdio.h \
-
15 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
16 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
17 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
18 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
19 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
20 /usr/include/bits/types/cookie_io_functions_t.h \
-
21 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
22 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d0/d18/structARC__Rect.html b/doc/doxygen/html/d0/d18/structARC__Rect.html deleted file mode 100644 index 448e973..0000000 --- a/doc/doxygen/html/d0/d18/structARC__Rect.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - - - - - -Archeus: ARC_Rect Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_Rect Struct Reference
-
-
- -

#include <rectangle.h>

- - - - - - - - - - -

-Data Fields

int32_t x
 
int32_t y
 
int32_t w
 
int32_t h
 
-

Detailed Description

-
-

Definition at line 12 of file rectangle.h.

-

Field Documentation

- -

◆ h

- -
-
- - - - -
int32_t ARC_Rect::h
-
- -

Definition at line 16 of file rectangle.h.

- -
-
- -

◆ w

- -
-
- - - - -
int32_t ARC_Rect::w
-
- -

Definition at line 15 of file rectangle.h.

- -
-
- -

◆ x

- -
-
- - - - -
int32_t ARC_Rect::x
-
- -

Definition at line 13 of file rectangle.h.

- -
-
- -

◆ y

- -
-
- - - - -
int32_t ARC_Rect::y
-
- -

Definition at line 14 of file rectangle.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/include/arc/math/rectangle.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d0/d18/structARC__Rect.js b/doc/doxygen/html/d0/d18/structARC__Rect.js deleted file mode 100644 index 50ba284..0000000 --- a/doc/doxygen/html/d0/d18/structARC__Rect.js +++ /dev/null @@ -1,7 +0,0 @@ -var structARC__Rect = -[ - [ "h", "d0/d18/structARC__Rect.html#a75f17b793a867572a521906a514a312b", null ], - [ "w", "d0/d18/structARC__Rect.html#a2ed00701687a538b3c7df0a6a47697dd", null ], - [ "x", "d0/d18/structARC__Rect.html#a0c6f8364cb183d5fd271f2f6d9a11128", null ], - [ "y", "d0/d18/structARC__Rect.html#a33859912d1bcd75496e12de4e3a08a3c", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d0/d19/include_2arc_2audio_2audio_8h.html b/doc/doxygen/html/d0/d19/include_2arc_2audio_2audio_8h.html deleted file mode 100644 index e260fb3..0000000 --- a/doc/doxygen/html/d0/d19/include_2arc_2audio_2audio_8h.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/audio/audio.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
audio.h File Reference
-
-
- -

Go to the source code of this file.

- - - - -

-Typedefs

typedef struct ARC_Audio ARC_Audio
 
- - - -

-Functions

void ARC_Audio_Play (ARC_Audio *audio)
 
-

Typedef Documentation

- -

◆ ARC_Audio

- -
-
- - - - -
typedef struct ARC_Audio ARC_Audio
-
- -

Definition at line 8 of file audio.h.

- -
-
-

Function Documentation

- -

◆ ARC_Audio_Play()

- -
-
- - - - - - - -
void ARC_Audio_Play (ARC_Audio * audio)
-
- -

Definition at line 5 of file audio.c.

-
5 {
-
6 Mix_PlayChannel(-1, audio->chunk, 0);
-
7}
-
Mix_Chunk * chunk
Definition audio.h:7
-
-

References ARC_Audio::chunk.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d0/d19/include_2arc_2audio_2audio_8h.js b/doc/doxygen/html/d0/d19/include_2arc_2audio_2audio_8h.js deleted file mode 100644 index b5aa5c8..0000000 --- a/doc/doxygen/html/d0/d19/include_2arc_2audio_2audio_8h.js +++ /dev/null @@ -1,5 +0,0 @@ -var include_2arc_2audio_2audio_8h = -[ - [ "ARC_Audio", "d0/d19/include_2arc_2audio_2audio_8h.html#a3851568fba810fda2172dd0f16a4cdd0", null ], - [ "ARC_Audio_Play", "d0/d19/include_2arc_2audio_2audio_8h.html#a3d6d71d185efb1f873fe324c9b7e75e8", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d0/d19/include_2arc_2audio_2audio_8h_source.html b/doc/doxygen/html/d0/d19/include_2arc_2audio_2audio_8h_source.html deleted file mode 100644 index 94fe5b2..0000000 --- a/doc/doxygen/html/d0/d19/include_2arc_2audio_2audio_8h_source.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/audio/audio.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
audio.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_AUDIO_H_
-
2#define ARC_AUDIO_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8typedef struct ARC_Audio ARC_Audio;
-
9
-
10void ARC_Audio_Play(ARC_Audio *audio);
-
11
-
12#ifdef __cplusplus
-
13}
-
14#endif
-
15
-
16#endif // !ARC_AUDIO_H_
-
void ARC_Audio_Play(ARC_Audio *audio)
Definition audio.c:5
- -
-
- - - - - - diff --git a/doc/doxygen/html/d0/d20/readme_8md.html b/doc/doxygen/html/d0/d20/readme_8md.html deleted file mode 100644 index be38308..0000000 --- a/doc/doxygen/html/d0/d20/readme_8md.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/readme.md File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
/home/herbglitch/programs/archeus/arc/readme.md File Reference
-
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d0/d41/structARC__Spritesheet.html b/doc/doxygen/html/d0/d41/structARC__Spritesheet.html deleted file mode 100644 index a6582e1..0000000 --- a/doc/doxygen/html/d0/d41/structARC__Spritesheet.html +++ /dev/null @@ -1,183 +0,0 @@ - - - - - - - - -Archeus: ARC_Spritesheet Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_Spritesheet Struct Reference
-
-
- -

#include <spritesheet.h>

- - - - - - -

-Data Fields

SDL_Texture * texture
 
uint32_t * size
 
-

Detailed Description

-
-

Definition at line 7 of file spritesheet.h.

-

Field Documentation

- -

◆ size

- -
-
- - - - -
uint32_t* ARC_Spritesheet::size
-
- -

Definition at line 9 of file spritesheet.h.

- -

Referenced by ARC_Sprite_Read(), ARC_Spritesheet_Delete(), and ARC_Spritesheet_GetTileSize().

- -
-
- -

◆ texture

- -
-
- - - - -
SDL_Texture* ARC_Spritesheet::texture
-
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/spritesheet.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d0/d41/structARC__Spritesheet.js b/doc/doxygen/html/d0/d41/structARC__Spritesheet.js deleted file mode 100644 index 7963648..0000000 --- a/doc/doxygen/html/d0/d41/structARC__Spritesheet.js +++ /dev/null @@ -1,5 +0,0 @@ -var structARC__Spritesheet = -[ - [ "size", "d0/d41/structARC__Spritesheet.html#a9d00988a2b1ab5c383f0e217f36f3247", null ], - [ "texture", "d0/d41/structARC__Spritesheet.html#a8f2fc9b94313e13e10b6c30a0295f91f", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d0/d4f/archeus__std_8dir_2src_2files_2config_8c_8o_8d.html b/doc/doxygen/html/d0/d4f/archeus__std_8dir_2src_2files_2config_8c_8o_8d.html deleted file mode 100644 index 06813ef..0000000 --- a/doc/doxygen/html/d0/d4f/archeus__std_8dir_2src_2files_2config_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/files/config.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d0/d4f/archeus__std_8dir_2src_2files_2config_8c_8o_8d_source.html b/doc/doxygen/html/d0/d4f/archeus__std_8dir_2src_2files_2config_8c_8o_8d_source.html deleted file mode 100644 index 1af55ae..0000000 --- a/doc/doxygen/html/d0/d4f/archeus__std_8dir_2src_2files_2config_8c_8o_8d_source.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/files/config.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/files/config.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/files/config.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/files/config.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/std/config.h \
-
6 /home/herbglitch/programs/archeus/arc/include/arc/std/hashtable.h \
-
7 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
8 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
9 /usr/include/features.h /usr/include/features-time64.h \
-
10 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
11 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
12 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
13 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
14 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
15 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
16 /usr/include/bits/stdint-least.h \
-
17 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
21 /home/herbglitch/programs/archeus/arc/include/arc/std/defaults/config.h \
-
22 /home/herbglitch/programs/archeus/arc/include/arc/graphics/renderer.h \
-
23 /home/herbglitch/programs/archeus/arc/include/arc/std/io.h \
-
24 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
25 /usr/include/stdio.h \
-
26 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
27 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
28 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
29 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
30 /usr/include/bits/types/cookie_io_functions_t.h \
-
31 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
32 /usr/include/bits/floatn-common.h \
-
33 /home/herbglitch/programs/archeus/arc/include/arc/std/array.h \
-
34 /usr/include/stdlib.h /usr/include/bits/waitflags.h \
-
35 /usr/include/bits/waitstatus.h /usr/include/sys/types.h \
-
36 /usr/include/bits/types/clock_t.h /usr/include/bits/types/clockid_t.h \
-
37 /usr/include/bits/types/time_t.h /usr/include/bits/types/timer_t.h \
-
38 /usr/include/endian.h /usr/include/bits/endian.h \
-
39 /usr/include/bits/endianness.h /usr/include/bits/byteswap.h \
-
40 /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \
-
41 /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \
-
42 /usr/include/bits/types/__sigset_t.h \
-
43 /usr/include/bits/types/struct_timeval.h \
-
44 /usr/include/bits/types/struct_timespec.h \
-
45 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
46 /usr/include/bits/pthreadtypes-arch.h \
-
47 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
48 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
49 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d0/d53/parserlang_8c.html b/doc/doxygen/html/d0/d53/parserlang_8c.html deleted file mode 100644 index 6e6591e..0000000 --- a/doc/doxygen/html/d0/d53/parserlang_8c.html +++ /dev/null @@ -1,970 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/parser/parserlang.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
- -
parserlang.c File Reference
-
-
-
#include "arc/std/parser/parserlang.h"
-#include "arc/std/bool.h"
-#include "arc/std/errno.h"
-#include "arc/std/lexer.h"
-#include "arc/std/parser.h"
-#include "arc/std/string.h"
-#include "arc/std/vector.h"
-#include <stddef.h>
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_ParserLang_InitLexerRulesFn (ARC_Lexer *lexer)
 
void ARC_ParserLang_VectorDestroyVectorFn (void *data)
 
void ARC_ParserLang_VectorDestroyUInt32Fn (void *data)
 
void ARC_ParserLang_VectorDestroyParserTagFn (void *data)
 
void ARC_ParserLangParsedData_RecurseStringAdd (ARC_String **data, ARC_ParserTagToken *tagToken)
 
void ARC_ParserLangParsedData_CreateTagString (ARC_String **tagString, ARC_ParserTagToken *tagToken)
 
void ARC_ParserLangParsedData_GetArgumentTag (ARC_Vector *orTokensOrTags, ARC_ParserTagToken *tagToken, ARC_Parser_GetStringIdFn *getStringIdFn)
 
void ARC_ParserLangParsedData_GetArgumentsTag (ARC_Vector *tokensOrTags, ARC_ParserTagToken *tagToken, ARC_Parser_GetStringIdFn *getStringIdFn)
 
void ARC_ParserLangParsedData_CreateBodyTag (ARC_ParserTag **tag, ARC_ParserTagToken *tagToken, ARC_Parser_GetStringIdFn *getStringIdFn)
 
void ARC_ParserLangParsedData_RunLineTag (ARC_Vector *tags, ARC_ParserTagToken *tagToken, ARC_Parser_GetStringIdFn *getStringIdFn)
 
void ARC_ParserLang_CreateDataFn (void **data, ARC_ParserTagToken *parsedData, void *userData)
 
void ARC_ParserLang_DestroyDataFn (void *data, ARC_Bool clear, void *userData)
 
void ARC_ParserLang_CreateAsParser (ARC_Parser **parser, ARC_Parser_GetStringIdFn getStringIdFn)
 creates a parser for the Parser Lang
 
-

Function Documentation

- -

◆ ARC_ParserLang_CreateAsParser()

- -
-
- - - - - - - - - - - -
void ARC_ParserLang_CreateAsParser (ARC_Parser ** parser,
ARC_Parser_GetStringIdFn getStringIdFn )
-
- -

creates a parser for the Parser Lang

-
Note
the rules will be inited for the parser lang
-
-the parsed data will be saved as a vector of ARC_ParserLanguageTag
-
Parameters
- - -
[out]parserthe parser to create
-
-
- -

Definition at line 324 of file parserlang.c.

-
324 {
-
325 //<line> -> <body> NEWLINE <line> | <body> | NEWLINE <line> | LAMBDA
-
326 uint32_t *line[] = { (uint32_t[]){ 3, ARC_PARSERLANG_BODY, ARC_PARSERLANG_TOKEN_NEWLINE_ID, ARC_PARSERLANG_LINE }, (uint32_t[]){ 1, ARC_PARSERLANG_BODY }, (uint32_t[]){ 2, ARC_PARSERLANG_TOKEN_NEWLINE_ID, ARC_PARSERLANG_LINE }, (uint32_t[]){ 1, ARC_PARSERLANG_LAMBDA } };
-
327
-
328 //<body> -> <tag> <whitespace> ARROW <whitespace> <arguments>
- -
330
-
331 //<arguments> -> <argument> <whitespace> OR <whitespace> <arguments> | <argument>
- -
333
-
334 //<argument> -> <tagOrConstant> <whitespace> <argument> | <tagOrConstant>
-
335 uint32_t *argument[] = { (uint32_t[]){ 3, ARC_PARSERLANG_TAG_OR_CONSTANT, ARC_PARSERLANG_WHITESPACE, ARC_PARSERLANG_ARGUMENT }, (uint32_t[]){ 1, ARC_PARSERLANG_TAG_OR_CONSTANT } };
-
336
-
337 //<tagOrConstant> -> <parserLangageTag> | <constant>
-
338 uint32_t *tagOrConstant[] = { (uint32_t[]){ 1, ARC_PARSERLANG_TAG }, (uint32_t[]){ 1, ARC_PARSERLANG_CONSTANT } };
-
339
-
340 //<constant> -> ALPHA_UPPER_CHAR <constantBody>
-
341 uint32_t *constant[] = { (uint32_t[]){ 2, ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR, ARC_PARSERLANG_CONSTANT_BODY } };
-
342
-
343 //<constantBody> -> <constantChar> <constantBody> | LAMBDA
-
344 uint32_t *constantBody[] = { (uint32_t[]){ 2, ARC_PARSERLANG_CONSTANT_CHAR, ARC_PARSERLANG_CONSTANT_BODY }, (uint32_t[]){ 1, ARC_PARSERLANG_LAMBDA } };
-
345
-
346 //<constantChar> -> ALPHA_UPPER_CHAR | UNDERSCORE
-
347 uint32_t *constantChar[] = { (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR }, (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_UNDERSCORE_ID } };
-
348
-
349 //<tag> -> LESS_THAN <variable> GREATER_THAN
- -
351
-
352 //<variable> -> <alphaChar> <variableBody> | UNDERSCORE <variableBody>
-
353 uint32_t *variable[] = { (uint32_t[]){ 2, ARC_PARSERLANG_ALPHA_CHAR, ARC_PARSERLANG_VARIABLE_BODY }, (uint32_t[]){ 2, ARC_PARSERLANG_TOKEN_UNDERSCORE_ID, ARC_PARSERLANG_VARIABLE_BODY } };
-
354
-
355 //<variableBody> -> <variableChar> <variableBody> | LAMBDA
-
356 uint32_t *variableBody[] = { (uint32_t[]){ 2, ARC_PARSERLANG_VARIABLE_CHAR, ARC_PARSERLANG_VARIABLE_BODY }, (uint32_t[]){ 1, ARC_PARSERLANG_LAMBDA } };
-
357
-
358 //<variableChar> -> <alphaChar> | NUMBER | UNDERSCORE
-
359 uint32_t *variableChar[] = { (uint32_t[]){ 1, ARC_PARSERLANG_ALPHA_CHAR }, (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_NUMBER }, (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_UNDERSCORE_ID } };
-
360
-
361 //<alphaChar> -> ALPHA_LOWER_CHAR | ALPHA_UPPER_CHAR
-
362 uint32_t *alphaChar[] = { (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_ALPHA_LOWER_CHAR }, (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR }};
-
363
-
364 //<whitespace> -> WHITESPACE <whitespace> | WHITESPACE
-
365 uint32_t *whitespace[] = { (uint32_t[]){ 2, ARC_PARSERLANG_TOKEN_WHITESPACE, ARC_PARSERLANG_WHITESPACE }, (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_WHITESPACE }};
-
366
-
367 ARC_ParserTag parserLangTags[14] = {
-
368 { ARC_PARSERLANG_LINE , line , 4 },
-
369 { ARC_PARSERLANG_BODY , body , 1 },
-
370 { ARC_PARSERLANG_ARGUMENTS , arguments , 2 },
-
371 { ARC_PARSERLANG_ARGUMENT , argument , 2 },
-
372 { ARC_PARSERLANG_TAG_OR_CONSTANT, tagOrConstant, 2 },
-
373 { ARC_PARSERLANG_CONSTANT , constant , 1 },
-
374 { ARC_PARSERLANG_CONSTANT_BODY , constantBody , 2 },
-
375 { ARC_PARSERLANG_CONSTANT_CHAR , constantChar , 2 },
-
376 { ARC_PARSERLANG_TAG , tag , 1 },
-
377 { ARC_PARSERLANG_VARIABLE , variable , 2 },
-
378 { ARC_PARSERLANG_VARIABLE_BODY , variableBody , 2 },
-
379 { ARC_PARSERLANG_VARIABLE_CHAR , variableChar , 3 },
-
380 { ARC_PARSERLANG_ALPHA_CHAR , alphaChar , 2 },
-
381 { ARC_PARSERLANG_WHITESPACE , whitespace , 2 }
-
382 };
-
383
-
384 ARC_Array parserLanguageArray = {
-
385 14, //size
-
386 parserLangTags //data
-
387 };
-
388
- - -
391
-
392 //this will be cleaned up by the destroyDataFn
- -
394 *newGetStringIdFn = getStringIdFn;
-
395
-
396 //create the parserlang
-
397 ARC_Parser_Create(parser, &parserLanguageArray, ARC_ParserLang_InitLexerRulesFn, &createDataFn, &destroyDataFn, (void *)newGetStringIdFn);
-
398}
-
void ARC_Parser_Create(ARC_Parser **parser, ARC_Array *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
creates an ARC_Parser type
Definition parser.c:24
-
uint32_t(* ARC_Parser_GetStringIdFn)(ARC_String *string)
TODO: write this.
Definition parser.h:52
-
void(* ARC_ParserData_CreateFn)(void **data, ARC_ParserTagToken *parsedData, void *userData)
TODO: write this.
Definition parser.h:57
-
void(* ARC_ParserData_DestroyFn)(void *data, ARC_Bool clear, void *userData)
TODO: write this.
Definition parser.h:62
-
void ARC_ParserLang_CreateDataFn(void **data, ARC_ParserTagToken *parsedData, void *userData)
Definition parserlang.c:286
-
void ARC_ParserLang_DestroyDataFn(void *data, ARC_Bool clear, void *userData)
Definition parserlang.c:312
-
void ARC_ParserLang_InitLexerRulesFn(ARC_Lexer *lexer)
Definition parserlang.c:12
-
#define ARC_PARSERLANG_CONSTANT_CHAR
Definition parserlang.h:69
-
#define ARC_PARSERLANG_TAG
Definition parserlang.h:70
-
#define ARC_PARSERLANG_ALPHA_CHAR
Definition parserlang.h:74
-
#define ARC_PARSERLANG_TOKEN_NEWLINE_ID
Definition parserlang.h:47
-
#define ARC_PARSERLANG_BODY
Definition parserlang.h:63
-
#define ARC_PARSERLANG_WHITESPACE
Definition parserlang.h:75
-
#define ARC_PARSERLANG_CONSTANT
Definition parserlang.h:67
-
#define ARC_PARSERLANG_TOKEN_NUMBER
Definition parserlang.h:42
-
#define ARC_PARSERLANG_TAG_OR_CONSTANT
Definition parserlang.h:66
-
#define ARC_PARSERLANG_TOKEN_ARROW_ID
Definition parserlang.h:58
-
#define ARC_PARSERLANG_TOKEN_LESS_THAN_ID
Definition parserlang.h:49
-
#define ARC_PARSERLANG_TOKEN_GREATER_THAN_ID
Definition parserlang.h:51
-
#define ARC_PARSERLANG_TOKEN_OR_ID
Definition parserlang.h:53
-
#define ARC_PARSERLANG_TOKEN_WHITESPACE
Definition parserlang.h:45
-
#define ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR
Definition parserlang.h:44
-
#define ARC_PARSERLANG_LINE
Definition parserlang.h:62
-
#define ARC_PARSERLANG_VARIABLE_BODY
Definition parserlang.h:72
-
#define ARC_PARSERLANG_VARIABLE_CHAR
Definition parserlang.h:73
-
#define ARC_PARSERLANG_CONSTANT_BODY
Definition parserlang.h:68
-
#define ARC_PARSERLANG_TOKEN_ALPHA_LOWER_CHAR
Definition parserlang.h:43
-
#define ARC_PARSERLANG_ARGUMENT
Definition parserlang.h:65
-
#define ARC_PARSERLANG_TOKEN_UNDERSCORE_ID
Definition parserlang.h:55
-
#define ARC_PARSERLANG_ARGUMENTS
Definition parserlang.h:64
-
#define ARC_PARSERLANG_VARIABLE
Definition parserlang.h:71
-
#define ARC_PARSERLANG_LAMBDA
Definition parserlang.h:61
-
a type that holds an array of data and its size
Definition array.h:13
-
a langue tag type for the parser //TODO: explain this better
Definition parser.h:21
-
-

References ARC_Parser_Create(), ARC_PARSERLANG_ALPHA_CHAR, ARC_PARSERLANG_ARGUMENT, ARC_PARSERLANG_ARGUMENTS, ARC_PARSERLANG_BODY, ARC_PARSERLANG_CONSTANT, ARC_PARSERLANG_CONSTANT_BODY, ARC_PARSERLANG_CONSTANT_CHAR, ARC_ParserLang_CreateDataFn(), ARC_ParserLang_DestroyDataFn(), ARC_ParserLang_InitLexerRulesFn(), ARC_PARSERLANG_LAMBDA, ARC_PARSERLANG_LINE, ARC_PARSERLANG_TAG, ARC_PARSERLANG_TAG_OR_CONSTANT, ARC_PARSERLANG_TOKEN_ALPHA_LOWER_CHAR, ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR, ARC_PARSERLANG_TOKEN_ARROW_ID, ARC_PARSERLANG_TOKEN_GREATER_THAN_ID, ARC_PARSERLANG_TOKEN_LESS_THAN_ID, ARC_PARSERLANG_TOKEN_NEWLINE_ID, ARC_PARSERLANG_TOKEN_NUMBER, ARC_PARSERLANG_TOKEN_OR_ID, ARC_PARSERLANG_TOKEN_UNDERSCORE_ID, ARC_PARSERLANG_TOKEN_WHITESPACE, ARC_PARSERLANG_VARIABLE, ARC_PARSERLANG_VARIABLE_BODY, ARC_PARSERLANG_VARIABLE_CHAR, and ARC_PARSERLANG_WHITESPACE.

- -

Referenced by ARC_Parser_CreateFromString().

- -
-
- -

◆ ARC_ParserLang_CreateDataFn()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ParserLang_CreateDataFn (void ** data,
ARC_ParserTagToken * parsedData,
void * userData )
-
- -

Definition at line 286 of file parserlang.c.

-
286 {
-
287 ARC_Parser_GetStringIdFn *getStringIdFn = (ARC_Parser_GetStringIdFn *)userData;
-
288
-
289 //make sure there is parsed data to use
-
290 if(parsedData == NULL){
- -
292 ARC_DEBUG_LOG_ERROR("ARC_ParserLang_CreateDataFn(void **data, ARC_ParserTagToken *parsedData, void *userData), parsedData was NULL when passed in");
-
293 return;
-
294 }
-
295
-
296 //function callback to cleanup added tags
- -
298
-
299 //I don't see a reason to have a comparison function right now. this might change in the future
-
300 ARC_Vector_Create((ARC_Vector **)data, NULL, &destroyParserTagFn);
-
301
-
302 //check if there are any tags (thes could be empty if a file is blank)
-
303 if(parsedData->tagTokens == NULL){
-
304 return;
-
305 }
-
306
-
307 //load the language into a vector recursivly
-
308 ARC_ParserLangParsedData_RunLineTag(*((ARC_Vector **)data), parsedData, getStringIdFn);
-
309}
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
void ARC_ParserLang_VectorDestroyParserTagFn(void *data)
Definition parserlang.c:53
-
void ARC_ParserLangParsedData_RunLineTag(ARC_Vector *tags, ARC_ParserTagToken *tagToken, ARC_Parser_GetStringIdFn *getStringIdFn)
Definition parserlang.c:259
-
ARC_Vector * tagTokens
Definition parser.h:39
- -
void(* ARC_Vector_DestroyDataFn)(void *data)
a callback that cleans up memory when it is removed from the vector
Definition vector.h:31
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:28
-
-

References ARC_DEBUG_LOG_ERROR, arc_errno, ARC_ERRNO_NULL, ARC_ParserLang_VectorDestroyParserTagFn(), ARC_ParserLangParsedData_RunLineTag(), ARC_Vector_Create(), and ARC_ParserTagToken::tagTokens.

- -

Referenced by ARC_ParserLang_CreateAsParser().

- -
-
- -

◆ ARC_ParserLang_DestroyDataFn()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ParserLang_DestroyDataFn (void * data,
ARC_Bool clear,
void * userData )
-
- -

Definition at line 312 of file parserlang.c.

-
312 {
-
313 if(userData != NULL){
-
314 ARC_Parser_GetStringIdFn *getStringIdFn = (ARC_Parser_GetStringIdFn *)userData;
-
315 free(getStringIdFn);
-
316 }
-
317
-
318 //if not clearing (full destroy) check if there is data to free
-
319 if(clear == ARC_False && (ARC_Vector *)data != NULL){
- -
321 }
-
322}
-
#define ARC_False
Definition bool.h:12
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:51
-
-

References ARC_False, and ARC_Vector_Destroy().

- -

Referenced by ARC_ParserLang_CreateAsParser().

- -
-
- -

◆ ARC_ParserLang_InitLexerRulesFn()

- -
-
- - - - - - - -
void ARC_ParserLang_InitLexerRulesFn (ARC_Lexer * lexer)
-
- -

Definition at line 12 of file parserlang.c.

-
12 {
-
13 //null
- -
15
-
16 //number
- -
18
-
19 //alpha char
- - -
22
-
23 //whitespace
-
24 ARC_String *whitespaceString;
-
25 ARC_String_CreateWithStrlen(&whitespaceString, " \t");
- -
27 ARC_String_Destroy(whitespaceString);
-
28
-
29 //single char tokens
- - - - - -
35
-
36 //arrow
-
37 ARC_String *arrowString;
- - -
40 ARC_String_Destroy(arrowString);
-
41}
-
#define ARC_LEXER_TOKEN_WHITESPACE
Definition lexer.h:252
-
void ARC_Lexer_RegisterTokenRule(ARC_Lexer *lexer, ARC_LexerTokenRule tokenRule)
adds a token rule to a lexer
Definition lexer.c:79
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchStringRule(uint32_t id, ARC_String *string)
creates a ARC_LexerTokenRule with a given id and string
Definition lexer.c:428
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharRule(uint32_t id, char character)
creates a ARC_LexerTokenRule with a given id and character
Definition lexer.c:378
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween(uint32_t id, char start, char end)
creates a ARC_LexerTokenRule with a given id and character range
Definition lexer.c:400
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule(uint32_t id, ARC_String *string)
creates a ARC_LexerTokenRule with a given id and string
Definition lexer.c:450
-
#define ARC_PARSERLANG_TOKEN_OR_CHAR
Definition parserlang.h:54
-
#define ARC_PARSERLANG_TOKEN_UNDERSCORE_CHAR
Definition parserlang.h:56
-
#define ARC_PARSERLANG_TOKEN_GREATER_THAN_CHAR
Definition parserlang.h:52
-
#define ARC_PARSERLANG_TOKEN_NEWLINE_CHAR
Definition parserlang.h:48
-
#define ARC_PARSERLANG_TOKEN_NULL
Definition parserlang.h:41
-
#define ARC_PARSERLANG_TOKEN_ARROW_CSTRING
Definition parserlang.h:59
-
#define ARC_PARSERLANG_TOKEN_LESS_THAN_CHAR
Definition parserlang.h:50
-
void ARC_String_CreateWithStrlen(ARC_String **string, char *data)
creates ARC_String type with strinlen
Definition string.c:32
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
substring position within a string
Definition string.h:14
-
-

References ARC_Lexer_RegisterTokenRule(), ARC_LEXER_TOKEN_WHITESPACE, ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule(), ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween(), ARC_LexerTokenRule_CreateAndReturnMatchCharRule(), ARC_LexerTokenRule_CreateAndReturnMatchStringRule(), ARC_PARSERLANG_TOKEN_ALPHA_LOWER_CHAR, ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR, ARC_PARSERLANG_TOKEN_ARROW_CSTRING, ARC_PARSERLANG_TOKEN_ARROW_ID, ARC_PARSERLANG_TOKEN_GREATER_THAN_CHAR, ARC_PARSERLANG_TOKEN_GREATER_THAN_ID, ARC_PARSERLANG_TOKEN_LESS_THAN_CHAR, ARC_PARSERLANG_TOKEN_LESS_THAN_ID, ARC_PARSERLANG_TOKEN_NEWLINE_CHAR, ARC_PARSERLANG_TOKEN_NEWLINE_ID, ARC_PARSERLANG_TOKEN_NULL, ARC_PARSERLANG_TOKEN_NUMBER, ARC_PARSERLANG_TOKEN_OR_CHAR, ARC_PARSERLANG_TOKEN_OR_ID, ARC_PARSERLANG_TOKEN_UNDERSCORE_CHAR, ARC_PARSERLANG_TOKEN_UNDERSCORE_ID, ARC_String_CreateWithStrlen(), and ARC_String_Destroy().

- -

Referenced by ARC_ParserLang_CreateAsParser().

- -
-
- -

◆ ARC_ParserLang_VectorDestroyParserTagFn()

- -
-
- - - - - - - -
void ARC_ParserLang_VectorDestroyParserTagFn (void * data)
-
- -

Definition at line 53 of file parserlang.c.

-
53 {
-
54 ARC_ParserTag *currentTag = (ARC_ParserTag *)data;
-
55
-
56 //free the orIndex vlues
-
57 for(uint32_t orIndex = 0; orIndex < currentTag->tokensOrTagsSize; orIndex++){
-
58 free(currentTag->tokensOrTags[orIndex]);
-
59 }
-
60
-
61 //free the tokens or tags
-
62 free(currentTag->tokensOrTags);
-
63
-
64 //free the tag itself
-
65 free(currentTag);
-
66}
-
uint32_t tokensOrTagsSize
Definition parser.h:25
-
uint32_t ** tokensOrTags
Definition parser.h:24
-
-

References ARC_ParserTag::tokensOrTags, and ARC_ParserTag::tokensOrTagsSize.

- -

Referenced by ARC_ParserLang_CreateDataFn().

- -
-
- -

◆ ARC_ParserLang_VectorDestroyUInt32Fn()

- -
-
- - - - - - - -
void ARC_ParserLang_VectorDestroyUInt32Fn (void * data)
-
- -

Definition at line 48 of file parserlang.c.

-
48 {
-
49 uint32_t *uint = (uint32_t *)data;
-
50 free(uint);
-
51}
-
-

Referenced by ARC_ParserLangParsedData_CreateBodyTag(), and ARC_ParserLangParsedData_GetArgumentsTag().

- -
-
- -

◆ ARC_ParserLang_VectorDestroyVectorFn()

- -
-
- - - - - - - -
void ARC_ParserLang_VectorDestroyVectorFn (void * data)
-
- -

Definition at line 43 of file parserlang.c.

-
43 {
-
44 ARC_Vector *vector = (ARC_Vector *)data;
-
45 ARC_Vector_Destroy(vector);
-
46}
-
-

References ARC_Vector_Destroy().

- -

Referenced by ARC_ParserLangParsedData_CreateBodyTag().

- -
-
- -

◆ ARC_ParserLangParsedData_CreateBodyTag()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ParserLangParsedData_CreateBodyTag (ARC_ParserTag ** tag,
ARC_ParserTagToken * tagToken,
ARC_Parser_GetStringIdFn * getStringIdFn )
-
- -

Definition at line 196 of file parserlang.c.

-
196 {
-
197 //create the tag to store the body in
-
198 ARC_ParserTag *bodyTag = (ARC_ParserTag *)malloc(sizeof(ARC_ParserTag));
-
199
-
200 /* ~ Tag Id ~ */
-
201 //the first tag will always be the tagId, and as the rule is validated there is no need to check for NULL
-
202 ARC_ParserTagToken *tagIdToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, 0);
-
203
-
204 //get the tagId as a string
-
205 ARC_String *tagIdString;
-
206 ARC_ParserLangParsedData_CreateTagString(&tagIdString, tagIdToken);
-
207
-
208 //get the tag id as a uint32_t
-
209 bodyTag->tagId = (*getStringIdFn)(tagIdString);
-
210
-
211 //cleanup the tagIdString
-
212 ARC_String_Destroy(tagIdString);
-
213
-
214 /* ~ Tokens Or Tags Array ~ */
-
215 //create a vector to store another vector of data
-
216 ARC_Vector *tokensOrTags;
- -
218 ARC_Vector_Create(&tokensOrTags, NULL, &destroyVectorFn);
-
219
-
220 //create vector within the tokens or tags vector to store the or rule in
-
221 ARC_Vector *orTokensOrTags;
- -
223 ARC_Vector_Create(&orTokensOrTags, NULL, &destroyUint32Fn);
-
224
-
225 //add the first or vector to the tokensOrTags
-
226 ARC_Vector_Add(tokensOrTags, (void *)orTokensOrTags);
-
227
-
228 //skipping whitespace and arrow tokens, the arguments index starts at 4
-
229 ARC_ParserTagToken *argumentsToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, 4);
-
230 ARC_ParserLangParsedData_GetArgumentsTag(tokensOrTags, argumentsToken, getStringIdFn);
-
231
-
232 //initialize the tokens or tags array to the needed size
-
233 bodyTag->tokensOrTagsSize = ARC_Vector_GetSize(tokensOrTags);
-
234 bodyTag->tokensOrTags = (uint32_t **)malloc(sizeof(uint32_t *) * bodyTag->tokensOrTagsSize);
-
235
-
236 //copy each or section into the tokensOrTags
-
237 for(uint32_t orIndex = 0; orIndex < bodyTag->tokensOrTagsSize; orIndex++){
-
238 //get the current or vector and its tags
-
239 orTokensOrTags = (ARC_Vector *)ARC_Vector_Get(tokensOrTags, orIndex);
-
240 uint32_t orTokensOrTagsSize = ARC_Vector_GetSize(orTokensOrTags);
-
241
-
242 //create the or array with one extra space and store the size in that space
-
243 bodyTag->tokensOrTags[orIndex] = (uint32_t *)malloc(sizeof(uint32_t) * (orTokensOrTagsSize + 1));
-
244 bodyTag->tokensOrTags[orIndex][0] = orTokensOrTagsSize;
-
245
-
246 //copy the or data to the tokensOrTags
-
247 for(uint32_t tokenOrTagIndex = 0; tokenOrTagIndex < orTokensOrTagsSize; tokenOrTagIndex++){
-
248 bodyTag->tokensOrTags[orIndex][tokenOrTagIndex + 1] = *(uint32_t *)ARC_Vector_Get(orTokensOrTags, tokenOrTagIndex);
-
249 }
-
250 }
-
251
-
252 //set the tag to the bodyTag
-
253 *tag = bodyTag;
-
254
-
255 //cleanup
-
256 ARC_Vector_Destroy(tokensOrTags);
-
257}
-
void ARC_ParserLangParsedData_CreateTagString(ARC_String **tagString, ARC_ParserTagToken *tagToken)
Definition parserlang.c:104
-
void ARC_ParserLang_VectorDestroyVectorFn(void *data)
Definition parserlang.c:43
-
void ARC_ParserLangParsedData_GetArgumentsTag(ARC_Vector *tokensOrTags, ARC_ParserTagToken *tagToken, ARC_Parser_GetStringIdFn *getStringIdFn)
Definition parserlang.c:157
-
void ARC_ParserLang_VectorDestroyUInt32Fn(void *data)
Definition parserlang.c:48
-
a parser type used inside of the parser data create function
Definition parser.h:35
-
uint32_t tagId
Definition parser.h:22
-
uint32_t ARC_Vector_GetSize(ARC_Vector *vector)
gets the current size of an ARC_Vector as an unsigned 32 bit integer
Definition vector.c:146
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:150
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:67
-
-

References ARC_ParserLang_VectorDestroyUInt32Fn(), ARC_ParserLang_VectorDestroyVectorFn(), ARC_ParserLangParsedData_CreateTagString(), ARC_ParserLangParsedData_GetArgumentsTag(), ARC_String_Destroy(), ARC_Vector_Add(), ARC_Vector_Create(), ARC_Vector_Destroy(), ARC_Vector_Get(), ARC_Vector_GetSize(), ARC_ParserTag::tagId, ARC_ParserTagToken::tagTokens, ARC_ParserTag::tokensOrTags, and ARC_ParserTag::tokensOrTagsSize.

- -

Referenced by ARC_ParserLangParsedData_RunLineTag().

- -
-
- -

◆ ARC_ParserLangParsedData_CreateTagString()

- -
-
- - - - - - - - - - - -
void ARC_ParserLangParsedData_CreateTagString (ARC_String ** tagString,
ARC_ParserTagToken * tagToken )
-
- -

Definition at line 104 of file parserlang.c.

-
104 {
-
105 ARC_String_Create(tagString, NULL, 0);
-
106
-
107 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
-
108 ARC_ParserTagToken *childTagToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, index);
-
109
-
110 ARC_ParserLangParsedData_RecurseStringAdd(tagString, childTagToken);
-
111 }
-
112}
-
void ARC_ParserLangParsedData_RecurseStringAdd(ARC_String **data, ARC_ParserTagToken *tagToken)
Definition parserlang.c:68
-
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
-
-

References ARC_ParserLangParsedData_RecurseStringAdd(), ARC_String_Create(), ARC_Vector_Get(), ARC_Vector_GetSize(), and ARC_ParserTagToken::tagTokens.

- -

Referenced by ARC_ParserLangParsedData_CreateBodyTag().

- -
-
- -

◆ ARC_ParserLangParsedData_GetArgumentsTag()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ParserLangParsedData_GetArgumentsTag (ARC_Vector * tokensOrTags,
ARC_ParserTagToken * tagToken,
ARC_Parser_GetStringIdFn * getStringIdFn )
-
- -

Definition at line 157 of file parserlang.c.

-
157 {
-
158 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
-
159 ARC_ParserTagToken *childTagToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, index);
-
160
-
161 //switch variables
-
162 uint32_t tokensOrTagsIndex = 0;
-
163 ARC_Vector *orTokensOrTags = NULL;
-
164
- -
166
-
167 switch(childTagToken->id){
- -
169 //get the last vector within tokens or tags to add the tag/constant to
-
170 tokensOrTagsIndex = ARC_Vector_GetSize(tokensOrTags);
-
171 orTokensOrTags = (ARC_Vector *)ARC_Vector_Get(tokensOrTags, tokensOrTagsIndex - 1);
-
172
-
173 ARC_ParserLangParsedData_GetArgumentTag(orTokensOrTags, childTagToken, getStringIdFn);
-
174 continue;
-
175
- -
177 //add a new vector to tagsOrTokens for the or statment
-
178 ARC_Vector_Create(&orTokensOrTags, NULL, &destroyUint32Fn);
-
179
-
180 //add the first or vector to the tokensOrTags
-
181 ARC_Vector_Add(tokensOrTags, (void *)orTokensOrTags);
-
182 continue;
-
183
- -
185 //recurse to check all the arguments
-
186 ARC_ParserLangParsedData_GetArgumentsTag(tokensOrTags, childTagToken, getStringIdFn);
-
187 continue;
-
188
-
189 default:
-
190 //this should only be whitespace
-
191 continue;
-
192 }
-
193 }
-
194}
-
void ARC_ParserLangParsedData_GetArgumentTag(ARC_Vector *orTokensOrTags, ARC_ParserTagToken *tagToken, ARC_Parser_GetStringIdFn *getStringIdFn)
Definition parserlang.c:117
-
uint32_t id
Definition parser.h:36
-
-

References ARC_PARSERLANG_ARGUMENT, ARC_PARSERLANG_ARGUMENTS, ARC_PARSERLANG_TOKEN_OR_ID, ARC_ParserLang_VectorDestroyUInt32Fn(), ARC_ParserLangParsedData_GetArgumentsTag(), ARC_ParserLangParsedData_GetArgumentTag(), ARC_Vector_Add(), ARC_Vector_Create(), ARC_Vector_Get(), ARC_Vector_GetSize(), ARC_ParserTagToken::id, and ARC_ParserTagToken::tagTokens.

- -

Referenced by ARC_ParserLangParsedData_CreateBodyTag(), and ARC_ParserLangParsedData_GetArgumentsTag().

- -
-
- -

◆ ARC_ParserLangParsedData_GetArgumentTag()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ParserLangParsedData_GetArgumentTag (ARC_Vector * orTokensOrTags,
ARC_ParserTagToken * tagToken,
ARC_Parser_GetStringIdFn * getStringIdFn )
-
- -

Definition at line 117 of file parserlang.c.

-
117 {
-
118 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
-
119 ARC_ParserTagToken *childTagToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, index);
-
120
-
121 //switch variables
-
122 ARC_String *tagOrConstantString = NULL;
-
123 uint32_t *id = NULL;
-
124
-
125 switch(childTagToken->id){
- -
127 //recurse to check all the arguments
-
128 ARC_ParserLangParsedData_GetArgumentTag(orTokensOrTags, childTagToken, getStringIdFn);
-
129 continue;
-
130
- -
132 //initialize the string to use
-
133 ARC_String_Create(&tagOrConstantString, NULL, 0);
-
134
-
135 //get the id of the tag/constant
-
136 ARC_ParserLangParsedData_RecurseStringAdd(&tagOrConstantString, childTagToken);
-
137 id = (uint32_t *)malloc(sizeof(uint32_t));
-
138 *id = (*getStringIdFn)(tagOrConstantString);
-
139
-
140 //add the id to the matching or vector
-
141 ARC_Vector_Add(orTokensOrTags, (void *)id);
-
142
-
143 //cleanup
-
144 ARC_String_Destroy(tagOrConstantString);
-
145 continue;
-
146
-
147 default:
-
148 //this should only be whitespace
-
149 continue;
-
150 }
-
151 }
-
152}
-
-

References ARC_PARSERLANG_ARGUMENT, ARC_PARSERLANG_TAG_OR_CONSTANT, ARC_ParserLangParsedData_GetArgumentTag(), ARC_ParserLangParsedData_RecurseStringAdd(), ARC_String_Create(), ARC_String_Destroy(), ARC_Vector_Add(), ARC_Vector_Get(), ARC_Vector_GetSize(), ARC_ParserTagToken::id, and ARC_ParserTagToken::tagTokens.

- -

Referenced by ARC_ParserLangParsedData_GetArgumentsTag(), and ARC_ParserLangParsedData_GetArgumentTag().

- -
-
- -

◆ ARC_ParserLangParsedData_RecurseStringAdd()

- -
-
- - - - - - - - - - - -
void ARC_ParserLangParsedData_RecurseStringAdd (ARC_String ** data,
ARC_ParserTagToken * tagToken )
-
- -

Definition at line 68 of file parserlang.c.

-
68 {
-
69 if(tagToken->token != NULL){
-
70 //less than rule does not have a string so add it manually and return
- - -
73 ARC_String_AppendCString(data, &tokenChar, 1);
-
74 return;
-
75 }
-
76
-
77 //greater than rule does not have a string so add it manually and return
- - -
80 ARC_String_AppendCString(data, &tokenChar, 1);
-
81 return;
-
82 }
-
83
- - -
86 ARC_String_AppendCString(data, &tokenChar, 1);
-
87 return;
-
88 }
-
89
-
90 ARC_String_Append(data, tagToken->token->data);
-
91 return;
-
92 }
-
93
-
94 //TODO: probs don't need this
-
95 if(tagToken->tagTokens == NULL){
-
96 return;
-
97 }
-
98
-
99 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
- -
101 }
-
102}
-
void ARC_String_AppendCString(ARC_String **string, const char *cstring, uint64_t length)
appends to an ARC_String with an ARC_String
Definition string.c:130
-
void ARC_String_Append(ARC_String **string, ARC_String *append)
appends to an ARC_String with an ARC_String
Definition string.c:126
-
uint32_t rule
Definition lexer.h:19
-
ARC_String * data
Definition lexer.h:20
-
ARC_LexerToken * token
Definition parser.h:38
-
-

References ARC_PARSERLANG_TOKEN_GREATER_THAN_CHAR, ARC_PARSERLANG_TOKEN_GREATER_THAN_ID, ARC_PARSERLANG_TOKEN_LESS_THAN_CHAR, ARC_PARSERLANG_TOKEN_LESS_THAN_ID, ARC_PARSERLANG_TOKEN_UNDERSCORE_CHAR, ARC_PARSERLANG_TOKEN_UNDERSCORE_ID, ARC_ParserLangParsedData_RecurseStringAdd(), ARC_String_Append(), ARC_String_AppendCString(), ARC_Vector_Get(), ARC_Vector_GetSize(), ARC_LexerToken::data, ARC_LexerToken::rule, ARC_ParserTagToken::tagTokens, and ARC_ParserTagToken::token.

- -

Referenced by ARC_ParserLangParsedData_CreateTagString(), ARC_ParserLangParsedData_GetArgumentTag(), and ARC_ParserLangParsedData_RecurseStringAdd().

- -
-
- -

◆ ARC_ParserLangParsedData_RunLineTag()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ParserLangParsedData_RunLineTag (ARC_Vector * tags,
ARC_ParserTagToken * tagToken,
ARC_Parser_GetStringIdFn * getStringIdFn )
-
- -

Definition at line 259 of file parserlang.c.

-
259 {
-
260 //loop through the tags either going to the next line or the next body
-
261 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
-
262 ARC_ParserTagToken *childTagToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, index);
-
263
-
264 //for some reason can't create this in the switch, so placed here
-
265 ARC_ParserTag *tag;
-
266
-
267 switch(childTagToken->id){
-
268 //recuse to run the next line
- -
270 ARC_ParserLangParsedData_RunLineTag(tags, childTagToken, getStringIdFn);
-
271 continue;
-
272
-
273 //get a tag
- -
275 ARC_ParserLangParsedData_CreateBodyTag(&tag, childTagToken, getStringIdFn);
-
276 ARC_Vector_Add(tags, (void *)tag);
-
277 continue;
-
278
-
279 default:
-
280 continue;
-
281 }
-
282 }
-
283}
-
void ARC_ParserLangParsedData_CreateBodyTag(ARC_ParserTag **tag, ARC_ParserTagToken *tagToken, ARC_Parser_GetStringIdFn *getStringIdFn)
Definition parserlang.c:196
-
-

References ARC_PARSERLANG_BODY, ARC_PARSERLANG_LINE, ARC_ParserLangParsedData_CreateBodyTag(), ARC_ParserLangParsedData_RunLineTag(), ARC_Vector_Add(), ARC_Vector_Get(), ARC_Vector_GetSize(), ARC_ParserTagToken::id, and ARC_ParserTagToken::tagTokens.

- -

Referenced by ARC_ParserLang_CreateDataFn(), and ARC_ParserLangParsedData_RunLineTag().

- -
-
-
- - -
- - diff --git a/doc/doxygen/html/d0/d53/parserlang_8c_source.html b/doc/doxygen/html/d0/d53/parserlang_8c_source.html deleted file mode 100644 index fadb9db..0000000 --- a/doc/doxygen/html/d0/d53/parserlang_8c_source.html +++ /dev/null @@ -1,619 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/parser/parserlang.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
parserlang.c
-
-
-Go to the documentation of this file.
-
2#include "arc/std/bool.h"
-
3#include "arc/std/errno.h"
-
4#include "arc/std/lexer.h"
-
5#include "arc/std/parser.h"
-
6#include "arc/std/string.h"
-
7#include "arc/std/vector.h"
-
8#include <stddef.h>
-
9#include <stdlib.h>
-
10
-
11//private function to initalize the lexer rules for the language
-
- -
13 //null
- -
15
-
16 //number
- -
18
-
19 //alpha char
- - -
22
-
23 //whitespace
-
24 ARC_String *whitespaceString;
-
25 ARC_String_CreateWithStrlen(&whitespaceString, " \t");
- -
27 ARC_String_Destroy(whitespaceString);
-
28
-
29 //single char tokens
- - - - - -
35
-
36 //arrow
-
37 ARC_String *arrowString;
- - -
40 ARC_String_Destroy(arrowString);
-
41}
-
-
42
-
- -
44 ARC_Vector *vector = (ARC_Vector *)data;
-
45 ARC_Vector_Destroy(vector);
-
46}
-
-
47
-
- -
49 uint32_t *uint = (uint32_t *)data;
-
50 free(uint);
-
51}
-
-
52
-
- -
54 ARC_ParserTag *currentTag = (ARC_ParserTag *)data;
-
55
-
56 //free the orIndex vlues
-
57 for(uint32_t orIndex = 0; orIndex < currentTag->tokensOrTagsSize; orIndex++){
-
58 free(currentTag->tokensOrTags[orIndex]);
-
59 }
-
60
-
61 //free the tokens or tags
-
62 free(currentTag->tokensOrTags);
-
63
-
64 //free the tag itself
-
65 free(currentTag);
-
66}
-
-
67
-
- -
69 if(tagToken->token != NULL){
-
70 //less than rule does not have a string so add it manually and return
- - -
73 ARC_String_AppendCString(data, &tokenChar, 1);
-
74 return;
-
75 }
-
76
-
77 //greater than rule does not have a string so add it manually and return
- - -
80 ARC_String_AppendCString(data, &tokenChar, 1);
-
81 return;
-
82 }
-
83
- - -
86 ARC_String_AppendCString(data, &tokenChar, 1);
-
87 return;
-
88 }
-
89
-
90 ARC_String_Append(data, tagToken->token->data);
-
91 return;
-
92 }
-
93
-
94 //TODO: probs don't need this
-
95 if(tagToken->tagTokens == NULL){
-
96 return;
-
97 }
-
98
-
99 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
- -
101 }
-
102}
-
-
103
-
- -
105 ARC_String_Create(tagString, NULL, 0);
-
106
-
107 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
-
108 ARC_ParserTagToken *childTagToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, index);
-
109
-
110 ARC_ParserLangParsedData_RecurseStringAdd(tagString, childTagToken);
-
111 }
-
112}
-
-
113
-
114/*
-
115 <argument> -> <tagOrConstant> WHITESPACE <argument> | <tagOrConstant>
-
116*/
-
- -
118 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
-
119 ARC_ParserTagToken *childTagToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, index);
-
120
-
121 //switch variables
-
122 ARC_String *tagOrConstantString = NULL;
-
123 uint32_t *id = NULL;
-
124
-
125 switch(childTagToken->id){
- -
127 //recurse to check all the arguments
-
128 ARC_ParserLangParsedData_GetArgumentTag(orTokensOrTags, childTagToken, getStringIdFn);
-
129 continue;
-
130
- -
132 //initialize the string to use
-
133 ARC_String_Create(&tagOrConstantString, NULL, 0);
-
134
-
135 //get the id of the tag/constant
-
136 ARC_ParserLangParsedData_RecurseStringAdd(&tagOrConstantString, childTagToken);
-
137 id = (uint32_t *)malloc(sizeof(uint32_t));
-
138 *id = (*getStringIdFn)(tagOrConstantString);
-
139
-
140 //add the id to the matching or vector
-
141 ARC_Vector_Add(orTokensOrTags, (void *)id);
-
142
-
143 //cleanup
-
144 ARC_String_Destroy(tagOrConstantString);
-
145 continue;
-
146
-
147 default:
-
148 //this should only be whitespace
-
149 continue;
-
150 }
-
151 }
-
152}
-
-
153
-
154/*
-
155 <arguments> -> <argument> WHITESPACE OR WHITESPACE <arguments> | <argument>
-
156*/
-
- -
158 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
-
159 ARC_ParserTagToken *childTagToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, index);
-
160
-
161 //switch variables
-
162 uint32_t tokensOrTagsIndex = 0;
-
163 ARC_Vector *orTokensOrTags = NULL;
-
164
- -
166
-
167 switch(childTagToken->id){
- -
169 //get the last vector within tokens or tags to add the tag/constant to
-
170 tokensOrTagsIndex = ARC_Vector_GetSize(tokensOrTags);
-
171 orTokensOrTags = (ARC_Vector *)ARC_Vector_Get(tokensOrTags, tokensOrTagsIndex - 1);
-
172
-
173 ARC_ParserLangParsedData_GetArgumentTag(orTokensOrTags, childTagToken, getStringIdFn);
-
174 continue;
-
175
- -
177 //add a new vector to tagsOrTokens for the or statment
-
178 ARC_Vector_Create(&orTokensOrTags, NULL, &destroyUint32Fn);
-
179
-
180 //add the first or vector to the tokensOrTags
-
181 ARC_Vector_Add(tokensOrTags, (void *)orTokensOrTags);
-
182 continue;
-
183
- -
185 //recurse to check all the arguments
-
186 ARC_ParserLangParsedData_GetArgumentsTag(tokensOrTags, childTagToken, getStringIdFn);
-
187 continue;
-
188
-
189 default:
-
190 //this should only be whitespace
-
191 continue;
-
192 }
-
193 }
-
194}
-
-
195
-
- -
197 //create the tag to store the body in
-
198 ARC_ParserTag *bodyTag = (ARC_ParserTag *)malloc(sizeof(ARC_ParserTag));
-
199
-
200 /* ~ Tag Id ~ */
-
201 //the first tag will always be the tagId, and as the rule is validated there is no need to check for NULL
-
202 ARC_ParserTagToken *tagIdToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, 0);
-
203
-
204 //get the tagId as a string
-
205 ARC_String *tagIdString;
-
206 ARC_ParserLangParsedData_CreateTagString(&tagIdString, tagIdToken);
-
207
-
208 //get the tag id as a uint32_t
-
209 bodyTag->tagId = (*getStringIdFn)(tagIdString);
-
210
-
211 //cleanup the tagIdString
-
212 ARC_String_Destroy(tagIdString);
-
213
-
214 /* ~ Tokens Or Tags Array ~ */
-
215 //create a vector to store another vector of data
-
216 ARC_Vector *tokensOrTags;
- -
218 ARC_Vector_Create(&tokensOrTags, NULL, &destroyVectorFn);
-
219
-
220 //create vector within the tokens or tags vector to store the or rule in
-
221 ARC_Vector *orTokensOrTags;
- -
223 ARC_Vector_Create(&orTokensOrTags, NULL, &destroyUint32Fn);
-
224
-
225 //add the first or vector to the tokensOrTags
-
226 ARC_Vector_Add(tokensOrTags, (void *)orTokensOrTags);
-
227
-
228 //skipping whitespace and arrow tokens, the arguments index starts at 4
-
229 ARC_ParserTagToken *argumentsToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, 4);
-
230 ARC_ParserLangParsedData_GetArgumentsTag(tokensOrTags, argumentsToken, getStringIdFn);
-
231
-
232 //initialize the tokens or tags array to the needed size
-
233 bodyTag->tokensOrTagsSize = ARC_Vector_GetSize(tokensOrTags);
-
234 bodyTag->tokensOrTags = (uint32_t **)malloc(sizeof(uint32_t *) * bodyTag->tokensOrTagsSize);
-
235
-
236 //copy each or section into the tokensOrTags
-
237 for(uint32_t orIndex = 0; orIndex < bodyTag->tokensOrTagsSize; orIndex++){
-
238 //get the current or vector and its tags
-
239 orTokensOrTags = (ARC_Vector *)ARC_Vector_Get(tokensOrTags, orIndex);
-
240 uint32_t orTokensOrTagsSize = ARC_Vector_GetSize(orTokensOrTags);
-
241
-
242 //create the or array with one extra space and store the size in that space
-
243 bodyTag->tokensOrTags[orIndex] = (uint32_t *)malloc(sizeof(uint32_t) * (orTokensOrTagsSize + 1));
-
244 bodyTag->tokensOrTags[orIndex][0] = orTokensOrTagsSize;
-
245
-
246 //copy the or data to the tokensOrTags
-
247 for(uint32_t tokenOrTagIndex = 0; tokenOrTagIndex < orTokensOrTagsSize; tokenOrTagIndex++){
-
248 bodyTag->tokensOrTags[orIndex][tokenOrTagIndex + 1] = *(uint32_t *)ARC_Vector_Get(orTokensOrTags, tokenOrTagIndex);
-
249 }
-
250 }
-
251
-
252 //set the tag to the bodyTag
-
253 *tag = bodyTag;
-
254
-
255 //cleanup
-
256 ARC_Vector_Destroy(tokensOrTags);
-
257}
-
-
258
-
- -
260 //loop through the tags either going to the next line or the next body
-
261 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
-
262 ARC_ParserTagToken *childTagToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, index);
-
263
-
264 //for some reason can't create this in the switch, so placed here
-
265 ARC_ParserTag *tag;
-
266
-
267 switch(childTagToken->id){
-
268 //recuse to run the next line
- -
270 ARC_ParserLangParsedData_RunLineTag(tags, childTagToken, getStringIdFn);
-
271 continue;
-
272
-
273 //get a tag
- -
275 ARC_ParserLangParsedData_CreateBodyTag(&tag, childTagToken, getStringIdFn);
-
276 ARC_Vector_Add(tags, (void *)tag);
-
277 continue;
-
278
-
279 default:
-
280 continue;
-
281 }
-
282 }
-
283}
-
-
284
-
285//private function to create the saved data for the language
-
-
286void ARC_ParserLang_CreateDataFn(void **data, ARC_ParserTagToken *parsedData, void *userData){
-
287 ARC_Parser_GetStringIdFn *getStringIdFn = (ARC_Parser_GetStringIdFn *)userData;
-
288
-
289 //make sure there is parsed data to use
-
290 if(parsedData == NULL){
- -
292 ARC_DEBUG_LOG_ERROR("ARC_ParserLang_CreateDataFn(void **data, ARC_ParserTagToken *parsedData, void *userData), parsedData was NULL when passed in");
-
293 return;
-
294 }
-
295
-
296 //function callback to cleanup added tags
- -
298
-
299 //I don't see a reason to have a comparison function right now. this might change in the future
-
300 ARC_Vector_Create((ARC_Vector **)data, NULL, &destroyParserTagFn);
-
301
-
302 //check if there are any tags (thes could be empty if a file is blank)
-
303 if(parsedData->tagTokens == NULL){
-
304 return;
-
305 }
-
306
-
307 //load the language into a vector recursivly
-
308 ARC_ParserLangParsedData_RunLineTag(*((ARC_Vector **)data), parsedData, getStringIdFn);
-
309}
-
-
310
-
311//private function to destroy the saved data for the language
-
-
312void ARC_ParserLang_DestroyDataFn(void *data, ARC_Bool clear, void *userData){
-
313 if(userData != NULL){
-
314 ARC_Parser_GetStringIdFn *getStringIdFn = (ARC_Parser_GetStringIdFn *)userData;
-
315 free(getStringIdFn);
-
316 }
-
317
-
318 //if not clearing (full destroy) check if there is data to free
-
319 if(clear == ARC_False && (ARC_Vector *)data != NULL){
- -
321 }
-
322}
-
-
323
-
- -
325 //<line> -> <body> NEWLINE <line> | <body> | NEWLINE <line> | LAMBDA
-
326 uint32_t *line[] = { (uint32_t[]){ 3, ARC_PARSERLANG_BODY, ARC_PARSERLANG_TOKEN_NEWLINE_ID, ARC_PARSERLANG_LINE }, (uint32_t[]){ 1, ARC_PARSERLANG_BODY }, (uint32_t[]){ 2, ARC_PARSERLANG_TOKEN_NEWLINE_ID, ARC_PARSERLANG_LINE }, (uint32_t[]){ 1, ARC_PARSERLANG_LAMBDA } };
-
327
-
328 //<body> -> <tag> <whitespace> ARROW <whitespace> <arguments>
- -
330
-
331 //<arguments> -> <argument> <whitespace> OR <whitespace> <arguments> | <argument>
- -
333
-
334 //<argument> -> <tagOrConstant> <whitespace> <argument> | <tagOrConstant>
-
335 uint32_t *argument[] = { (uint32_t[]){ 3, ARC_PARSERLANG_TAG_OR_CONSTANT, ARC_PARSERLANG_WHITESPACE, ARC_PARSERLANG_ARGUMENT }, (uint32_t[]){ 1, ARC_PARSERLANG_TAG_OR_CONSTANT } };
-
336
-
337 //<tagOrConstant> -> <parserLangageTag> | <constant>
-
338 uint32_t *tagOrConstant[] = { (uint32_t[]){ 1, ARC_PARSERLANG_TAG }, (uint32_t[]){ 1, ARC_PARSERLANG_CONSTANT } };
-
339
-
340 //<constant> -> ALPHA_UPPER_CHAR <constantBody>
-
341 uint32_t *constant[] = { (uint32_t[]){ 2, ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR, ARC_PARSERLANG_CONSTANT_BODY } };
-
342
-
343 //<constantBody> -> <constantChar> <constantBody> | LAMBDA
-
344 uint32_t *constantBody[] = { (uint32_t[]){ 2, ARC_PARSERLANG_CONSTANT_CHAR, ARC_PARSERLANG_CONSTANT_BODY }, (uint32_t[]){ 1, ARC_PARSERLANG_LAMBDA } };
-
345
-
346 //<constantChar> -> ALPHA_UPPER_CHAR | UNDERSCORE
-
347 uint32_t *constantChar[] = { (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR }, (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_UNDERSCORE_ID } };
-
348
-
349 //<tag> -> LESS_THAN <variable> GREATER_THAN
- -
351
-
352 //<variable> -> <alphaChar> <variableBody> | UNDERSCORE <variableBody>
-
353 uint32_t *variable[] = { (uint32_t[]){ 2, ARC_PARSERLANG_ALPHA_CHAR, ARC_PARSERLANG_VARIABLE_BODY }, (uint32_t[]){ 2, ARC_PARSERLANG_TOKEN_UNDERSCORE_ID, ARC_PARSERLANG_VARIABLE_BODY } };
-
354
-
355 //<variableBody> -> <variableChar> <variableBody> | LAMBDA
-
356 uint32_t *variableBody[] = { (uint32_t[]){ 2, ARC_PARSERLANG_VARIABLE_CHAR, ARC_PARSERLANG_VARIABLE_BODY }, (uint32_t[]){ 1, ARC_PARSERLANG_LAMBDA } };
-
357
-
358 //<variableChar> -> <alphaChar> | NUMBER | UNDERSCORE
-
359 uint32_t *variableChar[] = { (uint32_t[]){ 1, ARC_PARSERLANG_ALPHA_CHAR }, (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_NUMBER }, (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_UNDERSCORE_ID } };
-
360
-
361 //<alphaChar> -> ALPHA_LOWER_CHAR | ALPHA_UPPER_CHAR
-
362 uint32_t *alphaChar[] = { (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_ALPHA_LOWER_CHAR }, (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR }};
-
363
-
364 //<whitespace> -> WHITESPACE <whitespace> | WHITESPACE
-
365 uint32_t *whitespace[] = { (uint32_t[]){ 2, ARC_PARSERLANG_TOKEN_WHITESPACE, ARC_PARSERLANG_WHITESPACE }, (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_WHITESPACE }};
-
366
-
367 ARC_ParserTag parserLangTags[14] = {
-
368 { ARC_PARSERLANG_LINE , line , 4 },
-
369 { ARC_PARSERLANG_BODY , body , 1 },
-
370 { ARC_PARSERLANG_ARGUMENTS , arguments , 2 },
-
371 { ARC_PARSERLANG_ARGUMENT , argument , 2 },
-
372 { ARC_PARSERLANG_TAG_OR_CONSTANT, tagOrConstant, 2 },
-
373 { ARC_PARSERLANG_CONSTANT , constant , 1 },
-
374 { ARC_PARSERLANG_CONSTANT_BODY , constantBody , 2 },
-
375 { ARC_PARSERLANG_CONSTANT_CHAR , constantChar , 2 },
-
376 { ARC_PARSERLANG_TAG , tag , 1 },
-
377 { ARC_PARSERLANG_VARIABLE , variable , 2 },
-
378 { ARC_PARSERLANG_VARIABLE_BODY , variableBody , 2 },
-
379 { ARC_PARSERLANG_VARIABLE_CHAR , variableChar , 3 },
-
380 { ARC_PARSERLANG_ALPHA_CHAR , alphaChar , 2 },
-
381 { ARC_PARSERLANG_WHITESPACE , whitespace , 2 }
-
382 };
-
383
-
384 ARC_Array parserLanguageArray = {
-
385 14, //size
-
386 parserLangTags //data
-
387 };
-
388
- - -
391
-
392 //this will be cleaned up by the destroyDataFn
- -
394 *newGetStringIdFn = getStringIdFn;
-
395
-
396 //create the parserlang
-
397 ARC_Parser_Create(parser, &parserLanguageArray, ARC_ParserLang_InitLexerRulesFn, &createDataFn, &destroyDataFn, (void *)newGetStringIdFn);
-
398}
-
- -
#define ARC_False
Definition bool.h:12
-
#define ARC_Bool
Definition bool.h:10
- -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
- -
#define ARC_LEXER_TOKEN_WHITESPACE
Definition lexer.h:252
-
void ARC_Lexer_RegisterTokenRule(ARC_Lexer *lexer, ARC_LexerTokenRule tokenRule)
adds a token rule to a lexer
Definition lexer.c:79
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchStringRule(uint32_t id, ARC_String *string)
creates a ARC_LexerTokenRule with a given id and string
Definition lexer.c:428
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharRule(uint32_t id, char character)
creates a ARC_LexerTokenRule with a given id and character
Definition lexer.c:378
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween(uint32_t id, char start, char end)
creates a ARC_LexerTokenRule with a given id and character range
Definition lexer.c:400
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule(uint32_t id, ARC_String *string)
creates a ARC_LexerTokenRule with a given id and string
Definition lexer.c:450
- -
void ARC_Parser_Create(ARC_Parser **parser, ARC_Array *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
creates an ARC_Parser type
Definition parser.c:24
-
uint32_t(* ARC_Parser_GetStringIdFn)(ARC_String *string)
TODO: write this.
Definition parser.h:52
-
void(* ARC_ParserData_CreateFn)(void **data, ARC_ParserTagToken *parsedData, void *userData)
TODO: write this.
Definition parser.h:57
-
void(* ARC_ParserData_DestroyFn)(void *data, ARC_Bool clear, void *userData)
TODO: write this.
Definition parser.h:62
-
void ARC_ParserLangParsedData_GetArgumentTag(ARC_Vector *orTokensOrTags, ARC_ParserTagToken *tagToken, ARC_Parser_GetStringIdFn *getStringIdFn)
Definition parserlang.c:117
-
void ARC_ParserLangParsedData_CreateTagString(ARC_String **tagString, ARC_ParserTagToken *tagToken)
Definition parserlang.c:104
-
void ARC_ParserLang_VectorDestroyVectorFn(void *data)
Definition parserlang.c:43
-
void ARC_ParserLang_CreateDataFn(void **data, ARC_ParserTagToken *parsedData, void *userData)
Definition parserlang.c:286
-
void ARC_ParserLang_CreateAsParser(ARC_Parser **parser, ARC_Parser_GetStringIdFn getStringIdFn)
creates a parser for the Parser Lang
Definition parserlang.c:324
-
void ARC_ParserLangParsedData_CreateBodyTag(ARC_ParserTag **tag, ARC_ParserTagToken *tagToken, ARC_Parser_GetStringIdFn *getStringIdFn)
Definition parserlang.c:196
-
void ARC_ParserLangParsedData_GetArgumentsTag(ARC_Vector *tokensOrTags, ARC_ParserTagToken *tagToken, ARC_Parser_GetStringIdFn *getStringIdFn)
Definition parserlang.c:157
-
void ARC_ParserLang_VectorDestroyParserTagFn(void *data)
Definition parserlang.c:53
-
void ARC_ParserLang_VectorDestroyUInt32Fn(void *data)
Definition parserlang.c:48
-
void ARC_ParserLangParsedData_RunLineTag(ARC_Vector *tags, ARC_ParserTagToken *tagToken, ARC_Parser_GetStringIdFn *getStringIdFn)
Definition parserlang.c:259
-
void ARC_ParserLang_DestroyDataFn(void *data, ARC_Bool clear, void *userData)
Definition parserlang.c:312
-
void ARC_ParserLang_InitLexerRulesFn(ARC_Lexer *lexer)
Definition parserlang.c:12
-
void ARC_ParserLangParsedData_RecurseStringAdd(ARC_String **data, ARC_ParserTagToken *tagToken)
Definition parserlang.c:68
- -
#define ARC_PARSERLANG_TOKEN_OR_CHAR
Definition parserlang.h:54
-
#define ARC_PARSERLANG_TOKEN_UNDERSCORE_CHAR
Definition parserlang.h:56
-
#define ARC_PARSERLANG_CONSTANT_CHAR
Definition parserlang.h:69
-
#define ARC_PARSERLANG_TAG
Definition parserlang.h:70
-
#define ARC_PARSERLANG_ALPHA_CHAR
Definition parserlang.h:74
-
#define ARC_PARSERLANG_TOKEN_NEWLINE_ID
Definition parserlang.h:47
-
#define ARC_PARSERLANG_BODY
Definition parserlang.h:63
-
#define ARC_PARSERLANG_WHITESPACE
Definition parserlang.h:75
-
#define ARC_PARSERLANG_CONSTANT
Definition parserlang.h:67
-
#define ARC_PARSERLANG_TOKEN_NUMBER
Definition parserlang.h:42
-
#define ARC_PARSERLANG_TOKEN_GREATER_THAN_CHAR
Definition parserlang.h:52
-
#define ARC_PARSERLANG_TAG_OR_CONSTANT
Definition parserlang.h:66
-
#define ARC_PARSERLANG_TOKEN_ARROW_ID
Definition parserlang.h:58
-
#define ARC_PARSERLANG_TOKEN_LESS_THAN_ID
Definition parserlang.h:49
-
#define ARC_PARSERLANG_TOKEN_GREATER_THAN_ID
Definition parserlang.h:51
-
#define ARC_PARSERLANG_TOKEN_OR_ID
Definition parserlang.h:53
-
#define ARC_PARSERLANG_TOKEN_WHITESPACE
Definition parserlang.h:45
-
#define ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR
Definition parserlang.h:44
-
#define ARC_PARSERLANG_LINE
Definition parserlang.h:62
-
#define ARC_PARSERLANG_TOKEN_NEWLINE_CHAR
Definition parserlang.h:48
-
#define ARC_PARSERLANG_VARIABLE_BODY
Definition parserlang.h:72
-
#define ARC_PARSERLANG_TOKEN_NULL
Definition parserlang.h:41
-
#define ARC_PARSERLANG_VARIABLE_CHAR
Definition parserlang.h:73
-
#define ARC_PARSERLANG_CONSTANT_BODY
Definition parserlang.h:68
-
#define ARC_PARSERLANG_TOKEN_ALPHA_LOWER_CHAR
Definition parserlang.h:43
-
#define ARC_PARSERLANG_ARGUMENT
Definition parserlang.h:65
-
#define ARC_PARSERLANG_TOKEN_UNDERSCORE_ID
Definition parserlang.h:55
-
#define ARC_PARSERLANG_ARGUMENTS
Definition parserlang.h:64
-
#define ARC_PARSERLANG_TOKEN_ARROW_CSTRING
Definition parserlang.h:59
-
#define ARC_PARSERLANG_VARIABLE
Definition parserlang.h:71
-
#define ARC_PARSERLANG_TOKEN_LESS_THAN_CHAR
Definition parserlang.h:50
-
#define ARC_PARSERLANG_LAMBDA
Definition parserlang.h:61
- -
void ARC_String_CreateWithStrlen(ARC_String **string, char *data)
creates ARC_String type with strinlen
Definition string.c:32
-
void ARC_String_AppendCString(ARC_String **string, const char *cstring, uint64_t length)
appends to an ARC_String with an ARC_String
Definition string.c:130
-
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
-
void ARC_String_Append(ARC_String **string, ARC_String *append)
appends to an ARC_String with an ARC_String
Definition string.c:126
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
a type that holds an array of data and its size
Definition array.h:13
-
uint32_t rule
Definition lexer.h:19
-
ARC_String * data
Definition lexer.h:20
- -
a parser type used inside of the parser data create function
Definition parser.h:35
-
ARC_LexerToken * token
Definition parser.h:38
-
uint32_t id
Definition parser.h:36
-
ARC_Vector * tagTokens
Definition parser.h:39
-
a langue tag type for the parser //TODO: explain this better
Definition parser.h:21
-
uint32_t tagId
Definition parser.h:22
-
uint32_t tokensOrTagsSize
Definition parser.h:25
-
uint32_t ** tokensOrTags
Definition parser.h:24
- -
substring position within a string
Definition string.h:14
- - -
void(* ARC_Vector_DestroyDataFn)(void *data)
a callback that cleans up memory when it is removed from the vector
Definition vector.h:31
-
uint32_t ARC_Vector_GetSize(ARC_Vector *vector)
gets the current size of an ARC_Vector as an unsigned 32 bit integer
Definition vector.c:146
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:150
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:67
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:51
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:28
-
- - -
- - diff --git a/doc/doxygen/html/d0/d54/structARC__Parser.html b/doc/doxygen/html/d0/d54/structARC__Parser.html deleted file mode 100644 index eb65bff..0000000 --- a/doc/doxygen/html/d0/d54/structARC__Parser.html +++ /dev/null @@ -1,261 +0,0 @@ - - - - - - - - -Archeus: ARC_Parser Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_Parser Struct Reference
-
-
- - - - - - - - - - - - - - -

-Data Fields

ARC_Array language
 
ARC_Lexerlexer
 
void * data
 
void * userData
 
ARC_ParserData_CreateFncreateDataFn
 
ARC_ParserData_DestroyFndestroyDataFn
 
-

Detailed Description

-
-

Definition at line 12 of file parser.c.

-

Field Documentation

- -

◆ createDataFn

- -
-
- - - - -
ARC_ParserData_CreateFn* ARC_Parser::createDataFn
-
- -

Definition at line 19 of file parser.c.

- -

Referenced by ARC_Parser_Destroy(), and ARC_Parser_Parse().

- -
-
- -

◆ data

- -
-
- - - - -
void* ARC_Parser::data
-
- -

Definition at line 17 of file parser.c.

- -

Referenced by ARC_Parser_ClearData(), ARC_Parser_Destroy(), ARC_Parser_GetData(), and ARC_Parser_Parse().

- -
-
- -

◆ destroyDataFn

- -
-
- - - - -
ARC_ParserData_DestroyFn* ARC_Parser::destroyDataFn
-
- -

Definition at line 20 of file parser.c.

- -

Referenced by ARC_Parser_ClearData(), and ARC_Parser_Destroy().

- -
-
- -

◆ language

- -
-
- - - - -
ARC_Array ARC_Parser::language
-
- -

Definition at line 13 of file parser.c.

- -

Referenced by ARC_Parser_Create(), ARC_Parser_Destroy(), ARC_Parser_Parse(), and ARC_Parser_ParseTag().

- -
-
- -

◆ lexer

- -
-
- - - - -
ARC_Lexer* ARC_Parser::lexer
-
- -

Definition at line 15 of file parser.c.

- -

Referenced by ARC_Parser_Destroy(), ARC_Parser_Parse(), and ARC_Parser_ParseTag().

- -
-
- -

◆ userData

- -
-
- - - - -
void* ARC_Parser::userData
-
- -

Definition at line 18 of file parser.c.

- -

Referenced by ARC_Parser_ClearData(), ARC_Parser_Destroy(), and ARC_Parser_Parse().

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/src/std/parser.c
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d0/d54/structARC__Parser.js b/doc/doxygen/html/d0/d54/structARC__Parser.js deleted file mode 100644 index e0bfefe..0000000 --- a/doc/doxygen/html/d0/d54/structARC__Parser.js +++ /dev/null @@ -1,9 +0,0 @@ -var structARC__Parser = -[ - [ "createDataFn", "d0/d54/structARC__Parser.html#a6372b99fbb102c4b0f95adfd3035ec4a", null ], - [ "data", "d0/d54/structARC__Parser.html#a7f7d365c775576470529d3b79ce27069", null ], - [ "destroyDataFn", "d0/d54/structARC__Parser.html#ac164b7d6aeae359cc1865314443b4fec", null ], - [ "language", "d0/d54/structARC__Parser.html#a62a0210945c21e09eb49a72836711012", null ], - [ "lexer", "d0/d54/structARC__Parser.html#a8370b670f9389f64246ef623baea1cc9", null ], - [ "userData", "d0/d54/structARC__Parser.html#a947c3bc56e0f9b2c6f74119306a5ab3d", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d0/d5a/structARC__ECS.html b/doc/doxygen/html/d0/d5a/structARC__ECS.html deleted file mode 100644 index a615d5d..0000000 --- a/doc/doxygen/html/d0/d5a/structARC__ECS.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - -Archeus: ARC_ECS Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_ECS Struct Reference
-
-
- - - - -

-Data Fields

ARC_Vectorcomponents
 
-

Detailed Description

-
-

Definition at line 4 of file ecs.c.

-

Field Documentation

- -

◆ components

- -
-
- - - - -
ARC_Vector* ARC_ECS::components
-
- -

Definition at line 5 of file ecs.c.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/src/engine/ecs.c
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d0/d5a/structARC__ECS.js b/doc/doxygen/html/d0/d5a/structARC__ECS.js deleted file mode 100644 index af5f067..0000000 --- a/doc/doxygen/html/d0/d5a/structARC__ECS.js +++ /dev/null @@ -1,4 +0,0 @@ -var structARC__ECS = -[ - [ "components", "d0/d5a/structARC__ECS.html#adf245c69a7d574b537fd8f7c0ff60d68", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d0/d7e/vector3_8h.html b/doc/doxygen/html/d0/d7e/vector3_8h.html deleted file mode 100644 index d060483..0000000 --- a/doc/doxygen/html/d0/d7e/vector3_8h.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/math/vector3.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
vector3.h File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d0/d7e/vector3_8h_source.html b/doc/doxygen/html/d0/d7e/vector3_8h_source.html deleted file mode 100644 index 5487252..0000000 --- a/doc/doxygen/html/d0/d7e/vector3_8h_source.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/math/vector3.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
vector3.h
-
- -
- - - - - - diff --git a/doc/doxygen/html/d0/d80/structARC__StackNode.html b/doc/doxygen/html/d0/d80/structARC__StackNode.html deleted file mode 100644 index 48effbe..0000000 --- a/doc/doxygen/html/d0/d80/structARC__StackNode.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - - - -Archeus: ARC_StackNode Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_StackNode Struct Reference
-
-
- - - - - - -

-Data Fields

ARC_StackNodenext
 
void * data
 
-

Detailed Description

-
-

Definition at line 8 of file stack.c.

-

Field Documentation

- -

◆ data

- -
-
- - - - -
void* ARC_StackNode::data
-
- -

Definition at line 10 of file stack.c.

- -

Referenced by ARC_Stack_Pop(), and ARC_Stack_Push().

- -
-
- -

◆ next

- -
-
- - - - -
ARC_StackNode* ARC_StackNode::next
-
- -

Definition at line 9 of file stack.c.

- -

Referenced by ARC_Stack_Pop(), and ARC_Stack_Push().

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/src/std/stack.c
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d0/d80/structARC__StackNode.js b/doc/doxygen/html/d0/d80/structARC__StackNode.js deleted file mode 100644 index 221c5db..0000000 --- a/doc/doxygen/html/d0/d80/structARC__StackNode.js +++ /dev/null @@ -1,5 +0,0 @@ -var structARC__StackNode = -[ - [ "data", "d0/d80/structARC__StackNode.html#a8dde493fca5d79891115cf2225c7ddf9", null ], - [ "next", "d0/d80/structARC__StackNode.html#a4db2ff276e750cf8673586a34a5bfcaf", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d0/d90/errno_8c.html b/doc/doxygen/html/d0/d90/errno_8c.html deleted file mode 100644 index f4fac30..0000000 --- a/doc/doxygen/html/d0/d90/errno_8c.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/errno.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
errno.c File Reference
-
-
-
#include "arc/std/errno.h"
-#include <stdint.h>
-
-

Go to the source code of this file.

- - - - -

-Variables

int32_t arc_errno = 0
 
-

Variable Documentation

- -

◆ arc_errno

- -
-
- - - - -
int32_t arc_errno = 0
-
- -

Definition at line 5 of file errno.c.

- -

Referenced by ARC_Audio_Read(), ARC_Config_FileIO(), ARC_Config_Get(), ARC_Config_GetNameAndValue(), ARC_Config_LoadFromKey(), ARC_Config_Recurse(), ARC_Config_RemoveAndRunCommands(), ARC_Config_RemoveComments(), ARC_Config_RemoveKey(), ARC_Config_RunCommand(), ARC_Config_SetGroup(), ARC_Config_SetKeyGroup(), ARC_Config_StripComment(), ARC_ConsoleView_Create(), ARC_Engine_RunUncapped(), ARC_EngineData_Create(), ARC_GraphicsConfig_GetIndexAndErrorCheck(), ARC_Hashtable_Add(), ARC_Hashtable_Get(), ARC_Hashtable_Remove(), ARC_IO_FileToStr(), ARC_IO_ReadFileToUint8t(), ARC_IO_WriteStrToFile(), ARC_Lexer_GetToken(), ARC_Lexer_LexFile(), ARC_Lexer_LexString(), ARC_Lexer_RegisterTokenRule(), ARC_MathConfig_GetIndexAndErrorCheck(), ARC_Parser_CreateFromString(), ARC_Parser_Parse(), ARC_Parser_ParseFile(), ARC_Parser_ParseTag(), ARC_ParserData_HelperRecurseStringAdd(), ARC_ParserLang_CreateDataFn(), ARC_Point_Read(), ARC_Queue_Destroy(), ARC_Queue_Pop(), ARC_Queue_Push(), ARC_Rect_Read(), ARC_RectArray_Read(), ARC_RectArray_ReadRect(), ARC_Renderer_CreateWithEngineData(), ARC_Sprite_Delete(), ARC_Sprite_Read(), ARC_Sprite_SetFrameIndex(), ARC_Spritesheet_Delete(), ARC_Spritesheet_Read(), ARC_Spritesheet_ReadTexture(), ARC_Ssh_Create(), ARC_Ssh_ExecStrInNewSession(), ARC_Ssh_ExecStrInNewSessionAndGetResponse(), ARC_Ssh_RunInSession(), ARC_Stack_Destroy(), ARC_Stack_Pop(), ARC_Stack_Push(), ARC_String_Copy(), ARC_String_CopyReplaceMatching(), ARC_String_CopySubstring(), ARC_String_Create(), ARC_String_CreateEmpty(), ARC_String_Find(), ARC_String_FindBack(), ARC_String_FindBackCString(), ARC_String_FindCString(), ARC_String_RemoveSubstring(), ARC_String_ReplaceMatching(), ARC_String_ReplaceMatchingCString(), ARC_String_ReplaceWithSubstring(), ARC_String_StripEnds(), ARC_String_StripWhitespace(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_Vector_Add(), ARC_Vector_Get(), ARC_Vector_RemoveIndex(), and ARC_Window_Create().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d0/d90/errno_8c.js b/doc/doxygen/html/d0/d90/errno_8c.js deleted file mode 100644 index d4785eb..0000000 --- a/doc/doxygen/html/d0/d90/errno_8c.js +++ /dev/null @@ -1,4 +0,0 @@ -var errno_8c = -[ - [ "arc_errno", "d0/d90/errno_8c.html#a5884aa8cc9b4e733345e49f93b54f75a", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d0/d90/errno_8c_source.html b/doc/doxygen/html/d0/d90/errno_8c_source.html deleted file mode 100644 index fb4b838..0000000 --- a/doc/doxygen/html/d0/d90/errno_8c_source.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/errno.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
errno.c
-
-
-Go to the documentation of this file.
1#include "arc/std/errno.h"
-
2
-
3#include <stdint.h>
-
4
-
5int32_t arc_errno = 0;
-
6
-
7#if ARC_DEBUG
-
8 #include <stdio.h>
-
9 FILE *arc_errno_log_file = NULL;
-
10
-
11 #ifndef ARC_DEBUG_LOG_STREAM_OVERRIDE
-
12 void ARC_Errno_SetDefaultStream(void){
-
13 arc_errno_log_file = stdout;
-
14 }
-
15 #endif
-
16#endif
-
int32_t arc_errno
Definition errno.c:5
- -
-
- - - - - - diff --git a/doc/doxygen/html/d0/da4/console_2ncurses_2view_8c.html b/doc/doxygen/html/d0/da4/console_2ncurses_2view_8c.html deleted file mode 100644 index 1f93426..0000000 --- a/doc/doxygen/html/d0/da4/console_2ncurses_2view_8c.html +++ /dev/null @@ -1,1308 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/console/ncurses/view.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
view.c File Reference
-
-
-
#include "arc/console/view.h"
-#include "key.h"
-#include "arc/console/element.h"
-#include "arc/std/bool.h"
-#include "arc/std/errno.h"
-#include "arc/std/vector.h"
-#include "arc/std/string.h"
-#include <locale.h>
-#include <ncurses.h>
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_ConsoleView
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_ConsoleView_Create (ARC_ConsoleView **view, ARC_Rect bounds)
 creates ARC_ConsoleView type
 
void ARC_ConsoleView_Destroy (ARC_ConsoleView *ncurses)
 destroys ARC_ConsoleView type
 
void ARC_ConsoleView_AddElement (ARC_ConsoleView *view, ARC_ConsoleElement *element)
 adds an ARC_ConsoleElement to the ARC_ConsoleView type
 
void ARC_ConsoleView_RemoveElement (ARC_ConsoleView *view, uint32_t index)
 
void ARC_ConsoleView_Clear (ARC_ConsoleView *view)
 
void ARC_ConsoleView_RenderCharAt (ARC_ConsoleView *view, char character, ARC_Point pos)
 
void ARC_ConsoleView_RenderWCharAt (ARC_ConsoleView *view, wchar_t character, ARC_Point pos)
 
void ARC_ConsoleView_RenderKeyAt (ARC_ConsoleView *view, ARC_ConsoleKey key, ARC_Point pos)
 
void ARC_ConsoleView_RenderUint32At (ARC_ConsoleView *view, uint32_t uint32, ARC_Point pos)
 
void ARC_ConsoleView_RenderStringAt (ARC_ConsoleView *view, ARC_String *text, ARC_Point pos)
 
void ARC_ConsoleView_RenderCStringWithStrlenAt (ARC_ConsoleView *view, char *cstr, ARC_Point pos)
 
void ARC_ConsoleView_RenderRect (ARC_ConsoleView *view, ARC_Rect bounds)
 
void ARC_ConsoleView_RenderElements (ARC_ConsoleView *view)
 
ARC_Rect ARC_ConsoleView_GetBounds (ARC_ConsoleView *view)
 gets the bounds of an ARC_ConsoleView
 
ARC_ConsoleElementARC_ConsoleView_GetElement (ARC_ConsoleView *view, uint32_t index)
 adds an ARC_ConsoleElement to the ARC_ConsoleView type
 
char ARC_ConsoleView_GetChar (ARC_ConsoleView *view)
 gets a char from the view
 
char ARC_ConsoleView_GetCharAt (ARC_ConsoleView *view, ARC_Point pos)
 gets a char from the view at a position
 
ARC_ConsoleKey ARC_ConsoleView_GetConsoleKeyAt (ARC_ConsoleView *view, ARC_Point pos)
 gets a console key from the view at a position
 
ARC_ConsoleKeyARC_ConsoleView_GetCreateConsoleKeyAt (ARC_ConsoleView *view, ARC_Point pos)
 gets and creates a console key from the view at a position
 
ARC_StringARC_ConsoleView_GetStringInput (ARC_ConsoleView *view, ARC_Point pos, ARC_ConsoleView_OverrideCharInputFn *overrideCharInputFn, void *userdata)
 gets a ARC_String from the view at a position
 
void ARC_ConsoleView_SetCursorVisibility (ARC_ConsoleView *view, uint8_t visibility)
 sets a visibility of the cursor with an ARC_ConsoleView
 
void ARC_ConsoleView_SetBorder (ARC_ConsoleView *view, uint32_t border)
 sets a border on the ARC_ConsoleView
 
void ARC_ConsoleView_SetAttribute (ARC_ConsoleView *view, uint32_t attribute)
 sets a border on the ARC_ConsoleView
 
- - - -

-Variables

uint8_t arc_ncurses_win_size = 0
 
-

Function Documentation

- -

◆ ARC_ConsoleView_AddElement()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleView_AddElement (ARC_ConsoleView * view,
ARC_ConsoleElement * element )
-
- -

adds an ARC_ConsoleElement to the ARC_ConsoleView type

-
Note
the elements position will be based on the ARC_ConsoleView which might mess up how it looks
-
Parameters
- - - -
view
elment
-
-
- -

Definition at line 76 of file view.c.

-
76 {
-
77 ARC_Vector_Add(view->elements, (void *)element);
-
78}
-
ARC_Vector * elements
Definition view.c:20
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:70
-
-

References ARC_Vector_Add(), and ARC_ConsoleView::elements.

- -
-
- -

◆ ARC_ConsoleView_Clear()

- -
-
- - - - - - - -
void ARC_ConsoleView_Clear (ARC_ConsoleView * view)
-
-
Parameters
- - - -
view
index
-
-
- -

Definition at line 84 of file view.c.

-
84 {
-
85 wclear(view->window);
-
86 wrefresh(view->window);
-
87}
-
WINDOW * window
Definition view.c:16
-
-

References ARC_ConsoleView::window.

- -
-
- -

◆ ARC_ConsoleView_Create()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleView_Create (ARC_ConsoleView ** view,
ARC_Rect bounds )
-
- -

creates ARC_ConsoleView type

-
Parameters
- - - -
viewARC_ConsoleView to create
boundsthe bounds of the window, if bounds.w == 0 or bounds.h == 0, bounds will take up the entire screen
-
-
- -

Definition at line 23 of file view.c.

-
23 {
-
24 if(arc_ncurses_win_size == ~(uint8_t)0){
- -
26 ARC_DEBUG_ERR("ARC_NCurses_Create(ncurses), max num of ARC_NCurses have been created, consider making arc_ncurses_win_size a uint32_t to increase the max");
-
27 *view = NULL;
-
28 return;
-
29 }
-
30
-
31 //if this is the first ncurses, init ncurses
-
32 if(arc_ncurses_win_size == 0){
-
33 setlocale(LC_ALL, "");
-
34 initscr();
-
35 //start_color();
-
36 cbreak();
-
37 keypad(stdscr, TRUE);
-
38 refresh();
-
39 }
-
40
-
41 *view = (ARC_ConsoleView *)malloc(sizeof(ARC_ConsoleView));
-
42
-
43 ARC_Rect viewBounds = { 0, 0, COLS, LINES };
-
44 if(bounds.w != 0 && bounds.h != 0){
-
45 viewBounds = bounds;
-
46 }
-
47
-
48 (*view)->window = newwin(viewBounds.h, viewBounds.w, viewBounds.y, viewBounds.x);
-
49 (*view)->bounds = viewBounds;
-
50
-
51 keypad((*view)->window, TRUE);
-
52
-
53 noecho();
-
54 (*view)->echo = false;
-
55
-
56 ARC_Vector_Create(&(*view)->elements);
-
57
-
58 wrefresh((*view)->window);
-
59
- -
61}
-
uint8_t arc_ncurses_win_size
Definition view.c:13
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_OVERFLOW
Definition errno.h:10
- - -
int32_t x
Definition rectangle.h:13
-
int32_t w
Definition rectangle.h:15
-
int32_t y
Definition rectangle.h:14
-
int32_t h
Definition rectangle.h:16
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:31
-
-

References arc_errno, ARC_ERRNO_OVERFLOW, arc_ncurses_win_size, ARC_Vector_Create(), ARC_Rect::h, ARC_Rect::w, ARC_Rect::x, and ARC_Rect::y.

- -
-
- -

◆ ARC_ConsoleView_Destroy()

- -
-
- - - - - - - -
void ARC_ConsoleView_Destroy (ARC_ConsoleView * view)
-
- -

destroys ARC_ConsoleView type

-
Parameters
- - -
viewARC_ConsoleView to destroy
-
-
- -

Definition at line 63 of file view.c.

-
63 {
- -
65
- -
67
-
68 delwin(ncurses->window);
-
69 free(ncurses);
-
70
-
71 if(arc_ncurses_win_size == 0){
-
72 endwin();
-
73 }
-
74}
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:54
-
-

References arc_ncurses_win_size, ARC_Vector_Destroy(), ARC_ConsoleView::elements, and ARC_ConsoleView::window.

- -
-
- -

◆ ARC_ConsoleView_GetBounds()

- -
-
- - - - - - - -
ARC_Rect ARC_ConsoleView_GetBounds (ARC_ConsoleView * view)
-
- -

gets the bounds of an ARC_ConsoleView

-
Parameters
- - -
viewARC_ConsoleView to get bounds from
-
-
-
Returns
the bounds of the ARC_ConsoleView
- -

Definition at line 147 of file view.c.

-
147 {
-
148 return view->bounds;
-
149}
-
ARC_Rect bounds
Definition view.c:17
-
-

References ARC_ConsoleView::bounds.

- -

Referenced by ARC_ConsoleBuffer_Render(), and ARC_ConsoleBuffer_RenderSection().

- -
-
- -

◆ ARC_ConsoleView_GetChar()

- -
-
- - - - - - - -
char ARC_ConsoleView_GetChar (ARC_ConsoleView * view)
-
- -

gets a char from the view

-
Note
use ARC_ConsoleView_GetInt32At if you want to check for direction key or special character input
-
Parameters
- - -
viewthe ARC_ConsoleView to get the char from
-
-
- -

Definition at line 155 of file view.c.

-
155 {
-
156 return wgetch(view->window);
-
157}
-
-

References ARC_ConsoleView::window.

- -
-
- -

◆ ARC_ConsoleView_GetCharAt()

- -
-
- - - - - - - - - - - -
char ARC_ConsoleView_GetCharAt (ARC_ConsoleView * view,
ARC_Point pos )
-
- -

gets a char from the view at a position

-
Note
use ARC_ConsoleView_GetInt32At if you want to check for direction key or special character input
-
Parameters
- - - -
viewthe ARC_ConsoleView to get the char from
posthe positiion to get the char at
-
-
- -

Definition at line 159 of file view.c.

-
159 {
-
160 return mvwgetch(view->window, pos.y, pos.x);
-
161}
-
int32_t y
Definition point.h:12
-
int32_t x
Definition point.h:11
-
-

References ARC_ConsoleView::window, ARC_Point::x, and ARC_Point::y.

- -
-
- -

◆ ARC_ConsoleView_GetConsoleKeyAt()

- -
-
- - - - - - - - - - - -
ARC_ConsoleKey ARC_ConsoleView_GetConsoleKeyAt (ARC_ConsoleView * view,
ARC_Point pos )
-
- -

gets a console key from the view at a position

-
Note
you most likely do not want to use this function outside of a backend as ARC_ConsoleKey is defined within the console backend
-
Parameters
- - - -
viewthe ARC_ConsoleView to get the console key from
posthe positiion to get the console key at
-
-
-
Returns
a console key
- -

Definition at line 163 of file view.c.

-
163 {
-
164 return (ARC_ConsoleKey){ mvwgetch(view->window, pos.y, pos.x) };
-
165}
- -
-

References ARC_ConsoleView::window, ARC_Point::x, and ARC_Point::y.

- -

Referenced by ARC_ConsoleView_GetStringInput().

- -
-
- -

◆ ARC_ConsoleView_GetCreateConsoleKeyAt()

- -
-
- - - - - - - - - - - -
ARC_ConsoleKey * ARC_ConsoleView_GetCreateConsoleKeyAt (ARC_ConsoleView * view,
ARC_Point pos )
-
- -

gets and creates a console key from the view at a position

-
Note
the given ARC_ConsoleKey needs to be destroyed
-
-use ARC_ConsoleView_GetConsoleKeyAt if you want to check for keyboard or special character input
-
Parameters
- - - -
viewthe ARC_ConsoleView to get the console key from
posthe positiion to get the console key at
-
-
-
Returns
a console key
- -

Definition at line 167 of file view.c.

-
167 {
-
168 ARC_ConsoleKey *key;
-
169 ARC_ConsoleKey_Create(&key, NULL);
-
170 key->key = mvwgetch(view->window, pos.y, pos.x);
-
171 return key;
-
172}
-
void ARC_ConsoleKey_Create(ARC_ConsoleKey **consoleKey, ARC_ConsoleKey_Key *key)
Definition key.c:7
-
int32_t key
Definition key.h:12
-
-

References ARC_ConsoleKey_Create(), ARC_ConsoleKeyType::key, ARC_ConsoleView::window, ARC_Point::x, and ARC_Point::y.

- -
-
- -

◆ ARC_ConsoleView_GetElement()

- -
-
- - - - - - - - - - - -
ARC_ConsoleElement * ARC_ConsoleView_GetElement (ARC_ConsoleView * view,
uint32_t index )
-
- -

adds an ARC_ConsoleElement to the ARC_ConsoleView type

-
Note
the elements position will be based on the ARC_ConsoleView which might mess up how it looks
-
Parameters
- - - -
view
index
-
-
- -

Definition at line 151 of file view.c.

-
151 {
-
152 return (ARC_ConsoleElement *)ARC_Vector_Get(view->elements, index);
-
153}
- -
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:153
-
-

References ARC_Vector_Get(), and ARC_ConsoleView::elements.

- -
-
- -

◆ ARC_ConsoleView_GetStringInput()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
ARC_String * ARC_ConsoleView_GetStringInput (ARC_ConsoleView * view,
ARC_Point pos,
ARC_ConsoleView_OverrideCharInputFn * overrideCharInputFn,
void * userdata )
-
- -

gets a ARC_String from the view at a position

-
Parameters
- - - - - -
viewthe ARC_ConsoleView to get the string from
posthe positiion to get the string at
overrideCharInputFna function to allow overriding what happens when inputing chars, can be NULL
userdatadata that a user can pass to use within the overrideCharInputFn
-
-
- -

Definition at line 174 of file view.c.

-
174 {
-
175 noecho();
-
176
-
177 uint32_t cstringSize = view->bounds.w - pos.x;
-
178 char cstring[view->bounds.w - pos.x];
-
179
- -
181 uint32_t index = 0;
-
182 while(temp.key != '\n'){
-
183 //store the last size to be able to clear efficeintly
-
184 uint32_t lastSize = index;
-
185
-
186 //if override function exists and it overrode the current char
-
187 if(overrideCharInputFn != NULL && (*overrideCharInputFn)(&temp, cstring, &index, cstringSize, userdata)){
-
188 for(uint32_t i = 0; i < lastSize; i++){
-
189 ARC_ConsoleView_RenderCharAt(view, ' ', (ARC_Point){ pos.x + i, pos.y });
-
190 }
-
191
-
192 for(uint32_t i = 0; i < index; i++){
-
193 ARC_ConsoleView_RenderCharAt(view, cstring[i], (ARC_Point){ pos.x + i, pos.y });
-
194 }
-
195
-
196 temp = ARC_ConsoleView_GetConsoleKeyAt(view, (ARC_Point){ pos.x + index, pos.y });
-
197 continue;
-
198 }
-
199
-
200 if(temp.key == KEY_BACKSPACE || temp.key == KEY_DC || temp.key == 127){
-
201 if(index == 0){
-
202 temp = ARC_ConsoleView_GetConsoleKeyAt(view, (ARC_Point){ pos.x + index, pos.y });
-
203 continue;
-
204 }
-
205
-
206 index--;
-
207 ARC_ConsoleView_RenderCharAt(view, ' ', (ARC_Point){ pos.x + index, pos.y });
-
208 cstring[index] = '\0';
-
209 temp = ARC_ConsoleView_GetConsoleKeyAt(view, (ARC_Point){ pos.x + index, pos.y });
-
210 continue;
-
211 }
-
212
-
213 if(index < (view->bounds.w - 1) - pos.x){
-
214 ARC_ConsoleView_RenderCharAt(view, (char)(temp.key), (ARC_Point){ pos.x + index, pos.y });
-
215 cstring[index] = (char)(temp.key);
-
216 index++;
-
217 }
-
218
-
219 temp = ARC_ConsoleView_GetConsoleKeyAt(view, (ARC_Point){ pos.x + index, pos.y });
-
220 }
-
221
-
222 if(view->echo){
-
223 echo();
-
224 }
-
225
-
226 if(index == 0){
-
227 return NULL;
-
228 }
-
229
-
230 ARC_String *string;
-
231 ARC_String_Create(&string, cstring, index);
-
232 return string;
-
233}
-
void ARC_ConsoleView_RenderCharAt(ARC_ConsoleView *view, char character, ARC_Point pos)
Definition view.c:89
-
ARC_ConsoleKey ARC_ConsoleView_GetConsoleKeyAt(ARC_ConsoleView *view, ARC_Point pos)
gets a console key from the view at a position
Definition view.c:163
-
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
-
ARC_Bool echo
Definition view.c:18
- -
substring position within a string
Definition string.h:14
-
-

References ARC_ConsoleView_GetConsoleKeyAt(), ARC_ConsoleView_RenderCharAt(), ARC_String_Create(), ARC_ConsoleView::bounds, ARC_ConsoleView::echo, ARC_ConsoleKeyType::key, ARC_Rect::w, ARC_Point::x, and ARC_Point::y.

- -
-
- -

◆ ARC_ConsoleView_RemoveElement()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleView_RemoveElement (ARC_ConsoleView * view,
uint32_t index )
-
-
Parameters
- - - -
view
index
-
-
- -

Definition at line 80 of file view.c.

-
80 {
-
81 ARC_Vector_RemoveIndex(view->elements, index);
-
82}
-
void ARC_Vector_RemoveIndex(ARC_Vector *vector, uint32_t index)
removes an item from an ARC_Vector at an index
Definition vector.c:110
-
-

References ARC_Vector_RemoveIndex(), and ARC_ConsoleView::elements.

- -
-
- -

◆ ARC_ConsoleView_RenderCharAt()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConsoleView_RenderCharAt (ARC_ConsoleView * view,
char character,
ARC_Point pos )
-
-
Parameters
- - - - -
view
character
pos
-
-
- -

Definition at line 89 of file view.c.

-
89 {
-
90 mvwprintw(view->window, pos.y, pos.x, "%c", character);
-
91 wrefresh(view->window);
-
92}
-
-

References ARC_ConsoleView::window, ARC_Point::x, and ARC_Point::y.

- -

Referenced by ARC_ConsoleView_GetStringInput().

- -
-
- -

◆ ARC_ConsoleView_RenderCStringWithStrlenAt()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConsoleView_RenderCStringWithStrlenAt (ARC_ConsoleView * view,
char * cstr,
ARC_Point pos )
-
-
Parameters
- - - - -
view
text
pos
-
-
- -

Definition at line 114 of file view.c.

-
114 {
-
115 mvwprintw(view->window, pos.y, pos.x, "%s", cstr);
-
116 wrefresh(view->window);
-
117}
-
-

References ARC_ConsoleView::window, ARC_Point::x, and ARC_Point::y.

- -
-
- -

◆ ARC_ConsoleView_RenderElements()

- -
-
- - - - - - - -
void ARC_ConsoleView_RenderElements (ARC_ConsoleView * view)
-
-
Parameters
- - -
view
-
-
- -

Definition at line 139 of file view.c.

-
139 {
-
140 for(uint32_t i = 0; i < ARC_Vector_Size(view->elements); i++){
- -
142 element->renderFn(view, element);
-
143 wrefresh(view->window);
-
144 }
-
145}
-
ARC_ConsoleElement_RenderFn renderFn
Definition element.h:34
-
-

References ARC_Vector_Get(), ARC_ConsoleView::elements, ARC_ConsoleElement::renderFn, and ARC_ConsoleView::window.

- -
-
- -

◆ ARC_ConsoleView_RenderKeyAt()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConsoleView_RenderKeyAt (ARC_ConsoleView * view,
ARC_ConsoleKey key,
ARC_Point pos )
-
-
Parameters
- - - - -
view
key
pos
-
-
- -

Definition at line 99 of file view.c.

-
99 {
-
100 mvwprintw(view->window, pos.y, pos.x, "%c", (char)key.key);
-
101 wrefresh(view->window);
-
102}
-
-

References ARC_ConsoleKeyType::key, ARC_ConsoleView::window, ARC_Point::x, and ARC_Point::y.

- -
-
- -

◆ ARC_ConsoleView_RenderRect()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleView_RenderRect (ARC_ConsoleView * view,
ARC_Rect bounds )
-
-
Parameters
- - - -
view
bounds
-
-
- -

Definition at line 119 of file view.c.

-
119 {
-
120 //render corners
-
121 ARC_ConsoleView_RenderWCharAt(view, L'┌', (ARC_Point){ bounds.x, bounds.y });
-
122 ARC_ConsoleView_RenderWCharAt(view, L'└', (ARC_Point){ bounds.x, (bounds.h - 1) + bounds.y });
-
123 ARC_ConsoleView_RenderWCharAt(view, L'┐', (ARC_Point){ (bounds.w - 1) + bounds.x, bounds.y });
-
124 ARC_ConsoleView_RenderWCharAt(view, L'┘', (ARC_Point){ (bounds.w - 1) + bounds.x, (bounds.h - 1) + bounds.y });
-
125
-
126 //render virticle lines
-
127 for(int32_t x = 1; x < bounds.w - 1; x++){
-
128 ARC_ConsoleView_RenderWCharAt(view, L'─', (ARC_Point){ bounds.x + x, bounds.y });
-
129 ARC_ConsoleView_RenderWCharAt(view, L'─', (ARC_Point){ bounds.x + x, (bounds.h - 1) + bounds.y });
-
130 }
-
131
-
132 //render horizontal lines
-
133 for(int32_t y = 1; y < bounds.h - 1; y++){
-
134 ARC_ConsoleView_RenderWCharAt(view, L'│', (ARC_Point){ bounds.x, bounds.y + y });
-
135 ARC_ConsoleView_RenderWCharAt(view, L'│', (ARC_Point){ (bounds.w - 1) + bounds.x, bounds.y + y });
-
136 }
-
137}
-
void ARC_ConsoleView_RenderWCharAt(ARC_ConsoleView *view, wchar_t character, ARC_Point pos)
Definition view.c:94
-
-

References ARC_ConsoleView_RenderWCharAt(), ARC_Rect::h, ARC_Rect::w, ARC_Rect::x, and ARC_Rect::y.

- -
-
- -

◆ ARC_ConsoleView_RenderStringAt()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConsoleView_RenderStringAt (ARC_ConsoleView * view,
ARC_String * text,
ARC_Point pos )
-
-
Parameters
- - - - -
view
text
pos
-
-
- -

Definition at line 109 of file view.c.

-
109 {
-
110 mvwprintw(view->window, pos.y, pos.x, "%s", text->data);
-
111 wrefresh(view->window);
-
112}
-
char * data
Definition string.h:15
-
-

References ARC_String::data, ARC_ConsoleView::window, ARC_Point::x, and ARC_Point::y.

- -

Referenced by ARC_ConsoleBuffer_Render(), ARC_ConsoleBuffer_RenderSection(), and ARC_ConsoleElement_DefaultRenderFn().

- -
-
- -

◆ ARC_ConsoleView_RenderUint32At()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConsoleView_RenderUint32At (ARC_ConsoleView * view,
uint32_t uint32,
ARC_Point pos )
-
-
Parameters
- - - - -
view
uint32
pos
-
-
- -

Definition at line 104 of file view.c.

-
104 {
-
105 mvwprintw(view->window, pos.y, pos.x, "%d", uint32);
-
106 wrefresh(view->window);
-
107}
-
-

References ARC_ConsoleView::window, ARC_Point::x, and ARC_Point::y.

- -
-
- -

◆ ARC_ConsoleView_RenderWCharAt()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConsoleView_RenderWCharAt (ARC_ConsoleView * view,
wchar_t character,
ARC_Point pos )
-
-
Parameters
- - - - -
view
character
pos
-
-
- -

Definition at line 94 of file view.c.

-
94 {
-
95 mvwprintw(view->window, pos.y, pos.x, "%lc", character);
-
96 wrefresh(view->window);
-
97}
-
-

References ARC_ConsoleView::window, ARC_Point::x, and ARC_Point::y.

- -

Referenced by ARC_ConsoleView_RenderRect().

- -
-
- -

◆ ARC_ConsoleView_SetAttribute()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleView_SetAttribute (ARC_ConsoleView * view,
uint32_t attribute )
-
- -

sets a border on the ARC_ConsoleView

-
Parameters
- - - -
viewARC_ConsoleView to set border to
borderThe border to set
-
-
- -

Definition at line 259 of file view.c.

-
259 {
-
260 switch(attribute){
- -
262 wattroff(view->window, A_REVERSE);
-
263 break;
- -
265 wattron(view->window, A_REVERSE);
-
266 break;
-
267 }
-
268}
-
#define ARC_CONSOLE_VIEW_ATTRIBUTE_REVERSE
Definition view.h:253
-
#define ARC_CONSOLE_VIEW_ATTRIBUTE_NONE
border options
Definition view.h:252
-
-

References ARC_CONSOLE_VIEW_ATTRIBUTE_NONE, ARC_CONSOLE_VIEW_ATTRIBUTE_REVERSE, and ARC_ConsoleView::window.

- -

Referenced by ARC_ConsoleElement_DefaultRenderFn().

- -
-
- -

◆ ARC_ConsoleView_SetBorder()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleView_SetBorder (ARC_ConsoleView * view,
uint32_t border )
-
- -

sets a border on the ARC_ConsoleView

-
Parameters
- - - -
viewARC_ConsoleView to set border to
borderThe border to set
-
-
- -

Definition at line 246 of file view.c.

-
246 {
-
247 switch(border){
- -
249 wborder(view->window, ' ', ' ', ' ',' ',' ',' ',' ',' ');
-
250 break;
- -
252 box(view->window, 0, 0);
-
253 break;
-
254 }
-
255
-
256 wrefresh(view->window);
-
257}
-
#define ARC_CONSOLE_VIEW_BORDER_NONE
border options
Definition view.h:238
-
#define ARC_CONSOLE_VIEW_BORDER_DEFAULT
Definition view.h:239
-
-

References ARC_CONSOLE_VIEW_BORDER_DEFAULT, ARC_CONSOLE_VIEW_BORDER_NONE, and ARC_ConsoleView::window.

- -
-
- -

◆ ARC_ConsoleView_SetCursorVisibility()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleView_SetCursorVisibility (ARC_ConsoleView * view,
uint8_t visibility )
-
- -

sets a visibility of the cursor with an ARC_ConsoleView

-
Parameters
- - - -
viewARC_ConsoleView to set mouse visibility
visibilitythe visibility to set
-
-
- -

Definition at line 235 of file view.c.

-
235 {
-
236 switch(visibility){
- -
238 curs_set(0);
-
239 break;
- -
241 curs_set(1);
-
242 break;
-
243 }
-
244}
-
#define ARC_CONSOLE_VIEW_CURSOR_HIDDEN
mouse options
Definition view.h:224
-
#define ARC_CONSOLE_VIEW_CURSOR_VISIBLE
Definition view.h:225
-
-

References ARC_CONSOLE_VIEW_CURSOR_HIDDEN, and ARC_CONSOLE_VIEW_CURSOR_VISIBLE.

- -
-
-

Variable Documentation

- -

◆ arc_ncurses_win_size

- -
-
- - - - -
uint8_t arc_ncurses_win_size = 0
-
- -

Definition at line 13 of file view.c.

- -

Referenced by ARC_ConsoleView_Create(), and ARC_ConsoleView_Destroy().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d0/da4/console_2ncurses_2view_8c.js b/doc/doxygen/html/d0/da4/console_2ncurses_2view_8c.js deleted file mode 100644 index 7d322f4..0000000 --- a/doc/doxygen/html/d0/da4/console_2ncurses_2view_8c.js +++ /dev/null @@ -1,28 +0,0 @@ -var console_2ncurses_2view_8c = -[ - [ "ARC_ConsoleView", "d1/d4a/structARC__ConsoleView.html", "d1/d4a/structARC__ConsoleView" ], - [ "ARC_ConsoleView_AddElement", "d0/da4/console_2ncurses_2view_8c.html#acddd6c7caef3022824080453f8ea7c22", null ], - [ "ARC_ConsoleView_Clear", "d0/da4/console_2ncurses_2view_8c.html#af8bbe9829fe2173ad9e86bbd589a4745", null ], - [ "ARC_ConsoleView_Create", "d0/da4/console_2ncurses_2view_8c.html#a583e081c182900d229c2554c5cb28c8a", null ], - [ "ARC_ConsoleView_Destroy", "d0/da4/console_2ncurses_2view_8c.html#a5636a3e911a96fc0c8c5c79c0bb4b7e7", null ], - [ "ARC_ConsoleView_GetBounds", "d0/da4/console_2ncurses_2view_8c.html#a4aa93749156b5ef949037cd15ba32054", null ], - [ "ARC_ConsoleView_GetChar", "d0/da4/console_2ncurses_2view_8c.html#a07468b6b5ca4a719562a2b9288897f66", null ], - [ "ARC_ConsoleView_GetCharAt", "d0/da4/console_2ncurses_2view_8c.html#ab790935bce37a8c749cdeb4c3d9334d3", null ], - [ "ARC_ConsoleView_GetConsoleKeyAt", "d0/da4/console_2ncurses_2view_8c.html#a7416cd9008f389952f22c3f80b0fcda0", null ], - [ "ARC_ConsoleView_GetCreateConsoleKeyAt", "d0/da4/console_2ncurses_2view_8c.html#aaf3208692988dc533a0e123a2d94482e", null ], - [ "ARC_ConsoleView_GetElement", "d0/da4/console_2ncurses_2view_8c.html#acecfdaaa4c95a98fe5d6926cfdcc68e2", null ], - [ "ARC_ConsoleView_GetStringInput", "d0/da4/console_2ncurses_2view_8c.html#a142f7b184c21ddab974367baac6ae09a", null ], - [ "ARC_ConsoleView_RemoveElement", "d0/da4/console_2ncurses_2view_8c.html#ab16135af58f6b7eb7d425428d63605ab", null ], - [ "ARC_ConsoleView_RenderCharAt", "d0/da4/console_2ncurses_2view_8c.html#a6b5049ee8fcd713321fe98f8168bd6f3", null ], - [ "ARC_ConsoleView_RenderCStringWithStrlenAt", "d0/da4/console_2ncurses_2view_8c.html#a135b991e7764e9f771b9e8ea32d91502", null ], - [ "ARC_ConsoleView_RenderElements", "d0/da4/console_2ncurses_2view_8c.html#a16ef2179ab56e0107e80eef8c5d216d0", null ], - [ "ARC_ConsoleView_RenderKeyAt", "d0/da4/console_2ncurses_2view_8c.html#a2f28e93c0515ebb2e3b4a40c8600027f", null ], - [ "ARC_ConsoleView_RenderRect", "d0/da4/console_2ncurses_2view_8c.html#af5f8bc0a9f61160a1363d5d2f47f68e3", null ], - [ "ARC_ConsoleView_RenderStringAt", "d0/da4/console_2ncurses_2view_8c.html#a06c57f7eb1c0f950ddff17fab8278b34", null ], - [ "ARC_ConsoleView_RenderUint32At", "d0/da4/console_2ncurses_2view_8c.html#a4c959aded7e41feb0b34c9e24c192b1e", null ], - [ "ARC_ConsoleView_RenderWCharAt", "d0/da4/console_2ncurses_2view_8c.html#aac7cb2d64cbee2251875664689a553fe", null ], - [ "ARC_ConsoleView_SetAttribute", "d0/da4/console_2ncurses_2view_8c.html#add7a787887ba24554bfb8b454e79f8e1", null ], - [ "ARC_ConsoleView_SetBorder", "d0/da4/console_2ncurses_2view_8c.html#a9ee59e09b9deaa860e7279847ec5d6d0", null ], - [ "ARC_ConsoleView_SetCursorVisibility", "d0/da4/console_2ncurses_2view_8c.html#abba924acf2b89b9ec00e5efcd2ebc1bd", null ], - [ "arc_ncurses_win_size", "d0/da4/console_2ncurses_2view_8c.html#a0a8ba89aefb6e579f685d3c1ea3911e6", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d0/da4/console_2ncurses_2view_8c_source.html b/doc/doxygen/html/d0/da4/console_2ncurses_2view_8c_source.html deleted file mode 100644 index f0b65e5..0000000 --- a/doc/doxygen/html/d0/da4/console_2ncurses_2view_8c_source.html +++ /dev/null @@ -1,512 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/console/ncurses/view.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
view.c
-
-
-Go to the documentation of this file.
1#include "arc/console/view.h"
-
2
-
3#include "key.h"
- -
5#include "arc/std/bool.h"
-
6#include "arc/std/errno.h"
-
7#include "arc/std/vector.h"
-
8#include "arc/std/string.h"
-
9#include <locale.h>
-
10#include <ncurses.h>
-
11#include <stdlib.h>
-
12
- -
14
- -
22
-
- -
24 if(arc_ncurses_win_size == ~(uint8_t)0){
- -
26 ARC_DEBUG_ERR("ARC_NCurses_Create(ncurses), max num of ARC_NCurses have been created, consider making arc_ncurses_win_size a uint32_t to increase the max");
-
27 *view = NULL;
-
28 return;
-
29 }
-
30
-
31 //if this is the first ncurses, init ncurses
-
32 if(arc_ncurses_win_size == 0){
-
33 setlocale(LC_ALL, "");
-
34 initscr();
-
35 //start_color();
-
36 cbreak();
-
37 keypad(stdscr, TRUE);
-
38 refresh();
-
39 }
-
40
-
41 *view = (ARC_ConsoleView *)malloc(sizeof(ARC_ConsoleView));
-
42
-
43 ARC_Rect viewBounds = { 0, 0, COLS, LINES };
-
44 if(bounds.w != 0 && bounds.h != 0){
-
45 viewBounds = bounds;
-
46 }
-
47
-
48 (*view)->window = newwin(viewBounds.h, viewBounds.w, viewBounds.y, viewBounds.x);
-
49 (*view)->bounds = viewBounds;
-
50
-
51 keypad((*view)->window, TRUE);
-
52
-
53 noecho();
-
54 (*view)->echo = false;
-
55
-
56 ARC_Vector_Create(&(*view)->elements);
-
57
-
58 wrefresh((*view)->window);
-
59
- -
61}
-
-
62
-
- - -
65
- -
67
-
68 delwin(ncurses->window);
-
69 free(ncurses);
-
70
-
71 if(arc_ncurses_win_size == 0){
-
72 endwin();
-
73 }
-
74}
-
-
75
-
- -
77 ARC_Vector_Add(view->elements, (void *)element);
-
78}
-
-
79
-
- -
81 ARC_Vector_RemoveIndex(view->elements, index);
-
82}
-
-
83
-
- -
85 wclear(view->window);
-
86 wrefresh(view->window);
-
87}
-
-
88
-
- -
90 mvwprintw(view->window, pos.y, pos.x, "%c", character);
-
91 wrefresh(view->window);
-
92}
-
-
93
-
-
94void ARC_ConsoleView_RenderWCharAt(ARC_ConsoleView *view, wchar_t character, ARC_Point pos){
-
95 mvwprintw(view->window, pos.y, pos.x, "%lc", character);
-
96 wrefresh(view->window);
-
97}
-
-
98
-
- -
100 mvwprintw(view->window, pos.y, pos.x, "%c", (char)key.key);
-
101 wrefresh(view->window);
-
102}
-
-
103
-
- -
105 mvwprintw(view->window, pos.y, pos.x, "%d", uint32);
-
106 wrefresh(view->window);
-
107}
-
-
108
-
- -
110 mvwprintw(view->window, pos.y, pos.x, "%s", text->data);
-
111 wrefresh(view->window);
-
112}
-
-
113
-
- -
115 mvwprintw(view->window, pos.y, pos.x, "%s", cstr);
-
116 wrefresh(view->window);
-
117}
-
-
118
-
- -
120 //render corners
-
121 ARC_ConsoleView_RenderWCharAt(view, L'┌', (ARC_Point){ bounds.x, bounds.y });
-
122 ARC_ConsoleView_RenderWCharAt(view, L'└', (ARC_Point){ bounds.x, (bounds.h - 1) + bounds.y });
-
123 ARC_ConsoleView_RenderWCharAt(view, L'┐', (ARC_Point){ (bounds.w - 1) + bounds.x, bounds.y });
-
124 ARC_ConsoleView_RenderWCharAt(view, L'┘', (ARC_Point){ (bounds.w - 1) + bounds.x, (bounds.h - 1) + bounds.y });
-
125
-
126 //render virticle lines
-
127 for(int32_t x = 1; x < bounds.w - 1; x++){
-
128 ARC_ConsoleView_RenderWCharAt(view, L'─', (ARC_Point){ bounds.x + x, bounds.y });
-
129 ARC_ConsoleView_RenderWCharAt(view, L'─', (ARC_Point){ bounds.x + x, (bounds.h - 1) + bounds.y });
-
130 }
-
131
-
132 //render horizontal lines
-
133 for(int32_t y = 1; y < bounds.h - 1; y++){
-
134 ARC_ConsoleView_RenderWCharAt(view, L'│', (ARC_Point){ bounds.x, bounds.y + y });
-
135 ARC_ConsoleView_RenderWCharAt(view, L'│', (ARC_Point){ (bounds.w - 1) + bounds.x, bounds.y + y });
-
136 }
-
137}
-
-
138
-
- -
140 for(uint32_t i = 0; i < ARC_Vector_Size(view->elements); i++){
- -
142 element->renderFn(view, element);
-
143 wrefresh(view->window);
-
144 }
-
145}
-
-
146
-
- -
148 return view->bounds;
-
149}
-
-
150
-
- -
152 return (ARC_ConsoleElement *)ARC_Vector_Get(view->elements, index);
-
153}
-
-
154
-
- -
156 return wgetch(view->window);
-
157}
-
-
158
-
- -
160 return mvwgetch(view->window, pos.y, pos.x);
-
161}
-
-
162
-
- -
164 return (ARC_ConsoleKey){ mvwgetch(view->window, pos.y, pos.x) };
-
165}
-
-
166
-
- -
168 ARC_ConsoleKey *key;
-
169 ARC_ConsoleKey_Create(&key, NULL);
-
170 key->key = mvwgetch(view->window, pos.y, pos.x);
-
171 return key;
-
172}
-
-
173
-
- -
175 noecho();
-
176
-
177 uint32_t cstringSize = view->bounds.w - pos.x;
-
178 char cstring[view->bounds.w - pos.x];
-
179
- -
181 uint32_t index = 0;
-
182 while(temp.key != '\n'){
-
183 //store the last size to be able to clear efficeintly
-
184 uint32_t lastSize = index;
-
185
-
186 //if override function exists and it overrode the current char
-
187 if(overrideCharInputFn != NULL && (*overrideCharInputFn)(&temp, cstring, &index, cstringSize, userdata)){
-
188 for(uint32_t i = 0; i < lastSize; i++){
-
189 ARC_ConsoleView_RenderCharAt(view, ' ', (ARC_Point){ pos.x + i, pos.y });
-
190 }
-
191
-
192 for(uint32_t i = 0; i < index; i++){
-
193 ARC_ConsoleView_RenderCharAt(view, cstring[i], (ARC_Point){ pos.x + i, pos.y });
-
194 }
-
195
-
196 temp = ARC_ConsoleView_GetConsoleKeyAt(view, (ARC_Point){ pos.x + index, pos.y });
-
197 continue;
-
198 }
-
199
-
200 if(temp.key == KEY_BACKSPACE || temp.key == KEY_DC || temp.key == 127){
-
201 if(index == 0){
-
202 temp = ARC_ConsoleView_GetConsoleKeyAt(view, (ARC_Point){ pos.x + index, pos.y });
-
203 continue;
-
204 }
-
205
-
206 index--;
-
207 ARC_ConsoleView_RenderCharAt(view, ' ', (ARC_Point){ pos.x + index, pos.y });
-
208 cstring[index] = '\0';
-
209 temp = ARC_ConsoleView_GetConsoleKeyAt(view, (ARC_Point){ pos.x + index, pos.y });
-
210 continue;
-
211 }
-
212
-
213 if(index < (view->bounds.w - 1) - pos.x){
-
214 ARC_ConsoleView_RenderCharAt(view, (char)(temp.key), (ARC_Point){ pos.x + index, pos.y });
-
215 cstring[index] = (char)(temp.key);
-
216 index++;
-
217 }
-
218
-
219 temp = ARC_ConsoleView_GetConsoleKeyAt(view, (ARC_Point){ pos.x + index, pos.y });
-
220 }
-
221
-
222 if(view->echo){
-
223 echo();
-
224 }
-
225
-
226 if(index == 0){
-
227 return NULL;
-
228 }
-
229
-
230 ARC_String *string;
-
231 ARC_String_Create(&string, cstring, index);
-
232 return string;
-
233}
-
-
234
-
- -
236 switch(visibility){
- -
238 curs_set(0);
-
239 break;
- -
241 curs_set(1);
-
242 break;
-
243 }
-
244}
-
-
245
-
-
246void ARC_ConsoleView_SetBorder(ARC_ConsoleView *view, uint32_t border){
-
247 switch(border){
- -
249 wborder(view->window, ' ', ' ', ' ',' ',' ',' ',' ',' ');
-
250 break;
- -
252 box(view->window, 0, 0);
-
253 break;
-
254 }
-
255
-
256 wrefresh(view->window);
-
257}
-
-
258
-
-
259void ARC_ConsoleView_SetAttribute(ARC_ConsoleView *view, uint32_t attribute){
-
260 switch(attribute){
- -
262 wattroff(view->window, A_REVERSE);
-
263 break;
- -
265 wattron(view->window, A_REVERSE);
-
266 break;
-
267 }
-
268}
-
- -
#define ARC_Bool
Definition bool.h:10
-
void ARC_ConsoleView_RenderStringAt(ARC_ConsoleView *view, ARC_String *text, ARC_Point pos)
Definition view.c:109
-
char ARC_ConsoleView_GetChar(ARC_ConsoleView *view)
gets a char from the view
Definition view.c:155
-
uint8_t arc_ncurses_win_size
Definition view.c:13
-
void ARC_ConsoleView_RenderCStringWithStrlenAt(ARC_ConsoleView *view, char *cstr, ARC_Point pos)
Definition view.c:114
-
ARC_String * ARC_ConsoleView_GetStringInput(ARC_ConsoleView *view, ARC_Point pos, ARC_ConsoleView_OverrideCharInputFn *overrideCharInputFn, void *userdata)
gets a ARC_String from the view at a position
Definition view.c:174
-
void ARC_ConsoleView_RenderElements(ARC_ConsoleView *view)
Definition view.c:139
-
void ARC_ConsoleView_RenderKeyAt(ARC_ConsoleView *view, ARC_ConsoleKey key, ARC_Point pos)
Definition view.c:99
-
ARC_Rect ARC_ConsoleView_GetBounds(ARC_ConsoleView *view)
gets the bounds of an ARC_ConsoleView
Definition view.c:147
-
void ARC_ConsoleView_RenderUint32At(ARC_ConsoleView *view, uint32_t uint32, ARC_Point pos)
Definition view.c:104
-
void ARC_ConsoleView_Destroy(ARC_ConsoleView *ncurses)
destroys ARC_ConsoleView type
Definition view.c:63
-
void ARC_ConsoleView_Create(ARC_ConsoleView **view, ARC_Rect bounds)
creates ARC_ConsoleView type
Definition view.c:23
-
void ARC_ConsoleView_RenderCharAt(ARC_ConsoleView *view, char character, ARC_Point pos)
Definition view.c:89
-
ARC_ConsoleKey ARC_ConsoleView_GetConsoleKeyAt(ARC_ConsoleView *view, ARC_Point pos)
gets a console key from the view at a position
Definition view.c:163
-
void ARC_ConsoleView_SetBorder(ARC_ConsoleView *view, uint32_t border)
sets a border on the ARC_ConsoleView
Definition view.c:246
-
void ARC_ConsoleView_RenderWCharAt(ARC_ConsoleView *view, wchar_t character, ARC_Point pos)
Definition view.c:94
-
ARC_ConsoleKey * ARC_ConsoleView_GetCreateConsoleKeyAt(ARC_ConsoleView *view, ARC_Point pos)
gets and creates a console key from the view at a position
Definition view.c:167
-
void ARC_ConsoleView_RemoveElement(ARC_ConsoleView *view, uint32_t index)
Definition view.c:80
-
char ARC_ConsoleView_GetCharAt(ARC_ConsoleView *view, ARC_Point pos)
gets a char from the view at a position
Definition view.c:159
-
void ARC_ConsoleView_SetCursorVisibility(ARC_ConsoleView *view, uint8_t visibility)
sets a visibility of the cursor with an ARC_ConsoleView
Definition view.c:235
-
void ARC_ConsoleView_AddElement(ARC_ConsoleView *view, ARC_ConsoleElement *element)
adds an ARC_ConsoleElement to the ARC_ConsoleView type
Definition view.c:76
-
ARC_ConsoleElement * ARC_ConsoleView_GetElement(ARC_ConsoleView *view, uint32_t index)
adds an ARC_ConsoleElement to the ARC_ConsoleView type
Definition view.c:151
-
void ARC_ConsoleView_SetAttribute(ARC_ConsoleView *view, uint32_t attribute)
sets a border on the ARC_ConsoleView
Definition view.c:259
-
void ARC_ConsoleView_RenderRect(ARC_ConsoleView *view, ARC_Rect bounds)
Definition view.c:119
-
void ARC_ConsoleView_Clear(ARC_ConsoleView *view)
Definition view.c:84
- -
#define ARC_CONSOLE_VIEW_BORDER_NONE
border options
Definition view.h:238
-
#define ARC_CONSOLE_VIEW_CURSOR_HIDDEN
mouse options
Definition view.h:224
-
#define ARC_CONSOLE_VIEW_CURSOR_VISIBLE
Definition view.h:225
-
#define ARC_CONSOLE_VIEW_BORDER_DEFAULT
Definition view.h:239
-
#define ARC_CONSOLE_VIEW_ATTRIBUTE_REVERSE
Definition view.h:253
-
#define ARC_CONSOLE_VIEW_ATTRIBUTE_NONE
border options
Definition view.h:252
-
ARC_Bool(* ARC_ConsoleView_OverrideCharInputFn)(ARC_ConsoleKey *key, char *inputCStr, uint32_t *inputSize, uint32_t maxInputSize, void *userdata)
callback to check char being read in and override functionality
Definition view.h:209
- - -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_OVERFLOW
Definition errno.h:10
-
void ARC_ConsoleKey_Create(ARC_ConsoleKey **consoleKey, ARC_ConsoleKey_Key *key)
Definition key.c:7
- - -
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
- -
ARC_ConsoleElement_RenderFn renderFn
Definition element.h:34
- -
int32_t key
Definition key.h:12
- -
ARC_Vector * elements
Definition view.c:20
-
ARC_Bool echo
Definition view.c:18
-
ARC_Rect bounds
Definition view.c:17
-
WINDOW * window
Definition view.c:16
- -
int32_t y
Definition point.h:12
-
int32_t x
Definition point.h:11
- -
int32_t x
Definition rectangle.h:13
-
int32_t w
Definition rectangle.h:15
-
int32_t y
Definition rectangle.h:14
-
int32_t h
Definition rectangle.h:16
-
substring position within a string
Definition string.h:14
-
char * data
Definition string.h:15
-
a private dynamic array type
Definition vector.c:12
- -
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:153
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:70
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:54
-
void ARC_Vector_RemoveIndex(ARC_Vector *vector, uint32_t index)
removes an item from an ARC_Vector at an index
Definition vector.c:110
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:31
-
-
- - - - - - diff --git a/doc/doxygen/html/d0/db1/page1.html b/doc/doxygen/html/d0/db1/page1.html deleted file mode 100644 index c67af9c..0000000 --- a/doc/doxygen/html/d0/db1/page1.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - -Archeus: Example Page - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Example Page
-
-
-

Table of Contents

- -
-

Leading text.

-

-An example section

-

This page contains the subsections The first subsection and The second subsection.

-

-The first subsection

-

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

-

-The second subsection

-

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

-
Note
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d0/db4/tests_8dir_2src_2std_2defaults_2config_8c_8o_8d.html b/doc/doxygen/html/d0/db4/tests_8dir_2src_2std_2defaults_2config_8c_8o_8d.html deleted file mode 100644 index b34ce8a..0000000 --- a/doc/doxygen/html/d0/db4/tests_8dir_2src_2std_2defaults_2config_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/defaults/config.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d0/db4/tests_8dir_2src_2std_2defaults_2config_8c_8o_8d_source.html b/doc/doxygen/html/d0/db4/tests_8dir_2src_2std_2defaults_2config_8c_8o_8d_source.html deleted file mode 100644 index e3cdf51..0000000 --- a/doc/doxygen/html/d0/db4/tests_8dir_2src_2std_2defaults_2config_8c_8o_8d_source.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/defaults/config.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/std/defaults/config.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/defaults/config.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h \
-
15 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
16 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/std/defaults/config.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/std/array.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/std/config.h \
-
20 /home/herbglitch/programs/archeus/arc/include/arc/std/hashtable.h \
-
21 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
22 /home/herbglitch/programs/archeus/arc/include/arc/std/defaults/config.h \
-
23 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
24 /usr/include/stdio.h \
-
25 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
26 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
27 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
28 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
29 /usr/include/bits/types/cookie_io_functions_t.h \
-
30 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
31 /usr/include/bits/floatn-common.h /usr/include/stdlib.h \
-
32 /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
-
33 /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \
-
34 /usr/include/bits/types/clockid_t.h /usr/include/bits/types/time_t.h \
-
35 /usr/include/bits/types/timer_t.h /usr/include/endian.h \
-
36 /usr/include/bits/endian.h /usr/include/bits/endianness.h \
-
37 /usr/include/bits/byteswap.h /usr/include/bits/uintn-identity.h \
-
38 /usr/include/sys/select.h /usr/include/bits/select.h \
-
39 /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \
-
40 /usr/include/bits/types/struct_timeval.h \
-
41 /usr/include/bits/types/struct_timespec.h \
-
42 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
43 /usr/include/bits/pthreadtypes-arch.h \
-
44 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
45 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
46 /usr/include/bits/stdlib-float.h /usr/include/string.h \
-
47 /usr/include/bits/types/locale_t.h /usr/include/bits/types/__locale_t.h \
-
48 /usr/include/strings.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d0/dc1/archeus__std_8dir_2src_2math_2rectangle_8c_8o_8d.html b/doc/doxygen/html/d0/dc1/archeus__std_8dir_2src_2math_2rectangle_8c_8o_8d.html deleted file mode 100644 index 1afeac2..0000000 --- a/doc/doxygen/html/d0/dc1/archeus__std_8dir_2src_2math_2rectangle_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/math/rectangle.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
rectangle.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d0/dc1/archeus__std_8dir_2src_2math_2rectangle_8c_8o_8d_source.html b/doc/doxygen/html/d0/dc1/archeus__std_8dir_2src_2math_2rectangle_8c_8o_8d_source.html deleted file mode 100644 index 56aabce..0000000 --- a/doc/doxygen/html/d0/dc1/archeus__std_8dir_2src_2math_2rectangle_8c_8o_8d_source.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/math/rectangle.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
rectangle.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/math/rectangle.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/math/rectangle.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/math/rectangle.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h \
-
15 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/math/vector2.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d0/dc9/state_8c.html b/doc/doxygen/html/d0/dc9/state_8c.html deleted file mode 100644 index bd4f1b6..0000000 --- a/doc/doxygen/html/d0/dc9/state_8c.html +++ /dev/null @@ -1,192 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/engine/state.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
state.c File Reference
-
-
-
#include "arc/engine/state.h"
-#include <stddef.h>
-
-

Go to the source code of this file.

- - - - - - -

-Functions

void ARC_State_Update (void *data)
 
void ARC_State_Render (void *data)
 
-

Function Documentation

- -

◆ ARC_State_Render()

- -
-
- - - - - - - -
void ARC_State_Render (void * data)
-
- -

Definition at line 8 of file state.c.

-
8 {
-
9 ((ARC_State *)data)->renderFn(((ARC_State *)data)->data);
-
10}
- -
-

Referenced by ARC_Engine_RunUncapped().

- -
-
- -

◆ ARC_State_Update()

- -
-
- - - - - - - -
void ARC_State_Update (void * data)
-
- -

Definition at line 4 of file state.c.

-
4 {
-
5 ((ARC_State *)data)->updateFn(((ARC_State *)data)->data);
-
6}
-
-

Referenced by ARC_Engine_RunUncapped().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d0/dc9/state_8c.js b/doc/doxygen/html/d0/dc9/state_8c.js deleted file mode 100644 index b9d784a..0000000 --- a/doc/doxygen/html/d0/dc9/state_8c.js +++ /dev/null @@ -1,5 +0,0 @@ -var state_8c = -[ - [ "ARC_State_Render", "d0/dc9/state_8c.html#a1b23e5fee1f209b7e65f78fac82dd238", null ], - [ "ARC_State_Update", "d0/dc9/state_8c.html#a7fff169abbb4aaa5bb3f3b0e8b6f3785", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d0/dc9/state_8c_source.html b/doc/doxygen/html/d0/dc9/state_8c_source.html deleted file mode 100644 index 1fafbbd..0000000 --- a/doc/doxygen/html/d0/dc9/state_8c_source.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/engine/state.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
state.c
-
-
-Go to the documentation of this file.
1#include "arc/engine/state.h"
-
2#include <stddef.h>
-
3
-
-
4void ARC_State_Update(void *data){
-
5 ((ARC_State *)data)->updateFn(((ARC_State *)data)->data);
-
6}
-
-
7
-
-
8void ARC_State_Render(void *data){
-
9 ((ARC_State *)data)->renderFn(((ARC_State *)data)->data);
-
10}
-
-
void ARC_State_Render(void *data)
Definition state.c:8
-
void ARC_State_Update(void *data)
Definition state.c:4
- - -
-
- - - - - - diff --git a/doc/doxygen/html/d0/dd6/src_2graphics_2spritesheet_8c.html b/doc/doxygen/html/d0/dd6/src_2graphics_2spritesheet_8c.html deleted file mode 100644 index 8ab9c9a..0000000 --- a/doc/doxygen/html/d0/dd6/src_2graphics_2spritesheet_8c.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/spritesheet.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
spritesheet.c File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d0/dd6/src_2graphics_2spritesheet_8c_source.html b/doc/doxygen/html/d0/dd6/src_2graphics_2spritesheet_8c_source.html deleted file mode 100644 index ef1306f..0000000 --- a/doc/doxygen/html/d0/dd6/src_2graphics_2spritesheet_8c_source.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/spritesheet.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
spritesheet.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_GRAPHICS
-
2
- -
4#include "arc/math/point.h"
-
5#include <stdio.h>
-
6
-
7void ARC_Spritesheet_RenderArea(ARC_Spritesheet *spritesheet, ARC_Rect *sheetBounds, ARC_Renderer *renderer, ARC_Rect *renderBounds){
-
8 printf("No Graphics Backend Selected\n");
-
9}
-
10
- -
12 printf("No Graphics Backend Selected\n");
-
13 return (ARC_Point){ 0, 0 };
-
14}
-
15
-
16uint32_t *ARC_Spritesheet_GetTileSize(ARC_Spritesheet *spritesheet){
-
17 printf("No Graphics Backend Selected\n");
-
18 return NULL;
-
19}
-
20
-
21#endif // !ARC_NONE_GRAPHICS
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- -
uint32_t * ARC_Spritesheet_GetTileSize(ARC_Spritesheet *spritesheet)
Definition spritesheet.c:46
-
ARC_Point ARC_Spritesheet_GetSize(ARC_Spritesheet *spritesheet)
Definition spritesheet.c:40
-
void ARC_Spritesheet_RenderArea(ARC_Spritesheet *spritesheet, ARC_Rect *sheetBounds, ARC_Renderer *renderer, ARC_Rect *renderBounds)
Definition spritesheet.c:36
- - - - -
-
- - - - - - diff --git a/doc/doxygen/html/d1/d02/helpers_8c.html b/doc/doxygen/html/d1/d02/helpers_8c.html deleted file mode 100644 index 759ba04..0000000 --- a/doc/doxygen/html/d1/d02/helpers_8c.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/parser/helpers.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
helpers.c File Reference
-
-
-
#include "arc/std/parser/helpers.h"
-#include "arc/std/errno.h"
-
-

Go to the source code of this file.

- - - - - -

-Functions

void ARC_ParserData_HelperRecurseStringAdd (ARC_String **data, ARC_ParserTagToken *tagToken)
 recurses through a tag token adding token strings to a main string
 
-

Function Documentation

- -

◆ ARC_ParserData_HelperRecurseStringAdd()

- -
-
- - - - - - - - - - - -
void ARC_ParserData_HelperRecurseStringAdd (ARC_String ** data,
ARC_ParserTagToken * tagToken )
-
- -

recurses through a tag token adding token strings to a main string

-
Note
the string needs to be created otherwise this will break
-
-this will only add tokens that have data
-
Parameters
- - - -
[in/out]data
[in]tagTokenthe tag token to recurse through
-
-
- -

Definition at line 4 of file helpers.c.

-
4 {
-
5 if(*data == NULL){
- -
7 ARC_DEBUG_LOG_ERROR("ARC_ParserData_RecurseStringAdd(data, tagToken), string data was NULL");
-
8 return;
-
9 }
-
10
-
11 //only adds tokens with data (check the header for more information)
-
12 if(tagToken->token != NULL && tagToken->token->data != NULL){
-
13 ARC_String_Append(data, tagToken->token->data);
-
14 return;
-
15 }
-
16
-
17 //TODO: probs don't need this
-
18 if(tagToken->tagTokens == NULL){
-
19 return;
-
20 }
-
21
-
22 //recurse through all the tag tokens
-
23 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
- -
25 }
-
26}
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
void ARC_ParserData_HelperRecurseStringAdd(ARC_String **data, ARC_ParserTagToken *tagToken)
recurses through a tag token adding token strings to a main string
Definition helpers.c:4
-
void ARC_String_Append(ARC_String **string, ARC_String *append)
appends to an ARC_String with an ARC_String
Definition string.c:126
-
ARC_String * data
Definition lexer.h:20
-
a parser type used inside of the parser data create function
Definition parser.h:35
-
ARC_LexerToken * token
Definition parser.h:38
-
ARC_Vector * tagTokens
Definition parser.h:39
-
uint32_t ARC_Vector_GetSize(ARC_Vector *vector)
gets the current size of an ARC_Vector as an unsigned 32 bit integer
Definition vector.c:149
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:153
-
-

References ARC_DEBUG_LOG_ERROR, arc_errno, ARC_ERRNO_NULL, ARC_ParserData_HelperRecurseStringAdd(), ARC_String_Append(), ARC_Vector_Get(), ARC_Vector_GetSize(), ARC_LexerToken::data, ARC_ParserTagToken::tagTokens, and ARC_ParserTagToken::token.

- -

Referenced by ARC_ParserCSVData_GetDataTag(), ARC_ParserData_HelperRecurseStringAdd(), and TEST_ParserData_CreateStringFn().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/d02/helpers_8c.js b/doc/doxygen/html/d1/d02/helpers_8c.js deleted file mode 100644 index d935383..0000000 --- a/doc/doxygen/html/d1/d02/helpers_8c.js +++ /dev/null @@ -1,4 +0,0 @@ -var helpers_8c = -[ - [ "ARC_ParserData_HelperRecurseStringAdd", "d1/d02/helpers_8c.html#ab5c1f169c37491d2b5d85f3227e83d97", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d1/d02/helpers_8c_source.html b/doc/doxygen/html/d1/d02/helpers_8c_source.html deleted file mode 100644 index 90d7f87..0000000 --- a/doc/doxygen/html/d1/d02/helpers_8c_source.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/parser/helpers.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
helpers.c
-
-
-Go to the documentation of this file.
-
2#include "arc/std/errno.h"
-
3
-
- -
5 if(*data == NULL){
- -
7 ARC_DEBUG_LOG_ERROR("ARC_ParserData_RecurseStringAdd(data, tagToken), string data was NULL");
-
8 return;
-
9 }
-
10
-
11 //only adds tokens with data (check the header for more information)
-
12 if(tagToken->token != NULL && tagToken->token->data != NULL){
-
13 ARC_String_Append(data, tagToken->token->data);
-
14 return;
-
15 }
-
16
-
17 //TODO: probs don't need this
-
18 if(tagToken->tagTokens == NULL){
-
19 return;
-
20 }
-
21
-
22 //recurse through all the tag tokens
-
23 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
- -
25 }
-
26}
-
- -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
void ARC_ParserData_HelperRecurseStringAdd(ARC_String **data, ARC_ParserTagToken *tagToken)
recurses through a tag token adding token strings to a main string
Definition helpers.c:4
- -
void ARC_String_Append(ARC_String **string, ARC_String *append)
appends to an ARC_String with an ARC_String
Definition string.c:126
-
ARC_String * data
Definition lexer.h:20
-
a parser type used inside of the parser data create function
Definition parser.h:35
-
ARC_LexerToken * token
Definition parser.h:38
-
ARC_Vector * tagTokens
Definition parser.h:39
-
substring position within a string
Definition string.h:14
-
uint32_t ARC_Vector_GetSize(ARC_Vector *vector)
gets the current size of an ARC_Vector as an unsigned 32 bit integer
Definition vector.c:149
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:153
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/d03/vector2_8h.html b/doc/doxygen/html/d1/d03/vector2_8h.html deleted file mode 100644 index 29b9503..0000000 --- a/doc/doxygen/html/d1/d03/vector2_8h.html +++ /dev/null @@ -1,243 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/math/vector2.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
vector2.h File Reference
-
-
- -

Go to the source code of this file.

- - - - - - -

-Data Structures

struct  ARC_Vector2
 
struct  ARC_DVector2
 
- - - - - -

-Typedefs

typedef struct ARC_Vector2 ARC_Vector2
 
typedef struct ARC_DVector2 ARC_DVector2
 
- - - - - - - -

-Functions

void ARC_Vector2_Normalize (ARC_Vector2 *vector)
 normalizes a given ARC_Vector2
 
void ARC_Vector2_RotateDegree (ARC_Vector2 *vector, float angle)
 rotates a given ARC_Vector2 by a given angle in degrees
 
-

Typedef Documentation

- -

◆ ARC_DVector2

- -
-
- - - - -
typedef struct ARC_DVector2 ARC_DVector2
-
- -
-
- -

◆ ARC_Vector2

- -
-
- - - - -
typedef struct ARC_Vector2 ARC_Vector2
-
- -
-
-

Function Documentation

- -

◆ ARC_Vector2_Normalize()

- -
-
- - - - - - - -
void ARC_Vector2_Normalize (ARC_Vector2 * vector)
-
- -

normalizes a given ARC_Vector2

-
Parameters
- - -
vectorthe ARC_Vecotr2 to normallize
-
-
- -
-
- -

◆ ARC_Vector2_RotateDegree()

- -
-
- - - - - - - - - - - -
void ARC_Vector2_RotateDegree (ARC_Vector2 * vector,
float angle )
-
- -

rotates a given ARC_Vector2 by a given angle in degrees

-
Parameters
- - - -
vectorthe ARC_Vector2 to rotate
anglethe angle in degrees to rotate by
-
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/d03/vector2_8h.js b/doc/doxygen/html/d1/d03/vector2_8h.js deleted file mode 100644 index c6ad3c3..0000000 --- a/doc/doxygen/html/d1/d03/vector2_8h.js +++ /dev/null @@ -1,9 +0,0 @@ -var vector2_8h = -[ - [ "ARC_Vector2", "db/d86/structARC__Vector2.html", "db/d86/structARC__Vector2" ], - [ "ARC_DVector2", "d3/ddb/structARC__DVector2.html", "d3/ddb/structARC__DVector2" ], - [ "ARC_DVector2", "d1/d03/vector2_8h.html#a3a527e014d732ffba410bead5aab9eea", null ], - [ "ARC_Vector2", "d1/d03/vector2_8h.html#a72bc5bcc056b357b1f0bd08e36c72c59", null ], - [ "ARC_Vector2_Normalize", "d1/d03/vector2_8h.html#ad7827f08a4898d2b8358a407d52dfe9c", null ], - [ "ARC_Vector2_RotateDegree", "d1/d03/vector2_8h.html#a37b30084c8ebb416c5bbf621a7362e43", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d1/d03/vector2_8h_source.html b/doc/doxygen/html/d1/d03/vector2_8h_source.html deleted file mode 100644 index 14522c3..0000000 --- a/doc/doxygen/html/d1/d03/vector2_8h_source.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/math/vector2.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
vector2.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_MATH_VECTOR2_H_
-
2#define ARC_MATH_VECTOR2_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
-
8typedef struct ARC_Vector2 {
-
9 float x, y;
- -
-
11
-
-
12typedef struct ARC_DVector2 {
-
13 double x, y;
- -
-
15
-
16/**
-
17 * @brief normalizes a given ARC_Vector2
-
18 *
-
19 * @param vector the ARC_Vecotr2 to normallize
-
20*/
- -
22
-
23/**
-
24 * @brief rotates a given ARC_Vector2 by a given angle in degrees
-
25 *
-
26 * @param vector the ARC_Vector2 to rotate
-
27 * @param angle the angle in degrees to rotate by
-
28*/
-
29void ARC_Vector2_RotateDegree(ARC_Vector2 *vector, float angle);
-
30
-
31#ifdef __cplusplus
-
32}
-
33#endif
-
34
-
35#endif // ARC_MATH_VECTOR2_H_
- -
double y
Definition vector2.h:13
-
double x
Definition vector2.h:13
- -
float x
Definition vector2.h:9
-
float y
Definition vector2.h:9
-
void ARC_Vector2_RotateDegree(ARC_Vector2 *vector, float angle)
rotates a given ARC_Vector2 by a given angle in degrees
-
struct ARC_DVector2 ARC_DVector2
-
struct ARC_Vector2 ARC_Vector2
-
void ARC_Vector2_Normalize(ARC_Vector2 *vector)
normalizes a given ARC_Vector2
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/d06/input_8c.html b/doc/doxygen/html/d1/d06/input_8c.html deleted file mode 100644 index 775cad4..0000000 --- a/doc/doxygen/html/d1/d06/input_8c.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/input/input.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
- -
input.c File Reference
-
-
-
#include "arc/input/input.h"
-#include "arc/std/bool.h"
-#include <stdio.h>
-
-

Go to the source code of this file.

- - - - - - - - - - - - -

-Functions

void ARC_Input_CreateWithEngineData (ARC_Input **input, ARC_EngineData *data)
 
void ARC_Input_Destroy (ARC_Input *input)
 
ARC_Bool ARC_Input_Update (ARC_Input *input)
 
ARC_KeyboardARC_Input_GetKeyboard (ARC_Input *input)
 
ARC_MouseARC_Input_GetMouse (ARC_Input *input)
 
-

Function Documentation

- -

◆ ARC_Input_CreateWithEngineData()

- -
-
- - - - - - - - - - - -
void ARC_Input_CreateWithEngineData (ARC_Input ** input,
ARC_EngineData * data )
-
- -

Definition at line 7 of file input.c.

-
7 {
-
8 printf("No Input Backend Selected\n");
-
9}
-
-

Referenced by ARC_EngineData_Create().

- -
-
- -

◆ ARC_Input_Destroy()

- -
-
- - - - - - - -
void ARC_Input_Destroy (ARC_Input * input)
-
- -

Definition at line 11 of file input.c.

-
11 {
-
12 printf("No Input Backend Selected\n");
-
13}
-
-
-
- -

◆ ARC_Input_GetKeyboard()

- -
-
- - - - - - - -
ARC_Keyboard * ARC_Input_GetKeyboard (ARC_Input * input)
-
- -

Definition at line 20 of file input.c.

-
20 {
-
21 printf("No Input Backend Selected\n");
-
22 return NULL;
-
23}
-
-

Referenced by ARC_EngineData_Create().

- -
-
- -

◆ ARC_Input_GetMouse()

- -
-
- - - - - - - -
ARC_Mouse * ARC_Input_GetMouse (ARC_Input * input)
-
- -

Definition at line 25 of file input.c.

-
25 {
-
26 printf("No Input Backend Selected\n");
-
27 return NULL;
-
28}
-
-

Referenced by ARC_EngineData_Create().

- -
-
- -

◆ ARC_Input_Update()

- -
-
- - - - - - - -
ARC_Bool ARC_Input_Update (ARC_Input * input)
-
- -

Definition at line 15 of file input.c.

-
15 {
-
16 printf("No Input Backend Selected\n");
-
17 return ARC_True;
-
18}
-
#define ARC_True
Definition bool.h:11
-
-

References ARC_True.

- -

Referenced by ARC_Engine_RunUncapped().

- -
-
-
- - -
- - diff --git a/doc/doxygen/html/d1/d06/input_8c_source.html b/doc/doxygen/html/d1/d06/input_8c_source.html deleted file mode 100644 index 28cab41..0000000 --- a/doc/doxygen/html/d1/d06/input_8c_source.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/input/input.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
input.c
-
-
-Go to the documentation of this file.
1#include "arc/input/input.h"
-
2
-
3#include "arc/std/bool.h"
-
4
-
5#include <stdio.h>
-
6
-
- -
8 printf("No Input Backend Selected\n");
-
9}
-
-
10
-
- -
12 printf("No Input Backend Selected\n");
-
13}
-
-
14
-
- -
16 printf("No Input Backend Selected\n");
-
17 return ARC_True;
-
18}
-
-
19
-
- -
21 printf("No Input Backend Selected\n");
-
22 return NULL;
-
23}
-
-
24
-
- -
26 printf("No Input Backend Selected\n");
-
27 return NULL;
-
28}
-
-
29
- -
#define ARC_True
Definition bool.h:11
-
#define ARC_Bool
Definition bool.h:10
-
ARC_Keyboard * ARC_Input_GetKeyboard(ARC_Input *input)
Definition input.c:20
-
void ARC_Input_Destroy(ARC_Input *input)
Definition input.c:11
-
ARC_Mouse * ARC_Input_GetMouse(ARC_Input *input)
Definition input.c:25
-
void ARC_Input_CreateWithEngineData(ARC_Input **input, ARC_EngineData *data)
Definition input.c:7
-
ARC_Bool ARC_Input_Update(ARC_Input *input)
Definition input.c:15
- -
struct ARC_Input ARC_Input
predefien ARC_Input so as not to get circular reference
Definition input.h:17
-
struct ARC_Keyboard ARC_Keyboard
Definition keyboard.h:15
-
struct ARC_Mouse ARC_Mouse
Definition mouse.h:16
- -
- - -
- - diff --git a/doc/doxygen/html/d1/d1a/structARC__WindowInfo.html b/doc/doxygen/html/d1/d1a/structARC__WindowInfo.html deleted file mode 100644 index 4d77688..0000000 --- a/doc/doxygen/html/d1/d1a/structARC__WindowInfo.html +++ /dev/null @@ -1,198 +0,0 @@ - - - - - - - - -Archeus: ARC_WindowInfo Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_WindowInfo Struct Reference
-
-
- -

#include <window.h>

- - - - - - - - -

-Data Fields

char * title
 
int32_t w
 
int32_t h
 
-

Detailed Description

-
Note
certain parts of ARC_WindowInfo may not be used by your selected backend
- -

Definition at line 18 of file window.h.

-

Field Documentation

- -

◆ h

- -
-
- - - - -
int32_t ARC_WindowInfo::h
-
- -

Definition at line 21 of file window.h.

- -
-
- -

◆ title

- -
-
- - - - -
char* ARC_WindowInfo::title
-
- -

Definition at line 19 of file window.h.

- -
-
- -

◆ w

- -
-
- - - - -
int32_t ARC_WindowInfo::w
-
- -

Definition at line 20 of file window.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/include/arc/graphics/window.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/d1a/structARC__WindowInfo.js b/doc/doxygen/html/d1/d1a/structARC__WindowInfo.js deleted file mode 100644 index 4d9fcac..0000000 --- a/doc/doxygen/html/d1/d1a/structARC__WindowInfo.js +++ /dev/null @@ -1,6 +0,0 @@ -var structARC__WindowInfo = -[ - [ "h", "d1/d1a/structARC__WindowInfo.html#a2e8d943e367f5c64db65e21ef92fcfd8", null ], - [ "title", "d1/d1a/structARC__WindowInfo.html#adb7dc9a62fd9bc34bb9ee2e1a8fbb812", null ], - [ "w", "d1/d1a/structARC__WindowInfo.html#af5b0756e36cd244691c3a883fc7ff820", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d1/d27/tests_8dir_2src_2std_2io_8c_8o_8d.html b/doc/doxygen/html/d1/d27/tests_8dir_2src_2std_2io_8c_8o_8d.html deleted file mode 100644 index 7c8e317..0000000 --- a/doc/doxygen/html/d1/d27/tests_8dir_2src_2std_2io_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/io.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
io.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d1/d27/tests_8dir_2src_2std_2io_8c_8o_8d_source.html b/doc/doxygen/html/d1/d27/tests_8dir_2src_2std_2io_8c_8o_8d_source.html deleted file mode 100644 index fb812bc..0000000 --- a/doc/doxygen/html/d1/d27/tests_8dir_2src_2std_2io_8c_8o_8d_source.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/io.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
io.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/std/io.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/io.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/io.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h \
-
15 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
17 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
19 /usr/include/stdio.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
21 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
22 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
23 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
24 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
25 /usr/include/bits/types/cookie_io_functions_t.h \
-
26 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
27 /usr/include/bits/floatn-common.h /usr/include/stdlib.h \
-
28 /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
-
29 /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \
-
30 /usr/include/bits/types/clockid_t.h /usr/include/bits/types/time_t.h \
-
31 /usr/include/bits/types/timer_t.h /usr/include/endian.h \
-
32 /usr/include/bits/endian.h /usr/include/bits/endianness.h \
-
33 /usr/include/bits/byteswap.h /usr/include/bits/uintn-identity.h \
-
34 /usr/include/sys/select.h /usr/include/bits/select.h \
-
35 /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \
-
36 /usr/include/bits/types/struct_timeval.h \
-
37 /usr/include/bits/types/struct_timespec.h \
-
38 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
39 /usr/include/bits/pthreadtypes-arch.h \
-
40 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
41 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
42 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/d2f/packages_2graphics_2sdl_2renderer_8h.html b/doc/doxygen/html/d1/d2f/packages_2graphics_2sdl_2renderer_8h.html deleted file mode 100644 index e38fa7c..0000000 --- a/doc/doxygen/html/d1/d2f/packages_2graphics_2sdl_2renderer_8h.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/renderer.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
renderer.h File Reference
-
-
-
#include "arc/graphics/renderer.h"
-#include "arc/graphics/window.h"
-#include <SDL.h>
-
-

Go to the source code of this file.

- - - - -

-Typedefs

typedef SDL_Renderer ARC_RendererType
 
-

Typedef Documentation

- -

◆ ARC_RendererType

- -
-
- - - - -
typedef SDL_Renderer ARC_RendererType
-
- -

Definition at line 8 of file renderer.h.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/d2f/packages_2graphics_2sdl_2renderer_8h.js b/doc/doxygen/html/d1/d2f/packages_2graphics_2sdl_2renderer_8h.js deleted file mode 100644 index 48a2e9b..0000000 --- a/doc/doxygen/html/d1/d2f/packages_2graphics_2sdl_2renderer_8h.js +++ /dev/null @@ -1,4 +0,0 @@ -var packages_2graphics_2sdl_2renderer_8h = -[ - [ "ARC_RendererType", "d1/d2f/packages_2graphics_2sdl_2renderer_8h.html#aa7a168fb194da6ebfd3b0695fdfc15a4", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d1/d2f/packages_2graphics_2sdl_2renderer_8h_source.html b/doc/doxygen/html/d1/d2f/packages_2graphics_2sdl_2renderer_8h_source.html deleted file mode 100644 index 96005b8..0000000 --- a/doc/doxygen/html/d1/d2f/packages_2graphics_2sdl_2renderer_8h_source.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/renderer.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
renderer.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_SDL_RENDERER_H_
-
2#define ARC_SDL_RENDERER_H_
-
3
- - -
6#include <SDL.h>
-
7
-
8typedef SDL_Renderer ARC_RendererType;
-
9
-
10#endif // !ARC_SDL_RENDERER_H_
- - -
SDL_Renderer ARC_RendererType
Definition renderer.h:8
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/d37/tests_8dir_2src_2graphics_2renderer_8c_8o_8d.html b/doc/doxygen/html/d1/d37/tests_8dir_2src_2graphics_2renderer_8c_8o_8d.html deleted file mode 100644 index f76f212..0000000 --- a/doc/doxygen/html/d1/d37/tests_8dir_2src_2graphics_2renderer_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/graphics/renderer.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
renderer.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d1/d37/tests_8dir_2src_2graphics_2renderer_8c_8o_8d_source.html b/doc/doxygen/html/d1/d37/tests_8dir_2src_2graphics_2renderer_8c_8o_8d_source.html deleted file mode 100644 index baff81e..0000000 --- a/doc/doxygen/html/d1/d37/tests_8dir_2src_2graphics_2renderer_8c_8o_8d_source.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/graphics/renderer.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
renderer.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/graphics/renderer.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/graphics/renderer.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/graphics/renderer.h \
-
5 /usr/include/stdio.h /usr/include/bits/libc-header-start.h \
-
6 /usr/include/features.h /usr/include/features-time64.h \
-
7 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
8 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
9 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
10 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
11 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
12 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
13 /usr/include/bits/time64.h /usr/include/bits/types/__fpos_t.h \
-
14 /usr/include/bits/types/__mbstate_t.h \
-
15 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
16 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
17 /usr/include/bits/types/cookie_io_functions_t.h \
-
18 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
19 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/d41/tests_8dir_2src_2graphics_2sprite_8c_8o_8d.html b/doc/doxygen/html/d1/d41/tests_8dir_2src_2graphics_2sprite_8c_8o_8d.html deleted file mode 100644 index 5abd2e5..0000000 --- a/doc/doxygen/html/d1/d41/tests_8dir_2src_2graphics_2sprite_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/graphics/sprite.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
sprite.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d1/d41/tests_8dir_2src_2graphics_2sprite_8c_8o_8d_source.html b/doc/doxygen/html/d1/d41/tests_8dir_2src_2graphics_2sprite_8c_8o_8d_source.html deleted file mode 100644 index 74fe079..0000000 --- a/doc/doxygen/html/d1/d41/tests_8dir_2src_2graphics_2sprite_8c_8o_8d_source.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/graphics/sprite.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
sprite.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/graphics/sprite.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/graphics/sprite.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/graphics/sprite.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/graphics/renderer.h \
-
6 /home/herbglitch/programs/archeus/arc/include/arc/graphics/spritesheet.h \
-
7 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
8 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
9 /usr/include/features.h /usr/include/features-time64.h \
-
10 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
11 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
12 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
13 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
14 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
15 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
16 /usr/include/bits/stdint-least.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/math/rectangle.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
20 /home/herbglitch/programs/archeus/arc/include/arc/math/vector2.h \
-
21 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
22 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
23 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
24 /home/herbglitch/programs/archeus/arc/include/arc/std/array.h \
-
25 /usr/include/stdio.h \
-
26 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
27 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
28 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
29 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
30 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
31 /usr/include/bits/types/cookie_io_functions_t.h \
-
32 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
33 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/d4a/structARC__ConsoleView.html b/doc/doxygen/html/d1/d4a/structARC__ConsoleView.html deleted file mode 100644 index 2337ceb..0000000 --- a/doc/doxygen/html/d1/d4a/structARC__ConsoleView.html +++ /dev/null @@ -1,221 +0,0 @@ - - - - - - - - -Archeus: ARC_ConsoleView Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_ConsoleView Struct Reference
-
-
- - - - - - - - - - -

-Data Fields

WINDOW * window
 
ARC_Rect bounds
 
ARC_Bool echo
 
ARC_Vectorelements
 
-

Detailed Description

-
-

Definition at line 15 of file view.c.

-

Field Documentation

- -

◆ bounds

- -
-
- - - - -
ARC_Rect ARC_ConsoleView::bounds
-
- -

Definition at line 17 of file view.c.

- -

Referenced by ARC_ConsoleView_GetBounds(), and ARC_ConsoleView_GetStringInput().

- -
-
- -

◆ echo

- -
-
- - - - -
ARC_Bool ARC_ConsoleView::echo
-
- -

Definition at line 18 of file view.c.

- -

Referenced by ARC_ConsoleView_GetStringInput().

- -
-
- -

◆ elements

- -
-
- - - - -
ARC_Vector* ARC_ConsoleView::elements
-
-
- -

◆ window

- - -
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/packages/console/ncurses/view.c
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/d4a/structARC__ConsoleView.js b/doc/doxygen/html/d1/d4a/structARC__ConsoleView.js deleted file mode 100644 index c2a53de..0000000 --- a/doc/doxygen/html/d1/d4a/structARC__ConsoleView.js +++ /dev/null @@ -1,7 +0,0 @@ -var structARC__ConsoleView = -[ - [ "bounds", "d1/d4a/structARC__ConsoleView.html#af386230daac02d881dfdd08c31c96945", null ], - [ "echo", "d1/d4a/structARC__ConsoleView.html#acfba50986749dc8c26d720110cb26239", null ], - [ "elements", "d1/d4a/structARC__ConsoleView.html#a33ec98286320c5e1fb63929775ee7430", null ], - [ "window", "d1/d4a/structARC__ConsoleView.html#afc20eb6777e832652ebfe57ae9e80ac8", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d1/d55/engine_8h.html b/doc/doxygen/html/d1/d55/engine_8h.html deleted file mode 100644 index c467966..0000000 --- a/doc/doxygen/html/d1/d55/engine_8h.html +++ /dev/null @@ -1,271 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/engine/engine.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
engine.h File Reference
-
-
-
#include "arc/graphics/window.h"
-#include "arc/graphics/renderer.h"
-#include "arc/input/input.h"
-#include "arc/input/mouse.h"
-#include "arc/input/keyboard.h"
-#include "arc/math/point.h"
-#include "arc/std/bool.h"
-#include "arc/std/handler.h"
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_EngineData
 
- - - - -

-Typedefs

typedef struct ARC_EngineData ARC_EngineData
 predefien ARC_EngineData so as not to get circular reference
 
- - - - - - - - -

-Functions

void ARC_EngineData_Create (ARC_EngineData **data, ARC_Handler_CleanDataFn cleanFn, ARC_Point windowSize)
 
void ARC_EngineData_Destroy (ARC_EngineData *data)
 
void ARC_Engine_RunUncapped (ARC_EngineData *data)
 runs ARC_Engine with an uncapped framerate
 
-

Typedef Documentation

- -

◆ ARC_EngineData

- -
-
- - - - -
typedef struct ARC_EngineData ARC_EngineData
-
- -

predefien ARC_EngineData so as not to get circular reference

- -

Definition at line 11 of file renderer.h.

- -
-
-

Function Documentation

- -

◆ ARC_Engine_RunUncapped()

- -
-
- - - - - - - -
void ARC_Engine_RunUncapped (ARC_EngineData * data)
-
- -

runs ARC_Engine with an uncapped framerate

-
Note
data must be created before this function
-
-data should be destroyed after this function
-
Parameters
- - -
dataengine data that will be used
-
-
- -
-
- -

◆ ARC_EngineData_Create()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_EngineData_Create (ARC_EngineData ** data,
ARC_Handler_CleanDataFn cleanFn,
ARC_Point windowSize )
-
-

@breif creates an ARC_EngineData type to be used when running an ARC_Engine

-
Parameters
- - - - -
datathe ARC_EngineData to create
cleanFnthe state cleanup function
windowSIzethe size of window to create passed as an ARC_Point
-
-
- -
-
- -

◆ ARC_EngineData_Destroy()

- -
-
- - - - - - - -
void ARC_EngineData_Destroy (ARC_EngineData * data)
-
-

@breif destroys an ARC_EngineData type

-
Parameters
- - -
datathe ARC_EngineData to destroy
-
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/d55/engine_8h.js b/doc/doxygen/html/d1/d55/engine_8h.js deleted file mode 100644 index a16d886..0000000 --- a/doc/doxygen/html/d1/d55/engine_8h.js +++ /dev/null @@ -1,8 +0,0 @@ -var engine_8h = -[ - [ "ARC_EngineData", "d5/df0/structARC__EngineData.html", "d5/df0/structARC__EngineData" ], - [ "ARC_EngineData", "d1/d55/engine_8h.html#a5f80ada5dfc3cf5b3e5d8aa840c86f6e", null ], - [ "ARC_Engine_RunUncapped", "d1/d55/engine_8h.html#a1318b7466d14187d6648abc7474c1ac7", null ], - [ "ARC_EngineData_Create", "d1/d55/engine_8h.html#ad3bfb475a0e9264c87a7423e84778959", null ], - [ "ARC_EngineData_Destroy", "d1/d55/engine_8h.html#ad7a41810e95706dad5c6881879339aa2", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d1/d55/engine_8h_source.html b/doc/doxygen/html/d1/d55/engine_8h_source.html deleted file mode 100644 index 1341bf7..0000000 --- a/doc/doxygen/html/d1/d55/engine_8h_source.html +++ /dev/null @@ -1,221 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/engine/engine.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
engine.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_ENGINE_H_
-
2#define ARC_ENGINE_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
- - -
10#include "arc/input/input.h"
-
11#include "arc/input/mouse.h"
-
12#include "arc/input/keyboard.h"
-
13#include "arc/math/point.h"
-
14#include "arc/std/bool.h"
-
15#include "arc/std/handler.h"
-
16
- -
29
-
30/**
-
31 * @breif creates an ARC_EngineData type to be used when running an ARC_Engine
-
32 *
-
33 * @param data the ARC_EngineData to create
-
34 * @param cleanFn the state cleanup function
-
35 * @param windowSIze the size of window to create passed as an ARC_Point
-
36*/
- -
38
-
39/**
-
40 * @breif destroys an ARC_EngineData type
-
41 *
-
42 * @param data the ARC_EngineData to destroy
-
43*/
- -
45
-
46/**
-
47 * @brief runs ARC_Engine with an uncapped framerate
-
48 *
-
49 * @note data must be created before this function
-
50 * @note data should be destroyed after this function
-
51 *
-
52 * @param data engine data that will be used
-
53 */
- -
55
-
56#ifdef __cplusplus
-
57}
-
58#endif
-
59
-
60#endif // !ARC_ENGINE_H_
- -
#define ARC_Bool
Definition bool.h:10
-
void ARC_Engine_RunUncapped(ARC_EngineData *data)
runs ARC_Engine with an uncapped framerate
-
struct ARC_EngineData ARC_EngineData
predefien ARC_EngineData so as not to get circular reference
Definition renderer.h:11
-
void ARC_EngineData_Create(ARC_EngineData **data, ARC_Handler_CleanDataFn cleanFn, ARC_Point windowSize)
-
void ARC_EngineData_Destroy(ARC_EngineData *data)
- -
void(* ARC_Handler_CleanDataFn)(void *data)
a function that will be used during destruction of trash vector
Definition handler.h:40
-
struct ARC_Handler ARC_Handler
a handler type
Definition handler.h:14
- -
struct ARC_Input ARC_Input
predefien ARC_Input so as not to get circular reference
Definition input.h:17
- -
struct ARC_Keyboard ARC_Keyboard
Definition keyboard.h:15
- -
struct ARC_Mouse ARC_Mouse
Definition mouse.h:16
- - -
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- -
ARC_Point windowSize
Definition engine.h:27
-
ARC_Input * input
Definition engine.h:21
-
ARC_Keyboard * keyboard
Definition engine.h:23
-
ARC_Bool running
Definition engine.h:26
-
ARC_Handler * state
Definition engine.h:20
-
ARC_Window * window
Definition engine.h:18
-
ARC_Renderer * renderer
Definition engine.h:19
-
ARC_Mouse * mouse
Definition engine.h:22
-
double dt
Definition engine.h:25
- - -
struct ARC_WindowType ARC_Window
Definition window.h:13
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/d77/archeus__std_8dir_2src_2math_2circle_8c_8o_8d.html b/doc/doxygen/html/d1/d77/archeus__std_8dir_2src_2math_2circle_8c_8o_8d.html deleted file mode 100644 index 588e676..0000000 --- a/doc/doxygen/html/d1/d77/archeus__std_8dir_2src_2math_2circle_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/math/circle.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
circle.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d1/d77/archeus__std_8dir_2src_2math_2circle_8c_8o_8d_source.html b/doc/doxygen/html/d1/d77/archeus__std_8dir_2src_2math_2circle_8c_8o_8d_source.html deleted file mode 100644 index 037a88f..0000000 --- a/doc/doxygen/html/d1/d77/archeus__std_8dir_2src_2math_2circle_8c_8o_8d_source.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/math/circle.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
circle.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/math/circle.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/math/circle.c \
-
3 /usr/include/stdc-predef.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/d7b/tests_8dir_2src_2std_2parser_2csv_8c_8o_8d.html b/doc/doxygen/html/d1/d7b/tests_8dir_2src_2std_2parser_2csv_8c_8o_8d.html deleted file mode 100644 index 5dc7983..0000000 --- a/doc/doxygen/html/d1/d7b/tests_8dir_2src_2std_2parser_2csv_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/parser/csv.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
csv.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d1/d7b/tests_8dir_2src_2std_2parser_2csv_8c_8o_8d_source.html b/doc/doxygen/html/d1/d7b/tests_8dir_2src_2std_2parser_2csv_8c_8o_8d_source.html deleted file mode 100644 index 0e8ec0e..0000000 --- a/doc/doxygen/html/d1/d7b/tests_8dir_2src_2std_2parser_2csv_8c_8o_8d_source.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/parser/csv.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
csv.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/std/parser/csv.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/parser/csv.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/parser/csv.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
6 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
7 /home/herbglitch/programs/archeus/arc/include/arc/std/parser.h \
-
8 /home/herbglitch/programs/archeus/arc/include/arc/std/array.h \
-
9 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
10 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
11 /usr/include/features.h /usr/include/features-time64.h \
-
12 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
13 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
14 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
15 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
16 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
17 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
18 /usr/include/bits/stdint-least.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/std/lexer.h \
-
20 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
21 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
22 /home/herbglitch/programs/archeus/arc/include/arc/std/vector.h \
-
23 /home/herbglitch/programs/archeus/arc/include/arc/std/parser/helpers.h \
-
24 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
25 /usr/include/stdlib.h /usr/include/bits/waitflags.h \
-
26 /usr/include/bits/waitstatus.h /usr/include/bits/floatn.h \
-
27 /usr/include/bits/floatn-common.h /usr/include/sys/types.h \
-
28 /usr/include/bits/types/clock_t.h /usr/include/bits/types/clockid_t.h \
-
29 /usr/include/bits/types/time_t.h /usr/include/bits/types/timer_t.h \
-
30 /usr/include/endian.h /usr/include/bits/endian.h \
-
31 /usr/include/bits/endianness.h /usr/include/bits/byteswap.h \
-
32 /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \
-
33 /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \
-
34 /usr/include/bits/types/__sigset_t.h \
-
35 /usr/include/bits/types/struct_timeval.h \
-
36 /usr/include/bits/types/struct_timespec.h \
-
37 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
38 /usr/include/bits/pthreadtypes-arch.h \
-
39 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
40 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
41 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/d88/packages_2graphics_2sdl_2sprite_8h.html b/doc/doxygen/html/d1/d88/packages_2graphics_2sdl_2sprite_8h.html deleted file mode 100644 index 1c16403..0000000 --- a/doc/doxygen/html/d1/d88/packages_2graphics_2sdl_2sprite_8h.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/sprite.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
sprite.h File Reference
-
-
-
#include "arc/graphics/sprite.h"
-#include <SDL.h>
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_Sprite
 
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/d88/packages_2graphics_2sdl_2sprite_8h.js b/doc/doxygen/html/d1/d88/packages_2graphics_2sdl_2sprite_8h.js deleted file mode 100644 index 19009af..0000000 --- a/doc/doxygen/html/d1/d88/packages_2graphics_2sdl_2sprite_8h.js +++ /dev/null @@ -1,4 +0,0 @@ -var packages_2graphics_2sdl_2sprite_8h = -[ - [ "ARC_Sprite", "db/d45/structARC__Sprite.html", "db/d45/structARC__Sprite" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d1/d88/packages_2graphics_2sdl_2sprite_8h_source.html b/doc/doxygen/html/d1/d88/packages_2graphics_2sdl_2sprite_8h_source.html deleted file mode 100644 index 3ca622c..0000000 --- a/doc/doxygen/html/d1/d88/packages_2graphics_2sdl_2sprite_8h_source.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/sprite.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
sprite.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_SDL_SPRITE_H_
-
2#define ARC_SDL_SPRITE_H_
-
3
- -
5#include <SDL.h>
-
6
-
-
7struct ARC_Sprite {
- - -
10 uint32_t *frameIndex;
-
11 //TODO: temp
-
12 uint8_t opacity;
-
13};
-
-
14
-
15#endif // !ARC_SDL_SPRITE_H_
- -
a type that holds an array of data and its size
Definition array.h:13
- -
ARC_Spritesheet * spritesheet
Definition sprite.h:8
-
uint8_t opacity
Definition sprite.h:12
-
uint32_t * frameIndex
Definition sprite.h:10
-
ARC_Array * frames
Definition sprite.h:9
- -
-
- - - - - - diff --git a/doc/doxygen/html/d1/d88/src_2std_2parser_8c.html b/doc/doxygen/html/d1/d88/src_2std_2parser_8c.html deleted file mode 100644 index d29a335..0000000 --- a/doc/doxygen/html/d1/d88/src_2std_2parser_8c.html +++ /dev/null @@ -1,1013 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/parser.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
parser.c File Reference
-
-
-
#include "arc/std/parser/parserlang.h"
-#include "arc/std/parser.h"
-#include "arc/std/bool.h"
-#include "arc/std/errno.h"
-#include "arc/std/io.h"
-#include "arc/std/lexer.h"
-#include "arc/std/vector.h"
-#include <stdint.h>
-#include <stdlib.h>
-#include <string.h>
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_Parser
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_Parser_Create (ARC_Parser **parser, ARC_Array *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
 creates an ARC_Parser type
 
void ARC_Parser_CreateFromVector (ARC_Parser **parser, ARC_Vector *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
 creates an ARC_Parser type from an arc vector
 
void ARC_Parser_CreateFromString (ARC_Parser **parser, ARC_String *languageString, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_Parser_GetStringIdFn getStringIdFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
 creates an ARC_Parser type from a string
 
void ARC_Parser_Destroy (ARC_Parser *parser)
 destroys an ARC_Parser type
 
void ARC_ParserTagToken_Create (ARC_ParserTagToken **tagToken, uint32_t id)
 
void ARC_ParserTagToken_Destroy (ARC_ParserTagToken *tagToken)
 
void ARC_ParserTagToken_VectorDestroyDataFn (void *data)
 
ARC_Bool ARC_Parser_ParseTag (ARC_Parser *parser, ARC_ParserTagToken *tagToken, uint32_t *lexerIndex)
 
void ARC_Parser_Parse (ARC_Parser *parser, ARC_String **data)
 
void ARC_Parser_ParseFile (ARC_Parser *parser, ARC_String *path)
 
void ARC_Parser_ClearData (ARC_Parser *parser)
 
void * ARC_Parser_GetData (ARC_Parser *parser)
 
-

Function Documentation

- -

◆ ARC_Parser_ClearData()

- -
-
- - - - - - - -
void ARC_Parser_ClearData (ARC_Parser * parser)
-
-
Parameters
- - -
[in]parser
-
-
- -

Definition at line 358 of file parser.c.

-
358 {
-
359 //check if that data exists and the destructor exists to make sure they can be run, set to true to indicate clear
-
360 if(parser->data != NULL && parser->destroyDataFn != NULL){
-
361 (*(parser->destroyDataFn))(parser->data, ARC_True, parser->userData);
-
362 }
-
363
-
364 //TODO: might want to error here
-
365 parser->data = NULL;
-
366}
-
#define ARC_True
Definition bool.h:11
-
void * data
Definition parser.c:17
-
void * userData
Definition parser.c:18
-
ARC_ParserData_DestroyFn * destroyDataFn
Definition parser.c:20
-
-

References ARC_True, ARC_Parser::data, ARC_Parser::destroyDataFn, and ARC_Parser::userData.

- -

Referenced by ARC_TEST().

- -
-
- -

◆ ARC_Parser_Create()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void ARC_Parser_Create (ARC_Parser ** parser,
ARC_Array * language,
ARC_Parser_InitLexerRulesFn initLexerRulesFn,
ARC_ParserData_CreateFn * createDataFn,
ARC_ParserData_DestroyFn * destroyDataFn,
void * userData )
-
- -

creates an ARC_Parser type

-

@TODO: fix this documentation to reflect changes

-

@TODO: probs want to move the note to another file

Note
array of tokens for langauge? like ARC_ParserTag tag = { VARIABLE_NAME, //tagId { { 2, CHAR_OR_NUM, VARIABLE_NAME }, { 1, LAMBDA }, }, //components 2 //componentsSize };
-
Parameters
- - - - -
[out]parserARC_Parser to create
[in]languagean arry of ARC_ParserLanguageTags defining a langauge
[in]initLexerRulesFna callback used to initalize the token rules the lexer within the parser will use
-
-
- -

Definition at line 24 of file parser.c.

-
24 {
-
25 *parser = (ARC_Parser *)malloc(sizeof(ARC_Parser));
-
26
-
27 //set the language size to 0 and data to NULL in case the language is NULL
-
28 (*parser)->language.size = 0;
-
29 (*parser)->language.data = NULL;
-
30
-
31 //if the language exists, copy the language
-
32 if(language != NULL){
-
33 (*parser)->language.size = language->size;
-
34 (*parser)->language.data = malloc(sizeof(ARC_ParserTag) * language->size);
-
35
-
36 for(uint32_t index = 0; index < language->size; index++){
-
37 ARC_ParserTag *languageTag = ((ARC_ParserTag *)language->data) + index;
-
38 ARC_ParserTag *currentTag = ((ARC_ParserTag *)(*parser)->language.data) + index;
-
39
-
40 //copy the language tag into the current tag
-
41 currentTag->tagId = languageTag->tagId;
-
42 currentTag->tokensOrTagsSize = languageTag->tokensOrTagsSize;
-
43
-
44 //create place to store tokens or tags
-
45 currentTag->tokensOrTags = (uint32_t **)malloc(sizeof(uint32_t *) * languageTag->tokensOrTagsSize);
-
46
-
47 //copy each or section into the tokensOrTags
-
48 for(uint32_t orIndex = 0; orIndex < languageTag->tokensOrTagsSize; orIndex++){
-
49 currentTag->tokensOrTags[orIndex] = (uint32_t *)malloc(sizeof(uint32_t) * (languageTag->tokensOrTags[orIndex][0] + 1));
-
50
-
51 for(uint32_t tokenOrTagIndex = 0; tokenOrTagIndex < languageTag->tokensOrTags[orIndex][0] + 1; tokenOrTagIndex++){
-
52 currentTag->tokensOrTags[orIndex][tokenOrTagIndex] = languageTag->tokensOrTags[orIndex][tokenOrTagIndex];
-
53 }
-
54 }
-
55 }
-
56 }
-
57
-
58 //create the lexer
-
59 ARC_Lexer_Create(&((*parser)->lexer));
-
60
-
61 //register instructions to the lexer
-
62 initLexerRulesFn(((*parser)->lexer));
-
63
-
64 //set the data to null (the parse function is what creates it)
-
65 (*parser)->data = NULL;
-
66
-
67 //set the userData for the create callback function
-
68 (*parser)->userData = userData;
-
69
-
70 //init the create function callback with null, then copy the callback if it exists
-
71 (*parser)->createDataFn = NULL;
-
72 if(createDataFn != NULL){
-
73 (*parser)->createDataFn = (ARC_ParserData_CreateFn *)malloc(sizeof(ARC_ParserData_CreateFn));
-
74 *((*parser)->createDataFn) = *createDataFn;
-
75 }
-
76
-
77 //init the destroy function callback with null, then copy the callback if it exists
-
78 (*parser)->destroyDataFn = NULL;
-
79 if(createDataFn != NULL){
-
80 (*parser)->destroyDataFn = (ARC_ParserData_DestroyFn *)malloc(sizeof(ARC_ParserData_DestroyFn));
-
81 *((*parser)->destroyDataFn) = *destroyDataFn;
-
82 }
-
83}
-
void ARC_Lexer_Create(ARC_Lexer **lexer)
creates an ARC_Lexer type
Definition lexer.c:50
-
void(* ARC_ParserData_CreateFn)(void **data, ARC_ParserTagToken *parsedData, void *userData)
TODO: write this.
Definition parser.h:57
-
void(* ARC_ParserData_DestroyFn)(void *data, ARC_Bool clear, void *userData)
TODO: write this.
Definition parser.h:62
-
uint32_t size
Definition array.h:14
-
void * data
Definition array.h:15
-
a langue tag type for the parser //TODO: explain this better
Definition parser.h:21
-
uint32_t tagId
Definition parser.h:22
-
uint32_t tokensOrTagsSize
Definition parser.h:25
-
uint32_t ** tokensOrTags
Definition parser.h:24
- -
ARC_Array language
Definition parser.c:13
-
-

References ARC_Lexer_Create(), ARC_Array::data, ARC_Parser::language, ARC_Array::size, ARC_ParserTag::tagId, ARC_ParserTag::tokensOrTags, and ARC_ParserTag::tokensOrTagsSize.

- -

Referenced by ARC_Parser_CreateFromVector(), ARC_ParserLang_CreateAsParser(), ARC_TEST(), ARC_TEST(), ARC_TEST(), and ARC_TEST().

- -
-
- -

◆ ARC_Parser_CreateFromString()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void ARC_Parser_CreateFromString (ARC_Parser ** parser,
ARC_String * languageString,
ARC_Parser_InitLexerRulesFn initLexerRulesFn,
ARC_Parser_GetStringIdFn getStringIdFn,
ARC_ParserData_CreateFn * createDataFn,
ARC_ParserData_DestroyFn * destroyDataFn,
void * userData )
-
- -

creates an ARC_Parser type from a string

-

@TODO: probs want to move the note to another file

Note
the syntax looks like: <variable> -> CHAR <variableName> EOF <variableName> -> <charOrNum> <variableName> | LAMBDA <charOrNum> -> CHAR | NUM
-
Parameters
- - - - -
[out]parserARC_Parser to create
[in]languagean arry of ARC_ParserLanguageTags defining a langauge
[in]initLexerRulesFna callback used to initalize the token rules the lexer within the parser will use
-
-
- -

Definition at line 105 of file parser.c.

-
105 {
-
106 //create the language from the string
-
107 ARC_Parser *parserlangParser;
-
108 ARC_ParserLang_CreateAsParser(&parserlangParser, getStringIdFn);
-
109 if(arc_errno){
-
110 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_Parser_CreateFromString(parser, languageString, initLexerRulesFn, getStringIdFn, createDataFn, destroyDataFn, userData), failed to create language from: %s", languageString->data);
-
111 return;
-
112 }
-
113
-
114 //copy the string because parse will destroy the string that is passed in
-
115 ARC_String *parserLangString;
-
116 ARC_String_Copy(&parserLangString, languageString);
-
117 ARC_Parser_Parse(parserlangParser, &parserLangString);
-
118
-
119 //create the parser from the parsed language
-
120 ARC_Vector *language = (ARC_Vector *)ARC_Parser_GetData(parserlangParser);
-
121 ARC_Parser_CreateFromVector(parser, language, initLexerRulesFn, createDataFn, destroyDataFn, userData);
-
122
-
123 //cleanup
-
124 ARC_Parser_Destroy(parserlangParser);
-
125}
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
void ARC_ParserLang_CreateAsParser(ARC_Parser **parser, ARC_Parser_GetStringIdFn getStringIdFn)
creates a parser for the Parser Lang
Definition parserlang.c:324
-
void ARC_Parser_Parse(ARC_Parser *parser, ARC_String **data)
Definition parser.c:297
-
void ARC_Parser_CreateFromVector(ARC_Parser **parser, ARC_Vector *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
creates an ARC_Parser type from an arc vector
Definition parser.c:85
-
void ARC_Parser_Destroy(ARC_Parser *parser)
destroys an ARC_Parser type
Definition parser.c:127
-
void * ARC_Parser_GetData(ARC_Parser *parser)
Definition parser.c:368
-
void ARC_String_Copy(ARC_String **copy, ARC_String *original)
copy a ARC_String
Definition string.c:62
-
substring position within a string
Definition string.h:14
-
char * data
Definition string.h:15
-
a private dynamic array type
Definition vector.c:12
-
-

References ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_Parser_CreateFromVector(), ARC_Parser_Destroy(), ARC_Parser_GetData(), ARC_Parser_Parse(), ARC_ParserLang_CreateAsParser(), ARC_String_Copy(), and ARC_String::data.

- -

Referenced by ARC_ParserCSV_CreateAsParser(), and ARC_TEST().

- -
-
- -

◆ ARC_Parser_CreateFromVector()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void ARC_Parser_CreateFromVector (ARC_Parser ** parser,
ARC_Vector * language,
ARC_Parser_InitLexerRulesFn initLexerRulesFn,
ARC_ParserData_CreateFn * createDataFn,
ARC_ParserData_DestroyFn * destroyDataFn,
void * userData )
-
- -

creates an ARC_Parser type from an arc vector

-
Parameters
- - - - -
[out]parserARC_Parser to create
[in]languagean vector of ARC_ParserLanguageTags defining a langauge
[in]initLexerRulesFna callback used to initalize the token rules the lexer within the parser will use
-
-
- -

Definition at line 85 of file parser.c.

-
85 {
-
86 //creates the variables to copy the vector into
-
87 const uint32_t languageSize = ARC_Vector_GetSize(language);
-
88 ARC_ParserTag languageArray[languageSize];
-
89
-
90 //copy the language from a vector into an array
-
91 for(uint32_t index = 0; index < languageSize; index++){
-
92 languageArray[index] = *(ARC_ParserTag *)ARC_Vector_Get(language, index);
-
93 }
-
94
-
95 //set the vector data as an ARC_Array
-
96 ARC_Array languageAsArray = {
-
97 languageSize,
- -
99 };
-
100
-
101 //create the parser
-
102 ARC_Parser_Create(parser, &languageAsArray, initLexerRulesFn, createDataFn, destroyDataFn, userData);
-
103}
-
void ARC_Parser_Create(ARC_Parser **parser, ARC_Array *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
creates an ARC_Parser type
Definition parser.c:24
-
a type that holds an array of data and its size
Definition array.h:13
-
ARC_Array languageArray
Definition parser.c:57
-
uint32_t ARC_Vector_GetSize(ARC_Vector *vector)
gets the current size of an ARC_Vector as an unsigned 32 bit integer
Definition vector.c:149
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:153
-
-

References ARC_Parser_Create(), ARC_Vector_Get(), ARC_Vector_GetSize(), and languageArray.

- -

Referenced by ARC_Parser_CreateFromString(), and ARC_TEST().

- -
-
- -

◆ ARC_Parser_Destroy()

- -
-
- - - - - - - -
void ARC_Parser_Destroy (ARC_Parser * parser)
-
- -

destroys an ARC_Parser type

-
Parameters
- - -
[in]parserARC_Parser to free
-
-
- -

Definition at line 127 of file parser.c.

-
127 {
-
128 //clear all the copied token or tags from memory
-
129 for(uint32_t index = 0; index < parser->language.size; index++){
-
130 ARC_ParserTag *currentTag = ((ARC_ParserTag *)parser->language.data) + index;
-
131
-
132 //free the orIndex vlues
-
133 for(uint32_t orIndex = 0; orIndex < currentTag->tokensOrTagsSize; orIndex++){
-
134 free(currentTag->tokensOrTags[orIndex]);
-
135 }
-
136
-
137 //free the tokens or tags
-
138 free(currentTag->tokensOrTags);
-
139 }
-
140
-
141 //free the creation function callback
-
142 if(parser->createDataFn != NULL){
-
143 free(parser->createDataFn);
-
144 }
-
145
-
146 //do the same thing as clear but this time pass in the userData as well to clean that up
-
147 if(parser->destroyDataFn != NULL){
-
148 //set to false to indicate full destroy instead of clear
-
149 (*(parser->destroyDataFn))(parser->data, ARC_False, parser->userData);
-
150 free(parser->destroyDataFn);
-
151 }
-
152
-
153 //clear the copied language from memory
-
154 free(parser->language.data);
-
155
-
156 ARC_Lexer_Destroy(parser->lexer);
-
157
-
158 free(parser);
-
159}
-
#define ARC_False
Definition bool.h:12
-
void ARC_Lexer_Destroy(ARC_Lexer *lexer)
destroys an ARC_Lexer type
Definition lexer.c:68
-
ARC_ParserData_CreateFn * createDataFn
Definition parser.c:19
-
ARC_Lexer * lexer
Definition parser.c:15
-
-

References ARC_False, ARC_Lexer_Destroy(), ARC_Parser::createDataFn, ARC_Array::data, ARC_Parser::data, ARC_Parser::destroyDataFn, ARC_Parser::language, ARC_Parser::lexer, ARC_Array::size, ARC_ParserTag::tokensOrTags, ARC_ParserTag::tokensOrTagsSize, and ARC_Parser::userData.

- -

Referenced by ARC_Parser_CreateFromString(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), and ARC_TEST().

- -
-
- -

◆ ARC_Parser_GetData()

- -
-
- - - - - - - -
void * ARC_Parser_GetData (ARC_Parser * parser)
-
-
Parameters
- - -
[in]parser
-
-
- -

Definition at line 368 of file parser.c.

-
368 {
-
369 return parser->data;
-
370}
-
-

References ARC_Parser::data.

- -

Referenced by ARC_Parser_CreateFromString(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), and ARC_TEST().

- -
-
- -

◆ ARC_Parser_Parse()

- -
-
- - - - - - - - - - - -
void ARC_Parser_Parse (ARC_Parser * parser,
ARC_String ** data )
-
-
Parameters
- - - -
[in]parser
[in/out]data the string to parse, will be freed and set to NULL by the end of this function
-
-
- -

Definition at line 297 of file parser.c.

-
297 {
-
298 //make sure the parser has a language
-
299 if(parser->language.size == 0){
-
300 ARC_DEBUG_LOG_ERROR("ARC_Parser_Parse(parser, data), no parser language defined");
-
301 return;
-
302 }
-
303
-
304 //lex the subdata
-
305 ARC_Lexer_LexString(parser->lexer, data);
-
306 if(arc_errno){
-
307 ARC_DEBUG_LOG_ERROR("ARC_Parser_Parse(parser, data), could not lex the given data");
-
308 ARC_Lexer_Clear(parser->lexer);
-
309 return;
-
310 }
-
311
-
312 //set the lexer index to start and get the first tag
-
313 uint32_t lexerIndex = 0;
-
314 ARC_ParserTag *startTag = parser->language.data;
-
315
-
316 //setup a tag token that will be passed to the creation callback on success
-
317 ARC_ParserTagToken *tagToken;
-
318 ARC_ParserTagToken_Create(&tagToken, startTag->tagId);
-
319
-
320 //TODO: handle error checks for if parsing fails
-
321 //recursivly parse from the inital start tag
-
322 ARC_Bool parsed = ARC_Parser_ParseTag(parser, tagToken, &lexerIndex);
-
323 ARC_Bool allTokensParsed = lexerIndex == ARC_Lexer_GetTokensSize(parser->lexer);
-
324
-
325 //error if anything went wrong
-
326 if(parsed == ARC_False || allTokensParsed == ARC_False || arc_errno){
-
327 ARC_Lexer_Clear(parser->lexer);
- -
329
- -
331 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_Parser_Parse(parser, data), could not parse the given data at lexer index: %u", lexerIndex);
-
332 return;
-
333 }
-
334
-
335 //create the data if the creation callback exists
-
336 if(parser->createDataFn != NULL){
-
337 (*(parser->createDataFn))(&(parser->data), tagToken, parser->userData);
-
338 }
-
339
- -
341 //cleanup
-
342 ARC_Lexer_Clear(parser->lexer);
-
343}
-
#define ARC_Bool
Definition bool.h:10
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
#define ARC_ERRNO_DATA
Definition errno.h:7
-
void ARC_Lexer_LexString(ARC_Lexer *lexer, ARC_String **data)
creates tokens using a given string with ARC_LexerToken rules
Definition lexer.c:166
-
void ARC_Lexer_Clear(ARC_Lexer *lexer)
clears all tokens from a lexer (will not clear token rules)
Definition lexer.c:161
-
uint32_t ARC_Lexer_GetTokensSize(ARC_Lexer *lexer)
gets a token at a given index from a lexer
Definition lexer.c:286
-
ARC_Bool ARC_Parser_ParseTag(ARC_Parser *parser, ARC_ParserTagToken *tagToken, uint32_t *lexerIndex)
Definition parser.c:188
-
void ARC_ParserTagToken_Destroy(ARC_ParserTagToken *tagToken)
Definition parser.c:172
-
void ARC_ParserTagToken_Create(ARC_ParserTagToken **tagToken, uint32_t id)
Definition parser.c:163
-
a parser type used inside of the parser data create function
Definition parser.h:35
-
-

References ARC_Bool, ARC_DEBUG_LOG_ERROR, ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_DATA, ARC_False, ARC_Lexer_Clear(), ARC_Lexer_GetTokensSize(), ARC_Lexer_LexString(), ARC_Parser_ParseTag(), ARC_ParserTagToken_Create(), ARC_ParserTagToken_Destroy(), ARC_Parser::createDataFn, ARC_Array::data, ARC_Parser::data, ARC_Parser::language, ARC_Parser::lexer, ARC_Array::size, ARC_ParserTag::tagId, and ARC_Parser::userData.

- -

Referenced by ARC_Parser_CreateFromString(), ARC_Parser_ParseFile(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), and ARC_TEST().

- -
-
- -

◆ ARC_Parser_ParseFile()

- -
-
- - - - - - - - - - - -
void ARC_Parser_ParseFile (ARC_Parser * parser,
ARC_String * path )
-
-
Parameters
- - - -
[in]parser
-
[in]language
-
-
- -

Definition at line 345 of file parser.c.

-
345 {
-
346 ARC_String *fileString;
-
347 ARC_IO_FileToStr(path, &fileString);
-
348
-
349 if(fileString == NULL){
- -
351 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_Parser_ParseFile(parser, data), could not read file \"%s\"", path->data);
-
352 return;
-
353 }
-
354
-
355 ARC_Parser_Parse(parser, &fileString);
-
356}
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
void ARC_IO_FileToStr(ARC_String *path, ARC_String **data)
get string and size from file
Definition io.c:43
-
-

References ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_NULL, ARC_IO_FileToStr(), ARC_Parser_Parse(), and ARC_String::data.

- -
-
- -

◆ ARC_Parser_ParseTag()

- -
-
- - - - - - - - - - - - - - - - -
ARC_Bool ARC_Parser_ParseTag (ARC_Parser * parser,
ARC_ParserTagToken * tagToken,
uint32_t * lexerIndex )
-
- -

Definition at line 188 of file parser.c.

-
188 {
-
189 //get the current tag
-
190 ARC_ParserTag *tag = NULL;
-
191 for(uint32_t index = 0; index < parser->language.size; index++){
-
192 ARC_ParserTag *foundTag = ((ARC_ParserTag *)parser->language.data) + index;
-
193 if(foundTag->tagId == tagToken->id){
-
194 tag = foundTag;
-
195 break;
-
196 }
-
197 }
-
198
-
199 //if the tag was not found can't do much, so throw an error
-
200 if(tag == NULL){
- -
202 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_Parser_ParseTag(parser, subdata, tagId), could not find tag with id: %u", tagToken->id);
-
203 return ARC_False;
-
204 }
-
205
-
206 //create a vector of tag token to use if a rule is validated, a comparison function is not needed as it will be iterated through
- -
208 ARC_Vector_Create(&(tagToken->tagTokens), NULL, &destroyTokenTagFn);
-
209
-
210 //loop through each or section of the tags and tokens
-
211 for(uint32_t orIndex = 0; orIndex < tag->tokensOrTagsSize; orIndex++){
-
212 //reset the tag tokens for each or index
-
213 ARC_Vector_Clear(tagToken->tagTokens);
-
214
-
215 //loop through each token or tag to check if the lexed data matches
-
216 uint32_t lexerCheckIndex = *lexerIndex;
-
217 ARC_Bool foundRule = ARC_True;
-
218 for(uint32_t tokenOrTagIndex = 1; tokenOrTagIndex < tag->tokensOrTags[orIndex][0] + 1; tokenOrTagIndex++){
-
219 //get next tag id to check
-
220 uint32_t nextTagId = tag->tokensOrTags[orIndex][tokenOrTagIndex];
-
221
-
222 //check if it is lambda (can return safely)
-
223 if(nextTagId == ARC_PARSER_TAG_LAMBDA){
-
224 break;
-
225 }
-
226
-
227 //if the value isn't a token it is a tag, so recurs if it isn't a token
-
228 ARC_Bool isToken = ARC_Lexer_IsTokenId(parser->lexer, nextTagId);
-
229 if(isToken == ARC_False){
-
230 //create a temporary lexer index in case the rule does not exist
-
231 uint32_t tempLexerCheckIndex = lexerCheckIndex;
-
232
-
233 //create tag token for if the rule works
-
234 ARC_ParserTagToken *nextTagToken;
-
235 ARC_ParserTagToken_Create(&nextTagToken, nextTagId);
-
236
-
237 //check if the tag works if not break to continue checking next or index
-
238 foundRule = ARC_Parser_ParseTag(parser, nextTagToken, &tempLexerCheckIndex);
-
239 if(foundRule == ARC_False){
-
240 //clean up the tag token
-
241 ARC_ParserTagToken_Destroy(nextTagToken);
-
242 break;
-
243 }
-
244
-
245 //add the tag token because rule was found
-
246 ARC_Vector_Add(tagToken->tagTokens, nextTagToken);
-
247
-
248 //increase the lexer check index as a recursed rule was found, and continue checking
-
249 lexerCheckIndex = tempLexerCheckIndex;
-
250
-
251 continue;
-
252 }
-
253
-
254 //check if there is another token that can be used
-
255 if(lexerCheckIndex >= ARC_Lexer_GetTokensSize(parser->lexer)){
-
256 //out of tokens to the current or does not work, so break
-
257 foundRule = ARC_False;
-
258 break;
-
259 }
-
260
-
261 //get the next token in the lexer and increment the lexers index
-
262 ARC_LexerToken *token = ARC_Lexer_GetToken(parser->lexer, lexerCheckIndex);
-
263 lexerCheckIndex++;
-
264
-
265 //if the token rule does not match the current token in the current or statement the token rule could not be found for the current or index so break
-
266 if(token->rule != tag->tokensOrTags[orIndex][tokenOrTagIndex]){
-
267 foundRule = ARC_False;
-
268 break;
-
269 }
-
270
-
271 //the rule was a match so create a tag token to store the token in
-
272 ARC_ParserTagToken *nextTagToken;
-
273 ARC_ParserTagToken_Create(&nextTagToken, nextTagId);
-
274 nextTagToken->token = token;
-
275
-
276 //add the token to the tag tokens
-
277 ARC_Vector_Add(tagToken->tagTokens, nextTagToken);
-
278 }
-
279
-
280 //if the rule is found we don't need to check anymore so we can return out
-
281 if(foundRule == ARC_True){
-
282 *lexerIndex = lexerCheckIndex;
-
283
-
284 //cleanup
-
285 return ARC_True;
-
286 }
-
287 }
-
288
-
289 //cleanup
-
290 ARC_Vector_Destroy(tagToken->tagTokens);
-
291 tagToken->tagTokens = NULL;
-
292
-
293 //no rule was found, so return false
-
294 return ARC_False;
-
295}
-
ARC_LexerToken * ARC_Lexer_GetToken(ARC_Lexer *lexer, uint32_t index)
gets a token at a given index from a lexer
Definition lexer.c:272
-
ARC_Bool ARC_Lexer_IsTokenId(ARC_Lexer *lexer, uint32_t id)
returns a boolean based on if a given id is a stored token rule id
Definition lexer.c:294
-
#define ARC_PARSER_TAG_LAMBDA
basic tag for letting the parser know it is ok to end
Definition parser.h:150
-
void ARC_ParserTagToken_VectorDestroyDataFn(void *data)
Definition parser.c:182
-
a lexer token type
Definition lexer.h:18
-
uint32_t rule
Definition lexer.h:19
-
ARC_LexerToken * token
Definition parser.h:38
-
uint32_t id
Definition parser.h:36
-
ARC_Vector * tagTokens
Definition parser.h:39
-
void(* ARC_Vector_DestroyDataFn)(void *data)
a callback that cleans up memory when it is removed from the vector
Definition vector.h:31
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:70
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:54
-
void ARC_Vector_Clear(ARC_Vector *vector)
clears all items from a vector
Definition vector.c:142
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:31
-
-

References ARC_Bool, ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_NULL, ARC_False, ARC_Lexer_GetToken(), ARC_Lexer_GetTokensSize(), ARC_Lexer_IsTokenId(), ARC_Parser_ParseTag(), ARC_PARSER_TAG_LAMBDA, ARC_ParserTagToken_Create(), ARC_ParserTagToken_Destroy(), ARC_ParserTagToken_VectorDestroyDataFn(), ARC_True, ARC_Vector_Add(), ARC_Vector_Clear(), ARC_Vector_Create(), ARC_Vector_Destroy(), ARC_Array::data, ARC_ParserTagToken::id, ARC_Parser::language, ARC_Parser::lexer, ARC_LexerToken::rule, ARC_Array::size, ARC_ParserTag::tagId, ARC_ParserTagToken::tagTokens, ARC_ParserTagToken::token, ARC_ParserTag::tokensOrTags, and ARC_ParserTag::tokensOrTagsSize.

- -

Referenced by ARC_Parser_Parse(), and ARC_Parser_ParseTag().

- -
-
- -

◆ ARC_ParserTagToken_Create()

- -
-
- - - - - - - - - - - -
void ARC_ParserTagToken_Create (ARC_ParserTagToken ** tagToken,
uint32_t id )
-
- -

Definition at line 163 of file parser.c.

-
163 {
-
164 *tagToken = (ARC_ParserTagToken *)malloc(sizeof(ARC_ParserTagToken));
-
165
-
166 (*tagToken)->id = id;
-
167 (*tagToken)->token = NULL;
-
168 (*tagToken)->tagTokens = NULL;
-
169}
-
-

References ARC_ParserTagToken::id.

- -

Referenced by ARC_Parser_Parse(), and ARC_Parser_ParseTag().

- -
-
- -

◆ ARC_ParserTagToken_Destroy()

- -
-
- - - - - - - -
void ARC_ParserTagToken_Destroy (ARC_ParserTagToken * tagToken)
-
- -

Definition at line 172 of file parser.c.

-
172 {
-
173 //destroy the tag token vector
-
174 if(tagToken->tagTokens != NULL){
-
175 ARC_Vector_Destroy(tagToken->tagTokens);
-
176 }
-
177
-
178 free(tagToken);
-
179}
-
-

References ARC_Vector_Destroy(), and ARC_ParserTagToken::tagTokens.

- -

Referenced by ARC_Parser_Parse(), ARC_Parser_ParseTag(), and ARC_ParserTagToken_VectorDestroyDataFn().

- -
-
- -

◆ ARC_ParserTagToken_VectorDestroyDataFn()

- -
-
- - - - - - - -
void ARC_ParserTagToken_VectorDestroyDataFn (void * data)
-
- -

Definition at line 182 of file parser.c.

-
182 {
-
183 //we can just use the destroy function with casted data
- -
185}
-
-

References ARC_ParserTagToken_Destroy().

- -

Referenced by ARC_Parser_ParseTag().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/d88/src_2std_2parser_8c.js b/doc/doxygen/html/d1/d88/src_2std_2parser_8c.js deleted file mode 100644 index eb729c4..0000000 --- a/doc/doxygen/html/d1/d88/src_2std_2parser_8c.js +++ /dev/null @@ -1,16 +0,0 @@ -var src_2std_2parser_8c = -[ - [ "ARC_Parser", "d0/d54/structARC__Parser.html", "d0/d54/structARC__Parser" ], - [ "ARC_Parser_ClearData", "d1/d88/src_2std_2parser_8c.html#af1d5928a3b7a1107ae2f93256b8e82df", null ], - [ "ARC_Parser_Create", "d1/d88/src_2std_2parser_8c.html#a1bdcaaa9871c881c8826698840a99d2d", null ], - [ "ARC_Parser_CreateFromString", "d1/d88/src_2std_2parser_8c.html#a003b81e4311d906bb549c112036703d6", null ], - [ "ARC_Parser_CreateFromVector", "d1/d88/src_2std_2parser_8c.html#ace1a2cfd32a6054ce46a88153024dfb0", null ], - [ "ARC_Parser_Destroy", "d1/d88/src_2std_2parser_8c.html#adb54341fc82ed984990434a9885ee644", null ], - [ "ARC_Parser_GetData", "d1/d88/src_2std_2parser_8c.html#af6a130ed662019fd063f9b613c1b43cd", null ], - [ "ARC_Parser_Parse", "d1/d88/src_2std_2parser_8c.html#ac7b13da43887f6fd9e4571f3dd477de6", null ], - [ "ARC_Parser_ParseFile", "d1/d88/src_2std_2parser_8c.html#a07112a0644e5f29259bd814a4b4d5a86", null ], - [ "ARC_Parser_ParseTag", "d1/d88/src_2std_2parser_8c.html#a08d241fdb991005408565ce36ad6485f", null ], - [ "ARC_ParserTagToken_Create", "d1/d88/src_2std_2parser_8c.html#a1788e69fb6cc07f48210b76d573e2a6e", null ], - [ "ARC_ParserTagToken_Destroy", "d1/d88/src_2std_2parser_8c.html#a1352a072c578c46dded5988ffa5df119", null ], - [ "ARC_ParserTagToken_VectorDestroyDataFn", "d1/d88/src_2std_2parser_8c.html#a37029aba797302277c87b68c39b96b65", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d1/d88/src_2std_2parser_8c_source.html b/doc/doxygen/html/d1/d88/src_2std_2parser_8c_source.html deleted file mode 100644 index 6b46a31..0000000 --- a/doc/doxygen/html/d1/d88/src_2std_2parser_8c_source.html +++ /dev/null @@ -1,599 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/parser.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
parser.c
-
-
-Go to the documentation of this file.
-
2#include "arc/std/parser.h"
-
3#include "arc/std/bool.h"
-
4#include "arc/std/errno.h"
-
5#include "arc/std/io.h"
-
6#include "arc/std/lexer.h"
-
7#include "arc/std/vector.h"
-
8#include <stdint.h>
-
9#include <stdlib.h>
-
10#include <string.h>
-
11
- -
23
-
-
24void ARC_Parser_Create(ARC_Parser **parser, ARC_Array *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData){
-
25 *parser = (ARC_Parser *)malloc(sizeof(ARC_Parser));
-
26
-
27 //set the language size to 0 and data to NULL in case the language is NULL
-
28 (*parser)->language.size = 0;
-
29 (*parser)->language.data = NULL;
-
30
-
31 //if the language exists, copy the language
-
32 if(language != NULL){
-
33 (*parser)->language.size = language->size;
-
34 (*parser)->language.data = malloc(sizeof(ARC_ParserTag) * language->size);
-
35
-
36 for(uint32_t index = 0; index < language->size; index++){
-
37 ARC_ParserTag *languageTag = ((ARC_ParserTag *)language->data) + index;
-
38 ARC_ParserTag *currentTag = ((ARC_ParserTag *)(*parser)->language.data) + index;
-
39
-
40 //copy the language tag into the current tag
-
41 currentTag->tagId = languageTag->tagId;
-
42 currentTag->tokensOrTagsSize = languageTag->tokensOrTagsSize;
-
43
-
44 //create place to store tokens or tags
-
45 currentTag->tokensOrTags = (uint32_t **)malloc(sizeof(uint32_t *) * languageTag->tokensOrTagsSize);
-
46
-
47 //copy each or section into the tokensOrTags
-
48 for(uint32_t orIndex = 0; orIndex < languageTag->tokensOrTagsSize; orIndex++){
-
49 currentTag->tokensOrTags[orIndex] = (uint32_t *)malloc(sizeof(uint32_t) * (languageTag->tokensOrTags[orIndex][0] + 1));
-
50
-
51 for(uint32_t tokenOrTagIndex = 0; tokenOrTagIndex < languageTag->tokensOrTags[orIndex][0] + 1; tokenOrTagIndex++){
-
52 currentTag->tokensOrTags[orIndex][tokenOrTagIndex] = languageTag->tokensOrTags[orIndex][tokenOrTagIndex];
-
53 }
-
54 }
-
55 }
-
56 }
-
57
-
58 //create the lexer
-
59 ARC_Lexer_Create(&((*parser)->lexer));
-
60
-
61 //register instructions to the lexer
-
62 initLexerRulesFn(((*parser)->lexer));
-
63
-
64 //set the data to null (the parse function is what creates it)
-
65 (*parser)->data = NULL;
-
66
-
67 //set the userData for the create callback function
-
68 (*parser)->userData = userData;
-
69
-
70 //init the create function callback with null, then copy the callback if it exists
-
71 (*parser)->createDataFn = NULL;
-
72 if(createDataFn != NULL){
-
73 (*parser)->createDataFn = (ARC_ParserData_CreateFn *)malloc(sizeof(ARC_ParserData_CreateFn));
-
74 *((*parser)->createDataFn) = *createDataFn;
-
75 }
-
76
-
77 //init the destroy function callback with null, then copy the callback if it exists
-
78 (*parser)->destroyDataFn = NULL;
-
79 if(createDataFn != NULL){
-
80 (*parser)->destroyDataFn = (ARC_ParserData_DestroyFn *)malloc(sizeof(ARC_ParserData_DestroyFn));
-
81 *((*parser)->destroyDataFn) = *destroyDataFn;
-
82 }
-
83}
-
-
84
-
-
85void ARC_Parser_CreateFromVector(ARC_Parser **parser, ARC_Vector *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData){
-
86 //creates the variables to copy the vector into
-
87 const uint32_t languageSize = ARC_Vector_GetSize(language);
-
88 ARC_ParserTag languageArray[languageSize];
-
89
-
90 //copy the language from a vector into an array
-
91 for(uint32_t index = 0; index < languageSize; index++){
-
92 languageArray[index] = *(ARC_ParserTag *)ARC_Vector_Get(language, index);
-
93 }
-
94
-
95 //set the vector data as an ARC_Array
-
96 ARC_Array languageAsArray = {
-
97 languageSize,
- -
99 };
-
100
-
101 //create the parser
-
102 ARC_Parser_Create(parser, &languageAsArray, initLexerRulesFn, createDataFn, destroyDataFn, userData);
-
103}
-
-
104
-
-
105void ARC_Parser_CreateFromString(ARC_Parser **parser, ARC_String *languageString, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_Parser_GetStringIdFn getStringIdFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData){
-
106 //create the language from the string
-
107 ARC_Parser *parserlangParser;
-
108 ARC_ParserLang_CreateAsParser(&parserlangParser, getStringIdFn);
-
109 if(arc_errno){
-
110 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_Parser_CreateFromString(parser, languageString, initLexerRulesFn, getStringIdFn, createDataFn, destroyDataFn, userData), failed to create language from: %s", languageString->data);
-
111 return;
-
112 }
-
113
-
114 //copy the string because parse will destroy the string that is passed in
-
115 ARC_String *parserLangString;
-
116 ARC_String_Copy(&parserLangString, languageString);
-
117 ARC_Parser_Parse(parserlangParser, &parserLangString);
-
118
-
119 //create the parser from the parsed language
-
120 ARC_Vector *language = (ARC_Vector *)ARC_Parser_GetData(parserlangParser);
-
121 ARC_Parser_CreateFromVector(parser, language, initLexerRulesFn, createDataFn, destroyDataFn, userData);
-
122
-
123 //cleanup
-
124 ARC_Parser_Destroy(parserlangParser);
-
125}
-
-
126
-
- -
128 //clear all the copied token or tags from memory
-
129 for(uint32_t index = 0; index < parser->language.size; index++){
-
130 ARC_ParserTag *currentTag = ((ARC_ParserTag *)parser->language.data) + index;
-
131
-
132 //free the orIndex vlues
-
133 for(uint32_t orIndex = 0; orIndex < currentTag->tokensOrTagsSize; orIndex++){
-
134 free(currentTag->tokensOrTags[orIndex]);
-
135 }
-
136
-
137 //free the tokens or tags
-
138 free(currentTag->tokensOrTags);
-
139 }
-
140
-
141 //free the creation function callback
-
142 if(parser->createDataFn != NULL){
-
143 free(parser->createDataFn);
-
144 }
-
145
-
146 //do the same thing as clear but this time pass in the userData as well to clean that up
-
147 if(parser->destroyDataFn != NULL){
-
148 //set to false to indicate full destroy instead of clear
-
149 (*(parser->destroyDataFn))(parser->data, ARC_False, parser->userData);
-
150 free(parser->destroyDataFn);
-
151 }
-
152
-
153 //clear the copied language from memory
-
154 free(parser->language.data);
-
155
-
156 ARC_Lexer_Destroy(parser->lexer);
-
157
-
158 free(parser);
-
159}
-
-
160
-
161//private creation function for ARC_ParserTagToken type
-
162//note: token and tagTokens will be set to null, it is safe to create tagTokens outside of this as the destructor will clean it up
-
-
163void ARC_ParserTagToken_Create(ARC_ParserTagToken **tagToken, uint32_t id){
-
164 *tagToken = (ARC_ParserTagToken *)malloc(sizeof(ARC_ParserTagToken));
-
165
-
166 (*tagToken)->id = id;
-
167 (*tagToken)->token = NULL;
-
168 (*tagToken)->tagTokens = NULL;
-
169}
-
-
170
-
171//private destroy function for ARC_ParserTagToken type
-
- -
173 //destroy the tag token vector
-
174 if(tagToken->tagTokens != NULL){
-
175 ARC_Vector_Destroy(tagToken->tagTokens);
-
176 }
-
177
-
178 free(tagToken);
-
179}
-
-
180
-
181//private function to cleanup a parser tag token from a vector
-
- -
183 //we can just use the destroy function with casted data
- -
185}
-
-
186
-
187//private recusive function to parse a tag
-
-
188ARC_Bool ARC_Parser_ParseTag(ARC_Parser *parser, ARC_ParserTagToken *tagToken, uint32_t *lexerIndex){
-
189 //get the current tag
-
190 ARC_ParserTag *tag = NULL;
-
191 for(uint32_t index = 0; index < parser->language.size; index++){
-
192 ARC_ParserTag *foundTag = ((ARC_ParserTag *)parser->language.data) + index;
-
193 if(foundTag->tagId == tagToken->id){
-
194 tag = foundTag;
-
195 break;
-
196 }
-
197 }
-
198
-
199 //if the tag was not found can't do much, so throw an error
-
200 if(tag == NULL){
- -
202 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_Parser_ParseTag(parser, subdata, tagId), could not find tag with id: %u", tagToken->id);
-
203 return ARC_False;
-
204 }
-
205
-
206 //create a vector of tag token to use if a rule is validated, a comparison function is not needed as it will be iterated through
- -
208 ARC_Vector_Create(&(tagToken->tagTokens), NULL, &destroyTokenTagFn);
-
209
-
210 //loop through each or section of the tags and tokens
-
211 for(uint32_t orIndex = 0; orIndex < tag->tokensOrTagsSize; orIndex++){
-
212 //reset the tag tokens for each or index
-
213 ARC_Vector_Clear(tagToken->tagTokens);
-
214
-
215 //loop through each token or tag to check if the lexed data matches
-
216 uint32_t lexerCheckIndex = *lexerIndex;
-
217 ARC_Bool foundRule = ARC_True;
-
218 for(uint32_t tokenOrTagIndex = 1; tokenOrTagIndex < tag->tokensOrTags[orIndex][0] + 1; tokenOrTagIndex++){
-
219 //get next tag id to check
-
220 uint32_t nextTagId = tag->tokensOrTags[orIndex][tokenOrTagIndex];
-
221
-
222 //check if it is lambda (can return safely)
-
223 if(nextTagId == ARC_PARSER_TAG_LAMBDA){
-
224 break;
-
225 }
-
226
-
227 //if the value isn't a token it is a tag, so recurs if it isn't a token
-
228 ARC_Bool isToken = ARC_Lexer_IsTokenId(parser->lexer, nextTagId);
-
229 if(isToken == ARC_False){
-
230 //create a temporary lexer index in case the rule does not exist
-
231 uint32_t tempLexerCheckIndex = lexerCheckIndex;
-
232
-
233 //create tag token for if the rule works
-
234 ARC_ParserTagToken *nextTagToken;
-
235 ARC_ParserTagToken_Create(&nextTagToken, nextTagId);
-
236
-
237 //check if the tag works if not break to continue checking next or index
-
238 foundRule = ARC_Parser_ParseTag(parser, nextTagToken, &tempLexerCheckIndex);
-
239 if(foundRule == ARC_False){
-
240 //clean up the tag token
-
241 ARC_ParserTagToken_Destroy(nextTagToken);
-
242 break;
-
243 }
-
244
-
245 //add the tag token because rule was found
-
246 ARC_Vector_Add(tagToken->tagTokens, nextTagToken);
-
247
-
248 //increase the lexer check index as a recursed rule was found, and continue checking
-
249 lexerCheckIndex = tempLexerCheckIndex;
-
250
-
251 continue;
-
252 }
-
253
-
254 //check if there is another token that can be used
-
255 if(lexerCheckIndex >= ARC_Lexer_GetTokensSize(parser->lexer)){
-
256 //out of tokens to the current or does not work, so break
-
257 foundRule = ARC_False;
-
258 break;
-
259 }
-
260
-
261 //get the next token in the lexer and increment the lexers index
-
262 ARC_LexerToken *token = ARC_Lexer_GetToken(parser->lexer, lexerCheckIndex);
-
263 lexerCheckIndex++;
-
264
-
265 //if the token rule does not match the current token in the current or statement the token rule could not be found for the current or index so break
-
266 if(token->rule != tag->tokensOrTags[orIndex][tokenOrTagIndex]){
-
267 foundRule = ARC_False;
-
268 break;
-
269 }
-
270
-
271 //the rule was a match so create a tag token to store the token in
-
272 ARC_ParserTagToken *nextTagToken;
-
273 ARC_ParserTagToken_Create(&nextTagToken, nextTagId);
-
274 nextTagToken->token = token;
-
275
-
276 //add the token to the tag tokens
-
277 ARC_Vector_Add(tagToken->tagTokens, nextTagToken);
-
278 }
-
279
-
280 //if the rule is found we don't need to check anymore so we can return out
-
281 if(foundRule == ARC_True){
-
282 *lexerIndex = lexerCheckIndex;
-
283
-
284 //cleanup
-
285 return ARC_True;
-
286 }
-
287 }
-
288
-
289 //cleanup
-
290 ARC_Vector_Destroy(tagToken->tagTokens);
-
291 tagToken->tagTokens = NULL;
-
292
-
293 //no rule was found, so return false
-
294 return ARC_False;
-
295}
-
-
296
-
- -
298 //make sure the parser has a language
-
299 if(parser->language.size == 0){
-
300 ARC_DEBUG_LOG_ERROR("ARC_Parser_Parse(parser, data), no parser language defined");
-
301 return;
-
302 }
-
303
-
304 //lex the subdata
-
305 ARC_Lexer_LexString(parser->lexer, data);
-
306 if(arc_errno){
-
307 ARC_DEBUG_LOG_ERROR("ARC_Parser_Parse(parser, data), could not lex the given data");
-
308 ARC_Lexer_Clear(parser->lexer);
-
309 return;
-
310 }
-
311
-
312 //set the lexer index to start and get the first tag
-
313 uint32_t lexerIndex = 0;
-
314 ARC_ParserTag *startTag = parser->language.data;
-
315
-
316 //setup a tag token that will be passed to the creation callback on success
-
317 ARC_ParserTagToken *tagToken;
-
318 ARC_ParserTagToken_Create(&tagToken, startTag->tagId);
-
319
-
320 //TODO: handle error checks for if parsing fails
-
321 //recursivly parse from the inital start tag
-
322 ARC_Bool parsed = ARC_Parser_ParseTag(parser, tagToken, &lexerIndex);
-
323 ARC_Bool allTokensParsed = lexerIndex == ARC_Lexer_GetTokensSize(parser->lexer);
-
324
-
325 //error if anything went wrong
-
326 if(parsed == ARC_False || allTokensParsed == ARC_False || arc_errno){
-
327 ARC_Lexer_Clear(parser->lexer);
- -
329
- -
331 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_Parser_Parse(parser, data), could not parse the given data at lexer index: %u", lexerIndex);
-
332 return;
-
333 }
-
334
-
335 //create the data if the creation callback exists
-
336 if(parser->createDataFn != NULL){
-
337 (*(parser->createDataFn))(&(parser->data), tagToken, parser->userData);
-
338 }
-
339
- -
341 //cleanup
-
342 ARC_Lexer_Clear(parser->lexer);
-
343}
-
-
344
-
- -
346 ARC_String *fileString;
-
347 ARC_IO_FileToStr(path, &fileString);
-
348
-
349 if(fileString == NULL){
- -
351 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_Parser_ParseFile(parser, data), could not read file \"%s\"", path->data);
-
352 return;
-
353 }
-
354
-
355 ARC_Parser_Parse(parser, &fileString);
-
356}
-
-
357
-
- -
359 //check if that data exists and the destructor exists to make sure they can be run, set to true to indicate clear
-
360 if(parser->data != NULL && parser->destroyDataFn != NULL){
-
361 (*(parser->destroyDataFn))(parser->data, ARC_True, parser->userData);
-
362 }
-
363
-
364 //TODO: might want to error here
-
365 parser->data = NULL;
-
366}
-
-
367
-
- -
369 return parser->data;
-
370}
-
- -
#define ARC_False
Definition bool.h:12
-
#define ARC_True
Definition bool.h:11
-
#define ARC_Bool
Definition bool.h:10
- -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
#define ARC_ERRNO_DATA
Definition errno.h:7
- -
void ARC_IO_FileToStr(ARC_String *path, ARC_String **data)
get string and size from file
Definition io.c:43
- -
ARC_LexerToken * ARC_Lexer_GetToken(ARC_Lexer *lexer, uint32_t index)
gets a token at a given index from a lexer
Definition lexer.c:272
-
ARC_Bool ARC_Lexer_IsTokenId(ARC_Lexer *lexer, uint32_t id)
returns a boolean based on if a given id is a stored token rule id
Definition lexer.c:294
-
void ARC_Lexer_LexString(ARC_Lexer *lexer, ARC_String **data)
creates tokens using a given string with ARC_LexerToken rules
Definition lexer.c:166
-
void ARC_Lexer_Clear(ARC_Lexer *lexer)
clears all tokens from a lexer (will not clear token rules)
Definition lexer.c:161
-
void ARC_Lexer_Create(ARC_Lexer **lexer)
creates an ARC_Lexer type
Definition lexer.c:50
-
uint32_t ARC_Lexer_GetTokensSize(ARC_Lexer *lexer)
gets a token at a given index from a lexer
Definition lexer.c:286
-
void ARC_Lexer_Destroy(ARC_Lexer *lexer)
destroys an ARC_Lexer type
Definition lexer.c:68
- -
#define ARC_PARSER_TAG_LAMBDA
basic tag for letting the parser know it is ok to end
Definition parser.h:150
-
uint32_t(* ARC_Parser_GetStringIdFn)(ARC_String *string)
TODO: write this.
Definition parser.h:52
-
void(* ARC_Parser_InitLexerRulesFn)(ARC_Lexer *lexer)
a callback function to initialize the lexer the parser uses with rules
Definition parser.h:47
-
void(* ARC_ParserData_CreateFn)(void **data, ARC_ParserTagToken *parsedData, void *userData)
TODO: write this.
Definition parser.h:57
-
void(* ARC_ParserData_DestroyFn)(void *data, ARC_Bool clear, void *userData)
TODO: write this.
Definition parser.h:62
- -
void ARC_ParserLang_CreateAsParser(ARC_Parser **parser, ARC_Parser_GetStringIdFn getStringIdFn)
creates a parser for the Parser Lang
Definition parserlang.c:324
-
void ARC_Parser_CreateFromString(ARC_Parser **parser, ARC_String *languageString, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_Parser_GetStringIdFn getStringIdFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
creates an ARC_Parser type from a string
Definition parser.c:105
-
void ARC_Parser_ParseFile(ARC_Parser *parser, ARC_String *path)
Definition parser.c:345
-
ARC_Bool ARC_Parser_ParseTag(ARC_Parser *parser, ARC_ParserTagToken *tagToken, uint32_t *lexerIndex)
Definition parser.c:188
-
void ARC_ParserTagToken_Destroy(ARC_ParserTagToken *tagToken)
Definition parser.c:172
-
void ARC_ParserTagToken_Create(ARC_ParserTagToken **tagToken, uint32_t id)
Definition parser.c:163
-
void ARC_Parser_Create(ARC_Parser **parser, ARC_Array *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
creates an ARC_Parser type
Definition parser.c:24
-
void ARC_ParserTagToken_VectorDestroyDataFn(void *data)
Definition parser.c:182
-
void ARC_Parser_Parse(ARC_Parser *parser, ARC_String **data)
Definition parser.c:297
-
void ARC_Parser_CreateFromVector(ARC_Parser **parser, ARC_Vector *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
creates an ARC_Parser type from an arc vector
Definition parser.c:85
-
void ARC_Parser_Destroy(ARC_Parser *parser)
destroys an ARC_Parser type
Definition parser.c:127
-
void ARC_Parser_ClearData(ARC_Parser *parser)
Definition parser.c:358
-
void * ARC_Parser_GetData(ARC_Parser *parser)
Definition parser.c:368
- -
void ARC_String_Copy(ARC_String **copy, ARC_String *original)
copy a ARC_String
Definition string.c:62
-
a type that holds an array of data and its size
Definition array.h:13
-
uint32_t size
Definition array.h:14
-
void * data
Definition array.h:15
-
a lexer token type
Definition lexer.h:18
-
uint32_t rule
Definition lexer.h:19
- -
a parser type used inside of the parser data create function
Definition parser.h:35
-
ARC_LexerToken * token
Definition parser.h:38
-
uint32_t id
Definition parser.h:36
-
ARC_Vector * tagTokens
Definition parser.h:39
-
a langue tag type for the parser //TODO: explain this better
Definition parser.h:21
-
uint32_t tagId
Definition parser.h:22
-
uint32_t tokensOrTagsSize
Definition parser.h:25
-
uint32_t ** tokensOrTags
Definition parser.h:24
- -
ARC_Array language
Definition parser.c:13
-
ARC_ParserData_CreateFn * createDataFn
Definition parser.c:19
-
void * data
Definition parser.c:17
-
ARC_Lexer * lexer
Definition parser.c:15
-
void * userData
Definition parser.c:18
-
ARC_ParserData_DestroyFn * destroyDataFn
Definition parser.c:20
-
substring position within a string
Definition string.h:14
-
char * data
Definition string.h:15
-
a private dynamic array type
Definition vector.c:12
-
ARC_Array languageArray
Definition parser.c:57
- -
void(* ARC_Vector_DestroyDataFn)(void *data)
a callback that cleans up memory when it is removed from the vector
Definition vector.h:31
-
uint32_t ARC_Vector_GetSize(ARC_Vector *vector)
gets the current size of an ARC_Vector as an unsigned 32 bit integer
Definition vector.c:149
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:153
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:70
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:54
-
void ARC_Vector_Clear(ARC_Vector *vector)
clears all items from a vector
Definition vector.c:142
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:31
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/d8e/src_2std_2parser_2csv_8c.html b/doc/doxygen/html/d1/d8e/src_2std_2parser_2csv_8c.html deleted file mode 100644 index 1a93373..0000000 --- a/doc/doxygen/html/d1/d8e/src_2std_2parser_2csv_8c.html +++ /dev/null @@ -1,787 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/parser/csv.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
csv.c File Reference
-
-
-
#include "arc/std/parser/csv.h"
-#include "arc/std/parser/helpers.h"
-#include "arc/std/bool.h"
-#include "arc/std/parser.h"
-#include <stddef.h>
-#include <stdint.h>
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_ParserCSVUserData
 
- - - -

-Typedefs

typedef struct ARC_ParserCSVUserData ARC_ParserCSVUserData
 
- - - - - - - - - - - - - - - - - - -

-Functions

void ARC_ParserCSV_InitLexerRulesFn (ARC_Lexer *lexer)
 
uint32_t ARC_ParserCSV_GetStringIdFn (ARC_String *string)
 
void ARC_ParserCSVData_VectorDestroyVectorFn (void *data)
 
void ARC_ParserCSVData_GetDataTag (ARC_Vector *dataVector, ARC_ParserTagToken *tagToken, ARC_ParserCSVUserData *userData)
 
void ARC_ParserCSVData_RunLineTag (ARC_Vector *dataVector, ARC_ParserTagToken *tagToken, ARC_ParserCSVUserData *userData)
 
void ARC_ParserCSVData_CreateFn (void **data, ARC_ParserTagToken *parsedData, void *userData)
 
void ARC_ParserCSVData_DestroyFn (void *data, ARC_Bool clear, void *userData)
 
void ARC_ParserCSV_CreateAsParser (ARC_Parser **parser, ARC_Bool header, ARC_ParserCSV_CastTypeFn castTypeFn, ARC_ParserCSV_DestroyTypeFn destroyTypeFn)
 creates a parser for the Parser Lang
 
-

Typedef Documentation

- -

◆ ARC_ParserCSVUserData

- -
-
- - - - -
typedef struct ARC_ParserCSVUserData ARC_ParserCSVUserData
-
- -
-
-

Function Documentation

- -

◆ ARC_ParserCSV_CreateAsParser()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_ParserCSV_CreateAsParser (ARC_Parser ** parser,
ARC_Bool header,
ARC_ParserCSV_CastTypeFn castTypeFn,
ARC_ParserCSV_DestroyTypeFn destroyTypeFn )
-
- -

creates a parser for the Parser Lang

-
Note
the rules will be inited for the parser lang
-
-the parsed data will be saved as a vector of ARC_ParserLanguageTag
-
Parameters
- - -
[out]parserthe parser to create
-
-
- -

Definition at line 302 of file csv.c.

-
302 {
-
303 /* ~ define the language as a string ~ */
-
304 char *languageCString =
-
305 "<line> -> <data> NEWLINE <line> | <data> | NEWLINE <line> | LAMBDA\n"
-
306 "<data> -> <string> COMMA <data> | <string>\n"
-
307 "<string> -> <nonCommaChar> <string> | <nonCommaChar>\n"
-
308 "<nonCommaChar> -> CHAR_BEFORE_COMMA | CHAR_AFTER_COMMA\n";
-
309
-
310 ARC_String *languageString;
-
311 ARC_String_CreateWithStrlen(&languageString, languageCString);
-
312
-
313 /* ~ init the userdata ~ */
- -
315 userdata->header = header;
-
316 userdata->castTypeFn = castTypeFn;
-
317 userdata->destroyTypeFn = destroyTypeFn;
-
318
-
319 /* ~ create the language ~ */
- - -
322 ARC_Parser_CreateFromString(parser, languageString, ARC_ParserCSV_InitLexerRulesFn, ARC_ParserCSV_GetStringIdFn, &createCharFn, &destroyCharFn, userdata);
-
323
-
324 //cleanup
-
325 ARC_String_Destroy(languageString);
-
326}
-
void ARC_Parser_CreateFromString(ARC_Parser **parser, ARC_String *languageString, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_Parser_GetStringIdFn getStringIdFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
creates an ARC_Parser type from a string
Definition parser.c:105
-
void(* ARC_ParserData_CreateFn)(void **data, ARC_ParserTagToken *parsedData, void *userData)
TODO: write this.
Definition parser.h:57
-
void(* ARC_ParserData_DestroyFn)(void *data, ARC_Bool clear, void *userData)
TODO: write this.
Definition parser.h:62
-
void ARC_ParserCSV_InitLexerRulesFn(ARC_Lexer *lexer)
Definition csv.c:15
-
uint32_t ARC_ParserCSV_GetStringIdFn(ARC_String *string)
Definition csv.c:24
-
void ARC_ParserCSVData_CreateFn(void **data, ARC_ParserTagToken *parsedData, void *userData)
Definition csv.c:157
-
void ARC_ParserCSVData_DestroyFn(void *data, ARC_Bool clear, void *userData)
Definition csv.c:263
-
void ARC_String_CreateWithStrlen(ARC_String **string, char *data)
creates ARC_String type with strinlen
Definition string.c:32
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
- -
ARC_ParserCSV_CastTypeFn castTypeFn
Definition csv.c:11
-
ARC_Bool header
Definition csv.c:10
-
ARC_ParserCSV_DestroyTypeFn destroyTypeFn
Definition csv.c:12
-
substring position within a string
Definition string.h:14
-
-

References ARC_Parser_CreateFromString(), ARC_ParserCSV_GetStringIdFn(), ARC_ParserCSV_InitLexerRulesFn(), ARC_ParserCSVData_CreateFn(), ARC_ParserCSVData_DestroyFn(), ARC_String_CreateWithStrlen(), ARC_String_Destroy(), ARC_ParserCSVUserData::castTypeFn, ARC_ParserCSVUserData::destroyTypeFn, and ARC_ParserCSVUserData::header.

- -

Referenced by ARC_TEST(), and ARC_TEST().

- -
-
- -

◆ ARC_ParserCSV_GetStringIdFn()

- -
-
- - - - - - - -
uint32_t ARC_ParserCSV_GetStringIdFn (ARC_String * string)
-
- -

Definition at line 24 of file csv.c.

-
24 {
-
25 if(ARC_String_EqualsCStringWithStrlen(string, "LAMBDA")){
- -
27 }
-
28
-
29 if(ARC_String_EqualsCStringWithStrlen(string, "COMMA")){
- -
31 }
-
32
-
33 if(ARC_String_EqualsCStringWithStrlen(string, "NEWLINE")){
- -
35 }
-
36
-
37 if(ARC_String_EqualsCStringWithStrlen(string, "CHAR_BEFORE_COMMA")){
- -
39 }
-
40
-
41 if(ARC_String_EqualsCStringWithStrlen(string, "CHAR_AFTER_COMMA")){
- -
43 }
-
44
-
45 if(ARC_String_EqualsCStringWithStrlen(string, "<line>")){
- -
47 }
-
48
-
49 if(ARC_String_EqualsCStringWithStrlen(string, "<data>")){
- -
51 }
-
52
-
53 if(ARC_String_EqualsCStringWithStrlen(string, "<string>")){
- -
55 }
-
56
-
57 if(ARC_String_EqualsCStringWithStrlen(string, "<nonCommaChar>")){
- -
59 }
-
60
-
61 return ~(uint32_t)0;
-
62}
-
#define ARC_PARSER_CSV_CHAR_AFTER_COMMA
Definition csv.h:66
-
#define ARC_PARSER_CSV_CHAR_BEFORE_COMMA
Definition csv.h:65
-
#define ARC_PARSER_CSV_CHAR_COMMA
Definition csv.h:63
-
#define ARC_PARSER_CSV_DATA
Definition csv.h:68
-
#define ARC_PARSER_CSV_STRING
Definition csv.h:69
-
#define ARC_PARSER_CSV_LINE
Definition csv.h:67
-
#define ARC_PARSER_CSV_CHAR_NEWLINE
Definition csv.h:64
-
#define ARC_PARSER_CSV_NON_COMMA_CHAR
Definition csv.h:70
-
#define ARC_PARSER_TAG_LAMBDA
basic tag for letting the parser know it is ok to end
Definition parser.h:150
-
ARC_Bool ARC_String_EqualsCStringWithStrlen(ARC_String *string, const char *cstring)
check if ARC_String and cstring match
Definition string.c:171
-
-

References ARC_PARSER_CSV_CHAR_AFTER_COMMA, ARC_PARSER_CSV_CHAR_BEFORE_COMMA, ARC_PARSER_CSV_CHAR_COMMA, ARC_PARSER_CSV_CHAR_NEWLINE, ARC_PARSER_CSV_DATA, ARC_PARSER_CSV_LINE, ARC_PARSER_CSV_NON_COMMA_CHAR, ARC_PARSER_CSV_STRING, ARC_PARSER_TAG_LAMBDA, and ARC_String_EqualsCStringWithStrlen().

- -

Referenced by ARC_ParserCSV_CreateAsParser().

- -
-
- -

◆ ARC_ParserCSV_InitLexerRulesFn()

- -
-
- - - - - - - -
void ARC_ParserCSV_InitLexerRulesFn (ARC_Lexer * lexer)
-
- -

Definition at line 15 of file csv.c.

-
15 {
- - -
18
-
19 //NOTE: used an ascii table to get these values
- - -
22}
-
void ARC_Lexer_RegisterTokenRule(ARC_Lexer *lexer, ARC_LexerTokenRule tokenRule)
adds a token rule to a lexer
Definition lexer.c:79
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharRule(uint32_t id, char character)
creates a ARC_LexerTokenRule with a given id and character
Definition lexer.c:378
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween(uint32_t id, char start, char end)
creates a ARC_LexerTokenRule with a given id and character range
Definition lexer.c:400
-
-

References ARC_Lexer_RegisterTokenRule(), ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween(), ARC_LexerTokenRule_CreateAndReturnMatchCharRule(), ARC_PARSER_CSV_CHAR_AFTER_COMMA, ARC_PARSER_CSV_CHAR_BEFORE_COMMA, ARC_PARSER_CSV_CHAR_COMMA, and ARC_PARSER_CSV_CHAR_NEWLINE.

- -

Referenced by ARC_ParserCSV_CreateAsParser().

- -
-
- -

◆ ARC_ParserCSVData_CreateFn()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ParserCSVData_CreateFn (void ** data,
ARC_ParserTagToken * parsedData,
void * userData )
-
- -

Definition at line 157 of file csv.c.

-
157 {
-
158 *data = NULL;
-
159 if(data == NULL || userData == NULL){
-
160 //TODO: error here?
-
161 *data = NULL;
-
162 return;
-
163 }
-
164
-
165 //cast the csv data back to its original type
-
166 ARC_ParserCSVUserData *csvUserData = (ARC_ParserCSVUserData *)userData;
-
167
-
168 //crate a vector for the data to be stored in before being copied to a 2d array
-
169 ARC_Vector *dataVector;
- -
171 ARC_Vector_Create(&dataVector, NULL, &destroyVectorFn);
-
172
-
173 //create the first row vector, does not need a destroy function as its contents will be moved
-
174 ARC_Vector *dataRowVector;
-
175 ARC_Vector_Create(&dataRowVector, NULL, NULL);
-
176
-
177 //add the row to the dataVector
-
178 ARC_Vector_Add(dataVector, (void *)dataRowVector);
-
179
-
180 //recursively add data from the parsedData to the data vector
-
181 ARC_ParserCSVData_RunLineTag(dataVector, parsedData, csvUserData);
-
182
-
183 //get the first line to check if it has any values
-
184 dataRowVector = ARC_Vector_Get(dataVector, 0);
-
185 if(ARC_Vector_GetSize(dataRowVector) == 0){
-
186 //TODO: iterate and clear the vector
-
187 ARC_Vector_Destroy(dataVector);
-
188 return;
-
189 }
-
190
-
191 //create the data that will be saved
-
192 ARC_ParserCSVData *csvData = (ARC_ParserCSVData *)malloc(sizeof(ARC_ParserCSVData));
-
193 csvData->hasHeader = csvUserData->header;
-
194 csvData->headers = NULL;
-
195 csvData->height = 0;
-
196 csvData->width = ARC_Vector_GetSize(dataRowVector);
-
197 csvData->data = NULL;
-
198
-
199 //create the starting index (to offset the header if it exists)
-
200 uint32_t heightStartIndex = 0;
-
201
-
202 //store the headers if they exist
-
203 if(csvData->hasHeader == ARC_True){
-
204 heightStartIndex++;
-
205
-
206 //copy the headers
-
207 csvData->headers = (ARC_String **)malloc(sizeof(ARC_String *) * csvData->width);
-
208 for(uint32_t headerIndex = 0; headerIndex < csvData->width; headerIndex++){
-
209 csvData->headers[headerIndex] = (ARC_String *)ARC_Vector_Get(dataRowVector, headerIndex);
-
210 }
-
211 }
-
212
-
213 //check that all the rows are the same size
-
214 for(uint32_t rowIndex = heightStartIndex; rowIndex < ARC_Vector_GetSize(dataVector); rowIndex++){
-
215 ARC_Vector *currentRowVector = (ARC_Vector *)ARC_Vector_Get(dataVector, rowIndex);
-
216
-
217 //skip an empty line (this should only be the case for the last line)
-
218 uint32_t currentRowVectorSize = ARC_Vector_GetSize(currentRowVector);
-
219 if(currentRowVectorSize == 0){
-
220 continue;
-
221 }
-
222
-
223 //a row was found so update the height
-
224 csvData->height++;
-
225
-
226 //TODO: probs want to error
-
227 //cleanup and exit if they don't match
-
228 if(csvData->width != currentRowVectorSize){
-
229 //TODO: iterate and clear the vector
-
230 ARC_Vector_Destroy(dataVector);
-
231 return;
-
232 }
-
233 }
-
234
-
235 //init location to copy data to
-
236 csvData->data = (void ***)malloc(sizeof(void **) * csvData->height);
-
237
-
238 //copy the data
-
239 uint32_t rowIndex = 0;
-
240 for(uint32_t y = 0; y < csvData->height; y++, rowIndex++){
-
241 ARC_Vector *currentRowVector = (ARC_Vector *)ARC_Vector_Get(dataVector, rowIndex + heightStartIndex);
-
242
-
243 //skip an empty line (should only be the case for the last line)
-
244 uint32_t currentRowVectorSize = ARC_Vector_GetSize(currentRowVector);
-
245 if(currentRowVectorSize == 0){
-
246 y--;
-
247 continue;
-
248 }
-
249
-
250 //create the current row
-
251 csvData->data[y] = (void **)malloc(sizeof(void *) * csvData->width);
-
252
-
253 for(uint32_t x = 0; x < csvData->width; x++){
-
254 csvData->data[y][x] = ARC_Vector_Get(currentRowVector, x);
-
255 }
-
256 }
-
257
-
258 ARC_Vector_Destroy(dataVector);
-
259
-
260 *data = (void *)csvData;
-
261}
-
#define ARC_True
Definition bool.h:11
-
void ARC_ParserCSVData_VectorDestroyVectorFn(void *data)
Definition csv.c:64
-
void ARC_ParserCSVData_RunLineTag(ARC_Vector *dataVector, ARC_ParserTagToken *tagToken, ARC_ParserCSVUserData *userData)
Definition csv.c:118
-
defines a csv data type, data is set by the callback passed in when createing a parserCSV as parser
Definition csv.h:44
-
uint32_t height
Definition csv.h:49
-
uint32_t width
Definition csv.h:48
-
void *** data
Definition csv.h:50
-
ARC_String ** headers
Definition csv.h:46
-
ARC_Bool hasHeader
Definition csv.h:45
-
a private dynamic array type
Definition vector.c:12
-
void(* ARC_Vector_DestroyDataFn)(void *data)
a callback that cleans up memory when it is removed from the vector
Definition vector.h:31
-
uint32_t ARC_Vector_GetSize(ARC_Vector *vector)
gets the current size of an ARC_Vector as an unsigned 32 bit integer
Definition vector.c:149
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:153
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:70
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:54
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:31
-
-

References ARC_ParserCSVData_RunLineTag(), ARC_ParserCSVData_VectorDestroyVectorFn(), ARC_True, ARC_Vector_Add(), ARC_Vector_Create(), ARC_Vector_Destroy(), ARC_Vector_Get(), ARC_Vector_GetSize(), ARC_ParserCSVData::data, ARC_ParserCSVData::hasHeader, ARC_ParserCSVUserData::header, ARC_ParserCSVData::headers, ARC_ParserCSVData::height, and ARC_ParserCSVData::width.

- -

Referenced by ARC_ParserCSV_CreateAsParser().

- -
-
- -

◆ ARC_ParserCSVData_DestroyFn()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ParserCSVData_DestroyFn (void * data,
ARC_Bool clear,
void * userData )
-
- -

Definition at line 263 of file csv.c.

-
263 {
-
264 if(userData == NULL){
-
265 return;
-
266 }
-
267
-
268 ARC_ParserCSVUserData *csvUserData = (ARC_ParserCSVUserData *)userData;
-
269
-
270 if(data != NULL){
-
271 ARC_ParserCSVData *csvData = (ARC_ParserCSVData *)data;
-
272
-
273 //cleanup the headers if they exist
-
274 if(csvData->hasHeader == ARC_True){
-
275 for(uint32_t x = 0; x < csvData->width; x++){
-
276 ARC_String *string = csvData->headers[x];
-
277 ARC_String_Destroy(string);
-
278 }
-
279 free(csvData->headers);
-
280 }
-
281
-
282 for(uint32_t y = 0; y < csvData->height; y++){
-
283 //cleanup each element in the data
-
284 for(uint32_t x = 0; x < csvData->width; x++){
-
285 csvUserData->destroyTypeFn(csvData->data[y][x]);
-
286 }
-
287
-
288 //cleanup each row of data
-
289 free(csvData->data[y]);
-
290 }
-
291
-
292 //cleanup the data
-
293 free(csvData->data);
-
294 free(csvData);
-
295 }
-
296
-
297 if(clear == ARC_False){
-
298 free(csvUserData);
-
299 }
-
300}
-
#define ARC_False
Definition bool.h:12
-
-

References ARC_False, ARC_String_Destroy(), ARC_True, ARC_ParserCSVData::data, ARC_ParserCSVUserData::destroyTypeFn, ARC_ParserCSVData::hasHeader, ARC_ParserCSVData::headers, ARC_ParserCSVData::height, and ARC_ParserCSVData::width.

- -

Referenced by ARC_ParserCSV_CreateAsParser().

- -
-
- -

◆ ARC_ParserCSVData_GetDataTag()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ParserCSVData_GetDataTag (ARC_Vector * dataVector,
ARC_ParserTagToken * tagToken,
ARC_ParserCSVUserData * userData )
-
- -

Definition at line 69 of file csv.c.

-
69 {
-
70 //cast the csv data back to its original type
-
71 ARC_ParserCSVUserData *csvUserData = (ARC_ParserCSVUserData *)userData;
-
72
-
73 //loop through the tags either recursing to next body or adding data to vector
-
74 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
-
75 ARC_ParserTagToken *childTagToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, index);
-
76
-
77 ARC_String *stringData = NULL;
-
78 ARC_Vector *row = NULL;
-
79 uint32_t rowIndex = 0;
-
80
-
81 switch(childTagToken->id){
-
82 //recuse to run the next line
- -
84 //get the string of the data
-
85 ARC_String_Create(&stringData, NULL, 0);
-
86 ARC_ParserData_HelperRecurseStringAdd(&stringData, childTagToken);
-
87
-
88 //move data string and cleanup
-
89 void *data = (void *)stringData;
-
90
-
91 //get the last row vector
-
92 rowIndex = ARC_Vector_GetSize(dataVector) - 1;
-
93 row = (ARC_Vector *)ARC_Vector_Get(dataVector, rowIndex);
-
94
-
95 //only call the userData cast type callback if it is not a header
-
96 if(rowIndex != 0 || csvUserData->header == ARC_False){
-
97 data = NULL;
-
98 userData->castTypeFn(&data, stringData);
-
99 ARC_String_Destroy(stringData);
-
100 }
-
101
-
102 //add the data to the row vector
-
103 ARC_Vector_Add(row, data);
-
104 continue;
-
105
- -
107 ARC_ParserCSVData_GetDataTag(dataVector, childTagToken, userData);
-
108 continue;
-
109
-
110 default:
-
111 //this should only be the case for the comma
-
112 continue;
-
113 }
-
114 }
-
115}
-
void ARC_ParserData_HelperRecurseStringAdd(ARC_String **data, ARC_ParserTagToken *tagToken)
recurses through a tag token adding token strings to a main string
Definition helpers.c:4
-
void ARC_ParserCSVData_GetDataTag(ARC_Vector *dataVector, ARC_ParserTagToken *tagToken, ARC_ParserCSVUserData *userData)
Definition csv.c:69
-
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
-
a parser type used inside of the parser data create function
Definition parser.h:35
-
uint32_t id
Definition parser.h:36
-
ARC_Vector * tagTokens
Definition parser.h:39
-
-

References ARC_False, ARC_PARSER_CSV_DATA, ARC_PARSER_CSV_STRING, ARC_ParserCSVData_GetDataTag(), ARC_ParserData_HelperRecurseStringAdd(), ARC_String_Create(), ARC_String_Destroy(), ARC_Vector_Add(), ARC_Vector_Get(), ARC_Vector_GetSize(), ARC_ParserCSVUserData::castTypeFn, ARC_ParserCSVUserData::header, ARC_ParserTagToken::id, and ARC_ParserTagToken::tagTokens.

- -

Referenced by ARC_ParserCSVData_GetDataTag(), and ARC_ParserCSVData_RunLineTag().

- -
-
- -

◆ ARC_ParserCSVData_RunLineTag()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ParserCSVData_RunLineTag (ARC_Vector * dataVector,
ARC_ParserTagToken * tagToken,
ARC_ParserCSVUserData * userData )
-
- -

Definition at line 118 of file csv.c.

-
118 {
-
119 //loop through the tags either going to the next line or the next body
-
120 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
-
121 ARC_ParserTagToken *childTagToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, index);
-
122
-
123 ARC_Vector *row = NULL;
-
124 uint32_t rowIndex = 0;
-
125
-
126 switch(childTagToken->id){
-
127 //recuse to run the next line
- -
129 ARC_ParserCSVData_RunLineTag(dataVector, childTagToken, userData);
-
130 continue;
-
131
-
132 //get the row data
- -
134 ARC_ParserCSVData_GetDataTag(dataVector, childTagToken, userData);
-
135 continue;
-
136
-
137 //add a new row for each new line
- -
139 //check if current is not empty (no need to create another empty row)
-
140 rowIndex = ARC_Vector_GetSize(dataVector) - 1;
-
141 row = (ARC_Vector *)ARC_Vector_Get(dataVector, rowIndex);
-
142 if(ARC_Vector_GetSize(row) == 0){
-
143 continue;
-
144 }
-
145
-
146 //create and add a new row
-
147 ARC_Vector_Create(&row, NULL, NULL);
-
148 ARC_Vector_Add(dataVector, (void *)row);
-
149 continue;
-
150
-
151 default:
-
152 continue;
-
153 }
-
154 }
-
155}
-
-

References ARC_PARSER_CSV_CHAR_NEWLINE, ARC_PARSER_CSV_DATA, ARC_PARSER_CSV_LINE, ARC_ParserCSVData_GetDataTag(), ARC_ParserCSVData_RunLineTag(), ARC_Vector_Add(), ARC_Vector_Create(), ARC_Vector_Get(), ARC_Vector_GetSize(), ARC_ParserTagToken::id, and ARC_ParserTagToken::tagTokens.

- -

Referenced by ARC_ParserCSVData_CreateFn(), and ARC_ParserCSVData_RunLineTag().

- -
-
- -

◆ ARC_ParserCSVData_VectorDestroyVectorFn()

- -
-
- - - - - - - -
void ARC_ParserCSVData_VectorDestroyVectorFn (void * data)
-
- -

Definition at line 64 of file csv.c.

-
64 {
-
65 ARC_Vector *vector = (ARC_Vector *)data;
-
66 ARC_Vector_Destroy(vector);
-
67}
-
-

References ARC_Vector_Destroy().

- -

Referenced by ARC_ParserCSVData_CreateFn().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/d8e/src_2std_2parser_2csv_8c.js b/doc/doxygen/html/d1/d8e/src_2std_2parser_2csv_8c.js deleted file mode 100644 index 72bf95f..0000000 --- a/doc/doxygen/html/d1/d8e/src_2std_2parser_2csv_8c.js +++ /dev/null @@ -1,13 +0,0 @@ -var src_2std_2parser_2csv_8c = -[ - [ "ARC_ParserCSVUserData", "df/dd5/structARC__ParserCSVUserData.html", "df/dd5/structARC__ParserCSVUserData" ], - [ "ARC_ParserCSVUserData", "d1/d8e/src_2std_2parser_2csv_8c.html#a69b5a5d311eb55396338c0bc3f4270ab", null ], - [ "ARC_ParserCSV_CreateAsParser", "d1/d8e/src_2std_2parser_2csv_8c.html#a74a4a58425ddc46dc29064362c800c22", null ], - [ "ARC_ParserCSV_GetStringIdFn", "d1/d8e/src_2std_2parser_2csv_8c.html#a699da7da0f351807ddf93967a2e1341f", null ], - [ "ARC_ParserCSV_InitLexerRulesFn", "d1/d8e/src_2std_2parser_2csv_8c.html#a32c2b6642c6b38445484d0bbb6c675c0", null ], - [ "ARC_ParserCSVData_CreateFn", "d1/d8e/src_2std_2parser_2csv_8c.html#a75452e76b158eaa5945c22df02a83cb7", null ], - [ "ARC_ParserCSVData_DestroyFn", "d1/d8e/src_2std_2parser_2csv_8c.html#af9a38ca2f0572c53af9dd434f300b67e", null ], - [ "ARC_ParserCSVData_GetDataTag", "d1/d8e/src_2std_2parser_2csv_8c.html#a97bd1ae49eae07e4ea030d15a196f916", null ], - [ "ARC_ParserCSVData_RunLineTag", "d1/d8e/src_2std_2parser_2csv_8c.html#aa9799c0d05522a0d9022b66588e71132", null ], - [ "ARC_ParserCSVData_VectorDestroyVectorFn", "d1/d8e/src_2std_2parser_2csv_8c.html#a6bd51c7af9baa7306dc155fdd8ca4491", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d1/d8e/src_2std_2parser_2csv_8c_source.html b/doc/doxygen/html/d1/d8e/src_2std_2parser_2csv_8c_source.html deleted file mode 100644 index 84d451b..0000000 --- a/doc/doxygen/html/d1/d8e/src_2std_2parser_2csv_8c_source.html +++ /dev/null @@ -1,534 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/parser/csv.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
csv.c
-
-
-Go to the documentation of this file.
- -
3#include "arc/std/bool.h"
-
4#include "arc/std/parser.h"
-
5#include <stddef.h>
-
6#include <stdint.h>
-
7#include <stdlib.h>
-
8
- -
14
- -
23
-
- -
25 if(ARC_String_EqualsCStringWithStrlen(string, "LAMBDA")){
- -
27 }
-
28
-
29 if(ARC_String_EqualsCStringWithStrlen(string, "COMMA")){
- -
31 }
-
32
-
33 if(ARC_String_EqualsCStringWithStrlen(string, "NEWLINE")){
- -
35 }
-
36
-
37 if(ARC_String_EqualsCStringWithStrlen(string, "CHAR_BEFORE_COMMA")){
- -
39 }
-
40
-
41 if(ARC_String_EqualsCStringWithStrlen(string, "CHAR_AFTER_COMMA")){
- -
43 }
-
44
-
45 if(ARC_String_EqualsCStringWithStrlen(string, "<line>")){
- -
47 }
-
48
-
49 if(ARC_String_EqualsCStringWithStrlen(string, "<data>")){
- -
51 }
-
52
-
53 if(ARC_String_EqualsCStringWithStrlen(string, "<string>")){
- -
55 }
-
56
-
57 if(ARC_String_EqualsCStringWithStrlen(string, "<nonCommaChar>")){
- -
59 }
-
60
-
61 return ~(uint32_t)0;
-
62}
-
-
63
-
- -
65 ARC_Vector *vector = (ARC_Vector *)data;
-
66 ARC_Vector_Destroy(vector);
-
67}
-
-
68
-
- -
70 //cast the csv data back to its original type
-
71 ARC_ParserCSVUserData *csvUserData = (ARC_ParserCSVUserData *)userData;
-
72
-
73 //loop through the tags either recursing to next body or adding data to vector
-
74 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
-
75 ARC_ParserTagToken *childTagToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, index);
-
76
-
77 ARC_String *stringData = NULL;
-
78 ARC_Vector *row = NULL;
-
79 uint32_t rowIndex = 0;
-
80
-
81 switch(childTagToken->id){
-
82 //recuse to run the next line
- -
84 //get the string of the data
-
85 ARC_String_Create(&stringData, NULL, 0);
-
86 ARC_ParserData_HelperRecurseStringAdd(&stringData, childTagToken);
-
87
-
88 //move data string and cleanup
-
89 void *data = (void *)stringData;
-
90
-
91 //get the last row vector
-
92 rowIndex = ARC_Vector_GetSize(dataVector) - 1;
-
93 row = (ARC_Vector *)ARC_Vector_Get(dataVector, rowIndex);
-
94
-
95 //only call the userData cast type callback if it is not a header
-
96 if(rowIndex != 0 || csvUserData->header == ARC_False){
-
97 data = NULL;
-
98 userData->castTypeFn(&data, stringData);
-
99 ARC_String_Destroy(stringData);
-
100 }
-
101
-
102 //add the data to the row vector
-
103 ARC_Vector_Add(row, data);
-
104 continue;
-
105
- -
107 ARC_ParserCSVData_GetDataTag(dataVector, childTagToken, userData);
-
108 continue;
-
109
-
110 default:
-
111 //this should only be the case for the comma
-
112 continue;
-
113 }
-
114 }
-
115}
-
-
116
-
117//<line> -> <data> NEWLINE <line> | <data> | NEWLINE <line> | LAMBDA
-
- -
119 //loop through the tags either going to the next line or the next body
-
120 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
-
121 ARC_ParserTagToken *childTagToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, index);
-
122
-
123 ARC_Vector *row = NULL;
-
124 uint32_t rowIndex = 0;
-
125
-
126 switch(childTagToken->id){
-
127 //recuse to run the next line
- -
129 ARC_ParserCSVData_RunLineTag(dataVector, childTagToken, userData);
-
130 continue;
-
131
-
132 //get the row data
- -
134 ARC_ParserCSVData_GetDataTag(dataVector, childTagToken, userData);
-
135 continue;
-
136
-
137 //add a new row for each new line
- -
139 //check if current is not empty (no need to create another empty row)
-
140 rowIndex = ARC_Vector_GetSize(dataVector) - 1;
-
141 row = (ARC_Vector *)ARC_Vector_Get(dataVector, rowIndex);
-
142 if(ARC_Vector_GetSize(row) == 0){
-
143 continue;
-
144 }
-
145
-
146 //create and add a new row
-
147 ARC_Vector_Create(&row, NULL, NULL);
-
148 ARC_Vector_Add(dataVector, (void *)row);
-
149 continue;
-
150
-
151 default:
-
152 continue;
-
153 }
-
154 }
-
155}
-
-
156
-
-
157void ARC_ParserCSVData_CreateFn(void **data, ARC_ParserTagToken *parsedData, void *userData){
-
158 *data = NULL;
-
159 if(data == NULL || userData == NULL){
-
160 //TODO: error here?
-
161 *data = NULL;
-
162 return;
-
163 }
-
164
-
165 //cast the csv data back to its original type
-
166 ARC_ParserCSVUserData *csvUserData = (ARC_ParserCSVUserData *)userData;
-
167
-
168 //crate a vector for the data to be stored in before being copied to a 2d array
-
169 ARC_Vector *dataVector;
- -
171 ARC_Vector_Create(&dataVector, NULL, &destroyVectorFn);
-
172
-
173 //create the first row vector, does not need a destroy function as its contents will be moved
-
174 ARC_Vector *dataRowVector;
-
175 ARC_Vector_Create(&dataRowVector, NULL, NULL);
-
176
-
177 //add the row to the dataVector
-
178 ARC_Vector_Add(dataVector, (void *)dataRowVector);
-
179
-
180 //recursively add data from the parsedData to the data vector
-
181 ARC_ParserCSVData_RunLineTag(dataVector, parsedData, csvUserData);
-
182
-
183 //get the first line to check if it has any values
-
184 dataRowVector = ARC_Vector_Get(dataVector, 0);
-
185 if(ARC_Vector_GetSize(dataRowVector) == 0){
-
186 //TODO: iterate and clear the vector
-
187 ARC_Vector_Destroy(dataVector);
-
188 return;
-
189 }
-
190
-
191 //create the data that will be saved
-
192 ARC_ParserCSVData *csvData = (ARC_ParserCSVData *)malloc(sizeof(ARC_ParserCSVData));
-
193 csvData->hasHeader = csvUserData->header;
-
194 csvData->headers = NULL;
-
195 csvData->height = 0;
-
196 csvData->width = ARC_Vector_GetSize(dataRowVector);
-
197 csvData->data = NULL;
-
198
-
199 //create the starting index (to offset the header if it exists)
-
200 uint32_t heightStartIndex = 0;
-
201
-
202 //store the headers if they exist
-
203 if(csvData->hasHeader == ARC_True){
-
204 heightStartIndex++;
-
205
-
206 //copy the headers
-
207 csvData->headers = (ARC_String **)malloc(sizeof(ARC_String *) * csvData->width);
-
208 for(uint32_t headerIndex = 0; headerIndex < csvData->width; headerIndex++){
-
209 csvData->headers[headerIndex] = (ARC_String *)ARC_Vector_Get(dataRowVector, headerIndex);
-
210 }
-
211 }
-
212
-
213 //check that all the rows are the same size
-
214 for(uint32_t rowIndex = heightStartIndex; rowIndex < ARC_Vector_GetSize(dataVector); rowIndex++){
-
215 ARC_Vector *currentRowVector = (ARC_Vector *)ARC_Vector_Get(dataVector, rowIndex);
-
216
-
217 //skip an empty line (this should only be the case for the last line)
-
218 uint32_t currentRowVectorSize = ARC_Vector_GetSize(currentRowVector);
-
219 if(currentRowVectorSize == 0){
-
220 continue;
-
221 }
-
222
-
223 //a row was found so update the height
-
224 csvData->height++;
-
225
-
226 //TODO: probs want to error
-
227 //cleanup and exit if they don't match
-
228 if(csvData->width != currentRowVectorSize){
-
229 //TODO: iterate and clear the vector
-
230 ARC_Vector_Destroy(dataVector);
-
231 return;
-
232 }
-
233 }
-
234
-
235 //init location to copy data to
-
236 csvData->data = (void ***)malloc(sizeof(void **) * csvData->height);
-
237
-
238 //copy the data
-
239 uint32_t rowIndex = 0;
-
240 for(uint32_t y = 0; y < csvData->height; y++, rowIndex++){
-
241 ARC_Vector *currentRowVector = (ARC_Vector *)ARC_Vector_Get(dataVector, rowIndex + heightStartIndex);
-
242
-
243 //skip an empty line (should only be the case for the last line)
-
244 uint32_t currentRowVectorSize = ARC_Vector_GetSize(currentRowVector);
-
245 if(currentRowVectorSize == 0){
-
246 y--;
-
247 continue;
-
248 }
-
249
-
250 //create the current row
-
251 csvData->data[y] = (void **)malloc(sizeof(void *) * csvData->width);
-
252
-
253 for(uint32_t x = 0; x < csvData->width; x++){
-
254 csvData->data[y][x] = ARC_Vector_Get(currentRowVector, x);
-
255 }
-
256 }
-
257
-
258 ARC_Vector_Destroy(dataVector);
-
259
-
260 *data = (void *)csvData;
-
261}
-
-
262
-
-
263void ARC_ParserCSVData_DestroyFn(void *data, ARC_Bool clear, void *userData){
-
264 if(userData == NULL){
-
265 return;
-
266 }
-
267
-
268 ARC_ParserCSVUserData *csvUserData = (ARC_ParserCSVUserData *)userData;
-
269
-
270 if(data != NULL){
-
271 ARC_ParserCSVData *csvData = (ARC_ParserCSVData *)data;
-
272
-
273 //cleanup the headers if they exist
-
274 if(csvData->hasHeader == ARC_True){
-
275 for(uint32_t x = 0; x < csvData->width; x++){
-
276 ARC_String *string = csvData->headers[x];
-
277 ARC_String_Destroy(string);
-
278 }
-
279 free(csvData->headers);
-
280 }
-
281
-
282 for(uint32_t y = 0; y < csvData->height; y++){
-
283 //cleanup each element in the data
-
284 for(uint32_t x = 0; x < csvData->width; x++){
-
285 csvUserData->destroyTypeFn(csvData->data[y][x]);
-
286 }
-
287
-
288 //cleanup each row of data
-
289 free(csvData->data[y]);
-
290 }
-
291
-
292 //cleanup the data
-
293 free(csvData->data);
-
294 free(csvData);
-
295 }
-
296
-
297 if(clear == ARC_False){
-
298 free(csvUserData);
-
299 }
-
300}
-
-
301
-
- -
303 /* ~ define the language as a string ~ */
-
304 char *languageCString =
-
305 "<line> -> <data> NEWLINE <line> | <data> | NEWLINE <line> | LAMBDA\n"
-
306 "<data> -> <string> COMMA <data> | <string>\n"
-
307 "<string> -> <nonCommaChar> <string> | <nonCommaChar>\n"
-
308 "<nonCommaChar> -> CHAR_BEFORE_COMMA | CHAR_AFTER_COMMA\n";
-
309
-
310 ARC_String *languageString;
-
311 ARC_String_CreateWithStrlen(&languageString, languageCString);
-
312
-
313 /* ~ init the userdata ~ */
- -
315 userdata->header = header;
-
316 userdata->castTypeFn = castTypeFn;
-
317 userdata->destroyTypeFn = destroyTypeFn;
-
318
-
319 /* ~ create the language ~ */
- - -
322 ARC_Parser_CreateFromString(parser, languageString, ARC_ParserCSV_InitLexerRulesFn, ARC_ParserCSV_GetStringIdFn, &createCharFn, &destroyCharFn, userdata);
-
323
-
324 //cleanup
-
325 ARC_String_Destroy(languageString);
-
326}
-
-
327
- -
#define ARC_False
Definition bool.h:12
-
#define ARC_True
Definition bool.h:11
-
#define ARC_Bool
Definition bool.h:10
-
void(* ARC_ParserCSV_DestroyTypeFn)(void *data)
TODO: write this.
Definition chemical.h:43
- -
#define ARC_PARSER_CSV_CHAR_AFTER_COMMA
Definition csv.h:66
-
void(* ARC_ParserCSV_CastTypeFn)(void **data, ARC_String *string)
a callback for the csv parser to use to cast that data the stored data
Definition csv.h:28
-
#define ARC_PARSER_CSV_CHAR_BEFORE_COMMA
Definition csv.h:65
-
#define ARC_PARSER_CSV_CHAR_COMMA
Definition csv.h:63
-
#define ARC_PARSER_CSV_DATA
Definition csv.h:68
-
#define ARC_PARSER_CSV_STRING
Definition csv.h:69
-
#define ARC_PARSER_CSV_LINE
Definition csv.h:67
-
#define ARC_PARSER_CSV_CHAR_NEWLINE
Definition csv.h:64
-
#define ARC_PARSER_CSV_NON_COMMA_CHAR
Definition csv.h:70
- -
void ARC_ParserData_HelperRecurseStringAdd(ARC_String **data, ARC_ParserTagToken *tagToken)
recurses through a tag token adding token strings to a main string
Definition helpers.c:4
-
void ARC_Lexer_RegisterTokenRule(ARC_Lexer *lexer, ARC_LexerTokenRule tokenRule)
adds a token rule to a lexer
Definition lexer.c:79
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharRule(uint32_t id, char character)
creates a ARC_LexerTokenRule with a given id and character
Definition lexer.c:378
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween(uint32_t id, char start, char end)
creates a ARC_LexerTokenRule with a given id and character range
Definition lexer.c:400
- -
void ARC_Parser_CreateFromString(ARC_Parser **parser, ARC_String *languageString, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_Parser_GetStringIdFn getStringIdFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
creates an ARC_Parser type from a string
Definition parser.c:105
-
#define ARC_PARSER_TAG_LAMBDA
basic tag for letting the parser know it is ok to end
Definition parser.h:150
-
void(* ARC_ParserData_CreateFn)(void **data, ARC_ParserTagToken *parsedData, void *userData)
TODO: write this.
Definition parser.h:57
-
void(* ARC_ParserData_DestroyFn)(void *data, ARC_Bool clear, void *userData)
TODO: write this.
Definition parser.h:62
-
void ARC_ParserCSV_InitLexerRulesFn(ARC_Lexer *lexer)
Definition csv.c:15
-
uint32_t ARC_ParserCSV_GetStringIdFn(ARC_String *string)
Definition csv.c:24
-
struct ARC_ParserCSVUserData ARC_ParserCSVUserData
-
void ARC_ParserCSVData_VectorDestroyVectorFn(void *data)
Definition csv.c:64
-
void ARC_ParserCSV_CreateAsParser(ARC_Parser **parser, ARC_Bool header, ARC_ParserCSV_CastTypeFn castTypeFn, ARC_ParserCSV_DestroyTypeFn destroyTypeFn)
creates a parser for the Parser Lang
Definition csv.c:302
-
void ARC_ParserCSVData_CreateFn(void **data, ARC_ParserTagToken *parsedData, void *userData)
Definition csv.c:157
-
void ARC_ParserCSVData_GetDataTag(ARC_Vector *dataVector, ARC_ParserTagToken *tagToken, ARC_ParserCSVUserData *userData)
Definition csv.c:69
-
void ARC_ParserCSVData_RunLineTag(ARC_Vector *dataVector, ARC_ParserTagToken *tagToken, ARC_ParserCSVUserData *userData)
Definition csv.c:118
-
void ARC_ParserCSVData_DestroyFn(void *data, ARC_Bool clear, void *userData)
Definition csv.c:263
-
void ARC_String_CreateWithStrlen(ARC_String **string, char *data)
creates ARC_String type with strinlen
Definition string.c:32
-
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
-
ARC_Bool ARC_String_EqualsCStringWithStrlen(ARC_String *string, const char *cstring)
check if ARC_String and cstring match
Definition string.c:171
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
- -
defines a csv data type, data is set by the callback passed in when createing a parserCSV as parser
Definition csv.h:44
-
uint32_t height
Definition csv.h:49
-
uint32_t width
Definition csv.h:48
-
void *** data
Definition csv.h:50
-
ARC_String ** headers
Definition csv.h:46
-
ARC_Bool hasHeader
Definition csv.h:45
- -
ARC_ParserCSV_CastTypeFn castTypeFn
Definition csv.c:11
-
ARC_Bool header
Definition csv.c:10
-
ARC_ParserCSV_DestroyTypeFn destroyTypeFn
Definition csv.c:12
-
a parser type used inside of the parser data create function
Definition parser.h:35
-
uint32_t id
Definition parser.h:36
-
ARC_Vector * tagTokens
Definition parser.h:39
- -
substring position within a string
Definition string.h:14
-
a private dynamic array type
Definition vector.c:12
-
void(* ARC_Vector_DestroyDataFn)(void *data)
a callback that cleans up memory when it is removed from the vector
Definition vector.h:31
-
uint32_t ARC_Vector_GetSize(ARC_Vector *vector)
gets the current size of an ARC_Vector as an unsigned 32 bit integer
Definition vector.c:149
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:153
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:70
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:54
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:31
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/d97/archeus__std_8dir_2src_2std_2parser_2helpers_8c_8o_8d.html b/doc/doxygen/html/d1/d97/archeus__std_8dir_2src_2std_2parser_2helpers_8c_8o_8d.html deleted file mode 100644 index 57cc31d..0000000 --- a/doc/doxygen/html/d1/d97/archeus__std_8dir_2src_2std_2parser_2helpers_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/parser/helpers.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
helpers.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d1/d97/archeus__std_8dir_2src_2std_2parser_2helpers_8c_8o_8d_source.html b/doc/doxygen/html/d1/d97/archeus__std_8dir_2src_2std_2parser_2helpers_8c_8o_8d_source.html deleted file mode 100644 index 1171f1a..0000000 --- a/doc/doxygen/html/d1/d97/archeus__std_8dir_2src_2std_2parser_2helpers_8c_8o_8d_source.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/parser/helpers.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
helpers.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/std/parser/helpers.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/parser/helpers.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/parser/helpers.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/std/parser.h \
-
6 /home/herbglitch/programs/archeus/arc/include/arc/std/array.h \
-
7 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
8 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
9 /usr/include/features.h /usr/include/features-time64.h \
-
10 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
11 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
12 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
13 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
14 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
15 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
16 /usr/include/bits/stdint-least.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/std/lexer.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
21 /home/herbglitch/programs/archeus/arc/include/arc/std/vector.h \
-
22 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
23 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
24 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
25 /usr/include/stdio.h \
-
26 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
27 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
28 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
29 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
30 /usr/include/bits/types/cookie_io_functions_t.h \
-
31 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
32 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/d98/helpers_8h.html b/doc/doxygen/html/d1/d98/helpers_8h.html deleted file mode 100644 index c77660a..0000000 --- a/doc/doxygen/html/d1/d98/helpers_8h.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/parser/helpers.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
helpers.h File Reference
-
-
-
#include "arc/std/parser.h"
-#include <stddef.h>
-
-

Go to the source code of this file.

- - - - - -

-Functions

void ARC_ParserData_HelperRecurseStringAdd (ARC_String **data, ARC_ParserTagToken *tagToken)
 recurses through a tag token adding token strings to a main string
 
-

Function Documentation

- -

◆ ARC_ParserData_HelperRecurseStringAdd()

- -
-
- - - - - - - - - - - -
void ARC_ParserData_HelperRecurseStringAdd (ARC_String ** data,
ARC_ParserTagToken * tagToken )
-
- -

recurses through a tag token adding token strings to a main string

-
Note
the string needs to be created otherwise this will break
-
-this will only add tokens that have data
-
Parameters
- - - -
[in/out]data
[in]tagTokenthe tag token to recurse through
-
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/d98/helpers_8h.js b/doc/doxygen/html/d1/d98/helpers_8h.js deleted file mode 100644 index 1f678c1..0000000 --- a/doc/doxygen/html/d1/d98/helpers_8h.js +++ /dev/null @@ -1,4 +0,0 @@ -var helpers_8h = -[ - [ "ARC_ParserData_HelperRecurseStringAdd", "d1/d98/helpers_8h.html#ab5c1f169c37491d2b5d85f3227e83d97", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d1/d98/helpers_8h_source.html b/doc/doxygen/html/d1/d98/helpers_8h_source.html deleted file mode 100644 index 8de3e97..0000000 --- a/doc/doxygen/html/d1/d98/helpers_8h_source.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/parser/helpers.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
helpers.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_STD_PARSER_HELPERS_H_
-
2#define ARC_STD_PARSER_HELPERS_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include "arc/std/parser.h"
-
9#include <stddef.h>
-
10
-
11/**
-
12 * @brief recurses through a tag token adding token strings to a main string
-
13 *
-
14 * @note the string needs to be created otherwise this will break
-
15 * @note this will only add tokens that have data
-
16 *
-
17 * @param[in/out] data
-
18 * @param[in] tagToken the tag token to recurse through
-
19*/
- -
21
-
22#ifdef __cplusplus
-
23}
-
24#endif
-
25
-
26#endif //ARC_STD_PARSER_HELPERS_H_
-
void ARC_ParserData_HelperRecurseStringAdd(ARC_String **data, ARC_ParserTagToken *tagToken)
recurses through a tag token adding token strings to a main string
- -
a parser type used inside of the parser data create function
Definition parser.h:35
-
substring position within a string
Definition string.h:14
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/db0/string_8c.html b/doc/doxygen/html/d1/db0/string_8c.html deleted file mode 100644 index 4dbbc20..0000000 --- a/doc/doxygen/html/d1/db0/string_8c.html +++ /dev/null @@ -1,2263 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/string.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
string.c File Reference
-
-
-
#include "arc/std/string.h"
-#include "arc/std/bool.h"
-#include "arc/std/errno.h"
-#include <stdint.h>
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_String_Create (ARC_String **string, char *data, uint64_t length)
 creates ARC_String type
 
void ARC_String_CreateWithStrlen (ARC_String **string, char *data)
 creates ARC_String type with strinlen
 
void ARC_String_CreateEmpty (ARC_String **string, uint64_t length)
 creates an empty ARC_String type, useful if you want to add to the string over time without having to keep adding to the size
 
void ARC_String_Destroy (ARC_String *string)
 destroys ARC_String type
 
void ARC_String_Copy (ARC_String **copy, ARC_String *original)
 copy a ARC_String
 
void ARC_String_CopySubstring (ARC_String **substring, ARC_String *original, uint64_t start, uint64_t length)
 copy a subtring from a givin ARC_String
 
void ARC_String_ReplaceWithSubstring (ARC_String **string, uint64_t start, uint64_t length)
 replaces a string with a section of itself
 
void ARC_String_RemoveSubstring (ARC_String **newString, ARC_String *original, ARC_String *substring)
 copy a subtring from a givin ARC_String
 
void ARC_String_Append (ARC_String **string, ARC_String *append)
 appends to an ARC_String with an ARC_String
 
void ARC_String_AppendCString (ARC_String **string, const char *cstring, uint64_t length)
 appends to an ARC_String with an ARC_String
 
void ARC_String_AppendCStringWithStrlen (ARC_String **string, const char *cstring)
 appends to an ARC_String with an ARC_String
 
ARC_Bool ARC_String_Equals (ARC_String *first, ARC_String *second)
 checks if two strings are the same
 
ARC_Bool ARC_String_EqualsCString (ARC_String *string, const char *cstring, uint64_t length)
 check if ARC_String and cstring match
 
ARC_Bool ARC_String_EqualsCStringWithStrlen (ARC_String *string, const char *cstring)
 check if ARC_String and cstring match
 
ARC_Bool ARC_String_SubstringEquals (ARC_String *first, uint64_t offset, ARC_String *second)
 check if substring of first equals second string
 
ARC_Bool ARC_String_SubstringEqualsCString (ARC_String *string, uint64_t offset, const char *cstring, uint64_t length)
 check if ARC_String and cstring match
 
ARC_Bool ARC_String_IsAlpha (ARC_String *string)
 checks if string is alphabetic
 
ARC_Bool ARC_String_IsNumeric (ARC_String *string)
 checks if string is made out of only numbers
 
uint64_t ARC_String_ToUint64_t (ARC_String *string)
 converst substring from string to uint64_t
 
int64_t ARC_String_ToInt64_t (ARC_String *string)
 converst substring from string to int64_t
 
double ARC_String_ToDouble (ARC_String *string)
 converst substring from string to double
 
uint64_t ARC_String_Find (ARC_String *string, ARC_String *substring)
 takes a given string, and assigns index and length for position of first matching substring
 
uint64_t ARC_String_FindCString (ARC_String *string, const char *cstring, uint64_t length)
 takes given cstring and gives position of first matching
 
uint64_t ARC_String_FindCStringWithStrlen (ARC_String *string, const char *cstring)
 takes given cstring and gives position of first matching
 
uint64_t ARC_String_FindBack (ARC_String *string, ARC_String *substring)
 takes a given string, and assigns index and length for position of last matching substring
 
uint64_t ARC_String_FindBackCString (ARC_String *string, const char *cstring, uint64_t length)
 takes a given cstring and give position of last matching
 
uint64_t ARC_String_FindBackCStringWithStrlen (ARC_String *string, const char *cstring)
 takes a given cstring and give position of last matching
 
void ARC_String_StripEnds (ARC_String **stripped, ARC_String *original, char charToStrip)
 strips the ends based on a given char
 
void ARC_String_StripWhitespace (ARC_String **stripped, ARC_String *original)
 strips whitespace from a ARC_String
 
void ARC_String_StripEndsWhitespace (ARC_String **stripped, ARC_String *original)
 strips the whitespace from the ends of a string
 
void ARC_String_Merge (ARC_String **combined, ARC_String *first, ARC_String *second)
 merges two strings together
 
void ARC_String_RemoveSection (ARC_String **newString, ARC_String *original, uint64_t removeIndex, uint64_t removeLength)
 copy a subtring from a givin ARC_String
 
void ARC_String_ReplaceMatching (ARC_String **string, ARC_String *pattern, ARC_String *replacement)
 replaces characters in string matching the given pattern
 
void ARC_String_CopyReplaceMatching (ARC_String **newString, ARC_String *original, ARC_String *pattern, ARC_String *replacement)
 replaces characters in a copy of a string matching the given pattern
 
void ARC_String_ReplaceMatchingCString (ARC_String **string, char *patternCString, uint64_t patternLength, char *replacementCString, uint64_t replacementLength)
 replaces characters in string matching the given pattern
 
void ARC_String_ReplaceMatchingCStringWithStrlen (ARC_String **string, char *patternCString, char *replacementCString)
 replaces characters in string matching the given pattern
 
-

Function Documentation

- -

◆ ARC_String_Append()

- -
-
- - - - - - - - - - - -
void ARC_String_Append (ARC_String ** string,
ARC_String * append )
-
- -

appends to an ARC_String with an ARC_String

-
Note
this uses ARC_String_AppendCString, so debug logs will be thrown in that function not this one
-
Parameters
- - - -
stringthe string to add to, will not change on error
appendthe string that will be added to the back of string
-
-
- -

Definition at line 126 of file string.c.

-
126 {
-
127 ARC_String_AppendCString(string, append->data, append->length);
-
128}
-
void ARC_String_AppendCString(ARC_String **string, const char *cstring, uint64_t length)
appends to an ARC_String with an ARC_String
Definition string.c:130
-
uint64_t length
Definition string.h:16
-
char * data
Definition string.h:15
-
-

References ARC_String_AppendCString(), ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_ParserData_HelperRecurseStringAdd(), and ARC_ParserLangParsedData_RecurseStringAdd().

- -
-
- -

◆ ARC_String_AppendCString()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_String_AppendCString (ARC_String ** string,
const char * cstring,
uint64_t length )
-
- -

appends to an ARC_String with an ARC_String

-
Parameters
- - - - -
stringthe string to add to, will not change on error
cstringthe cstring that will be added to the back of string
lengththe length of the cstring that is being added
-
-
- -

Definition at line 130 of file string.c.

-
130 {
-
131 char *data = (char *)malloc(sizeof(char) * ((*string)->length + length + 1));
-
132
-
133 strncpy(data, (*string)->data, (*string)->length);
-
134 strncpy(data + (*string)->length, cstring, length);
-
135 data[(*string)->length + length] = '\0';
-
136
-
137 free((*string)->data);
-
138
-
139 (*string)->data = data;
-
140 (*string)->length = (*string)->length + length;
-
141}
-
-

Referenced by ARC_ParserLangParsedData_RecurseStringAdd(), ARC_Ssh_ExecStrInNewSessionAndGetResponse(), ARC_String_Append(), and ARC_String_AppendCStringWithStrlen().

- -
-
- -

◆ ARC_String_AppendCStringWithStrlen()

- -
-
- - - - - - - - - - - -
void ARC_String_AppendCStringWithStrlen (ARC_String ** string,
const char * cstring )
-
- -

appends to an ARC_String with an ARC_String

-
Note
this uses ARC_String_AppendCString, so debug logs will be thrown in that function not this one
-
Parameters
- - - -
stringthe string to add to, will not change on error
cstringthe cstring that will be added to the back of string
-
-
- -

Definition at line 143 of file string.c.

-
143 {
-
144 ARC_String_AppendCString(string, cstring, strlen(cstring));
-
145}
-
-

References ARC_String_AppendCString().

- -

Referenced by ARC_Config_FileIO().

- -
-
- -

◆ ARC_String_Copy()

- -
-
- - - - - - - - - - - -
void ARC_String_Copy (ARC_String ** copy,
ARC_String * original )
-
- -

copy a ARC_String

-
Parameters
- - - -
copycopy of oldString, will be set to NULL on error
originaloriginal string that is being copied
-
-
- -

Definition at line 62 of file string.c.

-
62 {
-
63 if(!original){
- -
65 *copy = NULL;
-
66 return;
-
67 }
-
68
-
69 ARC_String_Create(copy, original->data, original->length);
-
70}
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
-
-

References arc_errno, ARC_ERRNO_NULL, ARC_String_Create(), ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_Config_RemoveAndRunCommands(), ARC_Config_StripComment(), ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule(), ARC_LexerTokenRule_CreateAndReturnMatchStringRule(), ARC_Parser_CreateFromString(), ARC_String_CopyReplaceMatching(), ARC_String_RemoveSection(), and ARC_Text_Create().

- -
-
- -

◆ ARC_String_CopyReplaceMatching()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_String_CopyReplaceMatching (ARC_String ** newString,
ARC_String * original,
ARC_String * pattern,
ARC_String * replacement )
-
- -

replaces characters in a copy of a string matching the given pattern

-
Note
original will not be modified
-
-newString will need to be destroyed if it is not set to NULL
-
Parameters
- - - - - -
newStringan empty string that this function will fill with a copy with replacements, will be set to NULL and arc_errno set on fail
originalthe original string that will be copied
patternthe pattern to replace in the string on match
replacementthe string that will replace the matched pattern
-
-
- -

Definition at line 537 of file string.c.

-
537 {
-
538 //TODO: probs want to check if the replacement goes over a uint64_t size
-
539 if(original == NULL || pattern == NULL || replacement == NULL){
- -
541 ARC_DEBUG_LOG_ERROR("ARC_String_CopyReplaceMatching(newString, original, pattern, replacement), original, pattern, or replacement was null");
-
542 return;
-
543 }
-
544
-
545 uint64_t numberOfMatches = 0;
-
546 for(uint64_t originalIndex = 0; originalIndex < original->length; originalIndex++){
-
547 if(ARC_String_SubstringEquals(original, originalIndex, pattern)){
-
548 numberOfMatches++;
-
549 originalIndex += pattern->length - 1;
-
550 }
-
551 }
-
552
-
553 //no matches were found, but that isn't an error, so copy and return
-
554 if(numberOfMatches == 0){
-
555 ARC_String_Copy(newString, original);
-
556 return;
-
557 }
-
558
-
559 (*newString) = (ARC_String *)malloc(sizeof(ARC_String));
-
560 (*newString)->length = original->length + (replacement->length - pattern->length);
-
561 (*newString)->data = (char *)malloc(sizeof(char *) * original->length + 1);
-
562
-
563 for(uint64_t originalIndex = 0, newIndex = 0; originalIndex < original->length; originalIndex++, newIndex++){
-
564 if(ARC_String_SubstringEquals(original, originalIndex, pattern)){
-
565 for(uint64_t replacementIndex = 0; replacementIndex < replacement->length; replacementIndex++){
-
566 (*newString)->data[newIndex + replacementIndex] = replacement->data[replacementIndex];
-
567 }
-
568
-
569 originalIndex += pattern->length - 1;
-
570 newIndex += replacement->length - 1;
-
571 continue;
-
572 }
-
573
-
574 (*newString)->data[newIndex] = original->data[originalIndex];
-
575 }
-
576
-
577 (*newString)->data[(*newString)->length] = '\0';
-
578}
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
void ARC_String_Copy(ARC_String **copy, ARC_String *original)
copy a ARC_String
Definition string.c:62
-
ARC_Bool ARC_String_SubstringEquals(ARC_String *first, uint64_t offset, ARC_String *second)
check if substring of first equals second string
Definition string.c:175
-
substring position within a string
Definition string.h:14
-
-

References ARC_DEBUG_LOG_ERROR, arc_errno, ARC_ERRNO_NULL, ARC_String_Copy(), ARC_String_SubstringEquals(), ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_String_ReplaceMatching().

- -
-
- -

◆ ARC_String_CopySubstring()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_String_CopySubstring (ARC_String ** substring,
ARC_String * original,
uint64_t start,
uint64_t length )
-
- -

copy a subtring from a givin ARC_String

-
Parameters
- - - - - -
substringnew coppied substring, will be null on error
originalstring to copy substring from
startstarting index in relation on original
lengthlength of substring that is being created
-
-
- -

Definition at line 72 of file string.c.

-
72 {
-
73 if(!original){
- -
75 *substring = NULL;
-
76 return;
-
77 }
-
78
-
79 if(length == 0){
-
80 *substring = NULL;
-
81 return;
-
82 }
-
83
-
84 if(start + length > original->length){
- -
86 *substring = NULL;
-
87 return;
-
88 }
-
89
-
90 char data[length];
-
91 for(uint32_t i = 0; i < length; i++){
-
92 data[i] = 0;
-
93 }
-
94
-
95 strncpy(data, original->data + start, length);
-
96
-
97 ARC_String_Create(substring, data, length);
-
98}
-
#define ARC_ERRNO_DATA
Definition errno.h:7
-
-

References arc_errno, ARC_ERRNO_DATA, ARC_ERRNO_NULL, ARC_String_Create(), ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_Audio_Read(), ARC_Config_Get(), ARC_Config_GetNameAndValue(), ARC_Config_Recurse(), ARC_Config_RemoveAndRunCommands(), ARC_Config_RunCommand(), ARC_Config_SetKeyGroup(), ARC_Config_StripComment(), ARC_Point_Read(), ARC_Rect_Read(), ARC_RectArray_Read(), ARC_RectArray_ReadRect(), ARC_SDL_Texture_Read(), ARC_Sprite_Delete(), ARC_Sprite_Read(), ARC_Spritesheet_Delete(), ARC_Spritesheet_Read(), ARC_Spritesheet_ReadTexture(), ARC_String_RemoveSection(), ARC_String_ReplaceWithSubstring(), and ARC_String_StripEndsWhitespace().

- -
-
- -

◆ ARC_String_Create()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_String_Create (ARC_String ** string,
char * data,
uint64_t length )
-
- -

creates ARC_String type

-
Parameters
- - - - -
stringARC_String to create
datacstring that will be stored in ARC_String
lengthlength of ARC_String
-
-
- -

Definition at line 9 of file string.c.

-
9 {
-
10 //check if the size is too big to create and error if so
-
11 if(length == ~(uint64_t)0){
- -
13 ARC_DEBUG_LOG_ERROR("ARC_String_Create(string, data, length), length was max uint64_t which is bigger than allowed");
-
14 *string = NULL;
-
15 return;
-
16 }
-
17
-
18 //create the string container and malloc the char array (this will allways be bigger than zero so there will be no issue if zero is passed in)
-
19 *string = (ARC_String *)malloc(sizeof(ARC_String));
-
20 (*string)->data = (char *)malloc(sizeof(char) * (length + 1));
-
21 (*string)->length = length;
-
22
-
23 //if the string has a size, copy the string
-
24 if(length > 0){
-
25 strncpy((*string)->data, data, length);
-
26 }
-
27
-
28 //set the end of the string to \0 (to mirror how cstrings work)
-
29 (*string)->data[length] = '\0';
-
30}
-
#define ARC_ERRNO_OVERFLOW
Definition errno.h:10
-
-

References ARC_DEBUG_LOG_ERROR, arc_errno, and ARC_ERRNO_OVERFLOW.

- -

Referenced by ARC_Config_RemoveAndRunCommands(), ARC_Config_RemoveComments(), ARC_Config_RunCommand(), ARC_ConsoleBuffer_AddChar(), ARC_ConsoleView_GetStringInput(), ARC_IO_FileToStr(), ARC_Lexer_AutomataMatchCharOrBetweenFn(), ARC_ParserCSVData_GetDataTag(), ARC_ParserLangParsedData_CreateTagString(), ARC_ParserLangParsedData_GetArgumentTag(), ARC_Ssh_ExecStrInNewSessionAndGetResponse(), ARC_String_Copy(), ARC_String_CopySubstring(), ARC_String_CreateWithStrlen(), ARC_String_Merge(), ARC_String_StripEnds(), ARC_String_StripWhitespace(), and TEST_ParserData_CreateStringFn().

- -
-
- -

◆ ARC_String_CreateEmpty()

- -
-
- - - - - - - - - - - -
void ARC_String_CreateEmpty (ARC_String ** string,
uint64_t length )
-
- -

creates an empty ARC_String type, useful if you want to add to the string over time without having to keep adding to the size

-
Parameters
- - - -
stringARC_String to create
lengthlength of ARC_String
-
-
- -

Definition at line 37 of file string.c.

-
37 {
-
38 //check if the size is too big to create and error if so
-
39 if(length == ~(uint64_t)0){
- -
41 ARC_DEBUG_LOG_ERROR("ARC_String_Create(string, data, length), length was max uint64_t which is bigger than allowed");
-
42 *string = NULL;
-
43 return;
-
44 }
-
45
-
46 //create the string container and initialize data with all 0s for the size
-
47 *string = (ARC_String *)malloc(sizeof(ARC_String));
-
48 (*string)->data = (char *)calloc(sizeof(char), length + 1);
-
49 (*string)->length = length;
-
50}
-
-

References ARC_DEBUG_LOG_ERROR, arc_errno, and ARC_ERRNO_OVERFLOW.

- -
-
- -

◆ ARC_String_CreateWithStrlen()

- -
-
- - - - - - - - - - - -
void ARC_String_CreateWithStrlen (ARC_String ** string,
char * data )
-
- -

creates ARC_String type with strinlen

-
Parameters
- - - -
stringARC_String to create
datacstring that will be stored in ARC_String
-
-
- -

Definition at line 32 of file string.c.

-
32 {
-
33 //create the string passing in the strlen of data for the length
-
34 ARC_String_Create(string, data, strlen(data));
-
35}
-
-

References ARC_String_Create().

- -

Referenced by ARC_Chemical_Create(), ARC_Lexer_InitBasicTokenRules(), ARC_ParserCSV_CreateAsParser(), ARC_ParserLang_InitLexerRulesFn(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), and ARC_TEST().

- -
-
- -

◆ ARC_String_Destroy()

- -
-
- - - - - - - -
void ARC_String_Destroy (ARC_String * string)
-
- -

destroys ARC_String type

-
Parameters
- - -
stringstring that will be destroyed
-
-
- -

Definition at line 52 of file string.c.

-
52 {
-
53 //check if the string's data exists and if so free it
-
54 if(string->data != NULL){
-
55 free(string->data);
-
56 }
-
57
-
58 //free the string itself
-
59 free(string);
-
60}
-
-

References ARC_String::data.

- -

Referenced by ARC_Chemical_Create(), ARC_Config_FileIO(), ARC_Config_Get(), ARC_Config_GetNameAndValue(), ARC_Config_Recurse(), ARC_Config_RemoveAndRunCommands(), ARC_Config_RemoveComments(), ARC_Config_RunCommand(), ARC_Config_SetKeyGroup(), ARC_Config_StripComment(), ARC_ConsoleBuffer_AddChar(), ARC_ConsoleBuffer_Clear(), ARC_ConsoleBuffer_Destroy(), ARC_ConsoleShell_Destroy(), ARC_Lexer_InitBasicTokenRules(), ARC_Lexer_LexFile(), ARC_Lexer_LexString(), ARC_LexerToken_VectorDestroyDataFn(), ARC_LexerTokenRule_DestroyStringAutomataDataFn(), ARC_ParserCSV_CreateAsParser(), ARC_ParserCSVData_DestroyFn(), ARC_ParserCSVData_GetDataTag(), ARC_ParserLang_InitLexerRulesFn(), ARC_ParserLangParsedData_CreateBodyTag(), ARC_ParserLangParsedData_GetArgumentTag(), ARC_Point_Read(), ARC_Rect_Read(), ARC_RectArray_Read(), ARC_RectArray_ReadRect(), ARC_SDL_Texture_Read(), ARC_Sprite_Delete(), ARC_Sprite_Read(), ARC_Spritesheet_Delete(), ARC_Spritesheet_Read(), ARC_Spritesheet_ReadTexture(), ARC_Ssh_ExecStrInNewSessionAndGetResponse(), ARC_String_RemoveSection(), ARC_String_ReplaceMatching(), ARC_String_ReplaceMatchingCString(), ARC_String_ReplaceWithSubstring(), ARC_TEST(), ARC_Text_Destroy(), and TEST_ParserData_DestroyStringFn().

- -
-
- -

◆ ARC_String_Equals()

- -
-
- - - - - - - - - - - -
ARC_Bool ARC_String_Equals (ARC_String * first,
ARC_String * second )
-
- -

checks if two strings are the same

-
Parameters
- - - -
firststring to check against second
secondstring to check against first
-
-
-
Returns
ARC_True if match, ARC_False if they don't match
- -

Definition at line 147 of file string.c.

-
147 {
-
148 if(first->length != second->length){
-
149 return ARC_False;
-
150 }
-
151
-
152 if(strncmp(first->data, second->data, first->length)){
-
153 return ARC_False;
-
154 }
-
155
-
156 return ARC_True;
-
157}
-
#define ARC_False
Definition bool.h:12
-
#define ARC_True
Definition bool.h:11
-
-

References ARC_False, ARC_True, ARC_String::data, and ARC_String::length.

- -
-
- -

◆ ARC_String_EqualsCString()

- -
-
- - - - - - - - - - - - - - - - -
ARC_Bool ARC_String_EqualsCString (ARC_String * string,
const char * cstring,
uint64_t length )
-
- -

check if ARC_String and cstring match

-
Parameters
- - - - -
stringARC_string to check
cstringcstring to check
lengthlength of cstring
-
-
-
Returns
ARC_True if match, ARC_False if they don't match
- -

Definition at line 159 of file string.c.

-
159 {
-
160 if(string->length != length){
-
161 return ARC_False;
-
162 }
-
163
-
164 if(strncmp(string->data, cstring, string->length)){
-
165 return ARC_False;
-
166 }
-
167
-
168 return ARC_True;
-
169}
-
-

References ARC_False, ARC_True, ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_Config_Recurse(), ARC_Config_RunCommand(), and ARC_String_EqualsCStringWithStrlen().

- -
-
- -

◆ ARC_String_EqualsCStringWithStrlen()

- -
-
- - - - - - - - - - - -
ARC_Bool ARC_String_EqualsCStringWithStrlen (ARC_String * string,
const char * cstring )
-
- -

check if ARC_String and cstring match

-
Note
will use strlen to get the length of the cstring
-
Parameters
- - - -
stringARC_string to check
cstringcstring to check
-
-
-
Returns
ARC_True if match, ARC_False if they don't match
- -

Definition at line 171 of file string.c.

-
171 {
-
172 return ARC_String_EqualsCString(string, cstring, strlen(cstring));
-
173}
-
ARC_Bool ARC_String_EqualsCString(ARC_String *string, const char *cstring, uint64_t length)
check if ARC_String and cstring match
Definition string.c:159
-
-

References ARC_String_EqualsCString().

- -

Referenced by ARC_Chemical_GetStringIdFn(), ARC_ParserCSV_GetStringIdFn(), ARC_TEST(), TEST_Parser_GetStringIdFn(), and TEST_ParserLang_GetIdFn().

- -
-
- -

◆ ARC_String_Find()

- -
-
- - - - - - - - - - - -
uint64_t ARC_String_Find (ARC_String * string,
ARC_String * substring )
-
- -

takes a given string, and assigns index and length for position of first matching substring

-
Parameters
- - - -
stringthe string that will be searched
substrsubstring to find within string
-
-
-
Returns
~(uint64_t)0 on error, anything else on success
- -

Definition at line 231 of file string.c.

-
231 {
-
232 if(!string || !substring){
-
233 ARC_DEBUG_LOG_ERROR("ARC_String_Find(string, substring), string or substring was null");
- -
235 return ~(uint64_t)0;
-
236 }
-
237
-
238 if(substring->length > string->length){
-
239 return ~(uint64_t)0;
-
240 }
-
241
-
242 uint64_t max = string->length - (substring->length - 1);
-
243 for(uint64_t i = 0; max; i++, max--){
-
244 if(!strncmp(string->data + i, substring->data, substring->length)){
-
245 return i;
-
246 }
-
247 }
-
248
-
249 return ~(uint64_t)0;
-
250}
-
-

References ARC_DEBUG_LOG_ERROR, arc_errno, ARC_ERRNO_NULL, ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_Config_RemoveAndRunCommands(), ARC_Config_RunCommand(), ARC_Config_StripComment(), and ARC_String_RemoveSubstring().

- -
-
- -

◆ ARC_String_FindBack()

- -
-
- - - - - - - - - - - -
uint64_t ARC_String_FindBack (ARC_String * string,
ARC_String * substring )
-
- -

takes a given string, and assigns index and length for position of last matching substring

-
Parameters
- - - -
stringthe string that will be searched
substrsubstring to find within string
-
-
-
Returns
~(uint64_t)0 on error, anything else on success
- -

Definition at line 277 of file string.c.

-
277 {
-
278 if(!string || !substring){
- -
280 ARC_DEBUG_LOG_ERROR("ARC_String_FindBack(string, substring), string or substring was null");
-
281 return ~(uint64_t)0;
-
282 }
-
283
-
284 if(substring->length > string->length){
-
285 return ~(uint64_t)0;
-
286 }
-
287
-
288 uint64_t max = string->length - (substring->length - 1);
-
289 for(; max; max--){
-
290 if(!strncmp(string->data + (max - 1), substring->data, substring->length)){
-
291 return max;
-
292 }
-
293 }
-
294
-
295 return ~(uint64_t)0;
-
296}
-
-

References ARC_DEBUG_LOG_ERROR, arc_errno, ARC_ERRNO_NULL, ARC_String::data, and ARC_String::length.

- -
-
- -

◆ ARC_String_FindBackCString()

- -
-
- - - - - - - - - - - - - - - - -
uint64_t ARC_String_FindBackCString (ARC_String * string,
const char * cstring,
uint64_t length )
-
- -

takes a given cstring and give position of last matching

-
Parameters
- - - - -
stringthe string that will be searched
cstringthe cstring to find within string
lengththe length of cstring
-
-
-
Returns
~(uint64_t)0 on error, anything else on success
- -

Definition at line 298 of file string.c.

-
298 {
-
299 if(!string || !cstring){
- -
301 ARC_DEBUG_LOG_ERROR("ARC_String_FindBack(string, substring), string or substring was null");
-
302 return ~(uint64_t)0;
-
303 }
-
304
-
305 if(length > string->length){
-
306 return ~(uint64_t)0;
-
307 }
-
308
-
309 uint64_t max = string->length - (length - 1);
-
310 for(; max; max--){
-
311 if(!strncmp(string->data + (max - 1), cstring, length)){
-
312 return max;
-
313 }
-
314 }
-
315
-
316 return ~(uint64_t)0;
-
317}
-
-

References ARC_DEBUG_LOG_ERROR, arc_errno, ARC_ERRNO_NULL, ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_String_FindBackCStringWithStrlen().

- -
-
- -

◆ ARC_String_FindBackCStringWithStrlen()

- -
-
- - - - - - - - - - - -
uint64_t ARC_String_FindBackCStringWithStrlen (ARC_String * string,
const char * cstring )
-
- -

takes a given cstring and give position of last matching

-
Note
will use strlen to get the length of the cstring
-
Parameters
- - - -
stringthe string that will be searched
cstringthe cstring to find within string
-
-
-
Returns
~(uint64_t)0 on error, anything else on success
- -

Definition at line 319 of file string.c.

-
319 {
-
320 return ARC_String_FindBackCString(string, cstring, strlen(cstring));
-
321}
-
uint64_t ARC_String_FindBackCString(ARC_String *string, const char *cstring, uint64_t length)
takes a given cstring and give position of last matching
Definition string.c:298
-
-

References ARC_String_FindBackCString().

- -
-
- -

◆ ARC_String_FindCString()

- -
-
- - - - - - - - - - - - - - - - -
uint64_t ARC_String_FindCString (ARC_String * string,
const char * cstring,
uint64_t length )
-
- -

takes given cstring and gives position of first matching

-
Parameters
- - - - -
stringthe string that will be searched
cstringthe cstring to find within string
lengththe length of cstring
-
-
-
Returns
~(uint64_t)0 on error, anything else on success
- -

Definition at line 252 of file string.c.

-
252 {
-
253 if(!string || !cstring){
- -
255 ARC_DEBUG_LOG_ERROR("ARC_String_FindCString(string, cstring, length), string or cstring was null");
-
256 return ~(uint64_t)0;
-
257 }
-
258
-
259 if(string->length < length){
-
260 return ~(uint64_t)0;
-
261 }
-
262
-
263 uint64_t max = string->length - (length - 1);
-
264 for(uint64_t i = 0; i < max; i++){
-
265 if(!strncmp(string->data + i, cstring, length)){
-
266 return i + 1;
-
267 }
-
268 }
-
269
-
270 return ~(uint64_t)0;
-
271}
-
-

References ARC_DEBUG_LOG_ERROR, arc_errno, ARC_ERRNO_NULL, ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_Config_Get(), ARC_Config_GetNameAndValue(), ARC_Config_Recurse(), ARC_Config_SetKeyGroup(), ARC_GraphicsConfig_GetIndexAndErrorCheck(), ARC_MathConfig_GetIndexAndErrorCheck(), and ARC_String_FindCStringWithStrlen().

- -
-
- -

◆ ARC_String_FindCStringWithStrlen()

- -
-
- - - - - - - - - - - -
uint64_t ARC_String_FindCStringWithStrlen (ARC_String * string,
const char * cstring )
-
- -

takes given cstring and gives position of first matching

-
Note
will use strlen to get the length of the cstring
-
Parameters
- - - -
stringthe string that will be searched
cstringthe cstring to find within string
-
-
-
Returns
~(uint64_t)0 on error, anything else on success
- -

Definition at line 273 of file string.c.

-
273 {
-
274 return ARC_String_FindCString(string, cstring, strlen(cstring));
-
275}
-
uint64_t ARC_String_FindCString(ARC_String *string, const char *cstring, uint64_t length)
takes given cstring and gives position of first matching
Definition string.c:252
-
-

References ARC_String_FindCString().

- -
-
- -

◆ ARC_String_IsAlpha()

- -
-
- - - - - - - -
ARC_Bool ARC_String_IsAlpha (ARC_String * string)
-
- -

checks if string is alphabetic

-
Parameters
- - -
stringstring to check
-
-
-
Returns
ARC_True if alphabetic, ARC_False if not alphabetic
- -

Definition at line 192 of file string.c.

-
192 {
-
193 for(uint64_t length = string->length; length; length--){
-
194 if(string->data[length - 1] >= 'a' && string->data[length - 1] <= 'z'){
-
195 continue;
-
196 }
-
197
-
198 if(string->data[length - 1] >= 'A' && string->data[length - 1] <= 'Z'){
-
199 continue;
-
200 }
-
201
-
202 return ARC_True;
-
203 }
-
204
-
205 return ARC_False;
-
206}
-
-

References ARC_False, ARC_True, ARC_String::data, and ARC_String::length.

- -
-
- -

◆ ARC_String_IsNumeric()

- -
-
- - - - - - - -
ARC_Bool ARC_String_IsNumeric (ARC_String * string)
-
- -

checks if string is made out of only numbers

-
Parameters
- - -
stringstring to check
-
-
-
Returns
ARC_True if it is numeric, ARC_False if it is not numeric
- -

Definition at line 208 of file string.c.

-
208 {
-
209 for(uint64_t index = 0; index < string->length; index++){
-
210 if(string->data[index] < '0' || string->data[index] > '9'){
-
211 return ARC_False;
-
212 }
-
213 }
-
214
-
215 return ARC_True;
-
216}
-
-

References ARC_False, ARC_True, and ARC_String::data.

- -
-
- -

◆ ARC_String_Merge()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_String_Merge (ARC_String ** combined,
ARC_String * first,
ARC_String * second )
-
- -

merges two strings together

-
Parameters
- - - - -
combinednew ARC_String of combined strings frist + second
firstfirst part of string to combine
secondsecond part of string to combine
-
-
- -

Definition at line 485 of file string.c.

-
485 {
-
486 char data[first->length + second->length];
-
487 for(uint32_t i = 0; i < first->length; i++){
-
488 data[i] = first->data[i];
-
489 }
-
490
-
491 for(uint32_t i = 0; i < second->length; i++){
-
492 data[i + first->length] = second->data[i];
-
493 }
-
494
-
495 ARC_String_Create(combined, data, first->length + second->length);
-
496}
-
-

References ARC_String_Create(), ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_ConsoleBuffer_AddChar(), and ARC_String_RemoveSection().

- -
-
- -

◆ ARC_String_RemoveSection()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_String_RemoveSection (ARC_String ** newString,
ARC_String * original,
uint64_t removeIndex,
uint64_t removeLength )
-
- -

copy a subtring from a givin ARC_String

-
Parameters
- - - - - -
newStringnew string without specified section, will be NULL on error
originalstring to remove section from
removeIndexstarting index in relation on original of what is to be removed
removeLengthlength of section that is being removed
-
-
- -

Definition at line 499 of file string.c.

-
499 {
-
500 if(removeIndex == 0 && removeIndex + removeLength >= original->length){
-
501 ARC_String_Copy(newString, original);
-
502 return;
-
503 }
-
504
-
505 if(removeIndex == 0){
-
506 ARC_String_CopySubstring(newString, original, removeLength, original->length - removeLength);
-
507 return;
-
508 }
-
509
-
510 if(removeIndex + removeLength >= original->length){
-
511 ARC_String_CopySubstring(newString, original, 0, removeIndex);
-
512 return;
-
513 }
-
514
-
515 ARC_String *first, *second;
-
516 ARC_String_CopySubstring(&first , original, 0 , removeIndex );
-
517 ARC_String_CopySubstring(&second, original, removeIndex + removeLength, original->length - (removeIndex + removeLength));
-
518
-
519 ARC_String_Merge(newString, first, second);
-
520
-
521 ARC_String_Destroy(first );
-
522 ARC_String_Destroy(second);
-
523}
-
void ARC_String_Merge(ARC_String **combined, ARC_String *first, ARC_String *second)
merges two strings together
Definition string.c:485
-
void ARC_String_CopySubstring(ARC_String **substring, ARC_String *original, uint64_t start, uint64_t length)
copy a subtring from a givin ARC_String
Definition string.c:72
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
-

References ARC_String_Copy(), ARC_String_CopySubstring(), ARC_String_Destroy(), ARC_String_Merge(), and ARC_String::length.

- -

Referenced by ARC_Config_StripComment(), and ARC_String_RemoveSubstring().

- -
-
- -

◆ ARC_String_RemoveSubstring()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_String_RemoveSubstring (ARC_String ** newString,
ARC_String * original,
ARC_String * substring )
-
- -

copy a subtring from a givin ARC_String

-
Parameters
- - - - -
newStringstring that doesn't have substring in it, will be null on error
originalstring to remove substring from
substringsubstring to remove
-
-
- -

Definition at line 116 of file string.c.

-
116 {
-
117 uint64_t index = ARC_String_Find(original, substring);
-
118 if(arc_errno){
-
119 newString = NULL;
-
120 return;
-
121 }
-
122
-
123 ARC_String_RemoveSection(newString, original, index, original->length);
-
124}
-
uint64_t ARC_String_Find(ARC_String *string, ARC_String *substring)
takes a given string, and assigns index and length for position of first matching substring
Definition string.c:231
-
void ARC_String_RemoveSection(ARC_String **newString, ARC_String *original, uint64_t removeIndex, uint64_t removeLength)
copy a subtring from a givin ARC_String
Definition string.c:499
-
-

References arc_errno, ARC_String_Find(), ARC_String_RemoveSection(), and ARC_String::length.

- -

Referenced by ARC_Config_RemoveAndRunCommands().

- -
-
- -

◆ ARC_String_ReplaceMatching()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_String_ReplaceMatching (ARC_String ** string,
ARC_String * pattern,
ARC_String * replacement )
-
- -

replaces characters in string matching the given pattern

-
Note
this uses ARC_String_CopyReplaceMatching, so debug logs will be thrown in that function not this one
-
Parameters
- - - - -
stringthe string that will be modified, will discard changes and set arc_errno on fail
patternthe pattern to replace in the string on match
replacementthe string that will replace the matched pattern
-
-
- -

Definition at line 525 of file string.c.

-
525 {
-
526 ARC_String *copyReplaced;
-
527 ARC_String_CopyReplaceMatching(&copyReplaced, *string, pattern, replacement);
-
528
-
529 if(arc_errno != 0 || copyReplaced == NULL){
-
530 return;
-
531 }
-
532
-
533 ARC_String_Destroy(*string);
-
534 *string = copyReplaced;
-
535}
-
void ARC_String_CopyReplaceMatching(ARC_String **newString, ARC_String *original, ARC_String *pattern, ARC_String *replacement)
replaces characters in a copy of a string matching the given pattern
Definition string.c:537
-
-

References arc_errno, ARC_String_CopyReplaceMatching(), and ARC_String_Destroy().

- -
-
- -

◆ ARC_String_ReplaceMatchingCString()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
void ARC_String_ReplaceMatchingCString (ARC_String ** string,
char * patternCString,
uint64_t patternLength,
char * replacementCString,
uint64_t replacementLength )
-
- -

replaces characters in string matching the given pattern

-
Parameters
- - - - - - -
stringthe string that will be modified, will discard changes and set arc_errno on fail
patternCStringthe cstring pattern to replace in the string on match
patternLengththe lenght of the cstring pattern
replacementCstringthe cstring that will replace the matched pattern
replacementLengththe length of the cstring replacement
-
-
- -

Definition at line 580 of file string.c.

-
580 {
-
581 //TODO: probs want to check if the replacement goes over a uint64_t size
-
582 if(*string == NULL || patternCString == NULL || replacementCString == NULL){
- -
584 ARC_DEBUG_LOG_ERROR("ARC_String_ReplaceMatchingCString(string, patternCString, patternLength, replacementCString, replacementLength), *string, patternCString, or replacementCString was null");
-
585 return;
-
586 }
-
587
-
588 ARC_String *original = *string;
-
589
-
590 uint64_t numberOfMatches = 0;
-
591 for(uint64_t originalIndex = 0; originalIndex < original->length; originalIndex++){
-
592 if(ARC_String_SubstringEqualsCString(original, originalIndex, patternCString, patternLength)){
-
593 numberOfMatches++;
-
594 originalIndex += patternLength - 1;
-
595 }
-
596 }
-
597
-
598 //no matches were found, but that isn't an error, so nothing to do, return
-
599 if(numberOfMatches == 0){
-
600 return;
-
601 }
-
602
-
603 (*string) = (ARC_String *)malloc(sizeof(ARC_String));
-
604 (*string)->length = original->length + (replacementLength - patternLength);
-
605 (*string)->data = (char *)malloc(sizeof(char *) * original->length + 1);
-
606
-
607 for(uint64_t originalIndex = 0, newIndex = 0; originalIndex < original->length; originalIndex++, newIndex++){
-
608 if(ARC_String_SubstringEqualsCString(original, originalIndex, patternCString, patternLength)){
-
609 for(uint64_t replacementIndex = 0; replacementIndex < replacementLength; replacementIndex++){
-
610 (*string)->data[newIndex + replacementIndex] = replacementCString[replacementIndex];
-
611 }
-
612
-
613 originalIndex += patternLength - 1;
-
614 newIndex += replacementLength - 1;
-
615 continue;
-
616 }
-
617
-
618 (*string)->data[newIndex] = original->data[originalIndex];
-
619 }
-
620
-
621 (*string)->data[(*string)->length] = '\0';
-
622
-
623 //cleanup
-
624 ARC_String_Destroy(original);
-
625}
-
ARC_Bool ARC_String_SubstringEqualsCString(ARC_String *string, uint64_t offset, const char *cstring, uint64_t length)
check if ARC_String and cstring match
Definition string.c:179
-
-

References ARC_DEBUG_LOG_ERROR, arc_errno, ARC_ERRNO_NULL, ARC_String_Destroy(), ARC_String_SubstringEqualsCString(), ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_String_ReplaceMatchingCStringWithStrlen().

- -
-
- -

◆ ARC_String_ReplaceMatchingCStringWithStrlen()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_String_ReplaceMatchingCStringWithStrlen (ARC_String ** string,
char * patternCString,
char * replacement )
-
- -

replaces characters in string matching the given pattern

-
Note
this uses ARC_String_ReplaceMatchingCString, so debug logs will be thrown in that function not this one
-
Parameters
- - - - -
stringthe string that will be modified, will discard changes and set arc_errno on fail
patternCStringthe cstring pattern to replace in the string on match
replacementCstringthe cstring that will replace the matched pattern
-
-
- -

Definition at line 627 of file string.c.

-
627 {
-
628 ARC_String_ReplaceMatchingCString(string, patternCString, strlen(patternCString), replacementCString, strlen(replacementCString));
-
629}
-
void ARC_String_ReplaceMatchingCString(ARC_String **string, char *patternCString, uint64_t patternLength, char *replacementCString, uint64_t replacementLength)
replaces characters in string matching the given pattern
Definition string.c:580
-
-

References ARC_String_ReplaceMatchingCString().

- -
-
- -

◆ ARC_String_ReplaceWithSubstring()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_String_ReplaceWithSubstring (ARC_String ** string,
uint64_t start,
uint64_t length )
-
- -

replaces a string with a section of itself

-
Note
this uses ARC_String_CopySubstring so errors logs will be thrown in that function not this one
-
Parameters
- - - - -
stringthe string to replace, will not change on error
startthe starting index of the substring
lengththe length of the substring
-
-
- -

Definition at line 100 of file string.c.

-
100 {
-
101 ARC_String *substring;
-
102 ARC_String_CopySubstring(&substring, *string, start, length);
-
103
-
104 //if error or substring is null free memory and return
-
105 if(arc_errno || substring == NULL){
-
106 if(substring != NULL){
-
107 ARC_String_Destroy(substring);
-
108 }
-
109 return;
-
110 }
-
111
-
112 ARC_String_Destroy(*string);
-
113 *string = substring;
-
114}
-
-

References arc_errno, ARC_String_CopySubstring(), and ARC_String_Destroy().

- -

Referenced by ARC_Lexer_LexString().

- -
-
- -

◆ ARC_String_StripEnds()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_String_StripEnds (ARC_String ** stripped,
ARC_String * original,
char charToStrip )
-
- -

strips the ends based on a given char

-
Parameters
- - - - -
strippedwhere to store the string which has witespace stripped will be null if there is an error
originalthe string which whill have the matching char stripped from
charToStripthe char that will be stripped from the ends
-
-
- -

Definition at line 323 of file string.c.

-
323 {
-
324 if(!original){
- -
326 *stripped = NULL;
-
327 return;
-
328 }
-
329
-
330 if(!original->length){
- -
332 *stripped = NULL;
-
333 return;
-
334 }
-
335
-
336 uint64_t length = original->length - 1;
-
337 for(; length; length--){
-
338 if(strncmp(original->data + (length - 1), &charToStrip, 1)){
-
339 break;
-
340 }
-
341 }
-
342
-
343 if(!length){
- -
345 *stripped = NULL;
-
346 return;
-
347 }
-
348
-
349 uint64_t start = 0;
-
350 for(; start <= length; start++){
-
351 if(strncmp(original->data + start, &charToStrip, 1)){
-
352 break;
-
353 }
-
354 }
-
355
-
356 if(start == length){
- -
358 *stripped = NULL;
-
359 return;
-
360 }
-
361
-
362 length -= start;
-
363 ARC_String_Create(stripped, original->data + start, length);
-
364}
-
-

References arc_errno, ARC_ERRNO_DATA, ARC_ERRNO_NULL, ARC_String_Create(), ARC_String::data, and ARC_String::length.

- -
-
- -

◆ ARC_String_StripEndsWhitespace()

- -
-
- - - - - - - - - - - -
void ARC_String_StripEndsWhitespace (ARC_String ** stripped,
ARC_String * original )
-
- -

strips the whitespace from the ends of a string

-
Parameters
- - - -
strippedwhere to store the string which has witespace stripped from the ends will be null if there is an error
originalthe string which whill have the whitespace stripped from its ends
-
-
- -

Definition at line 437 of file string.c.

-
437 {
-
438 uint64_t index;
-
439 for(uint64_t i = 0; i < original->length; i++){
-
440 if(original->data[i] == ' '){
-
441 continue;
-
442 }
-
443
-
444 if(original->data[i] == '\n'){
-
445 continue;
-
446 }
-
447
-
448 if(original->data[i] == '\t'){
-
449 continue;
-
450 }
-
451
-
452 if(original->data[i] == '\r'){
-
453 continue;
-
454 }
-
455
-
456 index = i;
-
457 break;
-
458 }
-
459
-
460 uint64_t endIndex;
-
461 for(uint64_t i = original->length;; i--){
-
462 if(original->data[i - 1] == ' '){
-
463 continue;
-
464 }
-
465
-
466 if(original->data[i - 1] == '\n'){
-
467 continue;
-
468 }
-
469
-
470 if(original->data[i - 1] == '\t'){
-
471 continue;
-
472 }
-
473
-
474 if(original->data[i - 1] == '\r'){
-
475 continue;
-
476 }
-
477
-
478 endIndex = i;
-
479 break;
-
480 }
-
481
-
482 ARC_String_CopySubstring(stripped, original, index, endIndex - index);
-
483}
-
-

References ARC_String_CopySubstring(), ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_Config_FileIO(), ARC_Config_GetNameAndValue(), ARC_Config_Recurse(), ARC_Config_SetKeyGroup(), ARC_Rect_Read(), ARC_RectArray_Read(), ARC_RectArray_ReadRect(), ARC_SDL_Texture_Read(), ARC_Sprite_Delete(), ARC_Sprite_Read(), ARC_Spritesheet_Delete(), ARC_Spritesheet_Read(), and ARC_Spritesheet_ReadTexture().

- -
-
- -

◆ ARC_String_StripWhitespace()

- -
-
- - - - - - - - - - - -
void ARC_String_StripWhitespace (ARC_String ** stripped,
ARC_String * original )
-
- -

strips whitespace from a ARC_String

-
Parameters
- - - -
strippedwhere to store the string which has witespace stripped will be null if there is an error
originalthe string which whill have whitespace stripped from
-
-
- -

Definition at line 366 of file string.c.

-
366 {
-
367 if(!original){
- -
369 *stripped = NULL;
-
370 return;
-
371 }
-
372
-
373 if(!original->length){
- -
375 *stripped = NULL;
-
376 return;
-
377 }
-
378
-
379 uint64_t length = 0;
-
380 for(uint64_t i = 0; i < original->length; i++){
-
381 if(original->data[i] == ' '){
-
382 continue;
-
383 }
-
384
-
385 if(original->data[i] == '\n'){
-
386 continue;
-
387 }
-
388
-
389 if(original->data[i] == '\t'){
-
390 continue;
-
391 }
-
392
-
393 if(original->data[i] == '\r'){
-
394 continue;
-
395 }
-
396
-
397 length++;
-
398 }
-
399
-
400 if(!length){
- -
402 *stripped = NULL;
-
403 return;
-
404 }
-
405
-
406 length++;
-
407 char data[length];
-
408 for(uint32_t i = 0; i < length; i++){
-
409 data[i] = 0;
-
410 }
-
411
-
412 uint64_t start = 0;
-
413 for(uint64_t i = 0; i < length; i++){
-
414 if(original->data[i] == ' '){
-
415 continue;
-
416 }
-
417
-
418 if(original->data[i] == '\n'){
-
419 continue;
-
420 }
-
421
-
422 if(original->data[i] == '\t'){
-
423 continue;
-
424 }
-
425
-
426 if(original->data[i] == '\r'){
-
427 continue;
-
428 }
-
429
-
430 data[start] = original->data[i];
-
431 start++;
-
432 }
-
433
-
434 ARC_String_Create(stripped, data, length);
-
435}
-
-

References arc_errno, ARC_ERRNO_DATA, ARC_ERRNO_NULL, ARC_String_Create(), ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_Config_RunCommand().

- -
-
- -

◆ ARC_String_SubstringEquals()

- -
-
- - - - - - - - - - - - - - - - -
ARC_Bool ARC_String_SubstringEquals (ARC_String * first,
uint64_t offset,
ARC_String * second )
-
- -

check if substring of first equals second string

-
Parameters
- - - - -
firststring to check against second
offsetpostion based on first to start comparing against second
secondstring to check against first
-
-
-
Returns
ARC_True if match, ARC_False if they don't match
- -

Definition at line 175 of file string.c.

-
175 {
-
176 return ARC_String_SubstringEqualsCString(first, offset, second->data, second->length);
-
177}
-
-

References ARC_String_SubstringEqualsCString(), ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_Lexer_AutomataMatchStringFn(), and ARC_String_CopyReplaceMatching().

- -
-
- -

◆ ARC_String_SubstringEqualsCString()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
ARC_Bool ARC_String_SubstringEqualsCString (ARC_String * string,
uint64_t offset,
const char * cstring,
uint64_t length )
-
- -

check if ARC_String and cstring match

-
Parameters
- - - - - -
stringARC_string to check
offsetpostion based on string to start comparing against cstring
cstringcstring to check
lengthlength of cstring
-
-
-
Returns
ARC_True if match, ARC_False if they don't match
- -

Definition at line 179 of file string.c.

-
179 {
-
180 if(string->length - offset < length){
-
181 return ARC_False;
-
182 }
-
183
-
184 if(strncmp(string->data + offset, cstring, length)){
-
185 return ARC_False;
-
186 }
-
187
-
188 return ARC_True;
-
189}
-
-

References ARC_False, ARC_True, ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_String_ReplaceMatchingCString(), and ARC_String_SubstringEquals().

- -
-
- -

◆ ARC_String_ToDouble()

- -
-
- - - - - - - -
double ARC_String_ToDouble (ARC_String * string)
-
- -

converst substring from string to double

-
Parameters
- - -
stringstring to convert to double
-
-
-
Returns
double converted number
- -

Definition at line 226 of file string.c.

-
226 {
-
227 return strtod(string->data, NULL);
-
228}
-
-

References ARC_String::data.

- -
-
- -

◆ ARC_String_ToInt64_t()

- -
-
- - - - - - - -
int64_t ARC_String_ToInt64_t (ARC_String * string)
-
- -

converst substring from string to int64_t

-
Parameters
- - -
stringstring to convert to int64_t
-
-
-
Returns
int64_t converted number
- -

Definition at line 222 of file string.c.

-
222 {
-
223 return (int64_t) strtol(string->data, NULL, 10);
-
224}
-
-

References ARC_String::data.

- -

Referenced by ARC_Point_Read(), ARC_Rect_Read(), and TEST_ParserCSV_CastTypeFn().

- -
-
- -

◆ ARC_String_ToUint64_t()

- -
-
- - - - - - - -
uint64_t ARC_String_ToUint64_t (ARC_String * string)
-
- -

converst substring from string to uint64_t

-
Parameters
- - -
stringstring to convert to uint64_t
-
-
-
Returns
uint64_t converted number
- -

Definition at line 218 of file string.c.

-
218 {
-
219 return (uint64_t) strtoul(string->data, NULL, 10);
-
220}
-
-

References ARC_String::data.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/db0/string_8c.js b/doc/doxygen/html/d1/db0/string_8c.js deleted file mode 100644 index 9f7fad9..0000000 --- a/doc/doxygen/html/d1/db0/string_8c.js +++ /dev/null @@ -1,39 +0,0 @@ -var string_8c = -[ - [ "ARC_String_Append", "d1/db0/string_8c.html#a9576075f09dfbbbb2f3184b5e22920ee", null ], - [ "ARC_String_AppendCString", "d1/db0/string_8c.html#a62f1a304befda4abb8258f760489c3a3", null ], - [ "ARC_String_AppendCStringWithStrlen", "d1/db0/string_8c.html#a26e2b9243b6a267fef716616f6af03cc", null ], - [ "ARC_String_Copy", "d1/db0/string_8c.html#a858b5bc28ef8a7a3378c3a73518f3894", null ], - [ "ARC_String_CopyReplaceMatching", "d1/db0/string_8c.html#a77e13f5ca3011539b4b59e2c84195d50", null ], - [ "ARC_String_CopySubstring", "d1/db0/string_8c.html#a46afa17a4032d39ad0df4687671708ed", null ], - [ "ARC_String_Create", "d1/db0/string_8c.html#a709d2bb4b120569a636e0afdf5e8f1d0", null ], - [ "ARC_String_CreateEmpty", "d1/db0/string_8c.html#ab490665902a439aeca2ac9e22a2ef16c", null ], - [ "ARC_String_CreateWithStrlen", "d1/db0/string_8c.html#a5cc6bf2a8e4cba4e60f3ec51db3ea04f", null ], - [ "ARC_String_Destroy", "d1/db0/string_8c.html#ac63d17182fd14297f5e7021488d74e35", null ], - [ "ARC_String_Equals", "d1/db0/string_8c.html#abbb398cb869b22acdcf9b9f78fdef484", null ], - [ "ARC_String_EqualsCString", "d1/db0/string_8c.html#a462b22bb7a5994b3cad7c752e7bd430b", null ], - [ "ARC_String_EqualsCStringWithStrlen", "d1/db0/string_8c.html#a8263ad0461c0261c9d410264e80c6f63", null ], - [ "ARC_String_Find", "d1/db0/string_8c.html#aceafae33cc96443b39a9833dace2920b", null ], - [ "ARC_String_FindBack", "d1/db0/string_8c.html#a494719688ca2f9619b439a780b6d21c8", null ], - [ "ARC_String_FindBackCString", "d1/db0/string_8c.html#a7caed0e2aa274aa979ed70f6c43c9cc2", null ], - [ "ARC_String_FindBackCStringWithStrlen", "d1/db0/string_8c.html#a56f9ec8e9c7be41013336d1be43b52c0", null ], - [ "ARC_String_FindCString", "d1/db0/string_8c.html#ab0d31ccb3fdcc52b28d6f6dc37dd517e", null ], - [ "ARC_String_FindCStringWithStrlen", "d1/db0/string_8c.html#a39095ee912ec30c12ae83c4e69a7f96d", null ], - [ "ARC_String_IsAlpha", "d1/db0/string_8c.html#ac4f8e05da0ee56b42e6fd43ff0316b37", null ], - [ "ARC_String_IsNumeric", "d1/db0/string_8c.html#ae6ff477296333f710b646e44cb1143cc", null ], - [ "ARC_String_Merge", "d1/db0/string_8c.html#a2cd0441218a01c2fa51b72af7f3aec33", null ], - [ "ARC_String_RemoveSection", "d1/db0/string_8c.html#adbfcd7207e69a681c4917c78979846c7", null ], - [ "ARC_String_RemoveSubstring", "d1/db0/string_8c.html#a0d3876994334bfa182b0618eec40c2db", null ], - [ "ARC_String_ReplaceMatching", "d1/db0/string_8c.html#aff0057fe8494488577e1def0d4d45d35", null ], - [ "ARC_String_ReplaceMatchingCString", "d1/db0/string_8c.html#ad1460b8672ce7bbcca12dfa624ab718c", null ], - [ "ARC_String_ReplaceMatchingCStringWithStrlen", "d1/db0/string_8c.html#a8ddd7facf38b5acc741252066a92ccf8", null ], - [ "ARC_String_ReplaceWithSubstring", "d1/db0/string_8c.html#adb1300975ff401b06cb3911dd01df67a", null ], - [ "ARC_String_StripEnds", "d1/db0/string_8c.html#adb34b011844da1396f819beed7f3c2e7", null ], - [ "ARC_String_StripEndsWhitespace", "d1/db0/string_8c.html#a07793784e6f8abd41292c90bb5b20005", null ], - [ "ARC_String_StripWhitespace", "d1/db0/string_8c.html#ab5b73947baed7314b0a6d604f024622d", null ], - [ "ARC_String_SubstringEquals", "d1/db0/string_8c.html#a8eef7eb3d72db140b4e386fdbfe3cb1d", null ], - [ "ARC_String_SubstringEqualsCString", "d1/db0/string_8c.html#aa14072c999b1f1019273432c7f3d2037", null ], - [ "ARC_String_ToDouble", "d1/db0/string_8c.html#ad4935cb88cdf297ea99df5148001941a", null ], - [ "ARC_String_ToInt64_t", "d1/db0/string_8c.html#a1221952a590f38856fc794c8ba1f3494", null ], - [ "ARC_String_ToUint64_t", "d1/db0/string_8c.html#a04c1e07bdeede187ad7375dfc5283e99", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d1/db0/string_8c_source.html b/doc/doxygen/html/d1/db0/string_8c_source.html deleted file mode 100644 index 834a484..0000000 --- a/doc/doxygen/html/d1/db0/string_8c_source.html +++ /dev/null @@ -1,880 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/string.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
string.c
-
-
-Go to the documentation of this file.
1#include "arc/std/string.h"
-
2
-
3#include "arc/std/bool.h"
-
4#include "arc/std/errno.h"
-
5#include <stdint.h>
-
6#include <string.h>
-
7#include <stdlib.h>
-
8
-
-
9void ARC_String_Create(ARC_String **string, char *data, uint64_t length){
-
10 //check if the size is too big to create and error if so
-
11 if(length == ~(uint64_t)0){
- -
13 ARC_DEBUG_LOG_ERROR("ARC_String_Create(string, data, length), length was max uint64_t which is bigger than allowed");
-
14 *string = NULL;
-
15 return;
-
16 }
-
17
-
18 //create the string container and malloc the char array (this will allways be bigger than zero so there will be no issue if zero is passed in)
-
19 *string = (ARC_String *)malloc(sizeof(ARC_String));
-
20 (*string)->data = (char *)malloc(sizeof(char) * (length + 1));
-
21 (*string)->length = length;
-
22
-
23 //if the string has a size, copy the string
-
24 if(length > 0){
-
25 strncpy((*string)->data, data, length);
-
26 }
-
27
-
28 //set the end of the string to \0 (to mirror how cstrings work)
-
29 (*string)->data[length] = '\0';
-
30}
-
-
31
-
-
32void ARC_String_CreateWithStrlen(ARC_String **string, char *data){
-
33 //create the string passing in the strlen of data for the length
-
34 ARC_String_Create(string, data, strlen(data));
-
35}
-
-
36
-
-
37void ARC_String_CreateEmpty(ARC_String **string, uint64_t length){
-
38 //check if the size is too big to create and error if so
-
39 if(length == ~(uint64_t)0){
- -
41 ARC_DEBUG_LOG_ERROR("ARC_String_Create(string, data, length), length was max uint64_t which is bigger than allowed");
-
42 *string = NULL;
-
43 return;
-
44 }
-
45
-
46 //create the string container and initialize data with all 0s for the size
-
47 *string = (ARC_String *)malloc(sizeof(ARC_String));
-
48 (*string)->data = (char *)calloc(sizeof(char), length + 1);
-
49 (*string)->length = length;
-
50}
-
-
51
-
- -
53 //check if the string's data exists and if so free it
-
54 if(string->data != NULL){
-
55 free(string->data);
-
56 }
-
57
-
58 //free the string itself
-
59 free(string);
-
60}
-
-
61
-
-
62void ARC_String_Copy(ARC_String **copy, ARC_String *original){
-
63 if(!original){
- -
65 *copy = NULL;
-
66 return;
-
67 }
-
68
-
69 ARC_String_Create(copy, original->data, original->length);
-
70}
-
-
71
-
-
72void ARC_String_CopySubstring(ARC_String **substring, ARC_String *original, uint64_t start, uint64_t length){
-
73 if(!original){
- -
75 *substring = NULL;
-
76 return;
-
77 }
-
78
-
79 if(length == 0){
-
80 *substring = NULL;
-
81 return;
-
82 }
-
83
-
84 if(start + length > original->length){
- -
86 *substring = NULL;
-
87 return;
-
88 }
-
89
-
90 char data[length];
-
91 for(uint32_t i = 0; i < length; i++){
-
92 data[i] = 0;
-
93 }
-
94
-
95 strncpy(data, original->data + start, length);
-
96
-
97 ARC_String_Create(substring, data, length);
-
98}
-
-
99
-
-
100void ARC_String_ReplaceWithSubstring(ARC_String **string, uint64_t start, uint64_t length){
-
101 ARC_String *substring;
-
102 ARC_String_CopySubstring(&substring, *string, start, length);
-
103
-
104 //if error or substring is null free memory and return
-
105 if(arc_errno || substring == NULL){
-
106 if(substring != NULL){
-
107 ARC_String_Destroy(substring);
-
108 }
-
109 return;
-
110 }
-
111
-
112 ARC_String_Destroy(*string);
-
113 *string = substring;
-
114}
-
-
115
-
-
116void ARC_String_RemoveSubstring(ARC_String **newString, ARC_String *original, ARC_String *substring){
-
117 uint64_t index = ARC_String_Find(original, substring);
-
118 if(arc_errno){
-
119 newString = NULL;
-
120 return;
-
121 }
-
122
-
123 ARC_String_RemoveSection(newString, original, index, original->length);
-
124}
-
-
125
-
- -
127 ARC_String_AppendCString(string, append->data, append->length);
-
128}
-
-
129
-
-
130void ARC_String_AppendCString(ARC_String **string, const char *cstring, uint64_t length){
-
131 char *data = (char *)malloc(sizeof(char) * ((*string)->length + length + 1));
-
132
-
133 strncpy(data, (*string)->data, (*string)->length);
-
134 strncpy(data + (*string)->length, cstring, length);
-
135 data[(*string)->length + length] = '\0';
-
136
-
137 free((*string)->data);
-
138
-
139 (*string)->data = data;
-
140 (*string)->length = (*string)->length + length;
-
141}
-
-
142
-
-
143void ARC_String_AppendCStringWithStrlen(ARC_String **string, const char *cstring){
-
144 ARC_String_AppendCString(string, cstring, strlen(cstring));
-
145}
-
-
146
-
- -
148 if(first->length != second->length){
-
149 return ARC_False;
-
150 }
-
151
-
152 if(strncmp(first->data, second->data, first->length)){
-
153 return ARC_False;
-
154 }
-
155
-
156 return ARC_True;
-
157}
-
-
158
-
-
159ARC_Bool ARC_String_EqualsCString(ARC_String *string, const char *cstring, uint64_t length){
-
160 if(string->length != length){
-
161 return ARC_False;
-
162 }
-
163
-
164 if(strncmp(string->data, cstring, string->length)){
-
165 return ARC_False;
-
166 }
-
167
-
168 return ARC_True;
-
169}
-
-
170
-
- -
172 return ARC_String_EqualsCString(string, cstring, strlen(cstring));
-
173}
-
-
174
-
- -
176 return ARC_String_SubstringEqualsCString(first, offset, second->data, second->length);
-
177}
-
-
178
-
-
179ARC_Bool ARC_String_SubstringEqualsCString(ARC_String *string, uint64_t offset, const char *cstring, uint64_t length){
-
180 if(string->length - offset < length){
-
181 return ARC_False;
-
182 }
-
183
-
184 if(strncmp(string->data + offset, cstring, length)){
-
185 return ARC_False;
-
186 }
-
187
-
188 return ARC_True;
-
189}
-
-
190
-
191//TODO: fix this
-
- -
193 for(uint64_t length = string->length; length; length--){
-
194 if(string->data[length - 1] >= 'a' && string->data[length - 1] <= 'z'){
-
195 continue;
-
196 }
-
197
-
198 if(string->data[length - 1] >= 'A' && string->data[length - 1] <= 'Z'){
-
199 continue;
-
200 }
-
201
-
202 return ARC_True;
-
203 }
-
204
-
205 return ARC_False;
-
206}
-
-
207
-
- -
209 for(uint64_t index = 0; index < string->length; index++){
-
210 if(string->data[index] < '0' || string->data[index] > '9'){
-
211 return ARC_False;
-
212 }
-
213 }
-
214
-
215 return ARC_True;
-
216}
-
-
217
-
- -
219 return (uint64_t) strtoul(string->data, NULL, 10);
-
220}
-
-
221
-
- -
223 return (int64_t) strtol(string->data, NULL, 10);
-
224}
-
-
225
-
- -
227 return strtod(string->data, NULL);
-
228}
-
-
229
-
230
-
-
231uint64_t ARC_String_Find(ARC_String *string, ARC_String *substring){
-
232 if(!string || !substring){
-
233 ARC_DEBUG_LOG_ERROR("ARC_String_Find(string, substring), string or substring was null");
- -
235 return ~(uint64_t)0;
-
236 }
-
237
-
238 if(substring->length > string->length){
-
239 return ~(uint64_t)0;
-
240 }
-
241
-
242 uint64_t max = string->length - (substring->length - 1);
-
243 for(uint64_t i = 0; max; i++, max--){
-
244 if(!strncmp(string->data + i, substring->data, substring->length)){
-
245 return i;
-
246 }
-
247 }
-
248
-
249 return ~(uint64_t)0;
-
250}
-
-
251
-
-
252uint64_t ARC_String_FindCString(ARC_String *string, const char *cstring, uint64_t length){
-
253 if(!string || !cstring){
- -
255 ARC_DEBUG_LOG_ERROR("ARC_String_FindCString(string, cstring, length), string or cstring was null");
-
256 return ~(uint64_t)0;
-
257 }
-
258
-
259 if(string->length < length){
-
260 return ~(uint64_t)0;
-
261 }
-
262
-
263 uint64_t max = string->length - (length - 1);
-
264 for(uint64_t i = 0; i < max; i++){
-
265 if(!strncmp(string->data + i, cstring, length)){
-
266 return i + 1;
-
267 }
-
268 }
-
269
-
270 return ~(uint64_t)0;
-
271}
-
-
272
-
-
273uint64_t ARC_String_FindCStringWithStrlen(ARC_String *string, const char *cstring){
-
274 return ARC_String_FindCString(string, cstring, strlen(cstring));
-
275}
-
-
276
-
-
277uint64_t ARC_String_FindBack(ARC_String *string, ARC_String *substring){
-
278 if(!string || !substring){
- -
280 ARC_DEBUG_LOG_ERROR("ARC_String_FindBack(string, substring), string or substring was null");
-
281 return ~(uint64_t)0;
-
282 }
-
283
-
284 if(substring->length > string->length){
-
285 return ~(uint64_t)0;
-
286 }
-
287
-
288 uint64_t max = string->length - (substring->length - 1);
-
289 for(; max; max--){
-
290 if(!strncmp(string->data + (max - 1), substring->data, substring->length)){
-
291 return max;
-
292 }
-
293 }
-
294
-
295 return ~(uint64_t)0;
-
296}
-
-
297
-
-
298uint64_t ARC_String_FindBackCString(ARC_String *string, const char *cstring, uint64_t length){
-
299 if(!string || !cstring){
- -
301 ARC_DEBUG_LOG_ERROR("ARC_String_FindBack(string, substring), string or substring was null");
-
302 return ~(uint64_t)0;
-
303 }
-
304
-
305 if(length > string->length){
-
306 return ~(uint64_t)0;
-
307 }
-
308
-
309 uint64_t max = string->length - (length - 1);
-
310 for(; max; max--){
-
311 if(!strncmp(string->data + (max - 1), cstring, length)){
-
312 return max;
-
313 }
-
314 }
-
315
-
316 return ~(uint64_t)0;
-
317}
-
-
318
-
-
319uint64_t ARC_String_FindBackCStringWithStrlen(ARC_String *string, const char *cstring){
-
320 return ARC_String_FindBackCString(string, cstring, strlen(cstring));
-
321}
-
-
322
-
-
323void ARC_String_StripEnds(ARC_String **stripped, ARC_String *original, char charToStrip){
-
324 if(!original){
- -
326 *stripped = NULL;
-
327 return;
-
328 }
-
329
-
330 if(!original->length){
- -
332 *stripped = NULL;
-
333 return;
-
334 }
-
335
-
336 uint64_t length = original->length - 1;
-
337 for(; length; length--){
-
338 if(strncmp(original->data + (length - 1), &charToStrip, 1)){
-
339 break;
-
340 }
-
341 }
-
342
-
343 if(!length){
- -
345 *stripped = NULL;
-
346 return;
-
347 }
-
348
-
349 uint64_t start = 0;
-
350 for(; start <= length; start++){
-
351 if(strncmp(original->data + start, &charToStrip, 1)){
-
352 break;
-
353 }
-
354 }
-
355
-
356 if(start == length){
- -
358 *stripped = NULL;
-
359 return;
-
360 }
-
361
-
362 length -= start;
-
363 ARC_String_Create(stripped, original->data + start, length);
-
364}
-
-
365
-
- -
367 if(!original){
- -
369 *stripped = NULL;
-
370 return;
-
371 }
-
372
-
373 if(!original->length){
- -
375 *stripped = NULL;
-
376 return;
-
377 }
-
378
-
379 uint64_t length = 0;
-
380 for(uint64_t i = 0; i < original->length; i++){
-
381 if(original->data[i] == ' '){
-
382 continue;
-
383 }
-
384
-
385 if(original->data[i] == '\n'){
-
386 continue;
-
387 }
-
388
-
389 if(original->data[i] == '\t'){
-
390 continue;
-
391 }
-
392
-
393 if(original->data[i] == '\r'){
-
394 continue;
-
395 }
-
396
-
397 length++;
-
398 }
-
399
-
400 if(!length){
- -
402 *stripped = NULL;
-
403 return;
-
404 }
-
405
-
406 length++;
-
407 char data[length];
-
408 for(uint32_t i = 0; i < length; i++){
-
409 data[i] = 0;
-
410 }
-
411
-
412 uint64_t start = 0;
-
413 for(uint64_t i = 0; i < length; i++){
-
414 if(original->data[i] == ' '){
-
415 continue;
-
416 }
-
417
-
418 if(original->data[i] == '\n'){
-
419 continue;
-
420 }
-
421
-
422 if(original->data[i] == '\t'){
-
423 continue;
-
424 }
-
425
-
426 if(original->data[i] == '\r'){
-
427 continue;
-
428 }
-
429
-
430 data[start] = original->data[i];
-
431 start++;
-
432 }
-
433
-
434 ARC_String_Create(stripped, data, length);
-
435}
-
-
436
-
- -
438 uint64_t index;
-
439 for(uint64_t i = 0; i < original->length; i++){
-
440 if(original->data[i] == ' '){
-
441 continue;
-
442 }
-
443
-
444 if(original->data[i] == '\n'){
-
445 continue;
-
446 }
-
447
-
448 if(original->data[i] == '\t'){
-
449 continue;
-
450 }
-
451
-
452 if(original->data[i] == '\r'){
-
453 continue;
-
454 }
-
455
-
456 index = i;
-
457 break;
-
458 }
-
459
-
460 uint64_t endIndex;
-
461 for(uint64_t i = original->length;; i--){
-
462 if(original->data[i - 1] == ' '){
-
463 continue;
-
464 }
-
465
-
466 if(original->data[i - 1] == '\n'){
-
467 continue;
-
468 }
-
469
-
470 if(original->data[i - 1] == '\t'){
-
471 continue;
-
472 }
-
473
-
474 if(original->data[i - 1] == '\r'){
-
475 continue;
-
476 }
-
477
-
478 endIndex = i;
-
479 break;
-
480 }
-
481
-
482 ARC_String_CopySubstring(stripped, original, index, endIndex - index);
-
483}
-
-
484
-
-
485void ARC_String_Merge(ARC_String **combined, ARC_String *first, ARC_String *second){
-
486 char data[first->length + second->length];
-
487 for(uint32_t i = 0; i < first->length; i++){
-
488 data[i] = first->data[i];
-
489 }
-
490
-
491 for(uint32_t i = 0; i < second->length; i++){
-
492 data[i + first->length] = second->data[i];
-
493 }
-
494
-
495 ARC_String_Create(combined, data, first->length + second->length);
-
496}
-
-
497
-
498
-
-
499void ARC_String_RemoveSection(ARC_String **newString, ARC_String *original, uint64_t removeIndex, uint64_t removeLength){
-
500 if(removeIndex == 0 && removeIndex + removeLength >= original->length){
-
501 ARC_String_Copy(newString, original);
-
502 return;
-
503 }
-
504
-
505 if(removeIndex == 0){
-
506 ARC_String_CopySubstring(newString, original, removeLength, original->length - removeLength);
-
507 return;
-
508 }
-
509
-
510 if(removeIndex + removeLength >= original->length){
-
511 ARC_String_CopySubstring(newString, original, 0, removeIndex);
-
512 return;
-
513 }
-
514
-
515 ARC_String *first, *second;
-
516 ARC_String_CopySubstring(&first , original, 0 , removeIndex );
-
517 ARC_String_CopySubstring(&second, original, removeIndex + removeLength, original->length - (removeIndex + removeLength));
-
518
-
519 ARC_String_Merge(newString, first, second);
-
520
-
521 ARC_String_Destroy(first );
-
522 ARC_String_Destroy(second);
-
523}
-
-
524
-
-
525void ARC_String_ReplaceMatching(ARC_String **string, ARC_String *pattern, ARC_String *replacement){
-
526 ARC_String *copyReplaced;
-
527 ARC_String_CopyReplaceMatching(&copyReplaced, *string, pattern, replacement);
-
528
-
529 if(arc_errno != 0 || copyReplaced == NULL){
-
530 return;
-
531 }
-
532
-
533 ARC_String_Destroy(*string);
-
534 *string = copyReplaced;
-
535}
-
-
536
-
-
537void ARC_String_CopyReplaceMatching(ARC_String **newString, ARC_String *original, ARC_String *pattern, ARC_String *replacement){
-
538 //TODO: probs want to check if the replacement goes over a uint64_t size
-
539 if(original == NULL || pattern == NULL || replacement == NULL){
- -
541 ARC_DEBUG_LOG_ERROR("ARC_String_CopyReplaceMatching(newString, original, pattern, replacement), original, pattern, or replacement was null");
-
542 return;
-
543 }
-
544
-
545 uint64_t numberOfMatches = 0;
-
546 for(uint64_t originalIndex = 0; originalIndex < original->length; originalIndex++){
-
547 if(ARC_String_SubstringEquals(original, originalIndex, pattern)){
-
548 numberOfMatches++;
-
549 originalIndex += pattern->length - 1;
-
550 }
-
551 }
-
552
-
553 //no matches were found, but that isn't an error, so copy and return
-
554 if(numberOfMatches == 0){
-
555 ARC_String_Copy(newString, original);
-
556 return;
-
557 }
-
558
-
559 (*newString) = (ARC_String *)malloc(sizeof(ARC_String));
-
560 (*newString)->length = original->length + (replacement->length - pattern->length);
-
561 (*newString)->data = (char *)malloc(sizeof(char *) * original->length + 1);
-
562
-
563 for(uint64_t originalIndex = 0, newIndex = 0; originalIndex < original->length; originalIndex++, newIndex++){
-
564 if(ARC_String_SubstringEquals(original, originalIndex, pattern)){
-
565 for(uint64_t replacementIndex = 0; replacementIndex < replacement->length; replacementIndex++){
-
566 (*newString)->data[newIndex + replacementIndex] = replacement->data[replacementIndex];
-
567 }
-
568
-
569 originalIndex += pattern->length - 1;
-
570 newIndex += replacement->length - 1;
-
571 continue;
-
572 }
-
573
-
574 (*newString)->data[newIndex] = original->data[originalIndex];
-
575 }
-
576
-
577 (*newString)->data[(*newString)->length] = '\0';
-
578}
-
-
579
-
-
580void ARC_String_ReplaceMatchingCString(ARC_String **string, char *patternCString, uint64_t patternLength, char *replacementCString, uint64_t replacementLength){
-
581 //TODO: probs want to check if the replacement goes over a uint64_t size
-
582 if(*string == NULL || patternCString == NULL || replacementCString == NULL){
- -
584 ARC_DEBUG_LOG_ERROR("ARC_String_ReplaceMatchingCString(string, patternCString, patternLength, replacementCString, replacementLength), *string, patternCString, or replacementCString was null");
-
585 return;
-
586 }
-
587
-
588 ARC_String *original = *string;
-
589
-
590 uint64_t numberOfMatches = 0;
-
591 for(uint64_t originalIndex = 0; originalIndex < original->length; originalIndex++){
-
592 if(ARC_String_SubstringEqualsCString(original, originalIndex, patternCString, patternLength)){
-
593 numberOfMatches++;
-
594 originalIndex += patternLength - 1;
-
595 }
-
596 }
-
597
-
598 //no matches were found, but that isn't an error, so nothing to do, return
-
599 if(numberOfMatches == 0){
-
600 return;
-
601 }
-
602
-
603 (*string) = (ARC_String *)malloc(sizeof(ARC_String));
-
604 (*string)->length = original->length + (replacementLength - patternLength);
-
605 (*string)->data = (char *)malloc(sizeof(char *) * original->length + 1);
-
606
-
607 for(uint64_t originalIndex = 0, newIndex = 0; originalIndex < original->length; originalIndex++, newIndex++){
-
608 if(ARC_String_SubstringEqualsCString(original, originalIndex, patternCString, patternLength)){
-
609 for(uint64_t replacementIndex = 0; replacementIndex < replacementLength; replacementIndex++){
-
610 (*string)->data[newIndex + replacementIndex] = replacementCString[replacementIndex];
-
611 }
-
612
-
613 originalIndex += patternLength - 1;
-
614 newIndex += replacementLength - 1;
-
615 continue;
-
616 }
-
617
-
618 (*string)->data[newIndex] = original->data[originalIndex];
-
619 }
-
620
-
621 (*string)->data[(*string)->length] = '\0';
-
622
-
623 //cleanup
-
624 ARC_String_Destroy(original);
-
625}
-
-
626
-
-
627void ARC_String_ReplaceMatchingCStringWithStrlen(ARC_String **string, char *patternCString, char *replacementCString){
-
628 ARC_String_ReplaceMatchingCString(string, patternCString, strlen(patternCString), replacementCString, strlen(replacementCString));
-
629}
-
-
630
- -
#define ARC_False
Definition bool.h:12
-
#define ARC_True
Definition bool.h:11
-
#define ARC_Bool
Definition bool.h:10
- -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_OVERFLOW
Definition errno.h:10
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
#define ARC_ERRNO_DATA
Definition errno.h:7
-
uint64_t ARC_String_ToUint64_t(ARC_String *string)
converst substring from string to uint64_t
Definition string.c:218
-
void ARC_String_StripEndsWhitespace(ARC_String **stripped, ARC_String *original)
strips the whitespace from the ends of a string
Definition string.c:437
-
void ARC_String_RemoveSubstring(ARC_String **newString, ARC_String *original, ARC_String *substring)
copy a subtring from a givin ARC_String
Definition string.c:116
-
int64_t ARC_String_ToInt64_t(ARC_String *string)
converst substring from string to int64_t
Definition string.c:222
-
void ARC_String_AppendCStringWithStrlen(ARC_String **string, const char *cstring)
appends to an ARC_String with an ARC_String
Definition string.c:143
-
void ARC_String_Merge(ARC_String **combined, ARC_String *first, ARC_String *second)
merges two strings together
Definition string.c:485
-
uint64_t ARC_String_FindCStringWithStrlen(ARC_String *string, const char *cstring)
takes given cstring and gives position of first matching
Definition string.c:273
-
ARC_Bool ARC_String_EqualsCString(ARC_String *string, const char *cstring, uint64_t length)
check if ARC_String and cstring match
Definition string.c:159
-
void ARC_String_CopySubstring(ARC_String **substring, ARC_String *original, uint64_t start, uint64_t length)
copy a subtring from a givin ARC_String
Definition string.c:72
-
uint64_t ARC_String_FindBack(ARC_String *string, ARC_String *substring)
takes a given string, and assigns index and length for position of last matching substring
Definition string.c:277
-
uint64_t ARC_String_FindBackCStringWithStrlen(ARC_String *string, const char *cstring)
takes a given cstring and give position of last matching
Definition string.c:319
-
void ARC_String_CreateWithStrlen(ARC_String **string, char *data)
creates ARC_String type with strinlen
Definition string.c:32
-
void ARC_String_AppendCString(ARC_String **string, const char *cstring, uint64_t length)
appends to an ARC_String with an ARC_String
Definition string.c:130
-
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
-
void ARC_String_CopyReplaceMatching(ARC_String **newString, ARC_String *original, ARC_String *pattern, ARC_String *replacement)
replaces characters in a copy of a string matching the given pattern
Definition string.c:537
-
uint64_t ARC_String_FindBackCString(ARC_String *string, const char *cstring, uint64_t length)
takes a given cstring and give position of last matching
Definition string.c:298
-
ARC_Bool ARC_String_EqualsCStringWithStrlen(ARC_String *string, const char *cstring)
check if ARC_String and cstring match
Definition string.c:171
-
void ARC_String_Copy(ARC_String **copy, ARC_String *original)
copy a ARC_String
Definition string.c:62
-
void ARC_String_ReplaceMatchingCStringWithStrlen(ARC_String **string, char *patternCString, char *replacementCString)
replaces characters in string matching the given pattern
Definition string.c:627
-
ARC_Bool ARC_String_SubstringEquals(ARC_String *first, uint64_t offset, ARC_String *second)
check if substring of first equals second string
Definition string.c:175
-
void ARC_String_Append(ARC_String **string, ARC_String *append)
appends to an ARC_String with an ARC_String
Definition string.c:126
-
ARC_Bool ARC_String_SubstringEqualsCString(ARC_String *string, uint64_t offset, const char *cstring, uint64_t length)
check if ARC_String and cstring match
Definition string.c:179
-
uint64_t ARC_String_FindCString(ARC_String *string, const char *cstring, uint64_t length)
takes given cstring and gives position of first matching
Definition string.c:252
-
void ARC_String_CreateEmpty(ARC_String **string, uint64_t length)
creates an empty ARC_String type, useful if you want to add to the string over time without having to...
Definition string.c:37
-
void ARC_String_StripWhitespace(ARC_String **stripped, ARC_String *original)
strips whitespace from a ARC_String
Definition string.c:366
-
ARC_Bool ARC_String_Equals(ARC_String *first, ARC_String *second)
checks if two strings are the same
Definition string.c:147
-
ARC_Bool ARC_String_IsAlpha(ARC_String *string)
checks if string is alphabetic
Definition string.c:192
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
uint64_t ARC_String_Find(ARC_String *string, ARC_String *substring)
takes a given string, and assigns index and length for position of first matching substring
Definition string.c:231
-
void ARC_String_ReplaceMatchingCString(ARC_String **string, char *patternCString, uint64_t patternLength, char *replacementCString, uint64_t replacementLength)
replaces characters in string matching the given pattern
Definition string.c:580
-
double ARC_String_ToDouble(ARC_String *string)
converst substring from string to double
Definition string.c:226
-
void ARC_String_ReplaceWithSubstring(ARC_String **string, uint64_t start, uint64_t length)
replaces a string with a section of itself
Definition string.c:100
-
void ARC_String_StripEnds(ARC_String **stripped, ARC_String *original, char charToStrip)
strips the ends based on a given char
Definition string.c:323
-
void ARC_String_RemoveSection(ARC_String **newString, ARC_String *original, uint64_t removeIndex, uint64_t removeLength)
copy a subtring from a givin ARC_String
Definition string.c:499
-
ARC_Bool ARC_String_IsNumeric(ARC_String *string)
checks if string is made out of only numbers
Definition string.c:208
-
void ARC_String_ReplaceMatching(ARC_String **string, ARC_String *pattern, ARC_String *replacement)
replaces characters in string matching the given pattern
Definition string.c:525
- -
substring position within a string
Definition string.h:14
-
uint64_t length
Definition string.h:16
-
char * data
Definition string.h:15
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/db3/src_2graphics_2obround_8c.html b/doc/doxygen/html/d1/db3/src_2graphics_2obround_8c.html deleted file mode 100644 index 67deead..0000000 --- a/doc/doxygen/html/d1/db3/src_2graphics_2obround_8c.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/obround.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
obround.c File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d1/db3/src_2graphics_2obround_8c_source.html b/doc/doxygen/html/d1/db3/src_2graphics_2obround_8c_source.html deleted file mode 100644 index f64c95f..0000000 --- a/doc/doxygen/html/d1/db3/src_2graphics_2obround_8c_source.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/obround.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
obround.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_GRAPHICS
-
2
- -
4#include <stdio.h>
-
5
-
6void ARC_Obround_Render(ARC_Obround *obround, ARC_Renderer *renderer, ARC_Color *color){
-
7 printf("No Graphics Backend Selected\n");
-
8}
-
9
-
10void ARC_FObround_Render(ARC_FObround *obround, ARC_Renderer *renderer, ARC_Color *color){
-
11 printf("No Graphics Backend Selected\n");
-
12}
-
13
-
14#endif // ARC_NONE_GRAPHICS
- -
void ARC_FObround_Render(ARC_FObround *obround, ARC_Renderer *renderer, ARC_Color *color)
Definition obround.c:45
-
void ARC_Obround_Render(ARC_Obround *obround, ARC_Renderer *renderer, ARC_Color *color)
Definition obround.c:6
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- - - -
-
- - - - - - diff --git a/doc/doxygen/html/d1/dbd/include_2arc_2graphics_2none_2spritesheet_8h.html b/doc/doxygen/html/d1/dbd/include_2arc_2graphics_2none_2spritesheet_8h.html deleted file mode 100644 index 46973cb..0000000 --- a/doc/doxygen/html/d1/dbd/include_2arc_2graphics_2none_2spritesheet_8h.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/none/spritesheet.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
spritesheet.h File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d1/dbd/include_2arc_2graphics_2none_2spritesheet_8h_source.html b/doc/doxygen/html/d1/dbd/include_2arc_2graphics_2none_2spritesheet_8h_source.html deleted file mode 100644 index b65ee34..0000000 --- a/doc/doxygen/html/d1/dbd/include_2arc_2graphics_2none_2spritesheet_8h_source.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/none/spritesheet.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
spritesheet.h
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_GRAPHICS
-
2
-
3#ifndef ARC_NONE_SPRITESHEET_H_
-
4#define ARC_NONE_SPRITESHEET_H_
-
5
- -
7
-
8struct ARC_Spritesheet {};
-
9
-
10#endif // !ARC_NONE_SPRITESHEET_H_
-
11
-
12#endif // !ARC_NONE_GRAPHICS
- - -
-
- - - - - - diff --git a/doc/doxygen/html/d1/dc6/include_2arc_2graphics_2renderer_8h.html b/doc/doxygen/html/d1/dc6/include_2arc_2graphics_2renderer_8h.html deleted file mode 100644 index 895386d..0000000 --- a/doc/doxygen/html/d1/dc6/include_2arc_2graphics_2renderer_8h.html +++ /dev/null @@ -1,331 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/renderer.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
renderer.h File Reference
-
-
- -

Go to the source code of this file.

- - - - -

-Typedefs

typedef struct ARC_RendererType ARC_Renderer
 
- - - - - - - - - - - - -

-Functions

void ARC_Renderer_CreateWithEngineData (ARC_Renderer **renderer, ARC_EngineData *data)
 creates ARC_Renderer type with ARC_EngineData
 
void ARC_Renderer_Destroy (ARC_Renderer *renderer)
 destroys ARC_Renderer type
 
void ARC_Renderer_Clear (ARC_Renderer *renderer)
 
void ARC_Renderer_Render (ARC_Renderer *renderer)
 renders the renderer
 
-

Typedef Documentation

- -

◆ ARC_Renderer

- -
-
- - - - -
typedef struct ARC_RendererType ARC_Renderer
-
-
Note
ARC_RendererType is determined by which window library you are using
- -

Definition at line 16 of file renderer.h.

- -
-
-

Function Documentation

- -

◆ ARC_Renderer_Clear()

- -
-
- - - - - - - -
void ARC_Renderer_Clear (ARC_Renderer * renderer)
-
-

@breif clears the renderer

-
Parameters
- - -
rendererthe renderer to clear
-
-
- -

Definition at line 32 of file renderer.c.

-
32 {
-
33 //TODO: changed for school, also need to add the ability to change render draw color
-
34 //SDL_SetRenderDrawColor((SDL_Renderer *)renderer, 0x1c, 0x2c, 0x3c, 0x00);
-
35 SDL_SetRenderDrawColor((SDL_Renderer *)renderer, 0x15, 0x2a, 0x26, 0x00);
-
36 SDL_RenderClear((SDL_Renderer *)renderer);
-
37}
-
-

Referenced by ARC_Engine_RunUncapped().

- -
-
- -

◆ ARC_Renderer_CreateWithEngineData()

- -
-
- - - - - - - - - - - -
void ARC_Renderer_CreateWithEngineData (ARC_Renderer ** renderer,
ARC_EngineData * data )
-
- -

creates ARC_Renderer type with ARC_EngineData

-
Note
the parameter data is determined by which graphics library you are using please refer to the graphics library section to see what needs to be passed
-
Parameters
- - - -
rendererARC_Renderer to initialize
datathe engine data to create from
-
-
- -

Definition at line 10 of file renderer.c.

-
10 {
-
11 if(!data){
- -
13 ARC_DEBUG_LOG_ERROR("ARC_Renderer_CreateWithEngineData(**renderer, NULL)");
-
14 return;
-
15 }
-
16
-
17 *renderer = (ARC_Renderer *)SDL_CreateRenderer((SDL_Window *)(data->window), -1, SDL_RENDERER_ACCELERATED);
-
18
-
19 if(!*renderer){
- -
21 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("SDL_CreateRenderer(%p, %d, %u);", data->window, -1, SDL_RENDERER_ACCELERATED);
-
22 free(renderer);
-
23 }
-
24
-
25 SDL_SetRenderDrawBlendMode((SDL_Renderer *)*renderer, SDL_BLENDMODE_BLEND);
-
26}
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
-
ARC_Window * window
Definition engine.h:18
-
-

References ARC_DEBUG_LOG_ERROR, ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_NULL, and ARC_EngineData::window.

- -

Referenced by ARC_EngineData_Create().

- -
-
- -

◆ ARC_Renderer_Destroy()

- -
-
- - - - - - - -
void ARC_Renderer_Destroy (ARC_Renderer * renderer)
-
- -

destroys ARC_Renderer type

-
Parameters
- - -
rendererARC_Renderer to destory
-
-
- -

Definition at line 28 of file renderer.c.

-
28 {
-
29 SDL_DestroyRenderer((SDL_Renderer *) renderer);
-
30}
-
-

Referenced by ARC_EngineData_Destroy().

- -
-
- -

◆ ARC_Renderer_Render()

- -
-
- - - - - - - -
void ARC_Renderer_Render (ARC_Renderer * renderer)
-
- -

renders the renderer

-
Note
the renderer will most likely be drawn to from ARC_EngineData
-
Parameters
- - -
rendererthe renderer to render
-
-
- -

Definition at line 39 of file renderer.c.

-
39 {
-
40 SDL_RenderPresent((SDL_Renderer *)renderer);
-
41}
-
-

Referenced by ARC_Engine_RunUncapped().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/dc6/include_2arc_2graphics_2renderer_8h.js b/doc/doxygen/html/d1/dc6/include_2arc_2graphics_2renderer_8h.js deleted file mode 100644 index c3066a3..0000000 --- a/doc/doxygen/html/d1/dc6/include_2arc_2graphics_2renderer_8h.js +++ /dev/null @@ -1,8 +0,0 @@ -var include_2arc_2graphics_2renderer_8h = -[ - [ "ARC_Renderer", "d1/dc6/include_2arc_2graphics_2renderer_8h.html#a2b82366dc421b3e80aace49f3ae8639a", null ], - [ "ARC_Renderer_Clear", "d1/dc6/include_2arc_2graphics_2renderer_8h.html#a658b3d0b45be17d35a4ba6f58c6c410d", null ], - [ "ARC_Renderer_CreateWithEngineData", "d1/dc6/include_2arc_2graphics_2renderer_8h.html#a498204d28a753ae15b67962960ddca04", null ], - [ "ARC_Renderer_Destroy", "d1/dc6/include_2arc_2graphics_2renderer_8h.html#abc868b155fe4429b0569cf07fec57a76", null ], - [ "ARC_Renderer_Render", "d1/dc6/include_2arc_2graphics_2renderer_8h.html#ac44af02eacceb9af14f87e8a7f62aad5", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d1/dc6/include_2arc_2graphics_2renderer_8h_source.html b/doc/doxygen/html/d1/dc6/include_2arc_2graphics_2renderer_8h_source.html deleted file mode 100644 index c8d358f..0000000 --- a/doc/doxygen/html/d1/dc6/include_2arc_2graphics_2renderer_8h_source.html +++ /dev/null @@ -1,191 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/renderer.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
renderer.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_GRAPHICS_RENDERER_H_
-
2#define ARC_GRAPHICS_RENDERER_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8/**
-
9 * @brief predefien ARC_EngineData so as not to get circular reference
-
10*/
- -
12
-
13/**
-
14 * @note ARC_RendererType is determined by which window library you are using
-
15*/
- -
17
-
18/**
-
19 * @brief creates ARC_Renderer type with ARC_EngineData
-
20 *
-
21 * @note the parameter data is determined by which graphics library you are using
-
22 * please refer to the graphics library section to see what needs to be passed
-
23 *
-
24 * @param renderer ARC_Renderer to initialize
-
25 * @param data the engine data to create from
-
26 */
- -
28
-
29/**
-
30 * @brief destroys ARC_Renderer type
-
31 *
-
32 * @param renderer ARC_Renderer to destory
-
33 */
- -
35
-
36/**
-
37 * @breif clears the renderer
-
38 *
-
39 * @param renderer the renderer to clear
-
40*/
-
41void ARC_Renderer_Clear(ARC_Renderer *renderer);
-
42
-
43/**
-
44 * @brief renders the renderer
-
45 *
-
46 * @note the renderer will most likely be drawn to from ARC_EngineData
-
47 *
-
48 * @param renderer the renderer to render
-
49*/
-
50void ARC_Renderer_Render(ARC_Renderer *renderer);
-
51
-
52#ifdef __cplusplus
-
53}
-
54#endif
-
55
-
56#endif // !ARC_GRAPHICS_RENDERER_H_
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
-
void ARC_Renderer_CreateWithEngineData(ARC_Renderer **renderer, ARC_EngineData *data)
creates ARC_Renderer type with ARC_EngineData
Definition renderer.c:10
-
void ARC_Renderer_Clear(ARC_Renderer *renderer)
Definition renderer.c:32
-
void ARC_Renderer_Destroy(ARC_Renderer *renderer)
destroys ARC_Renderer type
Definition renderer.c:28
-
void ARC_Renderer_Render(ARC_Renderer *renderer)
renders the renderer
Definition renderer.c:39
-
SDL_Renderer ARC_RendererType
Definition renderer.h:8
- -
-
- - - - - - diff --git a/doc/doxygen/html/d1/de1/packages_2input_2sdl_2mouse_8c.html b/doc/doxygen/html/d1/de1/packages_2input_2sdl_2mouse_8c.html deleted file mode 100644 index 332b7a2..0000000 --- a/doc/doxygen/html/d1/de1/packages_2input_2sdl_2mouse_8c.html +++ /dev/null @@ -1,447 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/input/sdl/mouse.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
mouse.c File Reference
-
-
-
#include "arc/input/mouse.h"
-#include "mouse.h"
-#include "input.h"
-#include "arc/math/point.h"
-#include "arc/std/errno.h"
-#include <stdlib.h>
-#include <stdint.h>
-#include <SDL_mouse.h>
-#include <SDL_events.h>
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - -

-Functions

void ARC_Mouse_CreateWithInput (ARC_Mouse **mouse, ARC_Input *input)
 
void ARC_Mouse_Destroy (ARC_Mouse *mouse)
 
void ARC_Mouse_UpdateButton (ARC_Mouse *mouse, uint8_t button, uint32_t *buttons, uint32_t mask)
 
void ARC_Mouse_Update (ARC_Mouse *mouse)
 
ARC_PointARC_Mouse_GetCoords (ARC_Mouse *mouse)
 
ARC_MouseState ARC_Mouse_GetState (ARC_Mouse *mouse, ARC_MouseButton button)
 
int32_t * ARC_Mouse_GetScrollY (ARC_Mouse *mouse)
 
-

Function Documentation

- -

◆ ARC_Mouse_CreateWithInput()

- -
-
- - - - - - - - - - - -
void ARC_Mouse_CreateWithInput (ARC_Mouse ** mouse,
ARC_Input * input )
-
- -

Definition at line 12 of file mouse.c.

-
12 {
-
13 *mouse = (ARC_Mouse *)malloc(sizeof(ARC_Mouse));
-
14 (*mouse)->event = input->event;
-
15 (*mouse)->coords = (ARC_Point *)malloc(sizeof(ARC_Point));
-
16 (*mouse)->scrollY = (int32_t *)malloc(sizeof(int32_t ));
-
17 (*mouse)->buttons = (ARC_MouseState *)malloc(sizeof(ARC_MouseState) * ARC_MOUSE_BUTTON_NUM);
-
18
-
19 (*mouse)->buttonsReleased = (uint8_t *)malloc(sizeof(uint8_t));
-
20
-
21 *(*mouse)->coords = (ARC_Point){0, 0};
-
22 *(*mouse)->scrollY = 0;
-
23
-
24 for(uint8_t i = 0; i < ARC_MOUSE_BUTTON_NUM; i++){
-
25 (*mouse)->buttons[i] = ARC_MOUSE_NONE;
-
26 }
-
27
-
28 *(*mouse)->buttonsReleased = 0;
-
29}
-
ARC_MouseState
Definition mouse.h:18
-
@ ARC_MOUSE_NONE
Definition mouse.h:19
-
#define ARC_MOUSE_BUTTON_NUM
Definition mouse.h:32
-
struct ARC_Point ARC_Point
-
SDL_Event * event
Definition input.h:12
- -
SDL_Event * event
Definition mouse.h:9
- -
-

References ARC_MOUSE_BUTTON_NUM, ARC_MOUSE_NONE, ARC_Input::event, and ARC_Mouse::event.

- -

Referenced by ARC_Input_CreateWithEngineData().

- -
-
- -

◆ ARC_Mouse_Destroy()

- -
-
- - - - - - - -
void ARC_Mouse_Destroy (ARC_Mouse * mouse)
-
- -

Definition at line 31 of file mouse.c.

-
31 {
-
32 free(mouse->buttonsReleased);
-
33
-
34 free(mouse->buttons);
-
35 free(mouse->scrollY);
-
36 free(mouse->coords );
-
37
-
38 free(mouse);
-
39}
-
ARC_Point * coords
Definition mouse.h:10
-
ARC_MouseState * buttons
Definition mouse.h:13
-
int32_t * scrollY
Definition mouse.h:11
-
uint8_t * buttonsReleased
Definition mouse.h:14
-
-

References ARC_Mouse::buttons, ARC_Mouse::buttonsReleased, ARC_Mouse::coords, and ARC_Mouse::scrollY.

- -

Referenced by ARC_EngineData_Destroy(), and ARC_Input_Destroy().

- -
-
- -

◆ ARC_Mouse_GetCoords()

- -
-
- - - - - - - -
ARC_Point * ARC_Mouse_GetCoords (ARC_Mouse * mouse)
-
- -

Definition at line 95 of file mouse.c.

-
95 {
-
96 return mouse->coords;
-
97}
-
-

References ARC_Mouse::coords.

- -
-
- -

◆ ARC_Mouse_GetScrollY()

- -
-
- - - - - - - -
int32_t * ARC_Mouse_GetScrollY (ARC_Mouse * mouse)
-
- -

Definition at line 103 of file mouse.c.

-
103 {
-
104 return mouse->scrollY;
-
105}
-
-

References ARC_Mouse::scrollY.

- -
-
- -

◆ ARC_Mouse_GetState()

- -
-
- - - - - - - - - - - -
ARC_MouseState ARC_Mouse_GetState (ARC_Mouse * mouse,
ARC_MouseButton button )
-
- -

Definition at line 99 of file mouse.c.

-
99 {
-
100 return mouse->buttons[button];
-
101}
-
-

References ARC_Mouse::buttons.

- -
-
- -

◆ ARC_Mouse_Update()

- -
-
- - - - - - - -
void ARC_Mouse_Update (ARC_Mouse * mouse)
-
- -

Definition at line 61 of file mouse.c.

-
61 {
-
62 *mouse->scrollY = 0;
-
63 if(mouse->event->type == SDL_MOUSEWHEEL){
-
64 *mouse->scrollY = mouse->event->wheel.y;
-
65 }
-
66
-
67 uint32_t buttons = SDL_GetMouseState(&(mouse->coords->x), &(mouse->coords->y));
-
68
-
69 if(mouse->event->type != SDL_MOUSEBUTTONDOWN && mouse->event->type != SDL_MOUSEBUTTONUP){
-
70 if(!*mouse->buttonsReleased){
-
71 return;
-
72 }
-
73
-
74 for(uint8_t i = *mouse->buttonsReleased; i > 0; i--){
-
75 if(mouse->buttons[i - 1] == ARC_MOUSE_RELEASED){
-
76 mouse->buttons[i - 1] = ARC_MOUSE_NONE;
-
77 --*mouse->buttonsReleased;
-
78 }
-
79 }
-
80
-
81 // if(*mouse->buttonsReleased){
-
82 // arc_errno = ARC_ERRNO_DATA;
-
83 // ARC_DEBUG_LOG(arc_errno, "in ARC_Mouse_Update mouse->buttonsReleased == %u, it needs to be 0\n", *(mouse->buttonsReleased));
-
84 // }
-
85 return;
-
86 }
-
87
-
88 ARC_Mouse_UpdateButton(mouse, ARC_MOUSE_LEFT , &buttons, SDL_BUTTON_LMASK );
-
89 ARC_Mouse_UpdateButton(mouse, ARC_MOUSE_MIDDLE, &buttons, SDL_BUTTON_MMASK );
-
90 ARC_Mouse_UpdateButton(mouse, ARC_MOUSE_RIGHT , &buttons, SDL_BUTTON_RMASK );
-
91 ARC_Mouse_UpdateButton(mouse, ARC_MOUSE_X1 , &buttons, SDL_BUTTON_X1MASK);
-
92 ARC_Mouse_UpdateButton(mouse, ARC_MOUSE_X2 , &buttons, SDL_BUTTON_X2MASK);
-
93}
-
@ ARC_MOUSE_X2
Definition mouse.h:29
-
@ ARC_MOUSE_LEFT
Definition mouse.h:25
-
@ ARC_MOUSE_RIGHT
Definition mouse.h:27
-
@ ARC_MOUSE_X1
Definition mouse.h:28
-
@ ARC_MOUSE_MIDDLE
Definition mouse.h:26
-
@ ARC_MOUSE_RELEASED
Definition mouse.h:21
-
void ARC_Mouse_UpdateButton(ARC_Mouse *mouse, uint8_t button, uint32_t *buttons, uint32_t mask)
Definition mouse.c:41
-
int32_t y
Definition point.h:12
-
int32_t x
Definition point.h:11
-
-

References ARC_MOUSE_LEFT, ARC_MOUSE_MIDDLE, ARC_MOUSE_NONE, ARC_MOUSE_RELEASED, ARC_MOUSE_RIGHT, ARC_Mouse_UpdateButton(), ARC_MOUSE_X1, ARC_MOUSE_X2, ARC_Mouse::buttons, ARC_Mouse::buttonsReleased, ARC_Mouse::coords, ARC_Mouse::event, ARC_Mouse::scrollY, ARC_Point::x, and ARC_Point::y.

- -

Referenced by ARC_Input_Update().

- -
-
- -

◆ ARC_Mouse_UpdateButton()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Mouse_UpdateButton (ARC_Mouse * mouse,
uint8_t button,
uint32_t * buttons,
uint32_t mask )
-
- -

Definition at line 41 of file mouse.c.

-
41 {
-
42 if(*buttons & mask){
-
43 mouse->buttons[button] = ARC_MOUSE_PRESSED;
-
44 return;
-
45 }
-
46
-
47 if(mouse->buttons[button] == ARC_MOUSE_NONE){
-
48 return;
-
49 }
-
50
-
51 if(mouse->buttons[button] == ARC_MOUSE_RELEASED){
-
52 mouse->buttons[button] = ARC_MOUSE_NONE;
-
53 --*mouse->buttonsReleased;
-
54 return;
-
55 }
-
56
-
57 mouse->buttons[button] = ARC_MOUSE_RELEASED;
-
58 ++*mouse->buttonsReleased;
-
59}
-
@ ARC_MOUSE_PRESSED
Definition mouse.h:20
-
-

References ARC_MOUSE_NONE, ARC_MOUSE_PRESSED, ARC_MOUSE_RELEASED, ARC_Mouse::buttons, and ARC_Mouse::buttonsReleased.

- -

Referenced by ARC_Mouse_Update().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/de1/packages_2input_2sdl_2mouse_8c.js b/doc/doxygen/html/d1/de1/packages_2input_2sdl_2mouse_8c.js deleted file mode 100644 index 6b17647..0000000 --- a/doc/doxygen/html/d1/de1/packages_2input_2sdl_2mouse_8c.js +++ /dev/null @@ -1,10 +0,0 @@ -var packages_2input_2sdl_2mouse_8c = -[ - [ "ARC_Mouse_CreateWithInput", "d1/de1/packages_2input_2sdl_2mouse_8c.html#ad10b11b6dc3e8154a6a8c55336f414aa", null ], - [ "ARC_Mouse_Destroy", "d1/de1/packages_2input_2sdl_2mouse_8c.html#a80f3e8881fa82ed61884bd0c54718377", null ], - [ "ARC_Mouse_GetCoords", "d1/de1/packages_2input_2sdl_2mouse_8c.html#a03fbe8fd4b74249f76a6b9b3896f1c90", null ], - [ "ARC_Mouse_GetScrollY", "d1/de1/packages_2input_2sdl_2mouse_8c.html#a3760b36acc070c0519e51480312a6b8d", null ], - [ "ARC_Mouse_GetState", "d1/de1/packages_2input_2sdl_2mouse_8c.html#a00a25e48a5a701317b363dcdc83e3469", null ], - [ "ARC_Mouse_Update", "d1/de1/packages_2input_2sdl_2mouse_8c.html#a6eb8e204759d13162a305588e550b132", null ], - [ "ARC_Mouse_UpdateButton", "d1/de1/packages_2input_2sdl_2mouse_8c.html#af4de61d6f3c448addb8d6d11ac74ab3b", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d1/de1/packages_2input_2sdl_2mouse_8c_source.html b/doc/doxygen/html/d1/de1/packages_2input_2sdl_2mouse_8c_source.html deleted file mode 100644 index 4d2a549..0000000 --- a/doc/doxygen/html/d1/de1/packages_2input_2sdl_2mouse_8c_source.html +++ /dev/null @@ -1,282 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/input/sdl/mouse.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
mouse.c
-
-
-Go to the documentation of this file.
1#include "arc/input/mouse.h"
-
2
-
3#include "mouse.h"
-
4#include "input.h"
-
5#include "arc/math/point.h"
-
6#include "arc/std/errno.h"
-
7#include <stdlib.h>
-
8#include <stdint.h>
-
9#include <SDL_mouse.h>
-
10#include <SDL_events.h>
-
11
-
- -
13 *mouse = (ARC_Mouse *)malloc(sizeof(ARC_Mouse));
-
14 (*mouse)->event = input->event;
-
15 (*mouse)->coords = (ARC_Point *)malloc(sizeof(ARC_Point));
-
16 (*mouse)->scrollY = (int32_t *)malloc(sizeof(int32_t ));
-
17 (*mouse)->buttons = (ARC_MouseState *)malloc(sizeof(ARC_MouseState) * ARC_MOUSE_BUTTON_NUM);
-
18
-
19 (*mouse)->buttonsReleased = (uint8_t *)malloc(sizeof(uint8_t));
-
20
-
21 *(*mouse)->coords = (ARC_Point){0, 0};
-
22 *(*mouse)->scrollY = 0;
-
23
-
24 for(uint8_t i = 0; i < ARC_MOUSE_BUTTON_NUM; i++){
-
25 (*mouse)->buttons[i] = ARC_MOUSE_NONE;
-
26 }
-
27
-
28 *(*mouse)->buttonsReleased = 0;
-
29}
-
-
30
-
- -
32 free(mouse->buttonsReleased);
-
33
-
34 free(mouse->buttons);
-
35 free(mouse->scrollY);
-
36 free(mouse->coords );
-
37
-
38 free(mouse);
-
39}
-
-
40
-
-
41void ARC_Mouse_UpdateButton(ARC_Mouse *mouse, uint8_t button, uint32_t *buttons, uint32_t mask){
-
42 if(*buttons & mask){
-
43 mouse->buttons[button] = ARC_MOUSE_PRESSED;
-
44 return;
-
45 }
-
46
-
47 if(mouse->buttons[button] == ARC_MOUSE_NONE){
-
48 return;
-
49 }
-
50
-
51 if(mouse->buttons[button] == ARC_MOUSE_RELEASED){
-
52 mouse->buttons[button] = ARC_MOUSE_NONE;
-
53 --*mouse->buttonsReleased;
-
54 return;
-
55 }
-
56
-
57 mouse->buttons[button] = ARC_MOUSE_RELEASED;
-
58 ++*mouse->buttonsReleased;
-
59}
-
-
60
-
- -
62 *mouse->scrollY = 0;
-
63 if(mouse->event->type == SDL_MOUSEWHEEL){
-
64 *mouse->scrollY = mouse->event->wheel.y;
-
65 }
-
66
-
67 uint32_t buttons = SDL_GetMouseState(&(mouse->coords->x), &(mouse->coords->y));
-
68
-
69 if(mouse->event->type != SDL_MOUSEBUTTONDOWN && mouse->event->type != SDL_MOUSEBUTTONUP){
-
70 if(!*mouse->buttonsReleased){
-
71 return;
-
72 }
-
73
-
74 for(uint8_t i = *mouse->buttonsReleased; i > 0; i--){
-
75 if(mouse->buttons[i - 1] == ARC_MOUSE_RELEASED){
-
76 mouse->buttons[i - 1] = ARC_MOUSE_NONE;
-
77 --*mouse->buttonsReleased;
-
78 }
-
79 }
-
80
-
81 // if(*mouse->buttonsReleased){
-
82 // arc_errno = ARC_ERRNO_DATA;
-
83 // ARC_DEBUG_LOG(arc_errno, "in ARC_Mouse_Update mouse->buttonsReleased == %u, it needs to be 0\n", *(mouse->buttonsReleased));
-
84 // }
-
85 return;
-
86 }
-
87
-
88 ARC_Mouse_UpdateButton(mouse, ARC_MOUSE_LEFT , &buttons, SDL_BUTTON_LMASK );
-
89 ARC_Mouse_UpdateButton(mouse, ARC_MOUSE_MIDDLE, &buttons, SDL_BUTTON_MMASK );
-
90 ARC_Mouse_UpdateButton(mouse, ARC_MOUSE_RIGHT , &buttons, SDL_BUTTON_RMASK );
-
91 ARC_Mouse_UpdateButton(mouse, ARC_MOUSE_X1 , &buttons, SDL_BUTTON_X1MASK);
-
92 ARC_Mouse_UpdateButton(mouse, ARC_MOUSE_X2 , &buttons, SDL_BUTTON_X2MASK);
-
93}
-
-
94
-
- -
96 return mouse->coords;
-
97}
-
-
98
-
- -
100 return mouse->buttons[button];
-
101}
-
-
102
-
- -
104 return mouse->scrollY;
-
105}
-
- - -
ARC_MouseState ARC_Mouse_GetState(ARC_Mouse *mouse, ARC_MouseButton button)
Definition mouse.c:99
-
ARC_Point * ARC_Mouse_GetCoords(ARC_Mouse *mouse)
Definition mouse.c:95
-
ARC_MouseButton
Definition mouse.h:24
-
@ ARC_MOUSE_X2
Definition mouse.h:29
-
@ ARC_MOUSE_LEFT
Definition mouse.h:25
-
@ ARC_MOUSE_RIGHT
Definition mouse.h:27
-
@ ARC_MOUSE_X1
Definition mouse.h:28
-
@ ARC_MOUSE_MIDDLE
Definition mouse.h:26
-
int32_t * ARC_Mouse_GetScrollY(ARC_Mouse *mouse)
Definition mouse.c:103
-
ARC_MouseState
Definition mouse.h:18
-
@ ARC_MOUSE_RELEASED
Definition mouse.h:21
-
@ ARC_MOUSE_PRESSED
Definition mouse.h:20
-
@ ARC_MOUSE_NONE
Definition mouse.h:19
-
void ARC_Mouse_Update(ARC_Mouse *mouse)
Definition mouse.c:61
-
void ARC_Mouse_Destroy(ARC_Mouse *mouse)
Definition mouse.c:31
-
#define ARC_MOUSE_BUTTON_NUM
Definition mouse.h:32
-
void ARC_Mouse_CreateWithInput(ARC_Mouse **mouse, ARC_Input *input)
Definition mouse.c:12
- -
void ARC_Mouse_UpdateButton(ARC_Mouse *mouse, uint8_t button, uint32_t *buttons, uint32_t mask)
Definition mouse.c:41
- - -
struct ARC_Point ARC_Point
- -
SDL_Event * event
Definition input.h:12
- -
ARC_Point * coords
Definition mouse.h:10
-
ARC_MouseState * buttons
Definition mouse.h:13
-
SDL_Event * event
Definition mouse.h:9
-
int32_t * scrollY
Definition mouse.h:11
-
uint8_t * buttonsReleased
Definition mouse.h:14
- -
int32_t y
Definition point.h:12
-
int32_t x
Definition point.h:11
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/de3/tests_8dir_2src_2math_2config_8c_8o_8d.html b/doc/doxygen/html/d1/de3/tests_8dir_2src_2math_2config_8c_8o_8d.html deleted file mode 100644 index 41bab92..0000000 --- a/doc/doxygen/html/d1/de3/tests_8dir_2src_2math_2config_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/math/config.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d1/de3/tests_8dir_2src_2math_2config_8c_8o_8d_source.html b/doc/doxygen/html/d1/de3/tests_8dir_2src_2math_2config_8c_8o_8d_source.html deleted file mode 100644 index 0dab099..0000000 --- a/doc/doxygen/html/d1/de3/tests_8dir_2src_2math_2config_8c_8o_8d_source.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/math/config.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/math/config.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/math/config.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/math/config.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h \
-
15 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
17 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
18 /usr/include/stdio.h \
-
19 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
21 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
22 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
23 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
24 /usr/include/bits/types/cookie_io_functions_t.h \
-
25 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
26 /usr/include/bits/floatn-common.h /usr/include/stdlib.h \
-
27 /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
-
28 /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \
-
29 /usr/include/bits/types/clockid_t.h /usr/include/bits/types/time_t.h \
-
30 /usr/include/bits/types/timer_t.h /usr/include/endian.h \
-
31 /usr/include/bits/endian.h /usr/include/bits/endianness.h \
-
32 /usr/include/bits/byteswap.h /usr/include/bits/uintn-identity.h \
-
33 /usr/include/sys/select.h /usr/include/bits/select.h \
-
34 /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \
-
35 /usr/include/bits/types/struct_timeval.h \
-
36 /usr/include/bits/types/struct_timespec.h \
-
37 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
38 /usr/include/bits/pthreadtypes-arch.h \
-
39 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
40 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
41 /usr/include/bits/stdlib-float.h \
-
42 /home/herbglitch/programs/archeus/arc/include/arc/std/array.h \
-
43 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
44 /home/herbglitch/programs/archeus/arc/include/arc/std/config.h \
-
45 /home/herbglitch/programs/archeus/arc/include/arc/std/hashtable.h \
-
46 /home/herbglitch/programs/archeus/arc/include/arc/std/defaults/config.h \
-
47 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
48 /home/herbglitch/programs/archeus/arc/include/arc/math/rectangle.h \
-
49 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
50 /home/herbglitch/programs/archeus/arc/include/arc/math/vector2.h \
-
51 /home/herbglitch/programs/archeus/arc/include/arc/std/defaults/config.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/dfa/tests_8dir_2tests_2std_2chemical_8c_8o_8d.html b/doc/doxygen/html/d1/dfa/tests_8dir_2tests_2std_2chemical_8c_8o_8d.html deleted file mode 100644 index 4311f60..0000000 --- a/doc/doxygen/html/d1/dfa/tests_8dir_2tests_2std_2chemical_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/tests/std/chemical.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
chemical.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d1/dfa/tests_8dir_2tests_2std_2chemical_8c_8o_8d_source.html b/doc/doxygen/html/d1/dfa/tests_8dir_2tests_2std_2chemical_8c_8o_8d_source.html deleted file mode 100644 index 67c0f0f..0000000 --- a/doc/doxygen/html/d1/dfa/tests_8dir_2tests_2std_2chemical_8c_8o_8d_source.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/tests/std/chemical.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
chemical.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/tests/std/chemical.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/tests/std/chemical.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/tests/std/../test.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h /usr/include/stdio.h \
-
15 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
16 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
17 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
18 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
19 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
20 /usr/include/bits/types/cookie_io_functions_t.h \
-
21 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
22 /usr/include/bits/floatn-common.h \
-
23 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
24 /home/herbglitch/programs/archeus/arc/include/arc/std/chemical.h \
-
25 /home/herbglitch/programs/archeus/arc/include/arc/std/parser.h \
-
26 /home/herbglitch/programs/archeus/arc/include/arc/std/array.h \
-
27 /home/herbglitch/programs/archeus/arc/include/arc/std/lexer.h \
-
28 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
29 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
30 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
31 /home/herbglitch/programs/archeus/arc/include/arc/std/vector.h \
-
32 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/dfc/tests_8dir_2src_2std_2hashtable_8c_8o_8d.html b/doc/doxygen/html/d1/dfc/tests_8dir_2src_2std_2hashtable_8c_8o_8d.html deleted file mode 100644 index b3cdbc1..0000000 --- a/doc/doxygen/html/d1/dfc/tests_8dir_2src_2std_2hashtable_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/hashtable.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
hashtable.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d1/dfc/tests_8dir_2src_2std_2hashtable_8c_8o_8d_source.html b/doc/doxygen/html/d1/dfc/tests_8dir_2src_2std_2hashtable_8c_8o_8d_source.html deleted file mode 100644 index 1cfde25..0000000 --- a/doc/doxygen/html/d1/dfc/tests_8dir_2src_2std_2hashtable_8c_8o_8d_source.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/hashtable.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
hashtable.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/std/hashtable.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/hashtable.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/hashtable.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h \
-
15 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
17 /usr/include/stdio.h \
-
18 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
19 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
20 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
21 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
22 /usr/include/bits/types/cookie_io_functions_t.h \
-
23 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
24 /usr/include/bits/floatn-common.h /usr/include/stdlib.h \
-
25 /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
-
26 /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \
-
27 /usr/include/bits/types/clockid_t.h /usr/include/bits/types/time_t.h \
-
28 /usr/include/bits/types/timer_t.h /usr/include/endian.h \
-
29 /usr/include/bits/endian.h /usr/include/bits/endianness.h \
-
30 /usr/include/bits/byteswap.h /usr/include/bits/uintn-identity.h \
-
31 /usr/include/sys/select.h /usr/include/bits/select.h \
-
32 /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \
-
33 /usr/include/bits/types/struct_timeval.h \
-
34 /usr/include/bits/types/struct_timespec.h \
-
35 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
36 /usr/include/bits/pthreadtypes-arch.h \
-
37 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
38 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
39 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d1/dff/archeus__std_8dir_2src_2engine_2state_8c_8o_8d.html b/doc/doxygen/html/d1/dff/archeus__std_8dir_2src_2engine_2state_8c_8o_8d.html deleted file mode 100644 index 752da49..0000000 --- a/doc/doxygen/html/d1/dff/archeus__std_8dir_2src_2engine_2state_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/engine/state.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
state.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d1/dff/archeus__std_8dir_2src_2engine_2state_8c_8o_8d_source.html b/doc/doxygen/html/d1/dff/archeus__std_8dir_2src_2engine_2state_8c_8o_8d_source.html deleted file mode 100644 index 99dc01d..0000000 --- a/doc/doxygen/html/d1/dff/archeus__std_8dir_2src_2engine_2state_8c_8o_8d_source.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/engine/state.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
state.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/engine/state.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/engine/state.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/engine/state.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/d04/tests_8dir_2src_2math_2obround_8c_8o_8d.html b/doc/doxygen/html/d2/d04/tests_8dir_2src_2math_2obround_8c_8o_8d.html deleted file mode 100644 index dc65f45..0000000 --- a/doc/doxygen/html/d2/d04/tests_8dir_2src_2math_2obround_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/math/obround.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
obround.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d2/d04/tests_8dir_2src_2math_2obround_8c_8o_8d_source.html b/doc/doxygen/html/d2/d04/tests_8dir_2src_2math_2obround_8c_8o_8d_source.html deleted file mode 100644 index 35ed4c8..0000000 --- a/doc/doxygen/html/d2/d04/tests_8dir_2src_2math_2obround_8c_8o_8d_source.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/math/obround.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
obround.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/math/obround.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/math/obround.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/math/obround.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/d0c/archeus__std_8dir_2src_2math_2vector2_8c_8o_8d.html b/doc/doxygen/html/d2/d0c/archeus__std_8dir_2src_2math_2vector2_8c_8o_8d.html deleted file mode 100644 index 96f743a..0000000 --- a/doc/doxygen/html/d2/d0c/archeus__std_8dir_2src_2math_2vector2_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/math/vector2.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
vector2.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d2/d0c/archeus__std_8dir_2src_2math_2vector2_8c_8o_8d_source.html b/doc/doxygen/html/d2/d0c/archeus__std_8dir_2src_2math_2vector2_8c_8o_8d_source.html deleted file mode 100644 index 3682ade..0000000 --- a/doc/doxygen/html/d2/d0c/archeus__std_8dir_2src_2math_2vector2_8c_8o_8d_source.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/math/vector2.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
vector2.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/math/vector2.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/math/vector2.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/math/vector2.h \
-
5 /usr/include/math.h /usr/include/bits/libc-header-start.h \
-
6 /usr/include/features.h /usr/include/features-time64.h \
-
7 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
8 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
9 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
10 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
11 /usr/include/bits/time64.h /usr/include/bits/math-vector.h \
-
12 /usr/include/bits/libm-simd-decl-stubs.h /usr/include/bits/floatn.h \
-
13 /usr/include/bits/floatn-common.h /usr/include/bits/flt-eval-method.h \
-
14 /usr/include/bits/fp-logb.h /usr/include/bits/fp-fast.h \
-
15 /usr/include/bits/mathcalls-helper-functions.h \
-
16 /usr/include/bits/mathcalls.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/d0d/packages_2input_2glfw_2keyboard_8c.html b/doc/doxygen/html/d2/d0d/packages_2input_2glfw_2keyboard_8c.html deleted file mode 100644 index 2c53bff..0000000 --- a/doc/doxygen/html/d2/d0d/packages_2input_2glfw_2keyboard_8c.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/input/glfw/keyboard.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
keyboard.c File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d2/d0d/packages_2input_2glfw_2keyboard_8c_source.html b/doc/doxygen/html/d2/d0d/packages_2input_2glfw_2keyboard_8c_source.html deleted file mode 100644 index 38e9150..0000000 --- a/doc/doxygen/html/d2/d0d/packages_2input_2glfw_2keyboard_8c_source.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/input/glfw/keyboard.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
keyboard.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_GLFW_INPUT
- -
3
-
4#include "keyboard.h"
-
5#include "arc/math/point.h"
-
6#include "arc/std/errno.h"
-
7#include <stdlib.h>
-
8#include <stdint.h>
-
9
- -
11}
-
12
- -
14}
-
15
-
16void ARC_Keyboard_Update(ARC_Keyboard *keyboard){
-
17}
-
18
- -
20 return ARC_KEY_NONE;
-
21}
-
22
-
23#endif // ARC_GLFW_INPUT
- - -
ARC_KeyboardKey
Definition keyboard.h:32
-
void ARC_Keyboard_Update(ARC_Keyboard *keyboard)
Definition keyboard.c:29
-
ARC_KeyboardState
Definition keyboard.h:19
-
@ ARC_KEY_NONE
Definition keyboard.h:20
-
void ARC_Keyboard_CreateWithInput(ARC_Keyboard **keyboard, ARC_Input *input)
Definition keyboard.c:11
-
void ARC_Keyboard_Destroy(ARC_Keyboard *keyboard)
Definition keyboard.c:23
-
ARC_KeyboardState ARC_Keyboard_GetState(ARC_Keyboard *keyboard, enum ARC_KeyboardKey key)
Definition keyboard.c:52
- - - - -
-
- - - - - - diff --git a/doc/doxygen/html/d2/d14/math_2rectangle_8h.html b/doc/doxygen/html/d2/d14/math_2rectangle_8h.html deleted file mode 100644 index dcd066d..0000000 --- a/doc/doxygen/html/d2/d14/math_2rectangle_8h.html +++ /dev/null @@ -1,557 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/math/rectangle.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
rectangle.h File Reference
-
-
-
#include <stdint.h>
-#include "point.h"
-#include "vector2.h"
-
-

Go to the source code of this file.

- - - - - - - - -

-Data Structures

struct  ARC_Rect
 
struct  ARC_URect
 
struct  ARC_FRect
 
- - - - - - - -

-Typedefs

typedef struct ARC_Rect ARC_Rect
 
typedef struct ARC_URect ARC_URect
 
typedef struct ARC_FRect ARC_FRect
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_Rect_CenterOn (ARC_Rect *rect, ARC_Rect *bounds)
 centers rect on given bounds
 
void ARC_FRect_CenterOn (ARC_FRect *rect, ARC_FRect *bounds)
 centers rect on given bounds
 
ARC_FRect ARC_Rect_CastToFRect (ARC_Rect *rect)
 casts Rect to FRect
 
ARC_Rect ARC_FRect_CastToRect (ARC_FRect *rect)
 casts FRect to Rect
 
int32_t ARC_Rect_Intersects (ARC_Rect *rect1, ARC_Rect *rect2)
 checks if two ARC_Rects intersect
 
int32_t ARC_FRect_Intersects (ARC_FRect *rect1, ARC_FRect *rect2)
 checks if two ARC_FRects intersect
 
int32_t ARC_Rect_IntersectsPoint (ARC_Rect *rect, ARC_Point *point)
 checks if ARC_Rect intersects with point
 
int32_t ARC_FRect_IntersectsPoint (ARC_FRect *rect, ARC_Point *point)
 checks if ARC_FRect intersects with point
 
int32_t ARC_Rect_LineIntersects (ARC_Rect *rect, int32_t *x1, int32_t *y1, int32_t *x2, int32_t *y2)
 checks if ARC_Rect intersects a line
 
void ARC_FRect_CollideAndSlide (ARC_FRect *rect, ARC_Vector2 *velocity, ARC_FRect *wall)
 checks for a ARC_Rect on ARC_Rect collision and slides on collision
 
-

Typedef Documentation

- -

◆ ARC_FRect

- -
-
- - - - -
typedef struct ARC_FRect ARC_FRect
-
- -
-
- -

◆ ARC_Rect

- -
-
- - - - -
typedef struct ARC_Rect ARC_Rect
-
- -
-
- -

◆ ARC_URect

- -
-
- - - - -
typedef struct ARC_URect ARC_URect
-
- -
-
-

Function Documentation

- -

◆ ARC_FRect_CastToRect()

- -
-
- - - - - - - -
ARC_Rect ARC_FRect_CastToRect (ARC_FRect * rect)
-
- -

casts FRect to Rect

-
Parameters
- - -
rectARC_FRect to be casted
-
-
-
Returns
ARC_Rect
- -
-
- -

◆ ARC_FRect_CenterOn()

- -
-
- - - - - - - - - - - -
void ARC_FRect_CenterOn (ARC_FRect * rect,
ARC_FRect * bounds )
-
- -

centers rect on given bounds

-
Parameters
- - - -
rectARC_FRect to be centered
boundsARC_FRect area to center rect on
-
-
- -
-
- -

◆ ARC_FRect_CollideAndSlide()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_FRect_CollideAndSlide (ARC_FRect * rect,
ARC_Vector2 * velocity,
ARC_FRect * wall )
-
- -

checks for a ARC_Rect on ARC_Rect collision and slides on collision

-
Note
need to update this documenation to word it better
-
Parameters
- - - - -
rectARC_Rect that might collide with the wall
velocitythe ammount ARC_Rect will move
wallARC_Rect that might have collision with rect
-
-
-
Note
velocity is updated based on colliding, rect's values are not changed, velocity should be applied after
- -
-
- -

◆ ARC_FRect_Intersects()

- -
-
- - - - - - - - - - - -
int32_t ARC_FRect_Intersects (ARC_FRect * rect1,
ARC_FRect * rect2 )
-
- -

checks if two ARC_FRects intersect

-
Parameters
- - - -
rect1ARC_FRect that will be checked against rect2
rect2ARC_FRect that will be checked against rect1
-
-
-
Returns
1 if they intersect, 0 if they don't intersect
- -
-
- -

◆ ARC_FRect_IntersectsPoint()

- -
-
- - - - - - - - - - - -
int32_t ARC_FRect_IntersectsPoint (ARC_FRect * rect,
ARC_Point * point )
-
- -

checks if ARC_FRect intersects with point

-
Parameters
- - - -
rectARC_FRect that will be checked against point
pointARC_Point that will be checked against rect
-
-
-
Returns
1 if they intersect, 0 if they don't intersect
- -
-
- -

◆ ARC_Rect_CastToFRect()

- -
-
- - - - - - - -
ARC_FRect ARC_Rect_CastToFRect (ARC_Rect * rect)
-
- -

casts Rect to FRect

-
Parameters
- - -
rectARC_Rect to be casted
-
-
-
Returns
ARC_FRect
- -
-
- -

◆ ARC_Rect_CenterOn()

- -
-
- - - - - - - - - - - -
void ARC_Rect_CenterOn (ARC_Rect * rect,
ARC_Rect * bounds )
-
- -

centers rect on given bounds

-
Parameters
- - - -
rectARC_Rect to be centered
boundsARC_Rect area to center rect on
-
-
- -
-
- -

◆ ARC_Rect_Intersects()

- -
-
- - - - - - - - - - - -
int32_t ARC_Rect_Intersects (ARC_Rect * rect1,
ARC_Rect * rect2 )
-
- -

checks if two ARC_Rects intersect

-
Parameters
- - - -
rect1ARC_Rect that will be checked against rect2
rect2ARC_Rect that will be checked against rect1
-
-
-
Returns
1 if they intersect, 0 if they don't intersect
- -
-
- -

◆ ARC_Rect_IntersectsPoint()

- -
-
- - - - - - - - - - - -
int32_t ARC_Rect_IntersectsPoint (ARC_Rect * rect,
ARC_Point * point )
-
- -

checks if ARC_Rect intersects with point

-
Parameters
- - - -
rectARC_Rect that will be checked against point
pointARC_Point that will be checked against rect
-
-
-
Returns
1 if they intersect, 0 if they don't intersect
- -
-
- -

◆ ARC_Rect_LineIntersects()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
int32_t ARC_Rect_LineIntersects (ARC_Rect * rect,
int32_t * x1,
int32_t * y1,
int32_t * x2,
int32_t * y2 )
-
- -

checks if ARC_Rect intersects a line

-
Note
need to update this documenation to word it better
-
Parameters
- - - - - - -
rectARC_Rect that will be checked against line
x1first point's x value
y1first point's y value
y2second point's x value
y2second point's y value
-
-
-
Returns
1 if they intersect, 0 if they don't intersect
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/d14/math_2rectangle_8h.js b/doc/doxygen/html/d2/d14/math_2rectangle_8h.js deleted file mode 100644 index 0ee69aa..0000000 --- a/doc/doxygen/html/d2/d14/math_2rectangle_8h.js +++ /dev/null @@ -1,19 +0,0 @@ -var math_2rectangle_8h = -[ - [ "ARC_Rect", "d0/d18/structARC__Rect.html", "d0/d18/structARC__Rect" ], - [ "ARC_URect", "df/db0/structARC__URect.html", "df/db0/structARC__URect" ], - [ "ARC_FRect", "dd/d4d/structARC__FRect.html", "dd/d4d/structARC__FRect" ], - [ "ARC_FRect", "d2/d14/math_2rectangle_8h.html#ad264fb868898c206185034a7f45a2831", null ], - [ "ARC_Rect", "d2/d14/math_2rectangle_8h.html#ad296d5f20b96da96f0429527f39d0cd1", null ], - [ "ARC_URect", "d2/d14/math_2rectangle_8h.html#a6d0f4fbe00c116bc2ec64cedfa86d09f", null ], - [ "ARC_FRect_CastToRect", "d2/d14/math_2rectangle_8h.html#a2716384cea95edfab47befa78b60fc00", null ], - [ "ARC_FRect_CenterOn", "d2/d14/math_2rectangle_8h.html#ae1d122bd28d683c9cd4bde56859ef844", null ], - [ "ARC_FRect_CollideAndSlide", "d2/d14/math_2rectangle_8h.html#a8d7a17b45e6a54a50df9b3930b3ace79", null ], - [ "ARC_FRect_Intersects", "d2/d14/math_2rectangle_8h.html#ac3baf11e6f7624a21a553383176d6c6f", null ], - [ "ARC_FRect_IntersectsPoint", "d2/d14/math_2rectangle_8h.html#a9ee5256187b0430f60a252ef7d6e331c", null ], - [ "ARC_Rect_CastToFRect", "d2/d14/math_2rectangle_8h.html#a8e74551a0f97bd4fcaf3b1f6041d0cc5", null ], - [ "ARC_Rect_CenterOn", "d2/d14/math_2rectangle_8h.html#a910c21230647ae28c55194d255bc8a7d", null ], - [ "ARC_Rect_Intersects", "d2/d14/math_2rectangle_8h.html#a05c6b1799b44d3c011ea03510f05fab9", null ], - [ "ARC_Rect_IntersectsPoint", "d2/d14/math_2rectangle_8h.html#aca466591cebea1e1d30f7c2d161f5f0f", null ], - [ "ARC_Rect_LineIntersects", "d2/d14/math_2rectangle_8h.html#ae533a88317c303e0efa00f95887b419f", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d2/d14/math_2rectangle_8h_source.html b/doc/doxygen/html/d2/d14/math_2rectangle_8h_source.html deleted file mode 100644 index 6a7d99c..0000000 --- a/doc/doxygen/html/d2/d14/math_2rectangle_8h_source.html +++ /dev/null @@ -1,307 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/math/rectangle.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
rectangle.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_MATH_RECT_H_
-
2#define ARC_MATH_RECT_H_
-
3
-
4#include <stdint.h>
-
5#include "point.h"
-
6#include "vector2.h"
-
7
-
8#ifdef __cplusplus
-
9extern "C" {
-
10#endif
-
11
-
-
12typedef struct ARC_Rect {
-
13 int32_t x;
-
14 int32_t y;
-
15 int32_t w;
-
16 int32_t h;
- -
-
18
-
-
19typedef struct ARC_URect {
-
20 uint32_t x;
-
21 uint32_t y;
-
22 uint32_t w;
-
23 uint32_t h;
- -
-
25
-
-
26typedef struct ARC_FRect {
-
27 float x;
-
28 float y;
-
29 float w;
-
30 float h;
- -
-
32
-
33/**
-
34 * @brief centers rect on given bounds
-
35 *
-
36 * @param rect ARC_Rect to be centered
-
37 * @param bounds ARC_Rect area to center rect on
-
38 */
-
39void ARC_Rect_CenterOn(ARC_Rect *rect, ARC_Rect *bounds);
-
40
-
41/**
-
42 * @brief centers rect on given bounds
-
43 *
-
44 * @param rect ARC_FRect to be centered
-
45 * @param bounds ARC_FRect area to center rect on
-
46 */
- -
48
-
49/**
-
50 * @brief casts Rect to FRect
-
51 *
-
52 * @param rect ARC_Rect to be casted
-
53 *
-
54 * @return ARC_FRect
-
55 */
- -
57
-
58/**
-
59 * @brief casts FRect to Rect
-
60 *
-
61 * @param rect ARC_FRect to be casted
-
62 *
-
63 * @return ARC_Rect
-
64 */
- -
66
-
67/**
-
68 * @brief checks if two ARC_Rects intersect
-
69 *
-
70 * @param rect1 ARC_Rect that will be checked against rect2
-
71 * @param rect2 ARC_Rect that will be checked against rect1
-
72 *
-
73 * @return 1 if they intersect, 0 if they don't intersect
-
74 */
-
75int32_t ARC_Rect_Intersects(ARC_Rect *rect1, ARC_Rect *rect2);
-
76
-
77/**
-
78 * @brief checks if two ARC_FRects intersect
-
79 *
-
80 * @param rect1 ARC_FRect that will be checked against rect2
-
81 * @param rect2 ARC_FRect that will be checked against rect1
-
82 *
-
83 * @return 1 if they intersect, 0 if they don't intersect
-
84 */
- -
86
-
87/**
-
88 * @brief checks if ARC_Rect intersects with point
-
89 *
-
90 * @param rect ARC_Rect that will be checked against point
-
91 * @param point ARC_Point that will be checked against rect
-
92 *
-
93 * @return 1 if they intersect, 0 if they don't intersect
-
94 */
- -
96
-
97/**
-
98 * @brief checks if ARC_FRect intersects with point
-
99 *
-
100 * @param rect ARC_FRect that will be checked against point
-
101 * @param point ARC_Point that will be checked against rect
-
102 *
-
103 * @return 1 if they intersect, 0 if they don't intersect
-
104 */
- -
106
-
107/**
-
108 * @brief checks if ARC_Rect intersects a line
-
109 *
-
110 * @note need to update this documenation to word it better
-
111 *
-
112 * @param rect ARC_Rect that will be checked against line
-
113 * @param x1 first point's x value
-
114 * @param y1 first point's y value
-
115 * @param y2 second point's x value
-
116 * @param y2 second point's y value
-
117 *
-
118 * @return 1 if they intersect, 0 if they don't intersect
-
119 */
-
120int32_t ARC_Rect_LineIntersects(ARC_Rect *rect, int32_t *x1, int32_t *y1, int32_t *x2, int32_t *y2);
-
121
-
122/**
-
123 * @brief checks for a ARC_Rect on ARC_Rect collision and slides on collision
-
124 *
-
125 * @note need to update this documenation to word it better
-
126 *
-
127 * @param rect ARC_Rect that might collide with the wall
-
128 * @param velocity the ammount ARC_Rect will move
-
129 * @param wall ARC_Rect that might have collision with rect
-
130 *
-
131 * @note velocity is updated based on colliding,
-
132 * rect's values are not changed,
-
133 * velocity should be applied after
-
134 */
- -
136
-
137#ifdef __cplusplus
-
138}
-
139#endif
-
140
-
141#endif // ARC_MATH_POINT_H_
-
int32_t ARC_Rect_Intersects(ARC_Rect *rect1, ARC_Rect *rect2)
checks if two ARC_Rects intersect
-
ARC_Rect ARC_FRect_CastToRect(ARC_FRect *rect)
casts FRect to Rect
-
struct ARC_URect ARC_URect
-
void ARC_FRect_CollideAndSlide(ARC_FRect *rect, ARC_Vector2 *velocity, ARC_FRect *wall)
checks for a ARC_Rect on ARC_Rect collision and slides on collision
-
ARC_FRect ARC_Rect_CastToFRect(ARC_Rect *rect)
casts Rect to FRect
-
void ARC_Rect_CenterOn(ARC_Rect *rect, ARC_Rect *bounds)
centers rect on given bounds
-
int32_t ARC_FRect_IntersectsPoint(ARC_FRect *rect, ARC_Point *point)
checks if ARC_FRect intersects with point
-
int32_t ARC_FRect_Intersects(ARC_FRect *rect1, ARC_FRect *rect2)
checks if two ARC_FRects intersect
-
int32_t ARC_Rect_IntersectsPoint(ARC_Rect *rect, ARC_Point *point)
checks if ARC_Rect intersects with point
-
struct ARC_FRect ARC_FRect
-
struct ARC_Rect ARC_Rect
-
void ARC_FRect_CenterOn(ARC_FRect *rect, ARC_FRect *bounds)
centers rect on given bounds
-
int32_t ARC_Rect_LineIntersects(ARC_Rect *rect, int32_t *x1, int32_t *y1, int32_t *x2, int32_t *y2)
checks if ARC_Rect intersects a line
- - -
float y
Definition rectangle.h:28
-
float x
Definition rectangle.h:27
-
float w
Definition rectangle.h:29
-
float h
Definition rectangle.h:30
- - -
int32_t x
Definition rectangle.h:13
-
int32_t w
Definition rectangle.h:15
-
int32_t y
Definition rectangle.h:14
-
int32_t h
Definition rectangle.h:16
- -
uint32_t x
Definition rectangle.h:20
-
uint32_t w
Definition rectangle.h:22
-
uint32_t h
Definition rectangle.h:23
-
uint32_t y
Definition rectangle.h:21
- - -
-
- - - - - - diff --git a/doc/doxygen/html/d2/d19/group__ARC__Vector.html b/doc/doxygen/html/d2/d19/group__ARC__Vector.html deleted file mode 100644 index f01880c..0000000 --- a/doc/doxygen/html/d2/d19/group__ARC__Vector.html +++ /dev/null @@ -1,493 +0,0 @@ - - - - - - - - -Archeus: ARC_Vector - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_Vector
-
-
- - - - - - - - - - - -

-Typedefs

typedef struct ARC_Vector ARC_Vector
 a dynamic array type
 
typedef ARC_Bool(* ARC_Vector_CompareDataFn) (void *dataA, void *dataB)
 a callback that allows the user to define a way to check the data stored in a vector for a match
 
typedef void(* ARC_Vector_DestroyDataFn) (void *data)
 a callback that cleans up memory when it is removed from the vector
 
- - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_Vector_Create (ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
 creates an ARC_Vector which is an "expandable" array
 
void ARC_Vector_Destroy (ARC_Vector *vector)
 destroys an ARC_Vector
 
void ARC_Vector_Add (ARC_Vector *vector, void *data)
 adds an item to an ARC_Vector
 
void ARC_Vector_Remove (ARC_Vector *vector, void *data)
 removes an item from a matching item in an ARC_Vector
 
void ARC_Vector_RemoveIndex (ARC_Vector *vector, uint32_t index)
 removes an item from an ARC_Vector at an index
 
void ARC_Vector_Clear (ARC_Vector *vector)
 clears all items from a vector
 
uint32_t ARC_Vector_GetSize (ARC_Vector *vector)
 gets the current size of an ARC_Vector as an unsigned 32 bit integer
 
void * ARC_Vector_Get (ARC_Vector *vector, uint32_t index)
 gets an item from an ARC_Vector at a position index
 
-

Detailed Description

-

Additional documentation for group 'ARC_Vector'

-

Typedef Documentation

- -

◆ ARC_Vector

- -
-
- - - - -
typedef struct ARC_Vector ARC_Vector
-
- -

a dynamic array type

- -

Definition at line 26 of file vector.h.

- -
-
- -

◆ ARC_Vector_CompareDataFn

- -
-
- - - - -
typedef ARC_Bool(* ARC_Vector_CompareDataFn) (void *dataA, void *dataB)
-
- -

a callback that allows the user to define a way to check the data stored in a vector for a match

-
Parameters
- - - -
[in]dataAthe first data to check
[in]dataBthe second data to check
-
-
-
Returns
ARC_True when dataA == dataB, and ARC_False otherwise
- -

Definition at line 36 of file vector.h.

- -
-
- -

◆ ARC_Vector_DestroyDataFn

- -
-
- - - - -
typedef void(* ARC_Vector_DestroyDataFn) (void *data)
-
- -

a callback that cleans up memory when it is removed from the vector

-
Parameters
- - -
[in]datathe item to destroy
-
-
- -

Definition at line 43 of file vector.h.

- -
-
-

Function Documentation

- -

◆ ARC_Vector_Add()

- -
-
- - - - - - - - - - - -
void ARC_Vector_Add (ARC_Vector * vector,
void * data )
-
- -

adds an item to an ARC_Vector

-
Note
this will error if you add more than 4,294,967,295 items (the max value of an unsigned int 32)
-
Parameters
- - - -
[in]vectorARC_Vector to add to
[in]datadata that is being added
-
-
- -
-
- -

◆ ARC_Vector_Clear()

- -
-
- - - - - - - -
void ARC_Vector_Clear (ARC_Vector * vector)
-
- -

clears all items from a vector

-
Note
this function will call ARC_Vector_RemoveIndex, so it's notes are also applicable to this function
-
Parameters
- - -
[in]vectorARC_Vector to clear
-
-
- -
-
- -

◆ ARC_Vector_Create()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Vector_Create (ARC_Vector ** vector,
ARC_Vector_CompareDataFn * compareDataFn,
ARC_Vector_DestroyDataFn * destroyDataFn )
-
- -

creates an ARC_Vector which is an "expandable" array

-
Note
for this basic implementation, the array will double in size every time the capacity is hit
-
-the array will also half in size when the array is only half filled
-
Parameters
- - - - -
[out]vectorARC_Vector to initialize
[in]compareDataFna callback that checks if data stored in the array matches, if set to NULL and ARC_Vector_Remove is called, the pointer addresses will be compared
[in]destroyDataFna callback that frees an item on remove or clear, can be set to NULL to do nothing
-
-
- -
-
- -

◆ ARC_Vector_Destroy()

- -
-
- - - - - - - -
void ARC_Vector_Destroy (ARC_Vector * vector)
-
- -

destroys an ARC_Vector

-
Note
this will not free the items stored in the vector
-
-please make sure to clear and free the children before destroying an ARC_Vector
-
Parameters
- - -
[in]vectorARC_Vector to free
-
-
- -
-
- -

◆ ARC_Vector_Get()

- -
-
- - - - - - - - - - - -
void * ARC_Vector_Get (ARC_Vector * vector,
uint32_t index )
-
- -

gets an item from an ARC_Vector at a position index

-
Note
this function will error if trying to get an index that is outside the bounds of the ARC_Vector
-
Parameters
- - - -
[in]vectorARC_Vector to get data from
[in]indexposition of data to get
-
-
-
Returns
a void * item, or NULL on error
- -
-
- -

◆ ARC_Vector_GetSize()

- -
-
- - - - - - - -
uint32_t ARC_Vector_GetSize (ARC_Vector * vector)
-
- -

gets the current size of an ARC_Vector as an unsigned 32 bit integer

-
Parameters
- - -
[in]vectorARC_Vector to get current size from
-
-
-
Returns
the current size as a unsigned 32 bit integer
- -
-
- -

◆ ARC_Vector_Remove()

- -
-
- - - - - - - - - - - -
void ARC_Vector_Remove (ARC_Vector * vector,
void * data )
-
- -

removes an item from a matching item in an ARC_Vector

-
Note
this function uses the ARC_Vector_CompareDataFn that the ARC_Vector was created with
-
-this function will not throw an error if there is no match
-
-this function will call ARC_Vector_RemoveIndex, so it's notes are also applicable to this function
-
Parameters
- - - -
[in]vectorARC_Vector to remove from
[in]datamatching data to remove
-
-
- -
-
- -

◆ ARC_Vector_RemoveIndex()

- -
-
- - - - - - - - - - - -
void ARC_Vector_RemoveIndex (ARC_Vector * vector,
uint32_t index )
-
- -

removes an item from an ARC_Vector at an index

-
Note
this function will error if trying to remove an index that is outside the bounds of the ARC_Vector
-
-this function will use ARC_Vector_DeleteDataFn if it was set in the ARC_Vector_Create function
-
Parameters
- - - -
[in]vectorARC_Vector to remove from
[in]indexposition of data to remove
-
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/d19/group__ARC__Vector.js b/doc/doxygen/html/d2/d19/group__ARC__Vector.js deleted file mode 100644 index 7ac7c89..0000000 --- a/doc/doxygen/html/d2/d19/group__ARC__Vector.js +++ /dev/null @@ -1,14 +0,0 @@ -var group__ARC__Vector = -[ - [ "ARC_Vector", "d2/d19/group__ARC__Vector.html#ga23dfcf0229206051666a31f91c8c6e1b", null ], - [ "ARC_Vector_CompareDataFn", "d2/d19/group__ARC__Vector.html#ga4123cf094e58ae25daa9356b3a51f116", null ], - [ "ARC_Vector_DestroyDataFn", "d2/d19/group__ARC__Vector.html#ga069428a2ccbbed066249d48f1b0bf1ef", null ], - [ "ARC_Vector_Add", "d2/d19/group__ARC__Vector.html#ga2a06c8c4c1fc1f99e08568ef92c186ae", null ], - [ "ARC_Vector_Clear", "d2/d19/group__ARC__Vector.html#gac0f528744e3da5f3334d91f6ecf542ec", null ], - [ "ARC_Vector_Create", "d2/d19/group__ARC__Vector.html#gac8de583c096684695a7d862c581b78f6", null ], - [ "ARC_Vector_Destroy", "d2/d19/group__ARC__Vector.html#ga605bb525f6df05ec88742237e1911e47", null ], - [ "ARC_Vector_Get", "d2/d19/group__ARC__Vector.html#ga1b01ba012d6fe295e8ce1446f9a6a3a0", null ], - [ "ARC_Vector_GetSize", "d2/d19/group__ARC__Vector.html#ga0c72f76fed251ea51a8be057f9c89504", null ], - [ "ARC_Vector_Remove", "d2/d19/group__ARC__Vector.html#ga443185fcb80a2593b4b1f580a1b11133", null ], - [ "ARC_Vector_RemoveIndex", "d2/d19/group__ARC__Vector.html#gab05c0f7ebefe73729d3e2c2e6e528d00", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d2/d1a/packages_2graphics_2sdl_2sprite_8c.html b/doc/doxygen/html/d2/d1a/packages_2graphics_2sdl_2sprite_8c.html deleted file mode 100644 index 1fa60bc..0000000 --- a/doc/doxygen/html/d2/d1a/packages_2graphics_2sdl_2sprite_8c.html +++ /dev/null @@ -1,691 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/sprite.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
sprite.c File Reference
-
-
-
#include "arc/graphics/sprite.h"
-#include "sprite.h"
-#include "spritesheet.h"
-#include "renderer.h"
-#include "arc/math/point.h"
-#include "arc/math/rectangle.h"
-#include "arc/std/errno.h"
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_Sprite_Create (ARC_Sprite **sprite, ARC_Spritesheet *spritesheet, ARC_Array *frames)
 creates ARC_Sprite type
 
void ARC_Sprite_Destroy (ARC_Sprite *sprite)
 destroys ARC_Sprite type
 
void ARC_Sprite_Copy (ARC_Sprite **newSprite, ARC_Sprite *oldSprite)
 copies ARC_Sprite to a new ARC_Sprite
 
void ARC_Sprite_SetOpacity (ARC_Sprite *sprite, uint8_t opacity)
 sets ARC_Sprite's opacity
 
void ARC_Sprite_Render (ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds)
 renders ARC_Sprite type
 
void ARC_Sprite_RenderFlip (ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, enum ARC_Sprite_Axis axis)
 renders ARC_Sprite type with flip
 
void ARC_Sprite_RenderRotated (ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, ARC_Point *center, double angle)
 renders ARC_Sprite type with rotation
 
void ARC_Sprite_SetFrameIndex (ARC_Sprite *sprite, uint32_t index)
 switches ARC_Sprite's frame to specified index
 
void ARC_Sprite_IterateFrame (ARC_Sprite *sprite)
 switches ARC_Sprite's frames to next for animation
 
uint32_t ARC_Sprite_GetFrameIndex (ARC_Sprite *sprite)
 gets ARC_Sprite's current frame
 
ARC_RectARC_Sprite_GetBounds (ARC_Sprite *sprite)
 returns the current bounds based on the ARC_Sprite's frames
 
ARC_ArrayARC_Sprite_GetAllBounds (ARC_Sprite *sprite)
 returns the array of bounds that a sprite has
 
-

Function Documentation

- -

◆ ARC_Sprite_Copy()

- -
-
- - - - - - - - - - - -
void ARC_Sprite_Copy (ARC_Sprite ** newSprite,
ARC_Sprite * oldSprite )
-
- -

copies ARC_Sprite to a new ARC_Sprite

-
Parameters
- - - -
newSpriteARC_Sprite that is being copied to and created
oldSpriteARC_Sprite contents that are being copied
-
-
- -

Definition at line 24 of file sprite.c.

-
24 {
-
25 *newSprite = (ARC_Sprite *)malloc(sizeof(ARC_Sprite));
-
26 (*newSprite)->spritesheet = oldSprite->spritesheet;
-
27 (*newSprite)->frames = oldSprite->frames;
-
28 (*newSprite)->frameIndex = (uint32_t *)malloc(sizeof(uint32_t));
-
29 *(*newSprite)->frameIndex = *oldSprite->frameIndex;
-
30}
- -
ARC_Spritesheet * spritesheet
Definition sprite.h:8
-
uint32_t * frameIndex
Definition sprite.h:10
-
ARC_Array * frames
Definition sprite.h:9
-
-

References ARC_Sprite::frameIndex, ARC_Sprite::frames, and ARC_Sprite::spritesheet.

- -
-
- -

◆ ARC_Sprite_Create()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Sprite_Create (ARC_Sprite ** sprite,
ARC_Spritesheet * spritesheet,
ARC_Array * frames )
-
- -

creates ARC_Sprite type

-
Parameters
- - - - -
spriteARC_Sprite that is being created
spritesheetARC_Spritesheet that ARC_Sprite will be pulled from
framesARC_Array of bounds of sprite on spritesheet
-
-
- -

Definition at line 11 of file sprite.c.

-
11 {
-
12 *sprite = (ARC_Sprite *)malloc(sizeof(ARC_Sprite));
-
13 (*sprite)->spritesheet = spritesheet;
-
14 (*sprite)->frames = frames;
-
15 (*sprite)->frameIndex = (uint32_t *)malloc(sizeof(uint32_t));
-
16 *(*sprite)->frameIndex = 0;
-
17 (*sprite)->opacity = 255;
-
18}
-
-

References ARC_Sprite::spritesheet.

- -

Referenced by ARC_Sprite_Read().

- -
-
- -

◆ ARC_Sprite_Destroy()

- -
-
- - - - - - - -
void ARC_Sprite_Destroy (ARC_Sprite * sprite)
-
- -

destroys ARC_Sprite type

-
Parameters
- - -
spriteARC_Sprite to destroy
-
-
- -

Definition at line 20 of file sprite.c.

-
20 {
-
21 free(sprite);
-
22}
-
-
-
- -

◆ ARC_Sprite_GetAllBounds()

- -
-
- - - - - - - -
ARC_Array * ARC_Sprite_GetAllBounds (ARC_Sprite * sprite)
-
- -

returns the array of bounds that a sprite has

-
Parameters
- - -
spriteARC_Sprite to get all the bounds from
-
-
- -

Definition at line 88 of file sprite.c.

-
88 {
-
89 return sprite->frames;
-
90}
-
-

References ARC_Sprite::frames.

- -
-
- -

◆ ARC_Sprite_GetBounds()

- -
-
- - - - - - - -
ARC_Rect * ARC_Sprite_GetBounds (ARC_Sprite * sprite)
-
- -

returns the current bounds based on the ARC_Sprite's frames

-
Parameters
- - -
spriteARC_Sprite to get bounds from
-
-
- -

Definition at line 84 of file sprite.c.

-
84 {
-
85 return (ARC_Rect *)sprite->frames->data + *sprite->frameIndex;
-
86}
-
void * data
Definition array.h:15
- -
-

References ARC_Array::data, ARC_Sprite::frameIndex, and ARC_Sprite::frames.

- -
-
- -

◆ ARC_Sprite_GetFrameIndex()

- -
-
- - - - - - - -
uint32_t ARC_Sprite_GetFrameIndex (ARC_Sprite * sprite)
-
- -

gets ARC_Sprite's current frame

-
Parameters
- - -
spriteARC_Sprite to get frame from
-
-
-
Returns
index ARC_Sprite's current frame index
- -

Definition at line 80 of file sprite.c.

-
80 {
-
81 return *sprite->frameIndex;
-
82}
-
-

References ARC_Sprite::frameIndex.

- -
-
- -

◆ ARC_Sprite_IterateFrame()

- -
-
- - - - - - - -
void ARC_Sprite_IterateFrame (ARC_Sprite * sprite)
-
- -

switches ARC_Sprite's frames to next for animation

-
Parameters
- - -
spriteARC_Sprite that is having its frame updated
-
-
- -

Definition at line 72 of file sprite.c.

-
72 {
-
73 ++*sprite->frameIndex;
-
74
-
75 if(*sprite->frameIndex == sprite->frames->size){
-
76 *sprite->frameIndex = 0;
-
77 }
-
78}
-
uint32_t size
Definition array.h:14
-
-

References ARC_Sprite::frameIndex, ARC_Sprite::frames, and ARC_Array::size.

- -
-
- -

◆ ARC_Sprite_Render()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Sprite_Render (ARC_Sprite * sprite,
ARC_Renderer * renderer,
ARC_Rect * renderBounds )
-
- -

renders ARC_Sprite type

-
Parameters
- - - - -
spriteARC_Sprite that will be rendered
rendererARC_Renderer that is handling rendering
renderBoundsarea of renderer that ARC_Sprite will be rendered to
-
-
- -

Definition at line 36 of file sprite.c.

-
36 {
-
37 //TODO: note, this is set here so not all entities in the sheet get opacity set
-
38 SDL_SetTextureAlphaMod((SDL_Texture *)sprite->spritesheet->texture, sprite->opacity);
-
39 SDL_RenderCopy((SDL_Renderer *)renderer, sprite->spritesheet->texture, (SDL_Rect *)sprite->frames->data + *sprite->frameIndex, (SDL_Rect *)renderBounds);
-
40}
-
uint8_t opacity
Definition sprite.h:12
-
SDL_Texture * texture
Definition spritesheet.h:8
-
-

References ARC_Array::data, ARC_Sprite::frameIndex, ARC_Sprite::frames, ARC_Sprite::opacity, ARC_Sprite::spritesheet, and ARC_Spritesheet::texture.

- -
-
- -

◆ ARC_Sprite_RenderFlip()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Sprite_RenderFlip (ARC_Sprite * sprite,
ARC_Renderer * renderer,
ARC_Rect * renderBounds,
enum ARC_Sprite_Axis axis )
-
- -

renders ARC_Sprite type with flip

-
Parameters
- - - - - -
spriteARC_Sprite that will be rendered
rendererARC_Renderer that is handling rendering
renderBoundsarea of renderer that ARC_Sprite will be rendered to
axisaxis to flip sprite
-
-
- -

Definition at line 42 of file sprite.c.

-
42 {
-
43 SDL_RendererFlip flip = SDL_FLIP_NONE;
-
44 if(axis & ARC_SPRITE_AXIS_X){
-
45 flip |= SDL_FLIP_HORIZONTAL;
-
46 }
-
47
-
48 if(axis & ARC_SPRITE_AXIS_Y){
-
49 flip |= SDL_FLIP_VERTICAL;
-
50 }
-
51
-
52 //TODO: note, this is set here so not all entities in the sheet get opacity set
-
53 SDL_SetTextureAlphaMod((SDL_Texture *)sprite->spritesheet->texture, sprite->opacity);
-
54 SDL_RenderCopyEx((SDL_Renderer *)renderer, sprite->spritesheet->texture, (SDL_Rect *)sprite->frames->data + *sprite->frameIndex, (SDL_Rect *)renderBounds, 0.0, NULL, flip);
-
55}
-
@ ARC_SPRITE_AXIS_Y
Definition sprite.h:69
-
@ ARC_SPRITE_AXIS_X
Definition sprite.h:70
-
-

References ARC_SPRITE_AXIS_X, ARC_SPRITE_AXIS_Y, ARC_Array::data, ARC_Sprite::frameIndex, ARC_Sprite::frames, ARC_Sprite::opacity, ARC_Sprite::spritesheet, and ARC_Spritesheet::texture.

- -
-
- -

◆ ARC_Sprite_RenderRotated()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
void ARC_Sprite_RenderRotated (ARC_Sprite * sprite,
ARC_Renderer * renderer,
ARC_Rect * renderBounds,
ARC_Point * center,
double angle )
-
- -

renders ARC_Sprite type with rotation

-
Parameters
- - - - - - -
spriteARC_Sprite that will be rendered
rendererARC_Renderer that is handling rendering
renderBoundsarea of renderer that ARC_Sprite will be rendered to
angleangle to rotate ARC_Sprite
centerpoint to rotate ARC_Sprite around
-
-
- -

Definition at line 57 of file sprite.c.

-
57 {
-
58 //TODO: note, this is set here so not all entities in the sheet get opacity set
-
59 SDL_SetTextureAlphaMod((SDL_Texture *)sprite->spritesheet->texture, sprite->opacity);
-
60 SDL_RenderCopyEx((SDL_Renderer *)renderer, sprite->spritesheet->texture, (SDL_Rect *)sprite->frames->data + *sprite->frameIndex, (SDL_Rect *)renderBounds, angle, (SDL_Point *)center, SDL_FLIP_NONE);
-
61}
-
-

References ARC_Array::data, ARC_Sprite::frameIndex, ARC_Sprite::frames, ARC_Sprite::opacity, ARC_Sprite::spritesheet, and ARC_Spritesheet::texture.

- -
-
- -

◆ ARC_Sprite_SetFrameIndex()

- -
-
- - - - - - - - - - - -
void ARC_Sprite_SetFrameIndex (ARC_Sprite * sprite,
uint32_t index )
-
- -

switches ARC_Sprite's frame to specified index

-
Parameters
- - - -
spriteARC_Sprite that is having its frame set
indexuint32_t to set ARC_Sprite's frame index to
-
-
- -

Definition at line 63 of file sprite.c.

-
63 {
-
64 if(sprite->frames->size <= index){
- -
66 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_Sprite_SetFrameIndex(sprite, %d); index out of bounds", index);
-
67 return;
-
68 }
-
69 *sprite->frameIndex = index;
-
70}
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_ERRNO_DATA
Definition errno.h:7
-
-

References ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_DATA, ARC_Sprite::frameIndex, ARC_Sprite::frames, and ARC_Array::size.

- -
-
- -

◆ ARC_Sprite_SetOpacity()

- -
-
- - - - - - - - - - - -
void ARC_Sprite_SetOpacity (ARC_Sprite * sprite,
uint8_t opacity )
-
- -

sets ARC_Sprite's opacity

-
Parameters
- - - -
spriteARC_Sprite that is changing opacity
opacitynew opacity for ARC_Sprite
-
-
-
Note
this is temp because opacity probably should be a value bigger than 255
- -

Definition at line 32 of file sprite.c.

-
32 {
-
33 sprite->opacity = opacity;
-
34}
-
-

References ARC_Sprite::opacity.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/d1a/packages_2graphics_2sdl_2sprite_8c.js b/doc/doxygen/html/d2/d1a/packages_2graphics_2sdl_2sprite_8c.js deleted file mode 100644 index d33ed3a..0000000 --- a/doc/doxygen/html/d2/d1a/packages_2graphics_2sdl_2sprite_8c.js +++ /dev/null @@ -1,15 +0,0 @@ -var packages_2graphics_2sdl_2sprite_8c = -[ - [ "ARC_Sprite_Copy", "d2/d1a/packages_2graphics_2sdl_2sprite_8c.html#ac71528b8b08e5c9f9ef12377413c887f", null ], - [ "ARC_Sprite_Create", "d2/d1a/packages_2graphics_2sdl_2sprite_8c.html#a236db372d25ec6939fc3a59a50174d2c", null ], - [ "ARC_Sprite_Destroy", "d2/d1a/packages_2graphics_2sdl_2sprite_8c.html#a37754370968f742ee6bfbb179a50804c", null ], - [ "ARC_Sprite_GetAllBounds", "d2/d1a/packages_2graphics_2sdl_2sprite_8c.html#aa94ca232d44c6de7b4f00754152da02e", null ], - [ "ARC_Sprite_GetBounds", "d2/d1a/packages_2graphics_2sdl_2sprite_8c.html#a98ceee44610d603afd0ed235fd72cc95", null ], - [ "ARC_Sprite_GetFrameIndex", "d2/d1a/packages_2graphics_2sdl_2sprite_8c.html#a001e727b8923a2435a873eb085e50308", null ], - [ "ARC_Sprite_IterateFrame", "d2/d1a/packages_2graphics_2sdl_2sprite_8c.html#ae8f6efb1950a0e908efcd59b69427f38", null ], - [ "ARC_Sprite_Render", "d2/d1a/packages_2graphics_2sdl_2sprite_8c.html#a0e2479255f39c245c08a8791aea5e877", null ], - [ "ARC_Sprite_RenderFlip", "d2/d1a/packages_2graphics_2sdl_2sprite_8c.html#a96fa458abc8926631b646a8e89899474", null ], - [ "ARC_Sprite_RenderRotated", "d2/d1a/packages_2graphics_2sdl_2sprite_8c.html#a57c6332c153a9abd0906b822fc1614ef", null ], - [ "ARC_Sprite_SetFrameIndex", "d2/d1a/packages_2graphics_2sdl_2sprite_8c.html#ae6bed9d1c4c5c7a5ced00b45672c94f9", null ], - [ "ARC_Sprite_SetOpacity", "d2/d1a/packages_2graphics_2sdl_2sprite_8c.html#a93598bcc2eee0b8e3eb1a94ebbcf3e5e", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d2/d1a/packages_2graphics_2sdl_2sprite_8c_source.html b/doc/doxygen/html/d2/d1a/packages_2graphics_2sdl_2sprite_8c_source.html deleted file mode 100644 index 3b31fe3..0000000 --- a/doc/doxygen/html/d2/d1a/packages_2graphics_2sdl_2sprite_8c_source.html +++ /dev/null @@ -1,280 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/sprite.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
sprite.c
-
-
-Go to the documentation of this file.
-
2
-
3#include "sprite.h"
-
4#include "spritesheet.h"
-
5#include "renderer.h"
-
6#include "arc/math/point.h"
- -
8#include "arc/std/errno.h"
-
9#include <stdlib.h>
-
10
-
-
11void ARC_Sprite_Create(ARC_Sprite **sprite, ARC_Spritesheet *spritesheet, ARC_Array *frames){
-
12 *sprite = (ARC_Sprite *)malloc(sizeof(ARC_Sprite));
-
13 (*sprite)->spritesheet = spritesheet;
-
14 (*sprite)->frames = frames;
-
15 (*sprite)->frameIndex = (uint32_t *)malloc(sizeof(uint32_t));
-
16 *(*sprite)->frameIndex = 0;
-
17 (*sprite)->opacity = 255;
-
18}
-
-
19
-
- -
21 free(sprite);
-
22}
-
-
23
-
-
24void ARC_Sprite_Copy(ARC_Sprite **newSprite, ARC_Sprite *oldSprite){
-
25 *newSprite = (ARC_Sprite *)malloc(sizeof(ARC_Sprite));
-
26 (*newSprite)->spritesheet = oldSprite->spritesheet;
-
27 (*newSprite)->frames = oldSprite->frames;
-
28 (*newSprite)->frameIndex = (uint32_t *)malloc(sizeof(uint32_t));
-
29 *(*newSprite)->frameIndex = *oldSprite->frameIndex;
-
30}
-
-
31
-
-
32void ARC_Sprite_SetOpacity(ARC_Sprite *sprite, uint8_t opacity){
-
33 sprite->opacity = opacity;
-
34}
-
-
35
-
-
36void ARC_Sprite_Render(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds){
-
37 //TODO: note, this is set here so not all entities in the sheet get opacity set
-
38 SDL_SetTextureAlphaMod((SDL_Texture *)sprite->spritesheet->texture, sprite->opacity);
-
39 SDL_RenderCopy((SDL_Renderer *)renderer, sprite->spritesheet->texture, (SDL_Rect *)sprite->frames->data + *sprite->frameIndex, (SDL_Rect *)renderBounds);
-
40}
-
-
41
-
-
42void ARC_Sprite_RenderFlip(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, enum ARC_Sprite_Axis axis){
-
43 SDL_RendererFlip flip = SDL_FLIP_NONE;
-
44 if(axis & ARC_SPRITE_AXIS_X){
-
45 flip |= SDL_FLIP_HORIZONTAL;
-
46 }
-
47
-
48 if(axis & ARC_SPRITE_AXIS_Y){
-
49 flip |= SDL_FLIP_VERTICAL;
-
50 }
-
51
-
52 //TODO: note, this is set here so not all entities in the sheet get opacity set
-
53 SDL_SetTextureAlphaMod((SDL_Texture *)sprite->spritesheet->texture, sprite->opacity);
-
54 SDL_RenderCopyEx((SDL_Renderer *)renderer, sprite->spritesheet->texture, (SDL_Rect *)sprite->frames->data + *sprite->frameIndex, (SDL_Rect *)renderBounds, 0.0, NULL, flip);
-
55}
-
-
56
-
-
57void ARC_Sprite_RenderRotated(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, ARC_Point *center, double angle){
-
58 //TODO: note, this is set here so not all entities in the sheet get opacity set
-
59 SDL_SetTextureAlphaMod((SDL_Texture *)sprite->spritesheet->texture, sprite->opacity);
-
60 SDL_RenderCopyEx((SDL_Renderer *)renderer, sprite->spritesheet->texture, (SDL_Rect *)sprite->frames->data + *sprite->frameIndex, (SDL_Rect *)renderBounds, angle, (SDL_Point *)center, SDL_FLIP_NONE);
-
61}
-
-
62
-
-
63void ARC_Sprite_SetFrameIndex(ARC_Sprite *sprite, uint32_t index){
-
64 if(sprite->frames->size <= index){
- -
66 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_Sprite_SetFrameIndex(sprite, %d); index out of bounds", index);
-
67 return;
-
68 }
-
69 *sprite->frameIndex = index;
-
70}
-
-
71
-
- -
73 ++*sprite->frameIndex;
-
74
-
75 if(*sprite->frameIndex == sprite->frames->size){
-
76 *sprite->frameIndex = 0;
-
77 }
-
78}
-
-
79
-
- -
81 return *sprite->frameIndex;
-
82}
-
-
83
-
- -
85 return (ARC_Rect *)sprite->frames->data + *sprite->frameIndex;
-
86}
-
-
87
-
- -
89 return sprite->frames;
-
90}
-
- -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_ERRNO_DATA
Definition errno.h:7
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- -
void ARC_Sprite_Render(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds)
renders ARC_Sprite type
Definition sprite.c:36
-
void ARC_Sprite_Create(ARC_Sprite **sprite, ARC_Spritesheet *spritesheet, ARC_Array *frames)
creates ARC_Sprite type
Definition sprite.c:11
-
void ARC_Sprite_Destroy(ARC_Sprite *sprite)
destroys ARC_Sprite type
Definition sprite.c:20
-
void ARC_Sprite_RenderRotated(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, ARC_Point *center, double angle)
renders ARC_Sprite type with rotation
Definition sprite.c:57
-
ARC_Sprite_Axis
Definition sprite.h:67
-
@ ARC_SPRITE_AXIS_Y
Definition sprite.h:69
-
@ ARC_SPRITE_AXIS_X
Definition sprite.h:70
-
ARC_Rect * ARC_Sprite_GetBounds(ARC_Sprite *sprite)
returns the current bounds based on the ARC_Sprite's frames
Definition sprite.c:84
-
void ARC_Sprite_Copy(ARC_Sprite **newSprite, ARC_Sprite *oldSprite)
copies ARC_Sprite to a new ARC_Sprite
Definition sprite.c:24
-
void ARC_Sprite_IterateFrame(ARC_Sprite *sprite)
switches ARC_Sprite's frames to next for animation
Definition sprite.c:72
- - -
uint32_t ARC_Sprite_GetFrameIndex(ARC_Sprite *sprite)
gets ARC_Sprite's current frame
Definition sprite.c:80
-
void ARC_Sprite_SetOpacity(ARC_Sprite *sprite, uint8_t opacity)
sets ARC_Sprite's opacity
Definition sprite.c:32
-
void ARC_Sprite_RenderFlip(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, enum ARC_Sprite_Axis axis)
renders ARC_Sprite type with flip
Definition sprite.c:42
-
ARC_Array * ARC_Sprite_GetAllBounds(ARC_Sprite *sprite)
returns the array of bounds that a sprite has
Definition sprite.c:88
-
void ARC_Sprite_SetFrameIndex(ARC_Sprite *sprite, uint32_t index)
switches ARC_Sprite's frame to specified index
Definition sprite.c:63
- - - -
a type that holds an array of data and its size
Definition array.h:13
-
uint32_t size
Definition array.h:14
-
void * data
Definition array.h:15
- - - -
ARC_Spritesheet * spritesheet
Definition sprite.h:8
-
uint8_t opacity
Definition sprite.h:12
-
uint32_t * frameIndex
Definition sprite.h:10
-
ARC_Array * frames
Definition sprite.h:9
- -
SDL_Texture * texture
Definition spritesheet.h:8
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/d1f/tests_8dir_2src_2files_2config_8c_8o_8d.html b/doc/doxygen/html/d2/d1f/tests_8dir_2src_2files_2config_8c_8o_8d.html deleted file mode 100644 index 11cb96e..0000000 --- a/doc/doxygen/html/d2/d1f/tests_8dir_2src_2files_2config_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/files/config.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d2/d1f/tests_8dir_2src_2files_2config_8c_8o_8d_source.html b/doc/doxygen/html/d2/d1f/tests_8dir_2src_2files_2config_8c_8o_8d_source.html deleted file mode 100644 index 7f2a215..0000000 --- a/doc/doxygen/html/d2/d1f/tests_8dir_2src_2files_2config_8c_8o_8d_source.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/files/config.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/files/config.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/files/config.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/files/config.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/std/config.h \
-
6 /home/herbglitch/programs/archeus/arc/include/arc/std/hashtable.h \
-
7 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
8 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
9 /usr/include/features.h /usr/include/features-time64.h \
-
10 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
11 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
12 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
13 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
14 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
15 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
16 /usr/include/bits/stdint-least.h \
-
17 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
21 /home/herbglitch/programs/archeus/arc/include/arc/std/defaults/config.h \
-
22 /home/herbglitch/programs/archeus/arc/include/arc/graphics/renderer.h \
-
23 /home/herbglitch/programs/archeus/arc/include/arc/std/io.h \
-
24 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
25 /usr/include/stdio.h \
-
26 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
27 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
28 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
29 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
30 /usr/include/bits/types/cookie_io_functions_t.h \
-
31 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
32 /usr/include/bits/floatn-common.h \
-
33 /home/herbglitch/programs/archeus/arc/include/arc/std/array.h \
-
34 /usr/include/stdlib.h /usr/include/bits/waitflags.h \
-
35 /usr/include/bits/waitstatus.h /usr/include/sys/types.h \
-
36 /usr/include/bits/types/clock_t.h /usr/include/bits/types/clockid_t.h \
-
37 /usr/include/bits/types/time_t.h /usr/include/bits/types/timer_t.h \
-
38 /usr/include/endian.h /usr/include/bits/endian.h \
-
39 /usr/include/bits/endianness.h /usr/include/bits/byteswap.h \
-
40 /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \
-
41 /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \
-
42 /usr/include/bits/types/__sigset_t.h \
-
43 /usr/include/bits/types/struct_timeval.h \
-
44 /usr/include/bits/types/struct_timespec.h \
-
45 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
46 /usr/include/bits/pthreadtypes-arch.h \
-
47 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
48 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
49 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/d20/structARC__ConsoleBuffer.html b/doc/doxygen/html/d2/d20/structARC__ConsoleBuffer.html deleted file mode 100644 index e22a7d1..0000000 --- a/doc/doxygen/html/d2/d20/structARC__ConsoleBuffer.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - -Archeus: ARC_ConsoleBuffer Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_ConsoleBuffer Struct Reference
-
-
- - - - -

-Data Fields

ARC_VectorbufferLines
 
-

Detailed Description

-
-

Definition at line 9 of file buffer.c.

-

Field Documentation

- -

◆ bufferLines

- - -
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/packages/console/ncurses/buffer.c
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/d20/structARC__ConsoleBuffer.js b/doc/doxygen/html/d2/d20/structARC__ConsoleBuffer.js deleted file mode 100644 index 1fafb5d..0000000 --- a/doc/doxygen/html/d2/d20/structARC__ConsoleBuffer.js +++ /dev/null @@ -1,4 +0,0 @@ -var structARC__ConsoleBuffer = -[ - [ "bufferLines", "d2/d20/structARC__ConsoleBuffer.html#a94d69f4bf45dac087e27be5295289a39", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d2/d24/page_8dox.html b/doc/doxygen/html/d2/d24/page_8dox.html deleted file mode 100644 index 6c95cab..0000000 --- a/doc/doxygen/html/d2/d24/page_8dox.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - -Archeus: doxygen/doxygen-awesome-css/docs/page.dox File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
doxygen/doxygen-awesome-css/docs/page.dox File Reference
-
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/d30/structARC__Color.html b/doc/doxygen/html/d2/d30/structARC__Color.html deleted file mode 100644 index a69172d..0000000 --- a/doc/doxygen/html/d2/d30/structARC__Color.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - - - - - -Archeus: ARC_Color Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_Color Struct Reference
-
-
- -

#include <color.h>

- - - - - - - - - - -

-Data Fields

uint8_t r
 
uint8_t g
 
uint8_t b
 
uint8_t a
 
-

Detailed Description

-
-

Definition at line 10 of file color.h.

-

Field Documentation

- -

◆ a

- -
-
- - - - -
uint8_t ARC_Color::a
-
- -

Definition at line 11 of file color.h.

- -
-
- -

◆ b

- -
-
- - - - -
uint8_t ARC_Color::b
-
- -

Definition at line 11 of file color.h.

- -
-
- -

◆ g

- -
-
- - - - -
uint8_t ARC_Color::g
-
- -

Definition at line 11 of file color.h.

- -
-
- -

◆ r

- -
-
- - - - -
uint8_t ARC_Color::r
-
- -

Definition at line 11 of file color.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/include/arc/graphics/color.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/d30/structARC__Color.js b/doc/doxygen/html/d2/d30/structARC__Color.js deleted file mode 100644 index 0d8208a..0000000 --- a/doc/doxygen/html/d2/d30/structARC__Color.js +++ /dev/null @@ -1,7 +0,0 @@ -var structARC__Color = -[ - [ "a", "d2/d30/structARC__Color.html#a2fa102f4314c8c10cefc4efa242ed234", null ], - [ "b", "d2/d30/structARC__Color.html#a874909255d3dc7419fa4bf4a74639c7e", null ], - [ "g", "d2/d30/structARC__Color.html#a99f9ff927c0b0ebc374dee25b692a2d7", null ], - [ "r", "d2/d30/structARC__Color.html#a6c4055eeb76cc41f69647e9f1a6e0809", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d2/d32/structARC__Queue.html b/doc/doxygen/html/d2/d32/structARC__Queue.html deleted file mode 100644 index 6aea620..0000000 --- a/doc/doxygen/html/d2/d32/structARC__Queue.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - - - -Archeus: ARC_Queue Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_Queue Struct Reference
-
-
- - - - - - -

-Data Fields

uint32_t currentSize
 
ARC_QueueNodenode
 
-

Detailed Description

-
-

Definition at line 13 of file queue.c.

-

Field Documentation

- -

◆ currentSize

- -
-
- - - - -
uint32_t ARC_Queue::currentSize
-
- -

Definition at line 14 of file queue.c.

- -

Referenced by ARC_Queue_Create(), ARC_Queue_Destroy(), ARC_Queue_Pop(), ARC_Queue_Push(), and ARC_Queue_Size().

- -
-
- -

◆ node

- -
-
- - - - -
ARC_QueueNode* ARC_Queue::node
-
- -

Definition at line 15 of file queue.c.

- -

Referenced by ARC_Queue_Destroy(), ARC_Queue_Pop(), and ARC_Queue_Push().

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/src/std/queue.c
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/d32/structARC__Queue.js b/doc/doxygen/html/d2/d32/structARC__Queue.js deleted file mode 100644 index 57767f8..0000000 --- a/doc/doxygen/html/d2/d32/structARC__Queue.js +++ /dev/null @@ -1,5 +0,0 @@ -var structARC__Queue = -[ - [ "currentSize", "d2/d32/structARC__Queue.html#a2db56d1b37ef101ef0b5c5aea2b38ceb", null ], - [ "node", "d2/d32/structARC__Queue.html#aad38dc94dd6f7a359785f38db6d02ac7", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d2/d37/structARC__LexerToken.html b/doc/doxygen/html/d2/d37/structARC__LexerToken.html deleted file mode 100644 index 41fe127..0000000 --- a/doc/doxygen/html/d2/d37/structARC__LexerToken.html +++ /dev/null @@ -1,183 +0,0 @@ - - - - - - - - -Archeus: ARC_LexerToken Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_LexerToken Struct Reference
-
-
- -

a lexer token type - More...

- -

#include <lexer.h>

- - - - - - -

-Data Fields

uint32_t rule
 
ARC_Stringdata
 
-

Detailed Description

-

a lexer token type

- -

Definition at line 18 of file lexer.h.

-

Field Documentation

- -

◆ data

- -
-
- - - - -
ARC_String* ARC_LexerToken::data
-
- -

Definition at line 20 of file lexer.h.

- -
-
- -

◆ rule

- -
-
- - - - -
uint32_t ARC_LexerToken::rule
-
- -

Definition at line 19 of file lexer.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/include/arc/std/lexer.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/d37/structARC__LexerToken.js b/doc/doxygen/html/d2/d37/structARC__LexerToken.js deleted file mode 100644 index 1bbeae1..0000000 --- a/doc/doxygen/html/d2/d37/structARC__LexerToken.js +++ /dev/null @@ -1,5 +0,0 @@ -var structARC__LexerToken = -[ - [ "data", "d2/d37/structARC__LexerToken.html#acd5e79928adf611401e2c5fe0decf1ea", null ], - [ "rule", "d2/d37/structARC__LexerToken.html#aab9e5105b7ab0902daa8a6cca213081c", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d2/d71/window_8c.html b/doc/doxygen/html/d2/d71/window_8c.html deleted file mode 100644 index 84f203f..0000000 --- a/doc/doxygen/html/d2/d71/window_8c.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/window.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
window.c File Reference
-
- - - -
- - diff --git a/doc/doxygen/html/d2/d71/window_8c_source.html b/doc/doxygen/html/d2/d71/window_8c_source.html deleted file mode 100644 index 7735014..0000000 --- a/doc/doxygen/html/d2/d71/window_8c_source.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/window.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
window.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_WINDOW
-
2
- -
4#include <stdio.h>
-
5
- -
7 printf("No Window Backend Selected\n");
-
8}
-
9
-
10void ARC_Window_Destroy(ARC_Window *window){
-
11 printf("No Window Backend Selected\n");
-
12}
-
13
-
14#endif // !ARC_NONE_WINDOW
- - -
struct ARC_WindowType ARC_Window
Definition window.h:13
-
void ARC_Window_Create(ARC_Window **window, ARC_WindowInfo *info)
creates ARC_Window type
-
void ARC_Window_Destroy(ARC_Window *window)
destroys ARC_Window type
-
- - -
- - diff --git a/doc/doxygen/html/d2/d72/parser_8c.html b/doc/doxygen/html/d2/d72/parser_8c.html deleted file mode 100644 index c688214..0000000 --- a/doc/doxygen/html/d2/d72/parser_8c.html +++ /dev/null @@ -1,984 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/parser.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
- -
parser.c File Reference
-
-
-
#include "arc/std/parser/parserlang.h"
-#include "arc/std/parser.h"
-#include "arc/std/bool.h"
-#include "arc/std/errno.h"
-#include "arc/std/io.h"
-#include "arc/std/lexer.h"
-#include "arc/std/vector.h"
-#include <stdint.h>
-#include <stdlib.h>
-#include <string.h>
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_Parser
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_Parser_Create (ARC_Parser **parser, ARC_Array *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
 creates an ARC_Parser type
 
void ARC_Parser_CreateFromVector (ARC_Parser **parser, ARC_Vector *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
 creates an ARC_Parser type from an arc vector
 
void ARC_Parser_CreateFromString (ARC_Parser **parser, ARC_String *languageString, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_Parser_GetStringIdFn getStringIdFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
 creates an ARC_Parser type from a string
 
void ARC_Parser_Destroy (ARC_Parser *parser)
 destroys an ARC_Parser type
 
void ARC_ParserTagToken_Create (ARC_ParserTagToken **tagToken, uint32_t id)
 
void ARC_ParserTagToken_Destroy (ARC_ParserTagToken *tagToken)
 
void ARC_ParserTagToken_VectorDestroyDataFn (void *data)
 
ARC_Bool ARC_Parser_ParseTag (ARC_Parser *parser, ARC_ParserTagToken *tagToken, uint32_t *lexerIndex)
 
void ARC_Parser_Parse (ARC_Parser *parser, ARC_String **data)
 
void ARC_Parser_ParseFile (ARC_Parser *parser, ARC_String *path)
 
void ARC_Parser_ClearData (ARC_Parser *parser)
 
void * ARC_Parser_GetData (ARC_Parser *parser)
 
-

Function Documentation

- -

◆ ARC_Parser_ClearData()

- -
-
- - - - - - - -
void ARC_Parser_ClearData (ARC_Parser * parser)
-
-
Parameters
- - -
[in]parser
-
-
- -

Definition at line 358 of file parser.c.

-
358 {
-
359 //check if that data exists and the destructor exists to make sure they can be run, set to true to indicate clear
-
360 if(parser->data != NULL && parser->destroyDataFn != NULL){
-
361 (*(parser->destroyDataFn))(parser->data, ARC_True, parser->userData);
-
362 }
-
363
-
364 //TODO: might want to error here
-
365 parser->data = NULL;
-
366}
-
#define ARC_True
Definition bool.h:11
-
void * data
Definition parser.c:17
-
void * userData
Definition parser.c:18
-
ARC_ParserData_DestroyFn * destroyDataFn
Definition parser.c:20
-
-

References ARC_True, ARC_Parser::data, ARC_Parser::destroyDataFn, and ARC_Parser::userData.

- -
-
- -

◆ ARC_Parser_Create()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void ARC_Parser_Create (ARC_Parser ** parser,
ARC_Array * language,
ARC_Parser_InitLexerRulesFn initLexerRulesFn,
ARC_ParserData_CreateFn * createDataFn,
ARC_ParserData_DestroyFn * destroyDataFn,
void * userData )
-
- -

creates an ARC_Parser type

-

@TODO: fix this documentation to reflect changes

-

@TODO: probs want to move the note to another file

Note
array of tokens for langauge? like ARC_ParserTag tag = { VARIABLE_NAME, //tagId { { 2, CHAR_OR_NUM, VARIABLE_NAME }, { 1, LAMBDA }, }, //components 2 //componentsSize };
-
Parameters
- - - - -
[out]parserARC_Parser to create
[in]languagean arry of ARC_ParserLanguageTags defining a langauge
[in]initLexerRulesFna callback used to initalize the token rules the lexer within the parser will use
-
-
- -

Definition at line 24 of file parser.c.

-
24 {
-
25 *parser = (ARC_Parser *)malloc(sizeof(ARC_Parser));
-
26
-
27 //set the language size to 0 and data to NULL in case the language is NULL
-
28 (*parser)->language.size = 0;
-
29 (*parser)->language.data = NULL;
-
30
-
31 //if the language exists, copy the language
-
32 if(language != NULL){
-
33 (*parser)->language.size = language->size;
-
34 (*parser)->language.data = malloc(sizeof(ARC_ParserTag) * language->size);
-
35
-
36 for(uint32_t index = 0; index < language->size; index++){
-
37 ARC_ParserTag *languageTag = ((ARC_ParserTag *)language->data) + index;
-
38 ARC_ParserTag *currentTag = ((ARC_ParserTag *)(*parser)->language.data) + index;
-
39
-
40 //copy the language tag into the current tag
-
41 currentTag->tagId = languageTag->tagId;
-
42 currentTag->tokensOrTagsSize = languageTag->tokensOrTagsSize;
-
43
-
44 //create place to store tokens or tags
-
45 currentTag->tokensOrTags = (uint32_t **)malloc(sizeof(uint32_t *) * languageTag->tokensOrTagsSize);
-
46
-
47 //copy each or section into the tokensOrTags
-
48 for(uint32_t orIndex = 0; orIndex < languageTag->tokensOrTagsSize; orIndex++){
-
49 currentTag->tokensOrTags[orIndex] = (uint32_t *)malloc(sizeof(uint32_t) * (languageTag->tokensOrTags[orIndex][0] + 1));
-
50
-
51 for(uint32_t tokenOrTagIndex = 0; tokenOrTagIndex < languageTag->tokensOrTags[orIndex][0] + 1; tokenOrTagIndex++){
-
52 currentTag->tokensOrTags[orIndex][tokenOrTagIndex] = languageTag->tokensOrTags[orIndex][tokenOrTagIndex];
-
53 }
-
54 }
-
55 }
-
56 }
-
57
-
58 //create the lexer
-
59 ARC_Lexer_Create(&((*parser)->lexer));
-
60
-
61 //register instructions to the lexer
-
62 initLexerRulesFn(((*parser)->lexer));
-
63
-
64 //set the data to null (the parse function is what creates it)
-
65 (*parser)->data = NULL;
-
66
-
67 //set the userData for the create callback function
-
68 (*parser)->userData = userData;
-
69
-
70 //init the create function callback with null, then copy the callback if it exists
-
71 (*parser)->createDataFn = NULL;
-
72 if(createDataFn != NULL){
-
73 (*parser)->createDataFn = (ARC_ParserData_CreateFn *)malloc(sizeof(ARC_ParserData_CreateFn));
-
74 *((*parser)->createDataFn) = *createDataFn;
-
75 }
-
76
-
77 //init the destroy function callback with null, then copy the callback if it exists
-
78 (*parser)->destroyDataFn = NULL;
-
79 if(createDataFn != NULL){
-
80 (*parser)->destroyDataFn = (ARC_ParserData_DestroyFn *)malloc(sizeof(ARC_ParserData_DestroyFn));
-
81 *((*parser)->destroyDataFn) = *destroyDataFn;
-
82 }
-
83}
-
void ARC_Lexer_Create(ARC_Lexer **lexer)
creates an ARC_Lexer type
Definition lexer.c:50
-
void(* ARC_ParserData_CreateFn)(void **data, ARC_ParserTagToken *parsedData, void *userData)
TODO: write this.
Definition parser.h:57
-
void(* ARC_ParserData_DestroyFn)(void *data, ARC_Bool clear, void *userData)
TODO: write this.
Definition parser.h:62
-
uint32_t size
Definition array.h:14
-
void * data
Definition array.h:15
-
a langue tag type for the parser //TODO: explain this better
Definition parser.h:21
-
uint32_t tagId
Definition parser.h:22
-
uint32_t tokensOrTagsSize
Definition parser.h:25
-
uint32_t ** tokensOrTags
Definition parser.h:24
- -
ARC_Array language
Definition parser.c:13
-
-

References ARC_Lexer_Create(), ARC_Array::data, ARC_Parser::language, ARC_Array::size, ARC_ParserTag::tagId, ARC_ParserTag::tokensOrTags, and ARC_ParserTag::tokensOrTagsSize.

- -

Referenced by ARC_Parser_CreateFromVector(), and ARC_ParserLang_CreateAsParser().

- -
-
- -

◆ ARC_Parser_CreateFromString()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void ARC_Parser_CreateFromString (ARC_Parser ** parser,
ARC_String * languageString,
ARC_Parser_InitLexerRulesFn initLexerRulesFn,
ARC_Parser_GetStringIdFn getStringIdFn,
ARC_ParserData_CreateFn * createDataFn,
ARC_ParserData_DestroyFn * destroyDataFn,
void * userData )
-
- -

creates an ARC_Parser type from a string

-

@TODO: probs want to move the note to another file

Note
the syntax looks like: <variable> -> CHAR <variableName> EOF <variableName> -> <charOrNum> <variableName> | LAMBDA <charOrNum> -> CHAR | NUM
-
Parameters
- - - - -
[out]parserARC_Parser to create
[in]languagean arry of ARC_ParserLanguageTags defining a langauge
[in]initLexerRulesFna callback used to initalize the token rules the lexer within the parser will use
-
-
- -

Definition at line 105 of file parser.c.

-
105 {
-
106 //create the language from the string
-
107 ARC_Parser *parserlangParser;
-
108 ARC_ParserLang_CreateAsParser(&parserlangParser, getStringIdFn);
-
109 if(arc_errno){
-
110 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_Parser_CreateFromString(parser, languageString, initLexerRulesFn, getStringIdFn, createDataFn, destroyDataFn, userData), failed to create language from: %s", languageString->data);
-
111 return;
-
112 }
-
113
-
114 //copy the string because parse will destroy the string that is passed in
-
115 ARC_String *parserLangString;
-
116 ARC_String_Copy(&parserLangString, languageString);
-
117 ARC_Parser_Parse(parserlangParser, &parserLangString);
-
118
-
119 //create the parser from the parsed language
-
120 ARC_Vector *language = (ARC_Vector *)ARC_Parser_GetData(parserlangParser);
-
121 ARC_Parser_CreateFromVector(parser, language, initLexerRulesFn, createDataFn, destroyDataFn, userData);
-
122
-
123 //cleanup
-
124 ARC_Parser_Destroy(parserlangParser);
-
125}
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
void ARC_Parser_Parse(ARC_Parser *parser, ARC_String **data)
Definition parser.c:297
-
void ARC_Parser_CreateFromVector(ARC_Parser **parser, ARC_Vector *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
creates an ARC_Parser type from an arc vector
Definition parser.c:85
-
void ARC_Parser_Destroy(ARC_Parser *parser)
destroys an ARC_Parser type
Definition parser.c:127
-
void * ARC_Parser_GetData(ARC_Parser *parser)
Definition parser.c:368
-
void ARC_ParserLang_CreateAsParser(ARC_Parser **parser, ARC_Parser_GetStringIdFn getStringIdFn)
creates a parser for the Parser Lang
Definition parserlang.c:324
-
void ARC_String_Copy(ARC_String **copy, ARC_String *original)
copy a ARC_String
Definition string.c:62
-
substring position within a string
Definition string.h:14
-
char * data
Definition string.h:15
- -
-

References ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_Parser_CreateFromVector(), ARC_Parser_Destroy(), ARC_Parser_GetData(), ARC_Parser_Parse(), ARC_ParserLang_CreateAsParser(), ARC_String_Copy(), and ARC_String::data.

- -

Referenced by ARC_ParserCSV_CreateAsParser().

- -
-
- -

◆ ARC_Parser_CreateFromVector()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void ARC_Parser_CreateFromVector (ARC_Parser ** parser,
ARC_Vector * language,
ARC_Parser_InitLexerRulesFn initLexerRulesFn,
ARC_ParserData_CreateFn * createDataFn,
ARC_ParserData_DestroyFn * destroyDataFn,
void * userData )
-
- -

creates an ARC_Parser type from an arc vector

-
Parameters
- - - - -
[out]parserARC_Parser to create
[in]languagean vector of ARC_ParserLanguageTags defining a langauge
[in]initLexerRulesFna callback used to initalize the token rules the lexer within the parser will use
-
-
- -

Definition at line 85 of file parser.c.

-
85 {
-
86 //creates the variables to copy the vector into
-
87 const uint32_t languageSize = ARC_Vector_GetSize(language);
-
88 ARC_ParserTag languageArray[languageSize];
-
89
-
90 //copy the language from a vector into an array
-
91 for(uint32_t index = 0; index < languageSize; index++){
-
92 languageArray[index] = *(ARC_ParserTag *)ARC_Vector_Get(language, index);
-
93 }
-
94
-
95 //set the vector data as an ARC_Array
-
96 ARC_Array languageAsArray = {
-
97 languageSize,
-
98 languageArray
-
99 };
-
100
-
101 //create the parser
-
102 ARC_Parser_Create(parser, &languageAsArray, initLexerRulesFn, createDataFn, destroyDataFn, userData);
-
103}
-
void ARC_Parser_Create(ARC_Parser **parser, ARC_Array *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
creates an ARC_Parser type
Definition parser.c:24
-
a type that holds an array of data and its size
Definition array.h:13
-
uint32_t ARC_Vector_GetSize(ARC_Vector *vector)
gets the current size of an ARC_Vector as an unsigned 32 bit integer
Definition vector.c:146
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:150
-
-

References ARC_Parser_Create(), ARC_Vector_Get(), and ARC_Vector_GetSize().

- -

Referenced by ARC_Parser_CreateFromString().

- -
-
- -

◆ ARC_Parser_Destroy()

- -
-
- - - - - - - -
void ARC_Parser_Destroy (ARC_Parser * parser)
-
- -

destroys an ARC_Parser type

-
Parameters
- - -
[in]parserARC_Parser to free
-
-
- -

Definition at line 127 of file parser.c.

-
127 {
-
128 //clear all the copied token or tags from memory
-
129 for(uint32_t index = 0; index < parser->language.size; index++){
-
130 ARC_ParserTag *currentTag = ((ARC_ParserTag *)parser->language.data) + index;
-
131
-
132 //free the orIndex vlues
-
133 for(uint32_t orIndex = 0; orIndex < currentTag->tokensOrTagsSize; orIndex++){
-
134 free(currentTag->tokensOrTags[orIndex]);
-
135 }
-
136
-
137 //free the tokens or tags
-
138 free(currentTag->tokensOrTags);
-
139 }
-
140
-
141 //free the creation function callback
-
142 if(parser->createDataFn != NULL){
-
143 free(parser->createDataFn);
-
144 }
-
145
-
146 //do the same thing as clear but this time pass in the userData as well to clean that up
-
147 if(parser->destroyDataFn != NULL){
-
148 //set to false to indicate full destroy instead of clear
-
149 (*(parser->destroyDataFn))(parser->data, ARC_False, parser->userData);
-
150 free(parser->destroyDataFn);
-
151 }
-
152
-
153 //clear the copied language from memory
-
154 free(parser->language.data);
-
155
-
156 ARC_Lexer_Destroy(parser->lexer);
-
157
-
158 free(parser);
-
159}
-
#define ARC_False
Definition bool.h:12
-
void ARC_Lexer_Destroy(ARC_Lexer *lexer)
destroys an ARC_Lexer type
Definition lexer.c:68
-
ARC_ParserData_CreateFn * createDataFn
Definition parser.c:19
-
ARC_Lexer * lexer
Definition parser.c:15
-
-

References ARC_False, ARC_Lexer_Destroy(), ARC_Parser::createDataFn, ARC_Array::data, ARC_Parser::data, ARC_Parser::destroyDataFn, ARC_Parser::language, ARC_Parser::lexer, ARC_Array::size, ARC_ParserTag::tokensOrTags, ARC_ParserTag::tokensOrTagsSize, and ARC_Parser::userData.

- -

Referenced by ARC_Parser_CreateFromString().

- -
-
- -

◆ ARC_Parser_GetData()

- -
-
- - - - - - - -
void * ARC_Parser_GetData (ARC_Parser * parser)
-
-
Parameters
- - -
[in]parser
-
-
- -

Definition at line 368 of file parser.c.

-
368 {
-
369 return parser->data;
-
370}
-
-

References ARC_Parser::data.

- -

Referenced by ARC_Parser_CreateFromString().

- -
-
- -

◆ ARC_Parser_Parse()

- -
-
- - - - - - - - - - - -
void ARC_Parser_Parse (ARC_Parser * parser,
ARC_String ** data )
-
-
Parameters
- - - -
[in]parser
[in/out]data the string to parse, will be freed and set to NULL by the end of this function
-
-
- -

Definition at line 297 of file parser.c.

-
297 {
-
298 //make sure the parser has a language
-
299 if(parser->language.size == 0){
-
300 ARC_DEBUG_LOG_ERROR("ARC_Parser_Parse(parser, data), no parser language defined");
-
301 return;
-
302 }
-
303
-
304 //lex the subdata
-
305 ARC_Lexer_LexString(parser->lexer, data);
-
306 if(arc_errno){
-
307 ARC_DEBUG_LOG_ERROR("ARC_Parser_Parse(parser, data), could not lex the given data");
-
308 ARC_Lexer_Clear(parser->lexer);
-
309 return;
-
310 }
-
311
-
312 //set the lexer index to start and get the first tag
-
313 uint32_t lexerIndex = 0;
-
314 ARC_ParserTag *startTag = parser->language.data;
-
315
-
316 //setup a tag token that will be passed to the creation callback on success
-
317 ARC_ParserTagToken *tagToken;
-
318 ARC_ParserTagToken_Create(&tagToken, startTag->tagId);
-
319
-
320 //TODO: handle error checks for if parsing fails
-
321 //recursivly parse from the inital start tag
-
322 ARC_Bool parsed = ARC_Parser_ParseTag(parser, tagToken, &lexerIndex);
-
323 ARC_Bool allTokensParsed = lexerIndex == ARC_Lexer_GetTokensSize(parser->lexer);
-
324
-
325 //error if anything went wrong
-
326 if(parsed == ARC_False || allTokensParsed == ARC_False || arc_errno){
-
327 ARC_Lexer_Clear(parser->lexer);
- -
329
- -
331 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_Parser_Parse(parser, data), could not parse the given data at lexer index: %u", lexerIndex);
-
332 return;
-
333 }
-
334
-
335 //create the data if the creation callback exists
-
336 if(parser->createDataFn != NULL){
-
337 (*(parser->createDataFn))(&(parser->data), tagToken, parser->userData);
-
338 }
-
339
- -
341 //cleanup
-
342 ARC_Lexer_Clear(parser->lexer);
-
343}
-
#define ARC_Bool
Definition bool.h:10
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
#define ARC_ERRNO_DATA
Definition errno.h:7
-
void ARC_Lexer_LexString(ARC_Lexer *lexer, ARC_String **data)
creates tokens using a given string with ARC_LexerToken rules
Definition lexer.c:166
-
void ARC_Lexer_Clear(ARC_Lexer *lexer)
clears all tokens from a lexer (will not clear token rules)
Definition lexer.c:161
-
uint32_t ARC_Lexer_GetTokensSize(ARC_Lexer *lexer)
gets a token at a given index from a lexer
Definition lexer.c:286
-
ARC_Bool ARC_Parser_ParseTag(ARC_Parser *parser, ARC_ParserTagToken *tagToken, uint32_t *lexerIndex)
Definition parser.c:188
-
void ARC_ParserTagToken_Destroy(ARC_ParserTagToken *tagToken)
Definition parser.c:172
-
void ARC_ParserTagToken_Create(ARC_ParserTagToken **tagToken, uint32_t id)
Definition parser.c:163
-
a parser type used inside of the parser data create function
Definition parser.h:35
-
-

References ARC_Bool, ARC_DEBUG_LOG_ERROR, ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_DATA, ARC_False, ARC_Lexer_Clear(), ARC_Lexer_GetTokensSize(), ARC_Lexer_LexString(), ARC_Parser_ParseTag(), ARC_ParserTagToken_Create(), ARC_ParserTagToken_Destroy(), ARC_Parser::createDataFn, ARC_Array::data, ARC_Parser::data, ARC_Parser::language, ARC_Parser::lexer, ARC_Array::size, ARC_ParserTag::tagId, and ARC_Parser::userData.

- -

Referenced by ARC_Parser_CreateFromString(), and ARC_Parser_ParseFile().

- -
-
- -

◆ ARC_Parser_ParseFile()

- -
-
- - - - - - - - - - - -
void ARC_Parser_ParseFile (ARC_Parser * parser,
ARC_String * path )
-
-
Parameters
- - - -
[in]parser
-
[in]language
-
-
- -

Definition at line 345 of file parser.c.

-
345 {
-
346 ARC_String *fileString;
-
347 ARC_IO_FileToStr(path, &fileString);
-
348
-
349 if(fileString == NULL){
- -
351 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_Parser_ParseFile(parser, data), could not read file \"%s\"", path->data);
-
352 return;
-
353 }
-
354
-
355 ARC_Parser_Parse(parser, &fileString);
-
356}
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
void ARC_IO_FileToStr(ARC_String *path, ARC_String **data)
get string and size from file
Definition io.c:43
-
-

References ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_NULL, ARC_IO_FileToStr(), ARC_Parser_Parse(), and ARC_String::data.

- -
-
- -

◆ ARC_Parser_ParseTag()

- -
-
- - - - - - - - - - - - - - - - -
ARC_Bool ARC_Parser_ParseTag (ARC_Parser * parser,
ARC_ParserTagToken * tagToken,
uint32_t * lexerIndex )
-
- -

Definition at line 188 of file parser.c.

-
188 {
-
189 //get the current tag
-
190 ARC_ParserTag *tag = NULL;
-
191 for(uint32_t index = 0; index < parser->language.size; index++){
-
192 ARC_ParserTag *foundTag = ((ARC_ParserTag *)parser->language.data) + index;
-
193 if(foundTag->tagId == tagToken->id){
-
194 tag = foundTag;
-
195 break;
-
196 }
-
197 }
-
198
-
199 //if the tag was not found can't do much, so throw an error
-
200 if(tag == NULL){
- -
202 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_Parser_ParseTag(parser, subdata, tagId), could not find tag with id: %u", tagToken->id);
-
203 return ARC_False;
-
204 }
-
205
-
206 //create a vector of tag token to use if a rule is validated, a comparison function is not needed as it will be iterated through
- -
208 ARC_Vector_Create(&(tagToken->tagTokens), NULL, &destroyTokenTagFn);
-
209
-
210 //loop through each or section of the tags and tokens
-
211 for(uint32_t orIndex = 0; orIndex < tag->tokensOrTagsSize; orIndex++){
-
212 //reset the tag tokens for each or index
-
213 ARC_Vector_Clear(tagToken->tagTokens);
-
214
-
215 //loop through each token or tag to check if the lexed data matches
-
216 uint32_t lexerCheckIndex = *lexerIndex;
-
217 ARC_Bool foundRule = ARC_True;
-
218 for(uint32_t tokenOrTagIndex = 1; tokenOrTagIndex < tag->tokensOrTags[orIndex][0] + 1; tokenOrTagIndex++){
-
219 //get next tag id to check
-
220 uint32_t nextTagId = tag->tokensOrTags[orIndex][tokenOrTagIndex];
-
221
-
222 //check if it is lambda (can return safely)
-
223 if(nextTagId == ARC_PARSER_TAG_LAMBDA){
-
224 break;
-
225 }
-
226
-
227 //if the value isn't a token it is a tag, so recurs if it isn't a token
-
228 ARC_Bool isToken = ARC_Lexer_IsTokenId(parser->lexer, nextTagId);
-
229 if(isToken == ARC_False){
-
230 //create a temporary lexer index in case the rule does not exist
-
231 uint32_t tempLexerCheckIndex = lexerCheckIndex;
-
232
-
233 //create tag token for if the rule works
-
234 ARC_ParserTagToken *nextTagToken;
-
235 ARC_ParserTagToken_Create(&nextTagToken, nextTagId);
-
236
-
237 //check if the tag works if not break to continue checking next or index
-
238 foundRule = ARC_Parser_ParseTag(parser, nextTagToken, &tempLexerCheckIndex);
-
239 if(foundRule == ARC_False){
-
240 //clean up the tag token
-
241 ARC_ParserTagToken_Destroy(nextTagToken);
-
242 break;
-
243 }
-
244
-
245 //add the tag token because rule was found
-
246 ARC_Vector_Add(tagToken->tagTokens, nextTagToken);
-
247
-
248 //increase the lexer check index as a recursed rule was found, and continue checking
-
249 lexerCheckIndex = tempLexerCheckIndex;
-
250
-
251 continue;
-
252 }
-
253
-
254 //check if there is another token that can be used
-
255 if(lexerCheckIndex >= ARC_Lexer_GetTokensSize(parser->lexer)){
-
256 //out of tokens to the current or does not work, so break
-
257 foundRule = ARC_False;
-
258 break;
-
259 }
-
260
-
261 //get the next token in the lexer and increment the lexers index
-
262 ARC_LexerToken *token = ARC_Lexer_GetToken(parser->lexer, lexerCheckIndex);
-
263 lexerCheckIndex++;
-
264
-
265 //if the token rule does not match the current token in the current or statement the token rule could not be found for the current or index so break
-
266 if(token->rule != tag->tokensOrTags[orIndex][tokenOrTagIndex]){
-
267 foundRule = ARC_False;
-
268 break;
-
269 }
-
270
-
271 //the rule was a match so create a tag token to store the token in
-
272 ARC_ParserTagToken *nextTagToken;
-
273 ARC_ParserTagToken_Create(&nextTagToken, nextTagId);
-
274 nextTagToken->token = token;
-
275
-
276 //add the token to the tag tokens
-
277 ARC_Vector_Add(tagToken->tagTokens, nextTagToken);
-
278 }
-
279
-
280 //if the rule is found we don't need to check anymore so we can return out
-
281 if(foundRule == ARC_True){
-
282 *lexerIndex = lexerCheckIndex;
-
283
-
284 //cleanup
-
285 return ARC_True;
-
286 }
-
287 }
-
288
-
289 //cleanup
-
290 ARC_Vector_Destroy(tagToken->tagTokens);
-
291 tagToken->tagTokens = NULL;
-
292
-
293 //no rule was found, so return false
-
294 return ARC_False;
-
295}
-
ARC_LexerToken * ARC_Lexer_GetToken(ARC_Lexer *lexer, uint32_t index)
gets a token at a given index from a lexer
Definition lexer.c:272
-
ARC_Bool ARC_Lexer_IsTokenId(ARC_Lexer *lexer, uint32_t id)
returns a boolean based on if a given id is a stored token rule id
Definition lexer.c:294
-
void ARC_ParserTagToken_VectorDestroyDataFn(void *data)
Definition parser.c:182
-
#define ARC_PARSER_TAG_LAMBDA
basic tag for letting the parser know it is ok to end
Definition parser.h:150
-
a lexer token type
Definition lexer.h:18
-
uint32_t rule
Definition lexer.h:19
-
ARC_LexerToken * token
Definition parser.h:38
-
uint32_t id
Definition parser.h:36
-
ARC_Vector * tagTokens
Definition parser.h:39
-
void(* ARC_Vector_DestroyDataFn)(void *data)
a callback that cleans up memory when it is removed from the vector
Definition vector.h:31
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:67
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:51
-
void ARC_Vector_Clear(ARC_Vector *vector)
clears all items from a vector
Definition vector.c:139
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:28
-
-

References ARC_Bool, ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_NULL, ARC_False, ARC_Lexer_GetToken(), ARC_Lexer_GetTokensSize(), ARC_Lexer_IsTokenId(), ARC_Parser_ParseTag(), ARC_PARSER_TAG_LAMBDA, ARC_ParserTagToken_Create(), ARC_ParserTagToken_Destroy(), ARC_ParserTagToken_VectorDestroyDataFn(), ARC_True, ARC_Vector_Add(), ARC_Vector_Clear(), ARC_Vector_Create(), ARC_Vector_Destroy(), ARC_Array::data, ARC_ParserTagToken::id, ARC_Parser::language, ARC_Parser::lexer, ARC_LexerToken::rule, ARC_Array::size, ARC_ParserTag::tagId, ARC_ParserTagToken::tagTokens, ARC_ParserTagToken::token, ARC_ParserTag::tokensOrTags, and ARC_ParserTag::tokensOrTagsSize.

- -

Referenced by ARC_Parser_Parse(), and ARC_Parser_ParseTag().

- -
-
- -

◆ ARC_ParserTagToken_Create()

- -
-
- - - - - - - - - - - -
void ARC_ParserTagToken_Create (ARC_ParserTagToken ** tagToken,
uint32_t id )
-
- -

Definition at line 163 of file parser.c.

-
163 {
-
164 *tagToken = (ARC_ParserTagToken *)malloc(sizeof(ARC_ParserTagToken));
-
165
-
166 (*tagToken)->id = id;
-
167 (*tagToken)->token = NULL;
-
168 (*tagToken)->tagTokens = NULL;
-
169}
-
-

References ARC_ParserTagToken::id.

- -

Referenced by ARC_Parser_Parse(), and ARC_Parser_ParseTag().

- -
-
- -

◆ ARC_ParserTagToken_Destroy()

- -
-
- - - - - - - -
void ARC_ParserTagToken_Destroy (ARC_ParserTagToken * tagToken)
-
- -

Definition at line 172 of file parser.c.

-
172 {
-
173 //destroy the tag token vector
-
174 if(tagToken->tagTokens != NULL){
-
175 ARC_Vector_Destroy(tagToken->tagTokens);
-
176 }
-
177
-
178 free(tagToken);
-
179}
-
-

References ARC_Vector_Destroy(), and ARC_ParserTagToken::tagTokens.

- -

Referenced by ARC_Parser_Parse(), ARC_Parser_ParseTag(), and ARC_ParserTagToken_VectorDestroyDataFn().

- -
-
- -

◆ ARC_ParserTagToken_VectorDestroyDataFn()

- -
-
- - - - - - - -
void ARC_ParserTagToken_VectorDestroyDataFn (void * data)
-
- -

Definition at line 182 of file parser.c.

-
182 {
-
183 //we can just use the destroy function with casted data
- -
185}
-
-

References ARC_ParserTagToken_Destroy().

- -

Referenced by ARC_Parser_ParseTag().

- -
-
-
- - -
- - diff --git a/doc/doxygen/html/d2/d72/parser_8c_source.html b/doc/doxygen/html/d2/d72/parser_8c_source.html deleted file mode 100644 index d79acbe..0000000 --- a/doc/doxygen/html/d2/d72/parser_8c_source.html +++ /dev/null @@ -1,572 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/parser.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
parser.c
-
-
-Go to the documentation of this file.
-
2#include "arc/std/parser.h"
-
3#include "arc/std/bool.h"
-
4#include "arc/std/errno.h"
-
5#include "arc/std/io.h"
-
6#include "arc/std/lexer.h"
-
7#include "arc/std/vector.h"
-
8#include <stdint.h>
-
9#include <stdlib.h>
-
10#include <string.h>
-
11
- -
23
-
-
24void ARC_Parser_Create(ARC_Parser **parser, ARC_Array *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData){
-
25 *parser = (ARC_Parser *)malloc(sizeof(ARC_Parser));
-
26
-
27 //set the language size to 0 and data to NULL in case the language is NULL
-
28 (*parser)->language.size = 0;
-
29 (*parser)->language.data = NULL;
-
30
-
31 //if the language exists, copy the language
-
32 if(language != NULL){
-
33 (*parser)->language.size = language->size;
-
34 (*parser)->language.data = malloc(sizeof(ARC_ParserTag) * language->size);
-
35
-
36 for(uint32_t index = 0; index < language->size; index++){
-
37 ARC_ParserTag *languageTag = ((ARC_ParserTag *)language->data) + index;
-
38 ARC_ParserTag *currentTag = ((ARC_ParserTag *)(*parser)->language.data) + index;
-
39
-
40 //copy the language tag into the current tag
-
41 currentTag->tagId = languageTag->tagId;
-
42 currentTag->tokensOrTagsSize = languageTag->tokensOrTagsSize;
-
43
-
44 //create place to store tokens or tags
-
45 currentTag->tokensOrTags = (uint32_t **)malloc(sizeof(uint32_t *) * languageTag->tokensOrTagsSize);
-
46
-
47 //copy each or section into the tokensOrTags
-
48 for(uint32_t orIndex = 0; orIndex < languageTag->tokensOrTagsSize; orIndex++){
-
49 currentTag->tokensOrTags[orIndex] = (uint32_t *)malloc(sizeof(uint32_t) * (languageTag->tokensOrTags[orIndex][0] + 1));
-
50
-
51 for(uint32_t tokenOrTagIndex = 0; tokenOrTagIndex < languageTag->tokensOrTags[orIndex][0] + 1; tokenOrTagIndex++){
-
52 currentTag->tokensOrTags[orIndex][tokenOrTagIndex] = languageTag->tokensOrTags[orIndex][tokenOrTagIndex];
-
53 }
-
54 }
-
55 }
-
56 }
-
57
-
58 //create the lexer
-
59 ARC_Lexer_Create(&((*parser)->lexer));
-
60
-
61 //register instructions to the lexer
-
62 initLexerRulesFn(((*parser)->lexer));
-
63
-
64 //set the data to null (the parse function is what creates it)
-
65 (*parser)->data = NULL;
-
66
-
67 //set the userData for the create callback function
-
68 (*parser)->userData = userData;
-
69
-
70 //init the create function callback with null, then copy the callback if it exists
-
71 (*parser)->createDataFn = NULL;
-
72 if(createDataFn != NULL){
-
73 (*parser)->createDataFn = (ARC_ParserData_CreateFn *)malloc(sizeof(ARC_ParserData_CreateFn));
-
74 *((*parser)->createDataFn) = *createDataFn;
-
75 }
-
76
-
77 //init the destroy function callback with null, then copy the callback if it exists
-
78 (*parser)->destroyDataFn = NULL;
-
79 if(createDataFn != NULL){
-
80 (*parser)->destroyDataFn = (ARC_ParserData_DestroyFn *)malloc(sizeof(ARC_ParserData_DestroyFn));
-
81 *((*parser)->destroyDataFn) = *destroyDataFn;
-
82 }
-
83}
-
-
84
-
-
85void ARC_Parser_CreateFromVector(ARC_Parser **parser, ARC_Vector *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData){
-
86 //creates the variables to copy the vector into
-
87 const uint32_t languageSize = ARC_Vector_GetSize(language);
-
88 ARC_ParserTag languageArray[languageSize];
-
89
-
90 //copy the language from a vector into an array
-
91 for(uint32_t index = 0; index < languageSize; index++){
-
92 languageArray[index] = *(ARC_ParserTag *)ARC_Vector_Get(language, index);
-
93 }
-
94
-
95 //set the vector data as an ARC_Array
-
96 ARC_Array languageAsArray = {
-
97 languageSize,
-
98 languageArray
-
99 };
-
100
-
101 //create the parser
-
102 ARC_Parser_Create(parser, &languageAsArray, initLexerRulesFn, createDataFn, destroyDataFn, userData);
-
103}
-
-
104
-
-
105void ARC_Parser_CreateFromString(ARC_Parser **parser, ARC_String *languageString, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_Parser_GetStringIdFn getStringIdFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData){
-
106 //create the language from the string
-
107 ARC_Parser *parserlangParser;
-
108 ARC_ParserLang_CreateAsParser(&parserlangParser, getStringIdFn);
-
109 if(arc_errno){
-
110 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_Parser_CreateFromString(parser, languageString, initLexerRulesFn, getStringIdFn, createDataFn, destroyDataFn, userData), failed to create language from: %s", languageString->data);
-
111 return;
-
112 }
-
113
-
114 //copy the string because parse will destroy the string that is passed in
-
115 ARC_String *parserLangString;
-
116 ARC_String_Copy(&parserLangString, languageString);
-
117 ARC_Parser_Parse(parserlangParser, &parserLangString);
-
118
-
119 //create the parser from the parsed language
-
120 ARC_Vector *language = (ARC_Vector *)ARC_Parser_GetData(parserlangParser);
-
121 ARC_Parser_CreateFromVector(parser, language, initLexerRulesFn, createDataFn, destroyDataFn, userData);
-
122
-
123 //cleanup
-
124 ARC_Parser_Destroy(parserlangParser);
-
125}
-
-
126
-
- -
128 //clear all the copied token or tags from memory
-
129 for(uint32_t index = 0; index < parser->language.size; index++){
-
130 ARC_ParserTag *currentTag = ((ARC_ParserTag *)parser->language.data) + index;
-
131
-
132 //free the orIndex vlues
-
133 for(uint32_t orIndex = 0; orIndex < currentTag->tokensOrTagsSize; orIndex++){
-
134 free(currentTag->tokensOrTags[orIndex]);
-
135 }
-
136
-
137 //free the tokens or tags
-
138 free(currentTag->tokensOrTags);
-
139 }
-
140
-
141 //free the creation function callback
-
142 if(parser->createDataFn != NULL){
-
143 free(parser->createDataFn);
-
144 }
-
145
-
146 //do the same thing as clear but this time pass in the userData as well to clean that up
-
147 if(parser->destroyDataFn != NULL){
-
148 //set to false to indicate full destroy instead of clear
-
149 (*(parser->destroyDataFn))(parser->data, ARC_False, parser->userData);
-
150 free(parser->destroyDataFn);
-
151 }
-
152
-
153 //clear the copied language from memory
-
154 free(parser->language.data);
-
155
-
156 ARC_Lexer_Destroy(parser->lexer);
-
157
-
158 free(parser);
-
159}
-
-
160
-
161//private creation function for ARC_ParserTagToken type
-
162//note: token and tagTokens will be set to null, it is safe to create tagTokens outside of this as the destructor will clean it up
-
-
163void ARC_ParserTagToken_Create(ARC_ParserTagToken **tagToken, uint32_t id){
-
164 *tagToken = (ARC_ParserTagToken *)malloc(sizeof(ARC_ParserTagToken));
-
165
-
166 (*tagToken)->id = id;
-
167 (*tagToken)->token = NULL;
-
168 (*tagToken)->tagTokens = NULL;
-
169}
-
-
170
-
171//private destroy function for ARC_ParserTagToken type
-
- -
173 //destroy the tag token vector
-
174 if(tagToken->tagTokens != NULL){
-
175 ARC_Vector_Destroy(tagToken->tagTokens);
-
176 }
-
177
-
178 free(tagToken);
-
179}
-
-
180
-
181//private function to cleanup a parser tag token from a vector
-
- -
183 //we can just use the destroy function with casted data
- -
185}
-
-
186
-
187//private recusive function to parse a tag
-
-
188ARC_Bool ARC_Parser_ParseTag(ARC_Parser *parser, ARC_ParserTagToken *tagToken, uint32_t *lexerIndex){
-
189 //get the current tag
-
190 ARC_ParserTag *tag = NULL;
-
191 for(uint32_t index = 0; index < parser->language.size; index++){
-
192 ARC_ParserTag *foundTag = ((ARC_ParserTag *)parser->language.data) + index;
-
193 if(foundTag->tagId == tagToken->id){
-
194 tag = foundTag;
-
195 break;
-
196 }
-
197 }
-
198
-
199 //if the tag was not found can't do much, so throw an error
-
200 if(tag == NULL){
- -
202 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_Parser_ParseTag(parser, subdata, tagId), could not find tag with id: %u", tagToken->id);
-
203 return ARC_False;
-
204 }
-
205
-
206 //create a vector of tag token to use if a rule is validated, a comparison function is not needed as it will be iterated through
- -
208 ARC_Vector_Create(&(tagToken->tagTokens), NULL, &destroyTokenTagFn);
-
209
-
210 //loop through each or section of the tags and tokens
-
211 for(uint32_t orIndex = 0; orIndex < tag->tokensOrTagsSize; orIndex++){
-
212 //reset the tag tokens for each or index
-
213 ARC_Vector_Clear(tagToken->tagTokens);
-
214
-
215 //loop through each token or tag to check if the lexed data matches
-
216 uint32_t lexerCheckIndex = *lexerIndex;
-
217 ARC_Bool foundRule = ARC_True;
-
218 for(uint32_t tokenOrTagIndex = 1; tokenOrTagIndex < tag->tokensOrTags[orIndex][0] + 1; tokenOrTagIndex++){
-
219 //get next tag id to check
-
220 uint32_t nextTagId = tag->tokensOrTags[orIndex][tokenOrTagIndex];
-
221
-
222 //check if it is lambda (can return safely)
-
223 if(nextTagId == ARC_PARSER_TAG_LAMBDA){
-
224 break;
-
225 }
-
226
-
227 //if the value isn't a token it is a tag, so recurs if it isn't a token
-
228 ARC_Bool isToken = ARC_Lexer_IsTokenId(parser->lexer, nextTagId);
-
229 if(isToken == ARC_False){
-
230 //create a temporary lexer index in case the rule does not exist
-
231 uint32_t tempLexerCheckIndex = lexerCheckIndex;
-
232
-
233 //create tag token for if the rule works
-
234 ARC_ParserTagToken *nextTagToken;
-
235 ARC_ParserTagToken_Create(&nextTagToken, nextTagId);
-
236
-
237 //check if the tag works if not break to continue checking next or index
-
238 foundRule = ARC_Parser_ParseTag(parser, nextTagToken, &tempLexerCheckIndex);
-
239 if(foundRule == ARC_False){
-
240 //clean up the tag token
-
241 ARC_ParserTagToken_Destroy(nextTagToken);
-
242 break;
-
243 }
-
244
-
245 //add the tag token because rule was found
-
246 ARC_Vector_Add(tagToken->tagTokens, nextTagToken);
-
247
-
248 //increase the lexer check index as a recursed rule was found, and continue checking
-
249 lexerCheckIndex = tempLexerCheckIndex;
-
250
-
251 continue;
-
252 }
-
253
-
254 //check if there is another token that can be used
-
255 if(lexerCheckIndex >= ARC_Lexer_GetTokensSize(parser->lexer)){
-
256 //out of tokens to the current or does not work, so break
-
257 foundRule = ARC_False;
-
258 break;
-
259 }
-
260
-
261 //get the next token in the lexer and increment the lexers index
-
262 ARC_LexerToken *token = ARC_Lexer_GetToken(parser->lexer, lexerCheckIndex);
-
263 lexerCheckIndex++;
-
264
-
265 //if the token rule does not match the current token in the current or statement the token rule could not be found for the current or index so break
-
266 if(token->rule != tag->tokensOrTags[orIndex][tokenOrTagIndex]){
-
267 foundRule = ARC_False;
-
268 break;
-
269 }
-
270
-
271 //the rule was a match so create a tag token to store the token in
-
272 ARC_ParserTagToken *nextTagToken;
-
273 ARC_ParserTagToken_Create(&nextTagToken, nextTagId);
-
274 nextTagToken->token = token;
-
275
-
276 //add the token to the tag tokens
-
277 ARC_Vector_Add(tagToken->tagTokens, nextTagToken);
-
278 }
-
279
-
280 //if the rule is found we don't need to check anymore so we can return out
-
281 if(foundRule == ARC_True){
-
282 *lexerIndex = lexerCheckIndex;
-
283
-
284 //cleanup
-
285 return ARC_True;
-
286 }
-
287 }
-
288
-
289 //cleanup
-
290 ARC_Vector_Destroy(tagToken->tagTokens);
-
291 tagToken->tagTokens = NULL;
-
292
-
293 //no rule was found, so return false
-
294 return ARC_False;
-
295}
-
-
296
-
- -
298 //make sure the parser has a language
-
299 if(parser->language.size == 0){
-
300 ARC_DEBUG_LOG_ERROR("ARC_Parser_Parse(parser, data), no parser language defined");
-
301 return;
-
302 }
-
303
-
304 //lex the subdata
-
305 ARC_Lexer_LexString(parser->lexer, data);
-
306 if(arc_errno){
-
307 ARC_DEBUG_LOG_ERROR("ARC_Parser_Parse(parser, data), could not lex the given data");
-
308 ARC_Lexer_Clear(parser->lexer);
-
309 return;
-
310 }
-
311
-
312 //set the lexer index to start and get the first tag
-
313 uint32_t lexerIndex = 0;
-
314 ARC_ParserTag *startTag = parser->language.data;
-
315
-
316 //setup a tag token that will be passed to the creation callback on success
-
317 ARC_ParserTagToken *tagToken;
-
318 ARC_ParserTagToken_Create(&tagToken, startTag->tagId);
-
319
-
320 //TODO: handle error checks for if parsing fails
-
321 //recursivly parse from the inital start tag
-
322 ARC_Bool parsed = ARC_Parser_ParseTag(parser, tagToken, &lexerIndex);
-
323 ARC_Bool allTokensParsed = lexerIndex == ARC_Lexer_GetTokensSize(parser->lexer);
-
324
-
325 //error if anything went wrong
-
326 if(parsed == ARC_False || allTokensParsed == ARC_False || arc_errno){
-
327 ARC_Lexer_Clear(parser->lexer);
- -
329
- -
331 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_Parser_Parse(parser, data), could not parse the given data at lexer index: %u", lexerIndex);
-
332 return;
-
333 }
-
334
-
335 //create the data if the creation callback exists
-
336 if(parser->createDataFn != NULL){
-
337 (*(parser->createDataFn))(&(parser->data), tagToken, parser->userData);
-
338 }
-
339
- -
341 //cleanup
-
342 ARC_Lexer_Clear(parser->lexer);
-
343}
-
-
344
-
- -
346 ARC_String *fileString;
-
347 ARC_IO_FileToStr(path, &fileString);
-
348
-
349 if(fileString == NULL){
- -
351 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_Parser_ParseFile(parser, data), could not read file \"%s\"", path->data);
-
352 return;
-
353 }
-
354
-
355 ARC_Parser_Parse(parser, &fileString);
-
356}
-
-
357
-
- -
359 //check if that data exists and the destructor exists to make sure they can be run, set to true to indicate clear
-
360 if(parser->data != NULL && parser->destroyDataFn != NULL){
-
361 (*(parser->destroyDataFn))(parser->data, ARC_True, parser->userData);
-
362 }
-
363
-
364 //TODO: might want to error here
-
365 parser->data = NULL;
-
366}
-
-
367
-
- -
369 return parser->data;
-
370}
-
- -
#define ARC_False
Definition bool.h:12
-
#define ARC_True
Definition bool.h:11
-
#define ARC_Bool
Definition bool.h:10
- -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
#define ARC_ERRNO_DATA
Definition errno.h:7
- -
void ARC_IO_FileToStr(ARC_String *path, ARC_String **data)
get string and size from file
Definition io.c:43
- -
ARC_LexerToken * ARC_Lexer_GetToken(ARC_Lexer *lexer, uint32_t index)
gets a token at a given index from a lexer
Definition lexer.c:272
-
ARC_Bool ARC_Lexer_IsTokenId(ARC_Lexer *lexer, uint32_t id)
returns a boolean based on if a given id is a stored token rule id
Definition lexer.c:294
-
void ARC_Lexer_LexString(ARC_Lexer *lexer, ARC_String **data)
creates tokens using a given string with ARC_LexerToken rules
Definition lexer.c:166
-
void ARC_Lexer_Clear(ARC_Lexer *lexer)
clears all tokens from a lexer (will not clear token rules)
Definition lexer.c:161
-
void ARC_Lexer_Create(ARC_Lexer **lexer)
creates an ARC_Lexer type
Definition lexer.c:50
-
uint32_t ARC_Lexer_GetTokensSize(ARC_Lexer *lexer)
gets a token at a given index from a lexer
Definition lexer.c:286
-
void ARC_Lexer_Destroy(ARC_Lexer *lexer)
destroys an ARC_Lexer type
Definition lexer.c:68
-
void ARC_Parser_CreateFromString(ARC_Parser **parser, ARC_String *languageString, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_Parser_GetStringIdFn getStringIdFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
creates an ARC_Parser type from a string
Definition parser.c:105
-
void ARC_Parser_ParseFile(ARC_Parser *parser, ARC_String *path)
Definition parser.c:345
-
ARC_Bool ARC_Parser_ParseTag(ARC_Parser *parser, ARC_ParserTagToken *tagToken, uint32_t *lexerIndex)
Definition parser.c:188
-
void ARC_ParserTagToken_Destroy(ARC_ParserTagToken *tagToken)
Definition parser.c:172
-
void ARC_ParserTagToken_Create(ARC_ParserTagToken **tagToken, uint32_t id)
Definition parser.c:163
-
void ARC_Parser_Create(ARC_Parser **parser, ARC_Array *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
creates an ARC_Parser type
Definition parser.c:24
-
void ARC_ParserTagToken_VectorDestroyDataFn(void *data)
Definition parser.c:182
-
void ARC_Parser_Parse(ARC_Parser *parser, ARC_String **data)
Definition parser.c:297
-
void ARC_Parser_CreateFromVector(ARC_Parser **parser, ARC_Vector *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
creates an ARC_Parser type from an arc vector
Definition parser.c:85
-
void ARC_Parser_Destroy(ARC_Parser *parser)
destroys an ARC_Parser type
Definition parser.c:127
-
void ARC_Parser_ClearData(ARC_Parser *parser)
Definition parser.c:358
-
void * ARC_Parser_GetData(ARC_Parser *parser)
Definition parser.c:368
- -
#define ARC_PARSER_TAG_LAMBDA
basic tag for letting the parser know it is ok to end
Definition parser.h:150
-
uint32_t(* ARC_Parser_GetStringIdFn)(ARC_String *string)
TODO: write this.
Definition parser.h:52
-
void(* ARC_Parser_InitLexerRulesFn)(ARC_Lexer *lexer)
a callback function to initialize the lexer the parser uses with rules
Definition parser.h:47
-
void(* ARC_ParserData_CreateFn)(void **data, ARC_ParserTagToken *parsedData, void *userData)
TODO: write this.
Definition parser.h:57
-
void(* ARC_ParserData_DestroyFn)(void *data, ARC_Bool clear, void *userData)
TODO: write this.
Definition parser.h:62
- -
void ARC_ParserLang_CreateAsParser(ARC_Parser **parser, ARC_Parser_GetStringIdFn getStringIdFn)
creates a parser for the Parser Lang
Definition parserlang.c:324
- -
void ARC_String_Copy(ARC_String **copy, ARC_String *original)
copy a ARC_String
Definition string.c:62
-
a type that holds an array of data and its size
Definition array.h:13
-
uint32_t size
Definition array.h:14
-
void * data
Definition array.h:15
-
a lexer token type
Definition lexer.h:18
-
uint32_t rule
Definition lexer.h:19
- -
a parser type used inside of the parser data create function
Definition parser.h:35
-
ARC_LexerToken * token
Definition parser.h:38
-
uint32_t id
Definition parser.h:36
-
ARC_Vector * tagTokens
Definition parser.h:39
-
a langue tag type for the parser //TODO: explain this better
Definition parser.h:21
-
uint32_t tagId
Definition parser.h:22
-
uint32_t tokensOrTagsSize
Definition parser.h:25
-
uint32_t ** tokensOrTags
Definition parser.h:24
- -
ARC_Array language
Definition parser.c:13
-
ARC_ParserData_CreateFn * createDataFn
Definition parser.c:19
-
void * data
Definition parser.c:17
-
ARC_Lexer * lexer
Definition parser.c:15
-
void * userData
Definition parser.c:18
-
ARC_ParserData_DestroyFn * destroyDataFn
Definition parser.c:20
-
substring position within a string
Definition string.h:14
-
char * data
Definition string.h:15
- - -
void(* ARC_Vector_DestroyDataFn)(void *data)
a callback that cleans up memory when it is removed from the vector
Definition vector.h:31
-
uint32_t ARC_Vector_GetSize(ARC_Vector *vector)
gets the current size of an ARC_Vector as an unsigned 32 bit integer
Definition vector.c:146
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:150
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:67
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:51
-
void ARC_Vector_Clear(ARC_Vector *vector)
clears all items from a vector
Definition vector.c:139
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:28
-
- - -
- - diff --git a/doc/doxygen/html/d2/d78/include_2arc_2input_2keyboard_8h.html b/doc/doxygen/html/d2/d78/include_2arc_2input_2keyboard_8h.html deleted file mode 100644 index ad1e7d4..0000000 --- a/doc/doxygen/html/d2/d78/include_2arc_2input_2keyboard_8h.html +++ /dev/null @@ -1,665 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/input/keyboard.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
keyboard.h File Reference
-
-
-
#include <stdint.h>
-
-

Go to the source code of this file.

- - - - -

-Macros

#define ARC_KEYBOARD_BUTTON_NUM   239
 
- - - - - - - - - -

-Typedefs

typedef struct ARC_Keyboard ARC_Keyboard
 
typedef struct ARC_KeyboardInfo ARC_KeyboardInfo
 
typedef enum ARC_KeyboardState ARC_KeyboardState
 
typedef enum ARC_KeyboardKey ARC_Keyboard_Key
 
- - - - - -

-Enumerations

enum  ARC_KeyboardState { ARC_KEY_NONE -, ARC_KEY_PRESSED -, ARC_KEY_RELEASED - }
 
enum  ARC_KeyboardKey {
-  ARC_KEY_A -, ARC_KEY_B -, ARC_KEY_C -, ARC_KEY_D -,
-  ARC_KEY_E -, ARC_KEY_F -, ARC_KEY_G -, ARC_KEY_H -,
-  ARC_KEY_I -, ARC_KEY_J -, ARC_KEY_K -, ARC_KEY_L -,
-  ARC_KEY_M -, ARC_KEY_N -, ARC_KEY_O -, ARC_KEY_P -,
-  ARC_KEY_Q -, ARC_KEY_R -, ARC_KEY_S -, ARC_KEY_T -,
-  ARC_KEY_U -, ARC_KEY_V -, ARC_KEY_W -, ARC_KEY_X -,
-  ARC_KEY_Y -, ARC_KEY_Z -, ARC_KEY_0 -, ARC_KEY_1 -,
-  ARC_KEY_2 -, ARC_KEY_3 -, ARC_KEY_4 -, ARC_KEY_5 -,
-  ARC_KEY_6 -, ARC_KEY_7 -, ARC_KEY_8 -, ARC_KEY_9 -,
-  ARC_KEY_SPACE -, ARC_KEY_ESC -, ARC_KEY_ENTER -
- }
 
- - - - - - - - - -

-Functions

void ARC_Keyboard_CreateWithInput (ARC_Keyboard **keyboard, ARC_Input *input)
 
void ARC_Keyboard_Destroy (ARC_Keyboard *keyboard)
 
void ARC_Keyboard_Update (ARC_Keyboard *keyboard)
 
ARC_KeyboardState ARC_Keyboard_GetState (ARC_Keyboard *keyboard, enum ARC_KeyboardKey key)
 
-

Macro Definition Documentation

- -

◆ ARC_KEYBOARD_BUTTON_NUM

- -
-
- - - - -
#define ARC_KEYBOARD_BUTTON_NUM   239
-
- -

Definition at line 25 of file keyboard.h.

- -

Referenced by ARC_Keyboard_CreateWithInput().

- -
-
-

Typedef Documentation

- -

◆ ARC_Keyboard

- -
-
- - - - -
typedef struct ARC_Keyboard ARC_Keyboard
-
- -

Definition at line 15 of file keyboard.h.

- -
-
- -

◆ ARC_Keyboard_Key

- -
-
- - - - -
typedef enum ARC_KeyboardKey ARC_Keyboard_Key
-
- -
-
- -

◆ ARC_KeyboardInfo

- -
-
- - - - -
typedef struct ARC_KeyboardInfo ARC_KeyboardInfo
-
- -

Definition at line 17 of file keyboard.h.

- -
-
- -

◆ ARC_KeyboardState

- -
-
- - - - -
typedef enum ARC_KeyboardState ARC_KeyboardState
-
- -
-
-

Enumeration Type Documentation

- -

◆ ARC_KeyboardKey

- -
-
- - - - -
enum ARC_KeyboardKey
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Enumerator
ARC_KEY_A 
ARC_KEY_B 
ARC_KEY_C 
ARC_KEY_D 
ARC_KEY_E 
ARC_KEY_F 
ARC_KEY_G 
ARC_KEY_H 
ARC_KEY_I 
ARC_KEY_J 
ARC_KEY_K 
ARC_KEY_L 
ARC_KEY_M 
ARC_KEY_N 
ARC_KEY_O 
ARC_KEY_P 
ARC_KEY_Q 
ARC_KEY_R 
ARC_KEY_S 
ARC_KEY_T 
ARC_KEY_U 
ARC_KEY_V 
ARC_KEY_W 
ARC_KEY_X 
ARC_KEY_Y 
ARC_KEY_Z 
ARC_KEY_0 
ARC_KEY_1 
ARC_KEY_2 
ARC_KEY_3 
ARC_KEY_4 
ARC_KEY_5 
ARC_KEY_6 
ARC_KEY_7 
ARC_KEY_8 
ARC_KEY_9 
ARC_KEY_SPACE 
ARC_KEY_ESC 
ARC_KEY_ENTER 
- -

Definition at line 32 of file keyboard.h.

-
32 {
- - - - - - - - - - - - - - - - - - - - - - - - - - -
59
- - - - - - - - - - -
70
- - - - -
@ ARC_KEY_F
Definition keyboard.h:38
-
@ ARC_KEY_4
Definition keyboard.h:64
-
@ ARC_KEY_2
Definition keyboard.h:62
-
@ ARC_KEY_0
Definition keyboard.h:60
-
@ ARC_KEY_M
Definition keyboard.h:45
-
@ ARC_KEY_K
Definition keyboard.h:43
-
@ ARC_KEY_P
Definition keyboard.h:48
-
@ ARC_KEY_E
Definition keyboard.h:37
-
@ ARC_KEY_8
Definition keyboard.h:68
-
@ ARC_KEY_T
Definition keyboard.h:52
-
@ ARC_KEY_Z
Definition keyboard.h:58
-
@ ARC_KEY_A
Definition keyboard.h:33
-
@ ARC_KEY_Y
Definition keyboard.h:57
-
@ ARC_KEY_9
Definition keyboard.h:69
-
@ ARC_KEY_ESC
Definition keyboard.h:72
-
@ ARC_KEY_W
Definition keyboard.h:55
-
@ ARC_KEY_5
Definition keyboard.h:65
-
@ ARC_KEY_3
Definition keyboard.h:63
-
@ ARC_KEY_J
Definition keyboard.h:42
-
@ ARC_KEY_N
Definition keyboard.h:46
-
@ ARC_KEY_O
Definition keyboard.h:47
-
@ ARC_KEY_L
Definition keyboard.h:44
-
@ ARC_KEY_R
Definition keyboard.h:50
-
@ ARC_KEY_C
Definition keyboard.h:35
-
@ ARC_KEY_6
Definition keyboard.h:66
-
@ ARC_KEY_X
Definition keyboard.h:56
-
@ ARC_KEY_I
Definition keyboard.h:41
-
@ ARC_KEY_1
Definition keyboard.h:61
-
@ ARC_KEY_7
Definition keyboard.h:67
-
@ ARC_KEY_ENTER
Definition keyboard.h:73
-
@ ARC_KEY_Q
Definition keyboard.h:49
-
@ ARC_KEY_SPACE
Definition keyboard.h:71
-
@ ARC_KEY_U
Definition keyboard.h:53
-
@ ARC_KEY_V
Definition keyboard.h:54
-
@ ARC_KEY_B
Definition keyboard.h:34
-
@ ARC_KEY_D
Definition keyboard.h:36
-
@ ARC_KEY_G
Definition keyboard.h:39
-
@ ARC_KEY_S
Definition keyboard.h:51
-
@ ARC_KEY_H
Definition keyboard.h:40
-
enum ARC_KeyboardKey ARC_Keyboard_Key
-
-
-
- -

◆ ARC_KeyboardState

- -
-
- - - - -
enum ARC_KeyboardState
-
- - - - -
Enumerator
ARC_KEY_NONE 
ARC_KEY_PRESSED 
ARC_KEY_RELEASED 
- -

Definition at line 19 of file keyboard.h.

-
19 {
- - - - -
ARC_KeyboardState
Definition keyboard.h:19
-
@ ARC_KEY_RELEASED
Definition keyboard.h:22
-
@ ARC_KEY_PRESSED
Definition keyboard.h:21
-
@ ARC_KEY_NONE
Definition keyboard.h:20
-
-
-
-

Function Documentation

- -

◆ ARC_Keyboard_CreateWithInput()

- -
-
- - - - - - - - - - - -
void ARC_Keyboard_CreateWithInput (ARC_Keyboard ** keyboard,
ARC_Input * input )
-
- -

Definition at line 11 of file keyboard.c.

-
11 {
-
12 *keyboard = (ARC_Keyboard *)malloc(sizeof(ARC_Keyboard));
-
13 (*keyboard)->event = input->event;
-
14 (*keyboard)->keys = (ARC_KeyboardState *)malloc(sizeof(ARC_KeyboardState) * ARC_KEYBOARD_BUTTON_NUM);
-
15
-
16 (*keyboard)->released = NULL;
-
17
-
18 for(uint8_t i = 0; i < ARC_KEYBOARD_BUTTON_NUM; i++){
-
19 (*keyboard)->keys[i] = ARC_KEY_NONE;
-
20 }
-
21}
-
#define ARC_KEYBOARD_BUTTON_NUM
Definition keyboard.h:25
-
SDL_Event * event
Definition input.h:12
- -
SDL_Event * event
Definition keyboard.h:8
-
-

References ARC_KEY_NONE, ARC_KEYBOARD_BUTTON_NUM, ARC_Input::event, and ARC_Keyboard::event.

- -

Referenced by ARC_Input_CreateWithEngineData().

- -
-
- -

◆ ARC_Keyboard_Destroy()

- -
-
- - - - - - - -
void ARC_Keyboard_Destroy (ARC_Keyboard * keyboard)
-
- -

Definition at line 23 of file keyboard.c.

-
23 {
-
24 free(keyboard->keys);
-
25
-
26 free(keyboard);
-
27}
-
ARC_KeyboardState * keys
Definition keyboard.h:10
-
-

References ARC_Keyboard::keys.

- -

Referenced by ARC_EngineData_Destroy(), and ARC_Input_Destroy().

- -
-
- -

◆ ARC_Keyboard_GetState()

- -
-
- - - - - - - - - - - -
ARC_KeyboardState ARC_Keyboard_GetState (ARC_Keyboard * keyboard,
enum ARC_KeyboardKey key )
-
- -

Definition at line 52 of file keyboard.c.

-
52 {
-
53 switch(key){
-
54 case ARC_KEY_A: return keyboard->keys[SDLK_a];
-
55 case ARC_KEY_B: return keyboard->keys[SDLK_b];
-
56 case ARC_KEY_C: return keyboard->keys[SDLK_c];
-
57 case ARC_KEY_D: return keyboard->keys[SDLK_d];
-
58 case ARC_KEY_E: return keyboard->keys[SDLK_e];
-
59 case ARC_KEY_F: return keyboard->keys[SDLK_f];
-
60 case ARC_KEY_G: return keyboard->keys[SDLK_g];
-
61 case ARC_KEY_H: return keyboard->keys[SDLK_h];
-
62 case ARC_KEY_I: return keyboard->keys[SDLK_i];
-
63 case ARC_KEY_J: return keyboard->keys[SDLK_j];
-
64 case ARC_KEY_K: return keyboard->keys[SDLK_k];
-
65 case ARC_KEY_L: return keyboard->keys[SDLK_l];
-
66 case ARC_KEY_M: return keyboard->keys[SDLK_m];
-
67 case ARC_KEY_N: return keyboard->keys[SDLK_n];
-
68 case ARC_KEY_O: return keyboard->keys[SDLK_o];
-
69 case ARC_KEY_P: return keyboard->keys[SDLK_p];
-
70 case ARC_KEY_Q: return keyboard->keys[SDLK_q];
-
71 case ARC_KEY_R: return keyboard->keys[SDLK_r];
-
72 case ARC_KEY_S: return keyboard->keys[SDLK_s];
-
73 case ARC_KEY_T: return keyboard->keys[SDLK_t];
-
74 case ARC_KEY_U: return keyboard->keys[SDLK_u];
-
75 case ARC_KEY_V: return keyboard->keys[SDLK_v];
-
76 case ARC_KEY_W: return keyboard->keys[SDLK_w];
-
77 case ARC_KEY_X: return keyboard->keys[SDLK_x];
-
78 case ARC_KEY_Y: return keyboard->keys[SDLK_y];
-
79 case ARC_KEY_Z: return keyboard->keys[SDLK_z];
-
80
-
81 case ARC_KEY_0: return keyboard->keys[SDLK_0];
-
82 case ARC_KEY_1: return keyboard->keys[SDLK_1];
-
83 case ARC_KEY_2: return keyboard->keys[SDLK_2];
-
84 case ARC_KEY_3: return keyboard->keys[SDLK_3];
-
85 case ARC_KEY_4: return keyboard->keys[SDLK_4];
-
86 case ARC_KEY_5: return keyboard->keys[SDLK_5];
-
87 case ARC_KEY_6: return keyboard->keys[SDLK_6];
-
88 case ARC_KEY_7: return keyboard->keys[SDLK_7];
-
89 case ARC_KEY_8: return keyboard->keys[SDLK_8];
-
90 case ARC_KEY_9: return keyboard->keys[SDLK_9];
-
91
-
92 case ARC_KEY_SPACE: return keyboard->keys[SDLK_SPACE ];
-
93 case ARC_KEY_ESC: return keyboard->keys[SDLK_ESCAPE];
-
94 case ARC_KEY_ENTER: return keyboard->keys[SDLK_RETURN];
-
95
-
96 default: return ARC_KEY_NONE;
-
97 }
-
98}
-
-

References ARC_KEY_0, ARC_KEY_1, ARC_KEY_2, ARC_KEY_3, ARC_KEY_4, ARC_KEY_5, ARC_KEY_6, ARC_KEY_7, ARC_KEY_8, ARC_KEY_9, ARC_KEY_A, ARC_KEY_B, ARC_KEY_C, ARC_KEY_D, ARC_KEY_E, ARC_KEY_ENTER, ARC_KEY_ESC, ARC_KEY_F, ARC_KEY_G, ARC_KEY_H, ARC_KEY_I, ARC_KEY_J, ARC_KEY_K, ARC_KEY_L, ARC_KEY_M, ARC_KEY_N, ARC_KEY_NONE, ARC_KEY_O, ARC_KEY_P, ARC_KEY_Q, ARC_KEY_R, ARC_KEY_S, ARC_KEY_SPACE, ARC_KEY_T, ARC_KEY_U, ARC_KEY_V, ARC_KEY_W, ARC_KEY_X, ARC_KEY_Y, ARC_KEY_Z, and ARC_Keyboard::keys.

- -
-
- -

◆ ARC_Keyboard_Update()

- -
-
- - - - - - - -
void ARC_Keyboard_Update (ARC_Keyboard * keyboard)
-
- -

Definition at line 29 of file keyboard.c.

-
29 {
-
30 if(keyboard->released){
-
31 *keyboard->released = ARC_KEY_NONE;
-
32 keyboard->released = NULL;
-
33 }
-
34
-
35 if(keyboard->event->type != SDL_KEYDOWN && keyboard->event->type != SDL_KEYUP){
-
36 return;
-
37 }
-
38
-
39 if(keyboard->event->key.keysym.sym >= 239 || keyboard->event->key.keysym.sym < 0){
-
40 return;
-
41 }
-
42
-
43 if(keyboard->event->type == SDL_KEYDOWN){
-
44 keyboard->keys[keyboard->event->key.keysym.sym] = ARC_KEY_PRESSED;
-
45 return;
-
46 }
-
47
-
48 keyboard->keys[keyboard->event->key.keysym.sym] = ARC_KEY_RELEASED;
-
49 keyboard->released = (keyboard->keys + keyboard->event->key.keysym.sym);
-
50}
-
ARC_KeyboardState * released
Definition keyboard.h:11
-
-

References ARC_KEY_NONE, ARC_KEY_PRESSED, ARC_KEY_RELEASED, ARC_Keyboard::event, ARC_Keyboard::keys, and ARC_Keyboard::released.

- -

Referenced by ARC_Input_Update().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/d78/include_2arc_2input_2keyboard_8h.js b/doc/doxygen/html/d2/d78/include_2arc_2input_2keyboard_8h.js deleted file mode 100644 index 7ba66cf..0000000 --- a/doc/doxygen/html/d2/d78/include_2arc_2input_2keyboard_8h.js +++ /dev/null @@ -1,58 +0,0 @@ -var include_2arc_2input_2keyboard_8h = -[ - [ "ARC_KEYBOARD_BUTTON_NUM", "d2/d78/include_2arc_2input_2keyboard_8h.html#aaaadee1d75ed1e94bcb0676f2591c5a4", null ], - [ "ARC_Keyboard", "d2/d78/include_2arc_2input_2keyboard_8h.html#acec0a71060ec7186a323710608bd93e7", null ], - [ "ARC_Keyboard_Key", "d2/d78/include_2arc_2input_2keyboard_8h.html#aa35b61a9fd822d5cfb7a915e6c3b7cd0", null ], - [ "ARC_KeyboardInfo", "d2/d78/include_2arc_2input_2keyboard_8h.html#a3f54728e2ec869f82c48e7a97b3fa630", null ], - [ "ARC_KeyboardState", "d2/d78/include_2arc_2input_2keyboard_8h.html#acc8311061bc4f6acd3d0594df1787b6f", null ], - [ "ARC_KeyboardKey", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342", [ - [ "ARC_KEY_A", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a49156896df4abf04fbe03f49d2e213a5", null ], - [ "ARC_KEY_B", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342adb82c1ec8254c987b45d94a661a22c80", null ], - [ "ARC_KEY_C", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a8f3a52109bb1c5f96cc12cd66de72b87", null ], - [ "ARC_KEY_D", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342addcfaf15ed0397db7d2ede02e4136c43", null ], - [ "ARC_KEY_E", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a36564695ac265b2913a14c155a340297", null ], - [ "ARC_KEY_F", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a048bcad99ae80504831468b26abf3a57", null ], - [ "ARC_KEY_G", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342aea971342a7d6a3f29278e9381fca2f0d", null ], - [ "ARC_KEY_H", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342af3c7e1ca4a713680cb5df07240691339", null ], - [ "ARC_KEY_I", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a99211ba590840860d3c807b9b1cdc06d", null ], - [ "ARC_KEY_J", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a7f875a9576212f5a6b09a38d6831c368", null ], - [ "ARC_KEY_K", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a2f7b5fc6e561a687164b9a2b3e46589d", null ], - [ "ARC_KEY_L", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a897b918221c7d7dc58da34246390874a", null ], - [ "ARC_KEY_M", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a29e2bdd496803dd3fb2f0fc54d2966b3", null ], - [ "ARC_KEY_N", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a83290e7515f0de7ed4b64c3a72016569", null ], - [ "ARC_KEY_O", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a873d05cdbd0ee1dd56bdc1be80154789", null ], - [ "ARC_KEY_P", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a35d9e47e904eb84ed27d1abba69ab0cd", null ], - [ "ARC_KEY_Q", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342ac068d27752c2ba39b8dd9be9b5c7822f", null ], - [ "ARC_KEY_R", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a8d5927f08ad119ee914c7b4499008b43", null ], - [ "ARC_KEY_S", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342aede6e618e53a44e1ade519f2df71cb20", null ], - [ "ARC_KEY_T", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a3fba17fbe3987300f20fd5a876d3a5b9", null ], - [ "ARC_KEY_U", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342acd75047b5c079ace8c907195e6d6f9c1", null ], - [ "ARC_KEY_V", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342acd7f1eae1f5dc470b5cf267e9d10b5f0", null ], - [ "ARC_KEY_W", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a5ce1fc9c8c67a3035e7db1d67f4e8abd", null ], - [ "ARC_KEY_X", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a9753396fe7fa37695927152f6377250b", null ], - [ "ARC_KEY_Y", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a4bb71a05ebf49a4c4adb714bfc136051", null ], - [ "ARC_KEY_Z", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a4365536de5c26fd39aaa9bf74c5ec4e9", null ], - [ "ARC_KEY_0", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a1f79e782a3ebf22322adc6e9f4e14451", null ], - [ "ARC_KEY_1", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342aabf22a488a8c87ecfdfd8761ef3055a4", null ], - [ "ARC_KEY_2", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a1d64d1e8e291e793e5ce6afdc91f9b6a", null ], - [ "ARC_KEY_3", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a7e3d3ec3c8ed02d21d3925390ba58634", null ], - [ "ARC_KEY_4", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a1bd8cf1e48b4a2a78f60ee6247cf589e", null ], - [ "ARC_KEY_5", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a68fbf5ced80ec27a7fb24cce622180ab", null ], - [ "ARC_KEY_6", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a951b29ee025df021ab3385dee0e2a995", null ], - [ "ARC_KEY_7", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342ab71f52ec7348e8917fdeaaa0c142c939", null ], - [ "ARC_KEY_8", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a392a2cb09451306c4e5038f2ac97d03b", null ], - [ "ARC_KEY_9", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a5417783357fb315b9dd529d6d1147d6e", null ], - [ "ARC_KEY_SPACE", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342ac9d8f2e35602296a152460c5ada9b1dd", null ], - [ "ARC_KEY_ESC", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a5b665a1513782f4e649bbeddc9c9155d", null ], - [ "ARC_KEY_ENTER", "d2/d78/include_2arc_2input_2keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342ab8f816bb58dbcee3219a5cdd991c25c9", null ] - ] ], - [ "ARC_KeyboardState", "d2/d78/include_2arc_2input_2keyboard_8h.html#a4fa42600e63b733ac23ec8ddfe49573f", [ - [ "ARC_KEY_NONE", "d2/d78/include_2arc_2input_2keyboard_8h.html#a4fa42600e63b733ac23ec8ddfe49573fae65992df97275326fd4849a9e0ed9eac", null ], - [ "ARC_KEY_PRESSED", "d2/d78/include_2arc_2input_2keyboard_8h.html#a4fa42600e63b733ac23ec8ddfe49573face79bff30ba82c6985e0e98958646613", null ], - [ "ARC_KEY_RELEASED", "d2/d78/include_2arc_2input_2keyboard_8h.html#a4fa42600e63b733ac23ec8ddfe49573faa7706ca5d8f89927871bb5fc9d15aeb7", null ] - ] ], - [ "ARC_Keyboard_CreateWithInput", "d2/d78/include_2arc_2input_2keyboard_8h.html#a6cea48ed04bc3e8a3f72bc48e1994e68", null ], - [ "ARC_Keyboard_Destroy", "d2/d78/include_2arc_2input_2keyboard_8h.html#aaeaa42ad6e69566dfee40058003a053b", null ], - [ "ARC_Keyboard_GetState", "d2/d78/include_2arc_2input_2keyboard_8h.html#aefc45f58e68047bae8a7b4556c461f55", null ], - [ "ARC_Keyboard_Update", "d2/d78/include_2arc_2input_2keyboard_8h.html#a46406fb1b5a846ff9c984ea3ad8dba14", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d2/d78/include_2arc_2input_2keyboard_8h_source.html b/doc/doxygen/html/d2/d78/include_2arc_2input_2keyboard_8h_source.html deleted file mode 100644 index a0a4683..0000000 --- a/doc/doxygen/html/d2/d78/include_2arc_2input_2keyboard_8h_source.html +++ /dev/null @@ -1,266 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/input/keyboard.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
keyboard.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_GRAPHICS_KEYBOARD_H_
-
2#define ARC_GRAPHICS_KEYBOARD_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include <stdint.h>
-
9
-
10/**
-
11 * @brief predefien ARC_Input so as not to get circular reference
-
12*/
-
13typedef struct ARC_Input ARC_Input;
-
14
- -
16
- -
18
- -
24
-
25#define ARC_KEYBOARD_BUTTON_NUM 239
-
26
- -
28
- -
30void ARC_Keyboard_Update(ARC_Keyboard *keyboard);
-
31
- -
75
- -
77
-
78#ifdef __cplusplus
-
79}
-
80#endif
-
81
-
82#endif // !ARC_GRAPHICS_KEYBOARD_H_
-
struct ARC_KeyboardInfo ARC_KeyboardInfo
Definition keyboard.h:17
-
ARC_KeyboardKey
Definition keyboard.h:32
-
@ ARC_KEY_F
Definition keyboard.h:38
-
@ ARC_KEY_4
Definition keyboard.h:64
-
@ ARC_KEY_2
Definition keyboard.h:62
-
@ ARC_KEY_0
Definition keyboard.h:60
-
@ ARC_KEY_M
Definition keyboard.h:45
-
@ ARC_KEY_K
Definition keyboard.h:43
-
@ ARC_KEY_P
Definition keyboard.h:48
-
@ ARC_KEY_E
Definition keyboard.h:37
-
@ ARC_KEY_8
Definition keyboard.h:68
-
@ ARC_KEY_T
Definition keyboard.h:52
-
@ ARC_KEY_Z
Definition keyboard.h:58
-
@ ARC_KEY_A
Definition keyboard.h:33
-
@ ARC_KEY_Y
Definition keyboard.h:57
-
@ ARC_KEY_9
Definition keyboard.h:69
-
@ ARC_KEY_ESC
Definition keyboard.h:72
-
@ ARC_KEY_W
Definition keyboard.h:55
-
@ ARC_KEY_5
Definition keyboard.h:65
-
@ ARC_KEY_3
Definition keyboard.h:63
-
@ ARC_KEY_J
Definition keyboard.h:42
-
@ ARC_KEY_N
Definition keyboard.h:46
-
@ ARC_KEY_O
Definition keyboard.h:47
-
@ ARC_KEY_L
Definition keyboard.h:44
-
@ ARC_KEY_R
Definition keyboard.h:50
-
@ ARC_KEY_C
Definition keyboard.h:35
-
@ ARC_KEY_6
Definition keyboard.h:66
-
@ ARC_KEY_X
Definition keyboard.h:56
-
@ ARC_KEY_I
Definition keyboard.h:41
-
@ ARC_KEY_1
Definition keyboard.h:61
-
@ ARC_KEY_7
Definition keyboard.h:67
-
@ ARC_KEY_ENTER
Definition keyboard.h:73
-
@ ARC_KEY_Q
Definition keyboard.h:49
-
@ ARC_KEY_SPACE
Definition keyboard.h:71
-
@ ARC_KEY_U
Definition keyboard.h:53
-
@ ARC_KEY_V
Definition keyboard.h:54
-
@ ARC_KEY_B
Definition keyboard.h:34
-
@ ARC_KEY_D
Definition keyboard.h:36
-
@ ARC_KEY_G
Definition keyboard.h:39
-
@ ARC_KEY_S
Definition keyboard.h:51
-
@ ARC_KEY_H
Definition keyboard.h:40
-
void ARC_Keyboard_Update(ARC_Keyboard *keyboard)
Definition keyboard.c:29
-
ARC_KeyboardState
Definition keyboard.h:19
-
@ ARC_KEY_RELEASED
Definition keyboard.h:22
-
@ ARC_KEY_PRESSED
Definition keyboard.h:21
-
@ ARC_KEY_NONE
Definition keyboard.h:20
-
void ARC_Keyboard_CreateWithInput(ARC_Keyboard **keyboard, ARC_Input *input)
Definition keyboard.c:11
-
enum ARC_KeyboardKey ARC_Keyboard_Key
-
void ARC_Keyboard_Destroy(ARC_Keyboard *keyboard)
Definition keyboard.c:23
-
ARC_KeyboardState ARC_Keyboard_GetState(ARC_Keyboard *keyboard, enum ARC_KeyboardKey key)
Definition keyboard.c:52
- - -
-
- - - - - - diff --git a/doc/doxygen/html/d2/d7b/archeus__std_8dir_2src_2std_2parser_8c_8o_8d.html b/doc/doxygen/html/d2/d7b/archeus__std_8dir_2src_2std_2parser_8c_8o_8d.html deleted file mode 100644 index ea3c2b7..0000000 --- a/doc/doxygen/html/d2/d7b/archeus__std_8dir_2src_2std_2parser_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/parser.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
parser.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d2/d7b/archeus__std_8dir_2src_2std_2parser_8c_8o_8d_source.html b/doc/doxygen/html/d2/d7b/archeus__std_8dir_2src_2std_2parser_8c_8o_8d_source.html deleted file mode 100644 index 3fec115..0000000 --- a/doc/doxygen/html/d2/d7b/archeus__std_8dir_2src_2std_2parser_8c_8o_8d_source.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/parser.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
parser.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/std/parser.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/parser.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/parser/parserlang.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/std/parser.h \
-
6 /home/herbglitch/programs/archeus/arc/include/arc/std/array.h \
-
7 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
8 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
9 /usr/include/features.h /usr/include/features-time64.h \
-
10 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
11 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
12 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
13 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
14 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
15 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
16 /usr/include/bits/stdint-least.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/std/lexer.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
21 /home/herbglitch/programs/archeus/arc/include/arc/std/vector.h \
-
22 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
23 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
24 /usr/include/stdio.h \
-
25 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
26 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
27 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
28 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
29 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
30 /usr/include/bits/types/cookie_io_functions_t.h \
-
31 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
32 /usr/include/bits/floatn-common.h \
-
33 /home/herbglitch/programs/archeus/arc/include/arc/std/io.h \
-
34 /usr/include/stdlib.h /usr/include/bits/waitflags.h \
-
35 /usr/include/bits/waitstatus.h /usr/include/sys/types.h \
-
36 /usr/include/bits/types/clock_t.h /usr/include/bits/types/clockid_t.h \
-
37 /usr/include/bits/types/time_t.h /usr/include/bits/types/timer_t.h \
-
38 /usr/include/endian.h /usr/include/bits/endian.h \
-
39 /usr/include/bits/endianness.h /usr/include/bits/byteswap.h \
-
40 /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \
-
41 /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \
-
42 /usr/include/bits/types/__sigset_t.h \
-
43 /usr/include/bits/types/struct_timeval.h \
-
44 /usr/include/bits/types/struct_timespec.h \
-
45 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
46 /usr/include/bits/pthreadtypes-arch.h \
-
47 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
48 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
49 /usr/include/bits/stdlib-float.h /usr/include/string.h \
-
50 /usr/include/bits/types/locale_t.h /usr/include/bits/types/__locale_t.h \
-
51 /usr/include/strings.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/d8b/std_2defaults_2config_8h.html b/doc/doxygen/html/d2/d8b/std_2defaults_2config_8h.html deleted file mode 100644 index e87b93a..0000000 --- a/doc/doxygen/html/d2/d8b/std_2defaults_2config_8h.html +++ /dev/null @@ -1,998 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/defaults/config.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
config.h File Reference
-
-
-
#include <stdint.h>
-#include "arc/std/string.h"
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_Defaults_ConfigKey_Create (ARC_Config *config)
 
uint8_t ARC_ConfigKey_Read_Uint8_t (ARC_Config *config, ARC_String *string, void **value)
 
uint8_t ARC_ConfigKey_Read_Int8_t (ARC_Config *config, ARC_String *string, void **value)
 
uint8_t ARC_ConfigKey_Read_Uint16_t (ARC_Config *config, ARC_String *string, void **value)
 
uint8_t ARC_ConfigKey_Read_Int16_t (ARC_Config *config, ARC_String *string, void **value)
 
uint8_t ARC_ConfigKey_Read_Uint32_t (ARC_Config *config, ARC_String *string, void **value)
 
uint8_t ARC_ConfigKey_Read_Int32_t (ARC_Config *config, ARC_String *string, void **value)
 
uint8_t ARC_ConfigKey_Read_Uint64_t (ARC_Config *config, ARC_String *string, void **value)
 
uint8_t ARC_ConfigKey_Read_Int64_t (ARC_Config *config, ARC_String *string, void **value)
 
uint8_t ARC_ConfigKey_Read_Char (ARC_Config *config, ARC_String *string, void **value)
 
uint8_t ARC_ConfigKey_Read_Int (ARC_Config *config, ARC_String *string, void **value)
 
uint8_t ARC_ConfigKey_Read_Long (ARC_Config *config, ARC_String *string, void **value)
 
uint8_t ARC_ConfigKey_Read_Float (ARC_Config *config, ARC_String *string, void **value)
 
uint8_t ARC_ConfigKey_Read_Double (ARC_Config *config, ARC_String *string, void **value)
 
uint8_t ARC_ConfigKey_Read_String (ARC_Config *config, ARC_String *string, void **value)
 
uint8_t ARC_ConfigKey_Read_StringArray (ARC_Config *config, ARC_String *string, void **value)
 
void ARC_ConfigKey_Delete_Uint8_t (ARC_Config *config, ARC_String *string, void *value)
 
void ARC_ConfigKey_Delete_Int8_t (ARC_Config *config, ARC_String *string, void *value)
 
void ARC_ConfigKey_Delete_Uint16_t (ARC_Config *config, ARC_String *string, void *value)
 
void ARC_ConfigKey_Delete_Int16_t (ARC_Config *config, ARC_String *string, void *value)
 
void ARC_ConfigKey_Delete_Uint32_t (ARC_Config *config, ARC_String *string, void *value)
 
void ARC_ConfigKey_Delete_Int32_t (ARC_Config *config, ARC_String *string, void *value)
 
void ARC_ConfigKey_Delete_Uint64_t (ARC_Config *config, ARC_String *string, void *value)
 
void ARC_ConfigKey_Delete_Int64_t (ARC_Config *config, ARC_String *string, void *value)
 
void ARC_ConfigKey_Delete_Char (ARC_Config *config, ARC_String *string, void *value)
 
void ARC_ConfigKey_Delete_Int (ARC_Config *config, ARC_String *string, void *value)
 
void ARC_ConfigKey_Delete_Long (ARC_Config *config, ARC_String *string, void *value)
 
void ARC_ConfigKey_Delete_Float (ARC_Config *config, ARC_String *string, void *value)
 
void ARC_ConfigKey_Delete_Double (ARC_Config *config, ARC_String *string, void *value)
 
void ARC_ConfigKey_Delete_String (ARC_Config *config, ARC_String *string, void *value)
 
void ARC_ConfigKey_Delete_StringArray (ARC_Config *config, ARC_String *string, void *value)
 
-

Function Documentation

- -

◆ ARC_ConfigKey_Delete_Char()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConfigKey_Delete_Char (ARC_Config * config,
ARC_String * string,
void * value )
-
- -
-
- -

◆ ARC_ConfigKey_Delete_Double()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConfigKey_Delete_Double (ARC_Config * config,
ARC_String * string,
void * value )
-
- -
-
- -

◆ ARC_ConfigKey_Delete_Float()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConfigKey_Delete_Float (ARC_Config * config,
ARC_String * string,
void * value )
-
- -
-
- -

◆ ARC_ConfigKey_Delete_Int()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConfigKey_Delete_Int (ARC_Config * config,
ARC_String * string,
void * value )
-
- -
-
- -

◆ ARC_ConfigKey_Delete_Int16_t()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConfigKey_Delete_Int16_t (ARC_Config * config,
ARC_String * string,
void * value )
-
- -
-
- -

◆ ARC_ConfigKey_Delete_Int32_t()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConfigKey_Delete_Int32_t (ARC_Config * config,
ARC_String * string,
void * value )
-
- -
-
- -

◆ ARC_ConfigKey_Delete_Int64_t()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConfigKey_Delete_Int64_t (ARC_Config * config,
ARC_String * string,
void * value )
-
- -
-
- -

◆ ARC_ConfigKey_Delete_Int8_t()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConfigKey_Delete_Int8_t (ARC_Config * config,
ARC_String * string,
void * value )
-
- -
-
- -

◆ ARC_ConfigKey_Delete_Long()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConfigKey_Delete_Long (ARC_Config * config,
ARC_String * string,
void * value )
-
- -
-
- -

◆ ARC_ConfigKey_Delete_String()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConfigKey_Delete_String (ARC_Config * config,
ARC_String * string,
void * value )
-
- -
-
- -

◆ ARC_ConfigKey_Delete_StringArray()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConfigKey_Delete_StringArray (ARC_Config * config,
ARC_String * string,
void * value )
-
- -
-
- -

◆ ARC_ConfigKey_Delete_Uint16_t()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConfigKey_Delete_Uint16_t (ARC_Config * config,
ARC_String * string,
void * value )
-
- -
-
- -

◆ ARC_ConfigKey_Delete_Uint32_t()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConfigKey_Delete_Uint32_t (ARC_Config * config,
ARC_String * string,
void * value )
-
- -
-
- -

◆ ARC_ConfigKey_Delete_Uint64_t()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConfigKey_Delete_Uint64_t (ARC_Config * config,
ARC_String * string,
void * value )
-
- -
-
- -

◆ ARC_ConfigKey_Delete_Uint8_t()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConfigKey_Delete_Uint8_t (ARC_Config * config,
ARC_String * string,
void * value )
-
- -
-
- -

◆ ARC_ConfigKey_Read_Char()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_ConfigKey_Read_Char (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -
-
- -

◆ ARC_ConfigKey_Read_Double()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_ConfigKey_Read_Double (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -
-
- -

◆ ARC_ConfigKey_Read_Float()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_ConfigKey_Read_Float (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -
-
- -

◆ ARC_ConfigKey_Read_Int()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_ConfigKey_Read_Int (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -
-
- -

◆ ARC_ConfigKey_Read_Int16_t()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_ConfigKey_Read_Int16_t (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -
-
- -

◆ ARC_ConfigKey_Read_Int32_t()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_ConfigKey_Read_Int32_t (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -
-
- -

◆ ARC_ConfigKey_Read_Int64_t()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_ConfigKey_Read_Int64_t (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -
-
- -

◆ ARC_ConfigKey_Read_Int8_t()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_ConfigKey_Read_Int8_t (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -
-
- -

◆ ARC_ConfigKey_Read_Long()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_ConfigKey_Read_Long (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -
-
- -

◆ ARC_ConfigKey_Read_String()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_ConfigKey_Read_String (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -
-
- -

◆ ARC_ConfigKey_Read_StringArray()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_ConfigKey_Read_StringArray (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -
-
- -

◆ ARC_ConfigKey_Read_Uint16_t()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_ConfigKey_Read_Uint16_t (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -
-
- -

◆ ARC_ConfigKey_Read_Uint32_t()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_ConfigKey_Read_Uint32_t (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -
-
- -

◆ ARC_ConfigKey_Read_Uint64_t()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_ConfigKey_Read_Uint64_t (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -
-
- -

◆ ARC_ConfigKey_Read_Uint8_t()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_ConfigKey_Read_Uint8_t (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -
-
- -

◆ ARC_Defaults_ConfigKey_Create()

- -
-
- - - - - - - -
void ARC_Defaults_ConfigKey_Create (ARC_Config * config)
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/d8b/std_2defaults_2config_8h.js b/doc/doxygen/html/d2/d8b/std_2defaults_2config_8h.js deleted file mode 100644 index 21d63d1..0000000 --- a/doc/doxygen/html/d2/d8b/std_2defaults_2config_8h.js +++ /dev/null @@ -1,34 +0,0 @@ -var std_2defaults_2config_8h = -[ - [ "ARC_ConfigKey_Delete_Char", "d2/d8b/std_2defaults_2config_8h.html#a714f11d408924c8ac2f28dc2d0da7048", null ], - [ "ARC_ConfigKey_Delete_Double", "d2/d8b/std_2defaults_2config_8h.html#a4b475fb1b9a5b46a02f6af583f346dab", null ], - [ "ARC_ConfigKey_Delete_Float", "d2/d8b/std_2defaults_2config_8h.html#a0a3a58cdf12c63481b4f66628e0c583d", null ], - [ "ARC_ConfigKey_Delete_Int", "d2/d8b/std_2defaults_2config_8h.html#a302289726d5bc01e615aa49e107d6df7", null ], - [ "ARC_ConfigKey_Delete_Int16_t", "d2/d8b/std_2defaults_2config_8h.html#a75c5d9178a856540df0a5dd32b10a2c0", null ], - [ "ARC_ConfigKey_Delete_Int32_t", "d2/d8b/std_2defaults_2config_8h.html#a05530e3e95652d77b40bd8c8576175e4", null ], - [ "ARC_ConfigKey_Delete_Int64_t", "d2/d8b/std_2defaults_2config_8h.html#a5e5d48965891cf59aa1488f71d53faee", null ], - [ "ARC_ConfigKey_Delete_Int8_t", "d2/d8b/std_2defaults_2config_8h.html#a04995ce12de24dbb2a7d22997e50dcba", null ], - [ "ARC_ConfigKey_Delete_Long", "d2/d8b/std_2defaults_2config_8h.html#a6c06ea939baa49901ef349484a0e8f36", null ], - [ "ARC_ConfigKey_Delete_String", "d2/d8b/std_2defaults_2config_8h.html#a6e51a60a59f999da062dfefbe3a4f6aa", null ], - [ "ARC_ConfigKey_Delete_StringArray", "d2/d8b/std_2defaults_2config_8h.html#a242bf34af9bad3e81f5d344056b8f5b1", null ], - [ "ARC_ConfigKey_Delete_Uint16_t", "d2/d8b/std_2defaults_2config_8h.html#a6cd4d333d1bb5614c8a079b1e5a7ddee", null ], - [ "ARC_ConfigKey_Delete_Uint32_t", "d2/d8b/std_2defaults_2config_8h.html#a0a9e89bb6eec8fa49d6464a67aea2059", null ], - [ "ARC_ConfigKey_Delete_Uint64_t", "d2/d8b/std_2defaults_2config_8h.html#a6b824be09ce7574d86d3b19ca3c19bc9", null ], - [ "ARC_ConfigKey_Delete_Uint8_t", "d2/d8b/std_2defaults_2config_8h.html#abd7ea9582cb63c5ff19f73ea2482a576", null ], - [ "ARC_ConfigKey_Read_Char", "d2/d8b/std_2defaults_2config_8h.html#a4e1e616e19e520f833954170e0c09f11", null ], - [ "ARC_ConfigKey_Read_Double", "d2/d8b/std_2defaults_2config_8h.html#a74340e8c628f79b71b7ae644d88c6d68", null ], - [ "ARC_ConfigKey_Read_Float", "d2/d8b/std_2defaults_2config_8h.html#a0826b43e64879ebfb382d6d83f3887b1", null ], - [ "ARC_ConfigKey_Read_Int", "d2/d8b/std_2defaults_2config_8h.html#af853d36f1347a777605ef794260a3d5a", null ], - [ "ARC_ConfigKey_Read_Int16_t", "d2/d8b/std_2defaults_2config_8h.html#a094c00966b8859fa344b5b30da6c628b", null ], - [ "ARC_ConfigKey_Read_Int32_t", "d2/d8b/std_2defaults_2config_8h.html#a82cb7f0ce2a74506456ddeeee65e6d05", null ], - [ "ARC_ConfigKey_Read_Int64_t", "d2/d8b/std_2defaults_2config_8h.html#a0705b5f0a58f9e85c8659e834eb43d13", null ], - [ "ARC_ConfigKey_Read_Int8_t", "d2/d8b/std_2defaults_2config_8h.html#a1d2b6e81202f9d48da75fa311b0555de", null ], - [ "ARC_ConfigKey_Read_Long", "d2/d8b/std_2defaults_2config_8h.html#aa83dd3f1847bbf521c7b44eaaaee7164", null ], - [ "ARC_ConfigKey_Read_String", "d2/d8b/std_2defaults_2config_8h.html#a3708662477367696c3f31863d71c1ab1", null ], - [ "ARC_ConfigKey_Read_StringArray", "d2/d8b/std_2defaults_2config_8h.html#a63ff0e016aba0804a036f3c5312c5c25", null ], - [ "ARC_ConfigKey_Read_Uint16_t", "d2/d8b/std_2defaults_2config_8h.html#a2b4e34972bb1491d936c0f2ea9f21d15", null ], - [ "ARC_ConfigKey_Read_Uint32_t", "d2/d8b/std_2defaults_2config_8h.html#ab020cb7a36b094240f5a34352f38a9fc", null ], - [ "ARC_ConfigKey_Read_Uint64_t", "d2/d8b/std_2defaults_2config_8h.html#abc1a62ac4b3599caf513119599211b6f", null ], - [ "ARC_ConfigKey_Read_Uint8_t", "d2/d8b/std_2defaults_2config_8h.html#a5b3e1d8b4be7a58a7671b3c6e7c19d64", null ], - [ "ARC_Defaults_ConfigKey_Create", "d2/d8b/std_2defaults_2config_8h.html#ab30944b0ee2b4e067338e8ad031c781d", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d2/d8b/std_2defaults_2config_8h_source.html b/doc/doxygen/html/d2/d8b/std_2defaults_2config_8h_source.html deleted file mode 100644 index d29af1e..0000000 --- a/doc/doxygen/html/d2/d8b/std_2defaults_2config_8h_source.html +++ /dev/null @@ -1,212 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/defaults/config.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_DEFAULTS_CONFIG_H_
-
2#define ARC_DEFAULTS_CONFIG_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include <stdint.h>
-
9#include "arc/std/string.h"
-
10
-
11typedef struct ARC_Config ARC_Config;
- -
13
-
14uint8_t ARC_ConfigKey_Read_Uint8_t (ARC_Config *config, ARC_String *string, void **value);
-
15uint8_t ARC_ConfigKey_Read_Int8_t (ARC_Config *config, ARC_String *string, void **value);
-
16uint8_t ARC_ConfigKey_Read_Uint16_t (ARC_Config *config, ARC_String *string, void **value);
-
17uint8_t ARC_ConfigKey_Read_Int16_t (ARC_Config *config, ARC_String *string, void **value);
-
18uint8_t ARC_ConfigKey_Read_Uint32_t (ARC_Config *config, ARC_String *string, void **value);
-
19uint8_t ARC_ConfigKey_Read_Int32_t (ARC_Config *config, ARC_String *string, void **value);
-
20uint8_t ARC_ConfigKey_Read_Uint64_t (ARC_Config *config, ARC_String *string, void **value);
-
21uint8_t ARC_ConfigKey_Read_Int64_t (ARC_Config *config, ARC_String *string, void **value);
-
22uint8_t ARC_ConfigKey_Read_Char (ARC_Config *config, ARC_String *string, void **value);
-
23uint8_t ARC_ConfigKey_Read_Int (ARC_Config *config, ARC_String *string, void **value);
-
24uint8_t ARC_ConfigKey_Read_Long (ARC_Config *config, ARC_String *string, void **value);
-
25uint8_t ARC_ConfigKey_Read_Float (ARC_Config *config, ARC_String *string, void **value);
-
26uint8_t ARC_ConfigKey_Read_Double (ARC_Config *config, ARC_String *string, void **value);
-
27uint8_t ARC_ConfigKey_Read_String (ARC_Config *config, ARC_String *string, void **value);
-
28uint8_t ARC_ConfigKey_Read_StringArray(ARC_Config *config, ARC_String *string, void **value);
-
29
-
30void ARC_ConfigKey_Delete_Uint8_t (ARC_Config *config, ARC_String *string, void *value);
-
31void ARC_ConfigKey_Delete_Int8_t (ARC_Config *config, ARC_String *string, void *value);
-
32void ARC_ConfigKey_Delete_Uint16_t (ARC_Config *config, ARC_String *string, void *value);
-
33void ARC_ConfigKey_Delete_Int16_t (ARC_Config *config, ARC_String *string, void *value);
-
34void ARC_ConfigKey_Delete_Uint32_t (ARC_Config *config, ARC_String *string, void *value);
-
35void ARC_ConfigKey_Delete_Int32_t (ARC_Config *config, ARC_String *string, void *value);
-
36void ARC_ConfigKey_Delete_Uint64_t (ARC_Config *config, ARC_String *string, void *value);
-
37void ARC_ConfigKey_Delete_Int64_t (ARC_Config *config, ARC_String *string, void *value);
-
38void ARC_ConfigKey_Delete_Char (ARC_Config *config, ARC_String *string, void *value);
-
39void ARC_ConfigKey_Delete_Int (ARC_Config *config, ARC_String *string, void *value);
-
40void ARC_ConfigKey_Delete_Long (ARC_Config *config, ARC_String *string, void *value);
-
41void ARC_ConfigKey_Delete_Float (ARC_Config *config, ARC_String *string, void *value);
-
42void ARC_ConfigKey_Delete_Double (ARC_Config *config, ARC_String *string, void *value);
-
43void ARC_ConfigKey_Delete_String (ARC_Config *config, ARC_String *string, void *value);
-
44void ARC_ConfigKey_Delete_StringArray(ARC_Config *config, ARC_String *string, void *value);
-
45
-
46#ifdef __cplusplus
-
47}
-
48#endif
-
49
-
50#endif //ARC_DEFAULTS_CONFIG_H_
-
struct ARC_Config ARC_Config
a type that keeps permanice of data for when loading and unloading config files
Definition config.h:11
-
void ARC_ConfigKey_Delete_Int8_t(ARC_Config *config, ARC_String *string, void *value)
-
void ARC_ConfigKey_Delete_Int32_t(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_ConfigKey_Read_Int64_t(ARC_Config *config, ARC_String *string, void **value)
-
uint8_t ARC_ConfigKey_Read_Float(ARC_Config *config, ARC_String *string, void **value)
-
uint8_t ARC_ConfigKey_Read_Int16_t(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_ConfigKey_Delete_Float(ARC_Config *config, ARC_String *string, void *value)
-
void ARC_ConfigKey_Delete_Uint32_t(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_ConfigKey_Read_Int8_t(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_ConfigKey_Delete_StringArray(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_ConfigKey_Read_Uint16_t(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_ConfigKey_Delete_Int(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_ConfigKey_Read_String(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_ConfigKey_Delete_Double(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_ConfigKey_Read_Char(ARC_Config *config, ARC_String *string, void **value)
-
uint8_t ARC_ConfigKey_Read_Uint8_t(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_ConfigKey_Delete_Int64_t(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_ConfigKey_Read_StringArray(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_ConfigKey_Delete_Uint64_t(ARC_Config *config, ARC_String *string, void *value)
-
void ARC_ConfigKey_Delete_Long(ARC_Config *config, ARC_String *string, void *value)
-
void ARC_ConfigKey_Delete_Uint16_t(ARC_Config *config, ARC_String *string, void *value)
-
void ARC_ConfigKey_Delete_String(ARC_Config *config, ARC_String *string, void *value)
-
void ARC_ConfigKey_Delete_Char(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_ConfigKey_Read_Double(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_ConfigKey_Delete_Int16_t(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_ConfigKey_Read_Int32_t(ARC_Config *config, ARC_String *string, void **value)
-
uint8_t ARC_ConfigKey_Read_Long(ARC_Config *config, ARC_String *string, void **value)
-
uint8_t ARC_ConfigKey_Read_Uint32_t(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_Defaults_ConfigKey_Create(ARC_Config *config)
-
uint8_t ARC_ConfigKey_Read_Uint64_t(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_ConfigKey_Delete_Uint8_t(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_ConfigKey_Read_Int(ARC_Config *config, ARC_String *string, void **value)
- -
substring position within a string
Definition string.h:14
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/d91/point_8h.html b/doc/doxygen/html/d2/d91/point_8h.html deleted file mode 100644 index 17ec156..0000000 --- a/doc/doxygen/html/d2/d91/point_8h.html +++ /dev/null @@ -1,229 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/math/point.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
point.h File Reference
-
-
-
#include <stdint.h>
-
-

Go to the source code of this file.

- - - - - - - - -

-Data Structures

struct  ARC_Point
 
struct  ARC_UPoint
 
struct  ARC_FPoint
 
- - - - - - - -

-Typedefs

typedef struct ARC_Point ARC_Point
 
typedef struct ARC_UPoint ARC_UPoint
 
typedef struct ARC_FPoint ARC_FPoint
 
- - - -

-Functions

ARC_FPoint ARC_FPoint_Lerp (ARC_FPoint *start, ARC_FPoint *end, float t)
 
-

Typedef Documentation

- -

◆ ARC_FPoint

- -
-
- - - - -
typedef struct ARC_FPoint ARC_FPoint
-
- -
-
- -

◆ ARC_Point

- -
-
- - - - -
typedef struct ARC_Point ARC_Point
-
- -
-
- -

◆ ARC_UPoint

- -
-
- - - - -
typedef struct ARC_UPoint ARC_UPoint
-
- -
-
-

Function Documentation

- -

◆ ARC_FPoint_Lerp()

- -
-
- - - - - - - - - - - - - - - - -
ARC_FPoint ARC_FPoint_Lerp (ARC_FPoint * start,
ARC_FPoint * end,
float t )
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/d91/point_8h.js b/doc/doxygen/html/d2/d91/point_8h.js deleted file mode 100644 index a8f0f6a..0000000 --- a/doc/doxygen/html/d2/d91/point_8h.js +++ /dev/null @@ -1,10 +0,0 @@ -var point_8h = -[ - [ "ARC_Point", "d2/d9d/structARC__Point.html", "d2/d9d/structARC__Point" ], - [ "ARC_UPoint", "db/df9/structARC__UPoint.html", "db/df9/structARC__UPoint" ], - [ "ARC_FPoint", "d4/da4/structARC__FPoint.html", "d4/da4/structARC__FPoint" ], - [ "ARC_FPoint", "d2/d91/point_8h.html#a5586e0cc0a89b44a4096f8c7d42c6c8b", null ], - [ "ARC_Point", "d2/d91/point_8h.html#a958d6849dfac2913f876cbd8b1fb3779", null ], - [ "ARC_UPoint", "d2/d91/point_8h.html#a6fb283a2f6721f8fa84a9cf990881344", null ], - [ "ARC_FPoint_Lerp", "d2/d91/point_8h.html#a3a31f7a5b50dea1ed1863b1ee0cb82c7", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d2/d91/point_8h_source.html b/doc/doxygen/html/d2/d91/point_8h_source.html deleted file mode 100644 index 4a99316..0000000 --- a/doc/doxygen/html/d2/d91/point_8h_source.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/math/point.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
point.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_MATH_POINT_H_
-
2#define ARC_MATH_POINT_H_
-
3
-
4#include <stdint.h>
-
5
-
6#ifdef __cplusplus
-
7extern "C" {
-
8#endif
-
9
-
-
10typedef struct ARC_Point {
-
11 int32_t x;
-
12 int32_t y;
- -
-
14
-
-
15typedef struct ARC_UPoint {
-
16 uint32_t x;
-
17 uint32_t y;
- -
-
19
-
-
20typedef struct ARC_FPoint {
-
21 float x;
-
22 float y;
- -
-
24
- -
26
-
27#ifdef __cplusplus
-
28}
-
29#endif
-
30
-
31#endif // ARC_MATH_POINT_H_
-
ARC_FPoint ARC_FPoint_Lerp(ARC_FPoint *start, ARC_FPoint *end, float t)
-
struct ARC_FPoint ARC_FPoint
-
struct ARC_UPoint ARC_UPoint
-
struct ARC_Point ARC_Point
- -
float x
Definition point.h:21
-
float y
Definition point.h:22
- -
int32_t y
Definition point.h:12
-
int32_t x
Definition point.h:11
- -
uint32_t x
Definition point.h:16
-
uint32_t y
Definition point.h:17
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/d9d/structARC__Point.html b/doc/doxygen/html/d2/d9d/structARC__Point.html deleted file mode 100644 index 5a82457..0000000 --- a/doc/doxygen/html/d2/d9d/structARC__Point.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - -Archeus: ARC_Point Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_Point Struct Reference
-
-
- -

#include <point.h>

- - - - - - -

-Data Fields

int32_t x
 
int32_t y
 
-

Detailed Description

-
-

Definition at line 10 of file point.h.

-

Field Documentation

- -

◆ x

- -
-
- - - - -
int32_t ARC_Point::x
-
- -

Definition at line 11 of file point.h.

- -
-
- -

◆ y

- -
-
- - - - -
int32_t ARC_Point::y
-
- -

Definition at line 12 of file point.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/include/arc/math/point.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/d9d/structARC__Point.js b/doc/doxygen/html/d2/d9d/structARC__Point.js deleted file mode 100644 index b531cb7..0000000 --- a/doc/doxygen/html/d2/d9d/structARC__Point.js +++ /dev/null @@ -1,5 +0,0 @@ -var structARC__Point = -[ - [ "x", "d2/d9d/structARC__Point.html#aec135156ef69b46e71be21a02aad82e2", null ], - [ "y", "d2/d9d/structARC__Point.html#a0b72b34f989c0351e5e64ba0b46bac8c", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d2/da7/std_2defaults_2config_8c.html b/doc/doxygen/html/d2/da7/std_2defaults_2config_8c.html deleted file mode 100644 index 24ccfb9..0000000 --- a/doc/doxygen/html/d2/da7/std_2defaults_2config_8c.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/defaults/config.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
config.c File Reference
-
- - - -
- - diff --git a/doc/doxygen/html/d2/da7/std_2defaults_2config_8c_source.html b/doc/doxygen/html/d2/da7/std_2defaults_2config_8c_source.html deleted file mode 100644 index 84e3aea..0000000 --- a/doc/doxygen/html/d2/da7/std_2defaults_2config_8c_source.html +++ /dev/null @@ -1,498 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/defaults/config.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
config.c
-
-
-Go to the documentation of this file.
1#include "arc/std/string.h"
-
2#ifdef ARC_DEFAULT_CONFIG
-
3
- -
5
-
6#include "arc/std/array.h"
-
7#include "arc/std/config.h"
-
8#include "arc/std/errno.h"
-
9#include <stdio.h>
-
10#include <stdlib.h>
-
11#include <string.h>
-
12
- - - - - - - - - -
22 // ARC_Config_AddKeyCString(config, "char" , 4, ARC_ConfigKey_Read_Char , ARC_ConfigKey_Delete_Char );
- - - - - - -
29}
-
30
-
31uint8_t ARC_ConfigKey_Read_Uint8_t(ARC_Config* config, ARC_String *string, void **value){
-
32 ARC_Config_Get(config, string, value);
-
33 if(*value){
-
34 return 1;
-
35 }
-
36
-
37 *value = (uint8_t *) malloc(sizeof(uint8_t));
-
38 *((uint8_t *)(*value)) = (uint8_t) ARC_String_ToUint64_t(string);
-
39 return 0;
-
40}
-
41
-
42
-
43uint8_t ARC_ConfigKey_Read_Int8_t(ARC_Config* config, ARC_String *string, void **value){
-
44 ARC_Config_Get(config, string, value);
-
45 if(*value){
-
46 return 1;
-
47 }
-
48
-
49 *value = (int8_t *) malloc(sizeof(int8_t));
-
50 *((int8_t *)(*value)) = (int8_t) ARC_String_ToInt64_t(string);
-
51 return 0;
-
52}
-
53
-
54uint8_t ARC_ConfigKey_Read_Uint16_t(ARC_Config* config, ARC_String *string, void **value){
-
55 ARC_Config_Get(config, string, value);
-
56 if(*value){
-
57 return 1;
-
58 }
-
59
-
60 *value = (uint16_t *) malloc(sizeof(uint16_t));
-
61 *((uint16_t *)(*value)) = (uint16_t) ARC_String_ToUint64_t(string);
-
62 return 0;
-
63}
-
64
-
65uint8_t ARC_ConfigKey_Read_Int16_t(ARC_Config* config, ARC_String *string, void **value){
-
66 ARC_Config_Get(config, string, value);
-
67 if(*value){
-
68 return 1;
-
69 }
-
70
-
71 *value = (int16_t *) malloc(sizeof(int16_t));
-
72 *((int16_t *)(*value)) = (int16_t) ARC_String_ToInt64_t(string);
-
73 return 0;
-
74}
-
75
-
76uint8_t ARC_ConfigKey_Read_Uint32_t(ARC_Config* config, ARC_String *string, void **value){
-
77 ARC_Config_Get(config, string, value);
-
78 if(*value){
-
79 return 1;
-
80 }
-
81
-
82 *value = (uint32_t *) malloc(sizeof(uint32_t));
-
83 *((uint32_t *)(*value)) = (uint32_t) ARC_String_ToUint64_t(string);
-
84 return 0;
-
85}
-
86
-
87uint8_t ARC_ConfigKey_Read_Int32_t(ARC_Config* config, ARC_String *string, void **value){
-
88 ARC_Config_Get(config, string, value);
-
89 if(*value){
-
90 return 1;
-
91 }
-
92
-
93 *value = (int32_t *) malloc(sizeof(int32_t));
-
94 *((int32_t *)(*value)) = (int32_t) ARC_String_ToInt64_t(string);
-
95 return 0;
-
96}
-
97
-
98uint8_t ARC_ConfigKey_Read_Uint64_t(ARC_Config* config, ARC_String *string, void **value){
-
99 ARC_Config_Get(config, string, value);
-
100 if(*value){
-
101 return 1;
-
102 }
-
103
-
104 *value = (uint64_t *) malloc(sizeof(uint64_t));
-
105 *((uint64_t *)(*value)) = (uint64_t) ARC_String_ToUint64_t(string);
-
106 return 0;
-
107}
-
108
-
109uint8_t ARC_ConfigKey_Read_Int64_t(ARC_Config* config, ARC_String *string, void **value){
-
110 ARC_Config_Get(config, string, value);
-
111 if(*value){
-
112 return 1;
-
113 }
-
114
-
115 *value = (int64_t *) malloc(sizeof(int64_t));
-
116 *((int64_t *)(*value)) = (int64_t) ARC_String_ToInt64_t(string);
-
117 return 0;
-
118}
-
119
-
120uint8_t ARC_ConfigKey_Read_Char_t(ARC_Config* config, ARC_String *string, void **value){
-
121 ARC_Config_Get(config, string, value);
-
122 if(*value){
-
123 return 1;
-
124 }
-
125
-
126 if(string->length != 1){
- -
128 return 0;
-
129 }
-
130
-
131 *value = (char *) malloc(sizeof(char));
-
132 *((char *)(*value)) = string->data[0];
-
133 return 0;
-
134}
-
135
-
136uint8_t ARC_ConfigKey_Read_Int(ARC_Config* config, ARC_String *string, void **value){
-
137 ARC_Config_Get(config, string, value);
-
138 if(*value){
-
139 return 1;
-
140 }
-
141
-
142 *value = (int *) malloc(sizeof(int));
-
143 *((int *)(*value)) = (int) ARC_String_ToInt64_t(string);
-
144 return 0;
-
145}
-
146
-
147uint8_t ARC_ConfigKey_Read_Long(ARC_Config* config, ARC_String *string, void **value){
-
148 ARC_Config_Get(config, string, value);
-
149 if(*value){
-
150 return 1;
-
151 }
-
152
-
153 *value = (long *) malloc(sizeof(long));
-
154 *((long *)(*value)) = (long) ARC_String_ToInt64_t(string);
-
155 return 0;
-
156}
-
157
-
158uint8_t ARC_ConfigKey_Read_Float(ARC_Config* config, ARC_String *string, void **value){
-
159 ARC_Config_Get(config, string, value);
-
160 if(*value){
-
161 return 1;
-
162 }
-
163
-
164 *value = (float *) malloc(sizeof(float));
-
165 *((float *)(*value)) = (float) ARC_String_ToDouble(string);
-
166 return 0;
-
167}
-
168
-
169uint8_t ARC_ConfigKey_Read_Double(ARC_Config* config, ARC_String *string, void **value){
-
170 ARC_Config_Get(config, string, value);
-
171 if(*value){
-
172 return 1;
-
173 }
-
174
-
175 *value = (double *) malloc(sizeof(double));
-
176 *((double *)(*value)) = (double) ARC_String_ToDouble(string);
-
177 return 0;
-
178}
-
179
-
180uint8_t ARC_ConfigKey_Read_String(ARC_Config* config, ARC_String *string, void **value){
-
181 ARC_Config_Get(config, string, value);
-
182 if(*value){
-
183 return 1;
-
184 }
-
185
-
186 if(string->data[0] != '"' || string->data[string->length - 1] != '"'){
- -
188 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_ConfigKey_Read_String(config, string, value); no matching quotes: %s", string->data);
-
189 return 0;
-
190 }
-
191
-
192 ARC_String_CopySubstring((ARC_String **)value, string, 1, string->length - 2);
-
193 return 0;
-
194}
-
195
-
196void ARC_ConfigKey_StringArray_ReadString(ARC_Config* config, ARC_String *stripped, uint64_t index, uint64_t length, uint64_t *arrayIndex, void **value){
-
197 ARC_String *substr, *temp;
-
198 ARC_String_CopySubstring(&temp, stripped, index, length);
-
199 ARC_String_StripEndsWhitespace(&substr, temp);
-
200 ARC_String_Destroy(temp);
-
201
-
202 // reading in reference
-
203 ARC_String *tempString;
-
204 // ARC_Config_Get(config, substr, (void **) &tempString);
-
205 // if(tempString){
-
206 // ARC_String_Destroy(substr);
-
207
-
208 // ((ARC_String *)((ARC_Array *) *value)->data)[*arrayIndex] = *tempString;
-
209 // ++*arrayIndex;
-
210
-
211 // return;
-
212 // }
-
213
-
214 //reading in value
-
215 ARC_ConfigKey_Read_String(config, substr, (void **) &tempString);
-
216 if(arc_errno){
-
217 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_RectArray_ReadRect(config, string, index, length, arrayIndex, value); failed to read string: %s", substr->data);
-
218 ARC_String_Destroy(substr);
-
219 return;
-
220 }
-
221
-
222 ((ARC_String **)((ARC_Array *) *value)->data)[*arrayIndex] = tempString;
-
223 ++*arrayIndex;
-
224
-
225 ARC_String_Destroy(substr);
-
226}
-
227
-
228uint8_t ARC_ConfigKey_Read_StringArray(ARC_Config* config, ARC_String *string, void **value){
-
229 ARC_Config_Get(config, string, value);
-
230 if(*value){
-
231 return 1;
-
232 }
-
233
-
234 if(string->data[0] != '{' || string->data[string->length - 1] != '}'){
- -
236 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_ConfigKey_Read_StringArray(config, string, value); no matching curly braces: %s", string->data);
-
237 return 0;
-
238 }
-
239
-
240 ARC_String *temp, *stripped;
-
241 ARC_String_CopySubstring(&temp, string, 1, string->length - 2);
-
242 ARC_String_StripEndsWhitespace(&stripped, temp);
-
243 ARC_String_Destroy(temp);
-
244
-
245 uint64_t arraySize = 1;
-
246 for(uint64_t i = 0; i < stripped->length; i++){
-
247 if(stripped->data[i] == ','){
-
248 arraySize++;
-
249 }
-
250 }
-
251
-
252 *value = malloc(sizeof(ARC_Array));
-
253 ((ARC_Array *) *value)->data = malloc(sizeof(ARC_String *) * arraySize);
-
254 ((ARC_Array *) *value)->size = arraySize;
-
255
-
256 uint64_t index = 0;
-
257 arraySize = 0;
-
258 for(uint64_t i = 0; i < stripped->length; i++){
-
259 if(stripped->data[i] == ','){
-
260 ARC_ConfigKey_StringArray_ReadString(config, stripped, index, i - index, &arraySize, value);
-
261 if(arc_errno){
-
262 return 0;
-
263 }
-
264
-
265 index = i + 1;
-
266
-
267 if(arraySize == ((ARC_Array *) *value)->size){
-
268 break;
-
269 }
-
270 }
-
271 }
-
272
-
273 if(arraySize != ((ARC_Array *) *value)->size){
-
274 ARC_ConfigKey_StringArray_ReadString(config, stripped, index, stripped->length - index, &arraySize, value);
-
275 }
-
276 ARC_String_Destroy(stripped);
-
277 return 0;
-
278}
-
279
-
280
-
281
-
282void ARC_ConfigKey_Delete_Uint8_t(ARC_Config *config, ARC_String *string, void *value){
-
283 free((uint8_t *)value);
-
284}
-
285
-
286void ARC_ConfigKey_Delete_Int8_t(ARC_Config *config, ARC_String *string, void *value){
-
287 free((int8_t *)value);
-
288}
-
289
-
290void ARC_ConfigKey_Delete_Uint16_t(ARC_Config *config, ARC_String *string, void *value){
-
291 free((uint16_t *)value);
-
292}
-
293
-
294void ARC_ConfigKey_Delete_Int16_t(ARC_Config *config, ARC_String *string, void *value){
-
295 free((int16_t *)value);
-
296}
-
297
-
298void ARC_ConfigKey_Delete_Uint32_t(ARC_Config *config, ARC_String *string, void *value){
-
299 free((uint32_t *)value);
-
300}
-
301
-
302void ARC_ConfigKey_Delete_Int32_t(ARC_Config *config, ARC_String *string, void *value){
-
303 free((int32_t *)value);
-
304}
-
305
-
306void ARC_ConfigKey_Delete_Uint64_t(ARC_Config *config, ARC_String *string, void *value){
-
307 free((uint64_t *)value);
-
308}
-
309
-
310void ARC_ConfigKey_Delete_Int64_t(ARC_Config *config, ARC_String *string, void *value){
-
311 free((int64_t *)value);
-
312}
-
313
-
314void ARC_ConfigKey_Delete_Char(ARC_Config *config, ARC_String *string, void *value){
-
315 free((char *)value);
-
316}
-
317
-
318void ARC_ConfigKey_Delete_Int(ARC_Config *config, ARC_String *string, void *value){
-
319 free((int *)value);
-
320}
-
321
-
322void ARC_ConfigKey_Delete_Long(ARC_Config *config, ARC_String *string, void *value){
-
323 free((long *)value);
-
324}
-
325
-
326void ARC_ConfigKey_Delete_Float(ARC_Config *config, ARC_String *string, void *value){
-
327 free((float *)value);
-
328}
-
329
-
330void ARC_ConfigKey_Delete_Double(ARC_Config *config, ARC_String *string, void *value){
-
331 free((double *)value);
-
332}
-
333
-
334void ARC_ConfigKey_Delete_String(ARC_Config *config, ARC_String *string, void *value){
- -
336}
-
337
-
338void ARC_ConfigKey_Delete_StringArray(ARC_Config *config, ARC_String *string, void *value){
-
339 for(uint32_t i = 0; i < ((ARC_Array *)value)->size; i++){
-
340 free(((ARC_String **)((ARC_Array *)value)->data)[i]);
-
341 }
-
342 free((ARC_Array *)value);
-
343}
-
344
-
345#endif //ARC_DEFAULT_CONFIG
- - -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_ERRNO_DATA
Definition errno.h:7
- -
void ARC_Config_AddKeyCString(ARC_Config *config, const char *type, uint64_t length, ARC_ConfigKeyRead keyRead, ARC_ConfigKeyDelete keyDelete)
adds a key from a cstring
Definition config.c:55
-
void ARC_Config_Get(ARC_Config *config, ARC_String *keyname, void **value)
get a value from a given keyname
Definition config.c:124
- -
void ARC_ConfigKey_Delete_Int8_t(ARC_Config *config, ARC_String *string, void *value)
-
void ARC_ConfigKey_Delete_Int32_t(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_ConfigKey_Read_Int64_t(ARC_Config *config, ARC_String *string, void **value)
-
uint8_t ARC_ConfigKey_Read_Float(ARC_Config *config, ARC_String *string, void **value)
-
uint8_t ARC_ConfigKey_Read_Int16_t(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_ConfigKey_Delete_Float(ARC_Config *config, ARC_String *string, void *value)
-
void ARC_ConfigKey_Delete_Uint32_t(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_ConfigKey_Read_Int8_t(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_ConfigKey_Delete_StringArray(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_ConfigKey_Read_Uint16_t(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_ConfigKey_Delete_Int(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_ConfigKey_Read_String(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_ConfigKey_Delete_Double(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_ConfigKey_Read_Uint8_t(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_ConfigKey_Delete_Int64_t(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_ConfigKey_Read_StringArray(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_ConfigKey_Delete_Uint64_t(ARC_Config *config, ARC_String *string, void *value)
-
void ARC_ConfigKey_Delete_Long(ARC_Config *config, ARC_String *string, void *value)
-
void ARC_ConfigKey_Delete_Uint16_t(ARC_Config *config, ARC_String *string, void *value)
-
void ARC_ConfigKey_Delete_String(ARC_Config *config, ARC_String *string, void *value)
-
void ARC_ConfigKey_Delete_Char(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_ConfigKey_Read_Double(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_ConfigKey_Delete_Int16_t(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_ConfigKey_Read_Int32_t(ARC_Config *config, ARC_String *string, void **value)
-
uint8_t ARC_ConfigKey_Read_Long(ARC_Config *config, ARC_String *string, void **value)
-
uint8_t ARC_ConfigKey_Read_Uint32_t(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_Defaults_ConfigKey_Create(ARC_Config *config)
-
uint8_t ARC_ConfigKey_Read_Uint64_t(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_ConfigKey_Delete_Uint8_t(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_ConfigKey_Read_Int(ARC_Config *config, ARC_String *string, void **value)
- -
uint64_t ARC_String_ToUint64_t(ARC_String *string)
converst substring from string to uint64_t
Definition string.c:218
-
void ARC_String_StripEndsWhitespace(ARC_String **stripped, ARC_String *original)
strips the whitespace from the ends of a string
Definition string.c:437
-
int64_t ARC_String_ToInt64_t(ARC_String *string)
converst substring from string to int64_t
Definition string.c:222
-
void ARC_String_CopySubstring(ARC_String **substring, ARC_String *original, uint64_t start, uint64_t length)
copy a subtring from a givin ARC_String
Definition string.c:72
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
double ARC_String_ToDouble(ARC_String *string)
converst substring from string to double
Definition string.c:226
-
a type that holds an array of data and its size
Definition array.h:13
- -
substring position within a string
Definition string.h:14
-
uint64_t length
Definition string.h:16
-
char * data
Definition string.h:15
-
- - -
- - diff --git a/doc/doxygen/html/d2/dba/graphics_2obround_8h.html b/doc/doxygen/html/d2/dba/graphics_2obround_8h.html deleted file mode 100644 index 55a446f..0000000 --- a/doc/doxygen/html/d2/dba/graphics_2obround_8h.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/obround.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
obround.h File Reference
-
-
-
#include "arc/graphics/color.h"
-#include "arc/graphics/renderer.h"
-#include "arc/math/obround.h"
-#include <stdint.h>
-
-

Go to the source code of this file.

- - - - - - -

-Functions

void ARC_Obround_Render (ARC_Obround *obround, ARC_Renderer *renderer, ARC_Color *color)
 
void ARC_FObround_Render (ARC_FObround *obround, ARC_Renderer *renderer, ARC_Color *color)
 
-

Function Documentation

- -

◆ ARC_FObround_Render()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_FObround_Render (ARC_FObround * obround,
ARC_Renderer * renderer,
ARC_Color * color )
-
- -
-
- -

◆ ARC_Obround_Render()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Obround_Render (ARC_Obround * obround,
ARC_Renderer * renderer,
ARC_Color * color )
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/dba/graphics_2obround_8h.js b/doc/doxygen/html/d2/dba/graphics_2obround_8h.js deleted file mode 100644 index 9b95628..0000000 --- a/doc/doxygen/html/d2/dba/graphics_2obround_8h.js +++ /dev/null @@ -1,5 +0,0 @@ -var graphics_2obround_8h = -[ - [ "ARC_FObround_Render", "d2/dba/graphics_2obround_8h.html#a98eddca08e5473a0860716a4e0b238f4", null ], - [ "ARC_Obround_Render", "d2/dba/graphics_2obround_8h.html#ab86dda25da47d441b5ce38b8d8311b5a", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d2/dba/graphics_2obround_8h_source.html b/doc/doxygen/html/d2/dba/graphics_2obround_8h_source.html deleted file mode 100644 index be8c321..0000000 --- a/doc/doxygen/html/d2/dba/graphics_2obround_8h_source.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/obround.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
obround.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_GRAPHICS_OBROUND_H_
-
2#define ARC_GRAPHICS_OBROUND_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
- - -
10#include "arc/math/obround.h"
-
11#include <stdint.h>
-
12
-
13void ARC_Obround_Render(ARC_Obround *obround, ARC_Renderer *renderer, ARC_Color *color);
-
14
-
15void ARC_FObround_Render(ARC_FObround *obround, ARC_Renderer *renderer, ARC_Color *color);
-
16
-
17// void ARC_Rect_RenderFill(ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color);
-
18
-
19#ifdef __cplusplus
-
20}
-
21#endif
-
22
-
23#endif // !ARC_GRAPHICS_OBROUND_H_
- -
void ARC_FObround_Render(ARC_FObround *obround, ARC_Renderer *renderer, ARC_Color *color)
-
void ARC_Obround_Render(ARC_Obround *obround, ARC_Renderer *renderer, ARC_Color *color)
- - -
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- - - -
-
- - - - - - diff --git a/doc/doxygen/html/d2/dba/packages_2graphics_2opengl_2rectangle_8c.html b/doc/doxygen/html/d2/dba/packages_2graphics_2opengl_2rectangle_8c.html deleted file mode 100644 index 63fc07a..0000000 --- a/doc/doxygen/html/d2/dba/packages_2graphics_2opengl_2rectangle_8c.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/opengl/rectangle.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
rectangle.c File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d2/dba/packages_2graphics_2opengl_2rectangle_8c_source.html b/doc/doxygen/html/d2/dba/packages_2graphics_2opengl_2rectangle_8c_source.html deleted file mode 100644 index 126a761..0000000 --- a/doc/doxygen/html/d2/dba/packages_2graphics_2opengl_2rectangle_8c_source.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/opengl/rectangle.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
rectangle.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_OPENGL_GRAPHICS
- -
3#include <stdlib.h>
-
4
-
5void ARC_Rect_Render(ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color){
-
6}
-
7
-
8void ARC_Rect_RenderFill(ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color){
-
9}
-
10
-
11#endif // ARC_OPENGL_GRAPHICS
- -
void ARC_Rect_Render(ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color)
Definition rectangle.c:5
-
void ARC_Rect_RenderFill(ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color)
Definition rectangle.c:10
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- - -
-
- - - - - - diff --git a/doc/doxygen/html/d2/dbb/tests_8dir_2src_2graphics_2spritesheet_8c_8o_8d.html b/doc/doxygen/html/d2/dbb/tests_8dir_2src_2graphics_2spritesheet_8c_8o_8d.html deleted file mode 100644 index 5faeeff..0000000 --- a/doc/doxygen/html/d2/dbb/tests_8dir_2src_2graphics_2spritesheet_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/graphics/spritesheet.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
spritesheet.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d2/dbb/tests_8dir_2src_2graphics_2spritesheet_8c_8o_8d_source.html b/doc/doxygen/html/d2/dbb/tests_8dir_2src_2graphics_2spritesheet_8c_8o_8d_source.html deleted file mode 100644 index 8dff0d6..0000000 --- a/doc/doxygen/html/d2/dbb/tests_8dir_2src_2graphics_2spritesheet_8c_8o_8d_source.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/graphics/spritesheet.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
spritesheet.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/graphics/spritesheet.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/graphics/spritesheet.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/graphics/spritesheet.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h \
-
15 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/math/rectangle.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/math/vector2.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/graphics/renderer.h \
-
20 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
21 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
22 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
23 /usr/include/stdio.h \
-
24 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
25 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
26 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
27 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
28 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
29 /usr/include/bits/types/cookie_io_functions_t.h \
-
30 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
31 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/dbd/queue_8c.html b/doc/doxygen/html/d2/dbd/queue_8c.html deleted file mode 100644 index d98b40e..0000000 --- a/doc/doxygen/html/d2/dbd/queue_8c.html +++ /dev/null @@ -1,419 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/queue.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
queue.c File Reference
-
-
-
#include "arc/std/queue.h"
-#include "arc/std/errno.h"
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - - - -

-Data Structures

struct  ARC_QueueNode
 
struct  ARC_Queue
 
- - - -

-Typedefs

typedef struct ARC_QueueNode ARC_QueueNode
 
- - - - - - - - - - - - - - - - -

-Functions

void ARC_Queue_Create (ARC_Queue **queue)
 creates ARC_Queue type
 
void ARC_Queue_Destroy (ARC_Queue *queue)
 destroyes ARC_Queue type
 
void ARC_Queue_Push (ARC_Queue *queue, void *data)
 pushes value to end of queue
 
void * ARC_Queue_Pop (ARC_Queue *queue)
 pops the front off of the ARC_Queue
 
uint32_t ARC_Queue_Size (ARC_Queue *queue)
 gets size of queue
 
-

Typedef Documentation

- -

◆ ARC_QueueNode

- -
-
- - - - -
typedef struct ARC_QueueNode ARC_QueueNode
-
- -

Definition at line 6 of file queue.c.

- -
-
-

Function Documentation

- -

◆ ARC_Queue_Create()

- -
-
- - - - - - - -
void ARC_Queue_Create (ARC_Queue ** queue)
-
- -

creates ARC_Queue type

-
Parameters
- - -
queueARC_Queue to initialize
-
-
- -

Definition at line 18 of file queue.c.

-
18 {
-
19 *queue = (ARC_Queue *)malloc(sizeof(ARC_Queue));
-
20 (*queue)->currentSize = 0;
-
21 (*queue)->node = NULL;
-
22}
- -
uint32_t currentSize
Definition queue.c:14
-
-

References ARC_Queue::currentSize.

- -
-
- -

◆ ARC_Queue_Destroy()

- -
-
- - - - - - - -
void ARC_Queue_Destroy (ARC_Queue * queue)
-
- -

destroyes ARC_Queue type

- -

Definition at line 24 of file queue.c.

-
24 {
-
25 if(queue->currentSize != 0 || queue->node != NULL){
- -
27 ARC_DEBUG_LOG_ERROR("ARC_Queue_Destroy(queue) called, but queue was not empty");
-
28 return;
-
29 }
-
30
-
31 free(queue);
-
32}
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
#define ARC_ERRNO_DATA
Definition errno.h:7
-
ARC_QueueNode * node
Definition queue.c:15
-
-

References ARC_DEBUG_LOG_ERROR, arc_errno, ARC_ERRNO_DATA, ARC_Queue::currentSize, and ARC_Queue::node.

- -
-
- -

◆ ARC_Queue_Pop()

- -
-
- - - - - - - -
void * ARC_Queue_Pop (ARC_Queue * queue)
-
- -

pops the front off of the ARC_Queue

-
Parameters
- - -
queueARC_Queue to remove from
-
-
-
Returns
the poped data from the queue as a void *
- -

Definition at line 72 of file queue.c.

-
72 {
-
73 if(queue->currentSize == 0){
- -
75 ARC_DEBUG_LOG_ERROR("ARC_Queue_Pop(queue) called, but queue was empty");
-
76 return NULL;
-
77 }
-
78
-
79 ARC_QueueNode *node = queue->node;
-
80 if(node == NULL){
- -
82 ARC_DEBUG_LOG_ERROR("ARC_Queue_Pop(queue) called, but node was NULL");
-
83 return NULL;
-
84 }
-
85
-
86 queue->node = node->next;
-
87 void *nodeData = node->data;
-
88 free(node);
-
89
-
90 queue->currentSize--;
-
91
-
92 return nodeData;
-
93}
-
#define ARC_ERRNO_NULL
Definition errno.h:6
- -
ARC_QueueNode * next
Definition queue.c:9
-
void * data
Definition queue.c:10
-
-

References ARC_DEBUG_LOG_ERROR, arc_errno, ARC_ERRNO_DATA, ARC_ERRNO_NULL, ARC_Queue::currentSize, ARC_QueueNode::data, ARC_QueueNode::next, and ARC_Queue::node.

- -
-
- -

◆ ARC_Queue_Push()

- -
-
- - - - - - - - - - - -
void ARC_Queue_Push (ARC_Queue * queue,
void * data )
-
- -

pushes value to end of queue

-
Parameters
- - - -
queueARC_Queue to push to
datadata that is being pushed
-
-
- -

Definition at line 34 of file queue.c.

-
34 {
-
35 if(queue->currentSize == ~(uint32_t)0){
- -
37 ARC_DEBUG_LOG_ERROR("ARC_Queue_Push(queue) called, size of queue is maxed, cannot add another node");
-
38 return;
-
39 }
-
40
-
41 if(queue->currentSize == 0){
-
42 ARC_QueueNode *node = (ARC_QueueNode *)malloc(sizeof(ARC_QueueNode));
-
43 node->data = data;
-
44 node->next = NULL;
-
45
-
46 queue->node = node;
-
47 queue->currentSize++;
-
48
-
49 return;
-
50 }
-
51
-
52 ARC_QueueNode *end = queue->node;
-
53 for(uint32_t i = 1; i < queue->currentSize; i++){
-
54 if(end->next == NULL){
- -
56 ARC_DEBUG_LOG_ERROR("ARC_Queue_Push(queue), when getting end node encountered a NULL node");
-
57 return;
-
58 }
-
59
-
60 end = end->next;
-
61 }
-
62
-
63 ARC_QueueNode *node = (ARC_QueueNode *)malloc(sizeof(ARC_QueueNode));
-
64 node->data = data;
-
65 node->next = NULL;
-
66
-
67 end->next = node;
-
68
-
69 queue->currentSize++;
-
70}
-
#define ARC_ERRNO_OVERFLOW
Definition errno.h:10
-
-

References ARC_DEBUG_LOG_ERROR, arc_errno, ARC_ERRNO_NULL, ARC_ERRNO_OVERFLOW, ARC_Queue::currentSize, ARC_QueueNode::data, ARC_QueueNode::next, and ARC_Queue::node.

- -
-
- -

◆ ARC_Queue_Size()

- -
-
- - - - - - - -
uint32_t ARC_Queue_Size (ARC_Queue * queue)
-
- -

gets size of queue

-
Parameters
- - -
vectorARC_Queue to get size from
-
-
-
Returns
the queues size
- -

Definition at line 95 of file queue.c.

-
95 {
-
96 return queue->currentSize;
-
97}
-
-

References ARC_Queue::currentSize.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/dbd/queue_8c.js b/doc/doxygen/html/d2/dbd/queue_8c.js deleted file mode 100644 index b49ab18..0000000 --- a/doc/doxygen/html/d2/dbd/queue_8c.js +++ /dev/null @@ -1,11 +0,0 @@ -var queue_8c = -[ - [ "ARC_QueueNode", "d5/da2/structARC__QueueNode.html", "d5/da2/structARC__QueueNode" ], - [ "ARC_Queue", "d2/d32/structARC__Queue.html", "d2/d32/structARC__Queue" ], - [ "ARC_QueueNode", "d2/dbd/queue_8c.html#ac5598ca23e4a3a22a9a0225ad3a3acb6", null ], - [ "ARC_Queue_Create", "d2/dbd/queue_8c.html#ae8b1146e12bbf3fb85323f3d142df0bf", null ], - [ "ARC_Queue_Destroy", "d2/dbd/queue_8c.html#a3a02c62a5c9ea508b2ad0f4f6512331d", null ], - [ "ARC_Queue_Pop", "d2/dbd/queue_8c.html#a6dfacddca2614a104273d52726fb4bb9", null ], - [ "ARC_Queue_Push", "d2/dbd/queue_8c.html#a148faa7bfa969213e32a29aaf3799cd3", null ], - [ "ARC_Queue_Size", "d2/dbd/queue_8c.html#a874a468cb3a68e9193618c9d2eac11b6", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d2/dbd/queue_8c_source.html b/doc/doxygen/html/d2/dbd/queue_8c_source.html deleted file mode 100644 index 5c5618d..0000000 --- a/doc/doxygen/html/d2/dbd/queue_8c_source.html +++ /dev/null @@ -1,257 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/queue.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
queue.c
-
-
-Go to the documentation of this file.
1#include "arc/std/queue.h"
-
2
-
3#include "arc/std/errno.h"
-
4#include <stdlib.h>
-
5
- -
7
-
- - -
10 void *data;
-
11};
-
-
12
-
-
13struct ARC_Queue {
-
14 uint32_t currentSize;
- -
16};
-
-
17
-
- -
19 *queue = (ARC_Queue *)malloc(sizeof(ARC_Queue));
-
20 (*queue)->currentSize = 0;
-
21 (*queue)->node = NULL;
-
22}
-
-
23
-
- -
25 if(queue->currentSize != 0 || queue->node != NULL){
- -
27 ARC_DEBUG_LOG_ERROR("ARC_Queue_Destroy(queue) called, but queue was not empty");
-
28 return;
-
29 }
-
30
-
31 free(queue);
-
32}
-
-
33
-
-
34void ARC_Queue_Push(ARC_Queue *queue, void *data){
-
35 if(queue->currentSize == ~(uint32_t)0){
- -
37 ARC_DEBUG_LOG_ERROR("ARC_Queue_Push(queue) called, size of queue is maxed, cannot add another node");
-
38 return;
-
39 }
-
40
-
41 if(queue->currentSize == 0){
-
42 ARC_QueueNode *node = (ARC_QueueNode *)malloc(sizeof(ARC_QueueNode));
-
43 node->data = data;
-
44 node->next = NULL;
-
45
-
46 queue->node = node;
-
47 queue->currentSize++;
-
48
-
49 return;
-
50 }
-
51
-
52 ARC_QueueNode *end = queue->node;
-
53 for(uint32_t i = 1; i < queue->currentSize; i++){
-
54 if(end->next == NULL){
- -
56 ARC_DEBUG_LOG_ERROR("ARC_Queue_Push(queue), when getting end node encountered a NULL node");
-
57 return;
-
58 }
-
59
-
60 end = end->next;
-
61 }
-
62
-
63 ARC_QueueNode *node = (ARC_QueueNode *)malloc(sizeof(ARC_QueueNode));
-
64 node->data = data;
-
65 node->next = NULL;
-
66
-
67 end->next = node;
-
68
-
69 queue->currentSize++;
-
70}
-
-
71
-
- -
73 if(queue->currentSize == 0){
- -
75 ARC_DEBUG_LOG_ERROR("ARC_Queue_Pop(queue) called, but queue was empty");
-
76 return NULL;
-
77 }
-
78
-
79 ARC_QueueNode *node = queue->node;
-
80 if(node == NULL){
- -
82 ARC_DEBUG_LOG_ERROR("ARC_Queue_Pop(queue) called, but node was NULL");
-
83 return NULL;
-
84 }
-
85
-
86 queue->node = node->next;
-
87 void *nodeData = node->data;
-
88 free(node);
-
89
-
90 queue->currentSize--;
-
91
-
92 return nodeData;
-
93}
-
-
94
-
-
95uint32_t ARC_Queue_Size(ARC_Queue *queue){
-
96 return queue->currentSize;
-
97}
-
- -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_OVERFLOW
Definition errno.h:10
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
#define ARC_ERRNO_DATA
Definition errno.h:7
-
void ARC_Queue_Push(ARC_Queue *queue, void *data)
pushes value to end of queue
Definition queue.c:34
-
void ARC_Queue_Destroy(ARC_Queue *queue)
destroyes ARC_Queue type
Definition queue.c:24
-
void * ARC_Queue_Pop(ARC_Queue *queue)
pops the front off of the ARC_Queue
Definition queue.c:72
-
uint32_t ARC_Queue_Size(ARC_Queue *queue)
gets size of queue
Definition queue.c:95
-
void ARC_Queue_Create(ARC_Queue **queue)
creates ARC_Queue type
Definition queue.c:18
- - -
ARC_QueueNode * next
Definition queue.c:9
-
void * data
Definition queue.c:10
- -
uint32_t currentSize
Definition queue.c:14
-
ARC_QueueNode * node
Definition queue.c:15
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/ddc/test_8h.html b/doc/doxygen/html/d2/ddc/test_8h.html deleted file mode 100644 index e34198a..0000000 --- a/doc/doxygen/html/d2/ddc/test_8h.html +++ /dev/null @@ -1,375 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/tests/test.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
test.h File Reference
-
-
-
#include <stdint.h>
-#include <stdio.h>
-
-

Go to the source code of this file.

- - - - - - - - - - -

-Macros

#define ARC_TEST_START_MESSAGE(MESSAGE)
 
#define ARC_TEST_END_MESSAGE(MESSAGE)
 
#define ARC_TEST(MESSAGE)
 
#define ARC_CHECK(TEST)
 
- - - - - -

-Functions

void ARC_Test_SetErrnoStream (void) __attribute__((constructor))
 
void ARC_Test_UnsetErrnoStream (void) __attribute__((destructor))
 
- - - - - -

-Variables

uint32_t * temp_arc_test_num_checks_run__ARC_TEST__
 
uint32_t * temp_arc_test_num_checks_passed__ARC_TEST__
 
-

Macro Definition Documentation

- -

◆ ARC_CHECK

- -
-
- - - - - - - -
#define ARC_CHECK( TEST)
-
-Value:
- - -
if(TEST){ printf("PASS\t\n"); ++*temp_arc_test_num_checks_passed__ARC_TEST__; }\
-
else { printf("FAIL\t%s\n", #TEST); }
-
uint32_t * temp_arc_test_num_checks_run__ARC_TEST__
Definition test.c:7
-
uint32_t * temp_arc_test_num_checks_passed__ARC_TEST__
Definition test.c:8
-
-

Definition at line 33 of file test.h.

-
33#define ARC_CHECK(TEST)\
-
34 if(temp_arc_test_num_checks_run__ARC_TEST__ == NULL || temp_arc_test_num_checks_passed__ARC_TEST__ == NULL){ return; }\
-
35 printf(" %4u) ", *temp_arc_test_num_checks_run__ARC_TEST__);\
-
36 ++*temp_arc_test_num_checks_run__ARC_TEST__;\
-
37 if(TEST){ printf("PASS\t\n"); ++*temp_arc_test_num_checks_passed__ARC_TEST__; }\
-
38 else { printf("FAIL\t%s\n", #TEST); }
-
-

Referenced by ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), and ARC_TEST().

- -
-
- -

◆ ARC_TEST

- -
-
- - - - - - - -
#define ARC_TEST( MESSAGE)
-
-Value:
ARC_TEST_START_MESSAGE(MESSAGE) ARC_TEST_END_MESSAGE(MESSAGE) void ARC_TEST__ ## MESSAGE(void) __attribute__ ((constructor)); void ARC_TEST__ ## MESSAGE (void)
-
#define ARC_TEST_START_MESSAGE(MESSAGE)
Definition test.h:17
-
#define ARC_TEST_END_MESSAGE(MESSAGE)
Definition test.h:26
-
-

Definition at line 31 of file test.h.

- -
-
- -

◆ ARC_TEST_END_MESSAGE

- -
-
- - - - - - - -
#define ARC_TEST_END_MESSAGE( MESSAGE)
-
-Value:
void ARC_TEST_END_MESSAGE__ ## MESSAGE(void) __attribute__ ((destructor));\
-
void ARC_TEST_END_MESSAGE__ ## MESSAGE(void){\
-
printf("[ARC TEST] RUN: %4u, PASSED: %4u, FAILED: %4u, Completed: %s\n", arc_test_num_checks_run__ARC_TEST__ ## MESSAGE, arc_test_num_checks_passed__ARC_TEST__ ## MESSAGE, arc_test_num_checks_run__ARC_TEST__ ## MESSAGE - arc_test_num_checks_passed__ARC_TEST__ ## MESSAGE, #MESSAGE);\
-
}
-
-

Definition at line 26 of file test.h.

-
26#define ARC_TEST_END_MESSAGE(MESSAGE) void ARC_TEST_END_MESSAGE__ ## MESSAGE(void) __attribute__ ((destructor));\
-
27 void ARC_TEST_END_MESSAGE__ ## MESSAGE(void){\
-
28 printf("[ARC TEST] RUN: %4u, PASSED: %4u, FAILED: %4u, Completed: %s\n", arc_test_num_checks_run__ARC_TEST__ ## MESSAGE, arc_test_num_checks_passed__ARC_TEST__ ## MESSAGE, arc_test_num_checks_run__ARC_TEST__ ## MESSAGE - arc_test_num_checks_passed__ARC_TEST__ ## MESSAGE, #MESSAGE);\
-
29 }
-
-
-
- -

◆ ARC_TEST_START_MESSAGE

- -
-
- - - - - - - -
#define ARC_TEST_START_MESSAGE( MESSAGE)
-
-Value:
void ARC_TEST_START_MESSAGE__ ## MESSAGE(void) __attribute__ ((constructor));\
-
uint32_t arc_test_num_checks_run__ARC_TEST__ ## MESSAGE = 0;\
-
uint32_t arc_test_num_checks_passed__ARC_TEST__ ## MESSAGE = 0;\
-
void ARC_TEST_START_MESSAGE__ ## MESSAGE(void){\
-
printf("[ARC TEST] Running: %s\n", #MESSAGE);\
-
temp_arc_test_num_checks_run__ARC_TEST__ = &arc_test_num_checks_run__ARC_TEST__ ## MESSAGE; \
-
temp_arc_test_num_checks_passed__ARC_TEST__ = &arc_test_num_checks_passed__ARC_TEST__ ## MESSAGE; \
-
}
-
-

Definition at line 17 of file test.h.

-
17#define ARC_TEST_START_MESSAGE(MESSAGE) void ARC_TEST_START_MESSAGE__ ## MESSAGE(void) __attribute__ ((constructor));\
-
18 uint32_t arc_test_num_checks_run__ARC_TEST__ ## MESSAGE = 0;\
-
19 uint32_t arc_test_num_checks_passed__ARC_TEST__ ## MESSAGE = 0;\
-
20 void ARC_TEST_START_MESSAGE__ ## MESSAGE(void){\
-
21 printf("[ARC TEST] Running: %s\n", #MESSAGE);\
-
22 temp_arc_test_num_checks_run__ARC_TEST__ = &arc_test_num_checks_run__ARC_TEST__ ## MESSAGE; \
-
23 temp_arc_test_num_checks_passed__ARC_TEST__ = &arc_test_num_checks_passed__ARC_TEST__ ## MESSAGE; \
-
24 }
-
-
-
-

Function Documentation

- -

◆ ARC_Test_SetErrnoStream()

- -
-
- - - - - - - -
void ARC_Test_SetErrnoStream (void ) const
-
- -

Definition at line 10 of file test.c.

-
10 {
-
11 arc_errno_log_file = fopen("tests/test_error_out.txt", "w");
-
12}
-
-
-
- -

◆ ARC_Test_UnsetErrnoStream()

- -
-
- - - - - - - -
void ARC_Test_UnsetErrnoStream (void )
-
- -

Definition at line 14 of file test.c.

-
14 {
-
15 fclose(arc_errno_log_file);
-
16}
-
-
-
-

Variable Documentation

- -

◆ temp_arc_test_num_checks_passed__ARC_TEST__

- -
-
- - - - - -
- - - - -
uint32_t* temp_arc_test_num_checks_passed__ARC_TEST__
-
-extern
-
- -

Definition at line 8 of file test.c.

- -
-
- -

◆ temp_arc_test_num_checks_run__ARC_TEST__

- -
-
- - - - - -
- - - - -
uint32_t* temp_arc_test_num_checks_run__ARC_TEST__
-
-extern
-
- -

Definition at line 7 of file test.c.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/ddc/test_8h.js b/doc/doxygen/html/d2/ddc/test_8h.js deleted file mode 100644 index 4be3aef..0000000 --- a/doc/doxygen/html/d2/ddc/test_8h.js +++ /dev/null @@ -1,11 +0,0 @@ -var test_8h = -[ - [ "ARC_CHECK", "d2/ddc/test_8h.html#a80a5a6a2cabbfcb7411cc34e31e38ca6", null ], - [ "ARC_TEST", "d2/ddc/test_8h.html#ab7949408a6b27075562ec44273fdfd0e", null ], - [ "ARC_TEST_END_MESSAGE", "d2/ddc/test_8h.html#aba03a71104dfbd4ac11bc7f4853e5f7d", null ], - [ "ARC_TEST_START_MESSAGE", "d2/ddc/test_8h.html#a5d372c3f478b25bf6691e1f7d2e33edf", null ], - [ "ARC_Test_SetErrnoStream", "d2/ddc/test_8h.html#abf1b8b7e104e43f45cadb50b410a4d86", null ], - [ "ARC_Test_UnsetErrnoStream", "d2/ddc/test_8h.html#a301eb2d07b640f305d86441cf7b5dceb", null ], - [ "temp_arc_test_num_checks_passed__ARC_TEST__", "d2/ddc/test_8h.html#a7d507f4363a766f2f0efa08bfb6dd5f6", null ], - [ "temp_arc_test_num_checks_run__ARC_TEST__", "d2/ddc/test_8h.html#a37bc52733d396c97625733755dfca33f", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d2/ddc/test_8h_source.html b/doc/doxygen/html/d2/ddc/test_8h_source.html deleted file mode 100644 index ff94fc9..0000000 --- a/doc/doxygen/html/d2/ddc/test_8h_source.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/tests/test.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
test.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_TEST_H_
-
2#define ARC_TEST_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include <stdint.h>
-
9#include <stdio.h>
-
10
- - -
13
-
14void ARC_Test_SetErrnoStream(void) __attribute__ ((constructor));
-
15void ARC_Test_UnsetErrnoStream(void) __attribute__ ((destructor));
-
16
-
-
17#define ARC_TEST_START_MESSAGE(MESSAGE) void ARC_TEST_START_MESSAGE__ ## MESSAGE(void) __attribute__ ((constructor));\
-
18 uint32_t arc_test_num_checks_run__ARC_TEST__ ## MESSAGE = 0;\
-
19 uint32_t arc_test_num_checks_passed__ARC_TEST__ ## MESSAGE = 0;\
-
20 void ARC_TEST_START_MESSAGE__ ## MESSAGE(void){\
-
21 printf("[ARC TEST] Running: %s\n", #MESSAGE);\
-
22 temp_arc_test_num_checks_run__ARC_TEST__ = &arc_test_num_checks_run__ARC_TEST__ ## MESSAGE; \
-
23 temp_arc_test_num_checks_passed__ARC_TEST__ = &arc_test_num_checks_passed__ARC_TEST__ ## MESSAGE; \
-
24 }
-
-
25
-
-
26#define ARC_TEST_END_MESSAGE(MESSAGE) void ARC_TEST_END_MESSAGE__ ## MESSAGE(void) __attribute__ ((destructor));\
-
27 void ARC_TEST_END_MESSAGE__ ## MESSAGE(void){\
-
28 printf("[ARC TEST] RUN: %4u, PASSED: %4u, FAILED: %4u, Completed: %s\n", arc_test_num_checks_run__ARC_TEST__ ## MESSAGE, arc_test_num_checks_passed__ARC_TEST__ ## MESSAGE, arc_test_num_checks_run__ARC_TEST__ ## MESSAGE - arc_test_num_checks_passed__ARC_TEST__ ## MESSAGE, #MESSAGE);\
-
29 }
-
-
30
-
31#define ARC_TEST(MESSAGE) ARC_TEST_START_MESSAGE(MESSAGE) ARC_TEST_END_MESSAGE(MESSAGE) void ARC_TEST__ ## MESSAGE(void) __attribute__ ((constructor)); void ARC_TEST__ ## MESSAGE (void)
-
32
-
-
33#define ARC_CHECK(TEST)\
-
34 if(temp_arc_test_num_checks_run__ARC_TEST__ == NULL || temp_arc_test_num_checks_passed__ARC_TEST__ == NULL){ return; }\
-
35 printf(" %4u) ", *temp_arc_test_num_checks_run__ARC_TEST__);\
-
36 ++*temp_arc_test_num_checks_run__ARC_TEST__;\
-
37 if(TEST){ printf("PASS\t\n"); ++*temp_arc_test_num_checks_passed__ARC_TEST__; }\
-
38 else { printf("FAIL\t%s\n", #TEST); }
-
-
39
-
40#ifdef __cplusplus
-
41}
-
42#endif
-
43
-
44#endif // !ARC_TEST_H_
-
void ARC_Test_UnsetErrnoStream(void) __attribute__((destructor))
Definition test.c:14
-
uint32_t * temp_arc_test_num_checks_run__ARC_TEST__
Definition test.c:7
-
uint32_t * temp_arc_test_num_checks_passed__ARC_TEST__
Definition test.c:8
-
void ARC_Test_SetErrnoStream(void) __attribute__((constructor))
Definition test.c:10
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/de6/packages_2graphics_2sdl_2rectangle_8c.html b/doc/doxygen/html/d2/de6/packages_2graphics_2sdl_2rectangle_8c.html deleted file mode 100644 index ea948b8..0000000 --- a/doc/doxygen/html/d2/de6/packages_2graphics_2sdl_2rectangle_8c.html +++ /dev/null @@ -1,296 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/rectangle.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
rectangle.c File Reference
-
-
-
#include "arc/graphics/rectangle.h"
-#include "renderer.h"
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - - - - - - - -

-Functions

void ARC_Rect_Render (ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color)
 
void ARC_Rect_RenderFill (ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color)
 
void ARC_FRect_Render (ARC_FRect *rect, ARC_Renderer *renderer, ARC_Color *color)
 
void ARC_FRect_RenderFill (ARC_FRect *rect, ARC_Renderer *renderer, ARC_Color *color)
 
-

Function Documentation

- -

◆ ARC_FRect_Render()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_FRect_Render (ARC_FRect * rect,
ARC_Renderer * renderer,
ARC_Color * color )
-
- -

Definition at line 15 of file rectangle.c.

-
15 {
-
16 ARC_Rect casted = ARC_FRect_CastToRect(rect);
-
17 ARC_Rect_Render(&casted, renderer, color);
-
18}
-
void ARC_Rect_Render(ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color)
Definition rectangle.c:5
-
ARC_Rect ARC_FRect_CastToRect(ARC_FRect *rect)
casts FRect to Rect
Definition rectangle.c:25
- -
-

References ARC_FRect_CastToRect(), and ARC_Rect_Render().

- -
-
- -

◆ ARC_FRect_RenderFill()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_FRect_RenderFill (ARC_FRect * rect,
ARC_Renderer * renderer,
ARC_Color * color )
-
- -

Definition at line 20 of file rectangle.c.

-
20 {
-
21 ARC_Rect casted = ARC_FRect_CastToRect(rect);
-
22 ARC_Rect_RenderFill(&casted, renderer, color);
-
23}
-
void ARC_Rect_RenderFill(ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color)
Definition rectangle.c:10
-
-

References ARC_FRect_CastToRect(), and ARC_Rect_RenderFill().

- -
-
- -

◆ ARC_Rect_Render()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Rect_Render (ARC_Rect * rect,
ARC_Renderer * renderer,
ARC_Color * color )
-
- -

Definition at line 5 of file rectangle.c.

-
5 {
-
6 SDL_SetRenderDrawColor((SDL_Renderer *)renderer, color->r, color->g, color->b, color->a);
-
7 SDL_RenderDrawRect((SDL_Renderer *)renderer, (SDL_Rect *) rect);
-
8}
-
uint8_t a
Definition color.h:11
-
uint8_t r
Definition color.h:11
-
uint8_t b
Definition color.h:11
-
uint8_t g
Definition color.h:11
-
-

References ARC_Color::a, ARC_Color::b, ARC_Color::g, and ARC_Color::r.

- -

Referenced by ARC_FRect_Render().

- -
-
- -

◆ ARC_Rect_RenderFill()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Rect_RenderFill (ARC_Rect * rect,
ARC_Renderer * renderer,
ARC_Color * color )
-
- -

Definition at line 10 of file rectangle.c.

-
10 {
-
11 SDL_SetRenderDrawColor((SDL_Renderer *)renderer, color->r, color->g, color->b, color->a);
-
12 SDL_RenderFillRect((SDL_Renderer *)renderer, (SDL_Rect *) rect);
-
13}
-
-

References ARC_Color::a, ARC_Color::b, ARC_Color::g, and ARC_Color::r.

- -

Referenced by ARC_FRect_RenderFill().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/de6/packages_2graphics_2sdl_2rectangle_8c.js b/doc/doxygen/html/d2/de6/packages_2graphics_2sdl_2rectangle_8c.js deleted file mode 100644 index 7bb00af..0000000 --- a/doc/doxygen/html/d2/de6/packages_2graphics_2sdl_2rectangle_8c.js +++ /dev/null @@ -1,7 +0,0 @@ -var packages_2graphics_2sdl_2rectangle_8c = -[ - [ "ARC_FRect_Render", "d2/de6/packages_2graphics_2sdl_2rectangle_8c.html#a96dbaab334cfd50199b6a0f2133ca6f6", null ], - [ "ARC_FRect_RenderFill", "d2/de6/packages_2graphics_2sdl_2rectangle_8c.html#ab30de1d2bb4605738fbcfd66887d1b3f", null ], - [ "ARC_Rect_Render", "d2/de6/packages_2graphics_2sdl_2rectangle_8c.html#abb21f449f86c080831ccecf9600d97c7", null ], - [ "ARC_Rect_RenderFill", "d2/de6/packages_2graphics_2sdl_2rectangle_8c.html#acb8d5ed7ac0ab7c7b51c9924cbb017df", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d2/de6/packages_2graphics_2sdl_2rectangle_8c_source.html b/doc/doxygen/html/d2/de6/packages_2graphics_2sdl_2rectangle_8c_source.html deleted file mode 100644 index bbafcfa..0000000 --- a/doc/doxygen/html/d2/de6/packages_2graphics_2sdl_2rectangle_8c_source.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/rectangle.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
rectangle.c
-
-
-Go to the documentation of this file.
-
2#include "renderer.h"
-
3#include <stdlib.h>
-
4
-
-
5void ARC_Rect_Render(ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color){
-
6 SDL_SetRenderDrawColor((SDL_Renderer *)renderer, color->r, color->g, color->b, color->a);
-
7 SDL_RenderDrawRect((SDL_Renderer *)renderer, (SDL_Rect *) rect);
-
8}
-
-
9
-
-
10void ARC_Rect_RenderFill(ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color){
-
11 SDL_SetRenderDrawColor((SDL_Renderer *)renderer, color->r, color->g, color->b, color->a);
-
12 SDL_RenderFillRect((SDL_Renderer *)renderer, (SDL_Rect *) rect);
-
13}
-
-
14
-
-
15void ARC_FRect_Render(ARC_FRect *rect, ARC_Renderer *renderer, ARC_Color *color){
-
16 ARC_Rect casted = ARC_FRect_CastToRect(rect);
-
17 ARC_Rect_Render(&casted, renderer, color);
-
18}
-
-
19
-
- -
21 ARC_Rect casted = ARC_FRect_CastToRect(rect);
-
22 ARC_Rect_RenderFill(&casted, renderer, color);
-
23}
-
- -
void ARC_Rect_Render(ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color)
Definition rectangle.c:5
-
void ARC_Rect_RenderFill(ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color)
Definition rectangle.c:10
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
-
ARC_Rect ARC_FRect_CastToRect(ARC_FRect *rect)
casts FRect to Rect
Definition rectangle.c:25
-
void ARC_FRect_Render(ARC_FRect *rect, ARC_Renderer *renderer, ARC_Color *color)
Definition rectangle.c:15
-
void ARC_FRect_RenderFill(ARC_FRect *rect, ARC_Renderer *renderer, ARC_Color *color)
Definition rectangle.c:20
- - -
uint8_t a
Definition color.h:11
-
uint8_t r
Definition color.h:11
-
uint8_t b
Definition color.h:11
-
uint8_t g
Definition color.h:11
- - -
-
- - - - - - diff --git a/doc/doxygen/html/d2/de7/archeus__std_8dir_2link_8d.html b/doc/doxygen/html/d2/de7/archeus__std_8dir_2link_8d.html deleted file mode 100644 index 44c6615..0000000 --- a/doc/doxygen/html/d2/de7/archeus__std_8dir_2link_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/link.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
link.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d2/de7/archeus__std_8dir_2link_8d_source.html b/doc/doxygen/html/d2/de7/archeus__std_8dir_2link_8d_source.html deleted file mode 100644 index 6b48f08..0000000 --- a/doc/doxygen/html/d2/de7/archeus__std_8dir_2link_8d_source.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/link.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
link.d
-
-
-Go to the documentation of this file.
1libarcheus_std.so: \
-
2 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libm.so \
-
3 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libm.so \
-
4 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libgcc_s.so \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libgcc_s.so \
-
6 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libc.so \
-
7 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libc.so \
-
8 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libgcc_s.so \
-
9 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libgcc_s.so
-
10
-
11/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libm.so:
-
12
-
13/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libm.so:
-
14
-
15/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libgcc_s.so:
-
16
-
17/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libgcc_s.so:
-
18
-
19/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libc.so:
-
20
-
21/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libc.so:
-
22
-
23/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libgcc_s.so:
-
24
-
25/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libgcc_s.so:
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/df0/archeus__std_8dir_2src_2std_2parser_2parserlang_8c_8o_8d.html b/doc/doxygen/html/d2/df0/archeus__std_8dir_2src_2std_2parser_2parserlang_8c_8o_8d.html deleted file mode 100644 index fd7d512..0000000 --- a/doc/doxygen/html/d2/df0/archeus__std_8dir_2src_2std_2parser_2parserlang_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/parser/parserlang.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
parserlang.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d2/df0/archeus__std_8dir_2src_2std_2parser_2parserlang_8c_8o_8d_source.html b/doc/doxygen/html/d2/df0/archeus__std_8dir_2src_2std_2parser_2parserlang_8c_8o_8d_source.html deleted file mode 100644 index a0e49fc..0000000 --- a/doc/doxygen/html/d2/df0/archeus__std_8dir_2src_2std_2parser_2parserlang_8c_8o_8d_source.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/parser/parserlang.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
parserlang.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/std/parser/parserlang.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/parser/parserlang.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/parser/parserlang.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/std/parser.h \
-
6 /home/herbglitch/programs/archeus/arc/include/arc/std/array.h \
-
7 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
8 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
9 /usr/include/features.h /usr/include/features-time64.h \
-
10 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
11 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
12 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
13 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
14 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
15 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
16 /usr/include/bits/stdint-least.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/std/lexer.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
21 /home/herbglitch/programs/archeus/arc/include/arc/std/vector.h \
-
22 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
23 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
24 /usr/include/stdio.h \
-
25 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
26 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
27 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
28 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
29 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
30 /usr/include/bits/types/cookie_io_functions_t.h \
-
31 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
32 /usr/include/bits/floatn-common.h /usr/include/stdlib.h \
-
33 /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
-
34 /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \
-
35 /usr/include/bits/types/clockid_t.h /usr/include/bits/types/time_t.h \
-
36 /usr/include/bits/types/timer_t.h /usr/include/endian.h \
-
37 /usr/include/bits/endian.h /usr/include/bits/endianness.h \
-
38 /usr/include/bits/byteswap.h /usr/include/bits/uintn-identity.h \
-
39 /usr/include/sys/select.h /usr/include/bits/select.h \
-
40 /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \
-
41 /usr/include/bits/types/struct_timeval.h \
-
42 /usr/include/bits/types/struct_timespec.h \
-
43 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
44 /usr/include/bits/pthreadtypes-arch.h \
-
45 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
46 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
47 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d2/df4/archeus__std_8dir_2src_2std_2config_8c_8o_8d.html b/doc/doxygen/html/d2/df4/archeus__std_8dir_2src_2std_2config_8c_8o_8d.html deleted file mode 100644 index 8d0c7f9..0000000 --- a/doc/doxygen/html/d2/df4/archeus__std_8dir_2src_2std_2config_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/config.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d2/df4/archeus__std_8dir_2src_2std_2config_8c_8o_8d_source.html b/doc/doxygen/html/d2/df4/archeus__std_8dir_2src_2std_2config_8c_8o_8d_source.html deleted file mode 100644 index 41d8157..0000000 --- a/doc/doxygen/html/d2/df4/archeus__std_8dir_2src_2std_2config_8c_8o_8d_source.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/config.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/std/config.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/config.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/config.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/std/hashtable.h \
-
6 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
7 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
8 /usr/include/features.h /usr/include/features-time64.h \
-
9 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
10 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
11 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
12 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
13 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
14 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
15 /usr/include/bits/stdint-least.h \
-
16 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
19 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
20 /home/herbglitch/programs/archeus/arc/include/arc/std/defaults/config.h \
-
21 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
22 /usr/include/stdio.h \
-
23 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
24 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
25 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
26 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
27 /usr/include/bits/types/cookie_io_functions_t.h \
-
28 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
29 /usr/include/bits/floatn-common.h \
-
30 /home/herbglitch/programs/archeus/arc/include/arc/std/io.h \
-
31 /usr/include/stdlib.h /usr/include/bits/waitflags.h \
-
32 /usr/include/bits/waitstatus.h /usr/include/sys/types.h \
-
33 /usr/include/bits/types/clock_t.h /usr/include/bits/types/clockid_t.h \
-
34 /usr/include/bits/types/time_t.h /usr/include/bits/types/timer_t.h \
-
35 /usr/include/endian.h /usr/include/bits/endian.h \
-
36 /usr/include/bits/endianness.h /usr/include/bits/byteswap.h \
-
37 /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \
-
38 /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \
-
39 /usr/include/bits/types/__sigset_t.h \
-
40 /usr/include/bits/types/struct_timeval.h \
-
41 /usr/include/bits/types/struct_timespec.h \
-
42 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
43 /usr/include/bits/pthreadtypes-arch.h \
-
44 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
45 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
46 /usr/include/bits/stdlib-float.h /usr/include/string.h \
-
47 /usr/include/bits/types/locale_t.h /usr/include/bits/types/__locale_t.h \
-
48 /usr/include/strings.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d3/d0a/structARC__ParserTag.html b/doc/doxygen/html/d3/d0a/structARC__ParserTag.html deleted file mode 100644 index 7f64b22..0000000 --- a/doc/doxygen/html/d3/d0a/structARC__ParserTag.html +++ /dev/null @@ -1,201 +0,0 @@ - - - - - - - - -Archeus: ARC_ParserTag Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_ParserTag Struct Reference
-
-
- -

a langue tag type for the parser //TODO: explain this better - More...

- -

#include <parser.h>

- - - - - - - - -

-Data Fields

uint32_t tagId
 
uint32_t ** tokensOrTags
 
uint32_t tokensOrTagsSize
 
-

Detailed Description

-

a langue tag type for the parser //TODO: explain this better

- -

Definition at line 21 of file parser.h.

-

Field Documentation

- -

◆ tagId

- -
-
- - - - -
uint32_t ARC_ParserTag::tagId
-
- -

Definition at line 22 of file parser.h.

- -
-
- -

◆ tokensOrTags

- -
-
- - - - -
uint32_t** ARC_ParserTag::tokensOrTags
-
- -

Definition at line 24 of file parser.h.

- -
-
- -

◆ tokensOrTagsSize

- -
-
- - - - -
uint32_t ARC_ParserTag::tokensOrTagsSize
-
- -

Definition at line 25 of file parser.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/include/arc/std/parser.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d3/d0a/structARC__ParserTag.js b/doc/doxygen/html/d3/d0a/structARC__ParserTag.js deleted file mode 100644 index a3ee229..0000000 --- a/doc/doxygen/html/d3/d0a/structARC__ParserTag.js +++ /dev/null @@ -1,6 +0,0 @@ -var structARC__ParserTag = -[ - [ "tagId", "d3/d0a/structARC__ParserTag.html#a049e47fdb0d730a81a12ab09c3296b60", null ], - [ "tokensOrTags", "d3/d0a/structARC__ParserTag.html#ab10a801b5b62b5e3d3bf81812cf5d6d2", null ], - [ "tokensOrTagsSize", "d3/d0a/structARC__ParserTag.html#a8bccbcd7e73d66ce0d23cecd0d481a5f", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d3/d25/src_2std_2chemical_8c_8o_8d.html b/doc/doxygen/html/d3/d25/src_2std_2chemical_8c_8o_8d.html deleted file mode 100644 index 167dd4c..0000000 --- a/doc/doxygen/html/d3/d25/src_2std_2chemical_8c_8o_8d.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/chemical.c.o.d File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
chemical.c.o.d File Reference
-
- - - -
- - diff --git a/doc/doxygen/html/d3/d25/src_2std_2chemical_8c_8o_8d_source.html b/doc/doxygen/html/d3/d25/src_2std_2chemical_8c_8o_8d_source.html deleted file mode 100644 index 83bdc98..0000000 --- a/doc/doxygen/html/d3/d25/src_2std_2chemical_8c_8o_8d_source.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/chemical.c.o.d Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
chemical.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/std/chemical.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/chemical.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/chemical.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h \
-
15 /home/herbglitch/programs/archeus/arc/include/arc/std/parser.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/std/array.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/std/lexer.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
21 /home/herbglitch/programs/archeus/arc/include/arc/std/vector.h \
-
22 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
23 /home/herbglitch/programs/archeus/arc/include/arc/std/parser/helpers.h \
-
24 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
25 /home/herbglitch/programs/archeus/arc/include/arc/std/hashtable.h \
-
26 /usr/include/stdlib.h /usr/include/bits/waitflags.h \
-
27 /usr/include/bits/waitstatus.h /usr/include/bits/floatn.h \
-
28 /usr/include/bits/floatn-common.h /usr/include/sys/types.h \
-
29 /usr/include/bits/types/clock_t.h /usr/include/bits/types/clockid_t.h \
-
30 /usr/include/bits/types/time_t.h /usr/include/bits/types/timer_t.h \
-
31 /usr/include/endian.h /usr/include/bits/endian.h \
-
32 /usr/include/bits/endianness.h /usr/include/bits/byteswap.h \
-
33 /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \
-
34 /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \
-
35 /usr/include/bits/types/__sigset_t.h \
-
36 /usr/include/bits/types/struct_timeval.h \
-
37 /usr/include/bits/types/struct_timespec.h \
-
38 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
39 /usr/include/bits/pthreadtypes-arch.h \
-
40 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
41 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
42 /usr/include/bits/stdlib-float.h
-
- - -
- - diff --git a/doc/doxygen/html/d3/d28/include_2arc_2input_2none_2keyboard_8h.html b/doc/doxygen/html/d3/d28/include_2arc_2input_2none_2keyboard_8h.html deleted file mode 100644 index 2d5aa72..0000000 --- a/doc/doxygen/html/d3/d28/include_2arc_2input_2none_2keyboard_8h.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/input/none/keyboard.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
keyboard.h File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d3/d28/include_2arc_2input_2none_2keyboard_8h_source.html b/doc/doxygen/html/d3/d28/include_2arc_2input_2none_2keyboard_8h_source.html deleted file mode 100644 index b45f63d..0000000 --- a/doc/doxygen/html/d3/d28/include_2arc_2input_2none_2keyboard_8h_source.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/input/none/keyboard.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
keyboard.h
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_INPUT
-
2
-
3#ifndef ARC_NONE_KEYBOARD_H_
-
4#define ARC_NONE_KEYBOARD_H_
-
5
- -
7
-
8struct ARC_Keyboard {};
-
9
-
10struct ARC_KeyboardInfo {};
-
11
-
12#endif // !ARC_NONE_KEYBOARD_H_
-
13
-
14#endif // !ARC_NONE_INPUT
- -
struct ARC_KeyboardInfo ARC_KeyboardInfo
Definition keyboard.h:17
- -
-
- - - - - - diff --git a/doc/doxygen/html/d3/d3c/structARC__Config.html b/doc/doxygen/html/d3/d3c/structARC__Config.html deleted file mode 100644 index 5c57d17..0000000 --- a/doc/doxygen/html/d3/d3c/structARC__Config.html +++ /dev/null @@ -1,201 +0,0 @@ - - - - - - - - -Archeus: ARC_Config Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_Config Struct Reference
-
-
- - - - - - - - -

-Data Fields

ARC_Hashtablecurrgroup
 
ARC_Hashtablegroups
 
ARC_Hashtablekeys
 
-

Detailed Description

-
-

Definition at line 13 of file config.c.

-

Field Documentation

- -

◆ currgroup

- -
-
- - - - -
ARC_Hashtable* ARC_Config::currgroup
-
-
- -

◆ groups

- -
-
- - - - -
ARC_Hashtable* ARC_Config::groups
-
- -

Definition at line 16 of file config.c.

- -

Referenced by ARC_Config_CreateGroup(), ARC_Config_Destroy(), and ARC_Config_SetGroup().

- -
-
- -

◆ keys

- -
-
- - - - -
ARC_Hashtable* ARC_Config::keys
-
- -

Definition at line 17 of file config.c.

- -

Referenced by ARC_Config_AddKey(), ARC_Config_AddKeyCString(), ARC_Config_Destroy(), and ARC_Config_LoadFromKey().

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/src/std/config.c
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d3/d3c/structARC__Config.js b/doc/doxygen/html/d3/d3c/structARC__Config.js deleted file mode 100644 index 19c18f9..0000000 --- a/doc/doxygen/html/d3/d3c/structARC__Config.js +++ /dev/null @@ -1,6 +0,0 @@ -var structARC__Config = -[ - [ "currgroup", "d3/d3c/structARC__Config.html#a8bfa0f542cc6f6dd62fb606b0a9b3e12", null ], - [ "groups", "d3/d3c/structARC__Config.html#a2e3c9d71095980dd671d863b7f495e91", null ], - [ "keys", "d3/d3c/structARC__Config.html#a72a84d1951e330779236fd304d5d4702", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d3/d3e/include_2arc_2input_2input_8h.html b/doc/doxygen/html/d3/d3e/include_2arc_2input_2input_8h.html deleted file mode 100644 index d1b64f8..0000000 --- a/doc/doxygen/html/d3/d3e/include_2arc_2input_2input_8h.html +++ /dev/null @@ -1,337 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/input/input.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
input.h File Reference
-
-
-
#include "arc/input/keyboard.h"
-#include "arc/input/mouse.h"
-#include "arc/std/bool.h"
-
-

Go to the source code of this file.

- - - - - -

-Typedefs

typedef struct ARC_Input ARC_Input
 predefien ARC_Input so as not to get circular reference
 
- - - - - - - - - - - -

-Functions

void ARC_Input_CreateWithEngineData (ARC_Input **input, ARC_EngineData *data)
 
void ARC_Input_Destroy (ARC_Input *input)
 
ARC_Bool ARC_Input_Update (ARC_Input *input)
 
ARC_KeyboardARC_Input_GetKeyboard (ARC_Input *input)
 
ARC_MouseARC_Input_GetMouse (ARC_Input *input)
 
-

Typedef Documentation

- -

◆ ARC_Input

- -
-
- - - - -
typedef struct ARC_Input ARC_Input
-
- -

predefien ARC_Input so as not to get circular reference

- -

Definition at line 17 of file input.h.

- -
-
-

Function Documentation

- -

◆ ARC_Input_CreateWithEngineData()

- -
-
- - - - - - - - - - - -
void ARC_Input_CreateWithEngineData (ARC_Input ** input,
ARC_EngineData * data )
-
- -

Definition at line 10 of file input.c.

-
10 {
-
11 *input = (ARC_Input *)malloc(sizeof(ARC_Input));
-
12
-
13 (*input)->event = (SDL_Event *)malloc(sizeof(SDL_Event));
-
14
-
15 ARC_Keyboard_CreateWithInput(&((*input)->keyboard), *input);
-
16 ARC_Mouse_CreateWithInput(&((*input)->mouse), *input);
-
17}
-
void ARC_Keyboard_CreateWithInput(ARC_Keyboard **keyboard, ARC_Input *input)
Definition keyboard.c:11
-
void ARC_Mouse_CreateWithInput(ARC_Mouse **mouse, ARC_Input *input)
Definition mouse.c:12
- -
SDL_Event * event
Definition input.h:12
-
-

References ARC_Keyboard_CreateWithInput(), ARC_Mouse_CreateWithInput(), and ARC_Input::event.

- -

Referenced by ARC_EngineData_Create().

- -
-
- -

◆ ARC_Input_Destroy()

- -
-
- - - - - - - -
void ARC_Input_Destroy (ARC_Input * input)
-
- -

Definition at line 19 of file input.c.

-
19 {
- - -
22
-
23 free(input->event);
-
24 free(input);
-
25}
-
void ARC_Keyboard_Destroy(ARC_Keyboard *keyboard)
Definition keyboard.c:23
-
void ARC_Mouse_Destroy(ARC_Mouse *mouse)
Definition mouse.c:31
-
ARC_Keyboard * keyboard
Definition input.h:9
-
ARC_Mouse * mouse
Definition input.h:10
-
-

References ARC_Keyboard_Destroy(), ARC_Mouse_Destroy(), ARC_Input::event, ARC_Input::keyboard, and ARC_Input::mouse.

- -
-
- -

◆ ARC_Input_GetKeyboard()

- -
-
- - - - - - - -
ARC_Keyboard * ARC_Input_GetKeyboard (ARC_Input * input)
-
- -

Definition at line 39 of file input.c.

-
39 {
-
40 return input->keyboard;
-
41}
-
-

References ARC_Input::keyboard.

- -

Referenced by ARC_EngineData_Create().

- -
-
- -

◆ ARC_Input_GetMouse()

- -
-
- - - - - - - -
ARC_Mouse * ARC_Input_GetMouse (ARC_Input * input)
-
- -

Definition at line 43 of file input.c.

-
43 {
-
44 return input->mouse;
-
45}
-
-

References ARC_Input::mouse.

- -

Referenced by ARC_EngineData_Create().

- -
-
- -

◆ ARC_Input_Update()

- -
-
- - - - - - - -
ARC_Bool ARC_Input_Update (ARC_Input * input)
-
- -

Definition at line 27 of file input.c.

-
27 {
-
28 SDL_PollEvent(input->event);
-
29 if(input->event->type == SDL_QUIT){
-
30 return ARC_False;
-
31 }
-
32
- -
34 ARC_Mouse_Update(input->mouse);
-
35
-
36 return ARC_True;
-
37}
-
#define ARC_False
Definition bool.h:12
-
#define ARC_True
Definition bool.h:11
-
void ARC_Keyboard_Update(ARC_Keyboard *keyboard)
Definition keyboard.c:29
-
void ARC_Mouse_Update(ARC_Mouse *mouse)
Definition mouse.c:61
-
-

References ARC_False, ARC_Keyboard_Update(), ARC_Mouse_Update(), ARC_True, ARC_Input::event, ARC_Input::keyboard, and ARC_Input::mouse.

- -

Referenced by ARC_Engine_RunUncapped().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d3/d3e/include_2arc_2input_2input_8h.js b/doc/doxygen/html/d3/d3e/include_2arc_2input_2input_8h.js deleted file mode 100644 index f506ed9..0000000 --- a/doc/doxygen/html/d3/d3e/include_2arc_2input_2input_8h.js +++ /dev/null @@ -1,9 +0,0 @@ -var include_2arc_2input_2input_8h = -[ - [ "ARC_Input", "d3/d3e/include_2arc_2input_2input_8h.html#ab10a17a34031b17d7ed09ca515a91b45", null ], - [ "ARC_Input_CreateWithEngineData", "d3/d3e/include_2arc_2input_2input_8h.html#ab067b02367e78494a930fcccdd930c0c", null ], - [ "ARC_Input_Destroy", "d3/d3e/include_2arc_2input_2input_8h.html#a3f88d045f196b8460a62f4c32ee23f54", null ], - [ "ARC_Input_GetKeyboard", "d3/d3e/include_2arc_2input_2input_8h.html#a33b395c2b23fb459904fef05df97ae5d", null ], - [ "ARC_Input_GetMouse", "d3/d3e/include_2arc_2input_2input_8h.html#a5de153e8f7dd3212cb998ea2ad29c4f6", null ], - [ "ARC_Input_Update", "d3/d3e/include_2arc_2input_2input_8h.html#afb3fa56528406720283b62b2b713e118", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d3/d3e/include_2arc_2input_2input_8h_source.html b/doc/doxygen/html/d3/d3e/include_2arc_2input_2input_8h_source.html deleted file mode 100644 index cad57d2..0000000 --- a/doc/doxygen/html/d3/d3e/include_2arc_2input_2input_8h_source.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/input/input.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
input.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_INPUT_H_
-
2#define ARC_INPUT_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
- -
9#include "arc/input/mouse.h"
-
10#include "arc/std/bool.h"
-
11
-
12/**
-
13 * @brief predefien ARC_EngineData so as not to get circular reference
-
14*/
-
15typedef struct ARC_EngineData ARC_EngineData;
-
16
-
17typedef struct ARC_Input ARC_Input;
-
18
- -
20
-
21void ARC_Input_Destroy(ARC_Input *input);
-
22
- -
24
- -
26
- -
28
-
29#ifdef __cplusplus
-
30}
-
31#endif
-
32
-
33#endif // !ARC_INPUT_H_
- -
#define ARC_Bool
Definition bool.h:10
-
ARC_Keyboard * ARC_Input_GetKeyboard(ARC_Input *input)
Definition input.c:39
-
void ARC_Input_Destroy(ARC_Input *input)
Definition input.c:19
-
ARC_Mouse * ARC_Input_GetMouse(ARC_Input *input)
Definition input.c:43
-
void ARC_Input_CreateWithEngineData(ARC_Input **input, ARC_EngineData *data)
Definition input.c:10
-
ARC_Bool ARC_Input_Update(ARC_Input *input)
Definition input.c:27
- - - - - - -
-
- - - - - - diff --git a/doc/doxygen/html/d3/d42/tests_8dir_2src_2std_2time_8c_8o_8d.html b/doc/doxygen/html/d3/d42/tests_8dir_2src_2std_2time_8c_8o_8d.html deleted file mode 100644 index 149972a..0000000 --- a/doc/doxygen/html/d3/d42/tests_8dir_2src_2std_2time_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/time.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
time.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d3/d42/tests_8dir_2src_2std_2time_8c_8o_8d_source.html b/doc/doxygen/html/d3/d42/tests_8dir_2src_2std_2time_8c_8o_8d_source.html deleted file mode 100644 index 7acbfee..0000000 --- a/doc/doxygen/html/d3/d42/tests_8dir_2src_2std_2time_8c_8o_8d_source.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/time.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
time.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/std/time.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/time.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/time.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h /usr/include/time.h \
-
15 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
16 /usr/include/bits/time.h /usr/include/bits/types/clock_t.h \
-
17 /usr/include/bits/types/time_t.h /usr/include/bits/types/struct_tm.h \
-
18 /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \
-
19 /usr/include/bits/endianness.h /usr/include/bits/types/clockid_t.h \
-
20 /usr/include/bits/types/timer_t.h \
-
21 /usr/include/bits/types/struct_itimerspec.h \
-
22 /usr/include/bits/types/locale_t.h /usr/include/bits/types/__locale_t.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d3/d58/std_2config_8h.html b/doc/doxygen/html/d3/d58/std_2config_8h.html deleted file mode 100644 index df7089d..0000000 --- a/doc/doxygen/html/d3/d58/std_2config_8h.html +++ /dev/null @@ -1,582 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/config.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
config.h File Reference
-
-
-
#include "arc/std/hashtable.h"
-#include "arc/std/string.h"
-#include <stdint.h>
-
-

Go to the source code of this file.

- - - - - - - - - - - - - -

-Macros

#define ARC_KEY_BUCKET_SIZE   0x20
 
#define ARC_GROUP_BUCKET_SIZE   0x20
 
#define ARC_GROUP_DATA_BUCKET_SIZE   0x20
 
#define ARC_CONFIG_FILE_IO_LOAD   0x00
 commands that can be used in ARC_Config_FileIO
 
#define ARC_CONFIG_FILE_IO_UNLOAD   0x01
 
- - - - - - - - - - -

-Typedefs

typedef uint8_t(* ARC_ConfigKeyRead) (ARC_Config *config, ARC_String *string, void **value)
 a function to read a key from string to a ARC_ConfigTypeTemplate
 
typedef void(* ARC_ConfigKeyDelete) (ARC_Config *config, ARC_String *string, void *value)
 a function to delete a value from a key in ARC_Config
 
typedef void(* ARC_ConfigKey_AddFunc) (ARC_Config *config)
 external callback to add keys to config
 
- - - - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_Config_AddKey (ARC_Config *config, ARC_String *type, ARC_ConfigKeyRead keyRead, ARC_ConfigKeyDelete keyDelete)
 adds a usable key to ARC_Config
 
void ARC_Config_AddKeyCString (ARC_Config *config, const char *type, uint64_t length, ARC_ConfigKeyRead keyRead, ARC_ConfigKeyDelete keyDelete)
 adds a key from a cstring
 
void ARC_Config_Create (ARC_Config **config)
 creates ARC_Config type
 
void ARC_Config_Destroy (ARC_Config *config)
 destroys ARC_Config type
 
void ARC_Config_SetGroup (ARC_Config *config, ARC_String *groupname)
 sets current group in config
 
void ARC_Config_Get (ARC_Config *config, ARC_String *keyname, void **value)
 get a value from a given keyname
 
void ARC_Config_FileIO (ARC_Config *config, ARC_String *path, uint8_t command)
 handles file io for ARC_Config Type
 
-

Macro Definition Documentation

- -

◆ ARC_CONFIG_FILE_IO_LOAD

- -
-
- - - - -
#define ARC_CONFIG_FILE_IO_LOAD   0x00
-
- -

commands that can be used in ARC_Config_FileIO

- -

Definition at line 107 of file config.h.

- -
-
- -

◆ ARC_CONFIG_FILE_IO_UNLOAD

- -
-
- - - - -
#define ARC_CONFIG_FILE_IO_UNLOAD   0x01
-
- -

Definition at line 108 of file config.h.

- -
-
- -

◆ ARC_GROUP_BUCKET_SIZE

- -
-
- - - - -
#define ARC_GROUP_BUCKET_SIZE   0x20
-
- -

Definition at line 13 of file config.h.

- -
-
- -

◆ ARC_GROUP_DATA_BUCKET_SIZE

- -
-
- - - - -
#define ARC_GROUP_DATA_BUCKET_SIZE   0x20
-
- -

Definition at line 14 of file config.h.

- -
-
- -

◆ ARC_KEY_BUCKET_SIZE

- -
-
- - - - -
#define ARC_KEY_BUCKET_SIZE   0x20
-
- -

Definition at line 12 of file config.h.

- -
-
-

Typedef Documentation

- -

◆ ARC_ConfigKey_AddFunc

- -
-
- - - - -
typedef void(* ARC_ConfigKey_AddFunc) (ARC_Config *config)
-
- -

external callback to add keys to config

- -

Definition at line 69 of file config.h.

- -
-
- -

◆ ARC_ConfigKeyDelete

- -
-
- - - - -
typedef void(* ARC_ConfigKeyDelete) (ARC_Config *config, ARC_String *string, void *value)
-
- -

a function to delete a value from a key in ARC_Config

-
Parameters
- - - -
configARC_Config that can be used to check for references in data
valuepointer of data to be deleted
-
-
-
Note
this function can be NULL if memory does not need to be cleaned for this type if there is an error, set arc_errno
- -

Definition at line 44 of file config.h.

- -
-
- -

◆ ARC_ConfigKeyRead

- -
-
- - - - -
typedef uint8_t(* ARC_ConfigKeyRead) (ARC_Config *config, ARC_String *string, void **value)
-
- -

a function to read a key from string to a ARC_ConfigTypeTemplate

-
Parameters
- - - - -
configARC_Config to store data to
stringARC_String of data that is being read in
valuevalue that is read in
-
-
-
Note
use ARC_Config_StoreValue(ARC_Config *config, ARC_String *name, void *value); to store a value to the config if there is an error, set arc_errno
-
Returns
0 if value not a reference, 1 if value is a reference
- -

Definition at line 33 of file config.h.

- -
-
-

Function Documentation

- -

◆ ARC_Config_AddKey()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Config_AddKey (ARC_Config * config,
ARC_String * type,
ARC_ConfigKeyRead keyRead,
ARC_ConfigKeyDelete keyDelete )
-
- -

adds a usable key to ARC_Config

-
Parameters
- - - - - -
configARC_Config to add keys to
typestring of key type
keyReadfunction for reading/creating key from string
keyDeletefunction for deleting stored key
-
-
- -
-
- -

◆ ARC_Config_AddKeyCString()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
void ARC_Config_AddKeyCString (ARC_Config * config,
const char * type,
uint64_t length,
ARC_ConfigKeyRead keyRead,
ARC_ConfigKeyDelete keyDelete )
-
- -

adds a key from a cstring

-
Parameters
- - - - - - -
configARC_Config to add keys to
typecstring of key type
lengthlength of cstring
keyReadfunction for reading/creating key from string
keyDeletefunction for deleting stored key
-
-
- -
-
- -

◆ ARC_Config_Create()

- -
-
- - - - - - - -
void ARC_Config_Create (ARC_Config ** config)
-
- -

creates ARC_Config type

-
Parameters
- - -
configARC_Config to initialize
-
-
- -
-
- -

◆ ARC_Config_Destroy()

- -
-
- - - - - - - -
void ARC_Config_Destroy (ARC_Config * config)
-
- -

destroys ARC_Config type

- -
-
- -

◆ ARC_Config_FileIO()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Config_FileIO (ARC_Config * config,
ARC_String * path,
uint8_t command )
-
- -

handles file io for ARC_Config Type

-
Parameters
- - - -
configARC_Config where io operations will take place
pathfile path for io
-
-
- -
-
- -

◆ ARC_Config_Get()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Config_Get (ARC_Config * config,
ARC_String * keyname,
void ** value )
-
- -

get a value from a given keyname

-
Note
name may be prefaced with <group>:: to specify group
-
Parameters
- - - - -
configARC_Config to get value from
keynamename of key to get from config
valuedata retrieved from config
-
-
- -
-
- -

◆ ARC_Config_SetGroup()

- -
-
- - - - - - - - - - - -
void ARC_Config_SetGroup (ARC_Config * config,
ARC_String * groupname )
-
- -

sets current group in config

-
Note
ARC_Config_Get will use this set group
-
Parameters
- - - -
configARC_Config we are setting current group in
groupnamename of group that will be set
-
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d3/d58/std_2config_8h.js b/doc/doxygen/html/d3/d58/std_2config_8h.js deleted file mode 100644 index bb17a75..0000000 --- a/doc/doxygen/html/d3/d58/std_2config_8h.js +++ /dev/null @@ -1,18 +0,0 @@ -var std_2config_8h = -[ - [ "ARC_CONFIG_FILE_IO_LOAD", "d3/d58/std_2config_8h.html#a696d760ea66fed20ff42c3aaac0f9609", null ], - [ "ARC_CONFIG_FILE_IO_UNLOAD", "d3/d58/std_2config_8h.html#a101688a6bcee61c9a68cdc4a9fea8ce6", null ], - [ "ARC_GROUP_BUCKET_SIZE", "d3/d58/std_2config_8h.html#aebe7e30736515ea92af7365a8c05e269", null ], - [ "ARC_GROUP_DATA_BUCKET_SIZE", "d3/d58/std_2config_8h.html#a2979878127e519a90fc5276c19405a55", null ], - [ "ARC_KEY_BUCKET_SIZE", "d3/d58/std_2config_8h.html#aa8d55a1d202b495b292e51919ee099d1", null ], - [ "ARC_ConfigKey_AddFunc", "d3/d58/std_2config_8h.html#a810e986107e108c65fe808edbd6371af", null ], - [ "ARC_ConfigKeyDelete", "d3/d58/std_2config_8h.html#af84f4d14d9da265c9f136b832a16bc9c", null ], - [ "ARC_ConfigKeyRead", "d3/d58/std_2config_8h.html#a24eb640dcf65c28bc8e07ea59a733245", null ], - [ "ARC_Config_AddKey", "d3/d58/std_2config_8h.html#aff40cd55a3b227cd33334d1c5843ed06", null ], - [ "ARC_Config_AddKeyCString", "d3/d58/std_2config_8h.html#a16b8895da92529e4c6ede062db2e417e", null ], - [ "ARC_Config_Create", "d3/d58/std_2config_8h.html#a3bf1d8c89c92e8dd42ecd6105dc78306", null ], - [ "ARC_Config_Destroy", "d3/d58/std_2config_8h.html#ae771a007a23bb925494d68ae7ca212be", null ], - [ "ARC_Config_FileIO", "d3/d58/std_2config_8h.html#ad6467c7d5aa224d49620fabc990d13f3", null ], - [ "ARC_Config_Get", "d3/d58/std_2config_8h.html#a4bd96f3f4cf016f82ffaf82f679288c4", null ], - [ "ARC_Config_SetGroup", "d3/d58/std_2config_8h.html#aa1ec47a354f6cc1ee8356a098cf5b3c9", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d3/d58/std_2config_8h_source.html b/doc/doxygen/html/d3/d58/std_2config_8h_source.html deleted file mode 100644 index df42a33..0000000 --- a/doc/doxygen/html/d3/d58/std_2config_8h_source.html +++ /dev/null @@ -1,269 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/config.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_STD_CONFIG_H_
-
2#define ARC_STD_CONFIG_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include "arc/std/hashtable.h"
-
9#include "arc/std/string.h"
-
10#include <stdint.h>
-
11
-
12#define ARC_KEY_BUCKET_SIZE 0x20
-
13#define ARC_GROUP_BUCKET_SIZE 0x20
-
14#define ARC_GROUP_DATA_BUCKET_SIZE 0x20
-
15
-
16/**
-
17 * @brief a type that keeps permanice of data for when loading and unloading config files
-
18 */
-
19typedef struct ARC_Config ARC_Config;
-
20
-
21/**
-
22 * @brief a function to read a key from string to a ARC_ConfigTypeTemplate
-
23 *
-
24 * @param config ARC_Config to store data to
-
25 * @param string ARC_String of data that is being read in
-
26 * @param value value that is read in
-
27 *
-
28 * @note use ARC_Config_StoreValue(ARC_Config *config, ARC_String *name, void *value); to store a value to the config
-
29 * if there is an error, set arc_errno
-
30 *
-
31 * @return 0 if value not a reference, 1 if value is a reference
-
32 */
-
33typedef uint8_t (* ARC_ConfigKeyRead)(ARC_Config* config, ARC_String *string, void **value);
-
34
-
35/**
-
36 * @brief a function to delete a value from a key in ARC_Config
-
37 *
-
38 * @param config ARC_Config that can be used to check for references in data
-
39 * @param value pointer of data to be deleted
-
40 *
-
41 * @note this function can be NULL if memory does not need to be cleaned for this type
-
42 * if there is an error, set arc_errno
-
43 */
-
44typedef void (* ARC_ConfigKeyDelete)(ARC_Config* config, ARC_String *string, void *value);
-
45
-
46/**
-
47 * @brief adds a usable key to ARC_Config
-
48 *
-
49 * @param config ARC_Config to add keys to
-
50 * @param type string of key type
-
51 * @param keyRead function for reading/creating key from string
-
52 * @param keyDelete function for deleting stored key
-
53 */
- -
55
-
56/**
-
57 * @brief adds a key from a cstring
-
58 * @param config ARC_Config to add keys to
-
59 * @param type cstring of key type
-
60 * @param length length of cstring
-
61 * @param keyRead function for reading/creating key from string
-
62 * @param keyDelete function for deleting stored key
-
63*/
-
64void ARC_Config_AddKeyCString(ARC_Config *config, const char *type, uint64_t length, ARC_ConfigKeyRead keyRead, ARC_ConfigKeyDelete keyDelete);
-
65
-
66/**
-
67 * @brief external callback to add keys to config
-
68 */
-
69typedef void (* ARC_ConfigKey_AddFunc)(ARC_Config *config);
-
70
-
71/**
-
72 * @brief creates ARC_Config type
-
73 *
-
74 * @param config ARC_Config to initialize
-
75 */
- -
77
-
78/**
-
79 * @brief destroys ARC_Config type
-
80 */
- -
82
-
83/**
-
84 * @brief sets current group in config
-
85 *
-
86 * @note ARC_Config_Get will use this set group
-
87 *
-
88 * @param config ARC_Config we are setting current group in
-
89 * @param groupname name of group that will be set
-
90 */
-
91void ARC_Config_SetGroup(ARC_Config *config, ARC_String *groupname);
-
92
-
93/**
-
94 * @brief get a value from a given keyname
-
95 *
-
96 * @note name may be prefaced with <group>:: to specify group
-
97 *
-
98 * @param config ARC_Config to get value from
-
99 * @param keyname name of key to get from config
-
100 * @param value data retrieved from config
-
101 */
-
102void ARC_Config_Get(ARC_Config *config, ARC_String *keyname, void **value);
-
103
-
104/**
-
105 * @brief commands that can be used in ARC_Config_FileIO
-
106 */
-
107#define ARC_CONFIG_FILE_IO_LOAD 0x00
-
108#define ARC_CONFIG_FILE_IO_UNLOAD 0x01
-
109
-
110/**
-
111 * @brief handles file io for ARC_Config Type
-
112 *
-
113 * @param config ARC_Config where io operations will take place
-
114 * @param path file path for io
-
115 */
-
116void ARC_Config_FileIO(ARC_Config *config, ARC_String *path, uint8_t command);
-
117
-
118#ifdef __cplusplus
-
119}
-
120#endif
-
121
-
122#endif //ARC_STD_CONFIG_H_
-
123
-
124#ifdef ARC_DEFAULT_CONFIG
-
125#include "defaults/config.h"
-
126#endif //ARC_DEFAULT_CONFIG
-
struct ARC_Config ARC_Config
a type that keeps permanice of data for when loading and unloading config files
Definition config.h:11
- -
void ARC_Config_AddKeyCString(ARC_Config *config, const char *type, uint64_t length, ARC_ConfigKeyRead keyRead, ARC_ConfigKeyDelete keyDelete)
adds a key from a cstring
-
uint8_t(* ARC_ConfigKeyRead)(ARC_Config *config, ARC_String *string, void **value)
a function to read a key from string to a ARC_ConfigTypeTemplate
Definition config.h:33
-
void ARC_Config_Create(ARC_Config **config)
creates ARC_Config type
-
void ARC_Config_Get(ARC_Config *config, ARC_String *keyname, void **value)
get a value from a given keyname
-
void(* ARC_ConfigKey_AddFunc)(ARC_Config *config)
external callback to add keys to config
Definition config.h:69
-
void ARC_Config_SetGroup(ARC_Config *config, ARC_String *groupname)
sets current group in config
-
void ARC_Config_FileIO(ARC_Config *config, ARC_String *path, uint8_t command)
handles file io for ARC_Config Type
-
void ARC_Config_Destroy(ARC_Config *config)
destroys ARC_Config type
-
void(* ARC_ConfigKeyDelete)(ARC_Config *config, ARC_String *string, void *value)
a function to delete a value from a key in ARC_Config
Definition config.h:44
-
void ARC_Config_AddKey(ARC_Config *config, ARC_String *type, ARC_ConfigKeyRead keyRead, ARC_ConfigKeyDelete keyDelete)
adds a usable key to ARC_Config
- - -
substring position within a string
Definition string.h:14
-
-
- - - - - - diff --git a/doc/doxygen/html/d3/d66/math_2obround_8h.html b/doc/doxygen/html/d3/d66/math_2obround_8h.html deleted file mode 100644 index 573682b..0000000 --- a/doc/doxygen/html/d3/d66/math_2obround_8h.html +++ /dev/null @@ -1,241 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/math/obround.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
obround.h File Reference
-
-
-
#include <stdint.h>
-
-

Go to the source code of this file.

- - - - - - -

-Data Structures

struct  ARC_Obround
 
struct  ARC_FObround
 
- - - - - -

-Typedefs

typedef struct ARC_Obround ARC_Obround
 
typedef struct ARC_FObround ARC_FObround
 
- - - - - - - -

-Functions

ARC_FObround ARC_Obround_CastToFObround (ARC_Obround *obround)
 casts Obround to FObround
 
ARC_Obround ARC_FObround_CastToObround (ARC_FObround *obround)
 casts FObround to Obround
 
-

Typedef Documentation

- -

◆ ARC_FObround

- -
-
- - - - -
typedef struct ARC_FObround ARC_FObround
-
- -
-
- -

◆ ARC_Obround

- -
-
- - - - -
typedef struct ARC_Obround ARC_Obround
-
- -
-
-

Function Documentation

- -

◆ ARC_FObround_CastToObround()

- -
-
- - - - - - - -
ARC_Obround ARC_FObround_CastToObround (ARC_FObround * obround)
-
- -

casts FObround to Obround

-
Parameters
- - -
obroundARC_FObround to be casted
-
-
-
Returns
ARC_Obround
- -
-
- -

◆ ARC_Obround_CastToFObround()

- -
-
- - - - - - - -
ARC_FObround ARC_Obround_CastToFObround (ARC_Obround * obround)
-
- -

casts Obround to FObround

-
Parameters
- - -
obroundARC_Obround to be casted
-
-
-
Returns
ARC_FObround
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d3/d66/math_2obround_8h.js b/doc/doxygen/html/d3/d66/math_2obround_8h.js deleted file mode 100644 index 6915449..0000000 --- a/doc/doxygen/html/d3/d66/math_2obround_8h.js +++ /dev/null @@ -1,9 +0,0 @@ -var math_2obround_8h = -[ - [ "ARC_Obround", "d4/d06/structARC__Obround.html", "d4/d06/structARC__Obround" ], - [ "ARC_FObround", "dc/d00/structARC__FObround.html", "dc/d00/structARC__FObround" ], - [ "ARC_FObround", "d3/d66/math_2obround_8h.html#a46896e6717b8e3a9924b9c96d2ea6629", null ], - [ "ARC_Obround", "d3/d66/math_2obround_8h.html#a08e2c243d41eb6776855db6a92fc6d4e", null ], - [ "ARC_FObround_CastToObround", "d3/d66/math_2obround_8h.html#acc0ba97a943dba9998a65156da2a8e7f", null ], - [ "ARC_Obround_CastToFObround", "d3/d66/math_2obround_8h.html#acf56c47f95620e4645316a46e7046606", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d3/d66/math_2obround_8h_source.html b/doc/doxygen/html/d3/d66/math_2obround_8h_source.html deleted file mode 100644 index 5f22cb1..0000000 --- a/doc/doxygen/html/d3/d66/math_2obround_8h_source.html +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/math/obround.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
obround.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_MATH_OBROUND_H_
-
2#define ARC_MATH_OBROUND_H_
-
3
-
4#include <stdint.h>
-
5
-
6#ifdef __cplusplus
-
7extern "C" {
-
8#endif
-
9
-
-
10typedef struct ARC_Obround {
-
11 int32_t x;
-
12 int32_t y;
-
13 int32_t r;
-
14 int32_t h;
- -
-
16
-
-
17typedef struct ARC_FObround {
-
18 float x;
-
19 float y;
-
20 float r;
-
21 float h;
- -
-
23
-
24/**
-
25 * @brief casts Obround to FObround
-
26 *
-
27 * @param obround ARC_Obround to be casted
-
28 *
-
29 * @return ARC_FObround
-
30 */
- -
32
-
33/**
-
34 * @brief casts FObround to Obround
-
35 *
-
36 * @param obround ARC_FObround to be casted
-
37 *
-
38 * @return ARC_Obround
-
39 */
- -
41
-
42#ifdef __cplusplus
-
43}
-
44#endif
-
45
-
46#endif // ARC_MATH_OBROUND_H_
-
47
-
struct ARC_Obround ARC_Obround
-
struct ARC_FObround ARC_FObround
-
ARC_Obround ARC_FObround_CastToObround(ARC_FObround *obround)
casts FObround to Obround
-
ARC_FObround ARC_Obround_CastToFObround(ARC_Obround *obround)
casts Obround to FObround
- -
float y
Definition obround.h:19
-
float h
Definition obround.h:21
-
float x
Definition obround.h:18
-
float r
Definition obround.h:20
- -
int32_t r
Definition obround.h:13
-
int32_t x
Definition obround.h:11
-
int32_t y
Definition obround.h:12
-
int32_t h
Definition obround.h:14
-
-
- - - - - - diff --git a/doc/doxygen/html/d3/d68/archeus__std_8dir_2src_2std_2handler_8c_8o_8d.html b/doc/doxygen/html/d3/d68/archeus__std_8dir_2src_2std_2handler_8c_8o_8d.html deleted file mode 100644 index 58e5829..0000000 --- a/doc/doxygen/html/d3/d68/archeus__std_8dir_2src_2std_2handler_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/handler.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
handler.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d3/d68/archeus__std_8dir_2src_2std_2handler_8c_8o_8d_source.html b/doc/doxygen/html/d3/d68/archeus__std_8dir_2src_2std_2handler_8c_8o_8d_source.html deleted file mode 100644 index c26a2f3..0000000 --- a/doc/doxygen/html/d3/d68/archeus__std_8dir_2src_2std_2handler_8c_8o_8d_source.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/handler.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
handler.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/std/handler.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/handler.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/handler.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
6 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
7 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
8 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
9 /usr/include/features.h /usr/include/features-time64.h \
-
10 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
11 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
12 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
13 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
14 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
15 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
16 /usr/include/bits/stdint-least.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
18 /usr/include/stdio.h \
-
19 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
21 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
22 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
23 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
24 /usr/include/bits/types/cookie_io_functions_t.h \
-
25 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
26 /usr/include/bits/floatn-common.h \
-
27 /home/herbglitch/programs/archeus/arc/include/arc/std/vector.h \
-
28 /usr/include/stdlib.h /usr/include/bits/waitflags.h \
-
29 /usr/include/bits/waitstatus.h /usr/include/sys/types.h \
-
30 /usr/include/bits/types/clock_t.h /usr/include/bits/types/clockid_t.h \
-
31 /usr/include/bits/types/time_t.h /usr/include/bits/types/timer_t.h \
-
32 /usr/include/endian.h /usr/include/bits/endian.h \
-
33 /usr/include/bits/endianness.h /usr/include/bits/byteswap.h \
-
34 /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \
-
35 /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \
-
36 /usr/include/bits/types/__sigset_t.h \
-
37 /usr/include/bits/types/struct_timeval.h \
-
38 /usr/include/bits/types/struct_timespec.h \
-
39 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
40 /usr/include/bits/pthreadtypes-arch.h \
-
41 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
42 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
43 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d3/d6d/tests_2std_2lexer_8c.html b/doc/doxygen/html/d3/d6d/tests_2std_2lexer_8c.html deleted file mode 100644 index 5edb9f0..0000000 --- a/doc/doxygen/html/d3/d6d/tests_2std_2lexer_8c.html +++ /dev/null @@ -1,418 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/tests/std/lexer.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
lexer.c File Reference
-
-
-
#include "../test.h"
-#include "arc/std/lexer.h"
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - -

-Functions

 ARC_TEST (Lexer_Char_Match)
 
 ARC_TEST (Lexer_Check_Id_Basic)
 
 ARC_TEST (Lexer_Check_Id_Unordered_But_Continious)
 
 ARC_TEST (Lexer_Check_Id_Unordered_Not_Continious)
 
 ARC_TEST (Lexer_Check_Continious)
 
 ARC_TEST (Lexer_Check_Not_Continious)
 
-

Function Documentation

- -

◆ ARC_TEST() [1/6]

- -
-
- - - - - - - -
ARC_TEST (Lexer_Char_Match )
-
- -

Definition at line 4 of file lexer.c.

-
4 {
-
5 ARC_Lexer *lexer;
-
6 ARC_Lexer_Create(&lexer);
-
7
- -
9
-
10 ARC_String *simple;
-
11 ARC_String_CreateWithStrlen(&simple, "::{}!/.");
-
12
-
13 ARC_Lexer_LexString(lexer, &simple);
-
14
-
15 ARC_LexerToken *token;
-
16
-
17 token = ARC_Lexer_GetToken(lexer, 0);
- -
19
-
20 token = ARC_Lexer_GetToken(lexer, 1);
- -
22
-
23 token = ARC_Lexer_GetToken(lexer, 2);
- -
25
-
26 token = ARC_Lexer_GetToken(lexer, 3);
- -
28
-
29 token = ARC_Lexer_GetToken(lexer, 4);
- -
31
-
32 token = ARC_Lexer_GetToken(lexer, 5);
- -
34
-
35 token = ARC_Lexer_GetToken(lexer, 6);
- -
37
-
38 ARC_Lexer_Destroy(lexer);
-
39}
-
#define ARC_LEXER_TOKEN_FORWARD_SLASH_ID
Definition lexer.h:271
-
#define ARC_LEXER_TOKEN_PERIOD_ID
Definition lexer.h:268
-
#define ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_ID
Definition lexer.h:283
-
#define ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_ID
Definition lexer.h:286
-
#define ARC_LEXER_TOKEN_BANG_ID
Definition lexer.h:289
-
#define ARC_LEXER_TOKEN_COLON_ID
Definition lexer.h:259
-
ARC_LexerToken * ARC_Lexer_GetToken(ARC_Lexer *lexer, uint32_t index)
gets a token at a given index from a lexer
Definition lexer.c:272
-
void ARC_Lexer_LexString(ARC_Lexer *lexer, ARC_String **data)
creates tokens using a given string with ARC_LexerToken rules
Definition lexer.c:166
-
void ARC_Lexer_InitBasicTokenRules(ARC_Lexer *lexer)
adds a bunch of basic token rules (matching the BasicTokens above)
Definition lexer.c:472
-
void ARC_Lexer_Create(ARC_Lexer **lexer)
creates an ARC_Lexer type
Definition lexer.c:50
-
void ARC_Lexer_Destroy(ARC_Lexer *lexer)
destroys an ARC_Lexer type
Definition lexer.c:68
-
void ARC_String_CreateWithStrlen(ARC_String **string, char *data)
creates ARC_String type with strinlen
Definition string.c:32
-
a lexer token type
Definition lexer.h:18
-
uint32_t rule
Definition lexer.h:19
- -
substring position within a string
Definition string.h:14
-
#define ARC_CHECK(TEST)
Definition test.h:33
-
-

References ARC_CHECK, ARC_Lexer_Create(), ARC_Lexer_Destroy(), ARC_Lexer_GetToken(), ARC_Lexer_InitBasicTokenRules(), ARC_Lexer_LexString(), ARC_LEXER_TOKEN_BANG_ID, ARC_LEXER_TOKEN_COLON_ID, ARC_LEXER_TOKEN_FORWARD_SLASH_ID, ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_ID, ARC_LEXER_TOKEN_PERIOD_ID, ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_ID, ARC_String_CreateWithStrlen(), and ARC_LexerToken::rule.

- -
-
- -

◆ ARC_TEST() [2/6]

- -
-
- - - - - - - -
ARC_TEST (Lexer_Check_Continious )
-
- -

Definition at line 98 of file lexer.c.

-
98 {
-
99 ARC_Lexer *lexer;
-
100 ARC_Lexer_Create(&lexer);
-
101
- - - - - -
107
- -
109
-
110 ARC_Lexer_Destroy(lexer);
-
111}
-
#define ARC_True
Definition bool.h:11
-
void ARC_Lexer_RegisterTokenRule(ARC_Lexer *lexer, ARC_LexerTokenRule tokenRule)
adds a token rule to a lexer
Definition lexer.c:79
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharRule(uint32_t id, char character)
creates a ARC_LexerTokenRule with a given id and character
Definition lexer.c:378
-
ARC_Bool ARC_Lexer_IsContinious(ARC_Lexer *lexer)
returns a boolean based on if a lexers rules are continious
Definition lexer.c:290
-
-

References ARC_CHECK, ARC_Lexer_Create(), ARC_Lexer_Destroy(), ARC_Lexer_IsContinious(), ARC_Lexer_RegisterTokenRule(), ARC_LexerTokenRule_CreateAndReturnMatchCharRule(), and ARC_True.

- -
-
- -

◆ ARC_TEST() [3/6]

- -
-
- - - - - - - -
ARC_TEST (Lexer_Check_Id_Basic )
-
- -

Definition at line 41 of file lexer.c.

-
41 {
-
42 ARC_Lexer *lexer;
-
43 ARC_Lexer_Create(&lexer);
-
44
- - - - - -
50
- - - - - -
56
-
57 ARC_Lexer_Destroy(lexer);
-
58}
-
#define ARC_False
Definition bool.h:12
-
ARC_Bool ARC_Lexer_IsTokenId(ARC_Lexer *lexer, uint32_t id)
returns a boolean based on if a given id is a stored token rule id
Definition lexer.c:294
-
-

References ARC_CHECK, ARC_False, ARC_Lexer_Create(), ARC_Lexer_Destroy(), ARC_Lexer_IsTokenId(), ARC_Lexer_RegisterTokenRule(), ARC_LexerTokenRule_CreateAndReturnMatchCharRule(), and ARC_True.

- -
-
- -

◆ ARC_TEST() [4/6]

- - - -

◆ ARC_TEST() [5/6]

- - - -

◆ ARC_TEST() [6/6]

- - -
-
- - - - - - diff --git a/doc/doxygen/html/d3/d6d/tests_2std_2lexer_8c.js b/doc/doxygen/html/d3/d6d/tests_2std_2lexer_8c.js deleted file mode 100644 index 99e72bd..0000000 --- a/doc/doxygen/html/d3/d6d/tests_2std_2lexer_8c.js +++ /dev/null @@ -1,9 +0,0 @@ -var tests_2std_2lexer_8c = -[ - [ "ARC_TEST", "d3/d6d/tests_2std_2lexer_8c.html#a5c7ec35054de70c16aa20387a774698e", null ], - [ "ARC_TEST", "d3/d6d/tests_2std_2lexer_8c.html#a3834f8a9be35a1f39229e6bc8dc96672", null ], - [ "ARC_TEST", "d3/d6d/tests_2std_2lexer_8c.html#af9c31e7e52b8bdf10e8c23b0304a4e87", null ], - [ "ARC_TEST", "d3/d6d/tests_2std_2lexer_8c.html#a043993634f50afe8ccad24e92a32f3cd", null ], - [ "ARC_TEST", "d3/d6d/tests_2std_2lexer_8c.html#a9e7afcdbfff3c264ec451b6b5ab197b2", null ], - [ "ARC_TEST", "d3/d6d/tests_2std_2lexer_8c.html#a763d15a24d59e00801e3984b9407158a", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d3/d6d/tests_2std_2lexer_8c_source.html b/doc/doxygen/html/d3/d6d/tests_2std_2lexer_8c_source.html deleted file mode 100644 index 555cd1e..0000000 --- a/doc/doxygen/html/d3/d6d/tests_2std_2lexer_8c_source.html +++ /dev/null @@ -1,292 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/tests/std/lexer.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
lexer.c
-
-
-Go to the documentation of this file.
1#include "../test.h"
-
2#include "arc/std/lexer.h"
-
3
-
-
4ARC_TEST(Lexer_Char_Match){
-
5 ARC_Lexer *lexer;
-
6 ARC_Lexer_Create(&lexer);
-
7
- -
9
-
10 ARC_String *simple;
-
11 ARC_String_CreateWithStrlen(&simple, "::{}!/.");
-
12
-
13 ARC_Lexer_LexString(lexer, &simple);
-
14
-
15 ARC_LexerToken *token;
-
16
-
17 token = ARC_Lexer_GetToken(lexer, 0);
- -
19
-
20 token = ARC_Lexer_GetToken(lexer, 1);
- -
22
-
23 token = ARC_Lexer_GetToken(lexer, 2);
- -
25
-
26 token = ARC_Lexer_GetToken(lexer, 3);
- -
28
-
29 token = ARC_Lexer_GetToken(lexer, 4);
- -
31
-
32 token = ARC_Lexer_GetToken(lexer, 5);
- -
34
-
35 token = ARC_Lexer_GetToken(lexer, 6);
- -
37
-
38 ARC_Lexer_Destroy(lexer);
-
39}
-
-
40
- -
59
- -
78
- -
97
- -
112
- -
#define ARC_False
Definition bool.h:12
-
#define ARC_True
Definition bool.h:11
- -
#define ARC_LEXER_TOKEN_FORWARD_SLASH_ID
Definition lexer.h:271
-
#define ARC_LEXER_TOKEN_PERIOD_ID
Definition lexer.h:268
-
#define ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_ID
Definition lexer.h:283
-
#define ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_ID
Definition lexer.h:286
-
#define ARC_LEXER_TOKEN_BANG_ID
Definition lexer.h:289
-
#define ARC_LEXER_TOKEN_COLON_ID
Definition lexer.h:259
-
ARC_LexerToken * ARC_Lexer_GetToken(ARC_Lexer *lexer, uint32_t index)
gets a token at a given index from a lexer
Definition lexer.c:272
-
ARC_Bool ARC_Lexer_IsTokenId(ARC_Lexer *lexer, uint32_t id)
returns a boolean based on if a given id is a stored token rule id
Definition lexer.c:294
-
void ARC_Lexer_RegisterTokenRule(ARC_Lexer *lexer, ARC_LexerTokenRule tokenRule)
adds a token rule to a lexer
Definition lexer.c:79
-
void ARC_Lexer_LexString(ARC_Lexer *lexer, ARC_String **data)
creates tokens using a given string with ARC_LexerToken rules
Definition lexer.c:166
-
void ARC_Lexer_InitBasicTokenRules(ARC_Lexer *lexer)
adds a bunch of basic token rules (matching the BasicTokens above)
Definition lexer.c:472
-
void ARC_Lexer_Create(ARC_Lexer **lexer)
creates an ARC_Lexer type
Definition lexer.c:50
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharRule(uint32_t id, char character)
creates a ARC_LexerTokenRule with a given id and character
Definition lexer.c:378
-
ARC_Bool ARC_Lexer_IsContinious(ARC_Lexer *lexer)
returns a boolean based on if a lexers rules are continious
Definition lexer.c:290
-
void ARC_Lexer_Destroy(ARC_Lexer *lexer)
destroys an ARC_Lexer type
Definition lexer.c:68
-
void ARC_String_CreateWithStrlen(ARC_String **string, char *data)
creates ARC_String type with strinlen
Definition string.c:32
-
a lexer token type
Definition lexer.h:18
-
uint32_t rule
Definition lexer.h:19
- -
substring position within a string
Definition string.h:14
- -
#define ARC_CHECK(TEST)
Definition test.h:33
-
#define ARC_TEST(MESSAGE)
Definition test.h:31
-
-
- - - - - - diff --git a/doc/doxygen/html/d3/d76/ecs_8h.html b/doc/doxygen/html/d3/d76/ecs_8h.html deleted file mode 100644 index dda7ee1..0000000 --- a/doc/doxygen/html/d3/d76/ecs_8h.html +++ /dev/null @@ -1,236 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/engine/ecs.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ecs.h File Reference
-
-
-
#include "arc/std/vector.h"
-#include <stdint.h>
-
-

Go to the source code of this file.

- - - - - - - - -

-Typedefs

typedef struct ARC_ECS ARC_ECS
 a type that keeps permanice of data for when loading and unloading config files
 
typedef uint64_t ARC_ECSEntity
 entity type for ARC_ECS
 
- - - - - - - -

-Functions

void ARC_ECS_Create (ARC_ECS **ecs)
 creates ARC_Config type
 
void ARC_ECS_Destroy (ARC_ECS *ecs)
 destroys ARC_ECS type
 
-

Typedef Documentation

- -

◆ ARC_ECS

- -
-
- - - - -
typedef struct ARC_ECS ARC_ECS
-
- -

a type that keeps permanice of data for when loading and unloading config files

- -

Definition at line 14 of file ecs.h.

- -
-
- -

◆ ARC_ECSEntity

- -
-
- - - - -
typedef uint64_t ARC_ECSEntity
-
- -

entity type for ARC_ECS

- -

Definition at line 19 of file ecs.h.

- -
-
-

Function Documentation

- -

◆ ARC_ECS_Create()

- -
-
- - - - - - - -
void ARC_ECS_Create (ARC_ECS ** ecs)
-
- -

creates ARC_Config type

-
Parameters
- - -
ecsARC_ECS
-
-
- -
-
- -

◆ ARC_ECS_Destroy()

- -
-
- - - - - - - -
void ARC_ECS_Destroy (ARC_ECS * ecs)
-
- -

destroys ARC_ECS type

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d3/d76/ecs_8h.js b/doc/doxygen/html/d3/d76/ecs_8h.js deleted file mode 100644 index 70ac5f1..0000000 --- a/doc/doxygen/html/d3/d76/ecs_8h.js +++ /dev/null @@ -1,7 +0,0 @@ -var ecs_8h = -[ - [ "ARC_ECS", "d3/d76/ecs_8h.html#ac314f402154abe4b6f3abd6dce95d3ba", null ], - [ "ARC_ECSEntity", "d3/d76/ecs_8h.html#a2f0be97b3706132e1b1111740f44d732", null ], - [ "ARC_ECS_Create", "d3/d76/ecs_8h.html#a9e75c4fed457663972453f4535b60cd5", null ], - [ "ARC_ECS_Destroy", "d3/d76/ecs_8h.html#a1d51eda8d16f7ef11d610dd0b2da326f", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d3/d76/ecs_8h_source.html b/doc/doxygen/html/d3/d76/ecs_8h_source.html deleted file mode 100644 index 0809c2c..0000000 --- a/doc/doxygen/html/d3/d76/ecs_8h_source.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/engine/ecs.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
ecs.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_ENGINE_ECS_H_
-
2#define ARC_ENGINE_ECS_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include "arc/std/vector.h"
-
9#include <stdint.h>
-
10
-
11/**
-
12 * @brief a type that keeps permanice of data for when loading and unloading config files
-
13 */
-
14typedef struct ARC_ECS ARC_ECS;
-
15
-
16/**
-
17 * @brief entity type for ARC_ECS
-
18*/
-
19typedef uint64_t ARC_ECSEntity;
-
20
-
21/**
-
22 * @brief creates ARC_Config type
-
23 *
-
24 * @param ecs ARC_ECS
-
25 */
- -
27
-
28/**
-
29 * @brief destroys ARC_ECS type
-
30 */
- -
32
-
33#ifdef __cplusplus
-
34}
-
35#endif
-
36
-
37#endif //ARC_ENGINE_ECS_H_
-
void ARC_ECS_Destroy(ARC_ECS *ecs)
destroys ARC_ECS type
-
uint64_t ARC_ECSEntity
entity type for ARC_ECS
Definition ecs.h:19
-
void ARC_ECS_Create(ARC_ECS **ecs)
creates ARC_Config type
-
struct ARC_ECS ARC_ECS
a type that keeps permanice of data for when loading and unloading config files
Definition ecs.h:14
-
creates and outlines a dynamic array type and its functions
-
-
- - - - - - diff --git a/doc/doxygen/html/d3/d8b/buffer_8c.html b/doc/doxygen/html/d3/d8b/buffer_8c.html deleted file mode 100644 index 4bcc7f8..0000000 --- a/doc/doxygen/html/d3/d8b/buffer_8c.html +++ /dev/null @@ -1,669 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/console/ncurses/buffer.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
buffer.c File Reference
-
-
-
#include "arc/console/buffer.h"
-#include "arc/console/view.h"
-#include "arc/std/string.h"
-#include "arc/std/vector.h"
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_ConsoleBuffer
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_ConsoleBuffer_Create (ARC_ConsoleBuffer **buffer)
 creates ARC_ConsoleBuffer type
 
void ARC_ConsoleBuffer_Destroy (ARC_ConsoleBuffer *buffer)
 destroys ARC_ConsoleBuffer type
 
void ARC_ConsoleBuffer_Clear (ARC_ConsoleBuffer *buffer)
 clears the contents of a ARC_ConsoleBuffer
 
void ARC_ConsoleBuffer_Render (ARC_ConsoleBuffer *buffer, ARC_ConsoleView *view)
 renders a buffer to a ARC_ConsoleView
 
void ARC_ConsoleBuffer_RenderSection (ARC_ConsoleBuffer *buffer, ARC_ConsoleView *view, uint32_t startIndex, uint32_t lines)
 renders a section of buffer to a ARC_ConsoleView
 
void ARC_ConsoleBuffer_AddChar (ARC_ConsoleBuffer *buffer, char character)
 adds a character to the buffer
 
void ARC_ConsoleBuffer_AddString (ARC_ConsoleBuffer *buffer, ARC_String *string)
 adds an ARC_String to the buffer
 
void ARC_ConsoleBuffer_AddCString (ARC_ConsoleBuffer *buffer, char *cstring, uint64_t length)
 adds a cstring to the buffer
 
void ARC_ConsoleBuffer_AddCStringWithStrlen (ARC_ConsoleBuffer *buffer, char *cstring)
 adds a cstring to the buffer with the cstrings string length
 
uint32_t ARC_ConsoleBuffer_GetLineNumbers (ARC_ConsoleBuffer *buffer)
 gets the number of lines from a console line buffer
 
-

Function Documentation

- -

◆ ARC_ConsoleBuffer_AddChar()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleBuffer_AddChar (ARC_ConsoleBuffer * buffer,
char character )
-
- -

adds a character to the buffer

-
Parameters
- - - -
bufferARC_ConsoleBuffer to add character to
characterchar to add to ARC_ConsoleBuffer
-
-
- -

Definition at line 94 of file buffer.c.

-
94 {
-
95 if(character == '\n'){
-
96 ARC_Vector_Add(buffer->bufferLines, (void *)NULL);
-
97 return;
-
98 }
-
99
-
100 //get the last line and add a char to it
-
101 ARC_String *bufferLine = (ARC_String *)ARC_Vector_Get(buffer->bufferLines, ARC_Vector_Size(buffer->bufferLines) - 1);
-
102 ARC_Vector_RemoveIndex(buffer->bufferLines, ARC_Vector_Size(buffer->bufferLines) - 1);
-
103
-
104 if(bufferLine == NULL){
-
105 ARC_String_Create(&bufferLine, &character, 1);
-
106 ARC_Vector_Add(buffer->bufferLines, (void *)bufferLine);
-
107 return;
-
108 }
-
109
-
110 //add char to the end of the bufferline
-
111 ARC_String *nextChar;
-
112 ARC_String_Create(&nextChar, &character, 1);
-
113
-
114 ARC_String *tempBufferLine = bufferLine;
-
115 ARC_String_Merge(&bufferLine, tempBufferLine, nextChar);
-
116
-
117 ARC_String_Destroy(tempBufferLine);
-
118 ARC_String_Destroy(nextChar);
-
119
-
120 //add buffer line back to the bufferLines
-
121 ARC_Vector_Add(buffer->bufferLines, (void *)bufferLine);
-
122}
-
void ARC_String_Merge(ARC_String **combined, ARC_String *first, ARC_String *second)
merges two strings together
Definition string.c:485
-
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
ARC_Vector * bufferLines
Definition buffer.c:10
-
substring position within a string
Definition string.h:14
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:153
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:70
-
void ARC_Vector_RemoveIndex(ARC_Vector *vector, uint32_t index)
removes an item from an ARC_Vector at an index
Definition vector.c:110
-
-

References ARC_String_Create(), ARC_String_Destroy(), ARC_String_Merge(), ARC_Vector_Add(), ARC_Vector_Get(), ARC_Vector_RemoveIndex(), and ARC_ConsoleBuffer::bufferLines.

- -

Referenced by ARC_ConsoleBuffer_AddCString(), ARC_ConsoleBuffer_AddCStringWithStrlen(), and ARC_ConsoleBuffer_AddString().

- -
-
- -

◆ ARC_ConsoleBuffer_AddCString()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConsoleBuffer_AddCString (ARC_ConsoleBuffer * buffer,
char * cstring,
uint64_t length )
-
- -

adds a cstring to the buffer

-
Parameters
- - - - -
bufferARC_ConsoleBuffer to add character to
stringcstring to add to ARC_ConsoleBuffer
lengththe length of the c string to add
-
-
- -

Definition at line 131 of file buffer.c.

-
131 {
-
132 //TODO: this in a more efficient way
-
133 for(uint64_t i = 0; i < length; i++){
-
134 ARC_ConsoleBuffer_AddChar(buffer, cstring[i]);
-
135 }
-
136}
-
void ARC_ConsoleBuffer_AddChar(ARC_ConsoleBuffer *buffer, char character)
adds a character to the buffer
Definition buffer.c:94
-
-

References ARC_ConsoleBuffer_AddChar().

- -
-
- -

◆ ARC_ConsoleBuffer_AddCStringWithStrlen()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleBuffer_AddCStringWithStrlen (ARC_ConsoleBuffer * buffer,
char * cstring )
-
- -

adds a cstring to the buffer with the cstrings string length

-
Parameters
- - - -
bufferARC_ConsoleBuffer to add character to
stringcstring to add to ARC_ConsoleBuffer
-
-
- -

Definition at line 138 of file buffer.c.

-
138 {
-
139 //TODO: this in a more efficient way
-
140 for(uint64_t i = 0; i < strlen(cstring); i++){
-
141 ARC_ConsoleBuffer_AddChar(buffer, cstring[i]);
-
142 }
-
143}
-
-

References ARC_ConsoleBuffer_AddChar().

- -
-
- -

◆ ARC_ConsoleBuffer_AddString()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleBuffer_AddString (ARC_ConsoleBuffer * buffer,
ARC_String * string )
-
- -

adds an ARC_String to the buffer

-
Parameters
- - - -
bufferARC_ConsoleBuffer to add character to
stringARC_String to add to ARC_ConsoleBuffer
-
-
- -

Definition at line 124 of file buffer.c.

-
124 {
-
125 //TODO: this in a more efficient way
-
126 for(uint64_t i = 0; i < string->length; i++){
-
127 ARC_ConsoleBuffer_AddChar(buffer, string->data[i]);
-
128 }
-
129}
-
char * data
Definition string.h:15
-
-

References ARC_ConsoleBuffer_AddChar(), and ARC_String::data.

- -
-
- -

◆ ARC_ConsoleBuffer_Clear()

- -
-
- - - - - - - -
void ARC_ConsoleBuffer_Clear (ARC_ConsoleBuffer * buffer)
-
- -

clears the contents of a ARC_ConsoleBuffer

-
Parameters
- - -
bufferARC_ConsoleBuffer to clear
-
-
- -

Definition at line 35 of file buffer.c.

-
35 {
-
36 for(uint32_t i = 0; i < ARC_Vector_Size(buffer->bufferLines); i++){
-
37 ARC_String *bufferLine = (ARC_String *)ARC_Vector_Get(buffer->bufferLines, i);
-
38
-
39 if(bufferLine != NULL){
-
40 ARC_String_Destroy(bufferLine);
-
41 }
-
42 }
-
43
- - -
46
-
47 //add first line to vector
-
48 ARC_Vector_Add(buffer->bufferLines, NULL);
-
49}
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:54
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:31
-
-

References ARC_String_Destroy(), ARC_Vector_Add(), ARC_Vector_Create(), ARC_Vector_Destroy(), ARC_Vector_Get(), and ARC_ConsoleBuffer::bufferLines.

- -
-
- -

◆ ARC_ConsoleBuffer_Create()

- -
-
- - - - - - - -
void ARC_ConsoleBuffer_Create (ARC_ConsoleBuffer ** buffer)
-
- -

creates ARC_ConsoleBuffer type

-
Parameters
- - -
bufferARC_ConsoleBuffer to create
-
-
- -

Definition at line 13 of file buffer.c.

-
13 {
-
14 *buffer = (ARC_ConsoleBuffer *)malloc(sizeof(ARC_ConsoleBuffer));
-
15
-
16 ARC_Vector_Create(&((*buffer)->bufferLines));
-
17
-
18 //add first line to vector
-
19 ARC_Vector_Add((*buffer)->bufferLines, NULL);
-
20}
- -
-

References ARC_Vector_Add(), and ARC_Vector_Create().

- -

Referenced by ARC_ConsoleShell_Create().

- -
-
- -

◆ ARC_ConsoleBuffer_Destroy()

- -
-
- - - - - - - -
void ARC_ConsoleBuffer_Destroy (ARC_ConsoleBuffer * buffer)
-
- -

destroys ARC_ConsoleBuffer type

-
Parameters
- - -
bufferARC_ConsoleBuffer to destroy
-
-
- -

Definition at line 22 of file buffer.c.

-
22 {
-
23 for(uint32_t i = 0; i < ARC_Vector_Size(buffer->bufferLines); i++){
-
24 ARC_String *bufferLine = (ARC_String *)ARC_Vector_Get(buffer->bufferLines, i);
-
25
-
26 if(bufferLine != NULL){
-
27 ARC_String_Destroy(bufferLine);
-
28 }
-
29 }
-
30
- -
32 free(buffer);
-
33}
-
-

References ARC_String_Destroy(), ARC_Vector_Destroy(), ARC_Vector_Get(), and ARC_ConsoleBuffer::bufferLines.

- -

Referenced by ARC_ConsoleShell_Destroy().

- -
-
- -

◆ ARC_ConsoleBuffer_GetLineNumbers()

- -
-
- - - - - - - -
uint32_t ARC_ConsoleBuffer_GetLineNumbers (ARC_ConsoleBuffer * buffer)
-
- -

gets the number of lines from a console line buffer

-
Parameters
- - -
bufferARC_ConsoleBuffer get number of lines from
-
-
-
Returns
the number of lines within an ARC_ConsoleBuffer
- -

Definition at line 145 of file buffer.c.

-
145 {
-
146 return ARC_Vector_Size(buffer->bufferLines);
-
147}
-
-

References ARC_ConsoleBuffer::bufferLines.

- -
-
- -

◆ ARC_ConsoleBuffer_Render()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleBuffer_Render (ARC_ConsoleBuffer * buffer,
ARC_ConsoleView * view )
-
- -

renders a buffer to a ARC_ConsoleView

-
Parameters
- - - -
bufferARC_ConsoleBuffer to render
viewARC_ConsoleView to render the buffer contents to
-
-
- -

Definition at line 51 of file buffer.c.

-
51 {
-
52 ARC_Rect viewBounds = ARC_ConsoleView_GetBounds(view);
-
53
-
54 uint32_t bufferStartIndex = 0;
-
55 if(ARC_Vector_Size(buffer->bufferLines) > (uint32_t)viewBounds.h){
-
56 bufferStartIndex = ARC_Vector_Size(buffer->bufferLines) - viewBounds.h;
-
57 }
-
58
-
59 for(uint32_t i = 0; i < (uint32_t)viewBounds.h; i++){
-
60 if(i + bufferStartIndex > ARC_Vector_Size(buffer->bufferLines)){
-
61 break;
-
62 }
-
63
-
64 ARC_String *bufferLine = (ARC_String *)ARC_Vector_Get(buffer->bufferLines, i + bufferStartIndex);
-
65 if(bufferLine == NULL){
-
66 continue;
-
67 }
-
68
-
69 ARC_ConsoleView_RenderStringAt(view, bufferLine, (ARC_Point){ 0, i });
-
70 }
-
71}
-
void ARC_ConsoleView_RenderStringAt(ARC_ConsoleView *view, ARC_String *text, ARC_Point pos)
Definition view.c:109
-
ARC_Rect ARC_ConsoleView_GetBounds(ARC_ConsoleView *view)
gets the bounds of an ARC_ConsoleView
Definition view.c:147
- - -
int32_t h
Definition rectangle.h:16
-
-

References ARC_ConsoleView_GetBounds(), ARC_ConsoleView_RenderStringAt(), ARC_Vector_Get(), ARC_ConsoleBuffer::bufferLines, and ARC_Rect::h.

- -

Referenced by ARC_ConsoleShell_Render().

- -
-
- -

◆ ARC_ConsoleBuffer_RenderSection()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_ConsoleBuffer_RenderSection (ARC_ConsoleBuffer * buffer,
ARC_ConsoleView * view,
uint32_t startIndex,
uint32_t lines )
-
- -

renders a section of buffer to a ARC_ConsoleView

-
Parameters
- - - - - -
bufferARC_ConsoleBuffer to render
viewARC_ConsoleView to render the buffer contents to
startIndexstart index of buffer to render
linesthe number of lines of buffer to render
-
-
- -

Definition at line 73 of file buffer.c.

-
73 {
-
74 ARC_Rect viewBounds = ARC_ConsoleView_GetBounds(view);
-
75
-
76 for(uint32_t i = 0; i < lines; i++){
-
77 if(i + startIndex >= ARC_Vector_Size(buffer->bufferLines)){
-
78 break;
-
79 }
-
80
-
81 if(i >= (uint32_t)viewBounds.h){
-
82 break;
-
83 }
-
84
-
85 ARC_String *bufferLine = (ARC_String *)ARC_Vector_Get(buffer->bufferLines, i + startIndex);
-
86 if(bufferLine == NULL){
-
87 continue;
-
88 }
-
89
-
90 ARC_ConsoleView_RenderStringAt(view, bufferLine, (ARC_Point){ 0, i });
-
91 }
-
92}
-
-

References ARC_ConsoleView_GetBounds(), ARC_ConsoleView_RenderStringAt(), ARC_Vector_Get(), ARC_ConsoleBuffer::bufferLines, and ARC_Rect::h.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d3/d8b/buffer_8c.js b/doc/doxygen/html/d3/d8b/buffer_8c.js deleted file mode 100644 index e32764a..0000000 --- a/doc/doxygen/html/d3/d8b/buffer_8c.js +++ /dev/null @@ -1,14 +0,0 @@ -var buffer_8c = -[ - [ "ARC_ConsoleBuffer", "d2/d20/structARC__ConsoleBuffer.html", "d2/d20/structARC__ConsoleBuffer" ], - [ "ARC_ConsoleBuffer_AddChar", "d3/d8b/buffer_8c.html#a18ea5885eb623af1ad0bce81886a37ba", null ], - [ "ARC_ConsoleBuffer_AddCString", "d3/d8b/buffer_8c.html#a87db4e45040059ec8452ae4ed4c9d93c", null ], - [ "ARC_ConsoleBuffer_AddCStringWithStrlen", "d3/d8b/buffer_8c.html#a5c3fbf33ecfa1adae24ee628bccaf64e", null ], - [ "ARC_ConsoleBuffer_AddString", "d3/d8b/buffer_8c.html#aa7c09f28e004665675ad529c457f0d19", null ], - [ "ARC_ConsoleBuffer_Clear", "d3/d8b/buffer_8c.html#acdc2d574d3bb726cfaa27d8b5768d6f2", null ], - [ "ARC_ConsoleBuffer_Create", "d3/d8b/buffer_8c.html#a724aa56dd933bc31502a971204467132", null ], - [ "ARC_ConsoleBuffer_Destroy", "d3/d8b/buffer_8c.html#ab2a88c30d33e6d3120d98673fd6beec4", null ], - [ "ARC_ConsoleBuffer_GetLineNumbers", "d3/d8b/buffer_8c.html#a590db008192631b4cfc9c53904687018", null ], - [ "ARC_ConsoleBuffer_Render", "d3/d8b/buffer_8c.html#a46ebb41d45ba5aeafa12372f69539458", null ], - [ "ARC_ConsoleBuffer_RenderSection", "d3/d8b/buffer_8c.html#a64f378c7d29c6166dcceb4fe90235f14", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d3/d8b/buffer_8c_source.html b/doc/doxygen/html/d3/d8b/buffer_8c_source.html deleted file mode 100644 index abe0f12..0000000 --- a/doc/doxygen/html/d3/d8b/buffer_8c_source.html +++ /dev/null @@ -1,330 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/console/ncurses/buffer.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
buffer.c
-
-
-Go to the documentation of this file.
-
2
-
3#include "arc/console/view.h"
-
4#include "arc/std/string.h"
-
5#include "arc/std/vector.h"
-
6#include <stdlib.h>
-
7#include <string.h>
-
8
- -
12
-
- -
14 *buffer = (ARC_ConsoleBuffer *)malloc(sizeof(ARC_ConsoleBuffer));
-
15
-
16 ARC_Vector_Create(&((*buffer)->bufferLines));
-
17
-
18 //add first line to vector
-
19 ARC_Vector_Add((*buffer)->bufferLines, NULL);
-
20}
-
-
21
-
- -
23 for(uint32_t i = 0; i < ARC_Vector_Size(buffer->bufferLines); i++){
-
24 ARC_String *bufferLine = (ARC_String *)ARC_Vector_Get(buffer->bufferLines, i);
-
25
-
26 if(bufferLine != NULL){
-
27 ARC_String_Destroy(bufferLine);
-
28 }
-
29 }
-
30
- -
32 free(buffer);
-
33}
-
-
34
-
- -
36 for(uint32_t i = 0; i < ARC_Vector_Size(buffer->bufferLines); i++){
-
37 ARC_String *bufferLine = (ARC_String *)ARC_Vector_Get(buffer->bufferLines, i);
-
38
-
39 if(bufferLine != NULL){
-
40 ARC_String_Destroy(bufferLine);
-
41 }
-
42 }
-
43
- - -
46
-
47 //add first line to vector
-
48 ARC_Vector_Add(buffer->bufferLines, NULL);
-
49}
-
-
50
-
- -
52 ARC_Rect viewBounds = ARC_ConsoleView_GetBounds(view);
-
53
-
54 uint32_t bufferStartIndex = 0;
-
55 if(ARC_Vector_Size(buffer->bufferLines) > (uint32_t)viewBounds.h){
-
56 bufferStartIndex = ARC_Vector_Size(buffer->bufferLines) - viewBounds.h;
-
57 }
-
58
-
59 for(uint32_t i = 0; i < (uint32_t)viewBounds.h; i++){
-
60 if(i + bufferStartIndex > ARC_Vector_Size(buffer->bufferLines)){
-
61 break;
-
62 }
-
63
-
64 ARC_String *bufferLine = (ARC_String *)ARC_Vector_Get(buffer->bufferLines, i + bufferStartIndex);
-
65 if(bufferLine == NULL){
-
66 continue;
-
67 }
-
68
-
69 ARC_ConsoleView_RenderStringAt(view, bufferLine, (ARC_Point){ 0, i });
-
70 }
-
71}
-
-
72
-
-
73void ARC_ConsoleBuffer_RenderSection(ARC_ConsoleBuffer *buffer, ARC_ConsoleView *view, uint32_t startIndex, uint32_t lines){
-
74 ARC_Rect viewBounds = ARC_ConsoleView_GetBounds(view);
-
75
-
76 for(uint32_t i = 0; i < lines; i++){
-
77 if(i + startIndex >= ARC_Vector_Size(buffer->bufferLines)){
-
78 break;
-
79 }
-
80
-
81 if(i >= (uint32_t)viewBounds.h){
-
82 break;
-
83 }
-
84
-
85 ARC_String *bufferLine = (ARC_String *)ARC_Vector_Get(buffer->bufferLines, i + startIndex);
-
86 if(bufferLine == NULL){
-
87 continue;
-
88 }
-
89
-
90 ARC_ConsoleView_RenderStringAt(view, bufferLine, (ARC_Point){ 0, i });
-
91 }
-
92}
-
-
93
-
-
94void ARC_ConsoleBuffer_AddChar(ARC_ConsoleBuffer *buffer, char character){
-
95 if(character == '\n'){
-
96 ARC_Vector_Add(buffer->bufferLines, (void *)NULL);
-
97 return;
-
98 }
-
99
-
100 //get the last line and add a char to it
-
101 ARC_String *bufferLine = (ARC_String *)ARC_Vector_Get(buffer->bufferLines, ARC_Vector_Size(buffer->bufferLines) - 1);
-
102 ARC_Vector_RemoveIndex(buffer->bufferLines, ARC_Vector_Size(buffer->bufferLines) - 1);
-
103
-
104 if(bufferLine == NULL){
-
105 ARC_String_Create(&bufferLine, &character, 1);
-
106 ARC_Vector_Add(buffer->bufferLines, (void *)bufferLine);
-
107 return;
-
108 }
-
109
-
110 //add char to the end of the bufferline
-
111 ARC_String *nextChar;
-
112 ARC_String_Create(&nextChar, &character, 1);
-
113
-
114 ARC_String *tempBufferLine = bufferLine;
-
115 ARC_String_Merge(&bufferLine, tempBufferLine, nextChar);
-
116
-
117 ARC_String_Destroy(tempBufferLine);
-
118 ARC_String_Destroy(nextChar);
-
119
-
120 //add buffer line back to the bufferLines
-
121 ARC_Vector_Add(buffer->bufferLines, (void *)bufferLine);
-
122}
-
-
123
-
- -
125 //TODO: this in a more efficient way
-
126 for(uint64_t i = 0; i < string->length; i++){
-
127 ARC_ConsoleBuffer_AddChar(buffer, string->data[i]);
-
128 }
-
129}
-
-
130
-
-
131void ARC_ConsoleBuffer_AddCString(ARC_ConsoleBuffer *buffer, char *cstring, uint64_t length){
-
132 //TODO: this in a more efficient way
-
133 for(uint64_t i = 0; i < length; i++){
-
134 ARC_ConsoleBuffer_AddChar(buffer, cstring[i]);
-
135 }
-
136}
-
-
137
-
- -
139 //TODO: this in a more efficient way
-
140 for(uint64_t i = 0; i < strlen(cstring); i++){
-
141 ARC_ConsoleBuffer_AddChar(buffer, cstring[i]);
-
142 }
-
143}
-
-
144
-
- -
146 return ARC_Vector_Size(buffer->bufferLines);
-
147}
-
-
void ARC_ConsoleBuffer_AddChar(ARC_ConsoleBuffer *buffer, char character)
adds a character to the buffer
Definition buffer.c:94
-
void ARC_ConsoleBuffer_Render(ARC_ConsoleBuffer *buffer, ARC_ConsoleView *view)
renders a buffer to a ARC_ConsoleView
Definition buffer.c:51
-
uint32_t ARC_ConsoleBuffer_GetLineNumbers(ARC_ConsoleBuffer *buffer)
gets the number of lines from a console line buffer
Definition buffer.c:145
-
void ARC_ConsoleBuffer_AddCStringWithStrlen(ARC_ConsoleBuffer *buffer, char *cstring)
adds a cstring to the buffer with the cstrings string length
Definition buffer.c:138
-
void ARC_ConsoleBuffer_RenderSection(ARC_ConsoleBuffer *buffer, ARC_ConsoleView *view, uint32_t startIndex, uint32_t lines)
renders a section of buffer to a ARC_ConsoleView
Definition buffer.c:73
-
void ARC_ConsoleBuffer_Create(ARC_ConsoleBuffer **buffer)
creates ARC_ConsoleBuffer type
Definition buffer.c:13
-
void ARC_ConsoleBuffer_AddCString(ARC_ConsoleBuffer *buffer, char *cstring, uint64_t length)
adds a cstring to the buffer
Definition buffer.c:131
-
void ARC_ConsoleBuffer_AddString(ARC_ConsoleBuffer *buffer, ARC_String *string)
adds an ARC_String to the buffer
Definition buffer.c:124
-
void ARC_ConsoleBuffer_Destroy(ARC_ConsoleBuffer *buffer)
destroys ARC_ConsoleBuffer type
Definition buffer.c:22
-
void ARC_ConsoleBuffer_Clear(ARC_ConsoleBuffer *buffer)
clears the contents of a ARC_ConsoleBuffer
Definition buffer.c:35
- - -
void ARC_ConsoleView_RenderStringAt(ARC_ConsoleView *view, ARC_String *text, ARC_Point pos)
Definition view.c:109
-
ARC_Rect ARC_ConsoleView_GetBounds(ARC_ConsoleView *view)
gets the bounds of an ARC_ConsoleView
Definition view.c:147
- -
void ARC_String_Merge(ARC_String **combined, ARC_String *first, ARC_String *second)
merges two strings together
Definition string.c:485
-
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
- -
ARC_Vector * bufferLines
Definition buffer.c:10
- - - -
int32_t h
Definition rectangle.h:16
-
substring position within a string
Definition string.h:14
-
char * data
Definition string.h:15
-
a private dynamic array type
Definition vector.c:12
- -
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:153
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:70
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:54
-
void ARC_Vector_RemoveIndex(ARC_Vector *vector, uint32_t index)
removes an item from an ARC_Vector at an index
Definition vector.c:110
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:31
-
-
- - - - - - diff --git a/doc/doxygen/html/d3/d8e/csv_8h.html b/doc/doxygen/html/d3/d8e/csv_8h.html deleted file mode 100644 index ebf1e38..0000000 --- a/doc/doxygen/html/d3/d8e/csv_8h.html +++ /dev/null @@ -1,424 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/parser/csv.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
csv.h File Reference
-
-
-
#include "arc/std/bool.h"
-#include "arc/std/parser.h"
-#include "arc/std/string.h"
-#include <stdint.h>
-
-

Go to the source code of this file.

- - - - - -

-Data Structures

struct  ARC_ParserCSVData
 defines a csv data type, data is set by the callback passed in when createing a parserCSV as parser More...
 
- - - - - - - - - - - - - - - - - -

-Macros

#define ARC_PARSER_CSV_CHAR_COMMA   1
 
#define ARC_PARSER_CSV_CHAR_NEWLINE   2
 
#define ARC_PARSER_CSV_CHAR_BEFORE_COMMA   3
 
#define ARC_PARSER_CSV_CHAR_AFTER_COMMA   4
 
#define ARC_PARSER_CSV_LINE   5
 
#define ARC_PARSER_CSV_DATA   6
 
#define ARC_PARSER_CSV_STRING   7
 
#define ARC_PARSER_CSV_NON_COMMA_CHAR   8
 
- - - - - - - - - - -

-Typedefs

typedef void(* ARC_ParserCSV_CastTypeFn) (void **data, ARC_String *string)
 a callback for the csv parser to use to cast that data the stored data
 
typedef void(* ARC_ParserCSV_DestroyTypeFn) (void *data)
 a callback for the csv parser to use to free csv data
 
typedef struct ARC_ParserCSVData ARC_ParserCSVData
 defines a csv data type, data is set by the callback passed in when createing a parserCSV as parser
 
- - - - -

-Functions

void ARC_ParserCSV_CreateAsParser (ARC_Parser **parser, ARC_Bool header, ARC_ParserCSV_CastTypeFn castTypeFn, ARC_ParserCSV_DestroyTypeFn destroyTypeFn)
 creates a parser for the Parser Lang
 
-

Macro Definition Documentation

- -

◆ ARC_PARSER_CSV_CHAR_AFTER_COMMA

- -
-
- - - - -
#define ARC_PARSER_CSV_CHAR_AFTER_COMMA   4
-
- -

Definition at line 66 of file csv.h.

- -
-
- -

◆ ARC_PARSER_CSV_CHAR_BEFORE_COMMA

- -
-
- - - - -
#define ARC_PARSER_CSV_CHAR_BEFORE_COMMA   3
-
- -

Definition at line 65 of file csv.h.

- -
-
- -

◆ ARC_PARSER_CSV_CHAR_COMMA

- -
-
- - - - -
#define ARC_PARSER_CSV_CHAR_COMMA   1
-
- -

Definition at line 63 of file csv.h.

- -
-
- -

◆ ARC_PARSER_CSV_CHAR_NEWLINE

- -
-
- - - - -
#define ARC_PARSER_CSV_CHAR_NEWLINE   2
-
- -

Definition at line 64 of file csv.h.

- -
-
- -

◆ ARC_PARSER_CSV_DATA

- -
-
- - - - -
#define ARC_PARSER_CSV_DATA   6
-
- -

Definition at line 68 of file csv.h.

- -
-
- -

◆ ARC_PARSER_CSV_LINE

- -
-
- - - - -
#define ARC_PARSER_CSV_LINE   5
-
- -

Definition at line 67 of file csv.h.

- -
-
- -

◆ ARC_PARSER_CSV_NON_COMMA_CHAR

- -
-
- - - - -
#define ARC_PARSER_CSV_NON_COMMA_CHAR   8
-
- -

Definition at line 70 of file csv.h.

- -
-
- -

◆ ARC_PARSER_CSV_STRING

- -
-
- - - - -
#define ARC_PARSER_CSV_STRING   7
-
- -

Definition at line 69 of file csv.h.

- -
-
-

Typedef Documentation

- -

◆ ARC_ParserCSV_CastTypeFn

- -
-
- - - - -
typedef void(* ARC_ParserCSV_CastTypeFn) (void **data, ARC_String *string)
-
- -

a callback for the csv parser to use to cast that data the stored data

-
Note
this callback will only be called on non-header data
-
Parameters
- - - -
[in/out]data the csv data casted into the users type
[in]stringan value of the csv as a string
-
-
- -

Definition at line 28 of file csv.h.

- -
-
- -

◆ ARC_ParserCSV_DestroyTypeFn

- -
-
- - - - -
typedef void(* ARC_ParserCSV_DestroyTypeFn) (void *data)
-
- -

a callback for the csv parser to use to free csv data

-
Note
this callback will only be called on non-header data
-
Parameters
- - -
[in]datathe csv data to free
-
-
- -

Definition at line 37 of file csv.h.

- -
-
- -

◆ ARC_ParserCSVData

- -
-
- - - - -
typedef struct ARC_ParserCSVData ARC_ParserCSVData
-
- -

defines a csv data type, data is set by the callback passed in when createing a parserCSV as parser

-
Note
this data can be retieved after parsing by calling get data, check arc/std/parser.h for more information
- -
-
-

Function Documentation

- -

◆ ARC_ParserCSV_CreateAsParser()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_ParserCSV_CreateAsParser (ARC_Parser ** parser,
ARC_Bool header,
ARC_ParserCSV_CastTypeFn castTypeFn,
ARC_ParserCSV_DestroyTypeFn destroyTypeFn )
-
- -

creates a parser for the Parser Lang

-
Note
the rules will be inited for the parser lang
-
-the parsed data will be saved as a vector of ARC_ParserLanguageTag
-
Parameters
- - -
[out]parserthe parser to create
-
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d3/d8e/csv_8h.js b/doc/doxygen/html/d3/d8e/csv_8h.js deleted file mode 100644 index 1854f03..0000000 --- a/doc/doxygen/html/d3/d8e/csv_8h.js +++ /dev/null @@ -1,16 +0,0 @@ -var csv_8h = -[ - [ "ARC_ParserCSVData", "d4/d71/structARC__ParserCSVData.html", "d4/d71/structARC__ParserCSVData" ], - [ "ARC_PARSER_CSV_CHAR_AFTER_COMMA", "d3/d8e/csv_8h.html#a0d79651a73633c894e0f55b1a88b4d4e", null ], - [ "ARC_PARSER_CSV_CHAR_BEFORE_COMMA", "d3/d8e/csv_8h.html#a7006ed284a3b3bf55308082c46446800", null ], - [ "ARC_PARSER_CSV_CHAR_COMMA", "d3/d8e/csv_8h.html#a74bc8857c44f2c7ad95f7b2237623d0d", null ], - [ "ARC_PARSER_CSV_CHAR_NEWLINE", "d3/d8e/csv_8h.html#ae2b0f683e0ab5681a69bc1d925a6b7c4", null ], - [ "ARC_PARSER_CSV_DATA", "d3/d8e/csv_8h.html#a977281ee606db6e110e61401f47367c3", null ], - [ "ARC_PARSER_CSV_LINE", "d3/d8e/csv_8h.html#aa34663e48f224b2ad079a795578269a5", null ], - [ "ARC_PARSER_CSV_NON_COMMA_CHAR", "d3/d8e/csv_8h.html#ae4c160d7697375598b3d98f1852da166", null ], - [ "ARC_PARSER_CSV_STRING", "d3/d8e/csv_8h.html#a9f2f5cbdf0327f81bcc883adba58b51e", null ], - [ "ARC_ParserCSV_CastTypeFn", "d3/d8e/csv_8h.html#a6256f8097f5b87b213fcf5f2387b55e4", null ], - [ "ARC_ParserCSV_DestroyTypeFn", "d3/d8e/csv_8h.html#a6d9a36eaffba502a7ec8b17ff640787d", null ], - [ "ARC_ParserCSVData", "d3/d8e/csv_8h.html#a2a58e1eff48ecbe4e84b98848b3651cd", null ], - [ "ARC_ParserCSV_CreateAsParser", "d3/d8e/csv_8h.html#a74a4a58425ddc46dc29064362c800c22", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d3/d8e/csv_8h_source.html b/doc/doxygen/html/d3/d8e/csv_8h_source.html deleted file mode 100644 index eac71f5..0000000 --- a/doc/doxygen/html/d3/d8e/csv_8h_source.html +++ /dev/null @@ -1,222 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/parser/csv.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
csv.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_STD_PARSER_PARSERLANG_H_
-
2#define ARC_STD_PARSER_PARSERLANG_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include "arc/std/bool.h"
-
9#include "arc/std/parser.h"
-
10#include "arc/std/string.h"
-
11#include <stdint.h>
-
12
-
13/*
-
14<line> -> <data> NEWLINE <line> | <data> | NEWLINE <line> | LAMBDA
-
15<data> -> <string> COMMA <data> | <string>
-
16<string> -> <nonCommaChar> <string> | <nonCommaChar>
-
17<nonCommaChar> -> CHAR_BEFORE_COMMA | CHAR_AFTER_COMMA
-
18*/
-
19
-
20/**
-
21 * @brief a callback for the csv parser to use to cast that data the stored data
-
22 *
-
23 * @note this callback will only be called on non-header data
-
24 *
-
25 * @param[in/out] data the csv data casted into the users type
-
26 * @param[in] string an value of the csv as a string
-
27*/
-
28typedef void (* ARC_ParserCSV_CastTypeFn)(void **data, ARC_String *string);
-
29
-
30/**
-
31 * @brief a callback for the csv parser to use to free csv data
-
32 *
-
33 * @note this callback will only be called on non-header data
-
34 *
-
35 * @param[in] data the csv data to free
-
36*/
-
37typedef void (* ARC_ParserCSV_DestroyTypeFn)(void *data);
-
38
-
39/**
-
40 * @brief defines a csv data type, data is set by the callback passed in when createing a parserCSV as parser
-
41 *
-
42 * @note this data can be retieved after parsing by calling get data, check arc/std/parser.h for more information
-
43*/
-
-
44typedef struct ARC_ParserCSVData {
- - -
47
-
48 uint32_t width;
-
49 uint32_t height;
-
50 void ***data;
- -
-
52
-
53/**
-
54 * @brief creates a parser for the Parser Lang
-
55 *
-
56 * @note the rules will be inited for the parser lang
-
57 * @note the parsed data will be saved as a vector of ARC_ParserLanguageTag
-
58 *
-
59 * @param[out] parser the parser to create
-
60*/
- -
62
-
63#define ARC_PARSER_CSV_CHAR_COMMA 1
-
64#define ARC_PARSER_CSV_CHAR_NEWLINE 2
-
65#define ARC_PARSER_CSV_CHAR_BEFORE_COMMA 3
-
66#define ARC_PARSER_CSV_CHAR_AFTER_COMMA 4
-
67#define ARC_PARSER_CSV_LINE 5
-
68#define ARC_PARSER_CSV_DATA 6
-
69#define ARC_PARSER_CSV_STRING 7
-
70#define ARC_PARSER_CSV_NON_COMMA_CHAR 8
-
71
-
72#ifdef __cplusplus
-
73}
-
74#endif
-
75
-
76#endif //ARC_STD_PARSER_PARSERLANG_H_
- -
#define ARC_Bool
Definition bool.h:10
-
struct ARC_ParserCSVData ARC_ParserCSVData
defines a csv data type, data is set by the callback passed in when createing a parserCSV as parser
-
void(* ARC_ParserCSV_CastTypeFn)(void **data, ARC_String *string)
a callback for the csv parser to use to cast that data the stored data
Definition csv.h:28
-
void(* ARC_ParserCSV_DestroyTypeFn)(void *data)
a callback for the csv parser to use to free csv data
Definition csv.h:37
-
void ARC_ParserCSV_CreateAsParser(ARC_Parser **parser, ARC_Bool header, ARC_ParserCSV_CastTypeFn castTypeFn, ARC_ParserCSV_DestroyTypeFn destroyTypeFn)
creates a parser for the Parser Lang
- -
struct ARC_Parser ARC_Parser
a parser type
Definition parser.h:16
- -
defines a csv data type, data is set by the callback passed in when createing a parserCSV as parser
Definition csv.h:44
-
uint32_t height
Definition csv.h:49
-
uint32_t width
Definition csv.h:48
-
void *** data
Definition csv.h:50
-
ARC_String ** headers
Definition csv.h:46
-
ARC_Bool hasHeader
Definition csv.h:45
-
substring position within a string
Definition string.h:14
-
-
- - - - - - diff --git a/doc/doxygen/html/d3/d9a/audio_8c.html b/doc/doxygen/html/d3/d9a/audio_8c.html deleted file mode 100644 index 3a7ca88..0000000 --- a/doc/doxygen/html/d3/d9a/audio_8c.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/audio/sdl/audio.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
audio.c File Reference
-
-
-
#include "arc/audio/audio.h"
-#include "audio.h"
-#include <SDL2/SDL_mixer.h>
-
-

Go to the source code of this file.

- - - - -

-Functions

void ARC_Audio_Play (ARC_Audio *audio)
 
-

Function Documentation

- -

◆ ARC_Audio_Play()

- -
-
- - - - - - - -
void ARC_Audio_Play (ARC_Audio * audio)
-
- -

Definition at line 5 of file audio.c.

-
5 {
-
6 Mix_PlayChannel(-1, audio->chunk, 0);
-
7}
-
Mix_Chunk * chunk
Definition audio.h:7
-
-

References ARC_Audio::chunk.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d3/d9a/audio_8c.js b/doc/doxygen/html/d3/d9a/audio_8c.js deleted file mode 100644 index fe5c227..0000000 --- a/doc/doxygen/html/d3/d9a/audio_8c.js +++ /dev/null @@ -1,4 +0,0 @@ -var audio_8c = -[ - [ "ARC_Audio_Play", "d3/d9a/audio_8c.html#a3d6d71d185efb1f873fe324c9b7e75e8", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d3/d9a/audio_8c_source.html b/doc/doxygen/html/d3/d9a/audio_8c_source.html deleted file mode 100644 index e401da0..0000000 --- a/doc/doxygen/html/d3/d9a/audio_8c_source.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/audio/sdl/audio.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
audio.c
-
-
-Go to the documentation of this file.
1#include "arc/audio/audio.h"
-
2#include "audio.h"
-
3#include <SDL2/SDL_mixer.h>
-
4
-
- -
6 Mix_PlayChannel(-1, audio->chunk, 0);
-
7}
-
-
void ARC_Audio_Play(ARC_Audio *audio)
Definition audio.c:5
- - - -
Mix_Chunk * chunk
Definition audio.h:7
-
-
- - - - - - diff --git a/doc/doxygen/html/d3/dac/structARC__Array.html b/doc/doxygen/html/d3/dac/structARC__Array.html deleted file mode 100644 index b845e3a..0000000 --- a/doc/doxygen/html/d3/dac/structARC__Array.html +++ /dev/null @@ -1,183 +0,0 @@ - - - - - - - - -Archeus: ARC_Array Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_Array Struct Reference
-
-
- -

a type that holds an array of data and its size - More...

- -

#include <array.h>

- - - - - - -

-Data Fields

uint32_t size
 
void * data
 
-

Detailed Description

-

a type that holds an array of data and its size

- -

Definition at line 13 of file array.h.

-

Field Documentation

- -

◆ data

- -
-
- - - - -
void* ARC_Array::data
-
- -

Definition at line 15 of file array.h.

- -
-
- -

◆ size

- -
-
- - - - -
uint32_t ARC_Array::size
-
- -

Definition at line 14 of file array.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/include/arc/std/array.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d3/dac/structARC__Array.js b/doc/doxygen/html/d3/dac/structARC__Array.js deleted file mode 100644 index 2bdc547..0000000 --- a/doc/doxygen/html/d3/dac/structARC__Array.js +++ /dev/null @@ -1,5 +0,0 @@ -var structARC__Array = -[ - [ "data", "d3/dac/structARC__Array.html#ae7e74194966638885ae27bfea40ef490", null ], - [ "size", "d3/dac/structARC__Array.html#a8cff23b0190e3ac4f4db2cff40e0da11", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d3/db5/md__2home_2herbglitch_2programs_2archeus_2arc_2readme.html b/doc/doxygen/html/d3/db5/md__2home_2herbglitch_2programs_2archeus_2arc_2readme.html deleted file mode 100644 index 4134e6c..0000000 --- a/doc/doxygen/html/d3/db5/md__2home_2herbglitch_2programs_2archeus_2arc_2readme.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: Introduction - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Introduction
-
-
-

-

-Building and Linking

-

-Packages

-
-
-
- - - - - - diff --git a/doc/doxygen/html/d3/dbb/stack_8c.html b/doc/doxygen/html/d3/dbb/stack_8c.html deleted file mode 100644 index 57a92fc..0000000 --- a/doc/doxygen/html/d3/dbb/stack_8c.html +++ /dev/null @@ -1,398 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/stack.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
stack.c File Reference
-
-
-
#include "arc/std/stack.h"
-#include "arc/std/errno.h"
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - - - -

-Data Structures

struct  ARC_StackNode
 
struct  ARC_Stack
 
- - - -

-Typedefs

typedef struct ARC_StackNode ARC_StackNode
 
- - - - - - - - - - - - - - - - -

-Functions

void ARC_Stack_Create (ARC_Stack **stack)
 creates ARC_Stack type
 
void ARC_Stack_Destroy (ARC_Stack *stack)
 destroyes ARC_Stack type
 
void ARC_Stack_Push (ARC_Stack *stack, void *data)
 pushes value on stack
 
void * ARC_Stack_Pop (ARC_Stack *stack)
 pops top off of ARC_Stack
 
uint32_t ARC_Stack_Size (ARC_Stack *stack)
 gets size of stack
 
-

Typedef Documentation

- -

◆ ARC_StackNode

- -
-
- - - - -
typedef struct ARC_StackNode ARC_StackNode
-
- -

Definition at line 6 of file stack.c.

- -
-
-

Function Documentation

- -

◆ ARC_Stack_Create()

- -
-
- - - - - - - -
void ARC_Stack_Create (ARC_Stack ** stack)
-
- -

creates ARC_Stack type

-
Parameters
- - -
stackARC_Stack to initialize
-
-
- -

Definition at line 18 of file stack.c.

-
18 {
-
19 *stack = (ARC_Stack *)malloc(sizeof(ARC_Stack));
-
20 (*stack)->currentSize = 0;
-
21 (*stack)->node = NULL;
-
22}
- -
uint32_t currentSize
Definition stack.c:14
-
-

References ARC_Stack::currentSize.

- -
-
- -

◆ ARC_Stack_Destroy()

- -
-
- - - - - - - -
void ARC_Stack_Destroy (ARC_Stack * stack)
-
- -

destroyes ARC_Stack type

- -

Definition at line 24 of file stack.c.

-
24 {
-
25 if(stack->currentSize != 0 || stack->node != NULL){
- -
27 ARC_DEBUG_LOG_ERROR("ARC_Stack_Destroy(stack) called, but stack was not empty");
-
28 return;
-
29 }
-
30
-
31 free(stack);
-
32}
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
#define ARC_ERRNO_DATA
Definition errno.h:7
-
ARC_StackNode * node
Definition stack.c:15
-
-

References ARC_DEBUG_LOG_ERROR, arc_errno, ARC_ERRNO_DATA, ARC_Stack::currentSize, and ARC_Stack::node.

- -
-
- -

◆ ARC_Stack_Pop()

- -
-
- - - - - - - -
void * ARC_Stack_Pop (ARC_Stack * stack)
-
- -

pops top off of ARC_Stack

-
Parameters
- - -
stackARC_Stack to remove from
-
-
-
Returns
the poped data from the stack as a void *
- -

Definition at line 51 of file stack.c.

-
51 {
-
52 if(stack->currentSize == 0){
- -
54 ARC_DEBUG_LOG_ERROR("ARC_Stack_Pop(stack) called, but stack was not empty");
-
55 return NULL;
-
56 }
-
57
-
58 ARC_StackNode *node = stack->node;
-
59 if(node == NULL){
- -
61 ARC_DEBUG_LOG_ERROR("ARC_Stack_Pop(stack) called, but node was NULL");
-
62 return NULL;
-
63 }
-
64
-
65 stack->node = node->next;
-
66 void *nodeData = node->data;
-
67 free(node);
-
68
-
69 stack->currentSize--;
-
70
-
71 return nodeData;
-
72}
-
#define ARC_ERRNO_NULL
Definition errno.h:6
- -
ARC_StackNode * next
Definition stack.c:9
-
void * data
Definition stack.c:10
-
-

References ARC_DEBUG_LOG_ERROR, arc_errno, ARC_ERRNO_DATA, ARC_ERRNO_NULL, ARC_Stack::currentSize, ARC_StackNode::data, ARC_StackNode::next, and ARC_Stack::node.

- -
-
- -

◆ ARC_Stack_Push()

- -
-
- - - - - - - - - - - -
void ARC_Stack_Push (ARC_Stack * stack,
void * data )
-
- -

pushes value on stack

-
Parameters
- - - -
stackARC_Stack to push to
datadata that is being pushed
-
-
- -

Definition at line 34 of file stack.c.

-
34 {
-
35 if(stack->currentSize == ~(uint32_t)0){
- -
37 ARC_DEBUG_LOG_ERROR("ARC_Stack_Push(stack) called, size of stack is maxed, cannot add another node");
-
38 return;
-
39 }
-
40
-
41 ARC_StackNode *node = (ARC_StackNode *)malloc(sizeof(ARC_StackNode));
-
42 node->data = data;
-
43 node->next = NULL;
-
44
-
45 node->next = stack->node;
-
46 stack->node = node;
-
47
-
48 stack->currentSize++;
-
49}
-
#define ARC_ERRNO_OVERFLOW
Definition errno.h:10
-
-

References ARC_DEBUG_LOG_ERROR, arc_errno, ARC_ERRNO_OVERFLOW, ARC_Stack::currentSize, ARC_StackNode::data, ARC_StackNode::next, and ARC_Stack::node.

- -
-
- -

◆ ARC_Stack_Size()

- -
-
- - - - - - - -
uint32_t ARC_Stack_Size (ARC_Stack * stack)
-
- -

gets size of stack

-
Parameters
- - -
stackARC_Stack to get size from
-
-
-
Returns
the stacks size
- -

Definition at line 74 of file stack.c.

-
74 {
-
75 return stack->currentSize;
-
76}
-
-

References ARC_Stack::currentSize.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d3/dbb/stack_8c.js b/doc/doxygen/html/d3/dbb/stack_8c.js deleted file mode 100644 index 94bd807..0000000 --- a/doc/doxygen/html/d3/dbb/stack_8c.js +++ /dev/null @@ -1,11 +0,0 @@ -var stack_8c = -[ - [ "ARC_StackNode", "d0/d80/structARC__StackNode.html", "d0/d80/structARC__StackNode" ], - [ "ARC_Stack", "dd/d53/structARC__Stack.html", "dd/d53/structARC__Stack" ], - [ "ARC_StackNode", "d3/dbb/stack_8c.html#aea3a4b92e64803f5fd24dba971549989", null ], - [ "ARC_Stack_Create", "d3/dbb/stack_8c.html#a417d13b0df8a526cf05434eb1a50c5d8", null ], - [ "ARC_Stack_Destroy", "d3/dbb/stack_8c.html#ad6676de1da13c329b570551b19b612db", null ], - [ "ARC_Stack_Pop", "d3/dbb/stack_8c.html#ad5aca2f0b980d4d6381aab106c080fb7", null ], - [ "ARC_Stack_Push", "d3/dbb/stack_8c.html#a5d38f618c864bd60910197d3004a5712", null ], - [ "ARC_Stack_Size", "d3/dbb/stack_8c.html#a3912e4fe5a7f15d819bd596d6df4385d", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d3/dbb/stack_8c_source.html b/doc/doxygen/html/d3/dbb/stack_8c_source.html deleted file mode 100644 index 8b4f99b..0000000 --- a/doc/doxygen/html/d3/dbb/stack_8c_source.html +++ /dev/null @@ -1,236 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/stack.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
stack.c
-
-
-Go to the documentation of this file.
1#include "arc/std/stack.h"
-
2
-
3#include "arc/std/errno.h"
-
4#include <stdlib.h>
-
5
- -
7
-
- - -
10 void *data;
-
11};
-
-
12
-
-
13struct ARC_Stack {
-
14 uint32_t currentSize;
- -
16};
-
-
17
-
- -
19 *stack = (ARC_Stack *)malloc(sizeof(ARC_Stack));
-
20 (*stack)->currentSize = 0;
-
21 (*stack)->node = NULL;
-
22}
-
-
23
-
- -
25 if(stack->currentSize != 0 || stack->node != NULL){
- -
27 ARC_DEBUG_LOG_ERROR("ARC_Stack_Destroy(stack) called, but stack was not empty");
-
28 return;
-
29 }
-
30
-
31 free(stack);
-
32}
-
-
33
-
-
34void ARC_Stack_Push(ARC_Stack *stack, void *data){
-
35 if(stack->currentSize == ~(uint32_t)0){
- -
37 ARC_DEBUG_LOG_ERROR("ARC_Stack_Push(stack) called, size of stack is maxed, cannot add another node");
-
38 return;
-
39 }
-
40
-
41 ARC_StackNode *node = (ARC_StackNode *)malloc(sizeof(ARC_StackNode));
-
42 node->data = data;
-
43 node->next = NULL;
-
44
-
45 node->next = stack->node;
-
46 stack->node = node;
-
47
-
48 stack->currentSize++;
-
49}
-
-
50
-
- -
52 if(stack->currentSize == 0){
- -
54 ARC_DEBUG_LOG_ERROR("ARC_Stack_Pop(stack) called, but stack was not empty");
-
55 return NULL;
-
56 }
-
57
-
58 ARC_StackNode *node = stack->node;
-
59 if(node == NULL){
- -
61 ARC_DEBUG_LOG_ERROR("ARC_Stack_Pop(stack) called, but node was NULL");
-
62 return NULL;
-
63 }
-
64
-
65 stack->node = node->next;
-
66 void *nodeData = node->data;
-
67 free(node);
-
68
-
69 stack->currentSize--;
-
70
-
71 return nodeData;
-
72}
-
-
73
-
-
74uint32_t ARC_Stack_Size(ARC_Stack *stack){
-
75 return stack->currentSize;
-
76}
-
- -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_OVERFLOW
Definition errno.h:10
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
#define ARC_ERRNO_DATA
Definition errno.h:7
-
uint32_t ARC_Stack_Size(ARC_Stack *stack)
gets size of stack
Definition stack.c:74
-
void ARC_Stack_Create(ARC_Stack **stack)
creates ARC_Stack type
Definition stack.c:18
-
void ARC_Stack_Push(ARC_Stack *stack, void *data)
pushes value on stack
Definition stack.c:34
-
void * ARC_Stack_Pop(ARC_Stack *stack)
pops top off of ARC_Stack
Definition stack.c:51
-
void ARC_Stack_Destroy(ARC_Stack *stack)
destroyes ARC_Stack type
Definition stack.c:24
- - -
ARC_StackNode * next
Definition stack.c:9
-
void * data
Definition stack.c:10
- -
uint32_t currentSize
Definition stack.c:14
-
ARC_StackNode * node
Definition stack.c:15
-
-
- - - - - - diff --git a/doc/doxygen/html/d3/dc3/src_2graphics_2rectangle_8c.html b/doc/doxygen/html/d3/dc3/src_2graphics_2rectangle_8c.html deleted file mode 100644 index af2e70f..0000000 --- a/doc/doxygen/html/d3/dc3/src_2graphics_2rectangle_8c.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/rectangle.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
rectangle.c File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d3/dc3/src_2graphics_2rectangle_8c_source.html b/doc/doxygen/html/d3/dc3/src_2graphics_2rectangle_8c_source.html deleted file mode 100644 index 347d86e..0000000 --- a/doc/doxygen/html/d3/dc3/src_2graphics_2rectangle_8c_source.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/rectangle.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
rectangle.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_GRAPHICS
-
2
- -
4#include <stdio.h>
-
5
-
6void ARC_Rect_Render(ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color){
-
7 printf("No Graphics Backend Selected\n");
-
8}
-
9
-
10void ARC_Rect_RenderFill(ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color){
-
11 printf("No Graphics Backend Selected\n");
-
12}
-
13
-
14void ARC_FRect_Render(ARC_FRect *rect, ARC_Renderer *renderer, ARC_Color *color){
-
15 printf("No Graphics Backend Selected\n");
-
16}
-
17
-
18void ARC_FRect_RenderFill(ARC_FRect *rect, ARC_Renderer *renderer, ARC_Color *color){
-
19 printf("No Graphics Backend Selected\n");
-
20}
-
21
-
22#endif // !ARC_NONE_GRAPHICS
- -
void ARC_Rect_Render(ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color)
Definition rectangle.c:5
-
void ARC_Rect_RenderFill(ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color)
Definition rectangle.c:10
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
-
void ARC_FRect_Render(ARC_FRect *rect, ARC_Renderer *renderer, ARC_Color *color)
Definition rectangle.c:15
-
void ARC_FRect_RenderFill(ARC_FRect *rect, ARC_Renderer *renderer, ARC_Color *color)
Definition rectangle.c:20
- - - -
-
- - - - - - diff --git a/doc/doxygen/html/d3/dcc/none_2mouse_8h.html b/doc/doxygen/html/d3/dcc/none_2mouse_8h.html deleted file mode 100644 index 977e1e9..0000000 --- a/doc/doxygen/html/d3/dcc/none_2mouse_8h.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/input/none/mouse.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
mouse.h File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d3/dcc/none_2mouse_8h_source.html b/doc/doxygen/html/d3/dcc/none_2mouse_8h_source.html deleted file mode 100644 index 33c68a6..0000000 --- a/doc/doxygen/html/d3/dcc/none_2mouse_8h_source.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/input/none/mouse.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
mouse.h
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_INPUT
-
2
-
3#ifndef ARC_NONE_MOUSE_H_
-
4#define ARC_NONE_MOUSE_H_
-
5
-
6#include "arc/input/mouse.h"
-
7
-
8struct ARC_Mouse {};
-
9
-
10struct ARC_MouseInfo {};
-
11
-
12#endif // !ARC_NONE_MOUSE_H_
-
13
-
14#endif // !ARC_NONE_INPUT
- -
struct ARC_Mouse ARC_Mouse
Definition mouse.h:16
-
-
- - - - - - diff --git a/doc/doxygen/html/d3/dcd/tests_8dir_2src_2std_2parser_2helpers_8c_8o_8d.html b/doc/doxygen/html/d3/dcd/tests_8dir_2src_2std_2parser_2helpers_8c_8o_8d.html deleted file mode 100644 index 14b4aeb..0000000 --- a/doc/doxygen/html/d3/dcd/tests_8dir_2src_2std_2parser_2helpers_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/parser/helpers.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
helpers.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d3/dcd/tests_8dir_2src_2std_2parser_2helpers_8c_8o_8d_source.html b/doc/doxygen/html/d3/dcd/tests_8dir_2src_2std_2parser_2helpers_8c_8o_8d_source.html deleted file mode 100644 index cb55c8b..0000000 --- a/doc/doxygen/html/d3/dcd/tests_8dir_2src_2std_2parser_2helpers_8c_8o_8d_source.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/parser/helpers.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
helpers.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/std/parser/helpers.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/parser/helpers.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/parser/helpers.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/std/parser.h \
-
6 /home/herbglitch/programs/archeus/arc/include/arc/std/array.h \
-
7 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
8 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
9 /usr/include/features.h /usr/include/features-time64.h \
-
10 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
11 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
12 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
13 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
14 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
15 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
16 /usr/include/bits/stdint-least.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/std/lexer.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
21 /home/herbglitch/programs/archeus/arc/include/arc/std/vector.h \
-
22 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
23 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
24 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
25 /usr/include/stdio.h \
-
26 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
27 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
28 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
29 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
30 /usr/include/bits/types/cookie_io_functions_t.h \
-
31 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
32 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d3/ddb/structARC__DVector2.html b/doc/doxygen/html/d3/ddb/structARC__DVector2.html deleted file mode 100644 index 8c9edb9..0000000 --- a/doc/doxygen/html/d3/ddb/structARC__DVector2.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - -Archeus: ARC_DVector2 Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_DVector2 Struct Reference
-
-
- -

#include <vector2.h>

- - - - - - -

-Data Fields

double x
 
double y
 
-

Detailed Description

-
-

Definition at line 12 of file vector2.h.

-

Field Documentation

- -

◆ x

- -
-
- - - - -
double ARC_DVector2::x
-
- -

Definition at line 13 of file vector2.h.

- -
-
- -

◆ y

- -
-
- - - - -
double ARC_DVector2::y
-
- -

Definition at line 13 of file vector2.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/include/arc/math/vector2.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d3/ddb/structARC__DVector2.js b/doc/doxygen/html/d3/ddb/structARC__DVector2.js deleted file mode 100644 index d514195..0000000 --- a/doc/doxygen/html/d3/ddb/structARC__DVector2.js +++ /dev/null @@ -1,5 +0,0 @@ -var structARC__DVector2 = -[ - [ "x", "d3/ddb/structARC__DVector2.html#a9b7bf7a423d9c312eab13067cc857e9c", null ], - [ "y", "d3/ddb/structARC__DVector2.html#a21039c3c1138375a367cfb069e5d3140", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d3/df1/window_8h.html b/doc/doxygen/html/d3/df1/window_8h.html deleted file mode 100644 index 922761c..0000000 --- a/doc/doxygen/html/d3/df1/window_8h.html +++ /dev/null @@ -1,241 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/window.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
window.h File Reference
-
-
-
#include <stdint.h>
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_WindowInfo
 
- - - - - -

-Typedefs

typedef struct ARC_WindowType ARC_Window
 
typedef struct ARC_WindowInfo ARC_WindowInfo
 
- - - - - - - -

-Functions

void ARC_Window_Create (ARC_Window **window, ARC_WindowInfo *info)
 creates ARC_Window type
 
void ARC_Window_Destroy (ARC_Window *window)
 destroys ARC_Window type
 
-

Typedef Documentation

- -

◆ ARC_Window

- -
-
- - - - -
typedef struct ARC_WindowType ARC_Window
-
-
Note
ARC_WindowType is determined by which window backend you are using
- -

Definition at line 13 of file window.h.

- -
-
- -

◆ ARC_WindowInfo

- -
-
- - - - -
typedef struct ARC_WindowInfo ARC_WindowInfo
-
-
Note
certain parts of ARC_WindowInfo may not be used by your selected backend
- -
-
-

Function Documentation

- -

◆ ARC_Window_Create()

- -
-
- - - - - - - - - - - -
void ARC_Window_Create (ARC_Window ** window,
ARC_WindowInfo * info )
-
- -

creates ARC_Window type

-
Note
the parameter data is determined by which graphics library you are using please refer to the graphics library section to see what needs to be passed
-
Parameters
- - - -
windowARC_Window to initialize
infoInfo on how to create ARC_Window
-
-
- -
-
- -

◆ ARC_Window_Destroy()

- -
-
- - - - - - - -
void ARC_Window_Destroy (ARC_Window * window)
-
- -

destroys ARC_Window type

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d3/df1/window_8h.js b/doc/doxygen/html/d3/df1/window_8h.js deleted file mode 100644 index bd8e49a..0000000 --- a/doc/doxygen/html/d3/df1/window_8h.js +++ /dev/null @@ -1,8 +0,0 @@ -var window_8h = -[ - [ "ARC_WindowInfo", "d1/d1a/structARC__WindowInfo.html", "d1/d1a/structARC__WindowInfo" ], - [ "ARC_Window", "d3/df1/window_8h.html#a306a4335069399f41073b7cc14ab7c38", null ], - [ "ARC_WindowInfo", "d3/df1/window_8h.html#ad9c970ff3c2c05f887c89e5f112e997f", null ], - [ "ARC_Window_Create", "d3/df1/window_8h.html#ac2943b39d2140ae27cd98d362053f27c", null ], - [ "ARC_Window_Destroy", "d3/df1/window_8h.html#afb68d49b50117b8cec312c7a5999c1a6", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d3/df1/window_8h_source.html b/doc/doxygen/html/d3/df1/window_8h_source.html deleted file mode 100644 index 843cd22..0000000 --- a/doc/doxygen/html/d3/df1/window_8h_source.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/window.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
window.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_GRAPHICS_WINDOW_H_
-
2#define ARC_GRAPHICS_WINDOW_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include <stdint.h>
-
9
-
10/**
-
11 * @note ARC_WindowType is determined by which window backend you are using
-
12*/
-
13typedef struct ARC_WindowType ARC_Window;
-
14
-
15/**
-
16 * @note certain parts of ARC_WindowInfo may not be used by your selected backend
-
17*/
-
-
18typedef struct ARC_WindowInfo {
-
19 char *title;
-
20 int32_t w;
-
21 int32_t h;
- -
-
23
-
24/**
-
25 * @brief creates ARC_Window type
-
26 *
-
27 * @note the parameter data is determined by which graphics library you are using
-
28 * please refer to the graphics library section to see what needs to be passed
-
29 *
-
30 * @param window ARC_Window to initialize
-
31 * @param info Info on how to create ARC_Window
-
32 */
- -
34
-
35/**
-
36 * @brief destroys ARC_Window type
-
37 */
- -
39
-
40#ifdef __cplusplus
-
41}
-
42#endif
-
43
-
44#endif // !ARC_GRAPHICS_WINDOW_H_
- -
int32_t h
Definition window.h:21
-
char * title
Definition window.h:19
-
int32_t w
Definition window.h:20
-
struct ARC_WindowType ARC_Window
Definition window.h:13
-
void ARC_Window_Create(ARC_Window **window, ARC_WindowInfo *info)
creates ARC_Window type
-
struct ARC_WindowInfo ARC_WindowInfo
-
void ARC_Window_Destroy(ARC_Window *window)
destroys ARC_Window type
-
-
- - - - - - diff --git a/doc/doxygen/html/d4/d05/graphics_2rectangle_8c.html b/doc/doxygen/html/d4/d05/graphics_2rectangle_8c.html deleted file mode 100644 index 2e29ff3..0000000 --- a/doc/doxygen/html/d4/d05/graphics_2rectangle_8c.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/rectangle.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
rectangle.c File Reference
-
- - - -
- - diff --git a/doc/doxygen/html/d4/d05/graphics_2rectangle_8c_source.html b/doc/doxygen/html/d4/d05/graphics_2rectangle_8c_source.html deleted file mode 100644 index e053a5d..0000000 --- a/doc/doxygen/html/d4/d05/graphics_2rectangle_8c_source.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/rectangle.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
rectangle.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_GRAPHICS
-
2
- -
4#include <stdio.h>
-
5
-
6void ARC_Rect_Render(ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color){
-
7 printf("No Graphics Backend Selected\n");
-
8}
-
9
-
10void ARC_Rect_RenderFill(ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color){
-
11 printf("No Graphics Backend Selected\n");
-
12}
-
13
-
14void ARC_FRect_Render(ARC_FRect *rect, ARC_Renderer *renderer, ARC_Color *color){
-
15 printf("No Graphics Backend Selected\n");
-
16}
-
17
-
18void ARC_FRect_RenderFill(ARC_FRect *rect, ARC_Renderer *renderer, ARC_Color *color){
-
19 printf("No Graphics Backend Selected\n");
-
20}
-
21
-
22#endif // !ARC_NONE_GRAPHICS
- -
void ARC_FRect_Render(ARC_FRect *rect, ARC_Renderer *renderer, ARC_Color *color)
-
void ARC_FRect_RenderFill(ARC_FRect *rect, ARC_Renderer *renderer, ARC_Color *color)
-
void ARC_Rect_Render(ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color)
-
void ARC_Rect_RenderFill(ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color)
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- - - -
- - -
- - diff --git a/doc/doxygen/html/d4/d06/structARC__Obround.html b/doc/doxygen/html/d4/d06/structARC__Obround.html deleted file mode 100644 index df601b0..0000000 --- a/doc/doxygen/html/d4/d06/structARC__Obround.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - - - - - -Archeus: ARC_Obround Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_Obround Struct Reference
-
-
- -

#include <obround.h>

- - - - - - - - - - -

-Data Fields

int32_t x
 
int32_t y
 
int32_t r
 
int32_t h
 
-

Detailed Description

-
-

Definition at line 10 of file obround.h.

-

Field Documentation

- -

◆ h

- -
-
- - - - -
int32_t ARC_Obround::h
-
- -

Definition at line 14 of file obround.h.

- -
-
- -

◆ r

- -
-
- - - - -
int32_t ARC_Obround::r
-
- -

Definition at line 13 of file obround.h.

- -
-
- -

◆ x

- -
-
- - - - -
int32_t ARC_Obround::x
-
- -

Definition at line 11 of file obround.h.

- -
-
- -

◆ y

- -
-
- - - - -
int32_t ARC_Obround::y
-
- -

Definition at line 12 of file obround.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/include/arc/math/obround.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d4/d06/structARC__Obround.js b/doc/doxygen/html/d4/d06/structARC__Obround.js deleted file mode 100644 index 0c87015..0000000 --- a/doc/doxygen/html/d4/d06/structARC__Obround.js +++ /dev/null @@ -1,7 +0,0 @@ -var structARC__Obround = -[ - [ "h", "d4/d06/structARC__Obround.html#aed164dae5e8ad2ba41f06b97375aa368", null ], - [ "r", "d4/d06/structARC__Obround.html#a3d884224975dfd2fc8fbd5a4cdaedea6", null ], - [ "x", "d4/d06/structARC__Obround.html#aa76f24b7b9ed595509ce86e814ce2e5c", null ], - [ "y", "d4/d06/structARC__Obround.html#aaf9160914e7d76682f8507afed6679de", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d4/d43/chemical_8c.html b/doc/doxygen/html/d4/d43/chemical_8c.html deleted file mode 100644 index 8188454..0000000 --- a/doc/doxygen/html/d4/d43/chemical_8c.html +++ /dev/null @@ -1,535 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/chemical.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
- -
chemical.c File Reference
-
-
-
#include "arc/std/chemical.h"
-#include "arc/std/parser/helpers.h"
-#include "arc/std/bool.h"
-#include "arc/std/hashtable.h"
-#include "arc/std/parser.h"
-#include <stddef.h>
-#include <stdint.h>
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_Chemical
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_Chemical_InitLexerRulesFn (ARC_Lexer *lexer)
 
uint32_t ARC_Chemical_GetStringIdFn (ARC_String *string)
 
void ARC_ChemicalData_CreateFn (void **data, ARC_ParserTagToken *parsedData, void *userData)
 
void ARC_Chemical_Create (ARC_Chemical **chemical)
 TODO: write this.
 
void ARC_Chemical_Destroy (ARC_Chemical *chemical)
 TODO: write this.
 
void ARC_Chemical_RegisterType (ARC_Chemical *chemical, ARC_String *typeName, ARC_ChemicalData_CopyToTypeFn *copyToTypeFn, ARC_ParserCSV_DestroyTypeFn destroyTypeFn)
 TODO: write this.
 
void ARC_Chemical_SetGroup (ARC_Chemical *chemical, ARC_String *groupName)
 sets current group in config
 
void * ARC_Chemical_Get (ARC_Chemical *chemical, ARC_String *element)
 get a value from a given keyname
 
void ARC_Chemical_LoadFromString (ARC_String *path)
 TODO: write this.
 
void ARC_Chemical_LoadFromFile (ARC_String *path)
 TODO: write this.
 
void ARC_Chemical_UnloadFromString (ARC_String *data)
 TODO: write this.
 
void ARC_Chemical_UnloadFromFile (ARC_String *data)
 TODO: write this.
 
-

Function Documentation

- -

◆ ARC_Chemical_Create()

- -
-
- - - - - - - -
void ARC_Chemical_Create (ARC_Chemical ** chemical)
-
- -

TODO: write this.

- -

Definition at line 36 of file chemical.c.

-
36 {
-
37 *chemical = (ARC_Chemical *)malloc(sizeof(ARC_Chemical));
-
38
-
39 /* ~ define the language as a string ~ */
-
40 char *languageCString =
-
41 "<language> -> <group> <language> | <variableLine> <language> | <whitespace> <language>\n"
-
42
-
43 "<group> -> <groupName> <whitespace> <variable> <whitespace> LEFT_CURLY_BRACE <whitespace> <variableLine> <whitespace> RIGHT_CURLY_BRACE\n"
-
44
-
45 "<variableLine> -> <type> <whitespace> <variable> <whitespace> EQUALS <whitespace> value <whitespace> SEMICOLON <whitespace>\n"
-
46
-
47 "<groupName> -> <variable>\n"
-
48 "<type> -> <variable>\n"
-
49 "<value> -> <variable> | <number> | <nestedValue>\n"
-
50 "<nestedValue> -> OPEN_CURLY_BRACE <whitespace> <valueArgs> <whitespace> CLOSE_CURLY_BRACE\n"
-
51 "<valueArgs> -> <value> | <value> COMMA <valueArgs>\n"
-
52
-
53 "<variable> -> ALPHA_UPPER_CHAR <variableName> | ALPHA_LOWER_CHAR <variableName> | UNDERSCORE <variableName>\n"
-
54 "<variableName> -> <charOrNum> <variableName> | LAMBDA\n"
-
55 "<charOrNum> -> ALPHA_UPPER_CHAR | ALPHA_LOWER_CHAR | UNDERSCORE | NUM\n"
-
56
-
57 "<number> -> NUMBER <number> | NUMBER LAMBDA\n"
-
58
-
59 "<whitespace> -> SPACE <whitespace> | TAB <whitespace> | NEWLINE <whitespace> | LAMBDA\n";
-
60
-
61 /* ~ define the language as a string ~ */
-
62 ARC_String *languageString;
-
63 ARC_String_CreateWithStrlen(&languageString, languageCString);
-
64
-
65 /* ~ init the userdata? ~ */
-
66
-
67 /* ~ create the language ~ */
-
68 //ARC_ParserData_CreateFn createCharFn = ARC_ChemicalData_CreateFn;
-
69 //ARC_ParserData_DestroyFn destroyCharFn = ARC_ChemicalData_DestroyFn;
-
70 //ARC_Parser_CreateFromString(parser, languageString, ARC_ParserCSV_InitLexerRulesFn, ARC_ParserCSV_GetStringIdFn, &createCharFn, &destroyCharFn, userdata);
-
71
-
72 //cleanup
-
73 ARC_String_Destroy(languageString);
-
74}
-
void ARC_String_CreateWithStrlen(ARC_String **string, char *data)
creates ARC_String type with strinlen
Definition string.c:32
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
- -
substring position within a string
Definition string.h:14
-
-

References ARC_String_CreateWithStrlen(), and ARC_String_Destroy().

- -
-
- -

◆ ARC_Chemical_Destroy()

- -
-
- - - - - - - -
void ARC_Chemical_Destroy (ARC_Chemical * chemical)
-
- -

TODO: write this.

- -

Definition at line 76 of file chemical.c.

-
76 {
-
77}
-
-
-
- -

◆ ARC_Chemical_Get()

- -
-
- - - - - - - - - - - -
void * ARC_Chemical_Get (ARC_Chemical * chemical,
ARC_String * element )
-
- -

get a value from a given keyname

-
Note
name may be prefaced with <group>:: to specify group
-
Parameters
- - - -
[in]chemicalARC_Chemical to get value from
[in]elementname of a variable that has been read in
-
-
-
Returns
the stored element on success, or NULL on failure
- -

Definition at line 85 of file chemical.c.

-
85 {
-
86 return NULL;
-
87}
-
-
-
- -

◆ ARC_Chemical_GetStringIdFn()

- -
-
- - - - - - - -
uint32_t ARC_Chemical_GetStringIdFn (ARC_String * string)
-
- -

Definition at line 19 of file chemical.c.

-
19 {
-
20 if(ARC_String_EqualsCStringWithStrlen(string, "LAMBDA")){
- -
22 }
-
23
-
24 return ~(uint32_t)0;
-
25}
-
#define ARC_PARSER_TAG_LAMBDA
basic tag for letting the parser know it is ok to end
Definition parser.h:150
-
ARC_Bool ARC_String_EqualsCStringWithStrlen(ARC_String *string, const char *cstring)
check if ARC_String and cstring match
Definition string.c:171
-
-

References ARC_PARSER_TAG_LAMBDA, and ARC_String_EqualsCStringWithStrlen().

- -
-
- -

◆ ARC_Chemical_InitLexerRulesFn()

- -
-
- - - - - - - -
void ARC_Chemical_InitLexerRulesFn (ARC_Lexer * lexer)
-
- -

Definition at line 16 of file chemical.c.

-
16 {
-
17}
-
-
-
- -

◆ ARC_Chemical_LoadFromFile()

- -
-
- - - - - - - -
void ARC_Chemical_LoadFromFile (ARC_String * path)
-
- -

TODO: write this.

- -

Definition at line 92 of file chemical.c.

-
92 {
-
93}
-
-
-
- -

◆ ARC_Chemical_LoadFromString()

- -
-
- - - - - - - -
void ARC_Chemical_LoadFromString (ARC_String * path)
-
- -

TODO: write this.

- -

Definition at line 89 of file chemical.c.

-
89 {
-
90}
-
-
-
- -

◆ ARC_Chemical_RegisterType()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Chemical_RegisterType (ARC_Chemical * chemical,
ARC_String * typeName,
ARC_ChemicalData_CopyToTypeFn * copyToTypeFn,
ARC_ParserCSV_DestroyTypeFn destroyTypeFn )
-
- -

TODO: write this.

- -

Definition at line 79 of file chemical.c.

-
79 {
-
80}
-
-
-
- -

◆ ARC_Chemical_SetGroup()

- -
-
- - - - - - - - - - - -
void ARC_Chemical_SetGroup (ARC_Chemical * chemical,
ARC_String * groupName )
-
- -

sets current group in config

-
Note
ARC_Chemical_Get will use this set group
-
Parameters
- - - -
[in]chemicalARC_Config we are setting current group in
[in]groupnamename of group that will be set
-
-
- -

Definition at line 82 of file chemical.c.

-
82 {
-
83}
-
-
-
- -

◆ ARC_Chemical_UnloadFromFile()

- -
-
- - - - - - - -
void ARC_Chemical_UnloadFromFile (ARC_String * data)
-
- -

TODO: write this.

- -

Definition at line 98 of file chemical.c.

-
98 {
-
99}
-
-
-
- -

◆ ARC_Chemical_UnloadFromString()

- -
-
- - - - - - - -
void ARC_Chemical_UnloadFromString (ARC_String * data)
-
- -

TODO: write this.

- -

Definition at line 95 of file chemical.c.

-
95 {
-
96}
-
-
-
- -

◆ ARC_ChemicalData_CreateFn()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ChemicalData_CreateFn (void ** data,
ARC_ParserTagToken * parsedData,
void * userData )
-
- -

Definition at line 27 of file chemical.c.

-
27 {
-
28 *data = NULL;
-
29 if(data == NULL || userData == NULL){
-
30 //TODO: error here?
-
31 *data = NULL;
-
32 return;
-
33 }
-
34}
-
-
-
-
- - -
- - diff --git a/doc/doxygen/html/d4/d43/chemical_8c_source.html b/doc/doxygen/html/d4/d43/chemical_8c_source.html deleted file mode 100644 index 56c574f..0000000 --- a/doc/doxygen/html/d4/d43/chemical_8c_source.html +++ /dev/null @@ -1,258 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/chemical.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
chemical.c
-
-
-Go to the documentation of this file.
1#include "arc/std/chemical.h"
- -
3#include "arc/std/bool.h"
-
4#include "arc/std/hashtable.h"
-
5#include "arc/std/parser.h"
-
6#include <stddef.h>
-
7#include <stdint.h>
-
8#include <stdlib.h>
-
9
- -
15
- -
18
-
- -
20 if(ARC_String_EqualsCStringWithStrlen(string, "LAMBDA")){
- -
22 }
-
23
-
24 return ~(uint32_t)0;
-
25}
-
-
26
-
-
27void ARC_ChemicalData_CreateFn(void **data, ARC_ParserTagToken *parsedData, void *userData){
-
28 *data = NULL;
-
29 if(data == NULL || userData == NULL){
-
30 //TODO: error here?
-
31 *data = NULL;
-
32 return;
-
33 }
-
34}
-
-
35
-
- -
37 *chemical = (ARC_Chemical *)malloc(sizeof(ARC_Chemical));
-
38
-
39 /* ~ define the language as a string ~ */
-
40 char *languageCString =
-
41 "<language> -> <group> <language> | <variableLine> <language> | <whitespace> <language>\n"
-
42
-
43 "<group> -> <groupName> <whitespace> <variable> <whitespace> LEFT_CURLY_BRACE <whitespace> <variableLine> <whitespace> RIGHT_CURLY_BRACE\n"
-
44
-
45 "<variableLine> -> <type> <whitespace> <variable> <whitespace> EQUALS <whitespace> value <whitespace> SEMICOLON <whitespace>\n"
-
46
-
47 "<groupName> -> <variable>\n"
-
48 "<type> -> <variable>\n"
-
49 "<value> -> <variable> | <number> | <nestedValue>\n"
-
50 "<nestedValue> -> OPEN_CURLY_BRACE <whitespace> <valueArgs> <whitespace> CLOSE_CURLY_BRACE\n"
-
51 "<valueArgs> -> <value> | <value> COMMA <valueArgs>\n"
-
52
-
53 "<variable> -> ALPHA_UPPER_CHAR <variableName> | ALPHA_LOWER_CHAR <variableName> | UNDERSCORE <variableName>\n"
-
54 "<variableName> -> <charOrNum> <variableName> | LAMBDA\n"
-
55 "<charOrNum> -> ALPHA_UPPER_CHAR | ALPHA_LOWER_CHAR | UNDERSCORE | NUM\n"
-
56
-
57 "<number> -> NUMBER <number> | NUMBER LAMBDA\n"
-
58
-
59 "<whitespace> -> SPACE <whitespace> | TAB <whitespace> | NEWLINE <whitespace> | LAMBDA\n";
-
60
-
61 /* ~ define the language as a string ~ */
-
62 ARC_String *languageString;
-
63 ARC_String_CreateWithStrlen(&languageString, languageCString);
-
64
-
65 /* ~ init the userdata? ~ */
-
66
-
67 /* ~ create the language ~ */
-
68 //ARC_ParserData_CreateFn createCharFn = ARC_ChemicalData_CreateFn;
-
69 //ARC_ParserData_DestroyFn destroyCharFn = ARC_ChemicalData_DestroyFn;
-
70 //ARC_Parser_CreateFromString(parser, languageString, ARC_ParserCSV_InitLexerRulesFn, ARC_ParserCSV_GetStringIdFn, &createCharFn, &destroyCharFn, userdata);
-
71
-
72 //cleanup
-
73 ARC_String_Destroy(languageString);
-
74}
-
-
75
-
- -
77}
-
-
78
-
- -
80}
-
-
81
-
-
82void ARC_Chemical_SetGroup(ARC_Chemical *chemical, ARC_String *groupName){
-
83}
-
-
84
-
-
85void *ARC_Chemical_Get(ARC_Chemical *chemical, ARC_String *element){
-
86 return NULL;
-
87}
-
-
88
- -
91
- -
94
- -
97
- - -
void ARC_Chemical_LoadFromFile(ARC_String *path)
TODO: write this.
Definition chemical.c:92
-
void ARC_ChemicalData_CreateFn(void **data, ARC_ParserTagToken *parsedData, void *userData)
Definition chemical.c:27
-
void ARC_Chemical_UnloadFromFile(ARC_String *data)
TODO: write this.
Definition chemical.c:98
-
void ARC_Chemical_LoadFromString(ARC_String *path)
TODO: write this.
Definition chemical.c:89
-
void ARC_Chemical_Create(ARC_Chemical **chemical)
TODO: write this.
Definition chemical.c:36
-
void ARC_Chemical_RegisterType(ARC_Chemical *chemical, ARC_String *typeName, ARC_ChemicalData_CopyToTypeFn *copyToTypeFn, ARC_ParserCSV_DestroyTypeFn destroyTypeFn)
TODO: write this.
Definition chemical.c:79
-
void ARC_Chemical_SetGroup(ARC_Chemical *chemical, ARC_String *groupName)
sets current group in config
Definition chemical.c:82
-
void ARC_Chemical_Destroy(ARC_Chemical *chemical)
TODO: write this.
Definition chemical.c:76
-
void ARC_Chemical_InitLexerRulesFn(ARC_Lexer *lexer)
Definition chemical.c:16
-
uint32_t ARC_Chemical_GetStringIdFn(ARC_String *string)
Definition chemical.c:19
-
void ARC_Chemical_UnloadFromString(ARC_String *data)
TODO: write this.
Definition chemical.c:95
-
void * ARC_Chemical_Get(ARC_Chemical *chemical, ARC_String *element)
get a value from a given keyname
Definition chemical.c:85
- -
void(* ARC_ParserCSV_DestroyTypeFn)(void *data)
TODO: write this.
Definition chemical.h:43
-
void(* ARC_ChemicalData_CopyToTypeFn)(void **data, ARC_ParserTagToken *parsedData)
TODO: write this.
Definition chemical.h:38
- - - -
#define ARC_PARSER_TAG_LAMBDA
basic tag for letting the parser know it is ok to end
Definition parser.h:150
-
void ARC_String_CreateWithStrlen(ARC_String **string, char *data)
creates ARC_String type with strinlen
Definition string.c:32
-
ARC_Bool ARC_String_EqualsCStringWithStrlen(ARC_String *string, const char *cstring)
check if ARC_String and cstring match
Definition string.c:171
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
- -
ARC_Parser * parser
Definition chemical.c:11
-
ARC_Hashtable * groups
Definition chemical.c:13
- - -
a parser type used inside of the parser data create function
Definition parser.h:35
- -
substring position within a string
Definition string.h:14
-
- - -
- - diff --git a/doc/doxygen/html/d4/d4c/include_2arc_2input_2mouse_8h.html b/doc/doxygen/html/d4/d4c/include_2arc_2input_2mouse_8h.html deleted file mode 100644 index 3c5d1b7..0000000 --- a/doc/doxygen/html/d4/d4c/include_2arc_2input_2mouse_8h.html +++ /dev/null @@ -1,539 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/input/mouse.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
mouse.h File Reference
-
-
-
#include "arc/math/point.h"
-#include <stdint.h>
-
-

Go to the source code of this file.

- - - - -

-Macros

#define ARC_MOUSE_BUTTON_NUM   5
 
- - - - - - - -

-Typedefs

typedef struct ARC_Mouse ARC_Mouse
 
typedef enum ARC_MouseState ARC_MouseState
 
typedef enum ARC_MouseButton ARC_MouseButton
 
- - - - - -

-Enumerations

enum  ARC_MouseState { ARC_MOUSE_NONE -, ARC_MOUSE_PRESSED -, ARC_MOUSE_RELEASED - }
 
enum  ARC_MouseButton {
-  ARC_MOUSE_LEFT = 0 -, ARC_MOUSE_MIDDLE = 1 -, ARC_MOUSE_RIGHT = 2 -, ARC_MOUSE_X1 = 3 -,
-  ARC_MOUSE_X2 = 4 -
- }
 
- - - - - - - - - - - - - -

-Functions

void ARC_Mouse_CreateWithInput (ARC_Mouse **mouse, ARC_Input *input)
 
void ARC_Mouse_Destroy (ARC_Mouse *mouse)
 
void ARC_Mouse_Update (ARC_Mouse *mouse)
 
ARC_PointARC_Mouse_GetCoords (ARC_Mouse *mouse)
 
ARC_MouseState ARC_Mouse_GetState (ARC_Mouse *mouse, ARC_MouseButton button)
 
int32_t * ARC_Mouse_GetScrollY (ARC_Mouse *mouse)
 
-

Macro Definition Documentation

- -

◆ ARC_MOUSE_BUTTON_NUM

- -
-
- - - - -
#define ARC_MOUSE_BUTTON_NUM   5
-
- -

Definition at line 32 of file mouse.h.

- -

Referenced by ARC_Mouse_CreateWithInput().

- -
-
-

Typedef Documentation

- -

◆ ARC_Mouse

- -
-
- - - - -
typedef struct ARC_Mouse ARC_Mouse
-
- -

Definition at line 16 of file mouse.h.

- -
-
- -

◆ ARC_MouseButton

- -
-
- - - - -
typedef enum ARC_MouseButton ARC_MouseButton
-
- -
-
- -

◆ ARC_MouseState

- -
-
- - - - -
typedef enum ARC_MouseState ARC_MouseState
-
- -
-
-

Enumeration Type Documentation

- -

◆ ARC_MouseButton

- -
-
- - - - -
enum ARC_MouseButton
-
- - - - - - -
Enumerator
ARC_MOUSE_LEFT 
ARC_MOUSE_MIDDLE 
ARC_MOUSE_RIGHT 
ARC_MOUSE_X1 
ARC_MOUSE_X2 
- -

Definition at line 24 of file mouse.h.

-
24 {
- - - -
28 ARC_MOUSE_X1 = 3,
-
29 ARC_MOUSE_X2 = 4
- -
ARC_MouseButton
Definition mouse.h:24
-
@ ARC_MOUSE_X2
Definition mouse.h:29
-
@ ARC_MOUSE_LEFT
Definition mouse.h:25
-
@ ARC_MOUSE_RIGHT
Definition mouse.h:27
-
@ ARC_MOUSE_X1
Definition mouse.h:28
-
@ ARC_MOUSE_MIDDLE
Definition mouse.h:26
-
-
-
- -

◆ ARC_MouseState

- -
-
- - - - -
enum ARC_MouseState
-
- - - - -
Enumerator
ARC_MOUSE_NONE 
ARC_MOUSE_PRESSED 
ARC_MOUSE_RELEASED 
- -

Definition at line 18 of file mouse.h.

-
18 {
- - - - -
ARC_MouseState
Definition mouse.h:18
-
@ ARC_MOUSE_RELEASED
Definition mouse.h:21
-
@ ARC_MOUSE_PRESSED
Definition mouse.h:20
-
@ ARC_MOUSE_NONE
Definition mouse.h:19
-
-
-
-

Function Documentation

- -

◆ ARC_Mouse_CreateWithInput()

- -
-
- - - - - - - - - - - -
void ARC_Mouse_CreateWithInput (ARC_Mouse ** mouse,
ARC_Input * input )
-
- -

Definition at line 12 of file mouse.c.

-
12 {
-
13 *mouse = (ARC_Mouse *)malloc(sizeof(ARC_Mouse));
-
14 (*mouse)->event = input->event;
-
15 (*mouse)->coords = (ARC_Point *)malloc(sizeof(ARC_Point));
-
16 (*mouse)->scrollY = (int32_t *)malloc(sizeof(int32_t ));
-
17 (*mouse)->buttons = (ARC_MouseState *)malloc(sizeof(ARC_MouseState) * ARC_MOUSE_BUTTON_NUM);
-
18
-
19 (*mouse)->buttonsReleased = (uint8_t *)malloc(sizeof(uint8_t));
-
20
-
21 *(*mouse)->coords = (ARC_Point){0, 0};
-
22 *(*mouse)->scrollY = 0;
-
23
-
24 for(uint8_t i = 0; i < ARC_MOUSE_BUTTON_NUM; i++){
-
25 (*mouse)->buttons[i] = ARC_MOUSE_NONE;
-
26 }
-
27
-
28 *(*mouse)->buttonsReleased = 0;
-
29}
-
#define ARC_MOUSE_BUTTON_NUM
Definition mouse.h:32
-
struct ARC_Point ARC_Point
-
SDL_Event * event
Definition input.h:12
- -
SDL_Event * event
Definition mouse.h:9
- -
-

References ARC_MOUSE_BUTTON_NUM, ARC_MOUSE_NONE, ARC_Input::event, and ARC_Mouse::event.

- -

Referenced by ARC_Input_CreateWithEngineData().

- -
-
- -

◆ ARC_Mouse_Destroy()

- -
-
- - - - - - - -
void ARC_Mouse_Destroy (ARC_Mouse * mouse)
-
- -

Definition at line 31 of file mouse.c.

-
31 {
-
32 free(mouse->buttonsReleased);
-
33
-
34 free(mouse->buttons);
-
35 free(mouse->scrollY);
-
36 free(mouse->coords );
-
37
-
38 free(mouse);
-
39}
-
ARC_Point * coords
Definition mouse.h:10
-
ARC_MouseState * buttons
Definition mouse.h:13
-
int32_t * scrollY
Definition mouse.h:11
-
uint8_t * buttonsReleased
Definition mouse.h:14
-
-

References ARC_Mouse::buttons, ARC_Mouse::buttonsReleased, ARC_Mouse::coords, and ARC_Mouse::scrollY.

- -

Referenced by ARC_EngineData_Destroy(), and ARC_Input_Destroy().

- -
-
- -

◆ ARC_Mouse_GetCoords()

- -
-
- - - - - - - -
ARC_Point * ARC_Mouse_GetCoords (ARC_Mouse * mouse)
-
- -

Definition at line 95 of file mouse.c.

-
95 {
-
96 return mouse->coords;
-
97}
-
-

References ARC_Mouse::coords.

- -
-
- -

◆ ARC_Mouse_GetScrollY()

- -
-
- - - - - - - -
int32_t * ARC_Mouse_GetScrollY (ARC_Mouse * mouse)
-
- -

Definition at line 103 of file mouse.c.

-
103 {
-
104 return mouse->scrollY;
-
105}
-
-

References ARC_Mouse::scrollY.

- -
-
- -

◆ ARC_Mouse_GetState()

- -
-
- - - - - - - - - - - -
ARC_MouseState ARC_Mouse_GetState (ARC_Mouse * mouse,
ARC_MouseButton button )
-
- -

Definition at line 99 of file mouse.c.

-
99 {
-
100 return mouse->buttons[button];
-
101}
-
-

References ARC_Mouse::buttons.

- -
-
- -

◆ ARC_Mouse_Update()

- -
-
- - - - - - - -
void ARC_Mouse_Update (ARC_Mouse * mouse)
-
- -

Definition at line 61 of file mouse.c.

-
61 {
-
62 *mouse->scrollY = 0;
-
63 if(mouse->event->type == SDL_MOUSEWHEEL){
-
64 *mouse->scrollY = mouse->event->wheel.y;
-
65 }
-
66
-
67 uint32_t buttons = SDL_GetMouseState(&(mouse->coords->x), &(mouse->coords->y));
-
68
-
69 if(mouse->event->type != SDL_MOUSEBUTTONDOWN && mouse->event->type != SDL_MOUSEBUTTONUP){
-
70 if(!*mouse->buttonsReleased){
-
71 return;
-
72 }
-
73
-
74 for(uint8_t i = *mouse->buttonsReleased; i > 0; i--){
-
75 if(mouse->buttons[i - 1] == ARC_MOUSE_RELEASED){
-
76 mouse->buttons[i - 1] = ARC_MOUSE_NONE;
-
77 --*mouse->buttonsReleased;
-
78 }
-
79 }
-
80
-
81 // if(*mouse->buttonsReleased){
-
82 // arc_errno = ARC_ERRNO_DATA;
-
83 // ARC_DEBUG_LOG(arc_errno, "in ARC_Mouse_Update mouse->buttonsReleased == %u, it needs to be 0\n", *(mouse->buttonsReleased));
-
84 // }
-
85 return;
-
86 }
-
87
-
88 ARC_Mouse_UpdateButton(mouse, ARC_MOUSE_LEFT , &buttons, SDL_BUTTON_LMASK );
-
89 ARC_Mouse_UpdateButton(mouse, ARC_MOUSE_MIDDLE, &buttons, SDL_BUTTON_MMASK );
-
90 ARC_Mouse_UpdateButton(mouse, ARC_MOUSE_RIGHT , &buttons, SDL_BUTTON_RMASK );
-
91 ARC_Mouse_UpdateButton(mouse, ARC_MOUSE_X1 , &buttons, SDL_BUTTON_X1MASK);
-
92 ARC_Mouse_UpdateButton(mouse, ARC_MOUSE_X2 , &buttons, SDL_BUTTON_X2MASK);
-
93}
-
void ARC_Mouse_UpdateButton(ARC_Mouse *mouse, uint8_t button, uint32_t *buttons, uint32_t mask)
Definition mouse.c:41
-
int32_t y
Definition point.h:12
-
int32_t x
Definition point.h:11
-
-

References ARC_MOUSE_LEFT, ARC_MOUSE_MIDDLE, ARC_MOUSE_NONE, ARC_MOUSE_RELEASED, ARC_MOUSE_RIGHT, ARC_Mouse_UpdateButton(), ARC_MOUSE_X1, ARC_MOUSE_X2, ARC_Mouse::buttons, ARC_Mouse::buttonsReleased, ARC_Mouse::coords, ARC_Mouse::event, ARC_Mouse::scrollY, ARC_Point::x, and ARC_Point::y.

- -

Referenced by ARC_Input_Update().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d4/d4c/include_2arc_2input_2mouse_8h.js b/doc/doxygen/html/d4/d4c/include_2arc_2input_2mouse_8h.js deleted file mode 100644 index 868d33a..0000000 --- a/doc/doxygen/html/d4/d4c/include_2arc_2input_2mouse_8h.js +++ /dev/null @@ -1,25 +0,0 @@ -var include_2arc_2input_2mouse_8h = -[ - [ "ARC_MOUSE_BUTTON_NUM", "d4/d4c/include_2arc_2input_2mouse_8h.html#acbb0b27e48bcb41ad29eef0f0e8eacef", null ], - [ "ARC_Mouse", "d4/d4c/include_2arc_2input_2mouse_8h.html#a902312c6398b8df6994f040d103b507b", null ], - [ "ARC_MouseButton", "d4/d4c/include_2arc_2input_2mouse_8h.html#a350eb1b802dfe2a8c68e026446728b01", null ], - [ "ARC_MouseState", "d4/d4c/include_2arc_2input_2mouse_8h.html#a8a40d17a0e5b8afa1fee2e97f7b2d7db", null ], - [ "ARC_MouseButton", "d4/d4c/include_2arc_2input_2mouse_8h.html#a269bea4edbaaaa49300ec7947aae78ad", [ - [ "ARC_MOUSE_LEFT", "d4/d4c/include_2arc_2input_2mouse_8h.html#a269bea4edbaaaa49300ec7947aae78ada64a7929203f7e527afd8a12dcedbeb55", null ], - [ "ARC_MOUSE_MIDDLE", "d4/d4c/include_2arc_2input_2mouse_8h.html#a269bea4edbaaaa49300ec7947aae78adae58cf0eb299ab6f28ef181a1e30f350b", null ], - [ "ARC_MOUSE_RIGHT", "d4/d4c/include_2arc_2input_2mouse_8h.html#a269bea4edbaaaa49300ec7947aae78adab1ee07c0792fb2eb187a8d2b7b08c5ba", null ], - [ "ARC_MOUSE_X1", "d4/d4c/include_2arc_2input_2mouse_8h.html#a269bea4edbaaaa49300ec7947aae78adabf7686eab237e635b36efcffec7e7509", null ], - [ "ARC_MOUSE_X2", "d4/d4c/include_2arc_2input_2mouse_8h.html#a269bea4edbaaaa49300ec7947aae78ada4075d9a56968ae49d09c1ae3df5a2fd4", null ] - ] ], - [ "ARC_MouseState", "d4/d4c/include_2arc_2input_2mouse_8h.html#a52d94336e2c510bb6d634595ad41fa89", [ - [ "ARC_MOUSE_NONE", "d4/d4c/include_2arc_2input_2mouse_8h.html#a52d94336e2c510bb6d634595ad41fa89ae4a0ee3870d689b0b545fbf9b4a3b408", null ], - [ "ARC_MOUSE_PRESSED", "d4/d4c/include_2arc_2input_2mouse_8h.html#a52d94336e2c510bb6d634595ad41fa89abd627d7ca223deb05630511e1ebc5b23", null ], - [ "ARC_MOUSE_RELEASED", "d4/d4c/include_2arc_2input_2mouse_8h.html#a52d94336e2c510bb6d634595ad41fa89a51d511d33a6cd519b57502f63808e77a", null ] - ] ], - [ "ARC_Mouse_CreateWithInput", "d4/d4c/include_2arc_2input_2mouse_8h.html#ad10b11b6dc3e8154a6a8c55336f414aa", null ], - [ "ARC_Mouse_Destroy", "d4/d4c/include_2arc_2input_2mouse_8h.html#a80f3e8881fa82ed61884bd0c54718377", null ], - [ "ARC_Mouse_GetCoords", "d4/d4c/include_2arc_2input_2mouse_8h.html#a03fbe8fd4b74249f76a6b9b3896f1c90", null ], - [ "ARC_Mouse_GetScrollY", "d4/d4c/include_2arc_2input_2mouse_8h.html#a3760b36acc070c0519e51480312a6b8d", null ], - [ "ARC_Mouse_GetState", "d4/d4c/include_2arc_2input_2mouse_8h.html#a00a25e48a5a701317b363dcdc83e3469", null ], - [ "ARC_Mouse_Update", "d4/d4c/include_2arc_2input_2mouse_8h.html#a6eb8e204759d13162a305588e550b132", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d4/d4c/include_2arc_2input_2mouse_8h_source.html b/doc/doxygen/html/d4/d4c/include_2arc_2input_2mouse_8h_source.html deleted file mode 100644 index fcbdd9e..0000000 --- a/doc/doxygen/html/d4/d4c/include_2arc_2input_2mouse_8h_source.html +++ /dev/null @@ -1,198 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/input/mouse.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
mouse.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_GRAPHICS_MOUSE_H_
-
2#define ARC_GRAPHICS_MOUSE_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include "arc/math/point.h"
-
9#include <stdint.h>
-
10
-
11/**
-
12 * @brief predefien ARC_Input so as not to get circular reference
-
13*/
-
14typedef struct ARC_Input ARC_Input;
-
15
-
16typedef struct ARC_Mouse ARC_Mouse;
-
17
- -
23
- -
31
-
32#define ARC_MOUSE_BUTTON_NUM 5
-
33
- -
35
-
36void ARC_Mouse_Destroy(ARC_Mouse *mouse);
-
37void ARC_Mouse_Update(ARC_Mouse *mouse);
- - -
40int32_t *ARC_Mouse_GetScrollY(ARC_Mouse *mouse);
-
41
-
42#ifdef __cplusplus
-
43}
-
44#endif
-
45
-
46#endif // !ARC_GRAPHICS_MOUSE_H_
-
ARC_MouseState ARC_Mouse_GetState(ARC_Mouse *mouse, ARC_MouseButton button)
Definition mouse.c:99
-
ARC_Point * ARC_Mouse_GetCoords(ARC_Mouse *mouse)
Definition mouse.c:95
-
ARC_MouseButton
Definition mouse.h:24
-
@ ARC_MOUSE_X2
Definition mouse.h:29
-
@ ARC_MOUSE_LEFT
Definition mouse.h:25
-
@ ARC_MOUSE_RIGHT
Definition mouse.h:27
-
@ ARC_MOUSE_X1
Definition mouse.h:28
-
@ ARC_MOUSE_MIDDLE
Definition mouse.h:26
-
int32_t * ARC_Mouse_GetScrollY(ARC_Mouse *mouse)
Definition mouse.c:103
-
ARC_MouseState
Definition mouse.h:18
-
@ ARC_MOUSE_RELEASED
Definition mouse.h:21
-
@ ARC_MOUSE_PRESSED
Definition mouse.h:20
-
@ ARC_MOUSE_NONE
Definition mouse.h:19
-
void ARC_Mouse_Update(ARC_Mouse *mouse)
Definition mouse.c:61
-
void ARC_Mouse_Destroy(ARC_Mouse *mouse)
Definition mouse.c:31
-
void ARC_Mouse_CreateWithInput(ARC_Mouse **mouse, ARC_Input *input)
Definition mouse.c:12
- - - - -
-
- - - - - - diff --git a/doc/doxygen/html/d4/d52/src_2input_2mouse_8c.html b/doc/doxygen/html/d4/d52/src_2input_2mouse_8c.html deleted file mode 100644 index 93b74cd..0000000 --- a/doc/doxygen/html/d4/d52/src_2input_2mouse_8c.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/input/mouse.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
mouse.c File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d4/d52/src_2input_2mouse_8c_source.html b/doc/doxygen/html/d4/d52/src_2input_2mouse_8c_source.html deleted file mode 100644 index d6ca64f..0000000 --- a/doc/doxygen/html/d4/d52/src_2input_2mouse_8c_source.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/input/mouse.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
mouse.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_INPUT
-
2
-
3#include "arc/input/mouse.h"
-
4#include <stdio.h>
-
5
- -
7 printf("No Input Backend Selected\n");
-
8}
-
9
-
10void ARC_Mouse_Destroy(ARC_Mouse *mouse){
-
11 printf("No Input Backend Selected\n");
-
12}
-
13
-
14void ARC_Mouse_UpdateButton(ARC_Mouse *mouse, uint8_t button, uint32_t *buttons, uint32_t mask){
-
15 printf("No Input Backend Selected\n");
-
16}
-
17
-
18void ARC_Mouse_Update(ARC_Mouse *mouse){
-
19 printf("No Input Backend Selected\n");
-
20}
-
21
- -
23 printf("No Input Backend Selected\n");
-
24 return NULL;
-
25}
-
26
- -
28 printf("No Input Backend Selected\n");
-
29 return ARC_MOUSE_NONE;
-
30}
-
31
-
32int32_t *ARC_Mouse_GetScrollY(ARC_Mouse *mouse){
-
33 printf("No Input Backend Selected\n");
-
34 return NULL;
-
35}
-
36
-
37#endif // !ARC_INPUT_NONE
- -
ARC_MouseState ARC_Mouse_GetState(ARC_Mouse *mouse, ARC_MouseButton button)
Definition mouse.c:99
-
ARC_Point * ARC_Mouse_GetCoords(ARC_Mouse *mouse)
Definition mouse.c:95
-
ARC_MouseButton
Definition mouse.h:24
-
int32_t * ARC_Mouse_GetScrollY(ARC_Mouse *mouse)
Definition mouse.c:103
-
ARC_MouseState
Definition mouse.h:18
-
@ ARC_MOUSE_NONE
Definition mouse.h:19
-
void ARC_Mouse_Update(ARC_Mouse *mouse)
Definition mouse.c:61
-
void ARC_Mouse_Destroy(ARC_Mouse *mouse)
Definition mouse.c:31
-
void ARC_Mouse_CreateWithInput(ARC_Mouse **mouse, ARC_Input *input)
Definition mouse.c:12
-
void ARC_Mouse_UpdateButton(ARC_Mouse *mouse, uint8_t button, uint32_t *buttons, uint32_t mask)
Definition mouse.c:41
- - - -
-
- - - - - - diff --git a/doc/doxygen/html/d4/d5b/include_2arc_2graphics_2none_2window_8h.html b/doc/doxygen/html/d4/d5b/include_2arc_2graphics_2none_2window_8h.html deleted file mode 100644 index c71c38d..0000000 --- a/doc/doxygen/html/d4/d5b/include_2arc_2graphics_2none_2window_8h.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/none/window.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
window.h File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d4/d5b/include_2arc_2graphics_2none_2window_8h_source.html b/doc/doxygen/html/d4/d5b/include_2arc_2graphics_2none_2window_8h_source.html deleted file mode 100644 index 57aaccf..0000000 --- a/doc/doxygen/html/d4/d5b/include_2arc_2graphics_2none_2window_8h_source.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/none/window.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
window.h
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_WINDOW
-
2
-
3#ifndef ARC_NONE_WINDOW_H_
-
4#define ARC_NONE_WINDOW_H_
-
5
-
6//#include "arc/graphics/window.h"
-
7
-
8//typedef void ARC_WindowType;
-
9
-
10#endif // !ARC_SDL_WINDOW_H_
-
11
-
12#endif // !ARC_NONE_WINDOW
-
-
- - - - - - diff --git a/doc/doxygen/html/d4/d5c/point_8c.html b/doc/doxygen/html/d4/d5c/point_8c.html deleted file mode 100644 index 53c2b81..0000000 --- a/doc/doxygen/html/d4/d5c/point_8c.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/math/point.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
point.c File Reference
-
-
-
#include "arc/math/point.h"
-
-

Go to the source code of this file.

- - - - -

-Functions

ARC_FPoint ARC_FPoint_Lerp (ARC_FPoint *start, ARC_FPoint *end, float t)
 
-

Function Documentation

- -

◆ ARC_FPoint_Lerp()

- -
-
- - - - - - - - - - - - - - - - -
ARC_FPoint ARC_FPoint_Lerp (ARC_FPoint * start,
ARC_FPoint * end,
float t )
-
- -

Definition at line 3 of file point.c.

-
3 {
-
4 return (ARC_FPoint){
-
5 (1.0f - t) * start->x + t * end->x,
-
6 (1.0f - t) * start->y + t * end->y
-
7 };
-
8}
- -
float x
Definition point.h:21
-
float y
Definition point.h:22
-
-

References ARC_FPoint::x, and ARC_FPoint::y.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d4/d5c/point_8c.js b/doc/doxygen/html/d4/d5c/point_8c.js deleted file mode 100644 index 393d56b..0000000 --- a/doc/doxygen/html/d4/d5c/point_8c.js +++ /dev/null @@ -1,4 +0,0 @@ -var point_8c = -[ - [ "ARC_FPoint_Lerp", "d4/d5c/point_8c.html#a3a31f7a5b50dea1ed1863b1ee0cb82c7", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d4/d5c/point_8c_source.html b/doc/doxygen/html/d4/d5c/point_8c_source.html deleted file mode 100644 index 8657f77..0000000 --- a/doc/doxygen/html/d4/d5c/point_8c_source.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/math/point.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
point.c
-
-
-Go to the documentation of this file.
1#include "arc/math/point.h"
-
2
-
- -
4 return (ARC_FPoint){
-
5 (1.0f - t) * start->x + t * end->x,
-
6 (1.0f - t) * start->y + t * end->y
-
7 };
-
8}
-
-
ARC_FPoint ARC_FPoint_Lerp(ARC_FPoint *start, ARC_FPoint *end, float t)
Definition point.c:3
- - -
float x
Definition point.h:21
-
float y
Definition point.h:22
-
-
- - - - - - diff --git a/doc/doxygen/html/d4/d6b/packages_2input_2sdl_2keyboard_8h.html b/doc/doxygen/html/d4/d6b/packages_2input_2sdl_2keyboard_8h.html deleted file mode 100644 index 99a3044..0000000 --- a/doc/doxygen/html/d4/d6b/packages_2input_2sdl_2keyboard_8h.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/input/sdl/keyboard.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
keyboard.h File Reference
-
-
-
#include "arc/input/keyboard.h"
-#include <SDL.h>
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_Keyboard
 
-
-
- - - - - - diff --git a/doc/doxygen/html/d4/d6b/packages_2input_2sdl_2keyboard_8h.js b/doc/doxygen/html/d4/d6b/packages_2input_2sdl_2keyboard_8h.js deleted file mode 100644 index 348c6e7..0000000 --- a/doc/doxygen/html/d4/d6b/packages_2input_2sdl_2keyboard_8h.js +++ /dev/null @@ -1,4 +0,0 @@ -var packages_2input_2sdl_2keyboard_8h = -[ - [ "ARC_Keyboard", "dc/ddf/structARC__Keyboard.html", "dc/ddf/structARC__Keyboard" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d4/d6b/packages_2input_2sdl_2keyboard_8h_source.html b/doc/doxygen/html/d4/d6b/packages_2input_2sdl_2keyboard_8h_source.html deleted file mode 100644 index 2d6e528..0000000 --- a/doc/doxygen/html/d4/d6b/packages_2input_2sdl_2keyboard_8h_source.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/input/sdl/keyboard.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
keyboard.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_SDL_KEYBOARD_H_
-
2#define ARC_SDL_KEYBOARD_H_
-
3
- -
5#include <SDL.h>
-
6
-
- -
8 SDL_Event *event;
-
9
- - -
12};
-
-
13
-
14#endif // !ARC_SDL_KEYBOARD_H_
- -
ARC_KeyboardState
Definition keyboard.h:19
- -
ARC_KeyboardState * keys
Definition keyboard.h:10
-
SDL_Event * event
Definition keyboard.h:8
-
ARC_KeyboardState * released
Definition keyboard.h:11
-
-
- - - - - - diff --git a/doc/doxygen/html/d4/d71/structARC__ParserCSVData.html b/doc/doxygen/html/d4/d71/structARC__ParserCSVData.html deleted file mode 100644 index debf798..0000000 --- a/doc/doxygen/html/d4/d71/structARC__ParserCSVData.html +++ /dev/null @@ -1,238 +0,0 @@ - - - - - - - - -Archeus: ARC_ParserCSVData Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_ParserCSVData Struct Reference
-
-
- -

defines a csv data type, data is set by the callback passed in when createing a parserCSV as parser - More...

- -

#include <csv.h>

- - - - - - - - - - - - -

-Data Fields

ARC_Bool hasHeader
 
ARC_String ** headers
 
uint32_t width
 
uint32_t height
 
void *** data
 
-

Detailed Description

-

defines a csv data type, data is set by the callback passed in when createing a parserCSV as parser

-
Note
this data can be retieved after parsing by calling get data, check arc/std/parser.h for more information
- -

Definition at line 44 of file csv.h.

-

Field Documentation

- -

◆ data

- -
-
- - - - -
void*** ARC_ParserCSVData::data
-
- -

Definition at line 50 of file csv.h.

- -
-
- -

◆ hasHeader

- -
-
- - - - -
ARC_Bool ARC_ParserCSVData::hasHeader
-
- -

Definition at line 45 of file csv.h.

- -
-
- -

◆ headers

- -
-
- - - - -
ARC_String** ARC_ParserCSVData::headers
-
- -

Definition at line 46 of file csv.h.

- -
-
- -

◆ height

- -
-
- - - - -
uint32_t ARC_ParserCSVData::height
-
- -

Definition at line 49 of file csv.h.

- -
-
- -

◆ width

- -
-
- - - - -
uint32_t ARC_ParserCSVData::width
-
- -

Definition at line 48 of file csv.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/include/arc/std/parser/csv.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d4/d71/structARC__ParserCSVData.js b/doc/doxygen/html/d4/d71/structARC__ParserCSVData.js deleted file mode 100644 index a4a6316..0000000 --- a/doc/doxygen/html/d4/d71/structARC__ParserCSVData.js +++ /dev/null @@ -1,8 +0,0 @@ -var structARC__ParserCSVData = -[ - [ "data", "d4/d71/structARC__ParserCSVData.html#a9ce22b09eeb2a6f9f393092080ca5dc5", null ], - [ "hasHeader", "d4/d71/structARC__ParserCSVData.html#ad684db35a35f08444d2b90ce5623b9d4", null ], - [ "headers", "d4/d71/structARC__ParserCSVData.html#aa1535c7396d2e10756f6b16fc82deb0a", null ], - [ "height", "d4/d71/structARC__ParserCSVData.html#a007d18ed02286f4caa9e08212c58383a", null ], - [ "width", "d4/d71/structARC__ParserCSVData.html#a4daa960ac2ea59587ed086800e015833", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d4/d93/structARC__Input.html b/doc/doxygen/html/d4/d93/structARC__Input.html deleted file mode 100644 index 30c08a5..0000000 --- a/doc/doxygen/html/d4/d93/structARC__Input.html +++ /dev/null @@ -1,203 +0,0 @@ - - - - - - - - -Archeus: ARC_Input Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_Input Struct Reference
-
-
- -

#include <input.h>

- - - - - - - - -

-Data Fields

ARC_Keyboardkeyboard
 
ARC_Mousemouse
 
SDL_Event * event
 
-

Detailed Description

-
-

Definition at line 8 of file input.h.

-

Field Documentation

- -

◆ event

- -
-
- - - - -
SDL_Event* ARC_Input::event
-
-
- -

◆ keyboard

- -
-
- - - - -
ARC_Keyboard* ARC_Input::keyboard
-
- -

Definition at line 9 of file input.h.

- -

Referenced by ARC_Input_Destroy(), ARC_Input_GetKeyboard(), and ARC_Input_Update().

- -
-
- -

◆ mouse

- -
-
- - - - -
ARC_Mouse* ARC_Input::mouse
-
- -

Definition at line 10 of file input.h.

- -

Referenced by ARC_Input_Destroy(), ARC_Input_GetMouse(), and ARC_Input_Update().

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/packages/input/sdl/input.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d4/d93/structARC__Input.js b/doc/doxygen/html/d4/d93/structARC__Input.js deleted file mode 100644 index e920579..0000000 --- a/doc/doxygen/html/d4/d93/structARC__Input.js +++ /dev/null @@ -1,6 +0,0 @@ -var structARC__Input = -[ - [ "event", "d4/d93/structARC__Input.html#a03ef05821d37d0e98428523cb7cf668d", null ], - [ "keyboard", "d4/d93/structARC__Input.html#a20f1ea176faec4fdc846a4b9a0e0eed0", null ], - [ "mouse", "d4/d93/structARC__Input.html#a3536aefd2ab12d1bbc0bdfd3a5614199", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d4/da4/structARC__FPoint.html b/doc/doxygen/html/d4/da4/structARC__FPoint.html deleted file mode 100644 index a83a5f0..0000000 --- a/doc/doxygen/html/d4/da4/structARC__FPoint.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - -Archeus: ARC_FPoint Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_FPoint Struct Reference
-
-
- -

#include <point.h>

- - - - - - -

-Data Fields

float x
 
float y
 
-

Detailed Description

-
-

Definition at line 20 of file point.h.

-

Field Documentation

- -

◆ x

- -
-
- - - - -
float ARC_FPoint::x
-
- -

Definition at line 21 of file point.h.

- -
-
- -

◆ y

- -
-
- - - - -
float ARC_FPoint::y
-
- -

Definition at line 22 of file point.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/include/arc/math/point.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d4/da4/structARC__FPoint.js b/doc/doxygen/html/d4/da4/structARC__FPoint.js deleted file mode 100644 index 88358f2..0000000 --- a/doc/doxygen/html/d4/da4/structARC__FPoint.js +++ /dev/null @@ -1,5 +0,0 @@ -var structARC__FPoint = -[ - [ "x", "d4/da4/structARC__FPoint.html#a836abc2e9de68f4b19f9a472f4f2c8e8", null ], - [ "y", "d4/da4/structARC__FPoint.html#ac39348367f4d08419e2893a574d92dde", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d4/db2/archeus__std_8dir_2src_2graphics_2config_8c_8o_8d.html b/doc/doxygen/html/d4/db2/archeus__std_8dir_2src_2graphics_2config_8c_8o_8d.html deleted file mode 100644 index 90b36a4..0000000 --- a/doc/doxygen/html/d4/db2/archeus__std_8dir_2src_2graphics_2config_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/graphics/config.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d4/db2/archeus__std_8dir_2src_2graphics_2config_8c_8o_8d_source.html b/doc/doxygen/html/d4/db2/archeus__std_8dir_2src_2graphics_2config_8c_8o_8d_source.html deleted file mode 100644 index e606f84..0000000 --- a/doc/doxygen/html/d4/db2/archeus__std_8dir_2src_2graphics_2config_8c_8o_8d_source.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/graphics/config.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/graphics/config.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/graphics/config.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/graphics/config.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/std/config.h \
-
6 /home/herbglitch/programs/archeus/arc/include/arc/std/hashtable.h \
-
7 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
8 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
9 /usr/include/features.h /usr/include/features-time64.h \
-
10 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
11 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
12 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
13 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
14 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
15 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
16 /usr/include/bits/stdint-least.h \
-
17 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
21 /home/herbglitch/programs/archeus/arc/include/arc/std/defaults/config.h \
-
22 /home/herbglitch/programs/archeus/arc/include/arc/graphics/renderer.h \
-
23 /usr/include/stdio.h \
-
24 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
25 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
26 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
27 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
28 /usr/include/bits/types/cookie_io_functions_t.h \
-
29 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
30 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d4/db5/tests_2std_2chemical_8c.html b/doc/doxygen/html/d4/db5/tests_2std_2chemical_8c.html deleted file mode 100644 index b5f284c..0000000 --- a/doc/doxygen/html/d4/db5/tests_2std_2chemical_8c.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/tests/std/chemical.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
chemical.c File Reference
-
-
-
#include "../test.h"
-#include "arc/std/errno.h"
-#include "arc/std/chemical.h"
-
-

Go to the source code of this file.

- - - - -

-Functions

 ARC_TEST (Chemical_BasicTest)
 
-

Function Documentation

- -

◆ ARC_TEST()

- -
-
- - - - - - - -
ARC_TEST (Chemical_BasicTest )
-
- -

Definition at line 7 of file chemical.c.

-
7 {
-
8 ARC_Chemical *chemical;
-
9 ARC_Chemical_Create(&chemical);
-
10
-
11
-
12 //cleanup
-
13 ARC_Chemical_Destroy(chemical);
-
14}
-
void ARC_Chemical_Create(ARC_Chemical **chemical)
TODO: write this.
Definition chemical.c:36
-
void ARC_Chemical_Destroy(ARC_Chemical *chemical)
TODO: write this.
Definition chemical.c:76
- -
-

References ARC_Chemical_Create(), and ARC_Chemical_Destroy().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d4/db5/tests_2std_2chemical_8c.js b/doc/doxygen/html/d4/db5/tests_2std_2chemical_8c.js deleted file mode 100644 index afbcf8a..0000000 --- a/doc/doxygen/html/d4/db5/tests_2std_2chemical_8c.js +++ /dev/null @@ -1,4 +0,0 @@ -var tests_2std_2chemical_8c = -[ - [ "ARC_TEST", "d4/db5/tests_2std_2chemical_8c.html#a4b61dff4da7687b01700ba2a9838f590", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d4/db5/tests_2std_2chemical_8c_source.html b/doc/doxygen/html/d4/db5/tests_2std_2chemical_8c_source.html deleted file mode 100644 index 08d3854..0000000 --- a/doc/doxygen/html/d4/db5/tests_2std_2chemical_8c_source.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/tests/std/chemical.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
chemical.c
-
-
-Go to the documentation of this file.
1#include "../test.h"
-
2#include "arc/std/errno.h"
-
3#include "arc/std/chemical.h"
-
4//#include <stdlib.h>
-
5
-
6
-
-
7ARC_TEST(Chemical_BasicTest){
-
8 ARC_Chemical *chemical;
-
9 ARC_Chemical_Create(&chemical);
-
10
-
11
-
12 //cleanup
-
13 ARC_Chemical_Destroy(chemical);
-
14}
-
- - -
void ARC_Chemical_Create(ARC_Chemical **chemical)
TODO: write this.
Definition chemical.c:36
-
void ARC_Chemical_Destroy(ARC_Chemical *chemical)
TODO: write this.
Definition chemical.c:76
- - -
#define ARC_TEST(MESSAGE)
Definition test.h:31
-
-
- - - - - - diff --git a/doc/doxygen/html/d4/dfe/element_8h.html b/doc/doxygen/html/d4/dfe/element_8h.html deleted file mode 100644 index cffb2c5..0000000 --- a/doc/doxygen/html/d4/dfe/element_8h.html +++ /dev/null @@ -1,406 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/console/element.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
element.h File Reference
-
-
-
#include <stdint.h>
-#include "view.h"
-#include "arc/std/string.h"
-#include "arc/std/bool.h"
-#include "arc/math/point.h"
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_ConsoleElement
 
- - - - - - - -

-Macros

#define ARC_CONSOLE_ELEMENT_FLAG_NONE   0b00000000
 
#define ARC_CONSOLE_ELEMENT_FLAG_SELECTABLE   0b00000001
 
#define ARC_CONSOLE_ELEMENT_FLAG_SELECTED   0b00000010
 
- - - - - -

-Typedefs

typedef struct ARC_ConsoleElement ARC_ConsoleElement
 
typedef void(* ARC_ConsoleElement_RenderFn) (ARC_ConsoleView *view, ARC_ConsoleElement *element)
 
- - - - - - - - - - - - - -

-Functions

void ARC_ConsoleElement_Create (ARC_ConsoleElement **element, uint32_t type, uint8_t flags, ARC_String *string, ARC_Point pos, ARC_ConsoleElement_RenderFn renderFn)
 
void ARC_ConsoleElement_Destroy (ARC_ConsoleElement *element)
 
void ARC_ConsoleElement_DefaultRenderFn (ARC_ConsoleView *view, ARC_ConsoleElement *element)
 
ARC_Bool ARC_ConsoleElement_IsSelectable (ARC_ConsoleElement *element)
 
void ARC_ConsoleElement_SetSelected (ARC_ConsoleElement *element, ARC_Bool selected)
 
void ARC_ConsoleElement_ToggleSelected (ARC_ConsoleElement *element)
 
-

Macro Definition Documentation

- -

◆ ARC_CONSOLE_ELEMENT_FLAG_NONE

- -
-
- - - - -
#define ARC_CONSOLE_ELEMENT_FLAG_NONE   0b00000000
-
- -

Definition at line 40 of file element.h.

- -
-
- -

◆ ARC_CONSOLE_ELEMENT_FLAG_SELECTABLE

- -
-
- - - - -
#define ARC_CONSOLE_ELEMENT_FLAG_SELECTABLE   0b00000001
-
- -

Definition at line 41 of file element.h.

- -
-
- -

◆ ARC_CONSOLE_ELEMENT_FLAG_SELECTED

- -
-
- - - - -
#define ARC_CONSOLE_ELEMENT_FLAG_SELECTED   0b00000010
-
- -

Definition at line 42 of file element.h.

- -
-
-

Typedef Documentation

- -

◆ ARC_ConsoleElement

- -
-
- - - - -
typedef struct ARC_ConsoleElement ARC_ConsoleElement
-
- -

Definition at line 17 of file element.h.

- -
-
- -

◆ ARC_ConsoleElement_RenderFn

- -
-
- - - - -
typedef void(* ARC_ConsoleElement_RenderFn) (ARC_ConsoleView *view, ARC_ConsoleElement *element)
-
- -

Definition at line 22 of file element.h.

- -
-
-

Function Documentation

- -

◆ ARC_ConsoleElement_Create()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void ARC_ConsoleElement_Create (ARC_ConsoleElement ** element,
uint32_t type,
uint8_t flags,
ARC_String * string,
ARC_Point pos,
ARC_ConsoleElement_RenderFn renderFn )
-
- -
-
- -

◆ ARC_ConsoleElement_DefaultRenderFn()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleElement_DefaultRenderFn (ARC_ConsoleView * view,
ARC_ConsoleElement * element )
-
- -
-
- -

◆ ARC_ConsoleElement_Destroy()

- -
-
- - - - - - - -
void ARC_ConsoleElement_Destroy (ARC_ConsoleElement * element)
-
- -
-
- -

◆ ARC_ConsoleElement_IsSelectable()

- -
-
- - - - - - - -
ARC_Bool ARC_ConsoleElement_IsSelectable (ARC_ConsoleElement * element)
-
-
Parameters
- - -
-
-
- -
-
- -

◆ ARC_ConsoleElement_SetSelected()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleElement_SetSelected (ARC_ConsoleElement * element,
ARC_Bool selected )
-
-
Parameters
- - -
-
-
- -
-
- -

◆ ARC_ConsoleElement_ToggleSelected()

- -
-
- - - - - - - -
void ARC_ConsoleElement_ToggleSelected (ARC_ConsoleElement * element)
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d4/dfe/element_8h.js b/doc/doxygen/html/d4/dfe/element_8h.js deleted file mode 100644 index 5eac9ee..0000000 --- a/doc/doxygen/html/d4/dfe/element_8h.js +++ /dev/null @@ -1,15 +0,0 @@ -var element_8h = -[ - [ "ARC_ConsoleElement", "db/db4/structARC__ConsoleElement.html", "db/db4/structARC__ConsoleElement" ], - [ "ARC_CONSOLE_ELEMENT_FLAG_NONE", "d4/dfe/element_8h.html#a1dd59e621144efa0ceedcbdc5693072f", null ], - [ "ARC_CONSOLE_ELEMENT_FLAG_SELECTABLE", "d4/dfe/element_8h.html#a32cf977a950aaf64832f72909f281349", null ], - [ "ARC_CONSOLE_ELEMENT_FLAG_SELECTED", "d4/dfe/element_8h.html#a2a3192b1bac0000e7085c77338d7eac1", null ], - [ "ARC_ConsoleElement", "d4/dfe/element_8h.html#a4c2b6606fd5c153d31d7c8ebf4a51720", null ], - [ "ARC_ConsoleElement_RenderFn", "d4/dfe/element_8h.html#a9f1c38e9e2cabde2f381299035ba278a", null ], - [ "ARC_ConsoleElement_Create", "d4/dfe/element_8h.html#a9ee2f85f16536e390d63c66758ca8461", null ], - [ "ARC_ConsoleElement_DefaultRenderFn", "d4/dfe/element_8h.html#a09963be501557ec748f95322c5379356", null ], - [ "ARC_ConsoleElement_Destroy", "d4/dfe/element_8h.html#aaee680d3e44ab90347d95930ff405db4", null ], - [ "ARC_ConsoleElement_IsSelectable", "d4/dfe/element_8h.html#a939ae41406b604e86cf042efd01234c6", null ], - [ "ARC_ConsoleElement_SetSelected", "d4/dfe/element_8h.html#a86b31406373b19febf7079a001351c9a", null ], - [ "ARC_ConsoleElement_ToggleSelected", "d4/dfe/element_8h.html#aa0d0ddf2b0d0b46d145e2a8d3553ce01", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d4/dfe/element_8h_source.html b/doc/doxygen/html/d4/dfe/element_8h_source.html deleted file mode 100644 index 9f4cf5b..0000000 --- a/doc/doxygen/html/d4/dfe/element_8h_source.html +++ /dev/null @@ -1,230 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/console/element.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
element.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_NCURSES_ELEMENT_H_
-
2#define ARC_NCURSES_ELEMENT_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include <stdint.h>
-
9#include "view.h"
-
10#include "arc/std/string.h"
-
11#include "arc/std/bool.h"
-
12#include "arc/math/point.h"
-
13
-
14/**
-
15 * @brief
-
16*/
- -
18
-
19/**
-
20 * @brief
-
21*/
- -
23
-
24/**
-
25 * @brief
-
26*/
- -
36
-
37/**
-
38 * @brief
-
39*/
-
40#define ARC_CONSOLE_ELEMENT_FLAG_NONE 0b00000000
-
41#define ARC_CONSOLE_ELEMENT_FLAG_SELECTABLE 0b00000001
-
42#define ARC_CONSOLE_ELEMENT_FLAG_SELECTED 0b00000010
-
43
-
44/**
-
45 * @brief
-
46*/
-
47void ARC_ConsoleElement_Create(ARC_ConsoleElement **element, uint32_t type, uint8_t flags, ARC_String *string, ARC_Point pos, ARC_ConsoleElement_RenderFn renderFn);
-
48
-
49/**
-
50 * @brief
-
51*/
- -
53
-
54/**
-
55 * @brief
-
56*/
- -
58
-
59/**
-
60 * @brief
-
61 *
-
62 * @param
-
63*/
- -
65
-
66/**
-
67 * @brief
-
68 *
-
69 * @param
-
70*/
- -
72
-
73/**
-
74 * @brief
-
75*/
- -
77
-
78#endif //!ARC_CONSOLE_ELEMENT_H_
- -
#define ARC_Bool
Definition bool.h:10
- -
struct ARC_ConsoleView ARC_ConsoleView
Definition view.h:18
-
void ARC_ConsoleElement_DefaultRenderFn(ARC_ConsoleView *view, ARC_ConsoleElement *element)
-
struct ARC_ConsoleElement ARC_ConsoleElement
Definition element.h:17
-
void ARC_ConsoleElement_SetSelected(ARC_ConsoleElement *element, ARC_Bool selected)
-
ARC_Bool ARC_ConsoleElement_IsSelectable(ARC_ConsoleElement *element)
-
void ARC_ConsoleElement_Create(ARC_ConsoleElement **element, uint32_t type, uint8_t flags, ARC_String *string, ARC_Point pos, ARC_ConsoleElement_RenderFn renderFn)
-
void(* ARC_ConsoleElement_RenderFn)(ARC_ConsoleView *view, ARC_ConsoleElement *element)
Definition element.h:22
-
void ARC_ConsoleElement_ToggleSelected(ARC_ConsoleElement *element)
-
void ARC_ConsoleElement_Destroy(ARC_ConsoleElement *element)
- - - -
uint32_t type
Definition element.h:28
-
ARC_ConsoleElement_RenderFn renderFn
Definition element.h:34
-
ARC_String * string
Definition element.h:30
-
ARC_Point pos
Definition element.h:32
- - -
substring position within a string
Definition string.h:14
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/d03/include_2arc_2graphics_2window_8h.html b/doc/doxygen/html/d5/d03/include_2arc_2graphics_2window_8h.html deleted file mode 100644 index 5519a70..0000000 --- a/doc/doxygen/html/d5/d03/include_2arc_2graphics_2window_8h.html +++ /dev/null @@ -1,284 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/window.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
window.h File Reference
-
-
-
#include <stdint.h>
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_WindowInfo
 
- - - - - -

-Typedefs

typedef struct ARC_WindowType ARC_Window
 
typedef struct ARC_WindowInfo ARC_WindowInfo
 
- - - - - - - -

-Functions

void ARC_Window_Create (ARC_Window **window, ARC_WindowInfo *info)
 creates ARC_Window type
 
void ARC_Window_Destroy (ARC_Window *window)
 destroys ARC_Window type
 
-

Typedef Documentation

- -

◆ ARC_Window

- -
-
- - - - -
typedef struct ARC_WindowType ARC_Window
-
-
Note
ARC_WindowType is determined by which window backend you are using
- -

Definition at line 13 of file window.h.

- -
-
- -

◆ ARC_WindowInfo

- -
-
- - - - -
typedef struct ARC_WindowInfo ARC_WindowInfo
-
-
Note
certain parts of ARC_WindowInfo may not be used by your selected backend
- -
-
-

Function Documentation

- -

◆ ARC_Window_Create()

- -
-
- - - - - - - - - - - -
void ARC_Window_Create (ARC_Window ** window,
ARC_WindowInfo * info )
-
- -

creates ARC_Window type

-
Note
the parameter data is determined by which graphics library you are using please refer to the graphics library section to see what needs to be passed
-
Parameters
- - - -
windowARC_Window to initialize
infoInfo on how to create ARC_Window
-
-
- -

Definition at line 7 of file window.c.

-
7 {
-
8 if(!info){
- -
10 ARC_DEBUG_LOG_ERROR("ARC_Window_Create(**window, NULL)");
-
11 return;
-
12 }
-
13
-
14 if(SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO) < 0){
- -
16 printf("Error: initializing SDL\nSDL Error: %s\n", SDL_GetError());
-
17 return;
-
18 }
-
19
-
20 *window = (ARC_Window *)SDL_CreateWindow((const char *)info->title, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, info->w, info->h, 0);
-
21
-
22 if(!*window){
- -
24 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("SDL_CreateWindow(%s, %d, %d, %d, %d, %x);", info->title, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, info->w, info->h, 0);
-
25 free(window);
-
26 }
-
27}
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_INIT
Definition errno.h:11
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
struct ARC_WindowType ARC_Window
Definition window.h:13
-
int32_t h
Definition window.h:21
-
char * title
Definition window.h:19
-
int32_t w
Definition window.h:20
-
-

References ARC_DEBUG_LOG_ERROR, ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_INIT, ARC_ERRNO_NULL, ARC_WindowInfo::h, ARC_WindowInfo::title, and ARC_WindowInfo::w.

- -

Referenced by ARC_EngineData_Create().

- -
-
- -

◆ ARC_Window_Destroy()

- -
-
- - - - - - - -
void ARC_Window_Destroy (ARC_Window * window)
-
- -

destroys ARC_Window type

- -

Definition at line 29 of file window.c.

-
29 {
-
30 SDL_DestroyWindow((SDL_Window *) window);
-
31}
-
-

Referenced by ARC_EngineData_Create(), and ARC_EngineData_Destroy().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/d03/include_2arc_2graphics_2window_8h.js b/doc/doxygen/html/d5/d03/include_2arc_2graphics_2window_8h.js deleted file mode 100644 index de38d3b..0000000 --- a/doc/doxygen/html/d5/d03/include_2arc_2graphics_2window_8h.js +++ /dev/null @@ -1,8 +0,0 @@ -var include_2arc_2graphics_2window_8h = -[ - [ "ARC_WindowInfo", "d1/d1a/structARC__WindowInfo.html", "d1/d1a/structARC__WindowInfo" ], - [ "ARC_Window", "d5/d03/include_2arc_2graphics_2window_8h.html#a306a4335069399f41073b7cc14ab7c38", null ], - [ "ARC_WindowInfo", "d5/d03/include_2arc_2graphics_2window_8h.html#ad9c970ff3c2c05f887c89e5f112e997f", null ], - [ "ARC_Window_Create", "d5/d03/include_2arc_2graphics_2window_8h.html#ac2943b39d2140ae27cd98d362053f27c", null ], - [ "ARC_Window_Destroy", "d5/d03/include_2arc_2graphics_2window_8h.html#afb68d49b50117b8cec312c7a5999c1a6", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d5/d03/include_2arc_2graphics_2window_8h_source.html b/doc/doxygen/html/d5/d03/include_2arc_2graphics_2window_8h_source.html deleted file mode 100644 index 2647b9a..0000000 --- a/doc/doxygen/html/d5/d03/include_2arc_2graphics_2window_8h_source.html +++ /dev/null @@ -1,183 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/window.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
window.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_GRAPHICS_WINDOW_H_
-
2#define ARC_GRAPHICS_WINDOW_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include <stdint.h>
-
9
-
10/**
-
11 * @note ARC_WindowType is determined by which window backend you are using
-
12*/
- -
14
-
15/**
-
16 * @note certain parts of ARC_WindowInfo may not be used by your selected backend
-
17*/
-
-
18typedef struct ARC_WindowInfo {
-
19 char *title;
-
20 int32_t w;
-
21 int32_t h;
- -
-
23
-
24/**
-
25 * @brief creates ARC_Window type
-
26 *
-
27 * @note the parameter data is determined by which graphics library you are using
-
28 * please refer to the graphics library section to see what needs to be passed
-
29 *
-
30 * @param window ARC_Window to initialize
-
31 * @param info Info on how to create ARC_Window
-
32 */
-
33void ARC_Window_Create(ARC_Window **window, ARC_WindowInfo *info);
-
34
-
35/**
-
36 * @brief destroys ARC_Window type
-
37 */
-
38void ARC_Window_Destroy(ARC_Window *window);
-
39
-
40#ifdef __cplusplus
-
41}
-
42#endif
-
43
-
44#endif // !ARC_GRAPHICS_WINDOW_H_
-
struct ARC_WindowType ARC_Window
Definition window.h:13
-
void ARC_Window_Create(ARC_Window **window, ARC_WindowInfo *info)
creates ARC_Window type
Definition window.c:7
-
struct ARC_WindowInfo ARC_WindowInfo
-
void ARC_Window_Destroy(ARC_Window *window)
destroys ARC_Window type
Definition window.c:29
-
SDL_Window ARC_WindowType
Definition window.h:7
- -
int32_t h
Definition window.h:21
-
char * title
Definition window.h:19
-
int32_t w
Definition window.h:20
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/d07/graphics_2config_8c.html b/doc/doxygen/html/d5/d07/graphics_2config_8c.html deleted file mode 100644 index 8789e8a..0000000 --- a/doc/doxygen/html/d5/d07/graphics_2config_8c.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/config.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
config.c File Reference
-
- - - -
- - diff --git a/doc/doxygen/html/d5/d07/graphics_2config_8c_source.html b/doc/doxygen/html/d5/d07/graphics_2config_8c_source.html deleted file mode 100644 index cec6b99..0000000 --- a/doc/doxygen/html/d5/d07/graphics_2config_8c_source.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/config.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
config.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_GRAPHICS
-
2
- -
4#include <stdio.h>
-
5
-
6void ARC_GraphicsConfig_Init(ARC_Config *config, ARC_Renderer *renderer){
-
7 printf("No Graphics Backend Selected\n");
-
8}
-
9
-
10#endif //ARC_NONE_GRAPHICS
- -
void ARC_GraphicsConfig_Init(ARC_Config *config, ARC_Renderer *renderer)
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- -
- - -
- - diff --git a/doc/doxygen/html/d5/d08/buffer_8h.html b/doc/doxygen/html/d5/d08/buffer_8h.html deleted file mode 100644 index 20899dd..0000000 --- a/doc/doxygen/html/d5/d08/buffer_8h.html +++ /dev/null @@ -1,492 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/console/buffer.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
buffer.h File Reference
-
-
-
#include <stdint.h>
-#include "arc/console/view.h"
-#include "arc/std/string.h"
-
-

Go to the source code of this file.

- - - - -

-Typedefs

typedef struct ARC_ConsoleBuffer ARC_ConsoleBuffer
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_ConsoleBuffer_Create (ARC_ConsoleBuffer **buffer)
 creates ARC_ConsoleBuffer type
 
void ARC_ConsoleBuffer_Destroy (ARC_ConsoleBuffer *buffer)
 destroys ARC_ConsoleBuffer type
 
void ARC_ConsoleBuffer_Clear (ARC_ConsoleBuffer *buffer)
 clears the contents of a ARC_ConsoleBuffer
 
void ARC_ConsoleBuffer_Render (ARC_ConsoleBuffer *buffer, ARC_ConsoleView *view)
 renders a buffer to a ARC_ConsoleView
 
void ARC_ConsoleBuffer_RenderSection (ARC_ConsoleBuffer *buffer, ARC_ConsoleView *view, uint32_t startIndex, uint32_t lines)
 renders a section of buffer to a ARC_ConsoleView
 
void ARC_ConsoleBuffer_AddChar (ARC_ConsoleBuffer *buffer, char character)
 adds a character to the buffer
 
void ARC_ConsoleBuffer_AddString (ARC_ConsoleBuffer *buffer, ARC_String *string)
 adds an ARC_String to the buffer
 
void ARC_ConsoleBuffer_AddCString (ARC_ConsoleBuffer *buffer, char *cstring, uint64_t length)
 adds a cstring to the buffer
 
void ARC_ConsoleBuffer_AddCStringWithStrlen (ARC_ConsoleBuffer *buffer, char *cstring)
 adds a cstring to the buffer with the cstrings string length
 
uint32_t ARC_ConsoleBuffer_GetLineNumbers (ARC_ConsoleBuffer *buffer)
 gets the number of lines from a console line buffer
 
-

Typedef Documentation

- -

◆ ARC_ConsoleBuffer

- -
-
- - - - -
typedef struct ARC_ConsoleBuffer ARC_ConsoleBuffer
-
- -

Definition at line 15 of file buffer.h.

- -
-
-

Function Documentation

- -

◆ ARC_ConsoleBuffer_AddChar()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleBuffer_AddChar (ARC_ConsoleBuffer * buffer,
char character )
-
- -

adds a character to the buffer

-
Parameters
- - - -
bufferARC_ConsoleBuffer to add character to
characterchar to add to ARC_ConsoleBuffer
-
-
- -
-
- -

◆ ARC_ConsoleBuffer_AddCString()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConsoleBuffer_AddCString (ARC_ConsoleBuffer * buffer,
char * cstring,
uint64_t length )
-
- -

adds a cstring to the buffer

-
Parameters
- - - - -
bufferARC_ConsoleBuffer to add character to
stringcstring to add to ARC_ConsoleBuffer
lengththe length of the c string to add
-
-
- -
-
- -

◆ ARC_ConsoleBuffer_AddCStringWithStrlen()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleBuffer_AddCStringWithStrlen (ARC_ConsoleBuffer * buffer,
char * cstring )
-
- -

adds a cstring to the buffer with the cstrings string length

-
Parameters
- - - -
bufferARC_ConsoleBuffer to add character to
stringcstring to add to ARC_ConsoleBuffer
-
-
- -
-
- -

◆ ARC_ConsoleBuffer_AddString()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleBuffer_AddString (ARC_ConsoleBuffer * buffer,
ARC_String * string )
-
- -

adds an ARC_String to the buffer

-
Parameters
- - - -
bufferARC_ConsoleBuffer to add character to
stringARC_String to add to ARC_ConsoleBuffer
-
-
- -
-
- -

◆ ARC_ConsoleBuffer_Clear()

- -
-
- - - - - - - -
void ARC_ConsoleBuffer_Clear (ARC_ConsoleBuffer * buffer)
-
- -

clears the contents of a ARC_ConsoleBuffer

-
Parameters
- - -
bufferARC_ConsoleBuffer to clear
-
-
- -
-
- -

◆ ARC_ConsoleBuffer_Create()

- -
-
- - - - - - - -
void ARC_ConsoleBuffer_Create (ARC_ConsoleBuffer ** buffer)
-
- -

creates ARC_ConsoleBuffer type

-
Parameters
- - -
bufferARC_ConsoleBuffer to create
-
-
- -
-
- -

◆ ARC_ConsoleBuffer_Destroy()

- -
-
- - - - - - - -
void ARC_ConsoleBuffer_Destroy (ARC_ConsoleBuffer * buffer)
-
- -

destroys ARC_ConsoleBuffer type

-
Parameters
- - -
bufferARC_ConsoleBuffer to destroy
-
-
- -
-
- -

◆ ARC_ConsoleBuffer_GetLineNumbers()

- -
-
- - - - - - - -
uint32_t ARC_ConsoleBuffer_GetLineNumbers (ARC_ConsoleBuffer * buffer)
-
- -

gets the number of lines from a console line buffer

-
Parameters
- - -
bufferARC_ConsoleBuffer get number of lines from
-
-
-
Returns
the number of lines within an ARC_ConsoleBuffer
- -
-
- -

◆ ARC_ConsoleBuffer_Render()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleBuffer_Render (ARC_ConsoleBuffer * buffer,
ARC_ConsoleView * view )
-
- -

renders a buffer to a ARC_ConsoleView

-
Parameters
- - - -
bufferARC_ConsoleBuffer to render
viewARC_ConsoleView to render the buffer contents to
-
-
- -
-
- -

◆ ARC_ConsoleBuffer_RenderSection()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_ConsoleBuffer_RenderSection (ARC_ConsoleBuffer * buffer,
ARC_ConsoleView * view,
uint32_t startIndex,
uint32_t lines )
-
- -

renders a section of buffer to a ARC_ConsoleView

-
Parameters
- - - - - -
bufferARC_ConsoleBuffer to render
viewARC_ConsoleView to render the buffer contents to
startIndexstart index of buffer to render
linesthe number of lines of buffer to render
-
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/d08/buffer_8h.js b/doc/doxygen/html/d5/d08/buffer_8h.js deleted file mode 100644 index cfaea65..0000000 --- a/doc/doxygen/html/d5/d08/buffer_8h.js +++ /dev/null @@ -1,14 +0,0 @@ -var buffer_8h = -[ - [ "ARC_ConsoleBuffer", "d5/d08/buffer_8h.html#a04647685671d3c7dbb760fcd1413f7e6", null ], - [ "ARC_ConsoleBuffer_AddChar", "d5/d08/buffer_8h.html#a18ea5885eb623af1ad0bce81886a37ba", null ], - [ "ARC_ConsoleBuffer_AddCString", "d5/d08/buffer_8h.html#a87db4e45040059ec8452ae4ed4c9d93c", null ], - [ "ARC_ConsoleBuffer_AddCStringWithStrlen", "d5/d08/buffer_8h.html#a5c3fbf33ecfa1adae24ee628bccaf64e", null ], - [ "ARC_ConsoleBuffer_AddString", "d5/d08/buffer_8h.html#aa7c09f28e004665675ad529c457f0d19", null ], - [ "ARC_ConsoleBuffer_Clear", "d5/d08/buffer_8h.html#acdc2d574d3bb726cfaa27d8b5768d6f2", null ], - [ "ARC_ConsoleBuffer_Create", "d5/d08/buffer_8h.html#a724aa56dd933bc31502a971204467132", null ], - [ "ARC_ConsoleBuffer_Destroy", "d5/d08/buffer_8h.html#ab2a88c30d33e6d3120d98673fd6beec4", null ], - [ "ARC_ConsoleBuffer_GetLineNumbers", "d5/d08/buffer_8h.html#a590db008192631b4cfc9c53904687018", null ], - [ "ARC_ConsoleBuffer_Render", "d5/d08/buffer_8h.html#a46ebb41d45ba5aeafa12372f69539458", null ], - [ "ARC_ConsoleBuffer_RenderSection", "d5/d08/buffer_8h.html#a64f378c7d29c6166dcceb4fe90235f14", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d5/d08/buffer_8h_source.html b/doc/doxygen/html/d5/d08/buffer_8h_source.html deleted file mode 100644 index e745329..0000000 --- a/doc/doxygen/html/d5/d08/buffer_8h_source.html +++ /dev/null @@ -1,245 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/console/buffer.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
buffer.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_CONSOLE_LINE_BUFFER_H_
-
2#define ARC_CONSOLE_LINE_BUFFER_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include <stdint.h>
-
9#include "arc/console/view.h"
-
10#include "arc/std/string.h"
-
11
-
12/**
-
13 * @brief
-
14*/
- -
16
-
17/**
-
18 * @brief creates ARC_ConsoleBuffer type
-
19 *
-
20 * @param buffer ARC_ConsoleBuffer to create
-
21*/
- -
23
-
24/**
-
25 * @brief destroys ARC_ConsoleBuffer type
-
26 *
-
27 * @param buffer ARC_ConsoleBuffer to destroy
-
28*/
- -
30
-
31/**
-
32 * @brief clears the contents of a ARC_ConsoleBuffer
-
33 *
-
34 * @param buffer ARC_ConsoleBuffer to clear
-
35*/
- -
37
-
38/**
-
39 * @brief renders a buffer to a ARC_ConsoleView
-
40 *
-
41 * @param buffer ARC_ConsoleBuffer to render
-
42 * @param view ARC_ConsoleView to render the buffer contents to
-
43*/
- -
45
-
46/**
-
47 * @brief renders a section of buffer to a ARC_ConsoleView
-
48 *
-
49 * @param buffer ARC_ConsoleBuffer to render
-
50 * @param view ARC_ConsoleView to render the buffer contents to
-
51 * @param startIndex start index of buffer to render
-
52 * @param lines the number of lines of buffer to render
-
53*/
-
54void ARC_ConsoleBuffer_RenderSection(ARC_ConsoleBuffer *buffer, ARC_ConsoleView *view, uint32_t startIndex, uint32_t lines);
-
55
-
56/**
-
57 * @brief adds a character to the buffer
-
58 *
-
59 * @param buffer ARC_ConsoleBuffer to add character to
-
60 * @param character char to add to ARC_ConsoleBuffer
-
61*/
-
62void ARC_ConsoleBuffer_AddChar(ARC_ConsoleBuffer *buffer, char character);
-
63
-
64/**
-
65 * @brief adds an ARC_String to the buffer
-
66 *
-
67 * @param buffer ARC_ConsoleBuffer to add character to
-
68 * @param string ARC_String to add to ARC_ConsoleBuffer
-
69*/
- -
71
-
72/**
-
73 * @brief adds a cstring to the buffer
-
74 *
-
75 * @param buffer ARC_ConsoleBuffer to add character to
-
76 * @param string cstring to add to ARC_ConsoleBuffer
-
77 * @param length the length of the c string to add
-
78*/
-
79void ARC_ConsoleBuffer_AddCString(ARC_ConsoleBuffer *buffer, char *cstring, uint64_t length);
-
80
-
81/**
-
82 * @brief adds a cstring to the buffer with the cstrings string length
-
83 *
-
84 * @param buffer ARC_ConsoleBuffer to add character to
-
85 * @param string cstring to add to ARC_ConsoleBuffer
-
86*/
- -
88
-
89/**
-
90 * @brief gets the number of lines from a console line buffer
-
91 *
-
92 * @param buffer ARC_ConsoleBuffer get number of lines from
-
93 *
-
94 * @return the number of lines within an ARC_ConsoleBuffer
-
95*/
- -
97
-
98#ifdef __cplusplus
-
99}
-
100#endif
-
101
-
102#endif //!ARC_CONSOLE_LINE_BUFFER_H_
-
struct ARC_ConsoleBuffer ARC_ConsoleBuffer
Definition buffer.h:15
-
void ARC_ConsoleBuffer_AddChar(ARC_ConsoleBuffer *buffer, char character)
adds a character to the buffer
-
void ARC_ConsoleBuffer_Render(ARC_ConsoleBuffer *buffer, ARC_ConsoleView *view)
renders a buffer to a ARC_ConsoleView
-
uint32_t ARC_ConsoleBuffer_GetLineNumbers(ARC_ConsoleBuffer *buffer)
gets the number of lines from a console line buffer
-
void ARC_ConsoleBuffer_AddCStringWithStrlen(ARC_ConsoleBuffer *buffer, char *cstring)
adds a cstring to the buffer with the cstrings string length
-
void ARC_ConsoleBuffer_RenderSection(ARC_ConsoleBuffer *buffer, ARC_ConsoleView *view, uint32_t startIndex, uint32_t lines)
renders a section of buffer to a ARC_ConsoleView
-
void ARC_ConsoleBuffer_Create(ARC_ConsoleBuffer **buffer)
creates ARC_ConsoleBuffer type
-
void ARC_ConsoleBuffer_AddCString(ARC_ConsoleBuffer *buffer, char *cstring, uint64_t length)
adds a cstring to the buffer
-
void ARC_ConsoleBuffer_AddString(ARC_ConsoleBuffer *buffer, ARC_String *string)
adds an ARC_String to the buffer
-
void ARC_ConsoleBuffer_Destroy(ARC_ConsoleBuffer *buffer)
destroys ARC_ConsoleBuffer type
-
void ARC_ConsoleBuffer_Clear(ARC_ConsoleBuffer *buffer)
clears the contents of a ARC_ConsoleBuffer
- -
struct ARC_ConsoleView ARC_ConsoleView
Definition view.h:18
- -
substring position within a string
Definition string.h:14
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/d2a/packages_2graphics_2glfw_2window_8h.html b/doc/doxygen/html/d5/d2a/packages_2graphics_2glfw_2window_8h.html deleted file mode 100644 index 26b01fa..0000000 --- a/doc/doxygen/html/d5/d2a/packages_2graphics_2glfw_2window_8h.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/glfw/window.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
window.h File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d5/d2a/packages_2graphics_2glfw_2window_8h_source.html b/doc/doxygen/html/d5/d2a/packages_2graphics_2glfw_2window_8h_source.html deleted file mode 100644 index fab40ae..0000000 --- a/doc/doxygen/html/d5/d2a/packages_2graphics_2glfw_2window_8h_source.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/glfw/window.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
window.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_OPENGL_WINDOW_H_
-
2#define ARC_OPENGL_WINDOW_H_
-
3
-
4#ifdef ARC_GLFW_WINDOW
-
5
-
6#define GLEW_STATIC
-
7#include <GL/glew.h>
-
8
- -
10#include <GLFW/glfw3.h>
-
11
-
12typedef GLFWwindow ARC_WindowType;
-
13
-
14#endif // !ARC_GLFW_WINDOW
-
15
-
16#endif // !ARC_GLFW_WINDOW_H_
- -
SDL_Window ARC_WindowType
Definition window.h:7
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/d36/parser_8h.html b/doc/doxygen/html/d5/d36/parser_8h.html deleted file mode 100644 index 7d3cc83..0000000 --- a/doc/doxygen/html/d5/d36/parser_8h.html +++ /dev/null @@ -1,645 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/parser.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
parser.h File Reference
-
-
-
#include "arc/std/array.h"
-#include "arc/std/lexer.h"
-#include "arc/std/vector.h"
-#include <stdint.h>
-
-

Go to the source code of this file.

- - - - - - - - -

-Data Structures

struct  ARC_ParserTag
 a langue tag type for the parser //TODO: explain this better More...
 
struct  ARC_ParserTagToken
 a parser type used inside of the parser data create function More...
 
- - - - -

-Macros

#define ARC_PARSER_TAG_LAMBDA   0
 basic tag for letting the parser know it is ok to end
 
- - - - - - - - - - - - - - - - - - - - - - -

-Typedefs

typedef struct ARC_Parser ARC_Parser
 a parser type
 
typedef struct ARC_ParserTag ARC_ParserTag
 a langue tag type for the parser //TODO: explain this better
 
typedef struct ARC_ParserTagToken ARC_ParserTagToken
 a parser type used inside of the parser data create function
 
typedef void(* ARC_Parser_InitLexerRulesFn) (ARC_Lexer *lexer)
 a callback function to initialize the lexer the parser uses with rules
 
typedef uint32_t(* ARC_Parser_GetStringIdFn) (ARC_String *string)
 TODO: write this.
 
typedef void(* ARC_ParserData_CreateFn) (void **data, ARC_ParserTagToken *parsedData, void *userData)
 TODO: write this.
 
typedef void(* ARC_ParserData_DestroyFn) (void *data, ARC_Bool clear, void *userData)
 TODO: write this.
 
- - - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_Parser_Create (ARC_Parser **parser, ARC_Array *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
 creates an ARC_Parser type
 
void ARC_Parser_CreateFromVector (ARC_Parser **parser, ARC_Vector *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
 creates an ARC_Parser type from an arc vector
 
void ARC_Parser_CreateFromString (ARC_Parser **parser, ARC_String *languageString, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_Parser_GetStringIdFn getStringIdFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
 creates an ARC_Parser type from a string
 
void ARC_Parser_Destroy (ARC_Parser *parser)
 destroys an ARC_Parser type
 
void ARC_Parser_Parse (ARC_Parser *parser, ARC_String **data)
 
void ARC_Parser_ParseFile (ARC_Parser *parser, ARC_String *path)
 
void ARC_Parser_ClearData (ARC_Parser *parser)
 
void * ARC_Parser_GetData (ARC_Parser *parser)
 
-

Macro Definition Documentation

- -

◆ ARC_PARSER_TAG_LAMBDA

- -
-
- - - - -
#define ARC_PARSER_TAG_LAMBDA   0
-
- -

basic tag for letting the parser know it is ok to end

- -

Definition at line 150 of file parser.h.

- -
-
-

Typedef Documentation

- -

◆ ARC_Parser

- -
-
- - - - -
typedef struct ARC_Parser ARC_Parser
-
- -

a parser type

- -

Definition at line 16 of file parser.h.

- -
-
- -

◆ ARC_Parser_GetStringIdFn

- -
-
- - - - -
typedef uint32_t(* ARC_Parser_GetStringIdFn) (ARC_String *string)
-
- -

TODO: write this.

- -

Definition at line 52 of file parser.h.

- -
-
- -

◆ ARC_Parser_InitLexerRulesFn

- -
-
- - - - -
typedef void(* ARC_Parser_InitLexerRulesFn) (ARC_Lexer *lexer)
-
- -

a callback function to initialize the lexer the parser uses with rules

-
Parameters
- - -
lexerthe lexer used by the parser that rules should be added to
-
-
- -

Definition at line 47 of file parser.h.

- -
-
- -

◆ ARC_ParserData_CreateFn

- -
-
- - - - -
typedef void(* ARC_ParserData_CreateFn) (void **data, ARC_ParserTagToken *parsedData, void *userData)
-
- -

TODO: write this.

- -

Definition at line 57 of file parser.h.

- -
-
- -

◆ ARC_ParserData_DestroyFn

- -
-
- - - - -
typedef void(* ARC_ParserData_DestroyFn) (void *data, ARC_Bool clear, void *userData)
-
- -

TODO: write this.

- -

Definition at line 62 of file parser.h.

- -
-
- -

◆ ARC_ParserTag

- -
-
- - - - -
typedef struct ARC_ParserTag ARC_ParserTag
-
- -

a langue tag type for the parser //TODO: explain this better

- -
-
- -

◆ ARC_ParserTagToken

- -
-
- - - - -
typedef struct ARC_ParserTagToken ARC_ParserTagToken
-
- -

a parser type used inside of the parser data create function

-
Note
there are no public creation and destruction functions for this type as it is only ment to be used within the creation callback
-
-if the parser tag token is a token then tagTokens will be NULL
-
-if the parser tag token is a tag then token will be NULL
- -
-
-

Function Documentation

- -

◆ ARC_Parser_ClearData()

- -
-
- - - - - - - -
void ARC_Parser_ClearData (ARC_Parser * parser)
-
-
Parameters
- - -
[in]parser
-
-
- -
-
- -

◆ ARC_Parser_Create()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void ARC_Parser_Create (ARC_Parser ** parser,
ARC_Array * language,
ARC_Parser_InitLexerRulesFn initLexerRulesFn,
ARC_ParserData_CreateFn * createDataFn,
ARC_ParserData_DestroyFn * destroyDataFn,
void * userData )
-
- -

creates an ARC_Parser type

-

@TODO: fix this documentation to reflect changes

-

@TODO: probs want to move the note to another file

Note
array of tokens for langauge? like ARC_ParserTag tag = { VARIABLE_NAME, //tagId { { 2, CHAR_OR_NUM, VARIABLE_NAME }, { 1, LAMBDA }, }, //components 2 //componentsSize };
-
Parameters
- - - - -
[out]parserARC_Parser to create
[in]languagean arry of ARC_ParserLanguageTags defining a langauge
[in]initLexerRulesFna callback used to initalize the token rules the lexer within the parser will use
-
-
- -
-
- -

◆ ARC_Parser_CreateFromString()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void ARC_Parser_CreateFromString (ARC_Parser ** parser,
ARC_String * languageString,
ARC_Parser_InitLexerRulesFn initLexerRulesFn,
ARC_Parser_GetStringIdFn getStringIdFn,
ARC_ParserData_CreateFn * createDataFn,
ARC_ParserData_DestroyFn * destroyDataFn,
void * userData )
-
- -

creates an ARC_Parser type from a string

-

@TODO: probs want to move the note to another file

Note
the syntax looks like: <variable> -> CHAR <variableName> EOF <variableName> -> <charOrNum> <variableName> | LAMBDA <charOrNum> -> CHAR | NUM
-
Parameters
- - - - -
[out]parserARC_Parser to create
[in]languagean arry of ARC_ParserLanguageTags defining a langauge
[in]initLexerRulesFna callback used to initalize the token rules the lexer within the parser will use
-
-
- -
-
- -

◆ ARC_Parser_CreateFromVector()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void ARC_Parser_CreateFromVector (ARC_Parser ** parser,
ARC_Vector * language,
ARC_Parser_InitLexerRulesFn initLexerRulesFn,
ARC_ParserData_CreateFn * createDataFn,
ARC_ParserData_DestroyFn * destroyDataFn,
void * userData )
-
- -

creates an ARC_Parser type from an arc vector

-
Parameters
- - - - -
[out]parserARC_Parser to create
[in]languagean vector of ARC_ParserLanguageTags defining a langauge
[in]initLexerRulesFna callback used to initalize the token rules the lexer within the parser will use
-
-
- -
-
- -

◆ ARC_Parser_Destroy()

- -
-
- - - - - - - -
void ARC_Parser_Destroy (ARC_Parser * parser)
-
- -

destroys an ARC_Parser type

-
Parameters
- - -
[in]parserARC_Parser to free
-
-
- -
-
- -

◆ ARC_Parser_GetData()

- -
-
- - - - - - - -
void * ARC_Parser_GetData (ARC_Parser * parser)
-
-
Parameters
- - -
[in]parser
-
-
- -
-
- -

◆ ARC_Parser_Parse()

- -
-
- - - - - - - - - - - -
void ARC_Parser_Parse (ARC_Parser * parser,
ARC_String ** data )
-
-
Parameters
- - - -
[in]parser
[in/out]data the string to parse, will be freed and set to NULL by the end of this function
-
-
- -
-
- -

◆ ARC_Parser_ParseFile()

- -
-
- - - - - - - - - - - -
void ARC_Parser_ParseFile (ARC_Parser * parser,
ARC_String * path )
-
-
Parameters
- - - -
[in]parser
-
[in]language
-
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/d36/parser_8h.js b/doc/doxygen/html/d5/d36/parser_8h.js deleted file mode 100644 index d82e398..0000000 --- a/doc/doxygen/html/d5/d36/parser_8h.js +++ /dev/null @@ -1,21 +0,0 @@ -var parser_8h = -[ - [ "ARC_ParserTag", "d3/d0a/structARC__ParserTag.html", "d3/d0a/structARC__ParserTag" ], - [ "ARC_ParserTagToken", "dc/d37/structARC__ParserTagToken.html", "dc/d37/structARC__ParserTagToken" ], - [ "ARC_PARSER_TAG_LAMBDA", "d5/d36/parser_8h.html#a49859e4f0658f564f4236d2c4b317852", null ], - [ "ARC_Parser", "d5/d36/parser_8h.html#af86417aa26af2cf87b688c18e1c42985", null ], - [ "ARC_Parser_GetStringIdFn", "d5/d36/parser_8h.html#a65a947ffcc719e780cd0df6f37dd84bf", null ], - [ "ARC_Parser_InitLexerRulesFn", "d5/d36/parser_8h.html#a852129b2e4cebf0dca9a4d7753093367", null ], - [ "ARC_ParserData_CreateFn", "d5/d36/parser_8h.html#a8cd71477a9351e7cd708b346b945e3bb", null ], - [ "ARC_ParserData_DestroyFn", "d5/d36/parser_8h.html#abfe01be54d5787de64d479494ad6aa2d", null ], - [ "ARC_ParserTag", "d5/d36/parser_8h.html#aa9ea2265d5d0797b7b6fa009beed6aa4", null ], - [ "ARC_ParserTagToken", "d5/d36/parser_8h.html#afb6d26dc3b6ae7e2049e0e47bdfd3c3e", null ], - [ "ARC_Parser_ClearData", "d5/d36/parser_8h.html#af1d5928a3b7a1107ae2f93256b8e82df", null ], - [ "ARC_Parser_Create", "d5/d36/parser_8h.html#a1bdcaaa9871c881c8826698840a99d2d", null ], - [ "ARC_Parser_CreateFromString", "d5/d36/parser_8h.html#a003b81e4311d906bb549c112036703d6", null ], - [ "ARC_Parser_CreateFromVector", "d5/d36/parser_8h.html#ace1a2cfd32a6054ce46a88153024dfb0", null ], - [ "ARC_Parser_Destroy", "d5/d36/parser_8h.html#adb54341fc82ed984990434a9885ee644", null ], - [ "ARC_Parser_GetData", "d5/d36/parser_8h.html#af6a130ed662019fd063f9b613c1b43cd", null ], - [ "ARC_Parser_Parse", "d5/d36/parser_8h.html#ac7b13da43887f6fd9e4571f3dd477de6", null ], - [ "ARC_Parser_ParseFile", "d5/d36/parser_8h.html#a07112a0644e5f29259bd814a4b4d5a86", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d5/d36/parser_8h_source.html b/doc/doxygen/html/d5/d36/parser_8h_source.html deleted file mode 100644 index 87f4582..0000000 --- a/doc/doxygen/html/d5/d36/parser_8h_source.html +++ /dev/null @@ -1,320 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/parser.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
parser.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_STD_PARSER_H_
-
2#define ARC_STD_PARSER_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include "arc/std/array.h"
-
9#include "arc/std/lexer.h"
-
10#include "arc/std/vector.h"
-
11#include <stdint.h>
-
12
-
13/**
-
14 * @brief a parser type
-
15*/
-
16typedef struct ARC_Parser ARC_Parser;
-
17
-
18/**
-
19 * @brief a langue tag type for the parser //TODO: explain this better
-
20*/
-
-
21typedef struct ARC_ParserTag {
-
22 uint32_t tagId;
-
23
-
24 uint32_t **tokensOrTags;
- - -
-
27
-
28/**
-
29 * @brief a parser type used inside of the parser data create function
-
30 *
-
31 * @note there are no public creation and destruction functions for this type as it is only ment to be used within the creation callback
-
32 * @note if the parser tag token is a token then tagTokens will be NULL
-
33 * @note if the parser tag token is a tag then token will be NULL
-
34*/
- -
41
-
42/**
-
43 * @brief a callback function to initialize the lexer the parser uses with rules
-
44 *
-
45 * @param lexer the lexer used by the parser that rules should be added to
-
46*/
-
47typedef void (* ARC_Parser_InitLexerRulesFn)(ARC_Lexer *lexer);
-
48
-
49/**
-
50 * @brief TODO: write this
-
51*/
-
52typedef uint32_t (* ARC_Parser_GetStringIdFn)(ARC_String *string);
-
53
-
54/**
-
55 * @brief TODO: write this
-
56*/
-
57typedef void (* ARC_ParserData_CreateFn)(void **data, ARC_ParserTagToken *parsedData, void *userData);
-
58
-
59/**
-
60 * @brief TODO: write this
-
61*/
-
62typedef void (* ARC_ParserData_DestroyFn)(void *data, ARC_Bool clear, void *userData);
-
63
-
64/**
-
65 * @brief creates an ARC_Parser type
-
66 *
-
67 * @TODO: fix this documentation to reflect changes
-
68 *
-
69 * @TODO: probs want to move the note to another file
-
70 * @note array of tokens for langauge? like
-
71 * ARC_ParserTag tag = {
-
72 * VARIABLE_NAME, //tagId
-
73 * {
-
74 * { 2, CHAR_OR_NUM, VARIABLE_NAME },
-
75 * { 1, LAMBDA },
-
76 * }, //components
-
77 * 2 //componentsSize
-
78 * };
-
79 *
-
80 * @param[out] parser ARC_Parser to create
-
81 * @param[in] language an arry of ARC_ParserLanguageTags defining a langauge
-
82 * @param[in] initLexerRulesFn a callback used to initalize the token rules the lexer within the parser will use
-
83*/
-
84void ARC_Parser_Create(ARC_Parser **parser, ARC_Array *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData);
-
85
-
86/**
-
87 * @brief creates an ARC_Parser type from an arc vector
-
88 *
-
89 * @param[out] parser ARC_Parser to create
-
90 * @param[in] language an vector of ARC_ParserLanguageTags defining a langauge
-
91 * @param[in] initLexerRulesFn a callback used to initalize the token rules the lexer within the parser will use
-
92*/
-
93void ARC_Parser_CreateFromVector(ARC_Parser **parser, ARC_Vector *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData);
-
94
-
95/**
-
96 * @brief creates an ARC_Parser type from a string
-
97 *
-
98 * @TODO: probs want to move the note to another file
-
99 * @note the syntax looks like:
-
100 * <variable> -> CHAR <variableName> EOF
-
101 * <variableName> -> <charOrNum> <variableName> | LAMBDA
-
102 * <charOrNum> -> CHAR | NUM
-
103 *
-
104 * @param[out] parser ARC_Parser to create
-
105 * @param[in] language an arry of ARC_ParserLanguageTags defining a langauge
-
106 * @param[in] initLexerRulesFn a callback used to initalize the token rules the lexer within the parser will use
-
107*/
-
108void ARC_Parser_CreateFromString(ARC_Parser **parser, ARC_String *languageString, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_Parser_GetStringIdFn getStringIdFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData);
-
109
-
110/**
-
111 * @brief destroys an ARC_Parser type
-
112 *
-
113 * @param[in] parser ARC_Parser to free
-
114*/
- -
116
-
117/**
-
118 * @brief
-
119 *
-
120 * @param[in] parser
-
121 * @param[in/out] data the string to parse, will be freed and set to NULL by the end of this function
-
122*/
- -
124
-
125/**
-
126 * @brief
-
127 *
-
128 * @param[in] parser
-
129 * @param[in] language
-
130*/
- -
132
-
133/**
-
134 * @brief
-
135 *
-
136 * @param[in] parser
-
137*/
- -
139
-
140/**
-
141 * @brief
-
142 *
-
143 * @param[in] parser
-
144*/
- -
146
-
147/**
-
148 * @brief basic tag for letting the parser know it is ok to end
-
149*/
-
150#define ARC_PARSER_TAG_LAMBDA 0
-
151
-
152#ifdef __cplusplus
-
153}
-
154#endif
-
155
-
156#endif // !ARC_STD_PARSER_H_
- -
#define ARC_Bool
Definition bool.h:10
-
struct ARC_Vector ARC_Vector
a dynamic array type
Definition vector.h:26
- -
struct ARC_Lexer ARC_Lexer
a lexer type
Definition lexer.h:13
-
void ARC_Parser_CreateFromString(ARC_Parser **parser, ARC_String *languageString, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_Parser_GetStringIdFn getStringIdFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
creates an ARC_Parser type from a string
-
void ARC_Parser_ParseFile(ARC_Parser *parser, ARC_String *path)
-
void ARC_Parser_Create(ARC_Parser **parser, ARC_Array *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
creates an ARC_Parser type
-
uint32_t(* ARC_Parser_GetStringIdFn)(ARC_String *string)
TODO: write this.
Definition parser.h:52
-
void(* ARC_Parser_InitLexerRulesFn)(ARC_Lexer *lexer)
a callback function to initialize the lexer the parser uses with rules
Definition parser.h:47
-
void(* ARC_ParserData_CreateFn)(void **data, ARC_ParserTagToken *parsedData, void *userData)
TODO: write this.
Definition parser.h:57
-
struct ARC_ParserTag ARC_ParserTag
a langue tag type for the parser //TODO: explain this better
-
void(* ARC_ParserData_DestroyFn)(void *data, ARC_Bool clear, void *userData)
TODO: write this.
Definition parser.h:62
-
void ARC_Parser_Parse(ARC_Parser *parser, ARC_String **data)
-
void ARC_Parser_CreateFromVector(ARC_Parser **parser, ARC_Vector *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
creates an ARC_Parser type from an arc vector
-
void ARC_Parser_Destroy(ARC_Parser *parser)
destroys an ARC_Parser type
-
void ARC_Parser_ClearData(ARC_Parser *parser)
-
void * ARC_Parser_GetData(ARC_Parser *parser)
-
struct ARC_Parser ARC_Parser
a parser type
Definition parser.h:16
-
struct ARC_ParserTagToken ARC_ParserTagToken
a parser type used inside of the parser data create function
-
a type that holds an array of data and its size
Definition array.h:13
-
a lexer token type
Definition lexer.h:18
-
a parser type used inside of the parser data create function
Definition parser.h:35
-
ARC_LexerToken * token
Definition parser.h:38
-
uint32_t id
Definition parser.h:36
-
ARC_Vector * tagTokens
Definition parser.h:39
-
a langue tag type for the parser //TODO: explain this better
Definition parser.h:21
-
uint32_t tagId
Definition parser.h:22
-
uint32_t tokensOrTagsSize
Definition parser.h:25
-
uint32_t ** tokensOrTags
Definition parser.h:24
-
substring position within a string
Definition string.h:14
-
creates and outlines a dynamic array type and its functions
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/d48/archeus_8md.html b/doc/doxygen/html/d5/d48/archeus_8md.html deleted file mode 100644 index ddeb775..0000000 --- a/doc/doxygen/html/d5/d48/archeus_8md.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - -Archeus: archeus.md File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
archeus.md File Reference
-
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/d5d/structARC__Mouse.html b/doc/doxygen/html/d5/d5d/structARC__Mouse.html deleted file mode 100644 index 203cda4..0000000 --- a/doc/doxygen/html/d5/d5d/structARC__Mouse.html +++ /dev/null @@ -1,243 +0,0 @@ - - - - - - - - -Archeus: ARC_Mouse Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_Mouse Struct Reference
-
-
- -

#include <mouse.h>

- - - - - - - - - - - - -

-Data Fields

SDL_Event * event
 
ARC_Pointcoords
 
int32_t * scrollY
 
ARC_MouseStatebuttons
 
uint8_t * buttonsReleased
 
-

Detailed Description

-
-

Definition at line 8 of file mouse.h.

-

Field Documentation

- -

◆ buttons

- -
-
- - - - -
ARC_MouseState* ARC_Mouse::buttons
-
- -

Definition at line 13 of file mouse.h.

- -

Referenced by ARC_Mouse_Destroy(), ARC_Mouse_GetState(), ARC_Mouse_Update(), and ARC_Mouse_UpdateButton().

- -
-
- -

◆ buttonsReleased

- -
-
- - - - -
uint8_t* ARC_Mouse::buttonsReleased
-
- -

Definition at line 14 of file mouse.h.

- -

Referenced by ARC_Mouse_Destroy(), ARC_Mouse_Update(), and ARC_Mouse_UpdateButton().

- -
-
- -

◆ coords

- -
-
- - - - -
ARC_Point* ARC_Mouse::coords
-
- -

Definition at line 10 of file mouse.h.

- -

Referenced by ARC_Mouse_Destroy(), ARC_Mouse_GetCoords(), and ARC_Mouse_Update().

- -
-
- -

◆ event

- -
-
- - - - -
SDL_Event* ARC_Mouse::event
-
- -

Definition at line 9 of file mouse.h.

- -

Referenced by ARC_Mouse_CreateWithInput(), and ARC_Mouse_Update().

- -
-
- -

◆ scrollY

- -
-
- - - - -
int32_t* ARC_Mouse::scrollY
-
- -

Definition at line 11 of file mouse.h.

- -

Referenced by ARC_Mouse_Destroy(), ARC_Mouse_GetScrollY(), and ARC_Mouse_Update().

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/packages/input/sdl/mouse.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/d5d/structARC__Mouse.js b/doc/doxygen/html/d5/d5d/structARC__Mouse.js deleted file mode 100644 index 53a4c0b..0000000 --- a/doc/doxygen/html/d5/d5d/structARC__Mouse.js +++ /dev/null @@ -1,8 +0,0 @@ -var structARC__Mouse = -[ - [ "buttons", "d5/d5d/structARC__Mouse.html#a42b96c586671fae45884ab8a2ef49726", null ], - [ "buttonsReleased", "d5/d5d/structARC__Mouse.html#a908cf40d4166521162e012456a73d76d", null ], - [ "coords", "d5/d5d/structARC__Mouse.html#a31e63976b6269306d6fd179069fd68da", null ], - [ "event", "d5/d5d/structARC__Mouse.html#a4d833aeda5162e447737260d53df3403", null ], - [ "scrollY", "d5/d5d/structARC__Mouse.html#a78bbe86d5c0bb8b1a96f7aeabce544c1", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d5/d62/tests_8dir_2src_2math_2rectangle_8c_8o_8d.html b/doc/doxygen/html/d5/d62/tests_8dir_2src_2math_2rectangle_8c_8o_8d.html deleted file mode 100644 index e4b87e9..0000000 --- a/doc/doxygen/html/d5/d62/tests_8dir_2src_2math_2rectangle_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/math/rectangle.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
rectangle.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d5/d62/tests_8dir_2src_2math_2rectangle_8c_8o_8d_source.html b/doc/doxygen/html/d5/d62/tests_8dir_2src_2math_2rectangle_8c_8o_8d_source.html deleted file mode 100644 index 67e3cc8..0000000 --- a/doc/doxygen/html/d5/d62/tests_8dir_2src_2math_2rectangle_8c_8o_8d_source.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/math/rectangle.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
rectangle.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/math/rectangle.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/math/rectangle.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/math/rectangle.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h \
-
15 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/math/vector2.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/d6e/packages_2input_2sdl_2input_8c.html b/doc/doxygen/html/d5/d6e/packages_2input_2sdl_2input_8c.html deleted file mode 100644 index 11306e0..0000000 --- a/doc/doxygen/html/d5/d6e/packages_2input_2sdl_2input_8c.html +++ /dev/null @@ -1,296 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/input/sdl/input.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
input.c File Reference
-
-
-
#include "arc/input/input.h"
-#include "input.h"
-#include "arc/input/mouse.h"
-#include "arc/input/keyboard.h"
-#include <SDL.h>
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - - - - - - - - - -

-Functions

void ARC_Input_CreateWithEngineData (ARC_Input **input, ARC_EngineData *data)
 
void ARC_Input_Destroy (ARC_Input *input)
 
ARC_Bool ARC_Input_Update (ARC_Input *input)
 
ARC_KeyboardARC_Input_GetKeyboard (ARC_Input *input)
 
ARC_MouseARC_Input_GetMouse (ARC_Input *input)
 
-

Function Documentation

- -

◆ ARC_Input_CreateWithEngineData()

- -
-
- - - - - - - - - - - -
void ARC_Input_CreateWithEngineData (ARC_Input ** input,
ARC_EngineData * data )
-
- -

Definition at line 10 of file input.c.

-
10 {
-
11 *input = (ARC_Input *)malloc(sizeof(ARC_Input));
-
12
-
13 (*input)->event = (SDL_Event *)malloc(sizeof(SDL_Event));
-
14
-
15 ARC_Keyboard_CreateWithInput(&((*input)->keyboard), *input);
-
16 ARC_Mouse_CreateWithInput(&((*input)->mouse), *input);
-
17}
-
void ARC_Keyboard_CreateWithInput(ARC_Keyboard **keyboard, ARC_Input *input)
Definition keyboard.c:11
-
void ARC_Mouse_CreateWithInput(ARC_Mouse **mouse, ARC_Input *input)
Definition mouse.c:12
- -
SDL_Event * event
Definition input.h:12
-
-
-
- -

◆ ARC_Input_Destroy()

- -
-
- - - - - - - -
void ARC_Input_Destroy (ARC_Input * input)
-
- -

Definition at line 19 of file input.c.

-
19 {
- - -
22
-
23 free(input->event);
-
24 free(input);
-
25}
-
void ARC_Keyboard_Destroy(ARC_Keyboard *keyboard)
Definition keyboard.c:23
-
void ARC_Mouse_Destroy(ARC_Mouse *mouse)
Definition mouse.c:31
-
ARC_Keyboard * keyboard
Definition input.h:9
-
ARC_Mouse * mouse
Definition input.h:10
-
-
-
- -

◆ ARC_Input_GetKeyboard()

- -
-
- - - - - - - -
ARC_Keyboard * ARC_Input_GetKeyboard (ARC_Input * input)
-
- -

Definition at line 39 of file input.c.

-
39 {
-
40 return input->keyboard;
-
41}
-
-
-
- -

◆ ARC_Input_GetMouse()

- -
-
- - - - - - - -
ARC_Mouse * ARC_Input_GetMouse (ARC_Input * input)
-
- -

Definition at line 43 of file input.c.

-
43 {
-
44 return input->mouse;
-
45}
-
-
-
- -

◆ ARC_Input_Update()

- -
-
- - - - - - - -
ARC_Bool ARC_Input_Update (ARC_Input * input)
-
- -

Definition at line 27 of file input.c.

-
27 {
-
28 SDL_PollEvent(input->event);
-
29 if(input->event->type == SDL_QUIT){
-
30 return ARC_False;
-
31 }
-
32
- -
34 ARC_Mouse_Update(input->mouse);
-
35
-
36 return ARC_True;
-
37}
-
#define ARC_False
Definition bool.h:12
-
#define ARC_True
Definition bool.h:11
-
void ARC_Keyboard_Update(ARC_Keyboard *keyboard)
Definition keyboard.c:29
-
void ARC_Mouse_Update(ARC_Mouse *mouse)
Definition mouse.c:61
-
-
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/d6e/packages_2input_2sdl_2input_8c.js b/doc/doxygen/html/d5/d6e/packages_2input_2sdl_2input_8c.js deleted file mode 100644 index de47172..0000000 --- a/doc/doxygen/html/d5/d6e/packages_2input_2sdl_2input_8c.js +++ /dev/null @@ -1,8 +0,0 @@ -var packages_2input_2sdl_2input_8c = -[ - [ "ARC_Input_CreateWithEngineData", "d5/d6e/packages_2input_2sdl_2input_8c.html#ab067b02367e78494a930fcccdd930c0c", null ], - [ "ARC_Input_Destroy", "d5/d6e/packages_2input_2sdl_2input_8c.html#a3f88d045f196b8460a62f4c32ee23f54", null ], - [ "ARC_Input_GetKeyboard", "d5/d6e/packages_2input_2sdl_2input_8c.html#a33b395c2b23fb459904fef05df97ae5d", null ], - [ "ARC_Input_GetMouse", "d5/d6e/packages_2input_2sdl_2input_8c.html#a5de153e8f7dd3212cb998ea2ad29c4f6", null ], - [ "ARC_Input_Update", "d5/d6e/packages_2input_2sdl_2input_8c.html#afb3fa56528406720283b62b2b713e118", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d5/d6e/packages_2input_2sdl_2input_8c_source.html b/doc/doxygen/html/d5/d6e/packages_2input_2sdl_2input_8c_source.html deleted file mode 100644 index 9b74ea8..0000000 --- a/doc/doxygen/html/d5/d6e/packages_2input_2sdl_2input_8c_source.html +++ /dev/null @@ -1,208 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/input/sdl/input.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
input.c
-
-
-Go to the documentation of this file.
1#include "arc/input/input.h"
-
2#include "input.h"
-
3
-
4#include "arc/input/mouse.h"
- -
6
-
7#include <SDL.h>
-
8#include <stdlib.h>
-
9
-
- -
11 *input = (ARC_Input *)malloc(sizeof(ARC_Input));
-
12
-
13 (*input)->event = (SDL_Event *)malloc(sizeof(SDL_Event));
-
14
-
15 ARC_Keyboard_CreateWithInput(&((*input)->keyboard), *input);
-
16 ARC_Mouse_CreateWithInput(&((*input)->mouse), *input);
-
17}
-
-
18
-
- - - -
22
-
23 free(input->event);
-
24 free(input);
-
25}
-
-
26
-
- -
28 SDL_PollEvent(input->event);
-
29 if(input->event->type == SDL_QUIT){
-
30 return ARC_False;
-
31 }
-
32
- -
34 ARC_Mouse_Update(input->mouse);
-
35
-
36 return ARC_True;
-
37}
-
-
38
-
- -
40 return input->keyboard;
-
41}
-
-
42
-
- -
44 return input->mouse;
-
45}
-
-
#define ARC_False
Definition bool.h:12
-
#define ARC_True
Definition bool.h:11
-
#define ARC_Bool
Definition bool.h:10
- -
ARC_Keyboard * ARC_Input_GetKeyboard(ARC_Input *input)
Definition input.c:39
-
void ARC_Input_Destroy(ARC_Input *input)
Definition input.c:19
-
ARC_Mouse * ARC_Input_GetMouse(ARC_Input *input)
Definition input.c:43
-
void ARC_Input_CreateWithEngineData(ARC_Input **input, ARC_EngineData *data)
Definition input.c:10
- -
void ARC_Keyboard_Update(ARC_Keyboard *keyboard)
Definition keyboard.c:29
-
void ARC_Keyboard_CreateWithInput(ARC_Keyboard **keyboard, ARC_Input *input)
Definition keyboard.c:11
-
void ARC_Keyboard_Destroy(ARC_Keyboard *keyboard)
Definition keyboard.c:23
- -
void ARC_Mouse_Update(ARC_Mouse *mouse)
Definition mouse.c:61
-
void ARC_Mouse_Destroy(ARC_Mouse *mouse)
Definition mouse.c:31
-
void ARC_Mouse_CreateWithInput(ARC_Mouse **mouse, ARC_Input *input)
Definition mouse.c:12
-
ARC_Bool ARC_Input_Update(ARC_Input *input)
Definition input.c:27
- - - -
SDL_Event * event
Definition input.h:12
-
ARC_Keyboard * keyboard
Definition input.h:9
-
ARC_Mouse * mouse
Definition input.h:10
- - -
-
- - - - - - diff --git a/doc/doxygen/html/d5/d73/tests_8dir_2src_2graphics_2window_8c_8o_8d.html b/doc/doxygen/html/d5/d73/tests_8dir_2src_2graphics_2window_8c_8o_8d.html deleted file mode 100644 index d29f29e..0000000 --- a/doc/doxygen/html/d5/d73/tests_8dir_2src_2graphics_2window_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/graphics/window.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
window.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d5/d73/tests_8dir_2src_2graphics_2window_8c_8o_8d_source.html b/doc/doxygen/html/d5/d73/tests_8dir_2src_2graphics_2window_8c_8o_8d_source.html deleted file mode 100644 index 2172783..0000000 --- a/doc/doxygen/html/d5/d73/tests_8dir_2src_2graphics_2window_8c_8o_8d_source.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/graphics/window.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
window.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/graphics/window.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/graphics/window.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/graphics/window.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h /usr/include/stdio.h \
-
15 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
16 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
17 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
18 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
19 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
20 /usr/include/bits/types/cookie_io_functions_t.h \
-
21 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
22 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/d7e/tests_8dir_2src_2std_2errno_8c_8o_8d.html b/doc/doxygen/html/d5/d7e/tests_8dir_2src_2std_2errno_8c_8o_8d.html deleted file mode 100644 index 4adbc96..0000000 --- a/doc/doxygen/html/d5/d7e/tests_8dir_2src_2std_2errno_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/errno.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
errno.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d5/d7e/tests_8dir_2src_2std_2errno_8c_8o_8d_source.html b/doc/doxygen/html/d5/d7e/tests_8dir_2src_2std_2errno_8c_8o_8d_source.html deleted file mode 100644 index 0a78f2a..0000000 --- a/doc/doxygen/html/d5/d7e/tests_8dir_2src_2std_2errno_8c_8o_8d_source.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/errno.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
errno.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/std/errno.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/errno.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h /usr/include/stdio.h \
-
15 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
16 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
17 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
18 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
19 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
20 /usr/include/bits/types/cookie_io_functions_t.h \
-
21 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
22 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/d83/tests_8dir_2src_2input_2keyboard_8c_8o_8d.html b/doc/doxygen/html/d5/d83/tests_8dir_2src_2input_2keyboard_8c_8o_8d.html deleted file mode 100644 index 890a625..0000000 --- a/doc/doxygen/html/d5/d83/tests_8dir_2src_2input_2keyboard_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/input/keyboard.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
keyboard.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d5/d83/tests_8dir_2src_2input_2keyboard_8c_8o_8d_source.html b/doc/doxygen/html/d5/d83/tests_8dir_2src_2input_2keyboard_8c_8o_8d_source.html deleted file mode 100644 index e18124b..0000000 --- a/doc/doxygen/html/d5/d83/tests_8dir_2src_2input_2keyboard_8c_8o_8d_source.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/input/keyboard.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
keyboard.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/input/keyboard.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/input/keyboard.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/input/keyboard.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h /usr/include/stdio.h \
-
15 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
16 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
17 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
18 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
19 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
20 /usr/include/bits/types/cookie_io_functions_t.h \
-
21 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
22 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/d89/math_2circle_8c.html b/doc/doxygen/html/d5/d89/math_2circle_8c.html deleted file mode 100644 index 200598f..0000000 --- a/doc/doxygen/html/d5/d89/math_2circle_8c.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/math/circle.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
circle.c File Reference
-
- - - -
- - diff --git a/doc/doxygen/html/d5/d89/math_2circle_8c_source.html b/doc/doxygen/html/d5/d89/math_2circle_8c_source.html deleted file mode 100644 index 6e835d2..0000000 --- a/doc/doxygen/html/d5/d89/math_2circle_8c_source.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/math/circle.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
circle.c
-
- - - -
- - diff --git a/doc/doxygen/html/d5/d90/packages_2graphics_2sdl_2text_8h.html b/doc/doxygen/html/d5/d90/packages_2graphics_2sdl_2text_8h.html deleted file mode 100644 index 675faad..0000000 --- a/doc/doxygen/html/d5/d90/packages_2graphics_2sdl_2text_8h.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/text.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
text.h File Reference
-
-
-
#include "arc/std/string.h"
-#include "arc/graphics/color.h"
-#include "arc/math/rectangle.h"
-#include <SDL.h>
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_Text
 
- - - -

-Typedefs

typedef struct ARC_Text ARC_Text
 
-

Typedef Documentation

- -

◆ ARC_Text

- -
-
- - - - -
typedef struct ARC_Text ARC_Text
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/d90/packages_2graphics_2sdl_2text_8h.js b/doc/doxygen/html/d5/d90/packages_2graphics_2sdl_2text_8h.js deleted file mode 100644 index 34d2e5b..0000000 --- a/doc/doxygen/html/d5/d90/packages_2graphics_2sdl_2text_8h.js +++ /dev/null @@ -1,5 +0,0 @@ -var packages_2graphics_2sdl_2text_8h = -[ - [ "ARC_Text", "dc/d7a/structARC__Text.html", "dc/d7a/structARC__Text" ], - [ "ARC_Text", "d5/d90/packages_2graphics_2sdl_2text_8h.html#a1b5f335dcc5e50d475077385328d1619", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d5/d90/packages_2graphics_2sdl_2text_8h_source.html b/doc/doxygen/html/d5/d90/packages_2graphics_2sdl_2text_8h_source.html deleted file mode 100644 index bae6633..0000000 --- a/doc/doxygen/html/d5/d90/packages_2graphics_2sdl_2text_8h_source.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/text.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
text.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_SDL_TEXT_H_
-
2#define ARC_SDL_TEXT_H_
-
3
-
4#include "arc/std/string.h"
- - -
7
-
8#include <SDL.h>
-
9
-
-
10typedef struct ARC_Text {
- -
12 int32_t size;
-
13
- -
15
-
16 SDL_Texture *texture;
- - -
-
19
-
20#endif // !ARC_SDL_TEXT_H_
- -
struct ARC_Text ARC_Text
Definition text.h:14
- - - - -
substring position within a string
Definition string.h:14
- -
ARC_String * name
Definition text.h:11
-
SDL_Texture * texture
Definition text.h:16
-
ARC_Rect bounds
Definition text.h:17
-
ARC_Color color
Definition text.h:14
-
int32_t size
Definition text.h:12
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/d9c/archeus__std_8dir_2src_2std_2lexer_8c_8o_8d.html b/doc/doxygen/html/d5/d9c/archeus__std_8dir_2src_2std_2lexer_8c_8o_8d.html deleted file mode 100644 index f5375e6..0000000 --- a/doc/doxygen/html/d5/d9c/archeus__std_8dir_2src_2std_2lexer_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/lexer.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
lexer.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d5/d9c/archeus__std_8dir_2src_2std_2lexer_8c_8o_8d_source.html b/doc/doxygen/html/d5/d9c/archeus__std_8dir_2src_2std_2lexer_8c_8o_8d_source.html deleted file mode 100644 index 1a0501c..0000000 --- a/doc/doxygen/html/d5/d9c/archeus__std_8dir_2src_2std_2lexer_8c_8o_8d_source.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/lexer.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
lexer.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/std/lexer.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/lexer.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/lexer.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
6 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
7 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
8 /usr/include/features.h /usr/include/features-time64.h \
-
9 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
10 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
11 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
12 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
13 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
14 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
15 /usr/include/bits/stdint-least.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
17 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
20 /usr/include/stdio.h \
-
21 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
22 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
23 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
24 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
25 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
26 /usr/include/bits/types/cookie_io_functions_t.h \
-
27 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
28 /usr/include/bits/floatn-common.h \
-
29 /home/herbglitch/programs/archeus/arc/include/arc/std/vector.h \
-
30 /home/herbglitch/programs/archeus/arc/include/arc/std/io.h \
-
31 /usr/include/stdlib.h /usr/include/bits/waitflags.h \
-
32 /usr/include/bits/waitstatus.h /usr/include/sys/types.h \
-
33 /usr/include/bits/types/clock_t.h /usr/include/bits/types/clockid_t.h \
-
34 /usr/include/bits/types/time_t.h /usr/include/bits/types/timer_t.h \
-
35 /usr/include/endian.h /usr/include/bits/endian.h \
-
36 /usr/include/bits/endianness.h /usr/include/bits/byteswap.h \
-
37 /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \
-
38 /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \
-
39 /usr/include/bits/types/__sigset_t.h \
-
40 /usr/include/bits/types/struct_timeval.h \
-
41 /usr/include/bits/types/struct_timespec.h \
-
42 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
43 /usr/include/bits/pthreadtypes-arch.h \
-
44 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
45 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
46 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/d9e/graphics_2circle_8c.html b/doc/doxygen/html/d5/d9e/graphics_2circle_8c.html deleted file mode 100644 index af7fc83..0000000 --- a/doc/doxygen/html/d5/d9e/graphics_2circle_8c.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/circle.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
circle.c File Reference
-
- - - -
- - diff --git a/doc/doxygen/html/d5/d9e/graphics_2circle_8c_source.html b/doc/doxygen/html/d5/d9e/graphics_2circle_8c_source.html deleted file mode 100644 index 76a411d..0000000 --- a/doc/doxygen/html/d5/d9e/graphics_2circle_8c_source.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/circle.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
circle.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_GRAPHICS
-
2
- -
4#include <stdio.h>
-
5
-
6void ARC_Circle_Render(ARC_Circle *circle, ARC_Renderer *renderer, ARC_Color *color){
-
7 printf("No Graphics Backend Selected\n");
-
8}
-
9
-
10#endif // !ARC_NONE_GRAPHICS
- -
void ARC_Circle_Render(ARC_Circle *circle, ARC_Renderer *renderer, ARC_Color *color)
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- - -
- - -
- - diff --git a/doc/doxygen/html/d5/d9f/include_2arc_2console_2key_8h.html b/doc/doxygen/html/d5/d9f/include_2arc_2console_2key_8h.html deleted file mode 100644 index 423bc81..0000000 --- a/doc/doxygen/html/d5/d9f/include_2arc_2console_2key_8h.html +++ /dev/null @@ -1,715 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/console/key.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
key.h File Reference
-
-
-
#include "arc/std/bool.h"
-#include <stdint.h>
-
-

Go to the source code of this file.

- - - - - - -

-Typedefs

typedef struct ARC_ConsoleKeyType ARC_ConsoleKey
 
typedef enum ARC_ConsoleKey_Key ARC_ConsoleKey_Key
 
- - - -

-Enumerations

enum  ARC_ConsoleKey_Key {
-  ARC_CONSOLE_KEY_A -, ARC_CONSOLE_KEY_B -, ARC_CONSOLE_KEY_C -, ARC_CONSOLE_KEY_D -,
-  ARC_CONSOLE_KEY_E -, ARC_CONSOLE_KEY_F -, ARC_CONSOLE_KEY_G -, ARC_CONSOLE_KEY_H -,
-  ARC_CONSOLE_KEY_I -, ARC_CONSOLE_KEY_J -, ARC_CONSOLE_KEY_K -, ARC_CONSOLE_KEY_L -,
-  ARC_CONSOLE_KEY_M -, ARC_CONSOLE_KEY_N -, ARC_CONSOLE_KEY_O -, ARC_CONSOLE_KEY_P -,
-  ARC_CONSOLE_KEY_Q -, ARC_CONSOLE_KEY_R -, ARC_CONSOLE_KEY_S -, ARC_CONSOLE_KEY_T -,
-  ARC_CONSOLE_KEY_U -, ARC_CONSOLE_KEY_V -, ARC_CONSOLE_KEY_W -, ARC_CONSOLE_KEY_X -,
-  ARC_CONSOLE_KEY_Y -, ARC_CONSOLE_KEY_Z -, ARC_CONSOLE_KEY_0 -, ARC_CONSOLE_KEY_1 -,
-  ARC_CONSOLE_KEY_2 -, ARC_CONSOLE_KEY_3 -, ARC_CONSOLE_KEY_4 -, ARC_CONSOLE_KEY_5 -,
-  ARC_CONSOLE_KEY_6 -, ARC_CONSOLE_KEY_7 -, ARC_CONSOLE_KEY_8 -, ARC_CONSOLE_KEY_9 -,
-  ARC_CONSOLE_KEY_LEFT -, ARC_CONSOLE_KEY_RIGHT -, ARC_CONSOLE_KEY_DOWN -, ARC_CONSOLE_KEY_UP -,
-  ARC_CONSOLE_KEY_FORWARD_SLASH -, ARC_CONSOLE_KEY_BACKSPACE -, ARC_CONSOLE_KEY_ENTER -, ARC_CONSOLE_KEY_ESC -
- }
 
- - - - - - - - - - - - - -

-Functions

void ARC_ConsoleKey_Create (ARC_ConsoleKey **consoleKey, ARC_ConsoleKey_Key *key)
 
void ARC_ConsoleKey_Destroy (ARC_ConsoleKey *consoleKey)
 
ARC_Bool ARC_ConsoleKey_Equals (ARC_ConsoleKey consoleKey, enum ARC_ConsoleKey_Key key)
 
ARC_Bool ARC_ConsoleKey_EqualsPointer (ARC_ConsoleKey *consoleKey, enum ARC_ConsoleKey_Key key)
 
ARC_ConsoleKey ARC_Keyboard_GetConsoleKey (enum ARC_ConsoleKey_Key key)
 
uint8_t ARC_ConsoleKey_GetCharFromKey (ARC_ConsoleKey *consoleKey)
 
-

Typedef Documentation

- -

◆ ARC_ConsoleKey

- -
-
- - - - -
typedef struct ARC_ConsoleKeyType ARC_ConsoleKey
-
- -

Definition at line 11 of file key.h.

- -
-
- -

◆ ARC_ConsoleKey_Key

- -
-
- - - - -
typedef enum ARC_ConsoleKey_Key ARC_ConsoleKey_Key
-
- -
-
-

Enumeration Type Documentation

- -

◆ ARC_ConsoleKey_Key

- -
-
- - - - -
enum ARC_ConsoleKey_Key
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Enumerator
ARC_CONSOLE_KEY_A 
ARC_CONSOLE_KEY_B 
ARC_CONSOLE_KEY_C 
ARC_CONSOLE_KEY_D 
ARC_CONSOLE_KEY_E 
ARC_CONSOLE_KEY_F 
ARC_CONSOLE_KEY_G 
ARC_CONSOLE_KEY_H 
ARC_CONSOLE_KEY_I 
ARC_CONSOLE_KEY_J 
ARC_CONSOLE_KEY_K 
ARC_CONSOLE_KEY_L 
ARC_CONSOLE_KEY_M 
ARC_CONSOLE_KEY_N 
ARC_CONSOLE_KEY_O 
ARC_CONSOLE_KEY_P 
ARC_CONSOLE_KEY_Q 
ARC_CONSOLE_KEY_R 
ARC_CONSOLE_KEY_S 
ARC_CONSOLE_KEY_T 
ARC_CONSOLE_KEY_U 
ARC_CONSOLE_KEY_V 
ARC_CONSOLE_KEY_W 
ARC_CONSOLE_KEY_X 
ARC_CONSOLE_KEY_Y 
ARC_CONSOLE_KEY_Z 
ARC_CONSOLE_KEY_0 
ARC_CONSOLE_KEY_1 
ARC_CONSOLE_KEY_2 
ARC_CONSOLE_KEY_3 
ARC_CONSOLE_KEY_4 
ARC_CONSOLE_KEY_5 
ARC_CONSOLE_KEY_6 
ARC_CONSOLE_KEY_7 
ARC_CONSOLE_KEY_8 
ARC_CONSOLE_KEY_9 
ARC_CONSOLE_KEY_LEFT 
ARC_CONSOLE_KEY_RIGHT 
ARC_CONSOLE_KEY_DOWN 
ARC_CONSOLE_KEY_UP 
ARC_CONSOLE_KEY_FORWARD_SLASH 
ARC_CONSOLE_KEY_BACKSPACE 
ARC_CONSOLE_KEY_ENTER 
ARC_CONSOLE_KEY_ESC 
- -

Definition at line 13 of file key.h.

-
13 {
- - - - - - - - - - - - - - - - - - - - - - - - - - -
40
- - - - - - - - - - -
51
- - - - -
56
- -
58
- -
60
- -
62
- - -
ARC_ConsoleKey_Key
Definition key.h:13
-
@ ARC_CONSOLE_KEY_K
Definition key.h:24
-
@ ARC_CONSOLE_KEY_8
Definition key.h:49
-
@ ARC_CONSOLE_KEY_L
Definition key.h:25
-
@ ARC_CONSOLE_KEY_B
Definition key.h:15
-
@ ARC_CONSOLE_KEY_X
Definition key.h:37
-
@ ARC_CONSOLE_KEY_7
Definition key.h:48
-
@ ARC_CONSOLE_KEY_Z
Definition key.h:39
-
@ ARC_CONSOLE_KEY_UP
Definition key.h:55
-
@ ARC_CONSOLE_KEY_S
Definition key.h:32
-
@ ARC_CONSOLE_KEY_D
Definition key.h:17
-
@ ARC_CONSOLE_KEY_FORWARD_SLASH
Definition key.h:57
-
@ ARC_CONSOLE_KEY_C
Definition key.h:16
-
@ ARC_CONSOLE_KEY_DOWN
Definition key.h:54
-
@ ARC_CONSOLE_KEY_1
Definition key.h:42
-
@ ARC_CONSOLE_KEY_T
Definition key.h:33
-
@ ARC_CONSOLE_KEY_P
Definition key.h:29
-
@ ARC_CONSOLE_KEY_2
Definition key.h:43
-
@ ARC_CONSOLE_KEY_3
Definition key.h:44
-
@ ARC_CONSOLE_KEY_LEFT
Definition key.h:52
-
@ ARC_CONSOLE_KEY_V
Definition key.h:35
-
@ ARC_CONSOLE_KEY_U
Definition key.h:34
-
@ ARC_CONSOLE_KEY_J
Definition key.h:23
-
@ ARC_CONSOLE_KEY_4
Definition key.h:45
-
@ ARC_CONSOLE_KEY_H
Definition key.h:21
-
@ ARC_CONSOLE_KEY_I
Definition key.h:22
-
@ ARC_CONSOLE_KEY_M
Definition key.h:26
-
@ ARC_CONSOLE_KEY_A
Definition key.h:14
-
@ ARC_CONSOLE_KEY_G
Definition key.h:20
-
@ ARC_CONSOLE_KEY_R
Definition key.h:31
-
@ ARC_CONSOLE_KEY_F
Definition key.h:19
-
@ ARC_CONSOLE_KEY_6
Definition key.h:47
-
@ ARC_CONSOLE_KEY_N
Definition key.h:27
-
@ ARC_CONSOLE_KEY_9
Definition key.h:50
-
@ ARC_CONSOLE_KEY_ENTER
Definition key.h:61
-
@ ARC_CONSOLE_KEY_W
Definition key.h:36
-
@ ARC_CONSOLE_KEY_5
Definition key.h:46
-
@ ARC_CONSOLE_KEY_Y
Definition key.h:38
-
@ ARC_CONSOLE_KEY_RIGHT
Definition key.h:53
-
@ ARC_CONSOLE_KEY_0
Definition key.h:41
-
@ ARC_CONSOLE_KEY_BACKSPACE
Definition key.h:59
-
@ ARC_CONSOLE_KEY_Q
Definition key.h:30
-
@ ARC_CONSOLE_KEY_O
Definition key.h:28
-
@ ARC_CONSOLE_KEY_E
Definition key.h:18
-
@ ARC_CONSOLE_KEY_ESC
Definition key.h:63
-
-
-
-

Function Documentation

- -

◆ ARC_ConsoleKey_Create()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleKey_Create (ARC_ConsoleKey ** consoleKey,
ARC_ConsoleKey_Key * key )
-
- -

Definition at line 7 of file key.c.

-
7 {
-
8 *consoleKey = (ARC_ConsoleKey *)malloc(sizeof(ARC_ConsoleKey));
-
9 (*consoleKey)->key = 0;
-
10
-
11 if(key != NULL){
-
12 (*consoleKey)->key = *key;
-
13 }
-
14}
- -
int32_t key
Definition key.h:12
-
-

References ARC_ConsoleKeyType::key.

- -

Referenced by ARC_ConsoleView_GetCreateConsoleKeyAt().

- -
-
- -

◆ ARC_ConsoleKey_Destroy()

- -
-
- - - - - - - -
void ARC_ConsoleKey_Destroy (ARC_ConsoleKey * consoleKey)
-
- -

Definition at line 16 of file key.c.

-
16 {
-
17 free(consoleKey);
-
18}
-
-
-
- -

◆ ARC_ConsoleKey_Equals()

- -
-
- - - - - - - - - - - -
ARC_Bool ARC_ConsoleKey_Equals (ARC_ConsoleKey consoleKey,
enum ARC_ConsoleKey_Key key )
-
- -

Definition at line 20 of file key.c.

-
20 {
-
21 return consoleKey.key == ARC_Keyboard_GetConsoleKey(key).key;
-
22}
-
ARC_ConsoleKey ARC_Keyboard_GetConsoleKey(enum ARC_ConsoleKey_Key key)
Definition key.c:28
-
-

References ARC_Keyboard_GetConsoleKey(), and ARC_ConsoleKeyType::key.

- -
-
- -

◆ ARC_ConsoleKey_EqualsPointer()

- -
-
- - - - - - - - - - - -
ARC_Bool ARC_ConsoleKey_EqualsPointer (ARC_ConsoleKey * consoleKey,
enum ARC_ConsoleKey_Key key )
-
- -

Definition at line 24 of file key.c.

-
24 {
-
25 return consoleKey->key == ARC_Keyboard_GetConsoleKey(key).key;
-
26}
-
-

References ARC_Keyboard_GetConsoleKey(), and ARC_ConsoleKeyType::key.

- -
-
- -

◆ ARC_ConsoleKey_GetCharFromKey()

- -
-
- - - - - - - -
uint8_t ARC_ConsoleKey_GetCharFromKey (ARC_ConsoleKey * consoleKey)
-
- -

Definition at line 169 of file key.c.

-
169 {
-
170 return consoleKey->key;
-
171}
-
-

References ARC_ConsoleKeyType::key.

- -
-
- -

◆ ARC_Keyboard_GetConsoleKey()

- -
-
- - - - - - - -
ARC_ConsoleKey ARC_Keyboard_GetConsoleKey (enum ARC_ConsoleKey_Key key)
-
- -

Definition at line 28 of file key.c.

-
28 {
-
29 switch(key){
- -
31 return (ARC_ConsoleKey){ (int32_t)'a' };
-
32
- -
34 return (ARC_ConsoleKey){ (int32_t)'b' };
-
35
- -
37 return (ARC_ConsoleKey){ (int32_t)'c' };
-
38
- -
40 return (ARC_ConsoleKey){ (int32_t)'d' };
-
41
- -
43 return (ARC_ConsoleKey){ (int32_t)'e' };
-
44
- -
46 return (ARC_ConsoleKey){ (int32_t)'f' };
-
47
- -
49 return (ARC_ConsoleKey){ (int32_t)'g' };
-
50
- -
52 return (ARC_ConsoleKey){ (int32_t)'h' };
-
53
- -
55 return (ARC_ConsoleKey){ (int32_t)'i' };
-
56
- -
58 return (ARC_ConsoleKey){ (int32_t)'j' };
-
59
- -
61 return (ARC_ConsoleKey){ (int32_t)'k' };
-
62
- -
64 return (ARC_ConsoleKey){ (int32_t)'l' };
-
65
- -
67 return (ARC_ConsoleKey){ (int32_t)'m' };
-
68
- -
70 return (ARC_ConsoleKey){ (int32_t)'n' };
-
71
- -
73 return (ARC_ConsoleKey){ (int32_t)'o' };
-
74
- -
76 return (ARC_ConsoleKey){ (int32_t)'p' };
-
77
- -
79 return (ARC_ConsoleKey){ (int32_t)'q' };
-
80
- -
82 return (ARC_ConsoleKey){ (int32_t)'r' };
-
83
- -
85 return (ARC_ConsoleKey){ (int32_t)'s' };
-
86
- -
88 return (ARC_ConsoleKey){ (int32_t)'t' };
-
89
- -
91 return (ARC_ConsoleKey){ (int32_t)'u' };
-
92
- -
94 return (ARC_ConsoleKey){ (int32_t)'v' };
-
95
- -
97 return (ARC_ConsoleKey){ (int32_t)'w' };
-
98
- -
100 return (ARC_ConsoleKey){ (int32_t)'x' };
-
101
- -
103 return (ARC_ConsoleKey){ (int32_t)'y' };
-
104
- -
106 return (ARC_ConsoleKey){ (int32_t)'z' };
-
107
- -
109 return (ARC_ConsoleKey){ (int32_t)'0' };
-
110
- -
112 return (ARC_ConsoleKey){ (int32_t)'1' };
-
113
- -
115 return (ARC_ConsoleKey){ (int32_t)'2' };
-
116
- -
118 return (ARC_ConsoleKey){ (int32_t)'3' };
-
119
- -
121 return (ARC_ConsoleKey){ (int32_t)'4' };
-
122
- -
124 return (ARC_ConsoleKey){ (int32_t)'5' };
-
125
- -
127 return (ARC_ConsoleKey){ (int32_t)'6' };
-
128
- -
130 return (ARC_ConsoleKey){ (int32_t)'7' };
-
131
- -
133 return (ARC_ConsoleKey){ (int32_t)'8' };
-
134
- -
136 return (ARC_ConsoleKey){ (int32_t)'9' };
-
137
- -
139 return (ARC_ConsoleKey){ KEY_UP };
-
140
- -
142 return (ARC_ConsoleKey){ KEY_DOWN };
-
143
- -
145 return (ARC_ConsoleKey){ KEY_LEFT };
-
146
- -
148 return (ARC_ConsoleKey){ KEY_RIGHT };
-
149
- -
151 return (ARC_ConsoleKey){ (int32_t)'/' };
-
152
- -
154 return (ARC_ConsoleKey){ KEY_BACKSPACE };
-
155
-
156 //TODO: This should probs be KEY_ENTER, but idk why it wasn't working
- -
158 return (ARC_ConsoleKey){ 10 };
-
159
-
160 //TODO: This is escape and alt, need to fix
- -
162 return (ARC_ConsoleKey){ 27 };
-
163
-
164 default:
-
165 return (ARC_ConsoleKey){ 0 };
-
166 }
-
167}
-
-

References ARC_CONSOLE_KEY_0, ARC_CONSOLE_KEY_1, ARC_CONSOLE_KEY_2, ARC_CONSOLE_KEY_3, ARC_CONSOLE_KEY_4, ARC_CONSOLE_KEY_5, ARC_CONSOLE_KEY_6, ARC_CONSOLE_KEY_7, ARC_CONSOLE_KEY_8, ARC_CONSOLE_KEY_9, ARC_CONSOLE_KEY_A, ARC_CONSOLE_KEY_B, ARC_CONSOLE_KEY_BACKSPACE, ARC_CONSOLE_KEY_C, ARC_CONSOLE_KEY_D, ARC_CONSOLE_KEY_DOWN, ARC_CONSOLE_KEY_E, ARC_CONSOLE_KEY_ENTER, ARC_CONSOLE_KEY_ESC, ARC_CONSOLE_KEY_F, ARC_CONSOLE_KEY_FORWARD_SLASH, ARC_CONSOLE_KEY_G, ARC_CONSOLE_KEY_H, ARC_CONSOLE_KEY_I, ARC_CONSOLE_KEY_J, ARC_CONSOLE_KEY_K, ARC_CONSOLE_KEY_L, ARC_CONSOLE_KEY_LEFT, ARC_CONSOLE_KEY_M, ARC_CONSOLE_KEY_N, ARC_CONSOLE_KEY_O, ARC_CONSOLE_KEY_P, ARC_CONSOLE_KEY_Q, ARC_CONSOLE_KEY_R, ARC_CONSOLE_KEY_RIGHT, ARC_CONSOLE_KEY_S, ARC_CONSOLE_KEY_T, ARC_CONSOLE_KEY_U, ARC_CONSOLE_KEY_UP, ARC_CONSOLE_KEY_V, ARC_CONSOLE_KEY_W, ARC_CONSOLE_KEY_X, ARC_CONSOLE_KEY_Y, and ARC_CONSOLE_KEY_Z.

- -

Referenced by ARC_ConsoleKey_Equals(), and ARC_ConsoleKey_EqualsPointer().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/d9f/include_2arc_2console_2key_8h.js b/doc/doxygen/html/d5/d9f/include_2arc_2console_2key_8h.js deleted file mode 100644 index 285dca9..0000000 --- a/doc/doxygen/html/d5/d9f/include_2arc_2console_2key_8h.js +++ /dev/null @@ -1,57 +0,0 @@ -var include_2arc_2console_2key_8h = -[ - [ "ARC_ConsoleKey", "d5/d9f/include_2arc_2console_2key_8h.html#a3ebebed0f47c13fcbcdb865a7c208eaa", null ], - [ "ARC_ConsoleKey_Key", "d5/d9f/include_2arc_2console_2key_8h.html#abf4fe53e5af579c24efd7076703b202b", null ], - [ "ARC_ConsoleKey_Key", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1e", [ - [ "ARC_CONSOLE_KEY_A", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaae49690e84cebcaf49ff18d8ff508590", null ], - [ "ARC_CONSOLE_KEY_B", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea1e118b5d6563d6f3f5e823d26e474bdb", null ], - [ "ARC_CONSOLE_KEY_C", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea4fc72ce7e382deb9d940716b634b31b8", null ], - [ "ARC_CONSOLE_KEY_D", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea3c6b33e508fa7058cf4b55db4e27a08a", null ], - [ "ARC_CONSOLE_KEY_E", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaf2b4d5542474ed9431892d799f4ab093", null ], - [ "ARC_CONSOLE_KEY_F", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eabc2b32671cc6ab84a486cfab8c983094", null ], - [ "ARC_CONSOLE_KEY_G", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eab47f3aae55505e7c2e28da2420b12b17", null ], - [ "ARC_CONSOLE_KEY_H", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaa7de94b4e7e8982ed7d071f3b7ed5f8c", null ], - [ "ARC_CONSOLE_KEY_I", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaa85d741b77329be754015947269b4e66", null ], - [ "ARC_CONSOLE_KEY_J", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea967d77630ab37fb0ff64d947c4e741b9", null ], - [ "ARC_CONSOLE_KEY_K", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea04955c97cd091bbbb4322e1d9bb99d36", null ], - [ "ARC_CONSOLE_KEY_L", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea179d2de263a6ccf12cc3176338356b2e", null ], - [ "ARC_CONSOLE_KEY_M", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaa93ae0b8e66442d817791c1b7b147488", null ], - [ "ARC_CONSOLE_KEY_N", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eabde1f3c5fe088370a098c076bf9724b5", null ], - [ "ARC_CONSOLE_KEY_O", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaf25139c341fee1cc5406a336c989af50", null ], - [ "ARC_CONSOLE_KEY_P", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea77459979ee1b3c784f1709d46ff95c62", null ], - [ "ARC_CONSOLE_KEY_Q", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaea3a47afd723e42cc16835b242d7f926", null ], - [ "ARC_CONSOLE_KEY_R", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eab93cfbe9c4eec37e15216dd1396eb7cf", null ], - [ "ARC_CONSOLE_KEY_S", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea3532c4036d2f0eec6c914fc4e773daae", null ], - [ "ARC_CONSOLE_KEY_T", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea6bbfd0af0e818c9dc4d881773dabecad", null ], - [ "ARC_CONSOLE_KEY_U", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea94d6cc9acfbfb818f6686da16cb5fa52", null ], - [ "ARC_CONSOLE_KEY_V", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea942bdcec9ab45363710eec185901bf71", null ], - [ "ARC_CONSOLE_KEY_W", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eac972a8eabb863849c10b0de8d0fbaf34", null ], - [ "ARC_CONSOLE_KEY_X", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea1ffe4f27d2592a19d47390a0617429af", null ], - [ "ARC_CONSOLE_KEY_Y", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ead837e54f9914911647b1a2428cc4a4d3", null ], - [ "ARC_CONSOLE_KEY_Z", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea282424a47de31a39c5d198d5bf18e1b4", null ], - [ "ARC_CONSOLE_KEY_0", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eae1a210f1a445af7430637e6f5b2a4e61", null ], - [ "ARC_CONSOLE_KEY_1", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea69cfd082a66ca38eff22f12d6cbdd0d8", null ], - [ "ARC_CONSOLE_KEY_2", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea79f30b6c503876bcc53fa36d5c755f78", null ], - [ "ARC_CONSOLE_KEY_3", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea8f8980e0ccd0786edcf01a4c06ee3a20", null ], - [ "ARC_CONSOLE_KEY_4", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaa0b4ce1647776530585c6eda9fcea796", null ], - [ "ARC_CONSOLE_KEY_5", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ead0ad6cc4dad061479ca8e4c247c74789", null ], - [ "ARC_CONSOLE_KEY_6", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eabd7a858686ecf89dc12f1d7afaf2e7e8", null ], - [ "ARC_CONSOLE_KEY_7", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea24e8f85a543f0532c90f3ba9e9168a74", null ], - [ "ARC_CONSOLE_KEY_8", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea17296c77bcf6b4e91f5ff28a369d855f", null ], - [ "ARC_CONSOLE_KEY_9", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eac3e2e5162ff19d849d3b7ce2d0844a98", null ], - [ "ARC_CONSOLE_KEY_LEFT", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea9232e7a7fe2de60c5c09a130536d96b9", null ], - [ "ARC_CONSOLE_KEY_RIGHT", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eadc70b61b2563025f61725bc08db8015e", null ], - [ "ARC_CONSOLE_KEY_DOWN", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea5f94a8912ef637b292c102f689be4afc", null ], - [ "ARC_CONSOLE_KEY_UP", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea2f263d9b30b5b64d65eac0b2205f1631", null ], - [ "ARC_CONSOLE_KEY_FORWARD_SLASH", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea4d906236af11100bc72933af1ae133fc", null ], - [ "ARC_CONSOLE_KEY_BACKSPACE", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eae6b1ba7866d52950a39d42ce24b0a22e", null ], - [ "ARC_CONSOLE_KEY_ENTER", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eac859fab526f4d71bf3faf3a82f852eca", null ], - [ "ARC_CONSOLE_KEY_ESC", "d5/d9f/include_2arc_2console_2key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaf7424c2d7b9dbfeccc5a2df61cfec026", null ] - ] ], - [ "ARC_ConsoleKey_Create", "d5/d9f/include_2arc_2console_2key_8h.html#a48d569403d14309ba282c17480222f14", null ], - [ "ARC_ConsoleKey_Destroy", "d5/d9f/include_2arc_2console_2key_8h.html#a94bce610020b4ffedfca750dfab9f64f", null ], - [ "ARC_ConsoleKey_Equals", "d5/d9f/include_2arc_2console_2key_8h.html#a21adaf1532cd07c0fbd15dae666a78e4", null ], - [ "ARC_ConsoleKey_EqualsPointer", "d5/d9f/include_2arc_2console_2key_8h.html#aca1101b2438999030c704fdd34cb8bc4", null ], - [ "ARC_ConsoleKey_GetCharFromKey", "d5/d9f/include_2arc_2console_2key_8h.html#a6195997575cc3db00c9cb65c4abdf2fa", null ], - [ "ARC_Keyboard_GetConsoleKey", "d5/d9f/include_2arc_2console_2key_8h.html#a2eb80aaafb56b165be91bdc3cea1a3fb", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d5/d9f/include_2arc_2console_2key_8h_source.html b/doc/doxygen/html/d5/d9f/include_2arc_2console_2key_8h_source.html deleted file mode 100644 index 719e609..0000000 --- a/doc/doxygen/html/d5/d9f/include_2arc_2console_2key_8h_source.html +++ /dev/null @@ -1,267 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/console/key.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
key.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_CONSOLE_KEY_H_
-
2#define ARC_CONSOLE_KEY_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include "arc/std/bool.h"
-
9#include <stdint.h>
-
10
- -
12
- -
65
- -
67
- -
69
- -
71
- -
73
- -
75
- -
77
-
78#ifdef __cplusplus
-
79}
-
80#endif
-
81
-
82#endif // !ARC_CONSOLE_KEY_H_
- -
#define ARC_Bool
Definition bool.h:10
-
ARC_ConsoleKey_Key
Definition key.h:13
-
@ ARC_CONSOLE_KEY_K
Definition key.h:24
-
@ ARC_CONSOLE_KEY_8
Definition key.h:49
-
@ ARC_CONSOLE_KEY_L
Definition key.h:25
-
@ ARC_CONSOLE_KEY_B
Definition key.h:15
-
@ ARC_CONSOLE_KEY_X
Definition key.h:37
-
@ ARC_CONSOLE_KEY_7
Definition key.h:48
-
@ ARC_CONSOLE_KEY_Z
Definition key.h:39
-
@ ARC_CONSOLE_KEY_UP
Definition key.h:55
-
@ ARC_CONSOLE_KEY_S
Definition key.h:32
-
@ ARC_CONSOLE_KEY_D
Definition key.h:17
-
@ ARC_CONSOLE_KEY_FORWARD_SLASH
Definition key.h:57
-
@ ARC_CONSOLE_KEY_C
Definition key.h:16
-
@ ARC_CONSOLE_KEY_DOWN
Definition key.h:54
-
@ ARC_CONSOLE_KEY_1
Definition key.h:42
-
@ ARC_CONSOLE_KEY_T
Definition key.h:33
-
@ ARC_CONSOLE_KEY_P
Definition key.h:29
-
@ ARC_CONSOLE_KEY_2
Definition key.h:43
-
@ ARC_CONSOLE_KEY_3
Definition key.h:44
-
@ ARC_CONSOLE_KEY_LEFT
Definition key.h:52
-
@ ARC_CONSOLE_KEY_V
Definition key.h:35
-
@ ARC_CONSOLE_KEY_U
Definition key.h:34
-
@ ARC_CONSOLE_KEY_J
Definition key.h:23
-
@ ARC_CONSOLE_KEY_4
Definition key.h:45
-
@ ARC_CONSOLE_KEY_H
Definition key.h:21
-
@ ARC_CONSOLE_KEY_I
Definition key.h:22
-
@ ARC_CONSOLE_KEY_M
Definition key.h:26
-
@ ARC_CONSOLE_KEY_A
Definition key.h:14
-
@ ARC_CONSOLE_KEY_G
Definition key.h:20
-
@ ARC_CONSOLE_KEY_R
Definition key.h:31
-
@ ARC_CONSOLE_KEY_F
Definition key.h:19
-
@ ARC_CONSOLE_KEY_6
Definition key.h:47
-
@ ARC_CONSOLE_KEY_N
Definition key.h:27
-
@ ARC_CONSOLE_KEY_9
Definition key.h:50
-
@ ARC_CONSOLE_KEY_ENTER
Definition key.h:61
-
@ ARC_CONSOLE_KEY_W
Definition key.h:36
-
@ ARC_CONSOLE_KEY_5
Definition key.h:46
-
@ ARC_CONSOLE_KEY_Y
Definition key.h:38
-
@ ARC_CONSOLE_KEY_RIGHT
Definition key.h:53
-
@ ARC_CONSOLE_KEY_0
Definition key.h:41
-
@ ARC_CONSOLE_KEY_BACKSPACE
Definition key.h:59
-
@ ARC_CONSOLE_KEY_Q
Definition key.h:30
-
@ ARC_CONSOLE_KEY_O
Definition key.h:28
-
@ ARC_CONSOLE_KEY_E
Definition key.h:18
-
@ ARC_CONSOLE_KEY_ESC
Definition key.h:63
-
ARC_Bool ARC_ConsoleKey_Equals(ARC_ConsoleKey consoleKey, enum ARC_ConsoleKey_Key key)
Definition key.c:20
-
ARC_ConsoleKey ARC_Keyboard_GetConsoleKey(enum ARC_ConsoleKey_Key key)
Definition key.c:28
-
void ARC_ConsoleKey_Create(ARC_ConsoleKey **consoleKey, ARC_ConsoleKey_Key *key)
Definition key.c:7
-
uint8_t ARC_ConsoleKey_GetCharFromKey(ARC_ConsoleKey *consoleKey)
Definition key.c:169
-
void ARC_ConsoleKey_Destroy(ARC_ConsoleKey *consoleKey)
Definition key.c:16
-
ARC_Bool ARC_ConsoleKey_EqualsPointer(ARC_ConsoleKey *consoleKey, enum ARC_ConsoleKey_Key key)
Definition key.c:24
- -
int32_t key
Definition key.h:12
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/da2/structARC__QueueNode.html b/doc/doxygen/html/d5/da2/structARC__QueueNode.html deleted file mode 100644 index 93330c1..0000000 --- a/doc/doxygen/html/d5/da2/structARC__QueueNode.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - - - -Archeus: ARC_QueueNode Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_QueueNode Struct Reference
-
-
- - - - - - -

-Data Fields

ARC_QueueNodenext
 
void * data
 
-

Detailed Description

-
-

Definition at line 8 of file queue.c.

-

Field Documentation

- -

◆ data

- -
-
- - - - -
void* ARC_QueueNode::data
-
- -

Definition at line 10 of file queue.c.

- -

Referenced by ARC_Queue_Pop(), and ARC_Queue_Push().

- -
-
- -

◆ next

- -
-
- - - - -
ARC_QueueNode* ARC_QueueNode::next
-
- -

Definition at line 9 of file queue.c.

- -

Referenced by ARC_Queue_Pop(), and ARC_Queue_Push().

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/src/std/queue.c
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/da2/structARC__QueueNode.js b/doc/doxygen/html/d5/da2/structARC__QueueNode.js deleted file mode 100644 index b7317e9..0000000 --- a/doc/doxygen/html/d5/da2/structARC__QueueNode.js +++ /dev/null @@ -1,5 +0,0 @@ -var structARC__QueueNode = -[ - [ "data", "d5/da2/structARC__QueueNode.html#afa52acc0d0648fd9e1935e6ef0f4309c", null ], - [ "next", "d5/da2/structARC__QueueNode.html#a10953e098f8189e8fd17aac1af508719", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d5/da3/tests_8dir_2src_2std_2vector_8c_8o_8d.html b/doc/doxygen/html/d5/da3/tests_8dir_2src_2std_2vector_8c_8o_8d.html deleted file mode 100644 index c8da3fa..0000000 --- a/doc/doxygen/html/d5/da3/tests_8dir_2src_2std_2vector_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/vector.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
vector.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d5/da3/tests_8dir_2src_2std_2vector_8c_8o_8d_source.html b/doc/doxygen/html/d5/da3/tests_8dir_2src_2std_2vector_8c_8o_8d_source.html deleted file mode 100644 index 7a5ac2c..0000000 --- a/doc/doxygen/html/d5/da3/tests_8dir_2src_2std_2vector_8c_8o_8d_source.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/vector.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
vector.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/std/vector.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/vector.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/vector.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
6 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
7 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
8 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
9 /usr/include/features.h /usr/include/features-time64.h \
-
10 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
11 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
12 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
13 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
14 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
15 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
16 /usr/include/bits/stdint-least.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
18 /usr/include/stdio.h \
-
19 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
21 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
22 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
23 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
24 /usr/include/bits/types/cookie_io_functions_t.h \
-
25 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
26 /usr/include/bits/floatn-common.h /usr/include/stdlib.h \
-
27 /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
-
28 /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \
-
29 /usr/include/bits/types/clockid_t.h /usr/include/bits/types/time_t.h \
-
30 /usr/include/bits/types/timer_t.h /usr/include/endian.h \
-
31 /usr/include/bits/endian.h /usr/include/bits/endianness.h \
-
32 /usr/include/bits/byteswap.h /usr/include/bits/uintn-identity.h \
-
33 /usr/include/sys/select.h /usr/include/bits/select.h \
-
34 /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \
-
35 /usr/include/bits/types/struct_timeval.h \
-
36 /usr/include/bits/types/struct_timespec.h \
-
37 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
38 /usr/include/bits/pthreadtypes-arch.h \
-
39 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
40 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
41 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/da8/src_2std_2parser_2parserlang_8c.html b/doc/doxygen/html/d5/da8/src_2std_2parser_2parserlang_8c.html deleted file mode 100644 index 282b6ef..0000000 --- a/doc/doxygen/html/d5/da8/src_2std_2parser_2parserlang_8c.html +++ /dev/null @@ -1,996 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/parser/parserlang.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
parserlang.c File Reference
-
-
-
#include "arc/std/parser/parserlang.h"
-#include "arc/std/bool.h"
-#include "arc/std/errno.h"
-#include "arc/std/lexer.h"
-#include "arc/std/parser.h"
-#include "arc/std/string.h"
-#include "arc/std/vector.h"
-#include <stddef.h>
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_ParserLang_InitLexerRulesFn (ARC_Lexer *lexer)
 
void ARC_ParserLang_VectorDestroyVectorFn (void *data)
 
void ARC_ParserLang_VectorDestroyUInt32Fn (void *data)
 
void ARC_ParserLang_VectorDestroyParserTagFn (void *data)
 
void ARC_ParserLangParsedData_RecurseStringAdd (ARC_String **data, ARC_ParserTagToken *tagToken)
 
void ARC_ParserLangParsedData_CreateTagString (ARC_String **tagString, ARC_ParserTagToken *tagToken)
 
void ARC_ParserLangParsedData_GetArgumentTag (ARC_Vector *orTokensOrTags, ARC_ParserTagToken *tagToken, ARC_Parser_GetStringIdFn *getStringIdFn)
 
void ARC_ParserLangParsedData_GetArgumentsTag (ARC_Vector *tokensOrTags, ARC_ParserTagToken *tagToken, ARC_Parser_GetStringIdFn *getStringIdFn)
 
void ARC_ParserLangParsedData_CreateBodyTag (ARC_ParserTag **tag, ARC_ParserTagToken *tagToken, ARC_Parser_GetStringIdFn *getStringIdFn)
 
void ARC_ParserLangParsedData_RunLineTag (ARC_Vector *tags, ARC_ParserTagToken *tagToken, ARC_Parser_GetStringIdFn *getStringIdFn)
 
void ARC_ParserLang_CreateDataFn (void **data, ARC_ParserTagToken *parsedData, void *userData)
 
void ARC_ParserLang_DestroyDataFn (void *data, ARC_Bool clear, void *userData)
 
void ARC_ParserLang_CreateAsParser (ARC_Parser **parser, ARC_Parser_GetStringIdFn getStringIdFn)
 creates a parser for the Parser Lang
 
-

Function Documentation

- -

◆ ARC_ParserLang_CreateAsParser()

- -
-
- - - - - - - - - - - -
void ARC_ParserLang_CreateAsParser (ARC_Parser ** parser,
ARC_Parser_GetStringIdFn getStringIdFn )
-
- -

creates a parser for the Parser Lang

-
Note
the rules will be inited for the parser lang
-
-the parsed data will be saved as a vector of ARC_ParserLanguageTag
-
Parameters
- - -
[out]parserthe parser to create
-
-
- -

Definition at line 324 of file parserlang.c.

-
324 {
-
325 //<line> -> <body> NEWLINE <line> | <body> | NEWLINE <line> | LAMBDA
-
326 uint32_t *line[] = { (uint32_t[]){ 3, ARC_PARSERLANG_BODY, ARC_PARSERLANG_TOKEN_NEWLINE_ID, ARC_PARSERLANG_LINE }, (uint32_t[]){ 1, ARC_PARSERLANG_BODY }, (uint32_t[]){ 2, ARC_PARSERLANG_TOKEN_NEWLINE_ID, ARC_PARSERLANG_LINE }, (uint32_t[]){ 1, ARC_PARSERLANG_LAMBDA } };
-
327
-
328 //<body> -> <tag> <whitespace> ARROW <whitespace> <arguments>
- -
330
-
331 //<arguments> -> <argument> <whitespace> OR <whitespace> <arguments> | <argument>
- -
333
-
334 //<argument> -> <tagOrConstant> <whitespace> <argument> | <tagOrConstant>
-
335 uint32_t *argument[] = { (uint32_t[]){ 3, ARC_PARSERLANG_TAG_OR_CONSTANT, ARC_PARSERLANG_WHITESPACE, ARC_PARSERLANG_ARGUMENT }, (uint32_t[]){ 1, ARC_PARSERLANG_TAG_OR_CONSTANT } };
-
336
-
337 //<tagOrConstant> -> <parserLangageTag> | <constant>
-
338 uint32_t *tagOrConstant[] = { (uint32_t[]){ 1, ARC_PARSERLANG_TAG }, (uint32_t[]){ 1, ARC_PARSERLANG_CONSTANT } };
-
339
-
340 //<constant> -> ALPHA_UPPER_CHAR <constantBody>
-
341 uint32_t *constant[] = { (uint32_t[]){ 2, ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR, ARC_PARSERLANG_CONSTANT_BODY } };
-
342
-
343 //<constantBody> -> <constantChar> <constantBody> | LAMBDA
-
344 uint32_t *constantBody[] = { (uint32_t[]){ 2, ARC_PARSERLANG_CONSTANT_CHAR, ARC_PARSERLANG_CONSTANT_BODY }, (uint32_t[]){ 1, ARC_PARSERLANG_LAMBDA } };
-
345
-
346 //<constantChar> -> ALPHA_UPPER_CHAR | UNDERSCORE
-
347 uint32_t *constantChar[] = { (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR }, (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_UNDERSCORE_ID } };
-
348
-
349 //<tag> -> LESS_THAN <variable> GREATER_THAN
- -
351
-
352 //<variable> -> <alphaChar> <variableBody> | UNDERSCORE <variableBody>
-
353 uint32_t *variable[] = { (uint32_t[]){ 2, ARC_PARSERLANG_ALPHA_CHAR, ARC_PARSERLANG_VARIABLE_BODY }, (uint32_t[]){ 2, ARC_PARSERLANG_TOKEN_UNDERSCORE_ID, ARC_PARSERLANG_VARIABLE_BODY } };
-
354
-
355 //<variableBody> -> <variableChar> <variableBody> | LAMBDA
-
356 uint32_t *variableBody[] = { (uint32_t[]){ 2, ARC_PARSERLANG_VARIABLE_CHAR, ARC_PARSERLANG_VARIABLE_BODY }, (uint32_t[]){ 1, ARC_PARSERLANG_LAMBDA } };
-
357
-
358 //<variableChar> -> <alphaChar> | NUMBER | UNDERSCORE
-
359 uint32_t *variableChar[] = { (uint32_t[]){ 1, ARC_PARSERLANG_ALPHA_CHAR }, (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_NUMBER }, (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_UNDERSCORE_ID } };
-
360
-
361 //<alphaChar> -> ALPHA_LOWER_CHAR | ALPHA_UPPER_CHAR
-
362 uint32_t *alphaChar[] = { (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_ALPHA_LOWER_CHAR }, (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR }};
-
363
-
364 //<whitespace> -> WHITESPACE <whitespace> | WHITESPACE
-
365 uint32_t *whitespace[] = { (uint32_t[]){ 2, ARC_PARSERLANG_TOKEN_WHITESPACE, ARC_PARSERLANG_WHITESPACE }, (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_WHITESPACE }};
-
366
-
367 ARC_ParserTag parserLangTags[14] = {
-
368 { ARC_PARSERLANG_LINE , line , 4 },
-
369 { ARC_PARSERLANG_BODY , body , 1 },
-
370 { ARC_PARSERLANG_ARGUMENTS , arguments , 2 },
-
371 { ARC_PARSERLANG_ARGUMENT , argument , 2 },
-
372 { ARC_PARSERLANG_TAG_OR_CONSTANT, tagOrConstant, 2 },
-
373 { ARC_PARSERLANG_CONSTANT , constant , 1 },
-
374 { ARC_PARSERLANG_CONSTANT_BODY , constantBody , 2 },
-
375 { ARC_PARSERLANG_CONSTANT_CHAR , constantChar , 2 },
-
376 { ARC_PARSERLANG_TAG , tag , 1 },
-
377 { ARC_PARSERLANG_VARIABLE , variable , 2 },
-
378 { ARC_PARSERLANG_VARIABLE_BODY , variableBody , 2 },
-
379 { ARC_PARSERLANG_VARIABLE_CHAR , variableChar , 3 },
-
380 { ARC_PARSERLANG_ALPHA_CHAR , alphaChar , 2 },
-
381 { ARC_PARSERLANG_WHITESPACE , whitespace , 2 }
-
382 };
-
383
-
384 ARC_Array parserLanguageArray = {
-
385 14, //size
-
386 parserLangTags //data
-
387 };
-
388
- - -
391
-
392 //this will be cleaned up by the destroyDataFn
- -
394 *newGetStringIdFn = getStringIdFn;
-
395
-
396 //create the parserlang
-
397 ARC_Parser_Create(parser, &parserLanguageArray, ARC_ParserLang_InitLexerRulesFn, &createDataFn, &destroyDataFn, (void *)newGetStringIdFn);
-
398}
-
void ARC_Parser_Create(ARC_Parser **parser, ARC_Array *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
creates an ARC_Parser type
Definition parser.c:24
-
uint32_t(* ARC_Parser_GetStringIdFn)(ARC_String *string)
TODO: write this.
Definition parser.h:52
-
void(* ARC_ParserData_CreateFn)(void **data, ARC_ParserTagToken *parsedData, void *userData)
TODO: write this.
Definition parser.h:57
-
void(* ARC_ParserData_DestroyFn)(void *data, ARC_Bool clear, void *userData)
TODO: write this.
Definition parser.h:62
-
#define ARC_PARSERLANG_CONSTANT_CHAR
Definition parserlang.h:69
-
#define ARC_PARSERLANG_TAG
Definition parserlang.h:70
-
#define ARC_PARSERLANG_ALPHA_CHAR
Definition parserlang.h:74
-
#define ARC_PARSERLANG_TOKEN_NEWLINE_ID
Definition parserlang.h:47
-
#define ARC_PARSERLANG_BODY
Definition parserlang.h:63
-
#define ARC_PARSERLANG_WHITESPACE
Definition parserlang.h:75
-
#define ARC_PARSERLANG_CONSTANT
Definition parserlang.h:67
-
#define ARC_PARSERLANG_TOKEN_NUMBER
Definition parserlang.h:42
-
#define ARC_PARSERLANG_TAG_OR_CONSTANT
Definition parserlang.h:66
-
#define ARC_PARSERLANG_TOKEN_ARROW_ID
Definition parserlang.h:58
-
#define ARC_PARSERLANG_TOKEN_LESS_THAN_ID
Definition parserlang.h:49
-
#define ARC_PARSERLANG_TOKEN_GREATER_THAN_ID
Definition parserlang.h:51
-
#define ARC_PARSERLANG_TOKEN_OR_ID
Definition parserlang.h:53
-
#define ARC_PARSERLANG_TOKEN_WHITESPACE
Definition parserlang.h:45
-
#define ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR
Definition parserlang.h:44
-
#define ARC_PARSERLANG_LINE
Definition parserlang.h:62
-
#define ARC_PARSERLANG_VARIABLE_BODY
Definition parserlang.h:72
-
#define ARC_PARSERLANG_VARIABLE_CHAR
Definition parserlang.h:73
-
#define ARC_PARSERLANG_CONSTANT_BODY
Definition parserlang.h:68
-
#define ARC_PARSERLANG_TOKEN_ALPHA_LOWER_CHAR
Definition parserlang.h:43
-
#define ARC_PARSERLANG_ARGUMENT
Definition parserlang.h:65
-
#define ARC_PARSERLANG_TOKEN_UNDERSCORE_ID
Definition parserlang.h:55
-
#define ARC_PARSERLANG_ARGUMENTS
Definition parserlang.h:64
-
#define ARC_PARSERLANG_VARIABLE
Definition parserlang.h:71
-
#define ARC_PARSERLANG_LAMBDA
Definition parserlang.h:61
-
void ARC_ParserLang_CreateDataFn(void **data, ARC_ParserTagToken *parsedData, void *userData)
Definition parserlang.c:286
-
void ARC_ParserLang_DestroyDataFn(void *data, ARC_Bool clear, void *userData)
Definition parserlang.c:312
-
void ARC_ParserLang_InitLexerRulesFn(ARC_Lexer *lexer)
Definition parserlang.c:12
-
a type that holds an array of data and its size
Definition array.h:13
-
a langue tag type for the parser //TODO: explain this better
Definition parser.h:21
-
-

References ARC_Parser_Create(), ARC_PARSERLANG_ALPHA_CHAR, ARC_PARSERLANG_ARGUMENT, ARC_PARSERLANG_ARGUMENTS, ARC_PARSERLANG_BODY, ARC_PARSERLANG_CONSTANT, ARC_PARSERLANG_CONSTANT_BODY, ARC_PARSERLANG_CONSTANT_CHAR, ARC_ParserLang_CreateDataFn(), ARC_ParserLang_DestroyDataFn(), ARC_ParserLang_InitLexerRulesFn(), ARC_PARSERLANG_LAMBDA, ARC_PARSERLANG_LINE, ARC_PARSERLANG_TAG, ARC_PARSERLANG_TAG_OR_CONSTANT, ARC_PARSERLANG_TOKEN_ALPHA_LOWER_CHAR, ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR, ARC_PARSERLANG_TOKEN_ARROW_ID, ARC_PARSERLANG_TOKEN_GREATER_THAN_ID, ARC_PARSERLANG_TOKEN_LESS_THAN_ID, ARC_PARSERLANG_TOKEN_NEWLINE_ID, ARC_PARSERLANG_TOKEN_NUMBER, ARC_PARSERLANG_TOKEN_OR_ID, ARC_PARSERLANG_TOKEN_UNDERSCORE_ID, ARC_PARSERLANG_TOKEN_WHITESPACE, ARC_PARSERLANG_VARIABLE, ARC_PARSERLANG_VARIABLE_BODY, ARC_PARSERLANG_VARIABLE_CHAR, and ARC_PARSERLANG_WHITESPACE.

- -

Referenced by ARC_Parser_CreateFromString(), and ARC_TEST().

- -
-
- -

◆ ARC_ParserLang_CreateDataFn()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ParserLang_CreateDataFn (void ** data,
ARC_ParserTagToken * parsedData,
void * userData )
-
- -

Definition at line 286 of file parserlang.c.

-
286 {
-
287 ARC_Parser_GetStringIdFn *getStringIdFn = (ARC_Parser_GetStringIdFn *)userData;
-
288
-
289 //make sure there is parsed data to use
-
290 if(parsedData == NULL){
- -
292 ARC_DEBUG_LOG_ERROR("ARC_ParserLang_CreateDataFn(void **data, ARC_ParserTagToken *parsedData, void *userData), parsedData was NULL when passed in");
-
293 return;
-
294 }
-
295
-
296 //function callback to cleanup added tags
- -
298
-
299 //I don't see a reason to have a comparison function right now. this might change in the future
-
300 ARC_Vector_Create((ARC_Vector **)data, NULL, &destroyParserTagFn);
-
301
-
302 //check if there are any tags (thes could be empty if a file is blank)
-
303 if(parsedData->tagTokens == NULL){
-
304 return;
-
305 }
-
306
-
307 //load the language into a vector recursivly
-
308 ARC_ParserLangParsedData_RunLineTag(*((ARC_Vector **)data), parsedData, getStringIdFn);
-
309}
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
void ARC_ParserLang_VectorDestroyParserTagFn(void *data)
Definition parserlang.c:53
-
void ARC_ParserLangParsedData_RunLineTag(ARC_Vector *tags, ARC_ParserTagToken *tagToken, ARC_Parser_GetStringIdFn *getStringIdFn)
Definition parserlang.c:259
-
ARC_Vector * tagTokens
Definition parser.h:39
-
a private dynamic array type
Definition vector.c:12
-
void(* ARC_Vector_DestroyDataFn)(void *data)
a callback that cleans up memory when it is removed from the vector
Definition vector.h:31
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:31
-
-

References ARC_DEBUG_LOG_ERROR, arc_errno, ARC_ERRNO_NULL, ARC_ParserLang_VectorDestroyParserTagFn(), ARC_ParserLangParsedData_RunLineTag(), ARC_Vector_Create(), and ARC_ParserTagToken::tagTokens.

- -

Referenced by ARC_ParserLang_CreateAsParser().

- -
-
- -

◆ ARC_ParserLang_DestroyDataFn()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ParserLang_DestroyDataFn (void * data,
ARC_Bool clear,
void * userData )
-
- -

Definition at line 312 of file parserlang.c.

-
312 {
-
313 if(userData != NULL){
-
314 ARC_Parser_GetStringIdFn *getStringIdFn = (ARC_Parser_GetStringIdFn *)userData;
-
315 free(getStringIdFn);
-
316 }
-
317
-
318 //if not clearing (full destroy) check if there is data to free
-
319 if(clear == ARC_False && (ARC_Vector *)data != NULL){
- -
321 }
-
322}
-
#define ARC_False
Definition bool.h:12
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:54
-
-

References ARC_False, and ARC_Vector_Destroy().

- -

Referenced by ARC_ParserLang_CreateAsParser().

- -
-
- -

◆ ARC_ParserLang_InitLexerRulesFn()

- -
-
- - - - - - - -
void ARC_ParserLang_InitLexerRulesFn (ARC_Lexer * lexer)
-
- -

Definition at line 12 of file parserlang.c.

-
12 {
-
13 //null
- -
15
-
16 //number
- -
18
-
19 //alpha char
- - -
22
-
23 //whitespace
-
24 ARC_String *whitespaceString;
-
25 ARC_String_CreateWithStrlen(&whitespaceString, " \t");
- -
27 ARC_String_Destroy(whitespaceString);
-
28
-
29 //single char tokens
- - - - - -
35
-
36 //arrow
-
37 ARC_String *arrowString;
- - -
40 ARC_String_Destroy(arrowString);
-
41}
-
#define ARC_LEXER_TOKEN_WHITESPACE
Definition lexer.h:252
-
void ARC_Lexer_RegisterTokenRule(ARC_Lexer *lexer, ARC_LexerTokenRule tokenRule)
adds a token rule to a lexer
Definition lexer.c:79
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchStringRule(uint32_t id, ARC_String *string)
creates a ARC_LexerTokenRule with a given id and string
Definition lexer.c:428
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharRule(uint32_t id, char character)
creates a ARC_LexerTokenRule with a given id and character
Definition lexer.c:378
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween(uint32_t id, char start, char end)
creates a ARC_LexerTokenRule with a given id and character range
Definition lexer.c:400
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule(uint32_t id, ARC_String *string)
creates a ARC_LexerTokenRule with a given id and string
Definition lexer.c:450
-
#define ARC_PARSERLANG_TOKEN_OR_CHAR
Definition parserlang.h:54
-
#define ARC_PARSERLANG_TOKEN_UNDERSCORE_CHAR
Definition parserlang.h:56
-
#define ARC_PARSERLANG_TOKEN_GREATER_THAN_CHAR
Definition parserlang.h:52
-
#define ARC_PARSERLANG_TOKEN_NEWLINE_CHAR
Definition parserlang.h:48
-
#define ARC_PARSERLANG_TOKEN_NULL
Definition parserlang.h:41
-
#define ARC_PARSERLANG_TOKEN_ARROW_CSTRING
Definition parserlang.h:59
-
#define ARC_PARSERLANG_TOKEN_LESS_THAN_CHAR
Definition parserlang.h:50
-
void ARC_String_CreateWithStrlen(ARC_String **string, char *data)
creates ARC_String type with strinlen
Definition string.c:32
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
substring position within a string
Definition string.h:14
-
-

References ARC_Lexer_RegisterTokenRule(), ARC_LEXER_TOKEN_WHITESPACE, ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule(), ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween(), ARC_LexerTokenRule_CreateAndReturnMatchCharRule(), ARC_LexerTokenRule_CreateAndReturnMatchStringRule(), ARC_PARSERLANG_TOKEN_ALPHA_LOWER_CHAR, ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR, ARC_PARSERLANG_TOKEN_ARROW_CSTRING, ARC_PARSERLANG_TOKEN_ARROW_ID, ARC_PARSERLANG_TOKEN_GREATER_THAN_CHAR, ARC_PARSERLANG_TOKEN_GREATER_THAN_ID, ARC_PARSERLANG_TOKEN_LESS_THAN_CHAR, ARC_PARSERLANG_TOKEN_LESS_THAN_ID, ARC_PARSERLANG_TOKEN_NEWLINE_CHAR, ARC_PARSERLANG_TOKEN_NEWLINE_ID, ARC_PARSERLANG_TOKEN_NULL, ARC_PARSERLANG_TOKEN_NUMBER, ARC_PARSERLANG_TOKEN_OR_CHAR, ARC_PARSERLANG_TOKEN_OR_ID, ARC_PARSERLANG_TOKEN_UNDERSCORE_CHAR, ARC_PARSERLANG_TOKEN_UNDERSCORE_ID, ARC_String_CreateWithStrlen(), and ARC_String_Destroy().

- -

Referenced by ARC_ParserLang_CreateAsParser().

- -
-
- -

◆ ARC_ParserLang_VectorDestroyParserTagFn()

- -
-
- - - - - - - -
void ARC_ParserLang_VectorDestroyParserTagFn (void * data)
-
- -

Definition at line 53 of file parserlang.c.

-
53 {
-
54 ARC_ParserTag *currentTag = (ARC_ParserTag *)data;
-
55
-
56 //free the orIndex vlues
-
57 for(uint32_t orIndex = 0; orIndex < currentTag->tokensOrTagsSize; orIndex++){
-
58 free(currentTag->tokensOrTags[orIndex]);
-
59 }
-
60
-
61 //free the tokens or tags
-
62 free(currentTag->tokensOrTags);
-
63
-
64 //free the tag itself
-
65 free(currentTag);
-
66}
-
uint32_t tokensOrTagsSize
Definition parser.h:25
-
uint32_t ** tokensOrTags
Definition parser.h:24
-
-

References ARC_ParserTag::tokensOrTags, and ARC_ParserTag::tokensOrTagsSize.

- -

Referenced by ARC_ParserLang_CreateDataFn().

- -
-
- -

◆ ARC_ParserLang_VectorDestroyUInt32Fn()

- -
-
- - - - - - - -
void ARC_ParserLang_VectorDestroyUInt32Fn (void * data)
-
- -

Definition at line 48 of file parserlang.c.

-
48 {
-
49 uint32_t *uint = (uint32_t *)data;
-
50 free(uint);
-
51}
-
-

Referenced by ARC_ParserLangParsedData_CreateBodyTag(), and ARC_ParserLangParsedData_GetArgumentsTag().

- -
-
- -

◆ ARC_ParserLang_VectorDestroyVectorFn()

- -
-
- - - - - - - -
void ARC_ParserLang_VectorDestroyVectorFn (void * data)
-
- -

Definition at line 43 of file parserlang.c.

-
43 {
-
44 ARC_Vector *vector = (ARC_Vector *)data;
-
45 ARC_Vector_Destroy(vector);
-
46}
-
-

References ARC_Vector_Destroy().

- -

Referenced by ARC_ParserLangParsedData_CreateBodyTag().

- -
-
- -

◆ ARC_ParserLangParsedData_CreateBodyTag()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ParserLangParsedData_CreateBodyTag (ARC_ParserTag ** tag,
ARC_ParserTagToken * tagToken,
ARC_Parser_GetStringIdFn * getStringIdFn )
-
- -

Definition at line 196 of file parserlang.c.

-
196 {
-
197 //create the tag to store the body in
-
198 ARC_ParserTag *bodyTag = (ARC_ParserTag *)malloc(sizeof(ARC_ParserTag));
-
199
-
200 /* ~ Tag Id ~ */
-
201 //the first tag will always be the tagId, and as the rule is validated there is no need to check for NULL
-
202 ARC_ParserTagToken *tagIdToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, 0);
-
203
-
204 //get the tagId as a string
-
205 ARC_String *tagIdString;
-
206 ARC_ParserLangParsedData_CreateTagString(&tagIdString, tagIdToken);
-
207
-
208 //get the tag id as a uint32_t
-
209 bodyTag->tagId = (*getStringIdFn)(tagIdString);
-
210
-
211 //cleanup the tagIdString
-
212 ARC_String_Destroy(tagIdString);
-
213
-
214 /* ~ Tokens Or Tags Array ~ */
-
215 //create a vector to store another vector of data
-
216 ARC_Vector *tokensOrTags;
- -
218 ARC_Vector_Create(&tokensOrTags, NULL, &destroyVectorFn);
-
219
-
220 //create vector within the tokens or tags vector to store the or rule in
-
221 ARC_Vector *orTokensOrTags;
- -
223 ARC_Vector_Create(&orTokensOrTags, NULL, &destroyUint32Fn);
-
224
-
225 //add the first or vector to the tokensOrTags
-
226 ARC_Vector_Add(tokensOrTags, (void *)orTokensOrTags);
-
227
-
228 //skipping whitespace and arrow tokens, the arguments index starts at 4
-
229 ARC_ParserTagToken *argumentsToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, 4);
-
230 ARC_ParserLangParsedData_GetArgumentsTag(tokensOrTags, argumentsToken, getStringIdFn);
-
231
-
232 //initialize the tokens or tags array to the needed size
-
233 bodyTag->tokensOrTagsSize = ARC_Vector_GetSize(tokensOrTags);
-
234 bodyTag->tokensOrTags = (uint32_t **)malloc(sizeof(uint32_t *) * bodyTag->tokensOrTagsSize);
-
235
-
236 //copy each or section into the tokensOrTags
-
237 for(uint32_t orIndex = 0; orIndex < bodyTag->tokensOrTagsSize; orIndex++){
-
238 //get the current or vector and its tags
-
239 orTokensOrTags = (ARC_Vector *)ARC_Vector_Get(tokensOrTags, orIndex);
-
240 uint32_t orTokensOrTagsSize = ARC_Vector_GetSize(orTokensOrTags);
-
241
-
242 //create the or array with one extra space and store the size in that space
-
243 bodyTag->tokensOrTags[orIndex] = (uint32_t *)malloc(sizeof(uint32_t) * (orTokensOrTagsSize + 1));
-
244 bodyTag->tokensOrTags[orIndex][0] = orTokensOrTagsSize;
-
245
-
246 //copy the or data to the tokensOrTags
-
247 for(uint32_t tokenOrTagIndex = 0; tokenOrTagIndex < orTokensOrTagsSize; tokenOrTagIndex++){
-
248 bodyTag->tokensOrTags[orIndex][tokenOrTagIndex + 1] = *(uint32_t *)ARC_Vector_Get(orTokensOrTags, tokenOrTagIndex);
-
249 }
-
250 }
-
251
-
252 //set the tag to the bodyTag
-
253 *tag = bodyTag;
-
254
-
255 //cleanup
-
256 ARC_Vector_Destroy(tokensOrTags);
-
257}
-
void ARC_ParserLangParsedData_CreateTagString(ARC_String **tagString, ARC_ParserTagToken *tagToken)
Definition parserlang.c:104
-
void ARC_ParserLang_VectorDestroyVectorFn(void *data)
Definition parserlang.c:43
-
void ARC_ParserLangParsedData_GetArgumentsTag(ARC_Vector *tokensOrTags, ARC_ParserTagToken *tagToken, ARC_Parser_GetStringIdFn *getStringIdFn)
Definition parserlang.c:157
-
void ARC_ParserLang_VectorDestroyUInt32Fn(void *data)
Definition parserlang.c:48
-
a parser type used inside of the parser data create function
Definition parser.h:35
-
uint32_t tagId
Definition parser.h:22
-
uint32_t ARC_Vector_GetSize(ARC_Vector *vector)
gets the current size of an ARC_Vector as an unsigned 32 bit integer
Definition vector.c:149
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:153
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:70
-
-

References ARC_ParserLang_VectorDestroyUInt32Fn(), ARC_ParserLang_VectorDestroyVectorFn(), ARC_ParserLangParsedData_CreateTagString(), ARC_ParserLangParsedData_GetArgumentsTag(), ARC_String_Destroy(), ARC_Vector_Add(), ARC_Vector_Create(), ARC_Vector_Destroy(), ARC_Vector_Get(), ARC_Vector_GetSize(), ARC_ParserTag::tagId, ARC_ParserTagToken::tagTokens, ARC_ParserTag::tokensOrTags, and ARC_ParserTag::tokensOrTagsSize.

- -

Referenced by ARC_ParserLangParsedData_RunLineTag().

- -
-
- -

◆ ARC_ParserLangParsedData_CreateTagString()

- -
-
- - - - - - - - - - - -
void ARC_ParserLangParsedData_CreateTagString (ARC_String ** tagString,
ARC_ParserTagToken * tagToken )
-
- -

Definition at line 104 of file parserlang.c.

-
104 {
-
105 ARC_String_Create(tagString, NULL, 0);
-
106
-
107 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
-
108 ARC_ParserTagToken *childTagToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, index);
-
109
-
110 ARC_ParserLangParsedData_RecurseStringAdd(tagString, childTagToken);
-
111 }
-
112}
-
void ARC_ParserLangParsedData_RecurseStringAdd(ARC_String **data, ARC_ParserTagToken *tagToken)
Definition parserlang.c:68
-
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
-
-

References ARC_ParserLangParsedData_RecurseStringAdd(), ARC_String_Create(), ARC_Vector_Get(), ARC_Vector_GetSize(), and ARC_ParserTagToken::tagTokens.

- -

Referenced by ARC_ParserLangParsedData_CreateBodyTag().

- -
-
- -

◆ ARC_ParserLangParsedData_GetArgumentsTag()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ParserLangParsedData_GetArgumentsTag (ARC_Vector * tokensOrTags,
ARC_ParserTagToken * tagToken,
ARC_Parser_GetStringIdFn * getStringIdFn )
-
- -

Definition at line 157 of file parserlang.c.

-
157 {
-
158 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
-
159 ARC_ParserTagToken *childTagToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, index);
-
160
-
161 //switch variables
-
162 uint32_t tokensOrTagsIndex = 0;
-
163 ARC_Vector *orTokensOrTags = NULL;
-
164
- -
166
-
167 switch(childTagToken->id){
- -
169 //get the last vector within tokens or tags to add the tag/constant to
-
170 tokensOrTagsIndex = ARC_Vector_GetSize(tokensOrTags);
-
171 orTokensOrTags = (ARC_Vector *)ARC_Vector_Get(tokensOrTags, tokensOrTagsIndex - 1);
-
172
-
173 ARC_ParserLangParsedData_GetArgumentTag(orTokensOrTags, childTagToken, getStringIdFn);
-
174 continue;
-
175
- -
177 //add a new vector to tagsOrTokens for the or statment
-
178 ARC_Vector_Create(&orTokensOrTags, NULL, &destroyUint32Fn);
-
179
-
180 //add the first or vector to the tokensOrTags
-
181 ARC_Vector_Add(tokensOrTags, (void *)orTokensOrTags);
-
182 continue;
-
183
- -
185 //recurse to check all the arguments
-
186 ARC_ParserLangParsedData_GetArgumentsTag(tokensOrTags, childTagToken, getStringIdFn);
-
187 continue;
-
188
-
189 default:
-
190 //this should only be whitespace
-
191 continue;
-
192 }
-
193 }
-
194}
-
void ARC_ParserLangParsedData_GetArgumentTag(ARC_Vector *orTokensOrTags, ARC_ParserTagToken *tagToken, ARC_Parser_GetStringIdFn *getStringIdFn)
Definition parserlang.c:117
-
uint32_t id
Definition parser.h:36
-
-

References ARC_PARSERLANG_ARGUMENT, ARC_PARSERLANG_ARGUMENTS, ARC_PARSERLANG_TOKEN_OR_ID, ARC_ParserLang_VectorDestroyUInt32Fn(), ARC_ParserLangParsedData_GetArgumentsTag(), ARC_ParserLangParsedData_GetArgumentTag(), ARC_Vector_Add(), ARC_Vector_Create(), ARC_Vector_Get(), ARC_Vector_GetSize(), ARC_ParserTagToken::id, and ARC_ParserTagToken::tagTokens.

- -

Referenced by ARC_ParserLangParsedData_CreateBodyTag(), and ARC_ParserLangParsedData_GetArgumentsTag().

- -
-
- -

◆ ARC_ParserLangParsedData_GetArgumentTag()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ParserLangParsedData_GetArgumentTag (ARC_Vector * orTokensOrTags,
ARC_ParserTagToken * tagToken,
ARC_Parser_GetStringIdFn * getStringIdFn )
-
- -

Definition at line 117 of file parserlang.c.

-
117 {
-
118 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
-
119 ARC_ParserTagToken *childTagToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, index);
-
120
-
121 //switch variables
-
122 ARC_String *tagOrConstantString = NULL;
-
123 uint32_t *id = NULL;
-
124
-
125 switch(childTagToken->id){
- -
127 //recurse to check all the arguments
-
128 ARC_ParserLangParsedData_GetArgumentTag(orTokensOrTags, childTagToken, getStringIdFn);
-
129 continue;
-
130
- -
132 //initialize the string to use
-
133 ARC_String_Create(&tagOrConstantString, NULL, 0);
-
134
-
135 //get the id of the tag/constant
-
136 ARC_ParserLangParsedData_RecurseStringAdd(&tagOrConstantString, childTagToken);
-
137 id = (uint32_t *)malloc(sizeof(uint32_t));
-
138 *id = (*getStringIdFn)(tagOrConstantString);
-
139
-
140 //add the id to the matching or vector
-
141 ARC_Vector_Add(orTokensOrTags, (void *)id);
-
142
-
143 //cleanup
-
144 ARC_String_Destroy(tagOrConstantString);
-
145 continue;
-
146
-
147 default:
-
148 //this should only be whitespace
-
149 continue;
-
150 }
-
151 }
-
152}
-
-

References ARC_PARSERLANG_ARGUMENT, ARC_PARSERLANG_TAG_OR_CONSTANT, ARC_ParserLangParsedData_GetArgumentTag(), ARC_ParserLangParsedData_RecurseStringAdd(), ARC_String_Create(), ARC_String_Destroy(), ARC_Vector_Add(), ARC_Vector_Get(), ARC_Vector_GetSize(), ARC_ParserTagToken::id, and ARC_ParserTagToken::tagTokens.

- -

Referenced by ARC_ParserLangParsedData_GetArgumentsTag(), and ARC_ParserLangParsedData_GetArgumentTag().

- -
-
- -

◆ ARC_ParserLangParsedData_RecurseStringAdd()

- -
-
- - - - - - - - - - - -
void ARC_ParserLangParsedData_RecurseStringAdd (ARC_String ** data,
ARC_ParserTagToken * tagToken )
-
- -

Definition at line 68 of file parserlang.c.

-
68 {
-
69 if(tagToken->token != NULL){
-
70 //less than rule does not have a string so add it manually and return
- - -
73 ARC_String_AppendCString(data, &tokenChar, 1);
-
74 return;
-
75 }
-
76
-
77 //greater than rule does not have a string so add it manually and return
- - -
80 ARC_String_AppendCString(data, &tokenChar, 1);
-
81 return;
-
82 }
-
83
- - -
86 ARC_String_AppendCString(data, &tokenChar, 1);
-
87 return;
-
88 }
-
89
-
90 ARC_String_Append(data, tagToken->token->data);
-
91 return;
-
92 }
-
93
-
94 //TODO: probs don't need this
-
95 if(tagToken->tagTokens == NULL){
-
96 return;
-
97 }
-
98
-
99 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
- -
101 }
-
102}
-
void ARC_String_AppendCString(ARC_String **string, const char *cstring, uint64_t length)
appends to an ARC_String with an ARC_String
Definition string.c:130
-
void ARC_String_Append(ARC_String **string, ARC_String *append)
appends to an ARC_String with an ARC_String
Definition string.c:126
-
uint32_t rule
Definition lexer.h:19
-
ARC_String * data
Definition lexer.h:20
-
ARC_LexerToken * token
Definition parser.h:38
-
-

References ARC_PARSERLANG_TOKEN_GREATER_THAN_CHAR, ARC_PARSERLANG_TOKEN_GREATER_THAN_ID, ARC_PARSERLANG_TOKEN_LESS_THAN_CHAR, ARC_PARSERLANG_TOKEN_LESS_THAN_ID, ARC_PARSERLANG_TOKEN_UNDERSCORE_CHAR, ARC_PARSERLANG_TOKEN_UNDERSCORE_ID, ARC_ParserLangParsedData_RecurseStringAdd(), ARC_String_Append(), ARC_String_AppendCString(), ARC_Vector_Get(), ARC_Vector_GetSize(), ARC_LexerToken::data, ARC_LexerToken::rule, ARC_ParserTagToken::tagTokens, and ARC_ParserTagToken::token.

- -

Referenced by ARC_ParserLangParsedData_CreateTagString(), ARC_ParserLangParsedData_GetArgumentTag(), and ARC_ParserLangParsedData_RecurseStringAdd().

- -
-
- -

◆ ARC_ParserLangParsedData_RunLineTag()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ParserLangParsedData_RunLineTag (ARC_Vector * tags,
ARC_ParserTagToken * tagToken,
ARC_Parser_GetStringIdFn * getStringIdFn )
-
- -

Definition at line 259 of file parserlang.c.

-
259 {
-
260 //loop through the tags either going to the next line or the next body
-
261 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
-
262 ARC_ParserTagToken *childTagToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, index);
-
263
-
264 //for some reason can't create this in the switch, so placed here
-
265 ARC_ParserTag *tag;
-
266
-
267 switch(childTagToken->id){
-
268 //recuse to run the next line
- -
270 ARC_ParserLangParsedData_RunLineTag(tags, childTagToken, getStringIdFn);
-
271 continue;
-
272
-
273 //get a tag
- -
275 ARC_ParserLangParsedData_CreateBodyTag(&tag, childTagToken, getStringIdFn);
-
276 ARC_Vector_Add(tags, (void *)tag);
-
277 continue;
-
278
-
279 default:
-
280 continue;
-
281 }
-
282 }
-
283}
-
void ARC_ParserLangParsedData_CreateBodyTag(ARC_ParserTag **tag, ARC_ParserTagToken *tagToken, ARC_Parser_GetStringIdFn *getStringIdFn)
Definition parserlang.c:196
-
-

References ARC_PARSERLANG_BODY, ARC_PARSERLANG_LINE, ARC_ParserLangParsedData_CreateBodyTag(), ARC_ParserLangParsedData_RunLineTag(), ARC_Vector_Add(), ARC_Vector_Get(), ARC_Vector_GetSize(), ARC_ParserTagToken::id, and ARC_ParserTagToken::tagTokens.

- -

Referenced by ARC_ParserLang_CreateDataFn(), and ARC_ParserLangParsedData_RunLineTag().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/da8/src_2std_2parser_2parserlang_8c.js b/doc/doxygen/html/d5/da8/src_2std_2parser_2parserlang_8c.js deleted file mode 100644 index 9630f29..0000000 --- a/doc/doxygen/html/d5/da8/src_2std_2parser_2parserlang_8c.js +++ /dev/null @@ -1,16 +0,0 @@ -var src_2std_2parser_2parserlang_8c = -[ - [ "ARC_ParserLang_CreateAsParser", "d5/da8/src_2std_2parser_2parserlang_8c.html#a7a4e2867cbe7180ffd981b767e274e32", null ], - [ "ARC_ParserLang_CreateDataFn", "d5/da8/src_2std_2parser_2parserlang_8c.html#a4fb5ac6a00b43ba7b67a2727a5728a9b", null ], - [ "ARC_ParserLang_DestroyDataFn", "d5/da8/src_2std_2parser_2parserlang_8c.html#ac65152b593c9edfab0fd302098da21fa", null ], - [ "ARC_ParserLang_InitLexerRulesFn", "d5/da8/src_2std_2parser_2parserlang_8c.html#ade8abb6b328a3b81508968114c5e6792", null ], - [ "ARC_ParserLang_VectorDestroyParserTagFn", "d5/da8/src_2std_2parser_2parserlang_8c.html#a963f9c1c9dcc6b9a063d140f7615950b", null ], - [ "ARC_ParserLang_VectorDestroyUInt32Fn", "d5/da8/src_2std_2parser_2parserlang_8c.html#aa6c24bed3dd0cef5528ba1e23b878e40", null ], - [ "ARC_ParserLang_VectorDestroyVectorFn", "d5/da8/src_2std_2parser_2parserlang_8c.html#a3a45c029a26062298645fee1ac5466fb", null ], - [ "ARC_ParserLangParsedData_CreateBodyTag", "d5/da8/src_2std_2parser_2parserlang_8c.html#a84c8227fec192576312dbdd3a2b83f61", null ], - [ "ARC_ParserLangParsedData_CreateTagString", "d5/da8/src_2std_2parser_2parserlang_8c.html#a3624e91f05da66217030de751737621f", null ], - [ "ARC_ParserLangParsedData_GetArgumentsTag", "d5/da8/src_2std_2parser_2parserlang_8c.html#a8f7354681b8f67c8f6d38e1be352bc66", null ], - [ "ARC_ParserLangParsedData_GetArgumentTag", "d5/da8/src_2std_2parser_2parserlang_8c.html#a31ea15e052ec35d7ab4ab8f861c4b32a", null ], - [ "ARC_ParserLangParsedData_RecurseStringAdd", "d5/da8/src_2std_2parser_2parserlang_8c.html#af6e7fe1e3c362879e0b673c2dff70589", null ], - [ "ARC_ParserLangParsedData_RunLineTag", "d5/da8/src_2std_2parser_2parserlang_8c.html#ab5449b17a24135e0ececd127dd7af0de", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d5/da8/src_2std_2parser_2parserlang_8c_source.html b/doc/doxygen/html/d5/da8/src_2std_2parser_2parserlang_8c_source.html deleted file mode 100644 index 5acd7a9..0000000 --- a/doc/doxygen/html/d5/da8/src_2std_2parser_2parserlang_8c_source.html +++ /dev/null @@ -1,645 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/parser/parserlang.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
parserlang.c
-
-
-Go to the documentation of this file.
-
2#include "arc/std/bool.h"
-
3#include "arc/std/errno.h"
-
4#include "arc/std/lexer.h"
-
5#include "arc/std/parser.h"
-
6#include "arc/std/string.h"
-
7#include "arc/std/vector.h"
-
8#include <stddef.h>
-
9#include <stdlib.h>
-
10
-
11//private function to initalize the lexer rules for the language
-
- -
13 //null
- -
15
-
16 //number
- -
18
-
19 //alpha char
- - -
22
-
23 //whitespace
-
24 ARC_String *whitespaceString;
-
25 ARC_String_CreateWithStrlen(&whitespaceString, " \t");
- -
27 ARC_String_Destroy(whitespaceString);
-
28
-
29 //single char tokens
- - - - - -
35
-
36 //arrow
-
37 ARC_String *arrowString;
- - -
40 ARC_String_Destroy(arrowString);
-
41}
-
-
42
-
- -
44 ARC_Vector *vector = (ARC_Vector *)data;
-
45 ARC_Vector_Destroy(vector);
-
46}
-
-
47
-
- -
49 uint32_t *uint = (uint32_t *)data;
-
50 free(uint);
-
51}
-
-
52
-
- -
54 ARC_ParserTag *currentTag = (ARC_ParserTag *)data;
-
55
-
56 //free the orIndex vlues
-
57 for(uint32_t orIndex = 0; orIndex < currentTag->tokensOrTagsSize; orIndex++){
-
58 free(currentTag->tokensOrTags[orIndex]);
-
59 }
-
60
-
61 //free the tokens or tags
-
62 free(currentTag->tokensOrTags);
-
63
-
64 //free the tag itself
-
65 free(currentTag);
-
66}
-
-
67
-
- -
69 if(tagToken->token != NULL){
-
70 //less than rule does not have a string so add it manually and return
- - -
73 ARC_String_AppendCString(data, &tokenChar, 1);
-
74 return;
-
75 }
-
76
-
77 //greater than rule does not have a string so add it manually and return
- - -
80 ARC_String_AppendCString(data, &tokenChar, 1);
-
81 return;
-
82 }
-
83
- - -
86 ARC_String_AppendCString(data, &tokenChar, 1);
-
87 return;
-
88 }
-
89
-
90 ARC_String_Append(data, tagToken->token->data);
-
91 return;
-
92 }
-
93
-
94 //TODO: probs don't need this
-
95 if(tagToken->tagTokens == NULL){
-
96 return;
-
97 }
-
98
-
99 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
- -
101 }
-
102}
-
-
103
-
- -
105 ARC_String_Create(tagString, NULL, 0);
-
106
-
107 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
-
108 ARC_ParserTagToken *childTagToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, index);
-
109
-
110 ARC_ParserLangParsedData_RecurseStringAdd(tagString, childTagToken);
-
111 }
-
112}
-
-
113
-
114/*
-
115 <argument> -> <tagOrConstant> WHITESPACE <argument> | <tagOrConstant>
-
116*/
-
- -
118 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
-
119 ARC_ParserTagToken *childTagToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, index);
-
120
-
121 //switch variables
-
122 ARC_String *tagOrConstantString = NULL;
-
123 uint32_t *id = NULL;
-
124
-
125 switch(childTagToken->id){
- -
127 //recurse to check all the arguments
-
128 ARC_ParserLangParsedData_GetArgumentTag(orTokensOrTags, childTagToken, getStringIdFn);
-
129 continue;
-
130
- -
132 //initialize the string to use
-
133 ARC_String_Create(&tagOrConstantString, NULL, 0);
-
134
-
135 //get the id of the tag/constant
-
136 ARC_ParserLangParsedData_RecurseStringAdd(&tagOrConstantString, childTagToken);
-
137 id = (uint32_t *)malloc(sizeof(uint32_t));
-
138 *id = (*getStringIdFn)(tagOrConstantString);
-
139
-
140 //add the id to the matching or vector
-
141 ARC_Vector_Add(orTokensOrTags, (void *)id);
-
142
-
143 //cleanup
-
144 ARC_String_Destroy(tagOrConstantString);
-
145 continue;
-
146
-
147 default:
-
148 //this should only be whitespace
-
149 continue;
-
150 }
-
151 }
-
152}
-
-
153
-
154/*
-
155 <arguments> -> <argument> WHITESPACE OR WHITESPACE <arguments> | <argument>
-
156*/
-
- -
158 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
-
159 ARC_ParserTagToken *childTagToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, index);
-
160
-
161 //switch variables
-
162 uint32_t tokensOrTagsIndex = 0;
-
163 ARC_Vector *orTokensOrTags = NULL;
-
164
- -
166
-
167 switch(childTagToken->id){
- -
169 //get the last vector within tokens or tags to add the tag/constant to
-
170 tokensOrTagsIndex = ARC_Vector_GetSize(tokensOrTags);
-
171 orTokensOrTags = (ARC_Vector *)ARC_Vector_Get(tokensOrTags, tokensOrTagsIndex - 1);
-
172
-
173 ARC_ParserLangParsedData_GetArgumentTag(orTokensOrTags, childTagToken, getStringIdFn);
-
174 continue;
-
175
- -
177 //add a new vector to tagsOrTokens for the or statment
-
178 ARC_Vector_Create(&orTokensOrTags, NULL, &destroyUint32Fn);
-
179
-
180 //add the first or vector to the tokensOrTags
-
181 ARC_Vector_Add(tokensOrTags, (void *)orTokensOrTags);
-
182 continue;
-
183
- -
185 //recurse to check all the arguments
-
186 ARC_ParserLangParsedData_GetArgumentsTag(tokensOrTags, childTagToken, getStringIdFn);
-
187 continue;
-
188
-
189 default:
-
190 //this should only be whitespace
-
191 continue;
-
192 }
-
193 }
-
194}
-
-
195
-
- -
197 //create the tag to store the body in
-
198 ARC_ParserTag *bodyTag = (ARC_ParserTag *)malloc(sizeof(ARC_ParserTag));
-
199
-
200 /* ~ Tag Id ~ */
-
201 //the first tag will always be the tagId, and as the rule is validated there is no need to check for NULL
-
202 ARC_ParserTagToken *tagIdToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, 0);
-
203
-
204 //get the tagId as a string
-
205 ARC_String *tagIdString;
-
206 ARC_ParserLangParsedData_CreateTagString(&tagIdString, tagIdToken);
-
207
-
208 //get the tag id as a uint32_t
-
209 bodyTag->tagId = (*getStringIdFn)(tagIdString);
-
210
-
211 //cleanup the tagIdString
-
212 ARC_String_Destroy(tagIdString);
-
213
-
214 /* ~ Tokens Or Tags Array ~ */
-
215 //create a vector to store another vector of data
-
216 ARC_Vector *tokensOrTags;
- -
218 ARC_Vector_Create(&tokensOrTags, NULL, &destroyVectorFn);
-
219
-
220 //create vector within the tokens or tags vector to store the or rule in
-
221 ARC_Vector *orTokensOrTags;
- -
223 ARC_Vector_Create(&orTokensOrTags, NULL, &destroyUint32Fn);
-
224
-
225 //add the first or vector to the tokensOrTags
-
226 ARC_Vector_Add(tokensOrTags, (void *)orTokensOrTags);
-
227
-
228 //skipping whitespace and arrow tokens, the arguments index starts at 4
-
229 ARC_ParserTagToken *argumentsToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, 4);
-
230 ARC_ParserLangParsedData_GetArgumentsTag(tokensOrTags, argumentsToken, getStringIdFn);
-
231
-
232 //initialize the tokens or tags array to the needed size
-
233 bodyTag->tokensOrTagsSize = ARC_Vector_GetSize(tokensOrTags);
-
234 bodyTag->tokensOrTags = (uint32_t **)malloc(sizeof(uint32_t *) * bodyTag->tokensOrTagsSize);
-
235
-
236 //copy each or section into the tokensOrTags
-
237 for(uint32_t orIndex = 0; orIndex < bodyTag->tokensOrTagsSize; orIndex++){
-
238 //get the current or vector and its tags
-
239 orTokensOrTags = (ARC_Vector *)ARC_Vector_Get(tokensOrTags, orIndex);
-
240 uint32_t orTokensOrTagsSize = ARC_Vector_GetSize(orTokensOrTags);
-
241
-
242 //create the or array with one extra space and store the size in that space
-
243 bodyTag->tokensOrTags[orIndex] = (uint32_t *)malloc(sizeof(uint32_t) * (orTokensOrTagsSize + 1));
-
244 bodyTag->tokensOrTags[orIndex][0] = orTokensOrTagsSize;
-
245
-
246 //copy the or data to the tokensOrTags
-
247 for(uint32_t tokenOrTagIndex = 0; tokenOrTagIndex < orTokensOrTagsSize; tokenOrTagIndex++){
-
248 bodyTag->tokensOrTags[orIndex][tokenOrTagIndex + 1] = *(uint32_t *)ARC_Vector_Get(orTokensOrTags, tokenOrTagIndex);
-
249 }
-
250 }
-
251
-
252 //set the tag to the bodyTag
-
253 *tag = bodyTag;
-
254
-
255 //cleanup
-
256 ARC_Vector_Destroy(tokensOrTags);
-
257}
-
-
258
-
- -
260 //loop through the tags either going to the next line or the next body
-
261 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
-
262 ARC_ParserTagToken *childTagToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, index);
-
263
-
264 //for some reason can't create this in the switch, so placed here
-
265 ARC_ParserTag *tag;
-
266
-
267 switch(childTagToken->id){
-
268 //recuse to run the next line
- -
270 ARC_ParserLangParsedData_RunLineTag(tags, childTagToken, getStringIdFn);
-
271 continue;
-
272
-
273 //get a tag
- -
275 ARC_ParserLangParsedData_CreateBodyTag(&tag, childTagToken, getStringIdFn);
-
276 ARC_Vector_Add(tags, (void *)tag);
-
277 continue;
-
278
-
279 default:
-
280 continue;
-
281 }
-
282 }
-
283}
-
-
284
-
285//private function to create the saved data for the language
-
-
286void ARC_ParserLang_CreateDataFn(void **data, ARC_ParserTagToken *parsedData, void *userData){
-
287 ARC_Parser_GetStringIdFn *getStringIdFn = (ARC_Parser_GetStringIdFn *)userData;
-
288
-
289 //make sure there is parsed data to use
-
290 if(parsedData == NULL){
- -
292 ARC_DEBUG_LOG_ERROR("ARC_ParserLang_CreateDataFn(void **data, ARC_ParserTagToken *parsedData, void *userData), parsedData was NULL when passed in");
-
293 return;
-
294 }
-
295
-
296 //function callback to cleanup added tags
- -
298
-
299 //I don't see a reason to have a comparison function right now. this might change in the future
-
300 ARC_Vector_Create((ARC_Vector **)data, NULL, &destroyParserTagFn);
-
301
-
302 //check if there are any tags (thes could be empty if a file is blank)
-
303 if(parsedData->tagTokens == NULL){
-
304 return;
-
305 }
-
306
-
307 //load the language into a vector recursivly
-
308 ARC_ParserLangParsedData_RunLineTag(*((ARC_Vector **)data), parsedData, getStringIdFn);
-
309}
-
-
310
-
311//private function to destroy the saved data for the language
-
-
312void ARC_ParserLang_DestroyDataFn(void *data, ARC_Bool clear, void *userData){
-
313 if(userData != NULL){
-
314 ARC_Parser_GetStringIdFn *getStringIdFn = (ARC_Parser_GetStringIdFn *)userData;
-
315 free(getStringIdFn);
-
316 }
-
317
-
318 //if not clearing (full destroy) check if there is data to free
-
319 if(clear == ARC_False && (ARC_Vector *)data != NULL){
- -
321 }
-
322}
-
-
323
-
- -
325 //<line> -> <body> NEWLINE <line> | <body> | NEWLINE <line> | LAMBDA
-
326 uint32_t *line[] = { (uint32_t[]){ 3, ARC_PARSERLANG_BODY, ARC_PARSERLANG_TOKEN_NEWLINE_ID, ARC_PARSERLANG_LINE }, (uint32_t[]){ 1, ARC_PARSERLANG_BODY }, (uint32_t[]){ 2, ARC_PARSERLANG_TOKEN_NEWLINE_ID, ARC_PARSERLANG_LINE }, (uint32_t[]){ 1, ARC_PARSERLANG_LAMBDA } };
-
327
-
328 //<body> -> <tag> <whitespace> ARROW <whitespace> <arguments>
- -
330
-
331 //<arguments> -> <argument> <whitespace> OR <whitespace> <arguments> | <argument>
- -
333
-
334 //<argument> -> <tagOrConstant> <whitespace> <argument> | <tagOrConstant>
-
335 uint32_t *argument[] = { (uint32_t[]){ 3, ARC_PARSERLANG_TAG_OR_CONSTANT, ARC_PARSERLANG_WHITESPACE, ARC_PARSERLANG_ARGUMENT }, (uint32_t[]){ 1, ARC_PARSERLANG_TAG_OR_CONSTANT } };
-
336
-
337 //<tagOrConstant> -> <parserLangageTag> | <constant>
-
338 uint32_t *tagOrConstant[] = { (uint32_t[]){ 1, ARC_PARSERLANG_TAG }, (uint32_t[]){ 1, ARC_PARSERLANG_CONSTANT } };
-
339
-
340 //<constant> -> ALPHA_UPPER_CHAR <constantBody>
-
341 uint32_t *constant[] = { (uint32_t[]){ 2, ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR, ARC_PARSERLANG_CONSTANT_BODY } };
-
342
-
343 //<constantBody> -> <constantChar> <constantBody> | LAMBDA
-
344 uint32_t *constantBody[] = { (uint32_t[]){ 2, ARC_PARSERLANG_CONSTANT_CHAR, ARC_PARSERLANG_CONSTANT_BODY }, (uint32_t[]){ 1, ARC_PARSERLANG_LAMBDA } };
-
345
-
346 //<constantChar> -> ALPHA_UPPER_CHAR | UNDERSCORE
-
347 uint32_t *constantChar[] = { (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR }, (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_UNDERSCORE_ID } };
-
348
-
349 //<tag> -> LESS_THAN <variable> GREATER_THAN
- -
351
-
352 //<variable> -> <alphaChar> <variableBody> | UNDERSCORE <variableBody>
-
353 uint32_t *variable[] = { (uint32_t[]){ 2, ARC_PARSERLANG_ALPHA_CHAR, ARC_PARSERLANG_VARIABLE_BODY }, (uint32_t[]){ 2, ARC_PARSERLANG_TOKEN_UNDERSCORE_ID, ARC_PARSERLANG_VARIABLE_BODY } };
-
354
-
355 //<variableBody> -> <variableChar> <variableBody> | LAMBDA
-
356 uint32_t *variableBody[] = { (uint32_t[]){ 2, ARC_PARSERLANG_VARIABLE_CHAR, ARC_PARSERLANG_VARIABLE_BODY }, (uint32_t[]){ 1, ARC_PARSERLANG_LAMBDA } };
-
357
-
358 //<variableChar> -> <alphaChar> | NUMBER | UNDERSCORE
-
359 uint32_t *variableChar[] = { (uint32_t[]){ 1, ARC_PARSERLANG_ALPHA_CHAR }, (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_NUMBER }, (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_UNDERSCORE_ID } };
-
360
-
361 //<alphaChar> -> ALPHA_LOWER_CHAR | ALPHA_UPPER_CHAR
-
362 uint32_t *alphaChar[] = { (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_ALPHA_LOWER_CHAR }, (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR }};
-
363
-
364 //<whitespace> -> WHITESPACE <whitespace> | WHITESPACE
-
365 uint32_t *whitespace[] = { (uint32_t[]){ 2, ARC_PARSERLANG_TOKEN_WHITESPACE, ARC_PARSERLANG_WHITESPACE }, (uint32_t[]){ 1, ARC_PARSERLANG_TOKEN_WHITESPACE }};
-
366
-
367 ARC_ParserTag parserLangTags[14] = {
-
368 { ARC_PARSERLANG_LINE , line , 4 },
-
369 { ARC_PARSERLANG_BODY , body , 1 },
-
370 { ARC_PARSERLANG_ARGUMENTS , arguments , 2 },
-
371 { ARC_PARSERLANG_ARGUMENT , argument , 2 },
-
372 { ARC_PARSERLANG_TAG_OR_CONSTANT, tagOrConstant, 2 },
-
373 { ARC_PARSERLANG_CONSTANT , constant , 1 },
-
374 { ARC_PARSERLANG_CONSTANT_BODY , constantBody , 2 },
-
375 { ARC_PARSERLANG_CONSTANT_CHAR , constantChar , 2 },
-
376 { ARC_PARSERLANG_TAG , tag , 1 },
-
377 { ARC_PARSERLANG_VARIABLE , variable , 2 },
-
378 { ARC_PARSERLANG_VARIABLE_BODY , variableBody , 2 },
-
379 { ARC_PARSERLANG_VARIABLE_CHAR , variableChar , 3 },
-
380 { ARC_PARSERLANG_ALPHA_CHAR , alphaChar , 2 },
-
381 { ARC_PARSERLANG_WHITESPACE , whitespace , 2 }
-
382 };
-
383
-
384 ARC_Array parserLanguageArray = {
-
385 14, //size
-
386 parserLangTags //data
-
387 };
-
388
- - -
391
-
392 //this will be cleaned up by the destroyDataFn
- -
394 *newGetStringIdFn = getStringIdFn;
-
395
-
396 //create the parserlang
-
397 ARC_Parser_Create(parser, &parserLanguageArray, ARC_ParserLang_InitLexerRulesFn, &createDataFn, &destroyDataFn, (void *)newGetStringIdFn);
-
398}
-
- -
#define ARC_False
Definition bool.h:12
-
#define ARC_Bool
Definition bool.h:10
- -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
- -
#define ARC_LEXER_TOKEN_WHITESPACE
Definition lexer.h:252
-
void ARC_Lexer_RegisterTokenRule(ARC_Lexer *lexer, ARC_LexerTokenRule tokenRule)
adds a token rule to a lexer
Definition lexer.c:79
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchStringRule(uint32_t id, ARC_String *string)
creates a ARC_LexerTokenRule with a given id and string
Definition lexer.c:428
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharRule(uint32_t id, char character)
creates a ARC_LexerTokenRule with a given id and character
Definition lexer.c:378
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween(uint32_t id, char start, char end)
creates a ARC_LexerTokenRule with a given id and character range
Definition lexer.c:400
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule(uint32_t id, ARC_String *string)
creates a ARC_LexerTokenRule with a given id and string
Definition lexer.c:450
- -
void ARC_Parser_Create(ARC_Parser **parser, ARC_Array *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
creates an ARC_Parser type
Definition parser.c:24
-
uint32_t(* ARC_Parser_GetStringIdFn)(ARC_String *string)
TODO: write this.
Definition parser.h:52
-
void(* ARC_ParserData_CreateFn)(void **data, ARC_ParserTagToken *parsedData, void *userData)
TODO: write this.
Definition parser.h:57
-
void(* ARC_ParserData_DestroyFn)(void *data, ARC_Bool clear, void *userData)
TODO: write this.
Definition parser.h:62
- -
#define ARC_PARSERLANG_TOKEN_OR_CHAR
Definition parserlang.h:54
-
#define ARC_PARSERLANG_TOKEN_UNDERSCORE_CHAR
Definition parserlang.h:56
-
#define ARC_PARSERLANG_CONSTANT_CHAR
Definition parserlang.h:69
-
#define ARC_PARSERLANG_TAG
Definition parserlang.h:70
-
#define ARC_PARSERLANG_ALPHA_CHAR
Definition parserlang.h:74
-
#define ARC_PARSERLANG_TOKEN_NEWLINE_ID
Definition parserlang.h:47
-
#define ARC_PARSERLANG_BODY
Definition parserlang.h:63
-
#define ARC_PARSERLANG_WHITESPACE
Definition parserlang.h:75
-
#define ARC_PARSERLANG_CONSTANT
Definition parserlang.h:67
-
#define ARC_PARSERLANG_TOKEN_NUMBER
Definition parserlang.h:42
-
#define ARC_PARSERLANG_TOKEN_GREATER_THAN_CHAR
Definition parserlang.h:52
-
#define ARC_PARSERLANG_TAG_OR_CONSTANT
Definition parserlang.h:66
-
#define ARC_PARSERLANG_TOKEN_ARROW_ID
Definition parserlang.h:58
-
#define ARC_PARSERLANG_TOKEN_LESS_THAN_ID
Definition parserlang.h:49
-
#define ARC_PARSERLANG_TOKEN_GREATER_THAN_ID
Definition parserlang.h:51
-
#define ARC_PARSERLANG_TOKEN_OR_ID
Definition parserlang.h:53
-
#define ARC_PARSERLANG_TOKEN_WHITESPACE
Definition parserlang.h:45
-
#define ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR
Definition parserlang.h:44
-
#define ARC_PARSERLANG_LINE
Definition parserlang.h:62
-
#define ARC_PARSERLANG_TOKEN_NEWLINE_CHAR
Definition parserlang.h:48
-
#define ARC_PARSERLANG_VARIABLE_BODY
Definition parserlang.h:72
-
#define ARC_PARSERLANG_TOKEN_NULL
Definition parserlang.h:41
-
#define ARC_PARSERLANG_VARIABLE_CHAR
Definition parserlang.h:73
-
#define ARC_PARSERLANG_CONSTANT_BODY
Definition parserlang.h:68
-
#define ARC_PARSERLANG_TOKEN_ALPHA_LOWER_CHAR
Definition parserlang.h:43
-
#define ARC_PARSERLANG_ARGUMENT
Definition parserlang.h:65
-
#define ARC_PARSERLANG_TOKEN_UNDERSCORE_ID
Definition parserlang.h:55
-
#define ARC_PARSERLANG_ARGUMENTS
Definition parserlang.h:64
-
#define ARC_PARSERLANG_TOKEN_ARROW_CSTRING
Definition parserlang.h:59
-
#define ARC_PARSERLANG_VARIABLE
Definition parserlang.h:71
-
#define ARC_PARSERLANG_TOKEN_LESS_THAN_CHAR
Definition parserlang.h:50
-
#define ARC_PARSERLANG_LAMBDA
Definition parserlang.h:61
-
void ARC_ParserLangParsedData_GetArgumentTag(ARC_Vector *orTokensOrTags, ARC_ParserTagToken *tagToken, ARC_Parser_GetStringIdFn *getStringIdFn)
Definition parserlang.c:117
-
void ARC_ParserLangParsedData_CreateTagString(ARC_String **tagString, ARC_ParserTagToken *tagToken)
Definition parserlang.c:104
-
void ARC_ParserLang_VectorDestroyVectorFn(void *data)
Definition parserlang.c:43
-
void ARC_ParserLang_CreateDataFn(void **data, ARC_ParserTagToken *parsedData, void *userData)
Definition parserlang.c:286
-
void ARC_ParserLang_CreateAsParser(ARC_Parser **parser, ARC_Parser_GetStringIdFn getStringIdFn)
creates a parser for the Parser Lang
Definition parserlang.c:324
-
void ARC_ParserLangParsedData_CreateBodyTag(ARC_ParserTag **tag, ARC_ParserTagToken *tagToken, ARC_Parser_GetStringIdFn *getStringIdFn)
Definition parserlang.c:196
-
void ARC_ParserLangParsedData_GetArgumentsTag(ARC_Vector *tokensOrTags, ARC_ParserTagToken *tagToken, ARC_Parser_GetStringIdFn *getStringIdFn)
Definition parserlang.c:157
-
void ARC_ParserLang_VectorDestroyParserTagFn(void *data)
Definition parserlang.c:53
-
void ARC_ParserLang_VectorDestroyUInt32Fn(void *data)
Definition parserlang.c:48
-
void ARC_ParserLangParsedData_RunLineTag(ARC_Vector *tags, ARC_ParserTagToken *tagToken, ARC_Parser_GetStringIdFn *getStringIdFn)
Definition parserlang.c:259
-
void ARC_ParserLang_DestroyDataFn(void *data, ARC_Bool clear, void *userData)
Definition parserlang.c:312
-
void ARC_ParserLang_InitLexerRulesFn(ARC_Lexer *lexer)
Definition parserlang.c:12
-
void ARC_ParserLangParsedData_RecurseStringAdd(ARC_String **data, ARC_ParserTagToken *tagToken)
Definition parserlang.c:68
- -
void ARC_String_CreateWithStrlen(ARC_String **string, char *data)
creates ARC_String type with strinlen
Definition string.c:32
-
void ARC_String_AppendCString(ARC_String **string, const char *cstring, uint64_t length)
appends to an ARC_String with an ARC_String
Definition string.c:130
-
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
-
void ARC_String_Append(ARC_String **string, ARC_String *append)
appends to an ARC_String with an ARC_String
Definition string.c:126
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
a type that holds an array of data and its size
Definition array.h:13
-
uint32_t rule
Definition lexer.h:19
-
ARC_String * data
Definition lexer.h:20
- -
a parser type used inside of the parser data create function
Definition parser.h:35
-
ARC_LexerToken * token
Definition parser.h:38
-
uint32_t id
Definition parser.h:36
-
ARC_Vector * tagTokens
Definition parser.h:39
-
a langue tag type for the parser //TODO: explain this better
Definition parser.h:21
-
uint32_t tagId
Definition parser.h:22
-
uint32_t tokensOrTagsSize
Definition parser.h:25
-
uint32_t ** tokensOrTags
Definition parser.h:24
- -
substring position within a string
Definition string.h:14
-
a private dynamic array type
Definition vector.c:12
- -
void(* ARC_Vector_DestroyDataFn)(void *data)
a callback that cleans up memory when it is removed from the vector
Definition vector.h:31
-
uint32_t ARC_Vector_GetSize(ARC_Vector *vector)
gets the current size of an ARC_Vector as an unsigned 32 bit integer
Definition vector.c:149
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:153
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:70
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:54
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:31
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/dba/temp__parserlang_8c_8o_8d.html b/doc/doxygen/html/d5/dba/temp__parserlang_8c_8o_8d.html deleted file mode 100644 index 9e2feca..0000000 --- a/doc/doxygen/html/d5/dba/temp__parserlang_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/tests/std/temp_parserlang.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
temp_parserlang.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d5/dba/temp__parserlang_8c_8o_8d_source.html b/doc/doxygen/html/d5/dba/temp__parserlang_8c_8o_8d_source.html deleted file mode 100644 index 1b8e4e8..0000000 --- a/doc/doxygen/html/d5/dba/temp__parserlang_8c_8o_8d_source.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/tests/std/temp_parserlang.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
temp_parserlang.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/tests/std/temp_parserlang.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/tests/std/temp_parserlang.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/tests/std/../test.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h /usr/include/stdio.h \
-
15 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
16 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
17 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
18 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
19 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
20 /usr/include/bits/types/cookie_io_functions_t.h \
-
21 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
22 /usr/include/bits/floatn-common.h \
-
23 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
24 /home/herbglitch/programs/archeus/arc/include/arc/std/parser.h \
-
25 /home/herbglitch/programs/archeus/arc/include/arc/std/array.h \
-
26 /home/herbglitch/programs/archeus/arc/include/arc/std/lexer.h \
-
27 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
28 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
29 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
30 /home/herbglitch/programs/archeus/arc/include/arc/std/parser/parserlang.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/dbd/structARC__LexerTokenRule.html b/doc/doxygen/html/d5/dbd/structARC__LexerTokenRule.html deleted file mode 100644 index 0978071..0000000 --- a/doc/doxygen/html/d5/dbd/structARC__LexerTokenRule.html +++ /dev/null @@ -1,219 +0,0 @@ - - - - - - - - -Archeus: ARC_LexerTokenRule Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_LexerTokenRule Struct Reference
-
-
- -

a lexer token rule type - More...

- -

#include <lexer.h>

- - - - - - - - - - -

-Data Fields

uint32_t id
 
void * automataData
 
ARC_LexerTokenRule_AutomataFn automataFn
 
ARC_LexerTokenRule_DestroyAutomataDataFn destroyAutomataDataFn
 
-

Detailed Description

-

a lexer token rule type

- -

Definition at line 46 of file lexer.h.

-

Field Documentation

- -

◆ automataData

- -
-
- - - - -
void* ARC_LexerTokenRule::automataData
-
- -

Definition at line 49 of file lexer.h.

- -
-
- -

◆ automataFn

- -
-
- - - - -
ARC_LexerTokenRule_AutomataFn ARC_LexerTokenRule::automataFn
-
- -

Definition at line 51 of file lexer.h.

- -
-
- -

◆ destroyAutomataDataFn

- -
-
- - - - -
ARC_LexerTokenRule_DestroyAutomataDataFn ARC_LexerTokenRule::destroyAutomataDataFn
-
- -

Definition at line 52 of file lexer.h.

- -
-
- -

◆ id

- -
-
- - - - -
uint32_t ARC_LexerTokenRule::id
-
- -

Definition at line 47 of file lexer.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/include/arc/std/lexer.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/dbd/structARC__LexerTokenRule.js b/doc/doxygen/html/d5/dbd/structARC__LexerTokenRule.js deleted file mode 100644 index 2024408..0000000 --- a/doc/doxygen/html/d5/dbd/structARC__LexerTokenRule.js +++ /dev/null @@ -1,7 +0,0 @@ -var structARC__LexerTokenRule = -[ - [ "automataData", "d5/dbd/structARC__LexerTokenRule.html#a1cd0f5e26bc0e220bf1e5be79a405e41", null ], - [ "automataFn", "d5/dbd/structARC__LexerTokenRule.html#a474a0be6883ba1f10d829afb6be7a68d", null ], - [ "destroyAutomataDataFn", "d5/dbd/structARC__LexerTokenRule.html#ae975dcd0218d660d1393e4762c452c86", null ], - [ "id", "d5/dbd/structARC__LexerTokenRule.html#a044f04cffdb07319ee13e17324bb1c9c", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d5/dc7/tests_8dir_2src_2math_2vector2_8c_8o_8d.html b/doc/doxygen/html/d5/dc7/tests_8dir_2src_2math_2vector2_8c_8o_8d.html deleted file mode 100644 index a98e7ab..0000000 --- a/doc/doxygen/html/d5/dc7/tests_8dir_2src_2math_2vector2_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/math/vector2.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
vector2.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d5/dc7/tests_8dir_2src_2math_2vector2_8c_8o_8d_source.html b/doc/doxygen/html/d5/dc7/tests_8dir_2src_2math_2vector2_8c_8o_8d_source.html deleted file mode 100644 index fac40ed..0000000 --- a/doc/doxygen/html/d5/dc7/tests_8dir_2src_2math_2vector2_8c_8o_8d_source.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/math/vector2.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
vector2.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/math/vector2.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/math/vector2.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/math/vector2.h \
-
5 /usr/include/math.h /usr/include/bits/libc-header-start.h \
-
6 /usr/include/features.h /usr/include/features-time64.h \
-
7 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
8 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
9 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
10 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
11 /usr/include/bits/time64.h /usr/include/bits/math-vector.h \
-
12 /usr/include/bits/libm-simd-decl-stubs.h /usr/include/bits/floatn.h \
-
13 /usr/include/bits/floatn-common.h /usr/include/bits/flt-eval-method.h \
-
14 /usr/include/bits/fp-logb.h /usr/include/bits/fp-fast.h \
-
15 /usr/include/bits/mathcalls-helper-functions.h \
-
16 /usr/include/bits/mathcalls.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/dcc/archeus__std_8dir_2src_2math_2config_8c_8o_8d.html b/doc/doxygen/html/d5/dcc/archeus__std_8dir_2src_2math_2config_8c_8o_8d.html deleted file mode 100644 index 16a739f..0000000 --- a/doc/doxygen/html/d5/dcc/archeus__std_8dir_2src_2math_2config_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/math/config.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d5/dcc/archeus__std_8dir_2src_2math_2config_8c_8o_8d_source.html b/doc/doxygen/html/d5/dcc/archeus__std_8dir_2src_2math_2config_8c_8o_8d_source.html deleted file mode 100644 index bf4c179..0000000 --- a/doc/doxygen/html/d5/dcc/archeus__std_8dir_2src_2math_2config_8c_8o_8d_source.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/math/config.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/math/config.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/math/config.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/math/config.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h \
-
15 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
17 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
18 /usr/include/stdio.h \
-
19 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
21 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
22 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
23 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
24 /usr/include/bits/types/cookie_io_functions_t.h \
-
25 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
26 /usr/include/bits/floatn-common.h /usr/include/stdlib.h \
-
27 /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
-
28 /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \
-
29 /usr/include/bits/types/clockid_t.h /usr/include/bits/types/time_t.h \
-
30 /usr/include/bits/types/timer_t.h /usr/include/endian.h \
-
31 /usr/include/bits/endian.h /usr/include/bits/endianness.h \
-
32 /usr/include/bits/byteswap.h /usr/include/bits/uintn-identity.h \
-
33 /usr/include/sys/select.h /usr/include/bits/select.h \
-
34 /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \
-
35 /usr/include/bits/types/struct_timeval.h \
-
36 /usr/include/bits/types/struct_timespec.h \
-
37 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
38 /usr/include/bits/pthreadtypes-arch.h \
-
39 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
40 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
41 /usr/include/bits/stdlib-float.h \
-
42 /home/herbglitch/programs/archeus/arc/include/arc/std/array.h \
-
43 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
44 /home/herbglitch/programs/archeus/arc/include/arc/std/config.h \
-
45 /home/herbglitch/programs/archeus/arc/include/arc/std/hashtable.h \
-
46 /home/herbglitch/programs/archeus/arc/include/arc/std/defaults/config.h \
-
47 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
48 /home/herbglitch/programs/archeus/arc/include/arc/math/rectangle.h \
-
49 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
50 /home/herbglitch/programs/archeus/arc/include/arc/math/vector2.h \
-
51 /home/herbglitch/programs/archeus/arc/include/arc/std/defaults/config.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/de5/graphics_2view_8h.html b/doc/doxygen/html/d5/de5/graphics_2view_8h.html deleted file mode 100644 index f0a9c31..0000000 --- a/doc/doxygen/html/d5/de5/graphics_2view_8h.html +++ /dev/null @@ -1,322 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/view.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
view.h File Reference
-
-
- -

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_View
 
- - - - - - -

-Typedefs

typedef struct ARC_View ARC_View
 
typedef void(* ARC_View_RenderFn) (void *data)
 a function for ARC_View where contents of the function will be rendered within a view
 
- - - - - - - - - - - - - -

-Functions

void ARC_View_Create (ARC_View **view, ARC_Renderer *renderer, ARC_Rect bounds)
 creates ARC_View type
 
void ARC_View_Destroy (ARC_View *view)
 destroys ARC_View type
 
void ARC_View_Render (ARC_View *view, ARC_View_RenderFn renderFn, void *data)
 renders callbacks contents within an ARC_View
 
ARC_Rect ARC_View_GetBounds (ARC_View *view)
 gets bounds from ARC_View type
 
-

Typedef Documentation

- -

◆ ARC_View

- -
-
- - - - -
typedef struct ARC_View ARC_View
-
- -
-
- -

◆ ARC_View_RenderFn

- -
-
- - - - -
typedef void(* ARC_View_RenderFn) (void *data)
-
- -

a function for ARC_View where contents of the function will be rendered within a view

-
Parameters
- - -
datadata to be used within ARC_View_RenderFn
-
-
- -

Definition at line 21 of file view.h.

- -
-
-

Function Documentation

- -

◆ ARC_View_Create()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_View_Create (ARC_View ** view,
ARC_Renderer * renderer,
ARC_Rect bounds )
-
- -

creates ARC_View type

-
Parameters
- - - - -
viewARC_View to initialize
rendererARC_Renderer the view will render to
boundsARC_Rect bounds of the view within the renderer
-
-
- -
-
- -

◆ ARC_View_Destroy()

- -
-
- - - - - - - -
void ARC_View_Destroy (ARC_View * view)
-
- -

destroys ARC_View type

- -
-
- -

◆ ARC_View_GetBounds()

- -
-
- - - - - - - -
ARC_Rect ARC_View_GetBounds (ARC_View * view)
-
- -

gets bounds from ARC_View type

-
Parameters
- - -
viewARC_View to get bounds from
-
-
-
Returns
bounds of the view
- -
-
- -

◆ ARC_View_Render()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_View_Render (ARC_View * view,
ARC_View_RenderFn renderFn,
void * data )
-
- -

renders callbacks contents within an ARC_View

-
Parameters
- - - - -
viewARC_View to be renedered to
renderFnfunction which contents will render to given ARC_View
datadata to be used in renderFn
-
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/de5/graphics_2view_8h.js b/doc/doxygen/html/d5/de5/graphics_2view_8h.js deleted file mode 100644 index f642460..0000000 --- a/doc/doxygen/html/d5/de5/graphics_2view_8h.js +++ /dev/null @@ -1,10 +0,0 @@ -var graphics_2view_8h = -[ - [ "ARC_View", "dc/d18/structARC__View.html", "dc/d18/structARC__View" ], - [ "ARC_View", "d5/de5/graphics_2view_8h.html#a1724ebeb7f950d56c593431e1fbc76f5", null ], - [ "ARC_View_RenderFn", "d5/de5/graphics_2view_8h.html#ad1ac7d4e1924b60da2f857b59801ec60", null ], - [ "ARC_View_Create", "d5/de5/graphics_2view_8h.html#ab6dc86e2534d18462197a7f5631eb6f1", null ], - [ "ARC_View_Destroy", "d5/de5/graphics_2view_8h.html#aa4fbfd12f927bd495594828e3b43b561", null ], - [ "ARC_View_GetBounds", "d5/de5/graphics_2view_8h.html#a1bfd840c5d19e24cff495ce95c67f18e", null ], - [ "ARC_View_Render", "d5/de5/graphics_2view_8h.html#a3ae6e8988b6128f00589aba6183b5f86", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d5/de5/graphics_2view_8h_source.html b/doc/doxygen/html/d5/de5/graphics_2view_8h_source.html deleted file mode 100644 index a170a46..0000000 --- a/doc/doxygen/html/d5/de5/graphics_2view_8h_source.html +++ /dev/null @@ -1,202 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/view.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
view.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_GRAPHICS_VIEW_H_
-
2#define ARC_GRAPHICS_VIEW_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
- - -
10
- -
15
-
16/**
-
17 * @brief a function for ARC_View where contents of the function will be rendered within a view
-
18 *
-
19 * @param data data to be used within ARC_View_RenderFn
-
20 */
-
21typedef void (* ARC_View_RenderFn)(void *data);
-
22
-
23/**
-
24 * @brief creates ARC_View type
-
25 *
-
26 * @param view ARC_View to initialize
-
27 * @param renderer ARC_Renderer the view will render to
-
28 * @param bounds ARC_Rect bounds of the view within the renderer
-
29 */
-
30void ARC_View_Create(ARC_View **view, ARC_Renderer *renderer, ARC_Rect bounds);
-
31
-
32/**
-
33 * @brief destroys ARC_View type
-
34 */
- -
36
-
37/**
-
38 * @brief renders callbacks contents within an ARC_View
-
39 *
-
40 * @param view ARC_View to be renedered to
-
41 * @param renderFn function which contents will render to given ARC_View
-
42 * @param data data to be used in renderFn
-
43 */
-
44void ARC_View_Render(ARC_View *view, ARC_View_RenderFn renderFn, void *data);
-
45
-
46/**
-
47 * @brief gets bounds from ARC_View type
-
48 *
-
49 * @param view ARC_View to get bounds from
-
50 *
-
51 * @return bounds of the view
-
52 */
- -
54
-
55#ifdef __cplusplus
-
56}
-
57#endif
-
58
-
59#endif // !ARC_GRAPHICS_VIEW_H_
-
struct ARC_View ARC_View
-
ARC_Rect ARC_View_GetBounds(ARC_View *view)
gets bounds from ARC_View type
-
void ARC_View_Render(ARC_View *view, ARC_View_RenderFn renderFn, void *data)
renders callbacks contents within an ARC_View
-
void ARC_View_Destroy(ARC_View *view)
destroys ARC_View type
-
void ARC_View_Create(ARC_View **view, ARC_Renderer *renderer, ARC_Rect bounds)
creates ARC_View type
-
void(* ARC_View_RenderFn)(void *data)
a function for ARC_View where contents of the function will be rendered within a view
Definition view.h:21
- - -
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- - -
ARC_Renderer * renderer
Definition view.h:12
-
ARC_Rect bounds
Definition view.h:13
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/df0/structARC__EngineData.html b/doc/doxygen/html/d5/df0/structARC__EngineData.html deleted file mode 100644 index 9e39a76..0000000 --- a/doc/doxygen/html/d5/df0/structARC__EngineData.html +++ /dev/null @@ -1,305 +0,0 @@ - - - - - - - - -Archeus: ARC_EngineData Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_EngineData Struct Reference
-
-
- -

#include <engine.h>

- - - - - - - - - - - - - - - - - - - - -

-Data Fields

ARC_Windowwindow
 
ARC_Rendererrenderer
 
ARC_Handlerstate
 
ARC_Inputinput
 
ARC_Mousemouse
 
ARC_Keyboardkeyboard
 
double dt
 
ARC_Bool running
 
ARC_Point windowSize
 
-

Detailed Description

-
-

Definition at line 17 of file engine.h.

-

Field Documentation

- -

◆ dt

- -
-
- - - - -
double ARC_EngineData::dt
-
- -

Definition at line 25 of file engine.h.

- -
-
- -

◆ input

- -
-
- - - - -
ARC_Input* ARC_EngineData::input
-
- -

Definition at line 21 of file engine.h.

- -
-
- -

◆ keyboard

- -
-
- - - - -
ARC_Keyboard* ARC_EngineData::keyboard
-
- -

Definition at line 23 of file engine.h.

- -
-
- -

◆ mouse

- -
-
- - - - -
ARC_Mouse* ARC_EngineData::mouse
-
- -

Definition at line 22 of file engine.h.

- -
-
- -

◆ renderer

- -
-
- - - - -
ARC_Renderer* ARC_EngineData::renderer
-
- -

Definition at line 19 of file engine.h.

- -
-
- -

◆ running

- -
-
- - - - -
ARC_Bool ARC_EngineData::running
-
- -

Definition at line 26 of file engine.h.

- -
-
- -

◆ state

- -
-
- - - - -
ARC_Handler* ARC_EngineData::state
-
- -

Definition at line 20 of file engine.h.

- -
-
- -

◆ window

- -
-
- - - - -
ARC_Window* ARC_EngineData::window
-
- -

Definition at line 18 of file engine.h.

- -
-
- -

◆ windowSize

- -
-
- - - - -
ARC_Point ARC_EngineData::windowSize
-
- -

Definition at line 27 of file engine.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/include/arc/engine/engine.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/df0/structARC__EngineData.js b/doc/doxygen/html/d5/df0/structARC__EngineData.js deleted file mode 100644 index b617156..0000000 --- a/doc/doxygen/html/d5/df0/structARC__EngineData.js +++ /dev/null @@ -1,12 +0,0 @@ -var structARC__EngineData = -[ - [ "dt", "d5/df0/structARC__EngineData.html#af22bf314211d564bdcddba63a1a16987", null ], - [ "input", "d5/df0/structARC__EngineData.html#a382729bc9e0bdd577fce3b1a204636ec", null ], - [ "keyboard", "d5/df0/structARC__EngineData.html#a4b27ffc245ac5a29fdcb6ae2e1351752", null ], - [ "mouse", "d5/df0/structARC__EngineData.html#adbcb8ddc2797b28998ec34540bc1e85c", null ], - [ "renderer", "d5/df0/structARC__EngineData.html#acd1e5bdf06bfd91ce66c8ce6a46006a2", null ], - [ "running", "d5/df0/structARC__EngineData.html#a524135263c2d2905bf0bf4e4a40380d5", null ], - [ "state", "d5/df0/structARC__EngineData.html#a5f96f851824e024e8b59919a2195b36e", null ], - [ "window", "d5/df0/structARC__EngineData.html#abcdb1fc080bcd9ad137bc3ac8ae69432", null ], - [ "windowSize", "d5/df0/structARC__EngineData.html#a1ff5a52e45bb535885a32d4a7c69c074", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d5/df3/lexer_8h.html b/doc/doxygen/html/d5/df3/lexer_8h.html deleted file mode 100644 index 99f0463..0000000 --- a/doc/doxygen/html/d5/df3/lexer_8h.html +++ /dev/null @@ -1,1801 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/lexer.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
lexer.h File Reference
-
-
-
#include "arc/std/string.h"
-#include <stdint.h>
-
-

Go to the source code of this file.

- - - - - - - - -

-Data Structures

struct  ARC_LexerToken
 a lexer token type More...
 
struct  ARC_LexerTokenRule
 a lexer token rule type More...
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Macros

#define ARC_LEXER_TOKEN_NULL   0
 basic tokens
 
#define ARC_LEXER_TOKEN_NUMBER   1
 
#define ARC_LEXER_TOKEN_ALPHA_LOWER_CHAR   2
 
#define ARC_LEXER_TOKEN_ALPHA_UPPER_CHAR   3
 
#define ARC_LEXER_TOKEN_WHITESPACE   4
 
#define ARC_LEXER_TOKEN_NEWLINE_ID   5
 basic token type ids, chars, and tags
 
#define ARC_LEXER_TOKEN_NEWLINE_CHAR   '\n'
 
#define ARC_LEXER_TOKEN_COLON_ID   6
 
#define ARC_LEXER_TOKEN_COLON_CHAR   ':'
 
#define ARC_LEXER_TOKEN_COLON_TAG   "COLON"
 
#define ARC_LEXER_TOKEN_SEMICOLON_ID   7
 
#define ARC_LEXER_TOKEN_SEMICOLON_CHAR   ';'
 
#define ARC_LEXER_TOKEN_SEMICOLON_TAG   "SEMICOLON"
 
#define ARC_LEXER_TOKEN_COMMA_ID   8
 
#define ARC_LEXER_TOKEN_COMMA_CHAR   ','
 
#define ARC_LEXER_TOKEN_COMMA_TAG   "COMMA"
 
#define ARC_LEXER_TOKEN_PERIOD_ID   9
 
#define ARC_LEXER_TOKEN_PERIOD_CHAR   '.'
 
#define ARC_LEXER_TOKEN_PERIOD_TAG   "PERIOD"
 
#define ARC_LEXER_TOKEN_FORWARD_SLASH_ID   10
 
#define ARC_LEXER_TOKEN_FORWARD_SLASH_CHAR   '/'
 
#define ARC_LEXER_TOKEN_FORWARD_SLASH_TAG   "FORWARD_SLASH"
 
#define ARC_LEXER_TOKEN_BACK_SLASH_ID   11
 
#define ARC_LEXER_TOKEN_BACK_SLASH_CHAR   '\\'
 
#define ARC_LEXER_TOKEN_BACK_SLASH_TAG   "BACK_SLASH"
 
#define ARC_LEXER_TOKEN_LEFT_PARENTHESIS_ID   12
 
#define ARC_LEXER_TOKEN_LEFT_PARENTHESIS_CHAR   '('
 
#define ARC_LEXER_TOKEN_LEFT_PARENTHESIS_TAG   "LEFT_PARENTHESIS"
 
#define ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_ID   13
 
#define ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_CHAR   ')'
 
#define ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_TAG   "RIGHT_PARENTHESIS"
 
#define ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_ID   14
 
#define ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_CHAR   '{'
 
#define ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_TAG   "LEFT_CURLY_BRACE"
 
#define ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_ID   15
 
#define ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_CHAR   '}'
 
#define ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_TAG   "RIGHT_CURLY_BRACE"
 
#define ARC_LEXER_TOKEN_BANG_ID   16
 
#define ARC_LEXER_TOKEN_BANG_CHAR   '!'
 
#define ARC_LEXER_TOKEN_BANG_TAG   "BANG"
 
#define ARC_LEXER_TOKEN_AT_ID   17
 
#define ARC_LEXER_TOKEN_AT_CHAR   '!'
 
#define ARC_LEXER_TOKEN_AT_TAG   "AT"
 
#define ARC_LEXER_TOKEN_HASH_ID   18
 
#define ARC_LEXER_TOKEN_HASH_CHAR   '#'
 
#define ARC_LEXER_TOKEN_HASH_TAG   "HASH"
 
#define ARC_LEXER_TOKEN_PERCENT_ID   19
 
#define ARC_LEXER_TOKEN_PERCENT_CHAR   '%'
 
#define ARC_LEXER_TOKEN_PERCENT_TAG   "PERCENT"
 
- - - - - - - - - - - - - - - - -

-Typedefs

typedef struct ARC_Lexer ARC_Lexer
 a lexer type
 
typedef struct ARC_LexerToken ARC_LexerToken
 a lexer token type
 
typedef uint32_t(* ARC_LexerTokenRule_AutomataFn) (ARC_String **tokenData, ARC_String *string, void *automataData)
 checks to see if a string is a type of token
 
typedef void(* ARC_LexerTokenRule_DestroyAutomataDataFn) (void *automataData)
 a callback function to clean up ARC_LexerTokenRule's automataData
 
typedef struct ARC_LexerTokenRule ARC_LexerTokenRule
 a lexer token rule type
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_Lexer_Create (ARC_Lexer **lexer)
 creates an ARC_Lexer type
 
void ARC_Lexer_Destroy (ARC_Lexer *lexer)
 destroys an ARC_Lexer type
 
void ARC_Lexer_RegisterTokenRule (ARC_Lexer *lexer, ARC_LexerTokenRule tokenRule)
 adds a token rule to a lexer
 
void ARC_Lexer_Clear (ARC_Lexer *lexer)
 clears all tokens from a lexer (will not clear token rules)
 
void ARC_Lexer_LexString (ARC_Lexer *lexer, ARC_String **data)
 creates tokens using a given string with ARC_LexerToken rules
 
void ARC_Lexer_LexFile (ARC_Lexer *lexer, ARC_String *path)
 reads in and lexs a file
 
void ARC_Lexer_PrintTokenRules (ARC_Lexer *lexer)
 prints rule id and hex of the function name
 
ARC_LexerTokenARC_Lexer_GetToken (ARC_Lexer *lexer, uint32_t index)
 gets a token at a given index from a lexer
 
uint32_t ARC_Lexer_GetTokensSize (ARC_Lexer *lexer)
 gets a token at a given index from a lexer
 
ARC_Bool ARC_Lexer_IsContinious (ARC_Lexer *lexer)
 returns a boolean based on if a lexers rules are continious
 
ARC_Bool ARC_Lexer_IsTokenId (ARC_Lexer *lexer, uint32_t id)
 returns a boolean based on if a given id is a stored token rule id
 
uint32_t ARC_Lexer_AutomataMatchCharFn (ARC_String **tokenData, ARC_String *string, void *automataData)
 checks if the first character of string matches the automataData cast as a char
 
uint32_t ARC_Lexer_AutomataMatchStringFn (ARC_String **tokenData, ARC_String *string, void *automataData)
 checks if the substring automataData as an ARC_String matches the first part of string
 
uint32_t ARC_Lexer_AutomataMatchCharInStringFn (ARC_String **tokenData, ARC_String *string, void *automataData)
 checks if the first part of string is a character in substring
 
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharRule (uint32_t id, char character)
 creates a ARC_LexerTokenRule with a given id and character
 
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween (uint32_t id, char start, char end)
 creates a ARC_LexerTokenRule with a given id and character range
 
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchStringRule (uint32_t id, ARC_String *string)
 creates a ARC_LexerTokenRule with a given id and string
 
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule (uint32_t id, ARC_String *string)
 creates a ARC_LexerTokenRule with a given id and string
 
void ARC_Lexer_InitBasicTokenRules (ARC_Lexer *lexer)
 adds a bunch of basic token rules (matching the BasicTokens above)
 
-

Macro Definition Documentation

- -

◆ ARC_LEXER_TOKEN_ALPHA_LOWER_CHAR

- -
-
- - - - -
#define ARC_LEXER_TOKEN_ALPHA_LOWER_CHAR   2
-
- -

Definition at line 250 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_ALPHA_UPPER_CHAR

- -
-
- - - - -
#define ARC_LEXER_TOKEN_ALPHA_UPPER_CHAR   3
-
- -

Definition at line 251 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_AT_CHAR

- -
-
- - - - -
#define ARC_LEXER_TOKEN_AT_CHAR   '!'
-
- -

Definition at line 293 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_AT_ID

- -
-
- - - - -
#define ARC_LEXER_TOKEN_AT_ID   17
-
- -

Definition at line 292 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_AT_TAG

- -
-
- - - - -
#define ARC_LEXER_TOKEN_AT_TAG   "AT"
-
- -

Definition at line 294 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_BACK_SLASH_CHAR

- -
-
- - - - -
#define ARC_LEXER_TOKEN_BACK_SLASH_CHAR   '\\'
-
- -

Definition at line 275 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_BACK_SLASH_ID

- -
-
- - - - -
#define ARC_LEXER_TOKEN_BACK_SLASH_ID   11
-
- -

Definition at line 274 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_BACK_SLASH_TAG

- -
-
- - - - -
#define ARC_LEXER_TOKEN_BACK_SLASH_TAG   "BACK_SLASH"
-
- -

Definition at line 276 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_BANG_CHAR

- -
-
- - - - -
#define ARC_LEXER_TOKEN_BANG_CHAR   '!'
-
- -

Definition at line 290 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_BANG_ID

- -
-
- - - - -
#define ARC_LEXER_TOKEN_BANG_ID   16
-
- -

Definition at line 289 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_BANG_TAG

- -
-
- - - - -
#define ARC_LEXER_TOKEN_BANG_TAG   "BANG"
-
- -

Definition at line 291 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_COLON_CHAR

- -
-
- - - - -
#define ARC_LEXER_TOKEN_COLON_CHAR   ':'
-
- -

Definition at line 260 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_COLON_ID

- -
-
- - - - -
#define ARC_LEXER_TOKEN_COLON_ID   6
-
- -

Definition at line 259 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_COLON_TAG

- -
-
- - - - -
#define ARC_LEXER_TOKEN_COLON_TAG   "COLON"
-
- -

Definition at line 261 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_COMMA_CHAR

- -
-
- - - - -
#define ARC_LEXER_TOKEN_COMMA_CHAR   ','
-
- -

Definition at line 266 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_COMMA_ID

- -
-
- - - - -
#define ARC_LEXER_TOKEN_COMMA_ID   8
-
- -

Definition at line 265 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_COMMA_TAG

- -
-
- - - - -
#define ARC_LEXER_TOKEN_COMMA_TAG   "COMMA"
-
- -

Definition at line 267 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_FORWARD_SLASH_CHAR

- -
-
- - - - -
#define ARC_LEXER_TOKEN_FORWARD_SLASH_CHAR   '/'
-
- -

Definition at line 272 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_FORWARD_SLASH_ID

- -
-
- - - - -
#define ARC_LEXER_TOKEN_FORWARD_SLASH_ID   10
-
- -

Definition at line 271 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_FORWARD_SLASH_TAG

- -
-
- - - - -
#define ARC_LEXER_TOKEN_FORWARD_SLASH_TAG   "FORWARD_SLASH"
-
- -

Definition at line 273 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_HASH_CHAR

- -
-
- - - - -
#define ARC_LEXER_TOKEN_HASH_CHAR   '#'
-
- -

Definition at line 296 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_HASH_ID

- -
-
- - - - -
#define ARC_LEXER_TOKEN_HASH_ID   18
-
- -

Definition at line 295 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_HASH_TAG

- -
-
- - - - -
#define ARC_LEXER_TOKEN_HASH_TAG   "HASH"
-
- -

Definition at line 297 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_CHAR

- -
-
- - - - -
#define ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_CHAR   '{'
-
- -

Definition at line 284 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_ID

- -
-
- - - - -
#define ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_ID   14
-
- -

Definition at line 283 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_TAG

- -
-
- - - - -
#define ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_TAG   "LEFT_CURLY_BRACE"
-
- -

Definition at line 285 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_LEFT_PARENTHESIS_CHAR

- -
-
- - - - -
#define ARC_LEXER_TOKEN_LEFT_PARENTHESIS_CHAR   '('
-
- -

Definition at line 278 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_LEFT_PARENTHESIS_ID

- -
-
- - - - -
#define ARC_LEXER_TOKEN_LEFT_PARENTHESIS_ID   12
-
- -

Definition at line 277 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_LEFT_PARENTHESIS_TAG

- -
-
- - - - -
#define ARC_LEXER_TOKEN_LEFT_PARENTHESIS_TAG   "LEFT_PARENTHESIS"
-
- -

Definition at line 279 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_NEWLINE_CHAR

- -
-
- - - - -
#define ARC_LEXER_TOKEN_NEWLINE_CHAR   '\n'
-
- -

Definition at line 258 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_NEWLINE_ID

- -
-
- - - - -
#define ARC_LEXER_TOKEN_NEWLINE_ID   5
-
- -

basic token type ids, chars, and tags

- -

Definition at line 257 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_NULL

- -
-
- - - - -
#define ARC_LEXER_TOKEN_NULL   0
-
- -

basic tokens

- -

Definition at line 248 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_NUMBER

- -
-
- - - - -
#define ARC_LEXER_TOKEN_NUMBER   1
-
- -

Definition at line 249 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_PERCENT_CHAR

- -
-
- - - - -
#define ARC_LEXER_TOKEN_PERCENT_CHAR   '%'
-
- -

Definition at line 299 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_PERCENT_ID

- -
-
- - - - -
#define ARC_LEXER_TOKEN_PERCENT_ID   19
-
- -

Definition at line 298 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_PERCENT_TAG

- -
-
- - - - -
#define ARC_LEXER_TOKEN_PERCENT_TAG   "PERCENT"
-
- -

Definition at line 300 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_PERIOD_CHAR

- -
-
- - - - -
#define ARC_LEXER_TOKEN_PERIOD_CHAR   '.'
-
- -

Definition at line 269 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_PERIOD_ID

- -
-
- - - - -
#define ARC_LEXER_TOKEN_PERIOD_ID   9
-
- -

Definition at line 268 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_PERIOD_TAG

- -
-
- - - - -
#define ARC_LEXER_TOKEN_PERIOD_TAG   "PERIOD"
-
- -

Definition at line 270 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_CHAR

- -
-
- - - - -
#define ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_CHAR   '}'
-
- -

Definition at line 287 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_ID

- -
-
- - - - -
#define ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_ID   15
-
- -

Definition at line 286 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_TAG

- -
-
- - - - -
#define ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_TAG   "RIGHT_CURLY_BRACE"
-
- -

Definition at line 288 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_CHAR

- -
-
- - - - -
#define ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_CHAR   ')'
-
- -

Definition at line 281 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_ID

- -
-
- - - - -
#define ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_ID   13
-
- -

Definition at line 280 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_TAG

- -
-
- - - - -
#define ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_TAG   "RIGHT_PARENTHESIS"
-
- -

Definition at line 282 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_SEMICOLON_CHAR

- -
-
- - - - -
#define ARC_LEXER_TOKEN_SEMICOLON_CHAR   ';'
-
- -

Definition at line 263 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_SEMICOLON_ID

- -
-
- - - - -
#define ARC_LEXER_TOKEN_SEMICOLON_ID   7
-
- -

Definition at line 262 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_SEMICOLON_TAG

- -
-
- - - - -
#define ARC_LEXER_TOKEN_SEMICOLON_TAG   "SEMICOLON"
-
- -

Definition at line 264 of file lexer.h.

- -
-
- -

◆ ARC_LEXER_TOKEN_WHITESPACE

- -
-
- - - - -
#define ARC_LEXER_TOKEN_WHITESPACE   4
-
- -

Definition at line 252 of file lexer.h.

- -
-
-

Typedef Documentation

- -

◆ ARC_Lexer

- -
-
- - - - -
typedef struct ARC_Lexer ARC_Lexer
-
- -

a lexer type

- -

Definition at line 13 of file lexer.h.

- -
-
- -

◆ ARC_LexerToken

- -
-
- - - - -
typedef struct ARC_LexerToken ARC_LexerToken
-
- -

a lexer token type

- -
-
- -

◆ ARC_LexerTokenRule

- -
-
- - - - -
typedef struct ARC_LexerTokenRule ARC_LexerTokenRule
-
- -

a lexer token rule type

- -
-
- -

◆ ARC_LexerTokenRule_AutomataFn

- -
-
- - - - -
typedef uint32_t(* ARC_LexerTokenRule_AutomataFn) (ARC_String **tokenData, ARC_String *string, void *automataData)
-
- -

checks to see if a string is a type of token

-
Note
do not set tokenData if this function returns 0, doing so will create a memory leak
-
Parameters
- - - - -
[out]tokenDataa place to store token data (like a variable name), can be NULL if not needed
[in]stringa string to be checked to see if it matches a token
[in]automataDataany data that needs to be used for the ARC_Lexer_AutomataFn
-
-
-
Returns
the size of the token found, or 0 if the token was not found
- -

Definition at line 34 of file lexer.h.

- -
-
- -

◆ ARC_LexerTokenRule_DestroyAutomataDataFn

- -
-
- - - - -
typedef void(* ARC_LexerTokenRule_DestroyAutomataDataFn) (void *automataData)
-
- -

a callback function to clean up ARC_LexerTokenRule's automataData

-
Parameters
- - -
automataDatathe void * automataData to destroy
-
-
- -

Definition at line 41 of file lexer.h.

- -
-
-

Function Documentation

- -

◆ ARC_Lexer_AutomataMatchCharFn()

- -
-
- - - - - - - - - - - - - - - - -
uint32_t ARC_Lexer_AutomataMatchCharFn (ARC_String ** tokenData,
ARC_String * string,
void * automataData )
-
- -

checks if the first character of string matches the automataData cast as a char

-
Note
this is intended as a helper callback
-
-this function is a ARC_Lexer_AutomataFn callback
-
Parameters
- - - - -
[out]tokenDataa place to store token data (like a variable name), can be NULL if not needed
[in]stringa string to be checked to see if it matches a token
[in]automataDataany data that needs to be used for the ARC_Lexer_AutomataFn
-
-
-
Returns
the size of the token found, or 0 if the token was not found
- -
-
- -

◆ ARC_Lexer_AutomataMatchCharInStringFn()

- -
-
- - - - - - - - - - - - - - - - -
uint32_t ARC_Lexer_AutomataMatchCharInStringFn (ARC_String ** tokenData,
ARC_String * string,
void * automataData )
-
- -

checks if the first part of string is a character in substring

-
Note
this is intended as a helper callback
-
-this function is a ARC_Lexer_AutomataFn callback
-
Parameters
- - - - -
[out]tokenDataa place to store token data (like a variable name), can be NULL if not needed
[in]stringa string to be checked to see if it matches a token
[in]automataDataany data that needs to be used for the ARC_Lexer_AutomataFn
-
-
-
Returns
the size of the token found, or 0 if the token was not found
- -
-
- -

◆ ARC_Lexer_AutomataMatchStringFn()

- -
-
- - - - - - - - - - - - - - - - -
uint32_t ARC_Lexer_AutomataMatchStringFn (ARC_String ** tokenData,
ARC_String * string,
void * automataData )
-
- -

checks if the substring automataData as an ARC_String matches the first part of string

-
Note
this is intended as a helper callback
-
-this function is a ARC_Lexer_AutomataFn callback
-
Parameters
- - - - -
[out]tokenDataa place to store token data (like a variable name), can be NULL if not needed
[in]stringa string to be checked to see if it matches a token
[in]automataDataany data that needs to be used for the ARC_Lexer_AutomataFn
-
-
-
Returns
the size of the token found, or 0 if the token was not found
- -
-
- -

◆ ARC_Lexer_Clear()

- -
-
- - - - - - - -
void ARC_Lexer_Clear (ARC_Lexer * lexer)
-
- -

clears all tokens from a lexer (will not clear token rules)

-
Parameters
- - -
lexerthe lexer to clear tokens from
-
-
- -
-
- -

◆ ARC_Lexer_Create()

- -
-
- - - - - - - -
void ARC_Lexer_Create (ARC_Lexer ** lexer)
-
- -

creates an ARC_Lexer type

-
Parameters
- - -
[out]lexerARC_Lexer to create
-
-
- -
-
- -

◆ ARC_Lexer_Destroy()

- -
-
- - - - - - - -
void ARC_Lexer_Destroy (ARC_Lexer * lexer)
-
- -

destroys an ARC_Lexer type

-
Parameters
- - -
[in]lexerARC_Lexer to free
-
-
- -
-
- -

◆ ARC_Lexer_GetToken()

- -
-
- - - - - - - - - - - -
ARC_LexerToken * ARC_Lexer_GetToken (ARC_Lexer * lexer,
uint32_t index )
-
- -

gets a token at a given index from a lexer

-
Note
unless you have a very good reason, you probably don't want to mess with the tokens string. that will probably change the token's string inside the lexer
-
Parameters
- - - -
[in]lexerthe lexer to get the token from
[in]indexthe index of the token in the lexer to get
-
-
-
Returns
a token at the lexer index on success, otherwise NULL
- -
-
- -

◆ ARC_Lexer_GetTokensSize()

- -
-
- - - - - - - -
uint32_t ARC_Lexer_GetTokensSize (ARC_Lexer * lexer)
-
- -

gets a token at a given index from a lexer

-
Parameters
- - -
[in]lexerthe lexer to get the tokens size from
-
-
-
Returns
the size of the token array in a lexer
- -
-
- -

◆ ARC_Lexer_InitBasicTokenRules()

- -
-
- - - - - - - -
void ARC_Lexer_InitBasicTokenRules (ARC_Lexer * lexer)
-
- -

adds a bunch of basic token rules (matching the BasicTokens above)

- -
-
- -

◆ ARC_Lexer_IsContinious()

- -
-
- - - - - - - -
ARC_Bool ARC_Lexer_IsContinious (ARC_Lexer * lexer)
-
- -

returns a boolean based on if a lexers rules are continious

-
Parameters
- - -
[in]lexerthe lexer to check if its ruls are continious
-
-
-
Returns
ARC_True if the set rules are continious
- -
-
- -

◆ ARC_Lexer_IsTokenId()

- -
-
- - - - - - - - - - - -
ARC_Bool ARC_Lexer_IsTokenId (ARC_Lexer * lexer,
uint32_t id )
-
- -

returns a boolean based on if a given id is a stored token rule id

-
Parameters
- - - -
[in]lexerthe lexer to check stored token rule ids
[in]idthe id to check against the token rules
-
-
-
Returns
ARC_True if the id is a rule id, ARC_False otherwise
- -
-
- -

◆ ARC_Lexer_LexFile()

- -
-
- - - - - - - - - - - -
void ARC_Lexer_LexFile (ARC_Lexer * lexer,
ARC_String * path )
-
- -

reads in and lexs a file

-
Note
this function will call ARC_Lexer_LexString, so it's notes are applicable to this function
-
Parameters
- - - -
[in]lexerthe lexer which holds to rules to use
[in]pathpath of file to read in and lex
-
-
- -
-
- -

◆ ARC_Lexer_LexString()

- -
-
- - - - - - - - - - - -
void ARC_Lexer_LexString (ARC_Lexer * lexer,
ARC_String ** data )
-
- -

creates tokens using a given string with ARC_LexerToken rules

-
Parameters
- - - -
[in]lexerthe lexer to get the ARC_LexerTokens from
[in/out]data the string to lex, will be freed and set to NULL by the end of this function
-
-
- -
-
- -

◆ ARC_Lexer_PrintTokenRules()

- -
-
- - - - - - - -
void ARC_Lexer_PrintTokenRules (ARC_Lexer * lexer)
-
- -

prints rule id and hex of the function name

-
Note
this is mostly used for debugging
-
Parameters
- - -
[in]lexerthe lexer to print rules from
-
-
- -
-
- -

◆ ARC_Lexer_RegisterTokenRule()

- -
-
- - - - - - - - - - - -
void ARC_Lexer_RegisterTokenRule (ARC_Lexer * lexer,
ARC_LexerTokenRule tokenRule )
-
- -

adds a token rule to a lexer

-
Parameters
- - - -
[in]lexerthe lexer to add a token rule to
[in]tokenRulethe token rule to add
-
-
- -
-
- -

◆ ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule()

- -
-
- - - - - - - - - - - -
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule (uint32_t id,
ARC_String * string )
-
- -

creates a ARC_LexerTokenRule with a given id and string

-
Note
this is intended as a helper funtion #note string will not be freed (it will be copied and the copy will be freed)
-
Parameters
- - - -
[in]ida tokens id (basically the token value)
[in]characterthe string to match against, will be copied
-
-
-
Returns
a token rule based in the id and string
- -
-
- -

◆ ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween()

- -
-
- - - - - - - - - - - - - - - - -
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween (uint32_t id,
char start,
char end )
-
- -

creates a ARC_LexerTokenRule with a given id and character range

-
Note
this is intended as a helper funtion
-
Parameters
- - - - -
[in]ida tokens id (basically the token value)
[in]startthe minimum character value to match against
[in]endthe maxamum character value to match against
-
-
-
Returns
a token rule based in the id and character
- -
-
- -

◆ ARC_LexerTokenRule_CreateAndReturnMatchCharRule()

- -
-
- - - - - - - - - - - -
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharRule (uint32_t id,
char character )
-
- -

creates a ARC_LexerTokenRule with a given id and character

-
Note
this is intended as a helper funtion
-
Parameters
- - - -
[in]ida tokens id (basically the token value)
[in]characterthe character to match against
-
-
-
Returns
a token rule based in the id and character
- -
-
- -

◆ ARC_LexerTokenRule_CreateAndReturnMatchStringRule()

- -
-
- - - - - - - - - - - -
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchStringRule (uint32_t id,
ARC_String * string )
-
- -

creates a ARC_LexerTokenRule with a given id and string

-
Note
this is intended as a helper funtion #note string will not be freed (it will be copied and the copy will be freed)
-
Parameters
- - - -
[in]ida tokens id (basically the token value)
[in]characterthe string to match against, will be copied
-
-
-
Returns
a token rule based in the id and string
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/df3/lexer_8h.js b/doc/doxygen/html/d5/df3/lexer_8h.js deleted file mode 100644 index 877e3a9..0000000 --- a/doc/doxygen/html/d5/df3/lexer_8h.js +++ /dev/null @@ -1,78 +0,0 @@ -var lexer_8h = -[ - [ "ARC_LexerToken", "d2/d37/structARC__LexerToken.html", "d2/d37/structARC__LexerToken" ], - [ "ARC_LexerTokenRule", "d5/dbd/structARC__LexerTokenRule.html", "d5/dbd/structARC__LexerTokenRule" ], - [ "ARC_LEXER_TOKEN_ALPHA_LOWER_CHAR", "d5/df3/lexer_8h.html#acbfaaa4882426f9a4586adc28004c4a9", null ], - [ "ARC_LEXER_TOKEN_ALPHA_UPPER_CHAR", "d5/df3/lexer_8h.html#a12dca3db4664b48ac7b7930845e3f0b5", null ], - [ "ARC_LEXER_TOKEN_AT_CHAR", "d5/df3/lexer_8h.html#a7a7783d384eefb423ef2f16784095193", null ], - [ "ARC_LEXER_TOKEN_AT_ID", "d5/df3/lexer_8h.html#a66029f9623154f65903ca5f0c94271f3", null ], - [ "ARC_LEXER_TOKEN_AT_TAG", "d5/df3/lexer_8h.html#a4032d8e35e7265f44193dd648a79feeb", null ], - [ "ARC_LEXER_TOKEN_BACK_SLASH_CHAR", "d5/df3/lexer_8h.html#ad2264457e3e1ce1812bb333a355fe2c5", null ], - [ "ARC_LEXER_TOKEN_BACK_SLASH_ID", "d5/df3/lexer_8h.html#ac0bf4c6f183eb6964457c6b75dcf2559", null ], - [ "ARC_LEXER_TOKEN_BACK_SLASH_TAG", "d5/df3/lexer_8h.html#ab9fd8e4e84a33ff8532ed7d0844e9a93", null ], - [ "ARC_LEXER_TOKEN_BANG_CHAR", "d5/df3/lexer_8h.html#a8a22341977447549ffdc6e148968cdd3", null ], - [ "ARC_LEXER_TOKEN_BANG_ID", "d5/df3/lexer_8h.html#ac1facbe634a52b2e5574810af95e37d7", null ], - [ "ARC_LEXER_TOKEN_BANG_TAG", "d5/df3/lexer_8h.html#af95c63a510b7ad72568302973e575661", null ], - [ "ARC_LEXER_TOKEN_COLON_CHAR", "d5/df3/lexer_8h.html#a7d91762b983dfec20c61144fe4c9a054", null ], - [ "ARC_LEXER_TOKEN_COLON_ID", "d5/df3/lexer_8h.html#ad38ac0d96e0a5a97be13643323826e69", null ], - [ "ARC_LEXER_TOKEN_COLON_TAG", "d5/df3/lexer_8h.html#a5293226a069fcce4d748dfe25ea28db6", null ], - [ "ARC_LEXER_TOKEN_COMMA_CHAR", "d5/df3/lexer_8h.html#a6250250207f50276b3c99de8c86809b6", null ], - [ "ARC_LEXER_TOKEN_COMMA_ID", "d5/df3/lexer_8h.html#aa936d2fd37b867dda6af8eec8ecaa88d", null ], - [ "ARC_LEXER_TOKEN_COMMA_TAG", "d5/df3/lexer_8h.html#ad39b482565589e133ab190813fe38d1c", null ], - [ "ARC_LEXER_TOKEN_FORWARD_SLASH_CHAR", "d5/df3/lexer_8h.html#aca9ee4ab4749f8817659841ec615dfce", null ], - [ "ARC_LEXER_TOKEN_FORWARD_SLASH_ID", "d5/df3/lexer_8h.html#a0c8b18c3c26ad7ee828f77a8c29301e5", null ], - [ "ARC_LEXER_TOKEN_FORWARD_SLASH_TAG", "d5/df3/lexer_8h.html#ab8fe2fa9b377c8bad5abd27a1eade1fd", null ], - [ "ARC_LEXER_TOKEN_HASH_CHAR", "d5/df3/lexer_8h.html#afb07206d57135f2002d113eff71b8603", null ], - [ "ARC_LEXER_TOKEN_HASH_ID", "d5/df3/lexer_8h.html#ab5f44b2c57ec755662e6b4cc31305763", null ], - [ "ARC_LEXER_TOKEN_HASH_TAG", "d5/df3/lexer_8h.html#a1b26293fe02055053431f8e62e060b9f", null ], - [ "ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_CHAR", "d5/df3/lexer_8h.html#af5ec79c2c40d444874360c71e91cde5e", null ], - [ "ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_ID", "d5/df3/lexer_8h.html#a7effdeb40e661cf783490e14b255aad9", null ], - [ "ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_TAG", "d5/df3/lexer_8h.html#a326fa43dd2a63993bd7d9f33db5198ef", null ], - [ "ARC_LEXER_TOKEN_LEFT_PARENTHESIS_CHAR", "d5/df3/lexer_8h.html#a3ccee7de395056e03e7e7df0de63bc13", null ], - [ "ARC_LEXER_TOKEN_LEFT_PARENTHESIS_ID", "d5/df3/lexer_8h.html#ae44573fa8818c62b544efe00a1a52bd4", null ], - [ "ARC_LEXER_TOKEN_LEFT_PARENTHESIS_TAG", "d5/df3/lexer_8h.html#a0d3de6fa1b15d0281511afc2a84ae9bb", null ], - [ "ARC_LEXER_TOKEN_NEWLINE_CHAR", "d5/df3/lexer_8h.html#abb0b66a2744366b326c8829753646c0d", null ], - [ "ARC_LEXER_TOKEN_NEWLINE_ID", "d5/df3/lexer_8h.html#aa3d5af57f465f294132a443dae162dfa", null ], - [ "ARC_LEXER_TOKEN_NULL", "d5/df3/lexer_8h.html#a4e9237d6afe95b3a15c0dbbda31be332", null ], - [ "ARC_LEXER_TOKEN_NUMBER", "d5/df3/lexer_8h.html#af8e71317b3d348e031b9341b5a53686f", null ], - [ "ARC_LEXER_TOKEN_PERCENT_CHAR", "d5/df3/lexer_8h.html#a333616987d461f204dda5639f95e089b", null ], - [ "ARC_LEXER_TOKEN_PERCENT_ID", "d5/df3/lexer_8h.html#a255142bb5e2e24cdb47933888c1abf0b", null ], - [ "ARC_LEXER_TOKEN_PERCENT_TAG", "d5/df3/lexer_8h.html#a9d5789282edf5bf15d3073f0af374a0e", null ], - [ "ARC_LEXER_TOKEN_PERIOD_CHAR", "d5/df3/lexer_8h.html#a19d98980187c79d6a2ad3df8e01b11f4", null ], - [ "ARC_LEXER_TOKEN_PERIOD_ID", "d5/df3/lexer_8h.html#a4c8a1519b49b37ec99643705a20e8a00", null ], - [ "ARC_LEXER_TOKEN_PERIOD_TAG", "d5/df3/lexer_8h.html#a6e76529a54f15d0d9dd4c0ca6399353c", null ], - [ "ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_CHAR", "d5/df3/lexer_8h.html#a5d3d1a7900a1618d0a0326249055e92e", null ], - [ "ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_ID", "d5/df3/lexer_8h.html#aab050a58f63466390f399fb375d8a9ff", null ], - [ "ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_TAG", "d5/df3/lexer_8h.html#a6add2d4c998f78fbdb8d18e5d75dc729", null ], - [ "ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_CHAR", "d5/df3/lexer_8h.html#af74acd7cfd8ee39e05d66e5a469ec00d", null ], - [ "ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_ID", "d5/df3/lexer_8h.html#a7fb6afd315d1e644bbab3b3b343c164b", null ], - [ "ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_TAG", "d5/df3/lexer_8h.html#a45a03ad24e7eccccb13a11a1bdbce55d", null ], - [ "ARC_LEXER_TOKEN_SEMICOLON_CHAR", "d5/df3/lexer_8h.html#ad4708bf5048147da38eba6d2baf5010d", null ], - [ "ARC_LEXER_TOKEN_SEMICOLON_ID", "d5/df3/lexer_8h.html#ac38c1572faebdf823616308b5cea1747", null ], - [ "ARC_LEXER_TOKEN_SEMICOLON_TAG", "d5/df3/lexer_8h.html#a1e19a41be65ea39e9e853b23d64df03d", null ], - [ "ARC_LEXER_TOKEN_WHITESPACE", "d5/df3/lexer_8h.html#a08fc384c1dd0c911a4d97396262159c6", null ], - [ "ARC_Lexer", "d5/df3/lexer_8h.html#ad48d6475f5cf332db813477ee8621446", null ], - [ "ARC_LexerToken", "d5/df3/lexer_8h.html#a3815389501803591a2c7bfbc8a2442af", null ], - [ "ARC_LexerTokenRule", "d5/df3/lexer_8h.html#a0b4bb5ebabb63ba62c1072bb080fd8f6", null ], - [ "ARC_LexerTokenRule_AutomataFn", "d5/df3/lexer_8h.html#a9ba5d0511240955414394fed08548ee4", null ], - [ "ARC_LexerTokenRule_DestroyAutomataDataFn", "d5/df3/lexer_8h.html#a04134632768009daff1b342a8fd12b6e", null ], - [ "ARC_Lexer_AutomataMatchCharFn", "d5/df3/lexer_8h.html#a3db57b9db596091a576fb701f8cabee0", null ], - [ "ARC_Lexer_AutomataMatchCharInStringFn", "d5/df3/lexer_8h.html#ac736e5472dc8d123800754c9e67405d8", null ], - [ "ARC_Lexer_AutomataMatchStringFn", "d5/df3/lexer_8h.html#aa19c4d6677ef05c8d0f1c809b4f1a82b", null ], - [ "ARC_Lexer_Clear", "d5/df3/lexer_8h.html#a433d2612daddba30462288d3b1902138", null ], - [ "ARC_Lexer_Create", "d5/df3/lexer_8h.html#a577b5af9532aaea8b58d3ef29ef9f439", null ], - [ "ARC_Lexer_Destroy", "d5/df3/lexer_8h.html#af119f4730d1361e0f77bd230f7a66470", null ], - [ "ARC_Lexer_GetToken", "d5/df3/lexer_8h.html#a251b6e9d9aa8b29295be205c36eb5995", null ], - [ "ARC_Lexer_GetTokensSize", "d5/df3/lexer_8h.html#a7131b158cd0b2aad60e89c3c60d2a47e", null ], - [ "ARC_Lexer_InitBasicTokenRules", "d5/df3/lexer_8h.html#a53da53523cb5ff94d803d1d6e7c62462", null ], - [ "ARC_Lexer_IsContinious", "d5/df3/lexer_8h.html#ab352c9b8f76abf4f9e2ce9fccfa9aa50", null ], - [ "ARC_Lexer_IsTokenId", "d5/df3/lexer_8h.html#a35efaf00d01ae654db11f619103c06c0", null ], - [ "ARC_Lexer_LexFile", "d5/df3/lexer_8h.html#a1b7282db985dcde4ad59ab7159d229f1", null ], - [ "ARC_Lexer_LexString", "d5/df3/lexer_8h.html#a3feb57a6200882fd3951fb6e54edc40a", null ], - [ "ARC_Lexer_PrintTokenRules", "d5/df3/lexer_8h.html#acf0761b4efbf71dd32671512c1ceed6d", null ], - [ "ARC_Lexer_RegisterTokenRule", "d5/df3/lexer_8h.html#a39d48ecab5e20c16a3825b27bec785f7", null ], - [ "ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule", "d5/df3/lexer_8h.html#ab9912c97ec2ff272e0bbd6c5851fd8f5", null ], - [ "ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween", "d5/df3/lexer_8h.html#a9b064167edcd7c9e6b634826195f031b", null ], - [ "ARC_LexerTokenRule_CreateAndReturnMatchCharRule", "d5/df3/lexer_8h.html#a79b5abbb2636bcf06c7e90fb1c875903", null ], - [ "ARC_LexerTokenRule_CreateAndReturnMatchStringRule", "d5/df3/lexer_8h.html#a430283c20ad3d7bf9a18fa96fbbee461", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d5/df3/lexer_8h_source.html b/doc/doxygen/html/d5/df3/lexer_8h_source.html deleted file mode 100644 index 3f06725..0000000 --- a/doc/doxygen/html/d5/df3/lexer_8h_source.html +++ /dev/null @@ -1,478 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/lexer.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
lexer.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_STD_LEXER_H_
-
2#define ARC_STD_LEXER_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7#include "arc/std/string.h"
-
8#include <stdint.h>
-
9
-
10/**
-
11 * @brief a lexer type
-
12*/
-
13typedef struct ARC_Lexer ARC_Lexer;
-
14
-
15/**
-
16 * @brief a lexer token type
-
17*/
-
-
18typedef struct ARC_LexerToken {
-
19 uint32_t rule;
- - -
-
22
-
23/**
-
24 * @brief checks to see if a string is a type of token
-
25 *
-
26 * @note do not set tokenData if this function returns 0, doing so will create a memory leak
-
27 *
-
28 * @param[out] tokenData a place to store token data (like a variable name), can be NULL if not needed
-
29 * @param[in] string a string to be checked to see if it matches a token
-
30 * @param[in] automataData any data that needs to be used for the ARC_Lexer_AutomataFn
-
31 *
-
32 * @return the size of the token found, or 0 if the token was not found
-
33*/
-
34typedef uint32_t (* ARC_LexerTokenRule_AutomataFn)(ARC_String **tokenData, ARC_String *string, void *automataData);
-
35
-
36/**
-
37 * @brief a callback function to clean up ARC_LexerTokenRule's automataData
-
38 *
-
39 * @param automataData the void * automataData to destroy
-
40*/
-
41typedef void (* ARC_LexerTokenRule_DestroyAutomataDataFn)(void *automataData);
-
42
-
43/**
-
44 * @brief a lexer token rule type
-
45*/
- -
54
-
55/**
-
56 * @brief creates an ARC_Lexer type
-
57 *
-
58 * @param[out] lexer ARC_Lexer to create
-
59*/
- -
61
-
62/**
-
63 * @brief destroys an ARC_Lexer type
-
64 *
-
65 * @param[in] lexer ARC_Lexer to free
-
66*/
- -
68
-
69/**
-
70 * @brief adds a token rule to a lexer
-
71 *
-
72 * @param [in] lexer the lexer to add a token rule to
-
73 * @param [in] tokenRule the token rule to add
-
74*/
- -
76
-
77/**
-
78 * @brief clears all tokens from a lexer (will not clear token rules)
-
79 *
-
80 * @param lexer the lexer to clear tokens from
-
81*/
- -
83
-
84/**
-
85 * @brief creates tokens using a given string with ARC_LexerToken rules
-
86 *
-
87 * @param[in] lexer the lexer to get the ARC_LexerTokens from
-
88 * @param[in/out] data the string to lex, will be freed and set to NULL by the end of this function
-
89*/
- -
91
-
92/**
-
93 * @brief reads in and lexs a file
-
94 *
-
95 * @note this function will call ARC_Lexer_LexString, so it's notes are applicable to this function
-
96 *
-
97 * @param[in] lexer the lexer which holds to rules to use
-
98 * @param[in] path path of file to read in and lex
-
99*/
- -
101
-
102/**
-
103 * @brief prints rule id and hex of the function name
-
104 *
-
105 * @note this is mostly used for debugging
-
106 *
-
107 * @param[in] lexer the lexer to print rules from
-
108*/
- -
110
-
111/**
-
112 * @brief gets a token at a given index from a lexer
-
113 *
-
114 * @note unless you have a very good reason, you probably don't want to mess with the tokens string.
-
115 * that will probably change the token's string inside the lexer
-
116 *
-
117 * @param[in] lexer the lexer to get the token from
-
118 * @param[in] index the index of the token in the lexer to get
-
119 *
-
120 * @return a token at the lexer index on success, otherwise NULL
-
121*/
- -
123
-
124/**
-
125 * @brief gets a token at a given index from a lexer
-
126 *
-
127 * @param[in] lexer the lexer to get the tokens size from
-
128 *
-
129 * @return the size of the token array in a lexer
-
130*/
- -
132
-
133/**
-
134 * @brief returns a boolean based on if a lexers rules are continious
-
135 *
-
136 * @param[in] lexer the lexer to check if its ruls are continious
-
137 *
-
138 * @return ARC_True if the set rules are continious
-
139*/
- -
141
-
142/**
-
143 * @brief returns a boolean based on if a given id is a stored token rule id
-
144 *
-
145 * @param[in] lexer the lexer to check stored token rule ids
-
146 * @param[in] id the id to check against the token rules
-
147 *
-
148 * @return ARC_True if the id is a rule id, ARC_False otherwise
-
149*/
- -
151
-
152/**
-
153 * @brief checks if the first character of string matches the automataData cast as a char
-
154 *
-
155 * @note this is intended as a helper callback
-
156 * @note this function is a ARC_Lexer_AutomataFn callback
-
157 *
-
158 * @param[out] tokenData a place to store token data (like a variable name), can be NULL if not needed
-
159 * @param[in] string a string to be checked to see if it matches a token
-
160 * @param[in] automataData any data that needs to be used for the ARC_Lexer_AutomataFn
-
161 *
-
162 * @return the size of the token found, or 0 if the token was not found
-
163*/
-
164uint32_t ARC_Lexer_AutomataMatchCharFn(ARC_String **tokenData, ARC_String *string, void *automataData);
-
165
-
166/**
-
167 * @brief checks if the substring automataData as an ARC_String matches the first part of string
-
168 *
-
169 * @note this is intended as a helper callback
-
170 * @note this function is a ARC_Lexer_AutomataFn callback
-
171 *
-
172 * @param[out] tokenData a place to store token data (like a variable name), can be NULL if not needed
-
173 * @param[in] string a string to be checked to see if it matches a token
-
174 * @param[in] automataData any data that needs to be used for the ARC_Lexer_AutomataFn
-
175 *
-
176 * @return the size of the token found, or 0 if the token was not found
-
177*/
-
178uint32_t ARC_Lexer_AutomataMatchStringFn(ARC_String **tokenData, ARC_String *string, void *automataData);
-
179
-
180/**
-
181 * @brief checks if the first part of string is a character in substring
-
182 *
-
183 * @note this is intended as a helper callback
-
184 * @note this function is a ARC_Lexer_AutomataFn callback
-
185 *
-
186 * @param[out] tokenData a place to store token data (like a variable name), can be NULL if not needed
-
187 * @param[in] string a string to be checked to see if it matches a token
-
188 * @param[in] automataData any data that needs to be used for the ARC_Lexer_AutomataFn
-
189 *
-
190 * @return the size of the token found, or 0 if the token was not found
-
191*/
-
192uint32_t ARC_Lexer_AutomataMatchCharInStringFn(ARC_String **tokenData, ARC_String *string, void *automataData);
-
193
-
194/**
-
195 * @brief creates a ARC_LexerTokenRule with a given id and character
-
196 *
-
197 * @note this is intended as a helper funtion
-
198 *
-
199 * @param[in] id a tokens id (basically the token value)
-
200 * @param[in] character the character to match against
-
201 *
-
202 * @return a token rule based in the id and character
-
203*/
- -
205
-
206/**
-
207 * @brief creates a ARC_LexerTokenRule with a given id and character range
-
208 *
-
209 * @note this is intended as a helper funtion
-
210 *
-
211 * @param[in] id a tokens id (basically the token value)
-
212 * @param[in] start the minimum character value to match against
-
213 * @param[in] end the maxamum character value to match against
-
214 *
-
215 * @return a token rule based in the id and character
-
216*/
- -
218
-
219/**
-
220 * @brief creates a ARC_LexerTokenRule with a given id and string
-
221 *
-
222 * @note this is intended as a helper funtion
-
223 * #note string will not be freed (it will be copied and the copy will be freed)
-
224 *
-
225 * @param[in] id a tokens id (basically the token value)
-
226 * @param[in] character the string to match against, will be copied
-
227 *
-
228 * @return a token rule based in the id and string
-
229*/
- -
231
-
232/**
-
233 * @brief creates a ARC_LexerTokenRule with a given id and string
-
234 *
-
235 * @note this is intended as a helper funtion
-
236 * #note string will not be freed (it will be copied and the copy will be freed)
-
237 *
-
238 * @param[in] id a tokens id (basically the token value)
-
239 * @param[in] character the string to match against, will be copied
-
240 *
-
241 * @return a token rule based in the id and string
-
242*/
- -
244
-
245/**
-
246 * @brief basic tokens
-
247*/
-
248#define ARC_LEXER_TOKEN_NULL 0
-
249#define ARC_LEXER_TOKEN_NUMBER 1
-
250#define ARC_LEXER_TOKEN_ALPHA_LOWER_CHAR 2
-
251#define ARC_LEXER_TOKEN_ALPHA_UPPER_CHAR 3
-
252#define ARC_LEXER_TOKEN_WHITESPACE 4
-
253
-
254/**
-
255 * @brief basic token type ids, chars, and tags
-
256*/
-
257#define ARC_LEXER_TOKEN_NEWLINE_ID 5
-
258#define ARC_LEXER_TOKEN_NEWLINE_CHAR '\n'
-
259#define ARC_LEXER_TOKEN_COLON_ID 6
-
260#define ARC_LEXER_TOKEN_COLON_CHAR ':'
-
261#define ARC_LEXER_TOKEN_COLON_TAG "COLON"
-
262#define ARC_LEXER_TOKEN_SEMICOLON_ID 7
-
263#define ARC_LEXER_TOKEN_SEMICOLON_CHAR ';'
-
264#define ARC_LEXER_TOKEN_SEMICOLON_TAG "SEMICOLON"
-
265#define ARC_LEXER_TOKEN_COMMA_ID 8
-
266#define ARC_LEXER_TOKEN_COMMA_CHAR ','
-
267#define ARC_LEXER_TOKEN_COMMA_TAG "COMMA"
-
268#define ARC_LEXER_TOKEN_PERIOD_ID 9
-
269#define ARC_LEXER_TOKEN_PERIOD_CHAR '.'
-
270#define ARC_LEXER_TOKEN_PERIOD_TAG "PERIOD"
-
271#define ARC_LEXER_TOKEN_FORWARD_SLASH_ID 10
-
272#define ARC_LEXER_TOKEN_FORWARD_SLASH_CHAR '/'
-
273#define ARC_LEXER_TOKEN_FORWARD_SLASH_TAG "FORWARD_SLASH"
-
274#define ARC_LEXER_TOKEN_BACK_SLASH_ID 11
-
275#define ARC_LEXER_TOKEN_BACK_SLASH_CHAR '\\'
-
276#define ARC_LEXER_TOKEN_BACK_SLASH_TAG "BACK_SLASH"
-
277#define ARC_LEXER_TOKEN_LEFT_PARENTHESIS_ID 12
-
278#define ARC_LEXER_TOKEN_LEFT_PARENTHESIS_CHAR '('
-
279#define ARC_LEXER_TOKEN_LEFT_PARENTHESIS_TAG "LEFT_PARENTHESIS"
-
280#define ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_ID 13
-
281#define ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_CHAR ')'
-
282#define ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_TAG "RIGHT_PARENTHESIS"
-
283#define ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_ID 14
-
284#define ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_CHAR '{'
-
285#define ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_TAG "LEFT_CURLY_BRACE"
-
286#define ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_ID 15
-
287#define ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_CHAR '}'
-
288#define ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_TAG "RIGHT_CURLY_BRACE"
-
289#define ARC_LEXER_TOKEN_BANG_ID 16
-
290#define ARC_LEXER_TOKEN_BANG_CHAR '!'
-
291#define ARC_LEXER_TOKEN_BANG_TAG "BANG"
-
292#define ARC_LEXER_TOKEN_AT_ID 17
-
293#define ARC_LEXER_TOKEN_AT_CHAR '!'
-
294#define ARC_LEXER_TOKEN_AT_TAG "AT"
-
295#define ARC_LEXER_TOKEN_HASH_ID 18
-
296#define ARC_LEXER_TOKEN_HASH_CHAR '#'
-
297#define ARC_LEXER_TOKEN_HASH_TAG "HASH"
-
298#define ARC_LEXER_TOKEN_PERCENT_ID 19
-
299#define ARC_LEXER_TOKEN_PERCENT_CHAR '%'
-
300#define ARC_LEXER_TOKEN_PERCENT_TAG "PERCENT"
-
301
-
302/**
-
303 * @brief adds a bunch of basic token rules (matching the BasicTokens above)
-
304*/
- -
306
-
307#ifdef __cplusplus
-
308}
-
309#endif
-
310
-
311#endif // !ARC_STD_LEXER_H_
-
#define ARC_Bool
Definition bool.h:10
-
void(* ARC_LexerTokenRule_DestroyAutomataDataFn)(void *automataData)
a callback function to clean up ARC_LexerTokenRule's automataData
Definition lexer.h:41
-
struct ARC_LexerTokenRule ARC_LexerTokenRule
a lexer token rule type
-
void ARC_Lexer_LexFile(ARC_Lexer *lexer, ARC_String *path)
reads in and lexs a file
-
ARC_LexerToken * ARC_Lexer_GetToken(ARC_Lexer *lexer, uint32_t index)
gets a token at a given index from a lexer
-
ARC_Bool ARC_Lexer_IsTokenId(ARC_Lexer *lexer, uint32_t id)
returns a boolean based on if a given id is a stored token rule id
-
struct ARC_LexerToken ARC_LexerToken
a lexer token type
-
void ARC_Lexer_RegisterTokenRule(ARC_Lexer *lexer, ARC_LexerTokenRule tokenRule)
adds a token rule to a lexer
-
uint32_t ARC_Lexer_AutomataMatchCharFn(ARC_String **tokenData, ARC_String *string, void *automataData)
checks if the first character of string matches the automataData cast as a char
-
void ARC_Lexer_LexString(ARC_Lexer *lexer, ARC_String **data)
creates tokens using a given string with ARC_LexerToken rules
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchStringRule(uint32_t id, ARC_String *string)
creates a ARC_LexerTokenRule with a given id and string
-
void ARC_Lexer_Clear(ARC_Lexer *lexer)
clears all tokens from a lexer (will not clear token rules)
-
void ARC_Lexer_InitBasicTokenRules(ARC_Lexer *lexer)
adds a bunch of basic token rules (matching the BasicTokens above)
-
void ARC_Lexer_Create(ARC_Lexer **lexer)
creates an ARC_Lexer type
-
uint32_t ARC_Lexer_GetTokensSize(ARC_Lexer *lexer)
gets a token at a given index from a lexer
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharRule(uint32_t id, char character)
creates a ARC_LexerTokenRule with a given id and character
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween(uint32_t id, char start, char end)
creates a ARC_LexerTokenRule with a given id and character range
-
uint32_t(* ARC_LexerTokenRule_AutomataFn)(ARC_String **tokenData, ARC_String *string, void *automataData)
checks to see if a string is a type of token
Definition lexer.h:34
-
uint32_t ARC_Lexer_AutomataMatchStringFn(ARC_String **tokenData, ARC_String *string, void *automataData)
checks if the substring automataData as an ARC_String matches the first part of string
-
ARC_Bool ARC_Lexer_IsContinious(ARC_Lexer *lexer)
returns a boolean based on if a lexers rules are continious
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule(uint32_t id, ARC_String *string)
creates a ARC_LexerTokenRule with a given id and string
-
uint32_t ARC_Lexer_AutomataMatchCharInStringFn(ARC_String **tokenData, ARC_String *string, void *automataData)
checks if the first part of string is a character in substring
-
void ARC_Lexer_PrintTokenRules(ARC_Lexer *lexer)
prints rule id and hex of the function name
-
struct ARC_Lexer ARC_Lexer
a lexer type
Definition lexer.h:13
-
void ARC_Lexer_Destroy(ARC_Lexer *lexer)
destroys an ARC_Lexer type
- -
a lexer token rule type
Definition lexer.h:46
-
uint32_t id
Definition lexer.h:47
-
void * automataData
Definition lexer.h:49
-
ARC_LexerTokenRule_AutomataFn automataFn
Definition lexer.h:51
-
ARC_LexerTokenRule_DestroyAutomataDataFn destroyAutomataDataFn
Definition lexer.h:52
-
a lexer token type
Definition lexer.h:18
-
uint32_t rule
Definition lexer.h:19
-
ARC_String * data
Definition lexer.h:20
-
substring position within a string
Definition string.h:14
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/df6/src_2math_2obround_8c.html b/doc/doxygen/html/d5/df6/src_2math_2obround_8c.html deleted file mode 100644 index c59ec4e..0000000 --- a/doc/doxygen/html/d5/df6/src_2math_2obround_8c.html +++ /dev/null @@ -1,232 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/math/obround.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
obround.c File Reference
-
-
-
#include "arc/math/obround.h"
-
-

Go to the source code of this file.

- - - - - - - - -

-Functions

ARC_FObround ARC_Obround_CastToFObround (ARC_Obround *obround)
 casts Obround to FObround
 
ARC_Obround ARC_FObround_CastToObround (ARC_FObround *obround)
 casts FObround to Obround
 
-

Function Documentation

- -

◆ ARC_FObround_CastToObround()

- -
-
- - - - - - - -
ARC_Obround ARC_FObround_CastToObround (ARC_FObround * obround)
-
- -

casts FObround to Obround

-
Parameters
- - -
obroundARC_FObround to be casted
-
-
-
Returns
ARC_Obround
- -

Definition at line 12 of file obround.c.

-
12 {
-
13 return (ARC_Obround){
-
14 .x = (int32_t)obround->x,
-
15 .y = (int32_t)obround->y,
-
16 .r = (int32_t)obround->r,
-
17 .h = (int32_t)obround->h
-
18 };
-
19}
-
float y
Definition obround.h:19
-
float h
Definition obround.h:21
-
float x
Definition obround.h:18
-
float r
Definition obround.h:20
- -
-

References ARC_FObround::h, ARC_FObround::r, ARC_FObround::x, and ARC_FObround::y.

- -

Referenced by ARC_FObround_Render().

- -
-
- -

◆ ARC_Obround_CastToFObround()

- -
-
- - - - - - - -
ARC_FObround ARC_Obround_CastToFObround (ARC_Obround * obround)
-
- -

casts Obround to FObround

-
Parameters
- - -
obroundARC_Obround to be casted
-
-
-
Returns
ARC_FObround
- -

Definition at line 3 of file obround.c.

-
3 {
-
4 return (ARC_FObround){
-
5 .x = (float)obround->x,
-
6 .y = (float)obround->y,
-
7 .r = (float)obround->r,
-
8 .h = (float)obround->h
-
9 };
-
10}
- -
int32_t r
Definition obround.h:13
-
int32_t x
Definition obround.h:11
-
int32_t y
Definition obround.h:12
-
int32_t h
Definition obround.h:14
-
-

References ARC_Obround::h, ARC_Obround::r, ARC_Obround::x, and ARC_Obround::y.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d5/df6/src_2math_2obround_8c.js b/doc/doxygen/html/d5/df6/src_2math_2obround_8c.js deleted file mode 100644 index 9b3612b..0000000 --- a/doc/doxygen/html/d5/df6/src_2math_2obround_8c.js +++ /dev/null @@ -1,5 +0,0 @@ -var src_2math_2obround_8c = -[ - [ "ARC_FObround_CastToObround", "d5/df6/src_2math_2obround_8c.html#acc0ba97a943dba9998a65156da2a8e7f", null ], - [ "ARC_Obround_CastToFObround", "d5/df6/src_2math_2obround_8c.html#acf56c47f95620e4645316a46e7046606", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d5/df6/src_2math_2obround_8c_source.html b/doc/doxygen/html/d5/df6/src_2math_2obround_8c_source.html deleted file mode 100644 index ffcbebd..0000000 --- a/doc/doxygen/html/d5/df6/src_2math_2obround_8c_source.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/math/obround.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
obround.c
-
-
-Go to the documentation of this file.
1#include "arc/math/obround.h"
-
2
-
- -
4 return (ARC_FObround){
-
5 .x = (float)obround->x,
-
6 .y = (float)obround->y,
-
7 .r = (float)obround->r,
-
8 .h = (float)obround->h
-
9 };
-
10}
-
-
11
-
- -
13 return (ARC_Obround){
-
14 .x = (int32_t)obround->x,
-
15 .y = (int32_t)obround->y,
-
16 .r = (int32_t)obround->r,
-
17 .h = (int32_t)obround->h
-
18 };
-
19}
-
- -
ARC_Obround ARC_FObround_CastToObround(ARC_FObround *obround)
casts FObround to Obround
Definition obround.c:12
-
ARC_FObround ARC_Obround_CastToFObround(ARC_Obround *obround)
casts Obround to FObround
Definition obround.c:3
- -
float y
Definition obround.h:19
-
float h
Definition obround.h:21
-
float x
Definition obround.h:18
-
float r
Definition obround.h:20
- -
int32_t r
Definition obround.h:13
-
int32_t x
Definition obround.h:11
-
int32_t y
Definition obround.h:12
-
int32_t h
Definition obround.h:14
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/d06/archeus__std_8dir_2src_2graphics_2sprite_8c_8o_8d.html b/doc/doxygen/html/d6/d06/archeus__std_8dir_2src_2graphics_2sprite_8c_8o_8d.html deleted file mode 100644 index 92885e1..0000000 --- a/doc/doxygen/html/d6/d06/archeus__std_8dir_2src_2graphics_2sprite_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/graphics/sprite.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
sprite.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d6/d06/archeus__std_8dir_2src_2graphics_2sprite_8c_8o_8d_source.html b/doc/doxygen/html/d6/d06/archeus__std_8dir_2src_2graphics_2sprite_8c_8o_8d_source.html deleted file mode 100644 index b7cbc06..0000000 --- a/doc/doxygen/html/d6/d06/archeus__std_8dir_2src_2graphics_2sprite_8c_8o_8d_source.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/graphics/sprite.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
sprite.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/graphics/sprite.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/graphics/sprite.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/graphics/sprite.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/graphics/renderer.h \
-
6 /home/herbglitch/programs/archeus/arc/include/arc/graphics/spritesheet.h \
-
7 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
8 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
9 /usr/include/features.h /usr/include/features-time64.h \
-
10 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
11 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
12 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
13 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
14 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
15 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
16 /usr/include/bits/stdint-least.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/math/rectangle.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
20 /home/herbglitch/programs/archeus/arc/include/arc/math/vector2.h \
-
21 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
22 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
23 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
24 /home/herbglitch/programs/archeus/arc/include/arc/std/array.h \
-
25 /usr/include/stdio.h \
-
26 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
27 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
28 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
29 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
30 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
31 /usr/include/bits/types/cookie_io_functions_t.h \
-
32 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
33 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/d0d/tests_8dir_2src_2input_2input_8c_8o_8d.html b/doc/doxygen/html/d6/d0d/tests_8dir_2src_2input_2input_8c_8o_8d.html deleted file mode 100644 index c06476e..0000000 --- a/doc/doxygen/html/d6/d0d/tests_8dir_2src_2input_2input_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/input/input.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
input.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d6/d0d/tests_8dir_2src_2input_2input_8c_8o_8d_source.html b/doc/doxygen/html/d6/d0d/tests_8dir_2src_2input_2input_8c_8o_8d_source.html deleted file mode 100644 index 5c5361d..0000000 --- a/doc/doxygen/html/d6/d0d/tests_8dir_2src_2input_2input_8c_8o_8d_source.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/input/input.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
input.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/input/input.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/input/input.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/input/input.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/input/keyboard.h \
-
6 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
7 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
8 /usr/include/features.h /usr/include/features-time64.h \
-
9 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
10 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
11 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
12 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
13 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
14 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
15 /usr/include/bits/stdint-least.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/input/mouse.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
19 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
20 /usr/include/stdio.h \
-
21 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
22 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
23 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
24 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
25 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
26 /usr/include/bits/types/cookie_io_functions_t.h \
-
27 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
28 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/d2b/structARC__Lexer.html b/doc/doxygen/html/d6/d2b/structARC__Lexer.html deleted file mode 100644 index b970e55..0000000 --- a/doc/doxygen/html/d6/d2b/structARC__Lexer.html +++ /dev/null @@ -1,221 +0,0 @@ - - - - - - - - -Archeus: ARC_Lexer Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_Lexer Struct Reference
-
-
- - - - - - - - - - -

-Data Fields

ARC_VectortokenRules
 
ARC_Vectortokens
 
ARC_Bool tokenRulesAreContinuous
 
uint32_t tokenRulesMaxVal
 
-

Detailed Description

-
-

Definition at line 10 of file lexer.c.

-

Field Documentation

- -

◆ tokenRules

- -
-
- - - - -
ARC_Vector* ARC_Lexer::tokenRules
-
-
- -

◆ tokenRulesAreContinuous

- -
-
- - - - -
ARC_Bool ARC_Lexer::tokenRulesAreContinuous
-
- -

Definition at line 15 of file lexer.c.

- -

Referenced by ARC_Lexer_IsContinious(), ARC_Lexer_IsTokenId(), and ARC_Lexer_RegisterTokenRule().

- -
-
- -

◆ tokenRulesMaxVal

- -
-
- - - - -
uint32_t ARC_Lexer::tokenRulesMaxVal
-
- -

Definition at line 16 of file lexer.c.

- -

Referenced by ARC_Lexer_IsTokenId(), and ARC_Lexer_RegisterTokenRule().

- -
-
- -

◆ tokens

- -
-
- - - - -
ARC_Vector* ARC_Lexer::tokens
-
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/src/std/lexer.c
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/d2b/structARC__Lexer.js b/doc/doxygen/html/d6/d2b/structARC__Lexer.js deleted file mode 100644 index c5386ff..0000000 --- a/doc/doxygen/html/d6/d2b/structARC__Lexer.js +++ /dev/null @@ -1,7 +0,0 @@ -var structARC__Lexer = -[ - [ "tokenRules", "d6/d2b/structARC__Lexer.html#a002842f715ae5b7df600090251f0e619", null ], - [ "tokenRulesAreContinuous", "d6/d2b/structARC__Lexer.html#af594f2e09b9f1f454270ae96ec1745b4", null ], - [ "tokenRulesMaxVal", "d6/d2b/structARC__Lexer.html#aab1f165ef82645558a7e60a8c7061b7c", null ], - [ "tokens", "d6/d2b/structARC__Lexer.html#a59105f6a43374335e5790fadb2e07fa7", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d6/d36/archeus__std_8dir_2src_2std_2io_8c_8o_8d.html b/doc/doxygen/html/d6/d36/archeus__std_8dir_2src_2std_2io_8c_8o_8d.html deleted file mode 100644 index 48f77ab..0000000 --- a/doc/doxygen/html/d6/d36/archeus__std_8dir_2src_2std_2io_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/io.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
io.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d6/d36/archeus__std_8dir_2src_2std_2io_8c_8o_8d_source.html b/doc/doxygen/html/d6/d36/archeus__std_8dir_2src_2std_2io_8c_8o_8d_source.html deleted file mode 100644 index 1d05fdf..0000000 --- a/doc/doxygen/html/d6/d36/archeus__std_8dir_2src_2std_2io_8c_8o_8d_source.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/io.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
io.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/std/io.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/io.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/io.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h \
-
15 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
17 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
19 /usr/include/stdio.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
21 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
22 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
23 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
24 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
25 /usr/include/bits/types/cookie_io_functions_t.h \
-
26 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
27 /usr/include/bits/floatn-common.h /usr/include/stdlib.h \
-
28 /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
-
29 /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \
-
30 /usr/include/bits/types/clockid_t.h /usr/include/bits/types/time_t.h \
-
31 /usr/include/bits/types/timer_t.h /usr/include/endian.h \
-
32 /usr/include/bits/endian.h /usr/include/bits/endianness.h \
-
33 /usr/include/bits/byteswap.h /usr/include/bits/uintn-identity.h \
-
34 /usr/include/sys/select.h /usr/include/bits/select.h \
-
35 /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \
-
36 /usr/include/bits/types/struct_timeval.h \
-
37 /usr/include/bits/types/struct_timespec.h \
-
38 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
39 /usr/include/bits/pthreadtypes-arch.h \
-
40 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
41 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
42 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/d4e/structARC__Audio.html b/doc/doxygen/html/d6/d4e/structARC__Audio.html deleted file mode 100644 index b35a290..0000000 --- a/doc/doxygen/html/d6/d4e/structARC__Audio.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - - -Archeus: ARC_Audio Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_Audio Struct Reference
-
-
- -

#include <audio.h>

- - - - -

-Data Fields

Mix_Chunk * chunk
 
-

Detailed Description

-
-

Definition at line 6 of file audio.h.

-

Field Documentation

- -

◆ chunk

- -
-
- - - - -
Mix_Chunk* ARC_Audio::chunk
-
- -

Definition at line 7 of file audio.h.

- -

Referenced by ARC_Audio_Play(), and ARC_Audio_Read().

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/packages/audio/sdl/audio.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/d4e/structARC__Audio.js b/doc/doxygen/html/d6/d4e/structARC__Audio.js deleted file mode 100644 index 9f8ae74..0000000 --- a/doc/doxygen/html/d6/d4e/structARC__Audio.js +++ /dev/null @@ -1,4 +0,0 @@ -var structARC__Audio = -[ - [ "chunk", "d6/d4e/structARC__Audio.html#a2763d58f636559aba1dd6b8598b0b695", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d6/d4f/shell_8c.html b/doc/doxygen/html/d6/d4f/shell_8c.html deleted file mode 100644 index 5d58c1f..0000000 --- a/doc/doxygen/html/d6/d4f/shell_8c.html +++ /dev/null @@ -1,416 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/console/ncurses/shell.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
shell.c File Reference
-
-
-
#include "arc/console/shell.h"
-#include "arc/console/buffer.h"
-#include "arc/std/string.h"
-#include "arc/std/vector.h"
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_ConsoleShell_Create (ARC_ConsoleShell **shell, ARC_ConsoleView *view, ARC_ConsoleShell_UpdateFn updateFn)
 creates ARC_ConsoleShell type
 
void ARC_ConsoleShell_Destroy (ARC_ConsoleShell *shell)
 destroys ARC_ConsoleShell type
 
void ARC_ConsoleShell_Update (ARC_ConsoleShell *shell)
 updates the ARC_ConsoleShell type
 
void ARC_ConsoleShell_Render (ARC_ConsoleShell *shell)
 renders the ARC_ConsoleShell type
 
void ARC_ConsoleShell_AddHistory (ARC_ConsoleShell *shell, ARC_String *string)
 adds history ARC_String to ARC_ConsoleShell
 
ARC_StringARC_ConsoleShell_GetHistoryAt (ARC_ConsoleShell *shell, uint32_t index)
 gets history from ARC_ConsoleShell
 
-

Function Documentation

- -

◆ ARC_ConsoleShell_AddHistory()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleShell_AddHistory (ARC_ConsoleShell * shell,
ARC_String * string )
-
- -

adds history ARC_String to ARC_ConsoleShell

-
Parameters
- - - -
shellthe ARC_ConsoleShell to add history to
stringthe history string to add to ARC_ConsoleShell
-
-
- -

Definition at line 46 of file shell.c.

-
46 {
-
47 ARC_Vector_Add(shell->history, (void *)string);
-
48}
-
ARC_Vector * history
Definition shell.h:34
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:70
-
-

References ARC_Vector_Add(), and ARC_ConsoleShell::history.

- -
-
- -

◆ ARC_ConsoleShell_Create()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConsoleShell_Create (ARC_ConsoleShell ** shell,
ARC_ConsoleView * view,
ARC_ConsoleShell_UpdateFn updateFn )
-
- -

creates ARC_ConsoleShell type

-
Parameters
- - - - -
shellARC_ConsoleShell to create
viewARC_ConsoleView to attach the shell to
updateFnARC_ConsoleShell_UpdateFn provided that will run the console
-
-
- -

Definition at line 8 of file shell.c.

-
8 {
-
9 *shell = (ARC_ConsoleShell *)malloc(sizeof(ARC_ConsoleShell));
-
10
-
11 (*shell)->view = view;
-
12 ARC_ConsoleBuffer_Create(&((*shell)->buffer));
-
13 (*shell)->bufferLineIndex = 0;
-
14
-
15 ARC_Vector_Create(&((*shell)->history));
-
16 (*shell)->historyIndex = 0;
-
17
-
18 (*shell)->updateFn = updateFn;
-
19 (*shell)->currentLine = NULL;
-
20 (*shell)->userInput = NULL;
-
21}
-
void ARC_ConsoleBuffer_Create(ARC_ConsoleBuffer **buffer)
creates ARC_ConsoleBuffer type
Definition buffer.c:13
- -
ARC_ConsoleView * view
Definition shell.h:30
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:31
-
-

References ARC_ConsoleBuffer_Create(), ARC_Vector_Create(), and ARC_ConsoleShell::view.

- -
-
- -

◆ ARC_ConsoleShell_Destroy()

- -
-
- - - - - - - -
void ARC_ConsoleShell_Destroy (ARC_ConsoleShell * shell)
-
- -

destroys ARC_ConsoleShell type

-
Parameters
- - -
shellARC_ConsoleShell to destroy
-
-
- -

Definition at line 23 of file shell.c.

-
23 {
- -
25
-
26 for(uint32_t i = 0; i < ARC_Vector_Size(shell->history); i++){
-
27 ARC_String *temp = (ARC_String *)ARC_Vector_Get(shell->history, i);
-
28
-
29 if(temp != NULL){
- -
31 }
-
32 }
-
33
- -
35 free(shell);
-
36}
-
void ARC_ConsoleBuffer_Destroy(ARC_ConsoleBuffer *buffer)
destroys ARC_ConsoleBuffer type
Definition buffer.c:22
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
ARC_ConsoleBuffer * buffer
Definition shell.h:31
-
substring position within a string
Definition string.h:14
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:153
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:54
-
-

References ARC_ConsoleBuffer_Destroy(), ARC_String_Destroy(), ARC_Vector_Destroy(), ARC_Vector_Get(), ARC_ConsoleShell::buffer, and ARC_ConsoleShell::history.

- -
-
- -

◆ ARC_ConsoleShell_GetHistoryAt()

- -
-
- - - - - - - - - - - -
ARC_String * ARC_ConsoleShell_GetHistoryAt (ARC_ConsoleShell * shell,
uint32_t index )
-
- -

gets history from ARC_ConsoleShell

-
Note
the index 0 will start from the last added history
-
Parameters
- - - -
shellthe ARC_ConsoleShell to get history from
indexthe location to get history at
-
-
-
Returns
the history as an ARC_String
- -

Definition at line 50 of file shell.c.

-
50 {
-
51 uint32_t maxHistory = ARC_Vector_Size(shell->history);
-
52 if(index >= maxHistory){
-
53 return NULL;
-
54 }
-
55
-
56 return (ARC_String *)ARC_Vector_Get(shell->history, (maxHistory - 1) - index);
-
57}
-
-

References ARC_Vector_Get(), and ARC_ConsoleShell::history.

- -
-
- -

◆ ARC_ConsoleShell_Render()

- -
-
- - - - - - - -
void ARC_ConsoleShell_Render (ARC_ConsoleShell * shell)
-
- -

renders the ARC_ConsoleShell type

-
Parameters
- - -
shellthe ARC_ConsoleShell to render
-
-
- -

Definition at line 42 of file shell.c.

-
42 {
-
43 ARC_ConsoleBuffer_Render(shell->buffer, shell->view);
-
44}
-
void ARC_ConsoleBuffer_Render(ARC_ConsoleBuffer *buffer, ARC_ConsoleView *view)
renders a buffer to a ARC_ConsoleView
Definition buffer.c:51
-
-

References ARC_ConsoleBuffer_Render(), ARC_ConsoleShell::buffer, and ARC_ConsoleShell::view.

- -
-
- -

◆ ARC_ConsoleShell_Update()

- -
-
- - - - - - - -
void ARC_ConsoleShell_Update (ARC_ConsoleShell * shell)
-
- -

updates the ARC_ConsoleShell type

-
Parameters
- - -
shellthe ARC_ConsoleShell to update
-
-
- -

Definition at line 38 of file shell.c.

-
38 {
-
39 shell->updateFn(shell);
-
40}
-
ARC_ConsoleShell_UpdateFn updateFn
Definition shell.h:37
-
-

References ARC_ConsoleShell::updateFn.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/d4f/shell_8c.js b/doc/doxygen/html/d6/d4f/shell_8c.js deleted file mode 100644 index 27e37c7..0000000 --- a/doc/doxygen/html/d6/d4f/shell_8c.js +++ /dev/null @@ -1,9 +0,0 @@ -var shell_8c = -[ - [ "ARC_ConsoleShell_AddHistory", "d6/d4f/shell_8c.html#ac52159572774e27f8c2e489f73b28314", null ], - [ "ARC_ConsoleShell_Create", "d6/d4f/shell_8c.html#aad422f04801c70d2a27f6e30f74efd70", null ], - [ "ARC_ConsoleShell_Destroy", "d6/d4f/shell_8c.html#a5e9357a85d39bf8d040cfb4fa19ede06", null ], - [ "ARC_ConsoleShell_GetHistoryAt", "d6/d4f/shell_8c.html#a90d4df9f1eba33e1a15c3184621a4805", null ], - [ "ARC_ConsoleShell_Render", "d6/d4f/shell_8c.html#a43241a784b1a6a914899b26d9d86c10c", null ], - [ "ARC_ConsoleShell_Update", "d6/d4f/shell_8c.html#ac73769a7e97b7ba99f74c53347249f63", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d6/d4f/shell_8c_source.html b/doc/doxygen/html/d6/d4f/shell_8c_source.html deleted file mode 100644 index 9e51c32..0000000 --- a/doc/doxygen/html/d6/d4f/shell_8c_source.html +++ /dev/null @@ -1,223 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/console/ncurses/shell.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
shell.c
-
-
-Go to the documentation of this file.
1#include "arc/console/shell.h"
-
2
- -
4#include "arc/std/string.h"
-
5#include "arc/std/vector.h"
-
6#include <stdlib.h>
-
7
-
- -
9 *shell = (ARC_ConsoleShell *)malloc(sizeof(ARC_ConsoleShell));
-
10
-
11 (*shell)->view = view;
-
12 ARC_ConsoleBuffer_Create(&((*shell)->buffer));
-
13 (*shell)->bufferLineIndex = 0;
-
14
-
15 ARC_Vector_Create(&((*shell)->history));
-
16 (*shell)->historyIndex = 0;
-
17
-
18 (*shell)->updateFn = updateFn;
-
19 (*shell)->currentLine = NULL;
-
20 (*shell)->userInput = NULL;
-
21}
-
-
22
-
- - -
25
-
26 for(uint32_t i = 0; i < ARC_Vector_Size(shell->history); i++){
-
27 ARC_String *temp = (ARC_String *)ARC_Vector_Get(shell->history, i);
-
28
-
29 if(temp != NULL){
- -
31 }
-
32 }
-
33
- -
35 free(shell);
-
36}
-
-
37
-
- -
39 shell->updateFn(shell);
-
40}
-
-
41
- -
45
-
- -
47 ARC_Vector_Add(shell->history, (void *)string);
-
48}
-
-
49
-
- -
51 uint32_t maxHistory = ARC_Vector_Size(shell->history);
-
52 if(index >= maxHistory){
-
53 return NULL;
-
54 }
-
55
-
56 return (ARC_String *)ARC_Vector_Get(shell->history, (maxHistory - 1) - index);
-
57}
-
- -
void ARC_ConsoleBuffer_Render(ARC_ConsoleBuffer *buffer, ARC_ConsoleView *view)
renders a buffer to a ARC_ConsoleView
Definition buffer.c:51
-
void ARC_ConsoleBuffer_Create(ARC_ConsoleBuffer **buffer)
creates ARC_ConsoleBuffer type
Definition buffer.c:13
-
void ARC_ConsoleBuffer_Destroy(ARC_ConsoleBuffer *buffer)
destroys ARC_ConsoleBuffer type
Definition buffer.c:22
-
void ARC_ConsoleShell_Render(ARC_ConsoleShell *shell)
renders the ARC_ConsoleShell type
Definition shell.c:42
-
void ARC_ConsoleShell_Destroy(ARC_ConsoleShell *shell)
destroys ARC_ConsoleShell type
Definition shell.c:23
-
ARC_String * ARC_ConsoleShell_GetHistoryAt(ARC_ConsoleShell *shell, uint32_t index)
gets history from ARC_ConsoleShell
Definition shell.c:50
-
void ARC_ConsoleShell_Create(ARC_ConsoleShell **shell, ARC_ConsoleView *view, ARC_ConsoleShell_UpdateFn updateFn)
creates ARC_ConsoleShell type
Definition shell.c:8
-
void ARC_ConsoleShell_AddHistory(ARC_ConsoleShell *shell, ARC_String *string)
adds history ARC_String to ARC_ConsoleShell
Definition shell.c:46
-
void ARC_ConsoleShell_Update(ARC_ConsoleShell *shell)
updates the ARC_ConsoleShell type
Definition shell.c:38
- -
void(* ARC_ConsoleShell_UpdateFn)(ARC_ConsoleShell *shell)
Definition shell.h:24
- -
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
- -
ARC_ConsoleView * view
Definition shell.h:30
-
ARC_ConsoleBuffer * buffer
Definition shell.h:31
-
ARC_Vector * history
Definition shell.h:34
-
ARC_ConsoleShell_UpdateFn updateFn
Definition shell.h:37
- -
substring position within a string
Definition string.h:14
- -
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:153
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:70
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:54
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:31
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/d68/vector_8h.html b/doc/doxygen/html/d6/d68/vector_8h.html deleted file mode 100644 index db07df1..0000000 --- a/doc/doxygen/html/d6/d68/vector_8h.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/vector.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
vector.h File Reference
-
-
- -

creates and outlines a dynamic array type and its functions -More...

-
#include "arc/std/bool.h"
-#include <stdint.h>
-
-

Go to the source code of this file.

- - - - - - - - - - - -

-Typedefs

typedef struct ARC_Vector ARC_Vector
 a dynamic array type
 
typedef ARC_Bool(* ARC_Vector_CompareDataFn) (void *dataA, void *dataB)
 a callback that allows the user to define a way to check the data stored in a vector for a match
 
typedef void(* ARC_Vector_DestroyDataFn) (void *data)
 a callback that cleans up memory when it is removed from the vector
 
- - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_Vector_Create (ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
 creates an ARC_Vector which is an "expandable" array
 
void ARC_Vector_Destroy (ARC_Vector *vector)
 destroys an ARC_Vector
 
void ARC_Vector_Add (ARC_Vector *vector, void *data)
 adds an item to an ARC_Vector
 
void ARC_Vector_Remove (ARC_Vector *vector, void *data)
 removes an item from a matching item in an ARC_Vector
 
void ARC_Vector_RemoveIndex (ARC_Vector *vector, uint32_t index)
 removes an item from an ARC_Vector at an index
 
void ARC_Vector_Clear (ARC_Vector *vector)
 clears all items from a vector
 
uint32_t ARC_Vector_GetSize (ARC_Vector *vector)
 gets the current size of an ARC_Vector as an unsigned 32 bit integer
 
void * ARC_Vector_Get (ARC_Vector *vector, uint32_t index)
 gets an item from an ARC_Vector at a position index
 
-

Detailed Description

-

creates and outlines a dynamic array type and its functions

- -

Definition in file vector.h.

-
-
- - - - - - diff --git a/doc/doxygen/html/d6/d68/vector_8h.js b/doc/doxygen/html/d6/d68/vector_8h.js deleted file mode 100644 index 7ba66d1..0000000 --- a/doc/doxygen/html/d6/d68/vector_8h.js +++ /dev/null @@ -1,14 +0,0 @@ -var vector_8h = -[ - [ "ARC_Vector", "d2/d19/group__ARC__Vector.html#ga23dfcf0229206051666a31f91c8c6e1b", null ], - [ "ARC_Vector_CompareDataFn", "d2/d19/group__ARC__Vector.html#ga4123cf094e58ae25daa9356b3a51f116", null ], - [ "ARC_Vector_DestroyDataFn", "d2/d19/group__ARC__Vector.html#ga069428a2ccbbed066249d48f1b0bf1ef", null ], - [ "ARC_Vector_Add", "d2/d19/group__ARC__Vector.html#ga2a06c8c4c1fc1f99e08568ef92c186ae", null ], - [ "ARC_Vector_Clear", "d2/d19/group__ARC__Vector.html#gac0f528744e3da5f3334d91f6ecf542ec", null ], - [ "ARC_Vector_Create", "d2/d19/group__ARC__Vector.html#gac8de583c096684695a7d862c581b78f6", null ], - [ "ARC_Vector_Destroy", "d2/d19/group__ARC__Vector.html#ga605bb525f6df05ec88742237e1911e47", null ], - [ "ARC_Vector_Get", "d2/d19/group__ARC__Vector.html#ga1b01ba012d6fe295e8ce1446f9a6a3a0", null ], - [ "ARC_Vector_GetSize", "d2/d19/group__ARC__Vector.html#ga0c72f76fed251ea51a8be057f9c89504", null ], - [ "ARC_Vector_Remove", "d2/d19/group__ARC__Vector.html#ga443185fcb80a2593b4b1f580a1b11133", null ], - [ "ARC_Vector_RemoveIndex", "d2/d19/group__ARC__Vector.html#gab05c0f7ebefe73729d3e2c2e6e528d00", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d6/d68/vector_8h_source.html b/doc/doxygen/html/d6/d68/vector_8h_source.html deleted file mode 100644 index a53f318..0000000 --- a/doc/doxygen/html/d6/d68/vector_8h_source.html +++ /dev/null @@ -1,278 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/vector.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
vector.h
-
-
-Go to the documentation of this file.
1/**
-
2 * @file vector.h
-
3 *
-
4 * @brief creates and outlines a dynamic array type and its functions
-
5*/
-
6
-
7#ifndef ARC_STD_VECTOR_H_
-
8#define ARC_STD_VECTOR_H_
-
9
-
10#ifdef __cplusplus
-
11extern "C" {
-
12#endif
-
13
-
14#include "arc/std/bool.h"
-
15#include <stdint.h>
-
16
-
17/**
-
18 * @addtogroup ARC_Vector
-
19 * Additional documentation for group 'ARC_Vector'
-
20 * @{
-
21*/
-
22
-
23/**
-
24 * @brief a dynamic array type
-
25*/
-
26typedef struct ARC_Vector ARC_Vector;
-
27
-
28/**
-
29 * @brief a callback that allows the user to define a way to check the data stored in a vector for a match
-
30 *
-
31 * @param[in] dataA the first data to check
-
32 * @param[in] dataB the second data to check
-
33 *
-
34 * @return ARC_True when dataA == dataB, and ARC_False otherwise
-
35*/
-
36typedef ARC_Bool (* ARC_Vector_CompareDataFn)(void *dataA, void *dataB);
-
37
-
38/**
-
39 * @brief a callback that cleans up memory when it is removed from the vector
-
40 *
-
41 * @param[in] data the item to destroy
-
42*/
-
43typedef void (* ARC_Vector_DestroyDataFn)(void *data);
-
44
-
45/**
-
46 * @brief creates an ARC_Vector which is an "expandable" array
-
47 *
-
48 * @note for this basic implementation, the array will double in size every time the capacity is hit
-
49 * @note the array will also half in size when the array is only half filled
-
50 *
-
51 * @param[out] vector ARC_Vector to initialize
-
52 * @param[in] compareDataFn a callback that checks if data stored in the array matches,
-
53 * if set to NULL and ARC_Vector_Remove is called, the pointer addresses will be compared
-
54 * @param[in] destroyDataFn a callback that frees an item on remove or clear, can be set to NULL to do nothing
-
55*/
- -
57
-
58/**
-
59 * @brief destroys an ARC_Vector
-
60 *
-
61 * @note this will not free the items stored in the vector
-
62 * @note please make sure to clear and free the children before destroying an ARC_Vector
-
63 *
-
64 * @param[in] vector ARC_Vector to free
-
65*/
- -
67
-
68/**
-
69 * @brief adds an item to an ARC_Vector
-
70 *
-
71 * @note this will error if you add more than 4,294,967,295 items (the max value of an unsigned int 32)
-
72 *
-
73 * @param[in] vector ARC_Vector to add to
-
74 * @param[in] data data that is being added
-
75*/
-
76void ARC_Vector_Add(ARC_Vector *vector, void *data);
-
77
-
78/**
-
79 * @brief removes an item from a matching item in an ARC_Vector
-
80 *
-
81 * @note this function uses the ARC_Vector_CompareDataFn that the ARC_Vector was created with
-
82 * @note this function will not throw an error if there is no match
-
83 * @note this function will call ARC_Vector_RemoveIndex, so it's notes are also applicable to this function
-
84 *
-
85 * @param[in] vector ARC_Vector to remove from
-
86 * @param[in] data matching data to remove
-
87*/
-
88void ARC_Vector_Remove(ARC_Vector *vector, void *data);
-
89
-
90/**
-
91 * @brief removes an item from an ARC_Vector at an index
-
92 *
-
93 * @note this function will error if trying to remove an index that is outside the bounds of the ARC_Vector
-
94 * @note this function will use ARC_Vector_DeleteDataFn if it was set in the ARC_Vector_Create function
-
95 *
-
96 * @param[in] vector ARC_Vector to remove from
-
97 * @param[in] index position of data to remove
-
98*/
-
99void ARC_Vector_RemoveIndex(ARC_Vector *vector, uint32_t index);
-
100
-
101/**
-
102 * @brief clears all items from a vector
-
103 *
-
104 * @note this function will call ARC_Vector_RemoveIndex, so it's notes are also applicable to this function
-
105 *
-
106 * @param[in] vector ARC_Vector to clear
-
107*/
- -
109
-
110/**
-
111 * @brief gets the current size of an ARC_Vector as an unsigned 32 bit integer
-
112 *
-
113 * @param[in] vector ARC_Vector to get current size from
-
114 *
-
115 * @return the current size as a unsigned 32 bit integer
-
116*/
- -
118
-
119/**
-
120 * @brief gets an item from an ARC_Vector at a position index
-
121 *
-
122 * @note this function will error if trying to get an index that is outside the bounds of the ARC_Vector
-
123 *
-
124 * @param[in] vector ARC_Vector to get data from
-
125 * @param[in] index position of data to get
-
126 *
-
127 * @return a void * item, or NULL on error
-
128*/
-
129void *ARC_Vector_Get(ARC_Vector *vector, uint32_t index);
-
130
-
131/*! @} */
-
132
-
133#ifdef __cplusplus
-
134}
-
135#endif
-
136
-
137#endif // !ARC_STD_VECTOR_H_
- -
#define ARC_Bool
Definition bool.h:10
-
void(* ARC_Vector_DestroyDataFn)(void *data)
a callback that cleans up memory when it is removed from the vector
Definition vector.h:43
-
uint32_t ARC_Vector_GetSize(ARC_Vector *vector)
gets the current size of an ARC_Vector as an unsigned 32 bit integer
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
-
struct ARC_Vector ARC_Vector
a dynamic array type
Definition vector.h:26
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
-
ARC_Bool(* ARC_Vector_CompareDataFn)(void *dataA, void *dataB)
a callback that allows the user to define a way to check the data stored in a vector for a match
Definition vector.h:36
-
void ARC_Vector_Remove(ARC_Vector *vector, void *data)
removes an item from a matching item in an ARC_Vector
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
-
void ARC_Vector_RemoveIndex(ARC_Vector *vector, uint32_t index)
removes an item from an ARC_Vector at an index
-
void ARC_Vector_Clear(ARC_Vector *vector)
clears all items from a vector
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/d69/archeus__std_8dir_2src_2graphics_2obround_8c_8o_8d.html b/doc/doxygen/html/d6/d69/archeus__std_8dir_2src_2graphics_2obround_8c_8o_8d.html deleted file mode 100644 index 283ec46..0000000 --- a/doc/doxygen/html/d6/d69/archeus__std_8dir_2src_2graphics_2obround_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/graphics/obround.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
obround.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d6/d69/archeus__std_8dir_2src_2graphics_2obround_8c_8o_8d_source.html b/doc/doxygen/html/d6/d69/archeus__std_8dir_2src_2graphics_2obround_8c_8o_8d_source.html deleted file mode 100644 index 1da8a01..0000000 --- a/doc/doxygen/html/d6/d69/archeus__std_8dir_2src_2graphics_2obround_8c_8o_8d_source.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/graphics/obround.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
obround.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/graphics/obround.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/graphics/obround.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/graphics/obround.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/graphics/color.h \
-
6 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
7 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
8 /usr/include/features.h /usr/include/features-time64.h \
-
9 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
10 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
11 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
12 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
13 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
14 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
15 /usr/include/bits/stdint-least.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/graphics/renderer.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/math/obround.h \
-
18 /usr/include/stdio.h \
-
19 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
21 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
22 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
23 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
24 /usr/include/bits/types/cookie_io_functions_t.h \
-
25 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
26 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html b/doc/doxygen/html/d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html deleted file mode 100644 index dbbb601..0000000 --- a/doc/doxygen/html/d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html +++ /dev/null @@ -1,593 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/3.31.0/CompilerIdC/CMakeCCompilerId.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
CMakeCCompilerId.c File Reference
-
-
- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Macros

#define __has_include(x)
 
#define COMPILER_ID   ""
 
#define STRINGIFY_HELPER(X)
 
#define STRINGIFY(X)
 
#define PLATFORM_ID
 
#define ARCHITECTURE_ID
 
#define DEC(n)
 
#define HEX(n)
 
#define C_STD_99   199901L
 
#define C_STD_11   201112L
 
#define C_STD_17   201710L
 
#define C_STD_23   202311L
 
#define C_VERSION
 
- - - -

-Functions

int main (int argc, char *argv[])
 
- - - - - - - - - - - -

-Variables

char const * info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"
 
char const * info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"
 
char const * info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"
 
const char * info_language_standard_default
 
const char * info_language_extensions_default
 
-

Macro Definition Documentation

- -

◆ __has_include

- -
-
- - - - - - - -
#define __has_include( x)
-
-Value:
0
-
-

Definition at line 17 of file CMakeCCompilerId.c.

- -
-
- -

◆ ARCHITECTURE_ID

- -
-
- - - - -
#define ARCHITECTURE_ID
-
- -

Definition at line 745 of file CMakeCCompilerId.c.

- -
-
- -

◆ C_STD_11

- -
-
- - - - -
#define C_STD_11   201112L
-
- -

Definition at line 831 of file CMakeCCompilerId.c.

- -
-
- -

◆ C_STD_17

- -
-
- - - - -
#define C_STD_17   201710L
-
- -

Definition at line 832 of file CMakeCCompilerId.c.

- -
-
- -

◆ C_STD_23

- -
-
- - - - -
#define C_STD_23   202311L
-
- -

Definition at line 833 of file CMakeCCompilerId.c.

- -
-
- -

◆ C_STD_99

- -
-
- - - - -
#define C_STD_99   199901L
-
- -

Definition at line 830 of file CMakeCCompilerId.c.

- -
-
- -

◆ C_VERSION

- -
-
- - - - -
#define C_VERSION
-
- -

Definition at line 843 of file CMakeCCompilerId.c.

- -
-
- -

◆ COMPILER_ID

- -
-
- - - - -
#define COMPILER_ID   ""
-
- -

Definition at line 448 of file CMakeCCompilerId.c.

- -
-
- -

◆ DEC

- -
-
- - - - - - - -
#define DEC( n)
-
-Value:
('0' + (((n) / 10000000)%10)), \
-
('0' + (((n) / 1000000)%10)), \
-
('0' + (((n) / 100000)%10)), \
-
('0' + (((n) / 10000)%10)), \
-
('0' + (((n) / 1000)%10)), \
-
('0' + (((n) / 100)%10)), \
-
('0' + (((n) / 10)%10)), \
-
('0' + ((n) % 10))
-
-

Definition at line 749 of file CMakeCCompilerId.c.

-
749#define DEC(n) \
-
750 ('0' + (((n) / 10000000)%10)), \
-
751 ('0' + (((n) / 1000000)%10)), \
-
752 ('0' + (((n) / 100000)%10)), \
-
753 ('0' + (((n) / 10000)%10)), \
-
754 ('0' + (((n) / 1000)%10)), \
-
755 ('0' + (((n) / 100)%10)), \
-
756 ('0' + (((n) / 10)%10)), \
-
757 ('0' + ((n) % 10))
-
-
-
- -

◆ HEX

- -
-
- - - - - - - -
#define HEX( n)
-
-Value:
('0' + ((n)>>28 & 0xF)), \
-
('0' + ((n)>>24 & 0xF)), \
-
('0' + ((n)>>20 & 0xF)), \
-
('0' + ((n)>>16 & 0xF)), \
-
('0' + ((n)>>12 & 0xF)), \
-
('0' + ((n)>>8 & 0xF)), \
-
('0' + ((n)>>4 & 0xF)), \
-
('0' + ((n) & 0xF))
-
-

Definition at line 760 of file CMakeCCompilerId.c.

-
760#define HEX(n) \
-
761 ('0' + ((n)>>28 & 0xF)), \
-
762 ('0' + ((n)>>24 & 0xF)), \
-
763 ('0' + ((n)>>20 & 0xF)), \
-
764 ('0' + ((n)>>16 & 0xF)), \
-
765 ('0' + ((n)>>12 & 0xF)), \
-
766 ('0' + ((n)>>8 & 0xF)), \
-
767 ('0' + ((n)>>4 & 0xF)), \
-
768 ('0' + ((n) & 0xF))
-
-
-
- -

◆ PLATFORM_ID

- -
-
- - - - -
#define PLATFORM_ID
-
- -

Definition at line 579 of file CMakeCCompilerId.c.

- -
-
- -

◆ STRINGIFY

- -
-
- - - - - - - -
#define STRINGIFY( X)
-
-Value:
-
#define STRINGIFY_HELPER(X)
-
-

Definition at line 469 of file CMakeCCompilerId.c.

- -
-
- -

◆ STRINGIFY_HELPER

- -
-
- - - - - - - -
#define STRINGIFY_HELPER( X)
-
-Value:
#X
-
-

Definition at line 468 of file CMakeCCompilerId.c.

- -
-
-

Function Documentation

- -

◆ main()

- -
-
- - - - - - - - - - - -
int main (int argc,
char * argv[] )
-
- -

Definition at line 877 of file CMakeCCompilerId.c.

-
879{
-
880 int require = 0;
-
881 require += info_compiler[argc];
-
882 require += info_platform[argc];
-
883 require += info_arch[argc];
-
884#ifdef COMPILER_VERSION_MAJOR
-
885 require += info_version[argc];
-
886#endif
-
887#ifdef COMPILER_VERSION_INTERNAL
-
888 require += info_version_internal[argc];
-
889#endif
-
890#ifdef SIMULATE_ID
-
891 require += info_simulate[argc];
-
892#endif
-
893#ifdef SIMULATE_VERSION_MAJOR
-
894 require += info_simulate_version[argc];
-
895#endif
-
896#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
-
897 require += info_cray[argc];
-
898#endif
-
899 require += info_language_standard_default[argc];
-
900 require += info_language_extensions_default[argc];
-
901 (void)argv;
-
902 return require;
-
903}
-
const char * info_language_extensions_default
-
char const * info_platform
-
const char * info_language_standard_default
-
char const * info_compiler
-
char const * info_arch
-
-

References info_arch, info_compiler, info_language_extensions_default, info_language_standard_default, and info_platform.

- -
-
-

Variable Documentation

- -

◆ info_arch

- -
-
- - - - -
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"
-
- -

Definition at line 826 of file CMakeCCompilerId.c.

- -
-
- -

◆ info_compiler

- -
-
- - - - -
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"
-
- -

Definition at line 455 of file CMakeCCompilerId.c.

- -
-
- -

◆ info_language_extensions_default

- -
-
- - - - -
const char* info_language_extensions_default
-
-Initial value:
= "INFO" ":" "extensions_default["
-
-
-
-
-
-
"OFF"
-
-
"]"
-
-

Definition at line 859 of file CMakeCCompilerId.c.

- -
-
- -

◆ info_language_standard_default

- -
-
- - - - -
const char* info_language_standard_default
-
-Initial value:
=
-
"INFO" ":" "standard_default[" C_VERSION "]"
-
#define C_VERSION
-
-

Definition at line 856 of file CMakeCCompilerId.c.

- -
-
- -

◆ info_platform

- -
-
- - - - -
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"
-
- -

Definition at line 825 of file CMakeCCompilerId.c.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.js b/doc/doxygen/html/d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.js deleted file mode 100644 index b63951c..0000000 --- a/doc/doxygen/html/d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.js +++ /dev/null @@ -1,22 +0,0 @@ -var 3_831_80_2CompilerIdC_2CMakeCCompilerId_8c = -[ - [ "__has_include", "d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#ae5510d82e4946f1656f4969911c54736", null ], - [ "ARCHITECTURE_ID", "d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#aba35d0d200deaeb06aee95ca297acb28", null ], - [ "C_STD_11", "d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#a7c35af7e67642a2c62eb27dd81be11b2", null ], - [ "C_STD_17", "d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#aa8cd9c2c76dde36abac0bd7698090693", null ], - [ "C_STD_23", "d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#a81af617e8f7b5417689ca478ce9f4d69", null ], - [ "C_STD_99", "d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#af6079dc519dac099ee85a1df6ae5e5e8", null ], - [ "C_VERSION", "d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#adaee3ee7c5a7a22451ea25e762e1d7d5", null ], - [ "COMPILER_ID", "d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#a81dee0709ded976b2e0319239f72d174", null ], - [ "DEC", "d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#ad1280362da42492bbc11aa78cbf776ad", null ], - [ "HEX", "d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#a46d5d95daa1bef867bd0179594310ed5", null ], - [ "PLATFORM_ID", "d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#adbc5372f40838899018fadbc89bd588b", null ], - [ "STRINGIFY", "d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#a43e1cad902b6477bec893cb6430bd6c8", null ], - [ "STRINGIFY_HELPER", "d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#a2ae9b72bb13abaabfcf2ee0ba7d3fa1d", null ], - [ "main", "d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#a0ddf1224851353fc92bfbff6f499fa97", null ], - [ "info_arch", "d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#a59647e99d304ed33b15cb284c27ed391", null ], - [ "info_compiler", "d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#a4b0efeb7a5d59313986b3a0390f050f6", null ], - [ "info_language_extensions_default", "d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#a0f46a8a39e09d9b803c4766904fd7e99", null ], - [ "info_language_standard_default", "d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#a4607cccf070750927b458473ca82c090", null ], - [ "info_platform", "d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#a2321403dee54ee23f0c2fa849c60f7d4", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c_source.html b/doc/doxygen/html/d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c_source.html deleted file mode 100644 index 252e5a9..0000000 --- a/doc/doxygen/html/d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c_source.html +++ /dev/null @@ -1,1048 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/3.31.0/CompilerIdC/CMakeCCompilerId.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
CMakeCCompilerId.c
-
-
-Go to the documentation of this file.
1#ifdef __cplusplus
-
2# error "A C++ compiler has been selected for C."
-
3#endif
-
4
-
5#if defined(__18CXX)
-
6# define ID_VOID_MAIN
-
7#endif
-
8#if defined(__CLASSIC_C__)
-
9/* cv-qualifiers did not exist in K&R C */
-
10# define const
-
11# define volatile
-
12#endif
-
13
-
14#if !defined(__has_include)
-
15/* If the compiler does not have __has_include, pretend the answer is
-
16 always no. */
-
17# define __has_include(x) 0
-
18#endif
-
19
-
20
-
21/* Version number components: V=Version, R=Revision, P=Patch
-
22 Version date components: YYYY=Year, MM=Month, DD=Day */
-
23
-
24#if defined(__INTEL_COMPILER) || defined(__ICC)
-
25# define COMPILER_ID "Intel"
-
26# if defined(_MSC_VER)
-
27# define SIMULATE_ID "MSVC"
-
28# endif
-
29# if defined(__GNUC__)
-
30# define SIMULATE_ID "GNU"
-
31# endif
-
32 /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
-
33 except that a few beta releases use the old format with V=2021. */
-
34# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
-
35# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
-
36# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
-
37# if defined(__INTEL_COMPILER_UPDATE)
-
38# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
-
39# else
-
40# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
-
41# endif
-
42# else
-
43# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
-
44# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
-
45 /* The third version component from --version is an update index,
-
46 but no macro is provided for it. */
-
47# define COMPILER_VERSION_PATCH DEC(0)
-
48# endif
-
49# if defined(__INTEL_COMPILER_BUILD_DATE)
-
50 /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
-
51# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
-
52# endif
-
53# if defined(_MSC_VER)
-
54 /* _MSC_VER = VVRR */
-
55# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-
56# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-
57# endif
-
58# if defined(__GNUC__)
-
59# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
-
60# elif defined(__GNUG__)
-
61# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
-
62# endif
-
63# if defined(__GNUC_MINOR__)
-
64# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
-
65# endif
-
66# if defined(__GNUC_PATCHLEVEL__)
-
67# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-
68# endif
-
69
-
70#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
-
71# define COMPILER_ID "IntelLLVM"
-
72#if defined(_MSC_VER)
-
73# define SIMULATE_ID "MSVC"
-
74#endif
-
75#if defined(__GNUC__)
-
76# define SIMULATE_ID "GNU"
-
77#endif
-
78/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
-
79 * later. Look for 6 digit vs. 8 digit version number to decide encoding.
-
80 * VVVV is no smaller than the current year when a version is released.
-
81 */
-
82#if __INTEL_LLVM_COMPILER < 1000000L
-
83# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
-
84# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
-
85# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
-
86#else
-
87# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
-
88# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
-
89# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
-
90#endif
-
91#if defined(_MSC_VER)
-
92 /* _MSC_VER = VVRR */
-
93# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-
94# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-
95#endif
-
96#if defined(__GNUC__)
-
97# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
-
98#elif defined(__GNUG__)
-
99# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
-
100#endif
-
101#if defined(__GNUC_MINOR__)
-
102# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
-
103#endif
-
104#if defined(__GNUC_PATCHLEVEL__)
-
105# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-
106#endif
-
107
-
108#elif defined(__PATHCC__)
-
109# define COMPILER_ID "PathScale"
-
110# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
-
111# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
-
112# if defined(__PATHCC_PATCHLEVEL__)
-
113# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
-
114# endif
-
115
-
116#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
-
117# define COMPILER_ID "Embarcadero"
-
118# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
-
119# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
-
120# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
-
121
-
122#elif defined(__BORLANDC__)
-
123# define COMPILER_ID "Borland"
-
124 /* __BORLANDC__ = 0xVRR */
-
125# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
-
126# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
-
127
-
128#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
-
129# define COMPILER_ID "Watcom"
-
130 /* __WATCOMC__ = VVRR */
-
131# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
-
132# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
-
133# if (__WATCOMC__ % 10) > 0
-
134# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
-
135# endif
-
136
-
137#elif defined(__WATCOMC__)
-
138# define COMPILER_ID "OpenWatcom"
-
139 /* __WATCOMC__ = VVRP + 1100 */
-
140# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
-
141# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
-
142# if (__WATCOMC__ % 10) > 0
-
143# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
-
144# endif
-
145
-
146#elif defined(__SUNPRO_C)
-
147# define COMPILER_ID "SunPro"
-
148# if __SUNPRO_C >= 0x5100
-
149 /* __SUNPRO_C = 0xVRRP */
-
150# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
-
151# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
-
152# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
-
153# else
-
154 /* __SUNPRO_CC = 0xVRP */
-
155# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
-
156# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
-
157# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
-
158# endif
-
159
-
160#elif defined(__HP_cc)
-
161# define COMPILER_ID "HP"
-
162 /* __HP_cc = VVRRPP */
-
163# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
-
164# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
-
165# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
-
166
-
167#elif defined(__DECC)
-
168# define COMPILER_ID "Compaq"
-
169 /* __DECC_VER = VVRRTPPPP */
-
170# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
-
171# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
-
172# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
-
173
-
174#elif defined(__IBMC__) && defined(__COMPILER_VER__)
-
175# define COMPILER_ID "zOS"
-
176 /* __IBMC__ = VRP */
-
177# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
-
178# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
-
179# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
-
180
-
181#elif defined(__open_xl__) && defined(__clang__)
-
182# define COMPILER_ID "IBMClang"
-
183# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__)
-
184# define COMPILER_VERSION_MINOR DEC(__open_xl_release__)
-
185# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__)
-
186# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__)
-
187
-
188
-
189#elif defined(__ibmxl__) && defined(__clang__)
-
190# define COMPILER_ID "XLClang"
-
191# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
-
192# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
-
193# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
-
194# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
-
195
-
196
-
197#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
-
198# define COMPILER_ID "XL"
-
199 /* __IBMC__ = VRP */
-
200# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
-
201# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
-
202# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
-
203
-
204#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
-
205# define COMPILER_ID "VisualAge"
-
206 /* __IBMC__ = VRP */
-
207# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
-
208# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
-
209# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
-
210
-
211#elif defined(__NVCOMPILER)
-
212# define COMPILER_ID "NVHPC"
-
213# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
-
214# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
-
215# if defined(__NVCOMPILER_PATCHLEVEL__)
-
216# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
-
217# endif
-
218
-
219#elif defined(__PGI)
-
220# define COMPILER_ID "PGI"
-
221# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
-
222# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
-
223# if defined(__PGIC_PATCHLEVEL__)
-
224# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
-
225# endif
-
226
-
227#elif defined(__clang__) && defined(__cray__)
-
228# define COMPILER_ID "CrayClang"
-
229# define COMPILER_VERSION_MAJOR DEC(__cray_major__)
-
230# define COMPILER_VERSION_MINOR DEC(__cray_minor__)
-
231# define COMPILER_VERSION_PATCH DEC(__cray_patchlevel__)
-
232# define COMPILER_VERSION_INTERNAL_STR __clang_version__
-
233
-
234
-
235#elif defined(_CRAYC)
-
236# define COMPILER_ID "Cray"
-
237# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
-
238# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
-
239
-
240#elif defined(__TI_COMPILER_VERSION__)
-
241# define COMPILER_ID "TI"
-
242 /* __TI_COMPILER_VERSION__ = VVVRRRPPP */
-
243# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
-
244# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
-
245# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
-
246
-
247#elif defined(__CLANG_FUJITSU)
-
248# define COMPILER_ID "FujitsuClang"
-
249# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
-
250# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
-
251# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
-
252# define COMPILER_VERSION_INTERNAL_STR __clang_version__
-
253
-
254
-
255#elif defined(__FUJITSU)
-
256# define COMPILER_ID "Fujitsu"
-
257# if defined(__FCC_version__)
-
258# define COMPILER_VERSION __FCC_version__
-
259# elif defined(__FCC_major__)
-
260# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
-
261# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
-
262# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
-
263# endif
-
264# if defined(__fcc_version)
-
265# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
-
266# elif defined(__FCC_VERSION)
-
267# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
-
268# endif
-
269
-
270
-
271#elif defined(__ghs__)
-
272# define COMPILER_ID "GHS"
-
273/* __GHS_VERSION_NUMBER = VVVVRP */
-
274# ifdef __GHS_VERSION_NUMBER
-
275# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
-
276# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
-
277# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
-
278# endif
-
279
-
280#elif defined(__TASKING__)
-
281# define COMPILER_ID "Tasking"
-
282 # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000)
-
283 # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100)
-
284# define COMPILER_VERSION_INTERNAL DEC(__VERSION__)
-
285
-
286#elif defined(__ORANGEC__)
-
287# define COMPILER_ID "OrangeC"
-
288# define COMPILER_VERSION_MAJOR DEC(__ORANGEC_MAJOR__)
-
289# define COMPILER_VERSION_MINOR DEC(__ORANGEC_MINOR__)
-
290# define COMPILER_VERSION_PATCH DEC(__ORANGEC_PATCHLEVEL__)
-
291
-
292#elif defined(__TINYC__)
-
293# define COMPILER_ID "TinyCC"
-
294
-
295#elif defined(__BCC__)
-
296# define COMPILER_ID "Bruce"
-
297
-
298#elif defined(__SCO_VERSION__)
-
299# define COMPILER_ID "SCO"
-
300
-
301#elif defined(__ARMCC_VERSION) && !defined(__clang__)
-
302# define COMPILER_ID "ARMCC"
-
303#if __ARMCC_VERSION >= 1000000
-
304 /* __ARMCC_VERSION = VRRPPPP */
-
305 # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
-
306 # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
-
307 # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
-
308#else
-
309 /* __ARMCC_VERSION = VRPPPP */
-
310 # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
-
311 # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
-
312 # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
-
313#endif
-
314
-
315
-
316#elif defined(__clang__) && defined(__apple_build_version__)
-
317# define COMPILER_ID "AppleClang"
-
318# if defined(_MSC_VER)
-
319# define SIMULATE_ID "MSVC"
-
320# endif
-
321# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
-
322# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
-
323# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
-
324# if defined(_MSC_VER)
-
325 /* _MSC_VER = VVRR */
-
326# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-
327# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-
328# endif
-
329# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
-
330
-
331#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
-
332# define COMPILER_ID "ARMClang"
-
333 # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
-
334 # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
-
335 # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100)
-
336# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
-
337
-
338#elif defined(__clang__) && defined(__ti__)
-
339# define COMPILER_ID "TIClang"
-
340 # define COMPILER_VERSION_MAJOR DEC(__ti_major__)
-
341 # define COMPILER_VERSION_MINOR DEC(__ti_minor__)
-
342 # define COMPILER_VERSION_PATCH DEC(__ti_patchlevel__)
-
343# define COMPILER_VERSION_INTERNAL DEC(__ti_version__)
-
344
-
345#elif defined(__clang__)
-
346# define COMPILER_ID "Clang"
-
347# if defined(_MSC_VER)
-
348# define SIMULATE_ID "MSVC"
-
349# endif
-
350# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
-
351# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
-
352# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
-
353# if defined(_MSC_VER)
-
354 /* _MSC_VER = VVRR */
-
355# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-
356# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-
357# endif
-
358
-
359#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
-
360# define COMPILER_ID "LCC"
-
361# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100)
-
362# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100)
-
363# if defined(__LCC_MINOR__)
-
364# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
-
365# endif
-
366# if defined(__GNUC__) && defined(__GNUC_MINOR__)
-
367# define SIMULATE_ID "GNU"
-
368# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
-
369# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
-
370# if defined(__GNUC_PATCHLEVEL__)
-
371# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-
372# endif
-
373# endif
-
374
-
375#elif defined(__GNUC__)
-
376# define COMPILER_ID "GNU"
-
377# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
-
378# if defined(__GNUC_MINOR__)
-
379# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
-
380# endif
-
381# if defined(__GNUC_PATCHLEVEL__)
-
382# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-
383# endif
-
384
-
385#elif defined(_MSC_VER)
-
386# define COMPILER_ID "MSVC"
-
387 /* _MSC_VER = VVRR */
-
388# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
-
389# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
-
390# if defined(_MSC_FULL_VER)
-
391# if _MSC_VER >= 1400
-
392 /* _MSC_FULL_VER = VVRRPPPPP */
-
393# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
-
394# else
-
395 /* _MSC_FULL_VER = VVRRPPPP */
-
396# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
-
397# endif
-
398# endif
-
399# if defined(_MSC_BUILD)
-
400# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
-
401# endif
-
402
-
403#elif defined(_ADI_COMPILER)
-
404# define COMPILER_ID "ADSP"
-
405#if defined(__VERSIONNUM__)
-
406 /* __VERSIONNUM__ = 0xVVRRPPTT */
-
407# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF)
-
408# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF)
-
409# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF)
-
410# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF)
-
411#endif
-
412
-
413#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
-
414# define COMPILER_ID "IAR"
-
415# if defined(__VER__) && defined(__ICCARM__)
-
416# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
-
417# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
-
418# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
-
419# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
-
420# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
-
421# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
-
422# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
-
423# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
-
424# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
-
425# endif
-
426
-
427#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
-
428# define COMPILER_ID "SDCC"
-
429# if defined(__SDCC_VERSION_MAJOR)
-
430# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
-
431# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
-
432# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
-
433# else
-
434 /* SDCC = VRP */
-
435# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
-
436# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
-
437# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
-
438# endif
-
439
-
440
-
441/* These compilers are either not known or too old to define an
-
442 identification macro. Try to identify the platform and guess that
-
443 it is the native compiler. */
-
444#elif defined(__hpux) || defined(__hpua)
-
445# define COMPILER_ID "HP"
-
446
-
447#else /* unknown compiler */
-
448# define COMPILER_ID ""
-
449#endif
-
450
-
451/* Construct the string literal in pieces to prevent the source from
-
452 getting matched. Store it in a pointer rather than an array
-
453 because some compilers will just produce instructions to fill the
-
454 array rather than assigning a pointer to a static array. */
-
455char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
-
456#ifdef SIMULATE_ID
-
457char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
-
458#endif
-
459
-
460#ifdef __QNXNTO__
-
461char const* qnxnto = "INFO" ":" "qnxnto[]";
-
462#endif
-
463
-
464#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
-
465char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
-
466#endif
-
467
-
468#define STRINGIFY_HELPER(X) #X
-
469#define STRINGIFY(X) STRINGIFY_HELPER(X)
-
470
-
471/* Identify known platforms by name. */
-
472#if defined(__linux) || defined(__linux__) || defined(linux)
-
473# define PLATFORM_ID "Linux"
-
474
-
475#elif defined(__MSYS__)
-
476# define PLATFORM_ID "MSYS"
-
477
-
478#elif defined(__CYGWIN__)
-
479# define PLATFORM_ID "Cygwin"
-
480
-
481#elif defined(__MINGW32__)
-
482# define PLATFORM_ID "MinGW"
-
483
-
484#elif defined(__APPLE__)
-
485# define PLATFORM_ID "Darwin"
-
486
-
487#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
-
488# define PLATFORM_ID "Windows"
-
489
-
490#elif defined(__FreeBSD__) || defined(__FreeBSD)
-
491# define PLATFORM_ID "FreeBSD"
-
492
-
493#elif defined(__NetBSD__) || defined(__NetBSD)
-
494# define PLATFORM_ID "NetBSD"
-
495
-
496#elif defined(__OpenBSD__) || defined(__OPENBSD)
-
497# define PLATFORM_ID "OpenBSD"
-
498
-
499#elif defined(__sun) || defined(sun)
-
500# define PLATFORM_ID "SunOS"
-
501
-
502#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
-
503# define PLATFORM_ID "AIX"
-
504
-
505#elif defined(__hpux) || defined(__hpux__)
-
506# define PLATFORM_ID "HP-UX"
-
507
-
508#elif defined(__HAIKU__)
-
509# define PLATFORM_ID "Haiku"
-
510
-
511#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
-
512# define PLATFORM_ID "BeOS"
-
513
-
514#elif defined(__QNX__) || defined(__QNXNTO__)
-
515# define PLATFORM_ID "QNX"
-
516
-
517#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
-
518# define PLATFORM_ID "Tru64"
-
519
-
520#elif defined(__riscos) || defined(__riscos__)
-
521# define PLATFORM_ID "RISCos"
-
522
-
523#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
-
524# define PLATFORM_ID "SINIX"
-
525
-
526#elif defined(__UNIX_SV__)
-
527# define PLATFORM_ID "UNIX_SV"
-
528
-
529#elif defined(__bsdos__)
-
530# define PLATFORM_ID "BSDOS"
-
531
-
532#elif defined(_MPRAS) || defined(MPRAS)
-
533# define PLATFORM_ID "MP-RAS"
-
534
-
535#elif defined(__osf) || defined(__osf__)
-
536# define PLATFORM_ID "OSF1"
-
537
-
538#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
-
539# define PLATFORM_ID "SCO_SV"
-
540
-
541#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
-
542# define PLATFORM_ID "ULTRIX"
-
543
-
544#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
-
545# define PLATFORM_ID "Xenix"
-
546
-
547#elif defined(__WATCOMC__)
-
548# if defined(__LINUX__)
-
549# define PLATFORM_ID "Linux"
-
550
-
551# elif defined(__DOS__)
-
552# define PLATFORM_ID "DOS"
-
553
-
554# elif defined(__OS2__)
-
555# define PLATFORM_ID "OS2"
-
556
-
557# elif defined(__WINDOWS__)
-
558# define PLATFORM_ID "Windows3x"
-
559
-
560# elif defined(__VXWORKS__)
-
561# define PLATFORM_ID "VxWorks"
-
562
-
563# else /* unknown platform */
-
564# define PLATFORM_ID
-
565# endif
-
566
-
567#elif defined(__INTEGRITY)
-
568# if defined(INT_178B)
-
569# define PLATFORM_ID "Integrity178"
-
570
-
571# else /* regular Integrity */
-
572# define PLATFORM_ID "Integrity"
-
573# endif
-
574
-
575# elif defined(_ADI_COMPILER)
-
576# define PLATFORM_ID "ADSP"
-
577
-
578#else /* unknown platform */
-
579# define PLATFORM_ID
-
580
-
581#endif
-
582
-
583/* For windows compilers MSVC and Intel we can determine
-
584 the architecture of the compiler being used. This is because
-
585 the compilers do not have flags that can change the architecture,
-
586 but rather depend on which compiler is being used
-
587*/
-
588#if defined(_WIN32) && defined(_MSC_VER)
-
589# if defined(_M_IA64)
-
590# define ARCHITECTURE_ID "IA64"
-
591
-
592# elif defined(_M_ARM64EC)
-
593# define ARCHITECTURE_ID "ARM64EC"
-
594
-
595# elif defined(_M_X64) || defined(_M_AMD64)
-
596# define ARCHITECTURE_ID "x64"
-
597
-
598# elif defined(_M_IX86)
-
599# define ARCHITECTURE_ID "X86"
-
600
-
601# elif defined(_M_ARM64)
-
602# define ARCHITECTURE_ID "ARM64"
-
603
-
604# elif defined(_M_ARM)
-
605# if _M_ARM == 4
-
606# define ARCHITECTURE_ID "ARMV4I"
-
607# elif _M_ARM == 5
-
608# define ARCHITECTURE_ID "ARMV5I"
-
609# else
-
610# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
-
611# endif
-
612
-
613# elif defined(_M_MIPS)
-
614# define ARCHITECTURE_ID "MIPS"
-
615
-
616# elif defined(_M_SH)
-
617# define ARCHITECTURE_ID "SHx"
-
618
-
619# else /* unknown architecture */
-
620# define ARCHITECTURE_ID ""
-
621# endif
-
622
-
623#elif defined(__WATCOMC__)
-
624# if defined(_M_I86)
-
625# define ARCHITECTURE_ID "I86"
-
626
-
627# elif defined(_M_IX86)
-
628# define ARCHITECTURE_ID "X86"
-
629
-
630# else /* unknown architecture */
-
631# define ARCHITECTURE_ID ""
-
632# endif
-
633
-
634#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
-
635# if defined(__ICCARM__)
-
636# define ARCHITECTURE_ID "ARM"
-
637
-
638# elif defined(__ICCRX__)
-
639# define ARCHITECTURE_ID "RX"
-
640
-
641# elif defined(__ICCRH850__)
-
642# define ARCHITECTURE_ID "RH850"
-
643
-
644# elif defined(__ICCRL78__)
-
645# define ARCHITECTURE_ID "RL78"
-
646
-
647# elif defined(__ICCRISCV__)
-
648# define ARCHITECTURE_ID "RISCV"
-
649
-
650# elif defined(__ICCAVR__)
-
651# define ARCHITECTURE_ID "AVR"
-
652
-
653# elif defined(__ICC430__)
-
654# define ARCHITECTURE_ID "MSP430"
-
655
-
656# elif defined(__ICCV850__)
-
657# define ARCHITECTURE_ID "V850"
-
658
-
659# elif defined(__ICC8051__)
-
660# define ARCHITECTURE_ID "8051"
-
661
-
662# elif defined(__ICCSTM8__)
-
663# define ARCHITECTURE_ID "STM8"
-
664
-
665# else /* unknown architecture */
-
666# define ARCHITECTURE_ID ""
-
667# endif
-
668
-
669#elif defined(__ghs__)
-
670# if defined(__PPC64__)
-
671# define ARCHITECTURE_ID "PPC64"
-
672
-
673# elif defined(__ppc__)
-
674# define ARCHITECTURE_ID "PPC"
-
675
-
676# elif defined(__ARM__)
-
677# define ARCHITECTURE_ID "ARM"
-
678
-
679# elif defined(__x86_64__)
-
680# define ARCHITECTURE_ID "x64"
-
681
-
682# elif defined(__i386__)
-
683# define ARCHITECTURE_ID "X86"
-
684
-
685# else /* unknown architecture */
-
686# define ARCHITECTURE_ID ""
-
687# endif
-
688
-
689#elif defined(__clang__) && defined(__ti__)
-
690# if defined(__ARM_ARCH)
-
691# define ARCHITECTURE_ID "Arm"
-
692
-
693# else /* unknown architecture */
-
694# define ARCHITECTURE_ID ""
-
695# endif
-
696
-
697#elif defined(__TI_COMPILER_VERSION__)
-
698# if defined(__TI_ARM__)
-
699# define ARCHITECTURE_ID "ARM"
-
700
-
701# elif defined(__MSP430__)
-
702# define ARCHITECTURE_ID "MSP430"
-
703
-
704# elif defined(__TMS320C28XX__)
-
705# define ARCHITECTURE_ID "TMS320C28x"
-
706
-
707# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
-
708# define ARCHITECTURE_ID "TMS320C6x"
-
709
-
710# else /* unknown architecture */
-
711# define ARCHITECTURE_ID ""
-
712# endif
-
713
-
714# elif defined(__ADSPSHARC__)
-
715# define ARCHITECTURE_ID "SHARC"
-
716
-
717# elif defined(__ADSPBLACKFIN__)
-
718# define ARCHITECTURE_ID "Blackfin"
-
719
-
720#elif defined(__TASKING__)
-
721
-
722# if defined(__CTC__) || defined(__CPTC__)
-
723# define ARCHITECTURE_ID "TriCore"
-
724
-
725# elif defined(__CMCS__)
-
726# define ARCHITECTURE_ID "MCS"
-
727
-
728# elif defined(__CARM__)
-
729# define ARCHITECTURE_ID "ARM"
-
730
-
731# elif defined(__CARC__)
-
732# define ARCHITECTURE_ID "ARC"
-
733
-
734# elif defined(__C51__)
-
735# define ARCHITECTURE_ID "8051"
-
736
-
737# elif defined(__CPCP__)
-
738# define ARCHITECTURE_ID "PCP"
-
739
-
740# else
-
741# define ARCHITECTURE_ID ""
-
742# endif
-
743
-
744#else
-
745# define ARCHITECTURE_ID
-
746#endif
-
747
-
748/* Convert integer to decimal digit literals. */
-
-
749#define DEC(n) \
-
750 ('0' + (((n) / 10000000)%10)), \
-
751 ('0' + (((n) / 1000000)%10)), \
-
752 ('0' + (((n) / 100000)%10)), \
-
753 ('0' + (((n) / 10000)%10)), \
-
754 ('0' + (((n) / 1000)%10)), \
-
755 ('0' + (((n) / 100)%10)), \
-
756 ('0' + (((n) / 10)%10)), \
-
757 ('0' + ((n) % 10))
-
-
758
-
759/* Convert integer to hex digit literals. */
-
-
760#define HEX(n) \
-
761 ('0' + ((n)>>28 & 0xF)), \
-
762 ('0' + ((n)>>24 & 0xF)), \
-
763 ('0' + ((n)>>20 & 0xF)), \
-
764 ('0' + ((n)>>16 & 0xF)), \
-
765 ('0' + ((n)>>12 & 0xF)), \
-
766 ('0' + ((n)>>8 & 0xF)), \
-
767 ('0' + ((n)>>4 & 0xF)), \
-
768 ('0' + ((n) & 0xF))
-
-
769
-
770/* Construct a string literal encoding the version number. */
-
771#ifdef COMPILER_VERSION
-
772char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
-
773
-
774/* Construct a string literal encoding the version number components. */
-
775#elif defined(COMPILER_VERSION_MAJOR)
-
776char const info_version[] = {
-
777 'I', 'N', 'F', 'O', ':',
-
778 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
-
779 COMPILER_VERSION_MAJOR,
-
780# ifdef COMPILER_VERSION_MINOR
-
781 '.', COMPILER_VERSION_MINOR,
-
782# ifdef COMPILER_VERSION_PATCH
-
783 '.', COMPILER_VERSION_PATCH,
-
784# ifdef COMPILER_VERSION_TWEAK
-
785 '.', COMPILER_VERSION_TWEAK,
-
786# endif
-
787# endif
-
788# endif
-
789 ']','\0'};
-
790#endif
-
791
-
792/* Construct a string literal encoding the internal version number. */
-
793#ifdef COMPILER_VERSION_INTERNAL
-
794char const info_version_internal[] = {
-
795 'I', 'N', 'F', 'O', ':',
-
796 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
-
797 'i','n','t','e','r','n','a','l','[',
-
798 COMPILER_VERSION_INTERNAL,']','\0'};
-
799#elif defined(COMPILER_VERSION_INTERNAL_STR)
-
800char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
-
801#endif
-
802
-
803/* Construct a string literal encoding the version number components. */
-
804#ifdef SIMULATE_VERSION_MAJOR
-
805char const info_simulate_version[] = {
-
806 'I', 'N', 'F', 'O', ':',
-
807 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
-
808 SIMULATE_VERSION_MAJOR,
-
809# ifdef SIMULATE_VERSION_MINOR
-
810 '.', SIMULATE_VERSION_MINOR,
-
811# ifdef SIMULATE_VERSION_PATCH
-
812 '.', SIMULATE_VERSION_PATCH,
-
813# ifdef SIMULATE_VERSION_TWEAK
-
814 '.', SIMULATE_VERSION_TWEAK,
-
815# endif
-
816# endif
-
817# endif
-
818 ']','\0'};
-
819#endif
-
820
-
821/* Construct the string literal in pieces to prevent the source from
-
822 getting matched. Store it in a pointer rather than an array
-
823 because some compilers will just produce instructions to fill the
-
824 array rather than assigning a pointer to a static array. */
-
825char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
-
826char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
-
827
-
828
-
829
-
830#define C_STD_99 199901L
-
831#define C_STD_11 201112L
-
832#define C_STD_17 201710L
-
833#define C_STD_23 202311L
-
834
-
835#ifdef __STDC_VERSION__
-
836# define C_STD __STDC_VERSION__
-
837#endif
-
838
-
839#if !defined(__STDC__) && !defined(__clang__)
-
840# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__)
-
841# define C_VERSION "90"
-
842# else
-
843# define C_VERSION
-
844# endif
-
845#elif C_STD > C_STD_17
-
846# define C_VERSION "23"
-
847#elif C_STD > C_STD_11
-
848# define C_VERSION "17"
-
849#elif C_STD > C_STD_99
-
850# define C_VERSION "11"
-
851#elif C_STD >= C_STD_99
-
852# define C_VERSION "99"
-
853#else
-
854# define C_VERSION "90"
-
855#endif
- -
857 "INFO" ":" "standard_default[" C_VERSION "]";
-
858
-
859const char* info_language_extensions_default = "INFO" ":" "extensions_default["
-
860#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \
-
861 defined(__TI_COMPILER_VERSION__)) && \
-
862 !defined(__STRICT_ANSI__)
-
863 "ON"
-
864#else
-
865 "OFF"
-
866#endif
-
867"]";
-
868
-
869/*--------------------------------------------------------------------------*/
-
870
-
871#ifdef ID_VOID_MAIN
-
872void main() {}
-
873#else
-
874# if defined(__CLASSIC_C__)
-
875int main(argc, argv) int argc; char *argv[];
-
876# else
-
-
877int main(int argc, char* argv[])
-
878# endif
-
879{
-
880 int require = 0;
-
881 require += info_compiler[argc];
-
882 require += info_platform[argc];
-
883 require += info_arch[argc];
-
884#ifdef COMPILER_VERSION_MAJOR
-
885 require += info_version[argc];
-
886#endif
-
887#ifdef COMPILER_VERSION_INTERNAL
-
888 require += info_version_internal[argc];
-
889#endif
-
890#ifdef SIMULATE_ID
-
891 require += info_simulate[argc];
-
892#endif
-
893#ifdef SIMULATE_VERSION_MAJOR
-
894 require += info_simulate_version[argc];
-
895#endif
-
896#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
-
897 require += info_cray[argc];
-
898#endif
-
899 require += info_language_standard_default[argc];
-
900 require += info_language_extensions_default[argc];
-
901 (void)argv;
-
902 return require;
-
903}
-
-
904#endif
-
const char * info_language_extensions_default
-
char const * info_platform
-
const char * info_language_standard_default
-
char const * info_compiler
-
char const * info_arch
-
#define COMPILER_ID
-
#define ARCHITECTURE_ID
-
#define C_VERSION
-
#define PLATFORM_ID
-
int main(void)
Definition test.c:19
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/d75/archeus__std_8dir_2src_2std_2parser_2csv_8c_8o_8d.html b/doc/doxygen/html/d6/d75/archeus__std_8dir_2src_2std_2parser_2csv_8c_8o_8d.html deleted file mode 100644 index d9531be..0000000 --- a/doc/doxygen/html/d6/d75/archeus__std_8dir_2src_2std_2parser_2csv_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/parser/csv.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
csv.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d6/d75/archeus__std_8dir_2src_2std_2parser_2csv_8c_8o_8d_source.html b/doc/doxygen/html/d6/d75/archeus__std_8dir_2src_2std_2parser_2csv_8c_8o_8d_source.html deleted file mode 100644 index b889c7b..0000000 --- a/doc/doxygen/html/d6/d75/archeus__std_8dir_2src_2std_2parser_2csv_8c_8o_8d_source.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/parser/csv.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
csv.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/std/parser/csv.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/parser/csv.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/parser/csv.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
6 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
7 /home/herbglitch/programs/archeus/arc/include/arc/std/parser.h \
-
8 /home/herbglitch/programs/archeus/arc/include/arc/std/array.h \
-
9 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
10 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
11 /usr/include/features.h /usr/include/features-time64.h \
-
12 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
13 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
14 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
15 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
16 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
17 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
18 /usr/include/bits/stdint-least.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/std/lexer.h \
-
20 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
21 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
22 /home/herbglitch/programs/archeus/arc/include/arc/std/vector.h \
-
23 /home/herbglitch/programs/archeus/arc/include/arc/std/parser/helpers.h \
-
24 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
25 /usr/include/stdlib.h /usr/include/bits/waitflags.h \
-
26 /usr/include/bits/waitstatus.h /usr/include/bits/floatn.h \
-
27 /usr/include/bits/floatn-common.h /usr/include/sys/types.h \
-
28 /usr/include/bits/types/clock_t.h /usr/include/bits/types/clockid_t.h \
-
29 /usr/include/bits/types/time_t.h /usr/include/bits/types/timer_t.h \
-
30 /usr/include/endian.h /usr/include/bits/endian.h \
-
31 /usr/include/bits/endianness.h /usr/include/bits/byteswap.h \
-
32 /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \
-
33 /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \
-
34 /usr/include/bits/types/__sigset_t.h \
-
35 /usr/include/bits/types/struct_timeval.h \
-
36 /usr/include/bits/types/struct_timespec.h \
-
37 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
38 /usr/include/bits/pthreadtypes-arch.h \
-
39 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
40 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
41 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/d7e/console_2view_8h.html b/doc/doxygen/html/d6/d7e/console_2view_8h.html deleted file mode 100644 index 730b6ba..0000000 --- a/doc/doxygen/html/d6/d7e/console_2view_8h.html +++ /dev/null @@ -1,1084 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/console/view.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
view.h File Reference
-
-
-
#include <stdint.h>
-#include <wchar.h>
-#include "arc/console/key.h"
-#include "arc/math/rectangle.h"
-#include "arc/std/bool.h"
-#include "arc/std/string.h"
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - -

-Macros

#define ARC_CONSOLE_VIEW_CURSOR_HIDDEN   0x00
 mouse options
 
#define ARC_CONSOLE_VIEW_CURSOR_VISIBLE   0x01
 
#define ARC_CONSOLE_VIEW_BORDER_NONE   0x00
 border options
 
#define ARC_CONSOLE_VIEW_BORDER_DEFAULT   0x01
 
#define ARC_CONSOLE_VIEW_ATTRIBUTE_NONE   0x00
 border options
 
#define ARC_CONSOLE_VIEW_ATTRIBUTE_REVERSE   0x01
 
- - - - - - -

-Typedefs

typedef struct ARC_ConsoleView ARC_ConsoleView
 
typedef ARC_Bool(* ARC_ConsoleView_OverrideCharInputFn) (ARC_ConsoleKey *key, char *inputCStr, uint32_t *inputSize, uint32_t maxInputSize, void *userdata)
 callback to check char being read in and override functionality
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_ConsoleView_Create (ARC_ConsoleView **view, ARC_Rect bounds)
 creates ARC_ConsoleView type
 
void ARC_ConsoleView_Destroy (ARC_ConsoleView *view)
 destroys ARC_ConsoleView type
 
void ARC_ConsoleView_AddElement (ARC_ConsoleView *view, ARC_ConsoleElement *element)
 adds an ARC_ConsoleElement to the ARC_ConsoleView type
 
void ARC_ConsoleView_RemoveElement (ARC_ConsoleView *view, uint32_t index)
 
void ARC_ConsoleView_Clear (ARC_ConsoleView *view)
 
void ARC_ConsoleView_RenderCharAt (ARC_ConsoleView *view, char character, ARC_Point pos)
 
void ARC_ConsoleView_RenderWCharAt (ARC_ConsoleView *view, wchar_t character, ARC_Point pos)
 
void ARC_ConsoleView_RenderKeyAt (ARC_ConsoleView *view, ARC_ConsoleKey key, ARC_Point pos)
 
void ARC_ConsoleView_RenderUint32At (ARC_ConsoleView *view, uint32_t uint32, ARC_Point pos)
 
void ARC_ConsoleView_RenderStringAt (ARC_ConsoleView *view, ARC_String *text, ARC_Point pos)
 
void ARC_ConsoleView_RenderCStringWithStrlenAt (ARC_ConsoleView *view, char *cstr, ARC_Point pos)
 
void ARC_ConsoleView_RenderRect (ARC_ConsoleView *view, ARC_Rect bounds)
 
void ARC_ConsoleView_RenderElements (ARC_ConsoleView *view)
 
ARC_Rect ARC_ConsoleView_GetBounds (ARC_ConsoleView *view)
 gets the bounds of an ARC_ConsoleView
 
ARC_ConsoleElementARC_ConsoleView_GetElement (ARC_ConsoleView *view, uint32_t index)
 adds an ARC_ConsoleElement to the ARC_ConsoleView type
 
char ARC_ConsoleView_GetChar (ARC_ConsoleView *view)
 gets a char from the view
 
char ARC_ConsoleView_GetCharAt (ARC_ConsoleView *view, ARC_Point pos)
 gets a char from the view at a position
 
ARC_ConsoleKey ARC_ConsoleView_GetConsoleKeyAt (ARC_ConsoleView *view, ARC_Point pos)
 gets a console key from the view at a position
 
ARC_ConsoleKeyARC_ConsoleView_GetCreateConsoleKeyAt (ARC_ConsoleView *view, ARC_Point pos)
 gets and creates a console key from the view at a position
 
ARC_StringARC_ConsoleView_GetStringInput (ARC_ConsoleView *view, ARC_Point pos, ARC_ConsoleView_OverrideCharInputFn *overrideCharInputFn, void *userdata)
 gets a ARC_String from the view at a position
 
void ARC_ConsoleView_SetCursorVisibility (ARC_ConsoleView *view, uint8_t visibility)
 sets a visibility of the cursor with an ARC_ConsoleView
 
void ARC_ConsoleView_SetBorder (ARC_ConsoleView *view, uint32_t border)
 sets a border on the ARC_ConsoleView
 
void ARC_ConsoleView_SetAttribute (ARC_ConsoleView *view, uint32_t attribute)
 sets a border on the ARC_ConsoleView
 
-

Macro Definition Documentation

- -

◆ ARC_CONSOLE_VIEW_ATTRIBUTE_NONE

- -
-
- - - - -
#define ARC_CONSOLE_VIEW_ATTRIBUTE_NONE   0x00
-
- -

border options

- -

Definition at line 252 of file view.h.

- -
-
- -

◆ ARC_CONSOLE_VIEW_ATTRIBUTE_REVERSE

- -
-
- - - - -
#define ARC_CONSOLE_VIEW_ATTRIBUTE_REVERSE   0x01
-
- -

Definition at line 253 of file view.h.

- -
-
- -

◆ ARC_CONSOLE_VIEW_BORDER_DEFAULT

- -
-
- - - - -
#define ARC_CONSOLE_VIEW_BORDER_DEFAULT   0x01
-
- -

Definition at line 239 of file view.h.

- -
-
- -

◆ ARC_CONSOLE_VIEW_BORDER_NONE

- -
-
- - - - -
#define ARC_CONSOLE_VIEW_BORDER_NONE   0x00
-
- -

border options

- -

Definition at line 238 of file view.h.

- -
-
- -

◆ ARC_CONSOLE_VIEW_CURSOR_HIDDEN

- -
-
- - - - -
#define ARC_CONSOLE_VIEW_CURSOR_HIDDEN   0x00
-
- -

mouse options

- -

Definition at line 224 of file view.h.

- -
-
- -

◆ ARC_CONSOLE_VIEW_CURSOR_VISIBLE

- -
-
- - - - -
#define ARC_CONSOLE_VIEW_CURSOR_VISIBLE   0x01
-
- -

Definition at line 225 of file view.h.

- -
-
-

Typedef Documentation

- -

◆ ARC_ConsoleView

- -
-
- - - - -
typedef struct ARC_ConsoleView ARC_ConsoleView
-
- -

Definition at line 18 of file view.h.

- -
-
- -

◆ ARC_ConsoleView_OverrideCharInputFn

- -
-
- - - - -
typedef ARC_Bool(* ARC_ConsoleView_OverrideCharInputFn) (ARC_ConsoleKey *key, char *inputCStr, uint32_t *inputSize, uint32_t maxInputSize, void *userdata)
-
- -

callback to check char being read in and override functionality

-
Note
this function is used for pressing arrow keys but can be used for anything
-
Parameters
- - - - - - -
keythe current key being read in
inputCStrthe cstring that holds the current contents of the input
inputSizethe size of the current contents of the input string
maxInputSizethe max size inputCStr can store
userdatadata that a user can pass to use within this function
-
-
- -

Definition at line 209 of file view.h.

- -
-
-

Function Documentation

- -

◆ ARC_ConsoleView_AddElement()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleView_AddElement (ARC_ConsoleView * view,
ARC_ConsoleElement * element )
-
- -

adds an ARC_ConsoleElement to the ARC_ConsoleView type

-
Note
the elements position will be based on the ARC_ConsoleView which might mess up how it looks
-
Parameters
- - - -
view
elment
-
-
- -
-
- -

◆ ARC_ConsoleView_Clear()

- -
-
- - - - - - - -
void ARC_ConsoleView_Clear (ARC_ConsoleView * view)
-
-
Parameters
- - - -
view
index
-
-
- -
-
- -

◆ ARC_ConsoleView_Create()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleView_Create (ARC_ConsoleView ** view,
ARC_Rect bounds )
-
- -

creates ARC_ConsoleView type

-
Parameters
- - - -
viewARC_ConsoleView to create
boundsthe bounds of the window, if bounds.w == 0 or bounds.h == 0, bounds will take up the entire screen
-
-
- -
-
- -

◆ ARC_ConsoleView_Destroy()

- -
-
- - - - - - - -
void ARC_ConsoleView_Destroy (ARC_ConsoleView * view)
-
- -

destroys ARC_ConsoleView type

-
Parameters
- - -
viewARC_ConsoleView to destroy
-
-
- -
-
- -

◆ ARC_ConsoleView_GetBounds()

- -
-
- - - - - - - -
ARC_Rect ARC_ConsoleView_GetBounds (ARC_ConsoleView * view)
-
- -

gets the bounds of an ARC_ConsoleView

-
Parameters
- - -
viewARC_ConsoleView to get bounds from
-
-
-
Returns
the bounds of the ARC_ConsoleView
- -
-
- -

◆ ARC_ConsoleView_GetChar()

- -
-
- - - - - - - -
char ARC_ConsoleView_GetChar (ARC_ConsoleView * view)
-
- -

gets a char from the view

-
Note
use ARC_ConsoleView_GetInt32At if you want to check for direction key or special character input
-
Parameters
- - -
viewthe ARC_ConsoleView to get the char from
-
-
- -
-
- -

◆ ARC_ConsoleView_GetCharAt()

- -
-
- - - - - - - - - - - -
char ARC_ConsoleView_GetCharAt (ARC_ConsoleView * view,
ARC_Point pos )
-
- -

gets a char from the view at a position

-
Note
use ARC_ConsoleView_GetInt32At if you want to check for direction key or special character input
-
Parameters
- - - -
viewthe ARC_ConsoleView to get the char from
posthe positiion to get the char at
-
-
- -
-
- -

◆ ARC_ConsoleView_GetConsoleKeyAt()

- -
-
- - - - - - - - - - - -
ARC_ConsoleKey ARC_ConsoleView_GetConsoleKeyAt (ARC_ConsoleView * view,
ARC_Point pos )
-
- -

gets a console key from the view at a position

-
Note
you most likely do not want to use this function outside of a backend as ARC_ConsoleKey is defined within the console backend
-
Parameters
- - - -
viewthe ARC_ConsoleView to get the console key from
posthe positiion to get the console key at
-
-
-
Returns
a console key
- -
-
- -

◆ ARC_ConsoleView_GetCreateConsoleKeyAt()

- -
-
- - - - - - - - - - - -
ARC_ConsoleKey * ARC_ConsoleView_GetCreateConsoleKeyAt (ARC_ConsoleView * view,
ARC_Point pos )
-
- -

gets and creates a console key from the view at a position

-
Note
the given ARC_ConsoleKey needs to be destroyed
-
-use ARC_ConsoleView_GetConsoleKeyAt if you want to check for keyboard or special character input
-
Parameters
- - - -
viewthe ARC_ConsoleView to get the console key from
posthe positiion to get the console key at
-
-
-
Returns
a console key
- -
-
- -

◆ ARC_ConsoleView_GetElement()

- -
-
- - - - - - - - - - - -
ARC_ConsoleElement * ARC_ConsoleView_GetElement (ARC_ConsoleView * view,
uint32_t index )
-
- -

adds an ARC_ConsoleElement to the ARC_ConsoleView type

-
Note
the elements position will be based on the ARC_ConsoleView which might mess up how it looks
-
Parameters
- - - -
view
index
-
-
- -
-
- -

◆ ARC_ConsoleView_GetStringInput()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
ARC_String * ARC_ConsoleView_GetStringInput (ARC_ConsoleView * view,
ARC_Point pos,
ARC_ConsoleView_OverrideCharInputFn * overrideCharInputFn,
void * userdata )
-
- -

gets a ARC_String from the view at a position

-
Parameters
- - - - - -
viewthe ARC_ConsoleView to get the string from
posthe positiion to get the string at
overrideCharInputFna function to allow overriding what happens when inputing chars, can be NULL
userdatadata that a user can pass to use within the overrideCharInputFn
-
-
- -
-
- -

◆ ARC_ConsoleView_RemoveElement()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleView_RemoveElement (ARC_ConsoleView * view,
uint32_t index )
-
-
Parameters
- - - -
view
index
-
-
- -
-
- -

◆ ARC_ConsoleView_RenderCharAt()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConsoleView_RenderCharAt (ARC_ConsoleView * view,
char character,
ARC_Point pos )
-
-
Parameters
- - - - -
view
character
pos
-
-
- -
-
- -

◆ ARC_ConsoleView_RenderCStringWithStrlenAt()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConsoleView_RenderCStringWithStrlenAt (ARC_ConsoleView * view,
char * cstr,
ARC_Point pos )
-
-
Parameters
- - - - -
view
text
pos
-
-
- -
-
- -

◆ ARC_ConsoleView_RenderElements()

- -
-
- - - - - - - -
void ARC_ConsoleView_RenderElements (ARC_ConsoleView * view)
-
-
Parameters
- - -
view
-
-
- -
-
- -

◆ ARC_ConsoleView_RenderKeyAt()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConsoleView_RenderKeyAt (ARC_ConsoleView * view,
ARC_ConsoleKey key,
ARC_Point pos )
-
-
Parameters
- - - - -
view
key
pos
-
-
- -
-
- -

◆ ARC_ConsoleView_RenderRect()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleView_RenderRect (ARC_ConsoleView * view,
ARC_Rect bounds )
-
-
Parameters
- - - -
view
bounds
-
-
- -
-
- -

◆ ARC_ConsoleView_RenderStringAt()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConsoleView_RenderStringAt (ARC_ConsoleView * view,
ARC_String * text,
ARC_Point pos )
-
-
Parameters
- - - - -
view
text
pos
-
-
- -
-
- -

◆ ARC_ConsoleView_RenderUint32At()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConsoleView_RenderUint32At (ARC_ConsoleView * view,
uint32_t uint32,
ARC_Point pos )
-
-
Parameters
- - - - -
view
uint32
pos
-
-
- -
-
- -

◆ ARC_ConsoleView_RenderWCharAt()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConsoleView_RenderWCharAt (ARC_ConsoleView * view,
wchar_t character,
ARC_Point pos )
-
-
Parameters
- - - - -
view
character
pos
-
-
- -
-
- -

◆ ARC_ConsoleView_SetAttribute()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleView_SetAttribute (ARC_ConsoleView * view,
uint32_t attribute )
-
- -

sets a border on the ARC_ConsoleView

-
Parameters
- - - -
viewARC_ConsoleView to set border to
borderThe border to set
-
-
- -
-
- -

◆ ARC_ConsoleView_SetBorder()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleView_SetBorder (ARC_ConsoleView * view,
uint32_t border )
-
- -

sets a border on the ARC_ConsoleView

-
Parameters
- - - -
viewARC_ConsoleView to set border to
borderThe border to set
-
-
- -
-
- -

◆ ARC_ConsoleView_SetCursorVisibility()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleView_SetCursorVisibility (ARC_ConsoleView * view,
uint8_t visibility )
-
- -

sets a visibility of the cursor with an ARC_ConsoleView

-
Parameters
- - - -
viewARC_ConsoleView to set mouse visibility
visibilitythe visibility to set
-
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/d7e/console_2view_8h.js b/doc/doxygen/html/d6/d7e/console_2view_8h.js deleted file mode 100644 index 29d16a8..0000000 --- a/doc/doxygen/html/d6/d7e/console_2view_8h.js +++ /dev/null @@ -1,34 +0,0 @@ -var console_2view_8h = -[ - [ "ARC_CONSOLE_VIEW_ATTRIBUTE_NONE", "d6/d7e/console_2view_8h.html#a8dba2fb38e0f1864ae34a753831a0d20", null ], - [ "ARC_CONSOLE_VIEW_ATTRIBUTE_REVERSE", "d6/d7e/console_2view_8h.html#a770bc33ad78dca98b8ebf405324b8d52", null ], - [ "ARC_CONSOLE_VIEW_BORDER_DEFAULT", "d6/d7e/console_2view_8h.html#a30d038b7af9bec1386f4e3f8a4eea31e", null ], - [ "ARC_CONSOLE_VIEW_BORDER_NONE", "d6/d7e/console_2view_8h.html#a113fd84b20e4f04a65e1d4c40ecfd5e4", null ], - [ "ARC_CONSOLE_VIEW_CURSOR_HIDDEN", "d6/d7e/console_2view_8h.html#a2a63d43486d880b44c150c0d012e7b80", null ], - [ "ARC_CONSOLE_VIEW_CURSOR_VISIBLE", "d6/d7e/console_2view_8h.html#a2c2298814cd9d858a41bf6bb88e39825", null ], - [ "ARC_ConsoleView", "d6/d7e/console_2view_8h.html#a518bdb9b27a8304e65e60ec49320b18b", null ], - [ "ARC_ConsoleView_OverrideCharInputFn", "d6/d7e/console_2view_8h.html#aadbaf18a3ac227a6a148fa68d7eec85d", null ], - [ "ARC_ConsoleView_AddElement", "d6/d7e/console_2view_8h.html#acddd6c7caef3022824080453f8ea7c22", null ], - [ "ARC_ConsoleView_Clear", "d6/d7e/console_2view_8h.html#af8bbe9829fe2173ad9e86bbd589a4745", null ], - [ "ARC_ConsoleView_Create", "d6/d7e/console_2view_8h.html#a583e081c182900d229c2554c5cb28c8a", null ], - [ "ARC_ConsoleView_Destroy", "d6/d7e/console_2view_8h.html#afb6d65be2428ff4b7171f598c982efcb", null ], - [ "ARC_ConsoleView_GetBounds", "d6/d7e/console_2view_8h.html#a4aa93749156b5ef949037cd15ba32054", null ], - [ "ARC_ConsoleView_GetChar", "d6/d7e/console_2view_8h.html#a07468b6b5ca4a719562a2b9288897f66", null ], - [ "ARC_ConsoleView_GetCharAt", "d6/d7e/console_2view_8h.html#ab790935bce37a8c749cdeb4c3d9334d3", null ], - [ "ARC_ConsoleView_GetConsoleKeyAt", "d6/d7e/console_2view_8h.html#a7416cd9008f389952f22c3f80b0fcda0", null ], - [ "ARC_ConsoleView_GetCreateConsoleKeyAt", "d6/d7e/console_2view_8h.html#aaf3208692988dc533a0e123a2d94482e", null ], - [ "ARC_ConsoleView_GetElement", "d6/d7e/console_2view_8h.html#acecfdaaa4c95a98fe5d6926cfdcc68e2", null ], - [ "ARC_ConsoleView_GetStringInput", "d6/d7e/console_2view_8h.html#a142f7b184c21ddab974367baac6ae09a", null ], - [ "ARC_ConsoleView_RemoveElement", "d6/d7e/console_2view_8h.html#ab16135af58f6b7eb7d425428d63605ab", null ], - [ "ARC_ConsoleView_RenderCharAt", "d6/d7e/console_2view_8h.html#a6b5049ee8fcd713321fe98f8168bd6f3", null ], - [ "ARC_ConsoleView_RenderCStringWithStrlenAt", "d6/d7e/console_2view_8h.html#a135b991e7764e9f771b9e8ea32d91502", null ], - [ "ARC_ConsoleView_RenderElements", "d6/d7e/console_2view_8h.html#a16ef2179ab56e0107e80eef8c5d216d0", null ], - [ "ARC_ConsoleView_RenderKeyAt", "d6/d7e/console_2view_8h.html#a2f28e93c0515ebb2e3b4a40c8600027f", null ], - [ "ARC_ConsoleView_RenderRect", "d6/d7e/console_2view_8h.html#af5f8bc0a9f61160a1363d5d2f47f68e3", null ], - [ "ARC_ConsoleView_RenderStringAt", "d6/d7e/console_2view_8h.html#a06c57f7eb1c0f950ddff17fab8278b34", null ], - [ "ARC_ConsoleView_RenderUint32At", "d6/d7e/console_2view_8h.html#a4c959aded7e41feb0b34c9e24c192b1e", null ], - [ "ARC_ConsoleView_RenderWCharAt", "d6/d7e/console_2view_8h.html#aac7cb2d64cbee2251875664689a553fe", null ], - [ "ARC_ConsoleView_SetAttribute", "d6/d7e/console_2view_8h.html#add7a787887ba24554bfb8b454e79f8e1", null ], - [ "ARC_ConsoleView_SetBorder", "d6/d7e/console_2view_8h.html#a9ee59e09b9deaa860e7279847ec5d6d0", null ], - [ "ARC_ConsoleView_SetCursorVisibility", "d6/d7e/console_2view_8h.html#abba924acf2b89b9ec00e5efcd2ebc1bd", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d6/d7e/console_2view_8h_source.html b/doc/doxygen/html/d6/d7e/console_2view_8h_source.html deleted file mode 100644 index af3309d..0000000 --- a/doc/doxygen/html/d6/d7e/console_2view_8h_source.html +++ /dev/null @@ -1,431 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/console/view.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
view.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_CONSOLE_VIEW_H_
-
2#define ARC_CONSOLE_VIEW_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include <stdint.h>
-
9#include <wchar.h>
-
10#include "arc/console/key.h"
-
11#include "arc/math/rectangle.h"
-
12#include "arc/std/bool.h"
-
13#include "arc/std/string.h"
-
14
-
15/**
-
16 * @brief
-
17*/
- -
19
-
20/**
-
21 * @brief
-
22*/
- -
24
-
25/**
-
26 * @brief creates ARC_ConsoleView type
-
27 *
-
28 * @param view ARC_ConsoleView to create
-
29 * @param bounds the bounds of the window, if bounds.w == 0 or bounds.h == 0, bounds will take up the entire screen
-
30*/
- -
32
-
33/**
-
34 * @brief destroys ARC_ConsoleView type
-
35 *
-
36 * @param view ARC_ConsoleView to destroy
-
37*/
- -
39
-
40/**
-
41 * @brief adds an ARC_ConsoleElement to the ARC_ConsoleView type
-
42 *
-
43 * @note the elements position will be based on the ARC_ConsoleView which might mess up how it looks
-
44 *
-
45 * @param view
-
46 * @param elment
-
47*/
- -
49
-
50/**
-
51 * @brief
-
52 *
-
53 * @param view
-
54 * @param index
-
55*/
- -
57
-
58/**
-
59 * @brief
-
60 *
-
61 * @param view
-
62 * @param index
-
63*/
- -
65
-
66/**
-
67 * @brief
-
68 *
-
69 * @param view
-
70 * @param character
-
71 * @param pos
-
72*/
- -
74
-
75/**
-
76 * @brief
-
77 *
-
78 * @param view
-
79 * @param character
-
80 * @param pos
-
81*/
- -
83
-
84/**
-
85 * @brief
-
86 *
-
87 * @param view
-
88 * @param key
-
89 * @param pos
-
90*/
- -
92
-
93/**
-
94 * @brief
-
95 *
-
96 * @param view
-
97 * @param uint32
-
98 * @param pos
-
99*/
- -
101
-
102/**
-
103 * @brief
-
104 *
-
105 * @param view
-
106 * @param text
-
107 * @param pos
-
108*/
- -
110
-
111/**
-
112 * @brief
-
113 *
-
114 * @param view
-
115 * @param text
-
116 * @param pos
-
117*/
- -
119
-
120/**
-
121 * @brief
-
122 *
-
123 * @param view
-
124 * @param bounds
-
125*/
- -
127
-
128/**
-
129 * @brief
-
130 *
-
131 * @param view
-
132*/
- -
134
-
135/**
-
136 * @brief gets the bounds of an ARC_ConsoleView
-
137 *
-
138 * @param view ARC_ConsoleView to get bounds from
-
139 *
-
140 * @return the bounds of the ARC_ConsoleView
-
141*/
- -
143
-
144/**
-
145 * @brief adds an ARC_ConsoleElement to the ARC_ConsoleView type
-
146 *
-
147 * @note the elements position will be based on the ARC_ConsoleView which might mess up how it looks
-
148 *
-
149 * @param view
-
150 * @param index
-
151*/
- -
153
-
154/**
-
155 * @brief gets a char from the view
-
156 *
-
157 * @note use ARC_ConsoleView_GetInt32At if you want to check for direction key or special character input
-
158 *
-
159 * @param view the ARC_ConsoleView to get the char from
-
160*/
- -
162
-
163/**
-
164 * @brief gets a char from the view at a position
-
165 *
-
166 * @note use ARC_ConsoleView_GetInt32At if you want to check for direction key or special character input
-
167 *
-
168 * @param view the ARC_ConsoleView to get the char from
-
169 * @param pos the positiion to get the char at
-
170*/
- -
172
-
173/**
-
174 * @brief gets a console key from the view at a position
-
175 *
-
176 * @note you most likely do not want to use this function outside of a backend as ARC_ConsoleKey is defined within the console backend
-
177 *
-
178 * @param view the ARC_ConsoleView to get the console key from
-
179 * @param pos the positiion to get the console key at
-
180 *
-
181 * @return a console key
-
182*/
- -
184
-
185/**
-
186 * @brief gets and creates a console key from the view at a position
-
187 *
-
188 * @note the given ARC_ConsoleKey needs to be destroyed
-
189 * @note use ARC_ConsoleView_GetConsoleKeyAt if you want to check for keyboard or special character input
-
190 *
-
191 * @param view the ARC_ConsoleView to get the console key from
-
192 * @param pos the positiion to get the console key at
-
193 *
-
194 * @return a console key
-
195*/
- -
197
-
198/**
-
199 * @brief callback to check char being read in and override functionality
-
200 *
-
201 * @note this function is used for pressing arrow keys but can be used for anything
-
202 *
-
203 * @param key the current key being read in
-
204 * @param inputCStr the cstring that holds the current contents of the input
-
205 * @param inputSize the size of the current contents of the input string
-
206 * @param maxInputSize the max size inputCStr can store
-
207 * @param userdata data that a user can pass to use within this function
-
208*/
-
209typedef ARC_Bool (* ARC_ConsoleView_OverrideCharInputFn)(ARC_ConsoleKey *key, char *inputCStr, uint32_t *inputSize, uint32_t maxInputSize, void *userdata);
-
210
-
211/**
-
212 * @brief gets a ARC_String from the view at a position
-
213 *
-
214 * @param view the ARC_ConsoleView to get the string from
-
215 * @param pos the positiion to get the string at
-
216 * @param overrideCharInputFn a function to allow overriding what happens when inputing chars, can be NULL
-
217 * @param userdata data that a user can pass to use within the overrideCharInputFn
-
218*/
- -
220
-
221/**
-
222 * @brief mouse options
-
223*/
-
224#define ARC_CONSOLE_VIEW_CURSOR_HIDDEN 0x00
-
225#define ARC_CONSOLE_VIEW_CURSOR_VISIBLE 0x01
-
226
-
227/**
-
228 * @brief sets a visibility of the cursor with an ARC_ConsoleView
-
229 *
-
230 * @param view ARC_ConsoleView to set mouse visibility
-
231 * @param visibility the visibility to set
-
232*/
- -
234
-
235/**
-
236 * @brief border options
-
237*/
-
238#define ARC_CONSOLE_VIEW_BORDER_NONE 0x00
-
239#define ARC_CONSOLE_VIEW_BORDER_DEFAULT 0x01
-
240
-
241/**
-
242 * @brief sets a border on the ARC_ConsoleView
-
243 *
-
244 * @param view ARC_ConsoleView to set border to
-
245 * @param border The border to set
-
246*/
-
247void ARC_ConsoleView_SetBorder(ARC_ConsoleView *view, uint32_t border);
-
248
-
249/**
-
250 * @brief border options
-
251*/
-
252#define ARC_CONSOLE_VIEW_ATTRIBUTE_NONE 0x00
-
253#define ARC_CONSOLE_VIEW_ATTRIBUTE_REVERSE 0x01
-
254
-
255/**
-
256 * @brief sets a border on the ARC_ConsoleView
-
257 *
-
258 * @param view ARC_ConsoleView to set border to
-
259 * @param border The border to set
-
260*/
-
261void ARC_ConsoleView_SetAttribute(ARC_ConsoleView *view, uint32_t attribute);
-
262
-
263#ifdef __cplusplus
-
264}
-
265#endif
-
266
-
267#endif //!ARC_CONSOLE_VIEW_H_
- -
#define ARC_Bool
Definition bool.h:10
-
void ARC_ConsoleView_RenderStringAt(ARC_ConsoleView *view, ARC_String *text, ARC_Point pos)
-
char ARC_ConsoleView_GetChar(ARC_ConsoleView *view)
gets a char from the view
-
void ARC_ConsoleView_RenderCStringWithStrlenAt(ARC_ConsoleView *view, char *cstr, ARC_Point pos)
-
ARC_String * ARC_ConsoleView_GetStringInput(ARC_ConsoleView *view, ARC_Point pos, ARC_ConsoleView_OverrideCharInputFn *overrideCharInputFn, void *userdata)
gets a ARC_String from the view at a position
-
void ARC_ConsoleView_RenderElements(ARC_ConsoleView *view)
-
void ARC_ConsoleView_RenderKeyAt(ARC_ConsoleView *view, ARC_ConsoleKey key, ARC_Point pos)
-
ARC_Rect ARC_ConsoleView_GetBounds(ARC_ConsoleView *view)
gets the bounds of an ARC_ConsoleView
-
void ARC_ConsoleView_RenderUint32At(ARC_ConsoleView *view, uint32_t uint32, ARC_Point pos)
-
struct ARC_ConsoleView ARC_ConsoleView
Definition view.h:18
-
void ARC_ConsoleView_Create(ARC_ConsoleView **view, ARC_Rect bounds)
creates ARC_ConsoleView type
-
void ARC_ConsoleView_RenderCharAt(ARC_ConsoleView *view, char character, ARC_Point pos)
-
ARC_ConsoleKey ARC_ConsoleView_GetConsoleKeyAt(ARC_ConsoleView *view, ARC_Point pos)
gets a console key from the view at a position
-
void ARC_ConsoleView_SetBorder(ARC_ConsoleView *view, uint32_t border)
sets a border on the ARC_ConsoleView
-
void ARC_ConsoleView_RenderWCharAt(ARC_ConsoleView *view, wchar_t character, ARC_Point pos)
-
ARC_Bool(* ARC_ConsoleView_OverrideCharInputFn)(ARC_ConsoleKey *key, char *inputCStr, uint32_t *inputSize, uint32_t maxInputSize, void *userdata)
callback to check char being read in and override functionality
Definition view.h:209
-
ARC_ConsoleKey * ARC_ConsoleView_GetCreateConsoleKeyAt(ARC_ConsoleView *view, ARC_Point pos)
gets and creates a console key from the view at a position
-
void ARC_ConsoleView_RemoveElement(ARC_ConsoleView *view, uint32_t index)
-
char ARC_ConsoleView_GetCharAt(ARC_ConsoleView *view, ARC_Point pos)
gets a char from the view at a position
-
void ARC_ConsoleView_SetCursorVisibility(ARC_ConsoleView *view, uint8_t visibility)
sets a visibility of the cursor with an ARC_ConsoleView
-
void ARC_ConsoleView_AddElement(ARC_ConsoleView *view, ARC_ConsoleElement *element)
adds an ARC_ConsoleElement to the ARC_ConsoleView type
-
ARC_ConsoleElement * ARC_ConsoleView_GetElement(ARC_ConsoleView *view, uint32_t index)
adds an ARC_ConsoleElement to the ARC_ConsoleView type
-
void ARC_ConsoleView_SetAttribute(ARC_ConsoleView *view, uint32_t attribute)
sets a border on the ARC_ConsoleView
-
void ARC_ConsoleView_RenderRect(ARC_ConsoleView *view, ARC_Rect bounds)
-
void ARC_ConsoleView_Clear(ARC_ConsoleView *view)
-
void ARC_ConsoleView_Destroy(ARC_ConsoleView *view)
destroys ARC_ConsoleView type
- -
struct ARC_ConsoleKeyType ARC_ConsoleKey
Definition key.h:11
- - - -
ARC_Point pos
Definition element.h:32
- - -
substring position within a string
Definition string.h:14
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/d83/packages_2graphics_2sdl_2window_8c.html b/doc/doxygen/html/d6/d83/packages_2graphics_2sdl_2window_8c.html deleted file mode 100644 index 278e9d2..0000000 --- a/doc/doxygen/html/d6/d83/packages_2graphics_2sdl_2window_8c.html +++ /dev/null @@ -1,240 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/window.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
window.c File Reference
-
-
-
#include "arc/graphics/window.h"
-#include "window.h"
-#include "arc/std/errno.h"
-#include <SDL.h>
-
-

Go to the source code of this file.

- - - - - - - - -

-Functions

void ARC_Window_Create (ARC_Window **window, ARC_WindowInfo *info)
 creates ARC_Window type
 
void ARC_Window_Destroy (ARC_Window *window)
 destroys ARC_Window type
 
-

Function Documentation

- -

◆ ARC_Window_Create()

- -
-
- - - - - - - - - - - -
void ARC_Window_Create (ARC_Window ** window,
ARC_WindowInfo * info )
-
- -

creates ARC_Window type

-
Note
the parameter data is determined by which graphics library you are using please refer to the graphics library section to see what needs to be passed
-
Parameters
- - - -
windowARC_Window to initialize
infoInfo on how to create ARC_Window
-
-
- -

Definition at line 7 of file window.c.

-
7 {
-
8 if(!info){
- -
10 ARC_DEBUG_LOG_ERROR("ARC_Window_Create(**window, NULL)");
-
11 return;
-
12 }
-
13
-
14 if(SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO) < 0){
- -
16 printf("Error: initializing SDL\nSDL Error: %s\n", SDL_GetError());
-
17 return;
-
18 }
-
19
-
20 *window = (ARC_Window *)SDL_CreateWindow((const char *)info->title, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, info->w, info->h, 0);
-
21
-
22 if(!*window){
- -
24 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("SDL_CreateWindow(%s, %d, %d, %d, %d, %x);", info->title, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, info->w, info->h, 0);
-
25 free(window);
-
26 }
-
27}
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_INIT
Definition errno.h:11
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
struct ARC_WindowType ARC_Window
Definition window.h:13
-
int32_t h
Definition window.h:21
-
char * title
Definition window.h:19
-
int32_t w
Definition window.h:20
-
-

References ARC_DEBUG_LOG_ERROR, ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_INIT, ARC_ERRNO_NULL, ARC_WindowInfo::h, ARC_WindowInfo::title, and ARC_WindowInfo::w.

- -

Referenced by ARC_EngineData_Create().

- -
-
- -

◆ ARC_Window_Destroy()

- -
-
- - - - - - - -
void ARC_Window_Destroy (ARC_Window * window)
-
- -

destroys ARC_Window type

- -

Definition at line 29 of file window.c.

-
29 {
-
30 SDL_DestroyWindow((SDL_Window *) window);
-
31}
-
-

Referenced by ARC_EngineData_Create(), and ARC_EngineData_Destroy().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/d83/packages_2graphics_2sdl_2window_8c.js b/doc/doxygen/html/d6/d83/packages_2graphics_2sdl_2window_8c.js deleted file mode 100644 index 5e752ad..0000000 --- a/doc/doxygen/html/d6/d83/packages_2graphics_2sdl_2window_8c.js +++ /dev/null @@ -1,5 +0,0 @@ -var packages_2graphics_2sdl_2window_8c = -[ - [ "ARC_Window_Create", "d6/d83/packages_2graphics_2sdl_2window_8c.html#ac2943b39d2140ae27cd98d362053f27c", null ], - [ "ARC_Window_Destroy", "d6/d83/packages_2graphics_2sdl_2window_8c.html#afb68d49b50117b8cec312c7a5999c1a6", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d6/d83/packages_2graphics_2sdl_2window_8c_source.html b/doc/doxygen/html/d6/d83/packages_2graphics_2sdl_2window_8c_source.html deleted file mode 100644 index 32fb88c..0000000 --- a/doc/doxygen/html/d6/d83/packages_2graphics_2sdl_2window_8c_source.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/window.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
window.c
-
-
-Go to the documentation of this file.
-
2
-
3#include "window.h"
-
4#include "arc/std/errno.h"
-
5#include <SDL.h>
-
6
-
- -
8 if(!info){
- -
10 ARC_DEBUG_LOG_ERROR("ARC_Window_Create(**window, NULL)");
-
11 return;
-
12 }
-
13
-
14 if(SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO) < 0){
- -
16 printf("Error: initializing SDL\nSDL Error: %s\n", SDL_GetError());
-
17 return;
-
18 }
-
19
-
20 *window = (ARC_Window *)SDL_CreateWindow((const char *)info->title, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, info->w, info->h, 0);
-
21
-
22 if(!*window){
- -
24 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("SDL_CreateWindow(%s, %d, %d, %d, %d, %x);", info->title, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, info->w, info->h, 0);
-
25 free(window);
-
26 }
-
27}
-
-
28
-
- -
30 SDL_DestroyWindow((SDL_Window *) window);
-
31}
-
- -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_INIT
Definition errno.h:11
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
- -
struct ARC_WindowType ARC_Window
Definition window.h:13
-
void ARC_Window_Create(ARC_Window **window, ARC_WindowInfo *info)
creates ARC_Window type
Definition window.c:7
-
void ARC_Window_Destroy(ARC_Window *window)
destroys ARC_Window type
Definition window.c:29
- - -
int32_t h
Definition window.h:21
-
char * title
Definition window.h:19
-
int32_t w
Definition window.h:20
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/d85/renderer_8h.html b/doc/doxygen/html/d6/d85/renderer_8h.html deleted file mode 100644 index deee87f..0000000 --- a/doc/doxygen/html/d6/d85/renderer_8h.html +++ /dev/null @@ -1,278 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/renderer.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
renderer.h File Reference
-
-
- -

Go to the source code of this file.

- - - - -

-Typedefs

typedef struct ARC_RendererType ARC_Renderer
 
- - - - - - - - - - - - -

-Functions

void ARC_Renderer_CreateWithEngineData (ARC_Renderer **renderer, ARC_EngineData *data)
 creates ARC_Renderer type with ARC_EngineData
 
void ARC_Renderer_Destroy (ARC_Renderer *renderer)
 destroys ARC_Renderer type
 
void ARC_Renderer_Clear (ARC_Renderer *renderer)
 
void ARC_Renderer_Render (ARC_Renderer *renderer)
 renders the renderer
 
-

Typedef Documentation

- -

◆ ARC_Renderer

- -
-
- - - - -
typedef struct ARC_RendererType ARC_Renderer
-
-
Note
ARC_RendererType is determined by which window library you are using
- -

Definition at line 16 of file renderer.h.

- -
-
-

Function Documentation

- -

◆ ARC_Renderer_Clear()

- -
-
- - - - - - - -
void ARC_Renderer_Clear (ARC_Renderer * renderer)
-
-

@breif clears the renderer

-
Parameters
- - -
rendererthe renderer to clear
-
-
- -
-
- -

◆ ARC_Renderer_CreateWithEngineData()

- -
-
- - - - - - - - - - - -
void ARC_Renderer_CreateWithEngineData (ARC_Renderer ** renderer,
ARC_EngineData * data )
-
- -

creates ARC_Renderer type with ARC_EngineData

-
Note
the parameter data is determined by which graphics library you are using please refer to the graphics library section to see what needs to be passed
-
Parameters
- - - -
rendererARC_Renderer to initialize
datathe engine data to create from
-
-
- -
-
- -

◆ ARC_Renderer_Destroy()

- -
-
- - - - - - - -
void ARC_Renderer_Destroy (ARC_Renderer * renderer)
-
- -

destroys ARC_Renderer type

-
Parameters
- - -
rendererARC_Renderer to destory
-
-
- -
-
- -

◆ ARC_Renderer_Render()

- -
-
- - - - - - - -
void ARC_Renderer_Render (ARC_Renderer * renderer)
-
- -

renders the renderer

-
Note
the renderer will most likely be drawn to from ARC_EngineData
-
Parameters
- - -
rendererthe renderer to render
-
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/d85/renderer_8h.js b/doc/doxygen/html/d6/d85/renderer_8h.js deleted file mode 100644 index 4e50fd9..0000000 --- a/doc/doxygen/html/d6/d85/renderer_8h.js +++ /dev/null @@ -1,8 +0,0 @@ -var renderer_8h = -[ - [ "ARC_Renderer", "d6/d85/renderer_8h.html#a2b82366dc421b3e80aace49f3ae8639a", null ], - [ "ARC_Renderer_Clear", "d6/d85/renderer_8h.html#a658b3d0b45be17d35a4ba6f58c6c410d", null ], - [ "ARC_Renderer_CreateWithEngineData", "d6/d85/renderer_8h.html#a498204d28a753ae15b67962960ddca04", null ], - [ "ARC_Renderer_Destroy", "d6/d85/renderer_8h.html#abc868b155fe4429b0569cf07fec57a76", null ], - [ "ARC_Renderer_Render", "d6/d85/renderer_8h.html#ac44af02eacceb9af14f87e8a7f62aad5", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d6/d85/renderer_8h_source.html b/doc/doxygen/html/d6/d85/renderer_8h_source.html deleted file mode 100644 index c8a2c92..0000000 --- a/doc/doxygen/html/d6/d85/renderer_8h_source.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/renderer.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
renderer.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_GRAPHICS_RENDERER_H_
-
2#define ARC_GRAPHICS_RENDERER_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8/**
-
9 * @brief predefien ARC_EngineData so as not to get circular reference
-
10*/
- -
12
-
13/**
-
14 * @note ARC_RendererType is determined by which window library you are using
-
15*/
-
16typedef struct ARC_RendererType ARC_Renderer;
-
17
-
18/**
-
19 * @brief creates ARC_Renderer type with ARC_EngineData
-
20 *
-
21 * @note the parameter data is determined by which graphics library you are using
-
22 * please refer to the graphics library section to see what needs to be passed
-
23 *
-
24 * @param renderer ARC_Renderer to initialize
-
25 * @param data the engine data to create from
-
26 */
- -
28
-
29/**
-
30 * @brief destroys ARC_Renderer type
-
31 *
-
32 * @param renderer ARC_Renderer to destory
-
33 */
- -
35
-
36/**
-
37 * @breif clears the renderer
-
38 *
-
39 * @param renderer the renderer to clear
-
40*/
- -
42
-
43/**
-
44 * @brief renders the renderer
-
45 *
-
46 * @note the renderer will most likely be drawn to from ARC_EngineData
-
47 *
-
48 * @param renderer the renderer to render
-
49*/
- -
51
-
52#ifdef __cplusplus
-
53}
-
54#endif
-
55
-
56#endif // !ARC_GRAPHICS_RENDERER_H_
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
-
void ARC_Renderer_CreateWithEngineData(ARC_Renderer **renderer, ARC_EngineData *data)
creates ARC_Renderer type with ARC_EngineData
-
void ARC_Renderer_Clear(ARC_Renderer *renderer)
-
void ARC_Renderer_Destroy(ARC_Renderer *renderer)
destroys ARC_Renderer type
-
void ARC_Renderer_Render(ARC_Renderer *renderer)
renders the renderer
- -
-
- - - - - - diff --git a/doc/doxygen/html/d6/d85/src_2input_2input_8c.html b/doc/doxygen/html/d6/d85/src_2input_2input_8c.html deleted file mode 100644 index c6a9ae6..0000000 --- a/doc/doxygen/html/d6/d85/src_2input_2input_8c.html +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/input/input.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
input.c File Reference
-
-
-
#include "arc/input/input.h"
-#include "arc/std/bool.h"
-#include <stdio.h>
-
-

Go to the source code of this file.

- - - - - - - - - - - - -

-Functions

void ARC_Input_CreateWithEngineData (ARC_Input **input, ARC_EngineData *data)
 
void ARC_Input_Destroy (ARC_Input *input)
 
ARC_Bool ARC_Input_Update (ARC_Input *input)
 
ARC_KeyboardARC_Input_GetKeyboard (ARC_Input *input)
 
ARC_MouseARC_Input_GetMouse (ARC_Input *input)
 
-

Function Documentation

- -

◆ ARC_Input_CreateWithEngineData()

- -
-
- - - - - - - - - - - -
void ARC_Input_CreateWithEngineData (ARC_Input ** input,
ARC_EngineData * data )
-
- -

Definition at line 7 of file input.c.

-
7 {
-
8 printf("No Input Backend Selected\n");
-
9}
-
-

References ARC_Keyboard_CreateWithInput(), ARC_Mouse_CreateWithInput(), and ARC_Input::event.

- -

Referenced by ARC_EngineData_Create().

- -
-
- -

◆ ARC_Input_Destroy()

- -
-
- - - - - - - -
void ARC_Input_Destroy (ARC_Input * input)
-
- -

Definition at line 11 of file input.c.

-
11 {
-
12 printf("No Input Backend Selected\n");
-
13}
-
-

References ARC_Keyboard_Destroy(), ARC_Mouse_Destroy(), ARC_Input::event, ARC_Input::keyboard, and ARC_Input::mouse.

- -
-
- -

◆ ARC_Input_GetKeyboard()

- -
-
- - - - - - - -
ARC_Keyboard * ARC_Input_GetKeyboard (ARC_Input * input)
-
- -

Definition at line 20 of file input.c.

-
20 {
-
21 printf("No Input Backend Selected\n");
-
22 return NULL;
-
23}
-
-

References ARC_Input::keyboard.

- -

Referenced by ARC_EngineData_Create().

- -
-
- -

◆ ARC_Input_GetMouse()

- -
-
- - - - - - - -
ARC_Mouse * ARC_Input_GetMouse (ARC_Input * input)
-
- -

Definition at line 25 of file input.c.

-
25 {
-
26 printf("No Input Backend Selected\n");
-
27 return NULL;
-
28}
-
-

References ARC_Input::mouse.

- -

Referenced by ARC_EngineData_Create().

- -
-
- -

◆ ARC_Input_Update()

- -
-
- - - - - - - -
ARC_Bool ARC_Input_Update (ARC_Input * input)
-
- -

Definition at line 15 of file input.c.

-
15 {
-
16 printf("No Input Backend Selected\n");
-
17 return ARC_True;
-
18}
-
#define ARC_True
Definition bool.h:11
-
-

References ARC_False, ARC_Keyboard_Update(), ARC_Mouse_Update(), ARC_True, ARC_Input::event, ARC_Input::keyboard, and ARC_Input::mouse.

- -

Referenced by ARC_Engine_RunUncapped().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/d85/src_2input_2input_8c.js b/doc/doxygen/html/d6/d85/src_2input_2input_8c.js deleted file mode 100644 index 009bd4e..0000000 --- a/doc/doxygen/html/d6/d85/src_2input_2input_8c.js +++ /dev/null @@ -1,8 +0,0 @@ -var src_2input_2input_8c = -[ - [ "ARC_Input_CreateWithEngineData", "d6/d85/src_2input_2input_8c.html#ab067b02367e78494a930fcccdd930c0c", null ], - [ "ARC_Input_Destroy", "d6/d85/src_2input_2input_8c.html#a3f88d045f196b8460a62f4c32ee23f54", null ], - [ "ARC_Input_GetKeyboard", "d6/d85/src_2input_2input_8c.html#a33b395c2b23fb459904fef05df97ae5d", null ], - [ "ARC_Input_GetMouse", "d6/d85/src_2input_2input_8c.html#a5de153e8f7dd3212cb998ea2ad29c4f6", null ], - [ "ARC_Input_Update", "d6/d85/src_2input_2input_8c.html#afb3fa56528406720283b62b2b713e118", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d6/d85/src_2input_2input_8c_source.html b/doc/doxygen/html/d6/d85/src_2input_2input_8c_source.html deleted file mode 100644 index eea1e6f..0000000 --- a/doc/doxygen/html/d6/d85/src_2input_2input_8c_source.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/input/input.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
input.c
-
-
-Go to the documentation of this file.
1#include "arc/input/input.h"
-
2
-
3#include "arc/std/bool.h"
-
4
-
5#include <stdio.h>
-
6
-
- -
8 printf("No Input Backend Selected\n");
-
9}
-
-
10
-
- -
12 printf("No Input Backend Selected\n");
-
13}
-
-
14
-
- -
16 printf("No Input Backend Selected\n");
-
17 return ARC_True;
-
18}
-
-
19
-
- -
21 printf("No Input Backend Selected\n");
-
22 return NULL;
-
23}
-
-
24
-
- -
26 printf("No Input Backend Selected\n");
-
27 return NULL;
-
28}
-
-
29
- -
#define ARC_True
Definition bool.h:11
-
#define ARC_Bool
Definition bool.h:10
- -
ARC_Keyboard * ARC_Input_GetKeyboard(ARC_Input *input)
Definition input.c:39
-
void ARC_Input_Destroy(ARC_Input *input)
Definition input.c:19
-
ARC_Mouse * ARC_Input_GetMouse(ARC_Input *input)
Definition input.c:43
-
void ARC_Input_CreateWithEngineData(ARC_Input **input, ARC_EngineData *data)
Definition input.c:10
-
ARC_Bool ARC_Input_Update(ARC_Input *input)
Definition input.c:27
- - - - -
-
- - - - - - diff --git a/doc/doxygen/html/d6/d94/packages_2graphics_2opengl_2text_8c.html b/doc/doxygen/html/d6/d94/packages_2graphics_2opengl_2text_8c.html deleted file mode 100644 index b73279d..0000000 --- a/doc/doxygen/html/d6/d94/packages_2graphics_2opengl_2text_8c.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/opengl/text.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
text.c File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d6/d94/packages_2graphics_2opengl_2text_8c_source.html b/doc/doxygen/html/d6/d94/packages_2graphics_2opengl_2text_8c_source.html deleted file mode 100644 index 69a2fe2..0000000 --- a/doc/doxygen/html/d6/d94/packages_2graphics_2opengl_2text_8c_source.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/opengl/text.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
text.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_OPENGL_GRAPHICS
-
2
-
3#include "arc/graphics/text.h"
-
4#include <stdio.h>
-
5
-
6void ARC_Text_Create(ARC_Text **text, ARC_String *path, int32_t size, ARC_Color color){
-
7 printf("OpenGL Backend Selected\n");
-
8}
-
9
-
10void ARC_Text_Destroy(ARC_Text *font){
-
11 printf("OpenGL Backend Selected\n");
-
12}
-
13
-
14void ARC_Text_SetString(ARC_Text *text, ARC_Renderer *renderer, ARC_String *string){
-
15 printf("OpenGL Backend Selected\n");
-
16}
-
17
-
18void ARC_Text_Render(ARC_Text *text, ARC_Renderer *renderer){
-
19 printf("OpenGL Backend Selected\n");
-
20}
-
21
-
22void ARC_Text_SetPos(ARC_Text *text, ARC_Point pos){
-
23 printf("OpenGL Backend Selected\n");
-
24}
-
25
-
26#endif // !ARC_OPENGL_GRAPHICS
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- -
void ARC_Text_SetString(ARC_Text *text, ARC_Renderer *renderer, ARC_String *string)
Definition text.c:34
-
void ARC_Text_Create(ARC_Text **text, ARC_String *path, int32_t size, ARC_Color color)
Definition text.c:11
-
void ARC_Text_Destroy(ARC_Text *font)
Definition text.c:26
-
void ARC_Text_Render(ARC_Text *text, ARC_Renderer *renderer)
Definition text.c:52
-
void ARC_Text_SetPos(ARC_Text *text, ARC_Point pos)
Definition text.c:61
- - -
substring position within a string
Definition string.h:14
- -
-
- - - - - - diff --git a/doc/doxygen/html/d6/d96/tests_8dir_2src_2std_2parser_2parserlang_8c_8o_8d.html b/doc/doxygen/html/d6/d96/tests_8dir_2src_2std_2parser_2parserlang_8c_8o_8d.html deleted file mode 100644 index 070bb60..0000000 --- a/doc/doxygen/html/d6/d96/tests_8dir_2src_2std_2parser_2parserlang_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/parser/parserlang.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
parserlang.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d6/d96/tests_8dir_2src_2std_2parser_2parserlang_8c_8o_8d_source.html b/doc/doxygen/html/d6/d96/tests_8dir_2src_2std_2parser_2parserlang_8c_8o_8d_source.html deleted file mode 100644 index 9efd94a..0000000 --- a/doc/doxygen/html/d6/d96/tests_8dir_2src_2std_2parser_2parserlang_8c_8o_8d_source.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/parser/parserlang.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
parserlang.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/std/parser/parserlang.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/parser/parserlang.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/parser/parserlang.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/std/parser.h \
-
6 /home/herbglitch/programs/archeus/arc/include/arc/std/array.h \
-
7 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
8 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
9 /usr/include/features.h /usr/include/features-time64.h \
-
10 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
11 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
12 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
13 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
14 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
15 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
16 /usr/include/bits/stdint-least.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/std/lexer.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
21 /home/herbglitch/programs/archeus/arc/include/arc/std/vector.h \
-
22 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
23 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
24 /usr/include/stdio.h \
-
25 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
26 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
27 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
28 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
29 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
30 /usr/include/bits/types/cookie_io_functions_t.h \
-
31 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
32 /usr/include/bits/floatn-common.h /usr/include/stdlib.h \
-
33 /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
-
34 /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \
-
35 /usr/include/bits/types/clockid_t.h /usr/include/bits/types/time_t.h \
-
36 /usr/include/bits/types/timer_t.h /usr/include/endian.h \
-
37 /usr/include/bits/endian.h /usr/include/bits/endianness.h \
-
38 /usr/include/bits/byteswap.h /usr/include/bits/uintn-identity.h \
-
39 /usr/include/sys/select.h /usr/include/bits/select.h \
-
40 /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \
-
41 /usr/include/bits/types/struct_timeval.h \
-
42 /usr/include/bits/types/struct_timespec.h \
-
43 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
44 /usr/include/bits/pthreadtypes-arch.h \
-
45 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
46 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
47 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/da0/keyboard_8h.html b/doc/doxygen/html/d6/da0/keyboard_8h.html deleted file mode 100644 index 876aeb3..0000000 --- a/doc/doxygen/html/d6/da0/keyboard_8h.html +++ /dev/null @@ -1,550 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/input/keyboard.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
keyboard.h File Reference
-
-
-
#include <stdint.h>
-
-

Go to the source code of this file.

- - - - -

-Macros

#define ARC_KEYBOARD_BUTTON_NUM   239
 
- - - - - - - - - -

-Typedefs

typedef struct ARC_Keyboard ARC_Keyboard
 
typedef struct ARC_KeyboardInfo ARC_KeyboardInfo
 
typedef enum ARC_KeyboardState ARC_KeyboardState
 
typedef enum ARC_KeyboardKey ARC_Keyboard_Key
 
- - - - - -

-Enumerations

enum  ARC_KeyboardState { ARC_KEY_NONE -, ARC_KEY_PRESSED -, ARC_KEY_RELEASED - }
 
enum  ARC_KeyboardKey {
-  ARC_KEY_A -, ARC_KEY_B -, ARC_KEY_C -, ARC_KEY_D -,
-  ARC_KEY_E -, ARC_KEY_F -, ARC_KEY_G -, ARC_KEY_H -,
-  ARC_KEY_I -, ARC_KEY_J -, ARC_KEY_K -, ARC_KEY_L -,
-  ARC_KEY_M -, ARC_KEY_N -, ARC_KEY_O -, ARC_KEY_P -,
-  ARC_KEY_Q -, ARC_KEY_R -, ARC_KEY_S -, ARC_KEY_T -,
-  ARC_KEY_U -, ARC_KEY_V -, ARC_KEY_W -, ARC_KEY_X -,
-  ARC_KEY_Y -, ARC_KEY_Z -, ARC_KEY_0 -, ARC_KEY_1 -,
-  ARC_KEY_2 -, ARC_KEY_3 -, ARC_KEY_4 -, ARC_KEY_5 -,
-  ARC_KEY_6 -, ARC_KEY_7 -, ARC_KEY_8 -, ARC_KEY_9 -,
-  ARC_KEY_SPACE -, ARC_KEY_ESC -, ARC_KEY_ENTER -
- }
 
- - - - - - - - - -

-Functions

void ARC_Keyboard_CreateWithInput (ARC_Keyboard **keyboard, ARC_Input *input)
 
void ARC_Keyboard_Destroy (ARC_Keyboard *keyboard)
 
void ARC_Keyboard_Update (ARC_Keyboard *keyboard)
 
ARC_KeyboardState ARC_Keyboard_GetState (ARC_Keyboard *keyboard, enum ARC_KeyboardKey key)
 
-

Macro Definition Documentation

- -

◆ ARC_KEYBOARD_BUTTON_NUM

- -
-
- - - - -
#define ARC_KEYBOARD_BUTTON_NUM   239
-
- -

Definition at line 25 of file keyboard.h.

- -
-
-

Typedef Documentation

- -

◆ ARC_Keyboard

- -
-
- - - - -
typedef struct ARC_Keyboard ARC_Keyboard
-
- -

Definition at line 15 of file keyboard.h.

- -
-
- -

◆ ARC_Keyboard_Key

- -
-
- - - - -
typedef enum ARC_KeyboardKey ARC_Keyboard_Key
-
- -
-
- -

◆ ARC_KeyboardInfo

- -
-
- - - - -
typedef struct ARC_KeyboardInfo ARC_KeyboardInfo
-
- -

Definition at line 17 of file keyboard.h.

- -
-
- -

◆ ARC_KeyboardState

- -
-
- - - - -
typedef enum ARC_KeyboardState ARC_KeyboardState
-
- -
-
-

Enumeration Type Documentation

- -

◆ ARC_KeyboardKey

- -
-
- - - - -
enum ARC_KeyboardKey
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Enumerator
ARC_KEY_A 
ARC_KEY_B 
ARC_KEY_C 
ARC_KEY_D 
ARC_KEY_E 
ARC_KEY_F 
ARC_KEY_G 
ARC_KEY_H 
ARC_KEY_I 
ARC_KEY_J 
ARC_KEY_K 
ARC_KEY_L 
ARC_KEY_M 
ARC_KEY_N 
ARC_KEY_O 
ARC_KEY_P 
ARC_KEY_Q 
ARC_KEY_R 
ARC_KEY_S 
ARC_KEY_T 
ARC_KEY_U 
ARC_KEY_V 
ARC_KEY_W 
ARC_KEY_X 
ARC_KEY_Y 
ARC_KEY_Z 
ARC_KEY_0 
ARC_KEY_1 
ARC_KEY_2 
ARC_KEY_3 
ARC_KEY_4 
ARC_KEY_5 
ARC_KEY_6 
ARC_KEY_7 
ARC_KEY_8 
ARC_KEY_9 
ARC_KEY_SPACE 
ARC_KEY_ESC 
ARC_KEY_ENTER 
- -

Definition at line 32 of file keyboard.h.

-
32 {
- - - - - - - - - - - - - - - - - - - - - - - - - - -
59
- - - - - - - - - - -
70
- - - - -
@ ARC_KEY_F
Definition keyboard.h:38
-
@ ARC_KEY_4
Definition keyboard.h:64
-
@ ARC_KEY_2
Definition keyboard.h:62
-
@ ARC_KEY_0
Definition keyboard.h:60
-
@ ARC_KEY_M
Definition keyboard.h:45
-
@ ARC_KEY_K
Definition keyboard.h:43
-
@ ARC_KEY_P
Definition keyboard.h:48
-
@ ARC_KEY_E
Definition keyboard.h:37
-
@ ARC_KEY_8
Definition keyboard.h:68
-
@ ARC_KEY_T
Definition keyboard.h:52
-
@ ARC_KEY_Z
Definition keyboard.h:58
-
@ ARC_KEY_A
Definition keyboard.h:33
-
@ ARC_KEY_Y
Definition keyboard.h:57
-
@ ARC_KEY_9
Definition keyboard.h:69
-
@ ARC_KEY_ESC
Definition keyboard.h:72
-
@ ARC_KEY_W
Definition keyboard.h:55
-
@ ARC_KEY_5
Definition keyboard.h:65
-
@ ARC_KEY_3
Definition keyboard.h:63
-
@ ARC_KEY_J
Definition keyboard.h:42
-
@ ARC_KEY_N
Definition keyboard.h:46
-
@ ARC_KEY_O
Definition keyboard.h:47
-
@ ARC_KEY_L
Definition keyboard.h:44
-
@ ARC_KEY_R
Definition keyboard.h:50
-
@ ARC_KEY_C
Definition keyboard.h:35
-
@ ARC_KEY_6
Definition keyboard.h:66
-
@ ARC_KEY_X
Definition keyboard.h:56
-
@ ARC_KEY_I
Definition keyboard.h:41
-
@ ARC_KEY_1
Definition keyboard.h:61
-
@ ARC_KEY_7
Definition keyboard.h:67
-
@ ARC_KEY_ENTER
Definition keyboard.h:73
-
@ ARC_KEY_Q
Definition keyboard.h:49
-
@ ARC_KEY_SPACE
Definition keyboard.h:71
-
@ ARC_KEY_U
Definition keyboard.h:53
-
@ ARC_KEY_V
Definition keyboard.h:54
-
@ ARC_KEY_B
Definition keyboard.h:34
-
@ ARC_KEY_D
Definition keyboard.h:36
-
@ ARC_KEY_G
Definition keyboard.h:39
-
@ ARC_KEY_S
Definition keyboard.h:51
-
@ ARC_KEY_H
Definition keyboard.h:40
-
enum ARC_KeyboardKey ARC_Keyboard_Key
-
-
-
- -

◆ ARC_KeyboardState

- -
-
- - - - -
enum ARC_KeyboardState
-
- - - - -
Enumerator
ARC_KEY_NONE 
ARC_KEY_PRESSED 
ARC_KEY_RELEASED 
- -

Definition at line 19 of file keyboard.h.

-
19 {
- - - - -
ARC_KeyboardState
Definition keyboard.h:19
-
@ ARC_KEY_RELEASED
Definition keyboard.h:22
-
@ ARC_KEY_PRESSED
Definition keyboard.h:21
-
@ ARC_KEY_NONE
Definition keyboard.h:20
-
-
-
-

Function Documentation

- -

◆ ARC_Keyboard_CreateWithInput()

- -
-
- - - - - - - - - - - -
void ARC_Keyboard_CreateWithInput (ARC_Keyboard ** keyboard,
ARC_Input * input )
-
- -
-
- -

◆ ARC_Keyboard_Destroy()

- -
-
- - - - - - - -
void ARC_Keyboard_Destroy (ARC_Keyboard * keyboard)
-
- -
-
- -

◆ ARC_Keyboard_GetState()

- -
-
- - - - - - - - - - - -
ARC_KeyboardState ARC_Keyboard_GetState (ARC_Keyboard * keyboard,
enum ARC_KeyboardKey key )
-
- -
-
- -

◆ ARC_Keyboard_Update()

- -
-
- - - - - - - -
void ARC_Keyboard_Update (ARC_Keyboard * keyboard)
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/da0/keyboard_8h.js b/doc/doxygen/html/d6/da0/keyboard_8h.js deleted file mode 100644 index 569b219..0000000 --- a/doc/doxygen/html/d6/da0/keyboard_8h.js +++ /dev/null @@ -1,58 +0,0 @@ -var keyboard_8h = -[ - [ "ARC_KEYBOARD_BUTTON_NUM", "d6/da0/keyboard_8h.html#aaaadee1d75ed1e94bcb0676f2591c5a4", null ], - [ "ARC_Keyboard", "d6/da0/keyboard_8h.html#acec0a71060ec7186a323710608bd93e7", null ], - [ "ARC_Keyboard_Key", "d6/da0/keyboard_8h.html#aa35b61a9fd822d5cfb7a915e6c3b7cd0", null ], - [ "ARC_KeyboardInfo", "d6/da0/keyboard_8h.html#a3f54728e2ec869f82c48e7a97b3fa630", null ], - [ "ARC_KeyboardState", "d6/da0/keyboard_8h.html#acc8311061bc4f6acd3d0594df1787b6f", null ], - [ "ARC_KeyboardKey", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342", [ - [ "ARC_KEY_A", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a49156896df4abf04fbe03f49d2e213a5", null ], - [ "ARC_KEY_B", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342adb82c1ec8254c987b45d94a661a22c80", null ], - [ "ARC_KEY_C", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a8f3a52109bb1c5f96cc12cd66de72b87", null ], - [ "ARC_KEY_D", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342addcfaf15ed0397db7d2ede02e4136c43", null ], - [ "ARC_KEY_E", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a36564695ac265b2913a14c155a340297", null ], - [ "ARC_KEY_F", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a048bcad99ae80504831468b26abf3a57", null ], - [ "ARC_KEY_G", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342aea971342a7d6a3f29278e9381fca2f0d", null ], - [ "ARC_KEY_H", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342af3c7e1ca4a713680cb5df07240691339", null ], - [ "ARC_KEY_I", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a99211ba590840860d3c807b9b1cdc06d", null ], - [ "ARC_KEY_J", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a7f875a9576212f5a6b09a38d6831c368", null ], - [ "ARC_KEY_K", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a2f7b5fc6e561a687164b9a2b3e46589d", null ], - [ "ARC_KEY_L", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a897b918221c7d7dc58da34246390874a", null ], - [ "ARC_KEY_M", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a29e2bdd496803dd3fb2f0fc54d2966b3", null ], - [ "ARC_KEY_N", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a83290e7515f0de7ed4b64c3a72016569", null ], - [ "ARC_KEY_O", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a873d05cdbd0ee1dd56bdc1be80154789", null ], - [ "ARC_KEY_P", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a35d9e47e904eb84ed27d1abba69ab0cd", null ], - [ "ARC_KEY_Q", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342ac068d27752c2ba39b8dd9be9b5c7822f", null ], - [ "ARC_KEY_R", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a8d5927f08ad119ee914c7b4499008b43", null ], - [ "ARC_KEY_S", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342aede6e618e53a44e1ade519f2df71cb20", null ], - [ "ARC_KEY_T", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a3fba17fbe3987300f20fd5a876d3a5b9", null ], - [ "ARC_KEY_U", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342acd75047b5c079ace8c907195e6d6f9c1", null ], - [ "ARC_KEY_V", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342acd7f1eae1f5dc470b5cf267e9d10b5f0", null ], - [ "ARC_KEY_W", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a5ce1fc9c8c67a3035e7db1d67f4e8abd", null ], - [ "ARC_KEY_X", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a9753396fe7fa37695927152f6377250b", null ], - [ "ARC_KEY_Y", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a4bb71a05ebf49a4c4adb714bfc136051", null ], - [ "ARC_KEY_Z", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a4365536de5c26fd39aaa9bf74c5ec4e9", null ], - [ "ARC_KEY_0", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a1f79e782a3ebf22322adc6e9f4e14451", null ], - [ "ARC_KEY_1", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342aabf22a488a8c87ecfdfd8761ef3055a4", null ], - [ "ARC_KEY_2", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a1d64d1e8e291e793e5ce6afdc91f9b6a", null ], - [ "ARC_KEY_3", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a7e3d3ec3c8ed02d21d3925390ba58634", null ], - [ "ARC_KEY_4", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a1bd8cf1e48b4a2a78f60ee6247cf589e", null ], - [ "ARC_KEY_5", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a68fbf5ced80ec27a7fb24cce622180ab", null ], - [ "ARC_KEY_6", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a951b29ee025df021ab3385dee0e2a995", null ], - [ "ARC_KEY_7", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342ab71f52ec7348e8917fdeaaa0c142c939", null ], - [ "ARC_KEY_8", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a392a2cb09451306c4e5038f2ac97d03b", null ], - [ "ARC_KEY_9", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a5417783357fb315b9dd529d6d1147d6e", null ], - [ "ARC_KEY_SPACE", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342ac9d8f2e35602296a152460c5ada9b1dd", null ], - [ "ARC_KEY_ESC", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a5b665a1513782f4e649bbeddc9c9155d", null ], - [ "ARC_KEY_ENTER", "d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342ab8f816bb58dbcee3219a5cdd991c25c9", null ] - ] ], - [ "ARC_KeyboardState", "d6/da0/keyboard_8h.html#a4fa42600e63b733ac23ec8ddfe49573f", [ - [ "ARC_KEY_NONE", "d6/da0/keyboard_8h.html#a4fa42600e63b733ac23ec8ddfe49573fae65992df97275326fd4849a9e0ed9eac", null ], - [ "ARC_KEY_PRESSED", "d6/da0/keyboard_8h.html#a4fa42600e63b733ac23ec8ddfe49573face79bff30ba82c6985e0e98958646613", null ], - [ "ARC_KEY_RELEASED", "d6/da0/keyboard_8h.html#a4fa42600e63b733ac23ec8ddfe49573faa7706ca5d8f89927871bb5fc9d15aeb7", null ] - ] ], - [ "ARC_Keyboard_CreateWithInput", "d6/da0/keyboard_8h.html#a6cea48ed04bc3e8a3f72bc48e1994e68", null ], - [ "ARC_Keyboard_Destroy", "d6/da0/keyboard_8h.html#aaeaa42ad6e69566dfee40058003a053b", null ], - [ "ARC_Keyboard_GetState", "d6/da0/keyboard_8h.html#aefc45f58e68047bae8a7b4556c461f55", null ], - [ "ARC_Keyboard_Update", "d6/da0/keyboard_8h.html#a46406fb1b5a846ff9c984ea3ad8dba14", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d6/da0/keyboard_8h_source.html b/doc/doxygen/html/d6/da0/keyboard_8h_source.html deleted file mode 100644 index 2fcab9e..0000000 --- a/doc/doxygen/html/d6/da0/keyboard_8h_source.html +++ /dev/null @@ -1,266 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/input/keyboard.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
keyboard.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_GRAPHICS_KEYBOARD_H_
-
2#define ARC_GRAPHICS_KEYBOARD_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include <stdint.h>
-
9
-
10/**
-
11 * @brief predefien ARC_Input so as not to get circular reference
-
12*/
-
13typedef struct ARC_Input ARC_Input;
-
14
- -
16
- -
18
- -
24
-
25#define ARC_KEYBOARD_BUTTON_NUM 239
-
26
- -
28
- - -
31
- -
75
- -
77
-
78#ifdef __cplusplus
-
79}
-
80#endif
-
81
-
82#endif // !ARC_GRAPHICS_KEYBOARD_H_
-
struct ARC_Input ARC_Input
predefien ARC_Input so as not to get circular reference
Definition input.h:17
-
struct ARC_KeyboardInfo ARC_KeyboardInfo
Definition keyboard.h:17
-
ARC_KeyboardKey
Definition keyboard.h:32
-
@ ARC_KEY_F
Definition keyboard.h:38
-
@ ARC_KEY_4
Definition keyboard.h:64
-
@ ARC_KEY_2
Definition keyboard.h:62
-
@ ARC_KEY_0
Definition keyboard.h:60
-
@ ARC_KEY_M
Definition keyboard.h:45
-
@ ARC_KEY_K
Definition keyboard.h:43
-
@ ARC_KEY_P
Definition keyboard.h:48
-
@ ARC_KEY_E
Definition keyboard.h:37
-
@ ARC_KEY_8
Definition keyboard.h:68
-
@ ARC_KEY_T
Definition keyboard.h:52
-
@ ARC_KEY_Z
Definition keyboard.h:58
-
@ ARC_KEY_A
Definition keyboard.h:33
-
@ ARC_KEY_Y
Definition keyboard.h:57
-
@ ARC_KEY_9
Definition keyboard.h:69
-
@ ARC_KEY_ESC
Definition keyboard.h:72
-
@ ARC_KEY_W
Definition keyboard.h:55
-
@ ARC_KEY_5
Definition keyboard.h:65
-
@ ARC_KEY_3
Definition keyboard.h:63
-
@ ARC_KEY_J
Definition keyboard.h:42
-
@ ARC_KEY_N
Definition keyboard.h:46
-
@ ARC_KEY_O
Definition keyboard.h:47
-
@ ARC_KEY_L
Definition keyboard.h:44
-
@ ARC_KEY_R
Definition keyboard.h:50
-
@ ARC_KEY_C
Definition keyboard.h:35
-
@ ARC_KEY_6
Definition keyboard.h:66
-
@ ARC_KEY_X
Definition keyboard.h:56
-
@ ARC_KEY_I
Definition keyboard.h:41
-
@ ARC_KEY_1
Definition keyboard.h:61
-
@ ARC_KEY_7
Definition keyboard.h:67
-
@ ARC_KEY_ENTER
Definition keyboard.h:73
-
@ ARC_KEY_Q
Definition keyboard.h:49
-
@ ARC_KEY_SPACE
Definition keyboard.h:71
-
@ ARC_KEY_U
Definition keyboard.h:53
-
@ ARC_KEY_V
Definition keyboard.h:54
-
@ ARC_KEY_B
Definition keyboard.h:34
-
@ ARC_KEY_D
Definition keyboard.h:36
-
@ ARC_KEY_G
Definition keyboard.h:39
-
@ ARC_KEY_S
Definition keyboard.h:51
-
@ ARC_KEY_H
Definition keyboard.h:40
-
void ARC_Keyboard_Update(ARC_Keyboard *keyboard)
-
ARC_KeyboardState
Definition keyboard.h:19
-
@ ARC_KEY_RELEASED
Definition keyboard.h:22
-
@ ARC_KEY_PRESSED
Definition keyboard.h:21
-
@ ARC_KEY_NONE
Definition keyboard.h:20
-
void ARC_Keyboard_CreateWithInput(ARC_Keyboard **keyboard, ARC_Input *input)
-
enum ARC_KeyboardKey ARC_Keyboard_Key
-
void ARC_Keyboard_Destroy(ARC_Keyboard *keyboard)
-
struct ARC_Keyboard ARC_Keyboard
Definition keyboard.h:15
-
ARC_KeyboardState ARC_Keyboard_GetState(ARC_Keyboard *keyboard, enum ARC_KeyboardKey key)
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/da1/none_2spritesheet_8h.html b/doc/doxygen/html/d6/da1/none_2spritesheet_8h.html deleted file mode 100644 index 2d9073a..0000000 --- a/doc/doxygen/html/d6/da1/none_2spritesheet_8h.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/none/spritesheet.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
spritesheet.h File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d6/da1/none_2spritesheet_8h_source.html b/doc/doxygen/html/d6/da1/none_2spritesheet_8h_source.html deleted file mode 100644 index bf872f6..0000000 --- a/doc/doxygen/html/d6/da1/none_2spritesheet_8h_source.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/none/spritesheet.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
spritesheet.h
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_GRAPHICS
-
2
-
3#ifndef ARC_NONE_SPRITESHEET_H_
-
4#define ARC_NONE_SPRITESHEET_H_
-
5
- -
7
-
8struct ARC_Spritesheet {};
-
9
-
10#endif // !ARC_NONE_SPRITESHEET_H_
-
11
-
12#endif // !ARC_NONE_GRAPHICS
- -
struct ARC_Spritesheet ARC_Spritesheet
Definition spritesheet.h:14
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/dad/none_2keyboard_8h.html b/doc/doxygen/html/d6/dad/none_2keyboard_8h.html deleted file mode 100644 index d57a062..0000000 --- a/doc/doxygen/html/d6/dad/none_2keyboard_8h.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/input/none/keyboard.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
keyboard.h File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d6/dad/none_2keyboard_8h_source.html b/doc/doxygen/html/d6/dad/none_2keyboard_8h_source.html deleted file mode 100644 index 8cb730c..0000000 --- a/doc/doxygen/html/d6/dad/none_2keyboard_8h_source.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/input/none/keyboard.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
keyboard.h
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_INPUT
-
2
-
3#ifndef ARC_NONE_KEYBOARD_H_
-
4#define ARC_NONE_KEYBOARD_H_
-
5
- -
7
-
8struct ARC_Keyboard {};
-
9
-
10struct ARC_KeyboardInfo {};
-
11
-
12#endif // !ARC_NONE_KEYBOARD_H_
-
13
-
14#endif // !ARC_NONE_INPUT
- -
struct ARC_KeyboardInfo ARC_KeyboardInfo
Definition keyboard.h:17
-
struct ARC_Keyboard ARC_Keyboard
Definition keyboard.h:15
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/dae/archeus__std_8dir_2src_2std_2vector_8c_8o_8d.html b/doc/doxygen/html/d6/dae/archeus__std_8dir_2src_2std_2vector_8c_8o_8d.html deleted file mode 100644 index fe8861e..0000000 --- a/doc/doxygen/html/d6/dae/archeus__std_8dir_2src_2std_2vector_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/vector.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
vector.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d6/dae/archeus__std_8dir_2src_2std_2vector_8c_8o_8d_source.html b/doc/doxygen/html/d6/dae/archeus__std_8dir_2src_2std_2vector_8c_8o_8d_source.html deleted file mode 100644 index 668b6cc..0000000 --- a/doc/doxygen/html/d6/dae/archeus__std_8dir_2src_2std_2vector_8c_8o_8d_source.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/vector.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
vector.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/std/vector.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/vector.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/vector.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
6 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
7 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
8 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
9 /usr/include/features.h /usr/include/features-time64.h \
-
10 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
11 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
12 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
13 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
14 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
15 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
16 /usr/include/bits/stdint-least.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
18 /usr/include/stdio.h \
-
19 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
21 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
22 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
23 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
24 /usr/include/bits/types/cookie_io_functions_t.h \
-
25 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
26 /usr/include/bits/floatn-common.h /usr/include/stdlib.h \
-
27 /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
-
28 /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \
-
29 /usr/include/bits/types/clockid_t.h /usr/include/bits/types/time_t.h \
-
30 /usr/include/bits/types/timer_t.h /usr/include/endian.h \
-
31 /usr/include/bits/endian.h /usr/include/bits/endianness.h \
-
32 /usr/include/bits/byteswap.h /usr/include/bits/uintn-identity.h \
-
33 /usr/include/sys/select.h /usr/include/bits/select.h \
-
34 /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \
-
35 /usr/include/bits/types/struct_timeval.h \
-
36 /usr/include/bits/types/struct_timespec.h \
-
37 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
38 /usr/include/bits/pthreadtypes-arch.h \
-
39 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
40 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
41 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/db0/tests_8dir_2tests_2std_2parser_2parserlang_8c_8o_8d.html b/doc/doxygen/html/d6/db0/tests_8dir_2tests_2std_2parser_2parserlang_8c_8o_8d.html deleted file mode 100644 index 6fae756..0000000 --- a/doc/doxygen/html/d6/db0/tests_8dir_2tests_2std_2parser_2parserlang_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/tests/std/parser/parserlang.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
parserlang.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d6/db0/tests_8dir_2tests_2std_2parser_2parserlang_8c_8o_8d_source.html b/doc/doxygen/html/d6/db0/tests_8dir_2tests_2std_2parser_2parserlang_8c_8o_8d_source.html deleted file mode 100644 index 019da11..0000000 --- a/doc/doxygen/html/d6/db0/tests_8dir_2tests_2std_2parser_2parserlang_8c_8o_8d_source.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/tests/std/parser/parserlang.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
parserlang.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/tests/std/parser/parserlang.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/tests/std/parser/parserlang.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/tests/std/parser/../../test.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h /usr/include/stdio.h \
-
15 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
16 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
17 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
18 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
19 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
20 /usr/include/bits/types/cookie_io_functions_t.h \
-
21 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
22 /usr/include/bits/floatn-common.h \
-
23 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
24 /home/herbglitch/programs/archeus/arc/include/arc/std/parser.h \
-
25 /home/herbglitch/programs/archeus/arc/include/arc/std/array.h \
-
26 /home/herbglitch/programs/archeus/arc/include/arc/std/lexer.h \
-
27 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
28 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
29 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
30 /home/herbglitch/programs/archeus/arc/include/arc/std/vector.h \
-
31 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
32 /home/herbglitch/programs/archeus/arc/include/arc/std/parser/parserlang.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/deb/src_2graphics_2line_8c.html b/doc/doxygen/html/d6/deb/src_2graphics_2line_8c.html deleted file mode 100644 index e04cbf5..0000000 --- a/doc/doxygen/html/d6/deb/src_2graphics_2line_8c.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/line.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
line.c File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d6/deb/src_2graphics_2line_8c_source.html b/doc/doxygen/html/d6/deb/src_2graphics_2line_8c_source.html deleted file mode 100644 index d54ae2b..0000000 --- a/doc/doxygen/html/d6/deb/src_2graphics_2line_8c_source.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/line.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
line.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_GRAPHICS
-
2
-
3#include "arc/graphics/line.h"
-
4#include <stdio.h>
-
5
-
6void ARC_Line_Render(int32_t *x1, int32_t *y1, int32_t *x2, int32_t *y2, ARC_Renderer *renderer, ARC_Color *color){
-
7 printf("No Graphics Backend Selected\n");
-
8}
-
9
-
10#endif // !ARC_NONE_GRAPHICS
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- -
void ARC_Line_Render(int32_t *x1, int32_t *y1, int32_t *x2, int32_t *y2, ARC_Renderer *renderer, ARC_Color *color)
Definition line.c:5
- -
-
- - - - - - diff --git a/doc/doxygen/html/d6/dec/none_2text_8h.html b/doc/doxygen/html/d6/dec/none_2text_8h.html deleted file mode 100644 index 8c9eb24..0000000 --- a/doc/doxygen/html/d6/dec/none_2text_8h.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/none/text.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
text.h File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d6/dec/none_2text_8h_source.html b/doc/doxygen/html/d6/dec/none_2text_8h_source.html deleted file mode 100644 index 7f86e18..0000000 --- a/doc/doxygen/html/d6/dec/none_2text_8h_source.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/none/text.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
text.h
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_GRAPHICS
-
2
-
3#ifndef ARC_NONE_TEXT_H_
-
4#define ARC_NONE_TEXT_H_
-
5
-
6#include "arc/graphics/text.h"
-
7
-
8struct ARC_Text {};
-
9
-
10#endif // !ARC_NONE_TEXT_H_
-
11
-
12#endif // !ARC_NONE_GRAPHICS
- -
struct ARC_Text ARC_Text
Definition text.h:14
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/df5/structARC__HashtableNode.html b/doc/doxygen/html/d6/df5/structARC__HashtableNode.html deleted file mode 100644 index 3a5918f..0000000 --- a/doc/doxygen/html/d6/df5/structARC__HashtableNode.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - - - - - -Archeus: ARC_HashtableNode Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_HashtableNode Struct Reference
-
-
- -

#include <hashtable.h>

- - - - - - - - - - -

-Data Fields

void * key
 
size_t keysize
 
void * data
 
ARC_HashtableNodenode
 
-

Detailed Description

-
-

Definition at line 20 of file hashtable.h.

-

Field Documentation

- -

◆ data

- -
-
- - - - -
void* ARC_HashtableNode::data
-
- -

Definition at line 24 of file hashtable.h.

- -
-
- -

◆ key

- -
-
- - - - -
void* ARC_HashtableNode::key
-
- -

Definition at line 21 of file hashtable.h.

- -
-
- -

◆ keysize

- -
-
- - - - -
size_t ARC_HashtableNode::keysize
-
- -

Definition at line 22 of file hashtable.h.

- -
-
- -

◆ node

- -
-
- - - - -
ARC_HashtableNode* ARC_HashtableNode::node
-
- -

Definition at line 25 of file hashtable.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/include/arc/std/hashtable.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d6/df5/structARC__HashtableNode.js b/doc/doxygen/html/d6/df5/structARC__HashtableNode.js deleted file mode 100644 index d8b9623..0000000 --- a/doc/doxygen/html/d6/df5/structARC__HashtableNode.js +++ /dev/null @@ -1,7 +0,0 @@ -var structARC__HashtableNode = -[ - [ "data", "d6/df5/structARC__HashtableNode.html#ae2e0ef82b1e7a2398ae170f5cc2146c4", null ], - [ "key", "d6/df5/structARC__HashtableNode.html#a7f1ed9b69870d5500a536a76821d6c48", null ], - [ "keysize", "d6/df5/structARC__HashtableNode.html#ab90952c76bd8bed6177055b49f39ec58", null ], - [ "node", "d6/df5/structARC__HashtableNode.html#aa1ba49d61ffc1c0426f68bfb8adebdae", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d6/dfa/include_2arc_2graphics_2none_2text_8h.html b/doc/doxygen/html/d6/dfa/include_2arc_2graphics_2none_2text_8h.html deleted file mode 100644 index e6eaf3c..0000000 --- a/doc/doxygen/html/d6/dfa/include_2arc_2graphics_2none_2text_8h.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/none/text.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
text.h File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d6/dfa/include_2arc_2graphics_2none_2text_8h_source.html b/doc/doxygen/html/d6/dfa/include_2arc_2graphics_2none_2text_8h_source.html deleted file mode 100644 index 39d0c94..0000000 --- a/doc/doxygen/html/d6/dfa/include_2arc_2graphics_2none_2text_8h_source.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/none/text.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
text.h
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_GRAPHICS
-
2
-
3#ifndef ARC_NONE_TEXT_H_
-
4#define ARC_NONE_TEXT_H_
-
5
-
6#include "arc/graphics/text.h"
-
7
-
8struct ARC_Text {};
-
9
-
10#endif // !ARC_NONE_TEXT_H_
-
11
-
12#endif // !ARC_NONE_GRAPHICS
- - -
-
- - - - - - diff --git a/doc/doxygen/html/d7/d08/packages_2graphics_2glfw_2window_8c.html b/doc/doxygen/html/d7/d08/packages_2graphics_2glfw_2window_8c.html deleted file mode 100644 index 77977eb..0000000 --- a/doc/doxygen/html/d7/d08/packages_2graphics_2glfw_2window_8c.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/glfw/window.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
window.c File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d7/d08/packages_2graphics_2glfw_2window_8c_source.html b/doc/doxygen/html/d7/d08/packages_2graphics_2glfw_2window_8c_source.html deleted file mode 100644 index d957a70..0000000 --- a/doc/doxygen/html/d7/d08/packages_2graphics_2glfw_2window_8c_source.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/glfw/window.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
window.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_GLFW_WINDOW
- -
3#include "window.h"
-
4
-
5#include "arc/std/errno.h"
-
6#include <GLFW/glfw3.h>
-
7#include <stdio.h>
-
8
-
9void framebufferSizeCallback(GLFWwindow *window, int width, int height){
-
10 glViewport(0, 0, width, height);
-
11}
-
12
-
13void ARC_Window_Create(ARC_Window **window, ARC_WindowInfo *info){
-
14 glfwInit();
-
15 glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
-
16 glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
-
17 glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
-
18 glfwWindowHint(GLFW_FLOATING, GLFW_TRUE);
-
19
-
20 *window = (ARC_Window *) glfwCreateWindow(info->w, info->h, info->title, NULL, NULL);
-
21 if(*window == NULL){
-
22 printf("Failed to create GLFW window\n");
-
23 glfwTerminate();
- -
25 }
-
26
-
27 glfwMakeContextCurrent((GLFWwindow *)*window);
-
28 glViewport(0, 0, info->w, info->h);
-
29 glfwSetFramebufferSizeCallback((GLFWwindow *)*window, framebufferSizeCallback);
-
30}
-
31
-
32void ARC_Window_Destroy(ARC_Window *window){
-
33 glfwTerminate();
-
34}
-
35
-
36#endif //ARC_GLFW
- -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_NULL
Definition errno.h:6
- -
struct ARC_WindowType ARC_Window
Definition window.h:13
-
void ARC_Window_Create(ARC_Window **window, ARC_WindowInfo *info)
creates ARC_Window type
Definition window.c:7
-
void ARC_Window_Destroy(ARC_Window *window)
destroys ARC_Window type
Definition window.c:29
- - -
int32_t h
Definition window.h:21
-
char * title
Definition window.h:19
-
int32_t w
Definition window.h:20
-
-
- - - - - - diff --git a/doc/doxygen/html/d7/d09/graphics_2rectangle_8h.html b/doc/doxygen/html/d7/d09/graphics_2rectangle_8h.html deleted file mode 100644 index 580c39b..0000000 --- a/doc/doxygen/html/d7/d09/graphics_2rectangle_8h.html +++ /dev/null @@ -1,253 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/rectangle.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
rectangle.h File Reference
-
-
-
#include "arc/graphics/color.h"
-#include "arc/graphics/renderer.h"
-#include "arc/math/rectangle.h"
-#include <stdint.h>
-
-

Go to the source code of this file.

- - - - - - - - - - -

-Functions

void ARC_Rect_Render (ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color)
 
void ARC_Rect_RenderFill (ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color)
 
void ARC_FRect_Render (ARC_FRect *rect, ARC_Renderer *renderer, ARC_Color *color)
 
void ARC_FRect_RenderFill (ARC_FRect *rect, ARC_Renderer *renderer, ARC_Color *color)
 
-

Function Documentation

- -

◆ ARC_FRect_Render()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_FRect_Render (ARC_FRect * rect,
ARC_Renderer * renderer,
ARC_Color * color )
-
- -
-
- -

◆ ARC_FRect_RenderFill()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_FRect_RenderFill (ARC_FRect * rect,
ARC_Renderer * renderer,
ARC_Color * color )
-
- -
-
- -

◆ ARC_Rect_Render()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Rect_Render (ARC_Rect * rect,
ARC_Renderer * renderer,
ARC_Color * color )
-
- -
-
- -

◆ ARC_Rect_RenderFill()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Rect_RenderFill (ARC_Rect * rect,
ARC_Renderer * renderer,
ARC_Color * color )
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d7/d09/graphics_2rectangle_8h.js b/doc/doxygen/html/d7/d09/graphics_2rectangle_8h.js deleted file mode 100644 index 907d125..0000000 --- a/doc/doxygen/html/d7/d09/graphics_2rectangle_8h.js +++ /dev/null @@ -1,7 +0,0 @@ -var graphics_2rectangle_8h = -[ - [ "ARC_FRect_Render", "d7/d09/graphics_2rectangle_8h.html#a96dbaab334cfd50199b6a0f2133ca6f6", null ], - [ "ARC_FRect_RenderFill", "d7/d09/graphics_2rectangle_8h.html#ab30de1d2bb4605738fbcfd66887d1b3f", null ], - [ "ARC_Rect_Render", "d7/d09/graphics_2rectangle_8h.html#abb21f449f86c080831ccecf9600d97c7", null ], - [ "ARC_Rect_RenderFill", "d7/d09/graphics_2rectangle_8h.html#acb8d5ed7ac0ab7c7b51c9924cbb017df", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d7/d09/graphics_2rectangle_8h_source.html b/doc/doxygen/html/d7/d09/graphics_2rectangle_8h_source.html deleted file mode 100644 index b9dbc7d..0000000 --- a/doc/doxygen/html/d7/d09/graphics_2rectangle_8h_source.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/rectangle.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
rectangle.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_GRAPHICS_RECT_H_
-
2#define ARC_GRAPHICS_RECT_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
- - -
10#include "arc/math/rectangle.h"
-
11#include <stdint.h>
-
12
-
13void ARC_Rect_Render(ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color);
-
14
-
15void ARC_Rect_RenderFill(ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color);
-
16
-
17void ARC_FRect_Render(ARC_FRect *rect, ARC_Renderer *renderer, ARC_Color *color);
-
18
- -
20
-
21#ifdef __cplusplus
-
22}
-
23#endif
-
24
-
25#endif // !ARC_GRAPHICS_RECT_H_
- -
void ARC_FRect_Render(ARC_FRect *rect, ARC_Renderer *renderer, ARC_Color *color)
-
void ARC_FRect_RenderFill(ARC_FRect *rect, ARC_Renderer *renderer, ARC_Color *color)
-
void ARC_Rect_Render(ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color)
-
void ARC_Rect_RenderFill(ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color)
- - -
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- - - -
-
- - - - - - diff --git a/doc/doxygen/html/d7/d28/src_2graphics_2window_8c.html b/doc/doxygen/html/d7/d28/src_2graphics_2window_8c.html deleted file mode 100644 index 68a9bee..0000000 --- a/doc/doxygen/html/d7/d28/src_2graphics_2window_8c.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/window.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
window.c File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d7/d28/src_2graphics_2window_8c_source.html b/doc/doxygen/html/d7/d28/src_2graphics_2window_8c_source.html deleted file mode 100644 index f61327e..0000000 --- a/doc/doxygen/html/d7/d28/src_2graphics_2window_8c_source.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/window.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
window.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_WINDOW
-
2
- -
4#include <stdio.h>
-
5
- -
7 printf("No Window Backend Selected\n");
-
8}
-
9
-
10void ARC_Window_Destroy(ARC_Window *window){
-
11 printf("No Window Backend Selected\n");
-
12}
-
13
-
14#endif // !ARC_NONE_WINDOW
- -
struct ARC_WindowType ARC_Window
Definition window.h:13
-
void ARC_Window_Create(ARC_Window **window, ARC_WindowInfo *info)
creates ARC_Window type
Definition window.c:7
-
void ARC_Window_Destroy(ARC_Window *window)
destroys ARC_Window type
Definition window.c:29
- -
-
- - - - - - diff --git a/doc/doxygen/html/d7/d2f/archeus__std_8dir_2src_2graphics_2rectangle_8c_8o_8d.html b/doc/doxygen/html/d7/d2f/archeus__std_8dir_2src_2graphics_2rectangle_8c_8o_8d.html deleted file mode 100644 index 5178b01..0000000 --- a/doc/doxygen/html/d7/d2f/archeus__std_8dir_2src_2graphics_2rectangle_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/graphics/rectangle.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
rectangle.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d7/d2f/archeus__std_8dir_2src_2graphics_2rectangle_8c_8o_8d_source.html b/doc/doxygen/html/d7/d2f/archeus__std_8dir_2src_2graphics_2rectangle_8c_8o_8d_source.html deleted file mode 100644 index b2ea46c..0000000 --- a/doc/doxygen/html/d7/d2f/archeus__std_8dir_2src_2graphics_2rectangle_8c_8o_8d_source.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/graphics/rectangle.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
rectangle.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/graphics/rectangle.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/graphics/rectangle.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/graphics/rectangle.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/graphics/color.h \
-
6 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
7 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
8 /usr/include/features.h /usr/include/features-time64.h \
-
9 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
10 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
11 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
12 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
13 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
14 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
15 /usr/include/bits/stdint-least.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/graphics/renderer.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/math/rectangle.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/math/vector2.h \
-
20 /usr/include/stdio.h \
-
21 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
22 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
23 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
24 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
25 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
26 /usr/include/bits/types/cookie_io_functions_t.h \
-
27 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
28 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d7/d34/none_2renderer_8h.html b/doc/doxygen/html/d7/d34/none_2renderer_8h.html deleted file mode 100644 index ec4d700..0000000 --- a/doc/doxygen/html/d7/d34/none_2renderer_8h.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/none/renderer.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
renderer.h File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d7/d34/none_2renderer_8h_source.html b/doc/doxygen/html/d7/d34/none_2renderer_8h_source.html deleted file mode 100644 index 09b0c8d..0000000 --- a/doc/doxygen/html/d7/d34/none_2renderer_8h_source.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/none/renderer.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
renderer.h
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_GRAPHICS
-
2
-
3//#include "arc/graphics/renderer.h"
-
4
-
5#ifndef ARC_NONE_RENDERER_H_
-
6#define ARC_NONE_RENDERER_H_
-
7
-
8//typedef void ARC_RendererType;
-
9
-
10#endif // !ARC_NONE_RENDERER_H_
-
11
-
12#endif // !ARC_NONE_GRAPHICS
-
-
- - - - - - diff --git a/doc/doxygen/html/d7/d37/packages_2input_2sdl_2keyboard_8c.html b/doc/doxygen/html/d7/d37/packages_2input_2sdl_2keyboard_8c.html deleted file mode 100644 index f375b56..0000000 --- a/doc/doxygen/html/d7/d37/packages_2input_2sdl_2keyboard_8c.html +++ /dev/null @@ -1,386 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/input/sdl/keyboard.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
keyboard.c File Reference
-
-
-
#include "arc/input/keyboard.h"
-#include "keyboard.h"
-#include "input.h"
-#include "arc/math/point.h"
-#include "arc/std/errno.h"
-#include <stdlib.h>
-#include <stdint.h>
-#include <SDL_keyboard.h>
-#include <SDL_events.h>
-
-

Go to the source code of this file.

- - - - - - - - - - -

-Functions

void ARC_Keyboard_CreateWithInput (ARC_Keyboard **keyboard, ARC_Input *input)
 
void ARC_Keyboard_Destroy (ARC_Keyboard *keyboard)
 
void ARC_Keyboard_Update (ARC_Keyboard *keyboard)
 
ARC_KeyboardState ARC_Keyboard_GetState (ARC_Keyboard *keyboard, enum ARC_KeyboardKey key)
 
-

Function Documentation

- -

◆ ARC_Keyboard_CreateWithInput()

- -
-
- - - - - - - - - - - -
void ARC_Keyboard_CreateWithInput (ARC_Keyboard ** keyboard,
ARC_Input * input )
-
- -

Definition at line 11 of file keyboard.c.

-
11 {
-
12 *keyboard = (ARC_Keyboard *)malloc(sizeof(ARC_Keyboard));
-
13 (*keyboard)->event = input->event;
-
14 (*keyboard)->keys = (ARC_KeyboardState *)malloc(sizeof(ARC_KeyboardState) * ARC_KEYBOARD_BUTTON_NUM);
-
15
-
16 (*keyboard)->released = NULL;
-
17
-
18 for(uint8_t i = 0; i < ARC_KEYBOARD_BUTTON_NUM; i++){
-
19 (*keyboard)->keys[i] = ARC_KEY_NONE;
-
20 }
-
21}
-
ARC_KeyboardState
Definition keyboard.h:19
-
@ ARC_KEY_NONE
Definition keyboard.h:20
-
#define ARC_KEYBOARD_BUTTON_NUM
Definition keyboard.h:25
-
SDL_Event * event
Definition input.h:12
- -
SDL_Event * event
Definition keyboard.h:8
-
-

References ARC_KEY_NONE, ARC_KEYBOARD_BUTTON_NUM, ARC_Input::event, and ARC_Keyboard::event.

- -

Referenced by ARC_Input_CreateWithEngineData().

- -
-
- -

◆ ARC_Keyboard_Destroy()

- -
-
- - - - - - - -
void ARC_Keyboard_Destroy (ARC_Keyboard * keyboard)
-
- -

Definition at line 23 of file keyboard.c.

-
23 {
-
24 free(keyboard->keys);
-
25
-
26 free(keyboard);
-
27}
-
ARC_KeyboardState * keys
Definition keyboard.h:10
-
-

References ARC_Keyboard::keys.

- -

Referenced by ARC_EngineData_Destroy(), and ARC_Input_Destroy().

- -
-
- -

◆ ARC_Keyboard_GetState()

- -
-
- - - - - - - - - - - -
ARC_KeyboardState ARC_Keyboard_GetState (ARC_Keyboard * keyboard,
enum ARC_KeyboardKey key )
-
- -

Definition at line 52 of file keyboard.c.

-
52 {
-
53 switch(key){
-
54 case ARC_KEY_A: return keyboard->keys[SDLK_a];
-
55 case ARC_KEY_B: return keyboard->keys[SDLK_b];
-
56 case ARC_KEY_C: return keyboard->keys[SDLK_c];
-
57 case ARC_KEY_D: return keyboard->keys[SDLK_d];
-
58 case ARC_KEY_E: return keyboard->keys[SDLK_e];
-
59 case ARC_KEY_F: return keyboard->keys[SDLK_f];
-
60 case ARC_KEY_G: return keyboard->keys[SDLK_g];
-
61 case ARC_KEY_H: return keyboard->keys[SDLK_h];
-
62 case ARC_KEY_I: return keyboard->keys[SDLK_i];
-
63 case ARC_KEY_J: return keyboard->keys[SDLK_j];
-
64 case ARC_KEY_K: return keyboard->keys[SDLK_k];
-
65 case ARC_KEY_L: return keyboard->keys[SDLK_l];
-
66 case ARC_KEY_M: return keyboard->keys[SDLK_m];
-
67 case ARC_KEY_N: return keyboard->keys[SDLK_n];
-
68 case ARC_KEY_O: return keyboard->keys[SDLK_o];
-
69 case ARC_KEY_P: return keyboard->keys[SDLK_p];
-
70 case ARC_KEY_Q: return keyboard->keys[SDLK_q];
-
71 case ARC_KEY_R: return keyboard->keys[SDLK_r];
-
72 case ARC_KEY_S: return keyboard->keys[SDLK_s];
-
73 case ARC_KEY_T: return keyboard->keys[SDLK_t];
-
74 case ARC_KEY_U: return keyboard->keys[SDLK_u];
-
75 case ARC_KEY_V: return keyboard->keys[SDLK_v];
-
76 case ARC_KEY_W: return keyboard->keys[SDLK_w];
-
77 case ARC_KEY_X: return keyboard->keys[SDLK_x];
-
78 case ARC_KEY_Y: return keyboard->keys[SDLK_y];
-
79 case ARC_KEY_Z: return keyboard->keys[SDLK_z];
-
80
-
81 case ARC_KEY_0: return keyboard->keys[SDLK_0];
-
82 case ARC_KEY_1: return keyboard->keys[SDLK_1];
-
83 case ARC_KEY_2: return keyboard->keys[SDLK_2];
-
84 case ARC_KEY_3: return keyboard->keys[SDLK_3];
-
85 case ARC_KEY_4: return keyboard->keys[SDLK_4];
-
86 case ARC_KEY_5: return keyboard->keys[SDLK_5];
-
87 case ARC_KEY_6: return keyboard->keys[SDLK_6];
-
88 case ARC_KEY_7: return keyboard->keys[SDLK_7];
-
89 case ARC_KEY_8: return keyboard->keys[SDLK_8];
-
90 case ARC_KEY_9: return keyboard->keys[SDLK_9];
-
91
-
92 case ARC_KEY_SPACE: return keyboard->keys[SDLK_SPACE ];
-
93 case ARC_KEY_ESC: return keyboard->keys[SDLK_ESCAPE];
-
94 case ARC_KEY_ENTER: return keyboard->keys[SDLK_RETURN];
-
95
-
96 default: return ARC_KEY_NONE;
-
97 }
-
98}
-
@ ARC_KEY_F
Definition keyboard.h:38
-
@ ARC_KEY_4
Definition keyboard.h:64
-
@ ARC_KEY_2
Definition keyboard.h:62
-
@ ARC_KEY_0
Definition keyboard.h:60
-
@ ARC_KEY_M
Definition keyboard.h:45
-
@ ARC_KEY_K
Definition keyboard.h:43
-
@ ARC_KEY_P
Definition keyboard.h:48
-
@ ARC_KEY_E
Definition keyboard.h:37
-
@ ARC_KEY_8
Definition keyboard.h:68
-
@ ARC_KEY_T
Definition keyboard.h:52
-
@ ARC_KEY_Z
Definition keyboard.h:58
-
@ ARC_KEY_A
Definition keyboard.h:33
-
@ ARC_KEY_Y
Definition keyboard.h:57
-
@ ARC_KEY_9
Definition keyboard.h:69
-
@ ARC_KEY_ESC
Definition keyboard.h:72
-
@ ARC_KEY_W
Definition keyboard.h:55
-
@ ARC_KEY_5
Definition keyboard.h:65
-
@ ARC_KEY_3
Definition keyboard.h:63
-
@ ARC_KEY_J
Definition keyboard.h:42
-
@ ARC_KEY_N
Definition keyboard.h:46
-
@ ARC_KEY_O
Definition keyboard.h:47
-
@ ARC_KEY_L
Definition keyboard.h:44
-
@ ARC_KEY_R
Definition keyboard.h:50
-
@ ARC_KEY_C
Definition keyboard.h:35
-
@ ARC_KEY_6
Definition keyboard.h:66
-
@ ARC_KEY_X
Definition keyboard.h:56
-
@ ARC_KEY_I
Definition keyboard.h:41
-
@ ARC_KEY_1
Definition keyboard.h:61
-
@ ARC_KEY_7
Definition keyboard.h:67
-
@ ARC_KEY_ENTER
Definition keyboard.h:73
-
@ ARC_KEY_Q
Definition keyboard.h:49
-
@ ARC_KEY_SPACE
Definition keyboard.h:71
-
@ ARC_KEY_U
Definition keyboard.h:53
-
@ ARC_KEY_V
Definition keyboard.h:54
-
@ ARC_KEY_B
Definition keyboard.h:34
-
@ ARC_KEY_D
Definition keyboard.h:36
-
@ ARC_KEY_G
Definition keyboard.h:39
-
@ ARC_KEY_S
Definition keyboard.h:51
-
@ ARC_KEY_H
Definition keyboard.h:40
-
-

References ARC_KEY_0, ARC_KEY_1, ARC_KEY_2, ARC_KEY_3, ARC_KEY_4, ARC_KEY_5, ARC_KEY_6, ARC_KEY_7, ARC_KEY_8, ARC_KEY_9, ARC_KEY_A, ARC_KEY_B, ARC_KEY_C, ARC_KEY_D, ARC_KEY_E, ARC_KEY_ENTER, ARC_KEY_ESC, ARC_KEY_F, ARC_KEY_G, ARC_KEY_H, ARC_KEY_I, ARC_KEY_J, ARC_KEY_K, ARC_KEY_L, ARC_KEY_M, ARC_KEY_N, ARC_KEY_NONE, ARC_KEY_O, ARC_KEY_P, ARC_KEY_Q, ARC_KEY_R, ARC_KEY_S, ARC_KEY_SPACE, ARC_KEY_T, ARC_KEY_U, ARC_KEY_V, ARC_KEY_W, ARC_KEY_X, ARC_KEY_Y, ARC_KEY_Z, and ARC_Keyboard::keys.

- -
-
- -

◆ ARC_Keyboard_Update()

- -
-
- - - - - - - -
void ARC_Keyboard_Update (ARC_Keyboard * keyboard)
-
- -

Definition at line 29 of file keyboard.c.

-
29 {
-
30 if(keyboard->released){
-
31 *keyboard->released = ARC_KEY_NONE;
-
32 keyboard->released = NULL;
-
33 }
-
34
-
35 if(keyboard->event->type != SDL_KEYDOWN && keyboard->event->type != SDL_KEYUP){
-
36 return;
-
37 }
-
38
-
39 if(keyboard->event->key.keysym.sym >= 239 || keyboard->event->key.keysym.sym < 0){
-
40 return;
-
41 }
-
42
-
43 if(keyboard->event->type == SDL_KEYDOWN){
-
44 keyboard->keys[keyboard->event->key.keysym.sym] = ARC_KEY_PRESSED;
-
45 return;
-
46 }
-
47
-
48 keyboard->keys[keyboard->event->key.keysym.sym] = ARC_KEY_RELEASED;
-
49 keyboard->released = (keyboard->keys + keyboard->event->key.keysym.sym);
-
50}
-
@ ARC_KEY_RELEASED
Definition keyboard.h:22
-
@ ARC_KEY_PRESSED
Definition keyboard.h:21
-
ARC_KeyboardState * released
Definition keyboard.h:11
-
-

References ARC_KEY_NONE, ARC_KEY_PRESSED, ARC_KEY_RELEASED, ARC_Keyboard::event, ARC_Keyboard::keys, and ARC_Keyboard::released.

- -

Referenced by ARC_Input_Update().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d7/d37/packages_2input_2sdl_2keyboard_8c.js b/doc/doxygen/html/d7/d37/packages_2input_2sdl_2keyboard_8c.js deleted file mode 100644 index 0b70711..0000000 --- a/doc/doxygen/html/d7/d37/packages_2input_2sdl_2keyboard_8c.js +++ /dev/null @@ -1,7 +0,0 @@ -var packages_2input_2sdl_2keyboard_8c = -[ - [ "ARC_Keyboard_CreateWithInput", "d7/d37/packages_2input_2sdl_2keyboard_8c.html#a6cea48ed04bc3e8a3f72bc48e1994e68", null ], - [ "ARC_Keyboard_Destroy", "d7/d37/packages_2input_2sdl_2keyboard_8c.html#aaeaa42ad6e69566dfee40058003a053b", null ], - [ "ARC_Keyboard_GetState", "d7/d37/packages_2input_2sdl_2keyboard_8c.html#aefc45f58e68047bae8a7b4556c461f55", null ], - [ "ARC_Keyboard_Update", "d7/d37/packages_2input_2sdl_2keyboard_8c.html#a46406fb1b5a846ff9c984ea3ad8dba14", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d7/d37/packages_2input_2sdl_2keyboard_8c_source.html b/doc/doxygen/html/d7/d37/packages_2input_2sdl_2keyboard_8c_source.html deleted file mode 100644 index 5092519..0000000 --- a/doc/doxygen/html/d7/d37/packages_2input_2sdl_2keyboard_8c_source.html +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/input/sdl/keyboard.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
keyboard.c
-
-
-Go to the documentation of this file.
-
2#include "keyboard.h"
-
3#include "input.h"
-
4#include "arc/math/point.h"
-
5#include "arc/std/errno.h"
-
6#include <stdlib.h>
-
7#include <stdint.h>
-
8#include <SDL_keyboard.h>
-
9#include <SDL_events.h>
-
10
-
- -
12 *keyboard = (ARC_Keyboard *)malloc(sizeof(ARC_Keyboard));
-
13 (*keyboard)->event = input->event;
-
14 (*keyboard)->keys = (ARC_KeyboardState *)malloc(sizeof(ARC_KeyboardState) * ARC_KEYBOARD_BUTTON_NUM);
-
15
-
16 (*keyboard)->released = NULL;
-
17
-
18 for(uint8_t i = 0; i < ARC_KEYBOARD_BUTTON_NUM; i++){
-
19 (*keyboard)->keys[i] = ARC_KEY_NONE;
-
20 }
-
21}
-
-
22
-
- -
24 free(keyboard->keys);
-
25
-
26 free(keyboard);
-
27}
-
-
28
-
- -
30 if(keyboard->released){
-
31 *keyboard->released = ARC_KEY_NONE;
-
32 keyboard->released = NULL;
-
33 }
-
34
-
35 if(keyboard->event->type != SDL_KEYDOWN && keyboard->event->type != SDL_KEYUP){
-
36 return;
-
37 }
-
38
-
39 if(keyboard->event->key.keysym.sym >= 239 || keyboard->event->key.keysym.sym < 0){
-
40 return;
-
41 }
-
42
-
43 if(keyboard->event->type == SDL_KEYDOWN){
-
44 keyboard->keys[keyboard->event->key.keysym.sym] = ARC_KEY_PRESSED;
-
45 return;
-
46 }
-
47
-
48 keyboard->keys[keyboard->event->key.keysym.sym] = ARC_KEY_RELEASED;
-
49 keyboard->released = (keyboard->keys + keyboard->event->key.keysym.sym);
-
50}
-
-
51
-
- -
53 switch(key){
-
54 case ARC_KEY_A: return keyboard->keys[SDLK_a];
-
55 case ARC_KEY_B: return keyboard->keys[SDLK_b];
-
56 case ARC_KEY_C: return keyboard->keys[SDLK_c];
-
57 case ARC_KEY_D: return keyboard->keys[SDLK_d];
-
58 case ARC_KEY_E: return keyboard->keys[SDLK_e];
-
59 case ARC_KEY_F: return keyboard->keys[SDLK_f];
-
60 case ARC_KEY_G: return keyboard->keys[SDLK_g];
-
61 case ARC_KEY_H: return keyboard->keys[SDLK_h];
-
62 case ARC_KEY_I: return keyboard->keys[SDLK_i];
-
63 case ARC_KEY_J: return keyboard->keys[SDLK_j];
-
64 case ARC_KEY_K: return keyboard->keys[SDLK_k];
-
65 case ARC_KEY_L: return keyboard->keys[SDLK_l];
-
66 case ARC_KEY_M: return keyboard->keys[SDLK_m];
-
67 case ARC_KEY_N: return keyboard->keys[SDLK_n];
-
68 case ARC_KEY_O: return keyboard->keys[SDLK_o];
-
69 case ARC_KEY_P: return keyboard->keys[SDLK_p];
-
70 case ARC_KEY_Q: return keyboard->keys[SDLK_q];
-
71 case ARC_KEY_R: return keyboard->keys[SDLK_r];
-
72 case ARC_KEY_S: return keyboard->keys[SDLK_s];
-
73 case ARC_KEY_T: return keyboard->keys[SDLK_t];
-
74 case ARC_KEY_U: return keyboard->keys[SDLK_u];
-
75 case ARC_KEY_V: return keyboard->keys[SDLK_v];
-
76 case ARC_KEY_W: return keyboard->keys[SDLK_w];
-
77 case ARC_KEY_X: return keyboard->keys[SDLK_x];
-
78 case ARC_KEY_Y: return keyboard->keys[SDLK_y];
-
79 case ARC_KEY_Z: return keyboard->keys[SDLK_z];
-
80
-
81 case ARC_KEY_0: return keyboard->keys[SDLK_0];
-
82 case ARC_KEY_1: return keyboard->keys[SDLK_1];
-
83 case ARC_KEY_2: return keyboard->keys[SDLK_2];
-
84 case ARC_KEY_3: return keyboard->keys[SDLK_3];
-
85 case ARC_KEY_4: return keyboard->keys[SDLK_4];
-
86 case ARC_KEY_5: return keyboard->keys[SDLK_5];
-
87 case ARC_KEY_6: return keyboard->keys[SDLK_6];
-
88 case ARC_KEY_7: return keyboard->keys[SDLK_7];
-
89 case ARC_KEY_8: return keyboard->keys[SDLK_8];
-
90 case ARC_KEY_9: return keyboard->keys[SDLK_9];
-
91
-
92 case ARC_KEY_SPACE: return keyboard->keys[SDLK_SPACE ];
-
93 case ARC_KEY_ESC: return keyboard->keys[SDLK_ESCAPE];
-
94 case ARC_KEY_ENTER: return keyboard->keys[SDLK_RETURN];
-
95
-
96 default: return ARC_KEY_NONE;
-
97 }
-
98}
-
- - -
ARC_KeyboardKey
Definition keyboard.h:32
-
@ ARC_KEY_F
Definition keyboard.h:38
-
@ ARC_KEY_4
Definition keyboard.h:64
-
@ ARC_KEY_2
Definition keyboard.h:62
-
@ ARC_KEY_0
Definition keyboard.h:60
-
@ ARC_KEY_M
Definition keyboard.h:45
-
@ ARC_KEY_K
Definition keyboard.h:43
-
@ ARC_KEY_P
Definition keyboard.h:48
-
@ ARC_KEY_E
Definition keyboard.h:37
-
@ ARC_KEY_8
Definition keyboard.h:68
-
@ ARC_KEY_T
Definition keyboard.h:52
-
@ ARC_KEY_Z
Definition keyboard.h:58
-
@ ARC_KEY_A
Definition keyboard.h:33
-
@ ARC_KEY_Y
Definition keyboard.h:57
-
@ ARC_KEY_9
Definition keyboard.h:69
-
@ ARC_KEY_ESC
Definition keyboard.h:72
-
@ ARC_KEY_W
Definition keyboard.h:55
-
@ ARC_KEY_5
Definition keyboard.h:65
-
@ ARC_KEY_3
Definition keyboard.h:63
-
@ ARC_KEY_J
Definition keyboard.h:42
-
@ ARC_KEY_N
Definition keyboard.h:46
-
@ ARC_KEY_O
Definition keyboard.h:47
-
@ ARC_KEY_L
Definition keyboard.h:44
-
@ ARC_KEY_R
Definition keyboard.h:50
-
@ ARC_KEY_C
Definition keyboard.h:35
-
@ ARC_KEY_6
Definition keyboard.h:66
-
@ ARC_KEY_X
Definition keyboard.h:56
-
@ ARC_KEY_I
Definition keyboard.h:41
-
@ ARC_KEY_1
Definition keyboard.h:61
-
@ ARC_KEY_7
Definition keyboard.h:67
-
@ ARC_KEY_ENTER
Definition keyboard.h:73
-
@ ARC_KEY_Q
Definition keyboard.h:49
-
@ ARC_KEY_SPACE
Definition keyboard.h:71
-
@ ARC_KEY_U
Definition keyboard.h:53
-
@ ARC_KEY_V
Definition keyboard.h:54
-
@ ARC_KEY_B
Definition keyboard.h:34
-
@ ARC_KEY_D
Definition keyboard.h:36
-
@ ARC_KEY_G
Definition keyboard.h:39
-
@ ARC_KEY_S
Definition keyboard.h:51
-
@ ARC_KEY_H
Definition keyboard.h:40
-
void ARC_Keyboard_Update(ARC_Keyboard *keyboard)
Definition keyboard.c:29
-
ARC_KeyboardState
Definition keyboard.h:19
-
@ ARC_KEY_RELEASED
Definition keyboard.h:22
-
@ ARC_KEY_PRESSED
Definition keyboard.h:21
-
@ ARC_KEY_NONE
Definition keyboard.h:20
-
void ARC_Keyboard_CreateWithInput(ARC_Keyboard **keyboard, ARC_Input *input)
Definition keyboard.c:11
-
#define ARC_KEYBOARD_BUTTON_NUM
Definition keyboard.h:25
-
void ARC_Keyboard_Destroy(ARC_Keyboard *keyboard)
Definition keyboard.c:23
-
ARC_KeyboardState ARC_Keyboard_GetState(ARC_Keyboard *keyboard, enum ARC_KeyboardKey key)
Definition keyboard.c:52
- - - - -
SDL_Event * event
Definition input.h:12
- -
ARC_KeyboardState * keys
Definition keyboard.h:10
-
SDL_Event * event
Definition keyboard.h:8
-
ARC_KeyboardState * released
Definition keyboard.h:11
-
-
- - - - - - diff --git a/doc/doxygen/html/d7/d3c/archeus__std_8dir_2src_2input_2input_8c_8o_8d.html b/doc/doxygen/html/d7/d3c/archeus__std_8dir_2src_2input_2input_8c_8o_8d.html deleted file mode 100644 index 6fadad6..0000000 --- a/doc/doxygen/html/d7/d3c/archeus__std_8dir_2src_2input_2input_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/input/input.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
input.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d7/d3c/archeus__std_8dir_2src_2input_2input_8c_8o_8d_source.html b/doc/doxygen/html/d7/d3c/archeus__std_8dir_2src_2input_2input_8c_8o_8d_source.html deleted file mode 100644 index 2585086..0000000 --- a/doc/doxygen/html/d7/d3c/archeus__std_8dir_2src_2input_2input_8c_8o_8d_source.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/input/input.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
input.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/input/input.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/input/input.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/input/input.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/input/keyboard.h \
-
6 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
7 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
8 /usr/include/features.h /usr/include/features-time64.h \
-
9 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
10 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
11 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
12 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
13 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
14 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
15 /usr/include/bits/stdint-least.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/input/mouse.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
19 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
20 /usr/include/stdio.h \
-
21 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
22 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
23 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
24 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
25 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
26 /usr/include/bits/types/cookie_io_functions_t.h \
-
27 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
28 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d7/d5c/packages_2graphics_2sdl_2spritesheet_8c.html b/doc/doxygen/html/d7/d5c/packages_2graphics_2sdl_2spritesheet_8c.html deleted file mode 100644 index 3859d3b..0000000 --- a/doc/doxygen/html/d7/d5c/packages_2graphics_2sdl_2spritesheet_8c.html +++ /dev/null @@ -1,326 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/spritesheet.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
spritesheet.c File Reference
-
-
-
#include "arc/graphics/spritesheet.h"
-#include "spritesheet.h"
-#include "renderer.h"
-#include "arc/math/point.h"
-#include <SDL.h>
-#include <SDL_image.h>
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - - - - - - - - - -

-Functions

void ARC_Spritesheet_CreateFromFile (ARC_Spritesheet **spritesheet, ARC_Renderer *renderer, ARC_String *path)
 
void ARC_Spritesheet_Destroy (ARC_Spritesheet *spritesheet)
 
void ARC_Spritesheet_RenderArea (ARC_Spritesheet *spritesheet, ARC_Rect *sheetBounds, ARC_Renderer *renderer, ARC_Rect *renderBounds)
 
ARC_Point ARC_Spritesheet_GetSize (ARC_Spritesheet *spritesheet)
 
uint32_t * ARC_Spritesheet_GetTileSize (ARC_Spritesheet *spritesheet)
 
-

Function Documentation

- -

◆ ARC_Spritesheet_CreateFromFile()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Spritesheet_CreateFromFile (ARC_Spritesheet ** spritesheet,
ARC_Renderer * renderer,
ARC_String * path )
-
- -

Definition at line 11 of file spritesheet.c.

-
11 {
-
12 *spritesheet = (ARC_Spritesheet *)malloc(sizeof(ARC_Spritesheet));
-
13
-
14 IMG_Init(IMG_INIT_PNG);
-
15 SDL_Surface *surface = IMG_Load(path->data);
-
16 if(!surface){
-
17 printf("Error: reading png '%s'\nSDL_Image Error: %s", path->data, IMG_GetError());
-
18 }
-
19
-
20 SDL_BlendMode tempMode;
-
21 SDL_GetSurfaceBlendMode(surface, &tempMode);
-
22 (*spritesheet)->texture = SDL_CreateTextureFromSurface((SDL_Renderer *)renderer, surface);
-
23 SDL_GetTextureBlendMode((*spritesheet)->texture, &tempMode);
-
24
-
25 SDL_FreeSurface(surface);
-
26 IMG_Quit();
-
27
-
28 ARC_Spritesheet_GetSize(*spritesheet);
-
29}
-
ARC_Point ARC_Spritesheet_GetSize(ARC_Spritesheet *spritesheet)
Definition spritesheet.c:40
- -
char * data
Definition string.h:15
-
-

References ARC_Spritesheet_GetSize(), and ARC_String::data.

- -
-
- -

◆ ARC_Spritesheet_Destroy()

- -
-
- - - - - - - -
void ARC_Spritesheet_Destroy (ARC_Spritesheet * spritesheet)
-
- -

Definition at line 31 of file spritesheet.c.

-
31 {
-
32 SDL_DestroyTexture(spritesheet->texture);
-
33 free(spritesheet);
-
34}
-
SDL_Texture * texture
Definition spritesheet.h:8
-
-

References ARC_Spritesheet::texture.

- -
-
- -

◆ ARC_Spritesheet_GetSize()

- -
-
- - - - - - - -
ARC_Point ARC_Spritesheet_GetSize (ARC_Spritesheet * spritesheet)
-
- -

Definition at line 40 of file spritesheet.c.

-
40 {
-
41 ARC_Point size;
-
42 SDL_QueryTexture(spritesheet->texture, NULL, NULL, &size.x, &size.y);
-
43 return size;
-
44}
- -
int32_t y
Definition point.h:12
-
int32_t x
Definition point.h:11
-
-

References ARC_Spritesheet::texture, ARC_Point::x, and ARC_Point::y.

- -

Referenced by ARC_Spritesheet_CreateFromFile().

- -
-
- -

◆ ARC_Spritesheet_GetTileSize()

- -
-
- - - - - - - -
uint32_t * ARC_Spritesheet_GetTileSize (ARC_Spritesheet * spritesheet)
-
- -

Definition at line 46 of file spritesheet.c.

-
46 {
-
47 return spritesheet->size;
-
48}
-
uint32_t * size
Definition spritesheet.h:9
-
-

References ARC_Spritesheet::size.

- -
-
- -

◆ ARC_Spritesheet_RenderArea()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Spritesheet_RenderArea (ARC_Spritesheet * spritesheet,
ARC_Rect * sheetBounds,
ARC_Renderer * renderer,
ARC_Rect * renderBounds )
-
- -

Definition at line 36 of file spritesheet.c.

-
36 {
-
37 SDL_RenderCopy((SDL_Renderer *)renderer, spritesheet->texture, (SDL_Rect *)sheetBounds, (SDL_Rect *)renderBounds);
-
38}
-
-

References ARC_Spritesheet::texture.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d7/d5c/packages_2graphics_2sdl_2spritesheet_8c.js b/doc/doxygen/html/d7/d5c/packages_2graphics_2sdl_2spritesheet_8c.js deleted file mode 100644 index 759b64b..0000000 --- a/doc/doxygen/html/d7/d5c/packages_2graphics_2sdl_2spritesheet_8c.js +++ /dev/null @@ -1,8 +0,0 @@ -var packages_2graphics_2sdl_2spritesheet_8c = -[ - [ "ARC_Spritesheet_CreateFromFile", "d7/d5c/packages_2graphics_2sdl_2spritesheet_8c.html#a07d3eb2716f237551fb29dc425a14870", null ], - [ "ARC_Spritesheet_Destroy", "d7/d5c/packages_2graphics_2sdl_2spritesheet_8c.html#abef4c60c51ed55e11b67c33073092811", null ], - [ "ARC_Spritesheet_GetSize", "d7/d5c/packages_2graphics_2sdl_2spritesheet_8c.html#a87bd15ebf4a1ebebe8f8033dd55c0142", null ], - [ "ARC_Spritesheet_GetTileSize", "d7/d5c/packages_2graphics_2sdl_2spritesheet_8c.html#a6881e1db0e3ccf7aec5b97d59cc558c6", null ], - [ "ARC_Spritesheet_RenderArea", "d7/d5c/packages_2graphics_2sdl_2spritesheet_8c.html#ab2943ba8a63fa94ad9ddff7ecc3b2dc7", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d7/d5c/packages_2graphics_2sdl_2spritesheet_8c_source.html b/doc/doxygen/html/d7/d5c/packages_2graphics_2sdl_2spritesheet_8c_source.html deleted file mode 100644 index 9135d0b..0000000 --- a/doc/doxygen/html/d7/d5c/packages_2graphics_2sdl_2spritesheet_8c_source.html +++ /dev/null @@ -1,205 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/spritesheet.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
spritesheet.c
-
-
-Go to the documentation of this file.
-
2
-
3#include "spritesheet.h"
-
4#include "renderer.h"
-
5#include "arc/math/point.h"
-
6#include <SDL.h>
-
7#include <SDL_image.h>
-
8#include <stdlib.h>
-
9
-
10//TODO: Temp function
-
- -
12 *spritesheet = (ARC_Spritesheet *)malloc(sizeof(ARC_Spritesheet));
-
13
-
14 IMG_Init(IMG_INIT_PNG);
-
15 SDL_Surface *surface = IMG_Load(path->data);
-
16 if(!surface){
-
17 printf("Error: reading png '%s'\nSDL_Image Error: %s", path->data, IMG_GetError());
-
18 }
-
19
-
20 SDL_BlendMode tempMode;
-
21 SDL_GetSurfaceBlendMode(surface, &tempMode);
-
22 (*spritesheet)->texture = SDL_CreateTextureFromSurface((SDL_Renderer *)renderer, surface);
-
23 SDL_GetTextureBlendMode((*spritesheet)->texture, &tempMode);
-
24
-
25 SDL_FreeSurface(surface);
-
26 IMG_Quit();
-
27
-
28 ARC_Spritesheet_GetSize(*spritesheet);
-
29}
-
-
30
-
- -
32 SDL_DestroyTexture(spritesheet->texture);
-
33 free(spritesheet);
-
34}
-
-
35
-
-
36void ARC_Spritesheet_RenderArea(ARC_Spritesheet *spritesheet, ARC_Rect *sheetBounds, ARC_Renderer *renderer, ARC_Rect *renderBounds){
-
37 SDL_RenderCopy((SDL_Renderer *)renderer, spritesheet->texture, (SDL_Rect *)sheetBounds, (SDL_Rect *)renderBounds);
-
38}
-
-
39
-
- -
41 ARC_Point size;
-
42 SDL_QueryTexture(spritesheet->texture, NULL, NULL, &size.x, &size.y);
-
43 return size;
-
44}
-
-
45
-
- -
47 return spritesheet->size;
-
48}
-
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- -
uint32_t * ARC_Spritesheet_GetTileSize(ARC_Spritesheet *spritesheet)
Definition spritesheet.c:46
-
ARC_Point ARC_Spritesheet_GetSize(ARC_Spritesheet *spritesheet)
Definition spritesheet.c:40
-
void ARC_Spritesheet_RenderArea(ARC_Spritesheet *spritesheet, ARC_Rect *sheetBounds, ARC_Renderer *renderer, ARC_Rect *renderBounds)
Definition spritesheet.c:36
- -
void ARC_Spritesheet_CreateFromFile(ARC_Spritesheet **spritesheet, ARC_Renderer *renderer, ARC_String *path)
Definition spritesheet.c:11
-
void ARC_Spritesheet_Destroy(ARC_Spritesheet *spritesheet)
Definition spritesheet.c:31
- - - -
int32_t y
Definition point.h:12
-
int32_t x
Definition point.h:11
- - -
SDL_Texture * texture
Definition spritesheet.h:8
-
uint32_t * size
Definition spritesheet.h:9
-
substring position within a string
Definition string.h:14
-
char * data
Definition string.h:15
-
-
- - - - - - diff --git a/doc/doxygen/html/d7/d5c/tests_8dir_2tests_2std_2parser_8c_8o_8d.html b/doc/doxygen/html/d7/d5c/tests_8dir_2tests_2std_2parser_8c_8o_8d.html deleted file mode 100644 index bd15811..0000000 --- a/doc/doxygen/html/d7/d5c/tests_8dir_2tests_2std_2parser_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/tests/std/parser.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
parser.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d7/d5c/tests_8dir_2tests_2std_2parser_8c_8o_8d_source.html b/doc/doxygen/html/d7/d5c/tests_8dir_2tests_2std_2parser_8c_8o_8d_source.html deleted file mode 100644 index 9f21c2f..0000000 --- a/doc/doxygen/html/d7/d5c/tests_8dir_2tests_2std_2parser_8c_8o_8d_source.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/tests/std/parser.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
parser.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/tests/std/parser.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/tests/std/parser.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/tests/std/../test.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h /usr/include/stdio.h \
-
15 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
16 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
17 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
18 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
19 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
20 /usr/include/bits/types/cookie_io_functions_t.h \
-
21 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
22 /usr/include/bits/floatn-common.h \
-
23 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
24 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
25 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
26 /home/herbglitch/programs/archeus/arc/include/arc/std/parser.h \
-
27 /home/herbglitch/programs/archeus/arc/include/arc/std/array.h \
-
28 /home/herbglitch/programs/archeus/arc/include/arc/std/lexer.h \
-
29 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
30 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
31 /home/herbglitch/programs/archeus/arc/include/arc/std/vector.h \
-
32 /home/herbglitch/programs/archeus/arc/include/arc/std/parser/helpers.h \
-
33 /usr/include/stdlib.h /usr/include/bits/waitflags.h \
-
34 /usr/include/bits/waitstatus.h /usr/include/sys/types.h \
-
35 /usr/include/bits/types/clock_t.h /usr/include/bits/types/clockid_t.h \
-
36 /usr/include/bits/types/time_t.h /usr/include/bits/types/timer_t.h \
-
37 /usr/include/endian.h /usr/include/bits/endian.h \
-
38 /usr/include/bits/endianness.h /usr/include/bits/byteswap.h \
-
39 /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \
-
40 /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \
-
41 /usr/include/bits/types/__sigset_t.h \
-
42 /usr/include/bits/types/struct_timeval.h \
-
43 /usr/include/bits/types/struct_timespec.h \
-
44 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
45 /usr/include/bits/pthreadtypes-arch.h \
-
46 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
47 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
48 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d7/d5d/line_8h.html b/doc/doxygen/html/d7/d5d/line_8h.html deleted file mode 100644 index 313758c..0000000 --- a/doc/doxygen/html/d7/d5d/line_8h.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/line.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
line.h File Reference
-
-
-
#include "arc/graphics/color.h"
-#include "arc/graphics/renderer.h"
-#include "arc/math/rectangle.h"
-#include <stdint.h>
-
-

Go to the source code of this file.

- - - - -

-Functions

void ARC_Line_Render (int32_t *x1, int32_t *y1, int32_t *x2, int32_t *y2, ARC_Renderer *renderer, ARC_Color *color)
 
-

Function Documentation

- -

◆ ARC_Line_Render()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void ARC_Line_Render (int32_t * x1,
int32_t * y1,
int32_t * x2,
int32_t * y2,
ARC_Renderer * renderer,
ARC_Color * color )
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d7/d5d/line_8h.js b/doc/doxygen/html/d7/d5d/line_8h.js deleted file mode 100644 index 88de88f..0000000 --- a/doc/doxygen/html/d7/d5d/line_8h.js +++ /dev/null @@ -1,4 +0,0 @@ -var line_8h = -[ - [ "ARC_Line_Render", "d7/d5d/line_8h.html#a5028c284a7ae3a105523aa12491665b8", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d7/d5d/line_8h_source.html b/doc/doxygen/html/d7/d5d/line_8h_source.html deleted file mode 100644 index 2973380..0000000 --- a/doc/doxygen/html/d7/d5d/line_8h_source.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/line.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
line.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_GRAPHICS_LINE_H_
-
2#define ARC_GRAPHICS_LINE_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
- - -
10#include "arc/math/rectangle.h"
-
11#include <stdint.h>
-
12
-
13void ARC_Line_Render(int32_t *x1, int32_t *y1, int32_t *x2, int32_t *y2, ARC_Renderer *renderer, ARC_Color *color);
-
14
-
15#ifdef __cplusplus
-
16}
-
17#endif
-
18
-
19#endif // !ARC_GRAPHICS_LINE_H_
- -
void ARC_Line_Render(int32_t *x1, int32_t *y1, int32_t *x2, int32_t *y2, ARC_Renderer *renderer, ARC_Color *color)
- - -
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- -
-
- - - - - - diff --git a/doc/doxygen/html/d7/d7c/structARC__ConfigKey.html b/doc/doxygen/html/d7/d7c/structARC__ConfigKey.html deleted file mode 100644 index b22740c..0000000 --- a/doc/doxygen/html/d7/d7c/structARC__ConfigKey.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - - - -Archeus: ARC_ConfigKey Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_ConfigKey Struct Reference
-
-
- - - - - - -

-Data Fields

ARC_ConfigKeyRead Read
 
ARC_ConfigKeyDelete Delete
 
-

Detailed Description

-
-

Definition at line 20 of file config.c.

-

Field Documentation

- -

◆ Delete

- -
-
- - - - -
ARC_ConfigKeyDelete ARC_ConfigKey::Delete
-
- -

Definition at line 22 of file config.c.

- -

Referenced by ARC_Config_AddKey(), ARC_Config_AddKeyCString(), and ARC_Config_LoadFromKey().

- -
-
- -

◆ Read

- -
-
- - - - -
ARC_ConfigKeyRead ARC_ConfigKey::Read
-
- -

Definition at line 21 of file config.c.

- -

Referenced by ARC_Config_AddKey(), ARC_Config_AddKeyCString(), and ARC_Config_LoadFromKey().

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/src/std/config.c
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d7/d7c/structARC__ConfigKey.js b/doc/doxygen/html/d7/d7c/structARC__ConfigKey.js deleted file mode 100644 index 9dd45e6..0000000 --- a/doc/doxygen/html/d7/d7c/structARC__ConfigKey.js +++ /dev/null @@ -1,5 +0,0 @@ -var structARC__ConfigKey = -[ - [ "Delete", "d7/d7c/structARC__ConfigKey.html#a1a1e72e0e31d68c47808a4d406ed3bf6", null ], - [ "Read", "d7/d7c/structARC__ConfigKey.html#a68c9d5e37267c74e2900b7a9d5b2e252", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d7/d80/src_2graphics_2renderer_8c.html b/doc/doxygen/html/d7/d80/src_2graphics_2renderer_8c.html deleted file mode 100644 index 3b16c76..0000000 --- a/doc/doxygen/html/d7/d80/src_2graphics_2renderer_8c.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/renderer.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
renderer.c File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d7/d80/src_2graphics_2renderer_8c_source.html b/doc/doxygen/html/d7/d80/src_2graphics_2renderer_8c_source.html deleted file mode 100644 index 32a6909..0000000 --- a/doc/doxygen/html/d7/d80/src_2graphics_2renderer_8c_source.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/renderer.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
renderer.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_GRAPHICS
-
2
- -
4#include <stdio.h>
-
5
- -
7 printf("No Graphics Backend Selected\n");
-
8}
-
9
- -
11 printf("No Graphics Backend Selected\n");
-
12}
-
13
-
14void ARC_Renderer_Clear(ARC_Renderer *renderer){
-
15 printf("No Graphics Backend Selected\n");
-
16}
-
17
-
18void ARC_Renderer_Render(ARC_Renderer *renderer){
-
19 printf("No Graphics Backend Selected\n");
-
20}
-
21
-
22#endif // !ARC_NONE_GRAPHICS
- -
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
-
void ARC_Renderer_CreateWithEngineData(ARC_Renderer **renderer, ARC_EngineData *data)
creates ARC_Renderer type with ARC_EngineData
Definition renderer.c:10
-
void ARC_Renderer_Clear(ARC_Renderer *renderer)
Definition renderer.c:32
-
void ARC_Renderer_Destroy(ARC_Renderer *renderer)
destroys ARC_Renderer type
Definition renderer.c:28
-
void ARC_Renderer_Render(ARC_Renderer *renderer)
renders the renderer
Definition renderer.c:39
- -
-
- - - - - - diff --git a/doc/doxygen/html/d7/d9d/archeus__std_8dir_2src_2std_2hashtable_8c_8o_8d.html b/doc/doxygen/html/d7/d9d/archeus__std_8dir_2src_2std_2hashtable_8c_8o_8d.html deleted file mode 100644 index e76bab0..0000000 --- a/doc/doxygen/html/d7/d9d/archeus__std_8dir_2src_2std_2hashtable_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/hashtable.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
hashtable.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d7/d9d/archeus__std_8dir_2src_2std_2hashtable_8c_8o_8d_source.html b/doc/doxygen/html/d7/d9d/archeus__std_8dir_2src_2std_2hashtable_8c_8o_8d_source.html deleted file mode 100644 index dd6f034..0000000 --- a/doc/doxygen/html/d7/d9d/archeus__std_8dir_2src_2std_2hashtable_8c_8o_8d_source.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/hashtable.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
hashtable.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/std/hashtable.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/hashtable.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/hashtable.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h \
-
15 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
17 /usr/include/stdio.h \
-
18 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
19 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
20 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
21 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
22 /usr/include/bits/types/cookie_io_functions_t.h \
-
23 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
24 /usr/include/bits/floatn-common.h /usr/include/stdlib.h \
-
25 /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
-
26 /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \
-
27 /usr/include/bits/types/clockid_t.h /usr/include/bits/types/time_t.h \
-
28 /usr/include/bits/types/timer_t.h /usr/include/endian.h \
-
29 /usr/include/bits/endian.h /usr/include/bits/endianness.h \
-
30 /usr/include/bits/byteswap.h /usr/include/bits/uintn-identity.h \
-
31 /usr/include/sys/select.h /usr/include/bits/select.h \
-
32 /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \
-
33 /usr/include/bits/types/struct_timeval.h \
-
34 /usr/include/bits/types/struct_timespec.h \
-
35 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
36 /usr/include/bits/pthreadtypes-arch.h \
-
37 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
38 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
39 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d7/db2/archeus__std_8dir_2src_2graphics_2text_8c_8o_8d.html b/doc/doxygen/html/d7/db2/archeus__std_8dir_2src_2graphics_2text_8c_8o_8d.html deleted file mode 100644 index fd26089..0000000 --- a/doc/doxygen/html/d7/db2/archeus__std_8dir_2src_2graphics_2text_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/graphics/text.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
text.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d7/db2/archeus__std_8dir_2src_2graphics_2text_8c_8o_8d_source.html b/doc/doxygen/html/d7/db2/archeus__std_8dir_2src_2graphics_2text_8c_8o_8d_source.html deleted file mode 100644 index e10736f..0000000 --- a/doc/doxygen/html/d7/db2/archeus__std_8dir_2src_2graphics_2text_8c_8o_8d_source.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/graphics/text.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
text.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/graphics/text.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/graphics/text.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/graphics/text.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h \
-
15 /home/herbglitch/programs/archeus/arc/include/arc/graphics/color.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/graphics/renderer.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
21 /usr/include/stdio.h \
-
22 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
23 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
24 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
25 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
26 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
27 /usr/include/bits/types/cookie_io_functions_t.h \
-
28 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
29 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d7/dd8/packages_2graphics_2opengl_2circle_8c.html b/doc/doxygen/html/d7/dd8/packages_2graphics_2opengl_2circle_8c.html deleted file mode 100644 index 5c5e479..0000000 --- a/doc/doxygen/html/d7/dd8/packages_2graphics_2opengl_2circle_8c.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/opengl/circle.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
circle.c File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d7/dd8/packages_2graphics_2opengl_2circle_8c_source.html b/doc/doxygen/html/d7/dd8/packages_2graphics_2opengl_2circle_8c_source.html deleted file mode 100644 index 75bf387..0000000 --- a/doc/doxygen/html/d7/dd8/packages_2graphics_2opengl_2circle_8c_source.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/opengl/circle.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
circle.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_OPENGL_GRAPHICS
-
2
- -
4#include <stdio.h>
-
5
-
6void ARC_Circle_Render(ARC_Circle *circle, ARC_Renderer *renderer, ARC_Color *color){
-
7 printf("OpenGL Backend Selected\n");
-
8}
-
9
-
10#endif // !ARC_OPENGL_GRAPHICS
- -
void ARC_Circle_Render(ARC_Circle *circle, ARC_Renderer *renderer, ARC_Color *color)
Definition circle.c:6
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- - -
-
- - - - - - diff --git a/doc/doxygen/html/d7/de0/stack_8h.html b/doc/doxygen/html/d7/de0/stack_8h.html deleted file mode 100644 index 0c2f360..0000000 --- a/doc/doxygen/html/d7/de0/stack_8h.html +++ /dev/null @@ -1,305 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/stack.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
stack.h File Reference
-
-
-
#include <stdint.h>
-
-

Go to the source code of this file.

- - - - - -

-Typedefs

typedef struct ARC_Stack ARC_Stack
 a stack type
 
- - - - - - - - - - - - - - - - -

-Functions

void ARC_Stack_Create (ARC_Stack **stack)
 creates ARC_Stack type
 
void ARC_Stack_Destroy (ARC_Stack *stack)
 destroyes ARC_Stack type
 
void ARC_Stack_Push (ARC_Stack *stack, void *data)
 pushes value on stack
 
void * ARC_Stack_Pop (ARC_Stack *stack)
 pops top off of ARC_Stack
 
uint32_t ARC_Stack_Size (ARC_Stack *stack)
 gets size of stack
 
-

Typedef Documentation

- -

◆ ARC_Stack

- -
-
- - - - -
typedef struct ARC_Stack ARC_Stack
-
- -

a stack type

- -

Definition at line 13 of file stack.h.

- -
-
-

Function Documentation

- -

◆ ARC_Stack_Create()

- -
-
- - - - - - - -
void ARC_Stack_Create (ARC_Stack ** stack)
-
- -

creates ARC_Stack type

-
Parameters
- - -
stackARC_Stack to initialize
-
-
- -
-
- -

◆ ARC_Stack_Destroy()

- -
-
- - - - - - - -
void ARC_Stack_Destroy (ARC_Stack * stack)
-
- -

destroyes ARC_Stack type

- -
-
- -

◆ ARC_Stack_Pop()

- -
-
- - - - - - - -
void * ARC_Stack_Pop (ARC_Stack * stack)
-
- -

pops top off of ARC_Stack

-
Parameters
- - -
stackARC_Stack to remove from
-
-
-
Returns
the poped data from the stack as a void *
- -
-
- -

◆ ARC_Stack_Push()

- -
-
- - - - - - - - - - - -
void ARC_Stack_Push (ARC_Stack * stack,
void * data )
-
- -

pushes value on stack

-
Parameters
- - - -
stackARC_Stack to push to
datadata that is being pushed
-
-
- -
-
- -

◆ ARC_Stack_Size()

- -
-
- - - - - - - -
uint32_t ARC_Stack_Size (ARC_Stack * stack)
-
- -

gets size of stack

-
Parameters
- - -
stackARC_Stack to get size from
-
-
-
Returns
the stacks size
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d7/de0/stack_8h.js b/doc/doxygen/html/d7/de0/stack_8h.js deleted file mode 100644 index 6dc09f9..0000000 --- a/doc/doxygen/html/d7/de0/stack_8h.js +++ /dev/null @@ -1,9 +0,0 @@ -var stack_8h = -[ - [ "ARC_Stack", "d7/de0/stack_8h.html#a840a6293c151a8e5a20d942084a4300a", null ], - [ "ARC_Stack_Create", "d7/de0/stack_8h.html#a417d13b0df8a526cf05434eb1a50c5d8", null ], - [ "ARC_Stack_Destroy", "d7/de0/stack_8h.html#ad6676de1da13c329b570551b19b612db", null ], - [ "ARC_Stack_Pop", "d7/de0/stack_8h.html#ad5aca2f0b980d4d6381aab106c080fb7", null ], - [ "ARC_Stack_Push", "d7/de0/stack_8h.html#a5d38f618c864bd60910197d3004a5712", null ], - [ "ARC_Stack_Size", "d7/de0/stack_8h.html#a3912e4fe5a7f15d819bd596d6df4385d", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d7/de0/stack_8h_source.html b/doc/doxygen/html/d7/de0/stack_8h_source.html deleted file mode 100644 index fc44ce9..0000000 --- a/doc/doxygen/html/d7/de0/stack_8h_source.html +++ /dev/null @@ -1,191 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/stack.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
stack.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_STD_STACK_H_
-
2#define ARC_STD_STACK_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include <stdint.h>
-
9
-
10/**
-
11 * @brief a stack type
-
12 */
-
13typedef struct ARC_Stack ARC_Stack;
-
14
-
15/**
-
16 * @brief creates ARC_Stack type
-
17 *
-
18 * @param stack ARC_Stack to initialize
-
19 */
- -
21
-
22/**
-
23 * @brief destroyes ARC_Stack type
-
24 */
- -
26
-
27/**
-
28 * @brief pushes value on stack
-
29 *
-
30 * @param stack ARC_Stack to push to
-
31 * @param data data that is being pushed
-
32 */
-
33void ARC_Stack_Push(ARC_Stack *stack, void *data);
-
34
-
35/**
-
36 * @brief pops top off of ARC_Stack
-
37 *
-
38 * @param stack ARC_Stack to remove from
-
39 *
-
40 * @return the poped data from the stack as a void *
-
41 */
- -
43
-
44/**
-
45 * @brief gets size of stack
-
46 *
-
47 * @param stack ARC_Stack to get size from
-
48 *
-
49 * @return the stacks size
-
50 */
-
51uint32_t ARC_Stack_Size(ARC_Stack *stack);
-
52
-
53#ifdef __cplusplus
-
54}
-
55#endif
-
56
-
57#endif //ARC_STD_STACK_H_
-
uint32_t ARC_Stack_Size(ARC_Stack *stack)
gets size of stack
-
void ARC_Stack_Create(ARC_Stack **stack)
creates ARC_Stack type
-
void ARC_Stack_Push(ARC_Stack *stack, void *data)
pushes value on stack
-
struct ARC_Stack ARC_Stack
a stack type
Definition stack.h:13
-
void * ARC_Stack_Pop(ARC_Stack *stack)
pops top off of ARC_Stack
-
void ARC_Stack_Destroy(ARC_Stack *stack)
destroyes ARC_Stack type
-
-
- - - - - - diff --git a/doc/doxygen/html/d7/de9/archeus__std_8dir_2src_2std_2string_8c_8o_8d.html b/doc/doxygen/html/d7/de9/archeus__std_8dir_2src_2std_2string_8c_8o_8d.html deleted file mode 100644 index ab94c10..0000000 --- a/doc/doxygen/html/d7/de9/archeus__std_8dir_2src_2std_2string_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/string.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
string.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d7/de9/archeus__std_8dir_2src_2std_2string_8c_8o_8d_source.html b/doc/doxygen/html/d7/de9/archeus__std_8dir_2src_2std_2string_8c_8o_8d_source.html deleted file mode 100644 index b67c474..0000000 --- a/doc/doxygen/html/d7/de9/archeus__std_8dir_2src_2std_2string_8c_8o_8d_source.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/string.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
string.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/std/string.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/string.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h \
-
15 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
16 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
19 /usr/include/stdio.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
21 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
22 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
23 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
24 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
25 /usr/include/bits/types/cookie_io_functions_t.h \
-
26 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
27 /usr/include/bits/floatn-common.h /usr/include/string.h \
-
28 /usr/include/bits/types/locale_t.h /usr/include/bits/types/__locale_t.h \
-
29 /usr/include/strings.h /usr/include/stdlib.h \
-
30 /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
-
31 /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \
-
32 /usr/include/bits/types/clockid_t.h /usr/include/bits/types/time_t.h \
-
33 /usr/include/bits/types/timer_t.h /usr/include/endian.h \
-
34 /usr/include/bits/endian.h /usr/include/bits/endianness.h \
-
35 /usr/include/bits/byteswap.h /usr/include/bits/uintn-identity.h \
-
36 /usr/include/sys/select.h /usr/include/bits/select.h \
-
37 /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \
-
38 /usr/include/bits/types/struct_timeval.h \
-
39 /usr/include/bits/types/struct_timespec.h \
-
40 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
41 /usr/include/bits/pthreadtypes-arch.h \
-
42 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
43 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
44 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d7/dea/archeus__std_8dir_2src_2graphics_2renderer_8c_8o_8d.html b/doc/doxygen/html/d7/dea/archeus__std_8dir_2src_2graphics_2renderer_8c_8o_8d.html deleted file mode 100644 index 643d4b2..0000000 --- a/doc/doxygen/html/d7/dea/archeus__std_8dir_2src_2graphics_2renderer_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/graphics/renderer.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
renderer.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d7/dea/archeus__std_8dir_2src_2graphics_2renderer_8c_8o_8d_source.html b/doc/doxygen/html/d7/dea/archeus__std_8dir_2src_2graphics_2renderer_8c_8o_8d_source.html deleted file mode 100644 index cd46492..0000000 --- a/doc/doxygen/html/d7/dea/archeus__std_8dir_2src_2graphics_2renderer_8c_8o_8d_source.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/graphics/renderer.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
renderer.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/graphics/renderer.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/graphics/renderer.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/graphics/renderer.h \
-
5 /usr/include/stdio.h /usr/include/bits/libc-header-start.h \
-
6 /usr/include/features.h /usr/include/features-time64.h \
-
7 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
8 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
9 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
10 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
11 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
12 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
13 /usr/include/bits/time64.h /usr/include/bits/types/__fpos_t.h \
-
14 /usr/include/bits/types/__mbstate_t.h \
-
15 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
16 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
17 /usr/include/bits/types/cookie_io_functions_t.h \
-
18 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
19 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d7/dfb/ssh_8c.html b/doc/doxygen/html/d7/dfb/ssh_8c.html deleted file mode 100644 index 7e05891..0000000 --- a/doc/doxygen/html/d7/dfb/ssh_8c.html +++ /dev/null @@ -1,624 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/networking/libssh/ssh.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ssh.c File Reference
-
-
-
#include "arc/networking/ssh.h"
-#include "arc/std/errno.h"
-#include "arc/std/string.h"
-#include <stdint.h>
-#include <stdlib.h>
-#include <libssh/libssh.h>
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_Ssh
 
- - - - - - - - - - - - - - - - -

-Functions

int verify_knownhost (ssh_session session)
 
void ARC_Ssh_Create (ARC_Ssh **ssh, char *host, char *user, char *password)
 creates ARC_Ssh type
 
void ARC_Ssh_Destroy (ARC_Ssh *ssh)
 destroyes ARC_Ssh type
 
void ARC_Ssh_RunInSession (ARC_Ssh *ssh, ARC_Ssh_SessionFn sessionFn)
 runs a callback function within a ssh session
 
void ARC_Ssh_ExecStrInNewSession (ARC_Ssh *ssh, char *command)
 
ARC_StringARC_Ssh_ExecStrInNewSessionAndGetResponse (ARC_Ssh *ssh, char *command)
 
-

Function Documentation

- -

◆ ARC_Ssh_Create()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Ssh_Create (ARC_Ssh ** ssh,
char * host,
char * user,
char * password )
-
- -

creates ARC_Ssh type

-
Parameters
- - -
sshARC_Ssh to create
-
-
- -

Definition at line 94 of file ssh.c.

-
94 {
-
95 *ssh = (ARC_Ssh *)malloc(sizeof(ARC_Ssh));
-
96
-
97 (*ssh)->session = ssh_new();
-
98 if((*ssh)->session == NULL){
- -
100 ARC_DEBUG_ERR("ARC_Ssh_Create(ssh), ssh session could not be created\n");
-
101 free(*ssh);
-
102 *ssh = NULL;
-
103 return;
-
104 }
-
105
-
106 if(host != NULL){
-
107 ssh_options_set((*ssh)->session, SSH_OPTIONS_HOST, host);
-
108 }
-
109
-
110 if(user != NULL){
-
111 ssh_options_set((*ssh)->session, SSH_OPTIONS_USER, user);
-
112 }
-
113
-
114 int32_t returnCode = ssh_connect((*ssh)->session);
-
115 if(returnCode != SSH_OK){
- -
117 ARC_DEBUG_LOG(arc_errno, "ARC_Ssh_Create(ssh), ssh failed to connect to localhost: %s\n", ssh_get_error((*ssh)->session));
-
118 ssh_free((*ssh)->session);
-
119 free(*ssh);
-
120 *ssh = NULL;
-
121 return;
-
122 }
-
123
-
124 if(verify_knownhost((*ssh)->session) < 0){
- -
126 ARC_DEBUG_ERR("ARC_Ssh_Create(ssh), ssh failed to verify knownhost\n");
-
127 ssh_disconnect((*ssh)->session);
-
128 ssh_free((*ssh)->session);
-
129 free(*ssh);
-
130 *ssh = NULL;
-
131 }
-
132
-
133 //if no password is provided try to connect with a public key
-
134 if(password == NULL){
-
135 returnCode = ssh_userauth_publickey_auto((*ssh)->session, NULL, NULL);
-
136 if(returnCode != SSH_AUTH_SUCCESS){
- -
138 ARC_DEBUG_LOG(arc_errno, "ARC_Ssh_Create(ssh), ssh failed to authenticate with password: %s\n", ssh_get_error((*ssh)->session));
-
139 ssh_disconnect((*ssh)->session);
-
140 ssh_free((*ssh)->session);
-
141 free(*ssh);
-
142 *ssh = NULL;
-
143 }
-
144
-
145 ssh_send_ignore((*ssh)->session, "mpv https://youtu.be/1P5BSm_oFJg --input-ipc-server=/tmp/mpvsocket --no-terminal & disown");
-
146
-
147 return;
-
148 }
-
149
-
150 //try connecting with password
-
151 returnCode = ssh_userauth_password((*ssh)->session, NULL, password);
-
152 if(returnCode != SSH_AUTH_SUCCESS){
- -
154 ARC_DEBUG_LOG(arc_errno, "ARC_Ssh_Create(ssh), ssh failed to authenticate with password: %s\n", ssh_get_error((*ssh)->session));
-
155 ssh_disconnect((*ssh)->session);
-
156 ssh_free((*ssh)->session);
-
157 free(*ssh);
-
158 *ssh = NULL;
-
159 }
-
160}
-
#define ARC_ERRNO_CONNECTION
Definition errno.h:12
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
int verify_knownhost(ssh_session session)
Definition ssh.c:15
-
Definition ssh.c:11
-
ssh_session session
Definition ssh.c:12
-
-

References arc_errno, ARC_ERRNO_CONNECTION, ARC_ERRNO_NULL, ARC_Ssh::session, and verify_knownhost().

- -
-
- -

◆ ARC_Ssh_Destroy()

- -
-
- - - - - - - -
void ARC_Ssh_Destroy (ARC_Ssh * ssh)
-
- -

destroyes ARC_Ssh type

-
Parameters
- - -
sshARC_Ssh to destroy
-
-
- -

Definition at line 162 of file ssh.c.

-
162 {
-
163 if(ssh == NULL){
-
164 return;
-
165 }
-
166
-
167 ssh_disconnect(ssh->session);
-
168 ssh_free(ssh->session);
-
169 free(ssh);
-
170}
-
-

References ARC_Ssh::session.

- -
-
- -

◆ ARC_Ssh_ExecStrInNewSession()

- -
-
- - - - - - - - - - - -
void ARC_Ssh_ExecStrInNewSession (ARC_Ssh * ssh,
char * command )
-
- -

Definition at line 199 of file ssh.c.

-
199 {
-
200 ssh_channel channel;
-
201 channel = ssh_channel_new(ssh->session);
-
202 if(channel == NULL){
- -
204 ARC_DEBUG_ERR("ARC_Ssh_RunInSession(ssh, sessionFn), ssh failed to create channel\n");
-
205 return;
-
206 }
-
207
-
208 int32_t returnCode = ssh_channel_open_session(channel);
-
209 if(returnCode != SSH_OK){
-
210 ssh_channel_free(channel);
- -
212 ARC_DEBUG_LOG(arc_errno, "ARC_Ssh_RunInSession(ssh, sessionFn), ssh failed to open session with return code: %d\n", returnCode);
-
213 return;
-
214 }
-
215
-
216 returnCode = ssh_channel_request_exec(channel, command);
-
217 if(returnCode != SSH_OK){
- -
219 ARC_DEBUG_LOG(arc_errno, "ARC_Ssh_RunInSession(ssh, sessionFn), ssh failed when executing command with error code: %d\n", returnCode);
-
220 }
-
221
-
222 ssh_channel_send_eof(channel);
-
223 ssh_channel_close(channel);
-
224 ssh_channel_free(channel);
-
225}
-
#define ARC_ERRNO_DATA
Definition errno.h:7
-
-

References arc_errno, ARC_ERRNO_CONNECTION, ARC_ERRNO_DATA, ARC_ERRNO_NULL, and ARC_Ssh::session.

- -
-
- -

◆ ARC_Ssh_ExecStrInNewSessionAndGetResponse()

- -
-
- - - - - - - - - - - -
ARC_String * ARC_Ssh_ExecStrInNewSessionAndGetResponse (ARC_Ssh * ssh,
char * command )
-
- -

Definition at line 227 of file ssh.c.

-
227 {
-
228 ssh_channel channel;
-
229 channel = ssh_channel_new(ssh->session);
-
230 if(channel == NULL){
- -
232 ARC_DEBUG_ERR("ARC_Ssh_RunInSession(ssh, sessionFn), ssh failed to create channel\n");
-
233 return NULL;
-
234 }
-
235
-
236 int32_t returnCode = ssh_channel_open_session(channel);
-
237 if(returnCode != SSH_OK){
-
238 ssh_channel_free(channel);
- -
240 ARC_DEBUG_LOG(arc_errno, "ARC_Ssh_RunInSession(ssh, sessionFn), ssh failed to open session with return code: %d\n", returnCode);
-
241 return NULL;
-
242 }
-
243
-
244 returnCode = ssh_channel_request_exec(channel, command);
-
245 if(returnCode != SSH_OK){
-
246 ssh_channel_close(channel);
-
247 ssh_channel_free(channel);
- -
249 ARC_DEBUG_LOG(arc_errno, "ARC_Ssh_RunInSession(ssh, sessionFn), ssh failed when executing command with error code: %d\n", returnCode);
-
250 return NULL;
-
251 }
-
252
-
253 //this is taken from https://api.libssh.org/master/libssh_tutor_command.html
-
254 char buffer[256];
-
255 int32_t bytesSize;
-
256
-
257 ARC_String *returnString = NULL;
-
258
-
259 bytesSize = ssh_channel_read(channel, buffer, sizeof(buffer), 0);
-
260 while(bytesSize > 0){
-
261 if(returnString == NULL){
-
262 ARC_String_Create(&returnString, buffer, bytesSize);
-
263
-
264 bytesSize = ssh_channel_read(channel, buffer, sizeof(buffer), 0);
-
265 continue;
-
266 }
-
267
-
268 ARC_String_AppendCString(&returnString, (const char *)buffer, bytesSize);
-
269
-
270 bytesSize = ssh_channel_read(channel, buffer, sizeof(buffer), 0);
-
271 }
-
272
-
273 if(bytesSize < 0){
-
274 ssh_channel_close(channel);
-
275 ssh_channel_free(channel);
- -
277 ARC_DEBUG_ERR("ARC_Ssh_RunInSession(ssh, sessionFn), ssh failed when reading bytes from channel\n");
-
278
-
279 if(returnString != NULL){
-
280 ARC_String_Destroy(returnString);
-
281 }
-
282
-
283 return NULL;
-
284 }
-
285
-
286 ssh_channel_send_eof(channel);
-
287 ssh_channel_close(channel);
-
288 ssh_channel_free(channel);
-
289
-
290 return returnString;
-
291}
-
void ARC_String_AppendCString(ARC_String **string, const char *cstring, uint64_t length)
appends to an ARC_String with an ARC_String
Definition string.c:130
-
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
substring position within a string
Definition string.h:14
-
-

References arc_errno, ARC_ERRNO_CONNECTION, ARC_ERRNO_DATA, ARC_ERRNO_NULL, ARC_String_AppendCString(), ARC_String_Create(), ARC_String_Destroy(), and ARC_Ssh::session.

- -
-
- -

◆ ARC_Ssh_RunInSession()

- -
-
- - - - - - - - - - - -
void ARC_Ssh_RunInSession (ARC_Ssh * ssh,
ARC_Ssh_SessionFn sessionFn )
-
- -

runs a callback function within a ssh session

-
Parameters
- - - -
sshARC_Ssh to create and run function in ssh session
sessionFNcallback to run in a ssh session
-
-
- -

Definition at line 172 of file ssh.c.

-
172 {
-
173 ssh_channel channel;
-
174
-
175 channel = ssh_channel_new(ssh->session);
-
176 if(channel == NULL){
- -
178 ARC_DEBUG_ERR("ARC_Ssh_RunInSession(ssh, sessionFn), ssh failed to create channel\n");
-
179 return;
-
180 }
-
181
-
182 int32_t returnCode = ssh_channel_open_session(channel);
-
183 if(returnCode != SSH_OK){
-
184 ssh_channel_free(channel);
- -
186 ARC_DEBUG_LOG(arc_errno, "ARC_Ssh_RunInSession(ssh, sessionFn), ssh failed to open session with return code: %d\n", returnCode);
-
187 return;
-
188 }
-
189
-
190 // sessionFn(ssh, );
-
191 returnCode = ssh_channel_request_exec(channel, "export DISPLAY=:0 ; volume --inc");
-
192 printf("return code: %d\n", returnCode);
-
193
-
194 ssh_channel_send_eof(channel);
-
195 ssh_channel_close(channel);
-
196 ssh_channel_free(channel);
-
197}
-
-

References arc_errno, ARC_ERRNO_CONNECTION, ARC_ERRNO_NULL, and ARC_Ssh::session.

- -
-
- -

◆ verify_knownhost()

- -
-
- - - - - - - -
int verify_knownhost (ssh_session session)
-
- -

Definition at line 15 of file ssh.c.

-
15 {
-
16 enum ssh_known_hosts_e state;
-
17 unsigned char *hash = NULL;
-
18 ssh_key srv_pubkey = NULL;
-
19 size_t hlen;
-
20 char buf[10];
-
21 char *hexa;
-
22 char *p;
-
23 int cmp;
-
24 int rc;
-
25
-
26 rc = ssh_get_server_publickey(session, &srv_pubkey);
-
27 if(rc < 0){
-
28 return -1;
-
29 }
-
30
-
31 rc = ssh_get_publickey_hash(srv_pubkey, SSH_PUBLICKEY_HASH_SHA1, &hash, &hlen);
-
32 ssh_key_free(srv_pubkey);
-
33 if(rc < 0){
-
34 return -1;
-
35 }
-
36
-
37 state = ssh_session_is_known_server(session);
-
38 switch(state){
-
39 case SSH_KNOWN_HOSTS_OK:
-
40 /* OK */
-
41 break;
-
42
-
43 case SSH_KNOWN_HOSTS_CHANGED:
-
44 fprintf(stderr, "Host key for server changed: it is now:\n");
-
45 //ssh_print_hexa("Public key hash", hash, hlen);
-
46 fprintf(stderr, "For security reasons, connection will be stopped\n");
-
47 ssh_clean_pubkey_hash(&hash);
-
48 return -1;
-
49
-
50 case SSH_KNOWN_HOSTS_OTHER:
-
51 fprintf(stderr, "The host key for this server was not found but an other type of key exists.\n");
-
52 fprintf(stderr, "An attacker might change the default server key to confuse your client into thinking the key does not exist\n");
-
53 ssh_clean_pubkey_hash(&hash);
-
54 return -1;
-
55
-
56 case SSH_KNOWN_HOSTS_NOT_FOUND:
-
57 fprintf(stderr, "Could not find known host file.\n");
-
58 fprintf(stderr, "If you accept the host key here, the file will be automatically created.\n");
-
59 /* FALL THROUGH to SSH_SERVER_NOT_KNOWN behavior */
-
60
-
61 case SSH_KNOWN_HOSTS_UNKNOWN:
-
62 hexa = ssh_get_hexa(hash, hlen);
-
63 fprintf(stderr,"The server is unknown. Do you trust the host key?\n");
-
64 fprintf(stderr, "Public key hash: %s\n", hexa);
-
65 ssh_string_free_char(hexa);
-
66 ssh_clean_pubkey_hash(&hash);
-
67 p = fgets(buf, sizeof(buf), stdin);
-
68 if(p == NULL){
-
69 return -1;
-
70 }
-
71
-
72 cmp = strncasecmp(buf, "yes", 3);
-
73 if(cmp != 0){
-
74 return -1;
-
75 }
-
76
-
77 rc = ssh_session_update_known_hosts(session);
-
78 if(rc < 0){
-
79 fprintf(stderr, "Error %s\n", strerror(errno));
-
80 return -1;
-
81 }
-
82 break;
-
83
-
84 case SSH_KNOWN_HOSTS_ERROR:
-
85 fprintf(stderr, "Error %s", ssh_get_error(session));
-
86 ssh_clean_pubkey_hash(&hash);
-
87 return -1;
-
88 }
-
89
-
90 ssh_clean_pubkey_hash(&hash);
-
91 return 0;
-
92}
-
-

Referenced by ARC_Ssh_Create().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d7/dfb/ssh_8c.js b/doc/doxygen/html/d7/dfb/ssh_8c.js deleted file mode 100644 index 928614e..0000000 --- a/doc/doxygen/html/d7/dfb/ssh_8c.js +++ /dev/null @@ -1,10 +0,0 @@ -var ssh_8c = -[ - [ "ARC_Ssh", "d8/d43/structARC__Ssh.html", "d8/d43/structARC__Ssh" ], - [ "ARC_Ssh_Create", "d7/dfb/ssh_8c.html#ad489e520aa92d284e50db127e1e8157a", null ], - [ "ARC_Ssh_Destroy", "d7/dfb/ssh_8c.html#a08efa4bb06634fc63432bee3f0cafbc1", null ], - [ "ARC_Ssh_ExecStrInNewSession", "d7/dfb/ssh_8c.html#a1e5f9b0c05c7e9b9d99430dc05ef02b3", null ], - [ "ARC_Ssh_ExecStrInNewSessionAndGetResponse", "d7/dfb/ssh_8c.html#a1cc4737620480eb72a38fd0bbc84a9d2", null ], - [ "ARC_Ssh_RunInSession", "d7/dfb/ssh_8c.html#a611049154ff185c551929068f3d0270a", null ], - [ "verify_knownhost", "d7/dfb/ssh_8c.html#ad5d8ab97d3635ecaf8fa78225cb960fb", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d7/dfb/ssh_8c_source.html b/doc/doxygen/html/d7/dfb/ssh_8c_source.html deleted file mode 100644 index 011cf2b..0000000 --- a/doc/doxygen/html/d7/dfb/ssh_8c_source.html +++ /dev/null @@ -1,453 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/networking/libssh/ssh.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
ssh.c
-
-
-Go to the documentation of this file.
-
2
-
3#include "arc/std/errno.h"
-
4#include "arc/std/string.h"
-
5#include <stdint.h>
-
6#include <stdlib.h>
-
7#include <libssh/libssh.h>
-
8#include <errno.h>
-
9#include <string.h>
-
10
-
-
11struct ARC_Ssh {
-
12 ssh_session session;
-
13};
-
-
14
-
-
15int verify_knownhost(ssh_session session){
-
16 enum ssh_known_hosts_e state;
-
17 unsigned char *hash = NULL;
-
18 ssh_key srv_pubkey = NULL;
-
19 size_t hlen;
-
20 char buf[10];
-
21 char *hexa;
-
22 char *p;
-
23 int cmp;
-
24 int rc;
-
25
-
26 rc = ssh_get_server_publickey(session, &srv_pubkey);
-
27 if(rc < 0){
-
28 return -1;
-
29 }
-
30
-
31 rc = ssh_get_publickey_hash(srv_pubkey, SSH_PUBLICKEY_HASH_SHA1, &hash, &hlen);
-
32 ssh_key_free(srv_pubkey);
-
33 if(rc < 0){
-
34 return -1;
-
35 }
-
36
-
37 state = ssh_session_is_known_server(session);
-
38 switch(state){
-
39 case SSH_KNOWN_HOSTS_OK:
-
40 /* OK */
-
41 break;
-
42
-
43 case SSH_KNOWN_HOSTS_CHANGED:
-
44 fprintf(stderr, "Host key for server changed: it is now:\n");
-
45 //ssh_print_hexa("Public key hash", hash, hlen);
-
46 fprintf(stderr, "For security reasons, connection will be stopped\n");
-
47 ssh_clean_pubkey_hash(&hash);
-
48 return -1;
-
49
-
50 case SSH_KNOWN_HOSTS_OTHER:
-
51 fprintf(stderr, "The host key for this server was not found but an other type of key exists.\n");
-
52 fprintf(stderr, "An attacker might change the default server key to confuse your client into thinking the key does not exist\n");
-
53 ssh_clean_pubkey_hash(&hash);
-
54 return -1;
-
55
-
56 case SSH_KNOWN_HOSTS_NOT_FOUND:
-
57 fprintf(stderr, "Could not find known host file.\n");
-
58 fprintf(stderr, "If you accept the host key here, the file will be automatically created.\n");
-
59 /* FALL THROUGH to SSH_SERVER_NOT_KNOWN behavior */
-
60
-
61 case SSH_KNOWN_HOSTS_UNKNOWN:
-
62 hexa = ssh_get_hexa(hash, hlen);
-
63 fprintf(stderr,"The server is unknown. Do you trust the host key?\n");
-
64 fprintf(stderr, "Public key hash: %s\n", hexa);
-
65 ssh_string_free_char(hexa);
-
66 ssh_clean_pubkey_hash(&hash);
-
67 p = fgets(buf, sizeof(buf), stdin);
-
68 if(p == NULL){
-
69 return -1;
-
70 }
-
71
-
72 cmp = strncasecmp(buf, "yes", 3);
-
73 if(cmp != 0){
-
74 return -1;
-
75 }
-
76
-
77 rc = ssh_session_update_known_hosts(session);
-
78 if(rc < 0){
-
79 fprintf(stderr, "Error %s\n", strerror(errno));
-
80 return -1;
-
81 }
-
82 break;
-
83
-
84 case SSH_KNOWN_HOSTS_ERROR:
-
85 fprintf(stderr, "Error %s", ssh_get_error(session));
-
86 ssh_clean_pubkey_hash(&hash);
-
87 return -1;
-
88 }
-
89
-
90 ssh_clean_pubkey_hash(&hash);
-
91 return 0;
-
92}
-
-
93
-
-
94void ARC_Ssh_Create(ARC_Ssh **ssh, char *host, char *user, char *password){
-
95 *ssh = (ARC_Ssh *)malloc(sizeof(ARC_Ssh));
-
96
-
97 (*ssh)->session = ssh_new();
-
98 if((*ssh)->session == NULL){
- -
100 ARC_DEBUG_ERR("ARC_Ssh_Create(ssh), ssh session could not be created\n");
-
101 free(*ssh);
-
102 *ssh = NULL;
-
103 return;
-
104 }
-
105
-
106 if(host != NULL){
-
107 ssh_options_set((*ssh)->session, SSH_OPTIONS_HOST, host);
-
108 }
-
109
-
110 if(user != NULL){
-
111 ssh_options_set((*ssh)->session, SSH_OPTIONS_USER, user);
-
112 }
-
113
-
114 int32_t returnCode = ssh_connect((*ssh)->session);
-
115 if(returnCode != SSH_OK){
- -
117 ARC_DEBUG_LOG(arc_errno, "ARC_Ssh_Create(ssh), ssh failed to connect to localhost: %s\n", ssh_get_error((*ssh)->session));
-
118 ssh_free((*ssh)->session);
-
119 free(*ssh);
-
120 *ssh = NULL;
-
121 return;
-
122 }
-
123
-
124 if(verify_knownhost((*ssh)->session) < 0){
- -
126 ARC_DEBUG_ERR("ARC_Ssh_Create(ssh), ssh failed to verify knownhost\n");
-
127 ssh_disconnect((*ssh)->session);
-
128 ssh_free((*ssh)->session);
-
129 free(*ssh);
-
130 *ssh = NULL;
-
131 }
-
132
-
133 //if no password is provided try to connect with a public key
-
134 if(password == NULL){
-
135 returnCode = ssh_userauth_publickey_auto((*ssh)->session, NULL, NULL);
-
136 if(returnCode != SSH_AUTH_SUCCESS){
- -
138 ARC_DEBUG_LOG(arc_errno, "ARC_Ssh_Create(ssh), ssh failed to authenticate with password: %s\n", ssh_get_error((*ssh)->session));
-
139 ssh_disconnect((*ssh)->session);
-
140 ssh_free((*ssh)->session);
-
141 free(*ssh);
-
142 *ssh = NULL;
-
143 }
-
144
-
145 ssh_send_ignore((*ssh)->session, "mpv https://youtu.be/1P5BSm_oFJg --input-ipc-server=/tmp/mpvsocket --no-terminal & disown");
-
146
-
147 return;
-
148 }
-
149
-
150 //try connecting with password
-
151 returnCode = ssh_userauth_password((*ssh)->session, NULL, password);
-
152 if(returnCode != SSH_AUTH_SUCCESS){
- -
154 ARC_DEBUG_LOG(arc_errno, "ARC_Ssh_Create(ssh), ssh failed to authenticate with password: %s\n", ssh_get_error((*ssh)->session));
-
155 ssh_disconnect((*ssh)->session);
-
156 ssh_free((*ssh)->session);
-
157 free(*ssh);
-
158 *ssh = NULL;
-
159 }
-
160}
-
-
161
-
- -
163 if(ssh == NULL){
-
164 return;
-
165 }
-
166
-
167 ssh_disconnect(ssh->session);
-
168 ssh_free(ssh->session);
-
169 free(ssh);
-
170}
-
-
171
-
- -
173 ssh_channel channel;
-
174
-
175 channel = ssh_channel_new(ssh->session);
-
176 if(channel == NULL){
- -
178 ARC_DEBUG_ERR("ARC_Ssh_RunInSession(ssh, sessionFn), ssh failed to create channel\n");
-
179 return;
-
180 }
-
181
-
182 int32_t returnCode = ssh_channel_open_session(channel);
-
183 if(returnCode != SSH_OK){
-
184 ssh_channel_free(channel);
- -
186 ARC_DEBUG_LOG(arc_errno, "ARC_Ssh_RunInSession(ssh, sessionFn), ssh failed to open session with return code: %d\n", returnCode);
-
187 return;
-
188 }
-
189
-
190 // sessionFn(ssh, );
-
191 returnCode = ssh_channel_request_exec(channel, "export DISPLAY=:0 ; volume --inc");
-
192 printf("return code: %d\n", returnCode);
-
193
-
194 ssh_channel_send_eof(channel);
-
195 ssh_channel_close(channel);
-
196 ssh_channel_free(channel);
-
197}
-
-
198
-
-
199void ARC_Ssh_ExecStrInNewSession(ARC_Ssh *ssh, char *command){
-
200 ssh_channel channel;
-
201 channel = ssh_channel_new(ssh->session);
-
202 if(channel == NULL){
- -
204 ARC_DEBUG_ERR("ARC_Ssh_RunInSession(ssh, sessionFn), ssh failed to create channel\n");
-
205 return;
-
206 }
-
207
-
208 int32_t returnCode = ssh_channel_open_session(channel);
-
209 if(returnCode != SSH_OK){
-
210 ssh_channel_free(channel);
- -
212 ARC_DEBUG_LOG(arc_errno, "ARC_Ssh_RunInSession(ssh, sessionFn), ssh failed to open session with return code: %d\n", returnCode);
-
213 return;
-
214 }
-
215
-
216 returnCode = ssh_channel_request_exec(channel, command);
-
217 if(returnCode != SSH_OK){
- -
219 ARC_DEBUG_LOG(arc_errno, "ARC_Ssh_RunInSession(ssh, sessionFn), ssh failed when executing command with error code: %d\n", returnCode);
-
220 }
-
221
-
222 ssh_channel_send_eof(channel);
-
223 ssh_channel_close(channel);
-
224 ssh_channel_free(channel);
-
225}
-
-
226
-
- -
228 ssh_channel channel;
-
229 channel = ssh_channel_new(ssh->session);
-
230 if(channel == NULL){
- -
232 ARC_DEBUG_ERR("ARC_Ssh_RunInSession(ssh, sessionFn), ssh failed to create channel\n");
-
233 return NULL;
-
234 }
-
235
-
236 int32_t returnCode = ssh_channel_open_session(channel);
-
237 if(returnCode != SSH_OK){
-
238 ssh_channel_free(channel);
- -
240 ARC_DEBUG_LOG(arc_errno, "ARC_Ssh_RunInSession(ssh, sessionFn), ssh failed to open session with return code: %d\n", returnCode);
-
241 return NULL;
-
242 }
-
243
-
244 returnCode = ssh_channel_request_exec(channel, command);
-
245 if(returnCode != SSH_OK){
-
246 ssh_channel_close(channel);
-
247 ssh_channel_free(channel);
- -
249 ARC_DEBUG_LOG(arc_errno, "ARC_Ssh_RunInSession(ssh, sessionFn), ssh failed when executing command with error code: %d\n", returnCode);
-
250 return NULL;
-
251 }
-
252
-
253 //this is taken from https://api.libssh.org/master/libssh_tutor_command.html
-
254 char buffer[256];
-
255 int32_t bytesSize;
-
256
-
257 ARC_String *returnString = NULL;
-
258
-
259 bytesSize = ssh_channel_read(channel, buffer, sizeof(buffer), 0);
-
260 while(bytesSize > 0){
-
261 if(returnString == NULL){
-
262 ARC_String_Create(&returnString, buffer, bytesSize);
-
263
-
264 bytesSize = ssh_channel_read(channel, buffer, sizeof(buffer), 0);
-
265 continue;
-
266 }
-
267
-
268 ARC_String_AppendCString(&returnString, (const char *)buffer, bytesSize);
-
269
-
270 bytesSize = ssh_channel_read(channel, buffer, sizeof(buffer), 0);
-
271 }
-
272
-
273 if(bytesSize < 0){
-
274 ssh_channel_close(channel);
-
275 ssh_channel_free(channel);
- -
277 ARC_DEBUG_ERR("ARC_Ssh_RunInSession(ssh, sessionFn), ssh failed when reading bytes from channel\n");
-
278
-
279 if(returnString != NULL){
-
280 ARC_String_Destroy(returnString);
-
281 }
-
282
-
283 return NULL;
-
284 }
-
285
-
286 ssh_channel_send_eof(channel);
-
287 ssh_channel_close(channel);
-
288 ssh_channel_free(channel);
-
289
-
290 return returnString;
-
291}
-
- -
#define ARC_ERRNO_CONNECTION
Definition errno.h:12
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
#define ARC_ERRNO_DATA
Definition errno.h:7
-
void ARC_Ssh_Destroy(ARC_Ssh *ssh)
destroyes ARC_Ssh type
Definition ssh.c:162
-
ARC_String * ARC_Ssh_ExecStrInNewSessionAndGetResponse(ARC_Ssh *ssh, char *command)
Definition ssh.c:227
-
void ARC_Ssh_ExecStrInNewSession(ARC_Ssh *ssh, char *command)
Definition ssh.c:199
-
void ARC_Ssh_RunInSession(ARC_Ssh *ssh, ARC_Ssh_SessionFn sessionFn)
runs a callback function within a ssh session
Definition ssh.c:172
-
void ARC_Ssh_Create(ARC_Ssh **ssh, char *host, char *user, char *password)
creates ARC_Ssh type
Definition ssh.c:94
-
int verify_knownhost(ssh_session session)
Definition ssh.c:15
- -
void(* ARC_Ssh_SessionFn)(void *data)
a ssh session function
Definition ssh.h:20
- -
void ARC_String_AppendCString(ARC_String **string, const char *cstring, uint64_t length)
appends to an ARC_String with an ARC_String
Definition string.c:130
-
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
Definition ssh.c:11
-
ssh_session session
Definition ssh.c:12
-
substring position within a string
Definition string.h:14
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/d04/packages_2graphics_2sdl_2renderer_8c.html b/doc/doxygen/html/d8/d04/packages_2graphics_2sdl_2renderer_8c.html deleted file mode 100644 index 1d017fe..0000000 --- a/doc/doxygen/html/d8/d04/packages_2graphics_2sdl_2renderer_8c.html +++ /dev/null @@ -1,314 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/renderer.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
renderer.c File Reference
-
-
-
#include "arc/graphics/renderer.h"
-#include "renderer.h"
-#include <SDL.h>
-#include <stdlib.h>
-#include "arc/engine/engine.h"
-#include "arc/graphics/window.h"
-#include "arc/std/errno.h"
-
-

Go to the source code of this file.

- - - - - - - - - - - - - -

-Functions

void ARC_Renderer_CreateWithEngineData (ARC_Renderer **renderer, ARC_EngineData *data)
 creates ARC_Renderer type with ARC_EngineData
 
void ARC_Renderer_Destroy (ARC_Renderer *renderer)
 destroys ARC_Renderer type
 
void ARC_Renderer_Clear (ARC_Renderer *renderer)
 
void ARC_Renderer_Render (ARC_Renderer *renderer)
 renders the renderer
 
-

Function Documentation

- -

◆ ARC_Renderer_Clear()

- -
-
- - - - - - - -
void ARC_Renderer_Clear (ARC_Renderer * renderer)
-
-

@breif clears the renderer

-
Parameters
- - -
rendererthe renderer to clear
-
-
- -

Definition at line 32 of file renderer.c.

-
32 {
-
33 //TODO: changed for school, also need to add the ability to change render draw color
-
34 //SDL_SetRenderDrawColor((SDL_Renderer *)renderer, 0x1c, 0x2c, 0x3c, 0x00);
-
35 SDL_SetRenderDrawColor((SDL_Renderer *)renderer, 0x15, 0x2a, 0x26, 0x00);
-
36 SDL_RenderClear((SDL_Renderer *)renderer);
-
37}
-
-

Referenced by ARC_Engine_RunUncapped().

- -
-
- -

◆ ARC_Renderer_CreateWithEngineData()

- -
-
- - - - - - - - - - - -
void ARC_Renderer_CreateWithEngineData (ARC_Renderer ** renderer,
ARC_EngineData * data )
-
- -

creates ARC_Renderer type with ARC_EngineData

-
Note
the parameter data is determined by which graphics library you are using please refer to the graphics library section to see what needs to be passed
-
Parameters
- - - -
rendererARC_Renderer to initialize
datathe engine data to create from
-
-
- -

Definition at line 10 of file renderer.c.

-
10 {
-
11 if(!data){
- -
13 ARC_DEBUG_LOG_ERROR("ARC_Renderer_CreateWithEngineData(**renderer, NULL)");
-
14 return;
-
15 }
-
16
-
17 *renderer = (ARC_Renderer *)SDL_CreateRenderer((SDL_Window *)(data->window), -1, SDL_RENDERER_ACCELERATED);
-
18
-
19 if(!*renderer){
- -
21 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("SDL_CreateRenderer(%p, %d, %u);", data->window, -1, SDL_RENDERER_ACCELERATED);
-
22 free(renderer);
-
23 }
-
24
-
25 SDL_SetRenderDrawBlendMode((SDL_Renderer *)*renderer, SDL_BLENDMODE_BLEND);
-
26}
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
-
ARC_Window * window
Definition engine.h:18
-
-

References ARC_DEBUG_LOG_ERROR, ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_NULL, and ARC_EngineData::window.

- -

Referenced by ARC_EngineData_Create().

- -
-
- -

◆ ARC_Renderer_Destroy()

- -
-
- - - - - - - -
void ARC_Renderer_Destroy (ARC_Renderer * renderer)
-
- -

destroys ARC_Renderer type

-
Parameters
- - -
rendererARC_Renderer to destory
-
-
- -

Definition at line 28 of file renderer.c.

-
28 {
-
29 SDL_DestroyRenderer((SDL_Renderer *) renderer);
-
30}
-
-

Referenced by ARC_EngineData_Destroy().

- -
-
- -

◆ ARC_Renderer_Render()

- -
-
- - - - - - - -
void ARC_Renderer_Render (ARC_Renderer * renderer)
-
- -

renders the renderer

-
Note
the renderer will most likely be drawn to from ARC_EngineData
-
Parameters
- - -
rendererthe renderer to render
-
-
- -

Definition at line 39 of file renderer.c.

-
39 {
-
40 SDL_RenderPresent((SDL_Renderer *)renderer);
-
41}
-
-

Referenced by ARC_Engine_RunUncapped().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/d04/packages_2graphics_2sdl_2renderer_8c.js b/doc/doxygen/html/d8/d04/packages_2graphics_2sdl_2renderer_8c.js deleted file mode 100644 index aa271a6..0000000 --- a/doc/doxygen/html/d8/d04/packages_2graphics_2sdl_2renderer_8c.js +++ /dev/null @@ -1,7 +0,0 @@ -var packages_2graphics_2sdl_2renderer_8c = -[ - [ "ARC_Renderer_Clear", "d8/d04/packages_2graphics_2sdl_2renderer_8c.html#a658b3d0b45be17d35a4ba6f58c6c410d", null ], - [ "ARC_Renderer_CreateWithEngineData", "d8/d04/packages_2graphics_2sdl_2renderer_8c.html#a498204d28a753ae15b67962960ddca04", null ], - [ "ARC_Renderer_Destroy", "d8/d04/packages_2graphics_2sdl_2renderer_8c.html#abc868b155fe4429b0569cf07fec57a76", null ], - [ "ARC_Renderer_Render", "d8/d04/packages_2graphics_2sdl_2renderer_8c.html#ac44af02eacceb9af14f87e8a7f62aad5", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d8/d04/packages_2graphics_2sdl_2renderer_8c_source.html b/doc/doxygen/html/d8/d04/packages_2graphics_2sdl_2renderer_8c_source.html deleted file mode 100644 index a48d823..0000000 --- a/doc/doxygen/html/d8/d04/packages_2graphics_2sdl_2renderer_8c_source.html +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/renderer.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
renderer.c
-
-
-Go to the documentation of this file.
-
2#include "renderer.h"
-
3
-
4#include <SDL.h>
-
5#include <stdlib.h>
-
6#include "arc/engine/engine.h"
- -
8#include "arc/std/errno.h"
-
9
-
- -
11 if(!data){
- -
13 ARC_DEBUG_LOG_ERROR("ARC_Renderer_CreateWithEngineData(**renderer, NULL)");
-
14 return;
-
15 }
-
16
-
17 *renderer = (ARC_Renderer *)SDL_CreateRenderer((SDL_Window *)(data->window), -1, SDL_RENDERER_ACCELERATED);
-
18
-
19 if(!*renderer){
- -
21 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("SDL_CreateRenderer(%p, %d, %u);", data->window, -1, SDL_RENDERER_ACCELERATED);
-
22 free(renderer);
-
23 }
-
24
-
25 SDL_SetRenderDrawBlendMode((SDL_Renderer *)*renderer, SDL_BLENDMODE_BLEND);
-
26}
-
-
27
-
- -
29 SDL_DestroyRenderer((SDL_Renderer *) renderer);
-
30}
-
-
31
-
- -
33 //TODO: changed for school, also need to add the ability to change render draw color
-
34 //SDL_SetRenderDrawColor((SDL_Renderer *)renderer, 0x1c, 0x2c, 0x3c, 0x00);
-
35 SDL_SetRenderDrawColor((SDL_Renderer *)renderer, 0x15, 0x2a, 0x26, 0x00);
-
36 SDL_RenderClear((SDL_Renderer *)renderer);
-
37}
-
-
38
-
- -
40 SDL_RenderPresent((SDL_Renderer *)renderer);
-
41}
-
- - -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
- -
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
-
void ARC_Renderer_CreateWithEngineData(ARC_Renderer **renderer, ARC_EngineData *data)
creates ARC_Renderer type with ARC_EngineData
Definition renderer.c:10
-
void ARC_Renderer_Clear(ARC_Renderer *renderer)
Definition renderer.c:32
-
void ARC_Renderer_Destroy(ARC_Renderer *renderer)
destroys ARC_Renderer type
Definition renderer.c:28
-
void ARC_Renderer_Render(ARC_Renderer *renderer)
renders the renderer
Definition renderer.c:39
- - - -
ARC_Window * window
Definition engine.h:18
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/d33/lexer_8c.html b/doc/doxygen/html/d8/d33/lexer_8c.html deleted file mode 100644 index 1e0ce77..0000000 --- a/doc/doxygen/html/d8/d33/lexer_8c.html +++ /dev/null @@ -1,1574 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/lexer.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
- -
lexer.c File Reference
-
-
-
#include "arc/std/lexer.h"
-#include "arc/std/bool.h"
-#include "arc/std/errno.h"
-#include "arc/std/string.h"
-#include "arc/std/vector.h"
-#include "arc/std/io.h"
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_Lexer
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

ARC_Bool ARC_LexerTokenRule_VectorCompareDataFn (void *dataA, void *dataB)
 
void ARC_LexerTokenRule_VectorDestroyDataFn (void *data)
 
void ARC_LexerToken_VectorDestroyDataFn (void *data)
 
void ARC_Lexer_Create (ARC_Lexer **lexer)
 creates an ARC_Lexer type
 
void ARC_Lexer_Destroy (ARC_Lexer *lexer)
 destroys an ARC_Lexer type
 
void ARC_Lexer_RegisterTokenRule (ARC_Lexer *lexer, ARC_LexerTokenRule tokenRule)
 adds a token rule to a lexer
 
void ARC_Lexer_Clear (ARC_Lexer *lexer)
 clears all tokens from a lexer (will not clear token rules)
 
void ARC_Lexer_LexString (ARC_Lexer *lexer, ARC_String **data)
 creates tokens using a given string with ARC_LexerToken rules
 
void ARC_Lexer_LexFile (ARC_Lexer *lexer, ARC_String *path)
 reads in and lexs a file
 
void ARC_Lexer_PrintTokenRules (ARC_Lexer *lexer)
 prints rule id and hex of the function name
 
ARC_LexerTokenARC_Lexer_GetToken (ARC_Lexer *lexer, uint32_t index)
 gets a token at a given index from a lexer
 
uint32_t ARC_Lexer_GetTokensSize (ARC_Lexer *lexer)
 gets a token at a given index from a lexer
 
ARC_Bool ARC_Lexer_IsContinious (ARC_Lexer *lexer)
 returns a boolean based on if a lexers rules are continious
 
ARC_Bool ARC_Lexer_IsTokenId (ARC_Lexer *lexer, uint32_t id)
 returns a boolean based on if a given id is a stored token rule id
 
uint32_t ARC_Lexer_AutomataMatchCharFn (ARC_String **tokenData, ARC_String *string, void *automataData)
 checks if the first character of string matches the automataData cast as a char
 
uint32_t ARC_Lexer_AutomataMatchCharOrBetweenFn (ARC_String **tokenData, ARC_String *string, void *automataData)
 
uint32_t ARC_Lexer_AutomataMatchStringFn (ARC_String **tokenData, ARC_String *string, void *automataData)
 checks if the substring automataData as an ARC_String matches the first part of string
 
uint32_t ARC_Lexer_AutomataMatchCharInStringFn (ARC_String **tokenData, ARC_String *string, void *automataData)
 checks if the first part of string is a character in substring
 
void ARC_LexerTokenRule_DestroyCharAutomataDataFn (void *automataData)
 
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharRule (uint32_t id, char character)
 creates a ARC_LexerTokenRule with a given id and character
 
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween (uint32_t id, char start, char end)
 creates a ARC_LexerTokenRule with a given id and character range
 
void ARC_LexerTokenRule_DestroyStringAutomataDataFn (void *automataData)
 
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchStringRule (uint32_t id, ARC_String *string)
 creates a ARC_LexerTokenRule with a given id and string
 
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule (uint32_t id, ARC_String *string)
 creates a ARC_LexerTokenRule with a given id and string
 
void ARC_Lexer_InitBasicTokenRules (ARC_Lexer *lexer)
 adds a bunch of basic token rules (matching the BasicTokens above)
 
-

Function Documentation

- -

◆ ARC_Lexer_AutomataMatchCharFn()

- -
-
- - - - - - - - - - - - - - - - -
uint32_t ARC_Lexer_AutomataMatchCharFn (ARC_String ** tokenData,
ARC_String * string,
void * automataData )
-
- -

checks if the first character of string matches the automataData cast as a char

-
Note
this is intended as a helper callback
-
-this function is a ARC_Lexer_AutomataFn callback
-
Parameters
- - - - -
[out]tokenDataa place to store token data (like a variable name), can be NULL if not needed
[in]stringa string to be checked to see if it matches a token
[in]automataDataany data that needs to be used for the ARC_Lexer_AutomataFn
-
-
-
Returns
the size of the token found, or 0 if the token was not found
- -

Definition at line 311 of file lexer.c.

-
311 {
-
312 //if there is a match the token will be the same as automataData, so we don't need to store it again
-
313 *tokenData = NULL;
-
314
-
315 //check to see if there is a match with automataData as a char
-
316 if(string->data[0] == *(char *)automataData){
-
317 //return the token was found of length 1
-
318 return 1;
-
319 }
-
320
-
321 //no match was found
-
322 return 0;
-
323}
-
char * data
Definition string.h:15
-
-

References ARC_String::data.

- -

Referenced by ARC_LexerTokenRule_CreateAndReturnMatchCharRule().

- -
-
- -

◆ ARC_Lexer_AutomataMatchCharInStringFn()

- -
-
- - - - - - - - - - - - - - - - -
uint32_t ARC_Lexer_AutomataMatchCharInStringFn (ARC_String ** tokenData,
ARC_String * string,
void * automataData )
-
- -

checks if the first part of string is a character in substring

-
Note
this is intended as a helper callback
-
-this function is a ARC_Lexer_AutomataFn callback
-
Parameters
- - - - -
[out]tokenDataa place to store token data (like a variable name), can be NULL if not needed
[in]stringa string to be checked to see if it matches a token
[in]automataDataany data that needs to be used for the ARC_Lexer_AutomataFn
-
-
-
Returns
the size of the token found, or 0 if the token was not found
- -

Definition at line 356 of file lexer.c.

-
356 {
-
357 //if there is a match the token will be the same as automataData, so we don't need to store it again
-
358 *tokenData = NULL;
-
359
-
360 //check to see if there is a char match in automataData as a string
-
361 ARC_String *automataDataString = (ARC_String *)automataData;
-
362 for(uint64_t index = 0; index < automataDataString->length; index++){
-
363 if(string->data[0] == automataDataString->data[index]){
-
364 //return the token was found in the string of length 1
-
365 return 1;
-
366 }
-
367 }
-
368
-
369 //no match was found
-
370 return 0;
-
371}
-
substring position within a string
Definition string.h:14
-
uint64_t length
Definition string.h:16
-
-

References ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule().

- -
-
- -

◆ ARC_Lexer_AutomataMatchCharOrBetweenFn()

- -
-
- - - - - - - - - - - - - - - - -
uint32_t ARC_Lexer_AutomataMatchCharOrBetweenFn (ARC_String ** tokenData,
ARC_String * string,
void * automataData )
-
- -

Definition at line 325 of file lexer.c.

-
325 {
-
326 //if there is a match the token will be the same as automataData, so we don't need to store it again
-
327 *tokenData = NULL;
-
328
-
329 //check to see if there is a match with automataData as a range of chars
-
330 char *automataDataChars = (char *)automataData;
-
331 if(string->data[0] >= automataDataChars[0] && string->data[0] <= ((char *)automataData)[1]){
-
332 //return the token as token data and the token was found of length 1
-
333 ARC_String_Create(tokenData, string->data, 1);
-
334 return 1;
-
335 }
-
336
-
337 //no match was found
-
338 return 0;
-
339}
-
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
-
-

References ARC_String_Create(), and ARC_String::data.

- -

Referenced by ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween().

- -
-
- -

◆ ARC_Lexer_AutomataMatchStringFn()

- -
-
- - - - - - - - - - - - - - - - -
uint32_t ARC_Lexer_AutomataMatchStringFn (ARC_String ** tokenData,
ARC_String * string,
void * automataData )
-
- -

checks if the substring automataData as an ARC_String matches the first part of string

-
Note
this is intended as a helper callback
-
-this function is a ARC_Lexer_AutomataFn callback
-
Parameters
- - - - -
[out]tokenDataa place to store token data (like a variable name), can be NULL if not needed
[in]stringa string to be checked to see if it matches a token
[in]automataDataany data that needs to be used for the ARC_Lexer_AutomataFn
-
-
-
Returns
the size of the token found, or 0 if the token was not found
- -

Definition at line 341 of file lexer.c.

-
341 {
-
342 //if there is a match the token will be the same as automataData, so we don't need to store it again
-
343 *tokenData = NULL;
-
344
-
345 //check to see if there is a match with automataData as a string
-
346 ARC_String *automataDataString = (ARC_String *)automataData;
-
347 if(ARC_String_SubstringEquals(string, 0, automataDataString)){
-
348 //return the token was found of the string length
-
349 return automataDataString->length;
-
350 }
-
351
-
352 //no match was found
-
353 return 0;
-
354}
-
ARC_Bool ARC_String_SubstringEquals(ARC_String *first, uint64_t offset, ARC_String *second)
check if substring of first equals second string
Definition string.c:175
-
-

References ARC_String_SubstringEquals(), and ARC_String::length.

- -

Referenced by ARC_LexerTokenRule_CreateAndReturnMatchStringRule().

- -
-
- -

◆ ARC_Lexer_Clear()

- -
-
- - - - - - - -
void ARC_Lexer_Clear (ARC_Lexer * lexer)
-
- -

clears all tokens from a lexer (will not clear token rules)

-
Parameters
- - -
lexerthe lexer to clear tokens from
-
-
- -

Definition at line 161 of file lexer.c.

-
161 {
-
162 //clear the tokens vector
-
163 ARC_Vector_Clear(lexer->tokens);
-
164}
-
ARC_Vector * tokens
Definition lexer.c:12
-
void ARC_Vector_Clear(ARC_Vector *vector)
clears all items from a vector
Definition vector.c:139
-
-

References ARC_Vector_Clear(), and ARC_Lexer::tokens.

- -

Referenced by ARC_Parser_Parse().

- -
-
- -

◆ ARC_Lexer_Create()

- -
-
- - - - - - - -
void ARC_Lexer_Create (ARC_Lexer ** lexer)
-
- -

creates an ARC_Lexer type

-
Parameters
- - -
[out]lexerARC_Lexer to create
-
-
- -

Definition at line 50 of file lexer.c.

-
50 {
-
51 //create the lexer
-
52 *lexer = (ARC_Lexer *)malloc(sizeof(ARC_Lexer));
-
53
-
54 //setup token rules vector with compare and delete functions
- - -
57 ARC_Vector_Create(&(*lexer)->tokenRules, &tokenRulesVectorCompareDataFn, &tokenRulesVectorDestroyDataFn);
-
58
-
59 //setup tokens vector with delete funtion, we don't want a deleteDataFn because their index will be used as the id
- -
61 ARC_Vector_Create(&(*lexer)->tokens, NULL, &tokenVectorDestroyDataFn);
-
62
-
63 //set token rules to continuous and initialize the token rules max value
-
64 (*lexer)->tokenRulesAreContinuous = ARC_True;
-
65 (*lexer)->tokenRulesMaxVal = 0;
-
66}
-
#define ARC_True
Definition bool.h:11
-
ARC_Bool ARC_LexerTokenRule_VectorCompareDataFn(void *dataA, void *dataB)
Definition lexer.c:20
-
void ARC_LexerTokenRule_VectorDestroyDataFn(void *data)
Definition lexer.c:32
-
void ARC_LexerToken_VectorDestroyDataFn(void *data)
Definition lexer.c:39
- -
void(* ARC_Vector_DestroyDataFn)(void *data)
a callback that cleans up memory when it is removed from the vector
Definition vector.h:31
-
ARC_Bool(* ARC_Vector_CompareDataFn)(void *dataA, void *dataB)
a callback that allows the user to define a way to check the data stored in a vector for a match
Definition vector.h:24
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:28
-
-

References ARC_LexerToken_VectorDestroyDataFn(), ARC_LexerTokenRule_VectorCompareDataFn(), ARC_LexerTokenRule_VectorDestroyDataFn(), ARC_True, and ARC_Vector_Create().

- -

Referenced by ARC_Parser_Create().

- -
-
- -

◆ ARC_Lexer_Destroy()

- -
-
- - - - - - - -
void ARC_Lexer_Destroy (ARC_Lexer * lexer)
-
- -

destroys an ARC_Lexer type

-
Parameters
- - -
[in]lexerARC_Lexer to free
-
-
- -

Definition at line 68 of file lexer.c.

-
68 {
-
69 //free the tokens (there is a vectorDeleteDataFn, so tokens should be freed)
- -
71
-
72 //free the token rules (there is a vectorDeleteDataFn, so token rules should be freed)
- -
74
-
75 //free the lexer
-
76 free(lexer);
-
77}
-
ARC_Vector * tokenRules
Definition lexer.c:11
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:51
-
-

References ARC_Vector_Destroy(), ARC_Lexer::tokenRules, and ARC_Lexer::tokens.

- -

Referenced by ARC_Parser_Destroy().

- -
-
- -

◆ ARC_Lexer_GetToken()

- -
-
- - - - - - - - - - - -
ARC_LexerToken * ARC_Lexer_GetToken (ARC_Lexer * lexer,
uint32_t index )
-
- -

gets a token at a given index from a lexer

-
Note
unless you have a very good reason, you probably don't want to mess with the tokens string. that will probably change the token's string inside the lexer
-
Parameters
- - - -
[in]lexerthe lexer to get the token from
[in]indexthe index of the token in the lexer to get
-
-
-
Returns
a token at the lexer index on success, otherwise NULL
- -

Definition at line 272 of file lexer.c.

-
272 {
-
273 //get the token and log if there is an error
-
274 ARC_LexerToken *token = ARC_Vector_Get(lexer->tokens, index);
-
275 if(arc_errno){
-
276 ARC_DEBUG_LOG_ERROR("ARC_Lexer_GetToken(lexer, index), errored when running ARC_Vector_Get(lexer->tokens, index);. check logs for more info");
-
277
-
278 //return a token with max rule value, and NULL for the string to signify an error
-
279 return NULL;
-
280 }
-
281
-
282 //the token was found, so return it
-
283 return token;
-
284}
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
a lexer token type
Definition lexer.h:18
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:150
-
-

References ARC_DEBUG_LOG_ERROR, arc_errno, ARC_Vector_Get(), and ARC_Lexer::tokens.

- -

Referenced by ARC_Parser_ParseTag().

- -
-
- -

◆ ARC_Lexer_GetTokensSize()

- -
-
- - - - - - - -
uint32_t ARC_Lexer_GetTokensSize (ARC_Lexer * lexer)
-
- -

gets a token at a given index from a lexer

-
Parameters
- - -
[in]lexerthe lexer to get the tokens size from
-
-
-
Returns
the size of the token array in a lexer
- -

Definition at line 286 of file lexer.c.

-
286 {
-
287 return ARC_Vector_GetSize(lexer->tokens);
-
288}
-
uint32_t ARC_Vector_GetSize(ARC_Vector *vector)
gets the current size of an ARC_Vector as an unsigned 32 bit integer
Definition vector.c:146
-
-

References ARC_Vector_GetSize(), and ARC_Lexer::tokens.

- -

Referenced by ARC_Parser_Parse(), and ARC_Parser_ParseTag().

- -
-
- -

◆ ARC_Lexer_InitBasicTokenRules()

- -
-
- - - - - - - -
void ARC_Lexer_InitBasicTokenRules (ARC_Lexer * lexer)
-
- -

adds a bunch of basic token rules (matching the BasicTokens above)

- -

Definition at line 472 of file lexer.c.

-
472 {
-
473 //null
- -
475
-
476 //number
- -
478
-
479 //alpha char
- - -
482
-
483 //whitespace
-
484 //TODO: fix this
-
485 ARC_String *whitespaceString;
-
486 ARC_String_CreateWithStrlen(&whitespaceString, " \t");
- -
488 ARC_String_Destroy(whitespaceString);
-
489
-
490 //single char tokens
- - - - - - - - - - - - - - - -
506}
-
void ARC_Lexer_RegisterTokenRule(ARC_Lexer *lexer, ARC_LexerTokenRule tokenRule)
adds a token rule to a lexer
Definition lexer.c:79
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharRule(uint32_t id, char character)
creates a ARC_LexerTokenRule with a given id and character
Definition lexer.c:378
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween(uint32_t id, char start, char end)
creates a ARC_LexerTokenRule with a given id and character range
Definition lexer.c:400
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule(uint32_t id, ARC_String *string)
creates a ARC_LexerTokenRule with a given id and string
Definition lexer.c:450
-
#define ARC_LEXER_TOKEN_WHITESPACE
Definition lexer.h:252
-
#define ARC_LEXER_TOKEN_FORWARD_SLASH_ID
Definition lexer.h:271
-
#define ARC_LEXER_TOKEN_ALPHA_UPPER_CHAR
Definition lexer.h:251
-
#define ARC_LEXER_TOKEN_PERIOD_CHAR
Definition lexer.h:269
-
#define ARC_LEXER_TOKEN_PERCENT_ID
Definition lexer.h:298
-
#define ARC_LEXER_TOKEN_PERCENT_CHAR
Definition lexer.h:299
-
#define ARC_LEXER_TOKEN_LEFT_PARENTHESIS_CHAR
Definition lexer.h:278
-
#define ARC_LEXER_TOKEN_PERIOD_ID
Definition lexer.h:268
-
#define ARC_LEXER_TOKEN_NULL
basic tokens
Definition lexer.h:248
-
#define ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_CHAR
Definition lexer.h:287
-
#define ARC_LEXER_TOKEN_COMMA_CHAR
Definition lexer.h:266
-
#define ARC_LEXER_TOKEN_AT_ID
Definition lexer.h:292
-
#define ARC_LEXER_TOKEN_AT_CHAR
Definition lexer.h:293
-
#define ARC_LEXER_TOKEN_COLON_CHAR
Definition lexer.h:260
-
#define ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_ID
Definition lexer.h:283
-
#define ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_ID
Definition lexer.h:280
-
#define ARC_LEXER_TOKEN_BANG_CHAR
Definition lexer.h:290
-
#define ARC_LEXER_TOKEN_NEWLINE_ID
basic token type ids, chars, and tags
Definition lexer.h:257
-
#define ARC_LEXER_TOKEN_COMMA_ID
Definition lexer.h:265
-
#define ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_ID
Definition lexer.h:286
-
#define ARC_LEXER_TOKEN_HASH_ID
Definition lexer.h:295
-
#define ARC_LEXER_TOKEN_NEWLINE_CHAR
Definition lexer.h:258
-
#define ARC_LEXER_TOKEN_BACK_SLASH_ID
Definition lexer.h:274
-
#define ARC_LEXER_TOKEN_BANG_ID
Definition lexer.h:289
-
#define ARC_LEXER_TOKEN_SEMICOLON_ID
Definition lexer.h:262
-
#define ARC_LEXER_TOKEN_FORWARD_SLASH_CHAR
Definition lexer.h:272
-
#define ARC_LEXER_TOKEN_ALPHA_LOWER_CHAR
Definition lexer.h:250
-
#define ARC_LEXER_TOKEN_BACK_SLASH_CHAR
Definition lexer.h:275
-
#define ARC_LEXER_TOKEN_COLON_ID
Definition lexer.h:259
-
#define ARC_LEXER_TOKEN_SEMICOLON_CHAR
Definition lexer.h:263
-
#define ARC_LEXER_TOKEN_LEFT_PARENTHESIS_ID
Definition lexer.h:277
-
#define ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_CHAR
Definition lexer.h:284
-
#define ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_CHAR
Definition lexer.h:281
-
#define ARC_LEXER_TOKEN_NUMBER
Definition lexer.h:249
-
#define ARC_LEXER_TOKEN_HASH_CHAR
Definition lexer.h:296
-
void ARC_String_CreateWithStrlen(ARC_String **string, char *data)
creates ARC_String type with strinlen
Definition string.c:32
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
-

References ARC_Lexer_RegisterTokenRule(), ARC_LEXER_TOKEN_ALPHA_LOWER_CHAR, ARC_LEXER_TOKEN_ALPHA_UPPER_CHAR, ARC_LEXER_TOKEN_AT_CHAR, ARC_LEXER_TOKEN_AT_ID, ARC_LEXER_TOKEN_BACK_SLASH_CHAR, ARC_LEXER_TOKEN_BACK_SLASH_ID, ARC_LEXER_TOKEN_BANG_CHAR, ARC_LEXER_TOKEN_BANG_ID, ARC_LEXER_TOKEN_COLON_CHAR, ARC_LEXER_TOKEN_COLON_ID, ARC_LEXER_TOKEN_COMMA_CHAR, ARC_LEXER_TOKEN_COMMA_ID, ARC_LEXER_TOKEN_FORWARD_SLASH_CHAR, ARC_LEXER_TOKEN_FORWARD_SLASH_ID, ARC_LEXER_TOKEN_HASH_CHAR, ARC_LEXER_TOKEN_HASH_ID, ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_CHAR, ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_ID, ARC_LEXER_TOKEN_LEFT_PARENTHESIS_CHAR, ARC_LEXER_TOKEN_LEFT_PARENTHESIS_ID, ARC_LEXER_TOKEN_NEWLINE_CHAR, ARC_LEXER_TOKEN_NEWLINE_ID, ARC_LEXER_TOKEN_NULL, ARC_LEXER_TOKEN_NUMBER, ARC_LEXER_TOKEN_PERCENT_CHAR, ARC_LEXER_TOKEN_PERCENT_ID, ARC_LEXER_TOKEN_PERIOD_CHAR, ARC_LEXER_TOKEN_PERIOD_ID, ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_CHAR, ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_ID, ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_CHAR, ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_ID, ARC_LEXER_TOKEN_SEMICOLON_CHAR, ARC_LEXER_TOKEN_SEMICOLON_ID, ARC_LEXER_TOKEN_WHITESPACE, ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule(), ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween(), ARC_LexerTokenRule_CreateAndReturnMatchCharRule(), ARC_String_CreateWithStrlen(), and ARC_String_Destroy().

- -
-
- -

◆ ARC_Lexer_IsContinious()

- -
-
- - - - - - - -
ARC_Bool ARC_Lexer_IsContinious (ARC_Lexer * lexer)
-
- -

returns a boolean based on if a lexers rules are continious

-
Parameters
- - -
[in]lexerthe lexer to check if its ruls are continious
-
-
-
Returns
ARC_True if the set rules are continious
- -

Definition at line 290 of file lexer.c.

-
290 {
-
291 return lexer->tokenRulesAreContinuous;
-
292}
-
ARC_Bool tokenRulesAreContinuous
Definition lexer.c:15
-
-

References ARC_Lexer::tokenRulesAreContinuous.

- -
-
- -

◆ ARC_Lexer_IsTokenId()

- -
-
- - - - - - - - - - - -
ARC_Bool ARC_Lexer_IsTokenId (ARC_Lexer * lexer,
uint32_t id )
-
- -

returns a boolean based on if a given id is a stored token rule id

-
Parameters
- - - -
[in]lexerthe lexer to check stored token rule ids
[in]idthe id to check against the token rules
-
-
-
Returns
ARC_True if the id is a rule id, ARC_False otherwise
- -

Definition at line 294 of file lexer.c.

-
294 {
-
295 //if the rules are continuous we can just check if it is less than the max rules value
-
296 if(lexer->tokenRulesAreContinuous == ARC_True){
-
297 return id <= lexer->tokenRulesMaxVal;
-
298 }
-
299
-
300 //the rules are not continuous so we need to check each individually
-
301 for(uint32_t index = 0; index < ARC_Vector_GetSize(lexer->tokenRules); index++){
-
302 ARC_LexerTokenRule *currentTokenRule = (ARC_LexerTokenRule *)ARC_Vector_Get(lexer->tokenRules, index);
-
303 if(currentTokenRule->id == id){
-
304 return ARC_True;
-
305 }
-
306 }
-
307
-
308 return ARC_False;
-
309}
-
#define ARC_False
Definition bool.h:12
-
a lexer token rule type
Definition lexer.h:46
-
uint32_t id
Definition lexer.h:47
-
uint32_t tokenRulesMaxVal
Definition lexer.c:16
-
-

References ARC_False, ARC_True, ARC_Vector_Get(), ARC_Vector_GetSize(), ARC_LexerTokenRule::id, ARC_Lexer::tokenRules, ARC_Lexer::tokenRulesAreContinuous, and ARC_Lexer::tokenRulesMaxVal.

- -

Referenced by ARC_Parser_ParseTag().

- -
-
- -

◆ ARC_Lexer_LexFile()

- -
-
- - - - - - - - - - - -
void ARC_Lexer_LexFile (ARC_Lexer * lexer,
ARC_String * path )
-
- -

reads in and lexs a file

-
Note
this function will call ARC_Lexer_LexString, so it's notes are applicable to this function
-
Parameters
- - - -
[in]lexerthe lexer which holds to rules to use
[in]pathpath of file to read in and lex
-
-
- -

Definition at line 245 of file lexer.c.

-
245 {
-
246 //read file and clean up if it errors
-
247 ARC_String *data;
-
248 ARC_IO_FileToStr(path, &data);
-
249 if(arc_errno){
-
250 ARC_DEBUG_LOG_ERROR("ARC_Lexer_LexFile(lexer, path), errored when running ARC_IO_FileToStr(path, &data);. check logs for more info");
-
251 if(data != NULL){
-
252 ARC_String_Destroy(data);
-
253 }
-
254
-
255 return;
-
256 }
-
257
-
258 //lex the string and log if there is an error, ARC_Lexer_LexString will clean up the string
-
259 ARC_Lexer_LexString(lexer, &data);
-
260 if(arc_errno){
-
261 ARC_DEBUG_LOG_ERROR("ARC_Lexer_LexFile(lexer, path), errored when running ARC_Lexer_LexString(lexer, data);. check logs for more info");
-
262 }
-
263}
-
void ARC_IO_FileToStr(ARC_String *path, ARC_String **data)
get string and size from file
Definition io.c:43
-
void ARC_Lexer_LexString(ARC_Lexer *lexer, ARC_String **data)
creates tokens using a given string with ARC_LexerToken rules
Definition lexer.c:166
-
-

References ARC_DEBUG_LOG_ERROR, arc_errno, ARC_IO_FileToStr(), ARC_Lexer_LexString(), and ARC_String_Destroy().

- -
-
- -

◆ ARC_Lexer_LexString()

- -
-
- - - - - - - - - - - -
void ARC_Lexer_LexString (ARC_Lexer * lexer,
ARC_String ** data )
-
- -

creates tokens using a given string with ARC_LexerToken rules

-
Parameters
- - - -
[in]lexerthe lexer to get the ARC_LexerTokens from
[in/out]data the string to lex, will be freed and set to NULL by the end of this function
-
-
- -

Definition at line 166 of file lexer.c.

-
166 {
-
167 //check if there are any token rules to use
-
168 if(ARC_Vector_GetSize(lexer->tokenRules) == 0){
- -
170 ARC_DEBUG_LOG_ERROR("ARC_Lexer_LexString(lexer, data), no tokens registered to lexer to use");
-
171 return;
-
172 }
-
173
-
174 //this will run untill everything token is stripped or there is an error
-
175 while(*data != NULL){
-
176 uint32_t tokenLength = 0;
-
177 uint32_t lastTokenLength = 0;
-
178 ARC_LexerToken *token = NULL;
-
179
-
180 for(uint32_t index = 0; index < ARC_Vector_GetSize(lexer->tokenRules); index++){
-
181 //check if the token rule is found
-
182 ARC_LexerTokenRule *tokenRule = ARC_Vector_Get(lexer->tokenRules, index);
-
183
-
184 //tokenData should only exist if tokenLength is ARC_True as stated in the header
-
185 ARC_String *tokenData = NULL;
-
186 tokenLength = tokenRule->automataFn(&tokenData, *data, tokenRule->automataData);
-
187
-
188 //check if a token was found if it wasn't continue. I'm doing this to try to cut down on the ammount of indentation
-
189 if(tokenLength == 0){
-
190 continue;
-
191 }
-
192
-
193 //check to see if we found a better match
-
194 if(tokenLength > lastTokenLength){
-
195 //free the current token if it exists
-
196 if(token != NULL){
- -
198 }
-
199
-
200 //create the token to add
-
201 token = (ARC_LexerToken *)malloc(sizeof(ARC_LexerToken));
-
202 token->rule = tokenRule->id;
-
203 token->data = tokenData;
-
204
-
205 //update the last found tokenLength to the max length
-
206 lastTokenLength = tokenLength;
-
207 }
-
208 }
-
209
-
210 //if no token was found, throw an error
-
211 if(token == NULL){
- -
213 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_Lexer_LexString(lexer, data), no tokens found with current string: \"%s\"", (*data)->data);
-
214
-
215 //clean up errored string
-
216 ARC_String_Destroy(*data);
-
217 *data = NULL;
-
218 return;
-
219 }
-
220
-
221 //token exists (something must have gone very wrong if it doesn't), so add it and check for overflow (which I'd be surprised if that happens)
-
222 ARC_Vector_Add(lexer->tokens, (void *)token);
-
223 if(arc_errno){
-
224 ARC_DEBUG_LOG_ERROR("ARC_Lexer_LexString(lexer, data), errored when running ARC_Vector_Add(lexer->tokens, token);. check logs for more info");
-
225 free(token);
-
226
-
227 //clean up errored string
-
228 ARC_String_Destroy(*data);
-
229 *data = NULL;
-
230 return;
-
231 }
-
232
-
233 //if the last token was found, destroy the string and return
-
234 if(lastTokenLength == (*data)->length){
-
235 ARC_String_Destroy(*data);
-
236 *data = NULL;
-
237 return;
-
238 }
-
239
-
240 //strip the string
-
241 ARC_String_ReplaceWithSubstring(data, lastTokenLength, (*data)->length - lastTokenLength);
-
242 }
-
243}
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_ERRNO_DATA
Definition errno.h:7
-
void ARC_String_ReplaceWithSubstring(ARC_String **string, uint64_t start, uint64_t length)
replaces a string with a section of itself
Definition string.c:100
-
void * automataData
Definition lexer.h:49
-
ARC_LexerTokenRule_AutomataFn automataFn
Definition lexer.h:51
-
uint32_t rule
Definition lexer.h:19
-
ARC_String * data
Definition lexer.h:20
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:67
-
-

References ARC_DEBUG_LOG_ERROR, ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_DATA, ARC_LexerToken_VectorDestroyDataFn(), ARC_String_Destroy(), ARC_String_ReplaceWithSubstring(), ARC_Vector_Add(), ARC_Vector_Get(), ARC_Vector_GetSize(), ARC_LexerTokenRule::automataData, ARC_LexerTokenRule::automataFn, ARC_LexerToken::data, ARC_LexerTokenRule::id, ARC_String::length, ARC_LexerToken::rule, ARC_Lexer::tokenRules, and ARC_Lexer::tokens.

- -

Referenced by ARC_Lexer_LexFile(), and ARC_Parser_Parse().

- -
-
- -

◆ ARC_Lexer_PrintTokenRules()

- -
-
- - - - - - - -
void ARC_Lexer_PrintTokenRules (ARC_Lexer * lexer)
-
- -

prints rule id and hex of the function name

-
Note
this is mostly used for debugging
-
Parameters
- - -
[in]lexerthe lexer to print rules from
-
-
- -

Definition at line 265 of file lexer.c.

-
265 {
-
266 for(uint32_t index = 0; index < ARC_Vector_GetSize(lexer->tokenRules); index++){
-
267 ARC_LexerTokenRule *tokenRule = ARC_Vector_Get(lexer->tokenRules, index);
-
268 printf("Rule: %02i\tFunction: %p\n", tokenRule->id, tokenRule->automataFn);
-
269 }
-
270}
-
-

References ARC_Vector_Get(), ARC_Vector_GetSize(), ARC_LexerTokenRule::automataFn, ARC_LexerTokenRule::id, and ARC_Lexer::tokenRules.

- -
-
- -

◆ ARC_Lexer_RegisterTokenRule()

- -
-
- - - - - - - - - - - -
void ARC_Lexer_RegisterTokenRule (ARC_Lexer * lexer,
ARC_LexerTokenRule tokenRule )
-
- -

adds a token rule to a lexer

-
Parameters
- - - -
[in]lexerthe lexer to add a token rule to
[in]tokenRulethe token rule to add
-
-
- -

Definition at line 79 of file lexer.c.

-
79 {
-
80 //copy the token to a new pointer
-
81 ARC_LexerTokenRule *storedTokenRule = (ARC_LexerTokenRule *)malloc(sizeof(ARC_LexerTokenRule));
-
82 *storedTokenRule = tokenRule;
-
83
-
84 //TODO: add warning here for if arc_errno is already set
-
85
-
86 //add to the vector and check for error (I'd be surprised if the error ever happened because that would most likely mean overflow)
-
87 ARC_Vector_Add(lexer->tokenRules, storedTokenRule);
-
88 if(arc_errno){
-
89 ARC_DEBUG_LOG_ERROR("ARC_Lexer_RegisterTokenRule(lexer, tokenRule), errored when running ARC_Vector_Add(lexer->tokenRules, storedTokenRule);. check logs for more info");
-
90 free(storedTokenRule);
-
91 }
-
92
-
93 //check if the value still is continuous
- -
95 //if it is already continuous we just check if it is one value above the tokens already in the vector
-
96 for(uint32_t tokenRuleIndex = ARC_Vector_GetSize(lexer->tokenRules) - 1; tokenRuleIndex > 0; tokenRuleIndex--){
-
97 //get the current token rule
-
98 ARC_LexerTokenRule *currentTokenRule = (ARC_LexerTokenRule *)ARC_Vector_Get(lexer->tokenRules, tokenRuleIndex - 1);
-
99
-
100 //check if the token rule is continuous (then next max value by one)
-
101 if(tokenRule.id - currentTokenRule->id == 1){
-
102 //the token rule is already continuous so we can update the max value and return
-
103 lexer->tokenRulesMaxVal = tokenRule.id;
-
104 return;
-
105 }
-
106 }
-
107
-
108 //the token is no longer continous
- -
110 return;
-
111 }
-
112
-
113 //check to see if this value makes the token rule continuous again
-
114 //TODO: might want to optomize this
-
115 uint32_t minValue = ~(uint32_t)0;
-
116 for(uint32_t tokenRuleIndex = 0; tokenRuleIndex < ARC_Vector_GetSize(lexer->tokenRules); tokenRuleIndex++){
-
117 //get the current token rule
-
118 ARC_LexerTokenRule *currentTokenRule = (ARC_LexerTokenRule *)ARC_Vector_Get(lexer->tokenRules, tokenRuleIndex);
-
119
-
120 //check each token to find the minimum one
-
121 if(currentTokenRule->id < minValue){
-
122 minValue = currentTokenRule->id;
-
123 }
-
124 }
-
125
-
126 //loop through untill either all the values are checked and in order or the token rule is not continuous
-
127 //TODO: might want to optomize this
-
128 for(uint32_t foundSize = 0; foundSize != ARC_Vector_GetSize(lexer->tokenRules); foundSize++){
-
129 //check all current rules
-
130 ARC_Bool currentAreContinuous = ARC_False;
-
131 for(uint32_t tokenRuleIndex = 0; tokenRuleIndex < ARC_Vector_GetSize(lexer->tokenRules); tokenRuleIndex++){
-
132 //get the current token rule
-
133 ARC_LexerTokenRule *currentTokenRule = (ARC_LexerTokenRule *)ARC_Vector_Get(lexer->tokenRules, tokenRuleIndex);
-
134
-
135 //check if the value is smaller than or equal to the minimum value and if it is we can skip it
-
136 if(currentTokenRule->id <= minValue){
-
137 continue;
-
138 }
-
139
-
140 //check if the value is continous
-
141 if(currentTokenRule->id - minValue == 1){
-
142 //set the token rule max val to the next most continuous value
-
143 lexer->tokenRulesMaxVal = currentTokenRule->id;
-
144
-
145 //set the next smallest value to check to the the next most continuous value
-
146 minValue = currentTokenRule->id;
-
147 currentAreContinuous = ARC_True;
-
148 break;
-
149 }
-
150 }
-
151
-
152 //the current values are not continuous so we can return as token rules are continuous is already set to false
-
153 if(currentAreContinuous == ARC_False){
-
154 return;
-
155 }
-
156
-
157 //a continuous value was found so loop to next value
-
158 }
-
159}
-
#define ARC_Bool
Definition bool.h:10
-
-

References ARC_Bool, ARC_DEBUG_LOG_ERROR, arc_errno, ARC_False, ARC_True, ARC_Vector_Add(), ARC_Vector_Get(), ARC_Vector_GetSize(), ARC_LexerTokenRule::id, ARC_Lexer::tokenRules, ARC_Lexer::tokenRulesAreContinuous, and ARC_Lexer::tokenRulesMaxVal.

- -

Referenced by ARC_Lexer_InitBasicTokenRules(), ARC_ParserCSV_InitLexerRulesFn(), and ARC_ParserLang_InitLexerRulesFn().

- -
-
- -

◆ ARC_LexerToken_VectorDestroyDataFn()

- -
-
- - - - - - - -
void ARC_LexerToken_VectorDestroyDataFn (void * data)
-
- -

Definition at line 39 of file lexer.c.

-
39 {
-
40 ARC_LexerToken *token = (ARC_LexerToken *)data;
-
41
-
42 //deletes the token data string if it exists
-
43 if(token->data != NULL){
- -
45 }
-
46
-
47 free(token);
-
48}
-
-

References ARC_String_Destroy(), and ARC_LexerToken::data.

- -

Referenced by ARC_Lexer_Create(), and ARC_Lexer_LexString().

- -
-
- -

◆ ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule()

- -
-
- - - - - - - - - - - -
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule (uint32_t id,
ARC_String * string )
-
- -

creates a ARC_LexerTokenRule with a given id and string

-
Note
this is intended as a helper funtion #note string will not be freed (it will be copied and the copy will be freed)
-
Parameters
- - - -
[in]ida tokens id (basically the token value)
[in]characterthe string to match against, will be copied
-
-
-
Returns
a token rule based in the id and string
- -

Definition at line 450 of file lexer.c.

-
450 {
-
451 //create the token rule
-
452 ARC_LexerTokenRule tokenRule;
-
453
-
454 //set the id
-
455 tokenRule.id = id;
-
456
-
457 //copy and store the automataData (which is just an ARC_String)
-
458 ARC_String *automataData;
-
459 ARC_String_Copy(&automataData, string);
-
460 tokenRule.automataData = (void *)automataData;
-
461
-
462 //we can use the ARC_Lexer_AutomataMatchCharInStringFn for this
- -
464
-
465 //add the private destroy function
- -
467
-
468 //return the created tokenRule
-
469 return tokenRule;
-
470}
-
void ARC_LexerTokenRule_DestroyStringAutomataDataFn(void *automataData)
Definition lexer.c:424
-
uint32_t ARC_Lexer_AutomataMatchCharInStringFn(ARC_String **tokenData, ARC_String *string, void *automataData)
checks if the first part of string is a character in substring
Definition lexer.c:356
-
void ARC_String_Copy(ARC_String **copy, ARC_String *original)
copy a ARC_String
Definition string.c:62
-
ARC_LexerTokenRule_DestroyAutomataDataFn destroyAutomataDataFn
Definition lexer.h:52
-
-

References ARC_Lexer_AutomataMatchCharInStringFn(), ARC_LexerTokenRule_DestroyStringAutomataDataFn(), ARC_String_Copy(), ARC_LexerTokenRule::automataData, ARC_LexerTokenRule::automataFn, ARC_LexerTokenRule::destroyAutomataDataFn, and ARC_LexerTokenRule::id.

- -

Referenced by ARC_Lexer_InitBasicTokenRules(), and ARC_ParserLang_InitLexerRulesFn().

- -
-
- -

◆ ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween()

- -
-
- - - - - - - - - - - - - - - - -
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween (uint32_t id,
char start,
char end )
-
- -

creates a ARC_LexerTokenRule with a given id and character range

-
Note
this is intended as a helper funtion
-
Parameters
- - - - -
[in]ida tokens id (basically the token value)
[in]startthe minimum character value to match against
[in]endthe maxamum character value to match against
-
-
-
Returns
a token rule based in the id and character
- -

Definition at line 400 of file lexer.c.

-
400 {
-
401 //create the token rule
-
402 ARC_LexerTokenRule tokenRule;
-
403
-
404 //set the id
-
405 tokenRule.id = id;
-
406
-
407 //create and store the automataData (which is just two chars (the minumum and manximum))
-
408 char *automataData = (char *)malloc(sizeof(char) * 2);
-
409 automataData[0] = start;
-
410 automataData[1] = end;
-
411 tokenRule.automataData = (void *)automataData;
-
412
-
413 //we can use the ARC_Lexer_AutomataMatchCharInStringFn for this
- -
415
-
416 //add the private destroy function (we can use the char as it destroys a char pointer of any size)
- -
418
-
419 //return the created tokenRule
-
420 return tokenRule;
-
421}
-
uint32_t ARC_Lexer_AutomataMatchCharOrBetweenFn(ARC_String **tokenData, ARC_String *string, void *automataData)
Definition lexer.c:325
-
void ARC_LexerTokenRule_DestroyCharAutomataDataFn(void *automataData)
Definition lexer.c:374
-
-

References ARC_Lexer_AutomataMatchCharOrBetweenFn(), ARC_LexerTokenRule_DestroyCharAutomataDataFn(), ARC_LexerTokenRule::automataData, ARC_LexerTokenRule::automataFn, ARC_LexerTokenRule::destroyAutomataDataFn, and ARC_LexerTokenRule::id.

- -

Referenced by ARC_Lexer_InitBasicTokenRules(), ARC_ParserCSV_InitLexerRulesFn(), and ARC_ParserLang_InitLexerRulesFn().

- -
-
- -

◆ ARC_LexerTokenRule_CreateAndReturnMatchCharRule()

- -
-
- - - - - - - - - - - -
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharRule (uint32_t id,
char character )
-
- -

creates a ARC_LexerTokenRule with a given id and character

-
Note
this is intended as a helper funtion
-
Parameters
- - - -
[in]ida tokens id (basically the token value)
[in]characterthe character to match against
-
-
-
Returns
a token rule based in the id and character
- -

Definition at line 378 of file lexer.c.

-
378 {
-
379 //create the token rule
-
380 ARC_LexerTokenRule tokenRule;
-
381
-
382 //set the id
-
383 tokenRule.id = id;
-
384
-
385 //create and store the automataData (which is just a char)
-
386 char *automataData = (char *)malloc(sizeof(char));
-
387 *automataData = character;
-
388 tokenRule.automataData = (void *)automataData;
-
389
-
390 //we can use the ARC_Lexer_AutomataMatchCharFn for this
- -
392
-
393 //add the private destroy function
- -
395
-
396 //return the created tokenRule
-
397 return tokenRule;
-
398}
-
uint32_t ARC_Lexer_AutomataMatchCharFn(ARC_String **tokenData, ARC_String *string, void *automataData)
checks if the first character of string matches the automataData cast as a char
Definition lexer.c:311
-
-

References ARC_Lexer_AutomataMatchCharFn(), ARC_LexerTokenRule_DestroyCharAutomataDataFn(), ARC_LexerTokenRule::automataData, ARC_LexerTokenRule::automataFn, ARC_LexerTokenRule::destroyAutomataDataFn, and ARC_LexerTokenRule::id.

- -

Referenced by ARC_Lexer_InitBasicTokenRules(), ARC_ParserCSV_InitLexerRulesFn(), and ARC_ParserLang_InitLexerRulesFn().

- -
-
- -

◆ ARC_LexerTokenRule_CreateAndReturnMatchStringRule()

- -
-
- - - - - - - - - - - -
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchStringRule (uint32_t id,
ARC_String * string )
-
- -

creates a ARC_LexerTokenRule with a given id and string

-
Note
this is intended as a helper funtion #note string will not be freed (it will be copied and the copy will be freed)
-
Parameters
- - - -
[in]ida tokens id (basically the token value)
[in]characterthe string to match against, will be copied
-
-
-
Returns
a token rule based in the id and string
- -

Definition at line 428 of file lexer.c.

-
428 {
-
429 //create the token rule
-
430 ARC_LexerTokenRule tokenRule;
-
431
-
432 //set the id
-
433 tokenRule.id = id;
-
434
-
435 //copy and store the automataData (which is just an ARC_String)
-
436 ARC_String *automataData;
-
437 ARC_String_Copy(&automataData, string);
-
438 tokenRule.automataData = (void *)automataData;
-
439
-
440 //we can use the ARC_Lexer_AutomataMatchStringFn for this
- -
442
-
443 //add the private destroy function
- -
445
-
446 //return the created tokenRule
-
447 return tokenRule;
-
448}
-
uint32_t ARC_Lexer_AutomataMatchStringFn(ARC_String **tokenData, ARC_String *string, void *automataData)
checks if the substring automataData as an ARC_String matches the first part of string
Definition lexer.c:341
-
-

References ARC_Lexer_AutomataMatchStringFn(), ARC_LexerTokenRule_DestroyStringAutomataDataFn(), ARC_String_Copy(), ARC_LexerTokenRule::automataData, ARC_LexerTokenRule::automataFn, ARC_LexerTokenRule::destroyAutomataDataFn, and ARC_LexerTokenRule::id.

- -

Referenced by ARC_ParserLang_InitLexerRulesFn().

- -
-
- -

◆ ARC_LexerTokenRule_DestroyCharAutomataDataFn()

- -
-
- - - - - - - -
void ARC_LexerTokenRule_DestroyCharAutomataDataFn (void * automataData)
-
- -

Definition at line 374 of file lexer.c.

-
374 {
-
375 free((char *)automataData);
-
376}
-
-

Referenced by ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween(), and ARC_LexerTokenRule_CreateAndReturnMatchCharRule().

- -
-
- -

◆ ARC_LexerTokenRule_DestroyStringAutomataDataFn()

- -
-
- - - - - - - -
void ARC_LexerTokenRule_DestroyStringAutomataDataFn (void * automataData)
-
- -

Definition at line 424 of file lexer.c.

-
424 {
-
425 ARC_String_Destroy((ARC_String *)automataData);
-
426}
-
-

References ARC_String_Destroy().

- -

Referenced by ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule(), and ARC_LexerTokenRule_CreateAndReturnMatchStringRule().

- -
-
- -

◆ ARC_LexerTokenRule_VectorCompareDataFn()

- -
-
- - - - - - - - - - - -
ARC_Bool ARC_LexerTokenRule_VectorCompareDataFn (void * dataA,
void * dataB )
-
- -

Definition at line 20 of file lexer.c.

-
20 {
-
21 ARC_LexerTokenRule *tokenRuleA = (ARC_LexerTokenRule *)dataA;
-
22 ARC_LexerTokenRule *tokenRuleB = (ARC_LexerTokenRule *)dataB;
-
23
-
24 if(tokenRuleA->id == tokenRuleB->id){
-
25 return ARC_True;
-
26 }
-
27
-
28 return ARC_False;
-
29}
-
-

References ARC_False, ARC_True, and ARC_LexerTokenRule::id.

- -

Referenced by ARC_Lexer_Create().

- -
-
- -

◆ ARC_LexerTokenRule_VectorDestroyDataFn()

- -
-
- - - - - - - -
void ARC_LexerTokenRule_VectorDestroyDataFn (void * data)
-
- -

Definition at line 32 of file lexer.c.

-
32 {
-
33 ARC_LexerTokenRule *tokenRule = (ARC_LexerTokenRule *)data;
-
34 tokenRule->destroyAutomataDataFn(tokenRule->automataData);
-
35 free(tokenRule);
-
36}
-
-

References ARC_LexerTokenRule::automataData, and ARC_LexerTokenRule::destroyAutomataDataFn.

- -

Referenced by ARC_Lexer_Create().

- -
-
-
- - -
- - diff --git a/doc/doxygen/html/d8/d33/lexer_8c_source.html b/doc/doxygen/html/d8/d33/lexer_8c_source.html deleted file mode 100644 index 87b663f..0000000 --- a/doc/doxygen/html/d8/d33/lexer_8c_source.html +++ /dev/null @@ -1,765 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/lexer.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
lexer.c
-
-
-Go to the documentation of this file.
1#include "arc/std/lexer.h"
-
2
-
3#include "arc/std/bool.h"
-
4#include "arc/std/errno.h"
-
5#include "arc/std/string.h"
-
6#include "arc/std/vector.h"
-
7#include "arc/std/io.h"
-
8#include <stdlib.h>
-
9
-
-
10struct ARC_Lexer {
- - -
13
-
14 //these are used for checking if an uint32_t is a value, if token rules are continuous we can just check the max token value
- - -
17};
-
-
18
-
19//private function for checking if two lexer token rules are the same in a vector (based on id)
-
- -
21 ARC_LexerTokenRule *tokenRuleA = (ARC_LexerTokenRule *)dataA;
-
22 ARC_LexerTokenRule *tokenRuleB = (ARC_LexerTokenRule *)dataB;
-
23
-
24 if(tokenRuleA->id == tokenRuleB->id){
-
25 return ARC_True;
-
26 }
-
27
-
28 return ARC_False;
-
29}
-
-
30
-
31//private function for destroying a lexer token rule from a vector
-
- -
33 ARC_LexerTokenRule *tokenRule = (ARC_LexerTokenRule *)data;
-
34 tokenRule->destroyAutomataDataFn(tokenRule->automataData);
-
35 free(tokenRule);
-
36}
-
-
37
-
38//private function for destroying a lexer token from a vector
-
- -
40 ARC_LexerToken *token = (ARC_LexerToken *)data;
-
41
-
42 //deletes the token data string if it exists
-
43 if(token->data != NULL){
- -
45 }
-
46
-
47 free(token);
-
48}
-
-
49
-
- -
51 //create the lexer
-
52 *lexer = (ARC_Lexer *)malloc(sizeof(ARC_Lexer));
-
53
-
54 //setup token rules vector with compare and delete functions
- - -
57 ARC_Vector_Create(&(*lexer)->tokenRules, &tokenRulesVectorCompareDataFn, &tokenRulesVectorDestroyDataFn);
-
58
-
59 //setup tokens vector with delete funtion, we don't want a deleteDataFn because their index will be used as the id
- -
61 ARC_Vector_Create(&(*lexer)->tokens, NULL, &tokenVectorDestroyDataFn);
-
62
-
63 //set token rules to continuous and initialize the token rules max value
-
64 (*lexer)->tokenRulesAreContinuous = ARC_True;
-
65 (*lexer)->tokenRulesMaxVal = 0;
-
66}
-
-
67
-
- -
69 //free the tokens (there is a vectorDeleteDataFn, so tokens should be freed)
- -
71
-
72 //free the token rules (there is a vectorDeleteDataFn, so token rules should be freed)
- -
74
-
75 //free the lexer
-
76 free(lexer);
-
77}
-
-
78
-
- -
80 //copy the token to a new pointer
-
81 ARC_LexerTokenRule *storedTokenRule = (ARC_LexerTokenRule *)malloc(sizeof(ARC_LexerTokenRule));
-
82 *storedTokenRule = tokenRule;
-
83
-
84 //TODO: add warning here for if arc_errno is already set
-
85
-
86 //add to the vector and check for error (I'd be surprised if the error ever happened because that would most likely mean overflow)
-
87 ARC_Vector_Add(lexer->tokenRules, storedTokenRule);
-
88 if(arc_errno){
-
89 ARC_DEBUG_LOG_ERROR("ARC_Lexer_RegisterTokenRule(lexer, tokenRule), errored when running ARC_Vector_Add(lexer->tokenRules, storedTokenRule);. check logs for more info");
-
90 free(storedTokenRule);
-
91 }
-
92
-
93 //check if the value still is continuous
- -
95 //if it is already continuous we just check if it is one value above the tokens already in the vector
-
96 for(uint32_t tokenRuleIndex = ARC_Vector_GetSize(lexer->tokenRules) - 1; tokenRuleIndex > 0; tokenRuleIndex--){
-
97 //get the current token rule
-
98 ARC_LexerTokenRule *currentTokenRule = (ARC_LexerTokenRule *)ARC_Vector_Get(lexer->tokenRules, tokenRuleIndex - 1);
-
99
-
100 //check if the token rule is continuous (then next max value by one)
-
101 if(tokenRule.id - currentTokenRule->id == 1){
-
102 //the token rule is already continuous so we can update the max value and return
-
103 lexer->tokenRulesMaxVal = tokenRule.id;
-
104 return;
-
105 }
-
106 }
-
107
-
108 //the token is no longer continous
- -
110 return;
-
111 }
-
112
-
113 //check to see if this value makes the token rule continuous again
-
114 //TODO: might want to optomize this
-
115 uint32_t minValue = ~(uint32_t)0;
-
116 for(uint32_t tokenRuleIndex = 0; tokenRuleIndex < ARC_Vector_GetSize(lexer->tokenRules); tokenRuleIndex++){
-
117 //get the current token rule
-
118 ARC_LexerTokenRule *currentTokenRule = (ARC_LexerTokenRule *)ARC_Vector_Get(lexer->tokenRules, tokenRuleIndex);
-
119
-
120 //check each token to find the minimum one
-
121 if(currentTokenRule->id < minValue){
-
122 minValue = currentTokenRule->id;
-
123 }
-
124 }
-
125
-
126 //loop through untill either all the values are checked and in order or the token rule is not continuous
-
127 //TODO: might want to optomize this
-
128 for(uint32_t foundSize = 0; foundSize != ARC_Vector_GetSize(lexer->tokenRules); foundSize++){
-
129 //check all current rules
-
130 ARC_Bool currentAreContinuous = ARC_False;
-
131 for(uint32_t tokenRuleIndex = 0; tokenRuleIndex < ARC_Vector_GetSize(lexer->tokenRules); tokenRuleIndex++){
-
132 //get the current token rule
-
133 ARC_LexerTokenRule *currentTokenRule = (ARC_LexerTokenRule *)ARC_Vector_Get(lexer->tokenRules, tokenRuleIndex);
-
134
-
135 //check if the value is smaller than or equal to the minimum value and if it is we can skip it
-
136 if(currentTokenRule->id <= minValue){
-
137 continue;
-
138 }
-
139
-
140 //check if the value is continous
-
141 if(currentTokenRule->id - minValue == 1){
-
142 //set the token rule max val to the next most continuous value
-
143 lexer->tokenRulesMaxVal = currentTokenRule->id;
-
144
-
145 //set the next smallest value to check to the the next most continuous value
-
146 minValue = currentTokenRule->id;
-
147 currentAreContinuous = ARC_True;
-
148 break;
-
149 }
-
150 }
-
151
-
152 //the current values are not continuous so we can return as token rules are continuous is already set to false
-
153 if(currentAreContinuous == ARC_False){
-
154 return;
-
155 }
-
156
-
157 //a continuous value was found so loop to next value
-
158 }
-
159}
-
-
160
-
- -
162 //clear the tokens vector
-
163 ARC_Vector_Clear(lexer->tokens);
-
164}
-
-
165
-
- -
167 //check if there are any token rules to use
-
168 if(ARC_Vector_GetSize(lexer->tokenRules) == 0){
- -
170 ARC_DEBUG_LOG_ERROR("ARC_Lexer_LexString(lexer, data), no tokens registered to lexer to use");
-
171 return;
-
172 }
-
173
-
174 //this will run untill everything token is stripped or there is an error
-
175 while(*data != NULL){
-
176 uint32_t tokenLength = 0;
-
177 uint32_t lastTokenLength = 0;
-
178 ARC_LexerToken *token = NULL;
-
179
-
180 for(uint32_t index = 0; index < ARC_Vector_GetSize(lexer->tokenRules); index++){
-
181 //check if the token rule is found
-
182 ARC_LexerTokenRule *tokenRule = ARC_Vector_Get(lexer->tokenRules, index);
-
183
-
184 //tokenData should only exist if tokenLength is ARC_True as stated in the header
-
185 ARC_String *tokenData = NULL;
-
186 tokenLength = tokenRule->automataFn(&tokenData, *data, tokenRule->automataData);
-
187
-
188 //check if a token was found if it wasn't continue. I'm doing this to try to cut down on the ammount of indentation
-
189 if(tokenLength == 0){
-
190 continue;
-
191 }
-
192
-
193 //check to see if we found a better match
-
194 if(tokenLength > lastTokenLength){
-
195 //free the current token if it exists
-
196 if(token != NULL){
- -
198 }
-
199
-
200 //create the token to add
-
201 token = (ARC_LexerToken *)malloc(sizeof(ARC_LexerToken));
-
202 token->rule = tokenRule->id;
-
203 token->data = tokenData;
-
204
-
205 //update the last found tokenLength to the max length
-
206 lastTokenLength = tokenLength;
-
207 }
-
208 }
-
209
-
210 //if no token was found, throw an error
-
211 if(token == NULL){
- -
213 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_Lexer_LexString(lexer, data), no tokens found with current string: \"%s\"", (*data)->data);
-
214
-
215 //clean up errored string
-
216 ARC_String_Destroy(*data);
-
217 *data = NULL;
-
218 return;
-
219 }
-
220
-
221 //token exists (something must have gone very wrong if it doesn't), so add it and check for overflow (which I'd be surprised if that happens)
-
222 ARC_Vector_Add(lexer->tokens, (void *)token);
-
223 if(arc_errno){
-
224 ARC_DEBUG_LOG_ERROR("ARC_Lexer_LexString(lexer, data), errored when running ARC_Vector_Add(lexer->tokens, token);. check logs for more info");
-
225 free(token);
-
226
-
227 //clean up errored string
-
228 ARC_String_Destroy(*data);
-
229 *data = NULL;
-
230 return;
-
231 }
-
232
-
233 //if the last token was found, destroy the string and return
-
234 if(lastTokenLength == (*data)->length){
-
235 ARC_String_Destroy(*data);
-
236 *data = NULL;
-
237 return;
-
238 }
-
239
-
240 //strip the string
-
241 ARC_String_ReplaceWithSubstring(data, lastTokenLength, (*data)->length - lastTokenLength);
-
242 }
-
243}
-
-
244
-
- -
246 //read file and clean up if it errors
-
247 ARC_String *data;
-
248 ARC_IO_FileToStr(path, &data);
-
249 if(arc_errno){
-
250 ARC_DEBUG_LOG_ERROR("ARC_Lexer_LexFile(lexer, path), errored when running ARC_IO_FileToStr(path, &data);. check logs for more info");
-
251 if(data != NULL){
-
252 ARC_String_Destroy(data);
-
253 }
-
254
-
255 return;
-
256 }
-
257
-
258 //lex the string and log if there is an error, ARC_Lexer_LexString will clean up the string
-
259 ARC_Lexer_LexString(lexer, &data);
-
260 if(arc_errno){
-
261 ARC_DEBUG_LOG_ERROR("ARC_Lexer_LexFile(lexer, path), errored when running ARC_Lexer_LexString(lexer, data);. check logs for more info");
-
262 }
-
263}
-
-
264
-
- -
266 for(uint32_t index = 0; index < ARC_Vector_GetSize(lexer->tokenRules); index++){
-
267 ARC_LexerTokenRule *tokenRule = ARC_Vector_Get(lexer->tokenRules, index);
-
268 printf("Rule: %02i\tFunction: %p\n", tokenRule->id, tokenRule->automataFn);
-
269 }
-
270}
-
-
271
-
- -
273 //get the token and log if there is an error
-
274 ARC_LexerToken *token = ARC_Vector_Get(lexer->tokens, index);
-
275 if(arc_errno){
-
276 ARC_DEBUG_LOG_ERROR("ARC_Lexer_GetToken(lexer, index), errored when running ARC_Vector_Get(lexer->tokens, index);. check logs for more info");
-
277
-
278 //return a token with max rule value, and NULL for the string to signify an error
-
279 return NULL;
-
280 }
-
281
-
282 //the token was found, so return it
-
283 return token;
-
284}
-
-
285
-
- -
287 return ARC_Vector_GetSize(lexer->tokens);
-
288}
-
-
289
-
- -
291 return lexer->tokenRulesAreContinuous;
-
292}
-
-
293
-
- -
295 //if the rules are continuous we can just check if it is less than the max rules value
-
296 if(lexer->tokenRulesAreContinuous == ARC_True){
-
297 return id <= lexer->tokenRulesMaxVal;
-
298 }
-
299
-
300 //the rules are not continuous so we need to check each individually
-
301 for(uint32_t index = 0; index < ARC_Vector_GetSize(lexer->tokenRules); index++){
-
302 ARC_LexerTokenRule *currentTokenRule = (ARC_LexerTokenRule *)ARC_Vector_Get(lexer->tokenRules, index);
-
303 if(currentTokenRule->id == id){
-
304 return ARC_True;
-
305 }
-
306 }
-
307
-
308 return ARC_False;
-
309}
-
-
310
-
-
311uint32_t ARC_Lexer_AutomataMatchCharFn(ARC_String **tokenData, ARC_String *string, void *automataData){
-
312 //if there is a match the token will be the same as automataData, so we don't need to store it again
-
313 *tokenData = NULL;
-
314
-
315 //check to see if there is a match with automataData as a char
-
316 if(string->data[0] == *(char *)automataData){
-
317 //return the token was found of length 1
-
318 return 1;
-
319 }
-
320
-
321 //no match was found
-
322 return 0;
-
323}
-
-
324
-
-
325uint32_t ARC_Lexer_AutomataMatchCharOrBetweenFn(ARC_String **tokenData, ARC_String *string, void *automataData){
-
326 //if there is a match the token will be the same as automataData, so we don't need to store it again
-
327 *tokenData = NULL;
-
328
-
329 //check to see if there is a match with automataData as a range of chars
-
330 char *automataDataChars = (char *)automataData;
-
331 if(string->data[0] >= automataDataChars[0] && string->data[0] <= ((char *)automataData)[1]){
-
332 //return the token as token data and the token was found of length 1
-
333 ARC_String_Create(tokenData, string->data, 1);
-
334 return 1;
-
335 }
-
336
-
337 //no match was found
-
338 return 0;
-
339}
-
-
340
-
-
341uint32_t ARC_Lexer_AutomataMatchStringFn(ARC_String **tokenData, ARC_String *string, void *automataData){
-
342 //if there is a match the token will be the same as automataData, so we don't need to store it again
-
343 *tokenData = NULL;
-
344
-
345 //check to see if there is a match with automataData as a string
-
346 ARC_String *automataDataString = (ARC_String *)automataData;
-
347 if(ARC_String_SubstringEquals(string, 0, automataDataString)){
-
348 //return the token was found of the string length
-
349 return automataDataString->length;
-
350 }
-
351
-
352 //no match was found
-
353 return 0;
-
354}
-
-
355
-
-
356uint32_t ARC_Lexer_AutomataMatchCharInStringFn(ARC_String **tokenData, ARC_String *string, void *automataData){
-
357 //if there is a match the token will be the same as automataData, so we don't need to store it again
-
358 *tokenData = NULL;
-
359
-
360 //check to see if there is a char match in automataData as a string
-
361 ARC_String *automataDataString = (ARC_String *)automataData;
-
362 for(uint64_t index = 0; index < automataDataString->length; index++){
-
363 if(string->data[0] == automataDataString->data[index]){
-
364 //return the token was found in the string of length 1
-
365 return 1;
-
366 }
-
367 }
-
368
-
369 //no match was found
-
370 return 0;
-
371}
-
-
372
-
373//private function to free automataData stored as a char
-
- -
375 free((char *)automataData);
-
376}
-
-
377
-
- -
379 //create the token rule
-
380 ARC_LexerTokenRule tokenRule;
-
381
-
382 //set the id
-
383 tokenRule.id = id;
-
384
-
385 //create and store the automataData (which is just a char)
-
386 char *automataData = (char *)malloc(sizeof(char));
-
387 *automataData = character;
-
388 tokenRule.automataData = (void *)automataData;
-
389
-
390 //we can use the ARC_Lexer_AutomataMatchCharFn for this
- -
392
-
393 //add the private destroy function
- -
395
-
396 //return the created tokenRule
-
397 return tokenRule;
-
398}
-
-
399
-
- -
401 //create the token rule
-
402 ARC_LexerTokenRule tokenRule;
-
403
-
404 //set the id
-
405 tokenRule.id = id;
-
406
-
407 //create and store the automataData (which is just two chars (the minumum and manximum))
-
408 char *automataData = (char *)malloc(sizeof(char) * 2);
-
409 automataData[0] = start;
-
410 automataData[1] = end;
-
411 tokenRule.automataData = (void *)automataData;
-
412
-
413 //we can use the ARC_Lexer_AutomataMatchCharInStringFn for this
- -
415
-
416 //add the private destroy function (we can use the char as it destroys a char pointer of any size)
- -
418
-
419 //return the created tokenRule
-
420 return tokenRule;
-
421}
-
-
422
-
423//private function to free automataData stored as an ARC_String
-
- -
425 ARC_String_Destroy((ARC_String *)automataData);
-
426}
-
-
427
-
- -
429 //create the token rule
-
430 ARC_LexerTokenRule tokenRule;
-
431
-
432 //set the id
-
433 tokenRule.id = id;
-
434
-
435 //copy and store the automataData (which is just an ARC_String)
-
436 ARC_String *automataData;
-
437 ARC_String_Copy(&automataData, string);
-
438 tokenRule.automataData = (void *)automataData;
-
439
-
440 //we can use the ARC_Lexer_AutomataMatchStringFn for this
- -
442
-
443 //add the private destroy function
- -
445
-
446 //return the created tokenRule
-
447 return tokenRule;
-
448}
-
-
449
-
- -
451 //create the token rule
-
452 ARC_LexerTokenRule tokenRule;
-
453
-
454 //set the id
-
455 tokenRule.id = id;
-
456
-
457 //copy and store the automataData (which is just an ARC_String)
-
458 ARC_String *automataData;
-
459 ARC_String_Copy(&automataData, string);
-
460 tokenRule.automataData = (void *)automataData;
-
461
-
462 //we can use the ARC_Lexer_AutomataMatchCharInStringFn for this
- -
464
-
465 //add the private destroy function
- -
467
-
468 //return the created tokenRule
-
469 return tokenRule;
-
470}
-
-
471
-
- -
473 //null
- -
475
-
476 //number
- -
478
-
479 //alpha char
- - -
482
-
483 //whitespace
-
484 //TODO: fix this
-
485 ARC_String *whitespaceString;
-
486 ARC_String_CreateWithStrlen(&whitespaceString, " \t");
- -
488 ARC_String_Destroy(whitespaceString);
-
489
-
490 //single char tokens
- - - - - - - - - - - - - - - -
506}
-
- -
#define ARC_False
Definition bool.h:12
-
#define ARC_True
Definition bool.h:11
-
#define ARC_Bool
Definition bool.h:10
- -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
#define ARC_ERRNO_DATA
Definition errno.h:7
- -
void ARC_IO_FileToStr(ARC_String *path, ARC_String **data)
get string and size from file
Definition io.c:43
-
ARC_Bool ARC_LexerTokenRule_VectorCompareDataFn(void *dataA, void *dataB)
Definition lexer.c:20
-
void ARC_LexerTokenRule_VectorDestroyDataFn(void *data)
Definition lexer.c:32
-
void ARC_Lexer_LexFile(ARC_Lexer *lexer, ARC_String *path)
reads in and lexs a file
Definition lexer.c:245
-
ARC_LexerToken * ARC_Lexer_GetToken(ARC_Lexer *lexer, uint32_t index)
gets a token at a given index from a lexer
Definition lexer.c:272
-
ARC_Bool ARC_Lexer_IsTokenId(ARC_Lexer *lexer, uint32_t id)
returns a boolean based on if a given id is a stored token rule id
Definition lexer.c:294
-
void ARC_Lexer_RegisterTokenRule(ARC_Lexer *lexer, ARC_LexerTokenRule tokenRule)
adds a token rule to a lexer
Definition lexer.c:79
-
uint32_t ARC_Lexer_AutomataMatchCharFn(ARC_String **tokenData, ARC_String *string, void *automataData)
checks if the first character of string matches the automataData cast as a char
Definition lexer.c:311
-
void ARC_Lexer_LexString(ARC_Lexer *lexer, ARC_String **data)
creates tokens using a given string with ARC_LexerToken rules
Definition lexer.c:166
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchStringRule(uint32_t id, ARC_String *string)
creates a ARC_LexerTokenRule with a given id and string
Definition lexer.c:428
-
void ARC_Lexer_Clear(ARC_Lexer *lexer)
clears all tokens from a lexer (will not clear token rules)
Definition lexer.c:161
-
void ARC_Lexer_InitBasicTokenRules(ARC_Lexer *lexer)
adds a bunch of basic token rules (matching the BasicTokens above)
Definition lexer.c:472
-
void ARC_Lexer_Create(ARC_Lexer **lexer)
creates an ARC_Lexer type
Definition lexer.c:50
-
void ARC_LexerToken_VectorDestroyDataFn(void *data)
Definition lexer.c:39
-
uint32_t ARC_Lexer_AutomataMatchCharOrBetweenFn(ARC_String **tokenData, ARC_String *string, void *automataData)
Definition lexer.c:325
-
uint32_t ARC_Lexer_GetTokensSize(ARC_Lexer *lexer)
gets a token at a given index from a lexer
Definition lexer.c:286
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharRule(uint32_t id, char character)
creates a ARC_LexerTokenRule with a given id and character
Definition lexer.c:378
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween(uint32_t id, char start, char end)
creates a ARC_LexerTokenRule with a given id and character range
Definition lexer.c:400
-
void ARC_LexerTokenRule_DestroyCharAutomataDataFn(void *automataData)
Definition lexer.c:374
-
uint32_t ARC_Lexer_AutomataMatchStringFn(ARC_String **tokenData, ARC_String *string, void *automataData)
checks if the substring automataData as an ARC_String matches the first part of string
Definition lexer.c:341
-
ARC_Bool ARC_Lexer_IsContinious(ARC_Lexer *lexer)
returns a boolean based on if a lexers rules are continious
Definition lexer.c:290
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule(uint32_t id, ARC_String *string)
creates a ARC_LexerTokenRule with a given id and string
Definition lexer.c:450
-
void ARC_LexerTokenRule_DestroyStringAutomataDataFn(void *automataData)
Definition lexer.c:424
-
uint32_t ARC_Lexer_AutomataMatchCharInStringFn(ARC_String **tokenData, ARC_String *string, void *automataData)
checks if the first part of string is a character in substring
Definition lexer.c:356
-
void ARC_Lexer_PrintTokenRules(ARC_Lexer *lexer)
prints rule id and hex of the function name
Definition lexer.c:265
-
void ARC_Lexer_Destroy(ARC_Lexer *lexer)
destroys an ARC_Lexer type
Definition lexer.c:68
- -
#define ARC_LEXER_TOKEN_WHITESPACE
Definition lexer.h:252
-
#define ARC_LEXER_TOKEN_FORWARD_SLASH_ID
Definition lexer.h:271
-
#define ARC_LEXER_TOKEN_ALPHA_UPPER_CHAR
Definition lexer.h:251
-
#define ARC_LEXER_TOKEN_PERIOD_CHAR
Definition lexer.h:269
-
#define ARC_LEXER_TOKEN_PERCENT_ID
Definition lexer.h:298
-
#define ARC_LEXER_TOKEN_PERCENT_CHAR
Definition lexer.h:299
-
#define ARC_LEXER_TOKEN_LEFT_PARENTHESIS_CHAR
Definition lexer.h:278
-
#define ARC_LEXER_TOKEN_PERIOD_ID
Definition lexer.h:268
-
#define ARC_LEXER_TOKEN_NULL
basic tokens
Definition lexer.h:248
-
#define ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_CHAR
Definition lexer.h:287
-
#define ARC_LEXER_TOKEN_COMMA_CHAR
Definition lexer.h:266
-
#define ARC_LEXER_TOKEN_AT_ID
Definition lexer.h:292
-
#define ARC_LEXER_TOKEN_AT_CHAR
Definition lexer.h:293
-
#define ARC_LEXER_TOKEN_COLON_CHAR
Definition lexer.h:260
-
#define ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_ID
Definition lexer.h:283
-
#define ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_ID
Definition lexer.h:280
-
#define ARC_LEXER_TOKEN_BANG_CHAR
Definition lexer.h:290
-
#define ARC_LEXER_TOKEN_NEWLINE_ID
basic token type ids, chars, and tags
Definition lexer.h:257
-
#define ARC_LEXER_TOKEN_COMMA_ID
Definition lexer.h:265
-
#define ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_ID
Definition lexer.h:286
-
#define ARC_LEXER_TOKEN_HASH_ID
Definition lexer.h:295
-
#define ARC_LEXER_TOKEN_NEWLINE_CHAR
Definition lexer.h:258
-
#define ARC_LEXER_TOKEN_BACK_SLASH_ID
Definition lexer.h:274
-
#define ARC_LEXER_TOKEN_BANG_ID
Definition lexer.h:289
-
#define ARC_LEXER_TOKEN_SEMICOLON_ID
Definition lexer.h:262
-
#define ARC_LEXER_TOKEN_FORWARD_SLASH_CHAR
Definition lexer.h:272
-
#define ARC_LEXER_TOKEN_ALPHA_LOWER_CHAR
Definition lexer.h:250
-
#define ARC_LEXER_TOKEN_BACK_SLASH_CHAR
Definition lexer.h:275
-
#define ARC_LEXER_TOKEN_COLON_ID
Definition lexer.h:259
-
#define ARC_LEXER_TOKEN_SEMICOLON_CHAR
Definition lexer.h:263
-
#define ARC_LEXER_TOKEN_LEFT_PARENTHESIS_ID
Definition lexer.h:277
-
#define ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_CHAR
Definition lexer.h:284
-
#define ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_CHAR
Definition lexer.h:281
-
#define ARC_LEXER_TOKEN_NUMBER
Definition lexer.h:249
-
#define ARC_LEXER_TOKEN_HASH_CHAR
Definition lexer.h:296
- -
void ARC_String_CreateWithStrlen(ARC_String **string, char *data)
creates ARC_String type with strinlen
Definition string.c:32
-
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
-
void ARC_String_Copy(ARC_String **copy, ARC_String *original)
copy a ARC_String
Definition string.c:62
-
ARC_Bool ARC_String_SubstringEquals(ARC_String *first, uint64_t offset, ARC_String *second)
check if substring of first equals second string
Definition string.c:175
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
void ARC_String_ReplaceWithSubstring(ARC_String **string, uint64_t start, uint64_t length)
replaces a string with a section of itself
Definition string.c:100
-
a lexer token rule type
Definition lexer.h:46
-
uint32_t id
Definition lexer.h:47
-
void * automataData
Definition lexer.h:49
-
ARC_LexerTokenRule_AutomataFn automataFn
Definition lexer.h:51
-
ARC_LexerTokenRule_DestroyAutomataDataFn destroyAutomataDataFn
Definition lexer.h:52
-
a lexer token type
Definition lexer.h:18
-
uint32_t rule
Definition lexer.h:19
-
ARC_String * data
Definition lexer.h:20
- -
ARC_Vector * tokenRules
Definition lexer.c:11
-
ARC_Vector * tokens
Definition lexer.c:12
-
uint32_t tokenRulesMaxVal
Definition lexer.c:16
-
ARC_Bool tokenRulesAreContinuous
Definition lexer.c:15
-
substring position within a string
Definition string.h:14
-
uint64_t length
Definition string.h:16
-
char * data
Definition string.h:15
- - -
void(* ARC_Vector_DestroyDataFn)(void *data)
a callback that cleans up memory when it is removed from the vector
Definition vector.h:31
-
uint32_t ARC_Vector_GetSize(ARC_Vector *vector)
gets the current size of an ARC_Vector as an unsigned 32 bit integer
Definition vector.c:146
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:150
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:67
-
ARC_Bool(* ARC_Vector_CompareDataFn)(void *dataA, void *dataB)
a callback that allows the user to define a way to check the data stored in a vector for a match
Definition vector.h:24
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:51
-
void ARC_Vector_Clear(ARC_Vector *vector)
clears all items from a vector
Definition vector.c:139
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:28
-
- - -
- - diff --git a/doc/doxygen/html/d8/d38/queue_8h.html b/doc/doxygen/html/d8/d38/queue_8h.html deleted file mode 100644 index 11d8f04..0000000 --- a/doc/doxygen/html/d8/d38/queue_8h.html +++ /dev/null @@ -1,305 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/queue.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
queue.h File Reference
-
-
-
#include <stdint.h>
-
-

Go to the source code of this file.

- - - - - -

-Typedefs

typedef struct ARC_Queue ARC_Queue
 a queue type
 
- - - - - - - - - - - - - - - - -

-Functions

void ARC_Queue_Create (ARC_Queue **queue)
 creates ARC_Queue type
 
void ARC_Queue_Destroy (ARC_Queue *queue)
 destroyes ARC_Queue type
 
void ARC_Queue_Push (ARC_Queue *queue, void *data)
 pushes value to end of queue
 
void * ARC_Queue_Pop (ARC_Queue *queue)
 pops the front off of the ARC_Queue
 
uint32_t ARC_Queue_Size (ARC_Queue *queue)
 gets size of queue
 
-

Typedef Documentation

- -

◆ ARC_Queue

- -
-
- - - - -
typedef struct ARC_Queue ARC_Queue
-
- -

a queue type

- -

Definition at line 13 of file queue.h.

- -
-
-

Function Documentation

- -

◆ ARC_Queue_Create()

- -
-
- - - - - - - -
void ARC_Queue_Create (ARC_Queue ** queue)
-
- -

creates ARC_Queue type

-
Parameters
- - -
queueARC_Queue to initialize
-
-
- -
-
- -

◆ ARC_Queue_Destroy()

- -
-
- - - - - - - -
void ARC_Queue_Destroy (ARC_Queue * queue)
-
- -

destroyes ARC_Queue type

- -
-
- -

◆ ARC_Queue_Pop()

- -
-
- - - - - - - -
void * ARC_Queue_Pop (ARC_Queue * queue)
-
- -

pops the front off of the ARC_Queue

-
Parameters
- - -
queueARC_Queue to remove from
-
-
-
Returns
the poped data from the queue as a void *
- -
-
- -

◆ ARC_Queue_Push()

- -
-
- - - - - - - - - - - -
void ARC_Queue_Push (ARC_Queue * queue,
void * data )
-
- -

pushes value to end of queue

-
Parameters
- - - -
queueARC_Queue to push to
datadata that is being pushed
-
-
- -
-
- -

◆ ARC_Queue_Size()

- -
-
- - - - - - - -
uint32_t ARC_Queue_Size (ARC_Queue * queue)
-
- -

gets size of queue

-
Parameters
- - -
vectorARC_Queue to get size from
-
-
-
Returns
the queues size
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/d38/queue_8h.js b/doc/doxygen/html/d8/d38/queue_8h.js deleted file mode 100644 index 2cfa3bb..0000000 --- a/doc/doxygen/html/d8/d38/queue_8h.js +++ /dev/null @@ -1,9 +0,0 @@ -var queue_8h = -[ - [ "ARC_Queue", "d8/d38/queue_8h.html#a5c99fef5a72278c9ae5c410070412201", null ], - [ "ARC_Queue_Create", "d8/d38/queue_8h.html#ae8b1146e12bbf3fb85323f3d142df0bf", null ], - [ "ARC_Queue_Destroy", "d8/d38/queue_8h.html#a3a02c62a5c9ea508b2ad0f4f6512331d", null ], - [ "ARC_Queue_Pop", "d8/d38/queue_8h.html#a6dfacddca2614a104273d52726fb4bb9", null ], - [ "ARC_Queue_Push", "d8/d38/queue_8h.html#a148faa7bfa969213e32a29aaf3799cd3", null ], - [ "ARC_Queue_Size", "d8/d38/queue_8h.html#a874a468cb3a68e9193618c9d2eac11b6", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d8/d38/queue_8h_source.html b/doc/doxygen/html/d8/d38/queue_8h_source.html deleted file mode 100644 index e8c9541..0000000 --- a/doc/doxygen/html/d8/d38/queue_8h_source.html +++ /dev/null @@ -1,191 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/queue.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
queue.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_STD_QUEUE_H_
-
2#define ARC_STD_QUEUE_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include <stdint.h>
-
9
-
10/**
-
11 * @brief a queue type
-
12 */
-
13typedef struct ARC_Queue ARC_Queue;
-
14
-
15/**
-
16 * @brief creates ARC_Queue type
-
17 *
-
18 * @param queue ARC_Queue to initialize
-
19 */
- -
21
-
22/**
-
23 * @brief destroyes ARC_Queue type
-
24 */
- -
26
-
27/**
-
28 * @brief pushes value to end of queue
-
29 *
-
30 * @param queue ARC_Queue to push to
-
31 * @param data data that is being pushed
-
32 */
-
33void ARC_Queue_Push(ARC_Queue *queue, void *data);
-
34
-
35/**
-
36 * @brief pops the front off of the ARC_Queue
-
37 *
-
38 * @param queue ARC_Queue to remove from
-
39 *
-
40 * @return the poped data from the queue as a void *
-
41 */
- -
43
-
44/**
-
45 * @brief gets size of queue
-
46 *
-
47 * @param vector ARC_Queue to get size from
-
48 *
-
49 * @return the queues size
-
50 */
-
51uint32_t ARC_Queue_Size(ARC_Queue *queue);
-
52
-
53#ifdef __cplusplus
-
54}
-
55#endif
-
56
-
57#endif //ARC_STD_QUEUE_H_
-
void ARC_Queue_Push(ARC_Queue *queue, void *data)
pushes value to end of queue
-
void ARC_Queue_Destroy(ARC_Queue *queue)
destroyes ARC_Queue type
-
struct ARC_Queue ARC_Queue
a queue type
Definition queue.h:13
-
void * ARC_Queue_Pop(ARC_Queue *queue)
pops the front off of the ARC_Queue
-
uint32_t ARC_Queue_Size(ARC_Queue *queue)
gets size of queue
-
void ARC_Queue_Create(ARC_Queue **queue)
creates ARC_Queue type
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/d43/structARC__Ssh.html b/doc/doxygen/html/d8/d43/structARC__Ssh.html deleted file mode 100644 index 5cf3f23..0000000 --- a/doc/doxygen/html/d8/d43/structARC__Ssh.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - -Archeus: ARC_Ssh Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_Ssh Struct Reference
-
-
- - - - -

-Data Fields

ssh_session session
 
-

Detailed Description

-
-

Definition at line 11 of file ssh.c.

-

Field Documentation

- -

◆ session

- -
-
- - - - -
ssh_session ARC_Ssh::session
-
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/packages/networking/libssh/ssh.c
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/d43/structARC__Ssh.js b/doc/doxygen/html/d8/d43/structARC__Ssh.js deleted file mode 100644 index 0b6024f..0000000 --- a/doc/doxygen/html/d8/d43/structARC__Ssh.js +++ /dev/null @@ -1,4 +0,0 @@ -var structARC__Ssh = -[ - [ "session", "d8/d43/structARC__Ssh.html#acb504a5b1323711e58cc0fd66ac30dda", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d8/d5c/src_2std_2config_8c.html b/doc/doxygen/html/d8/d5c/src_2std_2config_8c.html deleted file mode 100644 index 1a02705..0000000 --- a/doc/doxygen/html/d8/d5c/src_2std_2config_8c.html +++ /dev/null @@ -1,1580 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/config.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
config.c File Reference
-
-
-
#include "arc/std/config.h"
-#include "arc/std/errno.h"
-#include "arc/std/hashtable.h"
-#include "arc/std/io.h"
-#include "arc/std/string.h"
-#include <stdio.h>
-#include <stdint.h>
-#include <stdlib.h>
-#include <stddef.h>
-
-

Go to the source code of this file.

- - - - - - - - - - -

-Data Structures

struct  ARC_Config
 
struct  ARC_ConfigKey
 
struct  ARC_ConfigTypeTemplate
 
struct  ARC_ConfigDeleteKeyArgs
 
- - - - - - - -

-Typedefs

typedef struct ARC_ConfigKey ARC_ConfigKey
 
typedef struct ARC_ConfigTypeTemplate ARC_ConfigTypeTemplate
 
typedef struct ARC_ConfigDeleteKeyArgs ARC_ConfigDeleteKeyArgs
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

int8_t ARC_Config_KeyComp (void *key1, size_t *key1size, void *key2, size_t *key2size)
 
void ARC_Config_CreateGroup (ARC_Config *config, ARC_String *name)
 
void ARC_Config_DestroyGroup (ARC_HashtableNode *group, void *userdata)
 
void ARC_Config_DestroyGroupNode (ARC_HashtableNode *node, void *userdata)
 
void ARC_Config_RemoveKey (ARC_HashtableNode *node, void *userdata)
 
void ARC_Config_AddKey (ARC_Config *config, ARC_String *type, ARC_ConfigKeyRead keyRead, ARC_ConfigKeyDelete keyDelete)
 adds a usable key to ARC_Config
 
void ARC_Config_AddKeyCString (ARC_Config *config, const char *type, uint64_t length, ARC_ConfigKeyRead keyRead, ARC_ConfigKeyDelete keyDelete)
 adds a key from a cstring
 
void ARC_Config_Create (ARC_Config **config)
 creates ARC_Config type
 
void ARC_Config_Destroy (ARC_Config *config)
 destroys ARC_Config type
 
void ARC_Config_SetGroup (ARC_Config *config, ARC_String *groupname)
 sets current group in config
 
void ARC_Config_Get (ARC_Config *config, ARC_String *keyname, void **value)
 get a value from a given keyname
 
void ARC_Config_Recurse (ARC_Config *config, ARC_String **data, ARC_String *groupstr, uint8_t *command)
 
void ARC_Config_SetKeyGroup (ARC_Config *config, ARC_String **data, uint8_t *command)
 
void ARC_Config_LoadFromKey (ARC_Config *config, ARC_String *keyType, ARC_String *name, ARC_String *value)
 
void ARC_Config_UnloadFromKey (ARC_Config *config, ARC_String *keyType, ARC_String *name, ARC_String *value)
 
void ARC_Config_GetNameAndValue (ARC_String *data, ARC_String **name, ARC_String **value)
 
void ARC_Config_StripComment (ARC_String *original, ARC_String **stripped, ARC_String *lineStart, ARC_String *lineEnd)
 
void ARC_Config_RemoveComments (ARC_String *original, ARC_String **commentRemoved)
 
void ARC_Config_RunCommand (ARC_Config *config, ARC_String *command)
 
void ARC_Config_RemoveAndRunCommands (ARC_Config *config, ARC_String *original, ARC_String **commandRemoved)
 
void ARC_Config_FileIO (ARC_Config *config, ARC_String *path, uint8_t command)
 handles file io for ARC_Config Type
 
-

Typedef Documentation

- -

◆ ARC_ConfigDeleteKeyArgs

- -
-
- - - - -
typedef struct ARC_ConfigDeleteKeyArgs ARC_ConfigDeleteKeyArgs
-
- -
-
- -

◆ ARC_ConfigKey

- -
-
- - - - -
typedef struct ARC_ConfigKey ARC_ConfigKey
-
- -
-
- -

◆ ARC_ConfigTypeTemplate

- -
-
- - - - -
typedef struct ARC_ConfigTypeTemplate ARC_ConfigTypeTemplate
-
- -
-
-

Function Documentation

- -

◆ ARC_Config_AddKey()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Config_AddKey (ARC_Config * config,
ARC_String * type,
ARC_ConfigKeyRead keyRead,
ARC_ConfigKeyDelete keyDelete )
-
- -

adds a usable key to ARC_Config

-
Parameters
- - - - - -
configARC_Config to add keys to
typestring of key type
keyReadfunction for reading/creating key from string
keyDeletefunction for deleting stored key
-
-
- -

Definition at line 45 of file config.c.

-
45 {
-
46 ARC_ConfigKey *newKey = (ARC_ConfigKey *)malloc(sizeof(ARC_ConfigKey));
-
47 newKey->Read = keyRead;
-
48 newKey->Delete = keyDelete;
-
49
-
50 char *typeval = (char *)malloc(sizeof(char) * type->length);
-
51 strncpy(typeval, type->data, type->length);
-
52 ARC_Hashtable_Add(config->keys, (void *)typeval, type->length, newKey);
-
53}
-
void ARC_Hashtable_Add(ARC_Hashtable *htable, void *key, size_t keysize, void *data)
adds value to hastable
Definition hashtable.c:75
- -
ARC_ConfigKeyDelete Delete
Definition config.c:22
-
ARC_ConfigKeyRead Read
Definition config.c:21
-
ARC_Hashtable * keys
Definition config.c:17
-
uint64_t length
Definition string.h:16
-
char * data
Definition string.h:15
-
-

References ARC_Hashtable_Add(), ARC_String::data, ARC_ConfigKey::Delete, ARC_Config::keys, ARC_String::length, and ARC_ConfigKey::Read.

- -
-
- -

◆ ARC_Config_AddKeyCString()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
void ARC_Config_AddKeyCString (ARC_Config * config,
const char * type,
uint64_t length,
ARC_ConfigKeyRead keyRead,
ARC_ConfigKeyDelete keyDelete )
-
- -

adds a key from a cstring

-
Parameters
- - - - - - -
configARC_Config to add keys to
typecstring of key type
lengthlength of cstring
keyReadfunction for reading/creating key from string
keyDeletefunction for deleting stored key
-
-
- -

Definition at line 55 of file config.c.

-
55 {
-
56 ARC_ConfigKey *newKey = (ARC_ConfigKey *)malloc(sizeof(ARC_ConfigKey));
-
57 newKey->Read = keyRead;
-
58 newKey->Delete = keyDelete;
-
59
-
60 char *typeval = (char *)malloc(sizeof(char) * length);
-
61 strncpy(typeval, type, length);
-
62 ARC_Hashtable_Add(config->keys, (void *)typeval, length, newKey);
-
63}
-
-

References ARC_Hashtable_Add(), ARC_ConfigKey::Delete, ARC_Config::keys, and ARC_ConfigKey::Read.

- -

Referenced by ARC_AudioConfig_Init(), ARC_GraphicsConfig_Init(), and ARC_MathConfig_Init().

- -
-
- -

◆ ARC_Config_Create()

- -
-
- - - - - - - -
void ARC_Config_Create (ARC_Config ** config)
-
- -

creates ARC_Config type

-
Parameters
- - -
configARC_Config to initialize
-
-
- -

Definition at line 65 of file config.c.

-
65 {
-
66 *config = (ARC_Config *)malloc(sizeof(ARC_Config));
-
67 (*config)->currgroup = NULL;
-
68
-
69 ARC_Hashtable *groups;
- -
71 (*config)->groups = groups;
-
72 ARC_Config_CreateGroup(*config, NULL);
-
73
-
74 ARC_Hashtable *keys;
- -
76 (*config)->keys = keys;
-
77
-
78#ifdef ARC_DEFAULT_CONFIG
- -
80#endif
-
81}
-
void ARC_Hashtable_Create(ARC_Hashtable **htable, uint32_t bucketsize, ARC_Hashtable_Hash hash, ARC_Hashtable_KeyCompare compare)
cteates ARC_Hashtable type
Definition hashtable.c:56
-
void ARC_Config_CreateGroup(ARC_Config *config, ARC_String *name)
Definition config.c:565
-
int8_t ARC_Config_KeyComp(void *key1, size_t *key1size, void *key2, size_t *key2size)
Definition config.c:557
-
#define ARC_KEY_BUCKET_SIZE
Definition config.h:12
-
#define ARC_GROUP_BUCKET_SIZE
Definition config.h:13
-
void ARC_Defaults_ConfigKey_Create(ARC_Config *config)
- -
ARC_Hashtable * currgroup
Definition config.c:14
- -
-

References ARC_Config_CreateGroup(), ARC_Config_KeyComp(), ARC_Defaults_ConfigKey_Create(), ARC_GROUP_BUCKET_SIZE, ARC_Hashtable_Create(), ARC_KEY_BUCKET_SIZE, and ARC_Config::currgroup.

- -
-
- -

◆ ARC_Config_CreateGroup()

- -
-
- - - - - - - - - - - -
void ARC_Config_CreateGroup (ARC_Config * config,
ARC_String * name )
-
- -

Definition at line 565 of file config.c.

-
565 {
-
566 ARC_Hashtable *data;
- -
568
-
569 if(name){
-
570 char *nameval = (char *)malloc(sizeof(char) * name->length);
-
571 strncpy(nameval, name->data, name->length);
-
572 ARC_Hashtable_Add(config->groups, nameval, name->length, (void *)data);
-
573 return;
-
574 }
-
575
-
576 char *emptyGroup = (char *)malloc(sizeof(char));
-
577 emptyGroup[0] = ' ';
-
578 ARC_Hashtable_Add(config->groups, emptyGroup, 1, (void *)data);
-
579}
-
#define ARC_GROUP_DATA_BUCKET_SIZE
Definition config.h:14
-
ARC_Hashtable * groups
Definition config.c:16
-
-

References ARC_Config_KeyComp(), ARC_GROUP_DATA_BUCKET_SIZE, ARC_Hashtable_Add(), ARC_Hashtable_Create(), ARC_String::data, ARC_Config::groups, and ARC_String::length.

- -

Referenced by ARC_Config_Create(), and ARC_Config_SetGroup().

- -
-
- -

◆ ARC_Config_Destroy()

- -
-
- - - - - - - -
void ARC_Config_Destroy (ARC_Config * config)
-
- -

destroys ARC_Config type

- -

Definition at line 83 of file config.c.

-
83 {
-
84 ARC_ConfigDeleteKeyArgs keyArgs = {
-
85 .config = config,
-
86 .string = NULL,
-
87 };
-
88
-
89 ARC_Hashtable_Destroy(config->groups, ARC_Config_DestroyGroup, (void *)&keyArgs);
- -
91 free(config);
-
92}
-
void ARC_Hashtable_Destroy(ARC_Hashtable *htable, ARC_HashtableNode_DestroyExternal external, void *userdata)
destroys ARC_Hashtable type
Definition hashtable.c:64
-
void ARC_Config_RemoveKey(ARC_HashtableNode *node, void *userdata)
Definition config.c:600
-
void ARC_Config_DestroyGroup(ARC_HashtableNode *group, void *userdata)
Definition config.c:581
- -
-

References ARC_Config_DestroyGroup(), ARC_Config_RemoveKey(), ARC_Hashtable_Destroy(), ARC_Config::groups, and ARC_Config::keys.

- -
-
- -

◆ ARC_Config_DestroyGroup()

- -
-
- - - - - - - - - - - -
void ARC_Config_DestroyGroup (ARC_HashtableNode * group,
void * userdata )
-
- -

Definition at line 581 of file config.c.

-
581 {
-
582 free((char *)group->key);
- -
584}
-
void ARC_Config_DestroyGroupNode(ARC_HashtableNode *node, void *userdata)
Definition config.c:586
- - -
-

References ARC_Config_DestroyGroupNode(), ARC_Hashtable_Destroy(), ARC_HashtableNode::data, and ARC_HashtableNode::key.

- -

Referenced by ARC_Config_Destroy().

- -
-
- -

◆ ARC_Config_DestroyGroupNode()

- -
-
- - - - - - - - - - - -
void ARC_Config_DestroyGroupNode (ARC_HashtableNode * node,
void * userdata )
-
- -

Definition at line 586 of file config.c.

-
586 {
-
587 free((char *)node->key);
-
588
- -
590 if(temp->Delete && temp->data && userdata){
- -
592
-
593 temp->Delete(args->config, args->string, temp->data);
-
594 }
-
595
-
596 free(temp);
-
597 node->data = NULL;
-
598}
-
ARC_Config * config
Definition config.c:32
-
ARC_String * string
Definition config.c:33
- -
-

References ARC_ConfigDeleteKeyArgs::config, ARC_ConfigTypeTemplate::data, ARC_HashtableNode::data, ARC_ConfigTypeTemplate::Delete, ARC_HashtableNode::key, and ARC_ConfigDeleteKeyArgs::string.

- -

Referenced by ARC_Config_DestroyGroup(), and ARC_Config_UnloadFromKey().

- -
-
- -

◆ ARC_Config_FileIO()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Config_FileIO (ARC_Config * config,
ARC_String * path,
uint8_t command )
-
- -

handles file io for ARC_Config Type

-
Parameters
- - - -
configARC_Config where io operations will take place
pathfile path for io
-
-
- -

Definition at line 528 of file config.c.

-
528 {
-
529 arc_errno = 0; //TODO: Remove this, just testing
-
530 ARC_String *data;
-
531 ARC_IO_FileToStr(path, &data);
-
532 if(arc_errno){
-
533 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_IO_FileToStr(%s, &data, &size);\n", path->data);
-
534 return;
-
535 }
-
536
- -
538
-
539 ARC_String *temp = data;
-
540 ARC_Config_RemoveComments(temp, &data);
-
541 ARC_String_Destroy(temp);
-
542
-
543 temp = data;
-
544 ARC_Config_RemoveAndRunCommands(config, temp, &data);
-
545 ARC_String_Destroy(temp);
-
546
-
547 temp = data;
- -
549 ARC_String_Destroy(temp);
-
550
-
551 ARC_Config_Recurse(config, &data, NULL, &command);
-
552 if(data){
-
553 ARC_String_Destroy(data);
-
554 }
-
555}
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
void ARC_IO_FileToStr(ARC_String *path, ARC_String **data)
get string and size from file
Definition io.c:43
-
void ARC_Config_RemoveComments(ARC_String *original, ARC_String **commentRemoved)
Definition config.c:428
-
void ARC_Config_RemoveAndRunCommands(ARC_Config *config, ARC_String *original, ARC_String **commandRemoved)
Definition config.c:491
-
void ARC_Config_Recurse(ARC_Config *config, ARC_String **data, ARC_String *groupstr, uint8_t *command)
Definition config.c:271
-
void ARC_String_StripEndsWhitespace(ARC_String **stripped, ARC_String *original)
strips the whitespace from the ends of a string
Definition string.c:437
-
void ARC_String_AppendCStringWithStrlen(ARC_String **string, const char *cstring)
appends to an ARC_String with an ARC_String
Definition string.c:143
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
substring position within a string
Definition string.h:14
-
-

References ARC_Config_Recurse(), ARC_Config_RemoveAndRunCommands(), ARC_Config_RemoveComments(), ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_IO_FileToStr(), ARC_String_AppendCStringWithStrlen(), ARC_String_Destroy(), ARC_String_StripEndsWhitespace(), and ARC_String::data.

- -

Referenced by ARC_Config_RunCommand().

- -
-
- -

◆ ARC_Config_Get()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Config_Get (ARC_Config * config,
ARC_String * keyname,
void ** value )
-
- -

get a value from a given keyname

-
Note
name may be prefaced with <group>:: to specify group
-
Parameters
- - - - -
configARC_Config to get value from
keynamename of key to get from config
valuedata retrieved from config
-
-
- -

Definition at line 124 of file config.c.

-
124 {
-
125 ARC_ConfigTypeTemplate *temp = NULL;
-
126
-
127 uint64_t length = ARC_String_FindCString(keyname, "::", 2);
-
128 if(arc_errno){
-
129 //TODO: Debug info here
-
130 ARC_DEBUG_LOG_ERROR("in ARC_Config_Get(config, keyname, value); length threw error");
-
131 *value = NULL;
-
132 return;
-
133 }
-
134
-
135 if(length != ~((uint64_t)0)){
-
136 length--;
-
137 ARC_String *group = NULL;
-
138
-
139 if(length != 0){
-
140 ARC_String_CopySubstring(&group, keyname, 0, length);
-
141 }
-
142
-
143 ARC_Hashtable *currgroup = config->currgroup;
-
144 ARC_Config_SetGroup(config, group);
-
145 if(arc_errno){
-
146 ARC_DEBUG_LOG_ERROR("in ARC_Config_Get(config, keyname, value); setting group threw error");
-
147 ARC_String_Destroy(group);
-
148 *value = NULL;
-
149 return;
-
150 }
-
151
-
152 ARC_String *name;
-
153 ARC_String_CopySubstring(&name, keyname, length + 2, keyname->length - (length + 2));
-
154 ARC_Hashtable_Get(config->currgroup, (void *)name->data, name->length, (void **)&temp);
-
155 ARC_String_Destroy(name);
-
156
-
157 config->currgroup = currgroup;
-
158 if(group){
-
159 ARC_String_Destroy(group);
-
160 }
-
161
-
162 if(temp == NULL){
-
163 *value = NULL;
-
164 return;
-
165 }
-
166
-
167 *value = temp->data;
-
168 return;
-
169 }
-
170
-
171 if(!keyname){
-
172 *value = NULL;
-
173 return;
-
174 }
-
175
-
176 ARC_Hashtable_Get(config->currgroup, (void *)keyname->data, keyname->length, (void **)&temp);
-
177 if(arc_errno || temp == NULL){
-
178 *value = NULL;
-
179 return;
-
180 }
-
181
-
182 *value = temp->data;
-
183}
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
void ARC_Hashtable_Get(ARC_Hashtable *htable, void *key, size_t keysize, void **data)
gets value from hashtable by key
Definition hashtable.c:103
-
void ARC_Config_SetGroup(ARC_Config *config, ARC_String *groupname)
sets current group in config
Definition config.c:95
-
void ARC_String_CopySubstring(ARC_String **substring, ARC_String *original, uint64_t start, uint64_t length)
copy a subtring from a givin ARC_String
Definition string.c:72
-
uint64_t ARC_String_FindCString(ARC_String *string, const char *cstring, uint64_t length)
takes given cstring and gives position of first matching
Definition string.c:252
- -
-

References ARC_Config_SetGroup(), ARC_DEBUG_LOG_ERROR, arc_errno, ARC_Hashtable_Get(), ARC_String_CopySubstring(), ARC_String_Destroy(), ARC_String_FindCString(), ARC_Config::currgroup, ARC_ConfigTypeTemplate::data, ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_Audio_Read(), ARC_Point_Read(), ARC_Rect_Read(), ARC_RectArray_Read(), ARC_RectArray_ReadRect(), ARC_SDL_Texture_Read(), ARC_Sprite_Delete(), ARC_Sprite_Read(), ARC_Spritesheet_Delete(), ARC_Spritesheet_Read(), and ARC_Spritesheet_ReadTexture().

- -
-
- -

◆ ARC_Config_GetNameAndValue()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Config_GetNameAndValue (ARC_String * data,
ARC_String ** name,
ARC_String ** value )
-
- -

Definition at line 251 of file config.c.

-
251 {
-
252 uint64_t index = ARC_String_FindCString(data, "=", 1);
-
253 if(arc_errno || index == ~(uint64_t)0){
-
254 *name = NULL;
-
255 *value = NULL;
-
256 return;
-
257 }
-
258
-
259 ARC_String_CopySubstring(name, data, 0, index - 1);
-
260 index++;
-
261
-
262 ARC_String *dataTemp = *name;
-
263 ARC_String_StripEndsWhitespace(name, dataTemp);
-
264 ARC_String_Destroy(dataTemp);
-
265
-
266 ARC_String_CopySubstring(&dataTemp, data, index, data->length - index);
-
267 ARC_String_StripEndsWhitespace(value, dataTemp);
-
268 ARC_String_Destroy(dataTemp);
-
269}
-
-

References arc_errno, ARC_String_CopySubstring(), ARC_String_Destroy(), ARC_String_FindCString(), ARC_String_StripEndsWhitespace(), and ARC_String::length.

- -

Referenced by ARC_Config_Recurse().

- -
-
- -

◆ ARC_Config_KeyComp()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
int8_t ARC_Config_KeyComp (void * key1,
size_t * key1size,
void * key2,
size_t * key2size )
-
- -

Definition at line 557 of file config.c.

-
557 {
-
558 if(*key1size - *key2size){
-
559 return -1;
-
560 }
-
561
-
562 return strncmp((const char *)key1, (const char *)key2, *key1size);
-
563}
-
-

Referenced by ARC_Config_Create(), and ARC_Config_CreateGroup().

- -
-
- -

◆ ARC_Config_LoadFromKey()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Config_LoadFromKey (ARC_Config * config,
ARC_String * keyType,
ARC_String * name,
ARC_String * value )
-
- -

Definition at line 211 of file config.c.

-
211 {
-
212 ARC_ConfigKey *key;
-
213 ARC_Hashtable_Get(config->keys, keyType->data, keyType->length, (void **)&key);
-
214 if(key == NULL){
- -
216 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_Config_LoadFromKey(config, string, value); no matching key: %s", keyType->data);
-
217 }
-
218
-
219 if(arc_errno){
-
220 return;
-
221 }
-
222
- -
224 templateVal->Delete = NULL;
-
225 templateVal->data = NULL;
-
226
-
227 uint8_t reference = key->Read(config, value, &(templateVal->data));
-
228 if(!reference){
-
229 templateVal->Delete = key->Delete;
-
230 }
-
231
-
232 if(arc_errno){
-
233 return;
-
234 }
-
235
-
236 char *nameval = (char *)malloc(sizeof(char) * name->length + 1);
-
237 strncpy(nameval, name->data, name->length);
-
238 nameval[name->length] = '\0';
-
239 ARC_Hashtable_Add(config->currgroup, nameval, name->length, (void *)templateVal);
-
240}
-
#define ARC_ERRNO_DATA
Definition errno.h:7
-
ARC_ConfigKeyDelete Delete
Definition config.c:26
-
-

References ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_DATA, ARC_Hashtable_Add(), ARC_Hashtable_Get(), ARC_Config::currgroup, ARC_ConfigTypeTemplate::data, ARC_String::data, ARC_ConfigKey::Delete, ARC_ConfigTypeTemplate::Delete, ARC_Config::keys, ARC_String::length, and ARC_ConfigKey::Read.

- -

Referenced by ARC_Config_Recurse().

- -
-
- -

◆ ARC_Config_Recurse()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Config_Recurse (ARC_Config * config,
ARC_String ** data,
ARC_String * groupstr,
uint8_t * command )
-
- -

Definition at line 271 of file config.c.

-
271 {
-
272 ARC_Config_SetGroup(config, groupstr);
-
273 if(arc_errno){
-
274 return;
-
275 }
-
276
-
277 ARC_Hashtable *group = config->currgroup;
-
278
-
279 while(*data && (*data)->length){
-
280 ARC_String *dataTemp = *data;
-
281 ARC_String_StripEndsWhitespace(data, dataTemp);
-
282 ARC_String_Destroy(dataTemp);
-
283
-
284 // break out of current group
-
285 if((*data)->data[0] == '}'){
-
286 config->currgroup = NULL;
-
287
-
288 dataTemp = *data;
-
289 ARC_String_CopySubstring(data, dataTemp, 1, dataTemp->length - 1);
-
290 ARC_String_Destroy(dataTemp);
-
291 return;
-
292 }
-
293
-
294 // set group
-
295 if(!(config->currgroup)){
-
296 config->currgroup = group;
-
297 }
-
298
-
299 // get keys type
-
300 uint64_t index = ARC_String_FindCString(*data, " ", 1);
-
301 if(arc_errno || index == ~(uint64_t)0){
-
302 return;
-
303 }
-
304
-
305 ARC_String *keyType, *keyTypeTemp;
-
306 ARC_String_CopySubstring(&keyTypeTemp, *data, 0, index);
-
307 ARC_String_StripEndsWhitespace(&keyType, keyTypeTemp);
-
308 ARC_String_Destroy(keyTypeTemp);
-
309
-
310 if(ARC_String_EqualsCString(keyType, "group", 5)){
-
311 ARC_Config_SetKeyGroup(config, data, command);
-
312 ARC_String_Destroy(keyType);
-
313 config->currgroup = group;
-
314 if(arc_errno){
-
315 return;
-
316 }
-
317
-
318 continue;
-
319 }
-
320
-
321 // get and copy up to the ;
-
322 ARC_String *nameAndValue;
-
323 uint64_t nextIndex = ARC_String_FindCString(*data, ";", 1);
-
324 if(nextIndex == ~(uint64_t)0){
- -
326 }
-
327
-
328 if(arc_errno){
-
329 ARC_String_Destroy(keyType);
-
330 return;
-
331 }
-
332
-
333 ARC_String_CopySubstring(&nameAndValue, *data, index, nextIndex - (index + 1));
-
334 if(arc_errno){
-
335 ARC_String_Destroy(keyType);
-
336 return;
-
337 }
-
338
-
339 // remove up to the ; from data string
-
340 dataTemp = *data;
-
341 ARC_String_CopySubstring(data, dataTemp, nextIndex, (*data)->length - nextIndex);
-
342 ARC_String_Destroy(dataTemp);
-
343 if(arc_errno){
-
344 ARC_String_Destroy(keyType);
-
345 ARC_String_Destroy(nameAndValue);
-
346 return;
-
347 }
-
348
-
349 // get name and value of string
-
350 ARC_String *name, *value;
-
351 ARC_Config_GetNameAndValue(nameAndValue, &name, &value);
-
352 ARC_String_Destroy(nameAndValue);
-
353 if(arc_errno){
-
354 ARC_String_Destroy(keyType);
-
355 return;
-
356 }
-
357
-
358 // load from key
-
359 if(*command == ARC_CONFIG_FILE_IO_LOAD){
-
360 ARC_Config_LoadFromKey(config, keyType, name, value);
-
361
-
362 ARC_String_Destroy(keyType);
-
363 ARC_String_Destroy(name );
-
364 ARC_String_Destroy(value );
-
365
-
366 if(arc_errno){
-
367 return;
-
368 }
-
369
-
370 continue;
-
371 }
-
372
-
373 // unload from key
-
374 if(*command == ARC_CONFIG_FILE_IO_UNLOAD){
-
375 ARC_Config_UnloadFromKey(config, keyType, name, value);
-
376
-
377 ARC_String_Destroy(keyType);
-
378 ARC_String_Destroy(name );
-
379 ARC_String_Destroy(value );
-
380
-
381 if(arc_errno){
-
382 return;
-
383 }
-
384
-
385 continue;
-
386 }
-
387
-
388 // config file wasn't loaded correctly
-
389 ARC_String_Destroy(keyType);
-
390 ARC_String_Destroy(name );
-
391 ARC_String_Destroy(value );
- -
393 return;
-
394 }
-
395
-
396 config->currgroup = group;
-
397}
-
void ARC_Config_UnloadFromKey(ARC_Config *config, ARC_String *keyType, ARC_String *name, ARC_String *value)
Definition config.c:242
-
void ARC_Config_GetNameAndValue(ARC_String *data, ARC_String **name, ARC_String **value)
Definition config.c:251
-
void ARC_Config_LoadFromKey(ARC_Config *config, ARC_String *keyType, ARC_String *name, ARC_String *value)
Definition config.c:211
-
void ARC_Config_SetKeyGroup(ARC_Config *config, ARC_String **data, uint8_t *command)
Definition config.c:187
-
#define ARC_CONFIG_FILE_IO_UNLOAD
Definition config.h:108
-
#define ARC_CONFIG_FILE_IO_LOAD
commands that can be used in ARC_Config_FileIO
Definition config.h:107
-
ARC_Bool ARC_String_EqualsCString(ARC_String *string, const char *cstring, uint64_t length)
check if ARC_String and cstring match
Definition string.c:159
-
-

References ARC_CONFIG_FILE_IO_LOAD, ARC_CONFIG_FILE_IO_UNLOAD, ARC_Config_GetNameAndValue(), ARC_Config_LoadFromKey(), ARC_Config_SetGroup(), ARC_Config_SetKeyGroup(), ARC_Config_UnloadFromKey(), arc_errno, ARC_ERRNO_DATA, ARC_String_CopySubstring(), ARC_String_Destroy(), ARC_String_EqualsCString(), ARC_String_FindCString(), ARC_String_StripEndsWhitespace(), ARC_Config::currgroup, and ARC_String::length.

- -

Referenced by ARC_Config_FileIO(), and ARC_Config_SetKeyGroup().

- -
-
- -

◆ ARC_Config_RemoveAndRunCommands()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Config_RemoveAndRunCommands (ARC_Config * config,
ARC_String * original,
ARC_String ** commandRemoved )
-
- -

Definition at line 491 of file config.c.

-
491 {
-
492 ARC_String *current;
-
493 ARC_String_Copy(&current, original);
-
494
-
495 ARC_String *lineStart, *lineEnd;
-
496 ARC_String_Create(&lineStart, "#" , 1);
-
497 ARC_String_Create(&lineEnd , "\n", 1);
-
498
-
499 uint64_t index = ARC_String_Find(current, lineStart);
-
500
-
501 while(index != ~(uint64_t)0){
-
502 uint64_t endIndex = ARC_String_Find(current, lineEnd);
-
503 if(endIndex == ~(uint64_t)0){
- -
505 ARC_String_Destroy(current );
-
506 ARC_String_Destroy(lineStart);
-
507 ARC_String_Destroy(lineEnd );
-
508 *commandRemoved = NULL;
-
509 return;
-
510 }
-
511
-
512 ARC_String *command;
-
513 ARC_String_CopySubstring(&command, current, index + lineStart->length, endIndex - (index + lineStart->length));
-
514 ARC_Config_RunCommand(config, command);
-
515
-
516 ARC_String *currentTemp = current;
-
517 ARC_String_RemoveSubstring(&current, currentTemp, command);
-
518 ARC_String_Destroy(command);
-
519 ARC_String_Destroy(currentTemp);
-
520 }
-
521
-
522 ARC_String_Destroy(lineStart);
-
523 ARC_String_Destroy(lineEnd );
-
524
-
525 *commandRemoved = current;
-
526}
-
void ARC_Config_RunCommand(ARC_Config *config, ARC_String *command)
Definition config.c:457
-
void ARC_String_RemoveSubstring(ARC_String **newString, ARC_String *original, ARC_String *substring)
copy a subtring from a givin ARC_String
Definition string.c:116
-
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
-
void ARC_String_Copy(ARC_String **copy, ARC_String *original)
copy a ARC_String
Definition string.c:62
-
uint64_t ARC_String_Find(ARC_String *string, ARC_String *substring)
takes a given string, and assigns index and length for position of first matching substring
Definition string.c:231
-
-

References ARC_Config_RunCommand(), arc_errno, ARC_ERRNO_DATA, ARC_String_Copy(), ARC_String_CopySubstring(), ARC_String_Create(), ARC_String_Destroy(), ARC_String_Find(), ARC_String_RemoveSubstring(), and ARC_String::length.

- -

Referenced by ARC_Config_FileIO().

- -
-
- -

◆ ARC_Config_RemoveComments()

- -
-
- - - - - - - - - - - -
void ARC_Config_RemoveComments (ARC_String * original,
ARC_String ** commentRemoved )
-
- -

Definition at line 428 of file config.c.

-
428 {
-
429 ARC_String *lineStart, *lineEnd;
-
430
-
431 //Single Line Comment
-
432 ARC_String_Create(&lineStart, "//", 2);
-
433 ARC_String_Create(&lineEnd , "\n", 1);
-
434
-
435 ARC_String *singleLineStripped;
-
436 ARC_Config_StripComment(original, &singleLineStripped, lineStart, lineEnd);
-
437
-
438 ARC_String_Destroy(lineStart);
-
439 ARC_String_Destroy(lineEnd );
-
440
-
441 if(arc_errno){
-
442 commentRemoved = NULL;
-
443 return;
-
444 }
-
445
-
446 //Multi Line Comment
-
447 ARC_String_Create(&lineStart, "/*", 2);
-
448 ARC_String_Create(&lineEnd , "*/", 2);
-
449
-
450 ARC_Config_StripComment(singleLineStripped, commentRemoved, lineStart, lineEnd);
-
451 ARC_String_Destroy(singleLineStripped);
-
452
-
453 ARC_String_Destroy(lineStart);
-
454 ARC_String_Destroy(lineEnd );
-
455}
-
void ARC_Config_StripComment(ARC_String *original, ARC_String **stripped, ARC_String *lineStart, ARC_String *lineEnd)
Definition config.c:399
-
-

References ARC_Config_StripComment(), arc_errno, ARC_String_Create(), and ARC_String_Destroy().

- -

Referenced by ARC_Config_FileIO().

- -
-
- -

◆ ARC_Config_RemoveKey()

- -
-
- - - - - - - - - - - -
void ARC_Config_RemoveKey (ARC_HashtableNode * node,
void * userdata )
-
- -

Definition at line 600 of file config.c.

-
600 {
-
601 free((char *)node->key);
-
602
-
603 if(!node->data){
- -
605 return;
-
606 }
-
607
-
608 free((ARC_ConfigKey *)node->data);
-
609}
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
-

References arc_errno, ARC_ERRNO_NULL, ARC_HashtableNode::data, and ARC_HashtableNode::key.

- -

Referenced by ARC_Config_Destroy().

- -
-
- -

◆ ARC_Config_RunCommand()

- -
-
- - - - - - - - - - - -
void ARC_Config_RunCommand (ARC_Config * config,
ARC_String * command )
-
- -

Definition at line 457 of file config.c.

-
457 {
-
458 ARC_String *space;
-
459 ARC_String_Create(&space, " " , 1);
-
460
-
461 uint64_t index = ARC_String_Find(command, space);
-
462 if(index == ~(uint64_t)0){
- -
464 ARC_String_Destroy(space);
-
465 return;
-
466 }
-
467
-
468 ARC_String *commandOpt;
-
469 ARC_String_CopySubstring(&commandOpt, command, 0, index);
-
470
-
471 ARC_String *commandArgTemp, *commandArg;
-
472 ARC_String_CopySubstring(&commandArgTemp, command, index + space->length, command->length - (index + space->length));
-
473 ARC_String_StripWhitespace(&commandArg, commandArgTemp);
-
474 ARC_String_Destroy(commandArgTemp);
-
475
-
476 if(ARC_String_EqualsCString(command, "load", 4)){
-
477 ARC_Config_FileIO(config, commandArg, ARC_CONFIG_FILE_IO_LOAD);
-
478 }
-
479 else if(ARC_String_EqualsCString(command, "unload", 6)){
-
480 ARC_Config_FileIO(config, commandArg, ARC_CONFIG_FILE_IO_UNLOAD);
-
481 }
-
482 else {
- -
484 }
-
485
-
486 ARC_String_Destroy(commandOpt);
-
487 ARC_String_Destroy(commandArg);
-
488 ARC_String_Destroy(space );
-
489}
-
void ARC_Config_FileIO(ARC_Config *config, ARC_String *path, uint8_t command)
handles file io for ARC_Config Type
Definition config.c:528
-
void ARC_String_StripWhitespace(ARC_String **stripped, ARC_String *original)
strips whitespace from a ARC_String
Definition string.c:366
-
-

References ARC_CONFIG_FILE_IO_LOAD, ARC_CONFIG_FILE_IO_UNLOAD, ARC_Config_FileIO(), arc_errno, ARC_ERRNO_DATA, ARC_String_CopySubstring(), ARC_String_Create(), ARC_String_Destroy(), ARC_String_EqualsCString(), ARC_String_Find(), ARC_String_StripWhitespace(), and ARC_String::length.

- -

Referenced by ARC_Config_RemoveAndRunCommands().

- -
-
- -

◆ ARC_Config_SetGroup()

- -
-
- - - - - - - - - - - -
void ARC_Config_SetGroup (ARC_Config * config,
ARC_String * groupname )
-
- -

sets current group in config

-
Note
ARC_Config_Get will use this set group
-
Parameters
- - - -
configARC_Config we are setting current group in
groupnamename of group that will be set
-
-
- -

Definition at line 95 of file config.c.

-
95 {
-
96 if(!config){
-
97 return;
-
98 }
-
99
-
100 if(groupname == NULL){
-
101 ARC_Hashtable_Get(config->groups, (void *)" ", 1, (void **)&(config->currgroup));
-
102 return;
-
103 }
-
104
-
105 ARC_Hashtable_Get(config->groups, (void *)groupname->data, groupname->length, (void **)&(config->currgroup));
-
106 arc_errno = 0;
-
107
-
108// if(arc_errno && arc_errno != ARC_ERRNO_NULL){
-
109// return;
-
110// }
-
111
-
112 if(config->currgroup){
-
113 return;
-
114 }
-
115
-
116 ARC_Config_CreateGroup(config, groupname);
-
117 if(arc_errno){
-
118 return;
-
119 }
-
120
-
121 ARC_Hashtable_Get(config->groups, (void *)groupname->data, groupname->length, (void **)&(config->currgroup));
-
122}
-
-

References ARC_Config_CreateGroup(), arc_errno, ARC_Hashtable_Get(), ARC_Config::currgroup, ARC_String::data, ARC_Config::groups, and ARC_String::length.

- -

Referenced by ARC_Config_Get(), and ARC_Config_Recurse().

- -
-
- -

◆ ARC_Config_SetKeyGroup()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Config_SetKeyGroup (ARC_Config * config,
ARC_String ** data,
uint8_t * command )
-
- -

Definition at line 187 of file config.c.

-
187 {
-
188 uint64_t index = ARC_String_FindCString(*data, " ", 1);
-
189 uint64_t nextIndex = ARC_String_FindCString(*data, "{", 1);
-
190 if(index == ~(uint64_t)0 || nextIndex == ~(uint64_t)0){
- -
192 }
-
193
-
194 if(arc_errno){
-
195 return;
-
196 }
-
197
-
198 ARC_String *name, *temp;
-
199 ARC_String_CopySubstring(&temp, *data, index, nextIndex - index - 1);
- -
201 ARC_String_Destroy(temp);
-
202
-
203 temp = *data;
-
204 ARC_String_CopySubstring(data, temp, nextIndex + 1, (*data)->length - (nextIndex + 1));
-
205 ARC_String_Destroy(temp);
-
206
-
207 ARC_Config_Recurse(config, data, name, command);
-
208 ARC_String_Destroy(name);
-
209}
-
-

References ARC_Config_Recurse(), arc_errno, ARC_ERRNO_DATA, ARC_String_CopySubstring(), ARC_String_Destroy(), ARC_String_FindCString(), ARC_String_StripEndsWhitespace(), and ARC_String::length.

- -

Referenced by ARC_Config_Recurse().

- -
-
- -

◆ ARC_Config_StripComment()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Config_StripComment (ARC_String * original,
ARC_String ** stripped,
ARC_String * lineStart,
ARC_String * lineEnd )
-
- -

Definition at line 399 of file config.c.

-
399 {
-
400 ARC_String *current = NULL;
-
401 ARC_String_Copy(&current, original);
-
402
-
403 uint64_t index = ARC_String_Find(original, lineStart);
-
404 while(index != ~(uint64_t)0){
-
405 ARC_String *commentString;
-
406 ARC_String_CopySubstring(&commentString, current, index + lineStart->length, current->length - (index + lineStart->length));
-
407
-
408 uint64_t endIndex = ARC_String_Find(commentString, lineEnd);
-
409 ARC_String_Destroy(commentString);
-
410 if(endIndex == ~(uint64_t)0){
-
411 ARC_DEBUG_LOG_ERROR("ARC_Config_RemoveComments(original, commentRemoved); No newline found when stripping single line comment");
- -
413 ARC_String_Destroy(current);
-
414 *stripped = NULL;
-
415 break;
-
416 }
-
417
-
418 ARC_String *currentTemp = current;
-
419 ARC_String_RemoveSection(&current, currentTemp, index, endIndex + lineStart->length + lineEnd->length);
-
420 ARC_String_Destroy(currentTemp);
-
421
-
422 index = ARC_String_Find(current, lineStart);
-
423 }
-
424
-
425 *stripped = current;
-
426}
-
void ARC_String_RemoveSection(ARC_String **newString, ARC_String *original, uint64_t removeIndex, uint64_t removeLength)
copy a subtring from a givin ARC_String
Definition string.c:499
-
-

References ARC_DEBUG_LOG_ERROR, arc_errno, ARC_ERRNO_DATA, ARC_String_Copy(), ARC_String_CopySubstring(), ARC_String_Destroy(), ARC_String_Find(), ARC_String_RemoveSection(), and ARC_String::length.

- -

Referenced by ARC_Config_RemoveComments().

- -
-
- -

◆ ARC_Config_UnloadFromKey()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Config_UnloadFromKey (ARC_Config * config,
ARC_String * keyType,
ARC_String * name,
ARC_String * value )
-
- -

Definition at line 242 of file config.c.

-
242 {
-
243 ARC_ConfigDeleteKeyArgs keyArgs = {
-
244 .config = config,
-
245 .string = value,
-
246 };
-
247
-
248 ARC_Hashtable_Remove(config->currgroup, name->data, name->length, ARC_Config_DestroyGroupNode, &keyArgs);
-
249}
-
void ARC_Hashtable_Remove(ARC_Hashtable *htable, void *key, size_t keysize, ARC_HashtableNode_DestroyExternal external, void *userdata)
removes value from hashtable
Definition hashtable.c:131
-
-

References ARC_Config_DestroyGroupNode(), ARC_Hashtable_Remove(), ARC_Config::currgroup, ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_Config_Recurse().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/d5c/src_2std_2config_8c.js b/doc/doxygen/html/d8/d5c/src_2std_2config_8c.js deleted file mode 100644 index 1743961..0000000 --- a/doc/doxygen/html/d8/d5c/src_2std_2config_8c.js +++ /dev/null @@ -1,31 +0,0 @@ -var src_2std_2config_8c = -[ - [ "ARC_Config", "d3/d3c/structARC__Config.html", "d3/d3c/structARC__Config" ], - [ "ARC_ConfigKey", "d7/d7c/structARC__ConfigKey.html", "d7/d7c/structARC__ConfigKey" ], - [ "ARC_ConfigTypeTemplate", "dd/d08/structARC__ConfigTypeTemplate.html", "dd/d08/structARC__ConfigTypeTemplate" ], - [ "ARC_ConfigDeleteKeyArgs", "d8/da4/structARC__ConfigDeleteKeyArgs.html", "d8/da4/structARC__ConfigDeleteKeyArgs" ], - [ "ARC_ConfigDeleteKeyArgs", "d8/d5c/src_2std_2config_8c.html#a58db9478f695b0d36e322aec76380ab9", null ], - [ "ARC_ConfigKey", "d8/d5c/src_2std_2config_8c.html#a73f0e2d71f234b82a502be5688034f6d", null ], - [ "ARC_ConfigTypeTemplate", "d8/d5c/src_2std_2config_8c.html#a2c4b84e7e638b5c2037547ba3dcdd0ea", null ], - [ "ARC_Config_AddKey", "d8/d5c/src_2std_2config_8c.html#aff40cd55a3b227cd33334d1c5843ed06", null ], - [ "ARC_Config_AddKeyCString", "d8/d5c/src_2std_2config_8c.html#a16b8895da92529e4c6ede062db2e417e", null ], - [ "ARC_Config_Create", "d8/d5c/src_2std_2config_8c.html#a3bf1d8c89c92e8dd42ecd6105dc78306", null ], - [ "ARC_Config_CreateGroup", "d8/d5c/src_2std_2config_8c.html#aae5d13c538dad5137e46267a4321e9c0", null ], - [ "ARC_Config_Destroy", "d8/d5c/src_2std_2config_8c.html#ae771a007a23bb925494d68ae7ca212be", null ], - [ "ARC_Config_DestroyGroup", "d8/d5c/src_2std_2config_8c.html#adfc5236134d6a9b9f75e6d51933c74fe", null ], - [ "ARC_Config_DestroyGroupNode", "d8/d5c/src_2std_2config_8c.html#a51f23dc312075b3edd95ced7c4d6ab5b", null ], - [ "ARC_Config_FileIO", "d8/d5c/src_2std_2config_8c.html#ad6467c7d5aa224d49620fabc990d13f3", null ], - [ "ARC_Config_Get", "d8/d5c/src_2std_2config_8c.html#a4bd96f3f4cf016f82ffaf82f679288c4", null ], - [ "ARC_Config_GetNameAndValue", "d8/d5c/src_2std_2config_8c.html#a47a071166c7f27b07b86ae3739f6cad2", null ], - [ "ARC_Config_KeyComp", "d8/d5c/src_2std_2config_8c.html#ae7a47418f947f056673a63e602e3427c", null ], - [ "ARC_Config_LoadFromKey", "d8/d5c/src_2std_2config_8c.html#a630ec792d4fa9415bd6dae818085b0f2", null ], - [ "ARC_Config_Recurse", "d8/d5c/src_2std_2config_8c.html#a79377c55d58ff452c9cd288c49d8562a", null ], - [ "ARC_Config_RemoveAndRunCommands", "d8/d5c/src_2std_2config_8c.html#a3eef32a50514c5292fdfa07d58f714a8", null ], - [ "ARC_Config_RemoveComments", "d8/d5c/src_2std_2config_8c.html#a2ab6fa93f9ac16337f8779821a50af8d", null ], - [ "ARC_Config_RemoveKey", "d8/d5c/src_2std_2config_8c.html#a06a402bc92afd06258904ff11c7d2b92", null ], - [ "ARC_Config_RunCommand", "d8/d5c/src_2std_2config_8c.html#a69877aa092a454569753c0adb5e5e2bb", null ], - [ "ARC_Config_SetGroup", "d8/d5c/src_2std_2config_8c.html#aa1ec47a354f6cc1ee8356a098cf5b3c9", null ], - [ "ARC_Config_SetKeyGroup", "d8/d5c/src_2std_2config_8c.html#a7fdb3b7a9ba291e9c150a28592d2b837", null ], - [ "ARC_Config_StripComment", "d8/d5c/src_2std_2config_8c.html#a34156a6f39017736e13f6e9e5e953801", null ], - [ "ARC_Config_UnloadFromKey", "d8/d5c/src_2std_2config_8c.html#a2bca415dff7d8a067d5ed9de555fd3f6", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d8/d5c/src_2std_2config_8c_source.html b/doc/doxygen/html/d8/d5c/src_2std_2config_8c_source.html deleted file mode 100644 index f5db23b..0000000 --- a/doc/doxygen/html/d8/d5c/src_2std_2config_8c_source.html +++ /dev/null @@ -1,867 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/config.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c
-
-
-Go to the documentation of this file.
1#include "arc/std/config.h"
-
2
-
3#include "arc/std/errno.h"
-
4#include "arc/std/hashtable.h"
-
5#include "arc/std/io.h"
-
6#include "arc/std/string.h"
-
7#include <stdio.h>
-
8#include <stdint.h>
-
9#include <stdlib.h>
-
10#include <stddef.h>
-
11#include <string.h>
-
12
- -
19
- -
24
- -
30
- -
35
-
36int8_t ARC_Config_KeyComp(void *key1, size_t *key1size, void *key2, size_t *key2size);
-
37
- -
39void ARC_Config_DestroyGroup(ARC_HashtableNode *group, void *userdata);
-
40
-
41void ARC_Config_DestroyGroupNode(ARC_HashtableNode *node , void *userdata);
-
42
-
43void ARC_Config_RemoveKey(ARC_HashtableNode *node, void *userdata);
-
44
-
- -
46 ARC_ConfigKey *newKey = (ARC_ConfigKey *)malloc(sizeof(ARC_ConfigKey));
-
47 newKey->Read = keyRead;
-
48 newKey->Delete = keyDelete;
-
49
-
50 char *typeval = (char *)malloc(sizeof(char) * type->length);
-
51 strncpy(typeval, type->data, type->length);
-
52 ARC_Hashtable_Add(config->keys, (void *)typeval, type->length, newKey);
-
53}
-
-
54
-
-
55void ARC_Config_AddKeyCString(ARC_Config *config, const char *type, uint64_t length, ARC_ConfigKeyRead keyRead, ARC_ConfigKeyDelete keyDelete){
-
56 ARC_ConfigKey *newKey = (ARC_ConfigKey *)malloc(sizeof(ARC_ConfigKey));
-
57 newKey->Read = keyRead;
-
58 newKey->Delete = keyDelete;
-
59
-
60 char *typeval = (char *)malloc(sizeof(char) * length);
-
61 strncpy(typeval, type, length);
-
62 ARC_Hashtable_Add(config->keys, (void *)typeval, length, newKey);
-
63}
-
-
64
-
- -
66 *config = (ARC_Config *)malloc(sizeof(ARC_Config));
-
67 (*config)->currgroup = NULL;
-
68
-
69 ARC_Hashtable *groups;
- -
71 (*config)->groups = groups;
-
72 ARC_Config_CreateGroup(*config, NULL);
-
73
-
74 ARC_Hashtable *keys;
- -
76 (*config)->keys = keys;
-
77
-
78#ifdef ARC_DEFAULT_CONFIG
- -
80#endif
-
81}
-
-
82
-
- -
84 ARC_ConfigDeleteKeyArgs keyArgs = {
-
85 .config = config,
-
86 .string = NULL,
-
87 };
-
88
-
89 ARC_Hashtable_Destroy(config->groups, ARC_Config_DestroyGroup, (void *)&keyArgs);
- -
91 free(config);
-
92}
-
-
93
-
94//TODO: fix NULL group
-
-
95void ARC_Config_SetGroup(ARC_Config *config, ARC_String *groupname){
-
96 if(!config){
-
97 return;
-
98 }
-
99
-
100 if(groupname == NULL){
-
101 ARC_Hashtable_Get(config->groups, (void *)" ", 1, (void **)&(config->currgroup));
-
102 return;
-
103 }
-
104
-
105 ARC_Hashtable_Get(config->groups, (void *)groupname->data, groupname->length, (void **)&(config->currgroup));
-
106 arc_errno = 0;
-
107
-
108// if(arc_errno && arc_errno != ARC_ERRNO_NULL){
-
109// return;
-
110// }
-
111
-
112 if(config->currgroup){
-
113 return;
-
114 }
-
115
-
116 ARC_Config_CreateGroup(config, groupname);
-
117 if(arc_errno){
-
118 return;
-
119 }
-
120
-
121 ARC_Hashtable_Get(config->groups, (void *)groupname->data, groupname->length, (void **)&(config->currgroup));
-
122}
-
-
123
-
-
124void ARC_Config_Get(ARC_Config *config, ARC_String *keyname, void **value){
-
125 ARC_ConfigTypeTemplate *temp = NULL;
-
126
-
127 uint64_t length = ARC_String_FindCString(keyname, "::", 2);
-
128 if(arc_errno){
-
129 //TODO: Debug info here
-
130 ARC_DEBUG_LOG_ERROR("in ARC_Config_Get(config, keyname, value); length threw error");
-
131 *value = NULL;
-
132 return;
-
133 }
-
134
-
135 if(length != ~((uint64_t)0)){
-
136 length--;
-
137 ARC_String *group = NULL;
-
138
-
139 if(length != 0){
-
140 ARC_String_CopySubstring(&group, keyname, 0, length);
-
141 }
-
142
-
143 ARC_Hashtable *currgroup = config->currgroup;
-
144 ARC_Config_SetGroup(config, group);
-
145 if(arc_errno){
-
146 ARC_DEBUG_LOG_ERROR("in ARC_Config_Get(config, keyname, value); setting group threw error");
-
147 ARC_String_Destroy(group);
-
148 *value = NULL;
-
149 return;
-
150 }
-
151
-
152 ARC_String *name;
-
153 ARC_String_CopySubstring(&name, keyname, length + 2, keyname->length - (length + 2));
-
154 ARC_Hashtable_Get(config->currgroup, (void *)name->data, name->length, (void **)&temp);
-
155 ARC_String_Destroy(name);
-
156
-
157 config->currgroup = currgroup;
-
158 if(group){
-
159 ARC_String_Destroy(group);
-
160 }
-
161
-
162 if(temp == NULL){
-
163 *value = NULL;
-
164 return;
-
165 }
-
166
-
167 *value = temp->data;
-
168 return;
-
169 }
-
170
-
171 if(!keyname){
-
172 *value = NULL;
-
173 return;
-
174 }
-
175
-
176 ARC_Hashtable_Get(config->currgroup, (void *)keyname->data, keyname->length, (void **)&temp);
-
177 if(arc_errno || temp == NULL){
-
178 *value = NULL;
-
179 return;
-
180 }
-
181
-
182 *value = temp->data;
-
183}
-
-
184
-
185void ARC_Config_Recurse(ARC_Config *config, ARC_String **data, ARC_String *groupstr, uint8_t *command);
-
186
-
-
187void ARC_Config_SetKeyGroup(ARC_Config *config, ARC_String **data, uint8_t *command){
-
188 uint64_t index = ARC_String_FindCString(*data, " ", 1);
-
189 uint64_t nextIndex = ARC_String_FindCString(*data, "{", 1);
-
190 if(index == ~(uint64_t)0 || nextIndex == ~(uint64_t)0){
- -
192 }
-
193
-
194 if(arc_errno){
-
195 return;
-
196 }
-
197
-
198 ARC_String *name, *temp;
-
199 ARC_String_CopySubstring(&temp, *data, index, nextIndex - index - 1);
- -
201 ARC_String_Destroy(temp);
-
202
-
203 temp = *data;
-
204 ARC_String_CopySubstring(data, temp, nextIndex + 1, (*data)->length - (nextIndex + 1));
-
205 ARC_String_Destroy(temp);
-
206
-
207 ARC_Config_Recurse(config, data, name, command);
-
208 ARC_String_Destroy(name);
-
209}
-
-
210
-
-
211void ARC_Config_LoadFromKey(ARC_Config *config, ARC_String *keyType, ARC_String *name, ARC_String *value){
-
212 ARC_ConfigKey *key;
-
213 ARC_Hashtable_Get(config->keys, keyType->data, keyType->length, (void **)&key);
-
214 if(key == NULL){
- -
216 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_Config_LoadFromKey(config, string, value); no matching key: %s", keyType->data);
-
217 }
-
218
-
219 if(arc_errno){
-
220 return;
-
221 }
-
222
- -
224 templateVal->Delete = NULL;
-
225 templateVal->data = NULL;
-
226
-
227 uint8_t reference = key->Read(config, value, &(templateVal->data));
-
228 if(!reference){
-
229 templateVal->Delete = key->Delete;
-
230 }
-
231
-
232 if(arc_errno){
-
233 return;
-
234 }
-
235
-
236 char *nameval = (char *)malloc(sizeof(char) * name->length + 1);
-
237 strncpy(nameval, name->data, name->length);
-
238 nameval[name->length] = '\0';
-
239 ARC_Hashtable_Add(config->currgroup, nameval, name->length, (void *)templateVal);
-
240}
-
-
241
-
- -
243 ARC_ConfigDeleteKeyArgs keyArgs = {
-
244 .config = config,
-
245 .string = value,
-
246 };
-
247
-
248 ARC_Hashtable_Remove(config->currgroup, name->data, name->length, ARC_Config_DestroyGroupNode, &keyArgs);
-
249}
-
-
250
-
- -
252 uint64_t index = ARC_String_FindCString(data, "=", 1);
-
253 if(arc_errno || index == ~(uint64_t)0){
-
254 *name = NULL;
-
255 *value = NULL;
-
256 return;
-
257 }
-
258
-
259 ARC_String_CopySubstring(name, data, 0, index - 1);
-
260 index++;
-
261
-
262 ARC_String *dataTemp = *name;
-
263 ARC_String_StripEndsWhitespace(name, dataTemp);
-
264 ARC_String_Destroy(dataTemp);
-
265
-
266 ARC_String_CopySubstring(&dataTemp, data, index, data->length - index);
-
267 ARC_String_StripEndsWhitespace(value, dataTemp);
-
268 ARC_String_Destroy(dataTemp);
-
269}
-
-
270
-
-
271void ARC_Config_Recurse(ARC_Config *config, ARC_String **data, ARC_String *groupstr, uint8_t *command){
-
272 ARC_Config_SetGroup(config, groupstr);
-
273 if(arc_errno){
-
274 return;
-
275 }
-
276
-
277 ARC_Hashtable *group = config->currgroup;
-
278
-
279 while(*data && (*data)->length){
-
280 ARC_String *dataTemp = *data;
-
281 ARC_String_StripEndsWhitespace(data, dataTemp);
-
282 ARC_String_Destroy(dataTemp);
-
283
-
284 // break out of current group
-
285 if((*data)->data[0] == '}'){
-
286 config->currgroup = NULL;
-
287
-
288 dataTemp = *data;
-
289 ARC_String_CopySubstring(data, dataTemp, 1, dataTemp->length - 1);
-
290 ARC_String_Destroy(dataTemp);
-
291 return;
-
292 }
-
293
-
294 // set group
-
295 if(!(config->currgroup)){
-
296 config->currgroup = group;
-
297 }
-
298
-
299 // get keys type
-
300 uint64_t index = ARC_String_FindCString(*data, " ", 1);
-
301 if(arc_errno || index == ~(uint64_t)0){
-
302 return;
-
303 }
-
304
-
305 ARC_String *keyType, *keyTypeTemp;
-
306 ARC_String_CopySubstring(&keyTypeTemp, *data, 0, index);
-
307 ARC_String_StripEndsWhitespace(&keyType, keyTypeTemp);
-
308 ARC_String_Destroy(keyTypeTemp);
-
309
-
310 if(ARC_String_EqualsCString(keyType, "group", 5)){
-
311 ARC_Config_SetKeyGroup(config, data, command);
-
312 ARC_String_Destroy(keyType);
-
313 config->currgroup = group;
-
314 if(arc_errno){
-
315 return;
-
316 }
-
317
-
318 continue;
-
319 }
-
320
-
321 // get and copy up to the ;
-
322 ARC_String *nameAndValue;
-
323 uint64_t nextIndex = ARC_String_FindCString(*data, ";", 1);
-
324 if(nextIndex == ~(uint64_t)0){
- -
326 }
-
327
-
328 if(arc_errno){
-
329 ARC_String_Destroy(keyType);
-
330 return;
-
331 }
-
332
-
333 ARC_String_CopySubstring(&nameAndValue, *data, index, nextIndex - (index + 1));
-
334 if(arc_errno){
-
335 ARC_String_Destroy(keyType);
-
336 return;
-
337 }
-
338
-
339 // remove up to the ; from data string
-
340 dataTemp = *data;
-
341 ARC_String_CopySubstring(data, dataTemp, nextIndex, (*data)->length - nextIndex);
-
342 ARC_String_Destroy(dataTemp);
-
343 if(arc_errno){
-
344 ARC_String_Destroy(keyType);
-
345 ARC_String_Destroy(nameAndValue);
-
346 return;
-
347 }
-
348
-
349 // get name and value of string
-
350 ARC_String *name, *value;
-
351 ARC_Config_GetNameAndValue(nameAndValue, &name, &value);
-
352 ARC_String_Destroy(nameAndValue);
-
353 if(arc_errno){
-
354 ARC_String_Destroy(keyType);
-
355 return;
-
356 }
-
357
-
358 // load from key
-
359 if(*command == ARC_CONFIG_FILE_IO_LOAD){
-
360 ARC_Config_LoadFromKey(config, keyType, name, value);
-
361
-
362 ARC_String_Destroy(keyType);
-
363 ARC_String_Destroy(name );
-
364 ARC_String_Destroy(value );
-
365
-
366 if(arc_errno){
-
367 return;
-
368 }
-
369
-
370 continue;
-
371 }
-
372
-
373 // unload from key
-
374 if(*command == ARC_CONFIG_FILE_IO_UNLOAD){
-
375 ARC_Config_UnloadFromKey(config, keyType, name, value);
-
376
-
377 ARC_String_Destroy(keyType);
-
378 ARC_String_Destroy(name );
-
379 ARC_String_Destroy(value );
-
380
-
381 if(arc_errno){
-
382 return;
-
383 }
-
384
-
385 continue;
-
386 }
-
387
-
388 // config file wasn't loaded correctly
-
389 ARC_String_Destroy(keyType);
-
390 ARC_String_Destroy(name );
-
391 ARC_String_Destroy(value );
- -
393 return;
-
394 }
-
395
-
396 config->currgroup = group;
-
397}
-
-
398
-
-
399void ARC_Config_StripComment(ARC_String *original, ARC_String **stripped, ARC_String *lineStart, ARC_String *lineEnd){
-
400 ARC_String *current = NULL;
-
401 ARC_String_Copy(&current, original);
-
402
-
403 uint64_t index = ARC_String_Find(original, lineStart);
-
404 while(index != ~(uint64_t)0){
-
405 ARC_String *commentString;
-
406 ARC_String_CopySubstring(&commentString, current, index + lineStart->length, current->length - (index + lineStart->length));
-
407
-
408 uint64_t endIndex = ARC_String_Find(commentString, lineEnd);
-
409 ARC_String_Destroy(commentString);
-
410 if(endIndex == ~(uint64_t)0){
-
411 ARC_DEBUG_LOG_ERROR("ARC_Config_RemoveComments(original, commentRemoved); No newline found when stripping single line comment");
- -
413 ARC_String_Destroy(current);
-
414 *stripped = NULL;
-
415 break;
-
416 }
-
417
-
418 ARC_String *currentTemp = current;
-
419 ARC_String_RemoveSection(&current, currentTemp, index, endIndex + lineStart->length + lineEnd->length);
-
420 ARC_String_Destroy(currentTemp);
-
421
-
422 index = ARC_String_Find(current, lineStart);
-
423 }
-
424
-
425 *stripped = current;
-
426}
-
-
427
-
-
428void ARC_Config_RemoveComments(ARC_String *original, ARC_String **commentRemoved){
-
429 ARC_String *lineStart, *lineEnd;
-
430
-
431 //Single Line Comment
-
432 ARC_String_Create(&lineStart, "//", 2);
-
433 ARC_String_Create(&lineEnd , "\n", 1);
-
434
-
435 ARC_String *singleLineStripped;
-
436 ARC_Config_StripComment(original, &singleLineStripped, lineStart, lineEnd);
-
437
-
438 ARC_String_Destroy(lineStart);
-
439 ARC_String_Destroy(lineEnd );
-
440
-
441 if(arc_errno){
-
442 commentRemoved = NULL;
-
443 return;
-
444 }
-
445
-
446 //Multi Line Comment
-
447 ARC_String_Create(&lineStart, "/*", 2);
-
448 ARC_String_Create(&lineEnd , "*/", 2);
-
449
-
450 ARC_Config_StripComment(singleLineStripped, commentRemoved, lineStart, lineEnd);
-
451 ARC_String_Destroy(singleLineStripped);
-
452
-
453 ARC_String_Destroy(lineStart);
-
454 ARC_String_Destroy(lineEnd );
-
455}
-
-
456
-
- -
458 ARC_String *space;
-
459 ARC_String_Create(&space, " " , 1);
-
460
-
461 uint64_t index = ARC_String_Find(command, space);
-
462 if(index == ~(uint64_t)0){
- -
464 ARC_String_Destroy(space);
-
465 return;
-
466 }
-
467
-
468 ARC_String *commandOpt;
-
469 ARC_String_CopySubstring(&commandOpt, command, 0, index);
-
470
-
471 ARC_String *commandArgTemp, *commandArg;
-
472 ARC_String_CopySubstring(&commandArgTemp, command, index + space->length, command->length - (index + space->length));
-
473 ARC_String_StripWhitespace(&commandArg, commandArgTemp);
-
474 ARC_String_Destroy(commandArgTemp);
-
475
-
476 if(ARC_String_EqualsCString(command, "load", 4)){
-
477 ARC_Config_FileIO(config, commandArg, ARC_CONFIG_FILE_IO_LOAD);
-
478 }
-
479 else if(ARC_String_EqualsCString(command, "unload", 6)){
-
480 ARC_Config_FileIO(config, commandArg, ARC_CONFIG_FILE_IO_UNLOAD);
-
481 }
-
482 else {
- -
484 }
-
485
-
486 ARC_String_Destroy(commandOpt);
-
487 ARC_String_Destroy(commandArg);
-
488 ARC_String_Destroy(space );
-
489}
-
-
490
-
-
491void ARC_Config_RemoveAndRunCommands(ARC_Config *config, ARC_String *original, ARC_String **commandRemoved){
-
492 ARC_String *current;
-
493 ARC_String_Copy(&current, original);
-
494
-
495 ARC_String *lineStart, *lineEnd;
-
496 ARC_String_Create(&lineStart, "#" , 1);
-
497 ARC_String_Create(&lineEnd , "\n", 1);
-
498
-
499 uint64_t index = ARC_String_Find(current, lineStart);
-
500
-
501 while(index != ~(uint64_t)0){
-
502 uint64_t endIndex = ARC_String_Find(current, lineEnd);
-
503 if(endIndex == ~(uint64_t)0){
- -
505 ARC_String_Destroy(current );
-
506 ARC_String_Destroy(lineStart);
-
507 ARC_String_Destroy(lineEnd );
-
508 *commandRemoved = NULL;
-
509 return;
-
510 }
-
511
-
512 ARC_String *command;
-
513 ARC_String_CopySubstring(&command, current, index + lineStart->length, endIndex - (index + lineStart->length));
-
514 ARC_Config_RunCommand(config, command);
-
515
-
516 ARC_String *currentTemp = current;
-
517 ARC_String_RemoveSubstring(&current, currentTemp, command);
-
518 ARC_String_Destroy(command);
-
519 ARC_String_Destroy(currentTemp);
-
520 }
-
521
-
522 ARC_String_Destroy(lineStart);
-
523 ARC_String_Destroy(lineEnd );
-
524
-
525 *commandRemoved = current;
-
526}
-
-
527
-
-
528void ARC_Config_FileIO(ARC_Config *config, ARC_String *path, uint8_t command){
-
529 arc_errno = 0; //TODO: Remove this, just testing
-
530 ARC_String *data;
-
531 ARC_IO_FileToStr(path, &data);
-
532 if(arc_errno){
-
533 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_IO_FileToStr(%s, &data, &size);\n", path->data);
-
534 return;
-
535 }
-
536
- -
538
-
539 ARC_String *temp = data;
-
540 ARC_Config_RemoveComments(temp, &data);
-
541 ARC_String_Destroy(temp);
-
542
-
543 temp = data;
-
544 ARC_Config_RemoveAndRunCommands(config, temp, &data);
-
545 ARC_String_Destroy(temp);
-
546
-
547 temp = data;
- -
549 ARC_String_Destroy(temp);
-
550
-
551 ARC_Config_Recurse(config, &data, NULL, &command);
-
552 if(data){
-
553 ARC_String_Destroy(data);
-
554 }
-
555}
-
-
556
-
-
557int8_t ARC_Config_KeyComp(void *key1, size_t *key1size, void *key2, size_t *key2size){
-
558 if(*key1size - *key2size){
-
559 return -1;
-
560 }
-
561
-
562 return strncmp((const char *)key1, (const char *)key2, *key1size);
-
563}
-
-
564
-
- -
566 ARC_Hashtable *data;
- -
568
-
569 if(name){
-
570 char *nameval = (char *)malloc(sizeof(char) * name->length);
-
571 strncpy(nameval, name->data, name->length);
-
572 ARC_Hashtable_Add(config->groups, nameval, name->length, (void *)data);
-
573 return;
-
574 }
-
575
-
576 char *emptyGroup = (char *)malloc(sizeof(char));
-
577 emptyGroup[0] = ' ';
-
578 ARC_Hashtable_Add(config->groups, emptyGroup, 1, (void *)data);
-
579}
-
-
580
-
-
581void ARC_Config_DestroyGroup(ARC_HashtableNode *group, void *userdata){
-
582 free((char *)group->key);
- -
584}
-
-
585
-
- -
587 free((char *)node->key);
-
588
- -
590 if(temp->Delete && temp->data && userdata){
- -
592
-
593 temp->Delete(args->config, args->string, temp->data);
-
594 }
-
595
-
596 free(temp);
-
597 node->data = NULL;
-
598}
-
-
599
-
-
600void ARC_Config_RemoveKey(ARC_HashtableNode *node, void *userdata){
-
601 free((char *)node->key);
-
602
-
603 if(!node->data){
- -
605 return;
-
606 }
-
607
-
608 free((ARC_ConfigKey *)node->data);
-
609}
-
- -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
#define ARC_ERRNO_DATA
Definition errno.h:7
- -
void ARC_Hashtable_Destroy(ARC_Hashtable *htable, ARC_HashtableNode_DestroyExternal external, void *userdata)
destroys ARC_Hashtable type
Definition hashtable.c:64
-
void ARC_Hashtable_Get(ARC_Hashtable *htable, void *key, size_t keysize, void **data)
gets value from hashtable by key
Definition hashtable.c:103
-
void ARC_Hashtable_Create(ARC_Hashtable **htable, uint32_t bucketsize, ARC_Hashtable_Hash hash, ARC_Hashtable_KeyCompare compare)
cteates ARC_Hashtable type
Definition hashtable.c:56
-
void ARC_Hashtable_Remove(ARC_Hashtable *htable, void *key, size_t keysize, ARC_HashtableNode_DestroyExternal external, void *userdata)
removes value from hashtable
Definition hashtable.c:131
-
void ARC_Hashtable_Add(ARC_Hashtable *htable, void *key, size_t keysize, void *data)
adds value to hastable
Definition hashtable.c:75
- -
void ARC_IO_FileToStr(ARC_String *path, ARC_String **data)
get string and size from file
Definition io.c:43
-
void ARC_Config_RemoveKey(ARC_HashtableNode *node, void *userdata)
Definition config.c:600
-
void ARC_Config_RemoveComments(ARC_String *original, ARC_String **commentRemoved)
Definition config.c:428
-
void ARC_Config_UnloadFromKey(ARC_Config *config, ARC_String *keyType, ARC_String *name, ARC_String *value)
Definition config.c:242
-
struct ARC_ConfigTypeTemplate ARC_ConfigTypeTemplate
-
void ARC_Config_StripComment(ARC_String *original, ARC_String **stripped, ARC_String *lineStart, ARC_String *lineEnd)
Definition config.c:399
-
void ARC_Config_Create(ARC_Config **config)
creates ARC_Config type
Definition config.c:65
-
void ARC_Config_RemoveAndRunCommands(ARC_Config *config, ARC_String *original, ARC_String **commandRemoved)
Definition config.c:491
-
void ARC_Config_GetNameAndValue(ARC_String *data, ARC_String **name, ARC_String **value)
Definition config.c:251
-
void ARC_Config_DestroyGroupNode(ARC_HashtableNode *node, void *userdata)
Definition config.c:586
-
struct ARC_ConfigDeleteKeyArgs ARC_ConfigDeleteKeyArgs
-
void ARC_Config_LoadFromKey(ARC_Config *config, ARC_String *keyType, ARC_String *name, ARC_String *value)
Definition config.c:211
-
void ARC_Config_RunCommand(ARC_Config *config, ARC_String *command)
Definition config.c:457
-
struct ARC_ConfigKey ARC_ConfigKey
-
void ARC_Config_Recurse(ARC_Config *config, ARC_String **data, ARC_String *groupstr, uint8_t *command)
Definition config.c:271
-
void ARC_Config_SetKeyGroup(ARC_Config *config, ARC_String **data, uint8_t *command)
Definition config.c:187
-
void ARC_Config_SetGroup(ARC_Config *config, ARC_String *groupname)
sets current group in config
Definition config.c:95
-
void ARC_Config_CreateGroup(ARC_Config *config, ARC_String *name)
Definition config.c:565
-
void ARC_Config_FileIO(ARC_Config *config, ARC_String *path, uint8_t command)
handles file io for ARC_Config Type
Definition config.c:528
-
void ARC_Config_DestroyGroup(ARC_HashtableNode *group, void *userdata)
Definition config.c:581
-
void ARC_Config_Destroy(ARC_Config *config)
destroys ARC_Config type
Definition config.c:83
-
int8_t ARC_Config_KeyComp(void *key1, size_t *key1size, void *key2, size_t *key2size)
Definition config.c:557
-
void ARC_Config_AddKey(ARC_Config *config, ARC_String *type, ARC_ConfigKeyRead keyRead, ARC_ConfigKeyDelete keyDelete)
adds a usable key to ARC_Config
Definition config.c:45
- -
#define ARC_CONFIG_FILE_IO_UNLOAD
Definition config.h:108
-
void ARC_Config_AddKeyCString(ARC_Config *config, const char *type, uint64_t length, ARC_ConfigKeyRead keyRead, ARC_ConfigKeyDelete keyDelete)
adds a key from a cstring
Definition config.c:55
-
uint8_t(* ARC_ConfigKeyRead)(ARC_Config *config, ARC_String *string, void **value)
a function to read a key from string to a ARC_ConfigTypeTemplate
Definition config.h:33
-
#define ARC_GROUP_DATA_BUCKET_SIZE
Definition config.h:14
-
void ARC_Config_Get(ARC_Config *config, ARC_String *keyname, void **value)
get a value from a given keyname
Definition config.c:124
-
#define ARC_CONFIG_FILE_IO_LOAD
commands that can be used in ARC_Config_FileIO
Definition config.h:107
-
#define ARC_KEY_BUCKET_SIZE
Definition config.h:12
-
#define ARC_GROUP_BUCKET_SIZE
Definition config.h:13
-
void(* ARC_ConfigKeyDelete)(ARC_Config *config, ARC_String *string, void *value)
a function to delete a value from a key in ARC_Config
Definition config.h:44
-
void ARC_Defaults_ConfigKey_Create(ARC_Config *config)
- -
void ARC_String_StripEndsWhitespace(ARC_String **stripped, ARC_String *original)
strips the whitespace from the ends of a string
Definition string.c:437
-
void ARC_String_RemoveSubstring(ARC_String **newString, ARC_String *original, ARC_String *substring)
copy a subtring from a givin ARC_String
Definition string.c:116
-
void ARC_String_AppendCStringWithStrlen(ARC_String **string, const char *cstring)
appends to an ARC_String with an ARC_String
Definition string.c:143
-
ARC_Bool ARC_String_EqualsCString(ARC_String *string, const char *cstring, uint64_t length)
check if ARC_String and cstring match
Definition string.c:159
-
void ARC_String_CopySubstring(ARC_String **substring, ARC_String *original, uint64_t start, uint64_t length)
copy a subtring from a givin ARC_String
Definition string.c:72
-
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
-
void ARC_String_Copy(ARC_String **copy, ARC_String *original)
copy a ARC_String
Definition string.c:62
-
uint64_t ARC_String_FindCString(ARC_String *string, const char *cstring, uint64_t length)
takes given cstring and gives position of first matching
Definition string.c:252
-
void ARC_String_StripWhitespace(ARC_String **stripped, ARC_String *original)
strips whitespace from a ARC_String
Definition string.c:366
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
uint64_t ARC_String_Find(ARC_String *string, ARC_String *substring)
takes a given string, and assigns index and length for position of first matching substring
Definition string.c:231
-
void ARC_String_RemoveSection(ARC_String **newString, ARC_String *original, uint64_t removeIndex, uint64_t removeLength)
copy a subtring from a givin ARC_String
Definition string.c:499
- -
ARC_Config * config
Definition config.c:32
-
ARC_String * string
Definition config.c:33
- -
ARC_ConfigKeyDelete Delete
Definition config.c:22
-
ARC_ConfigKeyRead Read
Definition config.c:21
- -
ARC_ConfigKeyDelete Delete
Definition config.c:26
- - -
ARC_Hashtable * groups
Definition config.c:16
-
ARC_Hashtable * keys
Definition config.c:17
-
ARC_Hashtable * currgroup
Definition config.c:14
- - - - -
substring position within a string
Definition string.h:14
-
uint64_t length
Definition string.h:16
-
char * data
Definition string.h:15
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/d66/graphics_2obround_8c.html b/doc/doxygen/html/d8/d66/graphics_2obround_8c.html deleted file mode 100644 index df7bed4..0000000 --- a/doc/doxygen/html/d8/d66/graphics_2obround_8c.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/obround.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
obround.c File Reference
-
- - - -
- - diff --git a/doc/doxygen/html/d8/d66/graphics_2obround_8c_source.html b/doc/doxygen/html/d8/d66/graphics_2obround_8c_source.html deleted file mode 100644 index 0e08a9c..0000000 --- a/doc/doxygen/html/d8/d66/graphics_2obround_8c_source.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/obround.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
obround.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_GRAPHICS
-
2
- -
4#include <stdio.h>
-
5
-
6void ARC_Obround_Render(ARC_Obround *obround, ARC_Renderer *renderer, ARC_Color *color){
-
7 printf("No Graphics Backend Selected\n");
-
8}
-
9
-
10void ARC_FObround_Render(ARC_FObround *obround, ARC_Renderer *renderer, ARC_Color *color){
-
11 printf("No Graphics Backend Selected\n");
-
12}
-
13
-
14#endif // ARC_NONE_GRAPHICS
- -
void ARC_FObround_Render(ARC_FObround *obround, ARC_Renderer *renderer, ARC_Color *color)
-
void ARC_Obround_Render(ARC_Obround *obround, ARC_Renderer *renderer, ARC_Color *color)
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- - - -
- - -
- - diff --git a/doc/doxygen/html/d8/d6d/packages_2graphics_2glfw_2renderer_8h.html b/doc/doxygen/html/d8/d6d/packages_2graphics_2glfw_2renderer_8h.html deleted file mode 100644 index d54f915..0000000 --- a/doc/doxygen/html/d8/d6d/packages_2graphics_2glfw_2renderer_8h.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/glfw/renderer.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
renderer.h File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d8/d6d/packages_2graphics_2glfw_2renderer_8h_source.html b/doc/doxygen/html/d8/d6d/packages_2graphics_2glfw_2renderer_8h_source.html deleted file mode 100644 index eee0392..0000000 --- a/doc/doxygen/html/d8/d6d/packages_2graphics_2glfw_2renderer_8h_source.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/glfw/renderer.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
renderer.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_OPENGL_RENDERER_H_
-
2#define ARC_OPENGL_RENDERER_H_
-
3
-
4#ifdef ARC_GLFW_WINDOW
-
5
-
6#define GLEW_STATIC
-
7#include <GL/glew.h>
-
8
-
9#include <GLFW/glfw3.h>
-
10
- -
12#include "arc/graphics/window.h"
-
13
-
14typedef struct ARC_RendererType {
-
15 GLFWwindow *window;
- -
17
-
18/**
-
19 * @brief struct for info needed to create glfw renderer
-
20 *
-
21 * @note this is what needs to be passed into the data parameter for ARC_Renderer_Create
-
22 */
-
23//struct ARC_RenderInfo {
-
24// GLFWwindow *window;
-
25//};
-
26
-
27#endif // !ARC_GLFW_WINDOW
-
28
-
29#endif // !ARC_OPENGL_RENDERER_H_
- - -
SDL_Renderer ARC_RendererType
Definition renderer.h:8
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/d71/src_2input_2keyboard_8c.html b/doc/doxygen/html/d8/d71/src_2input_2keyboard_8c.html deleted file mode 100644 index 10dee48..0000000 --- a/doc/doxygen/html/d8/d71/src_2input_2keyboard_8c.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/input/keyboard.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
keyboard.c File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d8/d71/src_2input_2keyboard_8c_source.html b/doc/doxygen/html/d8/d71/src_2input_2keyboard_8c_source.html deleted file mode 100644 index abcd545..0000000 --- a/doc/doxygen/html/d8/d71/src_2input_2keyboard_8c_source.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/input/keyboard.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
keyboard.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_INPUT
-
2
- -
4#include <stdio.h>
-
5
- -
7 printf("No Input Backend Selected\n");
-
8}
-
9
- -
11 printf("No Input Backend Selected\n");
-
12}
-
13
-
14void ARC_Keyboard_Update(ARC_Keyboard *keyboard){
-
15 printf("No Input Backend Selected\n");
-
16}
-
17
- -
19 printf("No Input Backend Selected\n");
-
20 return ARC_KEY_NONE;
-
21}
-
22
-
23#endif // !ARC_NONE_INPUT
- -
ARC_KeyboardKey
Definition keyboard.h:32
-
void ARC_Keyboard_Update(ARC_Keyboard *keyboard)
Definition keyboard.c:29
-
ARC_KeyboardState
Definition keyboard.h:19
-
@ ARC_KEY_NONE
Definition keyboard.h:20
-
void ARC_Keyboard_CreateWithInput(ARC_Keyboard **keyboard, ARC_Input *input)
Definition keyboard.c:11
-
void ARC_Keyboard_Destroy(ARC_Keyboard *keyboard)
Definition keyboard.c:23
-
ARC_KeyboardState ARC_Keyboard_GetState(ARC_Keyboard *keyboard, enum ARC_KeyboardKey key)
Definition keyboard.c:52
- - -
-
- - - - - - diff --git a/doc/doxygen/html/d8/d72/src_2graphics_2sprite_8c.html b/doc/doxygen/html/d8/d72/src_2graphics_2sprite_8c.html deleted file mode 100644 index 2ff70fc..0000000 --- a/doc/doxygen/html/d8/d72/src_2graphics_2sprite_8c.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/sprite.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
sprite.c File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d8/d72/src_2graphics_2sprite_8c_source.html b/doc/doxygen/html/d8/d72/src_2graphics_2sprite_8c_source.html deleted file mode 100644 index e705a81..0000000 --- a/doc/doxygen/html/d8/d72/src_2graphics_2sprite_8c_source.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/sprite.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
sprite.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_GRAPHICS
-
2
- -
4#include <stdio.h>
-
5
-
6void ARC_Sprite_Create(ARC_Sprite **sprite, ARC_Spritesheet *spritesheet, ARC_Array *frames){
-
7 printf("No Graphics Backend Selected\n");
-
8}
-
9
-
10void ARC_Sprite_Destroy(ARC_Sprite *sprite){
-
11 printf("No Graphics Backend Selected\n");
-
12}
-
13
-
14void ARC_Sprite_Copy(ARC_Sprite **newSprite, ARC_Sprite *oldSprite){
-
15 printf("No Graphics Backend Selected\n");
-
16}
-
17
-
18void ARC_Sprite_Render(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds){
-
19 printf("No Graphics Backend Selected\n");
-
20}
-
21
-
22void ARC_Sprite_RenderFlip(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, enum ARC_Sprite_Axis axis){
-
23 printf("No Graphics Backend Selected\n");
-
24}
-
25
-
26void ARC_Sprite_RenderRotated(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, ARC_Point *center, double angle){
-
27 printf("No Graphics Backend Selected\n");
-
28}
-
29
-
30void ARC_Sprite_SetFrameIndex(ARC_Sprite *sprite, uint32_t index){
-
31 printf("No Graphics Backend Selected\n");
-
32}
-
33
- -
35 printf("No Graphics Backend Selected\n");
-
36}
-
37
- -
39 printf("No Graphics Backend Selected\n");
-
40 return NULL;
-
41}
-
42
- -
44 printf("No Graphics Backend Selected\n");
-
45 return NULL;
-
46}
-
47
-
48#endif // !ARC_NONE_GRAPHICS
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- -
void ARC_Sprite_Render(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds)
renders ARC_Sprite type
Definition sprite.c:36
-
void ARC_Sprite_Create(ARC_Sprite **sprite, ARC_Spritesheet *spritesheet, ARC_Array *frames)
creates ARC_Sprite type
Definition sprite.c:11
-
void ARC_Sprite_Destroy(ARC_Sprite *sprite)
destroys ARC_Sprite type
Definition sprite.c:20
-
void ARC_Sprite_RenderRotated(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, ARC_Point *center, double angle)
renders ARC_Sprite type with rotation
Definition sprite.c:57
-
ARC_Sprite_Axis
Definition sprite.h:67
-
ARC_Rect * ARC_Sprite_GetBounds(ARC_Sprite *sprite)
returns the current bounds based on the ARC_Sprite's frames
Definition sprite.c:84
-
void ARC_Sprite_Copy(ARC_Sprite **newSprite, ARC_Sprite *oldSprite)
copies ARC_Sprite to a new ARC_Sprite
Definition sprite.c:24
-
void ARC_Sprite_IterateFrame(ARC_Sprite *sprite)
switches ARC_Sprite's frames to next for animation
Definition sprite.c:72
-
void ARC_Sprite_RenderFlip(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, enum ARC_Sprite_Axis axis)
renders ARC_Sprite type with flip
Definition sprite.c:42
-
ARC_Array * ARC_Sprite_GetAllBounds(ARC_Sprite *sprite)
returns the array of bounds that a sprite has
Definition sprite.c:88
-
void ARC_Sprite_SetFrameIndex(ARC_Sprite *sprite, uint32_t index)
switches ARC_Sprite's frame to specified index
Definition sprite.c:63
-
a type that holds an array of data and its size
Definition array.h:13
- - - - -
-
- - - - - - diff --git a/doc/doxygen/html/d8/d77/bool_8h.html b/doc/doxygen/html/d8/d77/bool_8h.html deleted file mode 100644 index 39215cf..0000000 --- a/doc/doxygen/html/d8/d77/bool_8h.html +++ /dev/null @@ -1,192 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
bool.h File Reference
-
-
-
#include <stdbool.h>
-
-

Go to the source code of this file.

- - - - - - - - -

-Macros

#define ARC_Bool   bool
 
#define ARC_True   true
 
#define ARC_False   false
 
-

Macro Definition Documentation

- -

◆ ARC_Bool

- -
-
- - - - -
#define ARC_Bool   bool
-
- -

Definition at line 10 of file bool.h.

- -
-
- -

◆ ARC_False

- -
-
- - - - -
#define ARC_False   false
-
- -

Definition at line 12 of file bool.h.

- -
-
- -

◆ ARC_True

- -
-
- - - - -
#define ARC_True   true
-
- -

Definition at line 11 of file bool.h.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/d77/bool_8h.js b/doc/doxygen/html/d8/d77/bool_8h.js deleted file mode 100644 index f5b9317..0000000 --- a/doc/doxygen/html/d8/d77/bool_8h.js +++ /dev/null @@ -1,6 +0,0 @@ -var bool_8h = -[ - [ "ARC_Bool", "d8/d77/bool_8h.html#aad51710c999c22d9440e5ce0ba8e2c45", null ], - [ "ARC_False", "d8/d77/bool_8h.html#aa63660d755fd84cd9f4b01bbf87b36fd", null ], - [ "ARC_True", "d8/d77/bool_8h.html#aacf339cb8c71b994249ae02c662006cb", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d8/d77/bool_8h_source.html b/doc/doxygen/html/d8/d77/bool_8h_source.html deleted file mode 100644 index f73f3a7..0000000 --- a/doc/doxygen/html/d8/d77/bool_8h_source.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
bool.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_STD_BOOL_H_
-
2#define ARC_STD_BOOL_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include <stdbool.h>
-
9
-
10#define ARC_Bool bool
-
11#define ARC_True true
-
12#define ARC_False false
-
13
-
14#ifdef __cplusplus
-
15}
-
16#endif
-
17
-
18#endif //ARC_STD_BOOL_H_
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/d79/graphics_2circle_8h.html b/doc/doxygen/html/d8/d79/graphics_2circle_8h.html deleted file mode 100644 index cac95fc..0000000 --- a/doc/doxygen/html/d8/d79/graphics_2circle_8h.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/circle.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
circle.h File Reference
-
-
-
#include "arc/graphics/color.h"
-#include "arc/graphics/renderer.h"
-#include "arc/math/circle.h"
-#include <stdint.h>
-
-

Go to the source code of this file.

- - - - - - -

-Functions

void ARC_Circle_Render (ARC_Circle *circle, ARC_Renderer *renderer, ARC_Color *color)
 
void ARC_Circle_RenderFill (ARC_Circle *circle, ARC_Renderer *renderer, ARC_Color *color)
 
-

Function Documentation

- -

◆ ARC_Circle_Render()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Circle_Render (ARC_Circle * circle,
ARC_Renderer * renderer,
ARC_Color * color )
-
- -
-
- -

◆ ARC_Circle_RenderFill()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Circle_RenderFill (ARC_Circle * circle,
ARC_Renderer * renderer,
ARC_Color * color )
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/d79/graphics_2circle_8h.js b/doc/doxygen/html/d8/d79/graphics_2circle_8h.js deleted file mode 100644 index 75e99e9..0000000 --- a/doc/doxygen/html/d8/d79/graphics_2circle_8h.js +++ /dev/null @@ -1,5 +0,0 @@ -var graphics_2circle_8h = -[ - [ "ARC_Circle_Render", "d8/d79/graphics_2circle_8h.html#afe76964f8e2236fac1827c8bac1bd896", null ], - [ "ARC_Circle_RenderFill", "d8/d79/graphics_2circle_8h.html#a5ac4e484dce5dd95ace5ccbf585fbe4f", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d8/d79/graphics_2circle_8h_source.html b/doc/doxygen/html/d8/d79/graphics_2circle_8h_source.html deleted file mode 100644 index 35616bf..0000000 --- a/doc/doxygen/html/d8/d79/graphics_2circle_8h_source.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/circle.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
circle.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_GRAPHICS_CIRCLE_H_
-
2#define ARC_GRAPHICS_CIRCLE_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
- - -
10#include "arc/math/circle.h"
-
11#include <stdint.h>
-
12
-
13void ARC_Circle_Render(ARC_Circle *circle, ARC_Renderer *renderer, ARC_Color *color);
-
14
-
15void ARC_Circle_RenderFill(ARC_Circle *circle, ARC_Renderer *renderer, ARC_Color *color);
-
16
-
17#ifdef __cplusplus
-
18}
-
19#endif
-
20
-
21#endif // !ARC_GRAPHICS_RECT_H_
- -
void ARC_Circle_RenderFill(ARC_Circle *circle, ARC_Renderer *renderer, ARC_Color *color)
-
void ARC_Circle_Render(ARC_Circle *circle, ARC_Renderer *renderer, ARC_Color *color)
- - -
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- - -
-
- - - - - - diff --git a/doc/doxygen/html/d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html b/doc/doxygen/html/d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html deleted file mode 100644 index 877ea0f..0000000 --- a/doc/doxygen/html/d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html +++ /dev/null @@ -1,593 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/3.31.1/CompilerIdC/CMakeCCompilerId.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
CMakeCCompilerId.c File Reference
-
-
- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Macros

#define __has_include(x)
 
#define COMPILER_ID   ""
 
#define STRINGIFY_HELPER(X)
 
#define STRINGIFY(X)
 
#define PLATFORM_ID
 
#define ARCHITECTURE_ID
 
#define DEC(n)
 
#define HEX(n)
 
#define C_STD_99   199901L
 
#define C_STD_11   201112L
 
#define C_STD_17   201710L
 
#define C_STD_23   202311L
 
#define C_VERSION
 
- - - -

-Functions

int main (int argc, char *argv[])
 
- - - - - - - - - - - -

-Variables

char const * info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"
 
char const * info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"
 
char const * info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"
 
const char * info_language_standard_default
 
const char * info_language_extensions_default
 
-

Macro Definition Documentation

- -

◆ __has_include

- -
-
- - - - - - - -
#define __has_include( x)
-
-Value:
0
-
-

Definition at line 17 of file CMakeCCompilerId.c.

- -
-
- -

◆ ARCHITECTURE_ID

- -
-
- - - - -
#define ARCHITECTURE_ID
-
- -

Definition at line 745 of file CMakeCCompilerId.c.

- -
-
- -

◆ C_STD_11

- -
-
- - - - -
#define C_STD_11   201112L
-
- -

Definition at line 831 of file CMakeCCompilerId.c.

- -
-
- -

◆ C_STD_17

- -
-
- - - - -
#define C_STD_17   201710L
-
- -

Definition at line 832 of file CMakeCCompilerId.c.

- -
-
- -

◆ C_STD_23

- -
-
- - - - -
#define C_STD_23   202311L
-
- -

Definition at line 833 of file CMakeCCompilerId.c.

- -
-
- -

◆ C_STD_99

- -
-
- - - - -
#define C_STD_99   199901L
-
- -

Definition at line 830 of file CMakeCCompilerId.c.

- -
-
- -

◆ C_VERSION

- -
-
- - - - -
#define C_VERSION
-
- -

Definition at line 843 of file CMakeCCompilerId.c.

- -
-
- -

◆ COMPILER_ID

- -
-
- - - - -
#define COMPILER_ID   ""
-
- -

Definition at line 448 of file CMakeCCompilerId.c.

- -
-
- -

◆ DEC

- -
-
- - - - - - - -
#define DEC( n)
-
-Value:
('0' + (((n) / 10000000)%10)), \
-
('0' + (((n) / 1000000)%10)), \
-
('0' + (((n) / 100000)%10)), \
-
('0' + (((n) / 10000)%10)), \
-
('0' + (((n) / 1000)%10)), \
-
('0' + (((n) / 100)%10)), \
-
('0' + (((n) / 10)%10)), \
-
('0' + ((n) % 10))
-
-

Definition at line 749 of file CMakeCCompilerId.c.

-
749#define DEC(n) \
-
750 ('0' + (((n) / 10000000)%10)), \
-
751 ('0' + (((n) / 1000000)%10)), \
-
752 ('0' + (((n) / 100000)%10)), \
-
753 ('0' + (((n) / 10000)%10)), \
-
754 ('0' + (((n) / 1000)%10)), \
-
755 ('0' + (((n) / 100)%10)), \
-
756 ('0' + (((n) / 10)%10)), \
-
757 ('0' + ((n) % 10))
-
-
-
- -

◆ HEX

- -
-
- - - - - - - -
#define HEX( n)
-
-Value:
('0' + ((n)>>28 & 0xF)), \
-
('0' + ((n)>>24 & 0xF)), \
-
('0' + ((n)>>20 & 0xF)), \
-
('0' + ((n)>>16 & 0xF)), \
-
('0' + ((n)>>12 & 0xF)), \
-
('0' + ((n)>>8 & 0xF)), \
-
('0' + ((n)>>4 & 0xF)), \
-
('0' + ((n) & 0xF))
-
-

Definition at line 760 of file CMakeCCompilerId.c.

-
760#define HEX(n) \
-
761 ('0' + ((n)>>28 & 0xF)), \
-
762 ('0' + ((n)>>24 & 0xF)), \
-
763 ('0' + ((n)>>20 & 0xF)), \
-
764 ('0' + ((n)>>16 & 0xF)), \
-
765 ('0' + ((n)>>12 & 0xF)), \
-
766 ('0' + ((n)>>8 & 0xF)), \
-
767 ('0' + ((n)>>4 & 0xF)), \
-
768 ('0' + ((n) & 0xF))
-
-
-
- -

◆ PLATFORM_ID

- -
-
- - - - -
#define PLATFORM_ID
-
- -

Definition at line 579 of file CMakeCCompilerId.c.

- -
-
- -

◆ STRINGIFY

- -
-
- - - - - - - -
#define STRINGIFY( X)
-
-Value:
-
#define STRINGIFY_HELPER(X)
-
-

Definition at line 469 of file CMakeCCompilerId.c.

- -
-
- -

◆ STRINGIFY_HELPER

- -
-
- - - - - - - -
#define STRINGIFY_HELPER( X)
-
-Value:
#X
-
-

Definition at line 468 of file CMakeCCompilerId.c.

- -
-
-

Function Documentation

- -

◆ main()

- -
-
- - - - - - - - - - - -
int main (int argc,
char * argv[] )
-
- -

Definition at line 877 of file CMakeCCompilerId.c.

-
879{
-
880 int require = 0;
-
881 require += info_compiler[argc];
-
882 require += info_platform[argc];
-
883 require += info_arch[argc];
-
884#ifdef COMPILER_VERSION_MAJOR
-
885 require += info_version[argc];
-
886#endif
-
887#ifdef COMPILER_VERSION_INTERNAL
-
888 require += info_version_internal[argc];
-
889#endif
-
890#ifdef SIMULATE_ID
-
891 require += info_simulate[argc];
-
892#endif
-
893#ifdef SIMULATE_VERSION_MAJOR
-
894 require += info_simulate_version[argc];
-
895#endif
-
896#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
-
897 require += info_cray[argc];
-
898#endif
-
899 require += info_language_standard_default[argc];
-
900 require += info_language_extensions_default[argc];
-
901 (void)argv;
-
902 return require;
-
903}
-
const char * info_language_extensions_default
-
char const * info_platform
-
const char * info_language_standard_default
-
char const * info_compiler
-
char const * info_arch
-
-

References info_arch, info_compiler, info_language_extensions_default, info_language_standard_default, and info_platform.

- -
-
-

Variable Documentation

- -

◆ info_arch

- -
-
- - - - -
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"
-
- -

Definition at line 826 of file CMakeCCompilerId.c.

- -
-
- -

◆ info_compiler

- -
-
- - - - -
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"
-
- -

Definition at line 455 of file CMakeCCompilerId.c.

- -
-
- -

◆ info_language_extensions_default

- -
-
- - - - -
const char* info_language_extensions_default
-
-Initial value:
= "INFO" ":" "extensions_default["
-
-
-
-
-
-
"OFF"
-
-
"]"
-
-

Definition at line 859 of file CMakeCCompilerId.c.

- -
-
- -

◆ info_language_standard_default

- -
-
- - - - -
const char* info_language_standard_default
-
-Initial value:
=
-
"INFO" ":" "standard_default[" C_VERSION "]"
-
#define C_VERSION
-
-

Definition at line 856 of file CMakeCCompilerId.c.

- -
-
- -

◆ info_platform

- -
-
- - - - -
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"
-
- -

Definition at line 825 of file CMakeCCompilerId.c.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.js b/doc/doxygen/html/d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.js deleted file mode 100644 index 5d1c29b..0000000 --- a/doc/doxygen/html/d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.js +++ /dev/null @@ -1,22 +0,0 @@ -var 3_831_81_2CompilerIdC_2CMakeCCompilerId_8c = -[ - [ "__has_include", "d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#ae5510d82e4946f1656f4969911c54736", null ], - [ "ARCHITECTURE_ID", "d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#aba35d0d200deaeb06aee95ca297acb28", null ], - [ "C_STD_11", "d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a7c35af7e67642a2c62eb27dd81be11b2", null ], - [ "C_STD_17", "d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#aa8cd9c2c76dde36abac0bd7698090693", null ], - [ "C_STD_23", "d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a81af617e8f7b5417689ca478ce9f4d69", null ], - [ "C_STD_99", "d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#af6079dc519dac099ee85a1df6ae5e5e8", null ], - [ "C_VERSION", "d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#adaee3ee7c5a7a22451ea25e762e1d7d5", null ], - [ "COMPILER_ID", "d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a81dee0709ded976b2e0319239f72d174", null ], - [ "DEC", "d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#ad1280362da42492bbc11aa78cbf776ad", null ], - [ "HEX", "d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a46d5d95daa1bef867bd0179594310ed5", null ], - [ "PLATFORM_ID", "d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#adbc5372f40838899018fadbc89bd588b", null ], - [ "STRINGIFY", "d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a43e1cad902b6477bec893cb6430bd6c8", null ], - [ "STRINGIFY_HELPER", "d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a2ae9b72bb13abaabfcf2ee0ba7d3fa1d", null ], - [ "main", "d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a0ddf1224851353fc92bfbff6f499fa97", null ], - [ "info_arch", "d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a59647e99d304ed33b15cb284c27ed391", null ], - [ "info_compiler", "d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a4b0efeb7a5d59313986b3a0390f050f6", null ], - [ "info_language_extensions_default", "d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a0f46a8a39e09d9b803c4766904fd7e99", null ], - [ "info_language_standard_default", "d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a4607cccf070750927b458473ca82c090", null ], - [ "info_platform", "d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a2321403dee54ee23f0c2fa849c60f7d4", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c_source.html b/doc/doxygen/html/d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c_source.html deleted file mode 100644 index 529d96e..0000000 --- a/doc/doxygen/html/d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c_source.html +++ /dev/null @@ -1,1048 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/3.31.1/CompilerIdC/CMakeCCompilerId.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
CMakeCCompilerId.c
-
-
-Go to the documentation of this file.
1#ifdef __cplusplus
-
2# error "A C++ compiler has been selected for C."
-
3#endif
-
4
-
5#if defined(__18CXX)
-
6# define ID_VOID_MAIN
-
7#endif
-
8#if defined(__CLASSIC_C__)
-
9/* cv-qualifiers did not exist in K&R C */
-
10# define const
-
11# define volatile
-
12#endif
-
13
-
14#if !defined(__has_include)
-
15/* If the compiler does not have __has_include, pretend the answer is
-
16 always no. */
-
17# define __has_include(x) 0
-
18#endif
-
19
-
20
-
21/* Version number components: V=Version, R=Revision, P=Patch
-
22 Version date components: YYYY=Year, MM=Month, DD=Day */
-
23
-
24#if defined(__INTEL_COMPILER) || defined(__ICC)
-
25# define COMPILER_ID "Intel"
-
26# if defined(_MSC_VER)
-
27# define SIMULATE_ID "MSVC"
-
28# endif
-
29# if defined(__GNUC__)
-
30# define SIMULATE_ID "GNU"
-
31# endif
-
32 /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
-
33 except that a few beta releases use the old format with V=2021. */
-
34# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
-
35# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
-
36# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
-
37# if defined(__INTEL_COMPILER_UPDATE)
-
38# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
-
39# else
-
40# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
-
41# endif
-
42# else
-
43# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
-
44# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
-
45 /* The third version component from --version is an update index,
-
46 but no macro is provided for it. */
-
47# define COMPILER_VERSION_PATCH DEC(0)
-
48# endif
-
49# if defined(__INTEL_COMPILER_BUILD_DATE)
-
50 /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
-
51# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
-
52# endif
-
53# if defined(_MSC_VER)
-
54 /* _MSC_VER = VVRR */
-
55# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-
56# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-
57# endif
-
58# if defined(__GNUC__)
-
59# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
-
60# elif defined(__GNUG__)
-
61# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
-
62# endif
-
63# if defined(__GNUC_MINOR__)
-
64# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
-
65# endif
-
66# if defined(__GNUC_PATCHLEVEL__)
-
67# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-
68# endif
-
69
-
70#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
-
71# define COMPILER_ID "IntelLLVM"
-
72#if defined(_MSC_VER)
-
73# define SIMULATE_ID "MSVC"
-
74#endif
-
75#if defined(__GNUC__)
-
76# define SIMULATE_ID "GNU"
-
77#endif
-
78/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
-
79 * later. Look for 6 digit vs. 8 digit version number to decide encoding.
-
80 * VVVV is no smaller than the current year when a version is released.
-
81 */
-
82#if __INTEL_LLVM_COMPILER < 1000000L
-
83# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
-
84# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
-
85# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
-
86#else
-
87# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
-
88# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
-
89# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
-
90#endif
-
91#if defined(_MSC_VER)
-
92 /* _MSC_VER = VVRR */
-
93# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-
94# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-
95#endif
-
96#if defined(__GNUC__)
-
97# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
-
98#elif defined(__GNUG__)
-
99# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
-
100#endif
-
101#if defined(__GNUC_MINOR__)
-
102# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
-
103#endif
-
104#if defined(__GNUC_PATCHLEVEL__)
-
105# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-
106#endif
-
107
-
108#elif defined(__PATHCC__)
-
109# define COMPILER_ID "PathScale"
-
110# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
-
111# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
-
112# if defined(__PATHCC_PATCHLEVEL__)
-
113# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
-
114# endif
-
115
-
116#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
-
117# define COMPILER_ID "Embarcadero"
-
118# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
-
119# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
-
120# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
-
121
-
122#elif defined(__BORLANDC__)
-
123# define COMPILER_ID "Borland"
-
124 /* __BORLANDC__ = 0xVRR */
-
125# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
-
126# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
-
127
-
128#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
-
129# define COMPILER_ID "Watcom"
-
130 /* __WATCOMC__ = VVRR */
-
131# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
-
132# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
-
133# if (__WATCOMC__ % 10) > 0
-
134# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
-
135# endif
-
136
-
137#elif defined(__WATCOMC__)
-
138# define COMPILER_ID "OpenWatcom"
-
139 /* __WATCOMC__ = VVRP + 1100 */
-
140# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
-
141# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
-
142# if (__WATCOMC__ % 10) > 0
-
143# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
-
144# endif
-
145
-
146#elif defined(__SUNPRO_C)
-
147# define COMPILER_ID "SunPro"
-
148# if __SUNPRO_C >= 0x5100
-
149 /* __SUNPRO_C = 0xVRRP */
-
150# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
-
151# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
-
152# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
-
153# else
-
154 /* __SUNPRO_CC = 0xVRP */
-
155# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
-
156# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
-
157# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
-
158# endif
-
159
-
160#elif defined(__HP_cc)
-
161# define COMPILER_ID "HP"
-
162 /* __HP_cc = VVRRPP */
-
163# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
-
164# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
-
165# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
-
166
-
167#elif defined(__DECC)
-
168# define COMPILER_ID "Compaq"
-
169 /* __DECC_VER = VVRRTPPPP */
-
170# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
-
171# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
-
172# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
-
173
-
174#elif defined(__IBMC__) && defined(__COMPILER_VER__)
-
175# define COMPILER_ID "zOS"
-
176 /* __IBMC__ = VRP */
-
177# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
-
178# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
-
179# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
-
180
-
181#elif defined(__open_xl__) && defined(__clang__)
-
182# define COMPILER_ID "IBMClang"
-
183# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__)
-
184# define COMPILER_VERSION_MINOR DEC(__open_xl_release__)
-
185# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__)
-
186# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__)
-
187
-
188
-
189#elif defined(__ibmxl__) && defined(__clang__)
-
190# define COMPILER_ID "XLClang"
-
191# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
-
192# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
-
193# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
-
194# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
-
195
-
196
-
197#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
-
198# define COMPILER_ID "XL"
-
199 /* __IBMC__ = VRP */
-
200# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
-
201# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
-
202# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
-
203
-
204#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
-
205# define COMPILER_ID "VisualAge"
-
206 /* __IBMC__ = VRP */
-
207# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
-
208# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
-
209# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
-
210
-
211#elif defined(__NVCOMPILER)
-
212# define COMPILER_ID "NVHPC"
-
213# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
-
214# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
-
215# if defined(__NVCOMPILER_PATCHLEVEL__)
-
216# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
-
217# endif
-
218
-
219#elif defined(__PGI)
-
220# define COMPILER_ID "PGI"
-
221# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
-
222# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
-
223# if defined(__PGIC_PATCHLEVEL__)
-
224# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
-
225# endif
-
226
-
227#elif defined(__clang__) && defined(__cray__)
-
228# define COMPILER_ID "CrayClang"
-
229# define COMPILER_VERSION_MAJOR DEC(__cray_major__)
-
230# define COMPILER_VERSION_MINOR DEC(__cray_minor__)
-
231# define COMPILER_VERSION_PATCH DEC(__cray_patchlevel__)
-
232# define COMPILER_VERSION_INTERNAL_STR __clang_version__
-
233
-
234
-
235#elif defined(_CRAYC)
-
236# define COMPILER_ID "Cray"
-
237# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
-
238# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
-
239
-
240#elif defined(__TI_COMPILER_VERSION__)
-
241# define COMPILER_ID "TI"
-
242 /* __TI_COMPILER_VERSION__ = VVVRRRPPP */
-
243# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
-
244# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
-
245# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
-
246
-
247#elif defined(__CLANG_FUJITSU)
-
248# define COMPILER_ID "FujitsuClang"
-
249# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
-
250# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
-
251# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
-
252# define COMPILER_VERSION_INTERNAL_STR __clang_version__
-
253
-
254
-
255#elif defined(__FUJITSU)
-
256# define COMPILER_ID "Fujitsu"
-
257# if defined(__FCC_version__)
-
258# define COMPILER_VERSION __FCC_version__
-
259# elif defined(__FCC_major__)
-
260# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
-
261# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
-
262# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
-
263# endif
-
264# if defined(__fcc_version)
-
265# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
-
266# elif defined(__FCC_VERSION)
-
267# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
-
268# endif
-
269
-
270
-
271#elif defined(__ghs__)
-
272# define COMPILER_ID "GHS"
-
273/* __GHS_VERSION_NUMBER = VVVVRP */
-
274# ifdef __GHS_VERSION_NUMBER
-
275# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
-
276# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
-
277# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
-
278# endif
-
279
-
280#elif defined(__TASKING__)
-
281# define COMPILER_ID "Tasking"
-
282 # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000)
-
283 # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100)
-
284# define COMPILER_VERSION_INTERNAL DEC(__VERSION__)
-
285
-
286#elif defined(__ORANGEC__)
-
287# define COMPILER_ID "OrangeC"
-
288# define COMPILER_VERSION_MAJOR DEC(__ORANGEC_MAJOR__)
-
289# define COMPILER_VERSION_MINOR DEC(__ORANGEC_MINOR__)
-
290# define COMPILER_VERSION_PATCH DEC(__ORANGEC_PATCHLEVEL__)
-
291
-
292#elif defined(__TINYC__)
-
293# define COMPILER_ID "TinyCC"
-
294
-
295#elif defined(__BCC__)
-
296# define COMPILER_ID "Bruce"
-
297
-
298#elif defined(__SCO_VERSION__)
-
299# define COMPILER_ID "SCO"
-
300
-
301#elif defined(__ARMCC_VERSION) && !defined(__clang__)
-
302# define COMPILER_ID "ARMCC"
-
303#if __ARMCC_VERSION >= 1000000
-
304 /* __ARMCC_VERSION = VRRPPPP */
-
305 # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
-
306 # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
-
307 # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
-
308#else
-
309 /* __ARMCC_VERSION = VRPPPP */
-
310 # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
-
311 # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
-
312 # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
-
313#endif
-
314
-
315
-
316#elif defined(__clang__) && defined(__apple_build_version__)
-
317# define COMPILER_ID "AppleClang"
-
318# if defined(_MSC_VER)
-
319# define SIMULATE_ID "MSVC"
-
320# endif
-
321# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
-
322# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
-
323# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
-
324# if defined(_MSC_VER)
-
325 /* _MSC_VER = VVRR */
-
326# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-
327# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-
328# endif
-
329# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
-
330
-
331#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
-
332# define COMPILER_ID "ARMClang"
-
333 # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
-
334 # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
-
335 # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100)
-
336# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
-
337
-
338#elif defined(__clang__) && defined(__ti__)
-
339# define COMPILER_ID "TIClang"
-
340 # define COMPILER_VERSION_MAJOR DEC(__ti_major__)
-
341 # define COMPILER_VERSION_MINOR DEC(__ti_minor__)
-
342 # define COMPILER_VERSION_PATCH DEC(__ti_patchlevel__)
-
343# define COMPILER_VERSION_INTERNAL DEC(__ti_version__)
-
344
-
345#elif defined(__clang__)
-
346# define COMPILER_ID "Clang"
-
347# if defined(_MSC_VER)
-
348# define SIMULATE_ID "MSVC"
-
349# endif
-
350# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
-
351# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
-
352# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
-
353# if defined(_MSC_VER)
-
354 /* _MSC_VER = VVRR */
-
355# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-
356# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-
357# endif
-
358
-
359#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
-
360# define COMPILER_ID "LCC"
-
361# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100)
-
362# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100)
-
363# if defined(__LCC_MINOR__)
-
364# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
-
365# endif
-
366# if defined(__GNUC__) && defined(__GNUC_MINOR__)
-
367# define SIMULATE_ID "GNU"
-
368# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
-
369# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
-
370# if defined(__GNUC_PATCHLEVEL__)
-
371# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-
372# endif
-
373# endif
-
374
-
375#elif defined(__GNUC__)
-
376# define COMPILER_ID "GNU"
-
377# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
-
378# if defined(__GNUC_MINOR__)
-
379# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
-
380# endif
-
381# if defined(__GNUC_PATCHLEVEL__)
-
382# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-
383# endif
-
384
-
385#elif defined(_MSC_VER)
-
386# define COMPILER_ID "MSVC"
-
387 /* _MSC_VER = VVRR */
-
388# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
-
389# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
-
390# if defined(_MSC_FULL_VER)
-
391# if _MSC_VER >= 1400
-
392 /* _MSC_FULL_VER = VVRRPPPPP */
-
393# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
-
394# else
-
395 /* _MSC_FULL_VER = VVRRPPPP */
-
396# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
-
397# endif
-
398# endif
-
399# if defined(_MSC_BUILD)
-
400# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
-
401# endif
-
402
-
403#elif defined(_ADI_COMPILER)
-
404# define COMPILER_ID "ADSP"
-
405#if defined(__VERSIONNUM__)
-
406 /* __VERSIONNUM__ = 0xVVRRPPTT */
-
407# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF)
-
408# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF)
-
409# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF)
-
410# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF)
-
411#endif
-
412
-
413#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
-
414# define COMPILER_ID "IAR"
-
415# if defined(__VER__) && defined(__ICCARM__)
-
416# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
-
417# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
-
418# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
-
419# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
-
420# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
-
421# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
-
422# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
-
423# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
-
424# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
-
425# endif
-
426
-
427#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
-
428# define COMPILER_ID "SDCC"
-
429# if defined(__SDCC_VERSION_MAJOR)
-
430# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
-
431# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
-
432# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
-
433# else
-
434 /* SDCC = VRP */
-
435# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
-
436# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
-
437# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
-
438# endif
-
439
-
440
-
441/* These compilers are either not known or too old to define an
-
442 identification macro. Try to identify the platform and guess that
-
443 it is the native compiler. */
-
444#elif defined(__hpux) || defined(__hpua)
-
445# define COMPILER_ID "HP"
-
446
-
447#else /* unknown compiler */
-
448# define COMPILER_ID ""
-
449#endif
-
450
-
451/* Construct the string literal in pieces to prevent the source from
-
452 getting matched. Store it in a pointer rather than an array
-
453 because some compilers will just produce instructions to fill the
-
454 array rather than assigning a pointer to a static array. */
-
455char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
-
456#ifdef SIMULATE_ID
-
457char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
-
458#endif
-
459
-
460#ifdef __QNXNTO__
-
461char const* qnxnto = "INFO" ":" "qnxnto[]";
-
462#endif
-
463
-
464#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
-
465char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
-
466#endif
-
467
-
468#define STRINGIFY_HELPER(X) #X
-
469#define STRINGIFY(X) STRINGIFY_HELPER(X)
-
470
-
471/* Identify known platforms by name. */
-
472#if defined(__linux) || defined(__linux__) || defined(linux)
-
473# define PLATFORM_ID "Linux"
-
474
-
475#elif defined(__MSYS__)
-
476# define PLATFORM_ID "MSYS"
-
477
-
478#elif defined(__CYGWIN__)
-
479# define PLATFORM_ID "Cygwin"
-
480
-
481#elif defined(__MINGW32__)
-
482# define PLATFORM_ID "MinGW"
-
483
-
484#elif defined(__APPLE__)
-
485# define PLATFORM_ID "Darwin"
-
486
-
487#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
-
488# define PLATFORM_ID "Windows"
-
489
-
490#elif defined(__FreeBSD__) || defined(__FreeBSD)
-
491# define PLATFORM_ID "FreeBSD"
-
492
-
493#elif defined(__NetBSD__) || defined(__NetBSD)
-
494# define PLATFORM_ID "NetBSD"
-
495
-
496#elif defined(__OpenBSD__) || defined(__OPENBSD)
-
497# define PLATFORM_ID "OpenBSD"
-
498
-
499#elif defined(__sun) || defined(sun)
-
500# define PLATFORM_ID "SunOS"
-
501
-
502#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
-
503# define PLATFORM_ID "AIX"
-
504
-
505#elif defined(__hpux) || defined(__hpux__)
-
506# define PLATFORM_ID "HP-UX"
-
507
-
508#elif defined(__HAIKU__)
-
509# define PLATFORM_ID "Haiku"
-
510
-
511#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
-
512# define PLATFORM_ID "BeOS"
-
513
-
514#elif defined(__QNX__) || defined(__QNXNTO__)
-
515# define PLATFORM_ID "QNX"
-
516
-
517#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
-
518# define PLATFORM_ID "Tru64"
-
519
-
520#elif defined(__riscos) || defined(__riscos__)
-
521# define PLATFORM_ID "RISCos"
-
522
-
523#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
-
524# define PLATFORM_ID "SINIX"
-
525
-
526#elif defined(__UNIX_SV__)
-
527# define PLATFORM_ID "UNIX_SV"
-
528
-
529#elif defined(__bsdos__)
-
530# define PLATFORM_ID "BSDOS"
-
531
-
532#elif defined(_MPRAS) || defined(MPRAS)
-
533# define PLATFORM_ID "MP-RAS"
-
534
-
535#elif defined(__osf) || defined(__osf__)
-
536# define PLATFORM_ID "OSF1"
-
537
-
538#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
-
539# define PLATFORM_ID "SCO_SV"
-
540
-
541#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
-
542# define PLATFORM_ID "ULTRIX"
-
543
-
544#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
-
545# define PLATFORM_ID "Xenix"
-
546
-
547#elif defined(__WATCOMC__)
-
548# if defined(__LINUX__)
-
549# define PLATFORM_ID "Linux"
-
550
-
551# elif defined(__DOS__)
-
552# define PLATFORM_ID "DOS"
-
553
-
554# elif defined(__OS2__)
-
555# define PLATFORM_ID "OS2"
-
556
-
557# elif defined(__WINDOWS__)
-
558# define PLATFORM_ID "Windows3x"
-
559
-
560# elif defined(__VXWORKS__)
-
561# define PLATFORM_ID "VxWorks"
-
562
-
563# else /* unknown platform */
-
564# define PLATFORM_ID
-
565# endif
-
566
-
567#elif defined(__INTEGRITY)
-
568# if defined(INT_178B)
-
569# define PLATFORM_ID "Integrity178"
-
570
-
571# else /* regular Integrity */
-
572# define PLATFORM_ID "Integrity"
-
573# endif
-
574
-
575# elif defined(_ADI_COMPILER)
-
576# define PLATFORM_ID "ADSP"
-
577
-
578#else /* unknown platform */
-
579# define PLATFORM_ID
-
580
-
581#endif
-
582
-
583/* For windows compilers MSVC and Intel we can determine
-
584 the architecture of the compiler being used. This is because
-
585 the compilers do not have flags that can change the architecture,
-
586 but rather depend on which compiler is being used
-
587*/
-
588#if defined(_WIN32) && defined(_MSC_VER)
-
589# if defined(_M_IA64)
-
590# define ARCHITECTURE_ID "IA64"
-
591
-
592# elif defined(_M_ARM64EC)
-
593# define ARCHITECTURE_ID "ARM64EC"
-
594
-
595# elif defined(_M_X64) || defined(_M_AMD64)
-
596# define ARCHITECTURE_ID "x64"
-
597
-
598# elif defined(_M_IX86)
-
599# define ARCHITECTURE_ID "X86"
-
600
-
601# elif defined(_M_ARM64)
-
602# define ARCHITECTURE_ID "ARM64"
-
603
-
604# elif defined(_M_ARM)
-
605# if _M_ARM == 4
-
606# define ARCHITECTURE_ID "ARMV4I"
-
607# elif _M_ARM == 5
-
608# define ARCHITECTURE_ID "ARMV5I"
-
609# else
-
610# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
-
611# endif
-
612
-
613# elif defined(_M_MIPS)
-
614# define ARCHITECTURE_ID "MIPS"
-
615
-
616# elif defined(_M_SH)
-
617# define ARCHITECTURE_ID "SHx"
-
618
-
619# else /* unknown architecture */
-
620# define ARCHITECTURE_ID ""
-
621# endif
-
622
-
623#elif defined(__WATCOMC__)
-
624# if defined(_M_I86)
-
625# define ARCHITECTURE_ID "I86"
-
626
-
627# elif defined(_M_IX86)
-
628# define ARCHITECTURE_ID "X86"
-
629
-
630# else /* unknown architecture */
-
631# define ARCHITECTURE_ID ""
-
632# endif
-
633
-
634#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
-
635# if defined(__ICCARM__)
-
636# define ARCHITECTURE_ID "ARM"
-
637
-
638# elif defined(__ICCRX__)
-
639# define ARCHITECTURE_ID "RX"
-
640
-
641# elif defined(__ICCRH850__)
-
642# define ARCHITECTURE_ID "RH850"
-
643
-
644# elif defined(__ICCRL78__)
-
645# define ARCHITECTURE_ID "RL78"
-
646
-
647# elif defined(__ICCRISCV__)
-
648# define ARCHITECTURE_ID "RISCV"
-
649
-
650# elif defined(__ICCAVR__)
-
651# define ARCHITECTURE_ID "AVR"
-
652
-
653# elif defined(__ICC430__)
-
654# define ARCHITECTURE_ID "MSP430"
-
655
-
656# elif defined(__ICCV850__)
-
657# define ARCHITECTURE_ID "V850"
-
658
-
659# elif defined(__ICC8051__)
-
660# define ARCHITECTURE_ID "8051"
-
661
-
662# elif defined(__ICCSTM8__)
-
663# define ARCHITECTURE_ID "STM8"
-
664
-
665# else /* unknown architecture */
-
666# define ARCHITECTURE_ID ""
-
667# endif
-
668
-
669#elif defined(__ghs__)
-
670# if defined(__PPC64__)
-
671# define ARCHITECTURE_ID "PPC64"
-
672
-
673# elif defined(__ppc__)
-
674# define ARCHITECTURE_ID "PPC"
-
675
-
676# elif defined(__ARM__)
-
677# define ARCHITECTURE_ID "ARM"
-
678
-
679# elif defined(__x86_64__)
-
680# define ARCHITECTURE_ID "x64"
-
681
-
682# elif defined(__i386__)
-
683# define ARCHITECTURE_ID "X86"
-
684
-
685# else /* unknown architecture */
-
686# define ARCHITECTURE_ID ""
-
687# endif
-
688
-
689#elif defined(__clang__) && defined(__ti__)
-
690# if defined(__ARM_ARCH)
-
691# define ARCHITECTURE_ID "Arm"
-
692
-
693# else /* unknown architecture */
-
694# define ARCHITECTURE_ID ""
-
695# endif
-
696
-
697#elif defined(__TI_COMPILER_VERSION__)
-
698# if defined(__TI_ARM__)
-
699# define ARCHITECTURE_ID "ARM"
-
700
-
701# elif defined(__MSP430__)
-
702# define ARCHITECTURE_ID "MSP430"
-
703
-
704# elif defined(__TMS320C28XX__)
-
705# define ARCHITECTURE_ID "TMS320C28x"
-
706
-
707# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
-
708# define ARCHITECTURE_ID "TMS320C6x"
-
709
-
710# else /* unknown architecture */
-
711# define ARCHITECTURE_ID ""
-
712# endif
-
713
-
714# elif defined(__ADSPSHARC__)
-
715# define ARCHITECTURE_ID "SHARC"
-
716
-
717# elif defined(__ADSPBLACKFIN__)
-
718# define ARCHITECTURE_ID "Blackfin"
-
719
-
720#elif defined(__TASKING__)
-
721
-
722# if defined(__CTC__) || defined(__CPTC__)
-
723# define ARCHITECTURE_ID "TriCore"
-
724
-
725# elif defined(__CMCS__)
-
726# define ARCHITECTURE_ID "MCS"
-
727
-
728# elif defined(__CARM__)
-
729# define ARCHITECTURE_ID "ARM"
-
730
-
731# elif defined(__CARC__)
-
732# define ARCHITECTURE_ID "ARC"
-
733
-
734# elif defined(__C51__)
-
735# define ARCHITECTURE_ID "8051"
-
736
-
737# elif defined(__CPCP__)
-
738# define ARCHITECTURE_ID "PCP"
-
739
-
740# else
-
741# define ARCHITECTURE_ID ""
-
742# endif
-
743
-
744#else
-
745# define ARCHITECTURE_ID
-
746#endif
-
747
-
748/* Convert integer to decimal digit literals. */
-
-
749#define DEC(n) \
-
750 ('0' + (((n) / 10000000)%10)), \
-
751 ('0' + (((n) / 1000000)%10)), \
-
752 ('0' + (((n) / 100000)%10)), \
-
753 ('0' + (((n) / 10000)%10)), \
-
754 ('0' + (((n) / 1000)%10)), \
-
755 ('0' + (((n) / 100)%10)), \
-
756 ('0' + (((n) / 10)%10)), \
-
757 ('0' + ((n) % 10))
-
-
758
-
759/* Convert integer to hex digit literals. */
-
-
760#define HEX(n) \
-
761 ('0' + ((n)>>28 & 0xF)), \
-
762 ('0' + ((n)>>24 & 0xF)), \
-
763 ('0' + ((n)>>20 & 0xF)), \
-
764 ('0' + ((n)>>16 & 0xF)), \
-
765 ('0' + ((n)>>12 & 0xF)), \
-
766 ('0' + ((n)>>8 & 0xF)), \
-
767 ('0' + ((n)>>4 & 0xF)), \
-
768 ('0' + ((n) & 0xF))
-
-
769
-
770/* Construct a string literal encoding the version number. */
-
771#ifdef COMPILER_VERSION
-
772char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
-
773
-
774/* Construct a string literal encoding the version number components. */
-
775#elif defined(COMPILER_VERSION_MAJOR)
-
776char const info_version[] = {
-
777 'I', 'N', 'F', 'O', ':',
-
778 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
-
779 COMPILER_VERSION_MAJOR,
-
780# ifdef COMPILER_VERSION_MINOR
-
781 '.', COMPILER_VERSION_MINOR,
-
782# ifdef COMPILER_VERSION_PATCH
-
783 '.', COMPILER_VERSION_PATCH,
-
784# ifdef COMPILER_VERSION_TWEAK
-
785 '.', COMPILER_VERSION_TWEAK,
-
786# endif
-
787# endif
-
788# endif
-
789 ']','\0'};
-
790#endif
-
791
-
792/* Construct a string literal encoding the internal version number. */
-
793#ifdef COMPILER_VERSION_INTERNAL
-
794char const info_version_internal[] = {
-
795 'I', 'N', 'F', 'O', ':',
-
796 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
-
797 'i','n','t','e','r','n','a','l','[',
-
798 COMPILER_VERSION_INTERNAL,']','\0'};
-
799#elif defined(COMPILER_VERSION_INTERNAL_STR)
-
800char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
-
801#endif
-
802
-
803/* Construct a string literal encoding the version number components. */
-
804#ifdef SIMULATE_VERSION_MAJOR
-
805char const info_simulate_version[] = {
-
806 'I', 'N', 'F', 'O', ':',
-
807 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
-
808 SIMULATE_VERSION_MAJOR,
-
809# ifdef SIMULATE_VERSION_MINOR
-
810 '.', SIMULATE_VERSION_MINOR,
-
811# ifdef SIMULATE_VERSION_PATCH
-
812 '.', SIMULATE_VERSION_PATCH,
-
813# ifdef SIMULATE_VERSION_TWEAK
-
814 '.', SIMULATE_VERSION_TWEAK,
-
815# endif
-
816# endif
-
817# endif
-
818 ']','\0'};
-
819#endif
-
820
-
821/* Construct the string literal in pieces to prevent the source from
-
822 getting matched. Store it in a pointer rather than an array
-
823 because some compilers will just produce instructions to fill the
-
824 array rather than assigning a pointer to a static array. */
-
825char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
-
826char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
-
827
-
828
-
829
-
830#define C_STD_99 199901L
-
831#define C_STD_11 201112L
-
832#define C_STD_17 201710L
-
833#define C_STD_23 202311L
-
834
-
835#ifdef __STDC_VERSION__
-
836# define C_STD __STDC_VERSION__
-
837#endif
-
838
-
839#if !defined(__STDC__) && !defined(__clang__)
-
840# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__)
-
841# define C_VERSION "90"
-
842# else
-
843# define C_VERSION
-
844# endif
-
845#elif C_STD > C_STD_17
-
846# define C_VERSION "23"
-
847#elif C_STD > C_STD_11
-
848# define C_VERSION "17"
-
849#elif C_STD > C_STD_99
-
850# define C_VERSION "11"
-
851#elif C_STD >= C_STD_99
-
852# define C_VERSION "99"
-
853#else
-
854# define C_VERSION "90"
-
855#endif
- -
857 "INFO" ":" "standard_default[" C_VERSION "]";
-
858
-
859const char* info_language_extensions_default = "INFO" ":" "extensions_default["
-
860#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \
-
861 defined(__TI_COMPILER_VERSION__)) && \
-
862 !defined(__STRICT_ANSI__)
-
863 "ON"
-
864#else
-
865 "OFF"
-
866#endif
-
867"]";
-
868
-
869/*--------------------------------------------------------------------------*/
-
870
-
871#ifdef ID_VOID_MAIN
-
872void main() {}
-
873#else
-
874# if defined(__CLASSIC_C__)
-
875int main(argc, argv) int argc; char *argv[];
-
876# else
-
-
877int main(int argc, char* argv[])
-
878# endif
-
879{
-
880 int require = 0;
-
881 require += info_compiler[argc];
-
882 require += info_platform[argc];
-
883 require += info_arch[argc];
-
884#ifdef COMPILER_VERSION_MAJOR
-
885 require += info_version[argc];
-
886#endif
-
887#ifdef COMPILER_VERSION_INTERNAL
-
888 require += info_version_internal[argc];
-
889#endif
-
890#ifdef SIMULATE_ID
-
891 require += info_simulate[argc];
-
892#endif
-
893#ifdef SIMULATE_VERSION_MAJOR
-
894 require += info_simulate_version[argc];
-
895#endif
-
896#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
-
897 require += info_cray[argc];
-
898#endif
-
899 require += info_language_standard_default[argc];
-
900 require += info_language_extensions_default[argc];
-
901 (void)argv;
-
902 return require;
-
903}
-
-
904#endif
-
const char * info_language_extensions_default
-
char const * info_platform
-
const char * info_language_standard_default
-
char const * info_compiler
-
char const * info_arch
-
#define COMPILER_ID
-
#define ARCHITECTURE_ID
-
#define C_VERSION
-
#define PLATFORM_ID
-
int main(void)
Definition test.c:19
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/d86/csv_8c.html b/doc/doxygen/html/d8/d86/csv_8c.html deleted file mode 100644 index c06c0d2..0000000 --- a/doc/doxygen/html/d8/d86/csv_8c.html +++ /dev/null @@ -1,759 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/parser/csv.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
- -
csv.c File Reference
-
-
-
#include "arc/std/parser/csv.h"
-#include "arc/std/parser/helpers.h"
-#include "arc/std/bool.h"
-#include "arc/std/parser.h"
-#include <stddef.h>
-#include <stdint.h>
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_ParserCSVUserData
 
- - - -

-Typedefs

typedef struct ARC_ParserCSVUserData ARC_ParserCSVUserData
 
- - - - - - - - - - - - - - - - - - -

-Functions

void ARC_ParserCSV_InitLexerRulesFn (ARC_Lexer *lexer)
 
uint32_t ARC_ParserCSV_GetStringIdFn (ARC_String *string)
 
void ARC_ParserCSVData_VectorDestroyVectorFn (void *data)
 
void ARC_ParserCSVData_GetDataTag (ARC_Vector *dataVector, ARC_ParserTagToken *tagToken, ARC_ParserCSVUserData *userData)
 
void ARC_ParserCSVData_RunLineTag (ARC_Vector *dataVector, ARC_ParserTagToken *tagToken, ARC_ParserCSVUserData *userData)
 
void ARC_ParserCSVData_CreateFn (void **data, ARC_ParserTagToken *parsedData, void *userData)
 
void ARC_ParserCSVData_DestroyFn (void *data, ARC_Bool clear, void *userData)
 
void ARC_ParserCSV_CreateAsParser (ARC_Parser **parser, ARC_Bool header, ARC_ParserCSV_CastTypeFn castTypeFn, ARC_ParserCSV_DestroyTypeFn destroyTypeFn)
 creates a parser for the Parser Lang
 
-

Typedef Documentation

- -

◆ ARC_ParserCSVUserData

- -
-
- - - - -
typedef struct ARC_ParserCSVUserData ARC_ParserCSVUserData
-
- -
-
-

Function Documentation

- -

◆ ARC_ParserCSV_CreateAsParser()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_ParserCSV_CreateAsParser (ARC_Parser ** parser,
ARC_Bool header,
ARC_ParserCSV_CastTypeFn castTypeFn,
ARC_ParserCSV_DestroyTypeFn destroyTypeFn )
-
- -

creates a parser for the Parser Lang

-
Note
the rules will be inited for the parser lang
-
-the parsed data will be saved as a vector of ARC_ParserLanguageTag
-
Parameters
- - -
[out]parserthe parser to create
-
-
- -

Definition at line 302 of file csv.c.

-
302 {
-
303 /* ~ define the language as a string ~ */
-
304 char *languageCString =
-
305 "<line> -> <data> NEWLINE <line> | <data> | NEWLINE <line> | LAMBDA\n"
-
306 "<data> -> <string> COMMA <data> | <string>\n"
-
307 "<string> -> <nonCommaChar> <string> | <nonCommaChar>\n"
-
308 "<nonCommaChar> -> CHAR_BEFORE_COMMA | CHAR_AFTER_COMMA\n";
-
309
-
310 ARC_String *languageString;
-
311 ARC_String_CreateWithStrlen(&languageString, languageCString);
-
312
-
313 /* ~ init the userdata ~ */
- -
315 userdata->header = header;
-
316 userdata->castTypeFn = castTypeFn;
-
317 userdata->destroyTypeFn = destroyTypeFn;
-
318
-
319 /* ~ create the language ~ */
- - -
322 ARC_Parser_CreateFromString(parser, languageString, ARC_ParserCSV_InitLexerRulesFn, ARC_ParserCSV_GetStringIdFn, &createCharFn, &destroyCharFn, userdata);
-
323
-
324 //cleanup
-
325 ARC_String_Destroy(languageString);
-
326}
-
void ARC_ParserCSV_InitLexerRulesFn(ARC_Lexer *lexer)
Definition csv.c:15
-
uint32_t ARC_ParserCSV_GetStringIdFn(ARC_String *string)
Definition csv.c:24
-
void ARC_ParserCSVData_CreateFn(void **data, ARC_ParserTagToken *parsedData, void *userData)
Definition csv.c:157
-
void ARC_ParserCSVData_DestroyFn(void *data, ARC_Bool clear, void *userData)
Definition csv.c:263
-
void ARC_Parser_CreateFromString(ARC_Parser **parser, ARC_String *languageString, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_Parser_GetStringIdFn getStringIdFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
creates an ARC_Parser type from a string
Definition parser.c:105
-
void(* ARC_ParserData_CreateFn)(void **data, ARC_ParserTagToken *parsedData, void *userData)
TODO: write this.
Definition parser.h:57
-
void(* ARC_ParserData_DestroyFn)(void *data, ARC_Bool clear, void *userData)
TODO: write this.
Definition parser.h:62
-
void ARC_String_CreateWithStrlen(ARC_String **string, char *data)
creates ARC_String type with strinlen
Definition string.c:32
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
- -
ARC_ParserCSV_CastTypeFn castTypeFn
Definition csv.c:11
-
ARC_Bool header
Definition csv.c:10
-
ARC_ParserCSV_DestroyTypeFn destroyTypeFn
Definition csv.c:12
-
substring position within a string
Definition string.h:14
-
-

References ARC_Parser_CreateFromString(), ARC_ParserCSV_GetStringIdFn(), ARC_ParserCSV_InitLexerRulesFn(), ARC_ParserCSVData_CreateFn(), ARC_ParserCSVData_DestroyFn(), ARC_String_CreateWithStrlen(), ARC_String_Destroy(), ARC_ParserCSVUserData::castTypeFn, ARC_ParserCSVUserData::destroyTypeFn, and ARC_ParserCSVUserData::header.

- -
-
- -

◆ ARC_ParserCSV_GetStringIdFn()

- -
-
- - - - - - - -
uint32_t ARC_ParserCSV_GetStringIdFn (ARC_String * string)
-
- -

Definition at line 24 of file csv.c.

-
24 {
-
25 if(ARC_String_EqualsCStringWithStrlen(string, "LAMBDA")){
- -
27 }
-
28
-
29 if(ARC_String_EqualsCStringWithStrlen(string, "COMMA")){
- -
31 }
-
32
-
33 if(ARC_String_EqualsCStringWithStrlen(string, "NEWLINE")){
- -
35 }
-
36
-
37 if(ARC_String_EqualsCStringWithStrlen(string, "CHAR_BEFORE_COMMA")){
- -
39 }
-
40
-
41 if(ARC_String_EqualsCStringWithStrlen(string, "CHAR_AFTER_COMMA")){
- -
43 }
-
44
-
45 if(ARC_String_EqualsCStringWithStrlen(string, "<line>")){
- -
47 }
-
48
-
49 if(ARC_String_EqualsCStringWithStrlen(string, "<data>")){
- -
51 }
-
52
-
53 if(ARC_String_EqualsCStringWithStrlen(string, "<string>")){
- -
55 }
-
56
-
57 if(ARC_String_EqualsCStringWithStrlen(string, "<nonCommaChar>")){
- -
59 }
-
60
-
61 return ~(uint32_t)0;
-
62}
-
#define ARC_PARSER_CSV_CHAR_AFTER_COMMA
Definition csv.h:66
-
#define ARC_PARSER_CSV_CHAR_BEFORE_COMMA
Definition csv.h:65
-
#define ARC_PARSER_CSV_CHAR_COMMA
Definition csv.h:63
-
#define ARC_PARSER_CSV_DATA
Definition csv.h:68
-
#define ARC_PARSER_CSV_STRING
Definition csv.h:69
-
#define ARC_PARSER_CSV_LINE
Definition csv.h:67
-
#define ARC_PARSER_CSV_CHAR_NEWLINE
Definition csv.h:64
-
#define ARC_PARSER_CSV_NON_COMMA_CHAR
Definition csv.h:70
-
#define ARC_PARSER_TAG_LAMBDA
basic tag for letting the parser know it is ok to end
Definition parser.h:150
-
ARC_Bool ARC_String_EqualsCStringWithStrlen(ARC_String *string, const char *cstring)
check if ARC_String and cstring match
Definition string.c:171
-
-

References ARC_PARSER_CSV_CHAR_AFTER_COMMA, ARC_PARSER_CSV_CHAR_BEFORE_COMMA, ARC_PARSER_CSV_CHAR_COMMA, ARC_PARSER_CSV_CHAR_NEWLINE, ARC_PARSER_CSV_DATA, ARC_PARSER_CSV_LINE, ARC_PARSER_CSV_NON_COMMA_CHAR, ARC_PARSER_CSV_STRING, ARC_PARSER_TAG_LAMBDA, and ARC_String_EqualsCStringWithStrlen().

- -

Referenced by ARC_ParserCSV_CreateAsParser().

- -
-
- -

◆ ARC_ParserCSV_InitLexerRulesFn()

- -
-
- - - - - - - -
void ARC_ParserCSV_InitLexerRulesFn (ARC_Lexer * lexer)
-
- -

Definition at line 15 of file csv.c.

-
15 {
- - -
18
-
19 //NOTE: used an ascii table to get these values
- - -
22}
-
void ARC_Lexer_RegisterTokenRule(ARC_Lexer *lexer, ARC_LexerTokenRule tokenRule)
adds a token rule to a lexer
Definition lexer.c:79
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharRule(uint32_t id, char character)
creates a ARC_LexerTokenRule with a given id and character
Definition lexer.c:378
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween(uint32_t id, char start, char end)
creates a ARC_LexerTokenRule with a given id and character range
Definition lexer.c:400
-
-

References ARC_Lexer_RegisterTokenRule(), ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween(), ARC_LexerTokenRule_CreateAndReturnMatchCharRule(), ARC_PARSER_CSV_CHAR_AFTER_COMMA, ARC_PARSER_CSV_CHAR_BEFORE_COMMA, ARC_PARSER_CSV_CHAR_COMMA, and ARC_PARSER_CSV_CHAR_NEWLINE.

- -

Referenced by ARC_ParserCSV_CreateAsParser().

- -
-
- -

◆ ARC_ParserCSVData_CreateFn()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ParserCSVData_CreateFn (void ** data,
ARC_ParserTagToken * parsedData,
void * userData )
-
- -

Definition at line 157 of file csv.c.

-
157 {
-
158 *data = NULL;
-
159 if(data == NULL || userData == NULL){
-
160 //TODO: error here?
-
161 *data = NULL;
-
162 return;
-
163 }
-
164
-
165 //cast the csv data back to its original type
-
166 ARC_ParserCSVUserData *csvUserData = (ARC_ParserCSVUserData *)userData;
-
167
-
168 //crate a vector for the data to be stored in before being copied to a 2d array
-
169 ARC_Vector *dataVector;
- -
171 ARC_Vector_Create(&dataVector, NULL, &destroyVectorFn);
-
172
-
173 //create the first row vector, does not need a destroy function as its contents will be moved
-
174 ARC_Vector *dataRowVector;
-
175 ARC_Vector_Create(&dataRowVector, NULL, NULL);
-
176
-
177 //add the row to the dataVector
-
178 ARC_Vector_Add(dataVector, (void *)dataRowVector);
-
179
-
180 //recursively add data from the parsedData to the data vector
-
181 ARC_ParserCSVData_RunLineTag(dataVector, parsedData, csvUserData);
-
182
-
183 //get the first line to check if it has any values
-
184 dataRowVector = ARC_Vector_Get(dataVector, 0);
-
185 if(ARC_Vector_GetSize(dataRowVector) == 0){
-
186 //TODO: iterate and clear the vector
-
187 ARC_Vector_Destroy(dataVector);
-
188 return;
-
189 }
-
190
-
191 //create the data that will be saved
-
192 ARC_ParserCSVData *csvData = (ARC_ParserCSVData *)malloc(sizeof(ARC_ParserCSVData));
-
193 csvData->hasHeader = csvUserData->header;
-
194 csvData->headers = NULL;
-
195 csvData->height = 0;
-
196 csvData->width = ARC_Vector_GetSize(dataRowVector);
-
197 csvData->data = NULL;
-
198
-
199 //create the starting index (to offset the header if it exists)
-
200 uint32_t heightStartIndex = 0;
-
201
-
202 //store the headers if they exist
-
203 if(csvData->hasHeader == ARC_True){
-
204 heightStartIndex++;
-
205
-
206 //copy the headers
-
207 csvData->headers = (ARC_String **)malloc(sizeof(ARC_String *) * csvData->width);
-
208 for(uint32_t headerIndex = 0; headerIndex < csvData->width; headerIndex++){
-
209 csvData->headers[headerIndex] = (ARC_String *)ARC_Vector_Get(dataRowVector, headerIndex);
-
210 }
-
211 }
-
212
-
213 //check that all the rows are the same size
-
214 for(uint32_t rowIndex = heightStartIndex; rowIndex < ARC_Vector_GetSize(dataVector); rowIndex++){
-
215 ARC_Vector *currentRowVector = (ARC_Vector *)ARC_Vector_Get(dataVector, rowIndex);
-
216
-
217 //skip an empty line (this should only be the case for the last line)
-
218 uint32_t currentRowVectorSize = ARC_Vector_GetSize(currentRowVector);
-
219 if(currentRowVectorSize == 0){
-
220 continue;
-
221 }
-
222
-
223 //a row was found so update the height
-
224 csvData->height++;
-
225
-
226 //TODO: probs want to error
-
227 //cleanup and exit if they don't match
-
228 if(csvData->width != currentRowVectorSize){
-
229 //TODO: iterate and clear the vector
-
230 ARC_Vector_Destroy(dataVector);
-
231 return;
-
232 }
-
233 }
-
234
-
235 //init location to copy data to
-
236 csvData->data = (void ***)malloc(sizeof(void **) * csvData->height);
-
237
-
238 //copy the data
-
239 uint32_t rowIndex = 0;
-
240 for(uint32_t y = 0; y < csvData->height; y++, rowIndex++){
-
241 ARC_Vector *currentRowVector = (ARC_Vector *)ARC_Vector_Get(dataVector, rowIndex + heightStartIndex);
-
242
-
243 //skip an empty line (should only be the case for the last line)
-
244 uint32_t currentRowVectorSize = ARC_Vector_GetSize(currentRowVector);
-
245 if(currentRowVectorSize == 0){
-
246 y--;
-
247 continue;
-
248 }
-
249
-
250 //create the current row
-
251 csvData->data[y] = (void **)malloc(sizeof(void *) * csvData->width);
-
252
-
253 for(uint32_t x = 0; x < csvData->width; x++){
-
254 csvData->data[y][x] = ARC_Vector_Get(currentRowVector, x);
-
255 }
-
256 }
-
257
-
258 ARC_Vector_Destroy(dataVector);
-
259
-
260 *data = (void *)csvData;
-
261}
-
#define ARC_True
Definition bool.h:11
-
void ARC_ParserCSVData_VectorDestroyVectorFn(void *data)
Definition csv.c:64
-
void ARC_ParserCSVData_RunLineTag(ARC_Vector *dataVector, ARC_ParserTagToken *tagToken, ARC_ParserCSVUserData *userData)
Definition csv.c:118
-
defines a csv data type, data is set by the callback passed in when createing a parserCSV as parser
Definition csv.h:44
-
uint32_t height
Definition csv.h:49
-
uint32_t width
Definition csv.h:48
-
void *** data
Definition csv.h:50
-
ARC_String ** headers
Definition csv.h:46
-
ARC_Bool hasHeader
Definition csv.h:45
- -
void(* ARC_Vector_DestroyDataFn)(void *data)
a callback that cleans up memory when it is removed from the vector
Definition vector.h:31
-
uint32_t ARC_Vector_GetSize(ARC_Vector *vector)
gets the current size of an ARC_Vector as an unsigned 32 bit integer
Definition vector.c:146
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:150
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:67
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:51
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:28
-
-

References ARC_ParserCSVData_RunLineTag(), ARC_ParserCSVData_VectorDestroyVectorFn(), ARC_True, ARC_Vector_Add(), ARC_Vector_Create(), ARC_Vector_Destroy(), ARC_Vector_Get(), ARC_Vector_GetSize(), ARC_ParserCSVData::data, ARC_ParserCSVData::hasHeader, ARC_ParserCSVUserData::header, ARC_ParserCSVData::headers, ARC_ParserCSVData::height, and ARC_ParserCSVData::width.

- -

Referenced by ARC_ParserCSV_CreateAsParser().

- -
-
- -

◆ ARC_ParserCSVData_DestroyFn()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ParserCSVData_DestroyFn (void * data,
ARC_Bool clear,
void * userData )
-
- -

Definition at line 263 of file csv.c.

-
263 {
-
264 if(userData == NULL){
-
265 return;
-
266 }
-
267
-
268 ARC_ParserCSVUserData *csvUserData = (ARC_ParserCSVUserData *)userData;
-
269
-
270 if(data != NULL){
-
271 ARC_ParserCSVData *csvData = (ARC_ParserCSVData *)data;
-
272
-
273 //cleanup the headers if they exist
-
274 if(csvData->hasHeader == ARC_True){
-
275 for(uint32_t x = 0; x < csvData->width; x++){
-
276 ARC_String *string = csvData->headers[x];
-
277 ARC_String_Destroy(string);
-
278 }
-
279 free(csvData->headers);
-
280 }
-
281
-
282 for(uint32_t y = 0; y < csvData->height; y++){
-
283 //cleanup each element in the data
-
284 for(uint32_t x = 0; x < csvData->width; x++){
-
285 csvUserData->destroyTypeFn(csvData->data[y][x]);
-
286 }
-
287
-
288 //cleanup each row of data
-
289 free(csvData->data[y]);
-
290 }
-
291
-
292 //cleanup the data
-
293 free(csvData->data);
-
294 free(csvData);
-
295 }
-
296
-
297 if(clear == ARC_False){
-
298 free(csvUserData);
-
299 }
-
300}
-
#define ARC_False
Definition bool.h:12
-
-

References ARC_False, ARC_String_Destroy(), ARC_True, ARC_ParserCSVData::data, ARC_ParserCSVUserData::destroyTypeFn, ARC_ParserCSVData::hasHeader, ARC_ParserCSVData::headers, ARC_ParserCSVData::height, and ARC_ParserCSVData::width.

- -

Referenced by ARC_ParserCSV_CreateAsParser().

- -
-
- -

◆ ARC_ParserCSVData_GetDataTag()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ParserCSVData_GetDataTag (ARC_Vector * dataVector,
ARC_ParserTagToken * tagToken,
ARC_ParserCSVUserData * userData )
-
- -

Definition at line 69 of file csv.c.

-
69 {
-
70 //cast the csv data back to its original type
-
71 ARC_ParserCSVUserData *csvUserData = (ARC_ParserCSVUserData *)userData;
-
72
-
73 //loop through the tags either recursing to next body or adding data to vector
-
74 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
-
75 ARC_ParserTagToken *childTagToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, index);
-
76
-
77 ARC_String *stringData = NULL;
-
78 ARC_Vector *row = NULL;
-
79 uint32_t rowIndex = 0;
-
80
-
81 switch(childTagToken->id){
-
82 //recuse to run the next line
- -
84 //get the string of the data
-
85 ARC_String_Create(&stringData, NULL, 0);
-
86 ARC_ParserData_HelperRecurseStringAdd(&stringData, childTagToken);
-
87
-
88 //move data string and cleanup
-
89 void *data = (void *)stringData;
-
90
-
91 //get the last row vector
-
92 rowIndex = ARC_Vector_GetSize(dataVector) - 1;
-
93 row = (ARC_Vector *)ARC_Vector_Get(dataVector, rowIndex);
-
94
-
95 //only call the userData cast type callback if it is not a header
-
96 if(rowIndex != 0 || csvUserData->header == ARC_False){
-
97 data = NULL;
-
98 userData->castTypeFn(&data, stringData);
-
99 ARC_String_Destroy(stringData);
-
100 }
-
101
-
102 //add the data to the row vector
-
103 ARC_Vector_Add(row, data);
-
104 continue;
-
105
- -
107 ARC_ParserCSVData_GetDataTag(dataVector, childTagToken, userData);
-
108 continue;
-
109
-
110 default:
-
111 //this should only be the case for the comma
-
112 continue;
-
113 }
-
114 }
-
115}
-
void ARC_ParserCSVData_GetDataTag(ARC_Vector *dataVector, ARC_ParserTagToken *tagToken, ARC_ParserCSVUserData *userData)
Definition csv.c:69
-
void ARC_ParserData_HelperRecurseStringAdd(ARC_String **data, ARC_ParserTagToken *tagToken)
recurses through a tag token adding token strings to a main string
Definition helpers.c:4
-
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
-
a parser type used inside of the parser data create function
Definition parser.h:35
-
uint32_t id
Definition parser.h:36
-
ARC_Vector * tagTokens
Definition parser.h:39
-
-

References ARC_False, ARC_PARSER_CSV_DATA, ARC_PARSER_CSV_STRING, ARC_ParserCSVData_GetDataTag(), ARC_ParserData_HelperRecurseStringAdd(), ARC_String_Create(), ARC_String_Destroy(), ARC_Vector_Add(), ARC_Vector_Get(), ARC_Vector_GetSize(), ARC_ParserCSVUserData::castTypeFn, ARC_ParserCSVUserData::header, ARC_ParserTagToken::id, and ARC_ParserTagToken::tagTokens.

- -

Referenced by ARC_ParserCSVData_GetDataTag(), and ARC_ParserCSVData_RunLineTag().

- -
-
- -

◆ ARC_ParserCSVData_RunLineTag()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ParserCSVData_RunLineTag (ARC_Vector * dataVector,
ARC_ParserTagToken * tagToken,
ARC_ParserCSVUserData * userData )
-
- -

Definition at line 118 of file csv.c.

-
118 {
-
119 //loop through the tags either going to the next line or the next body
-
120 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
-
121 ARC_ParserTagToken *childTagToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, index);
-
122
-
123 ARC_Vector *row = NULL;
-
124 uint32_t rowIndex = 0;
-
125
-
126 switch(childTagToken->id){
-
127 //recuse to run the next line
- -
129 ARC_ParserCSVData_RunLineTag(dataVector, childTagToken, userData);
-
130 continue;
-
131
-
132 //get the row data
- -
134 ARC_ParserCSVData_GetDataTag(dataVector, childTagToken, userData);
-
135 continue;
-
136
-
137 //add a new row for each new line
- -
139 //check if current is not empty (no need to create another empty row)
-
140 rowIndex = ARC_Vector_GetSize(dataVector) - 1;
-
141 row = (ARC_Vector *)ARC_Vector_Get(dataVector, rowIndex);
-
142 if(ARC_Vector_GetSize(row) == 0){
-
143 continue;
-
144 }
-
145
-
146 //create and add a new row
-
147 ARC_Vector_Create(&row, NULL, NULL);
-
148 ARC_Vector_Add(dataVector, (void *)row);
-
149 continue;
-
150
-
151 default:
-
152 continue;
-
153 }
-
154 }
-
155}
-
-

References ARC_PARSER_CSV_CHAR_NEWLINE, ARC_PARSER_CSV_DATA, ARC_PARSER_CSV_LINE, ARC_ParserCSVData_GetDataTag(), ARC_ParserCSVData_RunLineTag(), ARC_Vector_Add(), ARC_Vector_Create(), ARC_Vector_Get(), ARC_Vector_GetSize(), ARC_ParserTagToken::id, and ARC_ParserTagToken::tagTokens.

- -

Referenced by ARC_ParserCSVData_CreateFn(), and ARC_ParserCSVData_RunLineTag().

- -
-
- -

◆ ARC_ParserCSVData_VectorDestroyVectorFn()

- -
-
- - - - - - - -
void ARC_ParserCSVData_VectorDestroyVectorFn (void * data)
-
- -

Definition at line 64 of file csv.c.

-
64 {
-
65 ARC_Vector *vector = (ARC_Vector *)data;
-
66 ARC_Vector_Destroy(vector);
-
67}
-
-

References ARC_Vector_Destroy().

- -

Referenced by ARC_ParserCSVData_CreateFn().

- -
-
-
- - -
- - diff --git a/doc/doxygen/html/d8/d86/csv_8c_source.html b/doc/doxygen/html/d8/d86/csv_8c_source.html deleted file mode 100644 index 320eb6d..0000000 --- a/doc/doxygen/html/d8/d86/csv_8c_source.html +++ /dev/null @@ -1,508 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/parser/csv.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
csv.c
-
-
-Go to the documentation of this file.
- -
3#include "arc/std/bool.h"
-
4#include "arc/std/parser.h"
-
5#include <stddef.h>
-
6#include <stdint.h>
-
7#include <stdlib.h>
-
8
- -
14
- -
23
-
- -
25 if(ARC_String_EqualsCStringWithStrlen(string, "LAMBDA")){
- -
27 }
-
28
-
29 if(ARC_String_EqualsCStringWithStrlen(string, "COMMA")){
- -
31 }
-
32
-
33 if(ARC_String_EqualsCStringWithStrlen(string, "NEWLINE")){
- -
35 }
-
36
-
37 if(ARC_String_EqualsCStringWithStrlen(string, "CHAR_BEFORE_COMMA")){
- -
39 }
-
40
-
41 if(ARC_String_EqualsCStringWithStrlen(string, "CHAR_AFTER_COMMA")){
- -
43 }
-
44
-
45 if(ARC_String_EqualsCStringWithStrlen(string, "<line>")){
- -
47 }
-
48
-
49 if(ARC_String_EqualsCStringWithStrlen(string, "<data>")){
- -
51 }
-
52
-
53 if(ARC_String_EqualsCStringWithStrlen(string, "<string>")){
- -
55 }
-
56
-
57 if(ARC_String_EqualsCStringWithStrlen(string, "<nonCommaChar>")){
- -
59 }
-
60
-
61 return ~(uint32_t)0;
-
62}
-
-
63
-
- -
65 ARC_Vector *vector = (ARC_Vector *)data;
-
66 ARC_Vector_Destroy(vector);
-
67}
-
-
68
-
- -
70 //cast the csv data back to its original type
-
71 ARC_ParserCSVUserData *csvUserData = (ARC_ParserCSVUserData *)userData;
-
72
-
73 //loop through the tags either recursing to next body or adding data to vector
-
74 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
-
75 ARC_ParserTagToken *childTagToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, index);
-
76
-
77 ARC_String *stringData = NULL;
-
78 ARC_Vector *row = NULL;
-
79 uint32_t rowIndex = 0;
-
80
-
81 switch(childTagToken->id){
-
82 //recuse to run the next line
- -
84 //get the string of the data
-
85 ARC_String_Create(&stringData, NULL, 0);
-
86 ARC_ParserData_HelperRecurseStringAdd(&stringData, childTagToken);
-
87
-
88 //move data string and cleanup
-
89 void *data = (void *)stringData;
-
90
-
91 //get the last row vector
-
92 rowIndex = ARC_Vector_GetSize(dataVector) - 1;
-
93 row = (ARC_Vector *)ARC_Vector_Get(dataVector, rowIndex);
-
94
-
95 //only call the userData cast type callback if it is not a header
-
96 if(rowIndex != 0 || csvUserData->header == ARC_False){
-
97 data = NULL;
-
98 userData->castTypeFn(&data, stringData);
-
99 ARC_String_Destroy(stringData);
-
100 }
-
101
-
102 //add the data to the row vector
-
103 ARC_Vector_Add(row, data);
-
104 continue;
-
105
- -
107 ARC_ParserCSVData_GetDataTag(dataVector, childTagToken, userData);
-
108 continue;
-
109
-
110 default:
-
111 //this should only be the case for the comma
-
112 continue;
-
113 }
-
114 }
-
115}
-
-
116
-
117//<line> -> <data> NEWLINE <line> | <data> | NEWLINE <line> | LAMBDA
-
- -
119 //loop through the tags either going to the next line or the next body
-
120 for(uint32_t index = 0; index < ARC_Vector_GetSize(tagToken->tagTokens); index++){
-
121 ARC_ParserTagToken *childTagToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, index);
-
122
-
123 ARC_Vector *row = NULL;
-
124 uint32_t rowIndex = 0;
-
125
-
126 switch(childTagToken->id){
-
127 //recuse to run the next line
- -
129 ARC_ParserCSVData_RunLineTag(dataVector, childTagToken, userData);
-
130 continue;
-
131
-
132 //get the row data
- -
134 ARC_ParserCSVData_GetDataTag(dataVector, childTagToken, userData);
-
135 continue;
-
136
-
137 //add a new row for each new line
- -
139 //check if current is not empty (no need to create another empty row)
-
140 rowIndex = ARC_Vector_GetSize(dataVector) - 1;
-
141 row = (ARC_Vector *)ARC_Vector_Get(dataVector, rowIndex);
-
142 if(ARC_Vector_GetSize(row) == 0){
-
143 continue;
-
144 }
-
145
-
146 //create and add a new row
-
147 ARC_Vector_Create(&row, NULL, NULL);
-
148 ARC_Vector_Add(dataVector, (void *)row);
-
149 continue;
-
150
-
151 default:
-
152 continue;
-
153 }
-
154 }
-
155}
-
-
156
-
-
157void ARC_ParserCSVData_CreateFn(void **data, ARC_ParserTagToken *parsedData, void *userData){
-
158 *data = NULL;
-
159 if(data == NULL || userData == NULL){
-
160 //TODO: error here?
-
161 *data = NULL;
-
162 return;
-
163 }
-
164
-
165 //cast the csv data back to its original type
-
166 ARC_ParserCSVUserData *csvUserData = (ARC_ParserCSVUserData *)userData;
-
167
-
168 //crate a vector for the data to be stored in before being copied to a 2d array
-
169 ARC_Vector *dataVector;
- -
171 ARC_Vector_Create(&dataVector, NULL, &destroyVectorFn);
-
172
-
173 //create the first row vector, does not need a destroy function as its contents will be moved
-
174 ARC_Vector *dataRowVector;
-
175 ARC_Vector_Create(&dataRowVector, NULL, NULL);
-
176
-
177 //add the row to the dataVector
-
178 ARC_Vector_Add(dataVector, (void *)dataRowVector);
-
179
-
180 //recursively add data from the parsedData to the data vector
-
181 ARC_ParserCSVData_RunLineTag(dataVector, parsedData, csvUserData);
-
182
-
183 //get the first line to check if it has any values
-
184 dataRowVector = ARC_Vector_Get(dataVector, 0);
-
185 if(ARC_Vector_GetSize(dataRowVector) == 0){
-
186 //TODO: iterate and clear the vector
-
187 ARC_Vector_Destroy(dataVector);
-
188 return;
-
189 }
-
190
-
191 //create the data that will be saved
-
192 ARC_ParserCSVData *csvData = (ARC_ParserCSVData *)malloc(sizeof(ARC_ParserCSVData));
-
193 csvData->hasHeader = csvUserData->header;
-
194 csvData->headers = NULL;
-
195 csvData->height = 0;
-
196 csvData->width = ARC_Vector_GetSize(dataRowVector);
-
197 csvData->data = NULL;
-
198
-
199 //create the starting index (to offset the header if it exists)
-
200 uint32_t heightStartIndex = 0;
-
201
-
202 //store the headers if they exist
-
203 if(csvData->hasHeader == ARC_True){
-
204 heightStartIndex++;
-
205
-
206 //copy the headers
-
207 csvData->headers = (ARC_String **)malloc(sizeof(ARC_String *) * csvData->width);
-
208 for(uint32_t headerIndex = 0; headerIndex < csvData->width; headerIndex++){
-
209 csvData->headers[headerIndex] = (ARC_String *)ARC_Vector_Get(dataRowVector, headerIndex);
-
210 }
-
211 }
-
212
-
213 //check that all the rows are the same size
-
214 for(uint32_t rowIndex = heightStartIndex; rowIndex < ARC_Vector_GetSize(dataVector); rowIndex++){
-
215 ARC_Vector *currentRowVector = (ARC_Vector *)ARC_Vector_Get(dataVector, rowIndex);
-
216
-
217 //skip an empty line (this should only be the case for the last line)
-
218 uint32_t currentRowVectorSize = ARC_Vector_GetSize(currentRowVector);
-
219 if(currentRowVectorSize == 0){
-
220 continue;
-
221 }
-
222
-
223 //a row was found so update the height
-
224 csvData->height++;
-
225
-
226 //TODO: probs want to error
-
227 //cleanup and exit if they don't match
-
228 if(csvData->width != currentRowVectorSize){
-
229 //TODO: iterate and clear the vector
-
230 ARC_Vector_Destroy(dataVector);
-
231 return;
-
232 }
-
233 }
-
234
-
235 //init location to copy data to
-
236 csvData->data = (void ***)malloc(sizeof(void **) * csvData->height);
-
237
-
238 //copy the data
-
239 uint32_t rowIndex = 0;
-
240 for(uint32_t y = 0; y < csvData->height; y++, rowIndex++){
-
241 ARC_Vector *currentRowVector = (ARC_Vector *)ARC_Vector_Get(dataVector, rowIndex + heightStartIndex);
-
242
-
243 //skip an empty line (should only be the case for the last line)
-
244 uint32_t currentRowVectorSize = ARC_Vector_GetSize(currentRowVector);
-
245 if(currentRowVectorSize == 0){
-
246 y--;
-
247 continue;
-
248 }
-
249
-
250 //create the current row
-
251 csvData->data[y] = (void **)malloc(sizeof(void *) * csvData->width);
-
252
-
253 for(uint32_t x = 0; x < csvData->width; x++){
-
254 csvData->data[y][x] = ARC_Vector_Get(currentRowVector, x);
-
255 }
-
256 }
-
257
-
258 ARC_Vector_Destroy(dataVector);
-
259
-
260 *data = (void *)csvData;
-
261}
-
-
262
-
-
263void ARC_ParserCSVData_DestroyFn(void *data, ARC_Bool clear, void *userData){
-
264 if(userData == NULL){
-
265 return;
-
266 }
-
267
-
268 ARC_ParserCSVUserData *csvUserData = (ARC_ParserCSVUserData *)userData;
-
269
-
270 if(data != NULL){
-
271 ARC_ParserCSVData *csvData = (ARC_ParserCSVData *)data;
-
272
-
273 //cleanup the headers if they exist
-
274 if(csvData->hasHeader == ARC_True){
-
275 for(uint32_t x = 0; x < csvData->width; x++){
-
276 ARC_String *string = csvData->headers[x];
-
277 ARC_String_Destroy(string);
-
278 }
-
279 free(csvData->headers);
-
280 }
-
281
-
282 for(uint32_t y = 0; y < csvData->height; y++){
-
283 //cleanup each element in the data
-
284 for(uint32_t x = 0; x < csvData->width; x++){
-
285 csvUserData->destroyTypeFn(csvData->data[y][x]);
-
286 }
-
287
-
288 //cleanup each row of data
-
289 free(csvData->data[y]);
-
290 }
-
291
-
292 //cleanup the data
-
293 free(csvData->data);
-
294 free(csvData);
-
295 }
-
296
-
297 if(clear == ARC_False){
-
298 free(csvUserData);
-
299 }
-
300}
-
-
301
-
- -
303 /* ~ define the language as a string ~ */
-
304 char *languageCString =
-
305 "<line> -> <data> NEWLINE <line> | <data> | NEWLINE <line> | LAMBDA\n"
-
306 "<data> -> <string> COMMA <data> | <string>\n"
-
307 "<string> -> <nonCommaChar> <string> | <nonCommaChar>\n"
-
308 "<nonCommaChar> -> CHAR_BEFORE_COMMA | CHAR_AFTER_COMMA\n";
-
309
-
310 ARC_String *languageString;
-
311 ARC_String_CreateWithStrlen(&languageString, languageCString);
-
312
-
313 /* ~ init the userdata ~ */
- -
315 userdata->header = header;
-
316 userdata->castTypeFn = castTypeFn;
-
317 userdata->destroyTypeFn = destroyTypeFn;
-
318
-
319 /* ~ create the language ~ */
- - -
322 ARC_Parser_CreateFromString(parser, languageString, ARC_ParserCSV_InitLexerRulesFn, ARC_ParserCSV_GetStringIdFn, &createCharFn, &destroyCharFn, userdata);
-
323
-
324 //cleanup
-
325 ARC_String_Destroy(languageString);
-
326}
-
-
327
- -
#define ARC_False
Definition bool.h:12
-
#define ARC_True
Definition bool.h:11
-
#define ARC_Bool
Definition bool.h:10
-
void(* ARC_ParserCSV_DestroyTypeFn)(void *data)
TODO: write this.
Definition chemical.h:43
-
void ARC_ParserCSV_InitLexerRulesFn(ARC_Lexer *lexer)
Definition csv.c:15
-
uint32_t ARC_ParserCSV_GetStringIdFn(ARC_String *string)
Definition csv.c:24
-
struct ARC_ParserCSVUserData ARC_ParserCSVUserData
-
void ARC_ParserCSVData_VectorDestroyVectorFn(void *data)
Definition csv.c:64
-
void ARC_ParserCSV_CreateAsParser(ARC_Parser **parser, ARC_Bool header, ARC_ParserCSV_CastTypeFn castTypeFn, ARC_ParserCSV_DestroyTypeFn destroyTypeFn)
creates a parser for the Parser Lang
Definition csv.c:302
-
void ARC_ParserCSVData_CreateFn(void **data, ARC_ParserTagToken *parsedData, void *userData)
Definition csv.c:157
-
void ARC_ParserCSVData_GetDataTag(ARC_Vector *dataVector, ARC_ParserTagToken *tagToken, ARC_ParserCSVUserData *userData)
Definition csv.c:69
-
void ARC_ParserCSVData_RunLineTag(ARC_Vector *dataVector, ARC_ParserTagToken *tagToken, ARC_ParserCSVUserData *userData)
Definition csv.c:118
-
void ARC_ParserCSVData_DestroyFn(void *data, ARC_Bool clear, void *userData)
Definition csv.c:263
- -
#define ARC_PARSER_CSV_CHAR_AFTER_COMMA
Definition csv.h:66
-
void(* ARC_ParserCSV_CastTypeFn)(void **data, ARC_String *string)
a callback for the csv parser to use to cast that data the stored data
Definition csv.h:28
-
#define ARC_PARSER_CSV_CHAR_BEFORE_COMMA
Definition csv.h:65
-
#define ARC_PARSER_CSV_CHAR_COMMA
Definition csv.h:63
-
#define ARC_PARSER_CSV_DATA
Definition csv.h:68
-
#define ARC_PARSER_CSV_STRING
Definition csv.h:69
-
#define ARC_PARSER_CSV_LINE
Definition csv.h:67
-
#define ARC_PARSER_CSV_CHAR_NEWLINE
Definition csv.h:64
-
#define ARC_PARSER_CSV_NON_COMMA_CHAR
Definition csv.h:70
- -
void ARC_ParserData_HelperRecurseStringAdd(ARC_String **data, ARC_ParserTagToken *tagToken)
recurses through a tag token adding token strings to a main string
Definition helpers.c:4
-
void ARC_Lexer_RegisterTokenRule(ARC_Lexer *lexer, ARC_LexerTokenRule tokenRule)
adds a token rule to a lexer
Definition lexer.c:79
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharRule(uint32_t id, char character)
creates a ARC_LexerTokenRule with a given id and character
Definition lexer.c:378
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween(uint32_t id, char start, char end)
creates a ARC_LexerTokenRule with a given id and character range
Definition lexer.c:400
- -
void ARC_Parser_CreateFromString(ARC_Parser **parser, ARC_String *languageString, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_Parser_GetStringIdFn getStringIdFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
creates an ARC_Parser type from a string
Definition parser.c:105
-
#define ARC_PARSER_TAG_LAMBDA
basic tag for letting the parser know it is ok to end
Definition parser.h:150
-
void(* ARC_ParserData_CreateFn)(void **data, ARC_ParserTagToken *parsedData, void *userData)
TODO: write this.
Definition parser.h:57
-
void(* ARC_ParserData_DestroyFn)(void *data, ARC_Bool clear, void *userData)
TODO: write this.
Definition parser.h:62
-
void ARC_String_CreateWithStrlen(ARC_String **string, char *data)
creates ARC_String type with strinlen
Definition string.c:32
-
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
-
ARC_Bool ARC_String_EqualsCStringWithStrlen(ARC_String *string, const char *cstring)
check if ARC_String and cstring match
Definition string.c:171
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
- -
defines a csv data type, data is set by the callback passed in when createing a parserCSV as parser
Definition csv.h:44
-
uint32_t height
Definition csv.h:49
-
uint32_t width
Definition csv.h:48
-
void *** data
Definition csv.h:50
-
ARC_String ** headers
Definition csv.h:46
-
ARC_Bool hasHeader
Definition csv.h:45
- -
ARC_ParserCSV_CastTypeFn castTypeFn
Definition csv.c:11
-
ARC_Bool header
Definition csv.c:10
-
ARC_ParserCSV_DestroyTypeFn destroyTypeFn
Definition csv.c:12
-
a parser type used inside of the parser data create function
Definition parser.h:35
-
uint32_t id
Definition parser.h:36
-
ARC_Vector * tagTokens
Definition parser.h:39
- -
substring position within a string
Definition string.h:14
- -
void(* ARC_Vector_DestroyDataFn)(void *data)
a callback that cleans up memory when it is removed from the vector
Definition vector.h:31
-
uint32_t ARC_Vector_GetSize(ARC_Vector *vector)
gets the current size of an ARC_Vector as an unsigned 32 bit integer
Definition vector.c:146
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:150
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:67
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:51
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:28
-
- - -
- - diff --git a/doc/doxygen/html/d8/da4/structARC__ConfigDeleteKeyArgs.html b/doc/doxygen/html/d8/da4/structARC__ConfigDeleteKeyArgs.html deleted file mode 100644 index 6ec46e7..0000000 --- a/doc/doxygen/html/d8/da4/structARC__ConfigDeleteKeyArgs.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - - - -Archeus: ARC_ConfigDeleteKeyArgs Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_ConfigDeleteKeyArgs Struct Reference
-
-
- - - - - - -

-Data Fields

ARC_Configconfig
 
ARC_Stringstring
 
-

Detailed Description

-
-

Definition at line 31 of file config.c.

-

Field Documentation

- -

◆ config

- -
-
- - - - -
ARC_Config* ARC_ConfigDeleteKeyArgs::config
-
- -

Definition at line 32 of file config.c.

- -

Referenced by ARC_Config_DestroyGroupNode().

- -
-
- -

◆ string

- -
-
- - - - -
ARC_String* ARC_ConfigDeleteKeyArgs::string
-
- -

Definition at line 33 of file config.c.

- -

Referenced by ARC_Config_DestroyGroupNode().

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/src/std/config.c
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/da4/structARC__ConfigDeleteKeyArgs.js b/doc/doxygen/html/d8/da4/structARC__ConfigDeleteKeyArgs.js deleted file mode 100644 index cbaed2c..0000000 --- a/doc/doxygen/html/d8/da4/structARC__ConfigDeleteKeyArgs.js +++ /dev/null @@ -1,5 +0,0 @@ -var structARC__ConfigDeleteKeyArgs = -[ - [ "config", "d8/da4/structARC__ConfigDeleteKeyArgs.html#a45b73717a1c27ec3afa2b89cd11359ba", null ], - [ "string", "d8/da4/structARC__ConfigDeleteKeyArgs.html#a8b8f628a17357785ca49ff220f20b1c4", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d8/da9/include_2arc_2graphics_2text_8h.html b/doc/doxygen/html/d8/da9/include_2arc_2graphics_2text_8h.html deleted file mode 100644 index 986ff9b..0000000 --- a/doc/doxygen/html/d8/da9/include_2arc_2graphics_2text_8h.html +++ /dev/null @@ -1,381 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/text.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
text.h File Reference
-
-
-
#include <stdint.h>
-#include "arc/graphics/color.h"
-#include "arc/graphics/renderer.h"
-#include "arc/math/point.h"
-#include "arc/std/string.h"
-
-

Go to the source code of this file.

- - - - -

-Typedefs

typedef struct ARC_Text ARC_Text
 
- - - - - - - - - - - -

-Functions

void ARC_Text_Create (ARC_Text **text, ARC_String *path, int32_t size, ARC_Color color)
 
void ARC_Text_Destroy (ARC_Text *font)
 
void ARC_Text_SetString (ARC_Text *text, ARC_Renderer *renderer, ARC_String *string)
 
void ARC_Text_Render (ARC_Text *text, ARC_Renderer *renderer)
 
void ARC_Text_SetPos (ARC_Text *text, ARC_Point pos)
 
-

Typedef Documentation

- -

◆ ARC_Text

- -
-
- - - - -
typedef struct ARC_Text ARC_Text
-
- -

Definition at line 14 of file text.h.

- -
-
-

Function Documentation

- -

◆ ARC_Text_Create()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Text_Create (ARC_Text ** text,
ARC_String * path,
int32_t size,
ARC_Color color )
-
- -

Definition at line 11 of file text.c.

-
11 {
-
12 *text = (ARC_Text *)malloc(sizeof(ARC_Text));
-
13 ARC_String_Copy(&(*text)->name, path);
-
14 (*text)->size = size;
-
15 (*text)->color = color;
-
16 (*text)->texture = NULL;
-
17 (*text)->bounds = (ARC_Rect){ 0, 0, 0, 0 };
-
18
-
19 //TODO: fix this
-
20 if(TTF_Init()==-1) {
-
21 printf("TTF_Init: %s\n", TTF_GetError());
-
22 exit(2);
-
23 }
-
24}
-
struct ARC_Rect ARC_Rect
-
void ARC_String_Copy(ARC_String **copy, ARC_String *original)
copy a ARC_String
Definition string.c:62
- -
-

References ARC_String_Copy().

- -
-
- -

◆ ARC_Text_Destroy()

- -
-
- - - - - - - -
void ARC_Text_Destroy (ARC_Text * font)
-
- -

Definition at line 26 of file text.c.

-
26 {
-
27 if(font->texture != NULL){
-
28 SDL_DestroyTexture(font->texture);
-
29 }
- -
31 free(font);
-
32}
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
ARC_String * name
Definition text.h:11
-
SDL_Texture * texture
Definition text.h:16
-
-

References ARC_String_Destroy(), ARC_Text::name, and ARC_Text::texture.

- -
-
- -

◆ ARC_Text_Render()

- -
-
- - - - - - - - - - - -
void ARC_Text_Render (ARC_Text * text,
ARC_Renderer * renderer )
-
- -

Definition at line 52 of file text.c.

-
52 {
-
53 if(text->texture == NULL){
-
54 return;
-
55 }
-
56
-
57 SDL_Rect bounds = (SDL_Rect){ text->bounds.x, text->bounds.y, text->bounds.w, text->bounds.h };
-
58 SDL_RenderCopy((SDL_Renderer *)renderer, text->texture, NULL, &bounds);
-
59}
-
int32_t x
Definition rectangle.h:13
-
int32_t w
Definition rectangle.h:15
-
int32_t y
Definition rectangle.h:14
-
int32_t h
Definition rectangle.h:16
-
ARC_Rect bounds
Definition text.h:17
-
-

References ARC_Text::bounds, ARC_Rect::h, ARC_Text::texture, ARC_Rect::w, ARC_Rect::x, and ARC_Rect::y.

- -
-
- -

◆ ARC_Text_SetPos()

- -
-
- - - - - - - - - - - -
void ARC_Text_SetPos (ARC_Text * text,
ARC_Point pos )
-
- -

Definition at line 61 of file text.c.

-
61 {
-
62 text->bounds.x = pos.x;
-
63 text->bounds.y = pos.y;
-
64}
-
int32_t y
Definition point.h:12
-
int32_t x
Definition point.h:11
-
-

References ARC_Text::bounds, ARC_Point::x, ARC_Rect::x, ARC_Point::y, and ARC_Rect::y.

- -
-
- -

◆ ARC_Text_SetString()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Text_SetString (ARC_Text * text,
ARC_Renderer * renderer,
ARC_String * string )
-
- -

Definition at line 34 of file text.c.

-
34 {
-
35 TTF_Font *ttfont = TTF_OpenFont(text->name->data, text->size);
-
36 SDL_Color textColor = (SDL_Color){ text->color.r, text->color.g, text->color.b, text->color.a };
-
37
-
38 SDL_Surface *surface = TTF_RenderText_Blended_Wrapped(ttfont, string->data, textColor, 0);
-
39
-
40 text->bounds.w = surface->w;
-
41 text->bounds.h = surface->h;
-
42
-
43 if(text->texture){
-
44 SDL_DestroyTexture(text->texture);
-
45 }
-
46 text->texture = SDL_CreateTextureFromSurface((SDL_Renderer *)renderer, surface);
-
47
-
48 SDL_FreeSurface(surface);
-
49 TTF_CloseFont(ttfont);
-
50}
-
uint8_t a
Definition color.h:11
-
uint8_t r
Definition color.h:11
-
uint8_t b
Definition color.h:11
-
uint8_t g
Definition color.h:11
-
char * data
Definition string.h:15
-
ARC_Color color
Definition text.h:14
-
int32_t size
Definition text.h:12
-
-

References ARC_Color::a, ARC_Color::b, ARC_Text::bounds, ARC_Text::color, ARC_String::data, ARC_Color::g, ARC_Rect::h, ARC_Text::name, ARC_Color::r, ARC_Text::size, ARC_Text::texture, and ARC_Rect::w.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/da9/include_2arc_2graphics_2text_8h.js b/doc/doxygen/html/d8/da9/include_2arc_2graphics_2text_8h.js deleted file mode 100644 index 31e4604..0000000 --- a/doc/doxygen/html/d8/da9/include_2arc_2graphics_2text_8h.js +++ /dev/null @@ -1,9 +0,0 @@ -var include_2arc_2graphics_2text_8h = -[ - [ "ARC_Text", "d8/da9/include_2arc_2graphics_2text_8h.html#a1b5f335dcc5e50d475077385328d1619", null ], - [ "ARC_Text_Create", "d8/da9/include_2arc_2graphics_2text_8h.html#a317688d3c7ed9dc82fdef7dd136fd462", null ], - [ "ARC_Text_Destroy", "d8/da9/include_2arc_2graphics_2text_8h.html#a81e08f1c4210a1d33a6b5be4ff2bde8c", null ], - [ "ARC_Text_Render", "d8/da9/include_2arc_2graphics_2text_8h.html#a8fb85afa64d8e337f475db6eaa23bbcb", null ], - [ "ARC_Text_SetPos", "d8/da9/include_2arc_2graphics_2text_8h.html#acaf60a21f71839044b1eaa775c443db7", null ], - [ "ARC_Text_SetString", "d8/da9/include_2arc_2graphics_2text_8h.html#a2d5bfd55a4035453bcf751514e04f362", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d8/da9/include_2arc_2graphics_2text_8h_source.html b/doc/doxygen/html/d8/da9/include_2arc_2graphics_2text_8h_source.html deleted file mode 100644 index d5f8047..0000000 --- a/doc/doxygen/html/d8/da9/include_2arc_2graphics_2text_8h_source.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/text.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
text.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_STD_TEXT_H_
-
2#define ARC_STD_TEXT_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include <stdint.h>
- - -
11#include "arc/math/point.h"
-
12#include "arc/std/string.h"
-
13
-
14typedef struct ARC_Text ARC_Text;
-
15
-
16void ARC_Text_Create(ARC_Text **text, ARC_String *path, int32_t size, ARC_Color color);
-
17
-
18void ARC_Text_Destroy(ARC_Text *font);
-
19
-
20void ARC_Text_SetString(ARC_Text *text, ARC_Renderer *renderer, ARC_String *string);
-
21
-
22void ARC_Text_Render(ARC_Text *text, ARC_Renderer *renderer);
-
23
-
24void ARC_Text_SetPos(ARC_Text *text, ARC_Point pos);
-
25
-
26#ifdef __cplusplus
-
27}
-
28#endif
-
29
-
30#endif //ARC_STD_STRING_H_
- - -
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
-
void ARC_Text_SetString(ARC_Text *text, ARC_Renderer *renderer, ARC_String *string)
Definition text.c:34
-
void ARC_Text_Create(ARC_Text **text, ARC_String *path, int32_t size, ARC_Color color)
Definition text.c:11
-
void ARC_Text_Destroy(ARC_Text *font)
Definition text.c:26
-
void ARC_Text_Render(ARC_Text *text, ARC_Renderer *renderer)
Definition text.c:52
-
void ARC_Text_SetPos(ARC_Text *text, ARC_Point pos)
Definition text.c:61
- - - - -
substring position within a string
Definition string.h:14
- -
ARC_Color color
Definition text.h:14
-
int32_t size
Definition text.h:12
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/db1/packages_2audio_2sdl_2audio_8h.html b/doc/doxygen/html/d8/db1/packages_2audio_2sdl_2audio_8h.html deleted file mode 100644 index 2178197..0000000 --- a/doc/doxygen/html/d8/db1/packages_2audio_2sdl_2audio_8h.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/audio/sdl/audio.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
audio.h File Reference
-
-
-
#include <SDL2/SDL_mixer.h>
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_Audio
 
- - - -

-Typedefs

typedef struct ARC_Audio ARC_Audio
 
-

Typedef Documentation

- -

◆ ARC_Audio

- -
-
- - - - -
typedef struct ARC_Audio ARC_Audio
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/db1/packages_2audio_2sdl_2audio_8h.js b/doc/doxygen/html/d8/db1/packages_2audio_2sdl_2audio_8h.js deleted file mode 100644 index 41bccae..0000000 --- a/doc/doxygen/html/d8/db1/packages_2audio_2sdl_2audio_8h.js +++ /dev/null @@ -1,5 +0,0 @@ -var packages_2audio_2sdl_2audio_8h = -[ - [ "ARC_Audio", "d6/d4e/structARC__Audio.html", "d6/d4e/structARC__Audio" ], - [ "ARC_Audio", "d8/db1/packages_2audio_2sdl_2audio_8h.html#a3851568fba810fda2172dd0f16a4cdd0", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d8/db1/packages_2audio_2sdl_2audio_8h_source.html b/doc/doxygen/html/d8/db1/packages_2audio_2sdl_2audio_8h_source.html deleted file mode 100644 index bfbc9b3..0000000 --- a/doc/doxygen/html/d8/db1/packages_2audio_2sdl_2audio_8h_source.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/audio/sdl/audio.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
audio.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_SDL_AUDIO_H_
-
2#define ARC_SDL_AUDIO_H_
-
3
-
4#include <SDL2/SDL_mixer.h>
-
5
-
-
6typedef struct ARC_Audio {
-
7 Mix_Chunk *chunk;
- -
-
9
-
10#endif // !ARC_SDL_AUDIO_H_
-
struct ARC_Audio ARC_Audio
- -
Mix_Chunk * chunk
Definition audio.h:7
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/db8/archeus__std_8dir_2src_2std_2time_8c_8o_8d.html b/doc/doxygen/html/d8/db8/archeus__std_8dir_2src_2std_2time_8c_8o_8d.html deleted file mode 100644 index 4b49a27..0000000 --- a/doc/doxygen/html/d8/db8/archeus__std_8dir_2src_2std_2time_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/time.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
time.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d8/db8/archeus__std_8dir_2src_2std_2time_8c_8o_8d_source.html b/doc/doxygen/html/d8/db8/archeus__std_8dir_2src_2std_2time_8c_8o_8d_source.html deleted file mode 100644 index 6d0cfa6..0000000 --- a/doc/doxygen/html/d8/db8/archeus__std_8dir_2src_2std_2time_8c_8o_8d_source.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/time.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
time.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/std/time.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/time.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/time.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h /usr/include/time.h \
-
15 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
16 /usr/include/bits/time.h /usr/include/bits/types/clock_t.h \
-
17 /usr/include/bits/types/time_t.h /usr/include/bits/types/struct_tm.h \
-
18 /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \
-
19 /usr/include/bits/endianness.h /usr/include/bits/types/clockid_t.h \
-
20 /usr/include/bits/types/timer_t.h \
-
21 /usr/include/bits/types/struct_itimerspec.h \
-
22 /usr/include/bits/types/locale_t.h /usr/include/bits/types/__locale_t.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/db9/test_8c.html b/doc/doxygen/html/d8/db9/test_8c.html deleted file mode 100644 index 625e2b2..0000000 --- a/doc/doxygen/html/d8/db9/test_8c.html +++ /dev/null @@ -1,254 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/tests/test.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
test.c File Reference
-
-
-
#include "test.h"
-#include "arc/std/errno.h"
-#include <stdio.h>
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - - - - - -

-Functions

void ARC_Test_SetErrnoStream (void)
 
void ARC_Test_UnsetErrnoStream (void)
 
int main (void)
 
- - - - - -

-Variables

uint32_t * temp_arc_test_num_checks_run__ARC_TEST__ = NULL
 
uint32_t * temp_arc_test_num_checks_passed__ARC_TEST__ = NULL
 
-

Function Documentation

- -

◆ ARC_Test_SetErrnoStream()

- -
-
- - - - - - - -
void ARC_Test_SetErrnoStream (void )
-
- -

Definition at line 10 of file test.c.

-
10 {
-
11 arc_errno_log_file = fopen("tests/test_error_out.txt", "w");
-
12}
-
-
-
- -

◆ ARC_Test_UnsetErrnoStream()

- -
-
- - - - - - - -
void ARC_Test_UnsetErrnoStream (void )
-
- -

Definition at line 14 of file test.c.

-
14 {
-
15 fclose(arc_errno_log_file);
-
16}
-
-
-
- -

◆ main()

- -
-
- - - - - - - -
int main (void )
-
- -

Definition at line 19 of file test.c.

-
19 {
-
20 return 0;
-
21}
-
-
-
-

Variable Documentation

- -

◆ temp_arc_test_num_checks_passed__ARC_TEST__

- -
-
- - - - -
uint32_t* temp_arc_test_num_checks_passed__ARC_TEST__ = NULL
-
- -

Definition at line 8 of file test.c.

- -
-
- -

◆ temp_arc_test_num_checks_run__ARC_TEST__

- -
-
- - - - -
uint32_t* temp_arc_test_num_checks_run__ARC_TEST__ = NULL
-
- -

Definition at line 7 of file test.c.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/db9/test_8c.js b/doc/doxygen/html/d8/db9/test_8c.js deleted file mode 100644 index c0defc9..0000000 --- a/doc/doxygen/html/d8/db9/test_8c.js +++ /dev/null @@ -1,8 +0,0 @@ -var test_8c = -[ - [ "ARC_Test_SetErrnoStream", "d8/db9/test_8c.html#a0cb8cdb3e3853dd5e7235730a0a3ddb3", null ], - [ "ARC_Test_UnsetErrnoStream", "d8/db9/test_8c.html#a2063e97f6d5094fee4cdd3fd3a7dc5ca", null ], - [ "main", "d8/db9/test_8c.html#a840291bc02cba5474a4cb46a9b9566fe", null ], - [ "temp_arc_test_num_checks_passed__ARC_TEST__", "d8/db9/test_8c.html#a7d507f4363a766f2f0efa08bfb6dd5f6", null ], - [ "temp_arc_test_num_checks_run__ARC_TEST__", "d8/db9/test_8c.html#a37bc52733d396c97625733755dfca33f", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d8/db9/test_8c_source.html b/doc/doxygen/html/d8/db9/test_8c_source.html deleted file mode 100644 index c04247a..0000000 --- a/doc/doxygen/html/d8/db9/test_8c_source.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/tests/test.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
test.c
-
-
-Go to the documentation of this file.
1#include "test.h"
-
2
-
3#include "arc/std/errno.h"
-
4#include <stdio.h>
-
5#include <stdlib.h>
-
6
- - -
9
-
- -
11 arc_errno_log_file = fopen("tests/test_error_out.txt", "w");
-
12}
-
-
13
-
- -
15 fclose(arc_errno_log_file);
-
16}
-
-
17
-
18#ifndef ARC_TEST_NO_MAIN
-
-
19int main(void){
-
20 return 0;
-
21}
-
-
22#endif
- -
void ARC_Test_SetErrnoStream(void)
Definition test.c:10
-
void ARC_Test_UnsetErrnoStream(void)
Definition test.c:14
-
uint32_t * temp_arc_test_num_checks_run__ARC_TEST__
Definition test.c:7
-
uint32_t * temp_arc_test_num_checks_passed__ARC_TEST__
Definition test.c:8
-
int main(void)
Definition test.c:19
- -
-
- - - - - - diff --git a/doc/doxygen/html/d8/dc2/errno_8h.html b/doc/doxygen/html/d8/dc2/errno_8h.html deleted file mode 100644 index dbd0624..0000000 --- a/doc/doxygen/html/d8/dc2/errno_8h.html +++ /dev/null @@ -1,339 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
errno.h File Reference
-
-
-
#include <stdint.h>
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - -

-Macros

#define ARC_ERRNO_NULL   -0x01
 
#define ARC_ERRNO_DATA   -0x02
 
#define ARC_ERRNO_COPY   -0x03
 
#define ARC_ERRNO_EXISTS   -0x04
 
#define ARC_ERRNO_OVERFLOW   -0x05
 
#define ARC_ERRNO_INIT   -0x06
 
#define ARC_ERRNO_CONNECTION   -0x07
 
#define ARC_DEBUG_LOG_ERROR(STR)
 
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR, ...)
 
- - - -

-Variables

int32_t arc_errno
 
-

Macro Definition Documentation

- -

◆ ARC_DEBUG_LOG_ERROR

- -
-
- - - - - - - -
#define ARC_DEBUG_LOG_ERROR( STR)
-
- -

Definition at line 39 of file errno.h.

- -
-
- -

◆ ARC_DEBUG_LOG_ERROR_WITH_VARIABLES

- -
-
- - - - - - - - - - - -
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES( STR,
... )
-
- -

Definition at line 40 of file errno.h.

- -
-
- -

◆ ARC_ERRNO_CONNECTION

- -
-
- - - - -
#define ARC_ERRNO_CONNECTION   -0x07
-
- -

Definition at line 12 of file errno.h.

- -
-
- -

◆ ARC_ERRNO_COPY

- -
-
- - - - -
#define ARC_ERRNO_COPY   -0x03
-
- -

Definition at line 8 of file errno.h.

- -
-
- -

◆ ARC_ERRNO_DATA

- -
-
- - - - -
#define ARC_ERRNO_DATA   -0x02
-
- -

Definition at line 7 of file errno.h.

- -
-
- -

◆ ARC_ERRNO_EXISTS

- -
-
- - - - -
#define ARC_ERRNO_EXISTS   -0x04
-
- -

Definition at line 9 of file errno.h.

- -
-
- -

◆ ARC_ERRNO_INIT

- -
-
- - - - -
#define ARC_ERRNO_INIT   -0x06
-
- -

Definition at line 11 of file errno.h.

- -
-
- -

◆ ARC_ERRNO_NULL

- -
-
- - - - -
#define ARC_ERRNO_NULL   -0x01
-
- -

Definition at line 6 of file errno.h.

- -
-
- -

◆ ARC_ERRNO_OVERFLOW

- -
-
- - - - -
#define ARC_ERRNO_OVERFLOW   -0x05
-
- -

Definition at line 10 of file errno.h.

- -
-
-

Variable Documentation

- -

◆ arc_errno

- -
-
- - - - - -
- - - - -
int32_t arc_errno
-
-extern
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/dc2/errno_8h.js b/doc/doxygen/html/d8/dc2/errno_8h.js deleted file mode 100644 index 801ccd8..0000000 --- a/doc/doxygen/html/d8/dc2/errno_8h.js +++ /dev/null @@ -1,13 +0,0 @@ -var errno_8h = -[ - [ "ARC_DEBUG_LOG_ERROR", "d8/dc2/errno_8h.html#ad32a4f194b90c9ede4e393c0d4185590", null ], - [ "ARC_DEBUG_LOG_ERROR_WITH_VARIABLES", "d8/dc2/errno_8h.html#a8cbc7f5b6cb9e20d3993284f0f80ec83", null ], - [ "ARC_ERRNO_CONNECTION", "d8/dc2/errno_8h.html#a12df35ef61d8cceea6360b586d09e5d1", null ], - [ "ARC_ERRNO_COPY", "d8/dc2/errno_8h.html#aa8ca3b35dda6b146df8a28cbe1f76eef", null ], - [ "ARC_ERRNO_DATA", "d8/dc2/errno_8h.html#af21596945a4d9ac142fe4cfef53e7a80", null ], - [ "ARC_ERRNO_EXISTS", "d8/dc2/errno_8h.html#a8e94c5f81f1e033579b03ed588c13793", null ], - [ "ARC_ERRNO_INIT", "d8/dc2/errno_8h.html#a61385aa4667afd29081519dbf55f4198", null ], - [ "ARC_ERRNO_NULL", "d8/dc2/errno_8h.html#ab626cdbbebc1ac9abd1548a5f6f6195b", null ], - [ "ARC_ERRNO_OVERFLOW", "d8/dc2/errno_8h.html#a9d88eecae5e1850a90ae502999ca5a73", null ], - [ "arc_errno", "d8/dc2/errno_8h.html#a5884aa8cc9b4e733345e49f93b54f75a", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d8/dc2/errno_8h_source.html b/doc/doxygen/html/d8/dc2/errno_8h_source.html deleted file mode 100644 index b50e886..0000000 --- a/doc/doxygen/html/d8/dc2/errno_8h_source.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
errno.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_STD_ERRNO_H_
-
2#define ARC_STD_ERRNO_H_
-
3
-
4#include <stdint.h>
-
5
-
6#define ARC_ERRNO_NULL -0x01
-
7#define ARC_ERRNO_DATA -0x02
-
8#define ARC_ERRNO_COPY -0x03
-
9#define ARC_ERRNO_EXISTS -0x04
-
10#define ARC_ERRNO_OVERFLOW -0x05
-
11#define ARC_ERRNO_INIT -0x06
-
12#define ARC_ERRNO_CONNECTION -0x07
-
13
-
14#ifdef __cplusplus
-
15extern "C" {
-
16#endif
-
17
-
18extern int32_t arc_errno;
-
19
-
20#ifdef ARC_DEBUG
-
21 #include <stdio.h>
-
22 //this is handy to override for if they user is doing terminal output and wants to change where logs are sent
-
23 extern FILE *arc_errno_log_file;
-
24
-
25 #ifndef ARC_DEBUG_LOG_STREAM_OVERRIDE
-
26 //this functin will be called on start, handy to set the log file to stdout if it is not overrided
-
27 void __attribute__ ((constructor)) ARC_Errno_SetDefaultStream(void);
-
28 #endif // !ARC_DEBUG_LOG_STREAM_OVERRIDE
-
29#endif // !ARC_DEBUG
-
30
-
31#ifdef __cplusplus
-
32}
-
33#endif
-
34
-
35#ifdef ARC_DEBUG
-
36 #define ARC_DEBUG_LOG_ERROR(STR) fprintf(arc_errno_log_file, "[ERROR %d] " STR "\n", arc_errno)
-
37 #define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR, ...) fprintf(arc_errno_log_file, "[ERROR %d] " STR "\n", arc_errno, __VA_ARGS__)
-
38#else
-
39 #define ARC_DEBUG_LOG_ERROR(STR)
-
40 #define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR, ...)
-
41#endif // !ARC_DEBUG
-
42
-
43#endif // !ARC_STD_ERRNO_H_
-
int32_t arc_errno
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/dd0/tests_8dir_2tests_2std_2lexer_8c_8o_8d.html b/doc/doxygen/html/d8/dd0/tests_8dir_2tests_2std_2lexer_8c_8o_8d.html deleted file mode 100644 index e3d0df8..0000000 --- a/doc/doxygen/html/d8/dd0/tests_8dir_2tests_2std_2lexer_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/tests/std/lexer.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
lexer.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d8/dd0/tests_8dir_2tests_2std_2lexer_8c_8o_8d_source.html b/doc/doxygen/html/d8/dd0/tests_8dir_2tests_2std_2lexer_8c_8o_8d_source.html deleted file mode 100644 index 02a0a46..0000000 --- a/doc/doxygen/html/d8/dd0/tests_8dir_2tests_2std_2lexer_8c_8o_8d_source.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/tests/std/lexer.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
lexer.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/tests/std/lexer.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/tests/std/lexer.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/tests/std/../test.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h /usr/include/stdio.h \
-
15 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
16 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
17 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
18 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
19 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
20 /usr/include/bits/types/cookie_io_functions_t.h \
-
21 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
22 /usr/include/bits/floatn-common.h \
-
23 /home/herbglitch/programs/archeus/arc/include/arc/std/lexer.h \
-
24 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
25 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
26 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/dd3/ssh_8h.html b/doc/doxygen/html/d8/dd3/ssh_8h.html deleted file mode 100644 index f9cdf7a..0000000 --- a/doc/doxygen/html/d8/dd3/ssh_8h.html +++ /dev/null @@ -1,340 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/networking/ssh.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ssh.h File Reference
-
-
-
#include "arc/std/string.h"
-
-

Go to the source code of this file.

- - - - - - - - -

-Typedefs

typedef struct ARC_Ssh ARC_Ssh
 ssh type that holds ssh connection along with credentials
 
typedef void(* ARC_Ssh_SessionFn) (void *data)
 a ssh session function
 
- - - - - - - - - - - - - - -

-Functions

void ARC_Ssh_Create (ARC_Ssh **ssh, char *host, char *user, char *password)
 creates ARC_Ssh type
 
void ARC_Ssh_Destroy (ARC_Ssh *ssh)
 destroyes ARC_Ssh type
 
void ARC_Ssh_RunInSession (ARC_Ssh *ssh, ARC_Ssh_SessionFn sessionFn)
 runs a callback function within a ssh session
 
void ARC_Ssh_ExecStrInNewSession (ARC_Ssh *ssh, char *command)
 
ARC_StringARC_Ssh_ExecStrInNewSessionAndGetResponse (ARC_Ssh *ssh, char *command)
 
-

Typedef Documentation

- -

◆ ARC_Ssh

- -
-
- - - - -
typedef struct ARC_Ssh ARC_Ssh
-
- -

ssh type that holds ssh connection along with credentials

- -

Definition at line 13 of file ssh.h.

- -
-
- -

◆ ARC_Ssh_SessionFn

- -
-
- - - - -
typedef void(* ARC_Ssh_SessionFn) (void *data)
-
- -

a ssh session function

-
Parameters
- - -
datauser data that can be used within the callback
-
-
- -

Definition at line 20 of file ssh.h.

- -
-
-

Function Documentation

- -

◆ ARC_Ssh_Create()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Ssh_Create (ARC_Ssh ** ssh,
char * host,
char * user,
char * password )
-
- -

creates ARC_Ssh type

-
Parameters
- - -
sshARC_Ssh to create
-
-
- -
-
- -

◆ ARC_Ssh_Destroy()

- -
-
- - - - - - - -
void ARC_Ssh_Destroy (ARC_Ssh * ssh)
-
- -

destroyes ARC_Ssh type

-
Parameters
- - -
sshARC_Ssh to destroy
-
-
- -
-
- -

◆ ARC_Ssh_ExecStrInNewSession()

- -
-
- - - - - - - - - - - -
void ARC_Ssh_ExecStrInNewSession (ARC_Ssh * ssh,
char * command )
-
- -
-
- -

◆ ARC_Ssh_ExecStrInNewSessionAndGetResponse()

- -
-
- - - - - - - - - - - -
ARC_String * ARC_Ssh_ExecStrInNewSessionAndGetResponse (ARC_Ssh * ssh,
char * command )
-
- -
-
- -

◆ ARC_Ssh_RunInSession()

- -
-
- - - - - - - - - - - -
void ARC_Ssh_RunInSession (ARC_Ssh * ssh,
ARC_Ssh_SessionFn sessionFn )
-
- -

runs a callback function within a ssh session

-
Parameters
- - - -
sshARC_Ssh to create and run function in ssh session
sessionFNcallback to run in a ssh session
-
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/dd3/ssh_8h.js b/doc/doxygen/html/d8/dd3/ssh_8h.js deleted file mode 100644 index 27452d8..0000000 --- a/doc/doxygen/html/d8/dd3/ssh_8h.js +++ /dev/null @@ -1,10 +0,0 @@ -var ssh_8h = -[ - [ "ARC_Ssh", "d8/dd3/ssh_8h.html#af7f8e513348e5d76222c96396bc0ed70", null ], - [ "ARC_Ssh_SessionFn", "d8/dd3/ssh_8h.html#aa6f481c13aec410d0902c4f9a5d94e9b", null ], - [ "ARC_Ssh_Create", "d8/dd3/ssh_8h.html#ad489e520aa92d284e50db127e1e8157a", null ], - [ "ARC_Ssh_Destroy", "d8/dd3/ssh_8h.html#a08efa4bb06634fc63432bee3f0cafbc1", null ], - [ "ARC_Ssh_ExecStrInNewSession", "d8/dd3/ssh_8h.html#a1e5f9b0c05c7e9b9d99430dc05ef02b3", null ], - [ "ARC_Ssh_ExecStrInNewSessionAndGetResponse", "d8/dd3/ssh_8h.html#a1cc4737620480eb72a38fd0bbc84a9d2", null ], - [ "ARC_Ssh_RunInSession", "d8/dd3/ssh_8h.html#a611049154ff185c551929068f3d0270a", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d8/dd3/ssh_8h_source.html b/doc/doxygen/html/d8/dd3/ssh_8h_source.html deleted file mode 100644 index 91a04ce..0000000 --- a/doc/doxygen/html/d8/dd3/ssh_8h_source.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/networking/ssh.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
ssh.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_SSH_H_
-
2#define ARC_SSH_H_
-
3
-
4#include "arc/std/string.h"
-
5
-
6#ifdef __cplusplus
-
7extern "C" {
-
8#endif
-
9
-
10/**
-
11 * @brief ssh type that holds ssh connection along with credentials
-
12*/
-
13typedef struct ARC_Ssh ARC_Ssh;
-
14
-
15/**
-
16 * @brief a ssh session function
-
17 *
-
18 * @param data user data that can be used within the callback
-
19*/
-
20typedef void (* ARC_Ssh_SessionFn)(void *data);
-
21
-
22/**
-
23 * @brief creates ARC_Ssh type
-
24 *
-
25 * @param ssh ARC_Ssh to create
-
26 */
-
27void ARC_Ssh_Create(ARC_Ssh **ssh, char *host, char *user, char *password);
-
28
-
29/**
-
30 * @brief destroyes ARC_Ssh type
-
31 *
-
32 * @param ssh ARC_Ssh to destroy
-
33 */
- -
35
-
36/**
-
37 * @brief runs a callback function within a ssh session
-
38 *
-
39 * @param ssh ARC_Ssh to create and run function in ssh session
-
40 * @param sessionFN callback to run in a ssh session
-
41 */
- -
43
-
44/**
-
45 * @brief
-
46*/
-
47void ARC_Ssh_ExecStrInNewSession(ARC_Ssh *ssh, char *command);
-
48
-
49/**
-
50 * @brief
-
51*/
- -
53
-
54#ifdef __cplusplus
-
55}
-
56#endif
-
57
-
58#endif //!ARC_SSH_H_
-
void ARC_Ssh_Destroy(ARC_Ssh *ssh)
destroyes ARC_Ssh type
-
ARC_String * ARC_Ssh_ExecStrInNewSessionAndGetResponse(ARC_Ssh *ssh, char *command)
-
void ARC_Ssh_ExecStrInNewSession(ARC_Ssh *ssh, char *command)
-
void ARC_Ssh_RunInSession(ARC_Ssh *ssh, ARC_Ssh_SessionFn sessionFn)
runs a callback function within a ssh session
-
void(* ARC_Ssh_SessionFn)(void *data)
a ssh session function
Definition ssh.h:20
-
void ARC_Ssh_Create(ARC_Ssh **ssh, char *host, char *user, char *password)
creates ARC_Ssh type
-
struct ARC_Ssh ARC_Ssh
ssh type that holds ssh connection along with credentials
Definition ssh.h:13
- -
substring position within a string
Definition string.h:14
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/dd5/packages_2graphics_2opengl_2text_8h.html b/doc/doxygen/html/d8/dd5/packages_2graphics_2opengl_2text_8h.html deleted file mode 100644 index 6ba263f..0000000 --- a/doc/doxygen/html/d8/dd5/packages_2graphics_2opengl_2text_8h.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/opengl/text.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
text.h File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d8/dd5/packages_2graphics_2opengl_2text_8h_source.html b/doc/doxygen/html/d8/dd5/packages_2graphics_2opengl_2text_8h_source.html deleted file mode 100644 index 450f7d0..0000000 --- a/doc/doxygen/html/d8/dd5/packages_2graphics_2opengl_2text_8h_source.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/opengl/text.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
text.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_OPENGL_TEXT_H_
-
2#define ARC_OPENGL_TEXT_H_
-
3
-
4#include "arc/std/string.h"
- - -
7
-
8#ifdef ARC_OPENGL_GRAPHICS
-
9
-
10typedef struct ARC_Text {} ARC_Text;
-
11
-
12#endif // !ARC_OPENGL_GRAPHICS
-
13
-
14#endif // !ARC_OPENGL_TEXT_H_
- -
struct ARC_Text ARC_Text
Definition text.h:14
- - - -
-
- - - - - - diff --git a/doc/doxygen/html/d8/ddd/packages_2audio_2sdl_2config_8c.html b/doc/doxygen/html/d8/ddd/packages_2audio_2sdl_2config_8c.html deleted file mode 100644 index a6f5cad..0000000 --- a/doc/doxygen/html/d8/ddd/packages_2audio_2sdl_2config_8c.html +++ /dev/null @@ -1,276 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/audio/sdl/config.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
config.c File Reference
-
-
-
#include "arc/audio/config.h"
-#include "audio.h"
-#include <stdlib.h>
-#include "arc/std/config.h"
-#include "arc/std/errno.h"
-#include "arc/audio/audio.h"
-#include "arc/std/defaults/config.h"
-
-

Go to the source code of this file.

- - - - - - - - -

-Functions

void ARC_AudioConfig_Init (ARC_Config *config)
 
uint8_t ARC_Audio_Read (ARC_Config *config, ARC_String *string, void **value)
 
void ARC_Audio_Delete (ARC_Config *config, ARC_String *string, void *value)
 
-

Function Documentation

- -

◆ ARC_Audio_Delete()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Audio_Delete (ARC_Config * config,
ARC_String * string,
void * value )
-
- -

Definition at line 40 of file config.c.

-
40 {
-
41 Mix_FreeChunk(((ARC_Audio *)value)->chunk);
-
42 free((ARC_Audio *)value);
-
43}
- -
-

Referenced by ARC_AudioConfig_Init().

- -
-
- -

◆ ARC_Audio_Read()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_Audio_Read (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -

Definition at line 16 of file config.c.

-
16 {
-
17 ARC_Config_Get(config, string, value);
-
18 if(*value){
-
19 return 1;
-
20 }
-
21
-
22 if(string->data[0] != '"' || string->data[string->length - 1] != '"'){
-
23 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_Point_Read(config, string, value); no matching quotes: %s", string->data);
- -
25 return 0;
-
26 }
-
27
-
28 ARC_Audio *audio = (ARC_Audio *)malloc(sizeof(ARC_Audio));
-
29
-
30 ARC_String *path;
-
31 ARC_String_CopySubstring(&path, string, 1, string->length - 2);
-
32 audio->chunk = Mix_LoadWAV(path->data);
-
33
-
34 //TODO: get error message if not loaded
-
35
-
36 *value = (void *)audio;
-
37 return 0;
-
38}
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_ERRNO_DATA
Definition errno.h:7
-
void ARC_Config_Get(ARC_Config *config, ARC_String *keyname, void **value)
get a value from a given keyname
Definition config.c:124
-
void ARC_String_CopySubstring(ARC_String **substring, ARC_String *original, uint64_t start, uint64_t length)
copy a subtring from a givin ARC_String
Definition string.c:72
-
Mix_Chunk * chunk
Definition audio.h:7
-
substring position within a string
Definition string.h:14
-
uint64_t length
Definition string.h:16
-
char * data
Definition string.h:15
-
-

References ARC_Config_Get(), ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_DATA, ARC_String_CopySubstring(), ARC_Audio::chunk, ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_AudioConfig_Init().

- -
-
- -

◆ ARC_AudioConfig_Init()

- -
-
- - - - - - - -
void ARC_AudioConfig_Init (ARC_Config * config)
-
- -

Definition at line 12 of file config.c.

-
12 {
-
13 ARC_Config_AddKeyCString(config, (char *)"ARC_Audio", 9, ARC_Audio_Read, ARC_Audio_Delete);
-
14}
-
uint8_t ARC_Audio_Read(ARC_Config *config, ARC_String *string, void **value)
Definition config.c:16
-
void ARC_Audio_Delete(ARC_Config *config, ARC_String *string, void *value)
Definition config.c:40
-
void ARC_Config_AddKeyCString(ARC_Config *config, const char *type, uint64_t length, ARC_ConfigKeyRead keyRead, ARC_ConfigKeyDelete keyDelete)
adds a key from a cstring
Definition config.c:55
-
-

References ARC_Audio_Delete(), ARC_Audio_Read(), and ARC_Config_AddKeyCString().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/ddd/packages_2audio_2sdl_2config_8c.js b/doc/doxygen/html/d8/ddd/packages_2audio_2sdl_2config_8c.js deleted file mode 100644 index 5971881..0000000 --- a/doc/doxygen/html/d8/ddd/packages_2audio_2sdl_2config_8c.js +++ /dev/null @@ -1,6 +0,0 @@ -var packages_2audio_2sdl_2config_8c = -[ - [ "ARC_Audio_Delete", "d8/ddd/packages_2audio_2sdl_2config_8c.html#a56b20e5eaf57fb9da53f69034b66b7e4", null ], - [ "ARC_Audio_Read", "d8/ddd/packages_2audio_2sdl_2config_8c.html#a1018ccdf4d6cd6cdd8439449baebb644", null ], - [ "ARC_AudioConfig_Init", "d8/ddd/packages_2audio_2sdl_2config_8c.html#a5beb4825fbb34818043195c8f11f1567", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d8/ddd/packages_2audio_2sdl_2config_8c_source.html b/doc/doxygen/html/d8/ddd/packages_2audio_2sdl_2config_8c_source.html deleted file mode 100644 index 151941e..0000000 --- a/doc/doxygen/html/d8/ddd/packages_2audio_2sdl_2config_8c_source.html +++ /dev/null @@ -1,198 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/audio/sdl/config.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c
-
-
-Go to the documentation of this file.
1#include "arc/audio/config.h"
-
2
-
3#include "audio.h"
-
4#include <stdlib.h>
-
5#include "arc/std/config.h"
-
6#include "arc/std/errno.h"
-
7#include "arc/audio/audio.h"
-
8
-
9// #define ARC_DEFAULT_CONFIG
- -
11
-
- -
13 ARC_Config_AddKeyCString(config, (char *)"ARC_Audio", 9, ARC_Audio_Read, ARC_Audio_Delete);
-
14}
-
-
15
-
-
16uint8_t ARC_Audio_Read(ARC_Config *config, ARC_String *string, void **value){
-
17 ARC_Config_Get(config, string, value);
-
18 if(*value){
-
19 return 1;
-
20 }
-
21
-
22 if(string->data[0] != '"' || string->data[string->length - 1] != '"'){
-
23 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_Point_Read(config, string, value); no matching quotes: %s", string->data);
- -
25 return 0;
-
26 }
-
27
-
28 ARC_Audio *audio = (ARC_Audio *)malloc(sizeof(ARC_Audio));
-
29
-
30 ARC_String *path;
-
31 ARC_String_CopySubstring(&path, string, 1, string->length - 2);
-
32 audio->chunk = Mix_LoadWAV(path->data);
-
33
-
34 //TODO: get error message if not loaded
-
35
-
36 *value = (void *)audio;
-
37 return 0;
-
38}
-
-
39
-
-
40void ARC_Audio_Delete(ARC_Config* config, ARC_String *string, void *value){
-
41 Mix_FreeChunk(((ARC_Audio *)value)->chunk);
-
42 free((ARC_Audio *)value);
-
43}
-
- - -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_ERRNO_DATA
Definition errno.h:7
- - -
uint8_t ARC_Audio_Read(ARC_Config *config, ARC_String *string, void **value)
Definition config.c:16
-
void ARC_Audio_Delete(ARC_Config *config, ARC_String *string, void *value)
Definition config.c:40
-
void ARC_AudioConfig_Init(ARC_Config *config)
Definition config.c:12
- -
void ARC_Config_AddKeyCString(ARC_Config *config, const char *type, uint64_t length, ARC_ConfigKeyRead keyRead, ARC_ConfigKeyDelete keyDelete)
adds a key from a cstring
Definition config.c:55
-
void ARC_Config_Get(ARC_Config *config, ARC_String *keyname, void **value)
get a value from a given keyname
Definition config.c:124
- -
void ARC_String_CopySubstring(ARC_String **substring, ARC_String *original, uint64_t start, uint64_t length)
copy a subtring from a givin ARC_String
Definition string.c:72
- -
Mix_Chunk * chunk
Definition audio.h:7
- -
substring position within a string
Definition string.h:14
-
uint64_t length
Definition string.h:16
-
char * data
Definition string.h:15
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/de9/hashtable_8c.html b/doc/doxygen/html/d8/de9/hashtable_8c.html deleted file mode 100644 index e9e17f0..0000000 --- a/doc/doxygen/html/d8/de9/hashtable_8c.html +++ /dev/null @@ -1,710 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/hashtable.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
hashtable.c File Reference
-
-
-
#include "arc/std/hashtable.h"
-#include "arc/std/errno.h"
-#include <stdlib.h>
-#include <stdio.h>
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_Hashtable
 
- - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void CRC32 (void *key, size_t *keysize, uint32_t *hashval)
 
int8_t ARC_Default_Key_Compare (void *key1, size_t *key1size, void *key2, size_t *key2size)
 
void ARC_HashtableNode_Create (ARC_HashtableNode **node, void *key, size_t *keysize, void *data)
 
void ARC_HashtableNode_Destroy (ARC_HashtableNode *node, ARC_HashtableNode_DestroyExternal external, void *userdata)
 
void ARC_Hashtable_Create (ARC_Hashtable **htable, uint32_t bucketsize, ARC_Hashtable_Hash hash, ARC_Hashtable_KeyCompare compare)
 cteates ARC_Hashtable type
 
void ARC_Hashtable_Destroy (ARC_Hashtable *htable, ARC_HashtableNode_DestroyExternal external, void *userdata)
 destroys ARC_Hashtable type
 
void ARC_Hashtable_Add (ARC_Hashtable *htable, void *key, size_t keysize, void *data)
 adds value to hastable
 
void ARC_Hashtable_Get (ARC_Hashtable *htable, void *key, size_t keysize, void **data)
 gets value from hashtable by key
 
void ARC_Hashtable_Remove (ARC_Hashtable *htable, void *key, size_t keysize, ARC_HashtableNode_DestroyExternal external, void *userdata)
 removes value from hashtable
 
-

Function Documentation

- -

◆ ARC_Default_Key_Compare()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
int8_t ARC_Default_Key_Compare (void * key1,
size_t * key1size,
void * key2,
size_t * key2size )
-
- -

Definition at line 30 of file hashtable.c.

-
30 {
-
31 return key1 == key2;
-
32}
-
-

Referenced by ARC_Hashtable_Create().

- -
-
- -

◆ ARC_Hashtable_Add()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Hashtable_Add (ARC_Hashtable * htable,
void * key,
size_t keysize,
void * data )
-
- -

adds value to hastable

-
Parameters
- - - - - -
htableARC_Hashtable to add to
keykey for node that is being added
keysizesizeof key before it is passed into a void *
datadata for node that is being added
-
-
- -

Definition at line 75 of file hashtable.c.

-
75 {
-
76 uint32_t size = 0;
-
77 htable->hash(key, &keysize, &size);
-
78
-
79 ARC_HashtableNode *bucket = htable->nodes[size % htable->size];
-
80 if(!bucket){
-
81 ARC_HashtableNode_Create(&bucket, key, &keysize, data);
-
82 htable->nodes[size % htable->size] = bucket;
-
83 return;
-
84 }
-
85
-
86 if(!htable->compare(bucket->key, &bucket->keysize, key, &keysize)){
- -
88 return;
-
89 }
-
90
-
91 while(bucket->node){
-
92 if(!htable->compare(bucket->node->key, &bucket->node->keysize, key, &keysize)){
- -
94 return;
-
95 }
-
96
-
97 bucket = bucket->node;
-
98 }
-
99
-
100 ARC_HashtableNode_Create(&(bucket->node), key, &keysize, data);
-
101}
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_EXISTS
Definition errno.h:9
-
void ARC_HashtableNode_Create(ARC_HashtableNode **node, void *key, size_t *keysize, void *data)
Definition hashtable.c:34
- - -
ARC_HashtableNode * node
Definition hashtable.h:25
- -
ARC_Hashtable_Hash hash
Definition hashtable.c:10
-
ARC_HashtableNode ** nodes
Definition hashtable.c:9
-
uint32_t size
Definition hashtable.c:8
-
ARC_Hashtable_KeyCompare compare
Definition hashtable.c:11
-
-

References arc_errno, ARC_ERRNO_EXISTS, ARC_HashtableNode_Create(), ARC_Hashtable::compare, ARC_Hashtable::hash, ARC_HashtableNode::key, ARC_HashtableNode::keysize, ARC_HashtableNode::node, ARC_Hashtable::nodes, and ARC_Hashtable::size.

- -

Referenced by ARC_Config_AddKey(), ARC_Config_AddKeyCString(), ARC_Config_CreateGroup(), and ARC_Config_LoadFromKey().

- -
-
- -

◆ ARC_Hashtable_Create()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Hashtable_Create (ARC_Hashtable ** htable,
uint32_t bucketsize,
ARC_Hashtable_Hash hash,
ARC_Hashtable_KeyCompare compare )
-
- -

cteates ARC_Hashtable type

-
Parameters
- - - - - -
htablewhere to store data
bucketsizenum of nodes to create in inital table
hashhashing function to be used, if set to NULL, CRC32 will be used
comparecomparison functon for checking keys, if set to NULL, addresses will be compared
-
-
- -

Definition at line 56 of file hashtable.c.

-
56 {
-
57 *htable = (ARC_Hashtable *) malloc(sizeof(ARC_Hashtable));
-
58 (*htable)->size = bucketsize;
-
59 (*htable)->nodes = (ARC_HashtableNode **) calloc(bucketsize, sizeof(ARC_HashtableNode *));
-
60 (*htable)->hash = (hash)? hash : CRC32;
-
61 (*htable)->compare = (compare)? compare : ARC_Default_Key_Compare;
-
62}
-
int8_t ARC_Default_Key_Compare(void *key1, size_t *key1size, void *key2, size_t *key2size)
Definition hashtable.c:30
-
void CRC32(void *key, size_t *keysize, uint32_t *hashval)
Definition hashtable.c:14
- -
-

References ARC_Default_Key_Compare(), CRC32(), and ARC_Hashtable::size.

- -

Referenced by ARC_Config_Create(), and ARC_Config_CreateGroup().

- -
-
- -

◆ ARC_Hashtable_Destroy()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Hashtable_Destroy (ARC_Hashtable * htable,
ARC_HashtableNode_DestroyExternal external,
void * userdata )
-
- -

destroys ARC_Hashtable type

-
Parameters
- - - - -
htablehtable that will be destroyed
externalfunction to allow external freeing of nodes, can be NULL
userdataany data the user wants access to in the callback
-
-
- -

Definition at line 64 of file hashtable.c.

-
64 {
-
65 for(uint32_t i = 0; i < htable->size; i++){
-
66 if(htable->nodes[i]){
-
67 ARC_HashtableNode_Destroy(htable->nodes[i], external, userdata);
-
68 }
-
69 }
-
70
-
71 free(htable->nodes);
-
72 free(htable);
-
73}
-
void ARC_HashtableNode_Destroy(ARC_HashtableNode *node, ARC_HashtableNode_DestroyExternal external, void *userdata)
Definition hashtable.c:42
-
-

References ARC_HashtableNode_Destroy(), ARC_Hashtable::nodes, and ARC_Hashtable::size.

- -

Referenced by ARC_Config_Destroy(), and ARC_Config_DestroyGroup().

- -
-
- -

◆ ARC_Hashtable_Get()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Hashtable_Get (ARC_Hashtable * htable,
void * key,
size_t keysize,
void ** data )
-
- -

gets value from hashtable by key

-
Parameters
- - - - - -
htabletable to get value from
keykey to get value from table
keysizesizeof key before it is passed into a void *
datadata retrieved from table
-
-
- -

Definition at line 103 of file hashtable.c.

-
103 {
-
104 uint32_t size = 0;
-
105 htable->hash(key, &keysize, &size);
-
106
-
107 ARC_HashtableNode *bucket = htable->nodes[size % htable->size];
-
108 if(!bucket){
-
109 *data = NULL;
- -
111 return;
-
112 }
-
113
-
114 if(!htable->compare(bucket->key, &bucket->keysize, key, &keysize)){
-
115 *data = bucket->data;
-
116 return;
-
117 }
-
118
-
119 while(bucket->node){
-
120 if(!htable->compare(bucket->node->key, &bucket->node->keysize, key, &keysize)){
-
121 *data = bucket->node->data;
-
122 return;
-
123 }
-
124
-
125 bucket = bucket->node;
-
126 }
-
127
- -
129}
-
#define ARC_ERRNO_NULL
Definition errno.h:6
- -
-

References arc_errno, ARC_ERRNO_NULL, ARC_Hashtable::compare, ARC_HashtableNode::data, ARC_Hashtable::hash, ARC_HashtableNode::key, ARC_HashtableNode::keysize, ARC_HashtableNode::node, ARC_Hashtable::nodes, and ARC_Hashtable::size.

- -

Referenced by ARC_Config_Get(), ARC_Config_LoadFromKey(), and ARC_Config_SetGroup().

- -
-
- -

◆ ARC_Hashtable_Remove()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
void ARC_Hashtable_Remove (ARC_Hashtable * htable,
void * key,
size_t keysize,
ARC_HashtableNode_DestroyExternal external,
void * userdata )
-
- -

removes value from hashtable

-
Parameters
- - - - - - -
htableARC_Hashtable to remove from
keykey of data to remove from hash table
keysizesizeof key before it is passed into a void *
externalfunction to allow external freeing of data, can be NULL
userdataany data the user wants access to in the callback
-
-
- -

Definition at line 131 of file hashtable.c.

-
131 {
-
132 uint32_t size = 0;
-
133 htable->hash(key, &keysize, &size);
-
134
-
135 ARC_HashtableNode *bucket = htable->nodes[size % htable->size];
-
136 if(!bucket){
- -
138 return;
-
139 }
-
140
-
141 if(!htable->compare(bucket->key, &bucket->keysize, key, &keysize)){
-
142 ARC_HashtableNode *temp = bucket;
-
143 htable->nodes[size % htable->size] = bucket->node;
-
144
-
145 if(external){
-
146 external(temp, userdata);
-
147 }
-
148
-
149 free(temp);
-
150 return;
-
151 }
-
152
-
153 while(bucket->node){
-
154 if(!htable->compare(bucket->node->key, &bucket->node->keysize, key, &keysize)){
-
155 ARC_HashtableNode *temp = bucket->node;
-
156 bucket->node = bucket->node->node;
-
157
-
158 if(external){
-
159 external(temp, userdata);
-
160 }
-
161
-
162 free(temp);
-
163 return;
-
164 }
-
165
-
166 bucket = bucket->node;
-
167 }
-
168
- -
170}
-
-

References arc_errno, ARC_ERRNO_NULL, ARC_Hashtable::compare, ARC_Hashtable::hash, ARC_HashtableNode::key, ARC_HashtableNode::keysize, ARC_HashtableNode::node, ARC_Hashtable::nodes, and ARC_Hashtable::size.

- -

Referenced by ARC_Config_UnloadFromKey().

- -
-
- -

◆ ARC_HashtableNode_Create()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_HashtableNode_Create (ARC_HashtableNode ** node,
void * key,
size_t * keysize,
void * data )
-
- -

Definition at line 34 of file hashtable.c.

-
34 {
-
35 *node = (ARC_HashtableNode *) malloc(sizeof(ARC_HashtableNode));
-
36 (*node)->key = key;
-
37 (*node)->keysize = *keysize;
-
38 (*node)->data = data;
-
39 (*node)->node = NULL;
-
40}
-
-

References ARC_HashtableNode::key.

- -

Referenced by ARC_Hashtable_Add().

- -
-
- -

◆ ARC_HashtableNode_Destroy()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_HashtableNode_Destroy (ARC_HashtableNode * node,
ARC_HashtableNode_DestroyExternal external,
void * userdata )
-
- -

Definition at line 42 of file hashtable.c.

-
42 {
-
43 if(node == NULL){
-
44 return;
-
45 }
-
46
-
47 ARC_HashtableNode_Destroy(node->node, external, userdata);
-
48
-
49 if(external){
-
50 external(node, userdata);
-
51 }
-
52
-
53 free(node);
-
54}
-
-

References ARC_HashtableNode_Destroy(), and ARC_HashtableNode::node.

- -

Referenced by ARC_Hashtable_Destroy(), and ARC_HashtableNode_Destroy().

- -
-
- -

◆ CRC32()

- -
-
- - - - - - - - - - - - - - - - -
void CRC32 (void * key,
size_t * keysize,
uint32_t * hashval )
-
- -

Definition at line 14 of file hashtable.c.

-
14 {
-
15 *hashval = 0xffffffff;
-
16
-
17 for(size_t i = 0; i < *keysize; i++){
-
18 uint8_t value = *(((uint8_t *)key) + i);
-
19 for(uint8_t j = 0; j < 8; j++){
-
20 uint8_t flag = (uint8_t)((value ^ *hashval) & 1);
-
21 *hashval >>= 1;
-
22 if(flag){ *hashval ^= 0xEDB888320; }
-
23 value >>= 1;
-
24 }
-
25 }
-
26
-
27 *hashval = ~*hashval;
-
28}
-
-

Referenced by ARC_Hashtable_Create().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/de9/hashtable_8c.js b/doc/doxygen/html/d8/de9/hashtable_8c.js deleted file mode 100644 index 46bb0d7..0000000 --- a/doc/doxygen/html/d8/de9/hashtable_8c.js +++ /dev/null @@ -1,13 +0,0 @@ -var hashtable_8c = -[ - [ "ARC_Hashtable", "dd/d28/structARC__Hashtable.html", "dd/d28/structARC__Hashtable" ], - [ "ARC_Default_Key_Compare", "d8/de9/hashtable_8c.html#aa6b2fe8bce7e2ababffc71408620dc7f", null ], - [ "ARC_Hashtable_Add", "d8/de9/hashtable_8c.html#a9d553810bcb7caa21440051cdf47ad15", null ], - [ "ARC_Hashtable_Create", "d8/de9/hashtable_8c.html#a689d5747f40e4c0bf13dd2d11e4621dc", null ], - [ "ARC_Hashtable_Destroy", "d8/de9/hashtable_8c.html#a2da411a96340d3afe367bc96c54d2129", null ], - [ "ARC_Hashtable_Get", "d8/de9/hashtable_8c.html#a57fb5725f7a794bee195258e080aeeff", null ], - [ "ARC_Hashtable_Remove", "d8/de9/hashtable_8c.html#a93cc865ebc341244e20ee634aa6c7004", null ], - [ "ARC_HashtableNode_Create", "d8/de9/hashtable_8c.html#a19545d87ef6afba43d1a08d1ed17c981", null ], - [ "ARC_HashtableNode_Destroy", "d8/de9/hashtable_8c.html#a3d0df1507494579dfc22f52c79b37225", null ], - [ "CRC32", "d8/de9/hashtable_8c.html#af99ebd945963faf2afc5510e7a19e4c0", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d8/de9/hashtable_8c_source.html b/doc/doxygen/html/d8/de9/hashtable_8c_source.html deleted file mode 100644 index 3642e58..0000000 --- a/doc/doxygen/html/d8/de9/hashtable_8c_source.html +++ /dev/null @@ -1,345 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/hashtable.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
hashtable.c
-
-
-Go to the documentation of this file.
1#include "arc/std/hashtable.h"
-
2
-
3#include "arc/std/errno.h"
-
4#include <stdlib.h>
-
5#include <stdio.h>
-
6
- -
13
-
-
14void CRC32(void *key, size_t *keysize, uint32_t *hashval){
-
15 *hashval = 0xffffffff;
-
16
-
17 for(size_t i = 0; i < *keysize; i++){
-
18 uint8_t value = *(((uint8_t *)key) + i);
-
19 for(uint8_t j = 0; j < 8; j++){
-
20 uint8_t flag = (uint8_t)((value ^ *hashval) & 1);
-
21 *hashval >>= 1;
-
22 if(flag){ *hashval ^= 0xEDB888320; }
-
23 value >>= 1;
-
24 }
-
25 }
-
26
-
27 *hashval = ~*hashval;
-
28}
-
-
29
-
-
30int8_t ARC_Default_Key_Compare(void *key1, size_t *key1size, void *key2, size_t *key2size){
-
31 return key1 == key2;
-
32}
-
-
33
-
-
34void ARC_HashtableNode_Create(ARC_HashtableNode **node, void *key, size_t *keysize, void *data){
-
35 *node = (ARC_HashtableNode *) malloc(sizeof(ARC_HashtableNode));
-
36 (*node)->key = key;
-
37 (*node)->keysize = *keysize;
-
38 (*node)->data = data;
-
39 (*node)->node = NULL;
-
40}
-
-
41
-
- -
43 if(node == NULL){
-
44 return;
-
45 }
-
46
-
47 ARC_HashtableNode_Destroy(node->node, external, userdata);
-
48
-
49 if(external){
-
50 external(node, userdata);
-
51 }
-
52
-
53 free(node);
-
54}
-
-
55
-
-
56void ARC_Hashtable_Create(ARC_Hashtable **htable, uint32_t bucketsize, ARC_Hashtable_Hash hash, ARC_Hashtable_KeyCompare compare){
-
57 *htable = (ARC_Hashtable *) malloc(sizeof(ARC_Hashtable));
-
58 (*htable)->size = bucketsize;
-
59 (*htable)->nodes = (ARC_HashtableNode **) calloc(bucketsize, sizeof(ARC_HashtableNode *));
-
60 (*htable)->hash = (hash)? hash : CRC32;
-
61 (*htable)->compare = (compare)? compare : ARC_Default_Key_Compare;
-
62}
-
-
63
-
- -
65 for(uint32_t i = 0; i < htable->size; i++){
-
66 if(htable->nodes[i]){
-
67 ARC_HashtableNode_Destroy(htable->nodes[i], external, userdata);
-
68 }
-
69 }
-
70
-
71 free(htable->nodes);
-
72 free(htable);
-
73}
-
-
74
-
-
75void ARC_Hashtable_Add(ARC_Hashtable *htable, void *key, size_t keysize, void *data){
-
76 uint32_t size = 0;
-
77 htable->hash(key, &keysize, &size);
-
78
-
79 ARC_HashtableNode *bucket = htable->nodes[size % htable->size];
-
80 if(!bucket){
-
81 ARC_HashtableNode_Create(&bucket, key, &keysize, data);
-
82 htable->nodes[size % htable->size] = bucket;
-
83 return;
-
84 }
-
85
-
86 if(!htable->compare(bucket->key, &bucket->keysize, key, &keysize)){
- -
88 return;
-
89 }
-
90
-
91 while(bucket->node){
-
92 if(!htable->compare(bucket->node->key, &bucket->node->keysize, key, &keysize)){
- -
94 return;
-
95 }
-
96
-
97 bucket = bucket->node;
-
98 }
-
99
-
100 ARC_HashtableNode_Create(&(bucket->node), key, &keysize, data);
-
101}
-
-
102
-
-
103void ARC_Hashtable_Get(ARC_Hashtable *htable, void *key, size_t keysize, void **data){
-
104 uint32_t size = 0;
-
105 htable->hash(key, &keysize, &size);
-
106
-
107 ARC_HashtableNode *bucket = htable->nodes[size % htable->size];
-
108 if(!bucket){
-
109 *data = NULL;
- -
111 return;
-
112 }
-
113
-
114 if(!htable->compare(bucket->key, &bucket->keysize, key, &keysize)){
-
115 *data = bucket->data;
-
116 return;
-
117 }
-
118
-
119 while(bucket->node){
-
120 if(!htable->compare(bucket->node->key, &bucket->node->keysize, key, &keysize)){
-
121 *data = bucket->node->data;
-
122 return;
-
123 }
-
124
-
125 bucket = bucket->node;
-
126 }
-
127
- -
129}
-
-
130
-
-
131void ARC_Hashtable_Remove(ARC_Hashtable *htable, void *key, size_t keysize, ARC_HashtableNode_DestroyExternal external, void *userdata){
-
132 uint32_t size = 0;
-
133 htable->hash(key, &keysize, &size);
-
134
-
135 ARC_HashtableNode *bucket = htable->nodes[size % htable->size];
-
136 if(!bucket){
- -
138 return;
-
139 }
-
140
-
141 if(!htable->compare(bucket->key, &bucket->keysize, key, &keysize)){
-
142 ARC_HashtableNode *temp = bucket;
-
143 htable->nodes[size % htable->size] = bucket->node;
-
144
-
145 if(external){
-
146 external(temp, userdata);
-
147 }
-
148
-
149 free(temp);
-
150 return;
-
151 }
-
152
-
153 while(bucket->node){
-
154 if(!htable->compare(bucket->node->key, &bucket->node->keysize, key, &keysize)){
-
155 ARC_HashtableNode *temp = bucket->node;
-
156 bucket->node = bucket->node->node;
-
157
-
158 if(external){
-
159 external(temp, userdata);
-
160 }
-
161
-
162 free(temp);
-
163 return;
-
164 }
-
165
-
166 bucket = bucket->node;
-
167 }
-
168
- -
170}
-
- -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_EXISTS
Definition errno.h:9
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
void ARC_HashtableNode_Create(ARC_HashtableNode **node, void *key, size_t *keysize, void *data)
Definition hashtable.c:34
-
void ARC_Hashtable_Destroy(ARC_Hashtable *htable, ARC_HashtableNode_DestroyExternal external, void *userdata)
destroys ARC_Hashtable type
Definition hashtable.c:64
-
void ARC_HashtableNode_Destroy(ARC_HashtableNode *node, ARC_HashtableNode_DestroyExternal external, void *userdata)
Definition hashtable.c:42
-
void ARC_Hashtable_Get(ARC_Hashtable *htable, void *key, size_t keysize, void **data)
gets value from hashtable by key
Definition hashtable.c:103
-
void ARC_Hashtable_Create(ARC_Hashtable **htable, uint32_t bucketsize, ARC_Hashtable_Hash hash, ARC_Hashtable_KeyCompare compare)
cteates ARC_Hashtable type
Definition hashtable.c:56
-
void ARC_Hashtable_Remove(ARC_Hashtable *htable, void *key, size_t keysize, ARC_HashtableNode_DestroyExternal external, void *userdata)
removes value from hashtable
Definition hashtable.c:131
-
void ARC_Hashtable_Add(ARC_Hashtable *htable, void *key, size_t keysize, void *data)
adds value to hastable
Definition hashtable.c:75
-
int8_t ARC_Default_Key_Compare(void *key1, size_t *key1size, void *key2, size_t *key2size)
Definition hashtable.c:30
-
void CRC32(void *key, size_t *keysize, uint32_t *hashval)
Definition hashtable.c:14
- -
int8_t(* ARC_Hashtable_KeyCompare)(void *key1, size_t *key1size, void *key2, size_t *key2size)
key comparison function ptr
Definition hashtable.h:45
-
void(* ARC_HashtableNode_DestroyExternal)(ARC_HashtableNode *node, void *userdata)
callback to allow memory freeing of nodes
Definition hashtable.h:53
-
void(* ARC_Hashtable_Hash)(void *key, size_t *keysize, uint32_t *hashval)
a hashing function ptr
Definition hashtable.h:35
- - -
ARC_HashtableNode * node
Definition hashtable.h:25
- - - -
ARC_Hashtable_Hash hash
Definition hashtable.c:10
-
ARC_HashtableNode ** nodes
Definition hashtable.c:9
-
uint32_t size
Definition hashtable.c:8
-
ARC_Hashtable_KeyCompare compare
Definition hashtable.c:11
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/dec/math_2config_8h.html b/doc/doxygen/html/d8/dec/math_2config_8h.html deleted file mode 100644 index a671f4b..0000000 --- a/doc/doxygen/html/d8/dec/math_2config_8h.html +++ /dev/null @@ -1,326 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/math/config.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
config.h File Reference
-
-
-
#include <stdint.h>
-#include "arc/std/string.h"
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - -

-Functions

void ARC_MathConfig_Init (ARC_Config *config)
 
uint8_t ARC_Point_Read (ARC_Config *config, ARC_String *string, void **value)
 
uint8_t ARC_Rect_Read (ARC_Config *config, ARC_String *string, void **value)
 
uint8_t ARC_RectArray_Read (ARC_Config *config, ARC_String *string, void **value)
 
void ARC_Point_Delete (ARC_Config *config, ARC_String *string, void *value)
 
void ARC_Rect_Delete (ARC_Config *config, ARC_String *string, void *value)
 
void ARC_RectArray_Delete (ARC_Config *config, ARC_String *string, void *value)
 
-

Function Documentation

- -

◆ ARC_MathConfig_Init()

- -
-
- - - - - - - -
void ARC_MathConfig_Init (ARC_Config * config)
-
- -
-
- -

◆ ARC_Point_Delete()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Point_Delete (ARC_Config * config,
ARC_String * string,
void * value )
-
- -
-
- -

◆ ARC_Point_Read()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_Point_Read (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -
-
- -

◆ ARC_Rect_Delete()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Rect_Delete (ARC_Config * config,
ARC_String * string,
void * value )
-
- -
-
- -

◆ ARC_Rect_Read()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_Rect_Read (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -
-
- -

◆ ARC_RectArray_Delete()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_RectArray_Delete (ARC_Config * config,
ARC_String * string,
void * value )
-
- -
-
- -

◆ ARC_RectArray_Read()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_RectArray_Read (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/dec/math_2config_8h.js b/doc/doxygen/html/d8/dec/math_2config_8h.js deleted file mode 100644 index 0dc8c1e..0000000 --- a/doc/doxygen/html/d8/dec/math_2config_8h.js +++ /dev/null @@ -1,10 +0,0 @@ -var math_2config_8h = -[ - [ "ARC_MathConfig_Init", "d8/dec/math_2config_8h.html#a12f2d47aa2105350319de4e055b20277", null ], - [ "ARC_Point_Delete", "d8/dec/math_2config_8h.html#ad13aa1159a8582aeb83d15945d1e5e74", null ], - [ "ARC_Point_Read", "d8/dec/math_2config_8h.html#a2e97769e1aa3fc24a25b5dd4dc7fc641", null ], - [ "ARC_Rect_Delete", "d8/dec/math_2config_8h.html#a6d7312208f5682f3a192babb111ca69f", null ], - [ "ARC_Rect_Read", "d8/dec/math_2config_8h.html#af38ac2494f7efa68ebfc7ed682058fb6", null ], - [ "ARC_RectArray_Delete", "d8/dec/math_2config_8h.html#a4abf90210167775903b4dcfa9c27e55b", null ], - [ "ARC_RectArray_Read", "d8/dec/math_2config_8h.html#a82205ff4afb8ca851cb0e8d0ad28c25f", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d8/dec/math_2config_8h_source.html b/doc/doxygen/html/d8/dec/math_2config_8h_source.html deleted file mode 100644 index 55bb1ef..0000000 --- a/doc/doxygen/html/d8/dec/math_2config_8h_source.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/math/config.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_MATH_CONFIG_H_
-
2#define ARC_MATH_CONFIG_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include <stdint.h>
-
9#include "arc/std/string.h"
-
10
-
11typedef struct ARC_Config ARC_Config;
- -
13
-
14uint8_t ARC_Point_Read (ARC_Config *config, ARC_String *string, void **value);
-
15uint8_t ARC_Rect_Read (ARC_Config *config, ARC_String *string, void **value);
-
16uint8_t ARC_RectArray_Read(ARC_Config *config, ARC_String *string, void **value);
-
17
-
18void ARC_Point_Delete (ARC_Config *config, ARC_String *string, void *value);
-
19void ARC_Rect_Delete (ARC_Config *config, ARC_String *string, void *value);
-
20void ARC_RectArray_Delete(ARC_Config *config, ARC_String *string, void *value);
-
21
-
22#ifdef __cplusplus
-
23}
-
24#endif
-
25
-
26#endif //ARC_MATH_CONFIG_H_
-
struct ARC_Config ARC_Config
a type that keeps permanice of data for when loading and unloading config files
Definition config.h:11
-
void ARC_MathConfig_Init(ARC_Config *config)
-
uint8_t ARC_Point_Read(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_RectArray_Delete(ARC_Config *config, ARC_String *string, void *value)
-
void ARC_Rect_Delete(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_RectArray_Read(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_Point_Delete(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_Rect_Read(ARC_Config *config, ARC_String *string, void **value)
- -
substring position within a string
Definition string.h:14
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/ded/tests_8dir_2src_2std_2string_8c_8o_8d.html b/doc/doxygen/html/d8/ded/tests_8dir_2src_2std_2string_8c_8o_8d.html deleted file mode 100644 index c0df139..0000000 --- a/doc/doxygen/html/d8/ded/tests_8dir_2src_2std_2string_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/string.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
string.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d8/ded/tests_8dir_2src_2std_2string_8c_8o_8d_source.html b/doc/doxygen/html/d8/ded/tests_8dir_2src_2std_2string_8c_8o_8d_source.html deleted file mode 100644 index 51c7421..0000000 --- a/doc/doxygen/html/d8/ded/tests_8dir_2src_2std_2string_8c_8o_8d_source.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/string.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
string.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/std/string.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/string.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h \
-
15 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
16 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
19 /usr/include/stdio.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
21 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
22 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
23 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
24 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
25 /usr/include/bits/types/cookie_io_functions_t.h \
-
26 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
27 /usr/include/bits/floatn-common.h /usr/include/string.h \
-
28 /usr/include/bits/types/locale_t.h /usr/include/bits/types/__locale_t.h \
-
29 /usr/include/strings.h /usr/include/stdlib.h \
-
30 /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
-
31 /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \
-
32 /usr/include/bits/types/clockid_t.h /usr/include/bits/types/time_t.h \
-
33 /usr/include/bits/types/timer_t.h /usr/include/endian.h \
-
34 /usr/include/bits/endian.h /usr/include/bits/endianness.h \
-
35 /usr/include/bits/byteswap.h /usr/include/bits/uintn-identity.h \
-
36 /usr/include/sys/select.h /usr/include/bits/select.h \
-
37 /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \
-
38 /usr/include/bits/types/struct_timeval.h \
-
39 /usr/include/bits/types/struct_timespec.h \
-
40 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
41 /usr/include/bits/pthreadtypes-arch.h \
-
42 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
43 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
44 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d8/dfc/tests_8dir_2src_2math_2circle_8c_8o_8d.html b/doc/doxygen/html/d8/dfc/tests_8dir_2src_2math_2circle_8c_8o_8d.html deleted file mode 100644 index 7019f18..0000000 --- a/doc/doxygen/html/d8/dfc/tests_8dir_2src_2math_2circle_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/math/circle.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
circle.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d8/dfc/tests_8dir_2src_2math_2circle_8c_8o_8d_source.html b/doc/doxygen/html/d8/dfc/tests_8dir_2src_2math_2circle_8c_8o_8d_source.html deleted file mode 100644 index 3ce8e62..0000000 --- a/doc/doxygen/html/d8/dfc/tests_8dir_2src_2math_2circle_8c_8o_8d_source.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/math/circle.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
circle.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/math/circle.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/math/circle.c \
-
3 /usr/include/stdc-predef.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d09/src_2math_2rectangle_8c.html b/doc/doxygen/html/d9/d09/src_2math_2rectangle_8c.html deleted file mode 100644 index ab1579d..0000000 --- a/doc/doxygen/html/d9/d09/src_2math_2rectangle_8c.html +++ /dev/null @@ -1,631 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/math/rectangle.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
rectangle.c File Reference
-
-
- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_Rect_CenterOn (ARC_Rect *rect, ARC_Rect *bounds)
 centers rect on given bounds
 
void ARC_FRect_CenterOn (ARC_FRect *rect, ARC_FRect *bounds)
 centers rect on given bounds
 
ARC_FRect ARC_Rect_CastToFRect (ARC_Rect *rect)
 casts Rect to FRect
 
ARC_Rect ARC_FRect_CastToRect (ARC_FRect *rect)
 casts FRect to Rect
 
int32_t ARC_Rect_Intersects (ARC_Rect *rect1, ARC_Rect *rect2)
 checks if two ARC_Rects intersect
 
int32_t ARC_FRect_Intersects (ARC_FRect *rect1, ARC_FRect *rect2)
 checks if two ARC_FRects intersect
 
int32_t ARC_Rect_IntersectsPoint (ARC_Rect *rect, ARC_Point *point)
 checks if ARC_Rect intersects with point
 
int32_t ARC_FRect_IntersectsPoint (ARC_FRect *rect, ARC_Point *point)
 checks if ARC_FRect intersects with point
 
int32_t ARC_Rect_LineIntersects (ARC_Rect *rect, int32_t *x1, int32_t *y1, int32_t *x2, int32_t *y2)
 checks if ARC_Rect intersects a line
 
void ARC_FRect_CollideAndSlide (ARC_FRect *rect, ARC_Vector2 *velocity, ARC_FRect *wall)
 checks for a ARC_Rect on ARC_Rect collision and slides on collision
 
-

Function Documentation

- -

◆ ARC_FRect_CastToRect()

- -
-
- - - - - - - -
ARC_Rect ARC_FRect_CastToRect (ARC_FRect * rect)
-
- -

casts FRect to Rect

-
Parameters
- - -
rectARC_FRect to be casted
-
-
-
Returns
ARC_Rect
- -

Definition at line 25 of file rectangle.c.

-
25 {
-
26 return (ARC_Rect){
-
27 .x = (int32_t)rect->x,
-
28 .y = (int32_t)rect->y,
-
29 .w = (int32_t)rect->w,
-
30 .h = (int32_t)rect->h,
-
31 };
-
32}
-
float y
Definition rectangle.h:28
-
float x
Definition rectangle.h:27
-
float w
Definition rectangle.h:29
-
float h
Definition rectangle.h:30
- -
-

References ARC_FRect::h, ARC_FRect::w, ARC_FRect::x, and ARC_FRect::y.

- -

Referenced by ARC_FRect_Render(), and ARC_FRect_RenderFill().

- -
-
- -

◆ ARC_FRect_CenterOn()

- -
-
- - - - - - - - - - - -
void ARC_FRect_CenterOn (ARC_FRect * rect,
ARC_FRect * bounds )
-
- -

centers rect on given bounds

-
Parameters
- - - -
rectARC_FRect to be centered
boundsARC_FRect area to center rect on
-
-
- -

Definition at line 11 of file rectangle.c.

-
11 {
-
12 rect->x = (bounds->x + (bounds->w / 2.0f)) - (rect->w / 2.0f);
-
13 rect->y = (bounds->y + (bounds->h / 2.0f)) - (rect->h / 2.0f);
-
14}
-
-

References ARC_FRect::h, ARC_FRect::w, ARC_FRect::x, and ARC_FRect::y.

- -
-
- -

◆ ARC_FRect_CollideAndSlide()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_FRect_CollideAndSlide (ARC_FRect * rect,
ARC_Vector2 * velocity,
ARC_FRect * wall )
-
- -

checks for a ARC_Rect on ARC_Rect collision and slides on collision

-
Note
need to update this documenation to word it better
-
Parameters
- - - - -
rectARC_Rect that might collide with the wall
velocitythe ammount ARC_Rect will move
wallARC_Rect that might have collision with rect
-
-
-
Note
velocity is updated based on colliding, rect's values are not changed, velocity should be applied after
- -

Definition at line 74 of file rectangle.c.

-
74 {
-
75 ARC_FRect nextRectPosition = {
-
76 .x = rect->x + velocity->x,
-
77 .y = rect->y + velocity->y,
-
78 .w = rect->w,
-
79 .h = rect->h
-
80 };
-
81
-
82 //there is no collision, return
-
83 if(!ARC_FRect_Intersects(&nextRectPosition, wall)){
-
84 return;
-
85 }
-
86
-
87 nextRectPosition.x = rect->x + velocity->x;
-
88 nextRectPosition.y = rect->y;
-
89 if(ARC_FRect_Intersects(&nextRectPosition, wall)){
-
90 velocity->x = 0;
-
91 }
-
92
-
93 nextRectPosition.x = rect->x;
-
94 nextRectPosition.y = rect->y + velocity->y;
-
95 if(ARC_FRect_Intersects(&nextRectPosition, wall)){
-
96 velocity->y = 0;
-
97 }
-
98}
-
int32_t ARC_FRect_Intersects(ARC_FRect *rect1, ARC_FRect *rect2)
checks if two ARC_FRects intersect
Definition rectangle.c:42
- -
float x
Definition vector2.h:9
-
float y
Definition vector2.h:9
-
-

References ARC_FRect_Intersects(), ARC_FRect::h, ARC_FRect::w, ARC_FRect::x, ARC_Vector2::x, ARC_FRect::y, and ARC_Vector2::y.

- -
-
- -

◆ ARC_FRect_Intersects()

- -
-
- - - - - - - - - - - -
int32_t ARC_FRect_Intersects (ARC_FRect * rect1,
ARC_FRect * rect2 )
-
- -

checks if two ARC_FRects intersect

-
Parameters
- - - -
rect1ARC_FRect that will be checked against rect2
rect2ARC_FRect that will be checked against rect1
-
-
-
Returns
1 if they intersect, 0 if they don't intersect
- -

Definition at line 42 of file rectangle.c.

-
42 {
-
43 if(rect1->x <= rect2->x + rect2->w && rect1->x + rect1->w >= rect2->x &&
-
44 rect1->y <= rect2->y + rect2->h && rect1->y + rect1->h >= rect2->y){
-
45 return 1;
-
46 }
-
47 return 0;
-
48}
-
-

References ARC_FRect::h, ARC_FRect::w, ARC_FRect::x, and ARC_FRect::y.

- -

Referenced by ARC_FRect_CollideAndSlide().

- -
-
- -

◆ ARC_FRect_IntersectsPoint()

- -
-
- - - - - - - - - - - -
int32_t ARC_FRect_IntersectsPoint (ARC_FRect * rect,
ARC_Point * point )
-
- -

checks if ARC_FRect intersects with point

-
Parameters
- - - -
rectARC_FRect that will be checked against point
pointARC_Point that will be checked against rect
-
-
-
Returns
1 if they intersect, 0 if they don't intersect
- -

Definition at line 58 of file rectangle.c.

-
58 {
-
59 if(rect->x <= point->x && rect->x + rect->w >= point->x &&
-
60 rect->y <= point->y && rect->y + rect->h >= point->y){
-
61 return 1;
-
62 }
-
63 return 0;
-
64}
-
int32_t y
Definition point.h:12
-
int32_t x
Definition point.h:11
-
-

References ARC_FRect::h, ARC_FRect::w, ARC_FRect::x, ARC_Point::x, ARC_FRect::y, and ARC_Point::y.

- -
-
- -

◆ ARC_Rect_CastToFRect()

- -
-
- - - - - - - -
ARC_FRect ARC_Rect_CastToFRect (ARC_Rect * rect)
-
- -

casts Rect to FRect

-
Parameters
- - -
rectARC_Rect to be casted
-
-
-
Returns
ARC_FRect
- -

Definition at line 16 of file rectangle.c.

-
16 {
-
17 return (ARC_FRect){
-
18 .x = (float)rect->x,
-
19 .y = (float)rect->y,
-
20 .w = (float)rect->w,
-
21 .h = (float)rect->h,
-
22 };
-
23}
-
int32_t x
Definition rectangle.h:13
-
int32_t w
Definition rectangle.h:15
-
int32_t y
Definition rectangle.h:14
-
int32_t h
Definition rectangle.h:16
-
-

References ARC_Rect::h, ARC_Rect::w, ARC_Rect::x, and ARC_Rect::y.

- -
-
- -

◆ ARC_Rect_CenterOn()

- -
-
- - - - - - - - - - - -
void ARC_Rect_CenterOn (ARC_Rect * rect,
ARC_Rect * bounds )
-
- -

centers rect on given bounds

-
Parameters
- - - -
rectARC_Rect to be centered
boundsARC_Rect area to center rect on
-
-
- -

Definition at line 6 of file rectangle.c.

-
6 {
-
7 rect->x = (bounds->x + (bounds->w / 2)) - (rect->w / 2);
-
8 rect->y = (bounds->y + (bounds->h / 2)) - (rect->h / 2);
-
9}
-
-

References ARC_Rect::h, ARC_Rect::w, ARC_Rect::x, and ARC_Rect::y.

- -
-
- -

◆ ARC_Rect_Intersects()

- -
-
- - - - - - - - - - - -
int32_t ARC_Rect_Intersects (ARC_Rect * rect1,
ARC_Rect * rect2 )
-
- -

checks if two ARC_Rects intersect

-
Parameters
- - - -
rect1ARC_Rect that will be checked against rect2
rect2ARC_Rect that will be checked against rect1
-
-
-
Returns
1 if they intersect, 0 if they don't intersect
- -

Definition at line 34 of file rectangle.c.

-
34 {
-
35 if(rect1->x <= rect2->x + rect2->w && rect1->x + rect1->w >= rect2->x &&
-
36 rect1->y <= rect2->y + rect2->h && rect1->y + rect1->h >= rect2->y){
-
37 return 1;
-
38 }
-
39 return 0;
-
40}
-
-

References ARC_Rect::h, ARC_Rect::w, ARC_Rect::x, and ARC_Rect::y.

- -
-
- -

◆ ARC_Rect_IntersectsPoint()

- -
-
- - - - - - - - - - - -
int32_t ARC_Rect_IntersectsPoint (ARC_Rect * rect,
ARC_Point * point )
-
- -

checks if ARC_Rect intersects with point

-
Parameters
- - - -
rectARC_Rect that will be checked against point
pointARC_Point that will be checked against rect
-
-
-
Returns
1 if they intersect, 0 if they don't intersect
- -

Definition at line 50 of file rectangle.c.

-
50 {
-
51 if(rect->x <= point->x && rect->x + rect->w >= point->x &&
-
52 rect->y <= point->y && rect->y + rect->h >= point->y){
-
53 return 1;
-
54 }
-
55 return 0;
-
56}
-
-

References ARC_Rect::h, ARC_Rect::w, ARC_Point::x, ARC_Rect::x, ARC_Point::y, and ARC_Rect::y.

- -
-
- -

◆ ARC_Rect_LineIntersects()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
int32_t ARC_Rect_LineIntersects (ARC_Rect * rect,
int32_t * x1,
int32_t * y1,
int32_t * x2,
int32_t * y2 )
-
- -

checks if ARC_Rect intersects a line

-
Note
need to update this documenation to word it better
-
Parameters
- - - - - - -
rectARC_Rect that will be checked against line
x1first point's x value
y1first point's y value
y2second point's x value
y2second point's y value
-
-
-
Returns
1 if they intersect, 0 if they don't intersect
- -

Definition at line 66 of file rectangle.c.

-
66 {
-
67 //TODO: Replace soon
-
68 // return SDL_IntersectRectAndLine((SDL_Rect *) rect, x1, y1, x2, y2);
-
69 return 1;
-
70}
-
-
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d09/src_2math_2rectangle_8c.js b/doc/doxygen/html/d9/d09/src_2math_2rectangle_8c.js deleted file mode 100644 index a90cc03..0000000 --- a/doc/doxygen/html/d9/d09/src_2math_2rectangle_8c.js +++ /dev/null @@ -1,13 +0,0 @@ -var src_2math_2rectangle_8c = -[ - [ "ARC_FRect_CastToRect", "d9/d09/src_2math_2rectangle_8c.html#a2716384cea95edfab47befa78b60fc00", null ], - [ "ARC_FRect_CenterOn", "d9/d09/src_2math_2rectangle_8c.html#ae1d122bd28d683c9cd4bde56859ef844", null ], - [ "ARC_FRect_CollideAndSlide", "d9/d09/src_2math_2rectangle_8c.html#a8d7a17b45e6a54a50df9b3930b3ace79", null ], - [ "ARC_FRect_Intersects", "d9/d09/src_2math_2rectangle_8c.html#ac3baf11e6f7624a21a553383176d6c6f", null ], - [ "ARC_FRect_IntersectsPoint", "d9/d09/src_2math_2rectangle_8c.html#a9ee5256187b0430f60a252ef7d6e331c", null ], - [ "ARC_Rect_CastToFRect", "d9/d09/src_2math_2rectangle_8c.html#a8e74551a0f97bd4fcaf3b1f6041d0cc5", null ], - [ "ARC_Rect_CenterOn", "d9/d09/src_2math_2rectangle_8c.html#a910c21230647ae28c55194d255bc8a7d", null ], - [ "ARC_Rect_Intersects", "d9/d09/src_2math_2rectangle_8c.html#a05c6b1799b44d3c011ea03510f05fab9", null ], - [ "ARC_Rect_IntersectsPoint", "d9/d09/src_2math_2rectangle_8c.html#aca466591cebea1e1d30f7c2d161f5f0f", null ], - [ "ARC_Rect_LineIntersects", "d9/d09/src_2math_2rectangle_8c.html#ae533a88317c303e0efa00f95887b419f", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d9/d09/src_2math_2rectangle_8c_source.html b/doc/doxygen/html/d9/d09/src_2math_2rectangle_8c_source.html deleted file mode 100644 index 6996248..0000000 --- a/doc/doxygen/html/d9/d09/src_2math_2rectangle_8c_source.html +++ /dev/null @@ -1,273 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/math/rectangle.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
rectangle.c
-
-
-Go to the documentation of this file.
-
2
-
3//VERY TEMP
-
4// #include <SDL.h>
-
5
-
-
6void ARC_Rect_CenterOn(ARC_Rect *rect, ARC_Rect *bounds){
-
7 rect->x = (bounds->x + (bounds->w / 2)) - (rect->w / 2);
-
8 rect->y = (bounds->y + (bounds->h / 2)) - (rect->h / 2);
-
9}
-
-
10
-
- -
12 rect->x = (bounds->x + (bounds->w / 2.0f)) - (rect->w / 2.0f);
-
13 rect->y = (bounds->y + (bounds->h / 2.0f)) - (rect->h / 2.0f);
-
14}
-
-
15
-
- -
17 return (ARC_FRect){
-
18 .x = (float)rect->x,
-
19 .y = (float)rect->y,
-
20 .w = (float)rect->w,
-
21 .h = (float)rect->h,
-
22 };
-
23}
-
-
24
-
- -
26 return (ARC_Rect){
-
27 .x = (int32_t)rect->x,
-
28 .y = (int32_t)rect->y,
-
29 .w = (int32_t)rect->w,
-
30 .h = (int32_t)rect->h,
-
31 };
-
32}
-
-
33
-
-
34int32_t ARC_Rect_Intersects(ARC_Rect *rect1, ARC_Rect *rect2){
-
35 if(rect1->x <= rect2->x + rect2->w && rect1->x + rect1->w >= rect2->x &&
-
36 rect1->y <= rect2->y + rect2->h && rect1->y + rect1->h >= rect2->y){
-
37 return 1;
-
38 }
-
39 return 0;
-
40}
-
-
41
-
- -
43 if(rect1->x <= rect2->x + rect2->w && rect1->x + rect1->w >= rect2->x &&
-
44 rect1->y <= rect2->y + rect2->h && rect1->y + rect1->h >= rect2->y){
-
45 return 1;
-
46 }
-
47 return 0;
-
48}
-
-
49
-
- -
51 if(rect->x <= point->x && rect->x + rect->w >= point->x &&
-
52 rect->y <= point->y && rect->y + rect->h >= point->y){
-
53 return 1;
-
54 }
-
55 return 0;
-
56}
-
-
57
-
- -
59 if(rect->x <= point->x && rect->x + rect->w >= point->x &&
-
60 rect->y <= point->y && rect->y + rect->h >= point->y){
-
61 return 1;
-
62 }
-
63 return 0;
-
64}
-
-
65
-
-
66int32_t ARC_Rect_LineIntersects(ARC_Rect *rect, int32_t *x1, int32_t *y1, int32_t *x2, int32_t *y2){
-
67 //TODO: Replace soon
-
68 // return SDL_IntersectRectAndLine((SDL_Rect *) rect, x1, y1, x2, y2);
-
69 return 1;
-
70}
-
-
71
-
72//TODO: position 1px away from colliding, so if velocity is greater than 2px it doesn't have weird gap spacing
-
73// might need to check diagnals as well, this is a rudamentry implementation
-
- -
75 ARC_FRect nextRectPosition = {
-
76 .x = rect->x + velocity->x,
-
77 .y = rect->y + velocity->y,
-
78 .w = rect->w,
-
79 .h = rect->h
-
80 };
-
81
-
82 //there is no collision, return
-
83 if(!ARC_FRect_Intersects(&nextRectPosition, wall)){
-
84 return;
-
85 }
-
86
-
87 nextRectPosition.x = rect->x + velocity->x;
-
88 nextRectPosition.y = rect->y;
-
89 if(ARC_FRect_Intersects(&nextRectPosition, wall)){
-
90 velocity->x = 0;
-
91 }
-
92
-
93 nextRectPosition.x = rect->x;
-
94 nextRectPosition.y = rect->y + velocity->y;
-
95 if(ARC_FRect_Intersects(&nextRectPosition, wall)){
-
96 velocity->y = 0;
-
97 }
-
98}
-
- -
ARC_Rect ARC_FRect_CastToRect(ARC_FRect *rect)
casts FRect to Rect
Definition rectangle.c:25
-
int32_t ARC_Rect_Intersects(ARC_Rect *rect1, ARC_Rect *rect2)
checks if two ARC_Rects intersect
Definition rectangle.c:34
-
void ARC_FRect_CollideAndSlide(ARC_FRect *rect, ARC_Vector2 *velocity, ARC_FRect *wall)
checks for a ARC_Rect on ARC_Rect collision and slides on collision
Definition rectangle.c:74
-
ARC_FRect ARC_Rect_CastToFRect(ARC_Rect *rect)
casts Rect to FRect
Definition rectangle.c:16
-
void ARC_Rect_CenterOn(ARC_Rect *rect, ARC_Rect *bounds)
centers rect on given bounds
Definition rectangle.c:6
-
int32_t ARC_FRect_IntersectsPoint(ARC_FRect *rect, ARC_Point *point)
checks if ARC_FRect intersects with point
Definition rectangle.c:58
-
int32_t ARC_FRect_Intersects(ARC_FRect *rect1, ARC_FRect *rect2)
checks if two ARC_FRects intersect
Definition rectangle.c:42
-
int32_t ARC_Rect_IntersectsPoint(ARC_Rect *rect, ARC_Point *point)
checks if ARC_Rect intersects with point
Definition rectangle.c:50
-
void ARC_FRect_CenterOn(ARC_FRect *rect, ARC_FRect *bounds)
centers rect on given bounds
Definition rectangle.c:11
-
int32_t ARC_Rect_LineIntersects(ARC_Rect *rect, int32_t *x1, int32_t *y1, int32_t *x2, int32_t *y2)
checks if ARC_Rect intersects a line
Definition rectangle.c:66
- -
float y
Definition rectangle.h:28
-
float x
Definition rectangle.h:27
-
float w
Definition rectangle.h:29
-
float h
Definition rectangle.h:30
- -
int32_t y
Definition point.h:12
-
int32_t x
Definition point.h:11
- -
int32_t x
Definition rectangle.h:13
-
int32_t w
Definition rectangle.h:15
-
int32_t y
Definition rectangle.h:14
-
int32_t h
Definition rectangle.h:16
- -
float x
Definition vector2.h:9
-
float y
Definition vector2.h:9
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d0a/archeus__std_8dir_2src_2std_2stack_8c_8o_8d.html b/doc/doxygen/html/d9/d0a/archeus__std_8dir_2src_2std_2stack_8c_8o_8d.html deleted file mode 100644 index 78b8646..0000000 --- a/doc/doxygen/html/d9/d0a/archeus__std_8dir_2src_2std_2stack_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/stack.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
stack.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d9/d0a/archeus__std_8dir_2src_2std_2stack_8c_8o_8d_source.html b/doc/doxygen/html/d9/d0a/archeus__std_8dir_2src_2std_2stack_8c_8o_8d_source.html deleted file mode 100644 index 64d2930..0000000 --- a/doc/doxygen/html/d9/d0a/archeus__std_8dir_2src_2std_2stack_8c_8o_8d_source.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/stack.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
stack.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/std/stack.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/stack.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/stack.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h \
-
15 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
16 /usr/include/stdio.h \
-
17 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
18 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
19 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
20 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
21 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
22 /usr/include/bits/types/cookie_io_functions_t.h \
-
23 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
24 /usr/include/bits/floatn-common.h /usr/include/stdlib.h \
-
25 /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
-
26 /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \
-
27 /usr/include/bits/types/clockid_t.h /usr/include/bits/types/time_t.h \
-
28 /usr/include/bits/types/timer_t.h /usr/include/endian.h \
-
29 /usr/include/bits/endian.h /usr/include/bits/endianness.h \
-
30 /usr/include/bits/byteswap.h /usr/include/bits/uintn-identity.h \
-
31 /usr/include/sys/select.h /usr/include/bits/select.h \
-
32 /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \
-
33 /usr/include/bits/types/struct_timeval.h \
-
34 /usr/include/bits/types/struct_timespec.h \
-
35 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
36 /usr/include/bits/pthreadtypes-arch.h \
-
37 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
38 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
39 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d13/archeus__std_8dir_2src_2graphics_2line_8c_8o_8d.html b/doc/doxygen/html/d9/d13/archeus__std_8dir_2src_2graphics_2line_8c_8o_8d.html deleted file mode 100644 index 4f28162..0000000 --- a/doc/doxygen/html/d9/d13/archeus__std_8dir_2src_2graphics_2line_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/graphics/line.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
line.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d9/d13/archeus__std_8dir_2src_2graphics_2line_8c_8o_8d_source.html b/doc/doxygen/html/d9/d13/archeus__std_8dir_2src_2graphics_2line_8c_8o_8d_source.html deleted file mode 100644 index 3867c6c..0000000 --- a/doc/doxygen/html/d9/d13/archeus__std_8dir_2src_2graphics_2line_8c_8o_8d_source.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/graphics/line.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
line.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/graphics/line.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/graphics/line.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/graphics/line.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/graphics/color.h \
-
6 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
7 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
8 /usr/include/features.h /usr/include/features-time64.h \
-
9 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
10 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
11 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
12 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
13 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
14 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
15 /usr/include/bits/stdint-least.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/graphics/renderer.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/math/rectangle.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/math/vector2.h \
-
20 /usr/include/stdio.h \
-
21 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
22 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
23 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
24 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
25 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
26 /usr/include/bits/types/cookie_io_functions_t.h \
-
27 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
28 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d17/math_2circle_8h.html b/doc/doxygen/html/d9/d17/math_2circle_8h.html deleted file mode 100644 index 7d1668b..0000000 --- a/doc/doxygen/html/d9/d17/math_2circle_8h.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/math/circle.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
circle.h File Reference
-
-
-
#include <stdint.h>
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_Circle
 
- - - -

-Typedefs

typedef struct ARC_Circle ARC_Circle
 
-

Typedef Documentation

- -

◆ ARC_Circle

- -
-
- - - - -
typedef struct ARC_Circle ARC_Circle
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d17/math_2circle_8h.js b/doc/doxygen/html/d9/d17/math_2circle_8h.js deleted file mode 100644 index 8710b98..0000000 --- a/doc/doxygen/html/d9/d17/math_2circle_8h.js +++ /dev/null @@ -1,5 +0,0 @@ -var math_2circle_8h = -[ - [ "ARC_Circle", "db/d67/structARC__Circle.html", "db/d67/structARC__Circle" ], - [ "ARC_Circle", "d9/d17/math_2circle_8h.html#ac7f70d553e7beaab067969a99e7997e8", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d9/d17/math_2circle_8h_source.html b/doc/doxygen/html/d9/d17/math_2circle_8h_source.html deleted file mode 100644 index 6cc84c3..0000000 --- a/doc/doxygen/html/d9/d17/math_2circle_8h_source.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/math/circle.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
circle.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_MATH_CIRCLE_H_
-
2#define ARC_MATH_CIRCLE_H_
-
3
-
4#include <stdint.h>
-
5
-
6#ifdef __cplusplus
-
7extern "C" {
-
8#endif
-
9
-
-
10typedef struct ARC_Circle {
-
11 int32_t x;
-
12 int32_t y;
-
13 int32_t r;
- -
-
15
-
16#ifdef __cplusplus
-
17}
-
18#endif
-
19
-
20#endif // ARC_MATH_CIRCLE_H_
-
struct ARC_Circle ARC_Circle
- -
int32_t x
Definition circle.h:11
-
int32_t y
Definition circle.h:12
-
int32_t r
Definition circle.h:13
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d18/include_2arc_2graphics_2sprite_8h.html b/doc/doxygen/html/d9/d18/include_2arc_2graphics_2sprite_8h.html deleted file mode 100644 index 4e8d983..0000000 --- a/doc/doxygen/html/d9/d18/include_2arc_2graphics_2sprite_8h.html +++ /dev/null @@ -1,769 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/sprite.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
sprite.h File Reference
-
-
- -

Go to the source code of this file.

- - - - - - - -

-Typedefs

typedef struct ARC_Sprite ARC_Sprite
 a sprite type
 
typedef enum ARC_Sprite_Axis ARC_Sprite_Axix
 
- - - -

-Enumerations

enum  ARC_Sprite_Axis { ARC_SPRITE_AXIS_NONE = 0x00 -, ARC_SPRITE_AXIS_Y = 0x01 -, ARC_SPRITE_AXIS_X = 0x02 - }
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_Sprite_Create (ARC_Sprite **sprite, ARC_Spritesheet *spritesheet, ARC_Array *frames)
 creates ARC_Sprite type
 
void ARC_Sprite_Destroy (ARC_Sprite *sprite)
 destroys ARC_Sprite type
 
void ARC_Sprite_Copy (ARC_Sprite **newSprite, ARC_Sprite *oldSprite)
 copies ARC_Sprite to a new ARC_Sprite
 
void ARC_Sprite_SetOpacity (ARC_Sprite *sprite, uint8_t opacity)
 sets ARC_Sprite's opacity
 
void ARC_Sprite_Render (ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds)
 renders ARC_Sprite type
 
void ARC_Sprite_RenderFlip (ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, enum ARC_Sprite_Axis axis)
 renders ARC_Sprite type with flip
 
void ARC_Sprite_RenderRotated (ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, ARC_Point *center, double angle)
 renders ARC_Sprite type with rotation
 
void ARC_Sprite_SetFrameIndex (ARC_Sprite *sprite, uint32_t index)
 switches ARC_Sprite's frame to specified index
 
void ARC_Sprite_IterateFrame (ARC_Sprite *sprite)
 switches ARC_Sprite's frames to next for animation
 
uint32_t ARC_Sprite_GetFrameIndex (ARC_Sprite *sprite)
 gets ARC_Sprite's current frame
 
ARC_RectARC_Sprite_GetBounds (ARC_Sprite *sprite)
 returns the current bounds based on the ARC_Sprite's frames
 
ARC_ArrayARC_Sprite_GetAllBounds (ARC_Sprite *sprite)
 returns the array of bounds that a sprite has
 
-

Typedef Documentation

- -

◆ ARC_Sprite

- -
-
- - - - -
typedef struct ARC_Sprite ARC_Sprite
-
- -

a sprite type

-
Note
the actual type should be define by overriding for a graphics api
- -

Definition at line 19 of file sprite.h.

- -
-
- -

◆ ARC_Sprite_Axix

- -
-
- - - - -
typedef enum ARC_Sprite_Axis ARC_Sprite_Axix
-
- -
-
-

Enumeration Type Documentation

- -

◆ ARC_Sprite_Axis

- -
-
- - - - -
enum ARC_Sprite_Axis
-
- - - - -
Enumerator
ARC_SPRITE_AXIS_NONE 
ARC_SPRITE_AXIS_Y 
ARC_SPRITE_AXIS_X 
- -

Definition at line 67 of file sprite.h.

-
67 {
- -
69 ARC_SPRITE_AXIS_Y = 0x01,
-
70 ARC_SPRITE_AXIS_X = 0x02,
- -
@ ARC_SPRITE_AXIS_Y
Definition sprite.h:69
-
@ ARC_SPRITE_AXIS_NONE
Definition sprite.h:68
-
@ ARC_SPRITE_AXIS_X
Definition sprite.h:70
-
enum ARC_Sprite_Axis ARC_Sprite_Axix
-
-
-
-

Function Documentation

- -

◆ ARC_Sprite_Copy()

- -
-
- - - - - - - - - - - -
void ARC_Sprite_Copy (ARC_Sprite ** newSprite,
ARC_Sprite * oldSprite )
-
- -

copies ARC_Sprite to a new ARC_Sprite

-
Parameters
- - - -
newSpriteARC_Sprite that is being copied to and created
oldSpriteARC_Sprite contents that are being copied
-
-
- -

Definition at line 24 of file sprite.c.

-
24 {
-
25 *newSprite = (ARC_Sprite *)malloc(sizeof(ARC_Sprite));
-
26 (*newSprite)->spritesheet = oldSprite->spritesheet;
-
27 (*newSprite)->frames = oldSprite->frames;
-
28 (*newSprite)->frameIndex = (uint32_t *)malloc(sizeof(uint32_t));
-
29 *(*newSprite)->frameIndex = *oldSprite->frameIndex;
-
30}
- -
ARC_Spritesheet * spritesheet
Definition sprite.h:8
-
uint32_t * frameIndex
Definition sprite.h:10
-
ARC_Array * frames
Definition sprite.h:9
-
-

References ARC_Sprite::frameIndex, ARC_Sprite::frames, and ARC_Sprite::spritesheet.

- -
-
- -

◆ ARC_Sprite_Create()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Sprite_Create (ARC_Sprite ** sprite,
ARC_Spritesheet * spritesheet,
ARC_Array * frames )
-
- -

creates ARC_Sprite type

-
Parameters
- - - - -
spriteARC_Sprite that is being created
spritesheetARC_Spritesheet that ARC_Sprite will be pulled from
framesARC_Array of bounds of sprite on spritesheet
-
-
- -

Definition at line 11 of file sprite.c.

-
11 {
-
12 *sprite = (ARC_Sprite *)malloc(sizeof(ARC_Sprite));
-
13 (*sprite)->spritesheet = spritesheet;
-
14 (*sprite)->frames = frames;
-
15 (*sprite)->frameIndex = (uint32_t *)malloc(sizeof(uint32_t));
-
16 *(*sprite)->frameIndex = 0;
-
17 (*sprite)->opacity = 255;
-
18}
-
-

References ARC_Sprite::spritesheet.

- -

Referenced by ARC_Sprite_Read().

- -
-
- -

◆ ARC_Sprite_Destroy()

- -
-
- - - - - - - -
void ARC_Sprite_Destroy (ARC_Sprite * sprite)
-
- -

destroys ARC_Sprite type

-
Parameters
- - -
spriteARC_Sprite to destroy
-
-
- -

Definition at line 20 of file sprite.c.

-
20 {
-
21 free(sprite);
-
22}
-
-
-
- -

◆ ARC_Sprite_GetAllBounds()

- -
-
- - - - - - - -
ARC_Array * ARC_Sprite_GetAllBounds (ARC_Sprite * sprite)
-
- -

returns the array of bounds that a sprite has

-
Parameters
- - -
spriteARC_Sprite to get all the bounds from
-
-
- -

Definition at line 88 of file sprite.c.

-
88 {
-
89 return sprite->frames;
-
90}
-
-

References ARC_Sprite::frames.

- -
-
- -

◆ ARC_Sprite_GetBounds()

- -
-
- - - - - - - -
ARC_Rect * ARC_Sprite_GetBounds (ARC_Sprite * sprite)
-
- -

returns the current bounds based on the ARC_Sprite's frames

-
Parameters
- - -
spriteARC_Sprite to get bounds from
-
-
- -

Definition at line 84 of file sprite.c.

-
84 {
-
85 return (ARC_Rect *)sprite->frames->data + *sprite->frameIndex;
-
86}
-
void * data
Definition array.h:15
- -
-

References ARC_Array::data, ARC_Sprite::frameIndex, and ARC_Sprite::frames.

- -
-
- -

◆ ARC_Sprite_GetFrameIndex()

- -
-
- - - - - - - -
uint32_t ARC_Sprite_GetFrameIndex (ARC_Sprite * sprite)
-
- -

gets ARC_Sprite's current frame

-
Parameters
- - -
spriteARC_Sprite to get frame from
-
-
-
Returns
index ARC_Sprite's current frame index
- -

Definition at line 80 of file sprite.c.

-
80 {
-
81 return *sprite->frameIndex;
-
82}
-
-

References ARC_Sprite::frameIndex.

- -
-
- -

◆ ARC_Sprite_IterateFrame()

- -
-
- - - - - - - -
void ARC_Sprite_IterateFrame (ARC_Sprite * sprite)
-
- -

switches ARC_Sprite's frames to next for animation

-
Parameters
- - -
spriteARC_Sprite that is having its frame updated
-
-
- -

Definition at line 72 of file sprite.c.

-
72 {
-
73 ++*sprite->frameIndex;
-
74
-
75 if(*sprite->frameIndex == sprite->frames->size){
-
76 *sprite->frameIndex = 0;
-
77 }
-
78}
-
uint32_t size
Definition array.h:14
-
-

References ARC_Sprite::frameIndex, ARC_Sprite::frames, and ARC_Array::size.

- -
-
- -

◆ ARC_Sprite_Render()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Sprite_Render (ARC_Sprite * sprite,
ARC_Renderer * renderer,
ARC_Rect * renderBounds )
-
- -

renders ARC_Sprite type

-
Parameters
- - - - -
spriteARC_Sprite that will be rendered
rendererARC_Renderer that is handling rendering
renderBoundsarea of renderer that ARC_Sprite will be rendered to
-
-
- -

Definition at line 36 of file sprite.c.

-
36 {
-
37 //TODO: note, this is set here so not all entities in the sheet get opacity set
-
38 SDL_SetTextureAlphaMod((SDL_Texture *)sprite->spritesheet->texture, sprite->opacity);
-
39 SDL_RenderCopy((SDL_Renderer *)renderer, sprite->spritesheet->texture, (SDL_Rect *)sprite->frames->data + *sprite->frameIndex, (SDL_Rect *)renderBounds);
-
40}
-
uint8_t opacity
Definition sprite.h:12
-
SDL_Texture * texture
Definition spritesheet.h:8
-
-

References ARC_Array::data, ARC_Sprite::frameIndex, ARC_Sprite::frames, ARC_Sprite::opacity, ARC_Sprite::spritesheet, and ARC_Spritesheet::texture.

- -
-
- -

◆ ARC_Sprite_RenderFlip()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Sprite_RenderFlip (ARC_Sprite * sprite,
ARC_Renderer * renderer,
ARC_Rect * renderBounds,
enum ARC_Sprite_Axis axis )
-
- -

renders ARC_Sprite type with flip

-
Parameters
- - - - - -
spriteARC_Sprite that will be rendered
rendererARC_Renderer that is handling rendering
renderBoundsarea of renderer that ARC_Sprite will be rendered to
axisaxis to flip sprite
-
-
- -

Definition at line 42 of file sprite.c.

-
42 {
-
43 SDL_RendererFlip flip = SDL_FLIP_NONE;
-
44 if(axis & ARC_SPRITE_AXIS_X){
-
45 flip |= SDL_FLIP_HORIZONTAL;
-
46 }
-
47
-
48 if(axis & ARC_SPRITE_AXIS_Y){
-
49 flip |= SDL_FLIP_VERTICAL;
-
50 }
-
51
-
52 //TODO: note, this is set here so not all entities in the sheet get opacity set
-
53 SDL_SetTextureAlphaMod((SDL_Texture *)sprite->spritesheet->texture, sprite->opacity);
-
54 SDL_RenderCopyEx((SDL_Renderer *)renderer, sprite->spritesheet->texture, (SDL_Rect *)sprite->frames->data + *sprite->frameIndex, (SDL_Rect *)renderBounds, 0.0, NULL, flip);
-
55}
-
-

References ARC_SPRITE_AXIS_X, ARC_SPRITE_AXIS_Y, ARC_Array::data, ARC_Sprite::frameIndex, ARC_Sprite::frames, ARC_Sprite::opacity, ARC_Sprite::spritesheet, and ARC_Spritesheet::texture.

- -
-
- -

◆ ARC_Sprite_RenderRotated()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
void ARC_Sprite_RenderRotated (ARC_Sprite * sprite,
ARC_Renderer * renderer,
ARC_Rect * renderBounds,
ARC_Point * center,
double angle )
-
- -

renders ARC_Sprite type with rotation

-
Parameters
- - - - - - -
spriteARC_Sprite that will be rendered
rendererARC_Renderer that is handling rendering
renderBoundsarea of renderer that ARC_Sprite will be rendered to
angleangle to rotate ARC_Sprite
centerpoint to rotate ARC_Sprite around
-
-
- -

Definition at line 57 of file sprite.c.

-
57 {
-
58 //TODO: note, this is set here so not all entities in the sheet get opacity set
-
59 SDL_SetTextureAlphaMod((SDL_Texture *)sprite->spritesheet->texture, sprite->opacity);
-
60 SDL_RenderCopyEx((SDL_Renderer *)renderer, sprite->spritesheet->texture, (SDL_Rect *)sprite->frames->data + *sprite->frameIndex, (SDL_Rect *)renderBounds, angle, (SDL_Point *)center, SDL_FLIP_NONE);
-
61}
-
-

References ARC_Array::data, ARC_Sprite::frameIndex, ARC_Sprite::frames, ARC_Sprite::opacity, ARC_Sprite::spritesheet, and ARC_Spritesheet::texture.

- -
-
- -

◆ ARC_Sprite_SetFrameIndex()

- -
-
- - - - - - - - - - - -
void ARC_Sprite_SetFrameIndex (ARC_Sprite * sprite,
uint32_t index )
-
- -

switches ARC_Sprite's frame to specified index

-
Parameters
- - - -
spriteARC_Sprite that is having its frame set
indexuint32_t to set ARC_Sprite's frame index to
-
-
- -

Definition at line 63 of file sprite.c.

-
63 {
-
64 if(sprite->frames->size <= index){
- -
66 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_Sprite_SetFrameIndex(sprite, %d); index out of bounds", index);
-
67 return;
-
68 }
-
69 *sprite->frameIndex = index;
-
70}
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_ERRNO_DATA
Definition errno.h:7
-
-

References ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_DATA, ARC_Sprite::frameIndex, ARC_Sprite::frames, and ARC_Array::size.

- -
-
- -

◆ ARC_Sprite_SetOpacity()

- -
-
- - - - - - - - - - - -
void ARC_Sprite_SetOpacity (ARC_Sprite * sprite,
uint8_t opacity )
-
- -

sets ARC_Sprite's opacity

-
Parameters
- - - -
spriteARC_Sprite that is changing opacity
opacitynew opacity for ARC_Sprite
-
-
-
Note
this is temp because opacity probably should be a value bigger than 255
- -

Definition at line 32 of file sprite.c.

-
32 {
-
33 sprite->opacity = opacity;
-
34}
-
-

References ARC_Sprite::opacity.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d18/include_2arc_2graphics_2sprite_8h.js b/doc/doxygen/html/d9/d18/include_2arc_2graphics_2sprite_8h.js deleted file mode 100644 index deb38f3..0000000 --- a/doc/doxygen/html/d9/d18/include_2arc_2graphics_2sprite_8h.js +++ /dev/null @@ -1,22 +0,0 @@ -var include_2arc_2graphics_2sprite_8h = -[ - [ "ARC_Sprite", "d9/d18/include_2arc_2graphics_2sprite_8h.html#a03c5973e40c2bda444c06c7550471b42", null ], - [ "ARC_Sprite_Axix", "d9/d18/include_2arc_2graphics_2sprite_8h.html#a8975412b8ce43563bd9b9e8034d48107", null ], - [ "ARC_Sprite_Axis", "d9/d18/include_2arc_2graphics_2sprite_8h.html#a58f03c421534fd75dbdf5b301fff84f5", [ - [ "ARC_SPRITE_AXIS_NONE", "d9/d18/include_2arc_2graphics_2sprite_8h.html#a58f03c421534fd75dbdf5b301fff84f5a8349cec50345d927a52c3a74dc7c8008", null ], - [ "ARC_SPRITE_AXIS_Y", "d9/d18/include_2arc_2graphics_2sprite_8h.html#a58f03c421534fd75dbdf5b301fff84f5a1cccd14ed492d5e4b151808984cda3c0", null ], - [ "ARC_SPRITE_AXIS_X", "d9/d18/include_2arc_2graphics_2sprite_8h.html#a58f03c421534fd75dbdf5b301fff84f5a86b6c238d4da4d62c0e5f7652a1a058f", null ] - ] ], - [ "ARC_Sprite_Copy", "d9/d18/include_2arc_2graphics_2sprite_8h.html#ac71528b8b08e5c9f9ef12377413c887f", null ], - [ "ARC_Sprite_Create", "d9/d18/include_2arc_2graphics_2sprite_8h.html#a236db372d25ec6939fc3a59a50174d2c", null ], - [ "ARC_Sprite_Destroy", "d9/d18/include_2arc_2graphics_2sprite_8h.html#a37754370968f742ee6bfbb179a50804c", null ], - [ "ARC_Sprite_GetAllBounds", "d9/d18/include_2arc_2graphics_2sprite_8h.html#aa94ca232d44c6de7b4f00754152da02e", null ], - [ "ARC_Sprite_GetBounds", "d9/d18/include_2arc_2graphics_2sprite_8h.html#a98ceee44610d603afd0ed235fd72cc95", null ], - [ "ARC_Sprite_GetFrameIndex", "d9/d18/include_2arc_2graphics_2sprite_8h.html#a001e727b8923a2435a873eb085e50308", null ], - [ "ARC_Sprite_IterateFrame", "d9/d18/include_2arc_2graphics_2sprite_8h.html#ae8f6efb1950a0e908efcd59b69427f38", null ], - [ "ARC_Sprite_Render", "d9/d18/include_2arc_2graphics_2sprite_8h.html#a0e2479255f39c245c08a8791aea5e877", null ], - [ "ARC_Sprite_RenderFlip", "d9/d18/include_2arc_2graphics_2sprite_8h.html#a96fa458abc8926631b646a8e89899474", null ], - [ "ARC_Sprite_RenderRotated", "d9/d18/include_2arc_2graphics_2sprite_8h.html#a57c6332c153a9abd0906b822fc1614ef", null ], - [ "ARC_Sprite_SetFrameIndex", "d9/d18/include_2arc_2graphics_2sprite_8h.html#ae6bed9d1c4c5c7a5ced00b45672c94f9", null ], - [ "ARC_Sprite_SetOpacity", "d9/d18/include_2arc_2graphics_2sprite_8h.html#a93598bcc2eee0b8e3eb1a94ebbcf3e5e", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d9/d18/include_2arc_2graphics_2sprite_8h_source.html b/doc/doxygen/html/d9/d18/include_2arc_2graphics_2sprite_8h_source.html deleted file mode 100644 index e23c766..0000000 --- a/doc/doxygen/html/d9/d18/include_2arc_2graphics_2sprite_8h_source.html +++ /dev/null @@ -1,297 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/sprite.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
sprite.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_GRAPHICS_SPRITE_H_
-
2#define ARC_GRAPHICS_SPRITE_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
- - -
10#include "arc/math/point.h"
-
11#include "arc/math/rectangle.h"
-
12#include "arc/std/array.h"
-
13
-
14/**
-
15 * @brief a sprite type
-
16 *
-
17 * @note the actual type should be define by overriding for a graphics api
-
18 */
-
19typedef struct ARC_Sprite ARC_Sprite;
-
20
-
21/**
-
22 * @brief creates ARC_Sprite type
-
23 *
-
24 * @param sprite ARC_Sprite that is being created
-
25 * @param spritesheet ARC_Spritesheet that ARC_Sprite will be pulled from
-
26 * @param frames ARC_Array of bounds of sprite on spritesheet
-
27 */
- -
29
-
30/**
-
31 * @brief destroys ARC_Sprite type
-
32 *
-
33 * @param sprite ARC_Sprite to destroy
-
34 */
-
35void ARC_Sprite_Destroy(ARC_Sprite *sprite);
-
36
-
37/**
-
38 * @brief copies ARC_Sprite to a new ARC_Sprite
-
39 *
-
40 * @param newSprite ARC_Sprite that is being copied to and created
-
41 * @param oldSprite ARC_Sprite contents that are being copied
-
42 */
-
43void ARC_Sprite_Copy(ARC_Sprite **newSprite, ARC_Sprite *oldSprite);
-
44
-
45//TODO: temp
-
46/**
-
47 * @brief sets ARC_Sprite's opacity
-
48 *
-
49 * @param sprite ARC_Sprite that is changing opacity
-
50 * @param opacity new opacity for ARC_Sprite
-
51 *
-
52 * @note this is temp because opacity probably should be a value
-
53 * bigger than 255
-
54*/
-
55void ARC_Sprite_SetOpacity(ARC_Sprite *sprite, uint8_t opacity);
-
56
-
57/**
-
58 * @brief renders ARC_Sprite type
-
59 *
-
60 * @param sprite ARC_Sprite that will be rendered
-
61 * @param renderer ARC_Renderer that is handling rendering
-
62 * @param renderBounds area of renderer that ARC_Sprite will be rendered to
-
63 */
-
64void ARC_Sprite_Render(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds);
-
65
-
66//TODO: move this to a better location
- -
72
-
73/**
-
74 * @brief renders ARC_Sprite type with flip
-
75 *
-
76 * @param sprite ARC_Sprite that will be rendered
-
77 * @param renderer ARC_Renderer that is handling rendering
-
78 * @param renderBounds area of renderer that ARC_Sprite will be rendered to
-
79 * @param axis axis to flip sprite
-
80 */
-
81void ARC_Sprite_RenderFlip(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, enum ARC_Sprite_Axis axis);
-
82
-
83/**
-
84 * @brief renders ARC_Sprite type with rotation
-
85 *
-
86 * @param sprite ARC_Sprite that will be rendered
-
87 * @param renderer ARC_Renderer that is handling rendering
-
88 * @param renderBounds area of renderer that ARC_Sprite will be rendered to
-
89 * @param angle angle to rotate ARC_Sprite
-
90 * @param center point to rotate ARC_Sprite around
-
91 */
-
92void ARC_Sprite_RenderRotated(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, ARC_Point *center, double angle);
-
93
-
94/**
-
95 * @brief switches ARC_Sprite's frame to specified index
-
96 *
-
97 * @param sprite ARC_Sprite that is having its frame set
-
98 * @param index uint32_t to set ARC_Sprite's frame index to
-
99 */
-
100void ARC_Sprite_SetFrameIndex(ARC_Sprite *sprite, uint32_t index);
-
101
-
102/**
-
103 * @brief switches ARC_Sprite's frames to next for animation
-
104 *
-
105 * @param sprite ARC_Sprite that is having its frame updated
-
106 */
- -
108
-
109/**
-
110 * @brief gets ARC_Sprite's current frame
-
111 *
-
112 * @param sprite ARC_Sprite to get frame from
-
113 *
-
114 * @return index ARC_Sprite's current frame index
-
115 */
-
116uint32_t ARC_Sprite_GetFrameIndex(ARC_Sprite *sprite);
-
117
-
118/**
-
119 * @brief returns the current bounds based on the ARC_Sprite's frames
-
120 *
-
121 * @param sprite ARC_Sprite to get bounds from
-
122 */
- -
124
-
125/**
-
126 * @brief returns the array of bounds that a sprite has
-
127 *
-
128 * @param sprite ARC_Sprite to get all the bounds from
-
129*/
- -
131
-
132#ifdef __cplusplus
-
133}
-
134#endif
-
135
-
136#endif // !ARC_GRAPHICS_SPRITE_H_
- - -
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
-
uint32_t ARC_Sprite_GetFrameIndex(ARC_Sprite *sprite)
gets ARC_Sprite's current frame
Definition sprite.c:80
-
void ARC_Sprite_Render(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds)
renders ARC_Sprite type
Definition sprite.c:36
-
void ARC_Sprite_Create(ARC_Sprite **sprite, ARC_Spritesheet *spritesheet, ARC_Array *frames)
creates ARC_Sprite type
Definition sprite.c:11
-
void ARC_Sprite_Destroy(ARC_Sprite *sprite)
destroys ARC_Sprite type
Definition sprite.c:20
-
void ARC_Sprite_RenderRotated(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, ARC_Point *center, double angle)
renders ARC_Sprite type with rotation
Definition sprite.c:57
-
ARC_Sprite_Axis
Definition sprite.h:67
-
@ ARC_SPRITE_AXIS_Y
Definition sprite.h:69
-
@ ARC_SPRITE_AXIS_NONE
Definition sprite.h:68
-
@ ARC_SPRITE_AXIS_X
Definition sprite.h:70
-
enum ARC_Sprite_Axis ARC_Sprite_Axix
-
void ARC_Sprite_SetOpacity(ARC_Sprite *sprite, uint8_t opacity)
sets ARC_Sprite's opacity
Definition sprite.c:32
-
void ARC_Sprite_RenderFlip(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, enum ARC_Sprite_Axis axis)
renders ARC_Sprite type with flip
Definition sprite.c:42
-
ARC_Rect * ARC_Sprite_GetBounds(ARC_Sprite *sprite)
returns the current bounds based on the ARC_Sprite's frames
Definition sprite.c:84
-
ARC_Array * ARC_Sprite_GetAllBounds(ARC_Sprite *sprite)
returns the array of bounds that a sprite has
Definition sprite.c:88
-
void ARC_Sprite_Copy(ARC_Sprite **newSprite, ARC_Sprite *oldSprite)
copies ARC_Sprite to a new ARC_Sprite
Definition sprite.c:24
-
void ARC_Sprite_SetFrameIndex(ARC_Sprite *sprite, uint32_t index)
switches ARC_Sprite's frame to specified index
Definition sprite.c:63
-
void ARC_Sprite_IterateFrame(ARC_Sprite *sprite)
switches ARC_Sprite's frames to next for animation
Definition sprite.c:72
- - - -
a type that holds an array of data and its size
Definition array.h:13
- - - -
ARC_Spritesheet * spritesheet
Definition sprite.h:8
-
uint8_t opacity
Definition sprite.h:12
-
ARC_Array * frames
Definition sprite.h:9
- -
-
- - - - - - diff --git a/doc/doxygen/html/d9/d1a/packages_2graphics_2sdl_2window_8h.html b/doc/doxygen/html/d9/d1a/packages_2graphics_2sdl_2window_8h.html deleted file mode 100644 index 1c1ef56..0000000 --- a/doc/doxygen/html/d9/d1a/packages_2graphics_2sdl_2window_8h.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/window.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
window.h File Reference
-
-
-
#include "arc/graphics/window.h"
-#include <SDL.h>
-
-

Go to the source code of this file.

- - - - -

-Typedefs

typedef SDL_Window ARC_WindowType
 
-

Typedef Documentation

- -

◆ ARC_WindowType

- -
-
- - - - -
typedef SDL_Window ARC_WindowType
-
- -

Definition at line 7 of file window.h.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d1a/packages_2graphics_2sdl_2window_8h.js b/doc/doxygen/html/d9/d1a/packages_2graphics_2sdl_2window_8h.js deleted file mode 100644 index 8212cc6..0000000 --- a/doc/doxygen/html/d9/d1a/packages_2graphics_2sdl_2window_8h.js +++ /dev/null @@ -1,4 +0,0 @@ -var packages_2graphics_2sdl_2window_8h = -[ - [ "ARC_WindowType", "d9/d1a/packages_2graphics_2sdl_2window_8h.html#ad10fb5988735cdcfbd6d79fdc37aee84", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d9/d1a/packages_2graphics_2sdl_2window_8h_source.html b/doc/doxygen/html/d9/d1a/packages_2graphics_2sdl_2window_8h_source.html deleted file mode 100644 index 84dc240..0000000 --- a/doc/doxygen/html/d9/d1a/packages_2graphics_2sdl_2window_8h_source.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/window.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
window.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_SDL_WINDOW_H_
-
2#define ARC_SDL_WINDOW_H_
-
3
- -
5#include <SDL.h>
-
6
-
7typedef SDL_Window ARC_WindowType;
-
8
-
9#endif // !ARC_SDL_WINDOW_H_
- -
SDL_Window ARC_WindowType
Definition window.h:7
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d2a/tests_8dir_2tests_2std_2parser_2csv_8c_8o_8d.html b/doc/doxygen/html/d9/d2a/tests_8dir_2tests_2std_2parser_2csv_8c_8o_8d.html deleted file mode 100644 index 9ac7a90..0000000 --- a/doc/doxygen/html/d9/d2a/tests_8dir_2tests_2std_2parser_2csv_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/tests/std/parser/csv.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
csv.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d9/d2a/tests_8dir_2tests_2std_2parser_2csv_8c_8o_8d_source.html b/doc/doxygen/html/d9/d2a/tests_8dir_2tests_2std_2parser_2csv_8c_8o_8d_source.html deleted file mode 100644 index 8570fd1..0000000 --- a/doc/doxygen/html/d9/d2a/tests_8dir_2tests_2std_2parser_2csv_8c_8o_8d_source.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/tests/std/parser/csv.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
csv.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/tests/std/parser/csv.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/tests/std/parser/csv.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/tests/std/parser/../../test.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h /usr/include/stdio.h \
-
15 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
16 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
17 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
18 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
19 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
20 /usr/include/bits/types/cookie_io_functions_t.h \
-
21 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
22 /usr/include/bits/floatn-common.h \
-
23 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
24 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
25 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
26 /home/herbglitch/programs/archeus/arc/include/arc/std/parser/csv.h \
-
27 /home/herbglitch/programs/archeus/arc/include/arc/std/parser.h \
-
28 /home/herbglitch/programs/archeus/arc/include/arc/std/array.h \
-
29 /home/herbglitch/programs/archeus/arc/include/arc/std/lexer.h \
-
30 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
31 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
32 /home/herbglitch/programs/archeus/arc/include/arc/std/vector.h \
-
33 /usr/include/stdlib.h /usr/include/bits/waitflags.h \
-
34 /usr/include/bits/waitstatus.h /usr/include/sys/types.h \
-
35 /usr/include/bits/types/clock_t.h /usr/include/bits/types/clockid_t.h \
-
36 /usr/include/bits/types/time_t.h /usr/include/bits/types/timer_t.h \
-
37 /usr/include/endian.h /usr/include/bits/endian.h \
-
38 /usr/include/bits/endianness.h /usr/include/bits/byteswap.h \
-
39 /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \
-
40 /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \
-
41 /usr/include/bits/types/__sigset_t.h \
-
42 /usr/include/bits/types/struct_timeval.h \
-
43 /usr/include/bits/types/struct_timespec.h \
-
44 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
45 /usr/include/bits/pthreadtypes-arch.h \
-
46 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
47 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
48 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d34/packages_2graphics_2sdl_2config_8c.html b/doc/doxygen/html/d9/d34/packages_2graphics_2sdl_2config_8c.html deleted file mode 100644 index c8b15c2..0000000 --- a/doc/doxygen/html/d9/d34/packages_2graphics_2sdl_2config_8c.html +++ /dev/null @@ -1,814 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/config.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
config.c File Reference
-
-
-
#include "arc/graphics/config.h"
-#include <SDL_image.h>
-#include <stdio.h>
-#include "renderer.h"
-#include "sprite.h"
-#include "spritesheet.h"
-#include "arc/std/array.h"
-#include "arc/std/string.h"
-#include "arc/std/errno.h"
-#include "arc/graphics/sprite.h"
-#include "arc/graphics/spritesheet.h"
-#include "arc/math/config.h"
-#include "arc/math/point.h"
-#include "arc/math/rectangle.h"
-#include "arc/std/defaults/config.h"
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - -

-Functions

uint8_t ARC_SDL_Texture_Read (ARC_Config *config, ARC_String *string, void **value)
 
uint8_t ARC_Spritesheet_Read (ARC_Config *config, ARC_String *string, void **value)
 
uint8_t ARC_Sprite_Read (ARC_Config *config, ARC_String *string, void **value)
 
void ARC_SDL_Texture_Delete (ARC_Config *config, ARC_String *string, void *value)
 
void ARC_Spritesheet_Delete (ARC_Config *config, ARC_String *string, void *value)
 
void ARC_Sprite_Delete (ARC_Config *config, ARC_String *string, void *value)
 
void ARC_GraphicsConfig_Init (ARC_Config *config, ARC_Renderer *renderer)
 
uint64_t ARC_GraphicsConfig_GetIndexAndErrorCheck (ARC_String *string, char *search, uint64_t searchLength)
 
int32_t ARC_SDL_Texture_Load (const char *path, SDL_Texture **texture)
 
void ARC_Spritesheet_ReadTexture (ARC_Config *config, ARC_String *string, uint32_t *size, void **value)
 
- - - -

-Variables

SDL_Renderer * global_renderer
 
-

Function Documentation

- -

◆ ARC_GraphicsConfig_GetIndexAndErrorCheck()

- -
-
- - - - - - - - - - - - - - - - -
uint64_t ARC_GraphicsConfig_GetIndexAndErrorCheck (ARC_String * string,
char * search,
uint64_t searchLength )
-
- -

Definition at line 37 of file config.c.

-
37 {
-
38 uint64_t separator = ARC_String_FindCString(string, ",", 1);
-
39
-
40 if(separator == ~(uint64_t)0){
- -
42 }
-
43
-
44 return separator;
-
45}
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_DATA
Definition errno.h:7
-
uint64_t ARC_String_FindCString(ARC_String *string, const char *cstring, uint64_t length)
takes given cstring and gives position of first matching
Definition string.c:252
-
-

References arc_errno, ARC_ERRNO_DATA, and ARC_String_FindCString().

- -

Referenced by ARC_Sprite_Delete(), ARC_Sprite_Read(), ARC_Spritesheet_Delete(), and ARC_Spritesheet_Read().

- -
-
- -

◆ ARC_GraphicsConfig_Init()

- -
-
- - - - - - - - - - - -
void ARC_GraphicsConfig_Init (ARC_Config * config,
ARC_Renderer * renderer )
-
- -

Definition at line 30 of file config.c.

-
30 {
-
31 global_renderer = (SDL_Renderer *)renderer;
-
32 ARC_Config_AddKeyCString(config, (char *)"SDL_Texture" , 11, ARC_SDL_Texture_Read, ARC_SDL_Texture_Delete);
-
33 ARC_Config_AddKeyCString(config, (char *)"ARC_Spritesheet", 15, ARC_Spritesheet_Read, ARC_Spritesheet_Delete);
-
34 ARC_Config_AddKeyCString(config, (char *)"ARC_Sprite" , 10, ARC_Sprite_Read , ARC_Sprite_Delete );
-
35}
-
void ARC_Sprite_Delete(ARC_Config *config, ARC_String *string, void *value)
Definition config.c:277
-
void ARC_SDL_Texture_Delete(ARC_Config *config, ARC_String *string, void *value)
Definition config.c:223
-
SDL_Renderer * global_renderer
Definition config.c:20
-
uint8_t ARC_Spritesheet_Read(ARC_Config *config, ARC_String *string, void **value)
Definition config.c:114
-
uint8_t ARC_Sprite_Read(ARC_Config *config, ARC_String *string, void **value)
Definition config.c:153
-
void ARC_Spritesheet_Delete(ARC_Config *config, ARC_String *string, void *value)
Definition config.c:227
-
uint8_t ARC_SDL_Texture_Read(ARC_Config *config, ARC_String *string, void **value)
Definition config.c:66
-
void ARC_Config_AddKeyCString(ARC_Config *config, const char *type, uint64_t length, ARC_ConfigKeyRead keyRead, ARC_ConfigKeyDelete keyDelete)
adds a key from a cstring
Definition config.c:55
-
-

References ARC_Config_AddKeyCString(), ARC_SDL_Texture_Delete(), ARC_SDL_Texture_Read(), ARC_Sprite_Delete(), ARC_Sprite_Read(), ARC_Spritesheet_Delete(), ARC_Spritesheet_Read(), and global_renderer.

- -
-
- -

◆ ARC_SDL_Texture_Delete()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_SDL_Texture_Delete (ARC_Config * config,
ARC_String * string,
void * value )
-
- -

Definition at line 223 of file config.c.

-
223 {
-
224 SDL_DestroyTexture((SDL_Texture *) value);
-
225}
-
-

Referenced by ARC_GraphicsConfig_Init(), and ARC_Spritesheet_Delete().

- -
-
- -

◆ ARC_SDL_Texture_Load()

- -
-
- - - - - - - - - - - -
int32_t ARC_SDL_Texture_Load (const char * path,
SDL_Texture ** texture )
-
- -

Definition at line 47 of file config.c.

-
47 {
-
48 IMG_Init(IMG_INIT_PNG);
-
49 SDL_Surface *surface = IMG_Load(path);
-
50 if(!surface){
-
51 printf("Error: reading png '%s'\nSDL_Image Error: %s", path, IMG_GetError());
-
52 return 1; // GE_SDL_ERRNO_
-
53 }
-
54
-
55 SDL_BlendMode tempMode;
-
56 SDL_GetSurfaceBlendMode(surface, &tempMode);
-
57 *texture = SDL_CreateTextureFromSurface(global_renderer, surface);
-
58 SDL_GetTextureBlendMode(*texture, &tempMode);
-
59
-
60 SDL_FreeSurface(surface);
-
61 IMG_Quit();
-
62
-
63 return 0;
-
64}
-
-

References global_renderer.

- -

Referenced by ARC_SDL_Texture_Read().

- -
-
- -

◆ ARC_SDL_Texture_Read()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_SDL_Texture_Read (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -

Definition at line 66 of file config.c.

-
66 {
-
67 ARC_Config_Get(config, string, value);
-
68 if(*value){
-
69 return 1;
-
70 }
-
71
-
72 ARC_String *tempStr, *textureStr;
-
73 ARC_String_StripEndsWhitespace(&tempStr, string);
-
74
-
75 ARC_String_CopySubstring(&textureStr, tempStr, 1, tempStr->length - 2);
-
76 ARC_String_Destroy(tempStr);
-
77
-
78 ARC_SDL_Texture_Load(textureStr->data, (SDL_Texture **)value);
-
79
-
80 ARC_String_Destroy(textureStr);
-
81 return 0;
-
82}
-
int32_t ARC_SDL_Texture_Load(const char *path, SDL_Texture **texture)
Definition config.c:47
-
void ARC_Config_Get(ARC_Config *config, ARC_String *keyname, void **value)
get a value from a given keyname
Definition config.c:124
-
void ARC_String_StripEndsWhitespace(ARC_String **stripped, ARC_String *original)
strips the whitespace from the ends of a string
Definition string.c:437
-
void ARC_String_CopySubstring(ARC_String **substring, ARC_String *original, uint64_t start, uint64_t length)
copy a subtring from a givin ARC_String
Definition string.c:72
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
substring position within a string
Definition string.h:14
-
uint64_t length
Definition string.h:16
-
char * data
Definition string.h:15
-
-

References ARC_Config_Get(), ARC_SDL_Texture_Load(), ARC_String_CopySubstring(), ARC_String_Destroy(), ARC_String_StripEndsWhitespace(), ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_GraphicsConfig_Init(), and ARC_Spritesheet_ReadTexture().

- -
-
- -

◆ ARC_Sprite_Delete()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Sprite_Delete (ARC_Config * config,
ARC_String * string,
void * value )
-
- -

Definition at line 277 of file config.c.

-
277 {
-
278 ARC_Sprite *spriteValue = (ARC_Sprite *)value;
-
279
-
280 //check if read in as a Textrue reference
-
281 void *temp;
-
282 uint64_t split = ARC_GraphicsConfig_GetIndexAndErrorCheck(string, ",", 1);
-
283 if(arc_errno){
-
284 free(spriteValue);
-
285 return;
-
286 }
-
287
-
288 //check if texture and size are references
-
289 ARC_String *tempStr, *spritesheetStr, *framesStr;
-
290 ARC_String_CopySubstring(&tempStr, string, 1, split - 1);
-
291 ARC_String_StripEndsWhitespace(&spritesheetStr, tempStr);
-
292 ARC_String_Destroy(tempStr);
-
293
-
294 ARC_String_CopySubstring(&tempStr, string, split + 1, string->length - (split + 1));
-
295 ARC_String_StripEndsWhitespace(&framesStr, tempStr);
-
296 ARC_String_Destroy(tempStr);
-
297
-
298 ARC_Config_Get(config, spritesheetStr, (void **)&temp);
-
299 ARC_String_Destroy(spritesheetStr);
-
300 if(temp){
-
301 free(spriteValue->spritesheet);
-
302 }
-
303
-
304 ARC_Config_Get(config, framesStr, (void **)&temp);
-
305 ARC_String_Destroy(framesStr);
-
306 if(temp){
-
307 free(spriteValue->frames);
-
308 }
-
309
-
310 free(spriteValue);
-
311}
-
uint64_t ARC_GraphicsConfig_GetIndexAndErrorCheck(ARC_String *string, char *search, uint64_t searchLength)
Definition config.c:37
- -
ARC_Spritesheet * spritesheet
Definition sprite.h:8
-
ARC_Array * frames
Definition sprite.h:9
-
-

References ARC_Config_Get(), arc_errno, ARC_GraphicsConfig_GetIndexAndErrorCheck(), ARC_String_CopySubstring(), ARC_String_Destroy(), ARC_String_StripEndsWhitespace(), ARC_Sprite::frames, ARC_String::length, and ARC_Sprite::spritesheet.

- -

Referenced by ARC_GraphicsConfig_Init().

- -
-
- -

◆ ARC_Sprite_Read()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_Sprite_Read (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -

Definition at line 153 of file config.c.

-
153 {
-
154 ARC_Config_Get(config, string, value);
-
155 if(*value){
-
156 return 1;
-
157 }
-
158
-
159 if(string->data[0] != '{' || string->data[string->length - 1] != '}'){
-
160 ARC_Spritesheet_ReadTexture(config, string, NULL, value);
-
161 return 0;
-
162 }
-
163
-
164 uint64_t split = ARC_GraphicsConfig_GetIndexAndErrorCheck(string, ",", 1);
-
165 if(arc_errno){
-
166 return 0;
-
167 }
-
168
-
169 ARC_String *temp, *spritesheetStr, *framesStr;
-
170 ARC_String_CopySubstring(&temp, string, 1, split - 2);
-
171 ARC_String_StripEndsWhitespace(&spritesheetStr, temp);
-
172 ARC_String_Destroy(temp);
-
173
-
174 ARC_String_CopySubstring(&temp, string, split + 1, string->length - (split + 2));
-
175 ARC_String_StripEndsWhitespace(&framesStr, temp);
-
176 ARC_String_Destroy(temp);
-
177
-
178 //spritesheet
-
179 ARC_Spritesheet *spritesheet;
-
180 ARC_Config_Get(config, spritesheetStr, (void **)&spritesheet);
-
181
-
182 if(!spritesheet){
-
183 ARC_Spritesheet_Read(config, spritesheetStr, (void **)&spritesheet);
-
184 if(arc_errno){
-
185 ARC_String_Destroy(spritesheetStr);
-
186 ARC_String_Destroy(framesStr );
-
187 return 0;
-
188 }
-
189 }
-
190
-
191 //bounds
-
192 ARC_Array *frames;
-
193 ARC_Config_Get(config, framesStr, (void **)&frames);
-
194
-
195 if(!frames){
-
196 ARC_RectArray_Read(config, framesStr, (void **)&frames);
-
197 if(arc_errno){
-
198 ARC_String_Destroy(spritesheetStr);
-
199 ARC_String_Destroy(framesStr );
-
200 return 0;
-
201 }
-
202 }
-
203
-
204 ARC_String_Destroy(spritesheetStr);
-
205 ARC_String_Destroy(framesStr );
-
206
-
207 // Scale frames to match spritesheet size
-
208 // TODO: possible bug for sheets that use same frames
-
209 if(spritesheet->size){
-
210 for(uint32_t i = 0; i < frames->size; i++){
-
211 ((ARC_Rect *)frames->data)[i].x *= *spritesheet->size;
-
212 ((ARC_Rect *)frames->data)[i].y *= *spritesheet->size;
-
213 ((ARC_Rect *)frames->data)[i].w *= *spritesheet->size;
-
214 ((ARC_Rect *)frames->data)[i].h *= *spritesheet->size;
-
215 }
-
216 }
-
217 //sprite
-
218 ARC_Sprite_Create((ARC_Sprite **)value, spritesheet, frames);
-
219
-
220 return 0;
-
221}
-
void ARC_Sprite_Create(ARC_Sprite **sprite, ARC_Spritesheet *spritesheet, ARC_Array *frames)
creates ARC_Sprite type
Definition sprite.c:11
-
uint8_t ARC_RectArray_Read(ARC_Config *config, ARC_String *string, void **value)
Definition config.c:183
-
void ARC_Spritesheet_ReadTexture(ARC_Config *config, ARC_String *string, uint32_t *size, void **value)
Definition config.c:84
-
a type that holds an array of data and its size
Definition array.h:13
-
uint32_t size
Definition array.h:14
-
void * data
Definition array.h:15
- - -
uint32_t * size
Definition spritesheet.h:9
-
-

References ARC_Config_Get(), arc_errno, ARC_GraphicsConfig_GetIndexAndErrorCheck(), ARC_RectArray_Read(), ARC_Sprite_Create(), ARC_Spritesheet_Read(), ARC_Spritesheet_ReadTexture(), ARC_String_CopySubstring(), ARC_String_Destroy(), ARC_String_StripEndsWhitespace(), ARC_Array::data, ARC_String::data, ARC_String::length, ARC_Array::size, and ARC_Spritesheet::size.

- -

Referenced by ARC_GraphicsConfig_Init().

- -
-
- -

◆ ARC_Spritesheet_Delete()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Spritesheet_Delete (ARC_Config * config,
ARC_String * string,
void * value )
-
- -

Definition at line 227 of file config.c.

-
227 {
-
228 ARC_Spritesheet *sheetValue = (ARC_Spritesheet *)value;
-
229
-
230 //check if read in as a Textrue reference
-
231 void *temp;
-
232 ARC_Config_Get(config, string, &temp);
-
233 if(temp){
-
234 //TODO: test to see if this breaks references
-
235 free(sheetValue);
-
236 return;
-
237 }
-
238
-
239 uint64_t split = ARC_GraphicsConfig_GetIndexAndErrorCheck(string, ",", 1);
-
240 if(arc_errno){
-
241 //TODO: test to make sure no edge cases
-
242 // free(sheetValue);
-
243 ARC_SDL_Texture_Delete(config, string, value);
-
244 arc_errno = 0;
-
245 return;
-
246 }
-
247
-
248 if(split == ~0){
-
249
-
250 }
-
251
-
252 //check if texture and size are references
-
253 ARC_String *tempStr, *textureStr, *sizeStr;
-
254 ARC_String_CopySubstring(&tempStr, string, 1, split - 1);
-
255 ARC_String_StripEndsWhitespace(&textureStr, tempStr);
-
256 ARC_String_Destroy(tempStr);
-
257
-
258 ARC_String_CopySubstring(&tempStr, string, split + 1, string->length - (split + 1));
-
259 ARC_String_StripEndsWhitespace(&sizeStr, tempStr);
-
260 ARC_String_Destroy(tempStr);
-
261
-
262 ARC_Config_Get(config, sizeStr, (void **)&temp);
-
263 ARC_String_Destroy(sizeStr);
-
264 if(temp){
-
265 free(sheetValue->size);
-
266 }
-
267
-
268 ARC_Config_Get(config, textureStr, (void **)&temp);
-
269 ARC_String_Destroy(textureStr);
-
270 if(temp){
-
271 free(sheetValue->size);
-
272 }
-
273
-
274 free(sheetValue);
-
275}
-
-

References ARC_Config_Get(), arc_errno, ARC_GraphicsConfig_GetIndexAndErrorCheck(), ARC_SDL_Texture_Delete(), ARC_String_CopySubstring(), ARC_String_Destroy(), ARC_String_StripEndsWhitespace(), ARC_String::length, and ARC_Spritesheet::size.

- -

Referenced by ARC_GraphicsConfig_Init().

- -
-
- -

◆ ARC_Spritesheet_Read()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_Spritesheet_Read (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -

Definition at line 114 of file config.c.

-
114 {
-
115 if(string->data[0] != '{' || string->data[string->length - 1] != '}'){
-
116 ARC_Spritesheet_ReadTexture(config, string, NULL, value);
-
117 return 0;
-
118 }
-
119
-
120 uint64_t split = ARC_GraphicsConfig_GetIndexAndErrorCheck(string, ",", 1);
-
121 if(arc_errno){
-
122 return 0;
-
123 }
-
124
-
125 ARC_String *temp, *textureStr, *sizeStr;
-
126 ARC_String_CopySubstring(&temp, string, 1, split - 2);
-
127 ARC_String_StripEndsWhitespace(&textureStr, temp);
-
128 ARC_String_Destroy(temp);
-
129
-
130 ARC_String_CopySubstring(&temp, string, split + 1, string->length - (split + 2));
-
131 ARC_String_StripEndsWhitespace(&sizeStr, temp);
-
132 ARC_String_Destroy(temp);
-
133
-
134 uint32_t *size;
-
135 ARC_Config_Get(config, string, (void **)&size);
-
136 if(!size){
-
137 ARC_ConfigKey_Read_Uint32_t(config, sizeStr, (void **)&size);
-
138 if(arc_errno){
-
139 ARC_String_Destroy(sizeStr);
-
140 ARC_String_Destroy(textureStr);
-
141 return ARC_ERRNO_DATA;
-
142 }
-
143 }
-
144
-
145 ARC_Spritesheet_ReadTexture(config, textureStr, size, value);
-
146
-
147 ARC_String_Destroy(sizeStr);
-
148 ARC_String_Destroy(textureStr);
-
149
-
150 return 0;
-
151}
-
uint8_t ARC_ConfigKey_Read_Uint32_t(ARC_Config *config, ARC_String *string, void **value)
-
-

References ARC_Config_Get(), ARC_ConfigKey_Read_Uint32_t(), arc_errno, ARC_ERRNO_DATA, ARC_GraphicsConfig_GetIndexAndErrorCheck(), ARC_Spritesheet_ReadTexture(), ARC_String_CopySubstring(), ARC_String_Destroy(), ARC_String_StripEndsWhitespace(), ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_GraphicsConfig_Init(), and ARC_Sprite_Read().

- -
-
- -

◆ ARC_Spritesheet_ReadTexture()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Spritesheet_ReadTexture (ARC_Config * config,
ARC_String * string,
uint32_t * size,
void ** value )
-
- -

Definition at line 84 of file config.c.

-
84 {
-
85 SDL_Texture *texture;
-
86
-
87 ARC_String *tempStr, *textureStr;
-
88 ARC_String_StripEndsWhitespace(&tempStr, string);
-
89
-
90 //check for reference
-
91 ARC_Config_Get(config, tempStr, (void **)&texture);
-
92 if(!texture && (tempStr->data[0] != '"' || tempStr->data[string->length - 1] != '"')){
- -
94 }
-
95
-
96 ARC_String_CopySubstring(&textureStr, tempStr, 1, tempStr->length - 2);
-
97 ARC_String_Destroy(tempStr);
-
98
-
99 //try reading in the texture
-
100 if(!texture){
-
101 ARC_SDL_Texture_Read(config, string, (void **)&texture);
-
102 if(arc_errno){
-
103 *value = NULL;
-
104 }
-
105 }
-
106
-
107 ARC_String_Destroy(textureStr);
-
108
-
109 *value = malloc(sizeof(ARC_Spritesheet));
-
110 ((ARC_Spritesheet *) *value)->texture = texture;
-
111 ((ARC_Spritesheet *) *value)->size = size;
-
112}
-
-

References ARC_Config_Get(), arc_errno, ARC_ERRNO_DATA, ARC_SDL_Texture_Read(), ARC_String_CopySubstring(), ARC_String_Destroy(), ARC_String_StripEndsWhitespace(), ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_Sprite_Read(), and ARC_Spritesheet_Read().

- -
-
-

Variable Documentation

- -

◆ global_renderer

- -
-
- - - - -
SDL_Renderer* global_renderer
-
- -

Definition at line 20 of file config.c.

- -

Referenced by ARC_GraphicsConfig_Init(), and ARC_SDL_Texture_Load().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d34/packages_2graphics_2sdl_2config_8c.js b/doc/doxygen/html/d9/d34/packages_2graphics_2sdl_2config_8c.js deleted file mode 100644 index b26e49a..0000000 --- a/doc/doxygen/html/d9/d34/packages_2graphics_2sdl_2config_8c.js +++ /dev/null @@ -1,14 +0,0 @@ -var packages_2graphics_2sdl_2config_8c = -[ - [ "ARC_GraphicsConfig_GetIndexAndErrorCheck", "d9/d34/packages_2graphics_2sdl_2config_8c.html#a60062603349ad630b0b9d2d3eddc3809", null ], - [ "ARC_GraphicsConfig_Init", "d9/d34/packages_2graphics_2sdl_2config_8c.html#a40164918cc42dfe0a0139b103459e7c1", null ], - [ "ARC_SDL_Texture_Delete", "d9/d34/packages_2graphics_2sdl_2config_8c.html#a475dc5c374cb1b7ed01fafa55716aed0", null ], - [ "ARC_SDL_Texture_Load", "d9/d34/packages_2graphics_2sdl_2config_8c.html#a1e772b1508c1a19bd90892e30adfb0ce", null ], - [ "ARC_SDL_Texture_Read", "d9/d34/packages_2graphics_2sdl_2config_8c.html#aec1b5385a9d4abf1320750e8cef7c0b3", null ], - [ "ARC_Sprite_Delete", "d9/d34/packages_2graphics_2sdl_2config_8c.html#a279125b7fc6db2233db6409757990ccf", null ], - [ "ARC_Sprite_Read", "d9/d34/packages_2graphics_2sdl_2config_8c.html#a9ae952904bab466f06402bc4862117de", null ], - [ "ARC_Spritesheet_Delete", "d9/d34/packages_2graphics_2sdl_2config_8c.html#ab50949dbd400cad4fa314baf1e4ad4ed", null ], - [ "ARC_Spritesheet_Read", "d9/d34/packages_2graphics_2sdl_2config_8c.html#a8af60159306f1981fbcddaff62a83880", null ], - [ "ARC_Spritesheet_ReadTexture", "d9/d34/packages_2graphics_2sdl_2config_8c.html#a47ee90ba201aacd3eed00264fc0dc84a", null ], - [ "global_renderer", "d9/d34/packages_2graphics_2sdl_2config_8c.html#a5814071d291f0169f4d87bd1cdf2904d", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d9/d34/packages_2graphics_2sdl_2config_8c_source.html b/doc/doxygen/html/d9/d34/packages_2graphics_2sdl_2config_8c_source.html deleted file mode 100644 index 37828b4..0000000 --- a/doc/doxygen/html/d9/d34/packages_2graphics_2sdl_2config_8c_source.html +++ /dev/null @@ -1,508 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/config.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c
-
-
-Go to the documentation of this file.
-
2
-
3#include <SDL_image.h>
-
4#include <stdio.h>
-
5#include "renderer.h"
-
6#include "sprite.h"
-
7#include "spritesheet.h"
-
8#include "arc/std/array.h"
-
9#include "arc/std/string.h"
-
10#include "arc/std/errno.h"
-
11#include "arc/graphics/sprite.h"
- -
13#include "arc/math/config.h"
-
14#include "arc/math/point.h"
-
15#include "arc/math/rectangle.h"
-
16
-
17// #define ARC_DEFAULT_CONFIG
- -
19
-
20SDL_Renderer *global_renderer;
-
21
-
22uint8_t ARC_SDL_Texture_Read(ARC_Config *config, ARC_String *string, void **value);
-
23uint8_t ARC_Spritesheet_Read(ARC_Config *config, ARC_String *string, void **value);
-
24uint8_t ARC_Sprite_Read (ARC_Config *config, ARC_String *string, void **value);
-
25
-
26void ARC_SDL_Texture_Delete(ARC_Config *config, ARC_String *string, void *value);
-
27void ARC_Spritesheet_Delete(ARC_Config *config, ARC_String *string, void *value);
-
28void ARC_Sprite_Delete (ARC_Config *config, ARC_String *string, void *value);
-
29
-
- -
31 global_renderer = (SDL_Renderer *)renderer;
-
32 ARC_Config_AddKeyCString(config, (char *)"SDL_Texture" , 11, ARC_SDL_Texture_Read, ARC_SDL_Texture_Delete);
-
33 ARC_Config_AddKeyCString(config, (char *)"ARC_Spritesheet", 15, ARC_Spritesheet_Read, ARC_Spritesheet_Delete);
-
34 ARC_Config_AddKeyCString(config, (char *)"ARC_Sprite" , 10, ARC_Sprite_Read , ARC_Sprite_Delete );
-
35}
-
-
36
-
-
37uint64_t ARC_GraphicsConfig_GetIndexAndErrorCheck(ARC_String *string, char *search, uint64_t searchLength){
-
38 uint64_t separator = ARC_String_FindCString(string, ",", 1);
-
39
-
40 if(separator == ~(uint64_t)0){
- -
42 }
-
43
-
44 return separator;
-
45}
-
-
46
-
-
47int32_t ARC_SDL_Texture_Load(const char *path, SDL_Texture **texture){
-
48 IMG_Init(IMG_INIT_PNG);
-
49 SDL_Surface *surface = IMG_Load(path);
-
50 if(!surface){
-
51 printf("Error: reading png '%s'\nSDL_Image Error: %s", path, IMG_GetError());
-
52 return 1; // GE_SDL_ERRNO_
-
53 }
-
54
-
55 SDL_BlendMode tempMode;
-
56 SDL_GetSurfaceBlendMode(surface, &tempMode);
-
57 *texture = SDL_CreateTextureFromSurface(global_renderer, surface);
-
58 SDL_GetTextureBlendMode(*texture, &tempMode);
-
59
-
60 SDL_FreeSurface(surface);
-
61 IMG_Quit();
-
62
-
63 return 0;
-
64}
-
-
65
-
-
66uint8_t ARC_SDL_Texture_Read(ARC_Config* config, ARC_String *string, void **value){
-
67 ARC_Config_Get(config, string, value);
-
68 if(*value){
-
69 return 1;
-
70 }
-
71
-
72 ARC_String *tempStr, *textureStr;
-
73 ARC_String_StripEndsWhitespace(&tempStr, string);
-
74
-
75 ARC_String_CopySubstring(&textureStr, tempStr, 1, tempStr->length - 2);
-
76 ARC_String_Destroy(tempStr);
-
77
-
78 ARC_SDL_Texture_Load(textureStr->data, (SDL_Texture **)value);
-
79
-
80 ARC_String_Destroy(textureStr);
-
81 return 0;
-
82}
-
-
83
-
-
84void ARC_Spritesheet_ReadTexture(ARC_Config *config, ARC_String *string, uint32_t *size, void **value){
-
85 SDL_Texture *texture;
-
86
-
87 ARC_String *tempStr, *textureStr;
-
88 ARC_String_StripEndsWhitespace(&tempStr, string);
-
89
-
90 //check for reference
-
91 ARC_Config_Get(config, tempStr, (void **)&texture);
-
92 if(!texture && (tempStr->data[0] != '"' || tempStr->data[string->length - 1] != '"')){
- -
94 }
-
95
-
96 ARC_String_CopySubstring(&textureStr, tempStr, 1, tempStr->length - 2);
-
97 ARC_String_Destroy(tempStr);
-
98
-
99 //try reading in the texture
-
100 if(!texture){
-
101 ARC_SDL_Texture_Read(config, string, (void **)&texture);
-
102 if(arc_errno){
-
103 *value = NULL;
-
104 }
-
105 }
-
106
-
107 ARC_String_Destroy(textureStr);
-
108
-
109 *value = malloc(sizeof(ARC_Spritesheet));
-
110 ((ARC_Spritesheet *) *value)->texture = texture;
-
111 ((ARC_Spritesheet *) *value)->size = size;
-
112}
-
-
113
-
-
114uint8_t ARC_Spritesheet_Read(ARC_Config* config, ARC_String *string, void **value){
-
115 if(string->data[0] != '{' || string->data[string->length - 1] != '}'){
-
116 ARC_Spritesheet_ReadTexture(config, string, NULL, value);
-
117 return 0;
-
118 }
-
119
-
120 uint64_t split = ARC_GraphicsConfig_GetIndexAndErrorCheck(string, ",", 1);
-
121 if(arc_errno){
-
122 return 0;
-
123 }
-
124
-
125 ARC_String *temp, *textureStr, *sizeStr;
-
126 ARC_String_CopySubstring(&temp, string, 1, split - 2);
-
127 ARC_String_StripEndsWhitespace(&textureStr, temp);
-
128 ARC_String_Destroy(temp);
-
129
-
130 ARC_String_CopySubstring(&temp, string, split + 1, string->length - (split + 2));
-
131 ARC_String_StripEndsWhitespace(&sizeStr, temp);
-
132 ARC_String_Destroy(temp);
-
133
-
134 uint32_t *size;
-
135 ARC_Config_Get(config, string, (void **)&size);
-
136 if(!size){
-
137 ARC_ConfigKey_Read_Uint32_t(config, sizeStr, (void **)&size);
-
138 if(arc_errno){
-
139 ARC_String_Destroy(sizeStr);
-
140 ARC_String_Destroy(textureStr);
-
141 return ARC_ERRNO_DATA;
-
142 }
-
143 }
-
144
-
145 ARC_Spritesheet_ReadTexture(config, textureStr, size, value);
-
146
-
147 ARC_String_Destroy(sizeStr);
-
148 ARC_String_Destroy(textureStr);
-
149
-
150 return 0;
-
151}
-
-
152
-
-
153uint8_t ARC_Sprite_Read(ARC_Config* config, ARC_String *string, void **value){
-
154 ARC_Config_Get(config, string, value);
-
155 if(*value){
-
156 return 1;
-
157 }
-
158
-
159 if(string->data[0] != '{' || string->data[string->length - 1] != '}'){
-
160 ARC_Spritesheet_ReadTexture(config, string, NULL, value);
-
161 return 0;
-
162 }
-
163
-
164 uint64_t split = ARC_GraphicsConfig_GetIndexAndErrorCheck(string, ",", 1);
-
165 if(arc_errno){
-
166 return 0;
-
167 }
-
168
-
169 ARC_String *temp, *spritesheetStr, *framesStr;
-
170 ARC_String_CopySubstring(&temp, string, 1, split - 2);
-
171 ARC_String_StripEndsWhitespace(&spritesheetStr, temp);
-
172 ARC_String_Destroy(temp);
-
173
-
174 ARC_String_CopySubstring(&temp, string, split + 1, string->length - (split + 2));
-
175 ARC_String_StripEndsWhitespace(&framesStr, temp);
-
176 ARC_String_Destroy(temp);
-
177
-
178 //spritesheet
-
179 ARC_Spritesheet *spritesheet;
-
180 ARC_Config_Get(config, spritesheetStr, (void **)&spritesheet);
-
181
-
182 if(!spritesheet){
-
183 ARC_Spritesheet_Read(config, spritesheetStr, (void **)&spritesheet);
-
184 if(arc_errno){
-
185 ARC_String_Destroy(spritesheetStr);
-
186 ARC_String_Destroy(framesStr );
-
187 return 0;
-
188 }
-
189 }
-
190
-
191 //bounds
-
192 ARC_Array *frames;
-
193 ARC_Config_Get(config, framesStr, (void **)&frames);
-
194
-
195 if(!frames){
-
196 ARC_RectArray_Read(config, framesStr, (void **)&frames);
-
197 if(arc_errno){
-
198 ARC_String_Destroy(spritesheetStr);
-
199 ARC_String_Destroy(framesStr );
-
200 return 0;
-
201 }
-
202 }
-
203
-
204 ARC_String_Destroy(spritesheetStr);
-
205 ARC_String_Destroy(framesStr );
-
206
-
207 // Scale frames to match spritesheet size
-
208 // TODO: possible bug for sheets that use same frames
-
209 if(spritesheet->size){
-
210 for(uint32_t i = 0; i < frames->size; i++){
-
211 ((ARC_Rect *)frames->data)[i].x *= *spritesheet->size;
-
212 ((ARC_Rect *)frames->data)[i].y *= *spritesheet->size;
-
213 ((ARC_Rect *)frames->data)[i].w *= *spritesheet->size;
-
214 ((ARC_Rect *)frames->data)[i].h *= *spritesheet->size;
-
215 }
-
216 }
-
217 //sprite
-
218 ARC_Sprite_Create((ARC_Sprite **)value, spritesheet, frames);
-
219
-
220 return 0;
-
221}
-
-
222
-
-
223void ARC_SDL_Texture_Delete(ARC_Config* config, ARC_String *string, void *value){
-
224 SDL_DestroyTexture((SDL_Texture *) value);
-
225}
-
-
226
-
-
227void ARC_Spritesheet_Delete(ARC_Config* config, ARC_String *string, void *value){
-
228 ARC_Spritesheet *sheetValue = (ARC_Spritesheet *)value;
-
229
-
230 //check if read in as a Textrue reference
-
231 void *temp;
-
232 ARC_Config_Get(config, string, &temp);
-
233 if(temp){
-
234 //TODO: test to see if this breaks references
-
235 free(sheetValue);
-
236 return;
-
237 }
-
238
-
239 uint64_t split = ARC_GraphicsConfig_GetIndexAndErrorCheck(string, ",", 1);
-
240 if(arc_errno){
-
241 //TODO: test to make sure no edge cases
-
242 // free(sheetValue);
-
243 ARC_SDL_Texture_Delete(config, string, value);
-
244 arc_errno = 0;
-
245 return;
-
246 }
-
247
-
248 if(split == ~0){
-
249
-
250 }
-
251
-
252 //check if texture and size are references
-
253 ARC_String *tempStr, *textureStr, *sizeStr;
-
254 ARC_String_CopySubstring(&tempStr, string, 1, split - 1);
-
255 ARC_String_StripEndsWhitespace(&textureStr, tempStr);
-
256 ARC_String_Destroy(tempStr);
-
257
-
258 ARC_String_CopySubstring(&tempStr, string, split + 1, string->length - (split + 1));
-
259 ARC_String_StripEndsWhitespace(&sizeStr, tempStr);
-
260 ARC_String_Destroy(tempStr);
-
261
-
262 ARC_Config_Get(config, sizeStr, (void **)&temp);
-
263 ARC_String_Destroy(sizeStr);
-
264 if(temp){
-
265 free(sheetValue->size);
-
266 }
-
267
-
268 ARC_Config_Get(config, textureStr, (void **)&temp);
-
269 ARC_String_Destroy(textureStr);
-
270 if(temp){
-
271 free(sheetValue->size);
-
272 }
-
273
-
274 free(sheetValue);
-
275}
-
-
276
-
-
277void ARC_Sprite_Delete(ARC_Config* config, ARC_String *string, void *value){
-
278 ARC_Sprite *spriteValue = (ARC_Sprite *)value;
-
279
-
280 //check if read in as a Textrue reference
-
281 void *temp;
-
282 uint64_t split = ARC_GraphicsConfig_GetIndexAndErrorCheck(string, ",", 1);
-
283 if(arc_errno){
-
284 free(spriteValue);
-
285 return;
-
286 }
-
287
-
288 //check if texture and size are references
-
289 ARC_String *tempStr, *spritesheetStr, *framesStr;
-
290 ARC_String_CopySubstring(&tempStr, string, 1, split - 1);
-
291 ARC_String_StripEndsWhitespace(&spritesheetStr, tempStr);
-
292 ARC_String_Destroy(tempStr);
-
293
-
294 ARC_String_CopySubstring(&tempStr, string, split + 1, string->length - (split + 1));
-
295 ARC_String_StripEndsWhitespace(&framesStr, tempStr);
-
296 ARC_String_Destroy(tempStr);
-
297
-
298 ARC_Config_Get(config, spritesheetStr, (void **)&temp);
-
299 ARC_String_Destroy(spritesheetStr);
-
300 if(temp){
-
301 free(spriteValue->spritesheet);
-
302 }
-
303
-
304 ARC_Config_Get(config, framesStr, (void **)&temp);
-
305 ARC_String_Destroy(framesStr);
-
306 if(temp){
-
307 free(spriteValue->frames);
-
308 }
-
309
-
310 free(spriteValue);
-
311}
-
- - -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_DATA
Definition errno.h:7
- -
void ARC_GraphicsConfig_Init(ARC_Config *config, ARC_Renderer *renderer)
Definition config.c:30
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- -
void ARC_Sprite_Create(ARC_Sprite **sprite, ARC_Spritesheet *spritesheet, ARC_Array *frames)
creates ARC_Sprite type
Definition sprite.c:11
- - -
uint8_t ARC_RectArray_Read(ARC_Config *config, ARC_String *string, void **value)
Definition config.c:183
- -
int32_t ARC_SDL_Texture_Load(const char *path, SDL_Texture **texture)
Definition config.c:47
-
void ARC_Sprite_Delete(ARC_Config *config, ARC_String *string, void *value)
Definition config.c:277
-
void ARC_SDL_Texture_Delete(ARC_Config *config, ARC_String *string, void *value)
Definition config.c:223
-
void ARC_Spritesheet_ReadTexture(ARC_Config *config, ARC_String *string, uint32_t *size, void **value)
Definition config.c:84
-
SDL_Renderer * global_renderer
Definition config.c:20
-
uint64_t ARC_GraphicsConfig_GetIndexAndErrorCheck(ARC_String *string, char *search, uint64_t searchLength)
Definition config.c:37
-
uint8_t ARC_Spritesheet_Read(ARC_Config *config, ARC_String *string, void **value)
Definition config.c:114
-
uint8_t ARC_Sprite_Read(ARC_Config *config, ARC_String *string, void **value)
Definition config.c:153
-
void ARC_Spritesheet_Delete(ARC_Config *config, ARC_String *string, void *value)
Definition config.c:227
-
uint8_t ARC_SDL_Texture_Read(ARC_Config *config, ARC_String *string, void **value)
Definition config.c:66
- - - - -
void ARC_Config_AddKeyCString(ARC_Config *config, const char *type, uint64_t length, ARC_ConfigKeyRead keyRead, ARC_ConfigKeyDelete keyDelete)
adds a key from a cstring
Definition config.c:55
-
void ARC_Config_Get(ARC_Config *config, ARC_String *keyname, void **value)
get a value from a given keyname
Definition config.c:124
- -
uint8_t ARC_ConfigKey_Read_Uint32_t(ARC_Config *config, ARC_String *string, void **value)
- -
void ARC_String_StripEndsWhitespace(ARC_String **stripped, ARC_String *original)
strips the whitespace from the ends of a string
Definition string.c:437
-
void ARC_String_CopySubstring(ARC_String **substring, ARC_String *original, uint64_t start, uint64_t length)
copy a subtring from a givin ARC_String
Definition string.c:72
-
uint64_t ARC_String_FindCString(ARC_String *string, const char *cstring, uint64_t length)
takes given cstring and gives position of first matching
Definition string.c:252
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
a type that holds an array of data and its size
Definition array.h:13
-
uint32_t size
Definition array.h:14
-
void * data
Definition array.h:15
- - - -
ARC_Spritesheet * spritesheet
Definition sprite.h:8
-
ARC_Array * frames
Definition sprite.h:9
- -
uint32_t * size
Definition spritesheet.h:9
-
substring position within a string
Definition string.h:14
-
uint64_t length
Definition string.h:16
-
char * data
Definition string.h:15
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html b/doc/doxygen/html/d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html deleted file mode 100644 index 38276f0..0000000 --- a/doc/doxygen/html/d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html +++ /dev/null @@ -1,593 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/3.31.3/CompilerIdC/CMakeCCompilerId.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
CMakeCCompilerId.c File Reference
-
-
- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Macros

#define __has_include(x)
 
#define COMPILER_ID   ""
 
#define STRINGIFY_HELPER(X)
 
#define STRINGIFY(X)
 
#define PLATFORM_ID
 
#define ARCHITECTURE_ID
 
#define DEC(n)
 
#define HEX(n)
 
#define C_STD_99   199901L
 
#define C_STD_11   201112L
 
#define C_STD_17   201710L
 
#define C_STD_23   202311L
 
#define C_VERSION
 
- - - -

-Functions

int main (int argc, char *argv[])
 
- - - - - - - - - - - -

-Variables

char const * info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"
 
char const * info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"
 
char const * info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"
 
const char * info_language_standard_default
 
const char * info_language_extensions_default
 
-

Macro Definition Documentation

- -

◆ __has_include

- -
-
- - - - - - - -
#define __has_include( x)
-
-Value:
0
-
-

Definition at line 17 of file CMakeCCompilerId.c.

- -
-
- -

◆ ARCHITECTURE_ID

- -
-
- - - - -
#define ARCHITECTURE_ID
-
- -

Definition at line 745 of file CMakeCCompilerId.c.

- -
-
- -

◆ C_STD_11

- -
-
- - - - -
#define C_STD_11   201112L
-
- -

Definition at line 831 of file CMakeCCompilerId.c.

- -
-
- -

◆ C_STD_17

- -
-
- - - - -
#define C_STD_17   201710L
-
- -

Definition at line 832 of file CMakeCCompilerId.c.

- -
-
- -

◆ C_STD_23

- -
-
- - - - -
#define C_STD_23   202311L
-
- -

Definition at line 833 of file CMakeCCompilerId.c.

- -
-
- -

◆ C_STD_99

- -
-
- - - - -
#define C_STD_99   199901L
-
- -

Definition at line 830 of file CMakeCCompilerId.c.

- -
-
- -

◆ C_VERSION

- -
-
- - - - -
#define C_VERSION
-
- -

Definition at line 843 of file CMakeCCompilerId.c.

- -
-
- -

◆ COMPILER_ID

- -
-
- - - - -
#define COMPILER_ID   ""
-
- -

Definition at line 448 of file CMakeCCompilerId.c.

- -
-
- -

◆ DEC

- -
-
- - - - - - - -
#define DEC( n)
-
-Value:
('0' + (((n) / 10000000)%10)), \
-
('0' + (((n) / 1000000)%10)), \
-
('0' + (((n) / 100000)%10)), \
-
('0' + (((n) / 10000)%10)), \
-
('0' + (((n) / 1000)%10)), \
-
('0' + (((n) / 100)%10)), \
-
('0' + (((n) / 10)%10)), \
-
('0' + ((n) % 10))
-
-

Definition at line 749 of file CMakeCCompilerId.c.

-
749#define DEC(n) \
-
750 ('0' + (((n) / 10000000)%10)), \
-
751 ('0' + (((n) / 1000000)%10)), \
-
752 ('0' + (((n) / 100000)%10)), \
-
753 ('0' + (((n) / 10000)%10)), \
-
754 ('0' + (((n) / 1000)%10)), \
-
755 ('0' + (((n) / 100)%10)), \
-
756 ('0' + (((n) / 10)%10)), \
-
757 ('0' + ((n) % 10))
-
-
-
- -

◆ HEX

- -
-
- - - - - - - -
#define HEX( n)
-
-Value:
('0' + ((n)>>28 & 0xF)), \
-
('0' + ((n)>>24 & 0xF)), \
-
('0' + ((n)>>20 & 0xF)), \
-
('0' + ((n)>>16 & 0xF)), \
-
('0' + ((n)>>12 & 0xF)), \
-
('0' + ((n)>>8 & 0xF)), \
-
('0' + ((n)>>4 & 0xF)), \
-
('0' + ((n) & 0xF))
-
-

Definition at line 760 of file CMakeCCompilerId.c.

-
760#define HEX(n) \
-
761 ('0' + ((n)>>28 & 0xF)), \
-
762 ('0' + ((n)>>24 & 0xF)), \
-
763 ('0' + ((n)>>20 & 0xF)), \
-
764 ('0' + ((n)>>16 & 0xF)), \
-
765 ('0' + ((n)>>12 & 0xF)), \
-
766 ('0' + ((n)>>8 & 0xF)), \
-
767 ('0' + ((n)>>4 & 0xF)), \
-
768 ('0' + ((n) & 0xF))
-
-
-
- -

◆ PLATFORM_ID

- -
-
- - - - -
#define PLATFORM_ID
-
- -

Definition at line 579 of file CMakeCCompilerId.c.

- -
-
- -

◆ STRINGIFY

- -
-
- - - - - - - -
#define STRINGIFY( X)
-
-Value:
-
#define STRINGIFY_HELPER(X)
-
-

Definition at line 469 of file CMakeCCompilerId.c.

- -
-
- -

◆ STRINGIFY_HELPER

- -
-
- - - - - - - -
#define STRINGIFY_HELPER( X)
-
-Value:
#X
-
-

Definition at line 468 of file CMakeCCompilerId.c.

- -
-
-

Function Documentation

- -

◆ main()

- -
-
- - - - - - - - - - - -
int main (int argc,
char * argv[] )
-
- -

Definition at line 877 of file CMakeCCompilerId.c.

-
879{
-
880 int require = 0;
-
881 require += info_compiler[argc];
-
882 require += info_platform[argc];
-
883 require += info_arch[argc];
-
884#ifdef COMPILER_VERSION_MAJOR
-
885 require += info_version[argc];
-
886#endif
-
887#ifdef COMPILER_VERSION_INTERNAL
-
888 require += info_version_internal[argc];
-
889#endif
-
890#ifdef SIMULATE_ID
-
891 require += info_simulate[argc];
-
892#endif
-
893#ifdef SIMULATE_VERSION_MAJOR
-
894 require += info_simulate_version[argc];
-
895#endif
-
896#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
-
897 require += info_cray[argc];
-
898#endif
-
899 require += info_language_standard_default[argc];
-
900 require += info_language_extensions_default[argc];
-
901 (void)argv;
-
902 return require;
-
903}
-
const char * info_language_extensions_default
-
char const * info_platform
-
const char * info_language_standard_default
-
char const * info_compiler
-
char const * info_arch
-
-

References info_arch, info_compiler, info_language_extensions_default, info_language_standard_default, and info_platform.

- -
-
-

Variable Documentation

- -

◆ info_arch

- -
-
- - - - -
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"
-
- -

Definition at line 826 of file CMakeCCompilerId.c.

- -
-
- -

◆ info_compiler

- -
-
- - - - -
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"
-
- -

Definition at line 455 of file CMakeCCompilerId.c.

- -
-
- -

◆ info_language_extensions_default

- -
-
- - - - -
const char* info_language_extensions_default
-
-Initial value:
= "INFO" ":" "extensions_default["
-
-
-
-
-
-
"OFF"
-
-
"]"
-
-

Definition at line 859 of file CMakeCCompilerId.c.

- -
-
- -

◆ info_language_standard_default

- -
-
- - - - -
const char* info_language_standard_default
-
-Initial value:
=
-
"INFO" ":" "standard_default[" C_VERSION "]"
-
#define C_VERSION
-
-

Definition at line 856 of file CMakeCCompilerId.c.

- -
-
- -

◆ info_platform

- -
-
- - - - -
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"
-
- -

Definition at line 825 of file CMakeCCompilerId.c.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.js b/doc/doxygen/html/d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.js deleted file mode 100644 index 8364192..0000000 --- a/doc/doxygen/html/d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.js +++ /dev/null @@ -1,22 +0,0 @@ -var 3_831_83_2CompilerIdC_2CMakeCCompilerId_8c = -[ - [ "__has_include", "d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#ae5510d82e4946f1656f4969911c54736", null ], - [ "ARCHITECTURE_ID", "d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#aba35d0d200deaeb06aee95ca297acb28", null ], - [ "C_STD_11", "d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#a7c35af7e67642a2c62eb27dd81be11b2", null ], - [ "C_STD_17", "d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#aa8cd9c2c76dde36abac0bd7698090693", null ], - [ "C_STD_23", "d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#a81af617e8f7b5417689ca478ce9f4d69", null ], - [ "C_STD_99", "d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#af6079dc519dac099ee85a1df6ae5e5e8", null ], - [ "C_VERSION", "d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#adaee3ee7c5a7a22451ea25e762e1d7d5", null ], - [ "COMPILER_ID", "d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#a81dee0709ded976b2e0319239f72d174", null ], - [ "DEC", "d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#ad1280362da42492bbc11aa78cbf776ad", null ], - [ "HEX", "d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#a46d5d95daa1bef867bd0179594310ed5", null ], - [ "PLATFORM_ID", "d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#adbc5372f40838899018fadbc89bd588b", null ], - [ "STRINGIFY", "d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#a43e1cad902b6477bec893cb6430bd6c8", null ], - [ "STRINGIFY_HELPER", "d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#a2ae9b72bb13abaabfcf2ee0ba7d3fa1d", null ], - [ "main", "d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#a0ddf1224851353fc92bfbff6f499fa97", null ], - [ "info_arch", "d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#a59647e99d304ed33b15cb284c27ed391", null ], - [ "info_compiler", "d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#a4b0efeb7a5d59313986b3a0390f050f6", null ], - [ "info_language_extensions_default", "d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#a0f46a8a39e09d9b803c4766904fd7e99", null ], - [ "info_language_standard_default", "d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#a4607cccf070750927b458473ca82c090", null ], - [ "info_platform", "d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#a2321403dee54ee23f0c2fa849c60f7d4", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c_source.html b/doc/doxygen/html/d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c_source.html deleted file mode 100644 index 5160787..0000000 --- a/doc/doxygen/html/d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c_source.html +++ /dev/null @@ -1,1048 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/3.31.3/CompilerIdC/CMakeCCompilerId.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
CMakeCCompilerId.c
-
-
-Go to the documentation of this file.
1#ifdef __cplusplus
-
2# error "A C++ compiler has been selected for C."
-
3#endif
-
4
-
5#if defined(__18CXX)
-
6# define ID_VOID_MAIN
-
7#endif
-
8#if defined(__CLASSIC_C__)
-
9/* cv-qualifiers did not exist in K&R C */
-
10# define const
-
11# define volatile
-
12#endif
-
13
-
14#if !defined(__has_include)
-
15/* If the compiler does not have __has_include, pretend the answer is
-
16 always no. */
-
17# define __has_include(x) 0
-
18#endif
-
19
-
20
-
21/* Version number components: V=Version, R=Revision, P=Patch
-
22 Version date components: YYYY=Year, MM=Month, DD=Day */
-
23
-
24#if defined(__INTEL_COMPILER) || defined(__ICC)
-
25# define COMPILER_ID "Intel"
-
26# if defined(_MSC_VER)
-
27# define SIMULATE_ID "MSVC"
-
28# endif
-
29# if defined(__GNUC__)
-
30# define SIMULATE_ID "GNU"
-
31# endif
-
32 /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
-
33 except that a few beta releases use the old format with V=2021. */
-
34# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
-
35# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
-
36# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
-
37# if defined(__INTEL_COMPILER_UPDATE)
-
38# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
-
39# else
-
40# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
-
41# endif
-
42# else
-
43# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
-
44# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
-
45 /* The third version component from --version is an update index,
-
46 but no macro is provided for it. */
-
47# define COMPILER_VERSION_PATCH DEC(0)
-
48# endif
-
49# if defined(__INTEL_COMPILER_BUILD_DATE)
-
50 /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
-
51# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
-
52# endif
-
53# if defined(_MSC_VER)
-
54 /* _MSC_VER = VVRR */
-
55# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-
56# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-
57# endif
-
58# if defined(__GNUC__)
-
59# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
-
60# elif defined(__GNUG__)
-
61# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
-
62# endif
-
63# if defined(__GNUC_MINOR__)
-
64# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
-
65# endif
-
66# if defined(__GNUC_PATCHLEVEL__)
-
67# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-
68# endif
-
69
-
70#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
-
71# define COMPILER_ID "IntelLLVM"
-
72#if defined(_MSC_VER)
-
73# define SIMULATE_ID "MSVC"
-
74#endif
-
75#if defined(__GNUC__)
-
76# define SIMULATE_ID "GNU"
-
77#endif
-
78/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
-
79 * later. Look for 6 digit vs. 8 digit version number to decide encoding.
-
80 * VVVV is no smaller than the current year when a version is released.
-
81 */
-
82#if __INTEL_LLVM_COMPILER < 1000000L
-
83# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
-
84# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
-
85# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
-
86#else
-
87# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
-
88# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
-
89# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
-
90#endif
-
91#if defined(_MSC_VER)
-
92 /* _MSC_VER = VVRR */
-
93# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-
94# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-
95#endif
-
96#if defined(__GNUC__)
-
97# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
-
98#elif defined(__GNUG__)
-
99# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
-
100#endif
-
101#if defined(__GNUC_MINOR__)
-
102# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
-
103#endif
-
104#if defined(__GNUC_PATCHLEVEL__)
-
105# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-
106#endif
-
107
-
108#elif defined(__PATHCC__)
-
109# define COMPILER_ID "PathScale"
-
110# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
-
111# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
-
112# if defined(__PATHCC_PATCHLEVEL__)
-
113# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
-
114# endif
-
115
-
116#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
-
117# define COMPILER_ID "Embarcadero"
-
118# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
-
119# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
-
120# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
-
121
-
122#elif defined(__BORLANDC__)
-
123# define COMPILER_ID "Borland"
-
124 /* __BORLANDC__ = 0xVRR */
-
125# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
-
126# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
-
127
-
128#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
-
129# define COMPILER_ID "Watcom"
-
130 /* __WATCOMC__ = VVRR */
-
131# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
-
132# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
-
133# if (__WATCOMC__ % 10) > 0
-
134# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
-
135# endif
-
136
-
137#elif defined(__WATCOMC__)
-
138# define COMPILER_ID "OpenWatcom"
-
139 /* __WATCOMC__ = VVRP + 1100 */
-
140# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
-
141# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
-
142# if (__WATCOMC__ % 10) > 0
-
143# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
-
144# endif
-
145
-
146#elif defined(__SUNPRO_C)
-
147# define COMPILER_ID "SunPro"
-
148# if __SUNPRO_C >= 0x5100
-
149 /* __SUNPRO_C = 0xVRRP */
-
150# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
-
151# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
-
152# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
-
153# else
-
154 /* __SUNPRO_CC = 0xVRP */
-
155# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
-
156# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
-
157# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
-
158# endif
-
159
-
160#elif defined(__HP_cc)
-
161# define COMPILER_ID "HP"
-
162 /* __HP_cc = VVRRPP */
-
163# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
-
164# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
-
165# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
-
166
-
167#elif defined(__DECC)
-
168# define COMPILER_ID "Compaq"
-
169 /* __DECC_VER = VVRRTPPPP */
-
170# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
-
171# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
-
172# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
-
173
-
174#elif defined(__IBMC__) && defined(__COMPILER_VER__)
-
175# define COMPILER_ID "zOS"
-
176 /* __IBMC__ = VRP */
-
177# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
-
178# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
-
179# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
-
180
-
181#elif defined(__open_xl__) && defined(__clang__)
-
182# define COMPILER_ID "IBMClang"
-
183# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__)
-
184# define COMPILER_VERSION_MINOR DEC(__open_xl_release__)
-
185# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__)
-
186# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__)
-
187
-
188
-
189#elif defined(__ibmxl__) && defined(__clang__)
-
190# define COMPILER_ID "XLClang"
-
191# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
-
192# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
-
193# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
-
194# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
-
195
-
196
-
197#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
-
198# define COMPILER_ID "XL"
-
199 /* __IBMC__ = VRP */
-
200# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
-
201# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
-
202# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
-
203
-
204#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
-
205# define COMPILER_ID "VisualAge"
-
206 /* __IBMC__ = VRP */
-
207# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
-
208# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
-
209# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
-
210
-
211#elif defined(__NVCOMPILER)
-
212# define COMPILER_ID "NVHPC"
-
213# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
-
214# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
-
215# if defined(__NVCOMPILER_PATCHLEVEL__)
-
216# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
-
217# endif
-
218
-
219#elif defined(__PGI)
-
220# define COMPILER_ID "PGI"
-
221# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
-
222# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
-
223# if defined(__PGIC_PATCHLEVEL__)
-
224# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
-
225# endif
-
226
-
227#elif defined(__clang__) && defined(__cray__)
-
228# define COMPILER_ID "CrayClang"
-
229# define COMPILER_VERSION_MAJOR DEC(__cray_major__)
-
230# define COMPILER_VERSION_MINOR DEC(__cray_minor__)
-
231# define COMPILER_VERSION_PATCH DEC(__cray_patchlevel__)
-
232# define COMPILER_VERSION_INTERNAL_STR __clang_version__
-
233
-
234
-
235#elif defined(_CRAYC)
-
236# define COMPILER_ID "Cray"
-
237# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
-
238# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
-
239
-
240#elif defined(__TI_COMPILER_VERSION__)
-
241# define COMPILER_ID "TI"
-
242 /* __TI_COMPILER_VERSION__ = VVVRRRPPP */
-
243# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
-
244# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
-
245# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
-
246
-
247#elif defined(__CLANG_FUJITSU)
-
248# define COMPILER_ID "FujitsuClang"
-
249# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
-
250# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
-
251# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
-
252# define COMPILER_VERSION_INTERNAL_STR __clang_version__
-
253
-
254
-
255#elif defined(__FUJITSU)
-
256# define COMPILER_ID "Fujitsu"
-
257# if defined(__FCC_version__)
-
258# define COMPILER_VERSION __FCC_version__
-
259# elif defined(__FCC_major__)
-
260# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
-
261# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
-
262# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
-
263# endif
-
264# if defined(__fcc_version)
-
265# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
-
266# elif defined(__FCC_VERSION)
-
267# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
-
268# endif
-
269
-
270
-
271#elif defined(__ghs__)
-
272# define COMPILER_ID "GHS"
-
273/* __GHS_VERSION_NUMBER = VVVVRP */
-
274# ifdef __GHS_VERSION_NUMBER
-
275# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
-
276# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
-
277# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
-
278# endif
-
279
-
280#elif defined(__TASKING__)
-
281# define COMPILER_ID "Tasking"
-
282 # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000)
-
283 # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100)
-
284# define COMPILER_VERSION_INTERNAL DEC(__VERSION__)
-
285
-
286#elif defined(__ORANGEC__)
-
287# define COMPILER_ID "OrangeC"
-
288# define COMPILER_VERSION_MAJOR DEC(__ORANGEC_MAJOR__)
-
289# define COMPILER_VERSION_MINOR DEC(__ORANGEC_MINOR__)
-
290# define COMPILER_VERSION_PATCH DEC(__ORANGEC_PATCHLEVEL__)
-
291
-
292#elif defined(__TINYC__)
-
293# define COMPILER_ID "TinyCC"
-
294
-
295#elif defined(__BCC__)
-
296# define COMPILER_ID "Bruce"
-
297
-
298#elif defined(__SCO_VERSION__)
-
299# define COMPILER_ID "SCO"
-
300
-
301#elif defined(__ARMCC_VERSION) && !defined(__clang__)
-
302# define COMPILER_ID "ARMCC"
-
303#if __ARMCC_VERSION >= 1000000
-
304 /* __ARMCC_VERSION = VRRPPPP */
-
305 # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
-
306 # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
-
307 # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
-
308#else
-
309 /* __ARMCC_VERSION = VRPPPP */
-
310 # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
-
311 # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
-
312 # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
-
313#endif
-
314
-
315
-
316#elif defined(__clang__) && defined(__apple_build_version__)
-
317# define COMPILER_ID "AppleClang"
-
318# if defined(_MSC_VER)
-
319# define SIMULATE_ID "MSVC"
-
320# endif
-
321# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
-
322# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
-
323# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
-
324# if defined(_MSC_VER)
-
325 /* _MSC_VER = VVRR */
-
326# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-
327# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-
328# endif
-
329# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
-
330
-
331#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
-
332# define COMPILER_ID "ARMClang"
-
333 # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
-
334 # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
-
335 # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100)
-
336# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
-
337
-
338#elif defined(__clang__) && defined(__ti__)
-
339# define COMPILER_ID "TIClang"
-
340 # define COMPILER_VERSION_MAJOR DEC(__ti_major__)
-
341 # define COMPILER_VERSION_MINOR DEC(__ti_minor__)
-
342 # define COMPILER_VERSION_PATCH DEC(__ti_patchlevel__)
-
343# define COMPILER_VERSION_INTERNAL DEC(__ti_version__)
-
344
-
345#elif defined(__clang__)
-
346# define COMPILER_ID "Clang"
-
347# if defined(_MSC_VER)
-
348# define SIMULATE_ID "MSVC"
-
349# endif
-
350# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
-
351# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
-
352# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
-
353# if defined(_MSC_VER)
-
354 /* _MSC_VER = VVRR */
-
355# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-
356# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-
357# endif
-
358
-
359#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
-
360# define COMPILER_ID "LCC"
-
361# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100)
-
362# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100)
-
363# if defined(__LCC_MINOR__)
-
364# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
-
365# endif
-
366# if defined(__GNUC__) && defined(__GNUC_MINOR__)
-
367# define SIMULATE_ID "GNU"
-
368# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
-
369# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
-
370# if defined(__GNUC_PATCHLEVEL__)
-
371# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-
372# endif
-
373# endif
-
374
-
375#elif defined(__GNUC__)
-
376# define COMPILER_ID "GNU"
-
377# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
-
378# if defined(__GNUC_MINOR__)
-
379# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
-
380# endif
-
381# if defined(__GNUC_PATCHLEVEL__)
-
382# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-
383# endif
-
384
-
385#elif defined(_MSC_VER)
-
386# define COMPILER_ID "MSVC"
-
387 /* _MSC_VER = VVRR */
-
388# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
-
389# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
-
390# if defined(_MSC_FULL_VER)
-
391# if _MSC_VER >= 1400
-
392 /* _MSC_FULL_VER = VVRRPPPPP */
-
393# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
-
394# else
-
395 /* _MSC_FULL_VER = VVRRPPPP */
-
396# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
-
397# endif
-
398# endif
-
399# if defined(_MSC_BUILD)
-
400# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
-
401# endif
-
402
-
403#elif defined(_ADI_COMPILER)
-
404# define COMPILER_ID "ADSP"
-
405#if defined(__VERSIONNUM__)
-
406 /* __VERSIONNUM__ = 0xVVRRPPTT */
-
407# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF)
-
408# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF)
-
409# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF)
-
410# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF)
-
411#endif
-
412
-
413#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
-
414# define COMPILER_ID "IAR"
-
415# if defined(__VER__) && defined(__ICCARM__)
-
416# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
-
417# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
-
418# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
-
419# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
-
420# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
-
421# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
-
422# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
-
423# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
-
424# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
-
425# endif
-
426
-
427#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
-
428# define COMPILER_ID "SDCC"
-
429# if defined(__SDCC_VERSION_MAJOR)
-
430# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
-
431# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
-
432# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
-
433# else
-
434 /* SDCC = VRP */
-
435# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
-
436# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
-
437# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
-
438# endif
-
439
-
440
-
441/* These compilers are either not known or too old to define an
-
442 identification macro. Try to identify the platform and guess that
-
443 it is the native compiler. */
-
444#elif defined(__hpux) || defined(__hpua)
-
445# define COMPILER_ID "HP"
-
446
-
447#else /* unknown compiler */
-
448# define COMPILER_ID ""
-
449#endif
-
450
-
451/* Construct the string literal in pieces to prevent the source from
-
452 getting matched. Store it in a pointer rather than an array
-
453 because some compilers will just produce instructions to fill the
-
454 array rather than assigning a pointer to a static array. */
-
455char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
-
456#ifdef SIMULATE_ID
-
457char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
-
458#endif
-
459
-
460#ifdef __QNXNTO__
-
461char const* qnxnto = "INFO" ":" "qnxnto[]";
-
462#endif
-
463
-
464#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
-
465char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
-
466#endif
-
467
-
468#define STRINGIFY_HELPER(X) #X
-
469#define STRINGIFY(X) STRINGIFY_HELPER(X)
-
470
-
471/* Identify known platforms by name. */
-
472#if defined(__linux) || defined(__linux__) || defined(linux)
-
473# define PLATFORM_ID "Linux"
-
474
-
475#elif defined(__MSYS__)
-
476# define PLATFORM_ID "MSYS"
-
477
-
478#elif defined(__CYGWIN__)
-
479# define PLATFORM_ID "Cygwin"
-
480
-
481#elif defined(__MINGW32__)
-
482# define PLATFORM_ID "MinGW"
-
483
-
484#elif defined(__APPLE__)
-
485# define PLATFORM_ID "Darwin"
-
486
-
487#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
-
488# define PLATFORM_ID "Windows"
-
489
-
490#elif defined(__FreeBSD__) || defined(__FreeBSD)
-
491# define PLATFORM_ID "FreeBSD"
-
492
-
493#elif defined(__NetBSD__) || defined(__NetBSD)
-
494# define PLATFORM_ID "NetBSD"
-
495
-
496#elif defined(__OpenBSD__) || defined(__OPENBSD)
-
497# define PLATFORM_ID "OpenBSD"
-
498
-
499#elif defined(__sun) || defined(sun)
-
500# define PLATFORM_ID "SunOS"
-
501
-
502#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
-
503# define PLATFORM_ID "AIX"
-
504
-
505#elif defined(__hpux) || defined(__hpux__)
-
506# define PLATFORM_ID "HP-UX"
-
507
-
508#elif defined(__HAIKU__)
-
509# define PLATFORM_ID "Haiku"
-
510
-
511#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
-
512# define PLATFORM_ID "BeOS"
-
513
-
514#elif defined(__QNX__) || defined(__QNXNTO__)
-
515# define PLATFORM_ID "QNX"
-
516
-
517#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
-
518# define PLATFORM_ID "Tru64"
-
519
-
520#elif defined(__riscos) || defined(__riscos__)
-
521# define PLATFORM_ID "RISCos"
-
522
-
523#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
-
524# define PLATFORM_ID "SINIX"
-
525
-
526#elif defined(__UNIX_SV__)
-
527# define PLATFORM_ID "UNIX_SV"
-
528
-
529#elif defined(__bsdos__)
-
530# define PLATFORM_ID "BSDOS"
-
531
-
532#elif defined(_MPRAS) || defined(MPRAS)
-
533# define PLATFORM_ID "MP-RAS"
-
534
-
535#elif defined(__osf) || defined(__osf__)
-
536# define PLATFORM_ID "OSF1"
-
537
-
538#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
-
539# define PLATFORM_ID "SCO_SV"
-
540
-
541#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
-
542# define PLATFORM_ID "ULTRIX"
-
543
-
544#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
-
545# define PLATFORM_ID "Xenix"
-
546
-
547#elif defined(__WATCOMC__)
-
548# if defined(__LINUX__)
-
549# define PLATFORM_ID "Linux"
-
550
-
551# elif defined(__DOS__)
-
552# define PLATFORM_ID "DOS"
-
553
-
554# elif defined(__OS2__)
-
555# define PLATFORM_ID "OS2"
-
556
-
557# elif defined(__WINDOWS__)
-
558# define PLATFORM_ID "Windows3x"
-
559
-
560# elif defined(__VXWORKS__)
-
561# define PLATFORM_ID "VxWorks"
-
562
-
563# else /* unknown platform */
-
564# define PLATFORM_ID
-
565# endif
-
566
-
567#elif defined(__INTEGRITY)
-
568# if defined(INT_178B)
-
569# define PLATFORM_ID "Integrity178"
-
570
-
571# else /* regular Integrity */
-
572# define PLATFORM_ID "Integrity"
-
573# endif
-
574
-
575# elif defined(_ADI_COMPILER)
-
576# define PLATFORM_ID "ADSP"
-
577
-
578#else /* unknown platform */
-
579# define PLATFORM_ID
-
580
-
581#endif
-
582
-
583/* For windows compilers MSVC and Intel we can determine
-
584 the architecture of the compiler being used. This is because
-
585 the compilers do not have flags that can change the architecture,
-
586 but rather depend on which compiler is being used
-
587*/
-
588#if defined(_WIN32) && defined(_MSC_VER)
-
589# if defined(_M_IA64)
-
590# define ARCHITECTURE_ID "IA64"
-
591
-
592# elif defined(_M_ARM64EC)
-
593# define ARCHITECTURE_ID "ARM64EC"
-
594
-
595# elif defined(_M_X64) || defined(_M_AMD64)
-
596# define ARCHITECTURE_ID "x64"
-
597
-
598# elif defined(_M_IX86)
-
599# define ARCHITECTURE_ID "X86"
-
600
-
601# elif defined(_M_ARM64)
-
602# define ARCHITECTURE_ID "ARM64"
-
603
-
604# elif defined(_M_ARM)
-
605# if _M_ARM == 4
-
606# define ARCHITECTURE_ID "ARMV4I"
-
607# elif _M_ARM == 5
-
608# define ARCHITECTURE_ID "ARMV5I"
-
609# else
-
610# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
-
611# endif
-
612
-
613# elif defined(_M_MIPS)
-
614# define ARCHITECTURE_ID "MIPS"
-
615
-
616# elif defined(_M_SH)
-
617# define ARCHITECTURE_ID "SHx"
-
618
-
619# else /* unknown architecture */
-
620# define ARCHITECTURE_ID ""
-
621# endif
-
622
-
623#elif defined(__WATCOMC__)
-
624# if defined(_M_I86)
-
625# define ARCHITECTURE_ID "I86"
-
626
-
627# elif defined(_M_IX86)
-
628# define ARCHITECTURE_ID "X86"
-
629
-
630# else /* unknown architecture */
-
631# define ARCHITECTURE_ID ""
-
632# endif
-
633
-
634#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
-
635# if defined(__ICCARM__)
-
636# define ARCHITECTURE_ID "ARM"
-
637
-
638# elif defined(__ICCRX__)
-
639# define ARCHITECTURE_ID "RX"
-
640
-
641# elif defined(__ICCRH850__)
-
642# define ARCHITECTURE_ID "RH850"
-
643
-
644# elif defined(__ICCRL78__)
-
645# define ARCHITECTURE_ID "RL78"
-
646
-
647# elif defined(__ICCRISCV__)
-
648# define ARCHITECTURE_ID "RISCV"
-
649
-
650# elif defined(__ICCAVR__)
-
651# define ARCHITECTURE_ID "AVR"
-
652
-
653# elif defined(__ICC430__)
-
654# define ARCHITECTURE_ID "MSP430"
-
655
-
656# elif defined(__ICCV850__)
-
657# define ARCHITECTURE_ID "V850"
-
658
-
659# elif defined(__ICC8051__)
-
660# define ARCHITECTURE_ID "8051"
-
661
-
662# elif defined(__ICCSTM8__)
-
663# define ARCHITECTURE_ID "STM8"
-
664
-
665# else /* unknown architecture */
-
666# define ARCHITECTURE_ID ""
-
667# endif
-
668
-
669#elif defined(__ghs__)
-
670# if defined(__PPC64__)
-
671# define ARCHITECTURE_ID "PPC64"
-
672
-
673# elif defined(__ppc__)
-
674# define ARCHITECTURE_ID "PPC"
-
675
-
676# elif defined(__ARM__)
-
677# define ARCHITECTURE_ID "ARM"
-
678
-
679# elif defined(__x86_64__)
-
680# define ARCHITECTURE_ID "x64"
-
681
-
682# elif defined(__i386__)
-
683# define ARCHITECTURE_ID "X86"
-
684
-
685# else /* unknown architecture */
-
686# define ARCHITECTURE_ID ""
-
687# endif
-
688
-
689#elif defined(__clang__) && defined(__ti__)
-
690# if defined(__ARM_ARCH)
-
691# define ARCHITECTURE_ID "Arm"
-
692
-
693# else /* unknown architecture */
-
694# define ARCHITECTURE_ID ""
-
695# endif
-
696
-
697#elif defined(__TI_COMPILER_VERSION__)
-
698# if defined(__TI_ARM__)
-
699# define ARCHITECTURE_ID "ARM"
-
700
-
701# elif defined(__MSP430__)
-
702# define ARCHITECTURE_ID "MSP430"
-
703
-
704# elif defined(__TMS320C28XX__)
-
705# define ARCHITECTURE_ID "TMS320C28x"
-
706
-
707# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
-
708# define ARCHITECTURE_ID "TMS320C6x"
-
709
-
710# else /* unknown architecture */
-
711# define ARCHITECTURE_ID ""
-
712# endif
-
713
-
714# elif defined(__ADSPSHARC__)
-
715# define ARCHITECTURE_ID "SHARC"
-
716
-
717# elif defined(__ADSPBLACKFIN__)
-
718# define ARCHITECTURE_ID "Blackfin"
-
719
-
720#elif defined(__TASKING__)
-
721
-
722# if defined(__CTC__) || defined(__CPTC__)
-
723# define ARCHITECTURE_ID "TriCore"
-
724
-
725# elif defined(__CMCS__)
-
726# define ARCHITECTURE_ID "MCS"
-
727
-
728# elif defined(__CARM__)
-
729# define ARCHITECTURE_ID "ARM"
-
730
-
731# elif defined(__CARC__)
-
732# define ARCHITECTURE_ID "ARC"
-
733
-
734# elif defined(__C51__)
-
735# define ARCHITECTURE_ID "8051"
-
736
-
737# elif defined(__CPCP__)
-
738# define ARCHITECTURE_ID "PCP"
-
739
-
740# else
-
741# define ARCHITECTURE_ID ""
-
742# endif
-
743
-
744#else
-
745# define ARCHITECTURE_ID
-
746#endif
-
747
-
748/* Convert integer to decimal digit literals. */
-
-
749#define DEC(n) \
-
750 ('0' + (((n) / 10000000)%10)), \
-
751 ('0' + (((n) / 1000000)%10)), \
-
752 ('0' + (((n) / 100000)%10)), \
-
753 ('0' + (((n) / 10000)%10)), \
-
754 ('0' + (((n) / 1000)%10)), \
-
755 ('0' + (((n) / 100)%10)), \
-
756 ('0' + (((n) / 10)%10)), \
-
757 ('0' + ((n) % 10))
-
-
758
-
759/* Convert integer to hex digit literals. */
-
-
760#define HEX(n) \
-
761 ('0' + ((n)>>28 & 0xF)), \
-
762 ('0' + ((n)>>24 & 0xF)), \
-
763 ('0' + ((n)>>20 & 0xF)), \
-
764 ('0' + ((n)>>16 & 0xF)), \
-
765 ('0' + ((n)>>12 & 0xF)), \
-
766 ('0' + ((n)>>8 & 0xF)), \
-
767 ('0' + ((n)>>4 & 0xF)), \
-
768 ('0' + ((n) & 0xF))
-
-
769
-
770/* Construct a string literal encoding the version number. */
-
771#ifdef COMPILER_VERSION
-
772char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
-
773
-
774/* Construct a string literal encoding the version number components. */
-
775#elif defined(COMPILER_VERSION_MAJOR)
-
776char const info_version[] = {
-
777 'I', 'N', 'F', 'O', ':',
-
778 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
-
779 COMPILER_VERSION_MAJOR,
-
780# ifdef COMPILER_VERSION_MINOR
-
781 '.', COMPILER_VERSION_MINOR,
-
782# ifdef COMPILER_VERSION_PATCH
-
783 '.', COMPILER_VERSION_PATCH,
-
784# ifdef COMPILER_VERSION_TWEAK
-
785 '.', COMPILER_VERSION_TWEAK,
-
786# endif
-
787# endif
-
788# endif
-
789 ']','\0'};
-
790#endif
-
791
-
792/* Construct a string literal encoding the internal version number. */
-
793#ifdef COMPILER_VERSION_INTERNAL
-
794char const info_version_internal[] = {
-
795 'I', 'N', 'F', 'O', ':',
-
796 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
-
797 'i','n','t','e','r','n','a','l','[',
-
798 COMPILER_VERSION_INTERNAL,']','\0'};
-
799#elif defined(COMPILER_VERSION_INTERNAL_STR)
-
800char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
-
801#endif
-
802
-
803/* Construct a string literal encoding the version number components. */
-
804#ifdef SIMULATE_VERSION_MAJOR
-
805char const info_simulate_version[] = {
-
806 'I', 'N', 'F', 'O', ':',
-
807 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
-
808 SIMULATE_VERSION_MAJOR,
-
809# ifdef SIMULATE_VERSION_MINOR
-
810 '.', SIMULATE_VERSION_MINOR,
-
811# ifdef SIMULATE_VERSION_PATCH
-
812 '.', SIMULATE_VERSION_PATCH,
-
813# ifdef SIMULATE_VERSION_TWEAK
-
814 '.', SIMULATE_VERSION_TWEAK,
-
815# endif
-
816# endif
-
817# endif
-
818 ']','\0'};
-
819#endif
-
820
-
821/* Construct the string literal in pieces to prevent the source from
-
822 getting matched. Store it in a pointer rather than an array
-
823 because some compilers will just produce instructions to fill the
-
824 array rather than assigning a pointer to a static array. */
-
825char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
-
826char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
-
827
-
828
-
829
-
830#define C_STD_99 199901L
-
831#define C_STD_11 201112L
-
832#define C_STD_17 201710L
-
833#define C_STD_23 202311L
-
834
-
835#ifdef __STDC_VERSION__
-
836# define C_STD __STDC_VERSION__
-
837#endif
-
838
-
839#if !defined(__STDC__) && !defined(__clang__)
-
840# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__)
-
841# define C_VERSION "90"
-
842# else
-
843# define C_VERSION
-
844# endif
-
845#elif C_STD > C_STD_17
-
846# define C_VERSION "23"
-
847#elif C_STD > C_STD_11
-
848# define C_VERSION "17"
-
849#elif C_STD > C_STD_99
-
850# define C_VERSION "11"
-
851#elif C_STD >= C_STD_99
-
852# define C_VERSION "99"
-
853#else
-
854# define C_VERSION "90"
-
855#endif
- -
857 "INFO" ":" "standard_default[" C_VERSION "]";
-
858
-
859const char* info_language_extensions_default = "INFO" ":" "extensions_default["
-
860#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \
-
861 defined(__TI_COMPILER_VERSION__)) && \
-
862 !defined(__STRICT_ANSI__)
-
863 "ON"
-
864#else
-
865 "OFF"
-
866#endif
-
867"]";
-
868
-
869/*--------------------------------------------------------------------------*/
-
870
-
871#ifdef ID_VOID_MAIN
-
872void main() {}
-
873#else
-
874# if defined(__CLASSIC_C__)
-
875int main(argc, argv) int argc; char *argv[];
-
876# else
-
-
877int main(int argc, char* argv[])
-
878# endif
-
879{
-
880 int require = 0;
-
881 require += info_compiler[argc];
-
882 require += info_platform[argc];
-
883 require += info_arch[argc];
-
884#ifdef COMPILER_VERSION_MAJOR
-
885 require += info_version[argc];
-
886#endif
-
887#ifdef COMPILER_VERSION_INTERNAL
-
888 require += info_version_internal[argc];
-
889#endif
-
890#ifdef SIMULATE_ID
-
891 require += info_simulate[argc];
-
892#endif
-
893#ifdef SIMULATE_VERSION_MAJOR
-
894 require += info_simulate_version[argc];
-
895#endif
-
896#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
-
897 require += info_cray[argc];
-
898#endif
-
899 require += info_language_standard_default[argc];
-
900 require += info_language_extensions_default[argc];
-
901 (void)argv;
-
902 return require;
-
903}
-
-
904#endif
-
const char * info_language_extensions_default
-
char const * info_platform
-
const char * info_language_standard_default
-
char const * info_compiler
-
char const * info_arch
-
#define COMPILER_ID
-
#define ARCHITECTURE_ID
-
#define C_VERSION
-
#define PLATFORM_ID
-
int main(void)
Definition test.c:19
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d39/tests_8dir_2src_2graphics_2circle_8c_8o_8d.html b/doc/doxygen/html/d9/d39/tests_8dir_2src_2graphics_2circle_8c_8o_8d.html deleted file mode 100644 index 82e2712..0000000 --- a/doc/doxygen/html/d9/d39/tests_8dir_2src_2graphics_2circle_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/graphics/circle.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
circle.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d9/d39/tests_8dir_2src_2graphics_2circle_8c_8o_8d_source.html b/doc/doxygen/html/d9/d39/tests_8dir_2src_2graphics_2circle_8c_8o_8d_source.html deleted file mode 100644 index 8ffd8d5..0000000 --- a/doc/doxygen/html/d9/d39/tests_8dir_2src_2graphics_2circle_8c_8o_8d_source.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/graphics/circle.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
circle.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/graphics/circle.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/graphics/circle.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/graphics/circle.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/graphics/color.h \
-
6 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
7 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
8 /usr/include/features.h /usr/include/features-time64.h \
-
9 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
10 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
11 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
12 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
13 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
14 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
15 /usr/include/bits/stdint-least.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/graphics/renderer.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/math/circle.h \
-
18 /usr/include/stdio.h \
-
19 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
21 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
22 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
23 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
24 /usr/include/bits/types/cookie_io_functions_t.h \
-
25 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
26 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d43/tests_8dir_2src_2std_2stack_8c_8o_8d.html b/doc/doxygen/html/d9/d43/tests_8dir_2src_2std_2stack_8c_8o_8d.html deleted file mode 100644 index df41dd0..0000000 --- a/doc/doxygen/html/d9/d43/tests_8dir_2src_2std_2stack_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/stack.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
stack.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d9/d43/tests_8dir_2src_2std_2stack_8c_8o_8d_source.html b/doc/doxygen/html/d9/d43/tests_8dir_2src_2std_2stack_8c_8o_8d_source.html deleted file mode 100644 index 7973d44..0000000 --- a/doc/doxygen/html/d9/d43/tests_8dir_2src_2std_2stack_8c_8o_8d_source.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/stack.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
stack.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/std/stack.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/stack.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/stack.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h \
-
15 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
16 /usr/include/stdio.h \
-
17 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
18 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
19 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
20 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
21 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
22 /usr/include/bits/types/cookie_io_functions_t.h \
-
23 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
24 /usr/include/bits/floatn-common.h /usr/include/stdlib.h \
-
25 /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
-
26 /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \
-
27 /usr/include/bits/types/clockid_t.h /usr/include/bits/types/time_t.h \
-
28 /usr/include/bits/types/timer_t.h /usr/include/endian.h \
-
29 /usr/include/bits/endian.h /usr/include/bits/endianness.h \
-
30 /usr/include/bits/byteswap.h /usr/include/bits/uintn-identity.h \
-
31 /usr/include/sys/select.h /usr/include/bits/select.h \
-
32 /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \
-
33 /usr/include/bits/types/struct_timeval.h \
-
34 /usr/include/bits/types/struct_timespec.h \
-
35 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
36 /usr/include/bits/pthreadtypes-arch.h \
-
37 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
38 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
39 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d4c/structARC__ConsoleShell.html b/doc/doxygen/html/d9/d4c/structARC__ConsoleShell.html deleted file mode 100644 index 2dcc779..0000000 --- a/doc/doxygen/html/d9/d4c/structARC__ConsoleShell.html +++ /dev/null @@ -1,287 +0,0 @@ - - - - - - - - -Archeus: ARC_ConsoleShell Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_ConsoleShell Struct Reference
-
-
- -

#include <shell.h>

- - - - - - - - - - - - - - - - - - -

-Data Fields

ARC_ConsoleViewview
 
ARC_ConsoleBufferbuffer
 
uint32_t bufferLineIndex
 
ARC_Vectorhistory
 
uint32_t historyIndex
 
ARC_ConsoleShell_UpdateFn updateFn
 
ARC_StringcurrentLine
 
ARC_StringuserInput
 
-

Detailed Description

-
-

Definition at line 29 of file shell.h.

-

Field Documentation

- -

◆ buffer

- -
-
- - - - -
ARC_ConsoleBuffer* ARC_ConsoleShell::buffer
-
- -

Definition at line 31 of file shell.h.

- -
-
- -

◆ bufferLineIndex

- -
-
- - - - -
uint32_t ARC_ConsoleShell::bufferLineIndex
-
- -

Definition at line 32 of file shell.h.

- -
-
- -

◆ currentLine

- -
-
- - - - -
ARC_String* ARC_ConsoleShell::currentLine
-
- -

Definition at line 39 of file shell.h.

- -
-
- -

◆ history

- -
-
- - - - -
ARC_Vector* ARC_ConsoleShell::history
-
- -

Definition at line 34 of file shell.h.

- -
-
- -

◆ historyIndex

- -
-
- - - - -
uint32_t ARC_ConsoleShell::historyIndex
-
- -

Definition at line 35 of file shell.h.

- -
-
- -

◆ updateFn

- -
-
- - - - -
ARC_ConsoleShell_UpdateFn ARC_ConsoleShell::updateFn
-
- -

Definition at line 37 of file shell.h.

- -
-
- -

◆ userInput

- -
-
- - - - -
ARC_String* ARC_ConsoleShell::userInput
-
- -

Definition at line 40 of file shell.h.

- -
-
- -

◆ view

- -
-
- - - - -
ARC_ConsoleView* ARC_ConsoleShell::view
-
- -

Definition at line 30 of file shell.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/include/arc/console/shell.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d4c/structARC__ConsoleShell.js b/doc/doxygen/html/d9/d4c/structARC__ConsoleShell.js deleted file mode 100644 index 1c455c4..0000000 --- a/doc/doxygen/html/d9/d4c/structARC__ConsoleShell.js +++ /dev/null @@ -1,11 +0,0 @@ -var structARC__ConsoleShell = -[ - [ "buffer", "d9/d4c/structARC__ConsoleShell.html#a77c4a161dfbf8ad6c6afc18362c3ec66", null ], - [ "bufferLineIndex", "d9/d4c/structARC__ConsoleShell.html#a25d7454e64c1af58a66288d8a12b04ce", null ], - [ "currentLine", "d9/d4c/structARC__ConsoleShell.html#aa8671d3299f3352e0a7639464d9eb2d1", null ], - [ "history", "d9/d4c/structARC__ConsoleShell.html#a88f6d6daf79f0464766ae1a912eac0fa", null ], - [ "historyIndex", "d9/d4c/structARC__ConsoleShell.html#ad860e9556c262f6d02240589c5099b8f", null ], - [ "updateFn", "d9/d4c/structARC__ConsoleShell.html#a950522b4dfb71a19621da6b1077ccbdb", null ], - [ "userInput", "d9/d4c/structARC__ConsoleShell.html#ac9dde7ef4fedcb03abf056d9e189311a", null ], - [ "view", "d9/d4c/structARC__ConsoleShell.html#a53d8365cb1119f21f0b23fa1abae8c05", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d9/d53/spritesheet_8h.html b/doc/doxygen/html/d9/d53/spritesheet_8h.html deleted file mode 100644 index 7301fb5..0000000 --- a/doc/doxygen/html/d9/d53/spritesheet_8h.html +++ /dev/null @@ -1,283 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/spritesheet.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
spritesheet.h File Reference
-
-
-
#include <stdint.h>
-#include "arc/math/point.h"
-#include "arc/math/rectangle.h"
-#include "arc/graphics/renderer.h"
-#include "arc/std/string.h"
-
-

Go to the source code of this file.

- - - - -

-Typedefs

typedef struct ARC_Spritesheet ARC_Spritesheet
 
- - - - - - - - - - - -

-Functions

void ARC_Spritesheet_CreateFromFile (ARC_Spritesheet **spritesheet, ARC_Renderer *renderer, ARC_String *path)
 
void ARC_Spritesheet_Destroy (ARC_Spritesheet *spritesheet)
 
void ARC_Spritesheet_RenderArea (ARC_Spritesheet *spritesheet, ARC_Rect *sheetBounds, ARC_Renderer *renderer, ARC_Rect *renderBounds)
 
ARC_Point ARC_Spritesheet_GetSize (ARC_Spritesheet *spritesheet)
 
uint32_t * ARC_Spritesheet_GetTileSize (ARC_Spritesheet *spritesheet)
 
-

Typedef Documentation

- -

◆ ARC_Spritesheet

- -
-
- - - - -
typedef struct ARC_Spritesheet ARC_Spritesheet
-
- -

Definition at line 14 of file spritesheet.h.

- -
-
-

Function Documentation

- -

◆ ARC_Spritesheet_CreateFromFile()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Spritesheet_CreateFromFile (ARC_Spritesheet ** spritesheet,
ARC_Renderer * renderer,
ARC_String * path )
-
- -
-
- -

◆ ARC_Spritesheet_Destroy()

- -
-
- - - - - - - -
void ARC_Spritesheet_Destroy (ARC_Spritesheet * spritesheet)
-
- -
-
- -

◆ ARC_Spritesheet_GetSize()

- -
-
- - - - - - - -
ARC_Point ARC_Spritesheet_GetSize (ARC_Spritesheet * spritesheet)
-
- -
-
- -

◆ ARC_Spritesheet_GetTileSize()

- -
-
- - - - - - - -
uint32_t * ARC_Spritesheet_GetTileSize (ARC_Spritesheet * spritesheet)
-
- -
-
- -

◆ ARC_Spritesheet_RenderArea()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Spritesheet_RenderArea (ARC_Spritesheet * spritesheet,
ARC_Rect * sheetBounds,
ARC_Renderer * renderer,
ARC_Rect * renderBounds )
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d53/spritesheet_8h.js b/doc/doxygen/html/d9/d53/spritesheet_8h.js deleted file mode 100644 index 47e8ab6..0000000 --- a/doc/doxygen/html/d9/d53/spritesheet_8h.js +++ /dev/null @@ -1,9 +0,0 @@ -var spritesheet_8h = -[ - [ "ARC_Spritesheet", "d9/d53/spritesheet_8h.html#a1e01dfc3d163e82e7d00d039f0e0a82c", null ], - [ "ARC_Spritesheet_CreateFromFile", "d9/d53/spritesheet_8h.html#a07d3eb2716f237551fb29dc425a14870", null ], - [ "ARC_Spritesheet_Destroy", "d9/d53/spritesheet_8h.html#abef4c60c51ed55e11b67c33073092811", null ], - [ "ARC_Spritesheet_GetSize", "d9/d53/spritesheet_8h.html#a87bd15ebf4a1ebebe8f8033dd55c0142", null ], - [ "ARC_Spritesheet_GetTileSize", "d9/d53/spritesheet_8h.html#a6881e1db0e3ccf7aec5b97d59cc558c6", null ], - [ "ARC_Spritesheet_RenderArea", "d9/d53/spritesheet_8h.html#ab2943ba8a63fa94ad9ddff7ecc3b2dc7", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d9/d53/spritesheet_8h_source.html b/doc/doxygen/html/d9/d53/spritesheet_8h_source.html deleted file mode 100644 index 65b7962..0000000 --- a/doc/doxygen/html/d9/d53/spritesheet_8h_source.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/spritesheet.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
spritesheet.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_GRAPHICS_SPRITESHEET_H_
-
2#define ARC_GRAPHICS_SPRITESHEET_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include <stdint.h>
-
9#include "arc/math/point.h"
-
10#include "arc/math/rectangle.h"
- -
12#include "arc/std/string.h"
-
13
- -
15
- -
17
- -
19
-
20void ARC_Spritesheet_RenderArea(ARC_Spritesheet *spritesheet, ARC_Rect *sheetBounds, ARC_Renderer *renderer, ARC_Rect *renderBounds);
-
21
- - -
24
-
25#ifdef __cplusplus
-
26}
-
27#endif
-
28
-
29#endif // !ARC_GRAPHICS_SPRITESHEET_H_
- - - -
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
-
void ARC_Spritesheet_CreateFromFile(ARC_Spritesheet **spritesheet, ARC_Renderer *renderer, ARC_String *path)
-
struct ARC_Spritesheet ARC_Spritesheet
Definition spritesheet.h:14
-
uint32_t * ARC_Spritesheet_GetTileSize(ARC_Spritesheet *spritesheet)
-
ARC_Point ARC_Spritesheet_GetSize(ARC_Spritesheet *spritesheet)
-
void ARC_Spritesheet_RenderArea(ARC_Spritesheet *spritesheet, ARC_Rect *sheetBounds, ARC_Renderer *renderer, ARC_Rect *renderBounds)
-
void ARC_Spritesheet_Destroy(ARC_Spritesheet *spritesheet)
- - - -
substring position within a string
Definition string.h:14
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d5a/packages_2graphics_2opengl_2spritesheet_8c.html b/doc/doxygen/html/d9/d5a/packages_2graphics_2opengl_2spritesheet_8c.html deleted file mode 100644 index 61a6f39..0000000 --- a/doc/doxygen/html/d9/d5a/packages_2graphics_2opengl_2spritesheet_8c.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/opengl/spritesheet.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
spritesheet.c File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d9/d5a/packages_2graphics_2opengl_2spritesheet_8c_source.html b/doc/doxygen/html/d9/d5a/packages_2graphics_2opengl_2spritesheet_8c_source.html deleted file mode 100644 index d973468..0000000 --- a/doc/doxygen/html/d9/d5a/packages_2graphics_2opengl_2spritesheet_8c_source.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/opengl/spritesheet.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
spritesheet.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_OPENGL_GRAPHICS
- -
3#include "arc/math/point.h"
-
4#include <stdlib.h>
-
5
-
6void ARC_Spritesheet_RenderArea(ARC_Spritesheet *spritesheet, ARC_Rect *sheetBounds, ARC_Renderer *renderer, ARC_Rect *renderBounds){
-
7}
-
8
- -
10 return (ARC_Point){0, 0};
-
11}
-
12
-
13uint32_t *ARC_Spritesheet_GetTileSize(ARC_Spritesheet *spritesheet){
-
14 return NULL;
-
15}
-
16
-
17#endif // ARC_OPENGL_GRAPHICS
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- -
uint32_t * ARC_Spritesheet_GetTileSize(ARC_Spritesheet *spritesheet)
Definition spritesheet.c:46
-
ARC_Point ARC_Spritesheet_GetSize(ARC_Spritesheet *spritesheet)
Definition spritesheet.c:40
-
void ARC_Spritesheet_RenderArea(ARC_Spritesheet *spritesheet, ARC_Rect *sheetBounds, ARC_Renderer *renderer, ARC_Rect *renderBounds)
Definition spritesheet.c:36
- - - - -
-
- - - - - - diff --git a/doc/doxygen/html/d9/d6e/archeus__std_8dir_2src_2engine_2engine_8c_8o_8d.html b/doc/doxygen/html/d9/d6e/archeus__std_8dir_2src_2engine_2engine_8c_8o_8d.html deleted file mode 100644 index 2b4bd4a..0000000 --- a/doc/doxygen/html/d9/d6e/archeus__std_8dir_2src_2engine_2engine_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/engine/engine.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
engine.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d9/d6e/archeus__std_8dir_2src_2engine_2engine_8c_8o_8d_source.html b/doc/doxygen/html/d9/d6e/archeus__std_8dir_2src_2engine_2engine_8c_8o_8d_source.html deleted file mode 100644 index 9b091b6..0000000 --- a/doc/doxygen/html/d9/d6e/archeus__std_8dir_2src_2engine_2engine_8c_8o_8d_source.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/engine/engine.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
engine.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/engine/engine.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/engine/engine.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/engine/engine.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/graphics/window.h \
-
6 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
7 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
8 /usr/include/features.h /usr/include/features-time64.h \
-
9 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
10 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
11 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
12 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
13 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
14 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
15 /usr/include/bits/stdint-least.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/graphics/renderer.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/input/input.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/input/keyboard.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/input/mouse.h \
-
20 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
21 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
22 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
23 /home/herbglitch/programs/archeus/arc/include/arc/std/handler.h \
-
24 /usr/include/stdlib.h \
-
25 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
26 /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
-
27 /usr/include/bits/floatn.h /usr/include/bits/floatn-common.h \
-
28 /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \
-
29 /usr/include/bits/types/clockid_t.h /usr/include/bits/types/time_t.h \
-
30 /usr/include/bits/types/timer_t.h /usr/include/endian.h \
-
31 /usr/include/bits/endian.h /usr/include/bits/endianness.h \
-
32 /usr/include/bits/byteswap.h /usr/include/bits/uintn-identity.h \
-
33 /usr/include/sys/select.h /usr/include/bits/select.h \
-
34 /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \
-
35 /usr/include/bits/types/struct_timeval.h \
-
36 /usr/include/bits/types/struct_timespec.h \
-
37 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
38 /usr/include/bits/pthreadtypes-arch.h \
-
39 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
40 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
41 /usr/include/bits/stdlib-float.h \
-
42 /home/herbglitch/programs/archeus/arc/include/arc/engine/state.h \
-
43 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
44 /usr/include/stdio.h \
-
45 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
46 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
47 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
48 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
49 /usr/include/bits/types/cookie_io_functions_t.h \
-
50 /usr/include/bits/stdio_lim.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d6f/packages_2graphics_2sdl_2circle_8c.html b/doc/doxygen/html/d9/d6f/packages_2graphics_2sdl_2circle_8c.html deleted file mode 100644 index b01609f..0000000 --- a/doc/doxygen/html/d9/d6f/packages_2graphics_2sdl_2circle_8c.html +++ /dev/null @@ -1,257 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/circle.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
circle.c File Reference
-
-
-
#include "arc/graphics/circle.h"
-#include "renderer.h"
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - - - -

-Functions

void ARC_Circle_Render (ARC_Circle *circle, ARC_Renderer *renderer, ARC_Color *color)
 
void ARC_Circle_RenderFill (ARC_Circle *circle, ARC_Renderer *renderer, ARC_Color *color)
 
-

Function Documentation

- -

◆ ARC_Circle_Render()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Circle_Render (ARC_Circle * circle,
ARC_Renderer * renderer,
ARC_Color * color )
-
- -

Definition at line 6 of file circle.c.

-
6 {
-
7 SDL_SetRenderDrawColor((SDL_Renderer *)renderer, color->r, color->g, color->b, color->a);
-
8
-
9 int32_t diameter = (circle->r * 2);
-
10
-
11 int32_t x = (circle->r - 1);
-
12 int32_t y = 0;
-
13 int32_t tx = 1;
-
14 int32_t ty = 1;
-
15 int32_t error = (tx - diameter);
-
16
-
17 while(x >= y){
-
18 // Each of the following renders an octant of the circle
-
19 SDL_RenderDrawPoint((SDL_Renderer *)renderer, circle->x + x, circle->y - y);
-
20 SDL_RenderDrawPoint((SDL_Renderer *)renderer, circle->x + x, circle->y + y);
-
21 SDL_RenderDrawPoint((SDL_Renderer *)renderer, circle->x - x, circle->y - y);
-
22 SDL_RenderDrawPoint((SDL_Renderer *)renderer, circle->x - x, circle->y + y);
-
23 SDL_RenderDrawPoint((SDL_Renderer *)renderer, circle->x + y, circle->y - x);
-
24 SDL_RenderDrawPoint((SDL_Renderer *)renderer, circle->x + y, circle->y + x);
-
25 SDL_RenderDrawPoint((SDL_Renderer *)renderer, circle->x - y, circle->y - x);
-
26 SDL_RenderDrawPoint((SDL_Renderer *)renderer, circle->x - y, circle->y + x);
-
27
-
28 if(error <= 0){
-
29 ++y;
-
30 error += ty;
-
31 ty += 2;
-
32 }
-
33
-
34 if(error > 0){
-
35 --x;
-
36 tx += 2;
-
37 error += (tx - diameter);
-
38 }
-
39 }
-
40}
-
int32_t x
Definition circle.h:11
-
int32_t y
Definition circle.h:12
-
int32_t r
Definition circle.h:13
-
uint8_t a
Definition color.h:11
-
uint8_t r
Definition color.h:11
-
uint8_t b
Definition color.h:11
-
uint8_t g
Definition color.h:11
-
-

References ARC_Color::a, ARC_Color::b, ARC_Color::g, ARC_Circle::r, ARC_Color::r, ARC_Circle::x, and ARC_Circle::y.

- -

Referenced by ARC_Circle_RenderFill().

- -
-
- -

◆ ARC_Circle_RenderFill()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Circle_RenderFill (ARC_Circle * circle,
ARC_Renderer * renderer,
ARC_Color * color )
-
- -

Definition at line 43 of file circle.c.

-
43 {
-
44 ARC_Circle temp = *circle;
-
45
-
46 for(; temp.r; temp.r--){
-
47 ARC_Circle_Render(&temp, renderer, color);
-
48 }
-
49}
-
void ARC_Circle_Render(ARC_Circle *circle, ARC_Renderer *renderer, ARC_Color *color)
Definition circle.c:6
- -
-

References ARC_Circle_Render(), and ARC_Circle::r.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d6f/packages_2graphics_2sdl_2circle_8c.js b/doc/doxygen/html/d9/d6f/packages_2graphics_2sdl_2circle_8c.js deleted file mode 100644 index 0f9c84c..0000000 --- a/doc/doxygen/html/d9/d6f/packages_2graphics_2sdl_2circle_8c.js +++ /dev/null @@ -1,5 +0,0 @@ -var packages_2graphics_2sdl_2circle_8c = -[ - [ "ARC_Circle_Render", "d9/d6f/packages_2graphics_2sdl_2circle_8c.html#afe76964f8e2236fac1827c8bac1bd896", null ], - [ "ARC_Circle_RenderFill", "d9/d6f/packages_2graphics_2sdl_2circle_8c.html#a5ac4e484dce5dd95ace5ccbf585fbe4f", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d9/d6f/packages_2graphics_2sdl_2circle_8c_source.html b/doc/doxygen/html/d9/d6f/packages_2graphics_2sdl_2circle_8c_source.html deleted file mode 100644 index b4c58d0..0000000 --- a/doc/doxygen/html/d9/d6f/packages_2graphics_2sdl_2circle_8c_source.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/circle.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
circle.c
-
-
-Go to the documentation of this file.
-
2#include "renderer.h"
-
3#include <stdlib.h>
-
4
-
5//Modified from https://stackoverflow.com/questions/38334081/how-to-draw-circles-arcs-and-vector-graphics-in-sdl
-
-
6void ARC_Circle_Render(ARC_Circle *circle, ARC_Renderer *renderer, ARC_Color *color){
-
7 SDL_SetRenderDrawColor((SDL_Renderer *)renderer, color->r, color->g, color->b, color->a);
-
8
-
9 int32_t diameter = (circle->r * 2);
-
10
-
11 int32_t x = (circle->r - 1);
-
12 int32_t y = 0;
-
13 int32_t tx = 1;
-
14 int32_t ty = 1;
-
15 int32_t error = (tx - diameter);
-
16
-
17 while(x >= y){
-
18 // Each of the following renders an octant of the circle
-
19 SDL_RenderDrawPoint((SDL_Renderer *)renderer, circle->x + x, circle->y - y);
-
20 SDL_RenderDrawPoint((SDL_Renderer *)renderer, circle->x + x, circle->y + y);
-
21 SDL_RenderDrawPoint((SDL_Renderer *)renderer, circle->x - x, circle->y - y);
-
22 SDL_RenderDrawPoint((SDL_Renderer *)renderer, circle->x - x, circle->y + y);
-
23 SDL_RenderDrawPoint((SDL_Renderer *)renderer, circle->x + y, circle->y - x);
-
24 SDL_RenderDrawPoint((SDL_Renderer *)renderer, circle->x + y, circle->y + x);
-
25 SDL_RenderDrawPoint((SDL_Renderer *)renderer, circle->x - y, circle->y - x);
-
26 SDL_RenderDrawPoint((SDL_Renderer *)renderer, circle->x - y, circle->y + x);
-
27
-
28 if(error <= 0){
-
29 ++y;
-
30 error += ty;
-
31 ty += 2;
-
32 }
-
33
-
34 if(error > 0){
-
35 --x;
-
36 tx += 2;
-
37 error += (tx - diameter);
-
38 }
-
39 }
-
40}
-
-
41
-
42//TODO: very temp
-
-
43void ARC_Circle_RenderFill(ARC_Circle *circle, ARC_Renderer *renderer, ARC_Color *color){
-
44 ARC_Circle temp = *circle;
-
45
-
46 for(; temp.r; temp.r--){
-
47 ARC_Circle_Render(&temp, renderer, color);
-
48 }
-
49}
-
- -
void ARC_Circle_Render(ARC_Circle *circle, ARC_Renderer *renderer, ARC_Color *color)
Definition circle.c:6
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
-
void ARC_Circle_RenderFill(ARC_Circle *circle, ARC_Renderer *renderer, ARC_Color *color)
Definition circle.c:43
- - -
int32_t x
Definition circle.h:11
-
int32_t y
Definition circle.h:12
-
int32_t r
Definition circle.h:13
- -
uint8_t a
Definition color.h:11
-
uint8_t r
Definition color.h:11
-
uint8_t b
Definition color.h:11
-
uint8_t g
Definition color.h:11
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d7b/packages_2graphics_2sdl_2obround_8c.html b/doc/doxygen/html/d9/d7b/packages_2graphics_2sdl_2obround_8c.html deleted file mode 100644 index d6344fd..0000000 --- a/doc/doxygen/html/d9/d7b/packages_2graphics_2sdl_2obround_8c.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/obround.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
obround.c File Reference
-
-
-
#include "arc/graphics/obround.h"
-#include "renderer.h"
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - - - -

-Functions

void ARC_Obround_Render (ARC_Obround *obround, ARC_Renderer *renderer, ARC_Color *color)
 
void ARC_FObround_Render (ARC_FObround *obround, ARC_Renderer *renderer, ARC_Color *color)
 
-

Function Documentation

- -

◆ ARC_FObround_Render()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_FObround_Render (ARC_FObround * obround,
ARC_Renderer * renderer,
ARC_Color * color )
-
- -

Definition at line 45 of file obround.c.

-
45 {
- -
47 ARC_Obround_Render(&casted, renderer, color);
-
48}
-
void ARC_Obround_Render(ARC_Obround *obround, ARC_Renderer *renderer, ARC_Color *color)
Definition obround.c:6
-
ARC_Obround ARC_FObround_CastToObround(ARC_FObround *obround)
casts FObround to Obround
Definition obround.c:12
- -
-

References ARC_FObround_CastToObround(), and ARC_Obround_Render().

- -
-
- -

◆ ARC_Obround_Render()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Obround_Render (ARC_Obround * obround,
ARC_Renderer * renderer,
ARC_Color * color )
-
- -

Definition at line 6 of file obround.c.

-
6 {
-
7 SDL_SetRenderDrawColor((SDL_Renderer *)renderer, color->r, color->g, color->b, color->a);
-
8
-
9 int32_t diameter = (obround->r * 2);
-
10
-
11 int32_t x = (obround->r - 1);
-
12 int32_t y = 0;
-
13 int32_t tx = 1;
-
14 int32_t ty = 1;
-
15 int32_t error = (tx - diameter);
-
16
-
17 SDL_RenderDrawLine((SDL_Renderer *)renderer, obround->x - obround->r, obround->y - (obround->h / 2), obround->x - obround->r, obround->y + (obround->h / 2));
-
18 SDL_RenderDrawLine((SDL_Renderer *)renderer, obround->x + obround->r, obround->y - (obround->h / 2), obround->x + obround->r, obround->y + (obround->h / 2));
-
19
-
20 while(x >= y){
-
21 // Each of the following renders an octant of the circle
-
22 SDL_RenderDrawPoint((SDL_Renderer *)renderer, obround->x + x, obround->y - y - (obround->h / 2));
-
23 SDL_RenderDrawPoint((SDL_Renderer *)renderer, obround->x + x, obround->y + y + (obround->h / 2));
-
24 SDL_RenderDrawPoint((SDL_Renderer *)renderer, obround->x - x, obround->y - y - (obround->h / 2));
-
25 SDL_RenderDrawPoint((SDL_Renderer *)renderer, obround->x - x, obround->y + y + (obround->h / 2));
-
26 SDL_RenderDrawPoint((SDL_Renderer *)renderer, obround->x + y, obround->y - x - (obround->h / 2));
-
27 SDL_RenderDrawPoint((SDL_Renderer *)renderer, obround->x + y, obround->y + x + (obround->h / 2));
-
28 SDL_RenderDrawPoint((SDL_Renderer *)renderer, obround->x - y, obround->y - x - (obround->h / 2));
-
29 SDL_RenderDrawPoint((SDL_Renderer *)renderer, obround->x - y, obround->y + x + (obround->h / 2));
-
30
-
31 if(error <= 0){
-
32 ++y;
-
33 error += ty;
-
34 ty += 2;
-
35 }
-
36
-
37 if(error > 0){
-
38 --x;
-
39 tx += 2;
-
40 error += (tx - diameter);
-
41 }
-
42 }
-
43}
-
uint8_t a
Definition color.h:11
-
uint8_t r
Definition color.h:11
-
uint8_t b
Definition color.h:11
-
uint8_t g
Definition color.h:11
-
int32_t r
Definition obround.h:13
-
int32_t x
Definition obround.h:11
-
int32_t y
Definition obround.h:12
-
int32_t h
Definition obround.h:14
-
-

References ARC_Color::a, ARC_Color::b, ARC_Color::g, ARC_Obround::h, ARC_Color::r, ARC_Obround::r, ARC_Obround::x, and ARC_Obround::y.

- -

Referenced by ARC_FObround_Render().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d7b/packages_2graphics_2sdl_2obround_8c.js b/doc/doxygen/html/d9/d7b/packages_2graphics_2sdl_2obround_8c.js deleted file mode 100644 index 79665aa..0000000 --- a/doc/doxygen/html/d9/d7b/packages_2graphics_2sdl_2obround_8c.js +++ /dev/null @@ -1,5 +0,0 @@ -var packages_2graphics_2sdl_2obround_8c = -[ - [ "ARC_FObround_Render", "d9/d7b/packages_2graphics_2sdl_2obround_8c.html#a98eddca08e5473a0860716a4e0b238f4", null ], - [ "ARC_Obround_Render", "d9/d7b/packages_2graphics_2sdl_2obround_8c.html#ab86dda25da47d441b5ce38b8d8311b5a", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d9/d7b/packages_2graphics_2sdl_2obround_8c_source.html b/doc/doxygen/html/d9/d7b/packages_2graphics_2sdl_2obround_8c_source.html deleted file mode 100644 index 1bdda1d..0000000 --- a/doc/doxygen/html/d9/d7b/packages_2graphics_2sdl_2obround_8c_source.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/obround.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
obround.c
-
-
-Go to the documentation of this file.
-
2#include "renderer.h"
-
3#include <stdlib.h>
-
4
-
5//Modified from https://stackoverflow.com/questions/38334081/how-to-draw-circles-arcs-and-vector-graphics-in-sdl
-
-
6void ARC_Obround_Render(ARC_Obround *obround, ARC_Renderer *renderer, ARC_Color *color){
-
7 SDL_SetRenderDrawColor((SDL_Renderer *)renderer, color->r, color->g, color->b, color->a);
-
8
-
9 int32_t diameter = (obround->r * 2);
-
10
-
11 int32_t x = (obround->r - 1);
-
12 int32_t y = 0;
-
13 int32_t tx = 1;
-
14 int32_t ty = 1;
-
15 int32_t error = (tx - diameter);
-
16
-
17 SDL_RenderDrawLine((SDL_Renderer *)renderer, obround->x - obround->r, obround->y - (obround->h / 2), obround->x - obround->r, obround->y + (obround->h / 2));
-
18 SDL_RenderDrawLine((SDL_Renderer *)renderer, obround->x + obround->r, obround->y - (obround->h / 2), obround->x + obround->r, obround->y + (obround->h / 2));
-
19
-
20 while(x >= y){
-
21 // Each of the following renders an octant of the circle
-
22 SDL_RenderDrawPoint((SDL_Renderer *)renderer, obround->x + x, obround->y - y - (obround->h / 2));
-
23 SDL_RenderDrawPoint((SDL_Renderer *)renderer, obround->x + x, obround->y + y + (obround->h / 2));
-
24 SDL_RenderDrawPoint((SDL_Renderer *)renderer, obround->x - x, obround->y - y - (obround->h / 2));
-
25 SDL_RenderDrawPoint((SDL_Renderer *)renderer, obround->x - x, obround->y + y + (obround->h / 2));
-
26 SDL_RenderDrawPoint((SDL_Renderer *)renderer, obround->x + y, obround->y - x - (obround->h / 2));
-
27 SDL_RenderDrawPoint((SDL_Renderer *)renderer, obround->x + y, obround->y + x + (obround->h / 2));
-
28 SDL_RenderDrawPoint((SDL_Renderer *)renderer, obround->x - y, obround->y - x - (obround->h / 2));
-
29 SDL_RenderDrawPoint((SDL_Renderer *)renderer, obround->x - y, obround->y + x + (obround->h / 2));
-
30
-
31 if(error <= 0){
-
32 ++y;
-
33 error += ty;
-
34 ty += 2;
-
35 }
-
36
-
37 if(error > 0){
-
38 --x;
-
39 tx += 2;
-
40 error += (tx - diameter);
-
41 }
-
42 }
-
43}
-
-
44
-
-
45void ARC_FObround_Render(ARC_FObround *obround, ARC_Renderer *renderer, ARC_Color *color){
- -
47 ARC_Obround_Render(&casted, renderer, color);
-
48}
-
- -
void ARC_FObround_Render(ARC_FObround *obround, ARC_Renderer *renderer, ARC_Color *color)
Definition obround.c:45
-
void ARC_Obround_Render(ARC_Obround *obround, ARC_Renderer *renderer, ARC_Color *color)
Definition obround.c:6
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
-
ARC_Obround ARC_FObround_CastToObround(ARC_FObround *obround)
casts FObround to Obround
Definition obround.c:12
- - -
uint8_t a
Definition color.h:11
-
uint8_t r
Definition color.h:11
-
uint8_t b
Definition color.h:11
-
uint8_t g
Definition color.h:11
- - -
int32_t r
Definition obround.h:13
-
int32_t x
Definition obround.h:11
-
int32_t y
Definition obround.h:12
-
int32_t h
Definition obround.h:14
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html b/doc/doxygen/html/d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html deleted file mode 100644 index f8be9ed..0000000 --- a/doc/doxygen/html/d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html +++ /dev/null @@ -1,603 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/3.30.5/CompilerIdC/CMakeCCompilerId.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
CMakeCCompilerId.c File Reference
-
-
- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Macros

#define __has_include(x)
 
#define COMPILER_ID   ""
 
#define STRINGIFY_HELPER(X)
 
#define STRINGIFY(X)
 
#define PLATFORM_ID
 
#define ARCHITECTURE_ID
 
#define DEC(n)
 
#define HEX(n)
 
#define C_STD_99   199901L
 
#define C_STD_11   201112L
 
#define C_STD_17   201710L
 
#define C_STD_23   202311L
 
#define C_VERSION
 
- - - -

-Functions

int main (int argc, char *argv[])
 
- - - - - - - - - - - -

-Variables

char const * info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"
 
char const * info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"
 
char const * info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"
 
const char * info_language_standard_default
 
const char * info_language_extensions_default
 
-

Macro Definition Documentation

- -

◆ __has_include

- -
-
- - - - - - - -
#define __has_include( x)
-
-Value:
0
-
-

Definition at line 17 of file CMakeCCompilerId.c.

- -
-
- -

◆ ARCHITECTURE_ID

- -
-
- - - - -
#define ARCHITECTURE_ID
-
- -

Definition at line 745 of file CMakeCCompilerId.c.

- -
-
- -

◆ C_STD_11

- -
-
- - - - -
#define C_STD_11   201112L
-
- -

Definition at line 831 of file CMakeCCompilerId.c.

- -
-
- -

◆ C_STD_17

- -
-
- - - - -
#define C_STD_17   201710L
-
- -

Definition at line 832 of file CMakeCCompilerId.c.

- -
-
- -

◆ C_STD_23

- -
-
- - - - -
#define C_STD_23   202311L
-
- -

Definition at line 833 of file CMakeCCompilerId.c.

- -
-
- -

◆ C_STD_99

- -
-
- - - - -
#define C_STD_99   199901L
-
- -

Definition at line 830 of file CMakeCCompilerId.c.

- -
-
- -

◆ C_VERSION

- -
-
- - - - -
#define C_VERSION
-
- -

Definition at line 843 of file CMakeCCompilerId.c.

- -
-
- -

◆ COMPILER_ID

- -
-
- - - - -
#define COMPILER_ID   ""
-
- -

Definition at line 448 of file CMakeCCompilerId.c.

- -
-
- -

◆ DEC

- -
-
- - - - - - - -
#define DEC( n)
-
-Value:
('0' + (((n) / 10000000)%10)), \
-
('0' + (((n) / 1000000)%10)), \
-
('0' + (((n) / 100000)%10)), \
-
('0' + (((n) / 10000)%10)), \
-
('0' + (((n) / 1000)%10)), \
-
('0' + (((n) / 100)%10)), \
-
('0' + (((n) / 10)%10)), \
-
('0' + ((n) % 10))
-
-

Definition at line 749 of file CMakeCCompilerId.c.

-
749#define DEC(n) \
-
750 ('0' + (((n) / 10000000)%10)), \
-
751 ('0' + (((n) / 1000000)%10)), \
-
752 ('0' + (((n) / 100000)%10)), \
-
753 ('0' + (((n) / 10000)%10)), \
-
754 ('0' + (((n) / 1000)%10)), \
-
755 ('0' + (((n) / 100)%10)), \
-
756 ('0' + (((n) / 10)%10)), \
-
757 ('0' + ((n) % 10))
-
-
-
- -

◆ HEX

- -
-
- - - - - - - -
#define HEX( n)
-
-Value:
('0' + ((n)>>28 & 0xF)), \
-
('0' + ((n)>>24 & 0xF)), \
-
('0' + ((n)>>20 & 0xF)), \
-
('0' + ((n)>>16 & 0xF)), \
-
('0' + ((n)>>12 & 0xF)), \
-
('0' + ((n)>>8 & 0xF)), \
-
('0' + ((n)>>4 & 0xF)), \
-
('0' + ((n) & 0xF))
-
-

Definition at line 760 of file CMakeCCompilerId.c.

-
760#define HEX(n) \
-
761 ('0' + ((n)>>28 & 0xF)), \
-
762 ('0' + ((n)>>24 & 0xF)), \
-
763 ('0' + ((n)>>20 & 0xF)), \
-
764 ('0' + ((n)>>16 & 0xF)), \
-
765 ('0' + ((n)>>12 & 0xF)), \
-
766 ('0' + ((n)>>8 & 0xF)), \
-
767 ('0' + ((n)>>4 & 0xF)), \
-
768 ('0' + ((n) & 0xF))
-
-
-
- -

◆ PLATFORM_ID

- -
-
- - - - -
#define PLATFORM_ID
-
- -

Definition at line 579 of file CMakeCCompilerId.c.

- -
-
- -

◆ STRINGIFY

- -
-
- - - - - - - -
#define STRINGIFY( X)
-
-Value:
-
#define STRINGIFY_HELPER(X)
-
-

Definition at line 469 of file CMakeCCompilerId.c.

- -
-
- -

◆ STRINGIFY_HELPER

- -
-
- - - - - - - -
#define STRINGIFY_HELPER( X)
-
-Value:
#X
-
-

Definition at line 468 of file CMakeCCompilerId.c.

- -
-
-

Function Documentation

- -

◆ main()

- -
-
- - - - - - - - - - - -
int main (int argc,
char * argv[] )
-
- -

Definition at line 877 of file CMakeCCompilerId.c.

-
879{
-
880 int require = 0;
-
881 require += info_compiler[argc];
-
882 require += info_platform[argc];
-
883 require += info_arch[argc];
-
884#ifdef COMPILER_VERSION_MAJOR
-
885 require += info_version[argc];
-
886#endif
-
887#ifdef COMPILER_VERSION_INTERNAL
-
888 require += info_version_internal[argc];
-
889#endif
-
890#ifdef SIMULATE_ID
-
891 require += info_simulate[argc];
-
892#endif
-
893#ifdef SIMULATE_VERSION_MAJOR
-
894 require += info_simulate_version[argc];
-
895#endif
-
896#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
-
897 require += info_cray[argc];
-
898#endif
-
899 require += info_language_standard_default[argc];
-
900 require += info_language_extensions_default[argc];
-
901 (void)argv;
-
902 return require;
-
903}
-
const char * info_language_extensions_default
-
char const * info_platform
-
const char * info_language_standard_default
-
char const * info_compiler
-
char const * info_arch
-
-

References info_arch, info_compiler, info_language_extensions_default, info_language_standard_default, and info_platform.

- -
-
-

Variable Documentation

- -

◆ info_arch

- -
-
- - - - -
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"
-
- -

Definition at line 826 of file CMakeCCompilerId.c.

- -

Referenced by main().

- -
-
- -

◆ info_compiler

- -
-
- - - - -
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"
-
- -

Definition at line 455 of file CMakeCCompilerId.c.

- -

Referenced by main().

- -
-
- -

◆ info_language_extensions_default

- -
-
- - - - -
const char* info_language_extensions_default
-
-Initial value:
= "INFO" ":" "extensions_default["
-
-
-
-
-
-
"OFF"
-
-
"]"
-
-

Definition at line 859 of file CMakeCCompilerId.c.

- -

Referenced by main().

- -
-
- -

◆ info_language_standard_default

- -
-
- - - - -
const char* info_language_standard_default
-
-Initial value:
=
-
"INFO" ":" "standard_default[" C_VERSION "]"
-
#define C_VERSION
-
-

Definition at line 856 of file CMakeCCompilerId.c.

- -

Referenced by main().

- -
-
- -

◆ info_platform

- -
-
- - - - -
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"
-
- -

Definition at line 825 of file CMakeCCompilerId.c.

- -

Referenced by main().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.js b/doc/doxygen/html/d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.js deleted file mode 100644 index 4e85dbb..0000000 --- a/doc/doxygen/html/d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.js +++ /dev/null @@ -1,22 +0,0 @@ -var 3_830_85_2CompilerIdC_2CMakeCCompilerId_8c = -[ - [ "__has_include", "d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#ae5510d82e4946f1656f4969911c54736", null ], - [ "ARCHITECTURE_ID", "d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#aba35d0d200deaeb06aee95ca297acb28", null ], - [ "C_STD_11", "d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#a7c35af7e67642a2c62eb27dd81be11b2", null ], - [ "C_STD_17", "d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#aa8cd9c2c76dde36abac0bd7698090693", null ], - [ "C_STD_23", "d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#a81af617e8f7b5417689ca478ce9f4d69", null ], - [ "C_STD_99", "d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#af6079dc519dac099ee85a1df6ae5e5e8", null ], - [ "C_VERSION", "d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#adaee3ee7c5a7a22451ea25e762e1d7d5", null ], - [ "COMPILER_ID", "d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#a81dee0709ded976b2e0319239f72d174", null ], - [ "DEC", "d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#ad1280362da42492bbc11aa78cbf776ad", null ], - [ "HEX", "d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#a46d5d95daa1bef867bd0179594310ed5", null ], - [ "PLATFORM_ID", "d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#adbc5372f40838899018fadbc89bd588b", null ], - [ "STRINGIFY", "d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#a43e1cad902b6477bec893cb6430bd6c8", null ], - [ "STRINGIFY_HELPER", "d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#a2ae9b72bb13abaabfcf2ee0ba7d3fa1d", null ], - [ "main", "d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#a0ddf1224851353fc92bfbff6f499fa97", null ], - [ "info_arch", "d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#a59647e99d304ed33b15cb284c27ed391", null ], - [ "info_compiler", "d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#a4b0efeb7a5d59313986b3a0390f050f6", null ], - [ "info_language_extensions_default", "d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#a0f46a8a39e09d9b803c4766904fd7e99", null ], - [ "info_language_standard_default", "d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#a4607cccf070750927b458473ca82c090", null ], - [ "info_platform", "d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#a2321403dee54ee23f0c2fa849c60f7d4", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c_source.html b/doc/doxygen/html/d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c_source.html deleted file mode 100644 index 93f55cc..0000000 --- a/doc/doxygen/html/d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c_source.html +++ /dev/null @@ -1,1048 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/3.30.5/CompilerIdC/CMakeCCompilerId.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
CMakeCCompilerId.c
-
-
-Go to the documentation of this file.
1#ifdef __cplusplus
-
2# error "A C++ compiler has been selected for C."
-
3#endif
-
4
-
5#if defined(__18CXX)
-
6# define ID_VOID_MAIN
-
7#endif
-
8#if defined(__CLASSIC_C__)
-
9/* cv-qualifiers did not exist in K&R C */
-
10# define const
-
11# define volatile
-
12#endif
-
13
-
14#if !defined(__has_include)
-
15/* If the compiler does not have __has_include, pretend the answer is
-
16 always no. */
-
17# define __has_include(x) 0
-
18#endif
-
19
-
20
-
21/* Version number components: V=Version, R=Revision, P=Patch
-
22 Version date components: YYYY=Year, MM=Month, DD=Day */
-
23
-
24#if defined(__INTEL_COMPILER) || defined(__ICC)
-
25# define COMPILER_ID "Intel"
-
26# if defined(_MSC_VER)
-
27# define SIMULATE_ID "MSVC"
-
28# endif
-
29# if defined(__GNUC__)
-
30# define SIMULATE_ID "GNU"
-
31# endif
-
32 /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
-
33 except that a few beta releases use the old format with V=2021. */
-
34# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
-
35# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
-
36# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
-
37# if defined(__INTEL_COMPILER_UPDATE)
-
38# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
-
39# else
-
40# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
-
41# endif
-
42# else
-
43# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
-
44# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
-
45 /* The third version component from --version is an update index,
-
46 but no macro is provided for it. */
-
47# define COMPILER_VERSION_PATCH DEC(0)
-
48# endif
-
49# if defined(__INTEL_COMPILER_BUILD_DATE)
-
50 /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
-
51# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
-
52# endif
-
53# if defined(_MSC_VER)
-
54 /* _MSC_VER = VVRR */
-
55# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-
56# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-
57# endif
-
58# if defined(__GNUC__)
-
59# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
-
60# elif defined(__GNUG__)
-
61# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
-
62# endif
-
63# if defined(__GNUC_MINOR__)
-
64# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
-
65# endif
-
66# if defined(__GNUC_PATCHLEVEL__)
-
67# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-
68# endif
-
69
-
70#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
-
71# define COMPILER_ID "IntelLLVM"
-
72#if defined(_MSC_VER)
-
73# define SIMULATE_ID "MSVC"
-
74#endif
-
75#if defined(__GNUC__)
-
76# define SIMULATE_ID "GNU"
-
77#endif
-
78/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
-
79 * later. Look for 6 digit vs. 8 digit version number to decide encoding.
-
80 * VVVV is no smaller than the current year when a version is released.
-
81 */
-
82#if __INTEL_LLVM_COMPILER < 1000000L
-
83# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
-
84# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
-
85# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
-
86#else
-
87# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
-
88# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
-
89# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
-
90#endif
-
91#if defined(_MSC_VER)
-
92 /* _MSC_VER = VVRR */
-
93# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-
94# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-
95#endif
-
96#if defined(__GNUC__)
-
97# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
-
98#elif defined(__GNUG__)
-
99# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
-
100#endif
-
101#if defined(__GNUC_MINOR__)
-
102# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
-
103#endif
-
104#if defined(__GNUC_PATCHLEVEL__)
-
105# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-
106#endif
-
107
-
108#elif defined(__PATHCC__)
-
109# define COMPILER_ID "PathScale"
-
110# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
-
111# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
-
112# if defined(__PATHCC_PATCHLEVEL__)
-
113# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
-
114# endif
-
115
-
116#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
-
117# define COMPILER_ID "Embarcadero"
-
118# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
-
119# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
-
120# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
-
121
-
122#elif defined(__BORLANDC__)
-
123# define COMPILER_ID "Borland"
-
124 /* __BORLANDC__ = 0xVRR */
-
125# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
-
126# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
-
127
-
128#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
-
129# define COMPILER_ID "Watcom"
-
130 /* __WATCOMC__ = VVRR */
-
131# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
-
132# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
-
133# if (__WATCOMC__ % 10) > 0
-
134# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
-
135# endif
-
136
-
137#elif defined(__WATCOMC__)
-
138# define COMPILER_ID "OpenWatcom"
-
139 /* __WATCOMC__ = VVRP + 1100 */
-
140# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
-
141# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
-
142# if (__WATCOMC__ % 10) > 0
-
143# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
-
144# endif
-
145
-
146#elif defined(__SUNPRO_C)
-
147# define COMPILER_ID "SunPro"
-
148# if __SUNPRO_C >= 0x5100
-
149 /* __SUNPRO_C = 0xVRRP */
-
150# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
-
151# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
-
152# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
-
153# else
-
154 /* __SUNPRO_CC = 0xVRP */
-
155# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
-
156# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
-
157# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
-
158# endif
-
159
-
160#elif defined(__HP_cc)
-
161# define COMPILER_ID "HP"
-
162 /* __HP_cc = VVRRPP */
-
163# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
-
164# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
-
165# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
-
166
-
167#elif defined(__DECC)
-
168# define COMPILER_ID "Compaq"
-
169 /* __DECC_VER = VVRRTPPPP */
-
170# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
-
171# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
-
172# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
-
173
-
174#elif defined(__IBMC__) && defined(__COMPILER_VER__)
-
175# define COMPILER_ID "zOS"
-
176 /* __IBMC__ = VRP */
-
177# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
-
178# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
-
179# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
-
180
-
181#elif defined(__open_xl__) && defined(__clang__)
-
182# define COMPILER_ID "IBMClang"
-
183# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__)
-
184# define COMPILER_VERSION_MINOR DEC(__open_xl_release__)
-
185# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__)
-
186# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__)
-
187
-
188
-
189#elif defined(__ibmxl__) && defined(__clang__)
-
190# define COMPILER_ID "XLClang"
-
191# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
-
192# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
-
193# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
-
194# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
-
195
-
196
-
197#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
-
198# define COMPILER_ID "XL"
-
199 /* __IBMC__ = VRP */
-
200# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
-
201# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
-
202# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
-
203
-
204#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
-
205# define COMPILER_ID "VisualAge"
-
206 /* __IBMC__ = VRP */
-
207# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
-
208# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
-
209# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
-
210
-
211#elif defined(__NVCOMPILER)
-
212# define COMPILER_ID "NVHPC"
-
213# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
-
214# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
-
215# if defined(__NVCOMPILER_PATCHLEVEL__)
-
216# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
-
217# endif
-
218
-
219#elif defined(__PGI)
-
220# define COMPILER_ID "PGI"
-
221# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
-
222# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
-
223# if defined(__PGIC_PATCHLEVEL__)
-
224# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
-
225# endif
-
226
-
227#elif defined(__clang__) && defined(__cray__)
-
228# define COMPILER_ID "CrayClang"
-
229# define COMPILER_VERSION_MAJOR DEC(__cray_major__)
-
230# define COMPILER_VERSION_MINOR DEC(__cray_minor__)
-
231# define COMPILER_VERSION_PATCH DEC(__cray_patchlevel__)
-
232# define COMPILER_VERSION_INTERNAL_STR __clang_version__
-
233
-
234
-
235#elif defined(_CRAYC)
-
236# define COMPILER_ID "Cray"
-
237# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
-
238# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
-
239
-
240#elif defined(__TI_COMPILER_VERSION__)
-
241# define COMPILER_ID "TI"
-
242 /* __TI_COMPILER_VERSION__ = VVVRRRPPP */
-
243# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
-
244# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
-
245# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
-
246
-
247#elif defined(__CLANG_FUJITSU)
-
248# define COMPILER_ID "FujitsuClang"
-
249# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
-
250# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
-
251# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
-
252# define COMPILER_VERSION_INTERNAL_STR __clang_version__
-
253
-
254
-
255#elif defined(__FUJITSU)
-
256# define COMPILER_ID "Fujitsu"
-
257# if defined(__FCC_version__)
-
258# define COMPILER_VERSION __FCC_version__
-
259# elif defined(__FCC_major__)
-
260# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
-
261# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
-
262# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
-
263# endif
-
264# if defined(__fcc_version)
-
265# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
-
266# elif defined(__FCC_VERSION)
-
267# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
-
268# endif
-
269
-
270
-
271#elif defined(__ghs__)
-
272# define COMPILER_ID "GHS"
-
273/* __GHS_VERSION_NUMBER = VVVVRP */
-
274# ifdef __GHS_VERSION_NUMBER
-
275# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
-
276# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
-
277# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
-
278# endif
-
279
-
280#elif defined(__TASKING__)
-
281# define COMPILER_ID "Tasking"
-
282 # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000)
-
283 # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100)
-
284# define COMPILER_VERSION_INTERNAL DEC(__VERSION__)
-
285
-
286#elif defined(__ORANGEC__)
-
287# define COMPILER_ID "OrangeC"
-
288# define COMPILER_VERSION_MAJOR DEC(__ORANGEC_MAJOR__)
-
289# define COMPILER_VERSION_MINOR DEC(__ORANGEC_MINOR__)
-
290# define COMPILER_VERSION_PATCH DEC(__ORANGEC_PATCHLEVEL__)
-
291
-
292#elif defined(__TINYC__)
-
293# define COMPILER_ID "TinyCC"
-
294
-
295#elif defined(__BCC__)
-
296# define COMPILER_ID "Bruce"
-
297
-
298#elif defined(__SCO_VERSION__)
-
299# define COMPILER_ID "SCO"
-
300
-
301#elif defined(__ARMCC_VERSION) && !defined(__clang__)
-
302# define COMPILER_ID "ARMCC"
-
303#if __ARMCC_VERSION >= 1000000
-
304 /* __ARMCC_VERSION = VRRPPPP */
-
305 # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
-
306 # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
-
307 # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
-
308#else
-
309 /* __ARMCC_VERSION = VRPPPP */
-
310 # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
-
311 # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
-
312 # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
-
313#endif
-
314
-
315
-
316#elif defined(__clang__) && defined(__apple_build_version__)
-
317# define COMPILER_ID "AppleClang"
-
318# if defined(_MSC_VER)
-
319# define SIMULATE_ID "MSVC"
-
320# endif
-
321# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
-
322# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
-
323# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
-
324# if defined(_MSC_VER)
-
325 /* _MSC_VER = VVRR */
-
326# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-
327# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-
328# endif
-
329# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
-
330
-
331#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
-
332# define COMPILER_ID "ARMClang"
-
333 # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
-
334 # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
-
335 # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100)
-
336# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
-
337
-
338#elif defined(__clang__) && defined(__ti__)
-
339# define COMPILER_ID "TIClang"
-
340 # define COMPILER_VERSION_MAJOR DEC(__ti_major__)
-
341 # define COMPILER_VERSION_MINOR DEC(__ti_minor__)
-
342 # define COMPILER_VERSION_PATCH DEC(__ti_patchlevel__)
-
343# define COMPILER_VERSION_INTERNAL DEC(__ti_version__)
-
344
-
345#elif defined(__clang__)
-
346# define COMPILER_ID "Clang"
-
347# if defined(_MSC_VER)
-
348# define SIMULATE_ID "MSVC"
-
349# endif
-
350# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
-
351# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
-
352# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
-
353# if defined(_MSC_VER)
-
354 /* _MSC_VER = VVRR */
-
355# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-
356# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-
357# endif
-
358
-
359#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
-
360# define COMPILER_ID "LCC"
-
361# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100)
-
362# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100)
-
363# if defined(__LCC_MINOR__)
-
364# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
-
365# endif
-
366# if defined(__GNUC__) && defined(__GNUC_MINOR__)
-
367# define SIMULATE_ID "GNU"
-
368# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
-
369# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
-
370# if defined(__GNUC_PATCHLEVEL__)
-
371# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-
372# endif
-
373# endif
-
374
-
375#elif defined(__GNUC__)
-
376# define COMPILER_ID "GNU"
-
377# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
-
378# if defined(__GNUC_MINOR__)
-
379# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
-
380# endif
-
381# if defined(__GNUC_PATCHLEVEL__)
-
382# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-
383# endif
-
384
-
385#elif defined(_MSC_VER)
-
386# define COMPILER_ID "MSVC"
-
387 /* _MSC_VER = VVRR */
-
388# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
-
389# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
-
390# if defined(_MSC_FULL_VER)
-
391# if _MSC_VER >= 1400
-
392 /* _MSC_FULL_VER = VVRRPPPPP */
-
393# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
-
394# else
-
395 /* _MSC_FULL_VER = VVRRPPPP */
-
396# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
-
397# endif
-
398# endif
-
399# if defined(_MSC_BUILD)
-
400# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
-
401# endif
-
402
-
403#elif defined(_ADI_COMPILER)
-
404# define COMPILER_ID "ADSP"
-
405#if defined(__VERSIONNUM__)
-
406 /* __VERSIONNUM__ = 0xVVRRPPTT */
-
407# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF)
-
408# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF)
-
409# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF)
-
410# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF)
-
411#endif
-
412
-
413#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
-
414# define COMPILER_ID "IAR"
-
415# if defined(__VER__) && defined(__ICCARM__)
-
416# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
-
417# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
-
418# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
-
419# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
-
420# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
-
421# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
-
422# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
-
423# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
-
424# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
-
425# endif
-
426
-
427#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
-
428# define COMPILER_ID "SDCC"
-
429# if defined(__SDCC_VERSION_MAJOR)
-
430# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
-
431# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
-
432# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
-
433# else
-
434 /* SDCC = VRP */
-
435# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
-
436# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
-
437# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
-
438# endif
-
439
-
440
-
441/* These compilers are either not known or too old to define an
-
442 identification macro. Try to identify the platform and guess that
-
443 it is the native compiler. */
-
444#elif defined(__hpux) || defined(__hpua)
-
445# define COMPILER_ID "HP"
-
446
-
447#else /* unknown compiler */
-
448# define COMPILER_ID ""
-
449#endif
-
450
-
451/* Construct the string literal in pieces to prevent the source from
-
452 getting matched. Store it in a pointer rather than an array
-
453 because some compilers will just produce instructions to fill the
-
454 array rather than assigning a pointer to a static array. */
-
455char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
-
456#ifdef SIMULATE_ID
-
457char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
-
458#endif
-
459
-
460#ifdef __QNXNTO__
-
461char const* qnxnto = "INFO" ":" "qnxnto[]";
-
462#endif
-
463
-
464#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
-
465char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
-
466#endif
-
467
-
468#define STRINGIFY_HELPER(X) #X
-
469#define STRINGIFY(X) STRINGIFY_HELPER(X)
-
470
-
471/* Identify known platforms by name. */
-
472#if defined(__linux) || defined(__linux__) || defined(linux)
-
473# define PLATFORM_ID "Linux"
-
474
-
475#elif defined(__MSYS__)
-
476# define PLATFORM_ID "MSYS"
-
477
-
478#elif defined(__CYGWIN__)
-
479# define PLATFORM_ID "Cygwin"
-
480
-
481#elif defined(__MINGW32__)
-
482# define PLATFORM_ID "MinGW"
-
483
-
484#elif defined(__APPLE__)
-
485# define PLATFORM_ID "Darwin"
-
486
-
487#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
-
488# define PLATFORM_ID "Windows"
-
489
-
490#elif defined(__FreeBSD__) || defined(__FreeBSD)
-
491# define PLATFORM_ID "FreeBSD"
-
492
-
493#elif defined(__NetBSD__) || defined(__NetBSD)
-
494# define PLATFORM_ID "NetBSD"
-
495
-
496#elif defined(__OpenBSD__) || defined(__OPENBSD)
-
497# define PLATFORM_ID "OpenBSD"
-
498
-
499#elif defined(__sun) || defined(sun)
-
500# define PLATFORM_ID "SunOS"
-
501
-
502#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
-
503# define PLATFORM_ID "AIX"
-
504
-
505#elif defined(__hpux) || defined(__hpux__)
-
506# define PLATFORM_ID "HP-UX"
-
507
-
508#elif defined(__HAIKU__)
-
509# define PLATFORM_ID "Haiku"
-
510
-
511#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
-
512# define PLATFORM_ID "BeOS"
-
513
-
514#elif defined(__QNX__) || defined(__QNXNTO__)
-
515# define PLATFORM_ID "QNX"
-
516
-
517#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
-
518# define PLATFORM_ID "Tru64"
-
519
-
520#elif defined(__riscos) || defined(__riscos__)
-
521# define PLATFORM_ID "RISCos"
-
522
-
523#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
-
524# define PLATFORM_ID "SINIX"
-
525
-
526#elif defined(__UNIX_SV__)
-
527# define PLATFORM_ID "UNIX_SV"
-
528
-
529#elif defined(__bsdos__)
-
530# define PLATFORM_ID "BSDOS"
-
531
-
532#elif defined(_MPRAS) || defined(MPRAS)
-
533# define PLATFORM_ID "MP-RAS"
-
534
-
535#elif defined(__osf) || defined(__osf__)
-
536# define PLATFORM_ID "OSF1"
-
537
-
538#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
-
539# define PLATFORM_ID "SCO_SV"
-
540
-
541#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
-
542# define PLATFORM_ID "ULTRIX"
-
543
-
544#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
-
545# define PLATFORM_ID "Xenix"
-
546
-
547#elif defined(__WATCOMC__)
-
548# if defined(__LINUX__)
-
549# define PLATFORM_ID "Linux"
-
550
-
551# elif defined(__DOS__)
-
552# define PLATFORM_ID "DOS"
-
553
-
554# elif defined(__OS2__)
-
555# define PLATFORM_ID "OS2"
-
556
-
557# elif defined(__WINDOWS__)
-
558# define PLATFORM_ID "Windows3x"
-
559
-
560# elif defined(__VXWORKS__)
-
561# define PLATFORM_ID "VxWorks"
-
562
-
563# else /* unknown platform */
-
564# define PLATFORM_ID
-
565# endif
-
566
-
567#elif defined(__INTEGRITY)
-
568# if defined(INT_178B)
-
569# define PLATFORM_ID "Integrity178"
-
570
-
571# else /* regular Integrity */
-
572# define PLATFORM_ID "Integrity"
-
573# endif
-
574
-
575# elif defined(_ADI_COMPILER)
-
576# define PLATFORM_ID "ADSP"
-
577
-
578#else /* unknown platform */
-
579# define PLATFORM_ID
-
580
-
581#endif
-
582
-
583/* For windows compilers MSVC and Intel we can determine
-
584 the architecture of the compiler being used. This is because
-
585 the compilers do not have flags that can change the architecture,
-
586 but rather depend on which compiler is being used
-
587*/
-
588#if defined(_WIN32) && defined(_MSC_VER)
-
589# if defined(_M_IA64)
-
590# define ARCHITECTURE_ID "IA64"
-
591
-
592# elif defined(_M_ARM64EC)
-
593# define ARCHITECTURE_ID "ARM64EC"
-
594
-
595# elif defined(_M_X64) || defined(_M_AMD64)
-
596# define ARCHITECTURE_ID "x64"
-
597
-
598# elif defined(_M_IX86)
-
599# define ARCHITECTURE_ID "X86"
-
600
-
601# elif defined(_M_ARM64)
-
602# define ARCHITECTURE_ID "ARM64"
-
603
-
604# elif defined(_M_ARM)
-
605# if _M_ARM == 4
-
606# define ARCHITECTURE_ID "ARMV4I"
-
607# elif _M_ARM == 5
-
608# define ARCHITECTURE_ID "ARMV5I"
-
609# else
-
610# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
-
611# endif
-
612
-
613# elif defined(_M_MIPS)
-
614# define ARCHITECTURE_ID "MIPS"
-
615
-
616# elif defined(_M_SH)
-
617# define ARCHITECTURE_ID "SHx"
-
618
-
619# else /* unknown architecture */
-
620# define ARCHITECTURE_ID ""
-
621# endif
-
622
-
623#elif defined(__WATCOMC__)
-
624# if defined(_M_I86)
-
625# define ARCHITECTURE_ID "I86"
-
626
-
627# elif defined(_M_IX86)
-
628# define ARCHITECTURE_ID "X86"
-
629
-
630# else /* unknown architecture */
-
631# define ARCHITECTURE_ID ""
-
632# endif
-
633
-
634#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
-
635# if defined(__ICCARM__)
-
636# define ARCHITECTURE_ID "ARM"
-
637
-
638# elif defined(__ICCRX__)
-
639# define ARCHITECTURE_ID "RX"
-
640
-
641# elif defined(__ICCRH850__)
-
642# define ARCHITECTURE_ID "RH850"
-
643
-
644# elif defined(__ICCRL78__)
-
645# define ARCHITECTURE_ID "RL78"
-
646
-
647# elif defined(__ICCRISCV__)
-
648# define ARCHITECTURE_ID "RISCV"
-
649
-
650# elif defined(__ICCAVR__)
-
651# define ARCHITECTURE_ID "AVR"
-
652
-
653# elif defined(__ICC430__)
-
654# define ARCHITECTURE_ID "MSP430"
-
655
-
656# elif defined(__ICCV850__)
-
657# define ARCHITECTURE_ID "V850"
-
658
-
659# elif defined(__ICC8051__)
-
660# define ARCHITECTURE_ID "8051"
-
661
-
662# elif defined(__ICCSTM8__)
-
663# define ARCHITECTURE_ID "STM8"
-
664
-
665# else /* unknown architecture */
-
666# define ARCHITECTURE_ID ""
-
667# endif
-
668
-
669#elif defined(__ghs__)
-
670# if defined(__PPC64__)
-
671# define ARCHITECTURE_ID "PPC64"
-
672
-
673# elif defined(__ppc__)
-
674# define ARCHITECTURE_ID "PPC"
-
675
-
676# elif defined(__ARM__)
-
677# define ARCHITECTURE_ID "ARM"
-
678
-
679# elif defined(__x86_64__)
-
680# define ARCHITECTURE_ID "x64"
-
681
-
682# elif defined(__i386__)
-
683# define ARCHITECTURE_ID "X86"
-
684
-
685# else /* unknown architecture */
-
686# define ARCHITECTURE_ID ""
-
687# endif
-
688
-
689#elif defined(__clang__) && defined(__ti__)
-
690# if defined(__ARM_ARCH)
-
691# define ARCHITECTURE_ID "Arm"
-
692
-
693# else /* unknown architecture */
-
694# define ARCHITECTURE_ID ""
-
695# endif
-
696
-
697#elif defined(__TI_COMPILER_VERSION__)
-
698# if defined(__TI_ARM__)
-
699# define ARCHITECTURE_ID "ARM"
-
700
-
701# elif defined(__MSP430__)
-
702# define ARCHITECTURE_ID "MSP430"
-
703
-
704# elif defined(__TMS320C28XX__)
-
705# define ARCHITECTURE_ID "TMS320C28x"
-
706
-
707# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
-
708# define ARCHITECTURE_ID "TMS320C6x"
-
709
-
710# else /* unknown architecture */
-
711# define ARCHITECTURE_ID ""
-
712# endif
-
713
-
714# elif defined(__ADSPSHARC__)
-
715# define ARCHITECTURE_ID "SHARC"
-
716
-
717# elif defined(__ADSPBLACKFIN__)
-
718# define ARCHITECTURE_ID "Blackfin"
-
719
-
720#elif defined(__TASKING__)
-
721
-
722# if defined(__CTC__) || defined(__CPTC__)
-
723# define ARCHITECTURE_ID "TriCore"
-
724
-
725# elif defined(__CMCS__)
-
726# define ARCHITECTURE_ID "MCS"
-
727
-
728# elif defined(__CARM__)
-
729# define ARCHITECTURE_ID "ARM"
-
730
-
731# elif defined(__CARC__)
-
732# define ARCHITECTURE_ID "ARC"
-
733
-
734# elif defined(__C51__)
-
735# define ARCHITECTURE_ID "8051"
-
736
-
737# elif defined(__CPCP__)
-
738# define ARCHITECTURE_ID "PCP"
-
739
-
740# else
-
741# define ARCHITECTURE_ID ""
-
742# endif
-
743
-
744#else
-
745# define ARCHITECTURE_ID
-
746#endif
-
747
-
748/* Convert integer to decimal digit literals. */
-
-
749#define DEC(n) \
-
750 ('0' + (((n) / 10000000)%10)), \
-
751 ('0' + (((n) / 1000000)%10)), \
-
752 ('0' + (((n) / 100000)%10)), \
-
753 ('0' + (((n) / 10000)%10)), \
-
754 ('0' + (((n) / 1000)%10)), \
-
755 ('0' + (((n) / 100)%10)), \
-
756 ('0' + (((n) / 10)%10)), \
-
757 ('0' + ((n) % 10))
-
-
758
-
759/* Convert integer to hex digit literals. */
-
-
760#define HEX(n) \
-
761 ('0' + ((n)>>28 & 0xF)), \
-
762 ('0' + ((n)>>24 & 0xF)), \
-
763 ('0' + ((n)>>20 & 0xF)), \
-
764 ('0' + ((n)>>16 & 0xF)), \
-
765 ('0' + ((n)>>12 & 0xF)), \
-
766 ('0' + ((n)>>8 & 0xF)), \
-
767 ('0' + ((n)>>4 & 0xF)), \
-
768 ('0' + ((n) & 0xF))
-
-
769
-
770/* Construct a string literal encoding the version number. */
-
771#ifdef COMPILER_VERSION
-
772char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
-
773
-
774/* Construct a string literal encoding the version number components. */
-
775#elif defined(COMPILER_VERSION_MAJOR)
-
776char const info_version[] = {
-
777 'I', 'N', 'F', 'O', ':',
-
778 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
-
779 COMPILER_VERSION_MAJOR,
-
780# ifdef COMPILER_VERSION_MINOR
-
781 '.', COMPILER_VERSION_MINOR,
-
782# ifdef COMPILER_VERSION_PATCH
-
783 '.', COMPILER_VERSION_PATCH,
-
784# ifdef COMPILER_VERSION_TWEAK
-
785 '.', COMPILER_VERSION_TWEAK,
-
786# endif
-
787# endif
-
788# endif
-
789 ']','\0'};
-
790#endif
-
791
-
792/* Construct a string literal encoding the internal version number. */
-
793#ifdef COMPILER_VERSION_INTERNAL
-
794char const info_version_internal[] = {
-
795 'I', 'N', 'F', 'O', ':',
-
796 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
-
797 'i','n','t','e','r','n','a','l','[',
-
798 COMPILER_VERSION_INTERNAL,']','\0'};
-
799#elif defined(COMPILER_VERSION_INTERNAL_STR)
-
800char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
-
801#endif
-
802
-
803/* Construct a string literal encoding the version number components. */
-
804#ifdef SIMULATE_VERSION_MAJOR
-
805char const info_simulate_version[] = {
-
806 'I', 'N', 'F', 'O', ':',
-
807 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
-
808 SIMULATE_VERSION_MAJOR,
-
809# ifdef SIMULATE_VERSION_MINOR
-
810 '.', SIMULATE_VERSION_MINOR,
-
811# ifdef SIMULATE_VERSION_PATCH
-
812 '.', SIMULATE_VERSION_PATCH,
-
813# ifdef SIMULATE_VERSION_TWEAK
-
814 '.', SIMULATE_VERSION_TWEAK,
-
815# endif
-
816# endif
-
817# endif
-
818 ']','\0'};
-
819#endif
-
820
-
821/* Construct the string literal in pieces to prevent the source from
-
822 getting matched. Store it in a pointer rather than an array
-
823 because some compilers will just produce instructions to fill the
-
824 array rather than assigning a pointer to a static array. */
-
825char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
-
826char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
-
827
-
828
-
829
-
830#define C_STD_99 199901L
-
831#define C_STD_11 201112L
-
832#define C_STD_17 201710L
-
833#define C_STD_23 202311L
-
834
-
835#ifdef __STDC_VERSION__
-
836# define C_STD __STDC_VERSION__
-
837#endif
-
838
-
839#if !defined(__STDC__) && !defined(__clang__)
-
840# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__)
-
841# define C_VERSION "90"
-
842# else
-
843# define C_VERSION
-
844# endif
-
845#elif C_STD > C_STD_17
-
846# define C_VERSION "23"
-
847#elif C_STD > C_STD_11
-
848# define C_VERSION "17"
-
849#elif C_STD > C_STD_99
-
850# define C_VERSION "11"
-
851#elif C_STD >= C_STD_99
-
852# define C_VERSION "99"
-
853#else
-
854# define C_VERSION "90"
-
855#endif
- -
857 "INFO" ":" "standard_default[" C_VERSION "]";
-
858
-
859const char* info_language_extensions_default = "INFO" ":" "extensions_default["
-
860#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \
-
861 defined(__TI_COMPILER_VERSION__)) && \
-
862 !defined(__STRICT_ANSI__)
-
863 "ON"
-
864#else
-
865 "OFF"
-
866#endif
-
867"]";
-
868
-
869/*--------------------------------------------------------------------------*/
-
870
-
871#ifdef ID_VOID_MAIN
-
872void main() {}
-
873#else
-
874# if defined(__CLASSIC_C__)
-
875int main(argc, argv) int argc; char *argv[];
-
876# else
-
-
877int main(int argc, char* argv[])
-
878# endif
-
879{
-
880 int require = 0;
-
881 require += info_compiler[argc];
-
882 require += info_platform[argc];
-
883 require += info_arch[argc];
-
884#ifdef COMPILER_VERSION_MAJOR
-
885 require += info_version[argc];
-
886#endif
-
887#ifdef COMPILER_VERSION_INTERNAL
-
888 require += info_version_internal[argc];
-
889#endif
-
890#ifdef SIMULATE_ID
-
891 require += info_simulate[argc];
-
892#endif
-
893#ifdef SIMULATE_VERSION_MAJOR
-
894 require += info_simulate_version[argc];
-
895#endif
-
896#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
-
897 require += info_cray[argc];
-
898#endif
-
899 require += info_language_standard_default[argc];
-
900 require += info_language_extensions_default[argc];
-
901 (void)argv;
-
902 return require;
-
903}
-
-
904#endif
-
const char * info_language_extensions_default
-
char const * info_platform
-
const char * info_language_standard_default
-
char const * info_compiler
-
char const * info_arch
-
#define COMPILER_ID
-
#define ARCHITECTURE_ID
-
#define C_VERSION
-
#define PLATFORM_ID
-
int main(void)
Definition test.c:19
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d9f/graphics_2config_8h.html b/doc/doxygen/html/d9/d9f/graphics_2config_8h.html deleted file mode 100644 index 4b5414d..0000000 --- a/doc/doxygen/html/d9/d9f/graphics_2config_8h.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/config.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
config.h File Reference
-
-
-
#include "arc/std/config.h"
-#include "arc/graphics/renderer.h"
-
-

Go to the source code of this file.

- - - - -

-Functions

void ARC_GraphicsConfig_Init (ARC_Config *config, ARC_Renderer *renderer)
 
-

Function Documentation

- -

◆ ARC_GraphicsConfig_Init()

- -
-
- - - - - - - - - - - -
void ARC_GraphicsConfig_Init (ARC_Config * config,
ARC_Renderer * renderer )
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/d9f/graphics_2config_8h.js b/doc/doxygen/html/d9/d9f/graphics_2config_8h.js deleted file mode 100644 index 9588e27..0000000 --- a/doc/doxygen/html/d9/d9f/graphics_2config_8h.js +++ /dev/null @@ -1,4 +0,0 @@ -var graphics_2config_8h = -[ - [ "ARC_GraphicsConfig_Init", "d9/d9f/graphics_2config_8h.html#a40164918cc42dfe0a0139b103459e7c1", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d9/d9f/graphics_2config_8h_source.html b/doc/doxygen/html/d9/d9f/graphics_2config_8h_source.html deleted file mode 100644 index c10a158..0000000 --- a/doc/doxygen/html/d9/d9f/graphics_2config_8h_source.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/config.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_GRAPHICS_CONFIG_H_
-
2#define ARC_GRAPHICS_CONFIG_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include "arc/std/config.h"
- -
10
- -
12
-
13#ifdef __cplusplus
-
14}
-
15#endif
-
16
-
17#endif // !ARC_GRAPHICS_CONFIG_H_
-
struct ARC_Config ARC_Config
a type that keeps permanice of data for when loading and unloading config files
Definition config.h:11
-
void ARC_GraphicsConfig_Init(ARC_Config *config, ARC_Renderer *renderer)
- -
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- -
-
- - - - - - diff --git a/doc/doxygen/html/d9/d9f/packages_2graphics_2glfw_2config_8c.html b/doc/doxygen/html/d9/d9f/packages_2graphics_2glfw_2config_8c.html deleted file mode 100644 index e3eb76a..0000000 --- a/doc/doxygen/html/d9/d9f/packages_2graphics_2glfw_2config_8c.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/glfw/config.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d9/d9f/packages_2graphics_2glfw_2config_8c_source.html b/doc/doxygen/html/d9/d9f/packages_2graphics_2glfw_2config_8c_source.html deleted file mode 100644 index 12ee0c7..0000000 --- a/doc/doxygen/html/d9/d9f/packages_2graphics_2glfw_2config_8c_source.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/glfw/config.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_GLFW_WINDOW
-
2
-
3#include <stdio.h>
-
4#include "arc/std/config.h"
-
5#include "arc/std/string.h"
-
6#include "arc/std/errno.h"
-
7
-
8#include "renderer.h"
-
9
-
10
-
11void ARC_GraphicsConfig_Init(ARC_Config *config, ARC_Renderer *renderer){
-
12}
-
13
-
14#endif // ARC_OPENGL_GRAPHICS
- -
void ARC_GraphicsConfig_Init(ARC_Config *config, ARC_Renderer *renderer)
Definition config.c:30
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- - - - -
-
- - - - - - diff --git a/doc/doxygen/html/d9/da8/archeus__std_8dir_2src_2graphics_2circle_8c_8o_8d.html b/doc/doxygen/html/d9/da8/archeus__std_8dir_2src_2graphics_2circle_8c_8o_8d.html deleted file mode 100644 index ec9812a..0000000 --- a/doc/doxygen/html/d9/da8/archeus__std_8dir_2src_2graphics_2circle_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/graphics/circle.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
circle.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d9/da8/archeus__std_8dir_2src_2graphics_2circle_8c_8o_8d_source.html b/doc/doxygen/html/d9/da8/archeus__std_8dir_2src_2graphics_2circle_8c_8o_8d_source.html deleted file mode 100644 index b5d9667..0000000 --- a/doc/doxygen/html/d9/da8/archeus__std_8dir_2src_2graphics_2circle_8c_8o_8d_source.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/graphics/circle.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
circle.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/graphics/circle.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/graphics/circle.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/graphics/circle.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/graphics/color.h \
-
6 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
7 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
8 /usr/include/features.h /usr/include/features-time64.h \
-
9 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
10 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
11 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
12 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
13 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
14 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
15 /usr/include/bits/stdint-least.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/graphics/renderer.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/math/circle.h \
-
18 /usr/include/stdio.h \
-
19 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
21 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
22 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
23 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
24 /usr/include/bits/types/cookie_io_functions_t.h \
-
25 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
26 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/dcc/text_8h.html b/doc/doxygen/html/d9/dcc/text_8h.html deleted file mode 100644 index 8964589..0000000 --- a/doc/doxygen/html/d9/dcc/text_8h.html +++ /dev/null @@ -1,291 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/text.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
text.h File Reference
-
-
-
#include <stdint.h>
-#include "arc/graphics/color.h"
-#include "arc/graphics/renderer.h"
-#include "arc/math/point.h"
-#include "arc/std/string.h"
-
-

Go to the source code of this file.

- - - - -

-Typedefs

typedef struct ARC_Text ARC_Text
 
- - - - - - - - - - - -

-Functions

void ARC_Text_Create (ARC_Text **text, ARC_String *path, int32_t size, ARC_Color color)
 
void ARC_Text_Destroy (ARC_Text *font)
 
void ARC_Text_SetString (ARC_Text *text, ARC_Renderer *renderer, ARC_String *string)
 
void ARC_Text_Render (ARC_Text *text, ARC_Renderer *renderer)
 
void ARC_Text_SetPos (ARC_Text *text, ARC_Point pos)
 
-

Typedef Documentation

- -

◆ ARC_Text

- -
-
- - - - -
typedef struct ARC_Text ARC_Text
-
- -

Definition at line 14 of file text.h.

- -
-
-

Function Documentation

- -

◆ ARC_Text_Create()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Text_Create (ARC_Text ** text,
ARC_String * path,
int32_t size,
ARC_Color color )
-
- -
-
- -

◆ ARC_Text_Destroy()

- -
-
- - - - - - - -
void ARC_Text_Destroy (ARC_Text * font)
-
- -
-
- -

◆ ARC_Text_Render()

- -
-
- - - - - - - - - - - -
void ARC_Text_Render (ARC_Text * text,
ARC_Renderer * renderer )
-
- -
-
- -

◆ ARC_Text_SetPos()

- -
-
- - - - - - - - - - - -
void ARC_Text_SetPos (ARC_Text * text,
ARC_Point pos )
-
- -
-
- -

◆ ARC_Text_SetString()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Text_SetString (ARC_Text * text,
ARC_Renderer * renderer,
ARC_String * string )
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/dcc/text_8h.js b/doc/doxygen/html/d9/dcc/text_8h.js deleted file mode 100644 index 120c541..0000000 --- a/doc/doxygen/html/d9/dcc/text_8h.js +++ /dev/null @@ -1,9 +0,0 @@ -var text_8h = -[ - [ "ARC_Text", "d9/dcc/text_8h.html#a1b5f335dcc5e50d475077385328d1619", null ], - [ "ARC_Text_Create", "d9/dcc/text_8h.html#a317688d3c7ed9dc82fdef7dd136fd462", null ], - [ "ARC_Text_Destroy", "d9/dcc/text_8h.html#a81e08f1c4210a1d33a6b5be4ff2bde8c", null ], - [ "ARC_Text_Render", "d9/dcc/text_8h.html#a8fb85afa64d8e337f475db6eaa23bbcb", null ], - [ "ARC_Text_SetPos", "d9/dcc/text_8h.html#acaf60a21f71839044b1eaa775c443db7", null ], - [ "ARC_Text_SetString", "d9/dcc/text_8h.html#a2d5bfd55a4035453bcf751514e04f362", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/d9/dcc/text_8h_source.html b/doc/doxygen/html/d9/dcc/text_8h_source.html deleted file mode 100644 index e22bdd6..0000000 --- a/doc/doxygen/html/d9/dcc/text_8h_source.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/text.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
text.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_STD_TEXT_H_
-
2#define ARC_STD_TEXT_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include <stdint.h>
- - -
11#include "arc/math/point.h"
-
12#include "arc/std/string.h"
-
13
-
14typedef struct ARC_Text ARC_Text;
-
15
-
16void ARC_Text_Create(ARC_Text **text, ARC_String *path, int32_t size, ARC_Color color);
-
17
- -
19
-
20void ARC_Text_SetString(ARC_Text *text, ARC_Renderer *renderer, ARC_String *string);
-
21
-
22void ARC_Text_Render(ARC_Text *text, ARC_Renderer *renderer);
-
23
- -
25
-
26#ifdef __cplusplus
-
27}
-
28#endif
-
29
-
30#endif //ARC_STD_STRING_H_
- - - -
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- - - -
substring position within a string
Definition string.h:14
-
struct ARC_Text ARC_Text
Definition text.h:14
-
void ARC_Text_SetString(ARC_Text *text, ARC_Renderer *renderer, ARC_String *string)
-
void ARC_Text_Create(ARC_Text **text, ARC_String *path, int32_t size, ARC_Color color)
-
void ARC_Text_Destroy(ARC_Text *font)
-
void ARC_Text_Render(ARC_Text *text, ARC_Renderer *renderer)
-
void ARC_Text_SetPos(ARC_Text *text, ARC_Point pos)
-
-
- - - - - - diff --git a/doc/doxygen/html/d9/ddf/src_2graphics_2circle_8c.html b/doc/doxygen/html/d9/ddf/src_2graphics_2circle_8c.html deleted file mode 100644 index ab8508d..0000000 --- a/doc/doxygen/html/d9/ddf/src_2graphics_2circle_8c.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/circle.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
circle.c File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/d9/ddf/src_2graphics_2circle_8c_source.html b/doc/doxygen/html/d9/ddf/src_2graphics_2circle_8c_source.html deleted file mode 100644 index 3b1527a..0000000 --- a/doc/doxygen/html/d9/ddf/src_2graphics_2circle_8c_source.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/circle.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
circle.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_GRAPHICS
-
2
- -
4#include <stdio.h>
-
5
-
6void ARC_Circle_Render(ARC_Circle *circle, ARC_Renderer *renderer, ARC_Color *color){
-
7 printf("No Graphics Backend Selected\n");
-
8}
-
9
-
10#endif // !ARC_NONE_GRAPHICS
- -
void ARC_Circle_Render(ARC_Circle *circle, ARC_Renderer *renderer, ARC_Color *color)
Definition circle.c:6
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- - -
-
- - - - - - diff --git a/doc/doxygen/html/da/d09/audio_8h.html b/doc/doxygen/html/da/d09/audio_8h.html deleted file mode 100644 index a73c0b2..0000000 --- a/doc/doxygen/html/da/d09/audio_8h.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/audio/audio.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
audio.h File Reference
-
-
- -

Go to the source code of this file.

- - - - -

-Typedefs

typedef struct ARC_Audio ARC_Audio
 
- - - -

-Functions

void ARC_Audio_Play (ARC_Audio *audio)
 
-

Typedef Documentation

- -

◆ ARC_Audio

- -
-
- - - - -
typedef struct ARC_Audio ARC_Audio
-
- -

Definition at line 8 of file audio.h.

- -
-
-

Function Documentation

- -

◆ ARC_Audio_Play()

- -
-
- - - - - - - -
void ARC_Audio_Play (ARC_Audio * audio)
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/da/d09/audio_8h.js b/doc/doxygen/html/da/d09/audio_8h.js deleted file mode 100644 index 6c685ec..0000000 --- a/doc/doxygen/html/da/d09/audio_8h.js +++ /dev/null @@ -1,5 +0,0 @@ -var audio_8h = -[ - [ "ARC_Audio", "da/d09/audio_8h.html#a3851568fba810fda2172dd0f16a4cdd0", null ], - [ "ARC_Audio_Play", "da/d09/audio_8h.html#a3d6d71d185efb1f873fe324c9b7e75e8", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/da/d09/audio_8h_source.html b/doc/doxygen/html/da/d09/audio_8h_source.html deleted file mode 100644 index 02f67c9..0000000 --- a/doc/doxygen/html/da/d09/audio_8h_source.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/audio/audio.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
audio.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_AUDIO_H_
-
2#define ARC_AUDIO_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8typedef struct ARC_Audio ARC_Audio;
-
9
- -
11
-
12#ifdef __cplusplus
-
13}
-
14#endif
-
15
-
16#endif // !ARC_AUDIO_H_
-
struct ARC_Audio ARC_Audio
Definition audio.h:8
-
void ARC_Audio_Play(ARC_Audio *audio)
-
-
- - - - - - diff --git a/doc/doxygen/html/da/d0a/element_8c.html b/doc/doxygen/html/da/d0a/element_8c.html deleted file mode 100644 index 2db5080..0000000 --- a/doc/doxygen/html/da/d0a/element_8c.html +++ /dev/null @@ -1,375 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/console/ncurses/element.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
element.c File Reference
-
-
-
#include "arc/console/element.h"
-#include "arc/console/view.h"
-#include <stdlib.h>
-#include <ncurses.h>
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - -

-Functions

void ARC_ConsoleElement_Create (ARC_ConsoleElement **element, uint32_t type, uint8_t flags, ARC_String *string, ARC_Point pos, ARC_ConsoleElement_RenderFn renderFn)
 
void ARC_ConsoleElement_Destroy (ARC_ConsoleElement *element)
 
void ARC_ConsoleElement_DefaultRenderFn (ARC_ConsoleView *view, ARC_ConsoleElement *element)
 
ARC_Bool ARC_ConsoleElement_IsSelectable (ARC_ConsoleElement *element)
 
void ARC_ConsoleElement_SetSelected (ARC_ConsoleElement *element, ARC_Bool selected)
 
void ARC_NCursesElement_ToggleSelected (ARC_ConsoleElement *element)
 
-

Function Documentation

- -

◆ ARC_ConsoleElement_Create()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void ARC_ConsoleElement_Create (ARC_ConsoleElement ** element,
uint32_t type,
uint8_t flags,
ARC_String * string,
ARC_Point pos,
ARC_ConsoleElement_RenderFn renderFn )
-
- -

Definition at line 7 of file element.c.

-
7 {
-
8 *element = (ARC_ConsoleElement *)malloc(sizeof(ARC_ConsoleElement));
-
9
-
10 (*element)->type = type;
-
11 (*element)->flags = flags;
-
12 (*element)->string = string;
-
13 (*element)->pos = pos;
-
14 (*element)->renderFn = renderFn;
-
15}
- -
uint32_t type
Definition element.h:28
-
-

References ARC_ConsoleElement::type.

- -
-
- -

◆ ARC_ConsoleElement_DefaultRenderFn()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleElement_DefaultRenderFn (ARC_ConsoleView * view,
ARC_ConsoleElement * element )
-
- -

Definition at line 21 of file element.c.

-
21 {
- - -
24 }
-
25
-
26 ARC_ConsoleView_RenderStringAt(view, element->string, element->pos);
-
27
- - -
30 }
-
31}
-
void ARC_ConsoleView_RenderStringAt(ARC_ConsoleView *view, ARC_String *text, ARC_Point pos)
Definition view.c:109
-
#define ARC_CONSOLE_VIEW_ATTRIBUTE_REVERSE
Definition view.h:253
-
#define ARC_CONSOLE_VIEW_ATTRIBUTE_NONE
border options
Definition view.h:252
-
void ARC_ConsoleView_SetAttribute(ARC_ConsoleView *view, uint32_t attribute)
sets a border on the ARC_ConsoleView
Definition view.c:259
-
#define ARC_CONSOLE_ELEMENT_FLAG_SELECTED
Definition element.h:42
-
ARC_String * string
Definition element.h:30
-
ARC_Point pos
Definition element.h:32
- -
-

References ARC_CONSOLE_ELEMENT_FLAG_SELECTED, ARC_CONSOLE_VIEW_ATTRIBUTE_NONE, ARC_CONSOLE_VIEW_ATTRIBUTE_REVERSE, ARC_ConsoleView_RenderStringAt(), ARC_ConsoleView_SetAttribute(), ARC_ConsoleElement::flags, ARC_ConsoleElement::pos, and ARC_ConsoleElement::string.

- -
-
- -

◆ ARC_ConsoleElement_Destroy()

- -
-
- - - - - - - -
void ARC_ConsoleElement_Destroy (ARC_ConsoleElement * element)
-
- -

Definition at line 17 of file element.c.

-
17 {
-
18 free(element);
-
19}
-
-
-
- -

◆ ARC_ConsoleElement_IsSelectable()

- -
-
- - - - - - - -
ARC_Bool ARC_ConsoleElement_IsSelectable (ARC_ConsoleElement * element)
-
-
Parameters
- - -
-
-
- -

Definition at line 33 of file element.c.

-
33 {
- -
35 return ARC_True;
-
36 }
-
37
-
38 return ARC_False;
-
39}
-
#define ARC_False
Definition bool.h:12
-
#define ARC_True
Definition bool.h:11
-
#define ARC_CONSOLE_ELEMENT_FLAG_SELECTABLE
Definition element.h:41
-
-

References ARC_CONSOLE_ELEMENT_FLAG_SELECTABLE, ARC_False, ARC_True, and ARC_ConsoleElement::flags.

- -
-
- -

◆ ARC_ConsoleElement_SetSelected()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleElement_SetSelected (ARC_ConsoleElement * element,
ARC_Bool selected )
-
-
Parameters
- - -
-
-
- -

Definition at line 41 of file element.c.

-
41 {
-
42 if(selected){
- -
44 return;
-
45 }
-
46
-
47 element->flags &= ~ARC_CONSOLE_ELEMENT_FLAG_SELECTED;
-
48}
-
-

References ARC_CONSOLE_ELEMENT_FLAG_SELECTED, and ARC_ConsoleElement::flags.

- -
-
- -

◆ ARC_NCursesElement_ToggleSelected()

- -
-
- - - - - - - -
void ARC_NCursesElement_ToggleSelected (ARC_ConsoleElement * element)
-
- -

Definition at line 50 of file element.c.

-
50 {
- -
52}
-
-

References ARC_CONSOLE_ELEMENT_FLAG_SELECTED, and ARC_ConsoleElement::flags.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/da/d0a/element_8c.js b/doc/doxygen/html/da/d0a/element_8c.js deleted file mode 100644 index daa7411..0000000 --- a/doc/doxygen/html/da/d0a/element_8c.js +++ /dev/null @@ -1,9 +0,0 @@ -var element_8c = -[ - [ "ARC_ConsoleElement_Create", "da/d0a/element_8c.html#a9ee2f85f16536e390d63c66758ca8461", null ], - [ "ARC_ConsoleElement_DefaultRenderFn", "da/d0a/element_8c.html#a09963be501557ec748f95322c5379356", null ], - [ "ARC_ConsoleElement_Destroy", "da/d0a/element_8c.html#aaee680d3e44ab90347d95930ff405db4", null ], - [ "ARC_ConsoleElement_IsSelectable", "da/d0a/element_8c.html#a939ae41406b604e86cf042efd01234c6", null ], - [ "ARC_ConsoleElement_SetSelected", "da/d0a/element_8c.html#a86b31406373b19febf7079a001351c9a", null ], - [ "ARC_NCursesElement_ToggleSelected", "da/d0a/element_8c.html#aac92b1345b5c79796e5e08fd3b198efb", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/da/d0a/element_8c_source.html b/doc/doxygen/html/da/d0a/element_8c_source.html deleted file mode 100644 index 1f3d75f..0000000 --- a/doc/doxygen/html/da/d0a/element_8c_source.html +++ /dev/null @@ -1,218 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/console/ncurses/element.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
element.c
-
-
-Go to the documentation of this file.
-
2#include "arc/console/view.h"
-
3
-
4#include <stdlib.h>
-
5#include <ncurses.h>
-
6
-
-
7void ARC_ConsoleElement_Create(ARC_ConsoleElement **element, uint32_t type, uint8_t flags, ARC_String *string, ARC_Point pos, ARC_ConsoleElement_RenderFn renderFn){
-
8 *element = (ARC_ConsoleElement *)malloc(sizeof(ARC_ConsoleElement));
-
9
-
10 (*element)->type = type;
-
11 (*element)->flags = flags;
-
12 (*element)->string = string;
-
13 (*element)->pos = pos;
-
14 (*element)->renderFn = renderFn;
-
15}
-
-
16
-
- -
18 free(element);
-
19}
-
-
20
- -
32
-
- - -
35 return ARC_True;
-
36 }
-
37
-
38 return ARC_False;
-
39}
-
-
40
-
- -
42 if(selected){
- -
44 return;
-
45 }
-
46
-
47 element->flags &= ~ARC_CONSOLE_ELEMENT_FLAG_SELECTED;
-
48}
-
-
49
- -
#define ARC_False
Definition bool.h:12
-
#define ARC_True
Definition bool.h:11
-
#define ARC_Bool
Definition bool.h:10
- -
void ARC_ConsoleView_RenderStringAt(ARC_ConsoleView *view, ARC_String *text, ARC_Point pos)
Definition view.c:109
-
#define ARC_CONSOLE_VIEW_ATTRIBUTE_REVERSE
Definition view.h:253
-
#define ARC_CONSOLE_VIEW_ATTRIBUTE_NONE
border options
Definition view.h:252
-
void ARC_ConsoleView_SetAttribute(ARC_ConsoleView *view, uint32_t attribute)
sets a border on the ARC_ConsoleView
Definition view.c:259
-
void ARC_ConsoleElement_DefaultRenderFn(ARC_ConsoleView *view, ARC_ConsoleElement *element)
Definition element.c:21
-
void ARC_ConsoleElement_SetSelected(ARC_ConsoleElement *element, ARC_Bool selected)
Definition element.c:41
-
ARC_Bool ARC_ConsoleElement_IsSelectable(ARC_ConsoleElement *element)
Definition element.c:33
-
void ARC_ConsoleElement_Create(ARC_ConsoleElement **element, uint32_t type, uint8_t flags, ARC_String *string, ARC_Point pos, ARC_ConsoleElement_RenderFn renderFn)
Definition element.c:7
-
void ARC_NCursesElement_ToggleSelected(ARC_ConsoleElement *element)
Definition element.c:50
-
void ARC_ConsoleElement_Destroy(ARC_ConsoleElement *element)
Definition element.c:17
- -
#define ARC_CONSOLE_ELEMENT_FLAG_SELECTED
Definition element.h:42
-
#define ARC_CONSOLE_ELEMENT_FLAG_SELECTABLE
Definition element.h:41
-
void(* ARC_ConsoleElement_RenderFn)(ARC_ConsoleView *view, ARC_ConsoleElement *element)
Definition element.h:22
- -
uint32_t type
Definition element.h:28
-
ARC_String * string
Definition element.h:30
-
ARC_Point pos
Definition element.h:32
- - - -
substring position within a string
Definition string.h:14
-
-
- - - - - - diff --git a/doc/doxygen/html/da/d0c/sprite_8c.html b/doc/doxygen/html/da/d0c/sprite_8c.html deleted file mode 100644 index 8f8fd4a..0000000 --- a/doc/doxygen/html/da/d0c/sprite_8c.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/sprite.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
sprite.c File Reference
-
- - - -
- - diff --git a/doc/doxygen/html/da/d0c/sprite_8c_source.html b/doc/doxygen/html/da/d0c/sprite_8c_source.html deleted file mode 100644 index 1e031b1..0000000 --- a/doc/doxygen/html/da/d0c/sprite_8c_source.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/sprite.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
sprite.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_GRAPHICS
-
2
- -
4#include <stdio.h>
-
5
-
6void ARC_Sprite_Create(ARC_Sprite **sprite, ARC_Spritesheet *spritesheet, ARC_Array *frames){
-
7 printf("No Graphics Backend Selected\n");
-
8}
-
9
-
10void ARC_Sprite_Destroy(ARC_Sprite *sprite){
-
11 printf("No Graphics Backend Selected\n");
-
12}
-
13
-
14void ARC_Sprite_Copy(ARC_Sprite **newSprite, ARC_Sprite *oldSprite){
-
15 printf("No Graphics Backend Selected\n");
-
16}
-
17
-
18void ARC_Sprite_Render(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds){
-
19 printf("No Graphics Backend Selected\n");
-
20}
-
21
-
22void ARC_Sprite_RenderFlip(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, enum ARC_Sprite_Axis axis){
-
23 printf("No Graphics Backend Selected\n");
-
24}
-
25
-
26void ARC_Sprite_RenderRotated(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, ARC_Point *center, double angle){
-
27 printf("No Graphics Backend Selected\n");
-
28}
-
29
-
30void ARC_Sprite_SetFrameIndex(ARC_Sprite *sprite, uint32_t index){
-
31 printf("No Graphics Backend Selected\n");
-
32}
-
33
- -
35 printf("No Graphics Backend Selected\n");
-
36}
-
37
- -
39 printf("No Graphics Backend Selected\n");
-
40 return NULL;
-
41}
-
42
- -
44 printf("No Graphics Backend Selected\n");
-
45 return NULL;
-
46}
-
47
-
48#endif // !ARC_NONE_GRAPHICS
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- -
struct ARC_Sprite ARC_Sprite
a sprite type
Definition sprite.h:19
-
void ARC_Sprite_Render(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds)
renders ARC_Sprite type
-
void ARC_Sprite_Create(ARC_Sprite **sprite, ARC_Spritesheet *spritesheet, ARC_Array *frames)
creates ARC_Sprite type
-
void ARC_Sprite_Destroy(ARC_Sprite *sprite)
destroys ARC_Sprite type
-
void ARC_Sprite_RenderRotated(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, ARC_Point *center, double angle)
renders ARC_Sprite type with rotation
-
ARC_Sprite_Axis
Definition sprite.h:67
-
void ARC_Sprite_RenderFlip(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, enum ARC_Sprite_Axis axis)
renders ARC_Sprite type with flip
-
ARC_Rect * ARC_Sprite_GetBounds(ARC_Sprite *sprite)
returns the current bounds based on the ARC_Sprite's frames
-
ARC_Array * ARC_Sprite_GetAllBounds(ARC_Sprite *sprite)
returns the array of bounds that a sprite has
-
void ARC_Sprite_Copy(ARC_Sprite **newSprite, ARC_Sprite *oldSprite)
copies ARC_Sprite to a new ARC_Sprite
-
void ARC_Sprite_SetFrameIndex(ARC_Sprite *sprite, uint32_t index)
switches ARC_Sprite's frame to specified index
-
void ARC_Sprite_IterateFrame(ARC_Sprite *sprite)
switches ARC_Sprite's frames to next for animation
-
struct ARC_Spritesheet ARC_Spritesheet
Definition spritesheet.h:14
-
a type that holds an array of data and its size
Definition array.h:13
- - -
- - -
- - diff --git a/doc/doxygen/html/da/d10/src_2std_2chemical_8c.html b/doc/doxygen/html/da/d10/src_2std_2chemical_8c.html deleted file mode 100644 index 7cab50a..0000000 --- a/doc/doxygen/html/da/d10/src_2std_2chemical_8c.html +++ /dev/null @@ -1,565 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/chemical.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
chemical.c File Reference
-
-
-
#include "arc/std/chemical.h"
-#include "arc/std/parser/helpers.h"
-#include "arc/std/bool.h"
-#include "arc/std/hashtable.h"
-#include "arc/std/parser.h"
-#include <stddef.h>
-#include <stdint.h>
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_Chemical
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_Chemical_InitLexerRulesFn (ARC_Lexer *lexer)
 
uint32_t ARC_Chemical_GetStringIdFn (ARC_String *string)
 
void ARC_ChemicalData_CreateFn (void **data, ARC_ParserTagToken *parsedData, void *userData)
 
void ARC_Chemical_Create (ARC_Chemical **chemical)
 TODO: write this.
 
void ARC_Chemical_Destroy (ARC_Chemical *chemical)
 TODO: write this.
 
void ARC_Chemical_RegisterType (ARC_Chemical *chemical, ARC_String *typeName, ARC_ChemicalData_CopyToTypeFn *copyToTypeFn, ARC_ParserCSV_DestroyTypeFn destroyTypeFn)
 TODO: write this.
 
void ARC_Chemical_SetGroup (ARC_Chemical *chemical, ARC_String *groupName)
 sets current group in config
 
void * ARC_Chemical_Get (ARC_Chemical *chemical, ARC_String *element)
 get a value from a given keyname
 
void ARC_Chemical_LoadFromString (ARC_String *path)
 TODO: write this.
 
void ARC_Chemical_LoadFromFile (ARC_String *path)
 TODO: write this.
 
void ARC_Chemical_UnloadFromString (ARC_String *data)
 TODO: write this.
 
void ARC_Chemical_UnloadFromFile (ARC_String *data)
 TODO: write this.
 
-

Function Documentation

- -

◆ ARC_Chemical_Create()

- -
-
- - - - - - - -
void ARC_Chemical_Create (ARC_Chemical ** chemical)
-
- -

TODO: write this.

- -

Definition at line 36 of file chemical.c.

-
36 {
-
37 *chemical = (ARC_Chemical *)malloc(sizeof(ARC_Chemical));
-
38
-
39 /* ~ define the language as a string ~ */
-
40 char *languageCString =
-
41 "<language> -> <group> <language> | <variableLine> <language> | <whitespace> <language>\n"
-
42
-
43 "<group> -> <groupName> <whitespace> <variable> <whitespace> LEFT_CURLY_BRACE <whitespace> <variableLine> <whitespace> RIGHT_CURLY_BRACE\n"
-
44
-
45 "<variableLine> -> <type> <whitespace> <variable> <whitespace> EQUALS <whitespace> value <whitespace> SEMICOLON <whitespace>\n"
-
46
-
47 "<groupName> -> <variable>\n"
-
48 "<type> -> <variable>\n"
-
49 "<value> -> <variable> | <number> | <nestedValue>\n"
-
50 "<nestedValue> -> OPEN_CURLY_BRACE <whitespace> <valueArgs> <whitespace> CLOSE_CURLY_BRACE\n"
-
51 "<valueArgs> -> <value> | <value> COMMA <valueArgs>\n"
-
52
-
53 "<variable> -> ALPHA_UPPER_CHAR <variableName> | ALPHA_LOWER_CHAR <variableName> | UNDERSCORE <variableName>\n"
-
54 "<variableName> -> <charOrNum> <variableName> | LAMBDA\n"
-
55 "<charOrNum> -> ALPHA_UPPER_CHAR | ALPHA_LOWER_CHAR | UNDERSCORE | NUM\n"
-
56
-
57 "<number> -> NUMBER <number> | NUMBER LAMBDA\n"
-
58
-
59 "<whitespace> -> SPACE <whitespace> | TAB <whitespace> | NEWLINE <whitespace> | LAMBDA\n";
-
60
-
61 /* ~ define the language as a string ~ */
-
62 ARC_String *languageString;
-
63 ARC_String_CreateWithStrlen(&languageString, languageCString);
-
64
-
65 /* ~ init the userdata? ~ */
-
66
-
67 /* ~ create the language ~ */
-
68 //ARC_ParserData_CreateFn createCharFn = ARC_ChemicalData_CreateFn;
-
69 //ARC_ParserData_DestroyFn destroyCharFn = ARC_ChemicalData_DestroyFn;
-
70 //ARC_Parser_CreateFromString(parser, languageString, ARC_ParserCSV_InitLexerRulesFn, ARC_ParserCSV_GetStringIdFn, &createCharFn, &destroyCharFn, userdata);
-
71
-
72 //cleanup
-
73 ARC_String_Destroy(languageString);
-
74}
-
void ARC_String_CreateWithStrlen(ARC_String **string, char *data)
creates ARC_String type with strinlen
Definition string.c:32
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
- -
substring position within a string
Definition string.h:14
-
-

References ARC_String_CreateWithStrlen(), and ARC_String_Destroy().

- -

Referenced by ARC_TEST().

- -
-
- -

◆ ARC_Chemical_Destroy()

- -
-
- - - - - - - -
void ARC_Chemical_Destroy (ARC_Chemical * chemical)
-
- -

TODO: write this.

- -

Definition at line 76 of file chemical.c.

-
76 {
-
77}
-
-

Referenced by ARC_TEST().

- -
-
- -

◆ ARC_Chemical_Get()

- -
-
- - - - - - - - - - - -
void * ARC_Chemical_Get (ARC_Chemical * chemical,
ARC_String * element )
-
- -

get a value from a given keyname

-
Note
name may be prefaced with <group>:: to specify group
-
Parameters
- - - -
[in]chemicalARC_Chemical to get value from
[in]elementname of a variable that has been read in
-
-
-
Returns
the stored element on success, or NULL on failure
- -

Definition at line 85 of file chemical.c.

-
85 {
-
86 return NULL;
-
87}
-
-
-
- -

◆ ARC_Chemical_GetStringIdFn()

- -
-
- - - - - - - -
uint32_t ARC_Chemical_GetStringIdFn (ARC_String * string)
-
- -

Definition at line 19 of file chemical.c.

-
19 {
-
20 if(ARC_String_EqualsCStringWithStrlen(string, "LAMBDA")){
- -
22 }
-
23
-
24 return ~(uint32_t)0;
-
25}
-
#define ARC_PARSER_TAG_LAMBDA
basic tag for letting the parser know it is ok to end
Definition parser.h:150
-
ARC_Bool ARC_String_EqualsCStringWithStrlen(ARC_String *string, const char *cstring)
check if ARC_String and cstring match
Definition string.c:171
-
-

References ARC_PARSER_TAG_LAMBDA, and ARC_String_EqualsCStringWithStrlen().

- -
-
- -

◆ ARC_Chemical_InitLexerRulesFn()

- -
-
- - - - - - - -
void ARC_Chemical_InitLexerRulesFn (ARC_Lexer * lexer)
-
- -

Definition at line 16 of file chemical.c.

-
16 {
-
17}
-
-
-
- -

◆ ARC_Chemical_LoadFromFile()

- -
-
- - - - - - - -
void ARC_Chemical_LoadFromFile (ARC_String * path)
-
- -

TODO: write this.

- -

Definition at line 92 of file chemical.c.

-
92 {
-
93}
-
-
-
- -

◆ ARC_Chemical_LoadFromString()

- -
-
- - - - - - - -
void ARC_Chemical_LoadFromString (ARC_String * path)
-
- -

TODO: write this.

- -

Definition at line 89 of file chemical.c.

-
89 {
-
90}
-
-
-
- -

◆ ARC_Chemical_RegisterType()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Chemical_RegisterType (ARC_Chemical * chemical,
ARC_String * typeName,
ARC_ChemicalData_CopyToTypeFn * copyToTypeFn,
ARC_ParserCSV_DestroyTypeFn destroyTypeFn )
-
- -

TODO: write this.

- -

Definition at line 79 of file chemical.c.

-
79 {
-
80}
-
-
-
- -

◆ ARC_Chemical_SetGroup()

- -
-
- - - - - - - - - - - -
void ARC_Chemical_SetGroup (ARC_Chemical * chemical,
ARC_String * groupName )
-
- -

sets current group in config

-
Note
ARC_Chemical_Get will use this set group
-
Parameters
- - - -
[in]chemicalARC_Config we are setting current group in
[in]groupnamename of group that will be set
-
-
- -

Definition at line 82 of file chemical.c.

-
82 {
-
83}
-
-
-
- -

◆ ARC_Chemical_UnloadFromFile()

- -
-
- - - - - - - -
void ARC_Chemical_UnloadFromFile (ARC_String * data)
-
- -

TODO: write this.

- -

Definition at line 98 of file chemical.c.

-
98 {
-
99}
-
-
-
- -

◆ ARC_Chemical_UnloadFromString()

- -
-
- - - - - - - -
void ARC_Chemical_UnloadFromString (ARC_String * data)
-
- -

TODO: write this.

- -

Definition at line 95 of file chemical.c.

-
95 {
-
96}
-
-
-
- -

◆ ARC_ChemicalData_CreateFn()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ChemicalData_CreateFn (void ** data,
ARC_ParserTagToken * parsedData,
void * userData )
-
- -

Definition at line 27 of file chemical.c.

-
27 {
-
28 *data = NULL;
-
29 if(data == NULL || userData == NULL){
-
30 //TODO: error here?
-
31 *data = NULL;
-
32 return;
-
33 }
-
34}
-
-
-
-
-
- - - - - - diff --git a/doc/doxygen/html/da/d10/src_2std_2chemical_8c.js b/doc/doxygen/html/da/d10/src_2std_2chemical_8c.js deleted file mode 100644 index 601d6fb..0000000 --- a/doc/doxygen/html/da/d10/src_2std_2chemical_8c.js +++ /dev/null @@ -1,16 +0,0 @@ -var src_2std_2chemical_8c = -[ - [ "ARC_Chemical", "de/d74/structARC__Chemical.html", "de/d74/structARC__Chemical" ], - [ "ARC_Chemical_Create", "da/d10/src_2std_2chemical_8c.html#a57285cb04aa534e1d031332dcaa1a870", null ], - [ "ARC_Chemical_Destroy", "da/d10/src_2std_2chemical_8c.html#a686a72bf4514fe44106185d4b5c588ef", null ], - [ "ARC_Chemical_Get", "da/d10/src_2std_2chemical_8c.html#adb8a34d9191beed01e6fed8a897151c3", null ], - [ "ARC_Chemical_GetStringIdFn", "da/d10/src_2std_2chemical_8c.html#ac6e410a437cdcc260088adb4184feba4", null ], - [ "ARC_Chemical_InitLexerRulesFn", "da/d10/src_2std_2chemical_8c.html#a91538413561eed08286d4618cf48cb4e", null ], - [ "ARC_Chemical_LoadFromFile", "da/d10/src_2std_2chemical_8c.html#a12062638bce9e79bc5409a12c05e3023", null ], - [ "ARC_Chemical_LoadFromString", "da/d10/src_2std_2chemical_8c.html#a56505ede690711cbfd12c9e56864c4b3", null ], - [ "ARC_Chemical_RegisterType", "da/d10/src_2std_2chemical_8c.html#a585e4d4a2bd7f2484fa3e6a308b483d3", null ], - [ "ARC_Chemical_SetGroup", "da/d10/src_2std_2chemical_8c.html#a5d6a498f3920dc4bed51fe2e855ef69f", null ], - [ "ARC_Chemical_UnloadFromFile", "da/d10/src_2std_2chemical_8c.html#a43b69b30d57bdf40ffe674e4e0105157", null ], - [ "ARC_Chemical_UnloadFromString", "da/d10/src_2std_2chemical_8c.html#ad875764e9e18d4aa3db2cf86081d2048", null ], - [ "ARC_ChemicalData_CreateFn", "da/d10/src_2std_2chemical_8c.html#a36dd29a6ba7bf4d1de525e29084e9fa1", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/da/d10/src_2std_2chemical_8c_source.html b/doc/doxygen/html/da/d10/src_2std_2chemical_8c_source.html deleted file mode 100644 index 1e2b86f..0000000 --- a/doc/doxygen/html/da/d10/src_2std_2chemical_8c_source.html +++ /dev/null @@ -1,284 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/chemical.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
chemical.c
-
-
-Go to the documentation of this file.
1#include "arc/std/chemical.h"
- -
3#include "arc/std/bool.h"
-
4#include "arc/std/hashtable.h"
-
5#include "arc/std/parser.h"
-
6#include <stddef.h>
-
7#include <stdint.h>
-
8#include <stdlib.h>
-
9
- -
15
- -
18
-
- -
20 if(ARC_String_EqualsCStringWithStrlen(string, "LAMBDA")){
- -
22 }
-
23
-
24 return ~(uint32_t)0;
-
25}
-
-
26
-
-
27void ARC_ChemicalData_CreateFn(void **data, ARC_ParserTagToken *parsedData, void *userData){
-
28 *data = NULL;
-
29 if(data == NULL || userData == NULL){
-
30 //TODO: error here?
-
31 *data = NULL;
-
32 return;
-
33 }
-
34}
-
-
35
-
- -
37 *chemical = (ARC_Chemical *)malloc(sizeof(ARC_Chemical));
-
38
-
39 /* ~ define the language as a string ~ */
-
40 char *languageCString =
-
41 "<language> -> <group> <language> | <variableLine> <language> | <whitespace> <language>\n"
-
42
-
43 "<group> -> <groupName> <whitespace> <variable> <whitespace> LEFT_CURLY_BRACE <whitespace> <variableLine> <whitespace> RIGHT_CURLY_BRACE\n"
-
44
-
45 "<variableLine> -> <type> <whitespace> <variable> <whitespace> EQUALS <whitespace> value <whitespace> SEMICOLON <whitespace>\n"
-
46
-
47 "<groupName> -> <variable>\n"
-
48 "<type> -> <variable>\n"
-
49 "<value> -> <variable> | <number> | <nestedValue>\n"
-
50 "<nestedValue> -> OPEN_CURLY_BRACE <whitespace> <valueArgs> <whitespace> CLOSE_CURLY_BRACE\n"
-
51 "<valueArgs> -> <value> | <value> COMMA <valueArgs>\n"
-
52
-
53 "<variable> -> ALPHA_UPPER_CHAR <variableName> | ALPHA_LOWER_CHAR <variableName> | UNDERSCORE <variableName>\n"
-
54 "<variableName> -> <charOrNum> <variableName> | LAMBDA\n"
-
55 "<charOrNum> -> ALPHA_UPPER_CHAR | ALPHA_LOWER_CHAR | UNDERSCORE | NUM\n"
-
56
-
57 "<number> -> NUMBER <number> | NUMBER LAMBDA\n"
-
58
-
59 "<whitespace> -> SPACE <whitespace> | TAB <whitespace> | NEWLINE <whitespace> | LAMBDA\n";
-
60
-
61 /* ~ define the language as a string ~ */
-
62 ARC_String *languageString;
-
63 ARC_String_CreateWithStrlen(&languageString, languageCString);
-
64
-
65 /* ~ init the userdata? ~ */
-
66
-
67 /* ~ create the language ~ */
-
68 //ARC_ParserData_CreateFn createCharFn = ARC_ChemicalData_CreateFn;
-
69 //ARC_ParserData_DestroyFn destroyCharFn = ARC_ChemicalData_DestroyFn;
-
70 //ARC_Parser_CreateFromString(parser, languageString, ARC_ParserCSV_InitLexerRulesFn, ARC_ParserCSV_GetStringIdFn, &createCharFn, &destroyCharFn, userdata);
-
71
-
72 //cleanup
-
73 ARC_String_Destroy(languageString);
-
74}
-
-
75
-
- -
77}
-
-
78
-
- -
80}
-
-
81
-
-
82void ARC_Chemical_SetGroup(ARC_Chemical *chemical, ARC_String *groupName){
-
83}
-
-
84
-
-
85void *ARC_Chemical_Get(ARC_Chemical *chemical, ARC_String *element){
-
86 return NULL;
-
87}
-
-
88
- -
91
- -
94
- -
97
- - - -
void(* ARC_ParserCSV_DestroyTypeFn)(void *data)
TODO: write this.
Definition chemical.h:43
-
void(* ARC_ChemicalData_CopyToTypeFn)(void **data, ARC_ParserTagToken *parsedData)
TODO: write this.
Definition chemical.h:38
- - - -
#define ARC_PARSER_TAG_LAMBDA
basic tag for letting the parser know it is ok to end
Definition parser.h:150
-
void ARC_Chemical_LoadFromFile(ARC_String *path)
TODO: write this.
Definition chemical.c:92
-
void ARC_ChemicalData_CreateFn(void **data, ARC_ParserTagToken *parsedData, void *userData)
Definition chemical.c:27
-
void ARC_Chemical_UnloadFromFile(ARC_String *data)
TODO: write this.
Definition chemical.c:98
-
void ARC_Chemical_LoadFromString(ARC_String *path)
TODO: write this.
Definition chemical.c:89
-
void ARC_Chemical_Create(ARC_Chemical **chemical)
TODO: write this.
Definition chemical.c:36
-
void ARC_Chemical_RegisterType(ARC_Chemical *chemical, ARC_String *typeName, ARC_ChemicalData_CopyToTypeFn *copyToTypeFn, ARC_ParserCSV_DestroyTypeFn destroyTypeFn)
TODO: write this.
Definition chemical.c:79
-
void ARC_Chemical_SetGroup(ARC_Chemical *chemical, ARC_String *groupName)
sets current group in config
Definition chemical.c:82
-
void ARC_Chemical_Destroy(ARC_Chemical *chemical)
TODO: write this.
Definition chemical.c:76
-
void ARC_Chemical_InitLexerRulesFn(ARC_Lexer *lexer)
Definition chemical.c:16
-
uint32_t ARC_Chemical_GetStringIdFn(ARC_String *string)
Definition chemical.c:19
-
void ARC_Chemical_UnloadFromString(ARC_String *data)
TODO: write this.
Definition chemical.c:95
-
void * ARC_Chemical_Get(ARC_Chemical *chemical, ARC_String *element)
get a value from a given keyname
Definition chemical.c:85
-
void ARC_String_CreateWithStrlen(ARC_String **string, char *data)
creates ARC_String type with strinlen
Definition string.c:32
-
ARC_Bool ARC_String_EqualsCStringWithStrlen(ARC_String *string, const char *cstring)
check if ARC_String and cstring match
Definition string.c:171
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
- -
ARC_Parser * parser
Definition chemical.c:11
-
ARC_Hashtable * groups
Definition chemical.c:13
- - -
a parser type used inside of the parser data create function
Definition parser.h:35
- -
substring position within a string
Definition string.h:14
-
-
- - - - - - diff --git a/doc/doxygen/html/da/d17/tests_2std_2parser_2parserlang_8c.html b/doc/doxygen/html/da/d17/tests_2std_2parser_2parserlang_8c.html deleted file mode 100644 index a90e79b..0000000 --- a/doc/doxygen/html/da/d17/tests_2std_2parser_2parserlang_8c.html +++ /dev/null @@ -1,274 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/tests/std/parser/parserlang.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
parserlang.c File Reference
-
-
-
#include "../../test.h"
-#include "arc/std/errno.h"
-#include "arc/std/parser.h"
-#include "arc/std/string.h"
-#include "arc/std/parser/parserlang.h"
-
-

Go to the source code of this file.

- - - - - - -

-Functions

uint32_t TEST_ParserLang_GetIdFn (ARC_String *string)
 
 ARC_TEST (Parser_ParserLang_BasicTest)
 
- - - -

-Variables

uint32_t TEST_PARSERLANG_ALPHA_CHAR = 24
 
-

Function Documentation

- -

◆ ARC_TEST()

- -
-
- - - - - - - -
ARC_TEST (Parser_ParserLang_BasicTest )
-
- -

Definition at line 26 of file parserlang.c.

-
26 {
-
27 ARC_Parser *parser;
- -
29
-
30 ARC_String *tempString;
-
31 ARC_String_CreateWithStrlen(&tempString, "\n\n<alphaChar> -> ALPHA_LOWER_CHAR | ALPHA_UPPER_CHAR\n\n\n");
-
32
-
33 //this destroys string, so no need for cleanup
-
34 ARC_Parser_Parse(parser, &tempString);
-
35 ARC_CHECK(arc_errno == 0);
-
36
-
37 void *data = ARC_Parser_GetData(parser);
-
38 ARC_ParserTag *tag = ARC_Vector_Get((ARC_Vector *)data, 0);
-
39
- -
41
-
42 ARC_CHECK(tag->tokensOrTagsSize == 2);
-
43 ARC_CHECK(tag->tokensOrTags[0][0] == 1);
- -
45 ARC_CHECK(tag->tokensOrTags[1][0] == 1);
- -
47
-
48 ARC_Parser_Destroy(parser);
-
49}
-
int32_t arc_errno
Definition errno.c:5
-
void ARC_Parser_Parse(ARC_Parser *parser, ARC_String **data)
Definition parser.c:297
-
void ARC_Parser_Destroy(ARC_Parser *parser)
destroys an ARC_Parser type
Definition parser.c:127
-
void * ARC_Parser_GetData(ARC_Parser *parser)
Definition parser.c:368
-
#define ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR
Definition parserlang.h:44
-
#define ARC_PARSERLANG_TOKEN_ALPHA_LOWER_CHAR
Definition parserlang.h:43
-
void ARC_ParserLang_CreateAsParser(ARC_Parser **parser, ARC_Parser_GetStringIdFn getStringIdFn)
creates a parser for the Parser Lang
Definition parserlang.c:324
-
void ARC_String_CreateWithStrlen(ARC_String **string, char *data)
creates ARC_String type with strinlen
Definition string.c:32
-
a langue tag type for the parser //TODO: explain this better
Definition parser.h:21
-
uint32_t tagId
Definition parser.h:22
-
uint32_t tokensOrTagsSize
Definition parser.h:25
-
uint32_t ** tokensOrTags
Definition parser.h:24
- -
substring position within a string
Definition string.h:14
-
a private dynamic array type
Definition vector.c:12
-
#define ARC_CHECK(TEST)
Definition test.h:33
-
uint32_t TEST_ParserLang_GetIdFn(ARC_String *string)
Definition parserlang.c:10
-
uint32_t TEST_PARSERLANG_ALPHA_CHAR
Definition parserlang.c:7
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:153
-
-

References ARC_CHECK, arc_errno, ARC_Parser_Destroy(), ARC_Parser_GetData(), ARC_Parser_Parse(), ARC_ParserLang_CreateAsParser(), ARC_PARSERLANG_TOKEN_ALPHA_LOWER_CHAR, ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR, ARC_String_CreateWithStrlen(), ARC_Vector_Get(), ARC_ParserTag::tagId, TEST_PARSERLANG_ALPHA_CHAR, TEST_ParserLang_GetIdFn(), ARC_ParserTag::tokensOrTags, and ARC_ParserTag::tokensOrTagsSize.

- -
-
- -

◆ TEST_ParserLang_GetIdFn()

- -
-
- - - - - - - -
uint32_t TEST_ParserLang_GetIdFn (ARC_String * string)
-
- -

Definition at line 10 of file parserlang.c.

-
10 {
-
11 if(ARC_String_EqualsCStringWithStrlen(string, "<alphaChar>")){
- -
13 }
-
14
-
15 if(ARC_String_EqualsCStringWithStrlen(string, "ALPHA_LOWER_CHAR")){
- -
17 }
-
18
-
19 if(ARC_String_EqualsCStringWithStrlen(string, "ALPHA_UPPER_CHAR")){
- -
21 }
-
22
-
23 return ~(uint32_t)0;
-
24}
-
ARC_Bool ARC_String_EqualsCStringWithStrlen(ARC_String *string, const char *cstring)
check if ARC_String and cstring match
Definition string.c:171
-
-

References ARC_PARSERLANG_TOKEN_ALPHA_LOWER_CHAR, ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR, ARC_String_EqualsCStringWithStrlen(), and TEST_PARSERLANG_ALPHA_CHAR.

- -

Referenced by ARC_TEST().

- -
-
-

Variable Documentation

- -

◆ TEST_PARSERLANG_ALPHA_CHAR

- -
-
- - - - -
uint32_t TEST_PARSERLANG_ALPHA_CHAR = 24
-
- -

Definition at line 7 of file parserlang.c.

- -

Referenced by ARC_TEST(), and TEST_ParserLang_GetIdFn().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/da/d17/tests_2std_2parser_2parserlang_8c.js b/doc/doxygen/html/da/d17/tests_2std_2parser_2parserlang_8c.js deleted file mode 100644 index efaffd8..0000000 --- a/doc/doxygen/html/da/d17/tests_2std_2parser_2parserlang_8c.js +++ /dev/null @@ -1,6 +0,0 @@ -var tests_2std_2parser_2parserlang_8c = -[ - [ "ARC_TEST", "da/d17/tests_2std_2parser_2parserlang_8c.html#ab78ef532c9f309ddfea9c7e76bfbbb7e", null ], - [ "TEST_ParserLang_GetIdFn", "da/d17/tests_2std_2parser_2parserlang_8c.html#acf3b28f97748aa5926318e8e5e177e0d", null ], - [ "TEST_PARSERLANG_ALPHA_CHAR", "da/d17/tests_2std_2parser_2parserlang_8c.html#ad49bb4f95ecd042bc6c60111b636cc74", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/da/d17/tests_2std_2parser_2parserlang_8c_source.html b/doc/doxygen/html/da/d17/tests_2std_2parser_2parserlang_8c_source.html deleted file mode 100644 index 7a6fea6..0000000 --- a/doc/doxygen/html/da/d17/tests_2std_2parser_2parserlang_8c_source.html +++ /dev/null @@ -1,207 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/tests/std/parser/parserlang.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
parserlang.c
-
-
-Go to the documentation of this file.
1#include "../../test.h"
-
2#include "arc/std/errno.h"
-
3#include "arc/std/parser.h"
-
4#include "arc/std/string.h"
- -
6
- -
8
-
9/* ~ parserlang tests ~ */
-
- -
11 if(ARC_String_EqualsCStringWithStrlen(string, "<alphaChar>")){
- -
13 }
-
14
-
15 if(ARC_String_EqualsCStringWithStrlen(string, "ALPHA_LOWER_CHAR")){
- -
17 }
-
18
-
19 if(ARC_String_EqualsCStringWithStrlen(string, "ALPHA_UPPER_CHAR")){
- -
21 }
-
22
-
23 return ~(uint32_t)0;
-
24}
-
-
25
-
-
26ARC_TEST(Parser_ParserLang_BasicTest){
-
27 ARC_Parser *parser;
- -
29
-
30 ARC_String *tempString;
-
31 ARC_String_CreateWithStrlen(&tempString, "\n\n<alphaChar> -> ALPHA_LOWER_CHAR | ALPHA_UPPER_CHAR\n\n\n");
-
32
-
33 //this destroys string, so no need for cleanup
-
34 ARC_Parser_Parse(parser, &tempString);
-
35 ARC_CHECK(arc_errno == 0);
-
36
-
37 void *data = ARC_Parser_GetData(parser);
-
38 ARC_ParserTag *tag = ARC_Vector_Get((ARC_Vector *)data, 0);
-
39
- -
41
-
42 ARC_CHECK(tag->tokensOrTagsSize == 2);
-
43 ARC_CHECK(tag->tokensOrTags[0][0] == 1);
- -
45 ARC_CHECK(tag->tokensOrTags[1][0] == 1);
- -
47
-
48 ARC_Parser_Destroy(parser);
-
49}
-
- -
int32_t arc_errno
Definition errno.c:5
- -
void ARC_Parser_Parse(ARC_Parser *parser, ARC_String **data)
Definition parser.c:297
-
void ARC_Parser_Destroy(ARC_Parser *parser)
destroys an ARC_Parser type
Definition parser.c:127
-
void * ARC_Parser_GetData(ARC_Parser *parser)
Definition parser.c:368
- -
#define ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR
Definition parserlang.h:44
-
#define ARC_PARSERLANG_TOKEN_ALPHA_LOWER_CHAR
Definition parserlang.h:43
-
void ARC_ParserLang_CreateAsParser(ARC_Parser **parser, ARC_Parser_GetStringIdFn getStringIdFn)
creates a parser for the Parser Lang
Definition parserlang.c:324
- -
void ARC_String_CreateWithStrlen(ARC_String **string, char *data)
creates ARC_String type with strinlen
Definition string.c:32
-
ARC_Bool ARC_String_EqualsCStringWithStrlen(ARC_String *string, const char *cstring)
check if ARC_String and cstring match
Definition string.c:171
-
a langue tag type for the parser //TODO: explain this better
Definition parser.h:21
-
uint32_t tagId
Definition parser.h:22
-
uint32_t tokensOrTagsSize
Definition parser.h:25
-
uint32_t ** tokensOrTags
Definition parser.h:24
- -
substring position within a string
Definition string.h:14
-
a private dynamic array type
Definition vector.c:12
- -
#define ARC_CHECK(TEST)
Definition test.h:33
-
#define ARC_TEST(MESSAGE)
Definition test.h:31
-
uint32_t TEST_ParserLang_GetIdFn(ARC_String *string)
Definition parserlang.c:10
-
uint32_t TEST_PARSERLANG_ALPHA_CHAR
Definition parserlang.c:7
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:153
-
-
- - - - - - diff --git a/doc/doxygen/html/da/d24/src_2std_2lexer_8c.html b/doc/doxygen/html/da/d24/src_2std_2lexer_8c.html deleted file mode 100644 index 5b52f03..0000000 --- a/doc/doxygen/html/da/d24/src_2std_2lexer_8c.html +++ /dev/null @@ -1,1604 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/lexer.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
lexer.c File Reference
-
-
-
#include "arc/std/lexer.h"
-#include "arc/std/bool.h"
-#include "arc/std/errno.h"
-#include "arc/std/string.h"
-#include "arc/std/vector.h"
-#include "arc/std/io.h"
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_Lexer
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

ARC_Bool ARC_LexerTokenRule_VectorCompareDataFn (void *dataA, void *dataB)
 
void ARC_LexerTokenRule_VectorDestroyDataFn (void *data)
 
void ARC_LexerToken_VectorDestroyDataFn (void *data)
 
void ARC_Lexer_Create (ARC_Lexer **lexer)
 creates an ARC_Lexer type
 
void ARC_Lexer_Destroy (ARC_Lexer *lexer)
 destroys an ARC_Lexer type
 
void ARC_Lexer_RegisterTokenRule (ARC_Lexer *lexer, ARC_LexerTokenRule tokenRule)
 adds a token rule to a lexer
 
void ARC_Lexer_Clear (ARC_Lexer *lexer)
 clears all tokens from a lexer (will not clear token rules)
 
void ARC_Lexer_LexString (ARC_Lexer *lexer, ARC_String **data)
 creates tokens using a given string with ARC_LexerToken rules
 
void ARC_Lexer_LexFile (ARC_Lexer *lexer, ARC_String *path)
 reads in and lexs a file
 
void ARC_Lexer_PrintTokenRules (ARC_Lexer *lexer)
 prints rule id and hex of the function name
 
ARC_LexerTokenARC_Lexer_GetToken (ARC_Lexer *lexer, uint32_t index)
 gets a token at a given index from a lexer
 
uint32_t ARC_Lexer_GetTokensSize (ARC_Lexer *lexer)
 gets a token at a given index from a lexer
 
ARC_Bool ARC_Lexer_IsContinious (ARC_Lexer *lexer)
 returns a boolean based on if a lexers rules are continious
 
ARC_Bool ARC_Lexer_IsTokenId (ARC_Lexer *lexer, uint32_t id)
 returns a boolean based on if a given id is a stored token rule id
 
uint32_t ARC_Lexer_AutomataMatchCharFn (ARC_String **tokenData, ARC_String *string, void *automataData)
 checks if the first character of string matches the automataData cast as a char
 
uint32_t ARC_Lexer_AutomataMatchCharOrBetweenFn (ARC_String **tokenData, ARC_String *string, void *automataData)
 
uint32_t ARC_Lexer_AutomataMatchStringFn (ARC_String **tokenData, ARC_String *string, void *automataData)
 checks if the substring automataData as an ARC_String matches the first part of string
 
uint32_t ARC_Lexer_AutomataMatchCharInStringFn (ARC_String **tokenData, ARC_String *string, void *automataData)
 checks if the first part of string is a character in substring
 
void ARC_LexerTokenRule_DestroyCharAutomataDataFn (void *automataData)
 
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharRule (uint32_t id, char character)
 creates a ARC_LexerTokenRule with a given id and character
 
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween (uint32_t id, char start, char end)
 creates a ARC_LexerTokenRule with a given id and character range
 
void ARC_LexerTokenRule_DestroyStringAutomataDataFn (void *automataData)
 
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchStringRule (uint32_t id, ARC_String *string)
 creates a ARC_LexerTokenRule with a given id and string
 
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule (uint32_t id, ARC_String *string)
 creates a ARC_LexerTokenRule with a given id and string
 
void ARC_Lexer_InitBasicTokenRules (ARC_Lexer *lexer)
 adds a bunch of basic token rules (matching the BasicTokens above)
 
-

Function Documentation

- -

◆ ARC_Lexer_AutomataMatchCharFn()

- -
-
- - - - - - - - - - - - - - - - -
uint32_t ARC_Lexer_AutomataMatchCharFn (ARC_String ** tokenData,
ARC_String * string,
void * automataData )
-
- -

checks if the first character of string matches the automataData cast as a char

-
Note
this is intended as a helper callback
-
-this function is a ARC_Lexer_AutomataFn callback
-
Parameters
- - - - -
[out]tokenDataa place to store token data (like a variable name), can be NULL if not needed
[in]stringa string to be checked to see if it matches a token
[in]automataDataany data that needs to be used for the ARC_Lexer_AutomataFn
-
-
-
Returns
the size of the token found, or 0 if the token was not found
- -

Definition at line 311 of file lexer.c.

-
311 {
-
312 //if there is a match the token will be the same as automataData, so we don't need to store it again
-
313 *tokenData = NULL;
-
314
-
315 //check to see if there is a match with automataData as a char
-
316 if(string->data[0] == *(char *)automataData){
-
317 //return the token was found of length 1
-
318 return 1;
-
319 }
-
320
-
321 //no match was found
-
322 return 0;
-
323}
-
char * data
Definition string.h:15
-
-

References ARC_String::data.

- -

Referenced by ARC_LexerTokenRule_CreateAndReturnMatchCharRule().

- -
-
- -

◆ ARC_Lexer_AutomataMatchCharInStringFn()

- -
-
- - - - - - - - - - - - - - - - -
uint32_t ARC_Lexer_AutomataMatchCharInStringFn (ARC_String ** tokenData,
ARC_String * string,
void * automataData )
-
- -

checks if the first part of string is a character in substring

-
Note
this is intended as a helper callback
-
-this function is a ARC_Lexer_AutomataFn callback
-
Parameters
- - - - -
[out]tokenDataa place to store token data (like a variable name), can be NULL if not needed
[in]stringa string to be checked to see if it matches a token
[in]automataDataany data that needs to be used for the ARC_Lexer_AutomataFn
-
-
-
Returns
the size of the token found, or 0 if the token was not found
- -

Definition at line 356 of file lexer.c.

-
356 {
-
357 //if there is a match the token will be the same as automataData, so we don't need to store it again
-
358 *tokenData = NULL;
-
359
-
360 //check to see if there is a char match in automataData as a string
-
361 ARC_String *automataDataString = (ARC_String *)automataData;
-
362 for(uint64_t index = 0; index < automataDataString->length; index++){
-
363 if(string->data[0] == automataDataString->data[index]){
-
364 //return the token was found in the string of length 1
-
365 return 1;
-
366 }
-
367 }
-
368
-
369 //no match was found
-
370 return 0;
-
371}
-
substring position within a string
Definition string.h:14
-
uint64_t length
Definition string.h:16
-
-

References ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule().

- -
-
- -

◆ ARC_Lexer_AutomataMatchCharOrBetweenFn()

- -
-
- - - - - - - - - - - - - - - - -
uint32_t ARC_Lexer_AutomataMatchCharOrBetweenFn (ARC_String ** tokenData,
ARC_String * string,
void * automataData )
-
- -

Definition at line 325 of file lexer.c.

-
325 {
-
326 //if there is a match the token will be the same as automataData, so we don't need to store it again
-
327 *tokenData = NULL;
-
328
-
329 //check to see if there is a match with automataData as a range of chars
-
330 char *automataDataChars = (char *)automataData;
-
331 if(string->data[0] >= automataDataChars[0] && string->data[0] <= ((char *)automataData)[1]){
-
332 //return the token as token data and the token was found of length 1
-
333 ARC_String_Create(tokenData, string->data, 1);
-
334 return 1;
-
335 }
-
336
-
337 //no match was found
-
338 return 0;
-
339}
-
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
-
-

References ARC_String_Create(), and ARC_String::data.

- -

Referenced by ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween().

- -
-
- -

◆ ARC_Lexer_AutomataMatchStringFn()

- -
-
- - - - - - - - - - - - - - - - -
uint32_t ARC_Lexer_AutomataMatchStringFn (ARC_String ** tokenData,
ARC_String * string,
void * automataData )
-
- -

checks if the substring automataData as an ARC_String matches the first part of string

-
Note
this is intended as a helper callback
-
-this function is a ARC_Lexer_AutomataFn callback
-
Parameters
- - - - -
[out]tokenDataa place to store token data (like a variable name), can be NULL if not needed
[in]stringa string to be checked to see if it matches a token
[in]automataDataany data that needs to be used for the ARC_Lexer_AutomataFn
-
-
-
Returns
the size of the token found, or 0 if the token was not found
- -

Definition at line 341 of file lexer.c.

-
341 {
-
342 //if there is a match the token will be the same as automataData, so we don't need to store it again
-
343 *tokenData = NULL;
-
344
-
345 //check to see if there is a match with automataData as a string
-
346 ARC_String *automataDataString = (ARC_String *)automataData;
-
347 if(ARC_String_SubstringEquals(string, 0, automataDataString)){
-
348 //return the token was found of the string length
-
349 return automataDataString->length;
-
350 }
-
351
-
352 //no match was found
-
353 return 0;
-
354}
-
ARC_Bool ARC_String_SubstringEquals(ARC_String *first, uint64_t offset, ARC_String *second)
check if substring of first equals second string
Definition string.c:175
-
-

References ARC_String_SubstringEquals(), and ARC_String::length.

- -

Referenced by ARC_LexerTokenRule_CreateAndReturnMatchStringRule().

- -
-
- -

◆ ARC_Lexer_Clear()

- -
-
- - - - - - - -
void ARC_Lexer_Clear (ARC_Lexer * lexer)
-
- -

clears all tokens from a lexer (will not clear token rules)

-
Parameters
- - -
lexerthe lexer to clear tokens from
-
-
- -

Definition at line 161 of file lexer.c.

-
161 {
-
162 //clear the tokens vector
-
163 ARC_Vector_Clear(lexer->tokens);
-
164}
-
ARC_Vector * tokens
Definition lexer.c:12
-
void ARC_Vector_Clear(ARC_Vector *vector)
clears all items from a vector
Definition vector.c:142
-
-

References ARC_Vector_Clear(), and ARC_Lexer::tokens.

- -

Referenced by ARC_Parser_Parse().

- -
-
- -

◆ ARC_Lexer_Create()

- -
-
- - - - - - - -
void ARC_Lexer_Create (ARC_Lexer ** lexer)
-
- -

creates an ARC_Lexer type

-
Parameters
- - -
[out]lexerARC_Lexer to create
-
-
- -

Definition at line 50 of file lexer.c.

-
50 {
-
51 //create the lexer
-
52 *lexer = (ARC_Lexer *)malloc(sizeof(ARC_Lexer));
-
53
-
54 //setup token rules vector with compare and delete functions
- - -
57 ARC_Vector_Create(&(*lexer)->tokenRules, &tokenRulesVectorCompareDataFn, &tokenRulesVectorDestroyDataFn);
-
58
-
59 //setup tokens vector with delete funtion, we don't want a deleteDataFn because their index will be used as the id
- -
61 ARC_Vector_Create(&(*lexer)->tokens, NULL, &tokenVectorDestroyDataFn);
-
62
-
63 //set token rules to continuous and initialize the token rules max value
-
64 (*lexer)->tokenRulesAreContinuous = ARC_True;
-
65 (*lexer)->tokenRulesMaxVal = 0;
-
66}
-
#define ARC_True
Definition bool.h:11
-
ARC_Bool ARC_LexerTokenRule_VectorCompareDataFn(void *dataA, void *dataB)
Definition lexer.c:20
-
void ARC_LexerTokenRule_VectorDestroyDataFn(void *data)
Definition lexer.c:32
-
void ARC_LexerToken_VectorDestroyDataFn(void *data)
Definition lexer.c:39
- -
void(* ARC_Vector_DestroyDataFn)(void *data)
a callback that cleans up memory when it is removed from the vector
Definition vector.h:31
-
ARC_Bool(* ARC_Vector_CompareDataFn)(void *dataA, void *dataB)
a callback that allows the user to define a way to check the data stored in a vector for a match
Definition vector.h:24
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:31
-
-

References ARC_LexerToken_VectorDestroyDataFn(), ARC_LexerTokenRule_VectorCompareDataFn(), ARC_LexerTokenRule_VectorDestroyDataFn(), ARC_True, and ARC_Vector_Create().

- -

Referenced by ARC_Parser_Create(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), and ARC_TEST().

- -
-
- -

◆ ARC_Lexer_Destroy()

- -
-
- - - - - - - -
void ARC_Lexer_Destroy (ARC_Lexer * lexer)
-
- -

destroys an ARC_Lexer type

-
Parameters
- - -
[in]lexerARC_Lexer to free
-
-
- -

Definition at line 68 of file lexer.c.

-
68 {
-
69 //free the tokens (there is a vectorDeleteDataFn, so tokens should be freed)
- -
71
-
72 //free the token rules (there is a vectorDeleteDataFn, so token rules should be freed)
- -
74
-
75 //free the lexer
-
76 free(lexer);
-
77}
-
ARC_Vector * tokenRules
Definition lexer.c:11
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:54
-
-

References ARC_Vector_Destroy(), ARC_Lexer::tokenRules, and ARC_Lexer::tokens.

- -

Referenced by ARC_Parser_Destroy(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), and ARC_TEST().

- -
-
- -

◆ ARC_Lexer_GetToken()

- -
-
- - - - - - - - - - - -
ARC_LexerToken * ARC_Lexer_GetToken (ARC_Lexer * lexer,
uint32_t index )
-
- -

gets a token at a given index from a lexer

-
Note
unless you have a very good reason, you probably don't want to mess with the tokens string. that will probably change the token's string inside the lexer
-
Parameters
- - - -
[in]lexerthe lexer to get the token from
[in]indexthe index of the token in the lexer to get
-
-
-
Returns
a token at the lexer index on success, otherwise NULL
- -

Definition at line 272 of file lexer.c.

-
272 {
-
273 //get the token and log if there is an error
-
274 ARC_LexerToken *token = ARC_Vector_Get(lexer->tokens, index);
-
275 if(arc_errno){
-
276 ARC_DEBUG_LOG_ERROR("ARC_Lexer_GetToken(lexer, index), errored when running ARC_Vector_Get(lexer->tokens, index);. check logs for more info");
-
277
-
278 //return a token with max rule value, and NULL for the string to signify an error
-
279 return NULL;
-
280 }
-
281
-
282 //the token was found, so return it
-
283 return token;
-
284}
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
a lexer token type
Definition lexer.h:18
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:153
-
-

References ARC_DEBUG_LOG_ERROR, arc_errno, ARC_Vector_Get(), and ARC_Lexer::tokens.

- -

Referenced by ARC_Parser_ParseTag(), and ARC_TEST().

- -
-
- -

◆ ARC_Lexer_GetTokensSize()

- -
-
- - - - - - - -
uint32_t ARC_Lexer_GetTokensSize (ARC_Lexer * lexer)
-
- -

gets a token at a given index from a lexer

-
Parameters
- - -
[in]lexerthe lexer to get the tokens size from
-
-
-
Returns
the size of the token array in a lexer
- -

Definition at line 286 of file lexer.c.

-
286 {
-
287 return ARC_Vector_GetSize(lexer->tokens);
-
288}
-
uint32_t ARC_Vector_GetSize(ARC_Vector *vector)
gets the current size of an ARC_Vector as an unsigned 32 bit integer
Definition vector.c:149
-
-

References ARC_Vector_GetSize(), and ARC_Lexer::tokens.

- -

Referenced by ARC_Parser_Parse(), and ARC_Parser_ParseTag().

- -
-
- -

◆ ARC_Lexer_InitBasicTokenRules()

- -
-
- - - - - - - -
void ARC_Lexer_InitBasicTokenRules (ARC_Lexer * lexer)
-
- -

adds a bunch of basic token rules (matching the BasicTokens above)

- -

Definition at line 472 of file lexer.c.

-
472 {
-
473 //null
- -
475
-
476 //number
- -
478
-
479 //alpha char
- - -
482
-
483 //whitespace
-
484 //TODO: fix this
-
485 ARC_String *whitespaceString;
-
486 ARC_String_CreateWithStrlen(&whitespaceString, " \t");
- -
488 ARC_String_Destroy(whitespaceString);
-
489
-
490 //single char tokens
- - - - - - - - - - - - - - - -
506}
-
#define ARC_LEXER_TOKEN_WHITESPACE
Definition lexer.h:252
-
#define ARC_LEXER_TOKEN_FORWARD_SLASH_ID
Definition lexer.h:271
-
#define ARC_LEXER_TOKEN_ALPHA_UPPER_CHAR
Definition lexer.h:251
-
#define ARC_LEXER_TOKEN_PERIOD_CHAR
Definition lexer.h:269
-
#define ARC_LEXER_TOKEN_PERCENT_ID
Definition lexer.h:298
-
#define ARC_LEXER_TOKEN_PERCENT_CHAR
Definition lexer.h:299
-
#define ARC_LEXER_TOKEN_LEFT_PARENTHESIS_CHAR
Definition lexer.h:278
-
#define ARC_LEXER_TOKEN_PERIOD_ID
Definition lexer.h:268
-
#define ARC_LEXER_TOKEN_NULL
basic tokens
Definition lexer.h:248
-
#define ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_CHAR
Definition lexer.h:287
-
#define ARC_LEXER_TOKEN_COMMA_CHAR
Definition lexer.h:266
-
#define ARC_LEXER_TOKEN_AT_ID
Definition lexer.h:292
-
#define ARC_LEXER_TOKEN_AT_CHAR
Definition lexer.h:293
-
#define ARC_LEXER_TOKEN_COLON_CHAR
Definition lexer.h:260
-
#define ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_ID
Definition lexer.h:283
-
#define ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_ID
Definition lexer.h:280
-
#define ARC_LEXER_TOKEN_BANG_CHAR
Definition lexer.h:290
-
#define ARC_LEXER_TOKEN_NEWLINE_ID
basic token type ids, chars, and tags
Definition lexer.h:257
-
#define ARC_LEXER_TOKEN_COMMA_ID
Definition lexer.h:265
-
#define ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_ID
Definition lexer.h:286
-
#define ARC_LEXER_TOKEN_HASH_ID
Definition lexer.h:295
-
#define ARC_LEXER_TOKEN_NEWLINE_CHAR
Definition lexer.h:258
-
#define ARC_LEXER_TOKEN_BACK_SLASH_ID
Definition lexer.h:274
-
#define ARC_LEXER_TOKEN_BANG_ID
Definition lexer.h:289
-
#define ARC_LEXER_TOKEN_SEMICOLON_ID
Definition lexer.h:262
-
#define ARC_LEXER_TOKEN_FORWARD_SLASH_CHAR
Definition lexer.h:272
-
#define ARC_LEXER_TOKEN_ALPHA_LOWER_CHAR
Definition lexer.h:250
-
#define ARC_LEXER_TOKEN_BACK_SLASH_CHAR
Definition lexer.h:275
-
#define ARC_LEXER_TOKEN_COLON_ID
Definition lexer.h:259
-
#define ARC_LEXER_TOKEN_SEMICOLON_CHAR
Definition lexer.h:263
-
#define ARC_LEXER_TOKEN_LEFT_PARENTHESIS_ID
Definition lexer.h:277
-
#define ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_CHAR
Definition lexer.h:284
-
#define ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_CHAR
Definition lexer.h:281
-
#define ARC_LEXER_TOKEN_NUMBER
Definition lexer.h:249
-
#define ARC_LEXER_TOKEN_HASH_CHAR
Definition lexer.h:296
-
void ARC_Lexer_RegisterTokenRule(ARC_Lexer *lexer, ARC_LexerTokenRule tokenRule)
adds a token rule to a lexer
Definition lexer.c:79
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharRule(uint32_t id, char character)
creates a ARC_LexerTokenRule with a given id and character
Definition lexer.c:378
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween(uint32_t id, char start, char end)
creates a ARC_LexerTokenRule with a given id and character range
Definition lexer.c:400
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule(uint32_t id, ARC_String *string)
creates a ARC_LexerTokenRule with a given id and string
Definition lexer.c:450
-
void ARC_String_CreateWithStrlen(ARC_String **string, char *data)
creates ARC_String type with strinlen
Definition string.c:32
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
-

References ARC_Lexer_RegisterTokenRule(), ARC_LEXER_TOKEN_ALPHA_LOWER_CHAR, ARC_LEXER_TOKEN_ALPHA_UPPER_CHAR, ARC_LEXER_TOKEN_AT_CHAR, ARC_LEXER_TOKEN_AT_ID, ARC_LEXER_TOKEN_BACK_SLASH_CHAR, ARC_LEXER_TOKEN_BACK_SLASH_ID, ARC_LEXER_TOKEN_BANG_CHAR, ARC_LEXER_TOKEN_BANG_ID, ARC_LEXER_TOKEN_COLON_CHAR, ARC_LEXER_TOKEN_COLON_ID, ARC_LEXER_TOKEN_COMMA_CHAR, ARC_LEXER_TOKEN_COMMA_ID, ARC_LEXER_TOKEN_FORWARD_SLASH_CHAR, ARC_LEXER_TOKEN_FORWARD_SLASH_ID, ARC_LEXER_TOKEN_HASH_CHAR, ARC_LEXER_TOKEN_HASH_ID, ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_CHAR, ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_ID, ARC_LEXER_TOKEN_LEFT_PARENTHESIS_CHAR, ARC_LEXER_TOKEN_LEFT_PARENTHESIS_ID, ARC_LEXER_TOKEN_NEWLINE_CHAR, ARC_LEXER_TOKEN_NEWLINE_ID, ARC_LEXER_TOKEN_NULL, ARC_LEXER_TOKEN_NUMBER, ARC_LEXER_TOKEN_PERCENT_CHAR, ARC_LEXER_TOKEN_PERCENT_ID, ARC_LEXER_TOKEN_PERIOD_CHAR, ARC_LEXER_TOKEN_PERIOD_ID, ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_CHAR, ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_ID, ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_CHAR, ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_ID, ARC_LEXER_TOKEN_SEMICOLON_CHAR, ARC_LEXER_TOKEN_SEMICOLON_ID, ARC_LEXER_TOKEN_WHITESPACE, ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule(), ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween(), ARC_LexerTokenRule_CreateAndReturnMatchCharRule(), ARC_String_CreateWithStrlen(), and ARC_String_Destroy().

- -

Referenced by ARC_TEST(), and TEST_Parser_InitLexerRulesFn().

- -
-
- -

◆ ARC_Lexer_IsContinious()

- -
-
- - - - - - - -
ARC_Bool ARC_Lexer_IsContinious (ARC_Lexer * lexer)
-
- -

returns a boolean based on if a lexers rules are continious

-
Parameters
- - -
[in]lexerthe lexer to check if its ruls are continious
-
-
-
Returns
ARC_True if the set rules are continious
- -

Definition at line 290 of file lexer.c.

-
290 {
-
291 return lexer->tokenRulesAreContinuous;
-
292}
-
ARC_Bool tokenRulesAreContinuous
Definition lexer.c:15
-
-

References ARC_Lexer::tokenRulesAreContinuous.

- -

Referenced by ARC_TEST(), and ARC_TEST().

- -
-
- -

◆ ARC_Lexer_IsTokenId()

- -
-
- - - - - - - - - - - -
ARC_Bool ARC_Lexer_IsTokenId (ARC_Lexer * lexer,
uint32_t id )
-
- -

returns a boolean based on if a given id is a stored token rule id

-
Parameters
- - - -
[in]lexerthe lexer to check stored token rule ids
[in]idthe id to check against the token rules
-
-
-
Returns
ARC_True if the id is a rule id, ARC_False otherwise
- -

Definition at line 294 of file lexer.c.

-
294 {
-
295 //if the rules are continuous we can just check if it is less than the max rules value
-
296 if(lexer->tokenRulesAreContinuous == ARC_True){
-
297 return id <= lexer->tokenRulesMaxVal;
-
298 }
-
299
-
300 //the rules are not continuous so we need to check each individually
-
301 for(uint32_t index = 0; index < ARC_Vector_GetSize(lexer->tokenRules); index++){
-
302 ARC_LexerTokenRule *currentTokenRule = (ARC_LexerTokenRule *)ARC_Vector_Get(lexer->tokenRules, index);
-
303 if(currentTokenRule->id == id){
-
304 return ARC_True;
-
305 }
-
306 }
-
307
-
308 return ARC_False;
-
309}
-
#define ARC_False
Definition bool.h:12
-
a lexer token rule type
Definition lexer.h:46
-
uint32_t id
Definition lexer.h:47
-
uint32_t tokenRulesMaxVal
Definition lexer.c:16
-
-

References ARC_False, ARC_True, ARC_Vector_Get(), ARC_Vector_GetSize(), ARC_LexerTokenRule::id, ARC_Lexer::tokenRules, ARC_Lexer::tokenRulesAreContinuous, and ARC_Lexer::tokenRulesMaxVal.

- -

Referenced by ARC_Parser_ParseTag(), ARC_TEST(), ARC_TEST(), and ARC_TEST().

- -
-
- -

◆ ARC_Lexer_LexFile()

- -
-
- - - - - - - - - - - -
void ARC_Lexer_LexFile (ARC_Lexer * lexer,
ARC_String * path )
-
- -

reads in and lexs a file

-
Note
this function will call ARC_Lexer_LexString, so it's notes are applicable to this function
-
Parameters
- - - -
[in]lexerthe lexer which holds to rules to use
[in]pathpath of file to read in and lex
-
-
- -

Definition at line 245 of file lexer.c.

-
245 {
-
246 //read file and clean up if it errors
-
247 ARC_String *data;
-
248 ARC_IO_FileToStr(path, &data);
-
249 if(arc_errno){
-
250 ARC_DEBUG_LOG_ERROR("ARC_Lexer_LexFile(lexer, path), errored when running ARC_IO_FileToStr(path, &data);. check logs for more info");
-
251 if(data != NULL){
-
252 ARC_String_Destroy(data);
-
253 }
-
254
-
255 return;
-
256 }
-
257
-
258 //lex the string and log if there is an error, ARC_Lexer_LexString will clean up the string
-
259 ARC_Lexer_LexString(lexer, &data);
-
260 if(arc_errno){
-
261 ARC_DEBUG_LOG_ERROR("ARC_Lexer_LexFile(lexer, path), errored when running ARC_Lexer_LexString(lexer, data);. check logs for more info");
-
262 }
-
263}
-
void ARC_IO_FileToStr(ARC_String *path, ARC_String **data)
get string and size from file
Definition io.c:43
-
void ARC_Lexer_LexString(ARC_Lexer *lexer, ARC_String **data)
creates tokens using a given string with ARC_LexerToken rules
Definition lexer.c:166
-
-

References ARC_DEBUG_LOG_ERROR, arc_errno, ARC_IO_FileToStr(), ARC_Lexer_LexString(), and ARC_String_Destroy().

- -
-
- -

◆ ARC_Lexer_LexString()

- -
-
- - - - - - - - - - - -
void ARC_Lexer_LexString (ARC_Lexer * lexer,
ARC_String ** data )
-
- -

creates tokens using a given string with ARC_LexerToken rules

-
Parameters
- - - -
[in]lexerthe lexer to get the ARC_LexerTokens from
[in/out]data the string to lex, will be freed and set to NULL by the end of this function
-
-
- -

Definition at line 166 of file lexer.c.

-
166 {
-
167 //check if there are any token rules to use
-
168 if(ARC_Vector_GetSize(lexer->tokenRules) == 0){
- -
170 ARC_DEBUG_LOG_ERROR("ARC_Lexer_LexString(lexer, data), no tokens registered to lexer to use");
-
171 return;
-
172 }
-
173
-
174 //this will run untill everything token is stripped or there is an error
-
175 while(*data != NULL){
-
176 uint32_t tokenLength = 0;
-
177 uint32_t lastTokenLength = 0;
-
178 ARC_LexerToken *token = NULL;
-
179
-
180 for(uint32_t index = 0; index < ARC_Vector_GetSize(lexer->tokenRules); index++){
-
181 //check if the token rule is found
-
182 ARC_LexerTokenRule *tokenRule = ARC_Vector_Get(lexer->tokenRules, index);
-
183
-
184 //tokenData should only exist if tokenLength is ARC_True as stated in the header
-
185 ARC_String *tokenData = NULL;
-
186 tokenLength = tokenRule->automataFn(&tokenData, *data, tokenRule->automataData);
-
187
-
188 //check if a token was found if it wasn't continue. I'm doing this to try to cut down on the ammount of indentation
-
189 if(tokenLength == 0){
-
190 continue;
-
191 }
-
192
-
193 //check to see if we found a better match
-
194 if(tokenLength > lastTokenLength){
-
195 //free the current token if it exists
-
196 if(token != NULL){
- -
198 }
-
199
-
200 //create the token to add
-
201 token = (ARC_LexerToken *)malloc(sizeof(ARC_LexerToken));
-
202 token->rule = tokenRule->id;
-
203 token->data = tokenData;
-
204
-
205 //update the last found tokenLength to the max length
-
206 lastTokenLength = tokenLength;
-
207 }
-
208 }
-
209
-
210 //if no token was found, throw an error
-
211 if(token == NULL){
- -
213 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_Lexer_LexString(lexer, data), no tokens found with current string: \"%s\"", (*data)->data);
-
214
-
215 //clean up errored string
-
216 ARC_String_Destroy(*data);
-
217 *data = NULL;
-
218 return;
-
219 }
-
220
-
221 //token exists (something must have gone very wrong if it doesn't), so add it and check for overflow (which I'd be surprised if that happens)
-
222 ARC_Vector_Add(lexer->tokens, (void *)token);
-
223 if(arc_errno){
-
224 ARC_DEBUG_LOG_ERROR("ARC_Lexer_LexString(lexer, data), errored when running ARC_Vector_Add(lexer->tokens, token);. check logs for more info");
-
225 free(token);
-
226
-
227 //clean up errored string
-
228 ARC_String_Destroy(*data);
-
229 *data = NULL;
-
230 return;
-
231 }
-
232
-
233 //if the last token was found, destroy the string and return
-
234 if(lastTokenLength == (*data)->length){
-
235 ARC_String_Destroy(*data);
-
236 *data = NULL;
-
237 return;
-
238 }
-
239
-
240 //strip the string
-
241 ARC_String_ReplaceWithSubstring(data, lastTokenLength, (*data)->length - lastTokenLength);
-
242 }
-
243}
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_ERRNO_DATA
Definition errno.h:7
-
void ARC_String_ReplaceWithSubstring(ARC_String **string, uint64_t start, uint64_t length)
replaces a string with a section of itself
Definition string.c:100
-
void * automataData
Definition lexer.h:49
-
ARC_LexerTokenRule_AutomataFn automataFn
Definition lexer.h:51
-
uint32_t rule
Definition lexer.h:19
-
ARC_String * data
Definition lexer.h:20
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:70
-
-

References ARC_DEBUG_LOG_ERROR, ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_DATA, ARC_LexerToken_VectorDestroyDataFn(), ARC_String_Destroy(), ARC_String_ReplaceWithSubstring(), ARC_Vector_Add(), ARC_Vector_Get(), ARC_Vector_GetSize(), ARC_LexerTokenRule::automataData, ARC_LexerTokenRule::automataFn, ARC_LexerToken::data, ARC_LexerTokenRule::id, ARC_String::length, ARC_LexerToken::rule, ARC_Lexer::tokenRules, and ARC_Lexer::tokens.

- -

Referenced by ARC_Lexer_LexFile(), ARC_Parser_Parse(), and ARC_TEST().

- -
-
- -

◆ ARC_Lexer_PrintTokenRules()

- -
-
- - - - - - - -
void ARC_Lexer_PrintTokenRules (ARC_Lexer * lexer)
-
- -

prints rule id and hex of the function name

-
Note
this is mostly used for debugging
-
Parameters
- - -
[in]lexerthe lexer to print rules from
-
-
- -

Definition at line 265 of file lexer.c.

-
265 {
-
266 for(uint32_t index = 0; index < ARC_Vector_GetSize(lexer->tokenRules); index++){
-
267 ARC_LexerTokenRule *tokenRule = ARC_Vector_Get(lexer->tokenRules, index);
-
268 printf("Rule: %02i\tFunction: %p\n", tokenRule->id, tokenRule->automataFn);
-
269 }
-
270}
-
-

References ARC_Vector_Get(), ARC_Vector_GetSize(), ARC_LexerTokenRule::automataFn, ARC_LexerTokenRule::id, and ARC_Lexer::tokenRules.

- -
-
- -

◆ ARC_Lexer_RegisterTokenRule()

- -
-
- - - - - - - - - - - -
void ARC_Lexer_RegisterTokenRule (ARC_Lexer * lexer,
ARC_LexerTokenRule tokenRule )
-
- -

adds a token rule to a lexer

-
Parameters
- - - -
[in]lexerthe lexer to add a token rule to
[in]tokenRulethe token rule to add
-
-
- -

Definition at line 79 of file lexer.c.

-
79 {
-
80 //copy the token to a new pointer
-
81 ARC_LexerTokenRule *storedTokenRule = (ARC_LexerTokenRule *)malloc(sizeof(ARC_LexerTokenRule));
-
82 *storedTokenRule = tokenRule;
-
83
-
84 //TODO: add warning here for if arc_errno is already set
-
85
-
86 //add to the vector and check for error (I'd be surprised if the error ever happened because that would most likely mean overflow)
-
87 ARC_Vector_Add(lexer->tokenRules, storedTokenRule);
-
88 if(arc_errno){
-
89 ARC_DEBUG_LOG_ERROR("ARC_Lexer_RegisterTokenRule(lexer, tokenRule), errored when running ARC_Vector_Add(lexer->tokenRules, storedTokenRule);. check logs for more info");
-
90 free(storedTokenRule);
-
91 }
-
92
-
93 //check if the value still is continuous
- -
95 //if it is already continuous we just check if it is one value above the tokens already in the vector
-
96 for(uint32_t tokenRuleIndex = ARC_Vector_GetSize(lexer->tokenRules) - 1; tokenRuleIndex > 0; tokenRuleIndex--){
-
97 //get the current token rule
-
98 ARC_LexerTokenRule *currentTokenRule = (ARC_LexerTokenRule *)ARC_Vector_Get(lexer->tokenRules, tokenRuleIndex - 1);
-
99
-
100 //check if the token rule is continuous (then next max value by one)
-
101 if(tokenRule.id - currentTokenRule->id == 1){
-
102 //the token rule is already continuous so we can update the max value and return
-
103 lexer->tokenRulesMaxVal = tokenRule.id;
-
104 return;
-
105 }
-
106 }
-
107
-
108 //the token is no longer continous
- -
110 return;
-
111 }
-
112
-
113 //check to see if this value makes the token rule continuous again
-
114 //TODO: might want to optomize this
-
115 uint32_t minValue = ~(uint32_t)0;
-
116 for(uint32_t tokenRuleIndex = 0; tokenRuleIndex < ARC_Vector_GetSize(lexer->tokenRules); tokenRuleIndex++){
-
117 //get the current token rule
-
118 ARC_LexerTokenRule *currentTokenRule = (ARC_LexerTokenRule *)ARC_Vector_Get(lexer->tokenRules, tokenRuleIndex);
-
119
-
120 //check each token to find the minimum one
-
121 if(currentTokenRule->id < minValue){
-
122 minValue = currentTokenRule->id;
-
123 }
-
124 }
-
125
-
126 //loop through untill either all the values are checked and in order or the token rule is not continuous
-
127 //TODO: might want to optomize this
-
128 for(uint32_t foundSize = 0; foundSize != ARC_Vector_GetSize(lexer->tokenRules); foundSize++){
-
129 //check all current rules
-
130 ARC_Bool currentAreContinuous = ARC_False;
-
131 for(uint32_t tokenRuleIndex = 0; tokenRuleIndex < ARC_Vector_GetSize(lexer->tokenRules); tokenRuleIndex++){
-
132 //get the current token rule
-
133 ARC_LexerTokenRule *currentTokenRule = (ARC_LexerTokenRule *)ARC_Vector_Get(lexer->tokenRules, tokenRuleIndex);
-
134
-
135 //check if the value is smaller than or equal to the minimum value and if it is we can skip it
-
136 if(currentTokenRule->id <= minValue){
-
137 continue;
-
138 }
-
139
-
140 //check if the value is continous
-
141 if(currentTokenRule->id - minValue == 1){
-
142 //set the token rule max val to the next most continuous value
-
143 lexer->tokenRulesMaxVal = currentTokenRule->id;
-
144
-
145 //set the next smallest value to check to the the next most continuous value
-
146 minValue = currentTokenRule->id;
-
147 currentAreContinuous = ARC_True;
-
148 break;
-
149 }
-
150 }
-
151
-
152 //the current values are not continuous so we can return as token rules are continuous is already set to false
-
153 if(currentAreContinuous == ARC_False){
-
154 return;
-
155 }
-
156
-
157 //a continuous value was found so loop to next value
-
158 }
-
159}
-
#define ARC_Bool
Definition bool.h:10
-
-

References ARC_Bool, ARC_DEBUG_LOG_ERROR, arc_errno, ARC_False, ARC_True, ARC_Vector_Add(), ARC_Vector_Get(), ARC_Vector_GetSize(), ARC_LexerTokenRule::id, ARC_Lexer::tokenRules, ARC_Lexer::tokenRulesAreContinuous, and ARC_Lexer::tokenRulesMaxVal.

- -

Referenced by ARC_Lexer_InitBasicTokenRules(), ARC_ParserCSV_InitLexerRulesFn(), ARC_ParserLang_InitLexerRulesFn(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), and TEST_Parser_InitBasicLexerTokenRules().

- -
-
- -

◆ ARC_LexerToken_VectorDestroyDataFn()

- -
-
- - - - - - - -
void ARC_LexerToken_VectorDestroyDataFn (void * data)
-
- -

Definition at line 39 of file lexer.c.

-
39 {
-
40 ARC_LexerToken *token = (ARC_LexerToken *)data;
-
41
-
42 //deletes the token data string if it exists
-
43 if(token->data != NULL){
- -
45 }
-
46
-
47 free(token);
-
48}
-
-

References ARC_String_Destroy(), and ARC_LexerToken::data.

- -

Referenced by ARC_Lexer_Create(), and ARC_Lexer_LexString().

- -
-
- -

◆ ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule()

- -
-
- - - - - - - - - - - -
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule (uint32_t id,
ARC_String * string )
-
- -

creates a ARC_LexerTokenRule with a given id and string

-
Note
this is intended as a helper funtion #note string will not be freed (it will be copied and the copy will be freed)
-
Parameters
- - - -
[in]ida tokens id (basically the token value)
[in]characterthe string to match against, will be copied
-
-
-
Returns
a token rule based in the id and string
- -

Definition at line 450 of file lexer.c.

-
450 {
-
451 //create the token rule
-
452 ARC_LexerTokenRule tokenRule;
-
453
-
454 //set the id
-
455 tokenRule.id = id;
-
456
-
457 //copy and store the automataData (which is just an ARC_String)
-
458 ARC_String *automataData;
-
459 ARC_String_Copy(&automataData, string);
-
460 tokenRule.automataData = (void *)automataData;
-
461
-
462 //we can use the ARC_Lexer_AutomataMatchCharInStringFn for this
- -
464
-
465 //add the private destroy function
- -
467
-
468 //return the created tokenRule
-
469 return tokenRule;
-
470}
-
void ARC_LexerTokenRule_DestroyStringAutomataDataFn(void *automataData)
Definition lexer.c:424
-
uint32_t ARC_Lexer_AutomataMatchCharInStringFn(ARC_String **tokenData, ARC_String *string, void *automataData)
checks if the first part of string is a character in substring
Definition lexer.c:356
-
void ARC_String_Copy(ARC_String **copy, ARC_String *original)
copy a ARC_String
Definition string.c:62
-
ARC_LexerTokenRule_DestroyAutomataDataFn destroyAutomataDataFn
Definition lexer.h:52
-
-

References ARC_Lexer_AutomataMatchCharInStringFn(), ARC_LexerTokenRule_DestroyStringAutomataDataFn(), ARC_String_Copy(), ARC_LexerTokenRule::automataData, ARC_LexerTokenRule::automataFn, ARC_LexerTokenRule::destroyAutomataDataFn, and ARC_LexerTokenRule::id.

- -

Referenced by ARC_Lexer_InitBasicTokenRules(), and ARC_ParserLang_InitLexerRulesFn().

- -
-
- -

◆ ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween()

- -
-
- - - - - - - - - - - - - - - - -
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween (uint32_t id,
char start,
char end )
-
- -

creates a ARC_LexerTokenRule with a given id and character range

-
Note
this is intended as a helper funtion
-
Parameters
- - - - -
[in]ida tokens id (basically the token value)
[in]startthe minimum character value to match against
[in]endthe maxamum character value to match against
-
-
-
Returns
a token rule based in the id and character
- -

Definition at line 400 of file lexer.c.

-
400 {
-
401 //create the token rule
-
402 ARC_LexerTokenRule tokenRule;
-
403
-
404 //set the id
-
405 tokenRule.id = id;
-
406
-
407 //create and store the automataData (which is just two chars (the minumum and manximum))
-
408 char *automataData = (char *)malloc(sizeof(char) * 2);
-
409 automataData[0] = start;
-
410 automataData[1] = end;
-
411 tokenRule.automataData = (void *)automataData;
-
412
-
413 //we can use the ARC_Lexer_AutomataMatchCharInStringFn for this
- -
415
-
416 //add the private destroy function (we can use the char as it destroys a char pointer of any size)
- -
418
-
419 //return the created tokenRule
-
420 return tokenRule;
-
421}
-
uint32_t ARC_Lexer_AutomataMatchCharOrBetweenFn(ARC_String **tokenData, ARC_String *string, void *automataData)
Definition lexer.c:325
-
void ARC_LexerTokenRule_DestroyCharAutomataDataFn(void *automataData)
Definition lexer.c:374
-
-

References ARC_Lexer_AutomataMatchCharOrBetweenFn(), ARC_LexerTokenRule_DestroyCharAutomataDataFn(), ARC_LexerTokenRule::automataData, ARC_LexerTokenRule::automataFn, ARC_LexerTokenRule::destroyAutomataDataFn, and ARC_LexerTokenRule::id.

- -

Referenced by ARC_Lexer_InitBasicTokenRules(), ARC_ParserCSV_InitLexerRulesFn(), ARC_ParserLang_InitLexerRulesFn(), and TEST_Parser_InitBasicLexerTokenRules().

- -
-
- -

◆ ARC_LexerTokenRule_CreateAndReturnMatchCharRule()

- -
-
- - - - - - - - - - - -
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharRule (uint32_t id,
char character )
-
- -

creates a ARC_LexerTokenRule with a given id and character

-
Note
this is intended as a helper funtion
-
Parameters
- - - -
[in]ida tokens id (basically the token value)
[in]characterthe character to match against
-
-
-
Returns
a token rule based in the id and character
- -

Definition at line 378 of file lexer.c.

-
378 {
-
379 //create the token rule
-
380 ARC_LexerTokenRule tokenRule;
-
381
-
382 //set the id
-
383 tokenRule.id = id;
-
384
-
385 //create and store the automataData (which is just a char)
-
386 char *automataData = (char *)malloc(sizeof(char));
-
387 *automataData = character;
-
388 tokenRule.automataData = (void *)automataData;
-
389
-
390 //we can use the ARC_Lexer_AutomataMatchCharFn for this
- -
392
-
393 //add the private destroy function
- -
395
-
396 //return the created tokenRule
-
397 return tokenRule;
-
398}
-
uint32_t ARC_Lexer_AutomataMatchCharFn(ARC_String **tokenData, ARC_String *string, void *automataData)
checks if the first character of string matches the automataData cast as a char
Definition lexer.c:311
-
-

References ARC_Lexer_AutomataMatchCharFn(), ARC_LexerTokenRule_DestroyCharAutomataDataFn(), ARC_LexerTokenRule::automataData, ARC_LexerTokenRule::automataFn, ARC_LexerTokenRule::destroyAutomataDataFn, and ARC_LexerTokenRule::id.

- -

Referenced by ARC_Lexer_InitBasicTokenRules(), ARC_ParserCSV_InitLexerRulesFn(), ARC_ParserLang_InitLexerRulesFn(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), and TEST_Parser_InitBasicLexerTokenRules().

- -
-
- -

◆ ARC_LexerTokenRule_CreateAndReturnMatchStringRule()

- -
-
- - - - - - - - - - - -
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchStringRule (uint32_t id,
ARC_String * string )
-
- -

creates a ARC_LexerTokenRule with a given id and string

-
Note
this is intended as a helper funtion #note string will not be freed (it will be copied and the copy will be freed)
-
Parameters
- - - -
[in]ida tokens id (basically the token value)
[in]characterthe string to match against, will be copied
-
-
-
Returns
a token rule based in the id and string
- -

Definition at line 428 of file lexer.c.

-
428 {
-
429 //create the token rule
-
430 ARC_LexerTokenRule tokenRule;
-
431
-
432 //set the id
-
433 tokenRule.id = id;
-
434
-
435 //copy and store the automataData (which is just an ARC_String)
-
436 ARC_String *automataData;
-
437 ARC_String_Copy(&automataData, string);
-
438 tokenRule.automataData = (void *)automataData;
-
439
-
440 //we can use the ARC_Lexer_AutomataMatchStringFn for this
- -
442
-
443 //add the private destroy function
- -
445
-
446 //return the created tokenRule
-
447 return tokenRule;
-
448}
-
uint32_t ARC_Lexer_AutomataMatchStringFn(ARC_String **tokenData, ARC_String *string, void *automataData)
checks if the substring automataData as an ARC_String matches the first part of string
Definition lexer.c:341
-
-

References ARC_Lexer_AutomataMatchStringFn(), ARC_LexerTokenRule_DestroyStringAutomataDataFn(), ARC_String_Copy(), ARC_LexerTokenRule::automataData, ARC_LexerTokenRule::automataFn, ARC_LexerTokenRule::destroyAutomataDataFn, and ARC_LexerTokenRule::id.

- -

Referenced by ARC_ParserLang_InitLexerRulesFn().

- -
-
- -

◆ ARC_LexerTokenRule_DestroyCharAutomataDataFn()

- -
-
- - - - - - - -
void ARC_LexerTokenRule_DestroyCharAutomataDataFn (void * automataData)
-
- -

Definition at line 374 of file lexer.c.

-
374 {
-
375 free((char *)automataData);
-
376}
-
-

Referenced by ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween(), and ARC_LexerTokenRule_CreateAndReturnMatchCharRule().

- -
-
- -

◆ ARC_LexerTokenRule_DestroyStringAutomataDataFn()

- -
-
- - - - - - - -
void ARC_LexerTokenRule_DestroyStringAutomataDataFn (void * automataData)
-
- -

Definition at line 424 of file lexer.c.

-
424 {
-
425 ARC_String_Destroy((ARC_String *)automataData);
-
426}
-
-

References ARC_String_Destroy().

- -

Referenced by ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule(), and ARC_LexerTokenRule_CreateAndReturnMatchStringRule().

- -
-
- -

◆ ARC_LexerTokenRule_VectorCompareDataFn()

- -
-
- - - - - - - - - - - -
ARC_Bool ARC_LexerTokenRule_VectorCompareDataFn (void * dataA,
void * dataB )
-
- -

Definition at line 20 of file lexer.c.

-
20 {
-
21 ARC_LexerTokenRule *tokenRuleA = (ARC_LexerTokenRule *)dataA;
-
22 ARC_LexerTokenRule *tokenRuleB = (ARC_LexerTokenRule *)dataB;
-
23
-
24 if(tokenRuleA->id == tokenRuleB->id){
-
25 return ARC_True;
-
26 }
-
27
-
28 return ARC_False;
-
29}
-
-

References ARC_False, ARC_True, and ARC_LexerTokenRule::id.

- -

Referenced by ARC_Lexer_Create().

- -
-
- -

◆ ARC_LexerTokenRule_VectorDestroyDataFn()

- -
-
- - - - - - - -
void ARC_LexerTokenRule_VectorDestroyDataFn (void * data)
-
- -

Definition at line 32 of file lexer.c.

-
32 {
-
33 ARC_LexerTokenRule *tokenRule = (ARC_LexerTokenRule *)data;
-
34 tokenRule->destroyAutomataDataFn(tokenRule->automataData);
-
35 free(tokenRule);
-
36}
-
-

References ARC_LexerTokenRule::automataData, and ARC_LexerTokenRule::destroyAutomataDataFn.

- -

Referenced by ARC_Lexer_Create().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/da/d24/src_2std_2lexer_8c.js b/doc/doxygen/html/da/d24/src_2std_2lexer_8c.js deleted file mode 100644 index 81e6ed3..0000000 --- a/doc/doxygen/html/da/d24/src_2std_2lexer_8c.js +++ /dev/null @@ -1,29 +0,0 @@ -var src_2std_2lexer_8c = -[ - [ "ARC_Lexer", "d6/d2b/structARC__Lexer.html", "d6/d2b/structARC__Lexer" ], - [ "ARC_Lexer_AutomataMatchCharFn", "da/d24/src_2std_2lexer_8c.html#a3db57b9db596091a576fb701f8cabee0", null ], - [ "ARC_Lexer_AutomataMatchCharInStringFn", "da/d24/src_2std_2lexer_8c.html#ac736e5472dc8d123800754c9e67405d8", null ], - [ "ARC_Lexer_AutomataMatchCharOrBetweenFn", "da/d24/src_2std_2lexer_8c.html#a5a3cea34a91f056d112116170b641834", null ], - [ "ARC_Lexer_AutomataMatchStringFn", "da/d24/src_2std_2lexer_8c.html#aa19c4d6677ef05c8d0f1c809b4f1a82b", null ], - [ "ARC_Lexer_Clear", "da/d24/src_2std_2lexer_8c.html#a433d2612daddba30462288d3b1902138", null ], - [ "ARC_Lexer_Create", "da/d24/src_2std_2lexer_8c.html#a577b5af9532aaea8b58d3ef29ef9f439", null ], - [ "ARC_Lexer_Destroy", "da/d24/src_2std_2lexer_8c.html#af119f4730d1361e0f77bd230f7a66470", null ], - [ "ARC_Lexer_GetToken", "da/d24/src_2std_2lexer_8c.html#a251b6e9d9aa8b29295be205c36eb5995", null ], - [ "ARC_Lexer_GetTokensSize", "da/d24/src_2std_2lexer_8c.html#a7131b158cd0b2aad60e89c3c60d2a47e", null ], - [ "ARC_Lexer_InitBasicTokenRules", "da/d24/src_2std_2lexer_8c.html#a53da53523cb5ff94d803d1d6e7c62462", null ], - [ "ARC_Lexer_IsContinious", "da/d24/src_2std_2lexer_8c.html#ab352c9b8f76abf4f9e2ce9fccfa9aa50", null ], - [ "ARC_Lexer_IsTokenId", "da/d24/src_2std_2lexer_8c.html#a35efaf00d01ae654db11f619103c06c0", null ], - [ "ARC_Lexer_LexFile", "da/d24/src_2std_2lexer_8c.html#a1b7282db985dcde4ad59ab7159d229f1", null ], - [ "ARC_Lexer_LexString", "da/d24/src_2std_2lexer_8c.html#a3feb57a6200882fd3951fb6e54edc40a", null ], - [ "ARC_Lexer_PrintTokenRules", "da/d24/src_2std_2lexer_8c.html#acf0761b4efbf71dd32671512c1ceed6d", null ], - [ "ARC_Lexer_RegisterTokenRule", "da/d24/src_2std_2lexer_8c.html#a39d48ecab5e20c16a3825b27bec785f7", null ], - [ "ARC_LexerToken_VectorDestroyDataFn", "da/d24/src_2std_2lexer_8c.html#a5930feccb26e8d8ea2b4dcf7c4e9a675", null ], - [ "ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule", "da/d24/src_2std_2lexer_8c.html#ab9912c97ec2ff272e0bbd6c5851fd8f5", null ], - [ "ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween", "da/d24/src_2std_2lexer_8c.html#a9b064167edcd7c9e6b634826195f031b", null ], - [ "ARC_LexerTokenRule_CreateAndReturnMatchCharRule", "da/d24/src_2std_2lexer_8c.html#a79b5abbb2636bcf06c7e90fb1c875903", null ], - [ "ARC_LexerTokenRule_CreateAndReturnMatchStringRule", "da/d24/src_2std_2lexer_8c.html#a430283c20ad3d7bf9a18fa96fbbee461", null ], - [ "ARC_LexerTokenRule_DestroyCharAutomataDataFn", "da/d24/src_2std_2lexer_8c.html#aa1094f1aa003a1e8ed0f9b28c0b42318", null ], - [ "ARC_LexerTokenRule_DestroyStringAutomataDataFn", "da/d24/src_2std_2lexer_8c.html#abc4d92cc3c72fefe694a05d9363c5028", null ], - [ "ARC_LexerTokenRule_VectorCompareDataFn", "da/d24/src_2std_2lexer_8c.html#a019549bb26ff0e546db6dd80d386fe48", null ], - [ "ARC_LexerTokenRule_VectorDestroyDataFn", "da/d24/src_2std_2lexer_8c.html#a0a6249c222dbd659d7f804009d1f7e2f", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/da/d24/src_2std_2lexer_8c_source.html b/doc/doxygen/html/da/d24/src_2std_2lexer_8c_source.html deleted file mode 100644 index 37825ce..0000000 --- a/doc/doxygen/html/da/d24/src_2std_2lexer_8c_source.html +++ /dev/null @@ -1,791 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/lexer.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
lexer.c
-
-
-Go to the documentation of this file.
1#include "arc/std/lexer.h"
-
2
-
3#include "arc/std/bool.h"
-
4#include "arc/std/errno.h"
-
5#include "arc/std/string.h"
-
6#include "arc/std/vector.h"
-
7#include "arc/std/io.h"
-
8#include <stdlib.h>
-
9
-
-
10struct ARC_Lexer {
- - -
13
-
14 //these are used for checking if an uint32_t is a value, if token rules are continuous we can just check the max token value
- - -
17};
-
-
18
-
19//private function for checking if two lexer token rules are the same in a vector (based on id)
-
- -
21 ARC_LexerTokenRule *tokenRuleA = (ARC_LexerTokenRule *)dataA;
-
22 ARC_LexerTokenRule *tokenRuleB = (ARC_LexerTokenRule *)dataB;
-
23
-
24 if(tokenRuleA->id == tokenRuleB->id){
-
25 return ARC_True;
-
26 }
-
27
-
28 return ARC_False;
-
29}
-
-
30
-
31//private function for destroying a lexer token rule from a vector
-
- -
33 ARC_LexerTokenRule *tokenRule = (ARC_LexerTokenRule *)data;
-
34 tokenRule->destroyAutomataDataFn(tokenRule->automataData);
-
35 free(tokenRule);
-
36}
-
-
37
-
38//private function for destroying a lexer token from a vector
-
- -
40 ARC_LexerToken *token = (ARC_LexerToken *)data;
-
41
-
42 //deletes the token data string if it exists
-
43 if(token->data != NULL){
- -
45 }
-
46
-
47 free(token);
-
48}
-
-
49
-
- -
51 //create the lexer
-
52 *lexer = (ARC_Lexer *)malloc(sizeof(ARC_Lexer));
-
53
-
54 //setup token rules vector with compare and delete functions
- - -
57 ARC_Vector_Create(&(*lexer)->tokenRules, &tokenRulesVectorCompareDataFn, &tokenRulesVectorDestroyDataFn);
-
58
-
59 //setup tokens vector with delete funtion, we don't want a deleteDataFn because their index will be used as the id
- -
61 ARC_Vector_Create(&(*lexer)->tokens, NULL, &tokenVectorDestroyDataFn);
-
62
-
63 //set token rules to continuous and initialize the token rules max value
-
64 (*lexer)->tokenRulesAreContinuous = ARC_True;
-
65 (*lexer)->tokenRulesMaxVal = 0;
-
66}
-
-
67
-
- -
69 //free the tokens (there is a vectorDeleteDataFn, so tokens should be freed)
- -
71
-
72 //free the token rules (there is a vectorDeleteDataFn, so token rules should be freed)
- -
74
-
75 //free the lexer
-
76 free(lexer);
-
77}
-
-
78
-
- -
80 //copy the token to a new pointer
-
81 ARC_LexerTokenRule *storedTokenRule = (ARC_LexerTokenRule *)malloc(sizeof(ARC_LexerTokenRule));
-
82 *storedTokenRule = tokenRule;
-
83
-
84 //TODO: add warning here for if arc_errno is already set
-
85
-
86 //add to the vector and check for error (I'd be surprised if the error ever happened because that would most likely mean overflow)
-
87 ARC_Vector_Add(lexer->tokenRules, storedTokenRule);
-
88 if(arc_errno){
-
89 ARC_DEBUG_LOG_ERROR("ARC_Lexer_RegisterTokenRule(lexer, tokenRule), errored when running ARC_Vector_Add(lexer->tokenRules, storedTokenRule);. check logs for more info");
-
90 free(storedTokenRule);
-
91 }
-
92
-
93 //check if the value still is continuous
- -
95 //if it is already continuous we just check if it is one value above the tokens already in the vector
-
96 for(uint32_t tokenRuleIndex = ARC_Vector_GetSize(lexer->tokenRules) - 1; tokenRuleIndex > 0; tokenRuleIndex--){
-
97 //get the current token rule
-
98 ARC_LexerTokenRule *currentTokenRule = (ARC_LexerTokenRule *)ARC_Vector_Get(lexer->tokenRules, tokenRuleIndex - 1);
-
99
-
100 //check if the token rule is continuous (then next max value by one)
-
101 if(tokenRule.id - currentTokenRule->id == 1){
-
102 //the token rule is already continuous so we can update the max value and return
-
103 lexer->tokenRulesMaxVal = tokenRule.id;
-
104 return;
-
105 }
-
106 }
-
107
-
108 //the token is no longer continous
- -
110 return;
-
111 }
-
112
-
113 //check to see if this value makes the token rule continuous again
-
114 //TODO: might want to optomize this
-
115 uint32_t minValue = ~(uint32_t)0;
-
116 for(uint32_t tokenRuleIndex = 0; tokenRuleIndex < ARC_Vector_GetSize(lexer->tokenRules); tokenRuleIndex++){
-
117 //get the current token rule
-
118 ARC_LexerTokenRule *currentTokenRule = (ARC_LexerTokenRule *)ARC_Vector_Get(lexer->tokenRules, tokenRuleIndex);
-
119
-
120 //check each token to find the minimum one
-
121 if(currentTokenRule->id < minValue){
-
122 minValue = currentTokenRule->id;
-
123 }
-
124 }
-
125
-
126 //loop through untill either all the values are checked and in order or the token rule is not continuous
-
127 //TODO: might want to optomize this
-
128 for(uint32_t foundSize = 0; foundSize != ARC_Vector_GetSize(lexer->tokenRules); foundSize++){
-
129 //check all current rules
-
130 ARC_Bool currentAreContinuous = ARC_False;
-
131 for(uint32_t tokenRuleIndex = 0; tokenRuleIndex < ARC_Vector_GetSize(lexer->tokenRules); tokenRuleIndex++){
-
132 //get the current token rule
-
133 ARC_LexerTokenRule *currentTokenRule = (ARC_LexerTokenRule *)ARC_Vector_Get(lexer->tokenRules, tokenRuleIndex);
-
134
-
135 //check if the value is smaller than or equal to the minimum value and if it is we can skip it
-
136 if(currentTokenRule->id <= minValue){
-
137 continue;
-
138 }
-
139
-
140 //check if the value is continous
-
141 if(currentTokenRule->id - minValue == 1){
-
142 //set the token rule max val to the next most continuous value
-
143 lexer->tokenRulesMaxVal = currentTokenRule->id;
-
144
-
145 //set the next smallest value to check to the the next most continuous value
-
146 minValue = currentTokenRule->id;
-
147 currentAreContinuous = ARC_True;
-
148 break;
-
149 }
-
150 }
-
151
-
152 //the current values are not continuous so we can return as token rules are continuous is already set to false
-
153 if(currentAreContinuous == ARC_False){
-
154 return;
-
155 }
-
156
-
157 //a continuous value was found so loop to next value
-
158 }
-
159}
-
-
160
-
- -
162 //clear the tokens vector
-
163 ARC_Vector_Clear(lexer->tokens);
-
164}
-
-
165
-
- -
167 //check if there are any token rules to use
-
168 if(ARC_Vector_GetSize(lexer->tokenRules) == 0){
- -
170 ARC_DEBUG_LOG_ERROR("ARC_Lexer_LexString(lexer, data), no tokens registered to lexer to use");
-
171 return;
-
172 }
-
173
-
174 //this will run untill everything token is stripped or there is an error
-
175 while(*data != NULL){
-
176 uint32_t tokenLength = 0;
-
177 uint32_t lastTokenLength = 0;
-
178 ARC_LexerToken *token = NULL;
-
179
-
180 for(uint32_t index = 0; index < ARC_Vector_GetSize(lexer->tokenRules); index++){
-
181 //check if the token rule is found
-
182 ARC_LexerTokenRule *tokenRule = ARC_Vector_Get(lexer->tokenRules, index);
-
183
-
184 //tokenData should only exist if tokenLength is ARC_True as stated in the header
-
185 ARC_String *tokenData = NULL;
-
186 tokenLength = tokenRule->automataFn(&tokenData, *data, tokenRule->automataData);
-
187
-
188 //check if a token was found if it wasn't continue. I'm doing this to try to cut down on the ammount of indentation
-
189 if(tokenLength == 0){
-
190 continue;
-
191 }
-
192
-
193 //check to see if we found a better match
-
194 if(tokenLength > lastTokenLength){
-
195 //free the current token if it exists
-
196 if(token != NULL){
- -
198 }
-
199
-
200 //create the token to add
-
201 token = (ARC_LexerToken *)malloc(sizeof(ARC_LexerToken));
-
202 token->rule = tokenRule->id;
-
203 token->data = tokenData;
-
204
-
205 //update the last found tokenLength to the max length
-
206 lastTokenLength = tokenLength;
-
207 }
-
208 }
-
209
-
210 //if no token was found, throw an error
-
211 if(token == NULL){
- -
213 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_Lexer_LexString(lexer, data), no tokens found with current string: \"%s\"", (*data)->data);
-
214
-
215 //clean up errored string
-
216 ARC_String_Destroy(*data);
-
217 *data = NULL;
-
218 return;
-
219 }
-
220
-
221 //token exists (something must have gone very wrong if it doesn't), so add it and check for overflow (which I'd be surprised if that happens)
-
222 ARC_Vector_Add(lexer->tokens, (void *)token);
-
223 if(arc_errno){
-
224 ARC_DEBUG_LOG_ERROR("ARC_Lexer_LexString(lexer, data), errored when running ARC_Vector_Add(lexer->tokens, token);. check logs for more info");
-
225 free(token);
-
226
-
227 //clean up errored string
-
228 ARC_String_Destroy(*data);
-
229 *data = NULL;
-
230 return;
-
231 }
-
232
-
233 //if the last token was found, destroy the string and return
-
234 if(lastTokenLength == (*data)->length){
-
235 ARC_String_Destroy(*data);
-
236 *data = NULL;
-
237 return;
-
238 }
-
239
-
240 //strip the string
-
241 ARC_String_ReplaceWithSubstring(data, lastTokenLength, (*data)->length - lastTokenLength);
-
242 }
-
243}
-
-
244
-
- -
246 //read file and clean up if it errors
-
247 ARC_String *data;
-
248 ARC_IO_FileToStr(path, &data);
-
249 if(arc_errno){
-
250 ARC_DEBUG_LOG_ERROR("ARC_Lexer_LexFile(lexer, path), errored when running ARC_IO_FileToStr(path, &data);. check logs for more info");
-
251 if(data != NULL){
-
252 ARC_String_Destroy(data);
-
253 }
-
254
-
255 return;
-
256 }
-
257
-
258 //lex the string and log if there is an error, ARC_Lexer_LexString will clean up the string
-
259 ARC_Lexer_LexString(lexer, &data);
-
260 if(arc_errno){
-
261 ARC_DEBUG_LOG_ERROR("ARC_Lexer_LexFile(lexer, path), errored when running ARC_Lexer_LexString(lexer, data);. check logs for more info");
-
262 }
-
263}
-
-
264
-
- -
266 for(uint32_t index = 0; index < ARC_Vector_GetSize(lexer->tokenRules); index++){
-
267 ARC_LexerTokenRule *tokenRule = ARC_Vector_Get(lexer->tokenRules, index);
-
268 printf("Rule: %02i\tFunction: %p\n", tokenRule->id, tokenRule->automataFn);
-
269 }
-
270}
-
-
271
-
- -
273 //get the token and log if there is an error
-
274 ARC_LexerToken *token = ARC_Vector_Get(lexer->tokens, index);
-
275 if(arc_errno){
-
276 ARC_DEBUG_LOG_ERROR("ARC_Lexer_GetToken(lexer, index), errored when running ARC_Vector_Get(lexer->tokens, index);. check logs for more info");
-
277
-
278 //return a token with max rule value, and NULL for the string to signify an error
-
279 return NULL;
-
280 }
-
281
-
282 //the token was found, so return it
-
283 return token;
-
284}
-
-
285
-
- -
287 return ARC_Vector_GetSize(lexer->tokens);
-
288}
-
-
289
-
- -
291 return lexer->tokenRulesAreContinuous;
-
292}
-
-
293
-
- -
295 //if the rules are continuous we can just check if it is less than the max rules value
-
296 if(lexer->tokenRulesAreContinuous == ARC_True){
-
297 return id <= lexer->tokenRulesMaxVal;
-
298 }
-
299
-
300 //the rules are not continuous so we need to check each individually
-
301 for(uint32_t index = 0; index < ARC_Vector_GetSize(lexer->tokenRules); index++){
-
302 ARC_LexerTokenRule *currentTokenRule = (ARC_LexerTokenRule *)ARC_Vector_Get(lexer->tokenRules, index);
-
303 if(currentTokenRule->id == id){
-
304 return ARC_True;
-
305 }
-
306 }
-
307
-
308 return ARC_False;
-
309}
-
-
310
-
-
311uint32_t ARC_Lexer_AutomataMatchCharFn(ARC_String **tokenData, ARC_String *string, void *automataData){
-
312 //if there is a match the token will be the same as automataData, so we don't need to store it again
-
313 *tokenData = NULL;
-
314
-
315 //check to see if there is a match with automataData as a char
-
316 if(string->data[0] == *(char *)automataData){
-
317 //return the token was found of length 1
-
318 return 1;
-
319 }
-
320
-
321 //no match was found
-
322 return 0;
-
323}
-
-
324
-
-
325uint32_t ARC_Lexer_AutomataMatchCharOrBetweenFn(ARC_String **tokenData, ARC_String *string, void *automataData){
-
326 //if there is a match the token will be the same as automataData, so we don't need to store it again
-
327 *tokenData = NULL;
-
328
-
329 //check to see if there is a match with automataData as a range of chars
-
330 char *automataDataChars = (char *)automataData;
-
331 if(string->data[0] >= automataDataChars[0] && string->data[0] <= ((char *)automataData)[1]){
-
332 //return the token as token data and the token was found of length 1
-
333 ARC_String_Create(tokenData, string->data, 1);
-
334 return 1;
-
335 }
-
336
-
337 //no match was found
-
338 return 0;
-
339}
-
-
340
-
-
341uint32_t ARC_Lexer_AutomataMatchStringFn(ARC_String **tokenData, ARC_String *string, void *automataData){
-
342 //if there is a match the token will be the same as automataData, so we don't need to store it again
-
343 *tokenData = NULL;
-
344
-
345 //check to see if there is a match with automataData as a string
-
346 ARC_String *automataDataString = (ARC_String *)automataData;
-
347 if(ARC_String_SubstringEquals(string, 0, automataDataString)){
-
348 //return the token was found of the string length
-
349 return automataDataString->length;
-
350 }
-
351
-
352 //no match was found
-
353 return 0;
-
354}
-
-
355
-
-
356uint32_t ARC_Lexer_AutomataMatchCharInStringFn(ARC_String **tokenData, ARC_String *string, void *automataData){
-
357 //if there is a match the token will be the same as automataData, so we don't need to store it again
-
358 *tokenData = NULL;
-
359
-
360 //check to see if there is a char match in automataData as a string
-
361 ARC_String *automataDataString = (ARC_String *)automataData;
-
362 for(uint64_t index = 0; index < automataDataString->length; index++){
-
363 if(string->data[0] == automataDataString->data[index]){
-
364 //return the token was found in the string of length 1
-
365 return 1;
-
366 }
-
367 }
-
368
-
369 //no match was found
-
370 return 0;
-
371}
-
-
372
-
373//private function to free automataData stored as a char
-
- -
375 free((char *)automataData);
-
376}
-
-
377
-
- -
379 //create the token rule
-
380 ARC_LexerTokenRule tokenRule;
-
381
-
382 //set the id
-
383 tokenRule.id = id;
-
384
-
385 //create and store the automataData (which is just a char)
-
386 char *automataData = (char *)malloc(sizeof(char));
-
387 *automataData = character;
-
388 tokenRule.automataData = (void *)automataData;
-
389
-
390 //we can use the ARC_Lexer_AutomataMatchCharFn for this
- -
392
-
393 //add the private destroy function
- -
395
-
396 //return the created tokenRule
-
397 return tokenRule;
-
398}
-
-
399
-
- -
401 //create the token rule
-
402 ARC_LexerTokenRule tokenRule;
-
403
-
404 //set the id
-
405 tokenRule.id = id;
-
406
-
407 //create and store the automataData (which is just two chars (the minumum and manximum))
-
408 char *automataData = (char *)malloc(sizeof(char) * 2);
-
409 automataData[0] = start;
-
410 automataData[1] = end;
-
411 tokenRule.automataData = (void *)automataData;
-
412
-
413 //we can use the ARC_Lexer_AutomataMatchCharInStringFn for this
- -
415
-
416 //add the private destroy function (we can use the char as it destroys a char pointer of any size)
- -
418
-
419 //return the created tokenRule
-
420 return tokenRule;
-
421}
-
-
422
-
423//private function to free automataData stored as an ARC_String
-
- -
425 ARC_String_Destroy((ARC_String *)automataData);
-
426}
-
-
427
-
- -
429 //create the token rule
-
430 ARC_LexerTokenRule tokenRule;
-
431
-
432 //set the id
-
433 tokenRule.id = id;
-
434
-
435 //copy and store the automataData (which is just an ARC_String)
-
436 ARC_String *automataData;
-
437 ARC_String_Copy(&automataData, string);
-
438 tokenRule.automataData = (void *)automataData;
-
439
-
440 //we can use the ARC_Lexer_AutomataMatchStringFn for this
- -
442
-
443 //add the private destroy function
- -
445
-
446 //return the created tokenRule
-
447 return tokenRule;
-
448}
-
-
449
-
- -
451 //create the token rule
-
452 ARC_LexerTokenRule tokenRule;
-
453
-
454 //set the id
-
455 tokenRule.id = id;
-
456
-
457 //copy and store the automataData (which is just an ARC_String)
-
458 ARC_String *automataData;
-
459 ARC_String_Copy(&automataData, string);
-
460 tokenRule.automataData = (void *)automataData;
-
461
-
462 //we can use the ARC_Lexer_AutomataMatchCharInStringFn for this
- -
464
-
465 //add the private destroy function
- -
467
-
468 //return the created tokenRule
-
469 return tokenRule;
-
470}
-
-
471
-
- -
473 //null
- -
475
-
476 //number
- -
478
-
479 //alpha char
- - -
482
-
483 //whitespace
-
484 //TODO: fix this
-
485 ARC_String *whitespaceString;
-
486 ARC_String_CreateWithStrlen(&whitespaceString, " \t");
- -
488 ARC_String_Destroy(whitespaceString);
-
489
-
490 //single char tokens
- - - - - - - - - - - - - - - -
506}
-
- -
#define ARC_False
Definition bool.h:12
-
#define ARC_True
Definition bool.h:11
-
#define ARC_Bool
Definition bool.h:10
- -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
#define ARC_ERRNO_DATA
Definition errno.h:7
- -
void ARC_IO_FileToStr(ARC_String *path, ARC_String **data)
get string and size from file
Definition io.c:43
- -
#define ARC_LEXER_TOKEN_WHITESPACE
Definition lexer.h:252
-
#define ARC_LEXER_TOKEN_FORWARD_SLASH_ID
Definition lexer.h:271
-
#define ARC_LEXER_TOKEN_ALPHA_UPPER_CHAR
Definition lexer.h:251
-
#define ARC_LEXER_TOKEN_PERIOD_CHAR
Definition lexer.h:269
-
#define ARC_LEXER_TOKEN_PERCENT_ID
Definition lexer.h:298
-
#define ARC_LEXER_TOKEN_PERCENT_CHAR
Definition lexer.h:299
-
#define ARC_LEXER_TOKEN_LEFT_PARENTHESIS_CHAR
Definition lexer.h:278
-
#define ARC_LEXER_TOKEN_PERIOD_ID
Definition lexer.h:268
-
#define ARC_LEXER_TOKEN_NULL
basic tokens
Definition lexer.h:248
-
#define ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_CHAR
Definition lexer.h:287
-
#define ARC_LEXER_TOKEN_COMMA_CHAR
Definition lexer.h:266
-
#define ARC_LEXER_TOKEN_AT_ID
Definition lexer.h:292
-
#define ARC_LEXER_TOKEN_AT_CHAR
Definition lexer.h:293
-
#define ARC_LEXER_TOKEN_COLON_CHAR
Definition lexer.h:260
-
#define ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_ID
Definition lexer.h:283
-
#define ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_ID
Definition lexer.h:280
-
#define ARC_LEXER_TOKEN_BANG_CHAR
Definition lexer.h:290
-
#define ARC_LEXER_TOKEN_NEWLINE_ID
basic token type ids, chars, and tags
Definition lexer.h:257
-
#define ARC_LEXER_TOKEN_COMMA_ID
Definition lexer.h:265
-
#define ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_ID
Definition lexer.h:286
-
#define ARC_LEXER_TOKEN_HASH_ID
Definition lexer.h:295
-
#define ARC_LEXER_TOKEN_NEWLINE_CHAR
Definition lexer.h:258
-
#define ARC_LEXER_TOKEN_BACK_SLASH_ID
Definition lexer.h:274
-
#define ARC_LEXER_TOKEN_BANG_ID
Definition lexer.h:289
-
#define ARC_LEXER_TOKEN_SEMICOLON_ID
Definition lexer.h:262
-
#define ARC_LEXER_TOKEN_FORWARD_SLASH_CHAR
Definition lexer.h:272
-
#define ARC_LEXER_TOKEN_ALPHA_LOWER_CHAR
Definition lexer.h:250
-
#define ARC_LEXER_TOKEN_BACK_SLASH_CHAR
Definition lexer.h:275
-
#define ARC_LEXER_TOKEN_COLON_ID
Definition lexer.h:259
-
#define ARC_LEXER_TOKEN_SEMICOLON_CHAR
Definition lexer.h:263
-
#define ARC_LEXER_TOKEN_LEFT_PARENTHESIS_ID
Definition lexer.h:277
-
#define ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_CHAR
Definition lexer.h:284
-
#define ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_CHAR
Definition lexer.h:281
-
#define ARC_LEXER_TOKEN_NUMBER
Definition lexer.h:249
-
#define ARC_LEXER_TOKEN_HASH_CHAR
Definition lexer.h:296
-
ARC_Bool ARC_LexerTokenRule_VectorCompareDataFn(void *dataA, void *dataB)
Definition lexer.c:20
-
void ARC_LexerTokenRule_VectorDestroyDataFn(void *data)
Definition lexer.c:32
-
void ARC_Lexer_LexFile(ARC_Lexer *lexer, ARC_String *path)
reads in and lexs a file
Definition lexer.c:245
-
ARC_LexerToken * ARC_Lexer_GetToken(ARC_Lexer *lexer, uint32_t index)
gets a token at a given index from a lexer
Definition lexer.c:272
-
ARC_Bool ARC_Lexer_IsTokenId(ARC_Lexer *lexer, uint32_t id)
returns a boolean based on if a given id is a stored token rule id
Definition lexer.c:294
-
void ARC_Lexer_RegisterTokenRule(ARC_Lexer *lexer, ARC_LexerTokenRule tokenRule)
adds a token rule to a lexer
Definition lexer.c:79
-
uint32_t ARC_Lexer_AutomataMatchCharFn(ARC_String **tokenData, ARC_String *string, void *automataData)
checks if the first character of string matches the automataData cast as a char
Definition lexer.c:311
-
void ARC_Lexer_LexString(ARC_Lexer *lexer, ARC_String **data)
creates tokens using a given string with ARC_LexerToken rules
Definition lexer.c:166
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchStringRule(uint32_t id, ARC_String *string)
creates a ARC_LexerTokenRule with a given id and string
Definition lexer.c:428
-
void ARC_Lexer_Clear(ARC_Lexer *lexer)
clears all tokens from a lexer (will not clear token rules)
Definition lexer.c:161
-
void ARC_Lexer_InitBasicTokenRules(ARC_Lexer *lexer)
adds a bunch of basic token rules (matching the BasicTokens above)
Definition lexer.c:472
-
void ARC_Lexer_Create(ARC_Lexer **lexer)
creates an ARC_Lexer type
Definition lexer.c:50
-
void ARC_LexerToken_VectorDestroyDataFn(void *data)
Definition lexer.c:39
-
uint32_t ARC_Lexer_AutomataMatchCharOrBetweenFn(ARC_String **tokenData, ARC_String *string, void *automataData)
Definition lexer.c:325
-
uint32_t ARC_Lexer_GetTokensSize(ARC_Lexer *lexer)
gets a token at a given index from a lexer
Definition lexer.c:286
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharRule(uint32_t id, char character)
creates a ARC_LexerTokenRule with a given id and character
Definition lexer.c:378
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween(uint32_t id, char start, char end)
creates a ARC_LexerTokenRule with a given id and character range
Definition lexer.c:400
-
void ARC_LexerTokenRule_DestroyCharAutomataDataFn(void *automataData)
Definition lexer.c:374
-
uint32_t ARC_Lexer_AutomataMatchStringFn(ARC_String **tokenData, ARC_String *string, void *automataData)
checks if the substring automataData as an ARC_String matches the first part of string
Definition lexer.c:341
-
ARC_Bool ARC_Lexer_IsContinious(ARC_Lexer *lexer)
returns a boolean based on if a lexers rules are continious
Definition lexer.c:290
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule(uint32_t id, ARC_String *string)
creates a ARC_LexerTokenRule with a given id and string
Definition lexer.c:450
-
void ARC_LexerTokenRule_DestroyStringAutomataDataFn(void *automataData)
Definition lexer.c:424
-
uint32_t ARC_Lexer_AutomataMatchCharInStringFn(ARC_String **tokenData, ARC_String *string, void *automataData)
checks if the first part of string is a character in substring
Definition lexer.c:356
-
void ARC_Lexer_PrintTokenRules(ARC_Lexer *lexer)
prints rule id and hex of the function name
Definition lexer.c:265
-
void ARC_Lexer_Destroy(ARC_Lexer *lexer)
destroys an ARC_Lexer type
Definition lexer.c:68
- -
void ARC_String_CreateWithStrlen(ARC_String **string, char *data)
creates ARC_String type with strinlen
Definition string.c:32
-
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
-
void ARC_String_Copy(ARC_String **copy, ARC_String *original)
copy a ARC_String
Definition string.c:62
-
ARC_Bool ARC_String_SubstringEquals(ARC_String *first, uint64_t offset, ARC_String *second)
check if substring of first equals second string
Definition string.c:175
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
void ARC_String_ReplaceWithSubstring(ARC_String **string, uint64_t start, uint64_t length)
replaces a string with a section of itself
Definition string.c:100
-
a lexer token rule type
Definition lexer.h:46
-
uint32_t id
Definition lexer.h:47
-
void * automataData
Definition lexer.h:49
-
ARC_LexerTokenRule_AutomataFn automataFn
Definition lexer.h:51
-
ARC_LexerTokenRule_DestroyAutomataDataFn destroyAutomataDataFn
Definition lexer.h:52
-
a lexer token type
Definition lexer.h:18
-
uint32_t rule
Definition lexer.h:19
-
ARC_String * data
Definition lexer.h:20
- -
ARC_Vector * tokenRules
Definition lexer.c:11
-
ARC_Vector * tokens
Definition lexer.c:12
-
uint32_t tokenRulesMaxVal
Definition lexer.c:16
-
ARC_Bool tokenRulesAreContinuous
Definition lexer.c:15
-
substring position within a string
Definition string.h:14
-
uint64_t length
Definition string.h:16
-
char * data
Definition string.h:15
-
a private dynamic array type
Definition vector.c:12
- -
void(* ARC_Vector_DestroyDataFn)(void *data)
a callback that cleans up memory when it is removed from the vector
Definition vector.h:31
-
uint32_t ARC_Vector_GetSize(ARC_Vector *vector)
gets the current size of an ARC_Vector as an unsigned 32 bit integer
Definition vector.c:149
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:153
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:70
-
ARC_Bool(* ARC_Vector_CompareDataFn)(void *dataA, void *dataB)
a callback that allows the user to define a way to check the data stored in a vector for a match
Definition vector.h:24
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:54
-
void ARC_Vector_Clear(ARC_Vector *vector)
clears all items from a vector
Definition vector.c:142
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:31
-
-
- - - - - - diff --git a/doc/doxygen/html/da/d36/tests_8dir_2src_2std_2parser_8c_8o_8d.html b/doc/doxygen/html/da/d36/tests_8dir_2src_2std_2parser_8c_8o_8d.html deleted file mode 100644 index faac917..0000000 --- a/doc/doxygen/html/da/d36/tests_8dir_2src_2std_2parser_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/parser.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
parser.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/da/d36/tests_8dir_2src_2std_2parser_8c_8o_8d_source.html b/doc/doxygen/html/da/d36/tests_8dir_2src_2std_2parser_8c_8o_8d_source.html deleted file mode 100644 index 13454f2..0000000 --- a/doc/doxygen/html/da/d36/tests_8dir_2src_2std_2parser_8c_8o_8d_source.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/parser.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
parser.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/std/parser.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/parser.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/parser/parserlang.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/std/parser.h \
-
6 /home/herbglitch/programs/archeus/arc/include/arc/std/array.h \
-
7 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
8 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
9 /usr/include/features.h /usr/include/features-time64.h \
-
10 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
11 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
12 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
13 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
14 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
15 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
16 /usr/include/bits/stdint-least.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/std/lexer.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
21 /home/herbglitch/programs/archeus/arc/include/arc/std/vector.h \
-
22 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
23 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
24 /usr/include/stdio.h \
-
25 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
26 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
27 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
28 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
29 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
30 /usr/include/bits/types/cookie_io_functions_t.h \
-
31 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
32 /usr/include/bits/floatn-common.h \
-
33 /home/herbglitch/programs/archeus/arc/include/arc/std/io.h \
-
34 /usr/include/stdlib.h /usr/include/bits/waitflags.h \
-
35 /usr/include/bits/waitstatus.h /usr/include/sys/types.h \
-
36 /usr/include/bits/types/clock_t.h /usr/include/bits/types/clockid_t.h \
-
37 /usr/include/bits/types/time_t.h /usr/include/bits/types/timer_t.h \
-
38 /usr/include/endian.h /usr/include/bits/endian.h \
-
39 /usr/include/bits/endianness.h /usr/include/bits/byteswap.h \
-
40 /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \
-
41 /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \
-
42 /usr/include/bits/types/__sigset_t.h \
-
43 /usr/include/bits/types/struct_timeval.h \
-
44 /usr/include/bits/types/struct_timespec.h \
-
45 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
46 /usr/include/bits/pthreadtypes-arch.h \
-
47 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
48 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
49 /usr/include/bits/stdlib-float.h /usr/include/string.h \
-
50 /usr/include/bits/types/locale_t.h /usr/include/bits/types/__locale_t.h \
-
51 /usr/include/strings.h
-
-
- - - - - - diff --git a/doc/doxygen/html/da/d50/packages_2input_2glfw_2input_8c.html b/doc/doxygen/html/da/d50/packages_2input_2glfw_2input_8c.html deleted file mode 100644 index 927f6f5..0000000 --- a/doc/doxygen/html/da/d50/packages_2input_2glfw_2input_8c.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/input/glfw/input.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
input.c File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/da/d50/packages_2input_2glfw_2input_8c_source.html b/doc/doxygen/html/da/d50/packages_2input_2glfw_2input_8c_source.html deleted file mode 100644 index 5b11799..0000000 --- a/doc/doxygen/html/da/d50/packages_2input_2glfw_2input_8c_source.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/input/glfw/input.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
input.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_GLFW_INPUT
-
2#include "arc/input/input.h"
-
3
-
4#include "arc/input/mouse.h"
- -
6
-
7#include <GLFW/glfw3.h>
-
8#include <stdlib.h>
-
9
-
10struct ARC_Input {
- - -
13
-
14 GLFWwindow *window;
-
15};
-
16
- -
18 *input = (ARC_Input *)malloc(sizeof(ARC_Input));
-
19
-
20 (*input)->event = (SDL_Event *)malloc(sizeof(SDL_Event));
-
21
-
22 ARC_Keyboard_CreateWithEngineData(&(*input)->keyboard, data);
-
23 ARC_Keyboard_CreateWithEngineData(&(*input)->mouse, data);
-
24}
-
25
-
26void ARC_Input_Destroy(ARC_Input *input){
- - -
29
-
30 free(input->event);
-
31 free(input);
-
32}
-
33
- -
35 return input->keyboard;
-
36}
-
37
- -
39 return input->mouse;
-
40}
-
41
-
42#endif // ARC_SDL2_INPUT
- -
ARC_Keyboard * ARC_Input_GetKeyboard(ARC_Input *input)
Definition input.c:39
-
void ARC_Input_Destroy(ARC_Input *input)
Definition input.c:19
-
ARC_Mouse * ARC_Input_GetMouse(ARC_Input *input)
Definition input.c:43
-
void ARC_Input_CreateWithEngineData(ARC_Input **input, ARC_EngineData *data)
Definition input.c:10
- -
void ARC_Keyboard_Destroy(ARC_Keyboard *keyboard)
Definition keyboard.c:23
- -
void ARC_Mouse_Destroy(ARC_Mouse *mouse)
Definition mouse.c:31
- - -
SDL_Event * event
Definition input.h:12
-
ARC_Keyboard * keyboard
Definition input.h:9
-
ARC_Mouse * mouse
Definition input.h:10
- - -
-
- - - - - - diff --git a/doc/doxygen/html/da/d56/tests_8dir_2src_2graphics_2line_8c_8o_8d.html b/doc/doxygen/html/da/d56/tests_8dir_2src_2graphics_2line_8c_8o_8d.html deleted file mode 100644 index a43db92..0000000 --- a/doc/doxygen/html/da/d56/tests_8dir_2src_2graphics_2line_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/graphics/line.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
line.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/da/d56/tests_8dir_2src_2graphics_2line_8c_8o_8d_source.html b/doc/doxygen/html/da/d56/tests_8dir_2src_2graphics_2line_8c_8o_8d_source.html deleted file mode 100644 index a5e87c1..0000000 --- a/doc/doxygen/html/da/d56/tests_8dir_2src_2graphics_2line_8c_8o_8d_source.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/graphics/line.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
line.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/graphics/line.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/graphics/line.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/graphics/line.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/graphics/color.h \
-
6 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
7 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
8 /usr/include/features.h /usr/include/features-time64.h \
-
9 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
10 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
11 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
12 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
13 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
14 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
15 /usr/include/bits/stdint-least.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/graphics/renderer.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/math/rectangle.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/math/vector2.h \
-
20 /usr/include/stdio.h \
-
21 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
22 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
23 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
24 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
25 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
26 /usr/include/bits/types/cookie_io_functions_t.h \
-
27 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
28 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/da/d58/include_2arc_2input_2none_2mouse_8h.html b/doc/doxygen/html/da/d58/include_2arc_2input_2none_2mouse_8h.html deleted file mode 100644 index 03d3197..0000000 --- a/doc/doxygen/html/da/d58/include_2arc_2input_2none_2mouse_8h.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/input/none/mouse.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
mouse.h File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/da/d58/include_2arc_2input_2none_2mouse_8h_source.html b/doc/doxygen/html/da/d58/include_2arc_2input_2none_2mouse_8h_source.html deleted file mode 100644 index 8e6a7c7..0000000 --- a/doc/doxygen/html/da/d58/include_2arc_2input_2none_2mouse_8h_source.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/input/none/mouse.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
mouse.h
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_INPUT
-
2
-
3#ifndef ARC_NONE_MOUSE_H_
-
4#define ARC_NONE_MOUSE_H_
-
5
-
6#include "arc/input/mouse.h"
-
7
-
8struct ARC_Mouse {};
-
9
-
10struct ARC_MouseInfo {};
-
11
-
12#endif // !ARC_NONE_MOUSE_H_
-
13
-
14#endif // !ARC_NONE_INPUT
- - -
-
- - - - - - diff --git a/doc/doxygen/html/da/d62/math_2config_8c.html b/doc/doxygen/html/da/d62/math_2config_8c.html deleted file mode 100644 index b3a18c1..0000000 --- a/doc/doxygen/html/da/d62/math_2config_8c.html +++ /dev/null @@ -1,706 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/math/config.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
- -
config.c File Reference
-
-
-
#include "arc/math/config.h"
-#include <stdio.h>
-#include <stdlib.h>
-#include "arc/std/array.h"
-#include "arc/std/string.h"
-#include "arc/std/errno.h"
-#include "arc/std/config.h"
-#include "arc/math/point.h"
-#include "arc/math/rectangle.h"
-#include "arc/std/defaults/config.h"
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_MathConfig_Init (ARC_Config *config)
 
uint64_t ARC_MathConfig_GetIndexAndErrorCheck (ARC_String *string, char *search, uint64_t searchLength)
 
uint8_t ARC_Point_Read (ARC_Config *config, ARC_String *string, void **value)
 
uint8_t ARC_Rect_Read (ARC_Config *config, ARC_String *string, void **value)
 
void ARC_RectArray_ReadRect (ARC_Config *config, ARC_String *stripped, uint64_t index, uint64_t length, uint64_t *arrayIndex, void **value)
 
uint8_t ARC_RectArray_Read (ARC_Config *config, ARC_String *string, void **value)
 
void ARC_Point_Delete (ARC_Config *config, ARC_String *string, void *value)
 
void ARC_Rect_Delete (ARC_Config *config, ARC_String *string, void *value)
 
void ARC_RectArray_Delete (ARC_Config *config, ARC_String *string, void *value)
 
-

Function Documentation

- -

◆ ARC_MathConfig_GetIndexAndErrorCheck()

- -
-
- - - - - - - - - - - - - - - - -
uint64_t ARC_MathConfig_GetIndexAndErrorCheck (ARC_String * string,
char * search,
uint64_t searchLength )
-
- -

Definition at line 20 of file config.c.

-
20 {
-
21 uint64_t separator = ARC_String_FindCString(string, ",", 1);
-
22
-
23 if(separator == ~(uint64_t)0){
- -
25 }
-
26
-
27 return separator;
-
28}
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_DATA
Definition errno.h:7
-
uint64_t ARC_String_FindCString(ARC_String *string, const char *cstring, uint64_t length)
takes given cstring and gives position of first matching
Definition string.c:252
-
-

References arc_errno, ARC_ERRNO_DATA, and ARC_String_FindCString().

- -

Referenced by ARC_Point_Read(), and ARC_Rect_Read().

- -
-
- -

◆ ARC_MathConfig_Init()

- -
-
- - - - - - - -
void ARC_MathConfig_Init (ARC_Config * config)
-
- -

Definition at line 14 of file config.c.

-
14 {
-
15 ARC_Config_AddKeyCString(config, (char *)"ARC_Point" , 9, ARC_Point_Read , ARC_Point_Delete );
-
16 ARC_Config_AddKeyCString(config, (char *)"ARC_Rect" , 8, ARC_Rect_Read , ARC_Rect_Delete );
-
17 ARC_Config_AddKeyCString(config, (char *)"ARC_Rect[]", 10, ARC_RectArray_Read, ARC_RectArray_Delete);
-
18}
-
uint8_t ARC_Point_Read(ARC_Config *config, ARC_String *string, void **value)
Definition config.c:30
-
void ARC_RectArray_Delete(ARC_Config *config, ARC_String *string, void *value)
Definition config.c:273
-
void ARC_Rect_Delete(ARC_Config *config, ARC_String *string, void *value)
Definition config.c:269
-
uint8_t ARC_RectArray_Read(ARC_Config *config, ARC_String *string, void **value)
Definition config.c:183
-
void ARC_Point_Delete(ARC_Config *config, ARC_String *string, void *value)
Definition config.c:265
-
uint8_t ARC_Rect_Read(ARC_Config *config, ARC_String *string, void **value)
Definition config.c:62
-
void ARC_Config_AddKeyCString(ARC_Config *config, const char *type, uint64_t length, ARC_ConfigKeyRead keyRead, ARC_ConfigKeyDelete keyDelete)
adds a key from a cstring
Definition config.c:55
-
-

References ARC_Config_AddKeyCString(), ARC_Point_Delete(), ARC_Point_Read(), ARC_Rect_Delete(), ARC_Rect_Read(), ARC_RectArray_Delete(), and ARC_RectArray_Read().

- -
-
- -

◆ ARC_Point_Delete()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Point_Delete (ARC_Config * config,
ARC_String * string,
void * value )
-
- -

Definition at line 265 of file config.c.

-
265 {
-
266 free((ARC_Point *)value);
-
267}
- -
-

Referenced by ARC_MathConfig_Init().

- -
-
- -

◆ ARC_Point_Read()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_Point_Read (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -

Definition at line 30 of file config.c.

-
30 {
-
31 ARC_Config_Get(config, string, value);
-
32 if(*value){
-
33 return 1;
-
34 }
-
35
-
36 if(string->data[0] != '{' || string->data[string->length - 1] != '}'){
-
37 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_Point_Read(config, string, value); no matching curly braces: %s", string->data);
- -
39 return 0;
-
40 }
-
41
-
42 uint64_t separator = ARC_MathConfig_GetIndexAndErrorCheck(string, ",", 1);
-
43 if(arc_errno){
-
44 return 0;
-
45 }
-
46
-
47 ARC_String *xString, *yString;
-
48 ARC_String_CopySubstring(&xString, string, 1 , separator - 1 );
-
49 ARC_String_CopySubstring(&yString, string, separator + 1, string->length - (separator + 2));
-
50
-
51 ARC_Point *point = (ARC_Point *)malloc(sizeof(ARC_Point));
-
52 point->x = (int32_t)ARC_String_ToInt64_t(xString);
-
53 point->y = (int32_t)ARC_String_ToInt64_t(yString);
-
54
-
55 ARC_String_Destroy(xString);
-
56 ARC_String_Destroy(yString);
-
57
-
58 *value = point;
-
59 return 0;
-
60}
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
uint64_t ARC_MathConfig_GetIndexAndErrorCheck(ARC_String *string, char *search, uint64_t searchLength)
Definition config.c:20
-
void ARC_Config_Get(ARC_Config *config, ARC_String *keyname, void **value)
get a value from a given keyname
Definition config.c:124
-
int64_t ARC_String_ToInt64_t(ARC_String *string)
converst substring from string to int64_t
Definition string.c:222
-
void ARC_String_CopySubstring(ARC_String **substring, ARC_String *original, uint64_t start, uint64_t length)
copy a subtring from a givin ARC_String
Definition string.c:72
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
int32_t y
Definition point.h:12
-
int32_t x
Definition point.h:11
-
substring position within a string
Definition string.h:14
-
uint64_t length
Definition string.h:16
-
char * data
Definition string.h:15
-
-

References ARC_Config_Get(), ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_DATA, ARC_MathConfig_GetIndexAndErrorCheck(), ARC_String_CopySubstring(), ARC_String_Destroy(), ARC_String_ToInt64_t(), ARC_String::data, ARC_String::length, ARC_Point::x, and ARC_Point::y.

- -

Referenced by ARC_MathConfig_Init().

- -
-
- -

◆ ARC_Rect_Delete()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Rect_Delete (ARC_Config * config,
ARC_String * string,
void * value )
-
- -

Definition at line 269 of file config.c.

-
269 {
-
270 free((ARC_Rect *)value);
-
271}
- -
-

Referenced by ARC_MathConfig_Init(), and ARC_RectArray_ReadRect().

- -
-
- -

◆ ARC_Rect_Read()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_Rect_Read (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -

Definition at line 62 of file config.c.

-
62 {
-
63 ARC_Config_Get(config, string, value);
-
64 if(*value){
-
65 return 1;
-
66 }
-
67
-
68 if(string->data[0] != '{' || string->data[string->length - 1] != '}'){
- -
70 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_Rect_Read(config, string, value); no matching curly braces: %s", string->data);
-
71 return 0;
-
72 }
-
73
-
74 ARC_String *current;
-
75 ARC_String_CopySubstring(&current, string, 1, string->length - 2);
-
76
-
77 ARC_String *temp, *tempStripped;
-
78 int32_t x, y, w, h;
-
79 int64_t separator;
-
80
-
81 //x
-
82 separator = ARC_MathConfig_GetIndexAndErrorCheck(current, ",", 1);
-
83 if(arc_errno){
-
84 return 0;
-
85 }
-
86
-
87 ARC_String_CopySubstring(&temp, current, 0, separator - 1);
-
88 ARC_String_StripEndsWhitespace(&tempStripped, temp);
-
89 x = ARC_String_ToInt64_t(tempStripped);
- -
91 ARC_String_Destroy(tempStripped);
-
92
-
93 temp = current;
-
94 ARC_String_CopySubstring(&current, temp, separator + 1, temp->length - (separator + 1));
- -
96
-
97 //y
-
98 separator = ARC_MathConfig_GetIndexAndErrorCheck(current, ",", 1);
-
99 if(arc_errno){
-
100 return 0;
-
101 }
-
102
-
103 ARC_String_CopySubstring(&temp, current, 0, separator - 1);
-
104 ARC_String_StripEndsWhitespace(&tempStripped, temp);
-
105 y = ARC_String_ToInt64_t(tempStripped);
-
106 ARC_String_Destroy(temp);
-
107 ARC_String_Destroy(tempStripped);
-
108
-
109 temp = current;
-
110 ARC_String_CopySubstring(&current, temp, separator + 1, temp->length - (separator + 1));
-
111 ARC_String_Destroy(temp);
-
112
-
113 //w
-
114 separator = ARC_MathConfig_GetIndexAndErrorCheck(current, ",", 1);
-
115 if(arc_errno){
-
116 return 0;
-
117 }
-
118
-
119 ARC_String_CopySubstring(&temp, current, 0, separator - 1);
-
120 ARC_String_StripEndsWhitespace(&tempStripped, temp);
-
121 w = ARC_String_ToInt64_t(tempStripped);
-
122 ARC_String_Destroy(temp);
-
123 ARC_String_Destroy(tempStripped);
-
124
-
125 temp = current;
-
126 ARC_String_CopySubstring(&current, temp, separator + 1, temp->length - (separator + 1));
-
127 ARC_String_Destroy(temp);
-
128
-
129 //h
-
130 separator = current->length;
-
131 if(arc_errno){
-
132 return 0;
-
133 }
-
134
-
135 ARC_String_CopySubstring(&temp, current, 0, separator);
-
136 ARC_String_StripEndsWhitespace(&tempStripped, temp);
-
137 h = ARC_String_ToInt64_t(tempStripped);
-
138 ARC_String_Destroy(temp);
-
139 ARC_String_Destroy(tempStripped);
-
140 ARC_String_Destroy(current);
-
141
-
142 *value = malloc(sizeof(ARC_Rect));
-
143 ((ARC_Rect *) *value)->x = x;
-
144 ((ARC_Rect *) *value)->y = y;
-
145 ((ARC_Rect *) *value)->w = w;
-
146 ((ARC_Rect *) *value)->h = h;
-
147 return 0;
-
148}
-
void ARC_String_StripEndsWhitespace(ARC_String **stripped, ARC_String *original)
strips the whitespace from the ends of a string
Definition string.c:437
-
-

References ARC_Config_Get(), ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_DATA, ARC_MathConfig_GetIndexAndErrorCheck(), ARC_String_CopySubstring(), ARC_String_Destroy(), ARC_String_StripEndsWhitespace(), ARC_String_ToInt64_t(), ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_MathConfig_Init(), and ARC_RectArray_ReadRect().

- -
-
- -

◆ ARC_RectArray_Delete()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_RectArray_Delete (ARC_Config * config,
ARC_String * string,
void * value )
-
- -

Definition at line 273 of file config.c.

-
273 {
-
274 //TODO free value->data
-
275 free((ARC_Array *)value);
-
276}
-
a type that holds an array of data and its size
Definition array.h:13
-
-

Referenced by ARC_MathConfig_Init().

- -
-
- -

◆ ARC_RectArray_Read()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_RectArray_Read (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -

Definition at line 183 of file config.c.

-
183 {
-
184 ARC_Config_Get(config, string, value);
-
185 if(*value){
-
186 return 1;
-
187 }
-
188
-
189 if(string->data[0] != '{' || string->data[string->length - 1] != '}'){
- -
191 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_RectArray_Read(config, string, value); no matching curly braces: %s", string->data);
-
192 return 0;
-
193 }
-
194
-
195 ARC_String *temp, *stripped;
-
196 ARC_String_CopySubstring(&temp, string, 1, string->length - 2);
-
197 ARC_String_StripEndsWhitespace(&stripped, temp);
-
198 ARC_String_Destroy(temp);
-
199
-
200 uint64_t arraySize = 1;
-
201 int64_t encapsulated = 0;
-
202 for(uint64_t i = 0; i < stripped->length; i++){
-
203 if(stripped->data[i] == '{'){
-
204 encapsulated++;
-
205 continue;
-
206 }
-
207
-
208 if(stripped->data[i] == '}'){
-
209 encapsulated--;
-
210 continue;
-
211 }
-
212
-
213 if(!encapsulated && stripped->data[i] == ','){
-
214 arraySize++;
-
215 }
-
216 }
-
217
-
218 if(encapsulated){
- -
220 //TODO: Fix this for windows SMFH
-
221 // ARC_DEBUG_LOG(arc_errno, "in ARC_RectArray_Read(config, data, subdata, value); after looping encapsulated was %ld", encapsulated);
-
222 ARC_String_Destroy(stripped);
-
223 return 0;
-
224 }
-
225
-
226 *value = malloc(sizeof(ARC_Array));
-
227 ((ARC_Array *) *value)->data = malloc(sizeof(ARC_Rect) * arraySize);
-
228 ((ARC_Array *) *value)->size = arraySize;
-
229
-
230 uint64_t index = 0;
-
231 arraySize = 0;
-
232 encapsulated = 0;
-
233 for(uint64_t i = 0; i < stripped->length; i++){
-
234 if(stripped->data[i] == '{'){
-
235 encapsulated++;
-
236 continue;
-
237 }
-
238
-
239 if(stripped->data[i] == '}'){
-
240 encapsulated--;
-
241 continue;
-
242 }
-
243
-
244 if(!encapsulated && stripped->data[i] == ','){
-
245 ARC_RectArray_ReadRect(config, stripped, index, i - index, &arraySize, value);
-
246 if(arc_errno){
-
247 return 0;
-
248 }
-
249
-
250 index = i + 1;
-
251
-
252 if(arraySize == ((ARC_Array *) *value)->size){
-
253 break;
-
254 }
-
255 }
-
256 }
-
257
-
258 if(arraySize != ((ARC_Array *) *value)->size){
-
259 ARC_RectArray_ReadRect(config, stripped, index, stripped->length - index, &arraySize, value);
-
260 }
-
261 ARC_String_Destroy(stripped);
-
262 return 0;
-
263}
-
void ARC_RectArray_ReadRect(ARC_Config *config, ARC_String *stripped, uint64_t index, uint64_t length, uint64_t *arrayIndex, void **value)
Definition config.c:150
-
-

References ARC_Config_Get(), ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_DATA, ARC_RectArray_ReadRect(), ARC_String_CopySubstring(), ARC_String_Destroy(), ARC_String_StripEndsWhitespace(), ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_MathConfig_Init().

- -
-
- -

◆ ARC_RectArray_ReadRect()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void ARC_RectArray_ReadRect (ARC_Config * config,
ARC_String * stripped,
uint64_t index,
uint64_t length,
uint64_t * arrayIndex,
void ** value )
-
- -

Definition at line 150 of file config.c.

-
150 {
-
151 ARC_String *substr, *temp;
-
152 ARC_String_CopySubstring(&temp, stripped, index, length);
-
153 ARC_String_StripEndsWhitespace(&substr, temp);
-
154 ARC_String_Destroy(temp);
-
155
-
156 // reading in reference
-
157 ARC_Rect *tempRect;
-
158 ARC_Config_Get(config, substr, (void **) &tempRect);
-
159 if(tempRect){
-
160 ARC_String_Destroy(substr);
-
161
-
162 ((ARC_Rect *)((ARC_Array *) *value)->data)[*arrayIndex] = *tempRect;
-
163 ++*arrayIndex;
-
164
-
165 return;
-
166 }
-
167
-
168 //reading in value
-
169 ARC_Rect_Read(config, substr, (void **) &tempRect);
-
170 if(arc_errno){
-
171 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_RectArray_ReadRect(config, string, index, length, arrayIndex, value); failed to read rect: %s", substr->data);
-
172 ARC_String_Destroy(substr);
-
173 return;
-
174 }
-
175
-
176 ((ARC_Rect *)((ARC_Array *) *value)->data)[*arrayIndex] = *tempRect;
-
177 ++*arrayIndex;
-
178
-
179 ARC_Rect_Delete(config, substr, (void *)tempRect);
-
180 ARC_String_Destroy(substr);
-
181}
-
-

References ARC_Config_Get(), ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_Rect_Delete(), ARC_Rect_Read(), ARC_String_CopySubstring(), ARC_String_Destroy(), ARC_String_StripEndsWhitespace(), and ARC_String::data.

- -

Referenced by ARC_RectArray_Read().

- -
-
-
- - -
- - diff --git a/doc/doxygen/html/da/d62/math_2config_8c_source.html b/doc/doxygen/html/da/d62/math_2config_8c_source.html deleted file mode 100644 index 751684d..0000000 --- a/doc/doxygen/html/da/d62/math_2config_8c_source.html +++ /dev/null @@ -1,432 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/math/config.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
config.c
-
-
-Go to the documentation of this file.
1#include "arc/math/config.h"
-
2#include <stdio.h>
-
3#include <stdlib.h>
-
4#include "arc/std/array.h"
-
5#include "arc/std/string.h"
-
6#include "arc/std/errno.h"
-
7#include "arc/std/config.h"
-
8#include "arc/math/point.h"
- -
10
-
11// #define ARC_DEFAULT_CONFIG
- -
13
-
- -
15 ARC_Config_AddKeyCString(config, (char *)"ARC_Point" , 9, ARC_Point_Read , ARC_Point_Delete );
-
16 ARC_Config_AddKeyCString(config, (char *)"ARC_Rect" , 8, ARC_Rect_Read , ARC_Rect_Delete );
-
17 ARC_Config_AddKeyCString(config, (char *)"ARC_Rect[]", 10, ARC_RectArray_Read, ARC_RectArray_Delete);
-
18}
-
-
19
-
-
20uint64_t ARC_MathConfig_GetIndexAndErrorCheck(ARC_String *string, char *search, uint64_t searchLength){
-
21 uint64_t separator = ARC_String_FindCString(string, ",", 1);
-
22
-
23 if(separator == ~(uint64_t)0){
- -
25 }
-
26
-
27 return separator;
-
28}
-
-
29
-
-
30uint8_t ARC_Point_Read(ARC_Config *config, ARC_String *string, void **value){
-
31 ARC_Config_Get(config, string, value);
-
32 if(*value){
-
33 return 1;
-
34 }
-
35
-
36 if(string->data[0] != '{' || string->data[string->length - 1] != '}'){
-
37 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_Point_Read(config, string, value); no matching curly braces: %s", string->data);
- -
39 return 0;
-
40 }
-
41
-
42 uint64_t separator = ARC_MathConfig_GetIndexAndErrorCheck(string, ",", 1);
-
43 if(arc_errno){
-
44 return 0;
-
45 }
-
46
-
47 ARC_String *xString, *yString;
-
48 ARC_String_CopySubstring(&xString, string, 1 , separator - 1 );
-
49 ARC_String_CopySubstring(&yString, string, separator + 1, string->length - (separator + 2));
-
50
-
51 ARC_Point *point = (ARC_Point *)malloc(sizeof(ARC_Point));
-
52 point->x = (int32_t)ARC_String_ToInt64_t(xString);
-
53 point->y = (int32_t)ARC_String_ToInt64_t(yString);
-
54
-
55 ARC_String_Destroy(xString);
-
56 ARC_String_Destroy(yString);
-
57
-
58 *value = point;
-
59 return 0;
-
60}
-
-
61
-
-
62uint8_t ARC_Rect_Read(ARC_Config *config, ARC_String *string, void **value){
-
63 ARC_Config_Get(config, string, value);
-
64 if(*value){
-
65 return 1;
-
66 }
-
67
-
68 if(string->data[0] != '{' || string->data[string->length - 1] != '}'){
- -
70 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_Rect_Read(config, string, value); no matching curly braces: %s", string->data);
-
71 return 0;
-
72 }
-
73
-
74 ARC_String *current;
-
75 ARC_String_CopySubstring(&current, string, 1, string->length - 2);
-
76
-
77 ARC_String *temp, *tempStripped;
-
78 int32_t x, y, w, h;
-
79 int64_t separator;
-
80
-
81 //x
-
82 separator = ARC_MathConfig_GetIndexAndErrorCheck(current, ",", 1);
-
83 if(arc_errno){
-
84 return 0;
-
85 }
-
86
-
87 ARC_String_CopySubstring(&temp, current, 0, separator - 1);
-
88 ARC_String_StripEndsWhitespace(&tempStripped, temp);
-
89 x = ARC_String_ToInt64_t(tempStripped);
- -
91 ARC_String_Destroy(tempStripped);
-
92
-
93 temp = current;
-
94 ARC_String_CopySubstring(&current, temp, separator + 1, temp->length - (separator + 1));
- -
96
-
97 //y
-
98 separator = ARC_MathConfig_GetIndexAndErrorCheck(current, ",", 1);
-
99 if(arc_errno){
-
100 return 0;
-
101 }
-
102
-
103 ARC_String_CopySubstring(&temp, current, 0, separator - 1);
-
104 ARC_String_StripEndsWhitespace(&tempStripped, temp);
-
105 y = ARC_String_ToInt64_t(tempStripped);
-
106 ARC_String_Destroy(temp);
-
107 ARC_String_Destroy(tempStripped);
-
108
-
109 temp = current;
-
110 ARC_String_CopySubstring(&current, temp, separator + 1, temp->length - (separator + 1));
-
111 ARC_String_Destroy(temp);
-
112
-
113 //w
-
114 separator = ARC_MathConfig_GetIndexAndErrorCheck(current, ",", 1);
-
115 if(arc_errno){
-
116 return 0;
-
117 }
-
118
-
119 ARC_String_CopySubstring(&temp, current, 0, separator - 1);
-
120 ARC_String_StripEndsWhitespace(&tempStripped, temp);
-
121 w = ARC_String_ToInt64_t(tempStripped);
-
122 ARC_String_Destroy(temp);
-
123 ARC_String_Destroy(tempStripped);
-
124
-
125 temp = current;
-
126 ARC_String_CopySubstring(&current, temp, separator + 1, temp->length - (separator + 1));
-
127 ARC_String_Destroy(temp);
-
128
-
129 //h
-
130 separator = current->length;
-
131 if(arc_errno){
-
132 return 0;
-
133 }
-
134
-
135 ARC_String_CopySubstring(&temp, current, 0, separator);
-
136 ARC_String_StripEndsWhitespace(&tempStripped, temp);
-
137 h = ARC_String_ToInt64_t(tempStripped);
-
138 ARC_String_Destroy(temp);
-
139 ARC_String_Destroy(tempStripped);
-
140 ARC_String_Destroy(current);
-
141
-
142 *value = malloc(sizeof(ARC_Rect));
-
143 ((ARC_Rect *) *value)->x = x;
-
144 ((ARC_Rect *) *value)->y = y;
-
145 ((ARC_Rect *) *value)->w = w;
-
146 ((ARC_Rect *) *value)->h = h;
-
147 return 0;
-
148}
-
-
149
-
-
150void ARC_RectArray_ReadRect(ARC_Config* config, ARC_String *stripped, uint64_t index, uint64_t length, uint64_t *arrayIndex, void **value){
-
151 ARC_String *substr, *temp;
-
152 ARC_String_CopySubstring(&temp, stripped, index, length);
-
153 ARC_String_StripEndsWhitespace(&substr, temp);
-
154 ARC_String_Destroy(temp);
-
155
-
156 // reading in reference
-
157 ARC_Rect *tempRect;
-
158 ARC_Config_Get(config, substr, (void **) &tempRect);
-
159 if(tempRect){
-
160 ARC_String_Destroy(substr);
-
161
-
162 ((ARC_Rect *)((ARC_Array *) *value)->data)[*arrayIndex] = *tempRect;
-
163 ++*arrayIndex;
-
164
-
165 return;
-
166 }
-
167
-
168 //reading in value
-
169 ARC_Rect_Read(config, substr, (void **) &tempRect);
-
170 if(arc_errno){
-
171 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_RectArray_ReadRect(config, string, index, length, arrayIndex, value); failed to read rect: %s", substr->data);
-
172 ARC_String_Destroy(substr);
-
173 return;
-
174 }
-
175
-
176 ((ARC_Rect *)((ARC_Array *) *value)->data)[*arrayIndex] = *tempRect;
-
177 ++*arrayIndex;
-
178
-
179 ARC_Rect_Delete(config, substr, (void *)tempRect);
-
180 ARC_String_Destroy(substr);
-
181}
-
-
182
-
-
183uint8_t ARC_RectArray_Read(ARC_Config* config, ARC_String *string, void **value){
-
184 ARC_Config_Get(config, string, value);
-
185 if(*value){
-
186 return 1;
-
187 }
-
188
-
189 if(string->data[0] != '{' || string->data[string->length - 1] != '}'){
- -
191 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_RectArray_Read(config, string, value); no matching curly braces: %s", string->data);
-
192 return 0;
-
193 }
-
194
-
195 ARC_String *temp, *stripped;
-
196 ARC_String_CopySubstring(&temp, string, 1, string->length - 2);
-
197 ARC_String_StripEndsWhitespace(&stripped, temp);
-
198 ARC_String_Destroy(temp);
-
199
-
200 uint64_t arraySize = 1;
-
201 int64_t encapsulated = 0;
-
202 for(uint64_t i = 0; i < stripped->length; i++){
-
203 if(stripped->data[i] == '{'){
-
204 encapsulated++;
-
205 continue;
-
206 }
-
207
-
208 if(stripped->data[i] == '}'){
-
209 encapsulated--;
-
210 continue;
-
211 }
-
212
-
213 if(!encapsulated && stripped->data[i] == ','){
-
214 arraySize++;
-
215 }
-
216 }
-
217
-
218 if(encapsulated){
- -
220 //TODO: Fix this for windows SMFH
-
221 // ARC_DEBUG_LOG(arc_errno, "in ARC_RectArray_Read(config, data, subdata, value); after looping encapsulated was %ld", encapsulated);
-
222 ARC_String_Destroy(stripped);
-
223 return 0;
-
224 }
-
225
-
226 *value = malloc(sizeof(ARC_Array));
-
227 ((ARC_Array *) *value)->data = malloc(sizeof(ARC_Rect) * arraySize);
-
228 ((ARC_Array *) *value)->size = arraySize;
-
229
-
230 uint64_t index = 0;
-
231 arraySize = 0;
-
232 encapsulated = 0;
-
233 for(uint64_t i = 0; i < stripped->length; i++){
-
234 if(stripped->data[i] == '{'){
-
235 encapsulated++;
-
236 continue;
-
237 }
-
238
-
239 if(stripped->data[i] == '}'){
-
240 encapsulated--;
-
241 continue;
-
242 }
-
243
-
244 if(!encapsulated && stripped->data[i] == ','){
-
245 ARC_RectArray_ReadRect(config, stripped, index, i - index, &arraySize, value);
-
246 if(arc_errno){
-
247 return 0;
-
248 }
-
249
-
250 index = i + 1;
-
251
-
252 if(arraySize == ((ARC_Array *) *value)->size){
-
253 break;
-
254 }
-
255 }
-
256 }
-
257
-
258 if(arraySize != ((ARC_Array *) *value)->size){
-
259 ARC_RectArray_ReadRect(config, stripped, index, stripped->length - index, &arraySize, value);
-
260 }
-
261 ARC_String_Destroy(stripped);
-
262 return 0;
-
263}
-
-
264
-
-
265void ARC_Point_Delete(ARC_Config* config, ARC_String *string, void *value){
-
266 free((ARC_Point *)value);
-
267}
-
-
268
-
-
269void ARC_Rect_Delete(ARC_Config* config, ARC_String *string, void *value){
-
270 free((ARC_Rect *)value);
-
271}
-
-
272
-
-
273void ARC_RectArray_Delete(ARC_Config* config, ARC_String *string, void *value){
-
274 //TODO free value->data
-
275 free((ARC_Array *)value);
-
276}
-
- - -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_ERRNO_DATA
Definition errno.h:7
-
void ARC_MathConfig_Init(ARC_Config *config)
Definition config.c:14
-
uint8_t ARC_Point_Read(ARC_Config *config, ARC_String *string, void **value)
Definition config.c:30
-
void ARC_RectArray_Delete(ARC_Config *config, ARC_String *string, void *value)
Definition config.c:273
-
uint64_t ARC_MathConfig_GetIndexAndErrorCheck(ARC_String *string, char *search, uint64_t searchLength)
Definition config.c:20
-
void ARC_Rect_Delete(ARC_Config *config, ARC_String *string, void *value)
Definition config.c:269
-
void ARC_RectArray_ReadRect(ARC_Config *config, ARC_String *stripped, uint64_t index, uint64_t length, uint64_t *arrayIndex, void **value)
Definition config.c:150
-
uint8_t ARC_RectArray_Read(ARC_Config *config, ARC_String *string, void **value)
Definition config.c:183
-
void ARC_Point_Delete(ARC_Config *config, ARC_String *string, void *value)
Definition config.c:265
-
uint8_t ARC_Rect_Read(ARC_Config *config, ARC_String *string, void **value)
Definition config.c:62
- - - - -
void ARC_Config_AddKeyCString(ARC_Config *config, const char *type, uint64_t length, ARC_ConfigKeyRead keyRead, ARC_ConfigKeyDelete keyDelete)
adds a key from a cstring
Definition config.c:55
-
void ARC_Config_Get(ARC_Config *config, ARC_String *keyname, void **value)
get a value from a given keyname
Definition config.c:124
- - -
void ARC_String_StripEndsWhitespace(ARC_String **stripped, ARC_String *original)
strips the whitespace from the ends of a string
Definition string.c:437
-
int64_t ARC_String_ToInt64_t(ARC_String *string)
converst substring from string to int64_t
Definition string.c:222
-
void ARC_String_CopySubstring(ARC_String **substring, ARC_String *original, uint64_t start, uint64_t length)
copy a subtring from a givin ARC_String
Definition string.c:72
-
uint64_t ARC_String_FindCString(ARC_String *string, const char *cstring, uint64_t length)
takes given cstring and gives position of first matching
Definition string.c:252
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
a type that holds an array of data and its size
Definition array.h:13
- - -
int32_t y
Definition point.h:12
-
int32_t x
Definition point.h:11
- -
substring position within a string
Definition string.h:14
-
uint64_t length
Definition string.h:16
-
char * data
Definition string.h:15
-
- - -
- - diff --git a/doc/doxygen/html/da/d66/string_8h.html b/doc/doxygen/html/da/d66/string_8h.html deleted file mode 100644 index 490e0af..0000000 --- a/doc/doxygen/html/da/d66/string_8h.html +++ /dev/null @@ -1,1493 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/string.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
string.h File Reference
-
-
-
#include <stdint.h>
-#include "bool.h"
-
-

Go to the source code of this file.

- - - - - -

-Data Structures

struct  ARC_String
 substring position within a string More...
 
- - - - -

-Typedefs

typedef struct ARC_String ARC_String
 substring position within a string
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_String_Create (ARC_String **string, char *data, uint64_t length)
 creates ARC_String type
 
void ARC_String_CreateWithStrlen (ARC_String **string, char *data)
 creates ARC_String type with strinlen
 
void ARC_String_CreateEmpty (ARC_String **string, uint64_t length)
 creates an empty ARC_String type, useful if you want to add to the string over time without having to keep adding to the size
 
void ARC_String_Destroy (ARC_String *string)
 destroys ARC_String type
 
void ARC_String_Copy (ARC_String **copy, ARC_String *original)
 copy a ARC_String
 
void ARC_String_CopySubstring (ARC_String **substring, ARC_String *original, uint64_t start, uint64_t length)
 copy a subtring from a givin ARC_String
 
void ARC_String_ReplaceWithSubstring (ARC_String **string, uint64_t start, uint64_t length)
 replaces a string with a section of itself
 
void ARC_String_RemoveSubstring (ARC_String **newString, ARC_String *original, ARC_String *substring)
 copy a subtring from a givin ARC_String
 
void ARC_String_Append (ARC_String **string, ARC_String *append)
 appends to an ARC_String with an ARC_String
 
void ARC_String_AppendCString (ARC_String **string, const char *cstring, uint64_t length)
 appends to an ARC_String with an ARC_String
 
void ARC_String_AppendCStringWithStrlen (ARC_String **string, const char *cstring)
 appends to an ARC_String with an ARC_String
 
ARC_Bool ARC_String_Equals (ARC_String *first, ARC_String *second)
 checks if two strings are the same
 
ARC_Bool ARC_String_EqualsCString (ARC_String *string, const char *cstring, uint64_t length)
 check if ARC_String and cstring match
 
ARC_Bool ARC_String_EqualsCStringWithStrlen (ARC_String *string, const char *cstring)
 check if ARC_String and cstring match
 
ARC_Bool ARC_String_SubstringEquals (ARC_String *first, uint64_t offset, ARC_String *second)
 check if substring of first equals second string
 
ARC_Bool ARC_String_SubstringEqualsCString (ARC_String *string, uint64_t offset, const char *cstring, uint64_t length)
 check if ARC_String and cstring match
 
ARC_Bool ARC_String_IsAlpha (ARC_String *string)
 checks if string is alphabetic
 
ARC_Bool ARC_String_IsNumeric (ARC_String *string)
 checks if string is made out of only numbers
 
uint64_t ARC_String_ToUint64_t (ARC_String *string)
 converst substring from string to uint64_t
 
int64_t ARC_String_ToInt64_t (ARC_String *string)
 converst substring from string to int64_t
 
double ARC_String_ToDouble (ARC_String *string)
 converst substring from string to double
 
uint64_t ARC_String_Find (ARC_String *string, ARC_String *substring)
 takes a given string, and assigns index and length for position of first matching substring
 
uint64_t ARC_String_FindCString (ARC_String *string, const char *cstring, uint64_t length)
 takes given cstring and gives position of first matching
 
uint64_t ARC_String_FindCStringWithStrlen (ARC_String *string, const char *cstring)
 takes given cstring and gives position of first matching
 
uint64_t ARC_String_FindBack (ARC_String *string, ARC_String *substring)
 takes a given string, and assigns index and length for position of last matching substring
 
uint64_t ARC_String_FindBackCString (ARC_String *string, const char *cstring, uint64_t length)
 takes a given cstring and give position of last matching
 
uint64_t ARC_String_FindBackCStringWithStrlen (ARC_String *string, const char *cstring)
 takes a given cstring and give position of last matching
 
void ARC_String_StripEnds (ARC_String **stripped, ARC_String *original, char charToStrip)
 strips the ends based on a given char
 
void ARC_String_StripWhitespace (ARC_String **stripped, ARC_String *original)
 strips whitespace from a ARC_String
 
void ARC_String_StripEndsWhitespace (ARC_String **stripped, ARC_String *original)
 strips the whitespace from the ends of a string
 
void ARC_String_Merge (ARC_String **combined, ARC_String *first, ARC_String *second)
 merges two strings together
 
void ARC_String_RemoveSection (ARC_String **newString, ARC_String *original, uint64_t removeIndex, uint64_t removeLength)
 copy a subtring from a givin ARC_String
 
void ARC_String_ReplaceMatching (ARC_String **string, ARC_String *pattern, ARC_String *replacement)
 replaces characters in string matching the given pattern
 
void ARC_String_CopyReplaceMatching (ARC_String **newString, ARC_String *original, ARC_String *pattern, ARC_String *replacement)
 replaces characters in a copy of a string matching the given pattern
 
void ARC_String_ReplaceMatchingCString (ARC_String **string, char *patternCString, uint64_t patternLength, char *replacementCString, uint64_t replacementLength)
 replaces characters in string matching the given pattern
 
void ARC_String_ReplaceMatchingCStringWithStrlen (ARC_String **string, char *patternCString, char *replacement)
 replaces characters in string matching the given pattern
 
-

Typedef Documentation

- -

◆ ARC_String

- -
-
- - - - -
typedef struct ARC_String ARC_String
-
- -

substring position within a string

- -
-
-

Function Documentation

- -

◆ ARC_String_Append()

- -
-
- - - - - - - - - - - -
void ARC_String_Append (ARC_String ** string,
ARC_String * append )
-
- -

appends to an ARC_String with an ARC_String

-
Note
this uses ARC_String_AppendCString, so debug logs will be thrown in that function not this one
-
Parameters
- - - -
stringthe string to add to, will not change on error
appendthe string that will be added to the back of string
-
-
- -
-
- -

◆ ARC_String_AppendCString()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_String_AppendCString (ARC_String ** string,
const char * cstring,
uint64_t length )
-
- -

appends to an ARC_String with an ARC_String

-
Parameters
- - - - -
stringthe string to add to, will not change on error
cstringthe cstring that will be added to the back of string
lengththe length of the cstring that is being added
-
-
- -
-
- -

◆ ARC_String_AppendCStringWithStrlen()

- -
-
- - - - - - - - - - - -
void ARC_String_AppendCStringWithStrlen (ARC_String ** string,
const char * cstring )
-
- -

appends to an ARC_String with an ARC_String

-
Note
this uses ARC_String_AppendCString, so debug logs will be thrown in that function not this one
-
Parameters
- - - -
stringthe string to add to, will not change on error
cstringthe cstring that will be added to the back of string
-
-
- -
-
- -

◆ ARC_String_Copy()

- -
-
- - - - - - - - - - - -
void ARC_String_Copy (ARC_String ** copy,
ARC_String * original )
-
- -

copy a ARC_String

-
Parameters
- - - -
copycopy of oldString, will be set to NULL on error
originaloriginal string that is being copied
-
-
- -
-
- -

◆ ARC_String_CopyReplaceMatching()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_String_CopyReplaceMatching (ARC_String ** newString,
ARC_String * original,
ARC_String * pattern,
ARC_String * replacement )
-
- -

replaces characters in a copy of a string matching the given pattern

-
Note
original will not be modified
-
-newString will need to be destroyed if it is not set to NULL
-
Parameters
- - - - - -
newStringan empty string that this function will fill with a copy with replacements, will be set to NULL and arc_errno set on fail
originalthe original string that will be copied
patternthe pattern to replace in the string on match
replacementthe string that will replace the matched pattern
-
-
- -
-
- -

◆ ARC_String_CopySubstring()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_String_CopySubstring (ARC_String ** substring,
ARC_String * original,
uint64_t start,
uint64_t length )
-
- -

copy a subtring from a givin ARC_String

-
Parameters
- - - - - -
substringnew coppied substring, will be null on error
originalstring to copy substring from
startstarting index in relation on original
lengthlength of substring that is being created
-
-
- -
-
- -

◆ ARC_String_Create()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_String_Create (ARC_String ** string,
char * data,
uint64_t length )
-
- -

creates ARC_String type

-
Parameters
- - - - -
stringARC_String to create
datacstring that will be stored in ARC_String
lengthlength of ARC_String
-
-
- -
-
- -

◆ ARC_String_CreateEmpty()

- -
-
- - - - - - - - - - - -
void ARC_String_CreateEmpty (ARC_String ** string,
uint64_t length )
-
- -

creates an empty ARC_String type, useful if you want to add to the string over time without having to keep adding to the size

-
Parameters
- - - -
stringARC_String to create
lengthlength of ARC_String
-
-
- -
-
- -

◆ ARC_String_CreateWithStrlen()

- -
-
- - - - - - - - - - - -
void ARC_String_CreateWithStrlen (ARC_String ** string,
char * data )
-
- -

creates ARC_String type with strinlen

-
Parameters
- - - -
stringARC_String to create
datacstring that will be stored in ARC_String
-
-
- -
-
- -

◆ ARC_String_Destroy()

- -
-
- - - - - - - -
void ARC_String_Destroy (ARC_String * string)
-
- -

destroys ARC_String type

-
Parameters
- - -
stringstring that will be destroyed
-
-
- -
-
- -

◆ ARC_String_Equals()

- -
-
- - - - - - - - - - - -
ARC_Bool ARC_String_Equals (ARC_String * first,
ARC_String * second )
-
- -

checks if two strings are the same

-
Parameters
- - - -
firststring to check against second
secondstring to check against first
-
-
-
Returns
ARC_True if match, ARC_False if they don't match
- -
-
- -

◆ ARC_String_EqualsCString()

- -
-
- - - - - - - - - - - - - - - - -
ARC_Bool ARC_String_EqualsCString (ARC_String * string,
const char * cstring,
uint64_t length )
-
- -

check if ARC_String and cstring match

-
Parameters
- - - - -
stringARC_string to check
cstringcstring to check
lengthlength of cstring
-
-
-
Returns
ARC_True if match, ARC_False if they don't match
- -
-
- -

◆ ARC_String_EqualsCStringWithStrlen()

- -
-
- - - - - - - - - - - -
ARC_Bool ARC_String_EqualsCStringWithStrlen (ARC_String * string,
const char * cstring )
-
- -

check if ARC_String and cstring match

-
Note
will use strlen to get the length of the cstring
-
Parameters
- - - -
stringARC_string to check
cstringcstring to check
-
-
-
Returns
ARC_True if match, ARC_False if they don't match
- -
-
- -

◆ ARC_String_Find()

- -
-
- - - - - - - - - - - -
uint64_t ARC_String_Find (ARC_String * string,
ARC_String * substring )
-
- -

takes a given string, and assigns index and length for position of first matching substring

-
Parameters
- - - -
stringthe string that will be searched
substrsubstring to find within string
-
-
-
Returns
~(uint64_t)0 on error, anything else on success
- -
-
- -

◆ ARC_String_FindBack()

- -
-
- - - - - - - - - - - -
uint64_t ARC_String_FindBack (ARC_String * string,
ARC_String * substring )
-
- -

takes a given string, and assigns index and length for position of last matching substring

-
Parameters
- - - -
stringthe string that will be searched
substrsubstring to find within string
-
-
-
Returns
~(uint64_t)0 on error, anything else on success
- -
-
- -

◆ ARC_String_FindBackCString()

- -
-
- - - - - - - - - - - - - - - - -
uint64_t ARC_String_FindBackCString (ARC_String * string,
const char * cstring,
uint64_t length )
-
- -

takes a given cstring and give position of last matching

-
Parameters
- - - - -
stringthe string that will be searched
cstringthe cstring to find within string
lengththe length of cstring
-
-
-
Returns
~(uint64_t)0 on error, anything else on success
- -
-
- -

◆ ARC_String_FindBackCStringWithStrlen()

- -
-
- - - - - - - - - - - -
uint64_t ARC_String_FindBackCStringWithStrlen (ARC_String * string,
const char * cstring )
-
- -

takes a given cstring and give position of last matching

-
Note
will use strlen to get the length of the cstring
-
Parameters
- - - -
stringthe string that will be searched
cstringthe cstring to find within string
-
-
-
Returns
~(uint64_t)0 on error, anything else on success
- -
-
- -

◆ ARC_String_FindCString()

- -
-
- - - - - - - - - - - - - - - - -
uint64_t ARC_String_FindCString (ARC_String * string,
const char * cstring,
uint64_t length )
-
- -

takes given cstring and gives position of first matching

-
Parameters
- - - - -
stringthe string that will be searched
cstringthe cstring to find within string
lengththe length of cstring
-
-
-
Returns
~(uint64_t)0 on error, anything else on success
- -
-
- -

◆ ARC_String_FindCStringWithStrlen()

- -
-
- - - - - - - - - - - -
uint64_t ARC_String_FindCStringWithStrlen (ARC_String * string,
const char * cstring )
-
- -

takes given cstring and gives position of first matching

-
Note
will use strlen to get the length of the cstring
-
Parameters
- - - -
stringthe string that will be searched
cstringthe cstring to find within string
-
-
-
Returns
~(uint64_t)0 on error, anything else on success
- -
-
- -

◆ ARC_String_IsAlpha()

- -
-
- - - - - - - -
ARC_Bool ARC_String_IsAlpha (ARC_String * string)
-
- -

checks if string is alphabetic

-
Parameters
- - -
stringstring to check
-
-
-
Returns
ARC_True if alphabetic, ARC_False if not alphabetic
- -
-
- -

◆ ARC_String_IsNumeric()

- -
-
- - - - - - - -
ARC_Bool ARC_String_IsNumeric (ARC_String * string)
-
- -

checks if string is made out of only numbers

-
Parameters
- - -
stringstring to check
-
-
-
Returns
ARC_True if it is numeric, ARC_False if it is not numeric
- -
-
- -

◆ ARC_String_Merge()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_String_Merge (ARC_String ** combined,
ARC_String * first,
ARC_String * second )
-
- -

merges two strings together

-
Parameters
- - - - -
combinednew ARC_String of combined strings frist + second
firstfirst part of string to combine
secondsecond part of string to combine
-
-
- -
-
- -

◆ ARC_String_RemoveSection()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_String_RemoveSection (ARC_String ** newString,
ARC_String * original,
uint64_t removeIndex,
uint64_t removeLength )
-
- -

copy a subtring from a givin ARC_String

-
Parameters
- - - - - -
newStringnew string without specified section, will be NULL on error
originalstring to remove section from
removeIndexstarting index in relation on original of what is to be removed
removeLengthlength of section that is being removed
-
-
- -
-
- -

◆ ARC_String_RemoveSubstring()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_String_RemoveSubstring (ARC_String ** newString,
ARC_String * original,
ARC_String * substring )
-
- -

copy a subtring from a givin ARC_String

-
Parameters
- - - - -
newStringstring that doesn't have substring in it, will be null on error
originalstring to remove substring from
substringsubstring to remove
-
-
- -
-
- -

◆ ARC_String_ReplaceMatching()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_String_ReplaceMatching (ARC_String ** string,
ARC_String * pattern,
ARC_String * replacement )
-
- -

replaces characters in string matching the given pattern

-
Note
this uses ARC_String_CopyReplaceMatching, so debug logs will be thrown in that function not this one
-
Parameters
- - - - -
stringthe string that will be modified, will discard changes and set arc_errno on fail
patternthe pattern to replace in the string on match
replacementthe string that will replace the matched pattern
-
-
- -
-
- -

◆ ARC_String_ReplaceMatchingCString()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
void ARC_String_ReplaceMatchingCString (ARC_String ** string,
char * patternCString,
uint64_t patternLength,
char * replacementCString,
uint64_t replacementLength )
-
- -

replaces characters in string matching the given pattern

-
Parameters
- - - - - - -
stringthe string that will be modified, will discard changes and set arc_errno on fail
patternCStringthe cstring pattern to replace in the string on match
patternLengththe lenght of the cstring pattern
replacementCstringthe cstring that will replace the matched pattern
replacementLengththe length of the cstring replacement
-
-
- -
-
- -

◆ ARC_String_ReplaceMatchingCStringWithStrlen()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_String_ReplaceMatchingCStringWithStrlen (ARC_String ** string,
char * patternCString,
char * replacement )
-
- -

replaces characters in string matching the given pattern

-
Note
this uses ARC_String_ReplaceMatchingCString, so debug logs will be thrown in that function not this one
-
Parameters
- - - - -
stringthe string that will be modified, will discard changes and set arc_errno on fail
patternCStringthe cstring pattern to replace in the string on match
replacementCstringthe cstring that will replace the matched pattern
-
-
- -
-
- -

◆ ARC_String_ReplaceWithSubstring()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_String_ReplaceWithSubstring (ARC_String ** string,
uint64_t start,
uint64_t length )
-
- -

replaces a string with a section of itself

-
Note
this uses ARC_String_CopySubstring so errors logs will be thrown in that function not this one
-
Parameters
- - - - -
stringthe string to replace, will not change on error
startthe starting index of the substring
lengththe length of the substring
-
-
- -
-
- -

◆ ARC_String_StripEnds()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_String_StripEnds (ARC_String ** stripped,
ARC_String * original,
char charToStrip )
-
- -

strips the ends based on a given char

-
Parameters
- - - - -
strippedwhere to store the string which has witespace stripped will be null if there is an error
originalthe string which whill have the matching char stripped from
charToStripthe char that will be stripped from the ends
-
-
- -
-
- -

◆ ARC_String_StripEndsWhitespace()

- -
-
- - - - - - - - - - - -
void ARC_String_StripEndsWhitespace (ARC_String ** stripped,
ARC_String * original )
-
- -

strips the whitespace from the ends of a string

-
Parameters
- - - -
strippedwhere to store the string which has witespace stripped from the ends will be null if there is an error
originalthe string which whill have the whitespace stripped from its ends
-
-
- -
-
- -

◆ ARC_String_StripWhitespace()

- -
-
- - - - - - - - - - - -
void ARC_String_StripWhitespace (ARC_String ** stripped,
ARC_String * original )
-
- -

strips whitespace from a ARC_String

-
Parameters
- - - -
strippedwhere to store the string which has witespace stripped will be null if there is an error
originalthe string which whill have whitespace stripped from
-
-
- -
-
- -

◆ ARC_String_SubstringEquals()

- -
-
- - - - - - - - - - - - - - - - -
ARC_Bool ARC_String_SubstringEquals (ARC_String * first,
uint64_t offset,
ARC_String * second )
-
- -

check if substring of first equals second string

-
Parameters
- - - - -
firststring to check against second
offsetpostion based on first to start comparing against second
secondstring to check against first
-
-
-
Returns
ARC_True if match, ARC_False if they don't match
- -
-
- -

◆ ARC_String_SubstringEqualsCString()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
ARC_Bool ARC_String_SubstringEqualsCString (ARC_String * string,
uint64_t offset,
const char * cstring,
uint64_t length )
-
- -

check if ARC_String and cstring match

-
Parameters
- - - - - -
stringARC_string to check
offsetpostion based on string to start comparing against cstring
cstringcstring to check
lengthlength of cstring
-
-
-
Returns
ARC_True if match, ARC_False if they don't match
- -
-
- -

◆ ARC_String_ToDouble()

- -
-
- - - - - - - -
double ARC_String_ToDouble (ARC_String * string)
-
- -

converst substring from string to double

-
Parameters
- - -
stringstring to convert to double
-
-
-
Returns
double converted number
- -
-
- -

◆ ARC_String_ToInt64_t()

- -
-
- - - - - - - -
int64_t ARC_String_ToInt64_t (ARC_String * string)
-
- -

converst substring from string to int64_t

-
Parameters
- - -
stringstring to convert to int64_t
-
-
-
Returns
int64_t converted number
- -
-
- -

◆ ARC_String_ToUint64_t()

- -
-
- - - - - - - -
uint64_t ARC_String_ToUint64_t (ARC_String * string)
-
- -

converst substring from string to uint64_t

-
Parameters
- - -
stringstring to convert to uint64_t
-
-
-
Returns
uint64_t converted number
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/da/d66/string_8h.js b/doc/doxygen/html/da/d66/string_8h.js deleted file mode 100644 index 83d1f8b..0000000 --- a/doc/doxygen/html/da/d66/string_8h.js +++ /dev/null @@ -1,41 +0,0 @@ -var string_8h = -[ - [ "ARC_String", "df/d06/structARC__String.html", "df/d06/structARC__String" ], - [ "ARC_String", "da/d66/string_8h.html#aa62bffc0a6f0d36e7f4ca6c76ed7d224", null ], - [ "ARC_String_Append", "da/d66/string_8h.html#a9576075f09dfbbbb2f3184b5e22920ee", null ], - [ "ARC_String_AppendCString", "da/d66/string_8h.html#a62f1a304befda4abb8258f760489c3a3", null ], - [ "ARC_String_AppendCStringWithStrlen", "da/d66/string_8h.html#a26e2b9243b6a267fef716616f6af03cc", null ], - [ "ARC_String_Copy", "da/d66/string_8h.html#a858b5bc28ef8a7a3378c3a73518f3894", null ], - [ "ARC_String_CopyReplaceMatching", "da/d66/string_8h.html#a77e13f5ca3011539b4b59e2c84195d50", null ], - [ "ARC_String_CopySubstring", "da/d66/string_8h.html#a46afa17a4032d39ad0df4687671708ed", null ], - [ "ARC_String_Create", "da/d66/string_8h.html#a709d2bb4b120569a636e0afdf5e8f1d0", null ], - [ "ARC_String_CreateEmpty", "da/d66/string_8h.html#ab490665902a439aeca2ac9e22a2ef16c", null ], - [ "ARC_String_CreateWithStrlen", "da/d66/string_8h.html#a5cc6bf2a8e4cba4e60f3ec51db3ea04f", null ], - [ "ARC_String_Destroy", "da/d66/string_8h.html#ac63d17182fd14297f5e7021488d74e35", null ], - [ "ARC_String_Equals", "da/d66/string_8h.html#abbb398cb869b22acdcf9b9f78fdef484", null ], - [ "ARC_String_EqualsCString", "da/d66/string_8h.html#a462b22bb7a5994b3cad7c752e7bd430b", null ], - [ "ARC_String_EqualsCStringWithStrlen", "da/d66/string_8h.html#a8263ad0461c0261c9d410264e80c6f63", null ], - [ "ARC_String_Find", "da/d66/string_8h.html#aceafae33cc96443b39a9833dace2920b", null ], - [ "ARC_String_FindBack", "da/d66/string_8h.html#a494719688ca2f9619b439a780b6d21c8", null ], - [ "ARC_String_FindBackCString", "da/d66/string_8h.html#a7caed0e2aa274aa979ed70f6c43c9cc2", null ], - [ "ARC_String_FindBackCStringWithStrlen", "da/d66/string_8h.html#a56f9ec8e9c7be41013336d1be43b52c0", null ], - [ "ARC_String_FindCString", "da/d66/string_8h.html#ab0d31ccb3fdcc52b28d6f6dc37dd517e", null ], - [ "ARC_String_FindCStringWithStrlen", "da/d66/string_8h.html#a39095ee912ec30c12ae83c4e69a7f96d", null ], - [ "ARC_String_IsAlpha", "da/d66/string_8h.html#ac4f8e05da0ee56b42e6fd43ff0316b37", null ], - [ "ARC_String_IsNumeric", "da/d66/string_8h.html#ae6ff477296333f710b646e44cb1143cc", null ], - [ "ARC_String_Merge", "da/d66/string_8h.html#a2cd0441218a01c2fa51b72af7f3aec33", null ], - [ "ARC_String_RemoveSection", "da/d66/string_8h.html#adbfcd7207e69a681c4917c78979846c7", null ], - [ "ARC_String_RemoveSubstring", "da/d66/string_8h.html#a0d3876994334bfa182b0618eec40c2db", null ], - [ "ARC_String_ReplaceMatching", "da/d66/string_8h.html#aff0057fe8494488577e1def0d4d45d35", null ], - [ "ARC_String_ReplaceMatchingCString", "da/d66/string_8h.html#ad1460b8672ce7bbcca12dfa624ab718c", null ], - [ "ARC_String_ReplaceMatchingCStringWithStrlen", "da/d66/string_8h.html#a26eaf34ae33fb6a4ed83ca6588053fa3", null ], - [ "ARC_String_ReplaceWithSubstring", "da/d66/string_8h.html#adb1300975ff401b06cb3911dd01df67a", null ], - [ "ARC_String_StripEnds", "da/d66/string_8h.html#adb34b011844da1396f819beed7f3c2e7", null ], - [ "ARC_String_StripEndsWhitespace", "da/d66/string_8h.html#a07793784e6f8abd41292c90bb5b20005", null ], - [ "ARC_String_StripWhitespace", "da/d66/string_8h.html#ab5b73947baed7314b0a6d604f024622d", null ], - [ "ARC_String_SubstringEquals", "da/d66/string_8h.html#a8eef7eb3d72db140b4e386fdbfe3cb1d", null ], - [ "ARC_String_SubstringEqualsCString", "da/d66/string_8h.html#aa14072c999b1f1019273432c7f3d2037", null ], - [ "ARC_String_ToDouble", "da/d66/string_8h.html#ad4935cb88cdf297ea99df5148001941a", null ], - [ "ARC_String_ToInt64_t", "da/d66/string_8h.html#a1221952a590f38856fc794c8ba1f3494", null ], - [ "ARC_String_ToUint64_t", "da/d66/string_8h.html#a04c1e07bdeede187ad7375dfc5283e99", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/da/d66/string_8h_source.html b/doc/doxygen/html/da/d66/string_8h_source.html deleted file mode 100644 index b118cde..0000000 --- a/doc/doxygen/html/da/d66/string_8h_source.html +++ /dev/null @@ -1,554 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/string.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
string.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_STD_STRING_H_
-
2#define ARC_STD_STRING_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include <stdint.h>
-
9#include "bool.h"
-
10
-
11/**
-
12 * @brief substring position within a string
-
13*/
-
-
14typedef struct ARC_String {
-
15 char *data;
-
16 uint64_t length;
- -
-
18
-
19/**
-
20 * @brief creates ARC_String type
-
21 *
-
22 * @param string ARC_String to create
-
23 * @param data cstring that will be stored in ARC_String
-
24 * @param length length of ARC_String
-
25 */
-
26void ARC_String_Create(ARC_String **string, char *data, uint64_t length);
-
27
-
28/**
-
29 * @brief creates ARC_String type with strinlen
-
30 *
-
31 * @param string ARC_String to create
-
32 * @param data cstring that will be stored in ARC_String
-
33 */
-
34void ARC_String_CreateWithStrlen(ARC_String **string, char *data);
-
35
-
36/**
-
37 * @brief creates an empty ARC_String type, useful if you want to add to the string over time without having to keep adding to the size
-
38 *
-
39 * @param string ARC_String to create
-
40 * @param length length of ARC_String
-
41 */
-
42void ARC_String_CreateEmpty(ARC_String **string, uint64_t length);
-
43
-
44/**
-
45 * @brief destroys ARC_String type
-
46 *
-
47 * @param string string that will be destroyed
-
48 */
- -
50
-
51/**
-
52 * @brief copy a ARC_String
-
53 *
-
54 * @param copy copy of oldString, will be set to NULL on error
-
55 * @param original original string that is being copied
-
56*/
-
57void ARC_String_Copy(ARC_String **copy, ARC_String *original);
-
58
-
59/**
-
60 * @brief copy a subtring from a givin ARC_String
-
61 *
-
62 * @param substring new coppied substring, will be null on error
-
63 * @param original string to copy substring from
-
64 * @param start starting index in relation on original
-
65 * @param length length of substring that is being created
-
66*/
-
67void ARC_String_CopySubstring(ARC_String **substring, ARC_String *original, uint64_t start, uint64_t length);
-
68
-
69/**
-
70 * @brief replaces a string with a section of itself
-
71 *
-
72 * @note this uses ARC_String_CopySubstring so errors logs will be thrown in that function not this one
-
73 *
-
74 * @param string the string to replace, will not change on error
-
75 * @param start the starting index of the substring
-
76 * @param length the length of the substring
-
77*/
-
78void ARC_String_ReplaceWithSubstring(ARC_String **string, uint64_t start, uint64_t length);
-
79
-
80/**
-
81 * @brief copy a subtring from a givin ARC_String
-
82 *
-
83 * @param newString string that doesn't have substring in it, will be null on error
-
84 * @param original string to remove substring from
-
85 * @param substring substring to remove
-
86*/
-
87void ARC_String_RemoveSubstring(ARC_String **newString, ARC_String *original, ARC_String *substring);
-
88
-
89/**
-
90 * @brief appends to an ARC_String with an ARC_String
-
91 *
-
92 * @note this uses ARC_String_AppendCString, so debug logs will be thrown in that function not this one
-
93 *
-
94 * @param string the string to add to, will not change on error
-
95 * @param append the string that will be added to the back of string
-
96*/
-
97void ARC_String_Append(ARC_String **string, ARC_String *append);
-
98
-
99/**
-
100 * @brief appends to an ARC_String with an ARC_String
-
101 *
-
102 * @param string the string to add to, will not change on error
-
103 * @param cstring the cstring that will be added to the back of string
-
104 * @param length the length of the cstring that is being added
-
105*/
-
106void ARC_String_AppendCString(ARC_String **string, const char *cstring, uint64_t length);
-
107
-
108/**
-
109 * @brief appends to an ARC_String with an ARC_String
-
110 *
-
111 * @note this uses ARC_String_AppendCString, so debug logs will be thrown in that function not this one
-
112 *
-
113 * @param string the string to add to, will not change on error
-
114 * @param cstring the cstring that will be added to the back of string
-
115*/
-
116void ARC_String_AppendCStringWithStrlen(ARC_String **string, const char *cstring);
-
117
-
118/**
-
119 * @brief checks if two strings are the same
-
120 *
-
121 * @param first string to check against second
-
122 * @param second string to check against first
-
123 *
-
124 * @return ARC_True if match, ARC_False if they don't match
-
125 */
- -
127
-
128/**
-
129 * @brief check if ARC_String and cstring match
-
130 *
-
131 * @param string ARC_string to check
-
132 * @param cstring cstring to check
-
133 * @param length length of cstring
-
134 *
-
135 * @return ARC_True if match, ARC_False if they don't match
-
136*/
-
137ARC_Bool ARC_String_EqualsCString(ARC_String *string, const char *cstring, uint64_t length);
-
138
-
139/**
-
140 * @brief check if ARC_String and cstring match
-
141 *
-
142 * @note will use strlen to get the length of the cstring
-
143 *
-
144 * @param string ARC_string to check
-
145 * @param cstring cstring to check
-
146 *
-
147 * @return ARC_True if match, ARC_False if they don't match
-
148*/
- -
150
-
151/**
-
152 * @brief check if substring of first equals second string
-
153 *
-
154 * @param first string to check against second
-
155 * @param offset postion based on first to start comparing against second
-
156 * @param second string to check against first
-
157 *
-
158 * @return ARC_True if match, ARC_False if they don't match
-
159*/
- -
161
-
162/**
-
163 * @brief check if ARC_String and cstring match
-
164 *
-
165 * @param string ARC_string to check
-
166 * @param offset postion based on string to start comparing against cstring
-
167 * @param cstring cstring to check
-
168 * @param length length of cstring
-
169 *
-
170 * @return ARC_True if match, ARC_False if they don't match
-
171*/
-
172ARC_Bool ARC_String_SubstringEqualsCString(ARC_String *string, uint64_t offset, const char *cstring, uint64_t length);
-
173
-
174/**
-
175 * @brief checks if string is alphabetic
-
176 *
-
177 * @param string string to check
-
178 *
-
179 * @return ARC_True if alphabetic, ARC_False if not alphabetic
-
180 */
- -
182
-
183/**
-
184 * @brief checks if string is made out of only numbers
-
185 *
-
186 * @param string string to check
-
187 *
-
188 * @return ARC_True if it is numeric, ARC_False if it is not numeric
-
189 */
- -
191
-
192/**
-
193 * @brief converst substring from string to uint64_t
-
194 *
-
195 * @param string string to convert to uint64_t
-
196 *
-
197 * @return uint64_t converted number
-
198*/
- -
200
-
201/**
-
202 * @brief converst substring from string to int64_t
-
203 *
-
204 * @param string string to convert to int64_t
-
205 *
-
206 * @return int64_t converted number
-
207*/
- -
209
-
210/**
-
211 * @brief converst substring from string to double
-
212 *
-
213 * @param string string to convert to double
-
214 *
-
215 * @return double converted number
-
216*/
- -
218
-
219/**
-
220 * @brief takes a given string, and assigns index and length for position of first matching substring
-
221 *
-
222 * @param string the string that will be searched
-
223 * @param substr substring to find within string
-
224 *
-
225 * @return ~(uint64_t)0 on error, anything else on success
-
226 */
-
227uint64_t ARC_String_Find(ARC_String *string, ARC_String *substring);
-
228
-
229/**
-
230 * @brief takes given cstring and gives position of first matching
-
231 *
-
232 * @param string the string that will be searched
-
233 * @param cstring the cstring to find within string
-
234 * @param length the length of cstring
-
235 *
-
236 * @return ~(uint64_t)0 on error, anything else on success
-
237*/
-
238uint64_t ARC_String_FindCString(ARC_String *string, const char *cstring, uint64_t length);
-
239
-
240/**
-
241 * @brief takes given cstring and gives position of first matching
-
242 *
-
243 * @note will use strlen to get the length of the cstring
-
244 *
-
245 * @param string the string that will be searched
-
246 * @param cstring the cstring to find within string
-
247 *
-
248 * @return ~(uint64_t)0 on error, anything else on success
-
249*/
-
250uint64_t ARC_String_FindCStringWithStrlen(ARC_String *string, const char *cstring);
-
251
-
252/**
-
253 * @brief takes a given string, and assigns index and length for position of last matching substring
-
254 *
-
255 * @param string the string that will be searched
-
256 * @param substr substring to find within string
-
257 *
-
258 * @return ~(uint64_t)0 on error, anything else on success
-
259 */
-
260uint64_t ARC_String_FindBack(ARC_String *string, ARC_String *substring);
-
261
-
262/**
-
263 * @brief takes a given cstring and give position of last matching
-
264 *
-
265 * @param string the string that will be searched
-
266 * @param cstring the cstring to find within string
-
267 * @param length the length of cstring
-
268 *
-
269 * @return ~(uint64_t)0 on error, anything else on success
-
270 */
-
271uint64_t ARC_String_FindBackCString(ARC_String *string, const char *cstring, uint64_t length);
-
272
-
273/**
-
274 * @brief takes a given cstring and give position of last matching
-
275 *
-
276 * @note will use strlen to get the length of the cstring
-
277 *
-
278 * @param string the string that will be searched
-
279 * @param cstring the cstring to find within string
-
280 *
-
281 * @return ~(uint64_t)0 on error, anything else on success
-
282 */
-
283uint64_t ARC_String_FindBackCStringWithStrlen(ARC_String *string, const char *cstring);
-
284
-
285/**
-
286 * @brief strips the ends based on a given char
-
287 *
-
288 * @param stripped where to store the string which has witespace stripped
-
289 * will be null if there is an error
-
290 * @param original the string which whill have the matching char stripped from
-
291 * @param charToStrip the char that will be stripped from the ends
-
292*/
-
293void ARC_String_StripEnds(ARC_String **stripped, ARC_String *original, char charToStrip);
-
294
-
295/**
-
296 * @brief strips whitespace from a ARC_String
-
297 *
-
298 * @param stripped where to store the string which has witespace stripped
-
299 * will be null if there is an error
-
300 * @param original the string which whill have whitespace stripped from
-
301*/
- -
303
-
304/**
-
305 * @brief strips the whitespace from the ends of a string
-
306 *
-
307 * @param stripped where to store the string which has witespace stripped from the ends
-
308 * will be null if there is an error
-
309 * @param original the string which whill have the whitespace stripped from its ends
-
310*/
- -
312
-
313/**
-
314 * @brief merges two strings together
-
315 *
-
316 * @param combined new ARC_String of combined strings frist + second
-
317 * @param first first part of string to combine
-
318 * @param second second part of string to combine
-
319*/
-
320void ARC_String_Merge(ARC_String **combined, ARC_String *first, ARC_String *second);
-
321
-
322/**
-
323 * @brief copy a subtring from a givin ARC_String
-
324 *
-
325 * @param newString new string without specified section, will be NULL on error
-
326 * @param original string to remove section from
-
327 * @param removeIndex starting index in relation on original of what is to be removed
-
328 * @param removeLength length of section that is being removed
-
329*/
-
330void ARC_String_RemoveSection(ARC_String **newString, ARC_String *original, uint64_t removeIndex, uint64_t removeLength);
-
331
-
332/**
-
333 * @brief replaces characters in string matching the given pattern
-
334 *
-
335 * @note this uses ARC_String_CopyReplaceMatching, so debug logs will be thrown in that function not this one
-
336 *
-
337 * @param string the string that will be modified, will discard changes and set arc_errno on fail
-
338 * @param pattern the pattern to replace in the string on match
-
339 * @param replacement the string that will replace the matched pattern
-
340*/
-
341void ARC_String_ReplaceMatching(ARC_String **string, ARC_String *pattern, ARC_String *replacement);
-
342
-
343/**
-
344 * @brief replaces characters in a copy of a string matching the given pattern
-
345 *
-
346 * @note original will not be modified
-
347 * @note newString will need to be destroyed if it is not set to NULL
-
348 *
-
349 * @param newString an empty string that this function will fill with a copy with replacements, will be set to NULL and arc_errno set on fail
-
350 * @param original the original string that will be copied
-
351 * @param pattern the pattern to replace in the string on match
-
352 * @param replacement the string that will replace the matched pattern
-
353*/
-
354void ARC_String_CopyReplaceMatching(ARC_String **newString, ARC_String *original, ARC_String *pattern, ARC_String *replacement);
-
355
-
356/**
-
357 * @brief replaces characters in string matching the given pattern
-
358 *
-
359 * @param string the string that will be modified, will discard changes and set arc_errno on fail
-
360 * @param patternCString the cstring pattern to replace in the string on match
-
361 * @param patternLength the lenght of the cstring pattern
-
362 * @param replacementCstring the cstring that will replace the matched pattern
-
363 * @param replacementLength the length of the cstring replacement
-
364*/
-
365void ARC_String_ReplaceMatchingCString(ARC_String **string, char *patternCString, uint64_t patternLength, char *replacementCString, uint64_t replacementLength);
-
366
-
367/**
-
368 * @brief replaces characters in string matching the given pattern
-
369 *
-
370 * @note this uses ARC_String_ReplaceMatchingCString, so debug logs will be thrown in that function not this one
-
371 *
-
372 * @param string the string that will be modified, will discard changes and set arc_errno on fail
-
373 * @param patternCString the cstring pattern to replace in the string on match
-
374 * @param replacementCstring the cstring that will replace the matched pattern
-
375*/
-
376void ARC_String_ReplaceMatchingCStringWithStrlen(ARC_String **string, char *patternCString, char *replacement);
-
377
-
378#ifdef __cplusplus
-
379}
-
380#endif
-
381
-
382#endif //ARC_STD_STRING_H_
- -
#define ARC_Bool
Definition bool.h:10
-
uint64_t ARC_String_ToUint64_t(ARC_String *string)
converst substring from string to uint64_t
-
void ARC_String_StripEndsWhitespace(ARC_String **stripped, ARC_String *original)
strips the whitespace from the ends of a string
-
void ARC_String_RemoveSubstring(ARC_String **newString, ARC_String *original, ARC_String *substring)
copy a subtring from a givin ARC_String
-
int64_t ARC_String_ToInt64_t(ARC_String *string)
converst substring from string to int64_t
-
void ARC_String_AppendCStringWithStrlen(ARC_String **string, const char *cstring)
appends to an ARC_String with an ARC_String
-
void ARC_String_ReplaceMatchingCStringWithStrlen(ARC_String **string, char *patternCString, char *replacement)
replaces characters in string matching the given pattern
-
void ARC_String_Merge(ARC_String **combined, ARC_String *first, ARC_String *second)
merges two strings together
-
uint64_t ARC_String_FindCStringWithStrlen(ARC_String *string, const char *cstring)
takes given cstring and gives position of first matching
-
ARC_Bool ARC_String_EqualsCString(ARC_String *string, const char *cstring, uint64_t length)
check if ARC_String and cstring match
-
void ARC_String_CopySubstring(ARC_String **substring, ARC_String *original, uint64_t start, uint64_t length)
copy a subtring from a givin ARC_String
-
uint64_t ARC_String_FindBack(ARC_String *string, ARC_String *substring)
takes a given string, and assigns index and length for position of last matching substring
-
uint64_t ARC_String_FindBackCStringWithStrlen(ARC_String *string, const char *cstring)
takes a given cstring and give position of last matching
-
void ARC_String_CreateWithStrlen(ARC_String **string, char *data)
creates ARC_String type with strinlen
-
void ARC_String_AppendCString(ARC_String **string, const char *cstring, uint64_t length)
appends to an ARC_String with an ARC_String
-
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
-
void ARC_String_CopyReplaceMatching(ARC_String **newString, ARC_String *original, ARC_String *pattern, ARC_String *replacement)
replaces characters in a copy of a string matching the given pattern
-
uint64_t ARC_String_FindBackCString(ARC_String *string, const char *cstring, uint64_t length)
takes a given cstring and give position of last matching
-
ARC_Bool ARC_String_EqualsCStringWithStrlen(ARC_String *string, const char *cstring)
check if ARC_String and cstring match
-
void ARC_String_Copy(ARC_String **copy, ARC_String *original)
copy a ARC_String
-
ARC_Bool ARC_String_SubstringEquals(ARC_String *first, uint64_t offset, ARC_String *second)
check if substring of first equals second string
-
void ARC_String_Append(ARC_String **string, ARC_String *append)
appends to an ARC_String with an ARC_String
-
ARC_Bool ARC_String_SubstringEqualsCString(ARC_String *string, uint64_t offset, const char *cstring, uint64_t length)
check if ARC_String and cstring match
-
struct ARC_String ARC_String
substring position within a string
-
uint64_t ARC_String_FindCString(ARC_String *string, const char *cstring, uint64_t length)
takes given cstring and gives position of first matching
-
void ARC_String_CreateEmpty(ARC_String **string, uint64_t length)
creates an empty ARC_String type, useful if you want to add to the string over time without having to...
-
void ARC_String_StripWhitespace(ARC_String **stripped, ARC_String *original)
strips whitespace from a ARC_String
-
ARC_Bool ARC_String_Equals(ARC_String *first, ARC_String *second)
checks if two strings are the same
-
ARC_Bool ARC_String_IsAlpha(ARC_String *string)
checks if string is alphabetic
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
-
uint64_t ARC_String_Find(ARC_String *string, ARC_String *substring)
takes a given string, and assigns index and length for position of first matching substring
-
void ARC_String_ReplaceMatchingCString(ARC_String **string, char *patternCString, uint64_t patternLength, char *replacementCString, uint64_t replacementLength)
replaces characters in string matching the given pattern
-
double ARC_String_ToDouble(ARC_String *string)
converst substring from string to double
-
void ARC_String_ReplaceWithSubstring(ARC_String **string, uint64_t start, uint64_t length)
replaces a string with a section of itself
-
void ARC_String_StripEnds(ARC_String **stripped, ARC_String *original, char charToStrip)
strips the ends based on a given char
-
void ARC_String_RemoveSection(ARC_String **newString, ARC_String *original, uint64_t removeIndex, uint64_t removeLength)
copy a subtring from a givin ARC_String
-
ARC_Bool ARC_String_IsNumeric(ARC_String *string)
checks if string is made out of only numbers
-
void ARC_String_ReplaceMatching(ARC_String **string, ARC_String *pattern, ARC_String *replacement)
replaces characters in string matching the given pattern
-
substring position within a string
Definition string.h:14
-
uint64_t length
Definition string.h:16
-
char * data
Definition string.h:15
-
-
- - - - - - diff --git a/doc/doxygen/html/da/d6c/tests_8dir_2src_2math_2point_8c_8o_8d.html b/doc/doxygen/html/da/d6c/tests_8dir_2src_2math_2point_8c_8o_8d.html deleted file mode 100644 index 55e485a..0000000 --- a/doc/doxygen/html/da/d6c/tests_8dir_2src_2math_2point_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/math/point.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
point.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/da/d6c/tests_8dir_2src_2math_2point_8c_8o_8d_source.html b/doc/doxygen/html/da/d6c/tests_8dir_2src_2math_2point_8c_8o_8d_source.html deleted file mode 100644 index ab244be..0000000 --- a/doc/doxygen/html/da/d6c/tests_8dir_2src_2math_2point_8c_8o_8d_source.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/math/point.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
point.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/math/point.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/math/point.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h
-
-
- - - - - - diff --git a/doc/doxygen/html/da/d80/text_8c.html b/doc/doxygen/html/da/d80/text_8c.html deleted file mode 100644 index d6c70d5..0000000 --- a/doc/doxygen/html/da/d80/text_8c.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/text.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
text.c File Reference
-
- - - -
- - diff --git a/doc/doxygen/html/da/d80/text_8c_source.html b/doc/doxygen/html/da/d80/text_8c_source.html deleted file mode 100644 index e494bc0..0000000 --- a/doc/doxygen/html/da/d80/text_8c_source.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/text.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
text.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_GRAPHICS
-
2
-
3#include "arc/graphics/text.h"
-
4#include <stdio.h>
-
5
-
6void ARC_Text_Create(ARC_Text **text, ARC_String *path, int32_t size, ARC_Color color){
-
7 printf("No Graphics Backend Selected\n");
-
8}
-
9
-
10void ARC_Text_Destroy(ARC_Text *font){
-
11 printf("No Graphics Backend Selected\n");
-
12}
-
13
-
14void ARC_Text_SetString(ARC_Text *text, ARC_Renderer *renderer, ARC_String *string){
-
15 printf("No Graphics Backend Selected\n");
-
16}
-
17
-
18void ARC_Text_Render(ARC_Text *text, ARC_Renderer *renderer){
-
19 printf("No Graphics Backend Selected\n");
-
20}
-
21
-
22void ARC_Text_SetPos(ARC_Text *text, ARC_Point pos){
-
23 printf("No Graphics Backend Selected\n");
-
24}
-
25
-
26#endif // !ARC_NONE_GRAPHICS
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- - -
substring position within a string
Definition string.h:14
- -
struct ARC_Text ARC_Text
Definition text.h:14
-
void ARC_Text_SetString(ARC_Text *text, ARC_Renderer *renderer, ARC_String *string)
-
void ARC_Text_Create(ARC_Text **text, ARC_String *path, int32_t size, ARC_Color color)
-
void ARC_Text_Destroy(ARC_Text *font)
-
void ARC_Text_Render(ARC_Text *text, ARC_Renderer *renderer)
-
void ARC_Text_SetPos(ARC_Text *text, ARC_Point pos)
-
- - -
- - diff --git a/doc/doxygen/html/da/d9a/none_2window_8h.html b/doc/doxygen/html/da/d9a/none_2window_8h.html deleted file mode 100644 index 0feddb5..0000000 --- a/doc/doxygen/html/da/d9a/none_2window_8h.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/none/window.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
window.h File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/da/d9a/none_2window_8h_source.html b/doc/doxygen/html/da/d9a/none_2window_8h_source.html deleted file mode 100644 index 92d140b..0000000 --- a/doc/doxygen/html/da/d9a/none_2window_8h_source.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/none/window.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
window.h
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_WINDOW
-
2
-
3#ifndef ARC_NONE_WINDOW_H_
-
4#define ARC_NONE_WINDOW_H_
-
5
-
6//#include "arc/graphics/window.h"
-
7
-
8//typedef void ARC_WindowType;
-
9
-
10#endif // !ARC_SDL_WINDOW_H_
-
11
-
12#endif // !ARC_NONE_WINDOW
-
-
- - - - - - diff --git a/doc/doxygen/html/da/d9d/archeus__std_8dir_2src_2std_2chemical_8c_8o_8d.html b/doc/doxygen/html/da/d9d/archeus__std_8dir_2src_2std_2chemical_8c_8o_8d.html deleted file mode 100644 index c92cd10..0000000 --- a/doc/doxygen/html/da/d9d/archeus__std_8dir_2src_2std_2chemical_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/chemical.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
chemical.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/da/d9d/archeus__std_8dir_2src_2std_2chemical_8c_8o_8d_source.html b/doc/doxygen/html/da/d9d/archeus__std_8dir_2src_2std_2chemical_8c_8o_8d_source.html deleted file mode 100644 index 12abc29..0000000 --- a/doc/doxygen/html/da/d9d/archeus__std_8dir_2src_2std_2chemical_8c_8o_8d_source.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/chemical.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
chemical.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/std/chemical.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/chemical.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/chemical.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h \
-
15 /home/herbglitch/programs/archeus/arc/include/arc/std/parser.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/std/array.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/std/lexer.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
21 /home/herbglitch/programs/archeus/arc/include/arc/std/vector.h \
-
22 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
23 /home/herbglitch/programs/archeus/arc/include/arc/std/parser/helpers.h \
-
24 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
25 /home/herbglitch/programs/archeus/arc/include/arc/std/hashtable.h \
-
26 /usr/include/stdlib.h /usr/include/bits/waitflags.h \
-
27 /usr/include/bits/waitstatus.h /usr/include/bits/floatn.h \
-
28 /usr/include/bits/floatn-common.h /usr/include/sys/types.h \
-
29 /usr/include/bits/types/clock_t.h /usr/include/bits/types/clockid_t.h \
-
30 /usr/include/bits/types/time_t.h /usr/include/bits/types/timer_t.h \
-
31 /usr/include/endian.h /usr/include/bits/endian.h \
-
32 /usr/include/bits/endianness.h /usr/include/bits/byteswap.h \
-
33 /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \
-
34 /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \
-
35 /usr/include/bits/types/__sigset_t.h \
-
36 /usr/include/bits/types/struct_timeval.h \
-
37 /usr/include/bits/types/struct_timespec.h \
-
38 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
39 /usr/include/bits/pthreadtypes-arch.h \
-
40 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
41 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
42 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/da/da4/tests_8dir_2src_2engine_2state_8c_8o_8d.html b/doc/doxygen/html/da/da4/tests_8dir_2src_2engine_2state_8c_8o_8d.html deleted file mode 100644 index 3e8a748..0000000 --- a/doc/doxygen/html/da/da4/tests_8dir_2src_2engine_2state_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/engine/state.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
state.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/da/da4/tests_8dir_2src_2engine_2state_8c_8o_8d_source.html b/doc/doxygen/html/da/da4/tests_8dir_2src_2engine_2state_8c_8o_8d_source.html deleted file mode 100644 index 3ae2cfb..0000000 --- a/doc/doxygen/html/da/da4/tests_8dir_2src_2engine_2state_8c_8o_8d_source.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/engine/state.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
state.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/engine/state.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/engine/state.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/engine/state.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h
-
-
- - - - - - diff --git a/doc/doxygen/html/da/db0/tests_8dir_2src_2engine_2engine_8c_8o_8d.html b/doc/doxygen/html/da/db0/tests_8dir_2src_2engine_2engine_8c_8o_8d.html deleted file mode 100644 index 4bdaae2..0000000 --- a/doc/doxygen/html/da/db0/tests_8dir_2src_2engine_2engine_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/engine/engine.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
engine.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/da/db0/tests_8dir_2src_2engine_2engine_8c_8o_8d_source.html b/doc/doxygen/html/da/db0/tests_8dir_2src_2engine_2engine_8c_8o_8d_source.html deleted file mode 100644 index 7e73cb7..0000000 --- a/doc/doxygen/html/da/db0/tests_8dir_2src_2engine_2engine_8c_8o_8d_source.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/engine/engine.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
engine.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/engine/engine.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/engine/engine.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/engine/engine.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/graphics/window.h \
-
6 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
7 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
8 /usr/include/features.h /usr/include/features-time64.h \
-
9 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
10 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
11 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
12 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
13 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
14 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
15 /usr/include/bits/stdint-least.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/graphics/renderer.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/input/input.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/input/keyboard.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/input/mouse.h \
-
20 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
21 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
22 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
23 /home/herbglitch/programs/archeus/arc/include/arc/std/handler.h \
-
24 /usr/include/stdlib.h \
-
25 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
26 /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
-
27 /usr/include/bits/floatn.h /usr/include/bits/floatn-common.h \
-
28 /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \
-
29 /usr/include/bits/types/clockid_t.h /usr/include/bits/types/time_t.h \
-
30 /usr/include/bits/types/timer_t.h /usr/include/endian.h \
-
31 /usr/include/bits/endian.h /usr/include/bits/endianness.h \
-
32 /usr/include/bits/byteswap.h /usr/include/bits/uintn-identity.h \
-
33 /usr/include/sys/select.h /usr/include/bits/select.h \
-
34 /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \
-
35 /usr/include/bits/types/struct_timeval.h \
-
36 /usr/include/bits/types/struct_timespec.h \
-
37 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
38 /usr/include/bits/pthreadtypes-arch.h \
-
39 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
40 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
41 /usr/include/bits/stdlib-float.h \
-
42 /home/herbglitch/programs/archeus/arc/include/arc/engine/state.h \
-
43 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
44 /usr/include/stdio.h \
-
45 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
46 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
47 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
48 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
49 /usr/include/bits/types/cookie_io_functions_t.h \
-
50 /usr/include/bits/stdio_lim.h
-
-
- - - - - - diff --git a/doc/doxygen/html/da/dba/structARC__Time.html b/doc/doxygen/html/da/dba/structARC__Time.html deleted file mode 100644 index 4b46274..0000000 --- a/doc/doxygen/html/da/dba/structARC__Time.html +++ /dev/null @@ -1,313 +0,0 @@ - - - - - - - - -Archeus: ARC_Time Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_Time Struct Reference
-
-
- -

the ARC_Time data structre based on time.h (mainly added to avoid having to type struct tm every time) - More...

- -

#include <time.h>

- - - - - - - - - - - - - - - - - - - - -

-Data Fields

uint8_t seconds
 
uint8_t minutes
 
uint8_t hour
 
uint32_t day
 
uint8_t month
 
uint32_t year
 
uint8_t dayOfWeek
 
uint8_t dayOfMonth
 
uint8_t daylightSavingsFlag
 
-

Detailed Description

-

the ARC_Time data structre based on time.h (mainly added to avoid having to type struct tm every time)

-

seconds == tm_sec [0,60] minutes == tm_min [0,59] hour == tm_hour [0,23]

-

day == tm_yday Day of year [0,365] month == tm_mon Month of year [0,11] year == tm_year Years since 1900

-

dayOfWeek == tm_wday Day of week [0,6] (Sunday =0) dayOfMonth == tm_mday Day of month [1,31]

-

daylightSavingsFlag == tm_isdst Daylight Savings flag

- -

Definition at line 27 of file time.h.

-

Field Documentation

- -

◆ day

- -
-
- - - - -
uint32_t ARC_Time::day
-
- -

Definition at line 32 of file time.h.

- -
-
- -

◆ daylightSavingsFlag

- -
-
- - - - -
uint8_t ARC_Time::daylightSavingsFlag
-
- -

Definition at line 39 of file time.h.

- -
-
- -

◆ dayOfMonth

- -
-
- - - - -
uint8_t ARC_Time::dayOfMonth
-
- -

Definition at line 37 of file time.h.

- -
-
- -

◆ dayOfWeek

- -
-
- - - - -
uint8_t ARC_Time::dayOfWeek
-
- -

Definition at line 36 of file time.h.

- -
-
- -

◆ hour

- -
-
- - - - -
uint8_t ARC_Time::hour
-
- -

Definition at line 30 of file time.h.

- -
-
- -

◆ minutes

- -
-
- - - - -
uint8_t ARC_Time::minutes
-
- -

Definition at line 29 of file time.h.

- -
-
- -

◆ month

- -
-
- - - - -
uint8_t ARC_Time::month
-
- -

Definition at line 33 of file time.h.

- -
-
- -

◆ seconds

- -
-
- - - - -
uint8_t ARC_Time::seconds
-
- -

Definition at line 28 of file time.h.

- -
-
- -

◆ year

- -
-
- - - - -
uint32_t ARC_Time::year
-
- -

Definition at line 34 of file time.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/include/arc/std/time.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/da/dba/structARC__Time.js b/doc/doxygen/html/da/dba/structARC__Time.js deleted file mode 100644 index 3abce97..0000000 --- a/doc/doxygen/html/da/dba/structARC__Time.js +++ /dev/null @@ -1,12 +0,0 @@ -var structARC__Time = -[ - [ "day", "da/dba/structARC__Time.html#a2a9169423e341331c85ecc39caadd783", null ], - [ "daylightSavingsFlag", "da/dba/structARC__Time.html#aeb601e28e2f709014ec618beeb8f06a3", null ], - [ "dayOfMonth", "da/dba/structARC__Time.html#a5c43f775fe3bdada2159d1862dc7bc8e", null ], - [ "dayOfWeek", "da/dba/structARC__Time.html#a2f1090e8effc74bedced74b774fdf2cb", null ], - [ "hour", "da/dba/structARC__Time.html#ae005a5f84468e1132d30e3236cdc438c", null ], - [ "minutes", "da/dba/structARC__Time.html#a8c565e90558bc91410c58a92d886b617", null ], - [ "month", "da/dba/structARC__Time.html#a0ab8ffc0607c9c29418d14c70cfe641c", null ], - [ "seconds", "da/dba/structARC__Time.html#a68a4a28539022e515a98e4ce2a90c6eb", null ], - [ "year", "da/dba/structARC__Time.html#a0868e95272e5c94b6c66d9e4d0de2c7e", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/da/dbb/tests_8dir_2src_2input_2mouse_8c_8o_8d.html b/doc/doxygen/html/da/dbb/tests_8dir_2src_2input_2mouse_8c_8o_8d.html deleted file mode 100644 index bc38e61..0000000 --- a/doc/doxygen/html/da/dbb/tests_8dir_2src_2input_2mouse_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/input/mouse.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
mouse.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/da/dbb/tests_8dir_2src_2input_2mouse_8c_8o_8d_source.html b/doc/doxygen/html/da/dbb/tests_8dir_2src_2input_2mouse_8c_8o_8d_source.html deleted file mode 100644 index 0bea9b9..0000000 --- a/doc/doxygen/html/da/dbb/tests_8dir_2src_2input_2mouse_8c_8o_8d_source.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/input/mouse.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
mouse.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/input/mouse.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/input/mouse.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/input/mouse.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
6 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
7 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
8 /usr/include/features.h /usr/include/features-time64.h \
-
9 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
10 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
11 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
12 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
13 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
14 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
15 /usr/include/bits/stdint-least.h /usr/include/stdio.h \
-
16 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
17 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
18 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
19 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
20 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
21 /usr/include/bits/types/cookie_io_functions_t.h \
-
22 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
23 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/da/dbc/tests_8dir_2src_2graphics_2config_8c_8o_8d.html b/doc/doxygen/html/da/dbc/tests_8dir_2src_2graphics_2config_8c_8o_8d.html deleted file mode 100644 index 33dcc32..0000000 --- a/doc/doxygen/html/da/dbc/tests_8dir_2src_2graphics_2config_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/graphics/config.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/da/dbc/tests_8dir_2src_2graphics_2config_8c_8o_8d_source.html b/doc/doxygen/html/da/dbc/tests_8dir_2src_2graphics_2config_8c_8o_8d_source.html deleted file mode 100644 index 1c873dc..0000000 --- a/doc/doxygen/html/da/dbc/tests_8dir_2src_2graphics_2config_8c_8o_8d_source.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/graphics/config.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/graphics/config.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/graphics/config.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/graphics/config.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/std/config.h \
-
6 /home/herbglitch/programs/archeus/arc/include/arc/std/hashtable.h \
-
7 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
8 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
9 /usr/include/features.h /usr/include/features-time64.h \
-
10 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
11 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
12 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
13 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
14 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
15 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
16 /usr/include/bits/stdint-least.h \
-
17 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
21 /home/herbglitch/programs/archeus/arc/include/arc/std/defaults/config.h \
-
22 /home/herbglitch/programs/archeus/arc/include/arc/graphics/renderer.h \
-
23 /usr/include/stdio.h \
-
24 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
25 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
26 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
27 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
28 /usr/include/bits/types/cookie_io_functions_t.h \
-
29 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
30 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/da/dce/none_2sprite_8h.html b/doc/doxygen/html/da/dce/none_2sprite_8h.html deleted file mode 100644 index a320dc2..0000000 --- a/doc/doxygen/html/da/dce/none_2sprite_8h.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/none/sprite.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
sprite.h File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/da/dce/none_2sprite_8h_source.html b/doc/doxygen/html/da/dce/none_2sprite_8h_source.html deleted file mode 100644 index 034b0d4..0000000 --- a/doc/doxygen/html/da/dce/none_2sprite_8h_source.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/none/sprite.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
sprite.h
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_GRAPHICS
-
2
-
3#ifndef ARC_NONE_SPRITE_H_
-
4#define ARC_NONE_SPRITE_H_
-
5
- -
7
-
8struct ARC_Sprite {};
-
9
-
10#endif // !ARC_NONE_SPRITE_H_
-
11
-
12#endif // !ARC_NONE_GRAPHICS
- -
struct ARC_Sprite ARC_Sprite
a sprite type
Definition sprite.h:19
-
-
- - - - - - diff --git a/doc/doxygen/html/da/dcf/structARC__Handler.html b/doc/doxygen/html/da/dcf/structARC__Handler.html deleted file mode 100644 index ab0ca4f..0000000 --- a/doc/doxygen/html/da/dcf/structARC__Handler.html +++ /dev/null @@ -1,201 +0,0 @@ - - - - - - - - -Archeus: ARC_Handler Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_Handler Struct Reference
-
-
- - - - - - - - -

-Data Fields

ARC_Vectordata
 
ARC_Vectortrash
 
ARC_Handler_CleanDataFn cleanfn
 
-

Detailed Description

-
-

Definition at line 7 of file handler.c.

-

Field Documentation

- -

◆ cleanfn

- -
-
- - - - -
ARC_Handler_CleanDataFn ARC_Handler::cleanfn
-
- -

Definition at line 11 of file handler.c.

- -

Referenced by ARC_Handler_Clean().

- -
-
- -

◆ data

- - - -

◆ trash

- -
-
- - - - -
ARC_Vector* ARC_Handler::trash
-
- -

Definition at line 9 of file handler.c.

- -

Referenced by ARC_Handler_Clean(), ARC_Handler_Destroy(), ARC_Handler_Remove(), and ARC_Handler_RemoveIndex().

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/src/std/handler.c
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/da/dcf/structARC__Handler.js b/doc/doxygen/html/da/dcf/structARC__Handler.js deleted file mode 100644 index 4ce8320..0000000 --- a/doc/doxygen/html/da/dcf/structARC__Handler.js +++ /dev/null @@ -1,6 +0,0 @@ -var structARC__Handler = -[ - [ "cleanfn", "da/dcf/structARC__Handler.html#af2612fa5edf530bea7d8120ce4ceb264", null ], - [ "data", "da/dcf/structARC__Handler.html#a081a6b8ef70f452c03e0eff105e35dea", null ], - [ "trash", "da/dcf/structARC__Handler.html#a89de5b989ca5b514dab8d72615df8462", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/da/dec/color_8h.html b/doc/doxygen/html/da/dec/color_8h.html deleted file mode 100644 index d6c311c..0000000 --- a/doc/doxygen/html/da/dec/color_8h.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/color.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
color.h File Reference
-
-
-
#include <stdint.h>
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_Color
 
- - - -

-Typedefs

typedef struct ARC_Color ARC_Color
 
-

Typedef Documentation

- -

◆ ARC_Color

- -
-
- - - - -
typedef struct ARC_Color ARC_Color
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/da/dec/color_8h.js b/doc/doxygen/html/da/dec/color_8h.js deleted file mode 100644 index 8bb9aaa..0000000 --- a/doc/doxygen/html/da/dec/color_8h.js +++ /dev/null @@ -1,5 +0,0 @@ -var color_8h = -[ - [ "ARC_Color", "d2/d30/structARC__Color.html", "d2/d30/structARC__Color" ], - [ "ARC_Color", "da/dec/color_8h.html#a227c963885ba656d0fa6550b54dcbe11", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/da/dec/color_8h_source.html b/doc/doxygen/html/da/dec/color_8h_source.html deleted file mode 100644 index 052ee92..0000000 --- a/doc/doxygen/html/da/dec/color_8h_source.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/color.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
color.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_GRAPHICS_COLOR_H_
-
2#define ARC_GRAPHICS_COLOR_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include <stdint.h>
-
9
-
-
10typedef struct ARC_Color {
-
11 uint8_t r, g, b, a;
- -
-
13
-
14
-
15#ifdef __cplusplus
-
16}
-
17#endif
-
18
-
19#endif // !ARC_GRAPHICS_COLOR_H_
-
struct ARC_Color ARC_Color
- -
uint8_t a
Definition color.h:11
-
uint8_t r
Definition color.h:11
-
uint8_t b
Definition color.h:11
-
uint8_t g
Definition color.h:11
-
-
- - - - - - diff --git a/doc/doxygen/html/db/d08/sprite_8h.html b/doc/doxygen/html/db/d08/sprite_8h.html deleted file mode 100644 index 099ab03..0000000 --- a/doc/doxygen/html/db/d08/sprite_8h.html +++ /dev/null @@ -1,640 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/sprite.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
sprite.h File Reference
-
-
- -

Go to the source code of this file.

- - - - - - - -

-Typedefs

typedef struct ARC_Sprite ARC_Sprite
 a sprite type
 
typedef enum ARC_Sprite_Axis ARC_Sprite_Axix
 
- - - -

-Enumerations

enum  ARC_Sprite_Axis { ARC_SPRITE_AXIS_NONE = 0x00 -, ARC_SPRITE_AXIS_Y = 0x01 -, ARC_SPRITE_AXIS_X = 0x02 - }
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_Sprite_Create (ARC_Sprite **sprite, ARC_Spritesheet *spritesheet, ARC_Array *frames)
 creates ARC_Sprite type
 
void ARC_Sprite_Destroy (ARC_Sprite *sprite)
 destroys ARC_Sprite type
 
void ARC_Sprite_Copy (ARC_Sprite **newSprite, ARC_Sprite *oldSprite)
 copies ARC_Sprite to a new ARC_Sprite
 
void ARC_Sprite_SetOpacity (ARC_Sprite *sprite, uint8_t opacity)
 sets ARC_Sprite's opacity
 
void ARC_Sprite_Render (ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds)
 renders ARC_Sprite type
 
void ARC_Sprite_RenderFlip (ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, enum ARC_Sprite_Axis axis)
 renders ARC_Sprite type with flip
 
void ARC_Sprite_RenderRotated (ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, ARC_Point *center, double angle)
 renders ARC_Sprite type with rotation
 
void ARC_Sprite_SetFrameIndex (ARC_Sprite *sprite, uint32_t index)
 switches ARC_Sprite's frame to specified index
 
void ARC_Sprite_IterateFrame (ARC_Sprite *sprite)
 switches ARC_Sprite's frames to next for animation
 
uint32_t ARC_Sprite_GetFrameIndex (ARC_Sprite *sprite)
 gets ARC_Sprite's current frame
 
ARC_RectARC_Sprite_GetBounds (ARC_Sprite *sprite)
 returns the current bounds based on the ARC_Sprite's frames
 
ARC_ArrayARC_Sprite_GetAllBounds (ARC_Sprite *sprite)
 returns the array of bounds that a sprite has
 
-

Typedef Documentation

- -

◆ ARC_Sprite

- -
-
- - - - -
typedef struct ARC_Sprite ARC_Sprite
-
- -

a sprite type

-
Note
the actual type should be define by overriding for a graphics api
- -

Definition at line 19 of file sprite.h.

- -
-
- -

◆ ARC_Sprite_Axix

- -
-
- - - - -
typedef enum ARC_Sprite_Axis ARC_Sprite_Axix
-
- -
-
-

Enumeration Type Documentation

- -

◆ ARC_Sprite_Axis

- -
-
- - - - -
enum ARC_Sprite_Axis
-
- - - - -
Enumerator
ARC_SPRITE_AXIS_NONE 
ARC_SPRITE_AXIS_Y 
ARC_SPRITE_AXIS_X 
- -

Definition at line 67 of file sprite.h.

-
67 {
- -
69 ARC_SPRITE_AXIS_Y = 0x01,
-
70 ARC_SPRITE_AXIS_X = 0x02,
- -
@ ARC_SPRITE_AXIS_Y
Definition sprite.h:69
-
@ ARC_SPRITE_AXIS_NONE
Definition sprite.h:68
-
@ ARC_SPRITE_AXIS_X
Definition sprite.h:70
-
enum ARC_Sprite_Axis ARC_Sprite_Axix
-
-
-
-

Function Documentation

- -

◆ ARC_Sprite_Copy()

- -
-
- - - - - - - - - - - -
void ARC_Sprite_Copy (ARC_Sprite ** newSprite,
ARC_Sprite * oldSprite )
-
- -

copies ARC_Sprite to a new ARC_Sprite

-
Parameters
- - - -
newSpriteARC_Sprite that is being copied to and created
oldSpriteARC_Sprite contents that are being copied
-
-
- -
-
- -

◆ ARC_Sprite_Create()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Sprite_Create (ARC_Sprite ** sprite,
ARC_Spritesheet * spritesheet,
ARC_Array * frames )
-
- -

creates ARC_Sprite type

-
Parameters
- - - - -
spriteARC_Sprite that is being created
spritesheetARC_Spritesheet that ARC_Sprite will be pulled from
framesARC_Array of bounds of sprite on spritesheet
-
-
- -
-
- -

◆ ARC_Sprite_Destroy()

- -
-
- - - - - - - -
void ARC_Sprite_Destroy (ARC_Sprite * sprite)
-
- -

destroys ARC_Sprite type

-
Parameters
- - -
spriteARC_Sprite to destroy
-
-
- -
-
- -

◆ ARC_Sprite_GetAllBounds()

- -
-
- - - - - - - -
ARC_Array * ARC_Sprite_GetAllBounds (ARC_Sprite * sprite)
-
- -

returns the array of bounds that a sprite has

-
Parameters
- - -
spriteARC_Sprite to get all the bounds from
-
-
- -
-
- -

◆ ARC_Sprite_GetBounds()

- -
-
- - - - - - - -
ARC_Rect * ARC_Sprite_GetBounds (ARC_Sprite * sprite)
-
- -

returns the current bounds based on the ARC_Sprite's frames

-
Parameters
- - -
spriteARC_Sprite to get bounds from
-
-
- -
-
- -

◆ ARC_Sprite_GetFrameIndex()

- -
-
- - - - - - - -
uint32_t ARC_Sprite_GetFrameIndex (ARC_Sprite * sprite)
-
- -

gets ARC_Sprite's current frame

-
Parameters
- - -
spriteARC_Sprite to get frame from
-
-
-
Returns
index ARC_Sprite's current frame index
- -
-
- -

◆ ARC_Sprite_IterateFrame()

- -
-
- - - - - - - -
void ARC_Sprite_IterateFrame (ARC_Sprite * sprite)
-
- -

switches ARC_Sprite's frames to next for animation

-
Parameters
- - -
spriteARC_Sprite that is having its frame updated
-
-
- -
-
- -

◆ ARC_Sprite_Render()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Sprite_Render (ARC_Sprite * sprite,
ARC_Renderer * renderer,
ARC_Rect * renderBounds )
-
- -

renders ARC_Sprite type

-
Parameters
- - - - -
spriteARC_Sprite that will be rendered
rendererARC_Renderer that is handling rendering
renderBoundsarea of renderer that ARC_Sprite will be rendered to
-
-
- -
-
- -

◆ ARC_Sprite_RenderFlip()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Sprite_RenderFlip (ARC_Sprite * sprite,
ARC_Renderer * renderer,
ARC_Rect * renderBounds,
enum ARC_Sprite_Axis axis )
-
- -

renders ARC_Sprite type with flip

-
Parameters
- - - - - -
spriteARC_Sprite that will be rendered
rendererARC_Renderer that is handling rendering
renderBoundsarea of renderer that ARC_Sprite will be rendered to
axisaxis to flip sprite
-
-
- -
-
- -

◆ ARC_Sprite_RenderRotated()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
void ARC_Sprite_RenderRotated (ARC_Sprite * sprite,
ARC_Renderer * renderer,
ARC_Rect * renderBounds,
ARC_Point * center,
double angle )
-
- -

renders ARC_Sprite type with rotation

-
Parameters
- - - - - - -
spriteARC_Sprite that will be rendered
rendererARC_Renderer that is handling rendering
renderBoundsarea of renderer that ARC_Sprite will be rendered to
angleangle to rotate ARC_Sprite
centerpoint to rotate ARC_Sprite around
-
-
- -
-
- -

◆ ARC_Sprite_SetFrameIndex()

- -
-
- - - - - - - - - - - -
void ARC_Sprite_SetFrameIndex (ARC_Sprite * sprite,
uint32_t index )
-
- -

switches ARC_Sprite's frame to specified index

-
Parameters
- - - -
spriteARC_Sprite that is having its frame set
indexuint32_t to set ARC_Sprite's frame index to
-
-
- -
-
- -

◆ ARC_Sprite_SetOpacity()

- -
-
- - - - - - - - - - - -
void ARC_Sprite_SetOpacity (ARC_Sprite * sprite,
uint8_t opacity )
-
- -

sets ARC_Sprite's opacity

-
Parameters
- - - -
spriteARC_Sprite that is changing opacity
opacitynew opacity for ARC_Sprite
-
-
-
Note
this is temp because opacity probably should be a value bigger than 255
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/db/d08/sprite_8h.js b/doc/doxygen/html/db/d08/sprite_8h.js deleted file mode 100644 index 3b3c8a0..0000000 --- a/doc/doxygen/html/db/d08/sprite_8h.js +++ /dev/null @@ -1,22 +0,0 @@ -var sprite_8h = -[ - [ "ARC_Sprite", "db/d08/sprite_8h.html#a03c5973e40c2bda444c06c7550471b42", null ], - [ "ARC_Sprite_Axix", "db/d08/sprite_8h.html#a8975412b8ce43563bd9b9e8034d48107", null ], - [ "ARC_Sprite_Axis", "db/d08/sprite_8h.html#a58f03c421534fd75dbdf5b301fff84f5", [ - [ "ARC_SPRITE_AXIS_NONE", "db/d08/sprite_8h.html#a58f03c421534fd75dbdf5b301fff84f5a8349cec50345d927a52c3a74dc7c8008", null ], - [ "ARC_SPRITE_AXIS_Y", "db/d08/sprite_8h.html#a58f03c421534fd75dbdf5b301fff84f5a1cccd14ed492d5e4b151808984cda3c0", null ], - [ "ARC_SPRITE_AXIS_X", "db/d08/sprite_8h.html#a58f03c421534fd75dbdf5b301fff84f5a86b6c238d4da4d62c0e5f7652a1a058f", null ] - ] ], - [ "ARC_Sprite_Copy", "db/d08/sprite_8h.html#ac71528b8b08e5c9f9ef12377413c887f", null ], - [ "ARC_Sprite_Create", "db/d08/sprite_8h.html#a236db372d25ec6939fc3a59a50174d2c", null ], - [ "ARC_Sprite_Destroy", "db/d08/sprite_8h.html#a37754370968f742ee6bfbb179a50804c", null ], - [ "ARC_Sprite_GetAllBounds", "db/d08/sprite_8h.html#aa94ca232d44c6de7b4f00754152da02e", null ], - [ "ARC_Sprite_GetBounds", "db/d08/sprite_8h.html#a98ceee44610d603afd0ed235fd72cc95", null ], - [ "ARC_Sprite_GetFrameIndex", "db/d08/sprite_8h.html#a001e727b8923a2435a873eb085e50308", null ], - [ "ARC_Sprite_IterateFrame", "db/d08/sprite_8h.html#ae8f6efb1950a0e908efcd59b69427f38", null ], - [ "ARC_Sprite_Render", "db/d08/sprite_8h.html#a0e2479255f39c245c08a8791aea5e877", null ], - [ "ARC_Sprite_RenderFlip", "db/d08/sprite_8h.html#a96fa458abc8926631b646a8e89899474", null ], - [ "ARC_Sprite_RenderRotated", "db/d08/sprite_8h.html#a57c6332c153a9abd0906b822fc1614ef", null ], - [ "ARC_Sprite_SetFrameIndex", "db/d08/sprite_8h.html#ae6bed9d1c4c5c7a5ced00b45672c94f9", null ], - [ "ARC_Sprite_SetOpacity", "db/d08/sprite_8h.html#a93598bcc2eee0b8e3eb1a94ebbcf3e5e", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/db/d08/sprite_8h_source.html b/doc/doxygen/html/db/d08/sprite_8h_source.html deleted file mode 100644 index 014bc24..0000000 --- a/doc/doxygen/html/db/d08/sprite_8h_source.html +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/sprite.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
sprite.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_GRAPHICS_SPRITE_H_
-
2#define ARC_GRAPHICS_SPRITE_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
- - -
10#include "arc/math/point.h"
-
11#include "arc/math/rectangle.h"
-
12#include "arc/std/array.h"
-
13
-
14/**
-
15 * @brief a sprite type
-
16 *
-
17 * @note the actual type should be define by overriding for a graphics api
-
18 */
-
19typedef struct ARC_Sprite ARC_Sprite;
-
20
-
21/**
-
22 * @brief creates ARC_Sprite type
-
23 *
-
24 * @param sprite ARC_Sprite that is being created
-
25 * @param spritesheet ARC_Spritesheet that ARC_Sprite will be pulled from
-
26 * @param frames ARC_Array of bounds of sprite on spritesheet
-
27 */
-
28void ARC_Sprite_Create(ARC_Sprite **sprite, ARC_Spritesheet *spritesheet, ARC_Array *frames);
-
29
-
30/**
-
31 * @brief destroys ARC_Sprite type
-
32 *
-
33 * @param sprite ARC_Sprite to destroy
-
34 */
- -
36
-
37/**
-
38 * @brief copies ARC_Sprite to a new ARC_Sprite
-
39 *
-
40 * @param newSprite ARC_Sprite that is being copied to and created
-
41 * @param oldSprite ARC_Sprite contents that are being copied
-
42 */
-
43void ARC_Sprite_Copy(ARC_Sprite **newSprite, ARC_Sprite *oldSprite);
-
44
-
45//TODO: temp
-
46/**
-
47 * @brief sets ARC_Sprite's opacity
-
48 *
-
49 * @param sprite ARC_Sprite that is changing opacity
-
50 * @param opacity new opacity for ARC_Sprite
-
51 *
-
52 * @note this is temp because opacity probably should be a value
-
53 * bigger than 255
-
54*/
-
55void ARC_Sprite_SetOpacity(ARC_Sprite *sprite, uint8_t opacity);
-
56
-
57/**
-
58 * @brief renders ARC_Sprite type
-
59 *
-
60 * @param sprite ARC_Sprite that will be rendered
-
61 * @param renderer ARC_Renderer that is handling rendering
-
62 * @param renderBounds area of renderer that ARC_Sprite will be rendered to
-
63 */
-
64void ARC_Sprite_Render(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds);
-
65
-
66//TODO: move this to a better location
- -
72
-
73/**
-
74 * @brief renders ARC_Sprite type with flip
-
75 *
-
76 * @param sprite ARC_Sprite that will be rendered
-
77 * @param renderer ARC_Renderer that is handling rendering
-
78 * @param renderBounds area of renderer that ARC_Sprite will be rendered to
-
79 * @param axis axis to flip sprite
-
80 */
-
81void ARC_Sprite_RenderFlip(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, enum ARC_Sprite_Axis axis);
-
82
-
83/**
-
84 * @brief renders ARC_Sprite type with rotation
-
85 *
-
86 * @param sprite ARC_Sprite that will be rendered
-
87 * @param renderer ARC_Renderer that is handling rendering
-
88 * @param renderBounds area of renderer that ARC_Sprite will be rendered to
-
89 * @param angle angle to rotate ARC_Sprite
-
90 * @param center point to rotate ARC_Sprite around
-
91 */
-
92void ARC_Sprite_RenderRotated(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, ARC_Point *center, double angle);
-
93
-
94/**
-
95 * @brief switches ARC_Sprite's frame to specified index
-
96 *
-
97 * @param sprite ARC_Sprite that is having its frame set
-
98 * @param index uint32_t to set ARC_Sprite's frame index to
-
99 */
-
100void ARC_Sprite_SetFrameIndex(ARC_Sprite *sprite, uint32_t index);
-
101
-
102/**
-
103 * @brief switches ARC_Sprite's frames to next for animation
-
104 *
-
105 * @param sprite ARC_Sprite that is having its frame updated
-
106 */
- -
108
-
109/**
-
110 * @brief gets ARC_Sprite's current frame
-
111 *
-
112 * @param sprite ARC_Sprite to get frame from
-
113 *
-
114 * @return index ARC_Sprite's current frame index
-
115 */
- -
117
-
118/**
-
119 * @brief returns the current bounds based on the ARC_Sprite's frames
-
120 *
-
121 * @param sprite ARC_Sprite to get bounds from
-
122 */
- -
124
-
125/**
-
126 * @brief returns the array of bounds that a sprite has
-
127 *
-
128 * @param sprite ARC_Sprite to get all the bounds from
-
129*/
- -
131
-
132#ifdef __cplusplus
-
133}
-
134#endif
-
135
-
136#endif // !ARC_GRAPHICS_SPRITE_H_
- - - - -
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
-
uint32_t ARC_Sprite_GetFrameIndex(ARC_Sprite *sprite)
gets ARC_Sprite's current frame
-
struct ARC_Sprite ARC_Sprite
a sprite type
Definition sprite.h:19
-
void ARC_Sprite_Render(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds)
renders ARC_Sprite type
-
void ARC_Sprite_Create(ARC_Sprite **sprite, ARC_Spritesheet *spritesheet, ARC_Array *frames)
creates ARC_Sprite type
-
void ARC_Sprite_Destroy(ARC_Sprite *sprite)
destroys ARC_Sprite type
-
void ARC_Sprite_RenderRotated(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, ARC_Point *center, double angle)
renders ARC_Sprite type with rotation
-
ARC_Sprite_Axis
Definition sprite.h:67
-
@ ARC_SPRITE_AXIS_Y
Definition sprite.h:69
-
@ ARC_SPRITE_AXIS_NONE
Definition sprite.h:68
-
@ ARC_SPRITE_AXIS_X
Definition sprite.h:70
-
enum ARC_Sprite_Axis ARC_Sprite_Axix
-
void ARC_Sprite_SetOpacity(ARC_Sprite *sprite, uint8_t opacity)
sets ARC_Sprite's opacity
-
void ARC_Sprite_RenderFlip(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, enum ARC_Sprite_Axis axis)
renders ARC_Sprite type with flip
-
ARC_Rect * ARC_Sprite_GetBounds(ARC_Sprite *sprite)
returns the current bounds based on the ARC_Sprite's frames
-
ARC_Array * ARC_Sprite_GetAllBounds(ARC_Sprite *sprite)
returns the array of bounds that a sprite has
-
void ARC_Sprite_Copy(ARC_Sprite **newSprite, ARC_Sprite *oldSprite)
copies ARC_Sprite to a new ARC_Sprite
-
void ARC_Sprite_SetFrameIndex(ARC_Sprite *sprite, uint32_t index)
switches ARC_Sprite's frame to specified index
-
void ARC_Sprite_IterateFrame(ARC_Sprite *sprite)
switches ARC_Sprite's frames to next for animation
- -
struct ARC_Spritesheet ARC_Spritesheet
Definition spritesheet.h:14
-
a type that holds an array of data and its size
Definition array.h:13
- - -
-
- - - - - - diff --git a/doc/doxygen/html/db/d3b/state_8h.html b/doc/doxygen/html/db/d3b/state_8h.html deleted file mode 100644 index cb62359..0000000 --- a/doc/doxygen/html/db/d3b/state_8h.html +++ /dev/null @@ -1,238 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/engine/state.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
state.h File Reference
-
-
- -

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_State
 
- - - - - - - -

-Typedefs

typedef void(* ARC_State_UpdateFn) (void *data)
 
typedef void(* ARC_State_RenderFn) (void *data)
 
typedef struct ARC_State ARC_State
 
- - - - - -

-Functions

void ARC_State_Update (void *data)
 
void ARC_State_Render (void *data)
 
-

Typedef Documentation

- -

◆ ARC_State

- -
-
- - - - -
typedef struct ARC_State ARC_State
-
- -
-
- -

◆ ARC_State_RenderFn

- -
-
- - - - -
typedef void(* ARC_State_RenderFn) (void *data)
-
- -

Definition at line 9 of file state.h.

- -
-
- -

◆ ARC_State_UpdateFn

- -
-
- - - - -
typedef void(* ARC_State_UpdateFn) (void *data)
-
- -

Definition at line 8 of file state.h.

- -
-
-

Function Documentation

- -

◆ ARC_State_Render()

- -
-
- - - - - - - -
void ARC_State_Render (void * data)
-
- -
-
- -

◆ ARC_State_Update()

- -
-
- - - - - - - -
void ARC_State_Update (void * data)
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/db/d3b/state_8h.js b/doc/doxygen/html/db/d3b/state_8h.js deleted file mode 100644 index 954b0c9..0000000 --- a/doc/doxygen/html/db/d3b/state_8h.js +++ /dev/null @@ -1,9 +0,0 @@ -var state_8h = -[ - [ "ARC_State", "db/df9/structARC__State.html", "db/df9/structARC__State" ], - [ "ARC_State", "db/d3b/state_8h.html#a2296cccf83c7eeee8b2273aa8403ff96", null ], - [ "ARC_State_RenderFn", "db/d3b/state_8h.html#a3f974ff0ed41c158d8b13fcc89f56c82", null ], - [ "ARC_State_UpdateFn", "db/d3b/state_8h.html#ae8144f165b3c9c1d97c6d22d27c66fb9", null ], - [ "ARC_State_Render", "db/d3b/state_8h.html#a1b23e5fee1f209b7e65f78fac82dd238", null ], - [ "ARC_State_Update", "db/d3b/state_8h.html#a7fff169abbb4aaa5bb3f3b0e8b6f3785", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/db/d3b/state_8h_source.html b/doc/doxygen/html/db/d3b/state_8h_source.html deleted file mode 100644 index afcb019..0000000 --- a/doc/doxygen/html/db/d3b/state_8h_source.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/engine/state.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
state.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_ENGINE_STATE_H_
-
2#define ARC_ENGINE_STATE_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8typedef void (* ARC_State_UpdateFn)(void *data);
-
9typedef void (* ARC_State_RenderFn)(void *data);
- -
15
-
16void ARC_State_Update(void *data);
-
17
-
18void ARC_State_Render(void *data);
-
19
-
20#ifdef __cplusplus
-
21}
-
22#endif
-
23
-
24#endif // ARC_ENGINE_STATE_H_
-
void ARC_State_Render(void *data)
-
struct ARC_State ARC_State
-
void(* ARC_State_RenderFn)(void *data)
Definition state.h:9
-
void ARC_State_Update(void *data)
-
void(* ARC_State_UpdateFn)(void *data)
Definition state.h:8
- -
ARC_State_UpdateFn updateFn
Definition state.h:11
-
void * data
Definition state.h:13
-
ARC_State_RenderFn renderFn
Definition state.h:12
-
-
- - - - - - diff --git a/doc/doxygen/html/db/d45/structARC__Sprite.html b/doc/doxygen/html/db/d45/structARC__Sprite.html deleted file mode 100644 index 767a92c..0000000 --- a/doc/doxygen/html/db/d45/structARC__Sprite.html +++ /dev/null @@ -1,223 +0,0 @@ - - - - - - - - -Archeus: ARC_Sprite Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_Sprite Struct Reference
-
-
- -

#include <sprite.h>

- - - - - - - - - - -

-Data Fields

ARC_Spritesheetspritesheet
 
ARC_Arrayframes
 
uint32_t * frameIndex
 
uint8_t opacity
 
-

Detailed Description

-
-

Definition at line 7 of file sprite.h.

-

Field Documentation

- -

◆ frameIndex

- - - -

◆ frames

- - - -

◆ opacity

- -
-
- - - - -
uint8_t ARC_Sprite::opacity
-
-
- -

◆ spritesheet

- -
-
- - - - -
ARC_Spritesheet* ARC_Sprite::spritesheet
-
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/sprite.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/db/d45/structARC__Sprite.js b/doc/doxygen/html/db/d45/structARC__Sprite.js deleted file mode 100644 index 66782be..0000000 --- a/doc/doxygen/html/db/d45/structARC__Sprite.js +++ /dev/null @@ -1,7 +0,0 @@ -var structARC__Sprite = -[ - [ "frameIndex", "db/d45/structARC__Sprite.html#ae8466f91297108bba6c33e8f5267ac19", null ], - [ "frames", "db/d45/structARC__Sprite.html#aec6a8a578b6a0f3569108e8beb4f9ea0", null ], - [ "opacity", "db/d45/structARC__Sprite.html#a926dee148e71ef30aaef10fc9205379d", null ], - [ "spritesheet", "db/d45/structARC__Sprite.html#a00d1c869b02b259cbb6a832d658f9f77", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/db/d58/archeus__std_8dir_2src_2std_2queue_8c_8o_8d.html b/doc/doxygen/html/db/d58/archeus__std_8dir_2src_2std_2queue_8c_8o_8d.html deleted file mode 100644 index cdba623..0000000 --- a/doc/doxygen/html/db/d58/archeus__std_8dir_2src_2std_2queue_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/queue.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
queue.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/db/d58/archeus__std_8dir_2src_2std_2queue_8c_8o_8d_source.html b/doc/doxygen/html/db/d58/archeus__std_8dir_2src_2std_2queue_8c_8o_8d_source.html deleted file mode 100644 index 18a9773..0000000 --- a/doc/doxygen/html/db/d58/archeus__std_8dir_2src_2std_2queue_8c_8o_8d_source.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/queue.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
queue.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/std/queue.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/queue.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/queue.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h \
-
15 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
16 /usr/include/stdio.h \
-
17 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
18 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
19 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
20 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
21 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
22 /usr/include/bits/types/cookie_io_functions_t.h \
-
23 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
24 /usr/include/bits/floatn-common.h /usr/include/stdlib.h \
-
25 /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
-
26 /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \
-
27 /usr/include/bits/types/clockid_t.h /usr/include/bits/types/time_t.h \
-
28 /usr/include/bits/types/timer_t.h /usr/include/endian.h \
-
29 /usr/include/bits/endian.h /usr/include/bits/endianness.h \
-
30 /usr/include/bits/byteswap.h /usr/include/bits/uintn-identity.h \
-
31 /usr/include/sys/select.h /usr/include/bits/select.h \
-
32 /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \
-
33 /usr/include/bits/types/struct_timeval.h \
-
34 /usr/include/bits/types/struct_timespec.h \
-
35 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
36 /usr/include/bits/pthreadtypes-arch.h \
-
37 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
38 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
39 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/db/d60/packages_2graphics_2opengl_2spritesheet_8h.html b/doc/doxygen/html/db/d60/packages_2graphics_2opengl_2spritesheet_8h.html deleted file mode 100644 index b7cd07c..0000000 --- a/doc/doxygen/html/db/d60/packages_2graphics_2opengl_2spritesheet_8h.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/opengl/spritesheet.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
spritesheet.h File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/db/d60/packages_2graphics_2opengl_2spritesheet_8h_source.html b/doc/doxygen/html/db/d60/packages_2graphics_2opengl_2spritesheet_8h_source.html deleted file mode 100644 index 09b87d1..0000000 --- a/doc/doxygen/html/db/d60/packages_2graphics_2opengl_2spritesheet_8h_source.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/opengl/spritesheet.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
spritesheet.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_OPENGL_SPRITESHEET_H_
-
2#define ARC_OPENGL_SPRITESHEET_H_
-
3
-
4#ifdef ARC_OPENGL_GRAPHICS
-
5
- -
7
-
8struct ARC_Spritesheet {
-
9};
-
10
-
11#endif // !ARC_OPENGL_GRAPHICS
-
12
-
13#endif // !ARC_OPENGL_SPRITESHEET_H_
- - -
-
- - - - - - diff --git a/doc/doxygen/html/db/d63/array_8h.html b/doc/doxygen/html/db/d63/array_8h.html deleted file mode 100644 index 5a4ad38..0000000 --- a/doc/doxygen/html/db/d63/array_8h.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/array.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
array.h File Reference
-
-
-
#include <stdint.h>
-
-

Go to the source code of this file.

- - - - - -

-Data Structures

struct  ARC_Array
 a type that holds an array of data and its size More...
 
- - - - -

-Typedefs

typedef struct ARC_Array ARC_Array
 a type that holds an array of data and its size
 
-

Typedef Documentation

- -

◆ ARC_Array

- -
-
- - - - -
typedef struct ARC_Array ARC_Array
-
- -

a type that holds an array of data and its size

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/db/d63/array_8h.js b/doc/doxygen/html/db/d63/array_8h.js deleted file mode 100644 index 3d30e0b..0000000 --- a/doc/doxygen/html/db/d63/array_8h.js +++ /dev/null @@ -1,5 +0,0 @@ -var array_8h = -[ - [ "ARC_Array", "d3/dac/structARC__Array.html", "d3/dac/structARC__Array" ], - [ "ARC_Array", "db/d63/array_8h.html#ac64d854dd9212c2e619822b3c6c1ca93", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/db/d63/array_8h_source.html b/doc/doxygen/html/db/d63/array_8h_source.html deleted file mode 100644 index db813d6..0000000 --- a/doc/doxygen/html/db/d63/array_8h_source.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/array.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
array.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_STD_ARRAY_H_
-
2#define ARC_STD_ARRAY_H_
-
3
-
4#include <stdint.h>
-
5
-
6#ifdef __cplusplus
-
7extern "C" {
-
8#endif
-
9
-
10/**
-
11 * @brief a type that holds an array of data and its size
-
12*/
-
-
13typedef struct ARC_Array {
-
14 uint32_t size;
-
15 void *data;
- -
-
17
-
18#ifdef __cplusplus
-
19}
-
20#endif
-
21
-
22#endif //ARC_STD_ARRAY_H_
-
struct ARC_Array ARC_Array
a type that holds an array of data and its size
-
a type that holds an array of data and its size
Definition array.h:13
-
uint32_t size
Definition array.h:14
-
void * data
Definition array.h:15
-
-
- - - - - - diff --git a/doc/doxygen/html/db/d67/structARC__Circle.html b/doc/doxygen/html/db/d67/structARC__Circle.html deleted file mode 100644 index 67ab234..0000000 --- a/doc/doxygen/html/db/d67/structARC__Circle.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - - - - -Archeus: ARC_Circle Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_Circle Struct Reference
-
-
- -

#include <circle.h>

- - - - - - - - -

-Data Fields

int32_t x
 
int32_t y
 
int32_t r
 
-

Detailed Description

-
-

Definition at line 10 of file circle.h.

-

Field Documentation

- -

◆ r

- -
-
- - - - -
int32_t ARC_Circle::r
-
- -

Definition at line 13 of file circle.h.

- -
-
- -

◆ x

- -
-
- - - - -
int32_t ARC_Circle::x
-
- -

Definition at line 11 of file circle.h.

- -
-
- -

◆ y

- -
-
- - - - -
int32_t ARC_Circle::y
-
- -

Definition at line 12 of file circle.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/include/arc/math/circle.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/db/d67/structARC__Circle.js b/doc/doxygen/html/db/d67/structARC__Circle.js deleted file mode 100644 index 2718252..0000000 --- a/doc/doxygen/html/db/d67/structARC__Circle.js +++ /dev/null @@ -1,6 +0,0 @@ -var structARC__Circle = -[ - [ "r", "db/d67/structARC__Circle.html#a64994064134893ee9b13e366cf632a7a", null ], - [ "x", "db/d67/structARC__Circle.html#a196606bfc9aea47c8a4d3a5ee950c81a", null ], - [ "y", "db/d67/structARC__Circle.html#a52a54cbbbaea9e6f57de2cd39eb3275d", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/db/d86/structARC__Vector2.html b/doc/doxygen/html/db/d86/structARC__Vector2.html deleted file mode 100644 index df0b9b2..0000000 --- a/doc/doxygen/html/db/d86/structARC__Vector2.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - -Archeus: ARC_Vector2 Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_Vector2 Struct Reference
-
-
- -

#include <vector2.h>

- - - - - - -

-Data Fields

float x
 
float y
 
-

Detailed Description

-
-

Definition at line 8 of file vector2.h.

-

Field Documentation

- -

◆ x

- -
-
- - - - -
float ARC_Vector2::x
-
- -

Definition at line 9 of file vector2.h.

- -
-
- -

◆ y

- -
-
- - - - -
float ARC_Vector2::y
-
- -

Definition at line 9 of file vector2.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/include/arc/math/vector2.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/db/d86/structARC__Vector2.js b/doc/doxygen/html/db/d86/structARC__Vector2.js deleted file mode 100644 index c5659c3..0000000 --- a/doc/doxygen/html/db/d86/structARC__Vector2.js +++ /dev/null @@ -1,5 +0,0 @@ -var structARC__Vector2 = -[ - [ "x", "db/d86/structARC__Vector2.html#a42edc95888c030b994268da65efc7e2d", null ], - [ "y", "db/d86/structARC__Vector2.html#a8bff4a083df18e51a0792c0c837344f0", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/db/d9c/std_2config_8c.html b/doc/doxygen/html/db/d9c/std_2config_8c.html deleted file mode 100644 index 2a4eff0..0000000 --- a/doc/doxygen/html/db/d9c/std_2config_8c.html +++ /dev/null @@ -1,1554 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/config.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
- -
config.c File Reference
-
-
-
#include "arc/std/config.h"
-#include "arc/std/errno.h"
-#include "arc/std/hashtable.h"
-#include "arc/std/io.h"
-#include "arc/std/string.h"
-#include <stdio.h>
-#include <stdint.h>
-#include <stdlib.h>
-#include <stddef.h>
-
-

Go to the source code of this file.

- - - - - - - - - - -

-Data Structures

struct  ARC_Config
 
struct  ARC_ConfigKey
 
struct  ARC_ConfigTypeTemplate
 
struct  ARC_ConfigDeleteKeyArgs
 
- - - - - - - -

-Typedefs

typedef struct ARC_ConfigKey ARC_ConfigKey
 
typedef struct ARC_ConfigTypeTemplate ARC_ConfigTypeTemplate
 
typedef struct ARC_ConfigDeleteKeyArgs ARC_ConfigDeleteKeyArgs
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

int8_t ARC_Config_KeyComp (void *key1, size_t *key1size, void *key2, size_t *key2size)
 
void ARC_Config_CreateGroup (ARC_Config *config, ARC_String *name)
 
void ARC_Config_DestroyGroup (ARC_HashtableNode *group, void *userdata)
 
void ARC_Config_DestroyGroupNode (ARC_HashtableNode *node, void *userdata)
 
void ARC_Config_RemoveKey (ARC_HashtableNode *node, void *userdata)
 
void ARC_Config_AddKey (ARC_Config *config, ARC_String *type, ARC_ConfigKeyRead keyRead, ARC_ConfigKeyDelete keyDelete)
 adds a usable key to ARC_Config
 
void ARC_Config_AddKeyCString (ARC_Config *config, const char *type, uint64_t length, ARC_ConfigKeyRead keyRead, ARC_ConfigKeyDelete keyDelete)
 adds a key from a cstring
 
void ARC_Config_Create (ARC_Config **config)
 creates ARC_Config type
 
void ARC_Config_Destroy (ARC_Config *config)
 destroys ARC_Config type
 
void ARC_Config_SetGroup (ARC_Config *config, ARC_String *groupname)
 sets current group in config
 
void ARC_Config_Get (ARC_Config *config, ARC_String *keyname, void **value)
 get a value from a given keyname
 
void ARC_Config_Recurse (ARC_Config *config, ARC_String **data, ARC_String *groupstr, uint8_t *command)
 
void ARC_Config_SetKeyGroup (ARC_Config *config, ARC_String **data, uint8_t *command)
 
void ARC_Config_LoadFromKey (ARC_Config *config, ARC_String *keyType, ARC_String *name, ARC_String *value)
 
void ARC_Config_UnloadFromKey (ARC_Config *config, ARC_String *keyType, ARC_String *name, ARC_String *value)
 
void ARC_Config_GetNameAndValue (ARC_String *data, ARC_String **name, ARC_String **value)
 
void ARC_Config_StripComment (ARC_String *original, ARC_String **stripped, ARC_String *lineStart, ARC_String *lineEnd)
 
void ARC_Config_RemoveComments (ARC_String *original, ARC_String **commentRemoved)
 
void ARC_Config_RunCommand (ARC_Config *config, ARC_String *command)
 
void ARC_Config_RemoveAndRunCommands (ARC_Config *config, ARC_String *original, ARC_String **commandRemoved)
 
void ARC_Config_FileIO (ARC_Config *config, ARC_String *path, uint8_t command)
 handles file io for ARC_Config Type
 
-

Typedef Documentation

- -

◆ ARC_ConfigDeleteKeyArgs

- -
-
- - - - -
typedef struct ARC_ConfigDeleteKeyArgs ARC_ConfigDeleteKeyArgs
-
- -
-
- -

◆ ARC_ConfigKey

- -
-
- - - - -
typedef struct ARC_ConfigKey ARC_ConfigKey
-
- -
-
- -

◆ ARC_ConfigTypeTemplate

- -
-
- - - - -
typedef struct ARC_ConfigTypeTemplate ARC_ConfigTypeTemplate
-
- -
-
-

Function Documentation

- -

◆ ARC_Config_AddKey()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Config_AddKey (ARC_Config * config,
ARC_String * type,
ARC_ConfigKeyRead keyRead,
ARC_ConfigKeyDelete keyDelete )
-
- -

adds a usable key to ARC_Config

-
Parameters
- - - - - -
configARC_Config to add keys to
typestring of key type
keyReadfunction for reading/creating key from string
keyDeletefunction for deleting stored key
-
-
- -

Definition at line 45 of file config.c.

-
45 {
-
46 ARC_ConfigKey *newKey = (ARC_ConfigKey *)malloc(sizeof(ARC_ConfigKey));
-
47 newKey->Read = keyRead;
-
48 newKey->Delete = keyDelete;
-
49
-
50 char *typeval = (char *)malloc(sizeof(char) * type->length);
-
51 strncpy(typeval, type->data, type->length);
-
52 ARC_Hashtable_Add(config->keys, (void *)typeval, type->length, newKey);
-
53}
-
void ARC_Hashtable_Add(ARC_Hashtable *htable, void *key, size_t keysize, void *data)
adds value to hastable
Definition hashtable.c:75
- -
ARC_ConfigKeyDelete Delete
Definition config.c:22
-
ARC_ConfigKeyRead Read
Definition config.c:21
-
ARC_Hashtable * keys
Definition config.c:17
-
uint64_t length
Definition string.h:16
-
char * data
Definition string.h:15
-
-

References ARC_Hashtable_Add(), ARC_String::data, ARC_ConfigKey::Delete, ARC_Config::keys, ARC_String::length, and ARC_ConfigKey::Read.

- -
-
- -

◆ ARC_Config_AddKeyCString()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
void ARC_Config_AddKeyCString (ARC_Config * config,
const char * type,
uint64_t length,
ARC_ConfigKeyRead keyRead,
ARC_ConfigKeyDelete keyDelete )
-
- -

adds a key from a cstring

-
Parameters
- - - - - - -
configARC_Config to add keys to
typecstring of key type
lengthlength of cstring
keyReadfunction for reading/creating key from string
keyDeletefunction for deleting stored key
-
-
- -

Definition at line 55 of file config.c.

-
55 {
-
56 ARC_ConfigKey *newKey = (ARC_ConfigKey *)malloc(sizeof(ARC_ConfigKey));
-
57 newKey->Read = keyRead;
-
58 newKey->Delete = keyDelete;
-
59
-
60 char *typeval = (char *)malloc(sizeof(char) * length);
-
61 strncpy(typeval, type, length);
-
62 ARC_Hashtable_Add(config->keys, (void *)typeval, length, newKey);
-
63}
-
-

References ARC_Hashtable_Add(), ARC_ConfigKey::Delete, ARC_Config::keys, and ARC_ConfigKey::Read.

- -

Referenced by ARC_MathConfig_Init().

- -
-
- -

◆ ARC_Config_Create()

- -
-
- - - - - - - -
void ARC_Config_Create (ARC_Config ** config)
-
- -

creates ARC_Config type

-
Parameters
- - -
configARC_Config to initialize
-
-
- -

Definition at line 65 of file config.c.

-
65 {
-
66 *config = (ARC_Config *)malloc(sizeof(ARC_Config));
-
67 (*config)->currgroup = NULL;
-
68
-
69 ARC_Hashtable *groups;
- -
71 (*config)->groups = groups;
-
72 ARC_Config_CreateGroup(*config, NULL);
-
73
-
74 ARC_Hashtable *keys;
- -
76 (*config)->keys = keys;
-
77
-
78#ifdef ARC_DEFAULT_CONFIG
- -
80#endif
-
81}
-
void ARC_Hashtable_Create(ARC_Hashtable **htable, uint32_t bucketsize, ARC_Hashtable_Hash hash, ARC_Hashtable_KeyCompare compare)
cteates ARC_Hashtable type
Definition hashtable.c:56
-
void ARC_Config_CreateGroup(ARC_Config *config, ARC_String *name)
Definition config.c:565
-
int8_t ARC_Config_KeyComp(void *key1, size_t *key1size, void *key2, size_t *key2size)
Definition config.c:557
-
#define ARC_KEY_BUCKET_SIZE
Definition config.h:12
-
#define ARC_GROUP_BUCKET_SIZE
Definition config.h:13
-
void ARC_Defaults_ConfigKey_Create(ARC_Config *config)
- -
ARC_Hashtable * currgroup
Definition config.c:14
- -
-

References ARC_Config_CreateGroup(), ARC_Config_KeyComp(), ARC_Defaults_ConfigKey_Create(), ARC_GROUP_BUCKET_SIZE, ARC_Hashtable_Create(), ARC_KEY_BUCKET_SIZE, and ARC_Config::currgroup.

- -
-
- -

◆ ARC_Config_CreateGroup()

- -
-
- - - - - - - - - - - -
void ARC_Config_CreateGroup (ARC_Config * config,
ARC_String * name )
-
- -

Definition at line 565 of file config.c.

-
565 {
-
566 ARC_Hashtable *data;
- -
568
-
569 if(name){
-
570 char *nameval = (char *)malloc(sizeof(char) * name->length);
-
571 strncpy(nameval, name->data, name->length);
-
572 ARC_Hashtable_Add(config->groups, nameval, name->length, (void *)data);
-
573 return;
-
574 }
-
575
-
576 char *emptyGroup = (char *)malloc(sizeof(char));
-
577 emptyGroup[0] = ' ';
-
578 ARC_Hashtable_Add(config->groups, emptyGroup, 1, (void *)data);
-
579}
-
#define ARC_GROUP_DATA_BUCKET_SIZE
Definition config.h:14
-
ARC_Hashtable * groups
Definition config.c:16
-
-

References ARC_Config_KeyComp(), ARC_GROUP_DATA_BUCKET_SIZE, ARC_Hashtable_Add(), ARC_Hashtable_Create(), ARC_String::data, ARC_Config::groups, and ARC_String::length.

- -

Referenced by ARC_Config_Create(), and ARC_Config_SetGroup().

- -
-
- -

◆ ARC_Config_Destroy()

- -
-
- - - - - - - -
void ARC_Config_Destroy (ARC_Config * config)
-
- -

destroys ARC_Config type

- -

Definition at line 83 of file config.c.

-
83 {
-
84 ARC_ConfigDeleteKeyArgs keyArgs = {
-
85 .config = config,
-
86 .string = NULL,
-
87 };
-
88
-
89 ARC_Hashtable_Destroy(config->groups, ARC_Config_DestroyGroup, (void *)&keyArgs);
- -
91 free(config);
-
92}
-
void ARC_Hashtable_Destroy(ARC_Hashtable *htable, ARC_HashtableNode_DestroyExternal external, void *userdata)
destroys ARC_Hashtable type
Definition hashtable.c:64
-
void ARC_Config_RemoveKey(ARC_HashtableNode *node, void *userdata)
Definition config.c:600
-
void ARC_Config_DestroyGroup(ARC_HashtableNode *group, void *userdata)
Definition config.c:581
- -
-

References ARC_Config_DestroyGroup(), ARC_Config_RemoveKey(), ARC_Hashtable_Destroy(), ARC_Config::groups, and ARC_Config::keys.

- -
-
- -

◆ ARC_Config_DestroyGroup()

- -
-
- - - - - - - - - - - -
void ARC_Config_DestroyGroup (ARC_HashtableNode * group,
void * userdata )
-
- -

Definition at line 581 of file config.c.

-
581 {
-
582 free((char *)group->key);
- -
584}
-
void ARC_Config_DestroyGroupNode(ARC_HashtableNode *node, void *userdata)
Definition config.c:586
- - -
-

References ARC_Config_DestroyGroupNode(), ARC_Hashtable_Destroy(), ARC_HashtableNode::data, and ARC_HashtableNode::key.

- -

Referenced by ARC_Config_Destroy().

- -
-
- -

◆ ARC_Config_DestroyGroupNode()

- -
-
- - - - - - - - - - - -
void ARC_Config_DestroyGroupNode (ARC_HashtableNode * node,
void * userdata )
-
- -

Definition at line 586 of file config.c.

-
586 {
-
587 free((char *)node->key);
-
588
- -
590 if(temp->Delete && temp->data && userdata){
- -
592
-
593 temp->Delete(args->config, args->string, temp->data);
-
594 }
-
595
-
596 free(temp);
-
597 node->data = NULL;
-
598}
-
ARC_Config * config
Definition config.c:32
-
ARC_String * string
Definition config.c:33
- -
-

References ARC_ConfigDeleteKeyArgs::config, ARC_ConfigTypeTemplate::data, ARC_HashtableNode::data, ARC_ConfigTypeTemplate::Delete, ARC_HashtableNode::key, and ARC_ConfigDeleteKeyArgs::string.

- -

Referenced by ARC_Config_DestroyGroup(), and ARC_Config_UnloadFromKey().

- -
-
- -

◆ ARC_Config_FileIO()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Config_FileIO (ARC_Config * config,
ARC_String * path,
uint8_t command )
-
- -

handles file io for ARC_Config Type

-
Parameters
- - - -
configARC_Config where io operations will take place
pathfile path for io
-
-
- -

Definition at line 528 of file config.c.

-
528 {
-
529 arc_errno = 0; //TODO: Remove this, just testing
-
530 ARC_String *data;
-
531 ARC_IO_FileToStr(path, &data);
-
532 if(arc_errno){
-
533 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_IO_FileToStr(%s, &data, &size);\n", path->data);
-
534 return;
-
535 }
-
536
- -
538
-
539 ARC_String *temp = data;
-
540 ARC_Config_RemoveComments(temp, &data);
-
541 ARC_String_Destroy(temp);
-
542
-
543 temp = data;
-
544 ARC_Config_RemoveAndRunCommands(config, temp, &data);
-
545 ARC_String_Destroy(temp);
-
546
-
547 temp = data;
- -
549 ARC_String_Destroy(temp);
-
550
-
551 ARC_Config_Recurse(config, &data, NULL, &command);
-
552 if(data){
-
553 ARC_String_Destroy(data);
-
554 }
-
555}
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
void ARC_IO_FileToStr(ARC_String *path, ARC_String **data)
get string and size from file
Definition io.c:43
-
void ARC_Config_RemoveComments(ARC_String *original, ARC_String **commentRemoved)
Definition config.c:428
-
void ARC_Config_RemoveAndRunCommands(ARC_Config *config, ARC_String *original, ARC_String **commandRemoved)
Definition config.c:491
-
void ARC_Config_Recurse(ARC_Config *config, ARC_String **data, ARC_String *groupstr, uint8_t *command)
Definition config.c:271
-
void ARC_String_StripEndsWhitespace(ARC_String **stripped, ARC_String *original)
strips the whitespace from the ends of a string
Definition string.c:437
-
void ARC_String_AppendCStringWithStrlen(ARC_String **string, const char *cstring)
appends to an ARC_String with an ARC_String
Definition string.c:143
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
substring position within a string
Definition string.h:14
-
-

References ARC_Config_Recurse(), ARC_Config_RemoveAndRunCommands(), ARC_Config_RemoveComments(), ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_IO_FileToStr(), ARC_String_AppendCStringWithStrlen(), ARC_String_Destroy(), ARC_String_StripEndsWhitespace(), and ARC_String::data.

- -

Referenced by ARC_Config_RunCommand().

- -
-
- -

◆ ARC_Config_Get()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Config_Get (ARC_Config * config,
ARC_String * keyname,
void ** value )
-
- -

get a value from a given keyname

-
Note
name may be prefaced with <group>:: to specify group
-
Parameters
- - - - -
configARC_Config to get value from
keynamename of key to get from config
valuedata retrieved from config
-
-
- -

Definition at line 124 of file config.c.

-
124 {
-
125 ARC_ConfigTypeTemplate *temp = NULL;
-
126
-
127 uint64_t length = ARC_String_FindCString(keyname, "::", 2);
-
128 if(arc_errno){
-
129 //TODO: Debug info here
-
130 ARC_DEBUG_LOG_ERROR("in ARC_Config_Get(config, keyname, value); length threw error");
-
131 *value = NULL;
-
132 return;
-
133 }
-
134
-
135 if(length != ~((uint64_t)0)){
-
136 length--;
-
137 ARC_String *group = NULL;
-
138
-
139 if(length != 0){
-
140 ARC_String_CopySubstring(&group, keyname, 0, length);
-
141 }
-
142
-
143 ARC_Hashtable *currgroup = config->currgroup;
-
144 ARC_Config_SetGroup(config, group);
-
145 if(arc_errno){
-
146 ARC_DEBUG_LOG_ERROR("in ARC_Config_Get(config, keyname, value); setting group threw error");
-
147 ARC_String_Destroy(group);
-
148 *value = NULL;
-
149 return;
-
150 }
-
151
-
152 ARC_String *name;
-
153 ARC_String_CopySubstring(&name, keyname, length + 2, keyname->length - (length + 2));
-
154 ARC_Hashtable_Get(config->currgroup, (void *)name->data, name->length, (void **)&temp);
-
155 ARC_String_Destroy(name);
-
156
-
157 config->currgroup = currgroup;
-
158 if(group){
-
159 ARC_String_Destroy(group);
-
160 }
-
161
-
162 if(temp == NULL){
-
163 *value = NULL;
-
164 return;
-
165 }
-
166
-
167 *value = temp->data;
-
168 return;
-
169 }
-
170
-
171 if(!keyname){
-
172 *value = NULL;
-
173 return;
-
174 }
-
175
-
176 ARC_Hashtable_Get(config->currgroup, (void *)keyname->data, keyname->length, (void **)&temp);
-
177 if(arc_errno || temp == NULL){
-
178 *value = NULL;
-
179 return;
-
180 }
-
181
-
182 *value = temp->data;
-
183}
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
void ARC_Hashtable_Get(ARC_Hashtable *htable, void *key, size_t keysize, void **data)
gets value from hashtable by key
Definition hashtable.c:103
-
void ARC_Config_SetGroup(ARC_Config *config, ARC_String *groupname)
sets current group in config
Definition config.c:95
-
void ARC_String_CopySubstring(ARC_String **substring, ARC_String *original, uint64_t start, uint64_t length)
copy a subtring from a givin ARC_String
Definition string.c:72
-
uint64_t ARC_String_FindCString(ARC_String *string, const char *cstring, uint64_t length)
takes given cstring and gives position of first matching
Definition string.c:252
- -
-

References ARC_Config_SetGroup(), ARC_DEBUG_LOG_ERROR, arc_errno, ARC_Hashtable_Get(), ARC_String_CopySubstring(), ARC_String_Destroy(), ARC_String_FindCString(), ARC_Config::currgroup, ARC_ConfigTypeTemplate::data, ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_Point_Read(), ARC_Rect_Read(), ARC_RectArray_Read(), and ARC_RectArray_ReadRect().

- -
-
- -

◆ ARC_Config_GetNameAndValue()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Config_GetNameAndValue (ARC_String * data,
ARC_String ** name,
ARC_String ** value )
-
- -

Definition at line 251 of file config.c.

-
251 {
-
252 uint64_t index = ARC_String_FindCString(data, "=", 1);
-
253 if(arc_errno || index == ~(uint64_t)0){
-
254 *name = NULL;
-
255 *value = NULL;
-
256 return;
-
257 }
-
258
-
259 ARC_String_CopySubstring(name, data, 0, index - 1);
-
260 index++;
-
261
-
262 ARC_String *dataTemp = *name;
-
263 ARC_String_StripEndsWhitespace(name, dataTemp);
-
264 ARC_String_Destroy(dataTemp);
-
265
-
266 ARC_String_CopySubstring(&dataTemp, data, index, data->length - index);
-
267 ARC_String_StripEndsWhitespace(value, dataTemp);
-
268 ARC_String_Destroy(dataTemp);
-
269}
-
-

References arc_errno, ARC_String_CopySubstring(), ARC_String_Destroy(), ARC_String_FindCString(), ARC_String_StripEndsWhitespace(), and ARC_String::length.

- -

Referenced by ARC_Config_Recurse().

- -
-
- -

◆ ARC_Config_KeyComp()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
int8_t ARC_Config_KeyComp (void * key1,
size_t * key1size,
void * key2,
size_t * key2size )
-
- -

Definition at line 557 of file config.c.

-
557 {
-
558 if(*key1size - *key2size){
-
559 return -1;
-
560 }
-
561
-
562 return strncmp((const char *)key1, (const char *)key2, *key1size);
-
563}
-
-

Referenced by ARC_Config_Create(), and ARC_Config_CreateGroup().

- -
-
- -

◆ ARC_Config_LoadFromKey()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Config_LoadFromKey (ARC_Config * config,
ARC_String * keyType,
ARC_String * name,
ARC_String * value )
-
- -

Definition at line 211 of file config.c.

-
211 {
-
212 ARC_ConfigKey *key;
-
213 ARC_Hashtable_Get(config->keys, keyType->data, keyType->length, (void **)&key);
-
214 if(key == NULL){
- -
216 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_Config_LoadFromKey(config, string, value); no matching key: %s", keyType->data);
-
217 }
-
218
-
219 if(arc_errno){
-
220 return;
-
221 }
-
222
- -
224 templateVal->Delete = NULL;
-
225 templateVal->data = NULL;
-
226
-
227 uint8_t reference = key->Read(config, value, &(templateVal->data));
-
228 if(!reference){
-
229 templateVal->Delete = key->Delete;
-
230 }
-
231
-
232 if(arc_errno){
-
233 return;
-
234 }
-
235
-
236 char *nameval = (char *)malloc(sizeof(char) * name->length + 1);
-
237 strncpy(nameval, name->data, name->length);
-
238 nameval[name->length] = '\0';
-
239 ARC_Hashtable_Add(config->currgroup, nameval, name->length, (void *)templateVal);
-
240}
-
#define ARC_ERRNO_DATA
Definition errno.h:7
-
ARC_ConfigKeyDelete Delete
Definition config.c:26
-
-

References ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_DATA, ARC_Hashtable_Add(), ARC_Hashtable_Get(), ARC_Config::currgroup, ARC_ConfigTypeTemplate::data, ARC_String::data, ARC_ConfigKey::Delete, ARC_ConfigTypeTemplate::Delete, ARC_Config::keys, ARC_String::length, and ARC_ConfigKey::Read.

- -

Referenced by ARC_Config_Recurse().

- -
-
- -

◆ ARC_Config_Recurse()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Config_Recurse (ARC_Config * config,
ARC_String ** data,
ARC_String * groupstr,
uint8_t * command )
-
- -

Definition at line 271 of file config.c.

-
271 {
-
272 ARC_Config_SetGroup(config, groupstr);
-
273 if(arc_errno){
-
274 return;
-
275 }
-
276
-
277 ARC_Hashtable *group = config->currgroup;
-
278
-
279 while(*data && (*data)->length){
-
280 ARC_String *dataTemp = *data;
-
281 ARC_String_StripEndsWhitespace(data, dataTemp);
-
282 ARC_String_Destroy(dataTemp);
-
283
-
284 // break out of current group
-
285 if((*data)->data[0] == '}'){
-
286 config->currgroup = NULL;
-
287
-
288 dataTemp = *data;
-
289 ARC_String_CopySubstring(data, dataTemp, 1, dataTemp->length - 1);
-
290 ARC_String_Destroy(dataTemp);
-
291 return;
-
292 }
-
293
-
294 // set group
-
295 if(!(config->currgroup)){
-
296 config->currgroup = group;
-
297 }
-
298
-
299 // get keys type
-
300 uint64_t index = ARC_String_FindCString(*data, " ", 1);
-
301 if(arc_errno || index == ~(uint64_t)0){
-
302 return;
-
303 }
-
304
-
305 ARC_String *keyType, *keyTypeTemp;
-
306 ARC_String_CopySubstring(&keyTypeTemp, *data, 0, index);
-
307 ARC_String_StripEndsWhitespace(&keyType, keyTypeTemp);
-
308 ARC_String_Destroy(keyTypeTemp);
-
309
-
310 if(ARC_String_EqualsCString(keyType, "group", 5)){
-
311 ARC_Config_SetKeyGroup(config, data, command);
-
312 ARC_String_Destroy(keyType);
-
313 config->currgroup = group;
-
314 if(arc_errno){
-
315 return;
-
316 }
-
317
-
318 continue;
-
319 }
-
320
-
321 // get and copy up to the ;
-
322 ARC_String *nameAndValue;
-
323 uint64_t nextIndex = ARC_String_FindCString(*data, ";", 1);
-
324 if(nextIndex == ~(uint64_t)0){
- -
326 }
-
327
-
328 if(arc_errno){
-
329 ARC_String_Destroy(keyType);
-
330 return;
-
331 }
-
332
-
333 ARC_String_CopySubstring(&nameAndValue, *data, index, nextIndex - (index + 1));
-
334 if(arc_errno){
-
335 ARC_String_Destroy(keyType);
-
336 return;
-
337 }
-
338
-
339 // remove up to the ; from data string
-
340 dataTemp = *data;
-
341 ARC_String_CopySubstring(data, dataTemp, nextIndex, (*data)->length - nextIndex);
-
342 ARC_String_Destroy(dataTemp);
-
343 if(arc_errno){
-
344 ARC_String_Destroy(keyType);
-
345 ARC_String_Destroy(nameAndValue);
-
346 return;
-
347 }
-
348
-
349 // get name and value of string
-
350 ARC_String *name, *value;
-
351 ARC_Config_GetNameAndValue(nameAndValue, &name, &value);
-
352 ARC_String_Destroy(nameAndValue);
-
353 if(arc_errno){
-
354 ARC_String_Destroy(keyType);
-
355 return;
-
356 }
-
357
-
358 // load from key
-
359 if(*command == ARC_CONFIG_FILE_IO_LOAD){
-
360 ARC_Config_LoadFromKey(config, keyType, name, value);
-
361
-
362 ARC_String_Destroy(keyType);
-
363 ARC_String_Destroy(name );
-
364 ARC_String_Destroy(value );
-
365
-
366 if(arc_errno){
-
367 return;
-
368 }
-
369
-
370 continue;
-
371 }
-
372
-
373 // unload from key
-
374 if(*command == ARC_CONFIG_FILE_IO_UNLOAD){
-
375 ARC_Config_UnloadFromKey(config, keyType, name, value);
-
376
-
377 ARC_String_Destroy(keyType);
-
378 ARC_String_Destroy(name );
-
379 ARC_String_Destroy(value );
-
380
-
381 if(arc_errno){
-
382 return;
-
383 }
-
384
-
385 continue;
-
386 }
-
387
-
388 // config file wasn't loaded correctly
-
389 ARC_String_Destroy(keyType);
-
390 ARC_String_Destroy(name );
-
391 ARC_String_Destroy(value );
- -
393 return;
-
394 }
-
395
-
396 config->currgroup = group;
-
397}
-
void ARC_Config_UnloadFromKey(ARC_Config *config, ARC_String *keyType, ARC_String *name, ARC_String *value)
Definition config.c:242
-
void ARC_Config_GetNameAndValue(ARC_String *data, ARC_String **name, ARC_String **value)
Definition config.c:251
-
void ARC_Config_LoadFromKey(ARC_Config *config, ARC_String *keyType, ARC_String *name, ARC_String *value)
Definition config.c:211
-
void ARC_Config_SetKeyGroup(ARC_Config *config, ARC_String **data, uint8_t *command)
Definition config.c:187
-
#define ARC_CONFIG_FILE_IO_UNLOAD
Definition config.h:108
-
#define ARC_CONFIG_FILE_IO_LOAD
commands that can be used in ARC_Config_FileIO
Definition config.h:107
-
ARC_Bool ARC_String_EqualsCString(ARC_String *string, const char *cstring, uint64_t length)
check if ARC_String and cstring match
Definition string.c:159
-
-

References ARC_CONFIG_FILE_IO_LOAD, ARC_CONFIG_FILE_IO_UNLOAD, ARC_Config_GetNameAndValue(), ARC_Config_LoadFromKey(), ARC_Config_SetGroup(), ARC_Config_SetKeyGroup(), ARC_Config_UnloadFromKey(), arc_errno, ARC_ERRNO_DATA, ARC_String_CopySubstring(), ARC_String_Destroy(), ARC_String_EqualsCString(), ARC_String_FindCString(), ARC_String_StripEndsWhitespace(), ARC_Config::currgroup, and ARC_String::length.

- -

Referenced by ARC_Config_FileIO(), and ARC_Config_SetKeyGroup().

- -
-
- -

◆ ARC_Config_RemoveAndRunCommands()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Config_RemoveAndRunCommands (ARC_Config * config,
ARC_String * original,
ARC_String ** commandRemoved )
-
- -

Definition at line 491 of file config.c.

-
491 {
-
492 ARC_String *current;
-
493 ARC_String_Copy(&current, original);
-
494
-
495 ARC_String *lineStart, *lineEnd;
-
496 ARC_String_Create(&lineStart, "#" , 1);
-
497 ARC_String_Create(&lineEnd , "\n", 1);
-
498
-
499 uint64_t index = ARC_String_Find(current, lineStart);
-
500
-
501 while(index != ~(uint64_t)0){
-
502 uint64_t endIndex = ARC_String_Find(current, lineEnd);
-
503 if(endIndex == ~(uint64_t)0){
- -
505 ARC_String_Destroy(current );
-
506 ARC_String_Destroy(lineStart);
-
507 ARC_String_Destroy(lineEnd );
-
508 *commandRemoved = NULL;
-
509 return;
-
510 }
-
511
-
512 ARC_String *command;
-
513 ARC_String_CopySubstring(&command, current, index + lineStart->length, endIndex - (index + lineStart->length));
-
514 ARC_Config_RunCommand(config, command);
-
515
-
516 ARC_String *currentTemp = current;
-
517 ARC_String_RemoveSubstring(&current, currentTemp, command);
-
518 ARC_String_Destroy(command);
-
519 ARC_String_Destroy(currentTemp);
-
520 }
-
521
-
522 ARC_String_Destroy(lineStart);
-
523 ARC_String_Destroy(lineEnd );
-
524
-
525 *commandRemoved = current;
-
526}
-
void ARC_Config_RunCommand(ARC_Config *config, ARC_String *command)
Definition config.c:457
-
void ARC_String_RemoveSubstring(ARC_String **newString, ARC_String *original, ARC_String *substring)
copy a subtring from a givin ARC_String
Definition string.c:116
-
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
-
void ARC_String_Copy(ARC_String **copy, ARC_String *original)
copy a ARC_String
Definition string.c:62
-
uint64_t ARC_String_Find(ARC_String *string, ARC_String *substring)
takes a given string, and assigns index and length for position of first matching substring
Definition string.c:231
-
-

References ARC_Config_RunCommand(), arc_errno, ARC_ERRNO_DATA, ARC_String_Copy(), ARC_String_CopySubstring(), ARC_String_Create(), ARC_String_Destroy(), ARC_String_Find(), ARC_String_RemoveSubstring(), and ARC_String::length.

- -

Referenced by ARC_Config_FileIO().

- -
-
- -

◆ ARC_Config_RemoveComments()

- -
-
- - - - - - - - - - - -
void ARC_Config_RemoveComments (ARC_String * original,
ARC_String ** commentRemoved )
-
- -

Definition at line 428 of file config.c.

-
428 {
-
429 ARC_String *lineStart, *lineEnd;
-
430
-
431 //Single Line Comment
-
432 ARC_String_Create(&lineStart, "//", 2);
-
433 ARC_String_Create(&lineEnd , "\n", 1);
-
434
-
435 ARC_String *singleLineStripped;
-
436 ARC_Config_StripComment(original, &singleLineStripped, lineStart, lineEnd);
-
437
-
438 ARC_String_Destroy(lineStart);
-
439 ARC_String_Destroy(lineEnd );
-
440
-
441 if(arc_errno){
-
442 commentRemoved = NULL;
-
443 return;
-
444 }
-
445
-
446 //Multi Line Comment
-
447 ARC_String_Create(&lineStart, "/*", 2);
-
448 ARC_String_Create(&lineEnd , "*/", 2);
-
449
-
450 ARC_Config_StripComment(singleLineStripped, commentRemoved, lineStart, lineEnd);
-
451 ARC_String_Destroy(singleLineStripped);
-
452
-
453 ARC_String_Destroy(lineStart);
-
454 ARC_String_Destroy(lineEnd );
-
455}
-
void ARC_Config_StripComment(ARC_String *original, ARC_String **stripped, ARC_String *lineStart, ARC_String *lineEnd)
Definition config.c:399
-
-

References ARC_Config_StripComment(), arc_errno, ARC_String_Create(), and ARC_String_Destroy().

- -

Referenced by ARC_Config_FileIO().

- -
-
- -

◆ ARC_Config_RemoveKey()

- -
-
- - - - - - - - - - - -
void ARC_Config_RemoveKey (ARC_HashtableNode * node,
void * userdata )
-
- -

Definition at line 600 of file config.c.

-
600 {
-
601 free((char *)node->key);
-
602
-
603 if(!node->data){
- -
605 return;
-
606 }
-
607
-
608 free((ARC_ConfigKey *)node->data);
-
609}
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
-

References arc_errno, ARC_ERRNO_NULL, ARC_HashtableNode::data, and ARC_HashtableNode::key.

- -

Referenced by ARC_Config_Destroy().

- -
-
- -

◆ ARC_Config_RunCommand()

- -
-
- - - - - - - - - - - -
void ARC_Config_RunCommand (ARC_Config * config,
ARC_String * command )
-
- -

Definition at line 457 of file config.c.

-
457 {
-
458 ARC_String *space;
-
459 ARC_String_Create(&space, " " , 1);
-
460
-
461 uint64_t index = ARC_String_Find(command, space);
-
462 if(index == ~(uint64_t)0){
- -
464 ARC_String_Destroy(space);
-
465 return;
-
466 }
-
467
-
468 ARC_String *commandOpt;
-
469 ARC_String_CopySubstring(&commandOpt, command, 0, index);
-
470
-
471 ARC_String *commandArgTemp, *commandArg;
-
472 ARC_String_CopySubstring(&commandArgTemp, command, index + space->length, command->length - (index + space->length));
-
473 ARC_String_StripWhitespace(&commandArg, commandArgTemp);
-
474 ARC_String_Destroy(commandArgTemp);
-
475
-
476 if(ARC_String_EqualsCString(command, "load", 4)){
-
477 ARC_Config_FileIO(config, commandArg, ARC_CONFIG_FILE_IO_LOAD);
-
478 }
-
479 else if(ARC_String_EqualsCString(command, "unload", 6)){
-
480 ARC_Config_FileIO(config, commandArg, ARC_CONFIG_FILE_IO_UNLOAD);
-
481 }
-
482 else {
- -
484 }
-
485
-
486 ARC_String_Destroy(commandOpt);
-
487 ARC_String_Destroy(commandArg);
-
488 ARC_String_Destroy(space );
-
489}
-
void ARC_Config_FileIO(ARC_Config *config, ARC_String *path, uint8_t command)
handles file io for ARC_Config Type
Definition config.c:528
-
void ARC_String_StripWhitespace(ARC_String **stripped, ARC_String *original)
strips whitespace from a ARC_String
Definition string.c:366
-
-

References ARC_CONFIG_FILE_IO_LOAD, ARC_CONFIG_FILE_IO_UNLOAD, ARC_Config_FileIO(), arc_errno, ARC_ERRNO_DATA, ARC_String_CopySubstring(), ARC_String_Create(), ARC_String_Destroy(), ARC_String_EqualsCString(), ARC_String_Find(), ARC_String_StripWhitespace(), and ARC_String::length.

- -

Referenced by ARC_Config_RemoveAndRunCommands().

- -
-
- -

◆ ARC_Config_SetGroup()

- -
-
- - - - - - - - - - - -
void ARC_Config_SetGroup (ARC_Config * config,
ARC_String * groupname )
-
- -

sets current group in config

-
Note
ARC_Config_Get will use this set group
-
Parameters
- - - -
configARC_Config we are setting current group in
groupnamename of group that will be set
-
-
- -

Definition at line 95 of file config.c.

-
95 {
-
96 if(!config){
-
97 return;
-
98 }
-
99
-
100 if(groupname == NULL){
-
101 ARC_Hashtable_Get(config->groups, (void *)" ", 1, (void **)&(config->currgroup));
-
102 return;
-
103 }
-
104
-
105 ARC_Hashtable_Get(config->groups, (void *)groupname->data, groupname->length, (void **)&(config->currgroup));
-
106 arc_errno = 0;
-
107
-
108// if(arc_errno && arc_errno != ARC_ERRNO_NULL){
-
109// return;
-
110// }
-
111
-
112 if(config->currgroup){
-
113 return;
-
114 }
-
115
-
116 ARC_Config_CreateGroup(config, groupname);
-
117 if(arc_errno){
-
118 return;
-
119 }
-
120
-
121 ARC_Hashtable_Get(config->groups, (void *)groupname->data, groupname->length, (void **)&(config->currgroup));
-
122}
-
-

References ARC_Config_CreateGroup(), arc_errno, ARC_Hashtable_Get(), ARC_Config::currgroup, ARC_String::data, ARC_Config::groups, and ARC_String::length.

- -

Referenced by ARC_Config_Get(), and ARC_Config_Recurse().

- -
-
- -

◆ ARC_Config_SetKeyGroup()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Config_SetKeyGroup (ARC_Config * config,
ARC_String ** data,
uint8_t * command )
-
- -

Definition at line 187 of file config.c.

-
187 {
-
188 uint64_t index = ARC_String_FindCString(*data, " ", 1);
-
189 uint64_t nextIndex = ARC_String_FindCString(*data, "{", 1);
-
190 if(index == ~(uint64_t)0 || nextIndex == ~(uint64_t)0){
- -
192 }
-
193
-
194 if(arc_errno){
-
195 return;
-
196 }
-
197
-
198 ARC_String *name, *temp;
-
199 ARC_String_CopySubstring(&temp, *data, index, nextIndex - index - 1);
- -
201 ARC_String_Destroy(temp);
-
202
-
203 temp = *data;
-
204 ARC_String_CopySubstring(data, temp, nextIndex + 1, (*data)->length - (nextIndex + 1));
-
205 ARC_String_Destroy(temp);
-
206
-
207 ARC_Config_Recurse(config, data, name, command);
-
208 ARC_String_Destroy(name);
-
209}
-
-

References ARC_Config_Recurse(), arc_errno, ARC_ERRNO_DATA, ARC_String_CopySubstring(), ARC_String_Destroy(), ARC_String_FindCString(), ARC_String_StripEndsWhitespace(), and ARC_String::length.

- -

Referenced by ARC_Config_Recurse().

- -
-
- -

◆ ARC_Config_StripComment()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Config_StripComment (ARC_String * original,
ARC_String ** stripped,
ARC_String * lineStart,
ARC_String * lineEnd )
-
- -

Definition at line 399 of file config.c.

-
399 {
-
400 ARC_String *current = NULL;
-
401 ARC_String_Copy(&current, original);
-
402
-
403 uint64_t index = ARC_String_Find(original, lineStart);
-
404 while(index != ~(uint64_t)0){
-
405 ARC_String *commentString;
-
406 ARC_String_CopySubstring(&commentString, current, index + lineStart->length, current->length - (index + lineStart->length));
-
407
-
408 uint64_t endIndex = ARC_String_Find(commentString, lineEnd);
-
409 ARC_String_Destroy(commentString);
-
410 if(endIndex == ~(uint64_t)0){
-
411 ARC_DEBUG_LOG_ERROR("ARC_Config_RemoveComments(original, commentRemoved); No newline found when stripping single line comment");
- -
413 ARC_String_Destroy(current);
-
414 *stripped = NULL;
-
415 break;
-
416 }
-
417
-
418 ARC_String *currentTemp = current;
-
419 ARC_String_RemoveSection(&current, currentTemp, index, endIndex + lineStart->length + lineEnd->length);
-
420 ARC_String_Destroy(currentTemp);
-
421
-
422 index = ARC_String_Find(current, lineStart);
-
423 }
-
424
-
425 *stripped = current;
-
426}
-
void ARC_String_RemoveSection(ARC_String **newString, ARC_String *original, uint64_t removeIndex, uint64_t removeLength)
copy a subtring from a givin ARC_String
Definition string.c:499
-
-

References ARC_DEBUG_LOG_ERROR, arc_errno, ARC_ERRNO_DATA, ARC_String_Copy(), ARC_String_CopySubstring(), ARC_String_Destroy(), ARC_String_Find(), ARC_String_RemoveSection(), and ARC_String::length.

- -

Referenced by ARC_Config_RemoveComments().

- -
-
- -

◆ ARC_Config_UnloadFromKey()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Config_UnloadFromKey (ARC_Config * config,
ARC_String * keyType,
ARC_String * name,
ARC_String * value )
-
- -

Definition at line 242 of file config.c.

-
242 {
-
243 ARC_ConfigDeleteKeyArgs keyArgs = {
-
244 .config = config,
-
245 .string = value,
-
246 };
-
247
-
248 ARC_Hashtable_Remove(config->currgroup, name->data, name->length, ARC_Config_DestroyGroupNode, &keyArgs);
-
249}
-
void ARC_Hashtable_Remove(ARC_Hashtable *htable, void *key, size_t keysize, ARC_HashtableNode_DestroyExternal external, void *userdata)
removes value from hashtable
Definition hashtable.c:131
-
-

References ARC_Config_DestroyGroupNode(), ARC_Hashtable_Remove(), ARC_Config::currgroup, ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_Config_Recurse().

- -
-
-
- - -
- - diff --git a/doc/doxygen/html/db/d9c/std_2config_8c_source.html b/doc/doxygen/html/db/d9c/std_2config_8c_source.html deleted file mode 100644 index 502d9f9..0000000 --- a/doc/doxygen/html/db/d9c/std_2config_8c_source.html +++ /dev/null @@ -1,841 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/config.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
config.c
-
-
-Go to the documentation of this file.
1#include "arc/std/config.h"
-
2
-
3#include "arc/std/errno.h"
-
4#include "arc/std/hashtable.h"
-
5#include "arc/std/io.h"
-
6#include "arc/std/string.h"
-
7#include <stdio.h>
-
8#include <stdint.h>
-
9#include <stdlib.h>
-
10#include <stddef.h>
-
11#include <string.h>
-
12
- -
19
- -
24
- -
30
- -
35
-
36int8_t ARC_Config_KeyComp(void *key1, size_t *key1size, void *key2, size_t *key2size);
-
37
- -
39void ARC_Config_DestroyGroup(ARC_HashtableNode *group, void *userdata);
-
40
-
41void ARC_Config_DestroyGroupNode(ARC_HashtableNode *node , void *userdata);
-
42
-
43void ARC_Config_RemoveKey(ARC_HashtableNode *node, void *userdata);
-
44
-
- -
46 ARC_ConfigKey *newKey = (ARC_ConfigKey *)malloc(sizeof(ARC_ConfigKey));
-
47 newKey->Read = keyRead;
-
48 newKey->Delete = keyDelete;
-
49
-
50 char *typeval = (char *)malloc(sizeof(char) * type->length);
-
51 strncpy(typeval, type->data, type->length);
-
52 ARC_Hashtable_Add(config->keys, (void *)typeval, type->length, newKey);
-
53}
-
-
54
-
-
55void ARC_Config_AddKeyCString(ARC_Config *config, const char *type, uint64_t length, ARC_ConfigKeyRead keyRead, ARC_ConfigKeyDelete keyDelete){
-
56 ARC_ConfigKey *newKey = (ARC_ConfigKey *)malloc(sizeof(ARC_ConfigKey));
-
57 newKey->Read = keyRead;
-
58 newKey->Delete = keyDelete;
-
59
-
60 char *typeval = (char *)malloc(sizeof(char) * length);
-
61 strncpy(typeval, type, length);
-
62 ARC_Hashtable_Add(config->keys, (void *)typeval, length, newKey);
-
63}
-
-
64
-
- -
66 *config = (ARC_Config *)malloc(sizeof(ARC_Config));
-
67 (*config)->currgroup = NULL;
-
68
-
69 ARC_Hashtable *groups;
- -
71 (*config)->groups = groups;
-
72 ARC_Config_CreateGroup(*config, NULL);
-
73
-
74 ARC_Hashtable *keys;
- -
76 (*config)->keys = keys;
-
77
-
78#ifdef ARC_DEFAULT_CONFIG
- -
80#endif
-
81}
-
-
82
-
- -
84 ARC_ConfigDeleteKeyArgs keyArgs = {
-
85 .config = config,
-
86 .string = NULL,
-
87 };
-
88
-
89 ARC_Hashtable_Destroy(config->groups, ARC_Config_DestroyGroup, (void *)&keyArgs);
- -
91 free(config);
-
92}
-
-
93
-
94//TODO: fix NULL group
-
-
95void ARC_Config_SetGroup(ARC_Config *config, ARC_String *groupname){
-
96 if(!config){
-
97 return;
-
98 }
-
99
-
100 if(groupname == NULL){
-
101 ARC_Hashtable_Get(config->groups, (void *)" ", 1, (void **)&(config->currgroup));
-
102 return;
-
103 }
-
104
-
105 ARC_Hashtable_Get(config->groups, (void *)groupname->data, groupname->length, (void **)&(config->currgroup));
-
106 arc_errno = 0;
-
107
-
108// if(arc_errno && arc_errno != ARC_ERRNO_NULL){
-
109// return;
-
110// }
-
111
-
112 if(config->currgroup){
-
113 return;
-
114 }
-
115
-
116 ARC_Config_CreateGroup(config, groupname);
-
117 if(arc_errno){
-
118 return;
-
119 }
-
120
-
121 ARC_Hashtable_Get(config->groups, (void *)groupname->data, groupname->length, (void **)&(config->currgroup));
-
122}
-
-
123
-
-
124void ARC_Config_Get(ARC_Config *config, ARC_String *keyname, void **value){
-
125 ARC_ConfigTypeTemplate *temp = NULL;
-
126
-
127 uint64_t length = ARC_String_FindCString(keyname, "::", 2);
-
128 if(arc_errno){
-
129 //TODO: Debug info here
-
130 ARC_DEBUG_LOG_ERROR("in ARC_Config_Get(config, keyname, value); length threw error");
-
131 *value = NULL;
-
132 return;
-
133 }
-
134
-
135 if(length != ~((uint64_t)0)){
-
136 length--;
-
137 ARC_String *group = NULL;
-
138
-
139 if(length != 0){
-
140 ARC_String_CopySubstring(&group, keyname, 0, length);
-
141 }
-
142
-
143 ARC_Hashtable *currgroup = config->currgroup;
-
144 ARC_Config_SetGroup(config, group);
-
145 if(arc_errno){
-
146 ARC_DEBUG_LOG_ERROR("in ARC_Config_Get(config, keyname, value); setting group threw error");
-
147 ARC_String_Destroy(group);
-
148 *value = NULL;
-
149 return;
-
150 }
-
151
-
152 ARC_String *name;
-
153 ARC_String_CopySubstring(&name, keyname, length + 2, keyname->length - (length + 2));
-
154 ARC_Hashtable_Get(config->currgroup, (void *)name->data, name->length, (void **)&temp);
-
155 ARC_String_Destroy(name);
-
156
-
157 config->currgroup = currgroup;
-
158 if(group){
-
159 ARC_String_Destroy(group);
-
160 }
-
161
-
162 if(temp == NULL){
-
163 *value = NULL;
-
164 return;
-
165 }
-
166
-
167 *value = temp->data;
-
168 return;
-
169 }
-
170
-
171 if(!keyname){
-
172 *value = NULL;
-
173 return;
-
174 }
-
175
-
176 ARC_Hashtable_Get(config->currgroup, (void *)keyname->data, keyname->length, (void **)&temp);
-
177 if(arc_errno || temp == NULL){
-
178 *value = NULL;
-
179 return;
-
180 }
-
181
-
182 *value = temp->data;
-
183}
-
-
184
-
185void ARC_Config_Recurse(ARC_Config *config, ARC_String **data, ARC_String *groupstr, uint8_t *command);
-
186
-
-
187void ARC_Config_SetKeyGroup(ARC_Config *config, ARC_String **data, uint8_t *command){
-
188 uint64_t index = ARC_String_FindCString(*data, " ", 1);
-
189 uint64_t nextIndex = ARC_String_FindCString(*data, "{", 1);
-
190 if(index == ~(uint64_t)0 || nextIndex == ~(uint64_t)0){
- -
192 }
-
193
-
194 if(arc_errno){
-
195 return;
-
196 }
-
197
-
198 ARC_String *name, *temp;
-
199 ARC_String_CopySubstring(&temp, *data, index, nextIndex - index - 1);
- -
201 ARC_String_Destroy(temp);
-
202
-
203 temp = *data;
-
204 ARC_String_CopySubstring(data, temp, nextIndex + 1, (*data)->length - (nextIndex + 1));
-
205 ARC_String_Destroy(temp);
-
206
-
207 ARC_Config_Recurse(config, data, name, command);
-
208 ARC_String_Destroy(name);
-
209}
-
-
210
-
-
211void ARC_Config_LoadFromKey(ARC_Config *config, ARC_String *keyType, ARC_String *name, ARC_String *value){
-
212 ARC_ConfigKey *key;
-
213 ARC_Hashtable_Get(config->keys, keyType->data, keyType->length, (void **)&key);
-
214 if(key == NULL){
- -
216 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_Config_LoadFromKey(config, string, value); no matching key: %s", keyType->data);
-
217 }
-
218
-
219 if(arc_errno){
-
220 return;
-
221 }
-
222
- -
224 templateVal->Delete = NULL;
-
225 templateVal->data = NULL;
-
226
-
227 uint8_t reference = key->Read(config, value, &(templateVal->data));
-
228 if(!reference){
-
229 templateVal->Delete = key->Delete;
-
230 }
-
231
-
232 if(arc_errno){
-
233 return;
-
234 }
-
235
-
236 char *nameval = (char *)malloc(sizeof(char) * name->length + 1);
-
237 strncpy(nameval, name->data, name->length);
-
238 nameval[name->length] = '\0';
-
239 ARC_Hashtable_Add(config->currgroup, nameval, name->length, (void *)templateVal);
-
240}
-
-
241
-
- -
243 ARC_ConfigDeleteKeyArgs keyArgs = {
-
244 .config = config,
-
245 .string = value,
-
246 };
-
247
-
248 ARC_Hashtable_Remove(config->currgroup, name->data, name->length, ARC_Config_DestroyGroupNode, &keyArgs);
-
249}
-
-
250
-
- -
252 uint64_t index = ARC_String_FindCString(data, "=", 1);
-
253 if(arc_errno || index == ~(uint64_t)0){
-
254 *name = NULL;
-
255 *value = NULL;
-
256 return;
-
257 }
-
258
-
259 ARC_String_CopySubstring(name, data, 0, index - 1);
-
260 index++;
-
261
-
262 ARC_String *dataTemp = *name;
-
263 ARC_String_StripEndsWhitespace(name, dataTemp);
-
264 ARC_String_Destroy(dataTemp);
-
265
-
266 ARC_String_CopySubstring(&dataTemp, data, index, data->length - index);
-
267 ARC_String_StripEndsWhitespace(value, dataTemp);
-
268 ARC_String_Destroy(dataTemp);
-
269}
-
-
270
-
-
271void ARC_Config_Recurse(ARC_Config *config, ARC_String **data, ARC_String *groupstr, uint8_t *command){
-
272 ARC_Config_SetGroup(config, groupstr);
-
273 if(arc_errno){
-
274 return;
-
275 }
-
276
-
277 ARC_Hashtable *group = config->currgroup;
-
278
-
279 while(*data && (*data)->length){
-
280 ARC_String *dataTemp = *data;
-
281 ARC_String_StripEndsWhitespace(data, dataTemp);
-
282 ARC_String_Destroy(dataTemp);
-
283
-
284 // break out of current group
-
285 if((*data)->data[0] == '}'){
-
286 config->currgroup = NULL;
-
287
-
288 dataTemp = *data;
-
289 ARC_String_CopySubstring(data, dataTemp, 1, dataTemp->length - 1);
-
290 ARC_String_Destroy(dataTemp);
-
291 return;
-
292 }
-
293
-
294 // set group
-
295 if(!(config->currgroup)){
-
296 config->currgroup = group;
-
297 }
-
298
-
299 // get keys type
-
300 uint64_t index = ARC_String_FindCString(*data, " ", 1);
-
301 if(arc_errno || index == ~(uint64_t)0){
-
302 return;
-
303 }
-
304
-
305 ARC_String *keyType, *keyTypeTemp;
-
306 ARC_String_CopySubstring(&keyTypeTemp, *data, 0, index);
-
307 ARC_String_StripEndsWhitespace(&keyType, keyTypeTemp);
-
308 ARC_String_Destroy(keyTypeTemp);
-
309
-
310 if(ARC_String_EqualsCString(keyType, "group", 5)){
-
311 ARC_Config_SetKeyGroup(config, data, command);
-
312 ARC_String_Destroy(keyType);
-
313 config->currgroup = group;
-
314 if(arc_errno){
-
315 return;
-
316 }
-
317
-
318 continue;
-
319 }
-
320
-
321 // get and copy up to the ;
-
322 ARC_String *nameAndValue;
-
323 uint64_t nextIndex = ARC_String_FindCString(*data, ";", 1);
-
324 if(nextIndex == ~(uint64_t)0){
- -
326 }
-
327
-
328 if(arc_errno){
-
329 ARC_String_Destroy(keyType);
-
330 return;
-
331 }
-
332
-
333 ARC_String_CopySubstring(&nameAndValue, *data, index, nextIndex - (index + 1));
-
334 if(arc_errno){
-
335 ARC_String_Destroy(keyType);
-
336 return;
-
337 }
-
338
-
339 // remove up to the ; from data string
-
340 dataTemp = *data;
-
341 ARC_String_CopySubstring(data, dataTemp, nextIndex, (*data)->length - nextIndex);
-
342 ARC_String_Destroy(dataTemp);
-
343 if(arc_errno){
-
344 ARC_String_Destroy(keyType);
-
345 ARC_String_Destroy(nameAndValue);
-
346 return;
-
347 }
-
348
-
349 // get name and value of string
-
350 ARC_String *name, *value;
-
351 ARC_Config_GetNameAndValue(nameAndValue, &name, &value);
-
352 ARC_String_Destroy(nameAndValue);
-
353 if(arc_errno){
-
354 ARC_String_Destroy(keyType);
-
355 return;
-
356 }
-
357
-
358 // load from key
-
359 if(*command == ARC_CONFIG_FILE_IO_LOAD){
-
360 ARC_Config_LoadFromKey(config, keyType, name, value);
-
361
-
362 ARC_String_Destroy(keyType);
-
363 ARC_String_Destroy(name );
-
364 ARC_String_Destroy(value );
-
365
-
366 if(arc_errno){
-
367 return;
-
368 }
-
369
-
370 continue;
-
371 }
-
372
-
373 // unload from key
-
374 if(*command == ARC_CONFIG_FILE_IO_UNLOAD){
-
375 ARC_Config_UnloadFromKey(config, keyType, name, value);
-
376
-
377 ARC_String_Destroy(keyType);
-
378 ARC_String_Destroy(name );
-
379 ARC_String_Destroy(value );
-
380
-
381 if(arc_errno){
-
382 return;
-
383 }
-
384
-
385 continue;
-
386 }
-
387
-
388 // config file wasn't loaded correctly
-
389 ARC_String_Destroy(keyType);
-
390 ARC_String_Destroy(name );
-
391 ARC_String_Destroy(value );
- -
393 return;
-
394 }
-
395
-
396 config->currgroup = group;
-
397}
-
-
398
-
-
399void ARC_Config_StripComment(ARC_String *original, ARC_String **stripped, ARC_String *lineStart, ARC_String *lineEnd){
-
400 ARC_String *current = NULL;
-
401 ARC_String_Copy(&current, original);
-
402
-
403 uint64_t index = ARC_String_Find(original, lineStart);
-
404 while(index != ~(uint64_t)0){
-
405 ARC_String *commentString;
-
406 ARC_String_CopySubstring(&commentString, current, index + lineStart->length, current->length - (index + lineStart->length));
-
407
-
408 uint64_t endIndex = ARC_String_Find(commentString, lineEnd);
-
409 ARC_String_Destroy(commentString);
-
410 if(endIndex == ~(uint64_t)0){
-
411 ARC_DEBUG_LOG_ERROR("ARC_Config_RemoveComments(original, commentRemoved); No newline found when stripping single line comment");
- -
413 ARC_String_Destroy(current);
-
414 *stripped = NULL;
-
415 break;
-
416 }
-
417
-
418 ARC_String *currentTemp = current;
-
419 ARC_String_RemoveSection(&current, currentTemp, index, endIndex + lineStart->length + lineEnd->length);
-
420 ARC_String_Destroy(currentTemp);
-
421
-
422 index = ARC_String_Find(current, lineStart);
-
423 }
-
424
-
425 *stripped = current;
-
426}
-
-
427
-
-
428void ARC_Config_RemoveComments(ARC_String *original, ARC_String **commentRemoved){
-
429 ARC_String *lineStart, *lineEnd;
-
430
-
431 //Single Line Comment
-
432 ARC_String_Create(&lineStart, "//", 2);
-
433 ARC_String_Create(&lineEnd , "\n", 1);
-
434
-
435 ARC_String *singleLineStripped;
-
436 ARC_Config_StripComment(original, &singleLineStripped, lineStart, lineEnd);
-
437
-
438 ARC_String_Destroy(lineStart);
-
439 ARC_String_Destroy(lineEnd );
-
440
-
441 if(arc_errno){
-
442 commentRemoved = NULL;
-
443 return;
-
444 }
-
445
-
446 //Multi Line Comment
-
447 ARC_String_Create(&lineStart, "/*", 2);
-
448 ARC_String_Create(&lineEnd , "*/", 2);
-
449
-
450 ARC_Config_StripComment(singleLineStripped, commentRemoved, lineStart, lineEnd);
-
451 ARC_String_Destroy(singleLineStripped);
-
452
-
453 ARC_String_Destroy(lineStart);
-
454 ARC_String_Destroy(lineEnd );
-
455}
-
-
456
-
- -
458 ARC_String *space;
-
459 ARC_String_Create(&space, " " , 1);
-
460
-
461 uint64_t index = ARC_String_Find(command, space);
-
462 if(index == ~(uint64_t)0){
- -
464 ARC_String_Destroy(space);
-
465 return;
-
466 }
-
467
-
468 ARC_String *commandOpt;
-
469 ARC_String_CopySubstring(&commandOpt, command, 0, index);
-
470
-
471 ARC_String *commandArgTemp, *commandArg;
-
472 ARC_String_CopySubstring(&commandArgTemp, command, index + space->length, command->length - (index + space->length));
-
473 ARC_String_StripWhitespace(&commandArg, commandArgTemp);
-
474 ARC_String_Destroy(commandArgTemp);
-
475
-
476 if(ARC_String_EqualsCString(command, "load", 4)){
-
477 ARC_Config_FileIO(config, commandArg, ARC_CONFIG_FILE_IO_LOAD);
-
478 }
-
479 else if(ARC_String_EqualsCString(command, "unload", 6)){
-
480 ARC_Config_FileIO(config, commandArg, ARC_CONFIG_FILE_IO_UNLOAD);
-
481 }
-
482 else {
- -
484 }
-
485
-
486 ARC_String_Destroy(commandOpt);
-
487 ARC_String_Destroy(commandArg);
-
488 ARC_String_Destroy(space );
-
489}
-
-
490
-
-
491void ARC_Config_RemoveAndRunCommands(ARC_Config *config, ARC_String *original, ARC_String **commandRemoved){
-
492 ARC_String *current;
-
493 ARC_String_Copy(&current, original);
-
494
-
495 ARC_String *lineStart, *lineEnd;
-
496 ARC_String_Create(&lineStart, "#" , 1);
-
497 ARC_String_Create(&lineEnd , "\n", 1);
-
498
-
499 uint64_t index = ARC_String_Find(current, lineStart);
-
500
-
501 while(index != ~(uint64_t)0){
-
502 uint64_t endIndex = ARC_String_Find(current, lineEnd);
-
503 if(endIndex == ~(uint64_t)0){
- -
505 ARC_String_Destroy(current );
-
506 ARC_String_Destroy(lineStart);
-
507 ARC_String_Destroy(lineEnd );
-
508 *commandRemoved = NULL;
-
509 return;
-
510 }
-
511
-
512 ARC_String *command;
-
513 ARC_String_CopySubstring(&command, current, index + lineStart->length, endIndex - (index + lineStart->length));
-
514 ARC_Config_RunCommand(config, command);
-
515
-
516 ARC_String *currentTemp = current;
-
517 ARC_String_RemoveSubstring(&current, currentTemp, command);
-
518 ARC_String_Destroy(command);
-
519 ARC_String_Destroy(currentTemp);
-
520 }
-
521
-
522 ARC_String_Destroy(lineStart);
-
523 ARC_String_Destroy(lineEnd );
-
524
-
525 *commandRemoved = current;
-
526}
-
-
527
-
-
528void ARC_Config_FileIO(ARC_Config *config, ARC_String *path, uint8_t command){
-
529 arc_errno = 0; //TODO: Remove this, just testing
-
530 ARC_String *data;
-
531 ARC_IO_FileToStr(path, &data);
-
532 if(arc_errno){
-
533 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_IO_FileToStr(%s, &data, &size);\n", path->data);
-
534 return;
-
535 }
-
536
- -
538
-
539 ARC_String *temp = data;
-
540 ARC_Config_RemoveComments(temp, &data);
-
541 ARC_String_Destroy(temp);
-
542
-
543 temp = data;
-
544 ARC_Config_RemoveAndRunCommands(config, temp, &data);
-
545 ARC_String_Destroy(temp);
-
546
-
547 temp = data;
- -
549 ARC_String_Destroy(temp);
-
550
-
551 ARC_Config_Recurse(config, &data, NULL, &command);
-
552 if(data){
-
553 ARC_String_Destroy(data);
-
554 }
-
555}
-
-
556
-
-
557int8_t ARC_Config_KeyComp(void *key1, size_t *key1size, void *key2, size_t *key2size){
-
558 if(*key1size - *key2size){
-
559 return -1;
-
560 }
-
561
-
562 return strncmp((const char *)key1, (const char *)key2, *key1size);
-
563}
-
-
564
-
- -
566 ARC_Hashtable *data;
- -
568
-
569 if(name){
-
570 char *nameval = (char *)malloc(sizeof(char) * name->length);
-
571 strncpy(nameval, name->data, name->length);
-
572 ARC_Hashtable_Add(config->groups, nameval, name->length, (void *)data);
-
573 return;
-
574 }
-
575
-
576 char *emptyGroup = (char *)malloc(sizeof(char));
-
577 emptyGroup[0] = ' ';
-
578 ARC_Hashtable_Add(config->groups, emptyGroup, 1, (void *)data);
-
579}
-
-
580
-
-
581void ARC_Config_DestroyGroup(ARC_HashtableNode *group, void *userdata){
-
582 free((char *)group->key);
- -
584}
-
-
585
-
- -
587 free((char *)node->key);
-
588
- -
590 if(temp->Delete && temp->data && userdata){
- -
592
-
593 temp->Delete(args->config, args->string, temp->data);
-
594 }
-
595
-
596 free(temp);
-
597 node->data = NULL;
-
598}
-
-
599
-
-
600void ARC_Config_RemoveKey(ARC_HashtableNode *node, void *userdata){
-
601 free((char *)node->key);
-
602
-
603 if(!node->data){
- -
605 return;
-
606 }
-
607
-
608 free((ARC_ConfigKey *)node->data);
-
609}
-
- -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
#define ARC_ERRNO_DATA
Definition errno.h:7
- -
void ARC_Hashtable_Destroy(ARC_Hashtable *htable, ARC_HashtableNode_DestroyExternal external, void *userdata)
destroys ARC_Hashtable type
Definition hashtable.c:64
-
void ARC_Hashtable_Get(ARC_Hashtable *htable, void *key, size_t keysize, void **data)
gets value from hashtable by key
Definition hashtable.c:103
-
void ARC_Hashtable_Create(ARC_Hashtable **htable, uint32_t bucketsize, ARC_Hashtable_Hash hash, ARC_Hashtable_KeyCompare compare)
cteates ARC_Hashtable type
Definition hashtable.c:56
-
void ARC_Hashtable_Remove(ARC_Hashtable *htable, void *key, size_t keysize, ARC_HashtableNode_DestroyExternal external, void *userdata)
removes value from hashtable
Definition hashtable.c:131
-
void ARC_Hashtable_Add(ARC_Hashtable *htable, void *key, size_t keysize, void *data)
adds value to hastable
Definition hashtable.c:75
- -
void ARC_IO_FileToStr(ARC_String *path, ARC_String **data)
get string and size from file
Definition io.c:43
-
void ARC_Config_RemoveKey(ARC_HashtableNode *node, void *userdata)
Definition config.c:600
-
void ARC_Config_RemoveComments(ARC_String *original, ARC_String **commentRemoved)
Definition config.c:428
-
void ARC_Config_UnloadFromKey(ARC_Config *config, ARC_String *keyType, ARC_String *name, ARC_String *value)
Definition config.c:242
-
struct ARC_ConfigTypeTemplate ARC_ConfigTypeTemplate
-
void ARC_Config_StripComment(ARC_String *original, ARC_String **stripped, ARC_String *lineStart, ARC_String *lineEnd)
Definition config.c:399
-
void ARC_Config_Create(ARC_Config **config)
creates ARC_Config type
Definition config.c:65
-
void ARC_Config_RemoveAndRunCommands(ARC_Config *config, ARC_String *original, ARC_String **commandRemoved)
Definition config.c:491
-
void ARC_Config_GetNameAndValue(ARC_String *data, ARC_String **name, ARC_String **value)
Definition config.c:251
-
void ARC_Config_DestroyGroupNode(ARC_HashtableNode *node, void *userdata)
Definition config.c:586
-
struct ARC_ConfigDeleteKeyArgs ARC_ConfigDeleteKeyArgs
-
void ARC_Config_LoadFromKey(ARC_Config *config, ARC_String *keyType, ARC_String *name, ARC_String *value)
Definition config.c:211
-
void ARC_Config_RunCommand(ARC_Config *config, ARC_String *command)
Definition config.c:457
-
struct ARC_ConfigKey ARC_ConfigKey
-
void ARC_Config_Recurse(ARC_Config *config, ARC_String **data, ARC_String *groupstr, uint8_t *command)
Definition config.c:271
-
void ARC_Config_SetKeyGroup(ARC_Config *config, ARC_String **data, uint8_t *command)
Definition config.c:187
-
void ARC_Config_SetGroup(ARC_Config *config, ARC_String *groupname)
sets current group in config
Definition config.c:95
-
void ARC_Config_CreateGroup(ARC_Config *config, ARC_String *name)
Definition config.c:565
-
void ARC_Config_FileIO(ARC_Config *config, ARC_String *path, uint8_t command)
handles file io for ARC_Config Type
Definition config.c:528
-
void ARC_Config_DestroyGroup(ARC_HashtableNode *group, void *userdata)
Definition config.c:581
-
void ARC_Config_Destroy(ARC_Config *config)
destroys ARC_Config type
Definition config.c:83
-
int8_t ARC_Config_KeyComp(void *key1, size_t *key1size, void *key2, size_t *key2size)
Definition config.c:557
-
void ARC_Config_AddKey(ARC_Config *config, ARC_String *type, ARC_ConfigKeyRead keyRead, ARC_ConfigKeyDelete keyDelete)
adds a usable key to ARC_Config
Definition config.c:45
- -
#define ARC_CONFIG_FILE_IO_UNLOAD
Definition config.h:108
-
void ARC_Config_AddKeyCString(ARC_Config *config, const char *type, uint64_t length, ARC_ConfigKeyRead keyRead, ARC_ConfigKeyDelete keyDelete)
adds a key from a cstring
Definition config.c:55
-
uint8_t(* ARC_ConfigKeyRead)(ARC_Config *config, ARC_String *string, void **value)
a function to read a key from string to a ARC_ConfigTypeTemplate
Definition config.h:33
-
#define ARC_GROUP_DATA_BUCKET_SIZE
Definition config.h:14
-
void ARC_Config_Get(ARC_Config *config, ARC_String *keyname, void **value)
get a value from a given keyname
Definition config.c:124
-
#define ARC_CONFIG_FILE_IO_LOAD
commands that can be used in ARC_Config_FileIO
Definition config.h:107
-
#define ARC_KEY_BUCKET_SIZE
Definition config.h:12
-
#define ARC_GROUP_BUCKET_SIZE
Definition config.h:13
-
void(* ARC_ConfigKeyDelete)(ARC_Config *config, ARC_String *string, void *value)
a function to delete a value from a key in ARC_Config
Definition config.h:44
-
void ARC_Defaults_ConfigKey_Create(ARC_Config *config)
- -
void ARC_String_StripEndsWhitespace(ARC_String **stripped, ARC_String *original)
strips the whitespace from the ends of a string
Definition string.c:437
-
void ARC_String_RemoveSubstring(ARC_String **newString, ARC_String *original, ARC_String *substring)
copy a subtring from a givin ARC_String
Definition string.c:116
-
void ARC_String_AppendCStringWithStrlen(ARC_String **string, const char *cstring)
appends to an ARC_String with an ARC_String
Definition string.c:143
-
ARC_Bool ARC_String_EqualsCString(ARC_String *string, const char *cstring, uint64_t length)
check if ARC_String and cstring match
Definition string.c:159
-
void ARC_String_CopySubstring(ARC_String **substring, ARC_String *original, uint64_t start, uint64_t length)
copy a subtring from a givin ARC_String
Definition string.c:72
-
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
-
void ARC_String_Copy(ARC_String **copy, ARC_String *original)
copy a ARC_String
Definition string.c:62
-
uint64_t ARC_String_FindCString(ARC_String *string, const char *cstring, uint64_t length)
takes given cstring and gives position of first matching
Definition string.c:252
-
void ARC_String_StripWhitespace(ARC_String **stripped, ARC_String *original)
strips whitespace from a ARC_String
Definition string.c:366
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
uint64_t ARC_String_Find(ARC_String *string, ARC_String *substring)
takes a given string, and assigns index and length for position of first matching substring
Definition string.c:231
-
void ARC_String_RemoveSection(ARC_String **newString, ARC_String *original, uint64_t removeIndex, uint64_t removeLength)
copy a subtring from a givin ARC_String
Definition string.c:499
- -
ARC_Config * config
Definition config.c:32
-
ARC_String * string
Definition config.c:33
- -
ARC_ConfigKeyDelete Delete
Definition config.c:22
-
ARC_ConfigKeyRead Read
Definition config.c:21
- -
ARC_ConfigKeyDelete Delete
Definition config.c:26
- - -
ARC_Hashtable * groups
Definition config.c:16
-
ARC_Hashtable * keys
Definition config.c:17
-
ARC_Hashtable * currgroup
Definition config.c:14
- - - - -
substring position within a string
Definition string.h:14
-
uint64_t length
Definition string.h:16
-
char * data
Definition string.h:15
-
- - -
- - diff --git a/doc/doxygen/html/db/d9f/mouse_8c.html b/doc/doxygen/html/db/d9f/mouse_8c.html deleted file mode 100644 index dbd2c20..0000000 --- a/doc/doxygen/html/db/d9f/mouse_8c.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/input/mouse.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
mouse.c File Reference
-
- - - -
- - diff --git a/doc/doxygen/html/db/d9f/mouse_8c_source.html b/doc/doxygen/html/db/d9f/mouse_8c_source.html deleted file mode 100644 index 9b41979..0000000 --- a/doc/doxygen/html/db/d9f/mouse_8c_source.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/input/mouse.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
mouse.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_INPUT
-
2
-
3#include "arc/input/mouse.h"
-
4#include <stdio.h>
-
5
- -
7 printf("No Input Backend Selected\n");
-
8}
-
9
-
10void ARC_Mouse_Destroy(ARC_Mouse *mouse){
-
11 printf("No Input Backend Selected\n");
-
12}
-
13
-
14void ARC_Mouse_UpdateButton(ARC_Mouse *mouse, uint8_t button, uint32_t *buttons, uint32_t mask){
-
15 printf("No Input Backend Selected\n");
-
16}
-
17
-
18void ARC_Mouse_Update(ARC_Mouse *mouse){
-
19 printf("No Input Backend Selected\n");
-
20}
-
21
- -
23 printf("No Input Backend Selected\n");
-
24 return NULL;
-
25}
-
26
- -
28 printf("No Input Backend Selected\n");
-
29 return ARC_MOUSE_NONE;
-
30}
-
31
-
32int32_t *ARC_Mouse_GetScrollY(ARC_Mouse *mouse){
-
33 printf("No Input Backend Selected\n");
-
34 return NULL;
-
35}
-
36
-
37#endif // !ARC_INPUT_NONE
-
struct ARC_Input ARC_Input
predefien ARC_Input so as not to get circular reference
Definition input.h:17
- -
ARC_MouseState ARC_Mouse_GetState(ARC_Mouse *mouse, ARC_MouseButton button)
-
ARC_Point * ARC_Mouse_GetCoords(ARC_Mouse *mouse)
-
ARC_MouseButton
Definition mouse.h:24
-
int32_t * ARC_Mouse_GetScrollY(ARC_Mouse *mouse)
-
ARC_MouseState
Definition mouse.h:18
-
@ ARC_MOUSE_NONE
Definition mouse.h:19
-
void ARC_Mouse_Update(ARC_Mouse *mouse)
-
void ARC_Mouse_Destroy(ARC_Mouse *mouse)
-
struct ARC_Mouse ARC_Mouse
Definition mouse.h:16
-
void ARC_Mouse_CreateWithInput(ARC_Mouse **mouse, ARC_Input *input)
- -
- - -
- - diff --git a/doc/doxygen/html/db/db4/structARC__ConsoleElement.html b/doc/doxygen/html/db/db4/structARC__ConsoleElement.html deleted file mode 100644 index e6a2bec..0000000 --- a/doc/doxygen/html/db/db4/structARC__ConsoleElement.html +++ /dev/null @@ -1,233 +0,0 @@ - - - - - - - - -Archeus: ARC_ConsoleElement Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_ConsoleElement Struct Reference
-
-
- -

#include <element.h>

- - - - - - - - - - - - -

-Data Fields

uint32_t type
 
uint8_t flags
 
ARC_Stringstring
 
ARC_Point pos
 
ARC_ConsoleElement_RenderFn renderFn
 
-

Detailed Description

-
-

Definition at line 27 of file element.h.

-

Field Documentation

- -

◆ flags

- -
-
- - - - -
uint8_t ARC_ConsoleElement::flags
-
- -

Definition at line 29 of file element.h.

- -
-
- -

◆ pos

- -
-
- - - - -
ARC_Point ARC_ConsoleElement::pos
-
- -

Definition at line 32 of file element.h.

- -
-
- -

◆ renderFn

- -
-
- - - - -
ARC_ConsoleElement_RenderFn ARC_ConsoleElement::renderFn
-
- -

Definition at line 34 of file element.h.

- -
-
- -

◆ string

- -
-
- - - - -
ARC_String* ARC_ConsoleElement::string
-
- -

Definition at line 30 of file element.h.

- -
-
- -

◆ type

- -
-
- - - - -
uint32_t ARC_ConsoleElement::type
-
- -

Definition at line 28 of file element.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/include/arc/console/element.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/db/db4/structARC__ConsoleElement.js b/doc/doxygen/html/db/db4/structARC__ConsoleElement.js deleted file mode 100644 index c28451c..0000000 --- a/doc/doxygen/html/db/db4/structARC__ConsoleElement.js +++ /dev/null @@ -1,8 +0,0 @@ -var structARC__ConsoleElement = -[ - [ "flags", "db/db4/structARC__ConsoleElement.html#af403dcf178b1cdfa84a78b13dfb28b88", null ], - [ "pos", "db/db4/structARC__ConsoleElement.html#aa6f0764da84f8c5d4ab8b71b94f3a65a", null ], - [ "renderFn", "db/db4/structARC__ConsoleElement.html#a5bb20afcff792af26450d50263604672", null ], - [ "string", "db/db4/structARC__ConsoleElement.html#a7fc371db15cccf3f59912cd614f65044", null ], - [ "type", "db/db4/structARC__ConsoleElement.html#a2a697e874489478b3943314fa9895810", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/db/dc8/packages_2graphics_2sdl_2text_8c.html b/doc/doxygen/html/db/dc8/packages_2graphics_2sdl_2text_8c.html deleted file mode 100644 index 94a9c40..0000000 --- a/doc/doxygen/html/db/dc8/packages_2graphics_2sdl_2text_8c.html +++ /dev/null @@ -1,360 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/text.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
text.c File Reference
-
-
-
#include "arc/graphics/text.h"
-#include "text.h"
-#include "arc/graphics/color.h"
-#include "arc/math/point.h"
-#include "arc/math/rectangle.h"
-#include "arc/std/string.h"
-#include <SDL2/SDL_ttf.h>
-
-

Go to the source code of this file.

- - - - - - - - - - - - -

-Functions

void ARC_Text_Create (ARC_Text **text, ARC_String *path, int32_t size, ARC_Color color)
 
void ARC_Text_Destroy (ARC_Text *font)
 
void ARC_Text_SetString (ARC_Text *text, ARC_Renderer *renderer, ARC_String *string)
 
void ARC_Text_Render (ARC_Text *text, ARC_Renderer *renderer)
 
void ARC_Text_SetPos (ARC_Text *text, ARC_Point pos)
 
-

Function Documentation

- -

◆ ARC_Text_Create()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Text_Create (ARC_Text ** text,
ARC_String * path,
int32_t size,
ARC_Color color )
-
- -

Definition at line 11 of file text.c.

-
11 {
-
12 *text = (ARC_Text *)malloc(sizeof(ARC_Text));
-
13 ARC_String_Copy(&(*text)->name, path);
-
14 (*text)->size = size;
-
15 (*text)->color = color;
-
16 (*text)->texture = NULL;
-
17 (*text)->bounds = (ARC_Rect){ 0, 0, 0, 0 };
-
18
-
19 //TODO: fix this
-
20 if(TTF_Init()==-1) {
-
21 printf("TTF_Init: %s\n", TTF_GetError());
-
22 exit(2);
-
23 }
-
24}
-
struct ARC_Rect ARC_Rect
-
void ARC_String_Copy(ARC_String **copy, ARC_String *original)
copy a ARC_String
Definition string.c:62
- -
-

References ARC_String_Copy().

- -
-
- -

◆ ARC_Text_Destroy()

- -
-
- - - - - - - -
void ARC_Text_Destroy (ARC_Text * font)
-
- -

Definition at line 26 of file text.c.

-
26 {
-
27 if(font->texture != NULL){
-
28 SDL_DestroyTexture(font->texture);
-
29 }
- -
31 free(font);
-
32}
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
ARC_String * name
Definition text.h:11
-
SDL_Texture * texture
Definition text.h:16
-
-

References ARC_String_Destroy(), ARC_Text::name, and ARC_Text::texture.

- -
-
- -

◆ ARC_Text_Render()

- -
-
- - - - - - - - - - - -
void ARC_Text_Render (ARC_Text * text,
ARC_Renderer * renderer )
-
- -

Definition at line 52 of file text.c.

-
52 {
-
53 if(text->texture == NULL){
-
54 return;
-
55 }
-
56
-
57 SDL_Rect bounds = (SDL_Rect){ text->bounds.x, text->bounds.y, text->bounds.w, text->bounds.h };
-
58 SDL_RenderCopy((SDL_Renderer *)renderer, text->texture, NULL, &bounds);
-
59}
-
int32_t x
Definition rectangle.h:13
-
int32_t w
Definition rectangle.h:15
-
int32_t y
Definition rectangle.h:14
-
int32_t h
Definition rectangle.h:16
-
ARC_Rect bounds
Definition text.h:17
-
-

References ARC_Text::bounds, ARC_Rect::h, ARC_Text::texture, ARC_Rect::w, ARC_Rect::x, and ARC_Rect::y.

- -
-
- -

◆ ARC_Text_SetPos()

- -
-
- - - - - - - - - - - -
void ARC_Text_SetPos (ARC_Text * text,
ARC_Point pos )
-
- -

Definition at line 61 of file text.c.

-
61 {
-
62 text->bounds.x = pos.x;
-
63 text->bounds.y = pos.y;
-
64}
-
int32_t y
Definition point.h:12
-
int32_t x
Definition point.h:11
-
-

References ARC_Text::bounds, ARC_Point::x, ARC_Rect::x, ARC_Point::y, and ARC_Rect::y.

- -
-
- -

◆ ARC_Text_SetString()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Text_SetString (ARC_Text * text,
ARC_Renderer * renderer,
ARC_String * string )
-
- -

Definition at line 34 of file text.c.

-
34 {
-
35 TTF_Font *ttfont = TTF_OpenFont(text->name->data, text->size);
-
36 SDL_Color textColor = (SDL_Color){ text->color.r, text->color.g, text->color.b, text->color.a };
-
37
-
38 SDL_Surface *surface = TTF_RenderText_Blended_Wrapped(ttfont, string->data, textColor, 0);
-
39
-
40 text->bounds.w = surface->w;
-
41 text->bounds.h = surface->h;
-
42
-
43 if(text->texture){
-
44 SDL_DestroyTexture(text->texture);
-
45 }
-
46 text->texture = SDL_CreateTextureFromSurface((SDL_Renderer *)renderer, surface);
-
47
-
48 SDL_FreeSurface(surface);
-
49 TTF_CloseFont(ttfont);
-
50}
-
uint8_t a
Definition color.h:11
-
uint8_t r
Definition color.h:11
-
uint8_t b
Definition color.h:11
-
uint8_t g
Definition color.h:11
-
char * data
Definition string.h:15
-
ARC_Color color
Definition text.h:14
-
int32_t size
Definition text.h:12
-
-

References ARC_Color::a, ARC_Color::b, ARC_Text::bounds, ARC_Text::color, ARC_String::data, ARC_Color::g, ARC_Rect::h, ARC_Text::name, ARC_Color::r, ARC_Text::size, ARC_Text::texture, and ARC_Rect::w.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/db/dc8/packages_2graphics_2sdl_2text_8c.js b/doc/doxygen/html/db/dc8/packages_2graphics_2sdl_2text_8c.js deleted file mode 100644 index 23ee621..0000000 --- a/doc/doxygen/html/db/dc8/packages_2graphics_2sdl_2text_8c.js +++ /dev/null @@ -1,8 +0,0 @@ -var packages_2graphics_2sdl_2text_8c = -[ - [ "ARC_Text_Create", "db/dc8/packages_2graphics_2sdl_2text_8c.html#a317688d3c7ed9dc82fdef7dd136fd462", null ], - [ "ARC_Text_Destroy", "db/dc8/packages_2graphics_2sdl_2text_8c.html#a81e08f1c4210a1d33a6b5be4ff2bde8c", null ], - [ "ARC_Text_Render", "db/dc8/packages_2graphics_2sdl_2text_8c.html#a8fb85afa64d8e337f475db6eaa23bbcb", null ], - [ "ARC_Text_SetPos", "db/dc8/packages_2graphics_2sdl_2text_8c.html#acaf60a21f71839044b1eaa775c443db7", null ], - [ "ARC_Text_SetString", "db/dc8/packages_2graphics_2sdl_2text_8c.html#a2d5bfd55a4035453bcf751514e04f362", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/db/dc8/packages_2graphics_2sdl_2text_8c_source.html b/doc/doxygen/html/db/dc8/packages_2graphics_2sdl_2text_8c_source.html deleted file mode 100644 index 1a74707..0000000 --- a/doc/doxygen/html/db/dc8/packages_2graphics_2sdl_2text_8c_source.html +++ /dev/null @@ -1,237 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/text.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
text.c
-
-
-Go to the documentation of this file.
1#include "arc/graphics/text.h"
-
2
-
3#include "text.h"
- -
5#include "arc/math/point.h"
- -
7#include "arc/std/string.h"
-
8
-
9#include <SDL2/SDL_ttf.h>
-
10
-
-
11void ARC_Text_Create(ARC_Text **text, ARC_String *path, int32_t size, ARC_Color color){
-
12 *text = (ARC_Text *)malloc(sizeof(ARC_Text));
-
13 ARC_String_Copy(&(*text)->name, path);
-
14 (*text)->size = size;
-
15 (*text)->color = color;
-
16 (*text)->texture = NULL;
-
17 (*text)->bounds = (ARC_Rect){ 0, 0, 0, 0 };
-
18
-
19 //TODO: fix this
-
20 if(TTF_Init()==-1) {
-
21 printf("TTF_Init: %s\n", TTF_GetError());
-
22 exit(2);
-
23 }
-
24}
-
-
25
-
- -
27 if(font->texture != NULL){
-
28 SDL_DestroyTexture(font->texture);
-
29 }
- -
31 free(font);
-
32}
-
-
33
-
-
34void ARC_Text_SetString(ARC_Text *text, ARC_Renderer *renderer, ARC_String *string){
-
35 TTF_Font *ttfont = TTF_OpenFont(text->name->data, text->size);
-
36 SDL_Color textColor = (SDL_Color){ text->color.r, text->color.g, text->color.b, text->color.a };
-
37
-
38 SDL_Surface *surface = TTF_RenderText_Blended_Wrapped(ttfont, string->data, textColor, 0);
-
39
-
40 text->bounds.w = surface->w;
-
41 text->bounds.h = surface->h;
-
42
-
43 if(text->texture){
-
44 SDL_DestroyTexture(text->texture);
-
45 }
-
46 text->texture = SDL_CreateTextureFromSurface((SDL_Renderer *)renderer, surface);
-
47
-
48 SDL_FreeSurface(surface);
-
49 TTF_CloseFont(ttfont);
-
50}
-
-
51
-
-
52void ARC_Text_Render(ARC_Text *text, ARC_Renderer *renderer){
-
53 if(text->texture == NULL){
-
54 return;
-
55 }
-
56
-
57 SDL_Rect bounds = (SDL_Rect){ text->bounds.x, text->bounds.y, text->bounds.w, text->bounds.h };
-
58 SDL_RenderCopy((SDL_Renderer *)renderer, text->texture, NULL, &bounds);
-
59}
-
-
60
-
- -
62 text->bounds.x = pos.x;
-
63 text->bounds.y = pos.y;
-
64}
-
- -
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- -
void ARC_Text_SetString(ARC_Text *text, ARC_Renderer *renderer, ARC_String *string)
Definition text.c:34
-
void ARC_Text_Create(ARC_Text **text, ARC_String *path, int32_t size, ARC_Color color)
Definition text.c:11
-
void ARC_Text_Destroy(ARC_Text *font)
Definition text.c:26
-
void ARC_Text_Render(ARC_Text *text, ARC_Renderer *renderer)
Definition text.c:52
-
void ARC_Text_SetPos(ARC_Text *text, ARC_Point pos)
Definition text.c:61
- -
struct ARC_Rect ARC_Rect
- - - -
void ARC_String_Copy(ARC_String **copy, ARC_String *original)
copy a ARC_String
Definition string.c:62
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
- -
uint8_t a
Definition color.h:11
-
uint8_t r
Definition color.h:11
-
uint8_t b
Definition color.h:11
-
uint8_t g
Definition color.h:11
- -
int32_t y
Definition point.h:12
-
int32_t x
Definition point.h:11
-
int32_t x
Definition rectangle.h:13
-
int32_t w
Definition rectangle.h:15
-
int32_t y
Definition rectangle.h:14
-
int32_t h
Definition rectangle.h:16
-
substring position within a string
Definition string.h:14
-
char * data
Definition string.h:15
- -
ARC_String * name
Definition text.h:11
-
SDL_Texture * texture
Definition text.h:16
-
ARC_Rect bounds
Definition text.h:17
-
ARC_Color color
Definition text.h:14
-
int32_t size
Definition text.h:12
-
-
- - - - - - diff --git a/doc/doxygen/html/db/dd1/handler_8c.html b/doc/doxygen/html/db/dd1/handler_8c.html deleted file mode 100644 index 62d85be..0000000 --- a/doc/doxygen/html/db/dd1/handler_8c.html +++ /dev/null @@ -1,552 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/handler.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
handler.c File Reference
-
-
-
#include "arc/std/handler.h"
-#include "arc/std/errno.h"
-#include "arc/std/vector.h"
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_Handler
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_Handler_Create (ARC_Handler **handler, ARC_Handler_CompareDataFn *compareFn, ARC_Handler_CleanDataFn cleanfn)
 creates ARC_Handler type
 
void ARC_Handler_Destroy (ARC_Handler *handler)
 destroyes ARC_Handler type
 
void ARC_Handler_Add (ARC_Handler *handler, void *data)
 adds data to handler
 
void ARC_Handler_Remove (ARC_Handler *handler, void *data)
 remove from handler
 
void ARC_Handler_RemoveIndex (ARC_Handler *handler, uint32_t index)
 remove from handler
 
void ARC_Handler_Iterate (ARC_Handler *handler, ARC_Handler_DataFn datafn)
 calls provided function on each element in handler
 
void ARC_Handler_Clear (ARC_Handler *handler)
 clears all data from handler and puts it in trash vector
 
void ARC_Handler_Clean (ARC_Handler *handler)
 clears trash from handler
 
uint32_t ARC_Handler_GetSize (ARC_Handler *handler)
 gets size of vector
 
-

Function Documentation

- -

◆ ARC_Handler_Add()

- -
-
- - - - - - - - - - - -
void ARC_Handler_Add (ARC_Handler * handler,
void * data )
-
- -

adds data to handler

-
Parameters
- - - -
handlerARC_Handler to add to
datadata that is being added
-
-
- -

Definition at line 31 of file handler.c.

-
31 {
-
32 ARC_Vector_Add(handler->data, data);
-
33}
-
ARC_Vector * data
Definition handler.c:8
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:70
-
-

References ARC_Vector_Add(), and ARC_Handler::data.

- -
-
- -

◆ ARC_Handler_Clean()

- -
-
- - - - - - - -
void ARC_Handler_Clean (ARC_Handler * handler)
-
- -

clears trash from handler

-
Note
cleanfn's main purpose is to help manage memory
-
Parameters
- - -
handlerARC_Handler to remove trash from
-
-
- -

Definition at line 63 of file handler.c.

-
63 {
-
64 uint32_t i = 0;
-
65 while(ARC_Vector_GetSize(handler->trash)){
-
66 void *data = ARC_Vector_Get(handler->trash, i);
-
67
-
68 if(handler->cleanfn){
-
69 handler->cleanfn(data);
-
70 }
-
71
-
72 ARC_Vector_RemoveIndex(handler->trash, i);
-
73 }
-
74}
-
ARC_Vector * trash
Definition handler.c:9
-
ARC_Handler_CleanDataFn cleanfn
Definition handler.c:11
-
uint32_t ARC_Vector_GetSize(ARC_Vector *vector)
gets the current size of an ARC_Vector as an unsigned 32 bit integer
Definition vector.c:149
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:153
-
void ARC_Vector_RemoveIndex(ARC_Vector *vector, uint32_t index)
removes an item from an ARC_Vector at an index
Definition vector.c:110
-
-

References ARC_Vector_Get(), ARC_Vector_GetSize(), ARC_Vector_RemoveIndex(), ARC_Handler::cleanfn, and ARC_Handler::trash.

- -

Referenced by ARC_Engine_RunUncapped(), and ARC_Handler_Destroy().

- -
-
- -

◆ ARC_Handler_Clear()

- -
-
- - - - - - - -
void ARC_Handler_Clear (ARC_Handler * handler)
-
- -

clears all data from handler and puts it in trash vector

-
Parameters
- - -
handlerARC_Handler to clear data from
-
-
- -

Definition at line 56 of file handler.c.

-
56 {
-
57 uint32_t zeroIndex = 0;
-
58 while(ARC_Vector_GetSize(handler->data)){
-
59 ARC_Handler_RemoveIndex(handler, zeroIndex);
-
60 }
-
61}
-
void ARC_Handler_RemoveIndex(ARC_Handler *handler, uint32_t index)
remove from handler
Definition handler.c:40
-
-

References ARC_Handler_RemoveIndex(), ARC_Vector_GetSize(), and ARC_Handler::data.

- -

Referenced by ARC_Handler_Destroy().

- -
-
- -

◆ ARC_Handler_Create()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Handler_Create (ARC_Handler ** handler,
ARC_Handler_CompareDataFn * compareFn,
ARC_Handler_CleanDataFn cleanFn )
-
- -

creates ARC_Handler type

-
Parameters
- - - - -
configARC_Handler to initialize
compareFnfunction to remove handler data
cleanFnfunction to clean data in handler can be null
-
-
- -

Definition at line 14 of file handler.c.

-
14 {
-
15 *handler = (ARC_Handler *) malloc(sizeof(ARC_Handler));
-
16 ARC_Vector_Create(&((*handler)->data), NULL, NULL);
-
17 ARC_Vector_Create(&((*handler)->trash), compareFn, NULL);
-
18 (*handler)->cleanfn = cleanfn;
-
19}
- -
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:31
-
-

References ARC_Vector_Create().

- -

Referenced by ARC_EngineData_Create().

- -
-
- -

◆ ARC_Handler_Destroy()

- -
-
- - - - - - - -
void ARC_Handler_Destroy (ARC_Handler * handler)
-
- -

destroyes ARC_Handler type

-
Parameters
- - -
handlerARC_Handler to destory
-
-
- -

Definition at line 21 of file handler.c.

-
21 {
-
22 ARC_Handler_Clear(handler);
-
23 ARC_Handler_Clean(handler);
-
24
-
25 ARC_Vector_Destroy(handler->data);
-
26 ARC_Vector_Destroy(handler->trash);
-
27
-
28 free(handler);
-
29}
-
void ARC_Handler_Clear(ARC_Handler *handler)
clears all data from handler and puts it in trash vector
Definition handler.c:56
-
void ARC_Handler_Clean(ARC_Handler *handler)
clears trash from handler
Definition handler.c:63
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:54
-
-

References ARC_Handler_Clean(), ARC_Handler_Clear(), ARC_Vector_Destroy(), ARC_Handler::data, and ARC_Handler::trash.

- -

Referenced by ARC_EngineData_Destroy().

- -
-
- -

◆ ARC_Handler_GetSize()

- -
-
- - - - - - - -
uint32_t ARC_Handler_GetSize (ARC_Handler * handler)
-
- -

gets size of vector

-
Parameters
- - -
handlerARC_handler to get size from
-
-
- -

Definition at line 76 of file handler.c.

-
76 {
-
77 return ARC_Vector_GetSize(handler->data);
-
78}
-
-

References ARC_Vector_GetSize(), and ARC_Handler::data.

- -
-
- -

◆ ARC_Handler_Iterate()

- -
-
- - - - - - - - - - - -
void ARC_Handler_Iterate (ARC_Handler * handler,
ARC_Handler_DataFn datafn )
-
- -

calls provided function on each element in handler

-
Parameters
- - - -
handlerARC_Handler to iterate through
datafnfunction that will be called on each element of data
-
-
- -

Definition at line 50 of file handler.c.

-
50 {
-
51 for(uint32_t i = 0; i < ARC_Vector_GetSize(handler->data); i++){
-
52 datafn(ARC_Vector_Get(handler->data, i));
-
53 }
-
54}
-
-

References ARC_Vector_Get(), ARC_Vector_GetSize(), and ARC_Handler::data.

- -

Referenced by ARC_Engine_RunUncapped().

- -
-
- -

◆ ARC_Handler_Remove()

- -
-
- - - - - - - - - - - -
void ARC_Handler_Remove (ARC_Handler * handler,
void * data )
-
- -

remove from handler

-
Note
the data that is removed is stored in a trash vector the ARC_Handler_Clean function must be called clean the trash vector the trash vector is to make sure a state is not deleted while being run
-
Parameters
- - - -
handlerARC_Handler to remove from
datadata that is being removed
-
-
- -

Definition at line 35 of file handler.c.

-
35 {
-
36 ARC_Vector_Add(handler->trash, data);
-
37 ARC_Vector_Remove(handler->data, data);
-
38}
-
void ARC_Vector_Remove(ARC_Vector *vector, void *data)
removes an item from a matching item in an ARC_Vector
Definition vector.c:97
-
-

References ARC_Vector_Add(), ARC_Vector_Remove(), ARC_Handler::data, and ARC_Handler::trash.

- -
-
- -

◆ ARC_Handler_RemoveIndex()

- -
-
- - - - - - - - - - - -
void ARC_Handler_RemoveIndex (ARC_Handler * handler,
uint32_t index )
-
- -

remove from handler

-
Note
the data that is removed is stored in a trash vector the ARC_Handler_Clean function must be called clean the trash vector the trash vector is to make sure a state is not deleted while being run
-
Parameters
- - - -
handlerARC_Handler to remove from
indexindex of data that is being removed
-
-
- -

Definition at line 40 of file handler.c.

-
40 {
-
41 if(ARC_Vector_GetSize(handler->data) == 0){
-
42 return;
-
43 }
-
44
-
45 void *data = ARC_Vector_Get(handler->data, index);
-
46 ARC_Vector_Add(handler->trash, data);
-
47 ARC_Vector_RemoveIndex(handler->data, index);
-
48}
-
-

References ARC_Vector_Add(), ARC_Vector_Get(), ARC_Vector_GetSize(), ARC_Vector_RemoveIndex(), ARC_Handler::data, and ARC_Handler::trash.

- -

Referenced by ARC_Handler_Clear().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/db/dd1/handler_8c.js b/doc/doxygen/html/db/dd1/handler_8c.js deleted file mode 100644 index b85af31..0000000 --- a/doc/doxygen/html/db/dd1/handler_8c.js +++ /dev/null @@ -1,13 +0,0 @@ -var handler_8c = -[ - [ "ARC_Handler", "da/dcf/structARC__Handler.html", "da/dcf/structARC__Handler" ], - [ "ARC_Handler_Add", "db/dd1/handler_8c.html#a1819b266e74d30c0faf05b7ce687f2dc", null ], - [ "ARC_Handler_Clean", "db/dd1/handler_8c.html#af36b878567ea73a90f826af9af64c989", null ], - [ "ARC_Handler_Clear", "db/dd1/handler_8c.html#a7ce371bd450a568dfb98a9e4b40fa423", null ], - [ "ARC_Handler_Create", "db/dd1/handler_8c.html#ae19cabf50945dfcaff47a8f522086170", null ], - [ "ARC_Handler_Destroy", "db/dd1/handler_8c.html#a504e83100f5bc3b257f81fb27c7850d9", null ], - [ "ARC_Handler_GetSize", "db/dd1/handler_8c.html#ad3630dbdb66e538bf1d457b9c1bc1165", null ], - [ "ARC_Handler_Iterate", "db/dd1/handler_8c.html#adaa4103a1879a0e0acc595d3e1c2b911", null ], - [ "ARC_Handler_Remove", "db/dd1/handler_8c.html#af37753d9ef62d0b3cabf114acc890c22", null ], - [ "ARC_Handler_RemoveIndex", "db/dd1/handler_8c.html#aff62f9d70a675932736fa20f671490c4", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/db/dd1/handler_8c_source.html b/doc/doxygen/html/db/dd1/handler_8c_source.html deleted file mode 100644 index a447d51..0000000 --- a/doc/doxygen/html/db/dd1/handler_8c_source.html +++ /dev/null @@ -1,253 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/handler.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
handler.c
-
-
-Go to the documentation of this file.
1#include "arc/std/handler.h"
-
2
-
3#include "arc/std/errno.h"
-
4#include "arc/std/vector.h"
-
5#include <stdlib.h>
-
6
- -
13
-
- -
15 *handler = (ARC_Handler *) malloc(sizeof(ARC_Handler));
-
16 ARC_Vector_Create(&((*handler)->data), NULL, NULL);
-
17 ARC_Vector_Create(&((*handler)->trash), compareFn, NULL);
-
18 (*handler)->cleanfn = cleanfn;
-
19}
-
-
20
-
- -
22 ARC_Handler_Clear(handler);
-
23 ARC_Handler_Clean(handler);
-
24
-
25 ARC_Vector_Destroy(handler->data);
-
26 ARC_Vector_Destroy(handler->trash);
-
27
-
28 free(handler);
-
29}
-
-
30
-
-
31void ARC_Handler_Add(ARC_Handler *handler, void *data){
-
32 ARC_Vector_Add(handler->data, data);
-
33}
-
-
34
-
-
35void ARC_Handler_Remove(ARC_Handler *handler, void *data){
-
36 ARC_Vector_Add(handler->trash, data);
-
37 ARC_Vector_Remove(handler->data, data);
-
38}
-
-
39
-
-
40void ARC_Handler_RemoveIndex(ARC_Handler *handler, uint32_t index){
-
41 if(ARC_Vector_GetSize(handler->data) == 0){
-
42 return;
-
43 }
-
44
-
45 void *data = ARC_Vector_Get(handler->data, index);
-
46 ARC_Vector_Add(handler->trash, data);
-
47 ARC_Vector_RemoveIndex(handler->data, index);
-
48}
-
-
49
-
- -
51 for(uint32_t i = 0; i < ARC_Vector_GetSize(handler->data); i++){
-
52 datafn(ARC_Vector_Get(handler->data, i));
-
53 }
-
54}
-
-
55
-
- -
57 uint32_t zeroIndex = 0;
-
58 while(ARC_Vector_GetSize(handler->data)){
-
59 ARC_Handler_RemoveIndex(handler, zeroIndex);
-
60 }
-
61}
-
-
62
-
- -
64 uint32_t i = 0;
-
65 while(ARC_Vector_GetSize(handler->trash)){
-
66 void *data = ARC_Vector_Get(handler->trash, i);
-
67
-
68 if(handler->cleanfn){
-
69 handler->cleanfn(data);
-
70 }
-
71
-
72 ARC_Vector_RemoveIndex(handler->trash, i);
-
73 }
-
74}
-
-
75
-
- -
77 return ARC_Vector_GetSize(handler->data);
-
78}
-
- -
void ARC_Handler_Add(ARC_Handler *handler, void *data)
adds data to handler
Definition handler.c:31
-
void ARC_Handler_Destroy(ARC_Handler *handler)
destroyes ARC_Handler type
Definition handler.c:21
-
void ARC_Handler_Clear(ARC_Handler *handler)
clears all data from handler and puts it in trash vector
Definition handler.c:56
-
uint32_t ARC_Handler_GetSize(ARC_Handler *handler)
gets size of vector
Definition handler.c:76
-
void ARC_Handler_Iterate(ARC_Handler *handler, ARC_Handler_DataFn datafn)
calls provided function on each element in handler
Definition handler.c:50
-
void ARC_Handler_Create(ARC_Handler **handler, ARC_Handler_CompareDataFn *compareFn, ARC_Handler_CleanDataFn cleanfn)
creates ARC_Handler type
Definition handler.c:14
-
void ARC_Handler_Clean(ARC_Handler *handler)
clears trash from handler
Definition handler.c:63
-
void ARC_Handler_Remove(ARC_Handler *handler, void *data)
remove from handler
Definition handler.c:35
-
void ARC_Handler_RemoveIndex(ARC_Handler *handler, uint32_t index)
remove from handler
Definition handler.c:40
- -
ARC_Bool(* ARC_Handler_CompareDataFn)(void *a, void *b)
data comparison function ptr
Definition handler.h:26
-
void(* ARC_Handler_CleanDataFn)(void *data)
a function that will be used during destruction of trash vector
Definition handler.h:40
-
void(* ARC_Handler_DataFn)(void *data)
a function that will take iterated data
Definition handler.h:33
- -
ARC_Vector * data
Definition handler.c:8
-
ARC_Vector * trash
Definition handler.c:9
-
ARC_Handler_CleanDataFn cleanfn
Definition handler.c:11
-
a private dynamic array type
Definition vector.c:12
- -
uint32_t ARC_Vector_GetSize(ARC_Vector *vector)
gets the current size of an ARC_Vector as an unsigned 32 bit integer
Definition vector.c:149
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:153
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:70
-
void ARC_Vector_Remove(ARC_Vector *vector, void *data)
removes an item from a matching item in an ARC_Vector
Definition vector.c:97
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:54
-
void ARC_Vector_RemoveIndex(ARC_Vector *vector, uint32_t index)
removes an item from an ARC_Vector at an index
Definition vector.c:110
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:31
-
-
- - - - - - diff --git a/doc/doxygen/html/db/dda/packages_2input_2glfw_2mouse_8h.html b/doc/doxygen/html/db/dda/packages_2input_2glfw_2mouse_8h.html deleted file mode 100644 index 7259e14..0000000 --- a/doc/doxygen/html/db/dda/packages_2input_2glfw_2mouse_8h.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/input/glfw/mouse.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
mouse.h File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/db/dda/packages_2input_2glfw_2mouse_8h_source.html b/doc/doxygen/html/db/dda/packages_2input_2glfw_2mouse_8h_source.html deleted file mode 100644 index 50b8d55..0000000 --- a/doc/doxygen/html/db/dda/packages_2input_2glfw_2mouse_8h_source.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/input/glfw/mouse.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
mouse.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_GLFW_MOUSE_H_
-
2#define ARC_GLFW_MOUSE_H_
-
3
-
4#ifdef ARC_GLFW_INPUT
-
5#include <GLFW/glfw3.h>
-
6#include "arc/input/mouse.h"
-
7#include "arc/math/point.h"
-
8
-
9struct ARC_Mouse {
-
10 GLFWwindow *window;
-
11
- -
13 int32_t *scrollY;
-
14
- -
16 uint8_t *buttonsReleased;
-
17};
-
18
-
19struct ARC_MouseInfo {
-
20 GLFWwindow *window;
-
21};
-
22
-
23#endif // !ARC_GLFW_INPUT
-
24
-
25#endif // !ARC_GLFW_MOUSE_H_
- -
ARC_MouseState
Definition mouse.h:18
- - -
ARC_Point * coords
Definition mouse.h:10
-
ARC_MouseState * buttons
Definition mouse.h:13
-
int32_t * scrollY
Definition mouse.h:11
-
uint8_t * buttonsReleased
Definition mouse.h:14
- -
-
- - - - - - diff --git a/doc/doxygen/html/db/de0/tests_8dir_2link_8d.html b/doc/doxygen/html/db/de0/tests_8dir_2link_8d.html deleted file mode 100644 index e1de890..0000000 --- a/doc/doxygen/html/db/de0/tests_8dir_2link_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/link.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
link.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/db/de0/tests_8dir_2link_8d_source.html b/doc/doxygen/html/db/de0/tests_8dir_2link_8d_source.html deleted file mode 100644 index c888744..0000000 --- a/doc/doxygen/html/db/de0/tests_8dir_2link_8d_source.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/link.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
link.d
-
-
-Go to the documentation of this file.
1tests: \
-
2 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libm.so \
-
3 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libm.so \
-
4 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libgcc_s.so \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libgcc_s.so \
-
6 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libc.so \
-
7 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libc.so \
-
8 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libgcc_s.so \
-
9 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libgcc_s.so \
-
10 /usr/lib/ld-linux-x86-64.so.2
-
11
-
12/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libm.so:
-
13
-
14/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libm.so:
-
15
-
16/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libgcc_s.so:
-
17
-
18/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libgcc_s.so:
-
19
-
20/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libc.so:
-
21
-
22/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libc.so:
-
23
-
24/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libgcc_s.so:
-
25
-
26/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libgcc_s.so:
-
27
-
28/usr/lib/ld-linux-x86-64.so.2:
-
-
- - - - - - diff --git a/doc/doxygen/html/db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html b/doc/doxygen/html/db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html deleted file mode 100644 index c795264..0000000 --- a/doc/doxygen/html/db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html +++ /dev/null @@ -1,593 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/3.31.2/CompilerIdC/CMakeCCompilerId.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
CMakeCCompilerId.c File Reference
-
-
- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Macros

#define __has_include(x)
 
#define COMPILER_ID   ""
 
#define STRINGIFY_HELPER(X)
 
#define STRINGIFY(X)
 
#define PLATFORM_ID
 
#define ARCHITECTURE_ID
 
#define DEC(n)
 
#define HEX(n)
 
#define C_STD_99   199901L
 
#define C_STD_11   201112L
 
#define C_STD_17   201710L
 
#define C_STD_23   202311L
 
#define C_VERSION
 
- - - -

-Functions

int main (int argc, char *argv[])
 
- - - - - - - - - - - -

-Variables

char const * info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"
 
char const * info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"
 
char const * info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"
 
const char * info_language_standard_default
 
const char * info_language_extensions_default
 
-

Macro Definition Documentation

- -

◆ __has_include

- -
-
- - - - - - - -
#define __has_include( x)
-
-Value:
0
-
-

Definition at line 17 of file CMakeCCompilerId.c.

- -
-
- -

◆ ARCHITECTURE_ID

- -
-
- - - - -
#define ARCHITECTURE_ID
-
- -

Definition at line 745 of file CMakeCCompilerId.c.

- -
-
- -

◆ C_STD_11

- -
-
- - - - -
#define C_STD_11   201112L
-
- -

Definition at line 831 of file CMakeCCompilerId.c.

- -
-
- -

◆ C_STD_17

- -
-
- - - - -
#define C_STD_17   201710L
-
- -

Definition at line 832 of file CMakeCCompilerId.c.

- -
-
- -

◆ C_STD_23

- -
-
- - - - -
#define C_STD_23   202311L
-
- -

Definition at line 833 of file CMakeCCompilerId.c.

- -
-
- -

◆ C_STD_99

- -
-
- - - - -
#define C_STD_99   199901L
-
- -

Definition at line 830 of file CMakeCCompilerId.c.

- -
-
- -

◆ C_VERSION

- -
-
- - - - -
#define C_VERSION
-
- -

Definition at line 843 of file CMakeCCompilerId.c.

- -
-
- -

◆ COMPILER_ID

- -
-
- - - - -
#define COMPILER_ID   ""
-
- -

Definition at line 448 of file CMakeCCompilerId.c.

- -
-
- -

◆ DEC

- -
-
- - - - - - - -
#define DEC( n)
-
-Value:
('0' + (((n) / 10000000)%10)), \
-
('0' + (((n) / 1000000)%10)), \
-
('0' + (((n) / 100000)%10)), \
-
('0' + (((n) / 10000)%10)), \
-
('0' + (((n) / 1000)%10)), \
-
('0' + (((n) / 100)%10)), \
-
('0' + (((n) / 10)%10)), \
-
('0' + ((n) % 10))
-
-

Definition at line 749 of file CMakeCCompilerId.c.

-
749#define DEC(n) \
-
750 ('0' + (((n) / 10000000)%10)), \
-
751 ('0' + (((n) / 1000000)%10)), \
-
752 ('0' + (((n) / 100000)%10)), \
-
753 ('0' + (((n) / 10000)%10)), \
-
754 ('0' + (((n) / 1000)%10)), \
-
755 ('0' + (((n) / 100)%10)), \
-
756 ('0' + (((n) / 10)%10)), \
-
757 ('0' + ((n) % 10))
-
-
-
- -

◆ HEX

- -
-
- - - - - - - -
#define HEX( n)
-
-Value:
('0' + ((n)>>28 & 0xF)), \
-
('0' + ((n)>>24 & 0xF)), \
-
('0' + ((n)>>20 & 0xF)), \
-
('0' + ((n)>>16 & 0xF)), \
-
('0' + ((n)>>12 & 0xF)), \
-
('0' + ((n)>>8 & 0xF)), \
-
('0' + ((n)>>4 & 0xF)), \
-
('0' + ((n) & 0xF))
-
-

Definition at line 760 of file CMakeCCompilerId.c.

-
760#define HEX(n) \
-
761 ('0' + ((n)>>28 & 0xF)), \
-
762 ('0' + ((n)>>24 & 0xF)), \
-
763 ('0' + ((n)>>20 & 0xF)), \
-
764 ('0' + ((n)>>16 & 0xF)), \
-
765 ('0' + ((n)>>12 & 0xF)), \
-
766 ('0' + ((n)>>8 & 0xF)), \
-
767 ('0' + ((n)>>4 & 0xF)), \
-
768 ('0' + ((n) & 0xF))
-
-
-
- -

◆ PLATFORM_ID

- -
-
- - - - -
#define PLATFORM_ID
-
- -

Definition at line 579 of file CMakeCCompilerId.c.

- -
-
- -

◆ STRINGIFY

- -
-
- - - - - - - -
#define STRINGIFY( X)
-
-Value:
-
#define STRINGIFY_HELPER(X)
-
-

Definition at line 469 of file CMakeCCompilerId.c.

- -
-
- -

◆ STRINGIFY_HELPER

- -
-
- - - - - - - -
#define STRINGIFY_HELPER( X)
-
-Value:
#X
-
-

Definition at line 468 of file CMakeCCompilerId.c.

- -
-
-

Function Documentation

- -

◆ main()

- -
-
- - - - - - - - - - - -
int main (int argc,
char * argv[] )
-
- -

Definition at line 877 of file CMakeCCompilerId.c.

-
879{
-
880 int require = 0;
-
881 require += info_compiler[argc];
-
882 require += info_platform[argc];
-
883 require += info_arch[argc];
-
884#ifdef COMPILER_VERSION_MAJOR
-
885 require += info_version[argc];
-
886#endif
-
887#ifdef COMPILER_VERSION_INTERNAL
-
888 require += info_version_internal[argc];
-
889#endif
-
890#ifdef SIMULATE_ID
-
891 require += info_simulate[argc];
-
892#endif
-
893#ifdef SIMULATE_VERSION_MAJOR
-
894 require += info_simulate_version[argc];
-
895#endif
-
896#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
-
897 require += info_cray[argc];
-
898#endif
-
899 require += info_language_standard_default[argc];
-
900 require += info_language_extensions_default[argc];
-
901 (void)argv;
-
902 return require;
-
903}
-
const char * info_language_extensions_default
-
char const * info_platform
-
const char * info_language_standard_default
-
char const * info_compiler
-
char const * info_arch
-
-

References info_arch, info_compiler, info_language_extensions_default, info_language_standard_default, and info_platform.

- -
-
-

Variable Documentation

- -

◆ info_arch

- -
-
- - - - -
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"
-
- -

Definition at line 826 of file CMakeCCompilerId.c.

- -
-
- -

◆ info_compiler

- -
-
- - - - -
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"
-
- -

Definition at line 455 of file CMakeCCompilerId.c.

- -
-
- -

◆ info_language_extensions_default

- -
-
- - - - -
const char* info_language_extensions_default
-
-Initial value:
= "INFO" ":" "extensions_default["
-
-
-
-
-
-
"OFF"
-
-
"]"
-
-

Definition at line 859 of file CMakeCCompilerId.c.

- -
-
- -

◆ info_language_standard_default

- -
-
- - - - -
const char* info_language_standard_default
-
-Initial value:
=
-
"INFO" ":" "standard_default[" C_VERSION "]"
-
#define C_VERSION
-
-

Definition at line 856 of file CMakeCCompilerId.c.

- -
-
- -

◆ info_platform

- -
-
- - - - -
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"
-
- -

Definition at line 825 of file CMakeCCompilerId.c.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.js b/doc/doxygen/html/db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.js deleted file mode 100644 index f549bcd..0000000 --- a/doc/doxygen/html/db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.js +++ /dev/null @@ -1,22 +0,0 @@ -var 3_831_82_2CompilerIdC_2CMakeCCompilerId_8c = -[ - [ "__has_include", "db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#ae5510d82e4946f1656f4969911c54736", null ], - [ "ARCHITECTURE_ID", "db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#aba35d0d200deaeb06aee95ca297acb28", null ], - [ "C_STD_11", "db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a7c35af7e67642a2c62eb27dd81be11b2", null ], - [ "C_STD_17", "db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#aa8cd9c2c76dde36abac0bd7698090693", null ], - [ "C_STD_23", "db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a81af617e8f7b5417689ca478ce9f4d69", null ], - [ "C_STD_99", "db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#af6079dc519dac099ee85a1df6ae5e5e8", null ], - [ "C_VERSION", "db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#adaee3ee7c5a7a22451ea25e762e1d7d5", null ], - [ "COMPILER_ID", "db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a81dee0709ded976b2e0319239f72d174", null ], - [ "DEC", "db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#ad1280362da42492bbc11aa78cbf776ad", null ], - [ "HEX", "db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a46d5d95daa1bef867bd0179594310ed5", null ], - [ "PLATFORM_ID", "db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#adbc5372f40838899018fadbc89bd588b", null ], - [ "STRINGIFY", "db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a43e1cad902b6477bec893cb6430bd6c8", null ], - [ "STRINGIFY_HELPER", "db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a2ae9b72bb13abaabfcf2ee0ba7d3fa1d", null ], - [ "main", "db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a0ddf1224851353fc92bfbff6f499fa97", null ], - [ "info_arch", "db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a59647e99d304ed33b15cb284c27ed391", null ], - [ "info_compiler", "db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a4b0efeb7a5d59313986b3a0390f050f6", null ], - [ "info_language_extensions_default", "db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a0f46a8a39e09d9b803c4766904fd7e99", null ], - [ "info_language_standard_default", "db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a4607cccf070750927b458473ca82c090", null ], - [ "info_platform", "db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a2321403dee54ee23f0c2fa849c60f7d4", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c_source.html b/doc/doxygen/html/db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c_source.html deleted file mode 100644 index 2eb76e0..0000000 --- a/doc/doxygen/html/db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c_source.html +++ /dev/null @@ -1,1048 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/3.31.2/CompilerIdC/CMakeCCompilerId.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
CMakeCCompilerId.c
-
-
-Go to the documentation of this file.
1#ifdef __cplusplus
-
2# error "A C++ compiler has been selected for C."
-
3#endif
-
4
-
5#if defined(__18CXX)
-
6# define ID_VOID_MAIN
-
7#endif
-
8#if defined(__CLASSIC_C__)
-
9/* cv-qualifiers did not exist in K&R C */
-
10# define const
-
11# define volatile
-
12#endif
-
13
-
14#if !defined(__has_include)
-
15/* If the compiler does not have __has_include, pretend the answer is
-
16 always no. */
-
17# define __has_include(x) 0
-
18#endif
-
19
-
20
-
21/* Version number components: V=Version, R=Revision, P=Patch
-
22 Version date components: YYYY=Year, MM=Month, DD=Day */
-
23
-
24#if defined(__INTEL_COMPILER) || defined(__ICC)
-
25# define COMPILER_ID "Intel"
-
26# if defined(_MSC_VER)
-
27# define SIMULATE_ID "MSVC"
-
28# endif
-
29# if defined(__GNUC__)
-
30# define SIMULATE_ID "GNU"
-
31# endif
-
32 /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
-
33 except that a few beta releases use the old format with V=2021. */
-
34# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
-
35# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
-
36# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
-
37# if defined(__INTEL_COMPILER_UPDATE)
-
38# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
-
39# else
-
40# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
-
41# endif
-
42# else
-
43# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
-
44# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
-
45 /* The third version component from --version is an update index,
-
46 but no macro is provided for it. */
-
47# define COMPILER_VERSION_PATCH DEC(0)
-
48# endif
-
49# if defined(__INTEL_COMPILER_BUILD_DATE)
-
50 /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
-
51# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
-
52# endif
-
53# if defined(_MSC_VER)
-
54 /* _MSC_VER = VVRR */
-
55# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-
56# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-
57# endif
-
58# if defined(__GNUC__)
-
59# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
-
60# elif defined(__GNUG__)
-
61# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
-
62# endif
-
63# if defined(__GNUC_MINOR__)
-
64# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
-
65# endif
-
66# if defined(__GNUC_PATCHLEVEL__)
-
67# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-
68# endif
-
69
-
70#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
-
71# define COMPILER_ID "IntelLLVM"
-
72#if defined(_MSC_VER)
-
73# define SIMULATE_ID "MSVC"
-
74#endif
-
75#if defined(__GNUC__)
-
76# define SIMULATE_ID "GNU"
-
77#endif
-
78/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
-
79 * later. Look for 6 digit vs. 8 digit version number to decide encoding.
-
80 * VVVV is no smaller than the current year when a version is released.
-
81 */
-
82#if __INTEL_LLVM_COMPILER < 1000000L
-
83# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
-
84# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
-
85# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
-
86#else
-
87# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
-
88# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
-
89# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
-
90#endif
-
91#if defined(_MSC_VER)
-
92 /* _MSC_VER = VVRR */
-
93# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-
94# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-
95#endif
-
96#if defined(__GNUC__)
-
97# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
-
98#elif defined(__GNUG__)
-
99# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
-
100#endif
-
101#if defined(__GNUC_MINOR__)
-
102# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
-
103#endif
-
104#if defined(__GNUC_PATCHLEVEL__)
-
105# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-
106#endif
-
107
-
108#elif defined(__PATHCC__)
-
109# define COMPILER_ID "PathScale"
-
110# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
-
111# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
-
112# if defined(__PATHCC_PATCHLEVEL__)
-
113# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
-
114# endif
-
115
-
116#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
-
117# define COMPILER_ID "Embarcadero"
-
118# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
-
119# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
-
120# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
-
121
-
122#elif defined(__BORLANDC__)
-
123# define COMPILER_ID "Borland"
-
124 /* __BORLANDC__ = 0xVRR */
-
125# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
-
126# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
-
127
-
128#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
-
129# define COMPILER_ID "Watcom"
-
130 /* __WATCOMC__ = VVRR */
-
131# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
-
132# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
-
133# if (__WATCOMC__ % 10) > 0
-
134# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
-
135# endif
-
136
-
137#elif defined(__WATCOMC__)
-
138# define COMPILER_ID "OpenWatcom"
-
139 /* __WATCOMC__ = VVRP + 1100 */
-
140# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
-
141# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
-
142# if (__WATCOMC__ % 10) > 0
-
143# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
-
144# endif
-
145
-
146#elif defined(__SUNPRO_C)
-
147# define COMPILER_ID "SunPro"
-
148# if __SUNPRO_C >= 0x5100
-
149 /* __SUNPRO_C = 0xVRRP */
-
150# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
-
151# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
-
152# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
-
153# else
-
154 /* __SUNPRO_CC = 0xVRP */
-
155# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
-
156# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
-
157# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
-
158# endif
-
159
-
160#elif defined(__HP_cc)
-
161# define COMPILER_ID "HP"
-
162 /* __HP_cc = VVRRPP */
-
163# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
-
164# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
-
165# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
-
166
-
167#elif defined(__DECC)
-
168# define COMPILER_ID "Compaq"
-
169 /* __DECC_VER = VVRRTPPPP */
-
170# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
-
171# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
-
172# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
-
173
-
174#elif defined(__IBMC__) && defined(__COMPILER_VER__)
-
175# define COMPILER_ID "zOS"
-
176 /* __IBMC__ = VRP */
-
177# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
-
178# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
-
179# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
-
180
-
181#elif defined(__open_xl__) && defined(__clang__)
-
182# define COMPILER_ID "IBMClang"
-
183# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__)
-
184# define COMPILER_VERSION_MINOR DEC(__open_xl_release__)
-
185# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__)
-
186# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__)
-
187
-
188
-
189#elif defined(__ibmxl__) && defined(__clang__)
-
190# define COMPILER_ID "XLClang"
-
191# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
-
192# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
-
193# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
-
194# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
-
195
-
196
-
197#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
-
198# define COMPILER_ID "XL"
-
199 /* __IBMC__ = VRP */
-
200# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
-
201# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
-
202# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
-
203
-
204#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
-
205# define COMPILER_ID "VisualAge"
-
206 /* __IBMC__ = VRP */
-
207# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
-
208# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
-
209# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
-
210
-
211#elif defined(__NVCOMPILER)
-
212# define COMPILER_ID "NVHPC"
-
213# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
-
214# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
-
215# if defined(__NVCOMPILER_PATCHLEVEL__)
-
216# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
-
217# endif
-
218
-
219#elif defined(__PGI)
-
220# define COMPILER_ID "PGI"
-
221# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
-
222# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
-
223# if defined(__PGIC_PATCHLEVEL__)
-
224# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
-
225# endif
-
226
-
227#elif defined(__clang__) && defined(__cray__)
-
228# define COMPILER_ID "CrayClang"
-
229# define COMPILER_VERSION_MAJOR DEC(__cray_major__)
-
230# define COMPILER_VERSION_MINOR DEC(__cray_minor__)
-
231# define COMPILER_VERSION_PATCH DEC(__cray_patchlevel__)
-
232# define COMPILER_VERSION_INTERNAL_STR __clang_version__
-
233
-
234
-
235#elif defined(_CRAYC)
-
236# define COMPILER_ID "Cray"
-
237# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
-
238# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
-
239
-
240#elif defined(__TI_COMPILER_VERSION__)
-
241# define COMPILER_ID "TI"
-
242 /* __TI_COMPILER_VERSION__ = VVVRRRPPP */
-
243# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
-
244# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
-
245# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
-
246
-
247#elif defined(__CLANG_FUJITSU)
-
248# define COMPILER_ID "FujitsuClang"
-
249# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
-
250# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
-
251# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
-
252# define COMPILER_VERSION_INTERNAL_STR __clang_version__
-
253
-
254
-
255#elif defined(__FUJITSU)
-
256# define COMPILER_ID "Fujitsu"
-
257# if defined(__FCC_version__)
-
258# define COMPILER_VERSION __FCC_version__
-
259# elif defined(__FCC_major__)
-
260# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
-
261# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
-
262# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
-
263# endif
-
264# if defined(__fcc_version)
-
265# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
-
266# elif defined(__FCC_VERSION)
-
267# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
-
268# endif
-
269
-
270
-
271#elif defined(__ghs__)
-
272# define COMPILER_ID "GHS"
-
273/* __GHS_VERSION_NUMBER = VVVVRP */
-
274# ifdef __GHS_VERSION_NUMBER
-
275# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
-
276# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
-
277# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
-
278# endif
-
279
-
280#elif defined(__TASKING__)
-
281# define COMPILER_ID "Tasking"
-
282 # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000)
-
283 # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100)
-
284# define COMPILER_VERSION_INTERNAL DEC(__VERSION__)
-
285
-
286#elif defined(__ORANGEC__)
-
287# define COMPILER_ID "OrangeC"
-
288# define COMPILER_VERSION_MAJOR DEC(__ORANGEC_MAJOR__)
-
289# define COMPILER_VERSION_MINOR DEC(__ORANGEC_MINOR__)
-
290# define COMPILER_VERSION_PATCH DEC(__ORANGEC_PATCHLEVEL__)
-
291
-
292#elif defined(__TINYC__)
-
293# define COMPILER_ID "TinyCC"
-
294
-
295#elif defined(__BCC__)
-
296# define COMPILER_ID "Bruce"
-
297
-
298#elif defined(__SCO_VERSION__)
-
299# define COMPILER_ID "SCO"
-
300
-
301#elif defined(__ARMCC_VERSION) && !defined(__clang__)
-
302# define COMPILER_ID "ARMCC"
-
303#if __ARMCC_VERSION >= 1000000
-
304 /* __ARMCC_VERSION = VRRPPPP */
-
305 # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
-
306 # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
-
307 # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
-
308#else
-
309 /* __ARMCC_VERSION = VRPPPP */
-
310 # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
-
311 # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
-
312 # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
-
313#endif
-
314
-
315
-
316#elif defined(__clang__) && defined(__apple_build_version__)
-
317# define COMPILER_ID "AppleClang"
-
318# if defined(_MSC_VER)
-
319# define SIMULATE_ID "MSVC"
-
320# endif
-
321# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
-
322# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
-
323# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
-
324# if defined(_MSC_VER)
-
325 /* _MSC_VER = VVRR */
-
326# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-
327# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-
328# endif
-
329# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
-
330
-
331#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
-
332# define COMPILER_ID "ARMClang"
-
333 # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
-
334 # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
-
335 # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100)
-
336# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
-
337
-
338#elif defined(__clang__) && defined(__ti__)
-
339# define COMPILER_ID "TIClang"
-
340 # define COMPILER_VERSION_MAJOR DEC(__ti_major__)
-
341 # define COMPILER_VERSION_MINOR DEC(__ti_minor__)
-
342 # define COMPILER_VERSION_PATCH DEC(__ti_patchlevel__)
-
343# define COMPILER_VERSION_INTERNAL DEC(__ti_version__)
-
344
-
345#elif defined(__clang__)
-
346# define COMPILER_ID "Clang"
-
347# if defined(_MSC_VER)
-
348# define SIMULATE_ID "MSVC"
-
349# endif
-
350# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
-
351# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
-
352# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
-
353# if defined(_MSC_VER)
-
354 /* _MSC_VER = VVRR */
-
355# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-
356# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-
357# endif
-
358
-
359#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
-
360# define COMPILER_ID "LCC"
-
361# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100)
-
362# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100)
-
363# if defined(__LCC_MINOR__)
-
364# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
-
365# endif
-
366# if defined(__GNUC__) && defined(__GNUC_MINOR__)
-
367# define SIMULATE_ID "GNU"
-
368# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
-
369# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
-
370# if defined(__GNUC_PATCHLEVEL__)
-
371# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-
372# endif
-
373# endif
-
374
-
375#elif defined(__GNUC__)
-
376# define COMPILER_ID "GNU"
-
377# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
-
378# if defined(__GNUC_MINOR__)
-
379# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
-
380# endif
-
381# if defined(__GNUC_PATCHLEVEL__)
-
382# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-
383# endif
-
384
-
385#elif defined(_MSC_VER)
-
386# define COMPILER_ID "MSVC"
-
387 /* _MSC_VER = VVRR */
-
388# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
-
389# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
-
390# if defined(_MSC_FULL_VER)
-
391# if _MSC_VER >= 1400
-
392 /* _MSC_FULL_VER = VVRRPPPPP */
-
393# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
-
394# else
-
395 /* _MSC_FULL_VER = VVRRPPPP */
-
396# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
-
397# endif
-
398# endif
-
399# if defined(_MSC_BUILD)
-
400# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
-
401# endif
-
402
-
403#elif defined(_ADI_COMPILER)
-
404# define COMPILER_ID "ADSP"
-
405#if defined(__VERSIONNUM__)
-
406 /* __VERSIONNUM__ = 0xVVRRPPTT */
-
407# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF)
-
408# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF)
-
409# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF)
-
410# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF)
-
411#endif
-
412
-
413#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
-
414# define COMPILER_ID "IAR"
-
415# if defined(__VER__) && defined(__ICCARM__)
-
416# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
-
417# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
-
418# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
-
419# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
-
420# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
-
421# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
-
422# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
-
423# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
-
424# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
-
425# endif
-
426
-
427#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
-
428# define COMPILER_ID "SDCC"
-
429# if defined(__SDCC_VERSION_MAJOR)
-
430# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
-
431# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
-
432# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
-
433# else
-
434 /* SDCC = VRP */
-
435# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
-
436# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
-
437# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
-
438# endif
-
439
-
440
-
441/* These compilers are either not known or too old to define an
-
442 identification macro. Try to identify the platform and guess that
-
443 it is the native compiler. */
-
444#elif defined(__hpux) || defined(__hpua)
-
445# define COMPILER_ID "HP"
-
446
-
447#else /* unknown compiler */
-
448# define COMPILER_ID ""
-
449#endif
-
450
-
451/* Construct the string literal in pieces to prevent the source from
-
452 getting matched. Store it in a pointer rather than an array
-
453 because some compilers will just produce instructions to fill the
-
454 array rather than assigning a pointer to a static array. */
-
455char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
-
456#ifdef SIMULATE_ID
-
457char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
-
458#endif
-
459
-
460#ifdef __QNXNTO__
-
461char const* qnxnto = "INFO" ":" "qnxnto[]";
-
462#endif
-
463
-
464#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
-
465char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
-
466#endif
-
467
-
468#define STRINGIFY_HELPER(X) #X
-
469#define STRINGIFY(X) STRINGIFY_HELPER(X)
-
470
-
471/* Identify known platforms by name. */
-
472#if defined(__linux) || defined(__linux__) || defined(linux)
-
473# define PLATFORM_ID "Linux"
-
474
-
475#elif defined(__MSYS__)
-
476# define PLATFORM_ID "MSYS"
-
477
-
478#elif defined(__CYGWIN__)
-
479# define PLATFORM_ID "Cygwin"
-
480
-
481#elif defined(__MINGW32__)
-
482# define PLATFORM_ID "MinGW"
-
483
-
484#elif defined(__APPLE__)
-
485# define PLATFORM_ID "Darwin"
-
486
-
487#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
-
488# define PLATFORM_ID "Windows"
-
489
-
490#elif defined(__FreeBSD__) || defined(__FreeBSD)
-
491# define PLATFORM_ID "FreeBSD"
-
492
-
493#elif defined(__NetBSD__) || defined(__NetBSD)
-
494# define PLATFORM_ID "NetBSD"
-
495
-
496#elif defined(__OpenBSD__) || defined(__OPENBSD)
-
497# define PLATFORM_ID "OpenBSD"
-
498
-
499#elif defined(__sun) || defined(sun)
-
500# define PLATFORM_ID "SunOS"
-
501
-
502#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
-
503# define PLATFORM_ID "AIX"
-
504
-
505#elif defined(__hpux) || defined(__hpux__)
-
506# define PLATFORM_ID "HP-UX"
-
507
-
508#elif defined(__HAIKU__)
-
509# define PLATFORM_ID "Haiku"
-
510
-
511#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
-
512# define PLATFORM_ID "BeOS"
-
513
-
514#elif defined(__QNX__) || defined(__QNXNTO__)
-
515# define PLATFORM_ID "QNX"
-
516
-
517#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
-
518# define PLATFORM_ID "Tru64"
-
519
-
520#elif defined(__riscos) || defined(__riscos__)
-
521# define PLATFORM_ID "RISCos"
-
522
-
523#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
-
524# define PLATFORM_ID "SINIX"
-
525
-
526#elif defined(__UNIX_SV__)
-
527# define PLATFORM_ID "UNIX_SV"
-
528
-
529#elif defined(__bsdos__)
-
530# define PLATFORM_ID "BSDOS"
-
531
-
532#elif defined(_MPRAS) || defined(MPRAS)
-
533# define PLATFORM_ID "MP-RAS"
-
534
-
535#elif defined(__osf) || defined(__osf__)
-
536# define PLATFORM_ID "OSF1"
-
537
-
538#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
-
539# define PLATFORM_ID "SCO_SV"
-
540
-
541#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
-
542# define PLATFORM_ID "ULTRIX"
-
543
-
544#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
-
545# define PLATFORM_ID "Xenix"
-
546
-
547#elif defined(__WATCOMC__)
-
548# if defined(__LINUX__)
-
549# define PLATFORM_ID "Linux"
-
550
-
551# elif defined(__DOS__)
-
552# define PLATFORM_ID "DOS"
-
553
-
554# elif defined(__OS2__)
-
555# define PLATFORM_ID "OS2"
-
556
-
557# elif defined(__WINDOWS__)
-
558# define PLATFORM_ID "Windows3x"
-
559
-
560# elif defined(__VXWORKS__)
-
561# define PLATFORM_ID "VxWorks"
-
562
-
563# else /* unknown platform */
-
564# define PLATFORM_ID
-
565# endif
-
566
-
567#elif defined(__INTEGRITY)
-
568# if defined(INT_178B)
-
569# define PLATFORM_ID "Integrity178"
-
570
-
571# else /* regular Integrity */
-
572# define PLATFORM_ID "Integrity"
-
573# endif
-
574
-
575# elif defined(_ADI_COMPILER)
-
576# define PLATFORM_ID "ADSP"
-
577
-
578#else /* unknown platform */
-
579# define PLATFORM_ID
-
580
-
581#endif
-
582
-
583/* For windows compilers MSVC and Intel we can determine
-
584 the architecture of the compiler being used. This is because
-
585 the compilers do not have flags that can change the architecture,
-
586 but rather depend on which compiler is being used
-
587*/
-
588#if defined(_WIN32) && defined(_MSC_VER)
-
589# if defined(_M_IA64)
-
590# define ARCHITECTURE_ID "IA64"
-
591
-
592# elif defined(_M_ARM64EC)
-
593# define ARCHITECTURE_ID "ARM64EC"
-
594
-
595# elif defined(_M_X64) || defined(_M_AMD64)
-
596# define ARCHITECTURE_ID "x64"
-
597
-
598# elif defined(_M_IX86)
-
599# define ARCHITECTURE_ID "X86"
-
600
-
601# elif defined(_M_ARM64)
-
602# define ARCHITECTURE_ID "ARM64"
-
603
-
604# elif defined(_M_ARM)
-
605# if _M_ARM == 4
-
606# define ARCHITECTURE_ID "ARMV4I"
-
607# elif _M_ARM == 5
-
608# define ARCHITECTURE_ID "ARMV5I"
-
609# else
-
610# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
-
611# endif
-
612
-
613# elif defined(_M_MIPS)
-
614# define ARCHITECTURE_ID "MIPS"
-
615
-
616# elif defined(_M_SH)
-
617# define ARCHITECTURE_ID "SHx"
-
618
-
619# else /* unknown architecture */
-
620# define ARCHITECTURE_ID ""
-
621# endif
-
622
-
623#elif defined(__WATCOMC__)
-
624# if defined(_M_I86)
-
625# define ARCHITECTURE_ID "I86"
-
626
-
627# elif defined(_M_IX86)
-
628# define ARCHITECTURE_ID "X86"
-
629
-
630# else /* unknown architecture */
-
631# define ARCHITECTURE_ID ""
-
632# endif
-
633
-
634#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
-
635# if defined(__ICCARM__)
-
636# define ARCHITECTURE_ID "ARM"
-
637
-
638# elif defined(__ICCRX__)
-
639# define ARCHITECTURE_ID "RX"
-
640
-
641# elif defined(__ICCRH850__)
-
642# define ARCHITECTURE_ID "RH850"
-
643
-
644# elif defined(__ICCRL78__)
-
645# define ARCHITECTURE_ID "RL78"
-
646
-
647# elif defined(__ICCRISCV__)
-
648# define ARCHITECTURE_ID "RISCV"
-
649
-
650# elif defined(__ICCAVR__)
-
651# define ARCHITECTURE_ID "AVR"
-
652
-
653# elif defined(__ICC430__)
-
654# define ARCHITECTURE_ID "MSP430"
-
655
-
656# elif defined(__ICCV850__)
-
657# define ARCHITECTURE_ID "V850"
-
658
-
659# elif defined(__ICC8051__)
-
660# define ARCHITECTURE_ID "8051"
-
661
-
662# elif defined(__ICCSTM8__)
-
663# define ARCHITECTURE_ID "STM8"
-
664
-
665# else /* unknown architecture */
-
666# define ARCHITECTURE_ID ""
-
667# endif
-
668
-
669#elif defined(__ghs__)
-
670# if defined(__PPC64__)
-
671# define ARCHITECTURE_ID "PPC64"
-
672
-
673# elif defined(__ppc__)
-
674# define ARCHITECTURE_ID "PPC"
-
675
-
676# elif defined(__ARM__)
-
677# define ARCHITECTURE_ID "ARM"
-
678
-
679# elif defined(__x86_64__)
-
680# define ARCHITECTURE_ID "x64"
-
681
-
682# elif defined(__i386__)
-
683# define ARCHITECTURE_ID "X86"
-
684
-
685# else /* unknown architecture */
-
686# define ARCHITECTURE_ID ""
-
687# endif
-
688
-
689#elif defined(__clang__) && defined(__ti__)
-
690# if defined(__ARM_ARCH)
-
691# define ARCHITECTURE_ID "Arm"
-
692
-
693# else /* unknown architecture */
-
694# define ARCHITECTURE_ID ""
-
695# endif
-
696
-
697#elif defined(__TI_COMPILER_VERSION__)
-
698# if defined(__TI_ARM__)
-
699# define ARCHITECTURE_ID "ARM"
-
700
-
701# elif defined(__MSP430__)
-
702# define ARCHITECTURE_ID "MSP430"
-
703
-
704# elif defined(__TMS320C28XX__)
-
705# define ARCHITECTURE_ID "TMS320C28x"
-
706
-
707# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
-
708# define ARCHITECTURE_ID "TMS320C6x"
-
709
-
710# else /* unknown architecture */
-
711# define ARCHITECTURE_ID ""
-
712# endif
-
713
-
714# elif defined(__ADSPSHARC__)
-
715# define ARCHITECTURE_ID "SHARC"
-
716
-
717# elif defined(__ADSPBLACKFIN__)
-
718# define ARCHITECTURE_ID "Blackfin"
-
719
-
720#elif defined(__TASKING__)
-
721
-
722# if defined(__CTC__) || defined(__CPTC__)
-
723# define ARCHITECTURE_ID "TriCore"
-
724
-
725# elif defined(__CMCS__)
-
726# define ARCHITECTURE_ID "MCS"
-
727
-
728# elif defined(__CARM__)
-
729# define ARCHITECTURE_ID "ARM"
-
730
-
731# elif defined(__CARC__)
-
732# define ARCHITECTURE_ID "ARC"
-
733
-
734# elif defined(__C51__)
-
735# define ARCHITECTURE_ID "8051"
-
736
-
737# elif defined(__CPCP__)
-
738# define ARCHITECTURE_ID "PCP"
-
739
-
740# else
-
741# define ARCHITECTURE_ID ""
-
742# endif
-
743
-
744#else
-
745# define ARCHITECTURE_ID
-
746#endif
-
747
-
748/* Convert integer to decimal digit literals. */
-
-
749#define DEC(n) \
-
750 ('0' + (((n) / 10000000)%10)), \
-
751 ('0' + (((n) / 1000000)%10)), \
-
752 ('0' + (((n) / 100000)%10)), \
-
753 ('0' + (((n) / 10000)%10)), \
-
754 ('0' + (((n) / 1000)%10)), \
-
755 ('0' + (((n) / 100)%10)), \
-
756 ('0' + (((n) / 10)%10)), \
-
757 ('0' + ((n) % 10))
-
-
758
-
759/* Convert integer to hex digit literals. */
-
-
760#define HEX(n) \
-
761 ('0' + ((n)>>28 & 0xF)), \
-
762 ('0' + ((n)>>24 & 0xF)), \
-
763 ('0' + ((n)>>20 & 0xF)), \
-
764 ('0' + ((n)>>16 & 0xF)), \
-
765 ('0' + ((n)>>12 & 0xF)), \
-
766 ('0' + ((n)>>8 & 0xF)), \
-
767 ('0' + ((n)>>4 & 0xF)), \
-
768 ('0' + ((n) & 0xF))
-
-
769
-
770/* Construct a string literal encoding the version number. */
-
771#ifdef COMPILER_VERSION
-
772char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
-
773
-
774/* Construct a string literal encoding the version number components. */
-
775#elif defined(COMPILER_VERSION_MAJOR)
-
776char const info_version[] = {
-
777 'I', 'N', 'F', 'O', ':',
-
778 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
-
779 COMPILER_VERSION_MAJOR,
-
780# ifdef COMPILER_VERSION_MINOR
-
781 '.', COMPILER_VERSION_MINOR,
-
782# ifdef COMPILER_VERSION_PATCH
-
783 '.', COMPILER_VERSION_PATCH,
-
784# ifdef COMPILER_VERSION_TWEAK
-
785 '.', COMPILER_VERSION_TWEAK,
-
786# endif
-
787# endif
-
788# endif
-
789 ']','\0'};
-
790#endif
-
791
-
792/* Construct a string literal encoding the internal version number. */
-
793#ifdef COMPILER_VERSION_INTERNAL
-
794char const info_version_internal[] = {
-
795 'I', 'N', 'F', 'O', ':',
-
796 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
-
797 'i','n','t','e','r','n','a','l','[',
-
798 COMPILER_VERSION_INTERNAL,']','\0'};
-
799#elif defined(COMPILER_VERSION_INTERNAL_STR)
-
800char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
-
801#endif
-
802
-
803/* Construct a string literal encoding the version number components. */
-
804#ifdef SIMULATE_VERSION_MAJOR
-
805char const info_simulate_version[] = {
-
806 'I', 'N', 'F', 'O', ':',
-
807 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
-
808 SIMULATE_VERSION_MAJOR,
-
809# ifdef SIMULATE_VERSION_MINOR
-
810 '.', SIMULATE_VERSION_MINOR,
-
811# ifdef SIMULATE_VERSION_PATCH
-
812 '.', SIMULATE_VERSION_PATCH,
-
813# ifdef SIMULATE_VERSION_TWEAK
-
814 '.', SIMULATE_VERSION_TWEAK,
-
815# endif
-
816# endif
-
817# endif
-
818 ']','\0'};
-
819#endif
-
820
-
821/* Construct the string literal in pieces to prevent the source from
-
822 getting matched. Store it in a pointer rather than an array
-
823 because some compilers will just produce instructions to fill the
-
824 array rather than assigning a pointer to a static array. */
-
825char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
-
826char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
-
827
-
828
-
829
-
830#define C_STD_99 199901L
-
831#define C_STD_11 201112L
-
832#define C_STD_17 201710L
-
833#define C_STD_23 202311L
-
834
-
835#ifdef __STDC_VERSION__
-
836# define C_STD __STDC_VERSION__
-
837#endif
-
838
-
839#if !defined(__STDC__) && !defined(__clang__)
-
840# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__)
-
841# define C_VERSION "90"
-
842# else
-
843# define C_VERSION
-
844# endif
-
845#elif C_STD > C_STD_17
-
846# define C_VERSION "23"
-
847#elif C_STD > C_STD_11
-
848# define C_VERSION "17"
-
849#elif C_STD > C_STD_99
-
850# define C_VERSION "11"
-
851#elif C_STD >= C_STD_99
-
852# define C_VERSION "99"
-
853#else
-
854# define C_VERSION "90"
-
855#endif
- -
857 "INFO" ":" "standard_default[" C_VERSION "]";
-
858
-
859const char* info_language_extensions_default = "INFO" ":" "extensions_default["
-
860#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \
-
861 defined(__TI_COMPILER_VERSION__)) && \
-
862 !defined(__STRICT_ANSI__)
-
863 "ON"
-
864#else
-
865 "OFF"
-
866#endif
-
867"]";
-
868
-
869/*--------------------------------------------------------------------------*/
-
870
-
871#ifdef ID_VOID_MAIN
-
872void main() {}
-
873#else
-
874# if defined(__CLASSIC_C__)
-
875int main(argc, argv) int argc; char *argv[];
-
876# else
-
-
877int main(int argc, char* argv[])
-
878# endif
-
879{
-
880 int require = 0;
-
881 require += info_compiler[argc];
-
882 require += info_platform[argc];
-
883 require += info_arch[argc];
-
884#ifdef COMPILER_VERSION_MAJOR
-
885 require += info_version[argc];
-
886#endif
-
887#ifdef COMPILER_VERSION_INTERNAL
-
888 require += info_version_internal[argc];
-
889#endif
-
890#ifdef SIMULATE_ID
-
891 require += info_simulate[argc];
-
892#endif
-
893#ifdef SIMULATE_VERSION_MAJOR
-
894 require += info_simulate_version[argc];
-
895#endif
-
896#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
-
897 require += info_cray[argc];
-
898#endif
-
899 require += info_language_standard_default[argc];
-
900 require += info_language_extensions_default[argc];
-
901 (void)argv;
-
902 return require;
-
903}
-
-
904#endif
-
const char * info_language_extensions_default
-
char const * info_platform
-
const char * info_language_standard_default
-
char const * info_compiler
-
char const * info_arch
-
#define COMPILER_ID
-
#define ARCHITECTURE_ID
-
#define C_VERSION
-
#define PLATFORM_ID
-
int main(void)
Definition test.c:19
-
-
- - - - - - diff --git a/doc/doxygen/html/db/df9/archeus__std_8dir_2src_2std_2errno_8c_8o_8d.html b/doc/doxygen/html/db/df9/archeus__std_8dir_2src_2std_2errno_8c_8o_8d.html deleted file mode 100644 index 735ac4f..0000000 --- a/doc/doxygen/html/db/df9/archeus__std_8dir_2src_2std_2errno_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/errno.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
errno.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/db/df9/archeus__std_8dir_2src_2std_2errno_8c_8o_8d_source.html b/doc/doxygen/html/db/df9/archeus__std_8dir_2src_2std_2errno_8c_8o_8d_source.html deleted file mode 100644 index 462de1f..0000000 --- a/doc/doxygen/html/db/df9/archeus__std_8dir_2src_2std_2errno_8c_8o_8d_source.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/errno.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
errno.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/std/errno.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/errno.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h /usr/include/stdio.h \
-
15 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
16 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
17 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
18 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
19 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
20 /usr/include/bits/types/cookie_io_functions_t.h \
-
21 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
22 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/db/df9/structARC__State.html b/doc/doxygen/html/db/df9/structARC__State.html deleted file mode 100644 index 3d67483..0000000 --- a/doc/doxygen/html/db/df9/structARC__State.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - - - - -Archeus: ARC_State Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_State Struct Reference
-
-
- -

#include <state.h>

- - - - - - - - -

-Data Fields

ARC_State_UpdateFn updateFn
 
ARC_State_RenderFn renderFn
 
void * data
 
-

Detailed Description

-
-

Definition at line 10 of file state.h.

-

Field Documentation

- -

◆ data

- -
-
- - - - -
void* ARC_State::data
-
- -

Definition at line 13 of file state.h.

- -
-
- -

◆ renderFn

- -
-
- - - - -
ARC_State_RenderFn ARC_State::renderFn
-
- -

Definition at line 12 of file state.h.

- -
-
- -

◆ updateFn

- -
-
- - - - -
ARC_State_UpdateFn ARC_State::updateFn
-
- -

Definition at line 11 of file state.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/include/arc/engine/state.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/db/df9/structARC__State.js b/doc/doxygen/html/db/df9/structARC__State.js deleted file mode 100644 index 87ae8a9..0000000 --- a/doc/doxygen/html/db/df9/structARC__State.js +++ /dev/null @@ -1,6 +0,0 @@ -var structARC__State = -[ - [ "data", "db/df9/structARC__State.html#a3a952ed90074bd915b0596867cb54ac8", null ], - [ "renderFn", "db/df9/structARC__State.html#a40d2bf6460470ca2099cb40a92a6b16a", null ], - [ "updateFn", "db/df9/structARC__State.html#a148051eee51dc490fa147daf88508434", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/db/df9/structARC__UPoint.html b/doc/doxygen/html/db/df9/structARC__UPoint.html deleted file mode 100644 index f2b3024..0000000 --- a/doc/doxygen/html/db/df9/structARC__UPoint.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - -Archeus: ARC_UPoint Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_UPoint Struct Reference
-
-
- -

#include <point.h>

- - - - - - -

-Data Fields

uint32_t x
 
uint32_t y
 
-

Detailed Description

-
-

Definition at line 15 of file point.h.

-

Field Documentation

- -

◆ x

- -
-
- - - - -
uint32_t ARC_UPoint::x
-
- -

Definition at line 16 of file point.h.

- -
-
- -

◆ y

- -
-
- - - - -
uint32_t ARC_UPoint::y
-
- -

Definition at line 17 of file point.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/include/arc/math/point.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/db/df9/structARC__UPoint.js b/doc/doxygen/html/db/df9/structARC__UPoint.js deleted file mode 100644 index 735cea3..0000000 --- a/doc/doxygen/html/db/df9/structARC__UPoint.js +++ /dev/null @@ -1,5 +0,0 @@ -var structARC__UPoint = -[ - [ "x", "db/df9/structARC__UPoint.html#a8128dc43d895658b09e15b03c04472c8", null ], - [ "y", "db/df9/structARC__UPoint.html#ac3674a97016f4f40d42e94f169353ad0", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/db/dfd/key_8c.html b/doc/doxygen/html/db/dfd/key_8c.html deleted file mode 100644 index 1ed14da..0000000 --- a/doc/doxygen/html/db/dfd/key_8c.html +++ /dev/null @@ -1,501 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/console/ncurses/key.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
key.c File Reference
-
-
-
#include "arc/console/key.h"
-#include "key.h"
-#include "arc/std/bool.h"
-#include <ncurses.h>
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - -

-Functions

void ARC_ConsoleKey_Create (ARC_ConsoleKey **consoleKey, ARC_ConsoleKey_Key *key)
 
void ARC_ConsoleKey_Destroy (ARC_ConsoleKey *consoleKey)
 
ARC_Bool ARC_ConsoleKey_Equals (ARC_ConsoleKey consoleKey, ARC_ConsoleKey_Key key)
 
ARC_Bool ARC_ConsoleKey_EqualsPointer (ARC_ConsoleKey *consoleKey, ARC_ConsoleKey_Key key)
 
ARC_ConsoleKey ARC_Keyboard_GetConsoleKey (enum ARC_ConsoleKey_Key key)
 
uint8_t ARC_ConsoleKey_GetCharFromKey (ARC_ConsoleKey *consoleKey)
 
-

Function Documentation

- -

◆ ARC_ConsoleKey_Create()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleKey_Create (ARC_ConsoleKey ** consoleKey,
ARC_ConsoleKey_Key * key )
-
- -

Definition at line 7 of file key.c.

-
7 {
-
8 *consoleKey = (ARC_ConsoleKey *)malloc(sizeof(ARC_ConsoleKey));
-
9 (*consoleKey)->key = 0;
-
10
-
11 if(key != NULL){
-
12 (*consoleKey)->key = *key;
-
13 }
-
14}
- -
int32_t key
Definition key.h:12
-
-

References ARC_ConsoleKeyType::key.

- -

Referenced by ARC_ConsoleView_GetCreateConsoleKeyAt().

- -
-
- -

◆ ARC_ConsoleKey_Destroy()

- -
-
- - - - - - - -
void ARC_ConsoleKey_Destroy (ARC_ConsoleKey * consoleKey)
-
- -

Definition at line 16 of file key.c.

-
16 {
-
17 free(consoleKey);
-
18}
-
-
-
- -

◆ ARC_ConsoleKey_Equals()

- -
-
- - - - - - - - - - - -
ARC_Bool ARC_ConsoleKey_Equals (ARC_ConsoleKey consoleKey,
ARC_ConsoleKey_Key key )
-
- -

Definition at line 20 of file key.c.

-
20 {
-
21 return consoleKey.key == ARC_Keyboard_GetConsoleKey(key).key;
-
22}
-
ARC_ConsoleKey ARC_Keyboard_GetConsoleKey(enum ARC_ConsoleKey_Key key)
Definition key.c:28
-
-

References ARC_Keyboard_GetConsoleKey(), and ARC_ConsoleKeyType::key.

- -
-
- -

◆ ARC_ConsoleKey_EqualsPointer()

- -
-
- - - - - - - - - - - -
ARC_Bool ARC_ConsoleKey_EqualsPointer (ARC_ConsoleKey * consoleKey,
ARC_ConsoleKey_Key key )
-
- -

Definition at line 24 of file key.c.

-
24 {
-
25 return consoleKey->key == ARC_Keyboard_GetConsoleKey(key).key;
-
26}
-
-

References ARC_Keyboard_GetConsoleKey(), and ARC_ConsoleKeyType::key.

- -
-
- -

◆ ARC_ConsoleKey_GetCharFromKey()

- -
-
- - - - - - - -
uint8_t ARC_ConsoleKey_GetCharFromKey (ARC_ConsoleKey * consoleKey)
-
- -

Definition at line 169 of file key.c.

-
169 {
-
170 return consoleKey->key;
-
171}
-
-

References ARC_ConsoleKeyType::key.

- -
-
- -

◆ ARC_Keyboard_GetConsoleKey()

- -
-
- - - - - - - -
ARC_ConsoleKey ARC_Keyboard_GetConsoleKey (enum ARC_ConsoleKey_Key key)
-
- -

Definition at line 28 of file key.c.

-
28 {
-
29 switch(key){
- -
31 return (ARC_ConsoleKey){ (int32_t)'a' };
-
32
- -
34 return (ARC_ConsoleKey){ (int32_t)'b' };
-
35
- -
37 return (ARC_ConsoleKey){ (int32_t)'c' };
-
38
- -
40 return (ARC_ConsoleKey){ (int32_t)'d' };
-
41
- -
43 return (ARC_ConsoleKey){ (int32_t)'e' };
-
44
- -
46 return (ARC_ConsoleKey){ (int32_t)'f' };
-
47
- -
49 return (ARC_ConsoleKey){ (int32_t)'g' };
-
50
- -
52 return (ARC_ConsoleKey){ (int32_t)'h' };
-
53
- -
55 return (ARC_ConsoleKey){ (int32_t)'i' };
-
56
- -
58 return (ARC_ConsoleKey){ (int32_t)'j' };
-
59
- -
61 return (ARC_ConsoleKey){ (int32_t)'k' };
-
62
- -
64 return (ARC_ConsoleKey){ (int32_t)'l' };
-
65
- -
67 return (ARC_ConsoleKey){ (int32_t)'m' };
-
68
- -
70 return (ARC_ConsoleKey){ (int32_t)'n' };
-
71
- -
73 return (ARC_ConsoleKey){ (int32_t)'o' };
-
74
- -
76 return (ARC_ConsoleKey){ (int32_t)'p' };
-
77
- -
79 return (ARC_ConsoleKey){ (int32_t)'q' };
-
80
- -
82 return (ARC_ConsoleKey){ (int32_t)'r' };
-
83
- -
85 return (ARC_ConsoleKey){ (int32_t)'s' };
-
86
- -
88 return (ARC_ConsoleKey){ (int32_t)'t' };
-
89
- -
91 return (ARC_ConsoleKey){ (int32_t)'u' };
-
92
- -
94 return (ARC_ConsoleKey){ (int32_t)'v' };
-
95
- -
97 return (ARC_ConsoleKey){ (int32_t)'w' };
-
98
- -
100 return (ARC_ConsoleKey){ (int32_t)'x' };
-
101
- -
103 return (ARC_ConsoleKey){ (int32_t)'y' };
-
104
- -
106 return (ARC_ConsoleKey){ (int32_t)'z' };
-
107
- -
109 return (ARC_ConsoleKey){ (int32_t)'0' };
-
110
- -
112 return (ARC_ConsoleKey){ (int32_t)'1' };
-
113
- -
115 return (ARC_ConsoleKey){ (int32_t)'2' };
-
116
- -
118 return (ARC_ConsoleKey){ (int32_t)'3' };
-
119
- -
121 return (ARC_ConsoleKey){ (int32_t)'4' };
-
122
- -
124 return (ARC_ConsoleKey){ (int32_t)'5' };
-
125
- -
127 return (ARC_ConsoleKey){ (int32_t)'6' };
-
128
- -
130 return (ARC_ConsoleKey){ (int32_t)'7' };
-
131
- -
133 return (ARC_ConsoleKey){ (int32_t)'8' };
-
134
- -
136 return (ARC_ConsoleKey){ (int32_t)'9' };
-
137
- -
139 return (ARC_ConsoleKey){ KEY_UP };
-
140
- -
142 return (ARC_ConsoleKey){ KEY_DOWN };
-
143
- -
145 return (ARC_ConsoleKey){ KEY_LEFT };
-
146
- -
148 return (ARC_ConsoleKey){ KEY_RIGHT };
-
149
- -
151 return (ARC_ConsoleKey){ (int32_t)'/' };
-
152
- -
154 return (ARC_ConsoleKey){ KEY_BACKSPACE };
-
155
-
156 //TODO: This should probs be KEY_ENTER, but idk why it wasn't working
- -
158 return (ARC_ConsoleKey){ 10 };
-
159
-
160 //TODO: This is escape and alt, need to fix
- -
162 return (ARC_ConsoleKey){ 27 };
-
163
-
164 default:
-
165 return (ARC_ConsoleKey){ 0 };
-
166 }
-
167}
-
@ ARC_CONSOLE_KEY_K
Definition key.h:24
-
@ ARC_CONSOLE_KEY_8
Definition key.h:49
-
@ ARC_CONSOLE_KEY_L
Definition key.h:25
-
@ ARC_CONSOLE_KEY_B
Definition key.h:15
-
@ ARC_CONSOLE_KEY_X
Definition key.h:37
-
@ ARC_CONSOLE_KEY_7
Definition key.h:48
-
@ ARC_CONSOLE_KEY_Z
Definition key.h:39
-
@ ARC_CONSOLE_KEY_UP
Definition key.h:55
-
@ ARC_CONSOLE_KEY_S
Definition key.h:32
-
@ ARC_CONSOLE_KEY_D
Definition key.h:17
-
@ ARC_CONSOLE_KEY_FORWARD_SLASH
Definition key.h:57
-
@ ARC_CONSOLE_KEY_C
Definition key.h:16
-
@ ARC_CONSOLE_KEY_DOWN
Definition key.h:54
-
@ ARC_CONSOLE_KEY_1
Definition key.h:42
-
@ ARC_CONSOLE_KEY_T
Definition key.h:33
-
@ ARC_CONSOLE_KEY_P
Definition key.h:29
-
@ ARC_CONSOLE_KEY_2
Definition key.h:43
-
@ ARC_CONSOLE_KEY_3
Definition key.h:44
-
@ ARC_CONSOLE_KEY_LEFT
Definition key.h:52
-
@ ARC_CONSOLE_KEY_V
Definition key.h:35
-
@ ARC_CONSOLE_KEY_U
Definition key.h:34
-
@ ARC_CONSOLE_KEY_J
Definition key.h:23
-
@ ARC_CONSOLE_KEY_4
Definition key.h:45
-
@ ARC_CONSOLE_KEY_H
Definition key.h:21
-
@ ARC_CONSOLE_KEY_I
Definition key.h:22
-
@ ARC_CONSOLE_KEY_M
Definition key.h:26
-
@ ARC_CONSOLE_KEY_A
Definition key.h:14
-
@ ARC_CONSOLE_KEY_G
Definition key.h:20
-
@ ARC_CONSOLE_KEY_R
Definition key.h:31
-
@ ARC_CONSOLE_KEY_F
Definition key.h:19
-
@ ARC_CONSOLE_KEY_6
Definition key.h:47
-
@ ARC_CONSOLE_KEY_N
Definition key.h:27
-
@ ARC_CONSOLE_KEY_9
Definition key.h:50
-
@ ARC_CONSOLE_KEY_ENTER
Definition key.h:61
-
@ ARC_CONSOLE_KEY_W
Definition key.h:36
-
@ ARC_CONSOLE_KEY_5
Definition key.h:46
-
@ ARC_CONSOLE_KEY_Y
Definition key.h:38
-
@ ARC_CONSOLE_KEY_RIGHT
Definition key.h:53
-
@ ARC_CONSOLE_KEY_0
Definition key.h:41
-
@ ARC_CONSOLE_KEY_BACKSPACE
Definition key.h:59
-
@ ARC_CONSOLE_KEY_Q
Definition key.h:30
-
@ ARC_CONSOLE_KEY_O
Definition key.h:28
-
@ ARC_CONSOLE_KEY_E
Definition key.h:18
-
@ ARC_CONSOLE_KEY_ESC
Definition key.h:63
-
-

References ARC_CONSOLE_KEY_0, ARC_CONSOLE_KEY_1, ARC_CONSOLE_KEY_2, ARC_CONSOLE_KEY_3, ARC_CONSOLE_KEY_4, ARC_CONSOLE_KEY_5, ARC_CONSOLE_KEY_6, ARC_CONSOLE_KEY_7, ARC_CONSOLE_KEY_8, ARC_CONSOLE_KEY_9, ARC_CONSOLE_KEY_A, ARC_CONSOLE_KEY_B, ARC_CONSOLE_KEY_BACKSPACE, ARC_CONSOLE_KEY_C, ARC_CONSOLE_KEY_D, ARC_CONSOLE_KEY_DOWN, ARC_CONSOLE_KEY_E, ARC_CONSOLE_KEY_ENTER, ARC_CONSOLE_KEY_ESC, ARC_CONSOLE_KEY_F, ARC_CONSOLE_KEY_FORWARD_SLASH, ARC_CONSOLE_KEY_G, ARC_CONSOLE_KEY_H, ARC_CONSOLE_KEY_I, ARC_CONSOLE_KEY_J, ARC_CONSOLE_KEY_K, ARC_CONSOLE_KEY_L, ARC_CONSOLE_KEY_LEFT, ARC_CONSOLE_KEY_M, ARC_CONSOLE_KEY_N, ARC_CONSOLE_KEY_O, ARC_CONSOLE_KEY_P, ARC_CONSOLE_KEY_Q, ARC_CONSOLE_KEY_R, ARC_CONSOLE_KEY_RIGHT, ARC_CONSOLE_KEY_S, ARC_CONSOLE_KEY_T, ARC_CONSOLE_KEY_U, ARC_CONSOLE_KEY_UP, ARC_CONSOLE_KEY_V, ARC_CONSOLE_KEY_W, ARC_CONSOLE_KEY_X, ARC_CONSOLE_KEY_Y, and ARC_CONSOLE_KEY_Z.

- -

Referenced by ARC_ConsoleKey_Equals(), and ARC_ConsoleKey_EqualsPointer().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/db/dfd/key_8c.js b/doc/doxygen/html/db/dfd/key_8c.js deleted file mode 100644 index e2a07c0..0000000 --- a/doc/doxygen/html/db/dfd/key_8c.js +++ /dev/null @@ -1,9 +0,0 @@ -var key_8c = -[ - [ "ARC_ConsoleKey_Create", "db/dfd/key_8c.html#a48d569403d14309ba282c17480222f14", null ], - [ "ARC_ConsoleKey_Destroy", "db/dfd/key_8c.html#a94bce610020b4ffedfca750dfab9f64f", null ], - [ "ARC_ConsoleKey_Equals", "db/dfd/key_8c.html#a266a202c58c842f0b887e391bb9d7e2d", null ], - [ "ARC_ConsoleKey_EqualsPointer", "db/dfd/key_8c.html#a4648455d5c45a78b5cc0184ebc80e332", null ], - [ "ARC_ConsoleKey_GetCharFromKey", "db/dfd/key_8c.html#a6195997575cc3db00c9cb65c4abdf2fa", null ], - [ "ARC_Keyboard_GetConsoleKey", "db/dfd/key_8c.html#a2eb80aaafb56b165be91bdc3cea1a3fb", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/db/dfd/key_8c_source.html b/doc/doxygen/html/db/dfd/key_8c_source.html deleted file mode 100644 index e8a2bf6..0000000 --- a/doc/doxygen/html/db/dfd/key_8c_source.html +++ /dev/null @@ -1,368 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/console/ncurses/key.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
key.c
-
-
-Go to the documentation of this file.
1#include "arc/console/key.h"
-
2#include "key.h"
-
3#include "arc/std/bool.h"
-
4#include <ncurses.h>
-
5#include <stdlib.h>
-
6
-
- -
8 *consoleKey = (ARC_ConsoleKey *)malloc(sizeof(ARC_ConsoleKey));
-
9 (*consoleKey)->key = 0;
-
10
-
11 if(key != NULL){
-
12 (*consoleKey)->key = *key;
-
13 }
-
14}
-
-
15
-
- -
17 free(consoleKey);
-
18}
-
-
19
-
- -
21 return consoleKey.key == ARC_Keyboard_GetConsoleKey(key).key;
-
22}
-
-
23
- -
27
-
- -
29 switch(key){
- -
31 return (ARC_ConsoleKey){ (int32_t)'a' };
-
32
- -
34 return (ARC_ConsoleKey){ (int32_t)'b' };
-
35
- -
37 return (ARC_ConsoleKey){ (int32_t)'c' };
-
38
- -
40 return (ARC_ConsoleKey){ (int32_t)'d' };
-
41
- -
43 return (ARC_ConsoleKey){ (int32_t)'e' };
-
44
- -
46 return (ARC_ConsoleKey){ (int32_t)'f' };
-
47
- -
49 return (ARC_ConsoleKey){ (int32_t)'g' };
-
50
- -
52 return (ARC_ConsoleKey){ (int32_t)'h' };
-
53
- -
55 return (ARC_ConsoleKey){ (int32_t)'i' };
-
56
- -
58 return (ARC_ConsoleKey){ (int32_t)'j' };
-
59
- -
61 return (ARC_ConsoleKey){ (int32_t)'k' };
-
62
- -
64 return (ARC_ConsoleKey){ (int32_t)'l' };
-
65
- -
67 return (ARC_ConsoleKey){ (int32_t)'m' };
-
68
- -
70 return (ARC_ConsoleKey){ (int32_t)'n' };
-
71
- -
73 return (ARC_ConsoleKey){ (int32_t)'o' };
-
74
- -
76 return (ARC_ConsoleKey){ (int32_t)'p' };
-
77
- -
79 return (ARC_ConsoleKey){ (int32_t)'q' };
-
80
- -
82 return (ARC_ConsoleKey){ (int32_t)'r' };
-
83
- -
85 return (ARC_ConsoleKey){ (int32_t)'s' };
-
86
- -
88 return (ARC_ConsoleKey){ (int32_t)'t' };
-
89
- -
91 return (ARC_ConsoleKey){ (int32_t)'u' };
-
92
- -
94 return (ARC_ConsoleKey){ (int32_t)'v' };
-
95
- -
97 return (ARC_ConsoleKey){ (int32_t)'w' };
-
98
- -
100 return (ARC_ConsoleKey){ (int32_t)'x' };
-
101
- -
103 return (ARC_ConsoleKey){ (int32_t)'y' };
-
104
- -
106 return (ARC_ConsoleKey){ (int32_t)'z' };
-
107
- -
109 return (ARC_ConsoleKey){ (int32_t)'0' };
-
110
- -
112 return (ARC_ConsoleKey){ (int32_t)'1' };
-
113
- -
115 return (ARC_ConsoleKey){ (int32_t)'2' };
-
116
- -
118 return (ARC_ConsoleKey){ (int32_t)'3' };
-
119
- -
121 return (ARC_ConsoleKey){ (int32_t)'4' };
-
122
- -
124 return (ARC_ConsoleKey){ (int32_t)'5' };
-
125
- -
127 return (ARC_ConsoleKey){ (int32_t)'6' };
-
128
- -
130 return (ARC_ConsoleKey){ (int32_t)'7' };
-
131
- -
133 return (ARC_ConsoleKey){ (int32_t)'8' };
-
134
- -
136 return (ARC_ConsoleKey){ (int32_t)'9' };
-
137
- -
139 return (ARC_ConsoleKey){ KEY_UP };
-
140
- -
142 return (ARC_ConsoleKey){ KEY_DOWN };
-
143
- -
145 return (ARC_ConsoleKey){ KEY_LEFT };
-
146
- -
148 return (ARC_ConsoleKey){ KEY_RIGHT };
-
149
- -
151 return (ARC_ConsoleKey){ (int32_t)'/' };
-
152
- -
154 return (ARC_ConsoleKey){ KEY_BACKSPACE };
-
155
-
156 //TODO: This should probs be KEY_ENTER, but idk why it wasn't working
- -
158 return (ARC_ConsoleKey){ 10 };
-
159
-
160 //TODO: This is escape and alt, need to fix
- -
162 return (ARC_ConsoleKey){ 27 };
-
163
-
164 default:
-
165 return (ARC_ConsoleKey){ 0 };
-
166 }
-
167}
-
-
168
-
- -
170 return consoleKey->key;
-
171}
-
- -
#define ARC_Bool
Definition bool.h:10
- -
ARC_ConsoleKey_Key
Definition key.h:13
-
@ ARC_CONSOLE_KEY_K
Definition key.h:24
-
@ ARC_CONSOLE_KEY_8
Definition key.h:49
-
@ ARC_CONSOLE_KEY_L
Definition key.h:25
-
@ ARC_CONSOLE_KEY_B
Definition key.h:15
-
@ ARC_CONSOLE_KEY_X
Definition key.h:37
-
@ ARC_CONSOLE_KEY_7
Definition key.h:48
-
@ ARC_CONSOLE_KEY_Z
Definition key.h:39
-
@ ARC_CONSOLE_KEY_UP
Definition key.h:55
-
@ ARC_CONSOLE_KEY_S
Definition key.h:32
-
@ ARC_CONSOLE_KEY_D
Definition key.h:17
-
@ ARC_CONSOLE_KEY_FORWARD_SLASH
Definition key.h:57
-
@ ARC_CONSOLE_KEY_C
Definition key.h:16
-
@ ARC_CONSOLE_KEY_DOWN
Definition key.h:54
-
@ ARC_CONSOLE_KEY_1
Definition key.h:42
-
@ ARC_CONSOLE_KEY_T
Definition key.h:33
-
@ ARC_CONSOLE_KEY_P
Definition key.h:29
-
@ ARC_CONSOLE_KEY_2
Definition key.h:43
-
@ ARC_CONSOLE_KEY_3
Definition key.h:44
-
@ ARC_CONSOLE_KEY_LEFT
Definition key.h:52
-
@ ARC_CONSOLE_KEY_V
Definition key.h:35
-
@ ARC_CONSOLE_KEY_U
Definition key.h:34
-
@ ARC_CONSOLE_KEY_J
Definition key.h:23
-
@ ARC_CONSOLE_KEY_4
Definition key.h:45
-
@ ARC_CONSOLE_KEY_H
Definition key.h:21
-
@ ARC_CONSOLE_KEY_I
Definition key.h:22
-
@ ARC_CONSOLE_KEY_M
Definition key.h:26
-
@ ARC_CONSOLE_KEY_A
Definition key.h:14
-
@ ARC_CONSOLE_KEY_G
Definition key.h:20
-
@ ARC_CONSOLE_KEY_R
Definition key.h:31
-
@ ARC_CONSOLE_KEY_F
Definition key.h:19
-
@ ARC_CONSOLE_KEY_6
Definition key.h:47
-
@ ARC_CONSOLE_KEY_N
Definition key.h:27
-
@ ARC_CONSOLE_KEY_9
Definition key.h:50
-
@ ARC_CONSOLE_KEY_ENTER
Definition key.h:61
-
@ ARC_CONSOLE_KEY_W
Definition key.h:36
-
@ ARC_CONSOLE_KEY_5
Definition key.h:46
-
@ ARC_CONSOLE_KEY_Y
Definition key.h:38
-
@ ARC_CONSOLE_KEY_RIGHT
Definition key.h:53
-
@ ARC_CONSOLE_KEY_0
Definition key.h:41
-
@ ARC_CONSOLE_KEY_BACKSPACE
Definition key.h:59
-
@ ARC_CONSOLE_KEY_Q
Definition key.h:30
-
@ ARC_CONSOLE_KEY_O
Definition key.h:28
-
@ ARC_CONSOLE_KEY_E
Definition key.h:18
-
@ ARC_CONSOLE_KEY_ESC
Definition key.h:63
-
ARC_Bool ARC_ConsoleKey_Equals(ARC_ConsoleKey consoleKey, ARC_ConsoleKey_Key key)
Definition key.c:20
-
ARC_ConsoleKey ARC_Keyboard_GetConsoleKey(enum ARC_ConsoleKey_Key key)
Definition key.c:28
-
ARC_Bool ARC_ConsoleKey_EqualsPointer(ARC_ConsoleKey *consoleKey, ARC_ConsoleKey_Key key)
Definition key.c:24
-
void ARC_ConsoleKey_Create(ARC_ConsoleKey **consoleKey, ARC_ConsoleKey_Key *key)
Definition key.c:7
-
uint8_t ARC_ConsoleKey_GetCharFromKey(ARC_ConsoleKey *consoleKey)
Definition key.c:169
-
void ARC_ConsoleKey_Destroy(ARC_ConsoleKey *consoleKey)
Definition key.c:16
- - -
int32_t key
Definition key.h:12
-
-
- - - - - - diff --git a/doc/doxygen/html/dc/d00/structARC__FObround.html b/doc/doxygen/html/dc/d00/structARC__FObround.html deleted file mode 100644 index 2e7ecd4..0000000 --- a/doc/doxygen/html/dc/d00/structARC__FObround.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - - - - - -Archeus: ARC_FObround Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_FObround Struct Reference
-
-
- -

#include <obround.h>

- - - - - - - - - - -

-Data Fields

float x
 
float y
 
float r
 
float h
 
-

Detailed Description

-
-

Definition at line 17 of file obround.h.

-

Field Documentation

- -

◆ h

- -
-
- - - - -
float ARC_FObround::h
-
- -

Definition at line 21 of file obround.h.

- -
-
- -

◆ r

- -
-
- - - - -
float ARC_FObround::r
-
- -

Definition at line 20 of file obround.h.

- -
-
- -

◆ x

- -
-
- - - - -
float ARC_FObround::x
-
- -

Definition at line 18 of file obround.h.

- -
-
- -

◆ y

- -
-
- - - - -
float ARC_FObround::y
-
- -

Definition at line 19 of file obround.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/include/arc/math/obround.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/dc/d00/structARC__FObround.js b/doc/doxygen/html/dc/d00/structARC__FObround.js deleted file mode 100644 index dbc5c6a..0000000 --- a/doc/doxygen/html/dc/d00/structARC__FObround.js +++ /dev/null @@ -1,7 +0,0 @@ -var structARC__FObround = -[ - [ "h", "dc/d00/structARC__FObround.html#a224ead9c93ca729a1eb6e7e04d0169d6", null ], - [ "r", "dc/d00/structARC__FObround.html#a6472337d23d18a48dddf43e50824ecbe", null ], - [ "x", "dc/d00/structARC__FObround.html#a29c335c6916947305759b4bfd2668b54", null ], - [ "y", "dc/d00/structARC__FObround.html#a11afe731f51dbba3e709fc5a117eb650", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dc/d17/include_2arc_2graphics_2none_2sprite_8h.html b/doc/doxygen/html/dc/d17/include_2arc_2graphics_2none_2sprite_8h.html deleted file mode 100644 index 4936af2..0000000 --- a/doc/doxygen/html/dc/d17/include_2arc_2graphics_2none_2sprite_8h.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/none/sprite.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
sprite.h File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/dc/d17/include_2arc_2graphics_2none_2sprite_8h_source.html b/doc/doxygen/html/dc/d17/include_2arc_2graphics_2none_2sprite_8h_source.html deleted file mode 100644 index dfc2e5d..0000000 --- a/doc/doxygen/html/dc/d17/include_2arc_2graphics_2none_2sprite_8h_source.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/none/sprite.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
sprite.h
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_GRAPHICS
-
2
-
3#ifndef ARC_NONE_SPRITE_H_
-
4#define ARC_NONE_SPRITE_H_
-
5
- -
7
-
8struct ARC_Sprite {};
-
9
-
10#endif // !ARC_NONE_SPRITE_H_
-
11
-
12#endif // !ARC_NONE_GRAPHICS
- - -
-
- - - - - - diff --git a/doc/doxygen/html/dc/d18/structARC__View.html b/doc/doxygen/html/dc/d18/structARC__View.html deleted file mode 100644 index 9024d77..0000000 --- a/doc/doxygen/html/dc/d18/structARC__View.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - -Archeus: ARC_View Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_View Struct Reference
-
-
- -

#include <view.h>

- - - - - - -

-Data Fields

ARC_Rendererrenderer
 
ARC_Rect bounds
 
-

Detailed Description

-
-

Definition at line 11 of file view.h.

-

Field Documentation

- -

◆ bounds

- -
-
- - - - -
ARC_Rect ARC_View::bounds
-
- -

Definition at line 13 of file view.h.

- -
-
- -

◆ renderer

- -
-
- - - - -
ARC_Renderer* ARC_View::renderer
-
- -

Definition at line 12 of file view.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/include/arc/graphics/view.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/dc/d18/structARC__View.js b/doc/doxygen/html/dc/d18/structARC__View.js deleted file mode 100644 index 13b1f77..0000000 --- a/doc/doxygen/html/dc/d18/structARC__View.js +++ /dev/null @@ -1,5 +0,0 @@ -var structARC__View = -[ - [ "bounds", "dc/d18/structARC__View.html#a666c27bd67f669cf2abc0f63efd3934a", null ], - [ "renderer", "dc/d18/structARC__View.html#a54d5de957f6fa8ff67236cbf7bba7a8e", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dc/d37/structARC__ParserTagToken.html b/doc/doxygen/html/dc/d37/structARC__ParserTagToken.html deleted file mode 100644 index dee7d1f..0000000 --- a/doc/doxygen/html/dc/d37/structARC__ParserTagToken.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - - - -Archeus: ARC_ParserTagToken Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_ParserTagToken Struct Reference
-
-
- -

a parser type used inside of the parser data create function - More...

- -

#include <parser.h>

- - - - - - - - -

-Data Fields

uint32_t id
 
ARC_LexerTokentoken
 
ARC_VectortagTokens
 
-

Detailed Description

-

a parser type used inside of the parser data create function

-
Note
there are no public creation and destruction functions for this type as it is only ment to be used within the creation callback
-
-if the parser tag token is a token then tagTokens will be NULL
-
-if the parser tag token is a tag then token will be NULL
- -

Definition at line 35 of file parser.h.

-

Field Documentation

- -

◆ id

- -
-
- - - - -
uint32_t ARC_ParserTagToken::id
-
- -

Definition at line 36 of file parser.h.

- -
-
- -

◆ tagTokens

- -
-
- - - - -
ARC_Vector* ARC_ParserTagToken::tagTokens
-
- -

Definition at line 39 of file parser.h.

- -
-
- -

◆ token

- -
-
- - - - -
ARC_LexerToken* ARC_ParserTagToken::token
-
- -

Definition at line 38 of file parser.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/include/arc/std/parser.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/dc/d37/structARC__ParserTagToken.js b/doc/doxygen/html/dc/d37/structARC__ParserTagToken.js deleted file mode 100644 index 938646e..0000000 --- a/doc/doxygen/html/dc/d37/structARC__ParserTagToken.js +++ /dev/null @@ -1,6 +0,0 @@ -var structARC__ParserTagToken = -[ - [ "id", "dc/d37/structARC__ParserTagToken.html#accb5ab8ebfe20e84ae7a10711e7d188b", null ], - [ "tagTokens", "dc/d37/structARC__ParserTagToken.html#af323d1f78ce2728f26550120258071a1", null ], - [ "token", "dc/d37/structARC__ParserTagToken.html#aaccda838f6e1cd3d0ee210c473f34a16", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dc/d3c/packages_2graphics_2opengl_2line_8c.html b/doc/doxygen/html/dc/d3c/packages_2graphics_2opengl_2line_8c.html deleted file mode 100644 index 201227e..0000000 --- a/doc/doxygen/html/dc/d3c/packages_2graphics_2opengl_2line_8c.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/opengl/line.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
line.c File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/dc/d3c/packages_2graphics_2opengl_2line_8c_source.html b/doc/doxygen/html/dc/d3c/packages_2graphics_2opengl_2line_8c_source.html deleted file mode 100644 index f30cb03..0000000 --- a/doc/doxygen/html/dc/d3c/packages_2graphics_2opengl_2line_8c_source.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/opengl/line.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
line.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_OPENGL_GRAPHICS
-
2#include "arc/graphics/line.h"
-
3#include <stdlib.h>
-
4
-
5void ARC_Line_Render(int32_t *x1, int32_t *y1, int32_t *x2, int32_t *y2, ARC_Renderer *renderer, ARC_Color *color){
-
6}
-
7
-
8#endif // ARC_OPENGL_GRAPHICS
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- -
void ARC_Line_Render(int32_t *x1, int32_t *y1, int32_t *x2, int32_t *y2, ARC_Renderer *renderer, ARC_Color *color)
Definition line.c:5
- -
-
- - - - - - diff --git a/doc/doxygen/html/dc/d60/src_2math_2circle_8c.html b/doc/doxygen/html/dc/d60/src_2math_2circle_8c.html deleted file mode 100644 index a0e00a1..0000000 --- a/doc/doxygen/html/dc/d60/src_2math_2circle_8c.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/math/circle.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
circle.c File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/dc/d60/src_2math_2circle_8c_source.html b/doc/doxygen/html/dc/d60/src_2math_2circle_8c_source.html deleted file mode 100644 index a226796..0000000 --- a/doc/doxygen/html/dc/d60/src_2math_2circle_8c_source.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/math/circle.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
circle.c
-
- -
- - - - - - diff --git a/doc/doxygen/html/dc/d76/tests_8dir_2src_2std_2config_8c_8o_8d.html b/doc/doxygen/html/dc/d76/tests_8dir_2src_2std_2config_8c_8o_8d.html deleted file mode 100644 index f5abc1c..0000000 --- a/doc/doxygen/html/dc/d76/tests_8dir_2src_2std_2config_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/config.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/dc/d76/tests_8dir_2src_2std_2config_8c_8o_8d_source.html b/doc/doxygen/html/dc/d76/tests_8dir_2src_2std_2config_8c_8o_8d_source.html deleted file mode 100644 index 9653236..0000000 --- a/doc/doxygen/html/dc/d76/tests_8dir_2src_2std_2config_8c_8o_8d_source.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/config.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/std/config.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/config.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/config.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/std/hashtable.h \
-
6 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
7 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
8 /usr/include/features.h /usr/include/features-time64.h \
-
9 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
10 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
11 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
12 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
13 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
14 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
15 /usr/include/bits/stdint-least.h \
-
16 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
19 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
20 /home/herbglitch/programs/archeus/arc/include/arc/std/defaults/config.h \
-
21 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
22 /usr/include/stdio.h \
-
23 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
24 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
25 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
26 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
27 /usr/include/bits/types/cookie_io_functions_t.h \
-
28 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
29 /usr/include/bits/floatn-common.h \
-
30 /home/herbglitch/programs/archeus/arc/include/arc/std/io.h \
-
31 /usr/include/stdlib.h /usr/include/bits/waitflags.h \
-
32 /usr/include/bits/waitstatus.h /usr/include/sys/types.h \
-
33 /usr/include/bits/types/clock_t.h /usr/include/bits/types/clockid_t.h \
-
34 /usr/include/bits/types/time_t.h /usr/include/bits/types/timer_t.h \
-
35 /usr/include/endian.h /usr/include/bits/endian.h \
-
36 /usr/include/bits/endianness.h /usr/include/bits/byteswap.h \
-
37 /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \
-
38 /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \
-
39 /usr/include/bits/types/__sigset_t.h \
-
40 /usr/include/bits/types/struct_timeval.h \
-
41 /usr/include/bits/types/struct_timespec.h \
-
42 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
43 /usr/include/bits/pthreadtypes-arch.h \
-
44 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
45 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
46 /usr/include/bits/stdlib-float.h /usr/include/string.h \
-
47 /usr/include/bits/types/locale_t.h /usr/include/bits/types/__locale_t.h \
-
48 /usr/include/strings.h
-
-
- - - - - - diff --git a/doc/doxygen/html/dc/d7a/structARC__Text.html b/doc/doxygen/html/dc/d7a/structARC__Text.html deleted file mode 100644 index 95cf80d..0000000 --- a/doc/doxygen/html/dc/d7a/structARC__Text.html +++ /dev/null @@ -1,243 +0,0 @@ - - - - - - - - -Archeus: ARC_Text Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_Text Struct Reference
-
-
- -

#include <text.h>

- - - - - - - - - - - - -

-Data Fields

ARC_Stringname
 
int32_t size
 
ARC_Color color
 
SDL_Texture * texture
 
ARC_Rect bounds
 
-

Detailed Description

-
-

Definition at line 10 of file text.h.

-

Field Documentation

- -

◆ bounds

- -
-
- - - - -
ARC_Rect ARC_Text::bounds
-
- -

Definition at line 17 of file text.h.

- -

Referenced by ARC_Text_Render(), ARC_Text_SetPos(), and ARC_Text_SetString().

- -
-
- -

◆ color

- -
-
- - - - -
ARC_Color ARC_Text::color
-
- -

Definition at line 14 of file text.h.

- -

Referenced by ARC_Text_SetString().

- -
-
- -

◆ name

- -
-
- - - - -
ARC_String* ARC_Text::name
-
- -

Definition at line 11 of file text.h.

- -

Referenced by ARC_Text_Destroy(), and ARC_Text_SetString().

- -
-
- -

◆ size

- -
-
- - - - -
int32_t ARC_Text::size
-
- -

Definition at line 12 of file text.h.

- -

Referenced by ARC_Text_SetString().

- -
-
- -

◆ texture

- -
-
- - - - -
SDL_Texture* ARC_Text::texture
-
- -

Definition at line 16 of file text.h.

- -

Referenced by ARC_Text_Destroy(), ARC_Text_Render(), and ARC_Text_SetString().

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/text.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/dc/d7a/structARC__Text.js b/doc/doxygen/html/dc/d7a/structARC__Text.js deleted file mode 100644 index 6a052ef..0000000 --- a/doc/doxygen/html/dc/d7a/structARC__Text.js +++ /dev/null @@ -1,8 +0,0 @@ -var structARC__Text = -[ - [ "bounds", "dc/d7a/structARC__Text.html#aa4b3f3809b3a1c9b8685331e43d55fed", null ], - [ "color", "dc/d7a/structARC__Text.html#ac95599f0143ede49e480bec511bf16b3", null ], - [ "name", "dc/d7a/structARC__Text.html#a0a335dbaaa9c2ad7ccf3617cfea518bb", null ], - [ "size", "dc/d7a/structARC__Text.html#aedc3e339f46a20859770ab2f0b4c52b7", null ], - [ "texture", "dc/d7a/structARC__Text.html#a85a00ba7000ec5624c28cbe1676145f2", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dc/d7e/packages_2graphics_2sdl_2line_8c.html b/doc/doxygen/html/dc/d7e/packages_2graphics_2sdl_2line_8c.html deleted file mode 100644 index 432eac0..0000000 --- a/doc/doxygen/html/dc/d7e/packages_2graphics_2sdl_2line_8c.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/line.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
line.c File Reference
-
-
-
#include "arc/graphics/line.h"
-#include "renderer.h"
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - -

-Functions

void ARC_Line_Render (int32_t *x1, int32_t *y1, int32_t *x2, int32_t *y2, ARC_Renderer *renderer, ARC_Color *color)
 
-

Function Documentation

- -

◆ ARC_Line_Render()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void ARC_Line_Render (int32_t * x1,
int32_t * y1,
int32_t * x2,
int32_t * y2,
ARC_Renderer * renderer,
ARC_Color * color )
-
- -

Definition at line 5 of file line.c.

-
5 {
-
6 SDL_SetRenderDrawColor((SDL_Renderer *)renderer, color->r, color->g, color->b, color->a);
-
7 SDL_RenderDrawLine((SDL_Renderer *)renderer, *x1, *y1, *x2, *y2);
-
8}
-
uint8_t a
Definition color.h:11
-
uint8_t r
Definition color.h:11
-
uint8_t b
Definition color.h:11
-
uint8_t g
Definition color.h:11
-
-

References ARC_Color::a, ARC_Color::b, ARC_Color::g, and ARC_Color::r.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/dc/d7e/packages_2graphics_2sdl_2line_8c.js b/doc/doxygen/html/dc/d7e/packages_2graphics_2sdl_2line_8c.js deleted file mode 100644 index c7b44ff..0000000 --- a/doc/doxygen/html/dc/d7e/packages_2graphics_2sdl_2line_8c.js +++ /dev/null @@ -1,4 +0,0 @@ -var packages_2graphics_2sdl_2line_8c = -[ - [ "ARC_Line_Render", "dc/d7e/packages_2graphics_2sdl_2line_8c.html#a5028c284a7ae3a105523aa12491665b8", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dc/d7e/packages_2graphics_2sdl_2line_8c_source.html b/doc/doxygen/html/dc/d7e/packages_2graphics_2sdl_2line_8c_source.html deleted file mode 100644 index c598c4e..0000000 --- a/doc/doxygen/html/dc/d7e/packages_2graphics_2sdl_2line_8c_source.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/line.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
line.c
-
-
-Go to the documentation of this file.
1#include "arc/graphics/line.h"
-
2#include "renderer.h"
-
3#include <stdlib.h>
-
4
-
-
5void ARC_Line_Render(int32_t *x1, int32_t *y1, int32_t *x2, int32_t *y2, ARC_Renderer *renderer, ARC_Color *color){
-
6 SDL_SetRenderDrawColor((SDL_Renderer *)renderer, color->r, color->g, color->b, color->a);
-
7 SDL_RenderDrawLine((SDL_Renderer *)renderer, *x1, *y1, *x2, *y2);
-
8}
-
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- -
void ARC_Line_Render(int32_t *x1, int32_t *y1, int32_t *x2, int32_t *y2, ARC_Renderer *renderer, ARC_Color *color)
Definition line.c:5
- - -
uint8_t a
Definition color.h:11
-
uint8_t r
Definition color.h:11
-
uint8_t b
Definition color.h:11
-
uint8_t g
Definition color.h:11
-
-
- - - - - - diff --git a/doc/doxygen/html/dc/d7e/packages_2input_2sdl_2input_8h.html b/doc/doxygen/html/dc/d7e/packages_2input_2sdl_2input_8h.html deleted file mode 100644 index 1371fdb..0000000 --- a/doc/doxygen/html/dc/d7e/packages_2input_2sdl_2input_8h.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/input/sdl/input.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
input.h File Reference
-
-
-
#include "arc/input/keyboard.h"
-#include "arc/input/mouse.h"
-#include <SDL.h>
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_Input
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dc/d7e/packages_2input_2sdl_2input_8h.js b/doc/doxygen/html/dc/d7e/packages_2input_2sdl_2input_8h.js deleted file mode 100644 index c13c1bd..0000000 --- a/doc/doxygen/html/dc/d7e/packages_2input_2sdl_2input_8h.js +++ /dev/null @@ -1,4 +0,0 @@ -var packages_2input_2sdl_2input_8h = -[ - [ "ARC_Input", "d4/d93/structARC__Input.html", "d4/d93/structARC__Input" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dc/d7e/packages_2input_2sdl_2input_8h_source.html b/doc/doxygen/html/dc/d7e/packages_2input_2sdl_2input_8h_source.html deleted file mode 100644 index c0973d9..0000000 --- a/doc/doxygen/html/dc/d7e/packages_2input_2sdl_2input_8h_source.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/input/sdl/input.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
input.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_SDL_INPUT_H_
-
2#define ARC_SDL_INPUT_H_
-
3
- -
5#include "arc/input/mouse.h"
-
6#include <SDL.h>
-
7
-
-
8struct ARC_Input {
- - -
11
-
12 SDL_Event *event;
-
13};
-
-
14
-
15#endif // !ARC_SDL_INPUT_H_
- - - -
SDL_Event * event
Definition input.h:12
-
ARC_Keyboard * keyboard
Definition input.h:9
-
ARC_Mouse * mouse
Definition input.h:10
- - -
-
- - - - - - diff --git a/doc/doxygen/html/dc/d82/tests_2std_2vector_8c.html b/doc/doxygen/html/dc/d82/tests_2std_2vector_8c.html deleted file mode 100644 index 6ced326..0000000 --- a/doc/doxygen/html/dc/d82/tests_2std_2vector_8c.html +++ /dev/null @@ -1,445 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/tests/std/vector.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
vector.c File Reference
-
-
-
#include "../test.h"
-#include "arc/std/bool.h"
-#include "arc/std/errno.h"
-#include "arc/std/vector.h"
-#include <stdint.h>
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - -

-Functions

ARC_Bool TEST_Vector_CompareDataFn (void *dataA, void *dataB)
 
void TEST_Vector_DestroyDataFn (void *data)
 
 ARC_TEST (Vector_Add_RemoveIndex_Get)
 
 ARC_TEST (Vector_Add_Remove_Get)
 
 ARC_TEST (Vector_Add_RemoveIndex_GetSize)
 
 ARC_TEST (Vector_Add_RemoveIndex_Get_Try_Out_Of_Bounds)
 
-

Function Documentation

- -

◆ ARC_TEST() [1/4]

- -
-
- - - - - - - -
ARC_TEST (Vector_Add_Remove_Get )
-
- -

Definition at line 65 of file vector.c.

-
65 {
-
66 ARC_Vector *vector;
- -
68 ARC_Vector_Create(&vector, &testCompareDataFn, NULL);
-
69
-
70 int32_t val0 = 0;
-
71 int32_t val1 = 1;
-
72 int32_t val2 = 2;
-
73 int32_t val3 = 3;
-
74 int32_t val4 = 4;
-
75
-
76 ARC_Vector_Add(vector, &val0);
-
77 ARC_Vector_Add(vector, &val1);
-
78 ARC_Vector_Add(vector, &val2);
-
79 ARC_Vector_Add(vector, &val3);
-
80 ARC_Vector_Add(vector, &val4);
-
81
-
82 ARC_CHECK(0 == *(int32_t *)ARC_Vector_Get(vector, 0));
-
83 ARC_CHECK(1 == *(int32_t *)ARC_Vector_Get(vector, 1));
-
84 ARC_CHECK(2 == *(int32_t *)ARC_Vector_Get(vector, 2));
-
85 ARC_CHECK(3 == *(int32_t *)ARC_Vector_Get(vector, 3));
-
86 ARC_CHECK(4 == *(int32_t *)ARC_Vector_Get(vector, 4));
-
87 ARC_Vector_Remove(vector, &val0);
-
88
-
89 ARC_CHECK(1 == *(int32_t *)ARC_Vector_Get(vector, 0));
-
90 ARC_CHECK(2 == *(int32_t *)ARC_Vector_Get(vector, 1));
-
91 ARC_CHECK(3 == *(int32_t *)ARC_Vector_Get(vector, 2));
-
92 ARC_CHECK(4 == *(int32_t *)ARC_Vector_Get(vector, 3));
-
93 ARC_Vector_Remove(vector, &val4);
-
94
-
95 ARC_CHECK(1 == *(int32_t *)ARC_Vector_Get(vector, 0));
-
96 ARC_CHECK(2 == *(int32_t *)ARC_Vector_Get(vector, 1));
-
97 ARC_CHECK(3 == *(int32_t *)ARC_Vector_Get(vector, 2));
-
98 ARC_Vector_Remove(vector, &val2);
-
99
-
100 ARC_CHECK(1 == *(int32_t *)ARC_Vector_Get(vector, 0));
-
101 ARC_CHECK(3 == *(int32_t *)ARC_Vector_Get(vector, 1));
-
102 ARC_Vector_Remove(vector, &val1);
-
103
-
104 ARC_CHECK(3 == *(int32_t *)ARC_Vector_Get(vector, 0));
-
105 ARC_Vector_Remove(vector, &val3);
-
106
-
107 ARC_Vector_Destroy(vector);
-
108}
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:153
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:70
-
void ARC_Vector_Remove(ARC_Vector *vector, void *data)
removes an item from a matching item in an ARC_Vector
Definition vector.c:97
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:54
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:31
-
a private dynamic array type
Definition vector.c:12
-
#define ARC_CHECK(TEST)
Definition test.h:33
-
ARC_Bool TEST_Vector_CompareDataFn(void *dataA, void *dataB)
Definition vector.c:8
-
ARC_Bool(* ARC_Vector_CompareDataFn)(void *dataA, void *dataB)
a callback that allows the user to define a way to check the data stored in a vector for a match
Definition vector.h:24
-
-

References ARC_CHECK, ARC_Vector_Add(), ARC_Vector_Create(), ARC_Vector_Destroy(), ARC_Vector_Get(), ARC_Vector_Remove(), and TEST_Vector_CompareDataFn().

- -
-
- -

◆ ARC_TEST() [2/4]

- -
-
- - - - - - - -
ARC_TEST (Vector_Add_RemoveIndex_Get )
-
- -

Definition at line 21 of file vector.c.

-
21 {
-
22 ARC_Vector *vector;
-
23 ARC_Vector_Create(&vector, NULL, NULL);
-
24
-
25 int32_t val0 = 0;
-
26 int32_t val1 = 1;
-
27 int32_t val2 = 2;
-
28 int32_t val3 = 3;
-
29 int32_t val4 = 4;
-
30
-
31 ARC_Vector_Add(vector, &val0);
-
32 ARC_Vector_Add(vector, &val1);
-
33 ARC_Vector_Add(vector, &val2);
-
34 ARC_Vector_Add(vector, &val3);
-
35 ARC_Vector_Add(vector, &val4);
-
36
-
37 ARC_CHECK(0 == *(int32_t *)ARC_Vector_Get(vector, 0));
-
38 ARC_CHECK(1 == *(int32_t *)ARC_Vector_Get(vector, 1));
-
39 ARC_CHECK(2 == *(int32_t *)ARC_Vector_Get(vector, 2));
-
40 ARC_CHECK(3 == *(int32_t *)ARC_Vector_Get(vector, 3));
-
41 ARC_CHECK(4 == *(int32_t *)ARC_Vector_Get(vector, 4));
-
42 ARC_Vector_RemoveIndex(vector, 0);
-
43
-
44 ARC_CHECK(1 == *(int32_t *)ARC_Vector_Get(vector, 0));
-
45 ARC_CHECK(2 == *(int32_t *)ARC_Vector_Get(vector, 1));
-
46 ARC_CHECK(3 == *(int32_t *)ARC_Vector_Get(vector, 2));
-
47 ARC_CHECK(4 == *(int32_t *)ARC_Vector_Get(vector, 3));
-
48 ARC_Vector_RemoveIndex(vector, 3);
-
49
-
50 ARC_CHECK(1 == *(int32_t *)ARC_Vector_Get(vector, 0));
-
51 ARC_CHECK(2 == *(int32_t *)ARC_Vector_Get(vector, 1));
-
52 ARC_CHECK(3 == *(int32_t *)ARC_Vector_Get(vector, 2));
-
53 ARC_Vector_RemoveIndex(vector, 1);
-
54
-
55 ARC_CHECK(1 == *(int32_t *)ARC_Vector_Get(vector, 0));
-
56 ARC_CHECK(3 == *(int32_t *)ARC_Vector_Get(vector, 1));
-
57 ARC_Vector_RemoveIndex(vector, 1);
-
58
-
59 ARC_CHECK(1 == *(int32_t *)ARC_Vector_Get(vector, 0));
-
60 ARC_Vector_RemoveIndex(vector, 0);
-
61
-
62 ARC_Vector_Destroy(vector);
-
63}
-
void ARC_Vector_RemoveIndex(ARC_Vector *vector, uint32_t index)
removes an item from an ARC_Vector at an index
Definition vector.c:110
-
-

References ARC_CHECK, ARC_Vector_Add(), ARC_Vector_Create(), ARC_Vector_Destroy(), ARC_Vector_Get(), and ARC_Vector_RemoveIndex().

- -
-
- -

◆ ARC_TEST() [3/4]

- -
-
- - - - - - - -
ARC_TEST (Vector_Add_RemoveIndex_Get_Try_Out_Of_Bounds )
-
- -

Definition at line 146 of file vector.c.

-
146 {
-
147 ARC_Vector *vector;
-
148 ARC_Vector_Create(&vector, NULL, NULL);
-
149
-
150 int32_t val0 = 0;
-
151
-
152 ARC_Vector_Add(vector, &val0);
-
153 ARC_CHECK(NULL == ARC_Vector_Get(vector, 1));
-
154 arc_errno = 0;
-
155
-
156 ARC_Vector_RemoveIndex(vector, 0);
-
157
-
158 ARC_Vector_Destroy(vector);
-
159}
-
int32_t arc_errno
Definition errno.c:5
-
-

References ARC_CHECK, arc_errno, ARC_Vector_Add(), ARC_Vector_Create(), ARC_Vector_Destroy(), ARC_Vector_Get(), and ARC_Vector_RemoveIndex().

- -
-
- -

◆ ARC_TEST() [4/4]

- -
-
- - - - - - - -
ARC_TEST (Vector_Add_RemoveIndex_GetSize )
-
- -

Definition at line 110 of file vector.c.

-
110 {
-
111 ARC_Vector *vector;
-
112 ARC_Vector_Create(&vector, NULL, NULL);
-
113
-
114 int32_t val0 = 0;
-
115 int32_t val1 = 1;
-
116 int32_t val2 = 2;
-
117 int32_t val3 = 3;
-
118 int32_t val4 = 4;
-
119
-
120 ARC_Vector_Add(vector, &val0);
-
121 ARC_Vector_Add(vector, &val1);
-
122 ARC_Vector_Add(vector, &val2);
-
123 ARC_Vector_Add(vector, &val3);
-
124 ARC_Vector_Add(vector, &val4);
-
125
-
126 ARC_CHECK(5 == ARC_Vector_GetSize(vector));
-
127 ARC_Vector_RemoveIndex(vector, 0);
-
128
-
129 ARC_CHECK(4 == ARC_Vector_GetSize(vector));
-
130 ARC_Vector_RemoveIndex(vector, 0);
-
131
-
132 ARC_CHECK(3 == ARC_Vector_GetSize(vector));
-
133 ARC_Vector_RemoveIndex(vector, 0);
-
134
-
135 ARC_CHECK(2 == ARC_Vector_GetSize(vector));
-
136 ARC_Vector_RemoveIndex(vector, 0);
-
137
-
138 ARC_CHECK(1 == ARC_Vector_GetSize(vector));
-
139 ARC_Vector_RemoveIndex(vector, 0);
-
140
-
141 ARC_CHECK(0 == ARC_Vector_GetSize(vector));
-
142
-
143 ARC_Vector_Destroy(vector);
-
144}
-
uint32_t ARC_Vector_GetSize(ARC_Vector *vector)
gets the current size of an ARC_Vector as an unsigned 32 bit integer
Definition vector.c:149
-
-

References ARC_CHECK, ARC_Vector_Add(), ARC_Vector_Create(), ARC_Vector_Destroy(), ARC_Vector_GetSize(), and ARC_Vector_RemoveIndex().

- -
-
- -

◆ TEST_Vector_CompareDataFn()

- -
-
- - - - - - - - - - - -
ARC_Bool TEST_Vector_CompareDataFn (void * dataA,
void * dataB )
-
- -

Definition at line 8 of file vector.c.

-
8 {
-
9 if(*(int32_t *)dataA == *(int32_t *)dataB){
-
10 return ARC_True;
-
11 }
-
12
-
13 return ARC_False;
-
14}
-
#define ARC_False
Definition bool.h:12
-
#define ARC_True
Definition bool.h:11
-
-

References ARC_False, and ARC_True.

- -

Referenced by ARC_TEST().

- -
-
- -

◆ TEST_Vector_DestroyDataFn()

- -
-
- - - - - - - -
void TEST_Vector_DestroyDataFn (void * data)
-
- -

Definition at line 17 of file vector.c.

-
17 {
-
18 free((int32_t *)data);
-
19}
-
-
-
-
-
- - - - - - diff --git a/doc/doxygen/html/dc/d82/tests_2std_2vector_8c.js b/doc/doxygen/html/dc/d82/tests_2std_2vector_8c.js deleted file mode 100644 index 7d8207e..0000000 --- a/doc/doxygen/html/dc/d82/tests_2std_2vector_8c.js +++ /dev/null @@ -1,9 +0,0 @@ -var tests_2std_2vector_8c = -[ - [ "ARC_TEST", "dc/d82/tests_2std_2vector_8c.html#aa39f5328853e3027c0a8333038b4ecfa", null ], - [ "ARC_TEST", "dc/d82/tests_2std_2vector_8c.html#a7e7d0eeb17aeba47d2a26cd6b90723e4", null ], - [ "ARC_TEST", "dc/d82/tests_2std_2vector_8c.html#ae38d69e992ca24f588721773315f24eb", null ], - [ "ARC_TEST", "dc/d82/tests_2std_2vector_8c.html#a405dfe9c7822ead6ba03cc6135ca2dc8", null ], - [ "TEST_Vector_CompareDataFn", "dc/d82/tests_2std_2vector_8c.html#a0aa3a38077012a111ec4b40781a7417a", null ], - [ "TEST_Vector_DestroyDataFn", "dc/d82/tests_2std_2vector_8c.html#a9716bb56ca617dabd6e01ae2c504f290", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dc/d82/tests_2std_2vector_8c_source.html b/doc/doxygen/html/dc/d82/tests_2std_2vector_8c_source.html deleted file mode 100644 index f201322..0000000 --- a/doc/doxygen/html/dc/d82/tests_2std_2vector_8c_source.html +++ /dev/null @@ -1,320 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/tests/std/vector.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
vector.c
-
-
-Go to the documentation of this file.
1#include "../test.h"
-
2#include "arc/std/bool.h"
-
3#include "arc/std/errno.h"
-
4#include "arc/std/vector.h"
-
5#include <stdint.h>
-
6#include <stdlib.h>
-
7
-
-
8ARC_Bool TEST_Vector_CompareDataFn(void *dataA, void *dataB){
-
9 if(*(int32_t *)dataA == *(int32_t *)dataB){
-
10 return ARC_True;
-
11 }
-
12
-
13 return ARC_False;
-
14}
-
-
15
-
16//TODO: more tests with destroy data fn added
-
- -
18 free((int32_t *)data);
-
19}
-
-
20
-
-
21ARC_TEST(Vector_Add_RemoveIndex_Get){
-
22 ARC_Vector *vector;
-
23 ARC_Vector_Create(&vector, NULL, NULL);
-
24
-
25 int32_t val0 = 0;
-
26 int32_t val1 = 1;
-
27 int32_t val2 = 2;
-
28 int32_t val3 = 3;
-
29 int32_t val4 = 4;
-
30
-
31 ARC_Vector_Add(vector, &val0);
-
32 ARC_Vector_Add(vector, &val1);
-
33 ARC_Vector_Add(vector, &val2);
-
34 ARC_Vector_Add(vector, &val3);
-
35 ARC_Vector_Add(vector, &val4);
-
36
-
37 ARC_CHECK(0 == *(int32_t *)ARC_Vector_Get(vector, 0));
-
38 ARC_CHECK(1 == *(int32_t *)ARC_Vector_Get(vector, 1));
-
39 ARC_CHECK(2 == *(int32_t *)ARC_Vector_Get(vector, 2));
-
40 ARC_CHECK(3 == *(int32_t *)ARC_Vector_Get(vector, 3));
-
41 ARC_CHECK(4 == *(int32_t *)ARC_Vector_Get(vector, 4));
-
42 ARC_Vector_RemoveIndex(vector, 0);
-
43
-
44 ARC_CHECK(1 == *(int32_t *)ARC_Vector_Get(vector, 0));
-
45 ARC_CHECK(2 == *(int32_t *)ARC_Vector_Get(vector, 1));
-
46 ARC_CHECK(3 == *(int32_t *)ARC_Vector_Get(vector, 2));
-
47 ARC_CHECK(4 == *(int32_t *)ARC_Vector_Get(vector, 3));
-
48 ARC_Vector_RemoveIndex(vector, 3);
-
49
-
50 ARC_CHECK(1 == *(int32_t *)ARC_Vector_Get(vector, 0));
-
51 ARC_CHECK(2 == *(int32_t *)ARC_Vector_Get(vector, 1));
-
52 ARC_CHECK(3 == *(int32_t *)ARC_Vector_Get(vector, 2));
-
53 ARC_Vector_RemoveIndex(vector, 1);
-
54
-
55 ARC_CHECK(1 == *(int32_t *)ARC_Vector_Get(vector, 0));
-
56 ARC_CHECK(3 == *(int32_t *)ARC_Vector_Get(vector, 1));
-
57 ARC_Vector_RemoveIndex(vector, 1);
-
58
-
59 ARC_CHECK(1 == *(int32_t *)ARC_Vector_Get(vector, 0));
-
60 ARC_Vector_RemoveIndex(vector, 0);
-
61
-
62 ARC_Vector_Destroy(vector);
-
63}
-
-
64
-
-
65ARC_TEST(Vector_Add_Remove_Get){
-
66 ARC_Vector *vector;
- -
68 ARC_Vector_Create(&vector, &testCompareDataFn, NULL);
-
69
-
70 int32_t val0 = 0;
-
71 int32_t val1 = 1;
-
72 int32_t val2 = 2;
-
73 int32_t val3 = 3;
-
74 int32_t val4 = 4;
-
75
-
76 ARC_Vector_Add(vector, &val0);
-
77 ARC_Vector_Add(vector, &val1);
-
78 ARC_Vector_Add(vector, &val2);
-
79 ARC_Vector_Add(vector, &val3);
-
80 ARC_Vector_Add(vector, &val4);
-
81
-
82 ARC_CHECK(0 == *(int32_t *)ARC_Vector_Get(vector, 0));
-
83 ARC_CHECK(1 == *(int32_t *)ARC_Vector_Get(vector, 1));
-
84 ARC_CHECK(2 == *(int32_t *)ARC_Vector_Get(vector, 2));
-
85 ARC_CHECK(3 == *(int32_t *)ARC_Vector_Get(vector, 3));
-
86 ARC_CHECK(4 == *(int32_t *)ARC_Vector_Get(vector, 4));
-
87 ARC_Vector_Remove(vector, &val0);
-
88
-
89 ARC_CHECK(1 == *(int32_t *)ARC_Vector_Get(vector, 0));
-
90 ARC_CHECK(2 == *(int32_t *)ARC_Vector_Get(vector, 1));
-
91 ARC_CHECK(3 == *(int32_t *)ARC_Vector_Get(vector, 2));
-
92 ARC_CHECK(4 == *(int32_t *)ARC_Vector_Get(vector, 3));
-
93 ARC_Vector_Remove(vector, &val4);
-
94
-
95 ARC_CHECK(1 == *(int32_t *)ARC_Vector_Get(vector, 0));
-
96 ARC_CHECK(2 == *(int32_t *)ARC_Vector_Get(vector, 1));
-
97 ARC_CHECK(3 == *(int32_t *)ARC_Vector_Get(vector, 2));
-
98 ARC_Vector_Remove(vector, &val2);
-
99
-
100 ARC_CHECK(1 == *(int32_t *)ARC_Vector_Get(vector, 0));
-
101 ARC_CHECK(3 == *(int32_t *)ARC_Vector_Get(vector, 1));
-
102 ARC_Vector_Remove(vector, &val1);
-
103
-
104 ARC_CHECK(3 == *(int32_t *)ARC_Vector_Get(vector, 0));
-
105 ARC_Vector_Remove(vector, &val3);
-
106
-
107 ARC_Vector_Destroy(vector);
-
108}
-
-
109
-
-
110ARC_TEST(Vector_Add_RemoveIndex_GetSize){
-
111 ARC_Vector *vector;
-
112 ARC_Vector_Create(&vector, NULL, NULL);
-
113
-
114 int32_t val0 = 0;
-
115 int32_t val1 = 1;
-
116 int32_t val2 = 2;
-
117 int32_t val3 = 3;
-
118 int32_t val4 = 4;
-
119
-
120 ARC_Vector_Add(vector, &val0);
-
121 ARC_Vector_Add(vector, &val1);
-
122 ARC_Vector_Add(vector, &val2);
-
123 ARC_Vector_Add(vector, &val3);
-
124 ARC_Vector_Add(vector, &val4);
-
125
-
126 ARC_CHECK(5 == ARC_Vector_GetSize(vector));
-
127 ARC_Vector_RemoveIndex(vector, 0);
-
128
-
129 ARC_CHECK(4 == ARC_Vector_GetSize(vector));
-
130 ARC_Vector_RemoveIndex(vector, 0);
-
131
-
132 ARC_CHECK(3 == ARC_Vector_GetSize(vector));
-
133 ARC_Vector_RemoveIndex(vector, 0);
-
134
-
135 ARC_CHECK(2 == ARC_Vector_GetSize(vector));
-
136 ARC_Vector_RemoveIndex(vector, 0);
-
137
-
138 ARC_CHECK(1 == ARC_Vector_GetSize(vector));
-
139 ARC_Vector_RemoveIndex(vector, 0);
-
140
-
141 ARC_CHECK(0 == ARC_Vector_GetSize(vector));
-
142
-
143 ARC_Vector_Destroy(vector);
-
144}
-
-
145
-
-
146ARC_TEST(Vector_Add_RemoveIndex_Get_Try_Out_Of_Bounds){
-
147 ARC_Vector *vector;
-
148 ARC_Vector_Create(&vector, NULL, NULL);
-
149
-
150 int32_t val0 = 0;
-
151
-
152 ARC_Vector_Add(vector, &val0);
-
153 ARC_CHECK(NULL == ARC_Vector_Get(vector, 1));
-
154 arc_errno = 0;
-
155
-
156 ARC_Vector_RemoveIndex(vector, 0);
-
157
-
158 ARC_Vector_Destroy(vector);
-
159}
-
- -
#define ARC_False
Definition bool.h:12
-
#define ARC_True
Definition bool.h:11
-
#define ARC_Bool
Definition bool.h:10
- -
int32_t arc_errno
Definition errno.c:5
-
uint32_t ARC_Vector_GetSize(ARC_Vector *vector)
gets the current size of an ARC_Vector as an unsigned 32 bit integer
Definition vector.c:149
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:153
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:70
-
void ARC_Vector_Remove(ARC_Vector *vector, void *data)
removes an item from a matching item in an ARC_Vector
Definition vector.c:97
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:54
-
void ARC_Vector_RemoveIndex(ARC_Vector *vector, uint32_t index)
removes an item from an ARC_Vector at an index
Definition vector.c:110
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:31
-
a private dynamic array type
Definition vector.c:12
- -
#define ARC_CHECK(TEST)
Definition test.h:33
-
#define ARC_TEST(MESSAGE)
Definition test.h:31
-
ARC_Bool TEST_Vector_CompareDataFn(void *dataA, void *dataB)
Definition vector.c:8
-
void TEST_Vector_DestroyDataFn(void *data)
Definition vector.c:17
- -
ARC_Bool(* ARC_Vector_CompareDataFn)(void *dataA, void *dataB)
a callback that allows the user to define a way to check the data stored in a vector for a match
Definition vector.h:24
-
-
- - - - - - diff --git a/doc/doxygen/html/dc/d95/packages_2graphics_2sdl_2spritesheet_8h.html b/doc/doxygen/html/dc/d95/packages_2graphics_2sdl_2spritesheet_8h.html deleted file mode 100644 index 06a1991..0000000 --- a/doc/doxygen/html/dc/d95/packages_2graphics_2sdl_2spritesheet_8h.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/spritesheet.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
spritesheet.h File Reference
-
-
-
#include "arc/graphics/spritesheet.h"
-#include <SDL.h>
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_Spritesheet
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dc/d95/packages_2graphics_2sdl_2spritesheet_8h.js b/doc/doxygen/html/dc/d95/packages_2graphics_2sdl_2spritesheet_8h.js deleted file mode 100644 index c334d54..0000000 --- a/doc/doxygen/html/dc/d95/packages_2graphics_2sdl_2spritesheet_8h.js +++ /dev/null @@ -1,4 +0,0 @@ -var packages_2graphics_2sdl_2spritesheet_8h = -[ - [ "ARC_Spritesheet", "d0/d41/structARC__Spritesheet.html", "d0/d41/structARC__Spritesheet" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dc/d95/packages_2graphics_2sdl_2spritesheet_8h_source.html b/doc/doxygen/html/dc/d95/packages_2graphics_2sdl_2spritesheet_8h_source.html deleted file mode 100644 index 6d8d01b..0000000 --- a/doc/doxygen/html/dc/d95/packages_2graphics_2sdl_2spritesheet_8h_source.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/spritesheet.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
spritesheet.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_SDL_SPRITESHEET_H_
-
2#define ARC_SDL_SPRITESHEET_H_
-
3
- -
5#include <SDL.h>
-
6
-
- -
8 SDL_Texture *texture;
-
9 uint32_t *size;
-
10};
-
-
11
-
12#endif // !ARC_SDL_SPRITESHEET_H_
- - -
SDL_Texture * texture
Definition spritesheet.h:8
-
uint32_t * size
Definition spritesheet.h:9
-
-
- - - - - - diff --git a/doc/doxygen/html/dc/dac/io_8h.html b/doc/doxygen/html/dc/dac/io_8h.html deleted file mode 100644 index 2130466..0000000 --- a/doc/doxygen/html/dc/dac/io_8h.html +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/io.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
io.h File Reference
-
-
-
#include <stdint.h>
-#include "arc/std/string.h"
-
-

Go to the source code of this file.

- - - - - - - - - - - -

-Functions

void ARC_IO_ReadFileToUint8t (ARC_String *path, uint8_t **data, uint64_t *length)
 get string and size from file
 
void ARC_IO_FileToStr (ARC_String *path, ARC_String **data)
 get string and size from file
 
void ARC_IO_WriteStrToFile (ARC_String *path, ARC_String *data)
 write string to file
 
-

Function Documentation

- -

◆ ARC_IO_FileToStr()

- -
-
- - - - - - - - - - - -
void ARC_IO_FileToStr (ARC_String * path,
ARC_String ** data )
-
- -

get string and size from file

-
Parameters
- - - -
patha string to path of target file
datapointer to where string will be created this will need to be freed once done using it
-
-
- -
-
- -

◆ ARC_IO_ReadFileToUint8t()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_IO_ReadFileToUint8t (ARC_String * path,
uint8_t ** data,
uint64_t * length )
-
- -

get string and size from file

-
Parameters
- - - - -
patha string to path of target file
datapointer to where uint8_t array will be created this will need to be freed once done using it
lengthlength of the data read in
-
-
- -
-
- -

◆ ARC_IO_WriteStrToFile()

- -
-
- - - - - - - - - - - -
void ARC_IO_WriteStrToFile (ARC_String * path,
ARC_String * data )
-
- -

write string to file

-
Parameters
- - - -
patha string to path of target file
datadata to be written
-
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/dc/dac/io_8h.js b/doc/doxygen/html/dc/dac/io_8h.js deleted file mode 100644 index 5753d53..0000000 --- a/doc/doxygen/html/dc/dac/io_8h.js +++ /dev/null @@ -1,6 +0,0 @@ -var io_8h = -[ - [ "ARC_IO_FileToStr", "dc/dac/io_8h.html#a264d33a54ba5175d36341c27011654f4", null ], - [ "ARC_IO_ReadFileToUint8t", "dc/dac/io_8h.html#a70350710f6f2124edcd32cabd641f1f4", null ], - [ "ARC_IO_WriteStrToFile", "dc/dac/io_8h.html#a580578d50c6d90d08a00701285e28f3b", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dc/dac/io_8h_source.html b/doc/doxygen/html/dc/dac/io_8h_source.html deleted file mode 100644 index 5b2f4da..0000000 --- a/doc/doxygen/html/dc/dac/io_8h_source.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/io.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
io.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_STD_IO_H_
-
2#define ARC_STD_IO_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include <stdint.h>
-
9#include "arc/std/string.h"
-
10
-
11/**
-
12 * @brief get string and size from file
-
13 *
-
14 * @param path a string to path of target file
-
15 * @param data pointer to where uint8_t array will be created
-
16 * this will need to be freed once done using it
-
17 * @param length length of the data read in
-
18*/
-
19void ARC_IO_ReadFileToUint8t(ARC_String *path, uint8_t **data, uint64_t *length);
-
20
-
21/**
-
22 * @brief get string and size from file
-
23 *
-
24 * @param path a string to path of target file
-
25 * @param data pointer to where string will be created
-
26 * this will need to be freed once done using it
-
27*/
- -
29
-
30/**
-
31 * @brief write string to file
-
32 *
-
33 * @param path a string to path of target file
-
34 * @param data data to be written
-
35*/
- -
37
-
38#ifdef __cplusplus
-
39}
-
40#endif
-
41
-
42#endif //ARC_STD_IO_H_
-
void ARC_IO_FileToStr(ARC_String *path, ARC_String **data)
get string and size from file
-
void ARC_IO_WriteStrToFile(ARC_String *path, ARC_String *data)
write string to file
-
void ARC_IO_ReadFileToUint8t(ARC_String *path, uint8_t **data, uint64_t *length)
get string and size from file
- -
substring position within a string
Definition string.h:14
-
-
- - - - - - diff --git a/doc/doxygen/html/dc/db4/packages_2graphics_2opengl_2obround_8c.html b/doc/doxygen/html/dc/db4/packages_2graphics_2opengl_2obround_8c.html deleted file mode 100644 index 2ad9d04..0000000 --- a/doc/doxygen/html/dc/db4/packages_2graphics_2opengl_2obround_8c.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/opengl/obround.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
obround.c File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/dc/db4/packages_2graphics_2opengl_2obround_8c_source.html b/doc/doxygen/html/dc/db4/packages_2graphics_2opengl_2obround_8c_source.html deleted file mode 100644 index c8b7e96..0000000 --- a/doc/doxygen/html/dc/db4/packages_2graphics_2opengl_2obround_8c_source.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/opengl/obround.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
obround.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_OPENGL_GRAPHICS
-
2
- -
4#include <stdio.h>
-
5
-
6void ARC_Obround_Render(ARC_Obround *obround, ARC_Renderer *renderer, ARC_Color *color){
-
7 printf("OpenGL Backend Selected\n");
-
8}
-
9
-
10void ARC_FObround_Render(ARC_FObround *obround, ARC_Renderer *renderer, ARC_Color *color){
-
11 printf("OpenGL Backend Selected\n");
-
12}
-
13
-
14#endif // ARC_OPENGL_GRAPHICS
- -
void ARC_FObround_Render(ARC_FObround *obround, ARC_Renderer *renderer, ARC_Color *color)
Definition obround.c:45
-
void ARC_Obround_Render(ARC_Obround *obround, ARC_Renderer *renderer, ARC_Color *color)
Definition obround.c:6
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- - - -
-
- - - - - - diff --git a/doc/doxygen/html/dc/dc5/packages_2graphics_2opengl_2sprite_8h.html b/doc/doxygen/html/dc/dc5/packages_2graphics_2opengl_2sprite_8h.html deleted file mode 100644 index 3b3119c..0000000 --- a/doc/doxygen/html/dc/dc5/packages_2graphics_2opengl_2sprite_8h.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/opengl/sprite.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
sprite.h File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/dc/dc5/packages_2graphics_2opengl_2sprite_8h_source.html b/doc/doxygen/html/dc/dc5/packages_2graphics_2opengl_2sprite_8h_source.html deleted file mode 100644 index 817b036..0000000 --- a/doc/doxygen/html/dc/dc5/packages_2graphics_2opengl_2sprite_8h_source.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/opengl/sprite.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
sprite.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_OPENGL_SPRITE_H_
-
2#define ARC_OPENGL_SPRITE_H_
-
3
-
4#ifdef ARC_OPENGL_GRAPHICS
-
5
- -
7
-
8struct ARC_Sprite {
-
9};
-
10
-
11#endif // !ARC_OPENGL_GRAPHICS
-
12
-
13#endif // !ARC_OPENGL_SPRITE_H_
- - -
-
- - - - - - diff --git a/doc/doxygen/html/dc/dd6/standard_8md.html b/doc/doxygen/html/dc/dd6/standard_8md.html deleted file mode 100644 index 6147972..0000000 --- a/doc/doxygen/html/dc/dd6/standard_8md.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - -Archeus: standard.md File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
standard.md File Reference
-
-
-
-
- - - - - - diff --git a/doc/doxygen/html/dc/ddf/structARC__Keyboard.html b/doc/doxygen/html/dc/ddf/structARC__Keyboard.html deleted file mode 100644 index e9d109b..0000000 --- a/doc/doxygen/html/dc/ddf/structARC__Keyboard.html +++ /dev/null @@ -1,203 +0,0 @@ - - - - - - - - -Archeus: ARC_Keyboard Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_Keyboard Struct Reference
-
-
- -

#include <keyboard.h>

- - - - - - - - -

-Data Fields

SDL_Event * event
 
ARC_KeyboardStatekeys
 
ARC_KeyboardStatereleased
 
-

Detailed Description

-
-

Definition at line 7 of file keyboard.h.

-

Field Documentation

- -

◆ event

- -
-
- - - - -
SDL_Event* ARC_Keyboard::event
-
- -

Definition at line 8 of file keyboard.h.

- -

Referenced by ARC_Keyboard_CreateWithInput(), and ARC_Keyboard_Update().

- -
-
- -

◆ keys

- -
-
- - - - -
ARC_KeyboardState* ARC_Keyboard::keys
-
- -

Definition at line 10 of file keyboard.h.

- -

Referenced by ARC_Keyboard_Destroy(), ARC_Keyboard_GetState(), and ARC_Keyboard_Update().

- -
-
- -

◆ released

- -
-
- - - - -
ARC_KeyboardState* ARC_Keyboard::released
-
- -

Definition at line 11 of file keyboard.h.

- -

Referenced by ARC_Keyboard_Update().

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/packages/input/sdl/keyboard.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/dc/ddf/structARC__Keyboard.js b/doc/doxygen/html/dc/ddf/structARC__Keyboard.js deleted file mode 100644 index 2e83ad9..0000000 --- a/doc/doxygen/html/dc/ddf/structARC__Keyboard.js +++ /dev/null @@ -1,6 +0,0 @@ -var structARC__Keyboard = -[ - [ "event", "dc/ddf/structARC__Keyboard.html#aaf354a17bce9f4a91859633d41953a31", null ], - [ "keys", "dc/ddf/structARC__Keyboard.html#a7b573bd9db9e1537a7a4887a7bc2aca5", null ], - [ "released", "dc/ddf/structARC__Keyboard.html#aca2305c054da5935f3f48e1b1f1981f4", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dc/ded/mouse_8h.html b/doc/doxygen/html/dc/ded/mouse_8h.html deleted file mode 100644 index 8e792ca..0000000 --- a/doc/doxygen/html/dc/ded/mouse_8h.html +++ /dev/null @@ -1,425 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/input/mouse.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
mouse.h File Reference
-
-
-
#include "arc/math/point.h"
-#include <stdint.h>
-
-

Go to the source code of this file.

- - - - -

-Macros

#define ARC_MOUSE_BUTTON_NUM   5
 
- - - - - - - -

-Typedefs

typedef struct ARC_Mouse ARC_Mouse
 
typedef enum ARC_MouseState ARC_MouseState
 
typedef enum ARC_MouseButton ARC_MouseButton
 
- - - - - -

-Enumerations

enum  ARC_MouseState { ARC_MOUSE_NONE -, ARC_MOUSE_PRESSED -, ARC_MOUSE_RELEASED - }
 
enum  ARC_MouseButton {
-  ARC_MOUSE_LEFT = 0 -, ARC_MOUSE_MIDDLE = 1 -, ARC_MOUSE_RIGHT = 2 -, ARC_MOUSE_X1 = 3 -,
-  ARC_MOUSE_X2 = 4 -
- }
 
- - - - - - - - - - - - - -

-Functions

void ARC_Mouse_CreateWithInput (ARC_Mouse **mouse, ARC_Input *input)
 
void ARC_Mouse_Destroy (ARC_Mouse *mouse)
 
void ARC_Mouse_Update (ARC_Mouse *mouse)
 
ARC_PointARC_Mouse_GetCoords (ARC_Mouse *mouse)
 
ARC_MouseState ARC_Mouse_GetState (ARC_Mouse *mouse, ARC_MouseButton button)
 
int32_t * ARC_Mouse_GetScrollY (ARC_Mouse *mouse)
 
-

Macro Definition Documentation

- -

◆ ARC_MOUSE_BUTTON_NUM

- -
-
- - - - -
#define ARC_MOUSE_BUTTON_NUM   5
-
- -

Definition at line 32 of file mouse.h.

- -
-
-

Typedef Documentation

- -

◆ ARC_Mouse

- -
-
- - - - -
typedef struct ARC_Mouse ARC_Mouse
-
- -

Definition at line 16 of file mouse.h.

- -
-
- -

◆ ARC_MouseButton

- -
-
- - - - -
typedef enum ARC_MouseButton ARC_MouseButton
-
- -
-
- -

◆ ARC_MouseState

- -
-
- - - - -
typedef enum ARC_MouseState ARC_MouseState
-
- -
-
-

Enumeration Type Documentation

- -

◆ ARC_MouseButton

- -
-
- - - - -
enum ARC_MouseButton
-
- - - - - - -
Enumerator
ARC_MOUSE_LEFT 
ARC_MOUSE_MIDDLE 
ARC_MOUSE_RIGHT 
ARC_MOUSE_X1 
ARC_MOUSE_X2 
- -

Definition at line 24 of file mouse.h.

-
24 {
- - - -
28 ARC_MOUSE_X1 = 3,
-
29 ARC_MOUSE_X2 = 4
- -
ARC_MouseButton
Definition mouse.h:24
-
@ ARC_MOUSE_X2
Definition mouse.h:29
-
@ ARC_MOUSE_LEFT
Definition mouse.h:25
-
@ ARC_MOUSE_RIGHT
Definition mouse.h:27
-
@ ARC_MOUSE_X1
Definition mouse.h:28
-
@ ARC_MOUSE_MIDDLE
Definition mouse.h:26
-
-
-
- -

◆ ARC_MouseState

- -
-
- - - - -
enum ARC_MouseState
-
- - - - -
Enumerator
ARC_MOUSE_NONE 
ARC_MOUSE_PRESSED 
ARC_MOUSE_RELEASED 
- -

Definition at line 18 of file mouse.h.

-
18 {
- - - - -
ARC_MouseState
Definition mouse.h:18
-
@ ARC_MOUSE_RELEASED
Definition mouse.h:21
-
@ ARC_MOUSE_PRESSED
Definition mouse.h:20
-
@ ARC_MOUSE_NONE
Definition mouse.h:19
-
-
-
-

Function Documentation

- -

◆ ARC_Mouse_CreateWithInput()

- -
-
- - - - - - - - - - - -
void ARC_Mouse_CreateWithInput (ARC_Mouse ** mouse,
ARC_Input * input )
-
- -
-
- -

◆ ARC_Mouse_Destroy()

- -
-
- - - - - - - -
void ARC_Mouse_Destroy (ARC_Mouse * mouse)
-
- -
-
- -

◆ ARC_Mouse_GetCoords()

- -
-
- - - - - - - -
ARC_Point * ARC_Mouse_GetCoords (ARC_Mouse * mouse)
-
- -
-
- -

◆ ARC_Mouse_GetScrollY()

- -
-
- - - - - - - -
int32_t * ARC_Mouse_GetScrollY (ARC_Mouse * mouse)
-
- -
-
- -

◆ ARC_Mouse_GetState()

- -
-
- - - - - - - - - - - -
ARC_MouseState ARC_Mouse_GetState (ARC_Mouse * mouse,
ARC_MouseButton button )
-
- -
-
- -

◆ ARC_Mouse_Update()

- -
-
- - - - - - - -
void ARC_Mouse_Update (ARC_Mouse * mouse)
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/dc/ded/mouse_8h.js b/doc/doxygen/html/dc/ded/mouse_8h.js deleted file mode 100644 index baf05f2..0000000 --- a/doc/doxygen/html/dc/ded/mouse_8h.js +++ /dev/null @@ -1,25 +0,0 @@ -var mouse_8h = -[ - [ "ARC_MOUSE_BUTTON_NUM", "dc/ded/mouse_8h.html#acbb0b27e48bcb41ad29eef0f0e8eacef", null ], - [ "ARC_Mouse", "dc/ded/mouse_8h.html#a902312c6398b8df6994f040d103b507b", null ], - [ "ARC_MouseButton", "dc/ded/mouse_8h.html#a350eb1b802dfe2a8c68e026446728b01", null ], - [ "ARC_MouseState", "dc/ded/mouse_8h.html#a8a40d17a0e5b8afa1fee2e97f7b2d7db", null ], - [ "ARC_MouseButton", "dc/ded/mouse_8h.html#a269bea4edbaaaa49300ec7947aae78ad", [ - [ "ARC_MOUSE_LEFT", "dc/ded/mouse_8h.html#a269bea4edbaaaa49300ec7947aae78ada64a7929203f7e527afd8a12dcedbeb55", null ], - [ "ARC_MOUSE_MIDDLE", "dc/ded/mouse_8h.html#a269bea4edbaaaa49300ec7947aae78adae58cf0eb299ab6f28ef181a1e30f350b", null ], - [ "ARC_MOUSE_RIGHT", "dc/ded/mouse_8h.html#a269bea4edbaaaa49300ec7947aae78adab1ee07c0792fb2eb187a8d2b7b08c5ba", null ], - [ "ARC_MOUSE_X1", "dc/ded/mouse_8h.html#a269bea4edbaaaa49300ec7947aae78adabf7686eab237e635b36efcffec7e7509", null ], - [ "ARC_MOUSE_X2", "dc/ded/mouse_8h.html#a269bea4edbaaaa49300ec7947aae78ada4075d9a56968ae49d09c1ae3df5a2fd4", null ] - ] ], - [ "ARC_MouseState", "dc/ded/mouse_8h.html#a52d94336e2c510bb6d634595ad41fa89", [ - [ "ARC_MOUSE_NONE", "dc/ded/mouse_8h.html#a52d94336e2c510bb6d634595ad41fa89ae4a0ee3870d689b0b545fbf9b4a3b408", null ], - [ "ARC_MOUSE_PRESSED", "dc/ded/mouse_8h.html#a52d94336e2c510bb6d634595ad41fa89abd627d7ca223deb05630511e1ebc5b23", null ], - [ "ARC_MOUSE_RELEASED", "dc/ded/mouse_8h.html#a52d94336e2c510bb6d634595ad41fa89a51d511d33a6cd519b57502f63808e77a", null ] - ] ], - [ "ARC_Mouse_CreateWithInput", "dc/ded/mouse_8h.html#ad10b11b6dc3e8154a6a8c55336f414aa", null ], - [ "ARC_Mouse_Destroy", "dc/ded/mouse_8h.html#a80f3e8881fa82ed61884bd0c54718377", null ], - [ "ARC_Mouse_GetCoords", "dc/ded/mouse_8h.html#a03fbe8fd4b74249f76a6b9b3896f1c90", null ], - [ "ARC_Mouse_GetScrollY", "dc/ded/mouse_8h.html#a3760b36acc070c0519e51480312a6b8d", null ], - [ "ARC_Mouse_GetState", "dc/ded/mouse_8h.html#a00a25e48a5a701317b363dcdc83e3469", null ], - [ "ARC_Mouse_Update", "dc/ded/mouse_8h.html#a6eb8e204759d13162a305588e550b132", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dc/ded/mouse_8h_source.html b/doc/doxygen/html/dc/ded/mouse_8h_source.html deleted file mode 100644 index 7187fed..0000000 --- a/doc/doxygen/html/dc/ded/mouse_8h_source.html +++ /dev/null @@ -1,198 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/input/mouse.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
mouse.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_GRAPHICS_MOUSE_H_
-
2#define ARC_GRAPHICS_MOUSE_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include "arc/math/point.h"
-
9#include <stdint.h>
-
10
-
11/**
-
12 * @brief predefien ARC_Input so as not to get circular reference
-
13*/
-
14typedef struct ARC_Input ARC_Input;
-
15
-
16typedef struct ARC_Mouse ARC_Mouse;
-
17
- -
23
- -
31
-
32#define ARC_MOUSE_BUTTON_NUM 5
-
33
- -
35
- - - - - -
41
-
42#ifdef __cplusplus
-
43}
-
44#endif
-
45
-
46#endif // !ARC_GRAPHICS_MOUSE_H_
-
struct ARC_Input ARC_Input
predefien ARC_Input so as not to get circular reference
Definition input.h:17
-
ARC_MouseState ARC_Mouse_GetState(ARC_Mouse *mouse, ARC_MouseButton button)
-
ARC_Point * ARC_Mouse_GetCoords(ARC_Mouse *mouse)
-
ARC_MouseButton
Definition mouse.h:24
-
@ ARC_MOUSE_X2
Definition mouse.h:29
-
@ ARC_MOUSE_LEFT
Definition mouse.h:25
-
@ ARC_MOUSE_RIGHT
Definition mouse.h:27
-
@ ARC_MOUSE_X1
Definition mouse.h:28
-
@ ARC_MOUSE_MIDDLE
Definition mouse.h:26
-
int32_t * ARC_Mouse_GetScrollY(ARC_Mouse *mouse)
-
ARC_MouseState
Definition mouse.h:18
-
@ ARC_MOUSE_RELEASED
Definition mouse.h:21
-
@ ARC_MOUSE_PRESSED
Definition mouse.h:20
-
@ ARC_MOUSE_NONE
Definition mouse.h:19
-
void ARC_Mouse_Update(ARC_Mouse *mouse)
-
void ARC_Mouse_Destroy(ARC_Mouse *mouse)
-
struct ARC_Mouse ARC_Mouse
Definition mouse.h:16
-
void ARC_Mouse_CreateWithInput(ARC_Mouse **mouse, ARC_Input *input)
- - -
-
- - - - - - diff --git a/doc/doxygen/html/dc/df6/archeus__std_8dir_2src_2input_2mouse_8c_8o_8d.html b/doc/doxygen/html/dc/df6/archeus__std_8dir_2src_2input_2mouse_8c_8o_8d.html deleted file mode 100644 index 7a099e4..0000000 --- a/doc/doxygen/html/dc/df6/archeus__std_8dir_2src_2input_2mouse_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/input/mouse.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
mouse.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/dc/df6/archeus__std_8dir_2src_2input_2mouse_8c_8o_8d_source.html b/doc/doxygen/html/dc/df6/archeus__std_8dir_2src_2input_2mouse_8c_8o_8d_source.html deleted file mode 100644 index ac73db4..0000000 --- a/doc/doxygen/html/dc/df6/archeus__std_8dir_2src_2input_2mouse_8c_8o_8d_source.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/input/mouse.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
mouse.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/input/mouse.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/input/mouse.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/input/mouse.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
6 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
7 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
8 /usr/include/features.h /usr/include/features-time64.h \
-
9 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
10 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
11 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
12 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
13 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
14 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
15 /usr/include/bits/stdint-least.h /usr/include/stdio.h \
-
16 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
17 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
18 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
19 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
20 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
21 /usr/include/bits/types/cookie_io_functions_t.h \
-
22 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
23 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/dd/d01/structARC__ConsoleKeyType.html b/doc/doxygen/html/dd/d01/structARC__ConsoleKeyType.html deleted file mode 100644 index 5b24a2a..0000000 --- a/doc/doxygen/html/dd/d01/structARC__ConsoleKeyType.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - - -Archeus: ARC_ConsoleKeyType Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_ConsoleKeyType Struct Reference
-
-
- -

#include <key.h>

- - - - -

-Data Fields

int32_t key
 
-

Detailed Description

-
-

Definition at line 11 of file key.h.

-

Field Documentation

- -

◆ key

- - -
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/packages/console/ncurses/key.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/dd/d01/structARC__ConsoleKeyType.js b/doc/doxygen/html/dd/d01/structARC__ConsoleKeyType.js deleted file mode 100644 index b2f55b6..0000000 --- a/doc/doxygen/html/dd/d01/structARC__ConsoleKeyType.js +++ /dev/null @@ -1,4 +0,0 @@ -var structARC__ConsoleKeyType = -[ - [ "key", "dd/d01/structARC__ConsoleKeyType.html#a4cbff483c7ebaf170a90c8803da67ea2", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dd/d08/structARC__ConfigTypeTemplate.html b/doc/doxygen/html/dd/d08/structARC__ConfigTypeTemplate.html deleted file mode 100644 index ab085db..0000000 --- a/doc/doxygen/html/dd/d08/structARC__ConfigTypeTemplate.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - - - -Archeus: ARC_ConfigTypeTemplate Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_ConfigTypeTemplate Struct Reference
-
-
- - - - - - -

-Data Fields

ARC_ConfigKeyDelete Delete
 
void * data
 
-

Detailed Description

-
-

Definition at line 25 of file config.c.

-

Field Documentation

- -

◆ data

- -
-
- - - - -
void* ARC_ConfigTypeTemplate::data
-
- -

Definition at line 28 of file config.c.

- -

Referenced by ARC_Config_DestroyGroupNode(), ARC_Config_Get(), and ARC_Config_LoadFromKey().

- -
-
- -

◆ Delete

- -
-
- - - - -
ARC_ConfigKeyDelete ARC_ConfigTypeTemplate::Delete
-
- -

Definition at line 26 of file config.c.

- -

Referenced by ARC_Config_DestroyGroupNode(), and ARC_Config_LoadFromKey().

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/src/std/config.c
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/dd/d08/structARC__ConfigTypeTemplate.js b/doc/doxygen/html/dd/d08/structARC__ConfigTypeTemplate.js deleted file mode 100644 index 82d23e2..0000000 --- a/doc/doxygen/html/dd/d08/structARC__ConfigTypeTemplate.js +++ /dev/null @@ -1,5 +0,0 @@ -var structARC__ConfigTypeTemplate = -[ - [ "data", "dd/d08/structARC__ConfigTypeTemplate.html#aacf230f73a023f4d66d4a19b10e00e71", null ], - [ "Delete", "dd/d08/structARC__ConfigTypeTemplate.html#a7a7c4746c382aaf669b1feba9c9c6fe0", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dd/d0d/math_2rectangle_8c.html b/doc/doxygen/html/dd/d0d/math_2rectangle_8c.html deleted file mode 100644 index cbf46a7..0000000 --- a/doc/doxygen/html/dd/d0d/math_2rectangle_8c.html +++ /dev/null @@ -1,603 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/math/rectangle.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
- -
rectangle.c File Reference
-
-
- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_Rect_CenterOn (ARC_Rect *rect, ARC_Rect *bounds)
 centers rect on given bounds
 
void ARC_FRect_CenterOn (ARC_FRect *rect, ARC_FRect *bounds)
 centers rect on given bounds
 
ARC_FRect ARC_Rect_CastToFRect (ARC_Rect *rect)
 casts Rect to FRect
 
ARC_Rect ARC_FRect_CastToRect (ARC_FRect *rect)
 casts FRect to Rect
 
int32_t ARC_Rect_Intersects (ARC_Rect *rect1, ARC_Rect *rect2)
 checks if two ARC_Rects intersect
 
int32_t ARC_FRect_Intersects (ARC_FRect *rect1, ARC_FRect *rect2)
 checks if two ARC_FRects intersect
 
int32_t ARC_Rect_IntersectsPoint (ARC_Rect *rect, ARC_Point *point)
 checks if ARC_Rect intersects with point
 
int32_t ARC_FRect_IntersectsPoint (ARC_FRect *rect, ARC_Point *point)
 checks if ARC_FRect intersects with point
 
int32_t ARC_Rect_LineIntersects (ARC_Rect *rect, int32_t *x1, int32_t *y1, int32_t *x2, int32_t *y2)
 checks if ARC_Rect intersects a line
 
void ARC_FRect_CollideAndSlide (ARC_FRect *rect, ARC_Vector2 *velocity, ARC_FRect *wall)
 checks for a ARC_Rect on ARC_Rect collision and slides on collision
 
-

Function Documentation

- -

◆ ARC_FRect_CastToRect()

- -
-
- - - - - - - -
ARC_Rect ARC_FRect_CastToRect (ARC_FRect * rect)
-
- -

casts FRect to Rect

-
Parameters
- - -
rectARC_FRect to be casted
-
-
-
Returns
ARC_Rect
- -

Definition at line 25 of file rectangle.c.

-
25 {
-
26 return (ARC_Rect){
-
27 .x = (int32_t)rect->x,
-
28 .y = (int32_t)rect->y,
-
29 .w = (int32_t)rect->w,
-
30 .h = (int32_t)rect->h,
-
31 };
-
32}
-
float y
Definition rectangle.h:28
-
float x
Definition rectangle.h:27
-
float w
Definition rectangle.h:29
-
float h
Definition rectangle.h:30
- -
-

References ARC_FRect::h, ARC_FRect::w, ARC_FRect::x, and ARC_FRect::y.

- -
-
- -

◆ ARC_FRect_CenterOn()

- -
-
- - - - - - - - - - - -
void ARC_FRect_CenterOn (ARC_FRect * rect,
ARC_FRect * bounds )
-
- -

centers rect on given bounds

-
Parameters
- - - -
rectARC_FRect to be centered
boundsARC_FRect area to center rect on
-
-
- -

Definition at line 11 of file rectangle.c.

-
11 {
-
12 rect->x = (bounds->x + (bounds->w / 2.0f)) - (rect->w / 2.0f);
-
13 rect->y = (bounds->y + (bounds->h / 2.0f)) - (rect->h / 2.0f);
-
14}
-
-

References ARC_FRect::h, ARC_FRect::w, ARC_FRect::x, and ARC_FRect::y.

- -
-
- -

◆ ARC_FRect_CollideAndSlide()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_FRect_CollideAndSlide (ARC_FRect * rect,
ARC_Vector2 * velocity,
ARC_FRect * wall )
-
- -

checks for a ARC_Rect on ARC_Rect collision and slides on collision

-
Note
need to update this documenation to word it better
-
Parameters
- - - - -
rectARC_Rect that might collide with the wall
velocitythe ammount ARC_Rect will move
wallARC_Rect that might have collision with rect
-
-
-
Note
velocity is updated based on colliding, rect's values are not changed, velocity should be applied after
- -

Definition at line 74 of file rectangle.c.

-
74 {
-
75 ARC_FRect nextRectPosition = {
-
76 .x = rect->x + velocity->x,
-
77 .y = rect->y + velocity->y,
-
78 .w = rect->w,
-
79 .h = rect->h
-
80 };
-
81
-
82 //there is no collision, return
-
83 if(!ARC_FRect_Intersects(&nextRectPosition, wall)){
-
84 return;
-
85 }
-
86
-
87 nextRectPosition.x = rect->x + velocity->x;
-
88 nextRectPosition.y = rect->y;
-
89 if(ARC_FRect_Intersects(&nextRectPosition, wall)){
-
90 velocity->x = 0;
-
91 }
-
92
-
93 nextRectPosition.x = rect->x;
-
94 nextRectPosition.y = rect->y + velocity->y;
-
95 if(ARC_FRect_Intersects(&nextRectPosition, wall)){
-
96 velocity->y = 0;
-
97 }
-
98}
-
int32_t ARC_FRect_Intersects(ARC_FRect *rect1, ARC_FRect *rect2)
checks if two ARC_FRects intersect
Definition rectangle.c:42
- -
float x
Definition vector2.h:9
-
float y
Definition vector2.h:9
-
-

References ARC_FRect_Intersects(), ARC_FRect::h, ARC_FRect::w, ARC_FRect::x, ARC_Vector2::x, ARC_FRect::y, and ARC_Vector2::y.

- -
-
- -

◆ ARC_FRect_Intersects()

- -
-
- - - - - - - - - - - -
int32_t ARC_FRect_Intersects (ARC_FRect * rect1,
ARC_FRect * rect2 )
-
- -

checks if two ARC_FRects intersect

-
Parameters
- - - -
rect1ARC_FRect that will be checked against rect2
rect2ARC_FRect that will be checked against rect1
-
-
-
Returns
1 if they intersect, 0 if they don't intersect
- -

Definition at line 42 of file rectangle.c.

-
42 {
-
43 if(rect1->x <= rect2->x + rect2->w && rect1->x + rect1->w >= rect2->x &&
-
44 rect1->y <= rect2->y + rect2->h && rect1->y + rect1->h >= rect2->y){
-
45 return 1;
-
46 }
-
47 return 0;
-
48}
-
-

References ARC_FRect::h, ARC_FRect::w, ARC_FRect::x, and ARC_FRect::y.

- -

Referenced by ARC_FRect_CollideAndSlide().

- -
-
- -

◆ ARC_FRect_IntersectsPoint()

- -
-
- - - - - - - - - - - -
int32_t ARC_FRect_IntersectsPoint (ARC_FRect * rect,
ARC_Point * point )
-
- -

checks if ARC_FRect intersects with point

-
Parameters
- - - -
rectARC_FRect that will be checked against point
pointARC_Point that will be checked against rect
-
-
-
Returns
1 if they intersect, 0 if they don't intersect
- -

Definition at line 58 of file rectangle.c.

-
58 {
-
59 if(rect->x <= point->x && rect->x + rect->w >= point->x &&
-
60 rect->y <= point->y && rect->y + rect->h >= point->y){
-
61 return 1;
-
62 }
-
63 return 0;
-
64}
-
int32_t y
Definition point.h:12
-
int32_t x
Definition point.h:11
-
-

References ARC_FRect::h, ARC_FRect::w, ARC_FRect::x, ARC_Point::x, ARC_FRect::y, and ARC_Point::y.

- -
-
- -

◆ ARC_Rect_CastToFRect()

- -
-
- - - - - - - -
ARC_FRect ARC_Rect_CastToFRect (ARC_Rect * rect)
-
- -

casts Rect to FRect

-
Parameters
- - -
rectARC_Rect to be casted
-
-
-
Returns
ARC_FRect
- -

Definition at line 16 of file rectangle.c.

-
16 {
-
17 return (ARC_FRect){
-
18 .x = (float)rect->x,
-
19 .y = (float)rect->y,
-
20 .w = (float)rect->w,
-
21 .h = (float)rect->h,
-
22 };
-
23}
-
int32_t x
Definition rectangle.h:13
-
int32_t w
Definition rectangle.h:15
-
int32_t y
Definition rectangle.h:14
-
int32_t h
Definition rectangle.h:16
-
-

References ARC_Rect::h, ARC_Rect::w, ARC_Rect::x, and ARC_Rect::y.

- -
-
- -

◆ ARC_Rect_CenterOn()

- -
-
- - - - - - - - - - - -
void ARC_Rect_CenterOn (ARC_Rect * rect,
ARC_Rect * bounds )
-
- -

centers rect on given bounds

-
Parameters
- - - -
rectARC_Rect to be centered
boundsARC_Rect area to center rect on
-
-
- -

Definition at line 6 of file rectangle.c.

-
6 {
-
7 rect->x = (bounds->x + (bounds->w / 2)) - (rect->w / 2);
-
8 rect->y = (bounds->y + (bounds->h / 2)) - (rect->h / 2);
-
9}
-
-

References ARC_Rect::h, ARC_Rect::w, ARC_Rect::x, and ARC_Rect::y.

- -
-
- -

◆ ARC_Rect_Intersects()

- -
-
- - - - - - - - - - - -
int32_t ARC_Rect_Intersects (ARC_Rect * rect1,
ARC_Rect * rect2 )
-
- -

checks if two ARC_Rects intersect

-
Parameters
- - - -
rect1ARC_Rect that will be checked against rect2
rect2ARC_Rect that will be checked against rect1
-
-
-
Returns
1 if they intersect, 0 if they don't intersect
- -

Definition at line 34 of file rectangle.c.

-
34 {
-
35 if(rect1->x <= rect2->x + rect2->w && rect1->x + rect1->w >= rect2->x &&
-
36 rect1->y <= rect2->y + rect2->h && rect1->y + rect1->h >= rect2->y){
-
37 return 1;
-
38 }
-
39 return 0;
-
40}
-
-

References ARC_Rect::h, ARC_Rect::w, ARC_Rect::x, and ARC_Rect::y.

- -
-
- -

◆ ARC_Rect_IntersectsPoint()

- -
-
- - - - - - - - - - - -
int32_t ARC_Rect_IntersectsPoint (ARC_Rect * rect,
ARC_Point * point )
-
- -

checks if ARC_Rect intersects with point

-
Parameters
- - - -
rectARC_Rect that will be checked against point
pointARC_Point that will be checked against rect
-
-
-
Returns
1 if they intersect, 0 if they don't intersect
- -

Definition at line 50 of file rectangle.c.

-
50 {
-
51 if(rect->x <= point->x && rect->x + rect->w >= point->x &&
-
52 rect->y <= point->y && rect->y + rect->h >= point->y){
-
53 return 1;
-
54 }
-
55 return 0;
-
56}
-
-

References ARC_Rect::h, ARC_Rect::w, ARC_Point::x, ARC_Rect::x, ARC_Point::y, and ARC_Rect::y.

- -
-
- -

◆ ARC_Rect_LineIntersects()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
int32_t ARC_Rect_LineIntersects (ARC_Rect * rect,
int32_t * x1,
int32_t * y1,
int32_t * x2,
int32_t * y2 )
-
- -

checks if ARC_Rect intersects a line

-
Note
need to update this documenation to word it better
-
Parameters
- - - - - - -
rectARC_Rect that will be checked against line
x1first point's x value
y1first point's y value
y2second point's x value
y2second point's y value
-
-
-
Returns
1 if they intersect, 0 if they don't intersect
- -

Definition at line 66 of file rectangle.c.

-
66 {
-
67 //TODO: Replace soon
-
68 // return SDL_IntersectRectAndLine((SDL_Rect *) rect, x1, y1, x2, y2);
-
69 return 1;
-
70}
-
-
-
-
- - -
- - diff --git a/doc/doxygen/html/dd/d0d/math_2rectangle_8c_source.html b/doc/doxygen/html/dd/d0d/math_2rectangle_8c_source.html deleted file mode 100644 index ce309e5..0000000 --- a/doc/doxygen/html/dd/d0d/math_2rectangle_8c_source.html +++ /dev/null @@ -1,247 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/math/rectangle.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
rectangle.c
-
-
-Go to the documentation of this file.
-
2
-
3//VERY TEMP
-
4// #include <SDL.h>
-
5
-
-
6void ARC_Rect_CenterOn(ARC_Rect *rect, ARC_Rect *bounds){
-
7 rect->x = (bounds->x + (bounds->w / 2)) - (rect->w / 2);
-
8 rect->y = (bounds->y + (bounds->h / 2)) - (rect->h / 2);
-
9}
-
-
10
-
- -
12 rect->x = (bounds->x + (bounds->w / 2.0f)) - (rect->w / 2.0f);
-
13 rect->y = (bounds->y + (bounds->h / 2.0f)) - (rect->h / 2.0f);
-
14}
-
-
15
-
- -
17 return (ARC_FRect){
-
18 .x = (float)rect->x,
-
19 .y = (float)rect->y,
-
20 .w = (float)rect->w,
-
21 .h = (float)rect->h,
-
22 };
-
23}
-
-
24
-
- -
26 return (ARC_Rect){
-
27 .x = (int32_t)rect->x,
-
28 .y = (int32_t)rect->y,
-
29 .w = (int32_t)rect->w,
-
30 .h = (int32_t)rect->h,
-
31 };
-
32}
-
-
33
-
-
34int32_t ARC_Rect_Intersects(ARC_Rect *rect1, ARC_Rect *rect2){
-
35 if(rect1->x <= rect2->x + rect2->w && rect1->x + rect1->w >= rect2->x &&
-
36 rect1->y <= rect2->y + rect2->h && rect1->y + rect1->h >= rect2->y){
-
37 return 1;
-
38 }
-
39 return 0;
-
40}
-
-
41
-
- -
43 if(rect1->x <= rect2->x + rect2->w && rect1->x + rect1->w >= rect2->x &&
-
44 rect1->y <= rect2->y + rect2->h && rect1->y + rect1->h >= rect2->y){
-
45 return 1;
-
46 }
-
47 return 0;
-
48}
-
-
49
-
- -
51 if(rect->x <= point->x && rect->x + rect->w >= point->x &&
-
52 rect->y <= point->y && rect->y + rect->h >= point->y){
-
53 return 1;
-
54 }
-
55 return 0;
-
56}
-
-
57
-
- -
59 if(rect->x <= point->x && rect->x + rect->w >= point->x &&
-
60 rect->y <= point->y && rect->y + rect->h >= point->y){
-
61 return 1;
-
62 }
-
63 return 0;
-
64}
-
-
65
-
-
66int32_t ARC_Rect_LineIntersects(ARC_Rect *rect, int32_t *x1, int32_t *y1, int32_t *x2, int32_t *y2){
-
67 //TODO: Replace soon
-
68 // return SDL_IntersectRectAndLine((SDL_Rect *) rect, x1, y1, x2, y2);
-
69 return 1;
-
70}
-
-
71
-
72//TODO: position 1px away from colliding, so if velocity is greater than 2px it doesn't have weird gap spacing
-
73// might need to check diagnals as well, this is a rudamentry implementation
-
- -
75 ARC_FRect nextRectPosition = {
-
76 .x = rect->x + velocity->x,
-
77 .y = rect->y + velocity->y,
-
78 .w = rect->w,
-
79 .h = rect->h
-
80 };
-
81
-
82 //there is no collision, return
-
83 if(!ARC_FRect_Intersects(&nextRectPosition, wall)){
-
84 return;
-
85 }
-
86
-
87 nextRectPosition.x = rect->x + velocity->x;
-
88 nextRectPosition.y = rect->y;
-
89 if(ARC_FRect_Intersects(&nextRectPosition, wall)){
-
90 velocity->x = 0;
-
91 }
-
92
-
93 nextRectPosition.x = rect->x;
-
94 nextRectPosition.y = rect->y + velocity->y;
-
95 if(ARC_FRect_Intersects(&nextRectPosition, wall)){
-
96 velocity->y = 0;
-
97 }
-
98}
-
-
int32_t ARC_Rect_Intersects(ARC_Rect *rect1, ARC_Rect *rect2)
checks if two ARC_Rects intersect
Definition rectangle.c:34
-
ARC_Rect ARC_FRect_CastToRect(ARC_FRect *rect)
casts FRect to Rect
Definition rectangle.c:25
-
void ARC_FRect_CollideAndSlide(ARC_FRect *rect, ARC_Vector2 *velocity, ARC_FRect *wall)
checks for a ARC_Rect on ARC_Rect collision and slides on collision
Definition rectangle.c:74
-
ARC_FRect ARC_Rect_CastToFRect(ARC_Rect *rect)
casts Rect to FRect
Definition rectangle.c:16
-
void ARC_Rect_CenterOn(ARC_Rect *rect, ARC_Rect *bounds)
centers rect on given bounds
Definition rectangle.c:6
-
int32_t ARC_FRect_IntersectsPoint(ARC_FRect *rect, ARC_Point *point)
checks if ARC_FRect intersects with point
Definition rectangle.c:58
-
int32_t ARC_FRect_Intersects(ARC_FRect *rect1, ARC_FRect *rect2)
checks if two ARC_FRects intersect
Definition rectangle.c:42
-
int32_t ARC_Rect_IntersectsPoint(ARC_Rect *rect, ARC_Point *point)
checks if ARC_Rect intersects with point
Definition rectangle.c:50
-
void ARC_FRect_CenterOn(ARC_FRect *rect, ARC_FRect *bounds)
centers rect on given bounds
Definition rectangle.c:11
-
int32_t ARC_Rect_LineIntersects(ARC_Rect *rect, int32_t *x1, int32_t *y1, int32_t *x2, int32_t *y2)
checks if ARC_Rect intersects a line
Definition rectangle.c:66
- - -
float y
Definition rectangle.h:28
-
float x
Definition rectangle.h:27
-
float w
Definition rectangle.h:29
-
float h
Definition rectangle.h:30
- -
int32_t y
Definition point.h:12
-
int32_t x
Definition point.h:11
- -
int32_t x
Definition rectangle.h:13
-
int32_t w
Definition rectangle.h:15
-
int32_t y
Definition rectangle.h:14
-
int32_t h
Definition rectangle.h:16
- -
float x
Definition vector2.h:9
-
float y
Definition vector2.h:9
-
- - -
- - diff --git a/doc/doxygen/html/dd/d0d/parserlang_8h.html b/doc/doxygen/html/dd/d0d/parserlang_8h.html deleted file mode 100644 index d727b66..0000000 --- a/doc/doxygen/html/dd/d0d/parserlang_8h.html +++ /dev/null @@ -1,754 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/parser/parserlang.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
parserlang.h File Reference
-
-
-
#include "arc/std/parser.h"
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Macros

#define ARC_PARSERLANG_TOKEN_NULL   0
 
#define ARC_PARSERLANG_TOKEN_NUMBER   1
 
#define ARC_PARSERLANG_TOKEN_ALPHA_LOWER_CHAR   2
 
#define ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR   3
 
#define ARC_PARSERLANG_TOKEN_WHITESPACE   4
 
#define ARC_PARSERLANG_TOKEN_NEWLINE_ID   5
 
#define ARC_PARSERLANG_TOKEN_NEWLINE_CHAR   '\n'
 
#define ARC_PARSERLANG_TOKEN_LESS_THAN_ID   6
 
#define ARC_PARSERLANG_TOKEN_LESS_THAN_CHAR   '<'
 
#define ARC_PARSERLANG_TOKEN_GREATER_THAN_ID   7
 
#define ARC_PARSERLANG_TOKEN_GREATER_THAN_CHAR   '>'
 
#define ARC_PARSERLANG_TOKEN_OR_ID   8
 
#define ARC_PARSERLANG_TOKEN_OR_CHAR   '|'
 
#define ARC_PARSERLANG_TOKEN_UNDERSCORE_ID   9
 
#define ARC_PARSERLANG_TOKEN_UNDERSCORE_CHAR   '_'
 
#define ARC_PARSERLANG_TOKEN_ARROW_ID   10
 
#define ARC_PARSERLANG_TOKEN_ARROW_CSTRING   "->"
 
#define ARC_PARSERLANG_LAMBDA   ARC_PARSER_TAG_LAMBDA
 
#define ARC_PARSERLANG_LINE   11
 
#define ARC_PARSERLANG_BODY   12
 
#define ARC_PARSERLANG_ARGUMENTS   13
 
#define ARC_PARSERLANG_ARGUMENT   14
 
#define ARC_PARSERLANG_TAG_OR_CONSTANT   15
 
#define ARC_PARSERLANG_CONSTANT   16
 
#define ARC_PARSERLANG_CONSTANT_BODY   17
 
#define ARC_PARSERLANG_CONSTANT_CHAR   18
 
#define ARC_PARSERLANG_TAG   19
 
#define ARC_PARSERLANG_VARIABLE   20
 
#define ARC_PARSERLANG_VARIABLE_BODY   21
 
#define ARC_PARSERLANG_VARIABLE_CHAR   22
 
#define ARC_PARSERLANG_ALPHA_CHAR   23
 
#define ARC_PARSERLANG_WHITESPACE   24
 
- - - - -

-Functions

void ARC_ParserLang_CreateAsParser (ARC_Parser **parser, ARC_Parser_GetStringIdFn getStringIdFn)
 creates a parser for the Parser Lang
 
-

Macro Definition Documentation

- -

◆ ARC_PARSERLANG_ALPHA_CHAR

- -
-
- - - - -
#define ARC_PARSERLANG_ALPHA_CHAR   23
-
- -

Definition at line 74 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_ARGUMENT

- -
-
- - - - -
#define ARC_PARSERLANG_ARGUMENT   14
-
- -

Definition at line 65 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_ARGUMENTS

- -
-
- - - - -
#define ARC_PARSERLANG_ARGUMENTS   13
-
- -

Definition at line 64 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_BODY

- -
-
- - - - -
#define ARC_PARSERLANG_BODY   12
-
- -

Definition at line 63 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_CONSTANT

- -
-
- - - - -
#define ARC_PARSERLANG_CONSTANT   16
-
- -

Definition at line 67 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_CONSTANT_BODY

- -
-
- - - - -
#define ARC_PARSERLANG_CONSTANT_BODY   17
-
- -

Definition at line 68 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_CONSTANT_CHAR

- -
-
- - - - -
#define ARC_PARSERLANG_CONSTANT_CHAR   18
-
- -

Definition at line 69 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_LAMBDA

- -
-
- - - - -
#define ARC_PARSERLANG_LAMBDA   ARC_PARSER_TAG_LAMBDA
-
- -

Definition at line 61 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_LINE

- -
-
- - - - -
#define ARC_PARSERLANG_LINE   11
-
- -

Definition at line 62 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_TAG

- -
-
- - - - -
#define ARC_PARSERLANG_TAG   19
-
- -

Definition at line 70 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_TAG_OR_CONSTANT

- -
-
- - - - -
#define ARC_PARSERLANG_TAG_OR_CONSTANT   15
-
- -

Definition at line 66 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_TOKEN_ALPHA_LOWER_CHAR

- -
-
- - - - -
#define ARC_PARSERLANG_TOKEN_ALPHA_LOWER_CHAR   2
-
- -

Definition at line 43 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR

- -
-
- - - - -
#define ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR   3
-
- -

Definition at line 44 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_TOKEN_ARROW_CSTRING

- -
-
- - - - -
#define ARC_PARSERLANG_TOKEN_ARROW_CSTRING   "->"
-
- -

Definition at line 59 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_TOKEN_ARROW_ID

- -
-
- - - - -
#define ARC_PARSERLANG_TOKEN_ARROW_ID   10
-
- -

Definition at line 58 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_TOKEN_GREATER_THAN_CHAR

- -
-
- - - - -
#define ARC_PARSERLANG_TOKEN_GREATER_THAN_CHAR   '>'
-
- -

Definition at line 52 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_TOKEN_GREATER_THAN_ID

- -
-
- - - - -
#define ARC_PARSERLANG_TOKEN_GREATER_THAN_ID   7
-
- -

Definition at line 51 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_TOKEN_LESS_THAN_CHAR

- -
-
- - - - -
#define ARC_PARSERLANG_TOKEN_LESS_THAN_CHAR   '<'
-
- -

Definition at line 50 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_TOKEN_LESS_THAN_ID

- -
-
- - - - -
#define ARC_PARSERLANG_TOKEN_LESS_THAN_ID   6
-
- -

Definition at line 49 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_TOKEN_NEWLINE_CHAR

- -
-
- - - - -
#define ARC_PARSERLANG_TOKEN_NEWLINE_CHAR   '\n'
-
- -

Definition at line 48 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_TOKEN_NEWLINE_ID

- -
-
- - - - -
#define ARC_PARSERLANG_TOKEN_NEWLINE_ID   5
-
- -

Definition at line 47 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_TOKEN_NULL

- -
-
- - - - -
#define ARC_PARSERLANG_TOKEN_NULL   0
-
- -

Definition at line 41 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_TOKEN_NUMBER

- -
-
- - - - -
#define ARC_PARSERLANG_TOKEN_NUMBER   1
-
- -

Definition at line 42 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_TOKEN_OR_CHAR

- -
-
- - - - -
#define ARC_PARSERLANG_TOKEN_OR_CHAR   '|'
-
- -

Definition at line 54 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_TOKEN_OR_ID

- -
-
- - - - -
#define ARC_PARSERLANG_TOKEN_OR_ID   8
-
- -

Definition at line 53 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_TOKEN_UNDERSCORE_CHAR

- -
-
- - - - -
#define ARC_PARSERLANG_TOKEN_UNDERSCORE_CHAR   '_'
-
- -

Definition at line 56 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_TOKEN_UNDERSCORE_ID

- -
-
- - - - -
#define ARC_PARSERLANG_TOKEN_UNDERSCORE_ID   9
-
- -

Definition at line 55 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_TOKEN_WHITESPACE

- -
-
- - - - -
#define ARC_PARSERLANG_TOKEN_WHITESPACE   4
-
- -

Definition at line 45 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_VARIABLE

- -
-
- - - - -
#define ARC_PARSERLANG_VARIABLE   20
-
- -

Definition at line 71 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_VARIABLE_BODY

- -
-
- - - - -
#define ARC_PARSERLANG_VARIABLE_BODY   21
-
- -

Definition at line 72 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_VARIABLE_CHAR

- -
-
- - - - -
#define ARC_PARSERLANG_VARIABLE_CHAR   22
-
- -

Definition at line 73 of file parserlang.h.

- -
-
- -

◆ ARC_PARSERLANG_WHITESPACE

- -
-
- - - - -
#define ARC_PARSERLANG_WHITESPACE   24
-
- -

Definition at line 75 of file parserlang.h.

- -
-
-

Function Documentation

- -

◆ ARC_ParserLang_CreateAsParser()

- -
-
- - - - - - - - - - - -
void ARC_ParserLang_CreateAsParser (ARC_Parser ** parser,
ARC_Parser_GetStringIdFn getStringIdFn )
-
- -

creates a parser for the Parser Lang

-
Note
the rules will be inited for the parser lang
-
-the parsed data will be saved as a vector of ARC_ParserLanguageTag
-
Parameters
- - -
[out]parserthe parser to create
-
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/dd/d0d/parserlang_8h.js b/doc/doxygen/html/dd/d0d/parserlang_8h.js deleted file mode 100644 index 46c7d65..0000000 --- a/doc/doxygen/html/dd/d0d/parserlang_8h.js +++ /dev/null @@ -1,36 +0,0 @@ -var parserlang_8h = -[ - [ "ARC_PARSERLANG_ALPHA_CHAR", "dd/d0d/parserlang_8h.html#a26bced1dc31cab87860714f58464dc5d", null ], - [ "ARC_PARSERLANG_ARGUMENT", "dd/d0d/parserlang_8h.html#ad3c3848b5e2106a6d2fba24e89481bf5", null ], - [ "ARC_PARSERLANG_ARGUMENTS", "dd/d0d/parserlang_8h.html#ae0aa56780b5961a1ee8949370f838129", null ], - [ "ARC_PARSERLANG_BODY", "dd/d0d/parserlang_8h.html#a4184b40c9e2f333d9a6db43d21ed8e7b", null ], - [ "ARC_PARSERLANG_CONSTANT", "dd/d0d/parserlang_8h.html#a527a491a52cbe0e42a4ee3d2fcda8546", null ], - [ "ARC_PARSERLANG_CONSTANT_BODY", "dd/d0d/parserlang_8h.html#ac8d10d32ec407f9ce252d03e7eb0c761", null ], - [ "ARC_PARSERLANG_CONSTANT_CHAR", "dd/d0d/parserlang_8h.html#a1de241ce3f0fd3773e00ce9eeb8456f2", null ], - [ "ARC_PARSERLANG_LAMBDA", "dd/d0d/parserlang_8h.html#afaf8886df6fdb88e5df56f0cdc033e91", null ], - [ "ARC_PARSERLANG_LINE", "dd/d0d/parserlang_8h.html#aabe1dafe8e8328afe01f0df723734e40", null ], - [ "ARC_PARSERLANG_TAG", "dd/d0d/parserlang_8h.html#a21679270caab125419d781e05481802f", null ], - [ "ARC_PARSERLANG_TAG_OR_CONSTANT", "dd/d0d/parserlang_8h.html#a7d0002a025022eeef1637bed40295969", null ], - [ "ARC_PARSERLANG_TOKEN_ALPHA_LOWER_CHAR", "dd/d0d/parserlang_8h.html#acb5252e40f02e6304a38995835d23896", null ], - [ "ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR", "dd/d0d/parserlang_8h.html#aa4475914b22e971ac36ba52c54848f7f", null ], - [ "ARC_PARSERLANG_TOKEN_ARROW_CSTRING", "dd/d0d/parserlang_8h.html#ae217edf3934390ccd57f9224b114cd48", null ], - [ "ARC_PARSERLANG_TOKEN_ARROW_ID", "dd/d0d/parserlang_8h.html#a83121facd86dc4a0cc3228310dc377ef", null ], - [ "ARC_PARSERLANG_TOKEN_GREATER_THAN_CHAR", "dd/d0d/parserlang_8h.html#a71081597e34fe333b640375f382fd2a6", null ], - [ "ARC_PARSERLANG_TOKEN_GREATER_THAN_ID", "dd/d0d/parserlang_8h.html#a8bb8ecbd4284a05a12fe6ba46ad3c19f", null ], - [ "ARC_PARSERLANG_TOKEN_LESS_THAN_CHAR", "dd/d0d/parserlang_8h.html#af203e25f3df12a3825c8616605134fd2", null ], - [ "ARC_PARSERLANG_TOKEN_LESS_THAN_ID", "dd/d0d/parserlang_8h.html#a84ddb1d0fdfd0d262b4b838368591064", null ], - [ "ARC_PARSERLANG_TOKEN_NEWLINE_CHAR", "dd/d0d/parserlang_8h.html#ab645ba55ae0f090766a926166204e196", null ], - [ "ARC_PARSERLANG_TOKEN_NEWLINE_ID", "dd/d0d/parserlang_8h.html#a29b70579ec48a2553b4e4c2f296428d8", null ], - [ "ARC_PARSERLANG_TOKEN_NULL", "dd/d0d/parserlang_8h.html#ac265c2d97c817fe4370a07e46ea88e43", null ], - [ "ARC_PARSERLANG_TOKEN_NUMBER", "dd/d0d/parserlang_8h.html#a6b26e03e274fa0fcf5cb341323a4f54a", null ], - [ "ARC_PARSERLANG_TOKEN_OR_CHAR", "dd/d0d/parserlang_8h.html#a00918900ccbf8324d0d6876959089846", null ], - [ "ARC_PARSERLANG_TOKEN_OR_ID", "dd/d0d/parserlang_8h.html#a8df8f00a076eab15a5d0477dae7c0510", null ], - [ "ARC_PARSERLANG_TOKEN_UNDERSCORE_CHAR", "dd/d0d/parserlang_8h.html#a01772416712af136fb0921f1e78f1942", null ], - [ "ARC_PARSERLANG_TOKEN_UNDERSCORE_ID", "dd/d0d/parserlang_8h.html#adeb053f413b8278f80616a2f48ad52a0", null ], - [ "ARC_PARSERLANG_TOKEN_WHITESPACE", "dd/d0d/parserlang_8h.html#aa0c4f2cb7a1fe6c83f3ce16f6fd59782", null ], - [ "ARC_PARSERLANG_VARIABLE", "dd/d0d/parserlang_8h.html#aef2baf85767f40eef88c5d8abe4c9e34", null ], - [ "ARC_PARSERLANG_VARIABLE_BODY", "dd/d0d/parserlang_8h.html#abf59d6bde3df61b93cbdb6cd3984650c", null ], - [ "ARC_PARSERLANG_VARIABLE_CHAR", "dd/d0d/parserlang_8h.html#ac785c4cd4235937e7e1786cdd4519966", null ], - [ "ARC_PARSERLANG_WHITESPACE", "dd/d0d/parserlang_8h.html#a434b96dd9483742e4286e3dd41f27bd3", null ], - [ "ARC_ParserLang_CreateAsParser", "dd/d0d/parserlang_8h.html#a7a4e2867cbe7180ffd981b767e274e32", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dd/d0d/parserlang_8h_source.html b/doc/doxygen/html/dd/d0d/parserlang_8h_source.html deleted file mode 100644 index 3feb166..0000000 --- a/doc/doxygen/html/dd/d0d/parserlang_8h_source.html +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/parser/parserlang.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
parserlang.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_STD_PARSER_PARSERLANG_H_
-
2#define ARC_STD_PARSER_PARSERLANG_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include "arc/std/parser.h"
-
9
-
10/*
-
11<line> -> <body> NEWLINE <line> | <body> | NEWLINE <line> | LAMBDA
-
12<body> -> <tag> <whitespace> ARROW <whitespace> <arguments>
-
13
-
14<arguments> -> <argument> <whitespace> OR <whitespace> <arguments> | <argument>
-
15<argument> -> <tagOrConstant> <whitespace> <argument> | <tagOrConstant>
-
16<tagOrConstant> -> <tag> | <constant>
-
17
-
18<constant> -> ALPHA_UPPER_CHAR <constantBody>
-
19<constantBody> -> <constantChar> <constantBody> | LAMBDA
-
20<constantChar> -> ALPHA_UPPER_CHAR | UNDERSCORE
-
21
-
22<tag> -> LESS_THAN <variable> GREATER_THAN
-
23<variable> -> <alphaChar> <variableBody> | UNDERSCORE <variableBody>
-
24<variableBody> -> <variableChar> <variableBody> | LAMBDA
-
25<variableChar> -> <alphaChar> | NUMBER | UNDERSCORE
-
26<alphaChar> -> ALPHA_LOWER_CHAR | ALPHA_UPPER_CHAR
-
27
-
28<whitespace> -> WHITESPACE <whitespace> | WHITESPACE
-
29*/
-
30
-
31/**
-
32 * @brief creates a parser for the Parser Lang
-
33 *
-
34 * @note the rules will be inited for the parser lang
-
35 * @note the parsed data will be saved as a vector of ARC_ParserLanguageTag
-
36 *
-
37 * @param[out] parser the parser to create
-
38*/
- -
40
-
41#define ARC_PARSERLANG_TOKEN_NULL 0
-
42#define ARC_PARSERLANG_TOKEN_NUMBER 1
-
43#define ARC_PARSERLANG_TOKEN_ALPHA_LOWER_CHAR 2
-
44#define ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR 3
-
45#define ARC_PARSERLANG_TOKEN_WHITESPACE 4
-
46
-
47#define ARC_PARSERLANG_TOKEN_NEWLINE_ID 5
-
48#define ARC_PARSERLANG_TOKEN_NEWLINE_CHAR '\n'
-
49#define ARC_PARSERLANG_TOKEN_LESS_THAN_ID 6
-
50#define ARC_PARSERLANG_TOKEN_LESS_THAN_CHAR '<'
-
51#define ARC_PARSERLANG_TOKEN_GREATER_THAN_ID 7
-
52#define ARC_PARSERLANG_TOKEN_GREATER_THAN_CHAR '>'
-
53#define ARC_PARSERLANG_TOKEN_OR_ID 8
-
54#define ARC_PARSERLANG_TOKEN_OR_CHAR '|'
-
55#define ARC_PARSERLANG_TOKEN_UNDERSCORE_ID 9
-
56#define ARC_PARSERLANG_TOKEN_UNDERSCORE_CHAR '_'
-
57
-
58#define ARC_PARSERLANG_TOKEN_ARROW_ID 10
-
59#define ARC_PARSERLANG_TOKEN_ARROW_CSTRING "->"
-
60
-
61#define ARC_PARSERLANG_LAMBDA ARC_PARSER_TAG_LAMBDA
-
62#define ARC_PARSERLANG_LINE 11
-
63#define ARC_PARSERLANG_BODY 12
-
64#define ARC_PARSERLANG_ARGUMENTS 13
-
65#define ARC_PARSERLANG_ARGUMENT 14
-
66#define ARC_PARSERLANG_TAG_OR_CONSTANT 15
-
67#define ARC_PARSERLANG_CONSTANT 16
-
68#define ARC_PARSERLANG_CONSTANT_BODY 17
-
69#define ARC_PARSERLANG_CONSTANT_CHAR 18
-
70#define ARC_PARSERLANG_TAG 19
-
71#define ARC_PARSERLANG_VARIABLE 20
-
72#define ARC_PARSERLANG_VARIABLE_BODY 21
-
73#define ARC_PARSERLANG_VARIABLE_CHAR 22
-
74#define ARC_PARSERLANG_ALPHA_CHAR 23
-
75#define ARC_PARSERLANG_WHITESPACE 24
-
76
-
77#ifdef __cplusplus
-
78}
-
79#endif
-
80
-
81#endif //ARC_STD_PARSER_PARSERLANG_H_
- -
uint32_t(* ARC_Parser_GetStringIdFn)(ARC_String *string)
TODO: write this.
Definition parser.h:52
-
struct ARC_Parser ARC_Parser
a parser type
Definition parser.h:16
-
void ARC_ParserLang_CreateAsParser(ARC_Parser **parser, ARC_Parser_GetStringIdFn getStringIdFn)
creates a parser for the Parser Lang
-
-
- - - - - - diff --git a/doc/doxygen/html/dd/d16/hashtable_8h.html b/doc/doxygen/html/dd/d16/hashtable_8h.html deleted file mode 100644 index 3d6888e..0000000 --- a/doc/doxygen/html/dd/d16/hashtable_8h.html +++ /dev/null @@ -1,503 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/hashtable.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
hashtable.h File Reference
-
-
-
#include <stdint.h>
-#include <stddef.h>
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_HashtableNode
 
- - - - - - - - - - - - - - - - -

-Typedefs

typedef struct ARC_Hashtable ARC_Hashtable
 the arc hashtable data type
 
typedef struct ARC_HashtableNode ARC_HashtableNode
 a node that contains a key-value reference along with a linked list like node
 
typedef void(* ARC_Hashtable_Hash) (void *key, size_t *keysize, uint32_t *hashval)
 a hashing function ptr
 
typedef int8_t(* ARC_Hashtable_KeyCompare) (void *key1, size_t *key1size, void *key2, size_t *key2size)
 key comparison function ptr
 
typedef void(* ARC_HashtableNode_DestroyExternal) (ARC_HashtableNode *node, void *userdata)
 callback to allow memory freeing of nodes
 
- - - - - - - - - - - - - - - - -

-Functions

void ARC_Hashtable_Create (ARC_Hashtable **htable, uint32_t bucketsize, ARC_Hashtable_Hash hash, ARC_Hashtable_KeyCompare compare)
 cteates ARC_Hashtable type
 
void ARC_Hashtable_Destroy (ARC_Hashtable *htable, ARC_HashtableNode_DestroyExternal external, void *userdata)
 destroys ARC_Hashtable type
 
void ARC_Hashtable_Add (ARC_Hashtable *htable, void *key, size_t keysize, void *data)
 adds value to hastable
 
void ARC_Hashtable_Get (ARC_Hashtable *htable, void *key, size_t keysize, void **data)
 gets value from hashtable by key
 
void ARC_Hashtable_Remove (ARC_Hashtable *htable, void *key, size_t keysize, ARC_HashtableNode_DestroyExternal external, void *userdata)
 removes value from hashtable
 
-

Typedef Documentation

- -

◆ ARC_Hashtable

- -
-
- - - - -
typedef struct ARC_Hashtable ARC_Hashtable
-
- -

the arc hashtable data type

- -

Definition at line 14 of file hashtable.h.

- -
-
- -

◆ ARC_Hashtable_Hash

- -
-
- - - - -
typedef void(* ARC_Hashtable_Hash) (void *key, size_t *keysize, uint32_t *hashval)
-
- -

a hashing function ptr

-
Parameters
- - - - -
keyvalue to hash
keysizeshould be sizeof(key) before key is a void ptr
hashvalvalue of hash, does not need to be within range of buckets
-
-
- -

Definition at line 35 of file hashtable.h.

- -
-
- -

◆ ARC_Hashtable_KeyCompare

- -
-
- - - - -
typedef int8_t(* ARC_Hashtable_KeyCompare) (void *key1, size_t *key1size, void *key2, size_t *key2size)
-
- -

key comparison function ptr

-
Parameters
- - - -
key1first key
key2second key
-
-
-
Returns
0 when keys match
- -

Definition at line 45 of file hashtable.h.

- -
-
- -

◆ ARC_HashtableNode

- -
-
- - - - -
typedef struct ARC_HashtableNode ARC_HashtableNode
-
- -

a node that contains a key-value reference along with a linked list like node

- -

Definition at line 19 of file hashtable.h.

- -
-
- -

◆ ARC_HashtableNode_DestroyExternal

- -
-
- - - - -
typedef void(* ARC_HashtableNode_DestroyExternal) (ARC_HashtableNode *node, void *userdata)
-
- -

callback to allow memory freeing of nodes

-
Parameters
- - - -
nodenode to be destroyed
userdataany data the user wants to access in the callback
-
-
- -

Definition at line 53 of file hashtable.h.

- -
-
-

Function Documentation

- -

◆ ARC_Hashtable_Add()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Hashtable_Add (ARC_Hashtable * htable,
void * key,
size_t keysize,
void * data )
-
- -

adds value to hastable

-
Parameters
- - - - - -
htableARC_Hashtable to add to
keykey for node that is being added
keysizesizeof key before it is passed into a void *
datadata for node that is being added
-
-
- -
-
- -

◆ ARC_Hashtable_Create()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Hashtable_Create (ARC_Hashtable ** htable,
uint32_t bucketsize,
ARC_Hashtable_Hash hash,
ARC_Hashtable_KeyCompare compare )
-
- -

cteates ARC_Hashtable type

-
Parameters
- - - - - -
htablewhere to store data
bucketsizenum of nodes to create in inital table
hashhashing function to be used, if set to NULL, CRC32 will be used
comparecomparison functon for checking keys, if set to NULL, addresses will be compared
-
-
- -
-
- -

◆ ARC_Hashtable_Destroy()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Hashtable_Destroy (ARC_Hashtable * htable,
ARC_HashtableNode_DestroyExternal external,
void * userdata )
-
- -

destroys ARC_Hashtable type

-
Parameters
- - - - -
htablehtable that will be destroyed
externalfunction to allow external freeing of nodes, can be NULL
userdataany data the user wants access to in the callback
-
-
- -
-
- -

◆ ARC_Hashtable_Get()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Hashtable_Get (ARC_Hashtable * htable,
void * key,
size_t keysize,
void ** data )
-
- -

gets value from hashtable by key

-
Parameters
- - - - - -
htabletable to get value from
keykey to get value from table
keysizesizeof key before it is passed into a void *
datadata retrieved from table
-
-
- -
-
- -

◆ ARC_Hashtable_Remove()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
void ARC_Hashtable_Remove (ARC_Hashtable * htable,
void * key,
size_t keysize,
ARC_HashtableNode_DestroyExternal external,
void * userdata )
-
- -

removes value from hashtable

-
Parameters
- - - - - - -
htableARC_Hashtable to remove from
keykey of data to remove from hash table
keysizesizeof key before it is passed into a void *
externalfunction to allow external freeing of data, can be NULL
userdataany data the user wants access to in the callback
-
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/dd/d16/hashtable_8h.js b/doc/doxygen/html/dd/d16/hashtable_8h.js deleted file mode 100644 index 7155c01..0000000 --- a/doc/doxygen/html/dd/d16/hashtable_8h.js +++ /dev/null @@ -1,14 +0,0 @@ -var hashtable_8h = -[ - [ "ARC_HashtableNode", "d6/df5/structARC__HashtableNode.html", "d6/df5/structARC__HashtableNode" ], - [ "ARC_Hashtable", "dd/d16/hashtable_8h.html#a7ee9a22fdd6e0e54693a9c53a0c83d5f", null ], - [ "ARC_Hashtable_Hash", "dd/d16/hashtable_8h.html#ad4365305fb51518ec74c6f176d720df6", null ], - [ "ARC_Hashtable_KeyCompare", "dd/d16/hashtable_8h.html#a0d5681b7f67966e4d99f06f5b98aaa8b", null ], - [ "ARC_HashtableNode", "dd/d16/hashtable_8h.html#abbf592daa56e4544226d88599e0e023c", null ], - [ "ARC_HashtableNode_DestroyExternal", "dd/d16/hashtable_8h.html#a461fe0b1e12dfb0ef33d07be8e84796c", null ], - [ "ARC_Hashtable_Add", "dd/d16/hashtable_8h.html#a9d553810bcb7caa21440051cdf47ad15", null ], - [ "ARC_Hashtable_Create", "dd/d16/hashtable_8h.html#a689d5747f40e4c0bf13dd2d11e4621dc", null ], - [ "ARC_Hashtable_Destroy", "dd/d16/hashtable_8h.html#a2da411a96340d3afe367bc96c54d2129", null ], - [ "ARC_Hashtable_Get", "dd/d16/hashtable_8h.html#a57fb5725f7a794bee195258e080aeeff", null ], - [ "ARC_Hashtable_Remove", "dd/d16/hashtable_8h.html#a93cc865ebc341244e20ee634aa6c7004", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dd/d16/hashtable_8h_source.html b/doc/doxygen/html/dd/d16/hashtable_8h_source.html deleted file mode 100644 index 1e8ce83..0000000 --- a/doc/doxygen/html/dd/d16/hashtable_8h_source.html +++ /dev/null @@ -1,253 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/hashtable.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
hashtable.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_STD_HASHTABLE_H_
-
2#define ARC_STD_HASHTABLE_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include <stdint.h>
-
9#include <stddef.h>
-
10
-
11/**
-
12 * @brief the arc hashtable data type
-
13*/
- -
15
-
16/**
-
17 * @brief a node that contains a key-value reference along with a linked list like node
-
18*/
- -
- -
21 void *key;
-
22 size_t keysize;
-
23
-
24 void *data;
- -
26};
-
-
27
-
28/**
-
29 * @brief a hashing function ptr
-
30 *
-
31 * @param key value to hash
-
32 * @param keysize should be sizeof(key) before key is a void ptr
-
33 * @param hashval value of hash, does not need to be within range of buckets
-
34*/
-
35typedef void (* ARC_Hashtable_Hash)(void *key, size_t *keysize, uint32_t *hashval);
-
36
-
37/**
-
38 * @brief key comparison function ptr
-
39 *
-
40 * @param key1 first key
-
41 * @param key2 second key
-
42 *
-
43 * @return 0 when keys match
-
44*/
-
45typedef int8_t (* ARC_Hashtable_KeyCompare)(void *key1, size_t *key1size, void *key2, size_t *key2size);
-
46
-
47/**
-
48 * @brief callback to allow memory freeing of nodes
-
49 *
-
50 * @param node node to be destroyed
-
51 * @param userdata any data the user wants to access in the callback
-
52*/
-
53typedef void (* ARC_HashtableNode_DestroyExternal)(ARC_HashtableNode *node, void *userdata);
-
54
-
55/**
-
56 * @brief cteates ARC_Hashtable type
-
57 *
-
58 * @param htable where to store data
-
59 * @param bucketsize num of nodes to create in inital table
-
60 * @param hash hashing function to be used, if set to NULL, CRC32 will be used
-
61 * @param compare comparison functon for checking keys, if set to NULL, addresses will be compared
-
62*/
-
63void ARC_Hashtable_Create(ARC_Hashtable **htable, uint32_t bucketsize, ARC_Hashtable_Hash hash, ARC_Hashtable_KeyCompare compare);
-
64
-
65/**
-
66 * @brief destroys ARC_Hashtable type
-
67 *
-
68 * @param htable htable that will be destroyed
-
69 * @param external function to allow external freeing of nodes, can be NULL
-
70 * @param userdata any data the user wants access to in the callback
-
71*/
- -
73
-
74/**
-
75 * @brief adds value to hastable
-
76 *
-
77 * @param htable ARC_Hashtable to add to
-
78 * @param key key for node that is being added
-
79 * @param keysize sizeof key before it is passed into a void *
-
80 * @param data data for node that is being added
-
81*/
-
82void ARC_Hashtable_Add(ARC_Hashtable *htable, void *key, size_t keysize, void *data);
-
83
-
84/**
-
85 * @brief gets value from hashtable by key
-
86 *
-
87 * @param htable table to get value from
-
88 * @param key key to get value from table
-
89 * @param keysize sizeof key before it is passed into a void *
-
90 * @param data data retrieved from table
-
91*/
-
92void ARC_Hashtable_Get(ARC_Hashtable *htable, void *key, size_t keysize, void **data);
-
93
-
94/**
-
95 * @brief removes value from hashtable
-
96 *
-
97 * @param htable ARC_Hashtable to remove from
-
98 * @param key key of data to remove from hash table
-
99 * @param keysize sizeof key before it is passed into a void *
-
100 * @param external function to allow external freeing of data, can be NULL
-
101 * @param userdata any data the user wants access to in the callback
-
102*/
-
103void ARC_Hashtable_Remove(ARC_Hashtable *htable, void *key, size_t keysize, ARC_HashtableNode_DestroyExternal external, void *userdata);
-
104
-
105#ifdef __cplusplus
-
106}
-
107#endif
-
108
-
109#endif //ARC_STD_HASHTABLE_H_
-
int8_t(* ARC_Hashtable_KeyCompare)(void *key1, size_t *key1size, void *key2, size_t *key2size)
key comparison function ptr
Definition hashtable.h:45
-
void ARC_Hashtable_Destroy(ARC_Hashtable *htable, ARC_HashtableNode_DestroyExternal external, void *userdata)
destroys ARC_Hashtable type
-
void(* ARC_HashtableNode_DestroyExternal)(ARC_HashtableNode *node, void *userdata)
callback to allow memory freeing of nodes
Definition hashtable.h:53
-
void ARC_Hashtable_Get(ARC_Hashtable *htable, void *key, size_t keysize, void **data)
gets value from hashtable by key
-
void ARC_Hashtable_Create(ARC_Hashtable **htable, uint32_t bucketsize, ARC_Hashtable_Hash hash, ARC_Hashtable_KeyCompare compare)
cteates ARC_Hashtable type
-
struct ARC_Hashtable ARC_Hashtable
the arc hashtable data type
Definition hashtable.h:14
-
void ARC_Hashtable_Remove(ARC_Hashtable *htable, void *key, size_t keysize, ARC_HashtableNode_DestroyExternal external, void *userdata)
removes value from hashtable
-
void ARC_Hashtable_Add(ARC_Hashtable *htable, void *key, size_t keysize, void *data)
adds value to hastable
-
void(* ARC_Hashtable_Hash)(void *key, size_t *keysize, uint32_t *hashval)
a hashing function ptr
Definition hashtable.h:35
- - -
ARC_HashtableNode * node
Definition hashtable.h:25
- - -
-
- - - - - - diff --git a/doc/doxygen/html/dd/d22/tests_2std_2chemical_8c_8o_8d.html b/doc/doxygen/html/dd/d22/tests_2std_2chemical_8c_8o_8d.html deleted file mode 100644 index bd6a289..0000000 --- a/doc/doxygen/html/dd/d22/tests_2std_2chemical_8c_8o_8d.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/tests/std/chemical.c.o.d File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
chemical.c.o.d File Reference
-
- - - -
- - diff --git a/doc/doxygen/html/dd/d22/tests_2std_2chemical_8c_8o_8d_source.html b/doc/doxygen/html/dd/d22/tests_2std_2chemical_8c_8o_8d_source.html deleted file mode 100644 index f3b60c4..0000000 --- a/doc/doxygen/html/dd/d22/tests_2std_2chemical_8c_8o_8d_source.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/tests/std/chemical.c.o.d Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
chemical.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/tests/std/chemical.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/tests/std/chemical.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/tests/std/../test.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h /usr/include/stdio.h \
-
15 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
16 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
17 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
18 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
19 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
20 /usr/include/bits/types/cookie_io_functions_t.h \
-
21 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
22 /usr/include/bits/floatn-common.h \
-
23 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
24 /home/herbglitch/programs/archeus/arc/include/arc/std/chemical.h \
-
25 /home/herbglitch/programs/archeus/arc/include/arc/std/parser.h \
-
26 /home/herbglitch/programs/archeus/arc/include/arc/std/array.h \
-
27 /home/herbglitch/programs/archeus/arc/include/arc/std/lexer.h \
-
28 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
29 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
30 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
31 /home/herbglitch/programs/archeus/arc/include/arc/std/vector.h \
-
32 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h
-
- - -
- - diff --git a/doc/doxygen/html/dd/d28/structARC__Hashtable.html b/doc/doxygen/html/dd/d28/structARC__Hashtable.html deleted file mode 100644 index 0066071..0000000 --- a/doc/doxygen/html/dd/d28/structARC__Hashtable.html +++ /dev/null @@ -1,221 +0,0 @@ - - - - - - - - -Archeus: ARC_Hashtable Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_Hashtable Struct Reference
-
-
- - - - - - - - - - -

-Data Fields

uint32_t size
 
ARC_HashtableNode ** nodes
 
ARC_Hashtable_Hash hash
 
ARC_Hashtable_KeyCompare compare
 
-

Detailed Description

-
-

Definition at line 7 of file hashtable.c.

-

Field Documentation

- -

◆ compare

- -
-
- - - - -
ARC_Hashtable_KeyCompare ARC_Hashtable::compare
-
- -

Definition at line 11 of file hashtable.c.

- -

Referenced by ARC_Hashtable_Add(), ARC_Hashtable_Get(), and ARC_Hashtable_Remove().

- -
-
- -

◆ hash

- -
-
- - - - -
ARC_Hashtable_Hash ARC_Hashtable::hash
-
- -

Definition at line 10 of file hashtable.c.

- -

Referenced by ARC_Hashtable_Add(), ARC_Hashtable_Get(), and ARC_Hashtable_Remove().

- -
-
- -

◆ nodes

- -
-
- - - - -
ARC_HashtableNode** ARC_Hashtable::nodes
-
- -

Definition at line 9 of file hashtable.c.

- -

Referenced by ARC_Hashtable_Add(), ARC_Hashtable_Destroy(), ARC_Hashtable_Get(), and ARC_Hashtable_Remove().

- -
-
- -

◆ size

- -
-
- - - - -
uint32_t ARC_Hashtable::size
-
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/src/std/hashtable.c
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/dd/d28/structARC__Hashtable.js b/doc/doxygen/html/dd/d28/structARC__Hashtable.js deleted file mode 100644 index 71456b5..0000000 --- a/doc/doxygen/html/dd/d28/structARC__Hashtable.js +++ /dev/null @@ -1,7 +0,0 @@ -var structARC__Hashtable = -[ - [ "compare", "dd/d28/structARC__Hashtable.html#af7905dcdee1fdf64c3c526541cc69ba0", null ], - [ "hash", "dd/d28/structARC__Hashtable.html#a56e2cf5af883ebc2e1c5135b67934d74", null ], - [ "nodes", "dd/d28/structARC__Hashtable.html#ab02ed6c4b6f85b0423522d29407360bb", null ], - [ "size", "dd/d28/structARC__Hashtable.html#ae46e9136a96ca628e299cb476651bd1a", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dd/d36/test_8c_8o_8d.html b/doc/doxygen/html/dd/d36/test_8c_8o_8d.html deleted file mode 100644 index c195742..0000000 --- a/doc/doxygen/html/dd/d36/test_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/tests/test.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
test.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/dd/d36/test_8c_8o_8d_source.html b/doc/doxygen/html/dd/d36/test_8c_8o_8d_source.html deleted file mode 100644 index 7a75ac3..0000000 --- a/doc/doxygen/html/dd/d36/test_8c_8o_8d_source.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/tests/test.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
test.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/tests/test.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/tests/test.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/tests/test.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h /usr/include/stdio.h \
-
15 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
16 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
17 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
18 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
19 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
20 /usr/include/bits/types/cookie_io_functions_t.h \
-
21 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
22 /usr/include/bits/floatn-common.h \
-
23 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
24 /usr/include/stdlib.h /usr/include/bits/waitflags.h \
-
25 /usr/include/bits/waitstatus.h /usr/include/sys/types.h \
-
26 /usr/include/bits/types/clock_t.h /usr/include/bits/types/clockid_t.h \
-
27 /usr/include/bits/types/time_t.h /usr/include/bits/types/timer_t.h \
-
28 /usr/include/endian.h /usr/include/bits/endian.h \
-
29 /usr/include/bits/endianness.h /usr/include/bits/byteswap.h \
-
30 /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \
-
31 /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \
-
32 /usr/include/bits/types/__sigset_t.h \
-
33 /usr/include/bits/types/struct_timeval.h \
-
34 /usr/include/bits/types/struct_timespec.h \
-
35 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
36 /usr/include/bits/pthreadtypes-arch.h \
-
37 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
38 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
39 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/dd/d4d/structARC__FRect.html b/doc/doxygen/html/dd/d4d/structARC__FRect.html deleted file mode 100644 index 25b217b..0000000 --- a/doc/doxygen/html/dd/d4d/structARC__FRect.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - - - - - -Archeus: ARC_FRect Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_FRect Struct Reference
-
-
- -

#include <rectangle.h>

- - - - - - - - - - -

-Data Fields

float x
 
float y
 
float w
 
float h
 
-

Detailed Description

-
-

Definition at line 26 of file rectangle.h.

-

Field Documentation

- -

◆ h

- -
-
- - - - -
float ARC_FRect::h
-
- -

Definition at line 30 of file rectangle.h.

- -
-
- -

◆ w

- -
-
- - - - -
float ARC_FRect::w
-
- -

Definition at line 29 of file rectangle.h.

- -
-
- -

◆ x

- -
-
- - - - -
float ARC_FRect::x
-
- -

Definition at line 27 of file rectangle.h.

- -
-
- -

◆ y

- -
-
- - - - -
float ARC_FRect::y
-
- -

Definition at line 28 of file rectangle.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/include/arc/math/rectangle.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/dd/d4d/structARC__FRect.js b/doc/doxygen/html/dd/d4d/structARC__FRect.js deleted file mode 100644 index 7f526d0..0000000 --- a/doc/doxygen/html/dd/d4d/structARC__FRect.js +++ /dev/null @@ -1,7 +0,0 @@ -var structARC__FRect = -[ - [ "h", "dd/d4d/structARC__FRect.html#ace1a858037a966ec9b3135ee118b3cc4", null ], - [ "w", "dd/d4d/structARC__FRect.html#aadfc2f14c698cfb8e8e576c4ff3161bb", null ], - [ "x", "dd/d4d/structARC__FRect.html#a7c5955f28e78ffd886648a54d73d55d8", null ], - [ "y", "dd/d4d/structARC__FRect.html#a460013a43c318245a00b717165431387", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dd/d53/structARC__Stack.html b/doc/doxygen/html/dd/d53/structARC__Stack.html deleted file mode 100644 index 843d508..0000000 --- a/doc/doxygen/html/dd/d53/structARC__Stack.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - - - -Archeus: ARC_Stack Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_Stack Struct Reference
-
-
- - - - - - -

-Data Fields

uint32_t currentSize
 
ARC_StackNodenode
 
-

Detailed Description

-
-

Definition at line 13 of file stack.c.

-

Field Documentation

- -

◆ currentSize

- -
-
- - - - -
uint32_t ARC_Stack::currentSize
-
- -

Definition at line 14 of file stack.c.

- -

Referenced by ARC_Stack_Create(), ARC_Stack_Destroy(), ARC_Stack_Pop(), ARC_Stack_Push(), and ARC_Stack_Size().

- -
-
- -

◆ node

- -
-
- - - - -
ARC_StackNode* ARC_Stack::node
-
- -

Definition at line 15 of file stack.c.

- -

Referenced by ARC_Stack_Destroy(), ARC_Stack_Pop(), and ARC_Stack_Push().

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/src/std/stack.c
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/dd/d53/structARC__Stack.js b/doc/doxygen/html/dd/d53/structARC__Stack.js deleted file mode 100644 index a0d4dac..0000000 --- a/doc/doxygen/html/dd/d53/structARC__Stack.js +++ /dev/null @@ -1,5 +0,0 @@ -var structARC__Stack = -[ - [ "currentSize", "dd/d53/structARC__Stack.html#a1edaeec87f966e6a9992e63fe34e4768", null ], - [ "node", "dd/d53/structARC__Stack.html#ae64e8e740934c05e52623f19dc195446", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dd/d56/engine_8c.html b/doc/doxygen/html/dd/d56/engine_8c.html deleted file mode 100644 index b2adf1d..0000000 --- a/doc/doxygen/html/dd/d56/engine_8c.html +++ /dev/null @@ -1,350 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/engine/engine.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
engine.c File Reference
-
-
-
#include "arc/engine/engine.h"
-#include <stdlib.h>
-#include "arc/engine/state.h"
-#include "arc/graphics/window.h"
-#include "arc/graphics/renderer.h"
-#include "arc/input/mouse.h"
-#include "arc/input/keyboard.h"
-#include "arc/std/bool.h"
-#include "arc/std/errno.h"
-#include "arc/std/handler.h"
-
-

Go to the source code of this file.

- - - - - - - - - -

-Functions

void ARC_EngineData_Create (ARC_EngineData **data, ARC_Handler_CleanDataFn cleanFn, ARC_Point windowSize)
 
void ARC_EngineData_Destroy (ARC_EngineData *data)
 
void ARC_Engine_RunUncapped (ARC_EngineData *data)
 runs ARC_Engine with an uncapped framerate
 
-

Function Documentation

- -

◆ ARC_Engine_RunUncapped()

- -
-
- - - - - - - -
void ARC_Engine_RunUncapped (ARC_EngineData * data)
-
- -

runs ARC_Engine with an uncapped framerate

-
Note
data must be created before this function
-
-data should be destroyed after this function
-
Parameters
- - -
dataengine data that will be used
-
-
- -

Definition at line 59 of file engine.c.

-
59 {
-
60 if(arc_errno){
-
61 return;
-
62 }
-
63
-
64 //double lastTime = 0, currentTime;
-
65
-
66 data->running = ARC_True;
-
67 while(data->running){
-
68 //currentTime = SDL_GetTicks();
-
69 //data->dt = currentTime - lastTime;
-
70 //lastTime = currentTime;
-
71
-
72 data->running = ARC_Input_Update(data->input);
-
73
- -
75
- -
77
- -
79
- -
81
- -
83 }
-
84}
-
#define ARC_True
Definition bool.h:11
-
int32_t arc_errno
Definition errno.c:5
-
void ARC_Handler_Iterate(ARC_Handler *handler, ARC_Handler_DataFn datafn)
calls provided function on each element in handler
Definition handler.c:50
-
void ARC_Handler_Clean(ARC_Handler *handler)
clears trash from handler
Definition handler.c:63
-
void ARC_Renderer_Clear(ARC_Renderer *renderer)
Definition renderer.c:32
-
void ARC_Renderer_Render(ARC_Renderer *renderer)
renders the renderer
Definition renderer.c:39
-
ARC_Bool ARC_Input_Update(ARC_Input *input)
Definition input.c:27
-
void ARC_State_Render(void *data)
Definition state.c:8
-
void ARC_State_Update(void *data)
Definition state.c:4
-
ARC_Input * input
Definition engine.h:21
-
ARC_Bool running
Definition engine.h:26
-
ARC_Handler * state
Definition engine.h:20
-
ARC_Renderer * renderer
Definition engine.h:19
-
-

References arc_errno, ARC_Handler_Clean(), ARC_Handler_Iterate(), ARC_Input_Update(), ARC_Renderer_Clear(), ARC_Renderer_Render(), ARC_State_Render(), ARC_State_Update(), ARC_True, ARC_EngineData::input, ARC_EngineData::renderer, ARC_EngineData::running, and ARC_EngineData::state.

- -
-
- -

◆ ARC_EngineData_Create()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_EngineData_Create (ARC_EngineData ** data,
ARC_Handler_CleanDataFn cleanFn,
ARC_Point windowSize )
-
-

@breif creates an ARC_EngineData type to be used when running an ARC_Engine

-
Parameters
- - - - -
datathe ARC_EngineData to create
cleanFnthe state cleanup function
windowSIzethe size of window to create passed as an ARC_Point
-
-
- -

Definition at line 17 of file engine.c.

-
17 {
-
18 *data = (ARC_EngineData *)malloc(sizeof(ARC_EngineData));
-
19 (*data)->window = NULL;
-
20 (*data)->renderer = NULL;
-
21 (*data)->input = NULL;
-
22 (*data)->keyboard = NULL;
-
23 (*data)->mouse = NULL;
-
24
-
25 //TODO: set the destroy callback
-
26 ARC_Handler_Create(&((*data)->state), NULL, cleanFn);
-
27
-
28 (*data)->dt = 0.0;
-
29 (*data)->running = ARC_False;
-
30 (*data)->windowSize = windowSize;
-
31
-
32 ARC_WindowInfo windowInfo = (ARC_WindowInfo){ "title", (*data)->windowSize.x, (*data)->windowSize.y };
-
33 ARC_Window_Create(&((*data)->window), &windowInfo);
-
34 if(arc_errno){
-
35 free(data);
-
36 return;
-
37 }
-
38
-
39 ARC_Renderer_CreateWithEngineData(&((*data)->renderer), *data);
-
40 if(arc_errno){
-
41 ARC_Window_Destroy((*data)->window);
-
42 free(data);
-
43 }
-
44
-
45 ARC_Input_CreateWithEngineData(&((*data)->input), *data);
-
46
-
47 (*data)->keyboard = ARC_Input_GetKeyboard((*data)->input);
-
48 (*data)->mouse = ARC_Input_GetMouse((*data)->input);
-
49}
-
#define ARC_False
Definition bool.h:12
-
void ARC_Handler_Create(ARC_Handler **handler, ARC_Handler_CompareDataFn *compareFn, ARC_Handler_CleanDataFn cleanFn)
creates ARC_Handler type
Definition handler.c:14
-
void ARC_Renderer_CreateWithEngineData(ARC_Renderer **renderer, ARC_EngineData *data)
creates ARC_Renderer type with ARC_EngineData
Definition renderer.c:10
-
void ARC_Window_Create(ARC_Window **window, ARC_WindowInfo *info)
creates ARC_Window type
Definition window.c:7
-
struct ARC_WindowInfo ARC_WindowInfo
-
void ARC_Window_Destroy(ARC_Window *window)
destroys ARC_Window type
Definition window.c:29
-
ARC_Keyboard * ARC_Input_GetKeyboard(ARC_Input *input)
Definition input.c:39
-
ARC_Mouse * ARC_Input_GetMouse(ARC_Input *input)
Definition input.c:43
-
void ARC_Input_CreateWithEngineData(ARC_Input **input, ARC_EngineData *data)
Definition input.c:10
- -
ARC_Window * window
Definition engine.h:18
- -
-

References arc_errno, ARC_False, ARC_Handler_Create(), ARC_Input_CreateWithEngineData(), ARC_Input_GetKeyboard(), ARC_Input_GetMouse(), ARC_Renderer_CreateWithEngineData(), ARC_Window_Create(), ARC_Window_Destroy(), and ARC_EngineData::window.

- -
-
- -

◆ ARC_EngineData_Destroy()

- -
-
- - - - - - - -
void ARC_EngineData_Destroy (ARC_EngineData * data)
-
-

@breif destroys an ARC_EngineData type

-
Parameters
- - -
datathe ARC_EngineData to destroy
-
-
- -

Definition at line 51 of file engine.c.

-
51 {
- - - - - -
57}
-
void ARC_Handler_Destroy(ARC_Handler *handler)
destroyes ARC_Handler type
Definition handler.c:21
-
void ARC_Renderer_Destroy(ARC_Renderer *renderer)
destroys ARC_Renderer type
Definition renderer.c:28
-
void ARC_Keyboard_Destroy(ARC_Keyboard *keyboard)
Definition keyboard.c:23
-
void ARC_Mouse_Destroy(ARC_Mouse *mouse)
Definition mouse.c:31
-
ARC_Keyboard * keyboard
Definition engine.h:23
-
ARC_Mouse * mouse
Definition engine.h:22
-
-

References ARC_Handler_Destroy(), ARC_Keyboard_Destroy(), ARC_Mouse_Destroy(), ARC_Renderer_Destroy(), ARC_Window_Destroy(), ARC_EngineData::keyboard, ARC_EngineData::mouse, ARC_EngineData::renderer, ARC_EngineData::state, and ARC_EngineData::window.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/dd/d56/engine_8c.js b/doc/doxygen/html/dd/d56/engine_8c.js deleted file mode 100644 index df3c77c..0000000 --- a/doc/doxygen/html/dd/d56/engine_8c.js +++ /dev/null @@ -1,6 +0,0 @@ -var engine_8c = -[ - [ "ARC_Engine_RunUncapped", "dd/d56/engine_8c.html#a1318b7466d14187d6648abc7474c1ac7", null ], - [ "ARC_EngineData_Create", "dd/d56/engine_8c.html#ad3bfb475a0e9264c87a7423e84778959", null ], - [ "ARC_EngineData_Destroy", "dd/d56/engine_8c.html#ad7a41810e95706dad5c6881879339aa2", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dd/d56/engine_8c_source.html b/doc/doxygen/html/dd/d56/engine_8c_source.html deleted file mode 100644 index ec3fdc2..0000000 --- a/doc/doxygen/html/dd/d56/engine_8c_source.html +++ /dev/null @@ -1,263 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/engine/engine.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
engine.c
-
-
-Go to the documentation of this file.
1#include "arc/engine/engine.h"
-
2
-
3//NOTE: some of this file is temporary, mostly to get smthn running so I can test out different ideas
-
4#include <stdlib.h>
-
5#include "arc/engine/state.h"
- - -
8#include "arc/input/mouse.h"
- -
10#include "arc/std/bool.h"
-
11#include "arc/std/errno.h"
-
12#include "arc/std/handler.h"
-
13
-
14//TODO: remove this
-
15//#include <SDL.h>
-
16
-
- -
18 *data = (ARC_EngineData *)malloc(sizeof(ARC_EngineData));
-
19 (*data)->window = NULL;
-
20 (*data)->renderer = NULL;
-
21 (*data)->input = NULL;
-
22 (*data)->keyboard = NULL;
-
23 (*data)->mouse = NULL;
-
24
-
25 //TODO: set the destroy callback
-
26 ARC_Handler_Create(&((*data)->state), NULL, cleanFn);
-
27
-
28 (*data)->dt = 0.0;
-
29 (*data)->running = ARC_False;
-
30 (*data)->windowSize = windowSize;
-
31
-
32 ARC_WindowInfo windowInfo = (ARC_WindowInfo){ "title", (*data)->windowSize.x, (*data)->windowSize.y };
-
33 ARC_Window_Create(&((*data)->window), &windowInfo);
-
34 if(arc_errno){
-
35 free(data);
-
36 return;
-
37 }
-
38
-
39 ARC_Renderer_CreateWithEngineData(&((*data)->renderer), *data);
-
40 if(arc_errno){
-
41 ARC_Window_Destroy((*data)->window);
-
42 free(data);
-
43 }
-
44
-
45 ARC_Input_CreateWithEngineData(&((*data)->input), *data);
-
46
-
47 (*data)->keyboard = ARC_Input_GetKeyboard((*data)->input);
-
48 (*data)->mouse = ARC_Input_GetMouse((*data)->input);
-
49}
-
-
50
- -
58
-
- -
60 if(arc_errno){
-
61 return;
-
62 }
-
63
-
64 //double lastTime = 0, currentTime;
-
65
-
66 data->running = ARC_True;
-
67 while(data->running){
-
68 //currentTime = SDL_GetTicks();
-
69 //data->dt = currentTime - lastTime;
-
70 //lastTime = currentTime;
-
71
-
72 data->running = ARC_Input_Update(data->input);
-
73
- -
75
- -
77
- -
79
- -
81
- -
83 }
-
84}
-
- -
#define ARC_False
Definition bool.h:12
-
#define ARC_True
Definition bool.h:11
-
void ARC_Engine_RunUncapped(ARC_EngineData *data)
runs ARC_Engine with an uncapped framerate
Definition engine.c:59
-
void ARC_EngineData_Create(ARC_EngineData **data, ARC_Handler_CleanDataFn cleanFn, ARC_Point windowSize)
Definition engine.c:17
-
void ARC_EngineData_Destroy(ARC_EngineData *data)
Definition engine.c:51
- - -
int32_t arc_errno
Definition errno.c:5
- -
void ARC_Handler_Destroy(ARC_Handler *handler)
destroyes ARC_Handler type
Definition handler.c:21
-
void ARC_Handler_Create(ARC_Handler **handler, ARC_Handler_CompareDataFn *compareFn, ARC_Handler_CleanDataFn cleanFn)
creates ARC_Handler type
Definition handler.c:14
-
void(* ARC_Handler_CleanDataFn)(void *data)
a function that will be used during destruction of trash vector
Definition handler.h:40
-
void ARC_Handler_Iterate(ARC_Handler *handler, ARC_Handler_DataFn datafn)
calls provided function on each element in handler
Definition handler.c:50
-
void ARC_Handler_Clean(ARC_Handler *handler)
clears trash from handler
Definition handler.c:63
- -
void ARC_Renderer_CreateWithEngineData(ARC_Renderer **renderer, ARC_EngineData *data)
creates ARC_Renderer type with ARC_EngineData
Definition renderer.c:10
-
void ARC_Renderer_Clear(ARC_Renderer *renderer)
Definition renderer.c:32
-
void ARC_Renderer_Destroy(ARC_Renderer *renderer)
destroys ARC_Renderer type
Definition renderer.c:28
-
void ARC_Renderer_Render(ARC_Renderer *renderer)
renders the renderer
Definition renderer.c:39
- -
void ARC_Window_Create(ARC_Window **window, ARC_WindowInfo *info)
creates ARC_Window type
Definition window.c:7
-
struct ARC_WindowInfo ARC_WindowInfo
-
void ARC_Window_Destroy(ARC_Window *window)
destroys ARC_Window type
Definition window.c:29
-
ARC_Keyboard * ARC_Input_GetKeyboard(ARC_Input *input)
Definition input.c:39
-
ARC_Mouse * ARC_Input_GetMouse(ARC_Input *input)
Definition input.c:43
-
void ARC_Input_CreateWithEngineData(ARC_Input **input, ARC_EngineData *data)
Definition input.c:10
-
ARC_Bool ARC_Input_Update(ARC_Input *input)
Definition input.c:27
- -
void ARC_Keyboard_Destroy(ARC_Keyboard *keyboard)
Definition keyboard.c:23
- -
void ARC_Mouse_Destroy(ARC_Mouse *mouse)
Definition mouse.c:31
- -
void ARC_State_Render(void *data)
Definition state.c:8
-
void ARC_State_Update(void *data)
Definition state.c:4
- -
ARC_Input * input
Definition engine.h:21
-
ARC_Keyboard * keyboard
Definition engine.h:23
-
ARC_Bool running
Definition engine.h:26
-
ARC_Handler * state
Definition engine.h:20
-
ARC_Window * window
Definition engine.h:18
-
ARC_Renderer * renderer
Definition engine.h:19
-
ARC_Mouse * mouse
Definition engine.h:22
- - -
-
- - - - - - diff --git a/doc/doxygen/html/dd/d72/archeus__std_8dir_2src_2math_2obround_8c_8o_8d.html b/doc/doxygen/html/dd/d72/archeus__std_8dir_2src_2math_2obround_8c_8o_8d.html deleted file mode 100644 index 25e4857..0000000 --- a/doc/doxygen/html/dd/d72/archeus__std_8dir_2src_2math_2obround_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/math/obround.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
obround.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/dd/d72/archeus__std_8dir_2src_2math_2obround_8c_8o_8d_source.html b/doc/doxygen/html/dd/d72/archeus__std_8dir_2src_2math_2obround_8c_8o_8d_source.html deleted file mode 100644 index c7d6023..0000000 --- a/doc/doxygen/html/dd/d72/archeus__std_8dir_2src_2math_2obround_8c_8o_8d_source.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/math/obround.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
obround.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/math/obround.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/math/obround.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/math/obround.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h
-
-
- - - - - - diff --git a/doc/doxygen/html/dd/db8/tests_8dir_2src_2std_2queue_8c_8o_8d.html b/doc/doxygen/html/dd/db8/tests_8dir_2src_2std_2queue_8c_8o_8d.html deleted file mode 100644 index 13e9e29..0000000 --- a/doc/doxygen/html/dd/db8/tests_8dir_2src_2std_2queue_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/queue.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
queue.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/dd/db8/tests_8dir_2src_2std_2queue_8c_8o_8d_source.html b/doc/doxygen/html/dd/db8/tests_8dir_2src_2std_2queue_8c_8o_8d_source.html deleted file mode 100644 index 51357d8..0000000 --- a/doc/doxygen/html/dd/db8/tests_8dir_2src_2std_2queue_8c_8o_8d_source.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/queue.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
queue.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/std/queue.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/queue.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/queue.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h \
-
15 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
16 /usr/include/stdio.h \
-
17 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
18 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
19 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
20 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
21 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
22 /usr/include/bits/types/cookie_io_functions_t.h \
-
23 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
24 /usr/include/bits/floatn-common.h /usr/include/stdlib.h \
-
25 /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
-
26 /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \
-
27 /usr/include/bits/types/clockid_t.h /usr/include/bits/types/time_t.h \
-
28 /usr/include/bits/types/timer_t.h /usr/include/endian.h \
-
29 /usr/include/bits/endian.h /usr/include/bits/endianness.h \
-
30 /usr/include/bits/byteswap.h /usr/include/bits/uintn-identity.h \
-
31 /usr/include/sys/select.h /usr/include/bits/select.h \
-
32 /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \
-
33 /usr/include/bits/types/struct_timeval.h \
-
34 /usr/include/bits/types/struct_timespec.h \
-
35 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
36 /usr/include/bits/pthreadtypes-arch.h \
-
37 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
38 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
39 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/dd/dbf/tests_8dir_2src_2graphics_2obround_8c_8o_8d.html b/doc/doxygen/html/dd/dbf/tests_8dir_2src_2graphics_2obround_8c_8o_8d.html deleted file mode 100644 index 797f670..0000000 --- a/doc/doxygen/html/dd/dbf/tests_8dir_2src_2graphics_2obround_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/graphics/obround.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
obround.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/dd/dbf/tests_8dir_2src_2graphics_2obround_8c_8o_8d_source.html b/doc/doxygen/html/dd/dbf/tests_8dir_2src_2graphics_2obround_8c_8o_8d_source.html deleted file mode 100644 index e14aa7d..0000000 --- a/doc/doxygen/html/dd/dbf/tests_8dir_2src_2graphics_2obround_8c_8o_8d_source.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/graphics/obround.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
obround.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/graphics/obround.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/graphics/obround.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/graphics/obround.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/graphics/color.h \
-
6 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
7 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
8 /usr/include/features.h /usr/include/features-time64.h \
-
9 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
10 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
11 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
12 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
13 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
14 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
15 /usr/include/bits/stdint-least.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/graphics/renderer.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/math/obround.h \
-
18 /usr/include/stdio.h \
-
19 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
21 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
22 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
23 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
24 /usr/include/bits/types/cookie_io_functions_t.h \
-
25 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
26 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/dd/dc5/archeus__std_8dir_2src_2math_2point_8c_8o_8d.html b/doc/doxygen/html/dd/dc5/archeus__std_8dir_2src_2math_2point_8c_8o_8d.html deleted file mode 100644 index 256cf23..0000000 --- a/doc/doxygen/html/dd/dc5/archeus__std_8dir_2src_2math_2point_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/math/point.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
point.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/dd/dc5/archeus__std_8dir_2src_2math_2point_8c_8o_8d_source.html b/doc/doxygen/html/dd/dc5/archeus__std_8dir_2src_2math_2point_8c_8o_8d_source.html deleted file mode 100644 index a2d675a..0000000 --- a/doc/doxygen/html/dd/dc5/archeus__std_8dir_2src_2math_2point_8c_8o_8d_source.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/math/point.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
point.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/math/point.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/math/point.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h
-
-
- - - - - - diff --git a/doc/doxygen/html/dd/ddd/packages_2graphics_2glfw_2renderer_8c.html b/doc/doxygen/html/dd/ddd/packages_2graphics_2glfw_2renderer_8c.html deleted file mode 100644 index 0f3c219..0000000 --- a/doc/doxygen/html/dd/ddd/packages_2graphics_2glfw_2renderer_8c.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/glfw/renderer.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
renderer.c File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/dd/ddd/packages_2graphics_2glfw_2renderer_8c_source.html b/doc/doxygen/html/dd/ddd/packages_2graphics_2glfw_2renderer_8c_source.html deleted file mode 100644 index 69f4f9f..0000000 --- a/doc/doxygen/html/dd/ddd/packages_2graphics_2glfw_2renderer_8c_source.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/glfw/renderer.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
renderer.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_GLFW_WINDOW
- -
3#include "renderer.h"
-
4
-
5// #ifdef ARC_GLEW
-
6#define GLEW_STATIC
-
7#include <GL/glew.h>
-
8// #endif // ARC_GLEW
-
9
-
10#include <GLFW/glfw3.h>
-
11
-
12#include "arc/graphics/window.h"
-
13#include "arc/std/errno.h"
-
14#include <stdlib.h>
-
15
- -
17 if(!info){
- -
19 ARC_DEBUG_ERR("ARC_Renderer_Create(**renderer, NULL)");
-
20 return;
-
21 }
-
22
-
23// #ifdef ARC_GLEW
-
24 *renderer = (ARC_Renderer *)malloc(sizeof(ARC_Renderer));
-
25 (*renderer)->window = (GLFWwindow *)data->window;
-
26
-
27 glewExperimental = GL_TRUE;
-
28 if(glewInit() != GLEW_OK){
-
29 ARC_DEBUG_ERR("ARC_Renderer_Create(**renderer, info), GLEW failed to init");
-
30 glfwTerminate();
- -
32 }
-
33// #endif // ARC_GLEW
-
34
-
35 glClearColor(0.23f, 0.38f, 0.47f, 1.0f);
-
36}
-
37
- -
39 free(renderer);
-
40}
-
41
-
42void ARC_Renderer_Clear(ARC_Renderer *renderer){
-
43 glClear(GL_COLOR_BUFFER_BIT);
-
44}
-
45
-
46void ARC_Renderer_Render(ARC_Renderer *renderer){
-
47// #ifdef ARC_GLEW
-
48 glfwSwapBuffers(renderer->window);
-
49// #endif // ARC_GLEW
-
50}
-
51
-
52#endif //ARC_SDL
- -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_INIT
Definition errno.h:11
-
#define ARC_ERRNO_NULL
Definition errno.h:6
- -
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
-
void ARC_Renderer_CreateWithEngineData(ARC_Renderer **renderer, ARC_EngineData *data)
creates ARC_Renderer type with ARC_EngineData
Definition renderer.c:10
-
void ARC_Renderer_Clear(ARC_Renderer *renderer)
Definition renderer.c:32
-
void ARC_Renderer_Destroy(ARC_Renderer *renderer)
destroys ARC_Renderer type
Definition renderer.c:28
-
void ARC_Renderer_Render(ARC_Renderer *renderer)
renders the renderer
Definition renderer.c:39
- - - -
ARC_Window * window
Definition engine.h:18
-
-
- - - - - - diff --git a/doc/doxygen/html/dd/dee/handler_8h.html b/doc/doxygen/html/dd/dee/handler_8h.html deleted file mode 100644 index 503eacb..0000000 --- a/doc/doxygen/html/dd/dee/handler_8h.html +++ /dev/null @@ -1,535 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/handler.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
handler.h File Reference
-
-
-
#include "arc/std/bool.h"
-#include <stdint.h>
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - -

-Typedefs

typedef struct ARC_Handler ARC_Handler
 a handler type
 
typedef ARC_Bool(* ARC_Handler_CompareDataFn) (void *a, void *b)
 data comparison function ptr
 
typedef void(* ARC_Handler_DataFn) (void *data)
 a function that will take iterated data
 
typedef void(* ARC_Handler_CleanDataFn) (void *data)
 a function that will be used during destruction of trash vector
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_Handler_Create (ARC_Handler **handler, ARC_Handler_CompareDataFn *compareFn, ARC_Handler_CleanDataFn cleanFn)
 creates ARC_Handler type
 
void ARC_Handler_Destroy (ARC_Handler *handler)
 destroyes ARC_Handler type
 
void ARC_Handler_Add (ARC_Handler *handler, void *data)
 adds data to handler
 
void ARC_Handler_Remove (ARC_Handler *handler, void *data)
 remove from handler
 
void ARC_Handler_RemoveIndex (ARC_Handler *handler, uint32_t index)
 remove from handler
 
void ARC_Handler_Iterate (ARC_Handler *handler, ARC_Handler_DataFn datafn)
 calls provided function on each element in handler
 
void ARC_Handler_Clear (ARC_Handler *handler)
 clears all data from handler and puts it in trash vector
 
void ARC_Handler_Clean (ARC_Handler *handler)
 clears trash from handler
 
uint32_t ARC_Handler_GetSize (ARC_Handler *handler)
 gets size of vector
 
-

Typedef Documentation

- -

◆ ARC_Handler

- -
-
- - - - -
typedef struct ARC_Handler ARC_Handler
-
- -

a handler type

- -

Definition at line 14 of file handler.h.

- -
-
- -

◆ ARC_Handler_CleanDataFn

- -
-
- - - - -
typedef void(* ARC_Handler_CleanDataFn) (void *data)
-
- -

a function that will be used during destruction of trash vector

-
Parameters
- - -
datadata that is being destroyed from trash
-
-
- -

Definition at line 40 of file handler.h.

- -
-
- -

◆ ARC_Handler_CompareDataFn

- -
-
- - - - -
typedef ARC_Bool(* ARC_Handler_CompareDataFn) (void *a, void *b)
-
- -

data comparison function ptr

-
Note
this is used for comparison within vectors
-
Parameters
- - - -
afirst data struct
bsecond data struct
-
-
-
Returns
0 when a == b
- -

Definition at line 26 of file handler.h.

- -
-
- -

◆ ARC_Handler_DataFn

- -
-
- - - - -
typedef void(* ARC_Handler_DataFn) (void *data)
-
- -

a function that will take iterated data

-
Parameters
- - -
dataiterated data from ARC_Handler_Iterate
-
-
- -

Definition at line 33 of file handler.h.

- -
-
-

Function Documentation

- -

◆ ARC_Handler_Add()

- -
-
- - - - - - - - - - - -
void ARC_Handler_Add (ARC_Handler * handler,
void * data )
-
- -

adds data to handler

-
Parameters
- - - -
handlerARC_Handler to add to
datadata that is being added
-
-
- -
-
- -

◆ ARC_Handler_Clean()

- -
-
- - - - - - - -
void ARC_Handler_Clean (ARC_Handler * handler)
-
- -

clears trash from handler

-
Note
cleanfn's main purpose is to help manage memory
-
Parameters
- - -
handlerARC_Handler to remove trash from
-
-
- -
-
- -

◆ ARC_Handler_Clear()

- -
-
- - - - - - - -
void ARC_Handler_Clear (ARC_Handler * handler)
-
- -

clears all data from handler and puts it in trash vector

-
Parameters
- - -
handlerARC_Handler to clear data from
-
-
- -
-
- -

◆ ARC_Handler_Create()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Handler_Create (ARC_Handler ** handler,
ARC_Handler_CompareDataFn * compareFn,
ARC_Handler_CleanDataFn cleanFn )
-
- -

creates ARC_Handler type

-
Parameters
- - - - -
configARC_Handler to initialize
compareFnfunction to remove handler data
cleanFnfunction to clean data in handler can be null
-
-
- -
-
- -

◆ ARC_Handler_Destroy()

- -
-
- - - - - - - -
void ARC_Handler_Destroy (ARC_Handler * handler)
-
- -

destroyes ARC_Handler type

-
Parameters
- - -
handlerARC_Handler to destory
-
-
- -
-
- -

◆ ARC_Handler_GetSize()

- -
-
- - - - - - - -
uint32_t ARC_Handler_GetSize (ARC_Handler * handler)
-
- -

gets size of vector

-
Parameters
- - -
handlerARC_handler to get size from
-
-
- -
-
- -

◆ ARC_Handler_Iterate()

- -
-
- - - - - - - - - - - -
void ARC_Handler_Iterate (ARC_Handler * handler,
ARC_Handler_DataFn datafn )
-
- -

calls provided function on each element in handler

-
Parameters
- - - -
handlerARC_Handler to iterate through
datafnfunction that will be called on each element of data
-
-
- -
-
- -

◆ ARC_Handler_Remove()

- -
-
- - - - - - - - - - - -
void ARC_Handler_Remove (ARC_Handler * handler,
void * data )
-
- -

remove from handler

-
Note
the data that is removed is stored in a trash vector the ARC_Handler_Clean function must be called clean the trash vector the trash vector is to make sure a state is not deleted while being run
-
Parameters
- - - -
handlerARC_Handler to remove from
datadata that is being removed
-
-
- -
-
- -

◆ ARC_Handler_RemoveIndex()

- -
-
- - - - - - - - - - - -
void ARC_Handler_RemoveIndex (ARC_Handler * handler,
uint32_t index )
-
- -

remove from handler

-
Note
the data that is removed is stored in a trash vector the ARC_Handler_Clean function must be called clean the trash vector the trash vector is to make sure a state is not deleted while being run
-
Parameters
- - - -
handlerARC_Handler to remove from
indexindex of data that is being removed
-
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/dd/dee/handler_8h.js b/doc/doxygen/html/dd/dee/handler_8h.js deleted file mode 100644 index c8beb3f..0000000 --- a/doc/doxygen/html/dd/dee/handler_8h.js +++ /dev/null @@ -1,16 +0,0 @@ -var handler_8h = -[ - [ "ARC_Handler", "dd/dee/handler_8h.html#afe553e395e78a22d36ca5a788adf6fb9", null ], - [ "ARC_Handler_CleanDataFn", "dd/dee/handler_8h.html#a97613b0958fc34c00446d4dc669737a1", null ], - [ "ARC_Handler_CompareDataFn", "dd/dee/handler_8h.html#a49c7e2f7ac665db636c13cff6c0a9abf", null ], - [ "ARC_Handler_DataFn", "dd/dee/handler_8h.html#aa6c371d0df719e273df4fcd1a66415e2", null ], - [ "ARC_Handler_Add", "dd/dee/handler_8h.html#a1819b266e74d30c0faf05b7ce687f2dc", null ], - [ "ARC_Handler_Clean", "dd/dee/handler_8h.html#af36b878567ea73a90f826af9af64c989", null ], - [ "ARC_Handler_Clear", "dd/dee/handler_8h.html#a7ce371bd450a568dfb98a9e4b40fa423", null ], - [ "ARC_Handler_Create", "dd/dee/handler_8h.html#a5642adc667af392d4e81ed9266992cf2", null ], - [ "ARC_Handler_Destroy", "dd/dee/handler_8h.html#a504e83100f5bc3b257f81fb27c7850d9", null ], - [ "ARC_Handler_GetSize", "dd/dee/handler_8h.html#ad3630dbdb66e538bf1d457b9c1bc1165", null ], - [ "ARC_Handler_Iterate", "dd/dee/handler_8h.html#adaa4103a1879a0e0acc595d3e1c2b911", null ], - [ "ARC_Handler_Remove", "dd/dee/handler_8h.html#af37753d9ef62d0b3cabf114acc890c22", null ], - [ "ARC_Handler_RemoveIndex", "dd/dee/handler_8h.html#aff62f9d70a675932736fa20f671490c4", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dd/dee/handler_8h_source.html b/doc/doxygen/html/dd/dee/handler_8h_source.html deleted file mode 100644 index 170c244..0000000 --- a/doc/doxygen/html/dd/dee/handler_8h_source.html +++ /dev/null @@ -1,269 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/handler.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
handler.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_STD_HANDLER_H_
-
2#define ARC_STD_HANDLER_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include "arc/std/bool.h"
-
9#include <stdint.h>
-
10
-
11/**
-
12 * @brief a handler type
-
13 */
-
14typedef struct ARC_Handler ARC_Handler;
-
15
-
16/**
-
17 * @brief data comparison function ptr
-
18 *
-
19 * @note this is used for comparison within vectors
-
20 *
-
21 * @param a first data struct
-
22 * @param b second data struct
-
23 *
-
24 * @return 0 when a == b
-
25 */
-
26typedef ARC_Bool (* ARC_Handler_CompareDataFn)(void *a, void *b);
-
27
-
28/**
-
29 * @brief a function that will take iterated data
-
30 *
-
31 * @param data iterated data from ARC_Handler_Iterate
-
32 */
-
33typedef void (* ARC_Handler_DataFn)(void *data);
-
34
-
35/**
-
36 * @brief a function that will be used during destruction of trash vector
-
37 *
-
38 * @param data data that is being destroyed from trash
-
39 */
-
40typedef void (* ARC_Handler_CleanDataFn)(void *data);
-
41
-
42/**
-
43 * @brief creates ARC_Handler type
-
44 *
-
45 * @param config ARC_Handler to initialize
-
46 * @param compareFn function to remove handler data
-
47 * @param cleanFn function to clean data in handler
-
48 * can be null
-
49 */
- -
51
-
52/**
-
53 * @brief destroyes ARC_Handler type
-
54 *
-
55 * @param handler ARC_Handler to destory
-
56 */
- -
58
-
59/**
-
60 * @brief adds data to handler
-
61 *
-
62 * @param handler ARC_Handler to add to
-
63 * @param data data that is being added
-
64 */
-
65void ARC_Handler_Add(ARC_Handler *handler, void *data);
-
66
-
67/**
-
68 * @brief remove from handler
-
69 *
-
70 * @note the data that is removed is stored in a trash vector
-
71 * the ARC_Handler_Clean function must be called clean the trash vector
-
72 * the trash vector is to make sure a state is not deleted while being run
-
73 *
-
74 * @param handler ARC_Handler to remove from
-
75 * @param data data that is being removed
-
76 */
-
77void ARC_Handler_Remove(ARC_Handler *handler, void *data);
-
78
-
79/**
-
80 * @brief remove from handler
-
81 *
-
82 * @note the data that is removed is stored in a trash vector
-
83 * the ARC_Handler_Clean function must be called clean the trash vector
-
84 * the trash vector is to make sure a state is not deleted while being run
-
85 *
-
86 * @param handler ARC_Handler to remove from
-
87 * @param index index of data that is being removed
-
88 */
-
89void ARC_Handler_RemoveIndex(ARC_Handler *handler, uint32_t index);
-
90
-
91/**
-
92 * @brief calls provided function on each element in handler
-
93 *
-
94 * @param handler ARC_Handler to iterate through
-
95 * @param datafn function that will be called on each element of data
-
96 */
- -
98
-
99/**
-
100 * @brief clears all data from handler and puts it in trash vector
-
101 *
-
102 * @param handler ARC_Handler to clear data from
-
103 */
- -
105
-
106/**
-
107 * @brief clears trash from handler
-
108 *
-
109 * @note cleanfn's main purpose is to help manage memory
-
110 *
-
111 * @param handler ARC_Handler to remove trash from
-
112 */
- -
114
-
115/**
-
116 * @brief gets size of vector
-
117 *
-
118 * @param handler ARC_handler to get size from
-
119 */
- -
121
-
122#ifdef __cplusplus
-
123}
-
124#endif
-
125
-
126#endif //ARC_STD_HANDLER_H_
- -
#define ARC_Bool
Definition bool.h:10
-
void ARC_Handler_Add(ARC_Handler *handler, void *data)
adds data to handler
-
ARC_Bool(* ARC_Handler_CompareDataFn)(void *a, void *b)
data comparison function ptr
Definition handler.h:26
-
void ARC_Handler_Destroy(ARC_Handler *handler)
destroyes ARC_Handler type
-
void ARC_Handler_Create(ARC_Handler **handler, ARC_Handler_CompareDataFn *compareFn, ARC_Handler_CleanDataFn cleanFn)
creates ARC_Handler type
-
void ARC_Handler_Clear(ARC_Handler *handler)
clears all data from handler and puts it in trash vector
-
void(* ARC_Handler_CleanDataFn)(void *data)
a function that will be used during destruction of trash vector
Definition handler.h:40
-
void(* ARC_Handler_DataFn)(void *data)
a function that will take iterated data
Definition handler.h:33
-
uint32_t ARC_Handler_GetSize(ARC_Handler *handler)
gets size of vector
-
void ARC_Handler_Iterate(ARC_Handler *handler, ARC_Handler_DataFn datafn)
calls provided function on each element in handler
-
void ARC_Handler_Clean(ARC_Handler *handler)
clears trash from handler
-
void ARC_Handler_Remove(ARC_Handler *handler, void *data)
remove from handler
-
struct ARC_Handler ARC_Handler
a handler type
Definition handler.h:14
-
void ARC_Handler_RemoveIndex(ARC_Handler *handler, uint32_t index)
remove from handler
-
-
- - - - - - diff --git a/doc/doxygen/html/de/d00/tests_8dir_2tests_2std_2vector_8c_8o_8d.html b/doc/doxygen/html/de/d00/tests_8dir_2tests_2std_2vector_8c_8o_8d.html deleted file mode 100644 index 778b92a..0000000 --- a/doc/doxygen/html/de/d00/tests_8dir_2tests_2std_2vector_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/tests/std/vector.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
vector.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/de/d00/tests_8dir_2tests_2std_2vector_8c_8o_8d_source.html b/doc/doxygen/html/de/d00/tests_8dir_2tests_2std_2vector_8c_8o_8d_source.html deleted file mode 100644 index c7a0ed3..0000000 --- a/doc/doxygen/html/de/d00/tests_8dir_2tests_2std_2vector_8c_8o_8d_source.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/tests/std/vector.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
vector.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/tests/std/vector.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/tests/std/vector.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/tests/std/../test.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h /usr/include/stdio.h \
-
15 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
16 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
17 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
18 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
19 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
20 /usr/include/bits/types/cookie_io_functions_t.h \
-
21 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
22 /usr/include/bits/floatn-common.h \
-
23 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
24 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
25 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
26 /home/herbglitch/programs/archeus/arc/include/arc/std/vector.h \
-
27 /usr/include/stdlib.h /usr/include/bits/waitflags.h \
-
28 /usr/include/bits/waitstatus.h /usr/include/sys/types.h \
-
29 /usr/include/bits/types/clock_t.h /usr/include/bits/types/clockid_t.h \
-
30 /usr/include/bits/types/time_t.h /usr/include/bits/types/timer_t.h \
-
31 /usr/include/endian.h /usr/include/bits/endian.h \
-
32 /usr/include/bits/endianness.h /usr/include/bits/byteswap.h \
-
33 /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \
-
34 /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \
-
35 /usr/include/bits/types/__sigset_t.h \
-
36 /usr/include/bits/types/struct_timeval.h \
-
37 /usr/include/bits/types/struct_timespec.h \
-
38 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
39 /usr/include/bits/pthreadtypes-arch.h \
-
40 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
41 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
42 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/de/d1e/tests_8dir_2src_2graphics_2text_8c_8o_8d.html b/doc/doxygen/html/de/d1e/tests_8dir_2src_2graphics_2text_8c_8o_8d.html deleted file mode 100644 index 4a785ec..0000000 --- a/doc/doxygen/html/de/d1e/tests_8dir_2src_2graphics_2text_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/graphics/text.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
text.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/de/d1e/tests_8dir_2src_2graphics_2text_8c_8o_8d_source.html b/doc/doxygen/html/de/d1e/tests_8dir_2src_2graphics_2text_8c_8o_8d_source.html deleted file mode 100644 index c98c281..0000000 --- a/doc/doxygen/html/de/d1e/tests_8dir_2src_2graphics_2text_8c_8o_8d_source.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/graphics/text.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
text.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/graphics/text.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/graphics/text.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/graphics/text.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h \
-
15 /home/herbglitch/programs/archeus/arc/include/arc/graphics/color.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/graphics/renderer.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
21 /usr/include/stdio.h \
-
22 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
23 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
24 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
25 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
26 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
27 /usr/include/bits/types/cookie_io_functions_t.h \
-
28 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
29 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/de/d1f/archeus__std_8dir_2src_2graphics_2spritesheet_8c_8o_8d.html b/doc/doxygen/html/de/d1f/archeus__std_8dir_2src_2graphics_2spritesheet_8c_8o_8d.html deleted file mode 100644 index b8d8631..0000000 --- a/doc/doxygen/html/de/d1f/archeus__std_8dir_2src_2graphics_2spritesheet_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/graphics/spritesheet.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
spritesheet.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/de/d1f/archeus__std_8dir_2src_2graphics_2spritesheet_8c_8o_8d_source.html b/doc/doxygen/html/de/d1f/archeus__std_8dir_2src_2graphics_2spritesheet_8c_8o_8d_source.html deleted file mode 100644 index 208961a..0000000 --- a/doc/doxygen/html/de/d1f/archeus__std_8dir_2src_2graphics_2spritesheet_8c_8o_8d_source.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/graphics/spritesheet.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
spritesheet.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/graphics/spritesheet.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/graphics/spritesheet.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/graphics/spritesheet.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h \
-
15 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/math/rectangle.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/math/vector2.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/graphics/renderer.h \
-
20 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
21 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
22 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
23 /usr/include/stdio.h \
-
24 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
25 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
26 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
27 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
28 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
29 /usr/include/bits/types/cookie_io_functions_t.h \
-
30 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
31 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/de/d26/packages_2input_2sdl_2mouse_8h.html b/doc/doxygen/html/de/d26/packages_2input_2sdl_2mouse_8h.html deleted file mode 100644 index a1fcc66..0000000 --- a/doc/doxygen/html/de/d26/packages_2input_2sdl_2mouse_8h.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/input/sdl/mouse.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
mouse.h File Reference
-
-
-
#include <SDL.h>
-#include "arc/input/mouse.h"
-#include "arc/math/point.h"
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_Mouse
 
-
-
- - - - - - diff --git a/doc/doxygen/html/de/d26/packages_2input_2sdl_2mouse_8h.js b/doc/doxygen/html/de/d26/packages_2input_2sdl_2mouse_8h.js deleted file mode 100644 index 9617dde..0000000 --- a/doc/doxygen/html/de/d26/packages_2input_2sdl_2mouse_8h.js +++ /dev/null @@ -1,4 +0,0 @@ -var packages_2input_2sdl_2mouse_8h = -[ - [ "ARC_Mouse", "d5/d5d/structARC__Mouse.html", "d5/d5d/structARC__Mouse" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/de/d26/packages_2input_2sdl_2mouse_8h_source.html b/doc/doxygen/html/de/d26/packages_2input_2sdl_2mouse_8h_source.html deleted file mode 100644 index d504b2f..0000000 --- a/doc/doxygen/html/de/d26/packages_2input_2sdl_2mouse_8h_source.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/input/sdl/mouse.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
mouse.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_SDL_MOUSE_H_
-
2#define ARC_SDL_MOUSE_H_
-
3
-
4#include <SDL.h>
-
5#include "arc/input/mouse.h"
-
6#include "arc/math/point.h"
-
7
-
-
8struct ARC_Mouse {
-
9 SDL_Event *event;
- -
11 int32_t *scrollY;
-
12
- - -
15};
-
-
16
-
17#endif // !ARC_SDL_MOUSE_H_
- -
ARC_MouseState
Definition mouse.h:18
- - -
ARC_Point * coords
Definition mouse.h:10
-
ARC_MouseState * buttons
Definition mouse.h:13
-
SDL_Event * event
Definition mouse.h:9
-
int32_t * scrollY
Definition mouse.h:11
-
uint8_t * buttonsReleased
Definition mouse.h:14
- -
-
- - - - - - diff --git a/doc/doxygen/html/de/d61/math_2obround_8c.html b/doc/doxygen/html/de/d61/math_2obround_8c.html deleted file mode 100644 index bb00586..0000000 --- a/doc/doxygen/html/de/d61/math_2obround_8c.html +++ /dev/null @@ -1,204 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/math/obround.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
- -
obround.c File Reference
-
-
-
#include "arc/math/obround.h"
-
-

Go to the source code of this file.

- - - - - - - - -

-Functions

ARC_FObround ARC_Obround_CastToFObround (ARC_Obround *obround)
 casts Obround to FObround
 
ARC_Obround ARC_FObround_CastToObround (ARC_FObround *obround)
 casts FObround to Obround
 
-

Function Documentation

- -

◆ ARC_FObround_CastToObround()

- -
-
- - - - - - - -
ARC_Obround ARC_FObround_CastToObround (ARC_FObround * obround)
-
- -

casts FObround to Obround

-
Parameters
- - -
obroundARC_FObround to be casted
-
-
-
Returns
ARC_Obround
- -

Definition at line 12 of file obround.c.

-
12 {
-
13 return (ARC_Obround){
-
14 .x = (int32_t)obround->x,
-
15 .y = (int32_t)obround->y,
-
16 .r = (int32_t)obround->r,
-
17 .h = (int32_t)obround->h
-
18 };
-
19}
-
float y
Definition obround.h:19
-
float h
Definition obround.h:21
-
float x
Definition obround.h:18
-
float r
Definition obround.h:20
- -
-

References ARC_FObround::h, ARC_FObround::r, ARC_FObround::x, and ARC_FObround::y.

- -
-
- -

◆ ARC_Obround_CastToFObround()

- -
-
- - - - - - - -
ARC_FObround ARC_Obround_CastToFObround (ARC_Obround * obround)
-
- -

casts Obround to FObround

-
Parameters
- - -
obroundARC_Obround to be casted
-
-
-
Returns
ARC_FObround
- -

Definition at line 3 of file obround.c.

-
3 {
-
4 return (ARC_FObround){
-
5 .x = (float)obround->x,
-
6 .y = (float)obround->y,
-
7 .r = (float)obround->r,
-
8 .h = (float)obround->h
-
9 };
-
10}
- -
int32_t r
Definition obround.h:13
-
int32_t x
Definition obround.h:11
-
int32_t y
Definition obround.h:12
-
int32_t h
Definition obround.h:14
-
-

References ARC_Obround::h, ARC_Obround::r, ARC_Obround::x, and ARC_Obround::y.

- -
-
-
- - -
- - diff --git a/doc/doxygen/html/de/d61/math_2obround_8c_source.html b/doc/doxygen/html/de/d61/math_2obround_8c_source.html deleted file mode 100644 index c9c1b55..0000000 --- a/doc/doxygen/html/de/d61/math_2obround_8c_source.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/math/obround.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
obround.c
-
-
-Go to the documentation of this file.
1#include "arc/math/obround.h"
-
2
-
- -
4 return (ARC_FObround){
-
5 .x = (float)obround->x,
-
6 .y = (float)obround->y,
-
7 .r = (float)obround->r,
-
8 .h = (float)obround->h
-
9 };
-
10}
-
-
11
-
- -
13 return (ARC_Obround){
-
14 .x = (int32_t)obround->x,
-
15 .y = (int32_t)obround->y,
-
16 .r = (int32_t)obround->r,
-
17 .h = (int32_t)obround->h
-
18 };
-
19}
-
-
ARC_Obround ARC_FObround_CastToObround(ARC_FObround *obround)
casts FObround to Obround
Definition obround.c:12
-
ARC_FObround ARC_Obround_CastToFObround(ARC_Obround *obround)
casts Obround to FObround
Definition obround.c:3
- - -
float y
Definition obround.h:19
-
float h
Definition obround.h:21
-
float x
Definition obround.h:18
-
float r
Definition obround.h:20
- -
int32_t r
Definition obround.h:13
-
int32_t x
Definition obround.h:11
-
int32_t y
Definition obround.h:12
-
int32_t h
Definition obround.h:14
-
- - -
- - diff --git a/doc/doxygen/html/de/d6b/src_2std_2defaults_2config_8c.html b/doc/doxygen/html/de/d6b/src_2std_2defaults_2config_8c.html deleted file mode 100644 index 7f136c4..0000000 --- a/doc/doxygen/html/de/d6b/src_2std_2defaults_2config_8c.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/defaults/config.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/de/d6b/src_2std_2defaults_2config_8c_source.html b/doc/doxygen/html/de/d6b/src_2std_2defaults_2config_8c_source.html deleted file mode 100644 index eb8ee9f..0000000 --- a/doc/doxygen/html/de/d6b/src_2std_2defaults_2config_8c_source.html +++ /dev/null @@ -1,524 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/defaults/config.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c
-
-
-Go to the documentation of this file.
1#include "arc/std/string.h"
-
2#ifdef ARC_DEFAULT_CONFIG
-
3
- -
5
-
6#include "arc/std/array.h"
-
7#include "arc/std/config.h"
-
8#include "arc/std/errno.h"
-
9#include <stdio.h>
-
10#include <stdlib.h>
-
11#include <string.h>
-
12
- - - - - - - - - -
22 // ARC_Config_AddKeyCString(config, "char" , 4, ARC_ConfigKey_Read_Char , ARC_ConfigKey_Delete_Char );
- - - - - - -
29}
-
30
-
31uint8_t ARC_ConfigKey_Read_Uint8_t(ARC_Config* config, ARC_String *string, void **value){
-
32 ARC_Config_Get(config, string, value);
-
33 if(*value){
-
34 return 1;
-
35 }
-
36
-
37 *value = (uint8_t *) malloc(sizeof(uint8_t));
-
38 *((uint8_t *)(*value)) = (uint8_t) ARC_String_ToUint64_t(string);
-
39 return 0;
-
40}
-
41
-
42
-
43uint8_t ARC_ConfigKey_Read_Int8_t(ARC_Config* config, ARC_String *string, void **value){
-
44 ARC_Config_Get(config, string, value);
-
45 if(*value){
-
46 return 1;
-
47 }
-
48
-
49 *value = (int8_t *) malloc(sizeof(int8_t));
-
50 *((int8_t *)(*value)) = (int8_t) ARC_String_ToInt64_t(string);
-
51 return 0;
-
52}
-
53
-
54uint8_t ARC_ConfigKey_Read_Uint16_t(ARC_Config* config, ARC_String *string, void **value){
-
55 ARC_Config_Get(config, string, value);
-
56 if(*value){
-
57 return 1;
-
58 }
-
59
-
60 *value = (uint16_t *) malloc(sizeof(uint16_t));
-
61 *((uint16_t *)(*value)) = (uint16_t) ARC_String_ToUint64_t(string);
-
62 return 0;
-
63}
-
64
-
65uint8_t ARC_ConfigKey_Read_Int16_t(ARC_Config* config, ARC_String *string, void **value){
-
66 ARC_Config_Get(config, string, value);
-
67 if(*value){
-
68 return 1;
-
69 }
-
70
-
71 *value = (int16_t *) malloc(sizeof(int16_t));
-
72 *((int16_t *)(*value)) = (int16_t) ARC_String_ToInt64_t(string);
-
73 return 0;
-
74}
-
75
-
76uint8_t ARC_ConfigKey_Read_Uint32_t(ARC_Config* config, ARC_String *string, void **value){
-
77 ARC_Config_Get(config, string, value);
-
78 if(*value){
-
79 return 1;
-
80 }
-
81
-
82 *value = (uint32_t *) malloc(sizeof(uint32_t));
-
83 *((uint32_t *)(*value)) = (uint32_t) ARC_String_ToUint64_t(string);
-
84 return 0;
-
85}
-
86
-
87uint8_t ARC_ConfigKey_Read_Int32_t(ARC_Config* config, ARC_String *string, void **value){
-
88 ARC_Config_Get(config, string, value);
-
89 if(*value){
-
90 return 1;
-
91 }
-
92
-
93 *value = (int32_t *) malloc(sizeof(int32_t));
-
94 *((int32_t *)(*value)) = (int32_t) ARC_String_ToInt64_t(string);
-
95 return 0;
-
96}
-
97
-
98uint8_t ARC_ConfigKey_Read_Uint64_t(ARC_Config* config, ARC_String *string, void **value){
-
99 ARC_Config_Get(config, string, value);
-
100 if(*value){
-
101 return 1;
-
102 }
-
103
-
104 *value = (uint64_t *) malloc(sizeof(uint64_t));
-
105 *((uint64_t *)(*value)) = (uint64_t) ARC_String_ToUint64_t(string);
-
106 return 0;
-
107}
-
108
-
109uint8_t ARC_ConfigKey_Read_Int64_t(ARC_Config* config, ARC_String *string, void **value){
-
110 ARC_Config_Get(config, string, value);
-
111 if(*value){
-
112 return 1;
-
113 }
-
114
-
115 *value = (int64_t *) malloc(sizeof(int64_t));
-
116 *((int64_t *)(*value)) = (int64_t) ARC_String_ToInt64_t(string);
-
117 return 0;
-
118}
-
119
-
120uint8_t ARC_ConfigKey_Read_Char_t(ARC_Config* config, ARC_String *string, void **value){
-
121 ARC_Config_Get(config, string, value);
-
122 if(*value){
-
123 return 1;
-
124 }
-
125
-
126 if(string->length != 1){
- -
128 return 0;
-
129 }
-
130
-
131 *value = (char *) malloc(sizeof(char));
-
132 *((char *)(*value)) = string->data[0];
-
133 return 0;
-
134}
-
135
-
136uint8_t ARC_ConfigKey_Read_Int(ARC_Config* config, ARC_String *string, void **value){
-
137 ARC_Config_Get(config, string, value);
-
138 if(*value){
-
139 return 1;
-
140 }
-
141
-
142 *value = (int *) malloc(sizeof(int));
-
143 *((int *)(*value)) = (int) ARC_String_ToInt64_t(string);
-
144 return 0;
-
145}
-
146
-
147uint8_t ARC_ConfigKey_Read_Long(ARC_Config* config, ARC_String *string, void **value){
-
148 ARC_Config_Get(config, string, value);
-
149 if(*value){
-
150 return 1;
-
151 }
-
152
-
153 *value = (long *) malloc(sizeof(long));
-
154 *((long *)(*value)) = (long) ARC_String_ToInt64_t(string);
-
155 return 0;
-
156}
-
157
-
158uint8_t ARC_ConfigKey_Read_Float(ARC_Config* config, ARC_String *string, void **value){
-
159 ARC_Config_Get(config, string, value);
-
160 if(*value){
-
161 return 1;
-
162 }
-
163
-
164 *value = (float *) malloc(sizeof(float));
-
165 *((float *)(*value)) = (float) ARC_String_ToDouble(string);
-
166 return 0;
-
167}
-
168
-
169uint8_t ARC_ConfigKey_Read_Double(ARC_Config* config, ARC_String *string, void **value){
-
170 ARC_Config_Get(config, string, value);
-
171 if(*value){
-
172 return 1;
-
173 }
-
174
-
175 *value = (double *) malloc(sizeof(double));
-
176 *((double *)(*value)) = (double) ARC_String_ToDouble(string);
-
177 return 0;
-
178}
-
179
-
180uint8_t ARC_ConfigKey_Read_String(ARC_Config* config, ARC_String *string, void **value){
-
181 ARC_Config_Get(config, string, value);
-
182 if(*value){
-
183 return 1;
-
184 }
-
185
-
186 if(string->data[0] != '"' || string->data[string->length - 1] != '"'){
- -
188 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_ConfigKey_Read_String(config, string, value); no matching quotes: %s", string->data);
-
189 return 0;
-
190 }
-
191
-
192 ARC_String_CopySubstring((ARC_String **)value, string, 1, string->length - 2);
-
193 return 0;
-
194}
-
195
-
196void ARC_ConfigKey_StringArray_ReadString(ARC_Config* config, ARC_String *stripped, uint64_t index, uint64_t length, uint64_t *arrayIndex, void **value){
-
197 ARC_String *substr, *temp;
-
198 ARC_String_CopySubstring(&temp, stripped, index, length);
-
199 ARC_String_StripEndsWhitespace(&substr, temp);
-
200 ARC_String_Destroy(temp);
-
201
-
202 // reading in reference
-
203 ARC_String *tempString;
-
204 // ARC_Config_Get(config, substr, (void **) &tempString);
-
205 // if(tempString){
-
206 // ARC_String_Destroy(substr);
-
207
-
208 // ((ARC_String *)((ARC_Array *) *value)->data)[*arrayIndex] = *tempString;
-
209 // ++*arrayIndex;
-
210
-
211 // return;
-
212 // }
-
213
-
214 //reading in value
-
215 ARC_ConfigKey_Read_String(config, substr, (void **) &tempString);
-
216 if(arc_errno){
-
217 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_RectArray_ReadRect(config, string, index, length, arrayIndex, value); failed to read string: %s", substr->data);
-
218 ARC_String_Destroy(substr);
-
219 return;
-
220 }
-
221
-
222 ((ARC_String **)((ARC_Array *) *value)->data)[*arrayIndex] = tempString;
-
223 ++*arrayIndex;
-
224
-
225 ARC_String_Destroy(substr);
-
226}
-
227
-
228uint8_t ARC_ConfigKey_Read_StringArray(ARC_Config* config, ARC_String *string, void **value){
-
229 ARC_Config_Get(config, string, value);
-
230 if(*value){
-
231 return 1;
-
232 }
-
233
-
234 if(string->data[0] != '{' || string->data[string->length - 1] != '}'){
- -
236 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_ConfigKey_Read_StringArray(config, string, value); no matching curly braces: %s", string->data);
-
237 return 0;
-
238 }
-
239
-
240 ARC_String *temp, *stripped;
-
241 ARC_String_CopySubstring(&temp, string, 1, string->length - 2);
-
242 ARC_String_StripEndsWhitespace(&stripped, temp);
-
243 ARC_String_Destroy(temp);
-
244
-
245 uint64_t arraySize = 1;
-
246 for(uint64_t i = 0; i < stripped->length; i++){
-
247 if(stripped->data[i] == ','){
-
248 arraySize++;
-
249 }
-
250 }
-
251
-
252 *value = malloc(sizeof(ARC_Array));
-
253 ((ARC_Array *) *value)->data = malloc(sizeof(ARC_String *) * arraySize);
-
254 ((ARC_Array *) *value)->size = arraySize;
-
255
-
256 uint64_t index = 0;
-
257 arraySize = 0;
-
258 for(uint64_t i = 0; i < stripped->length; i++){
-
259 if(stripped->data[i] == ','){
-
260 ARC_ConfigKey_StringArray_ReadString(config, stripped, index, i - index, &arraySize, value);
-
261 if(arc_errno){
-
262 return 0;
-
263 }
-
264
-
265 index = i + 1;
-
266
-
267 if(arraySize == ((ARC_Array *) *value)->size){
-
268 break;
-
269 }
-
270 }
-
271 }
-
272
-
273 if(arraySize != ((ARC_Array *) *value)->size){
-
274 ARC_ConfigKey_StringArray_ReadString(config, stripped, index, stripped->length - index, &arraySize, value);
-
275 }
-
276 ARC_String_Destroy(stripped);
-
277 return 0;
-
278}
-
279
-
280
-
281
-
282void ARC_ConfigKey_Delete_Uint8_t(ARC_Config *config, ARC_String *string, void *value){
-
283 free((uint8_t *)value);
-
284}
-
285
-
286void ARC_ConfigKey_Delete_Int8_t(ARC_Config *config, ARC_String *string, void *value){
-
287 free((int8_t *)value);
-
288}
-
289
-
290void ARC_ConfigKey_Delete_Uint16_t(ARC_Config *config, ARC_String *string, void *value){
-
291 free((uint16_t *)value);
-
292}
-
293
-
294void ARC_ConfigKey_Delete_Int16_t(ARC_Config *config, ARC_String *string, void *value){
-
295 free((int16_t *)value);
-
296}
-
297
-
298void ARC_ConfigKey_Delete_Uint32_t(ARC_Config *config, ARC_String *string, void *value){
-
299 free((uint32_t *)value);
-
300}
-
301
-
302void ARC_ConfigKey_Delete_Int32_t(ARC_Config *config, ARC_String *string, void *value){
-
303 free((int32_t *)value);
-
304}
-
305
-
306void ARC_ConfigKey_Delete_Uint64_t(ARC_Config *config, ARC_String *string, void *value){
-
307 free((uint64_t *)value);
-
308}
-
309
-
310void ARC_ConfigKey_Delete_Int64_t(ARC_Config *config, ARC_String *string, void *value){
-
311 free((int64_t *)value);
-
312}
-
313
-
314void ARC_ConfigKey_Delete_Char(ARC_Config *config, ARC_String *string, void *value){
-
315 free((char *)value);
-
316}
-
317
-
318void ARC_ConfigKey_Delete_Int(ARC_Config *config, ARC_String *string, void *value){
-
319 free((int *)value);
-
320}
-
321
-
322void ARC_ConfigKey_Delete_Long(ARC_Config *config, ARC_String *string, void *value){
-
323 free((long *)value);
-
324}
-
325
-
326void ARC_ConfigKey_Delete_Float(ARC_Config *config, ARC_String *string, void *value){
-
327 free((float *)value);
-
328}
-
329
-
330void ARC_ConfigKey_Delete_Double(ARC_Config *config, ARC_String *string, void *value){
-
331 free((double *)value);
-
332}
-
333
-
334void ARC_ConfigKey_Delete_String(ARC_Config *config, ARC_String *string, void *value){
- -
336}
-
337
-
338void ARC_ConfigKey_Delete_StringArray(ARC_Config *config, ARC_String *string, void *value){
-
339 for(uint32_t i = 0; i < ((ARC_Array *)value)->size; i++){
-
340 free(((ARC_String **)((ARC_Array *)value)->data)[i]);
-
341 }
-
342 free((ARC_Array *)value);
-
343}
-
344
-
345#endif //ARC_DEFAULT_CONFIG
- - -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_ERRNO_DATA
Definition errno.h:7
- -
void ARC_Config_AddKeyCString(ARC_Config *config, const char *type, uint64_t length, ARC_ConfigKeyRead keyRead, ARC_ConfigKeyDelete keyDelete)
adds a key from a cstring
Definition config.c:55
-
void ARC_Config_Get(ARC_Config *config, ARC_String *keyname, void **value)
get a value from a given keyname
Definition config.c:124
- -
void ARC_ConfigKey_Delete_Int8_t(ARC_Config *config, ARC_String *string, void *value)
-
void ARC_ConfigKey_Delete_Int32_t(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_ConfigKey_Read_Int64_t(ARC_Config *config, ARC_String *string, void **value)
-
uint8_t ARC_ConfigKey_Read_Float(ARC_Config *config, ARC_String *string, void **value)
-
uint8_t ARC_ConfigKey_Read_Int16_t(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_ConfigKey_Delete_Float(ARC_Config *config, ARC_String *string, void *value)
-
void ARC_ConfigKey_Delete_Uint32_t(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_ConfigKey_Read_Int8_t(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_ConfigKey_Delete_StringArray(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_ConfigKey_Read_Uint16_t(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_ConfigKey_Delete_Int(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_ConfigKey_Read_String(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_ConfigKey_Delete_Double(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_ConfigKey_Read_Uint8_t(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_ConfigKey_Delete_Int64_t(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_ConfigKey_Read_StringArray(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_ConfigKey_Delete_Uint64_t(ARC_Config *config, ARC_String *string, void *value)
-
void ARC_ConfigKey_Delete_Long(ARC_Config *config, ARC_String *string, void *value)
-
void ARC_ConfigKey_Delete_Uint16_t(ARC_Config *config, ARC_String *string, void *value)
-
void ARC_ConfigKey_Delete_String(ARC_Config *config, ARC_String *string, void *value)
-
void ARC_ConfigKey_Delete_Char(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_ConfigKey_Read_Double(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_ConfigKey_Delete_Int16_t(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_ConfigKey_Read_Int32_t(ARC_Config *config, ARC_String *string, void **value)
-
uint8_t ARC_ConfigKey_Read_Long(ARC_Config *config, ARC_String *string, void **value)
-
uint8_t ARC_ConfigKey_Read_Uint32_t(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_Defaults_ConfigKey_Create(ARC_Config *config)
-
uint8_t ARC_ConfigKey_Read_Uint64_t(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_ConfigKey_Delete_Uint8_t(ARC_Config *config, ARC_String *string, void *value)
-
uint8_t ARC_ConfigKey_Read_Int(ARC_Config *config, ARC_String *string, void **value)
- -
uint64_t ARC_String_ToUint64_t(ARC_String *string)
converst substring from string to uint64_t
Definition string.c:218
-
void ARC_String_StripEndsWhitespace(ARC_String **stripped, ARC_String *original)
strips the whitespace from the ends of a string
Definition string.c:437
-
int64_t ARC_String_ToInt64_t(ARC_String *string)
converst substring from string to int64_t
Definition string.c:222
-
void ARC_String_CopySubstring(ARC_String **substring, ARC_String *original, uint64_t start, uint64_t length)
copy a subtring from a givin ARC_String
Definition string.c:72
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
double ARC_String_ToDouble(ARC_String *string)
converst substring from string to double
Definition string.c:226
-
a type that holds an array of data and its size
Definition array.h:13
- -
substring position within a string
Definition string.h:14
-
uint64_t length
Definition string.h:16
-
char * data
Definition string.h:15
-
-
- - - - - - diff --git a/doc/doxygen/html/de/d74/structARC__Chemical.html b/doc/doxygen/html/de/d74/structARC__Chemical.html deleted file mode 100644 index aacf7f0..0000000 --- a/doc/doxygen/html/de/d74/structARC__Chemical.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - - - -Archeus: ARC_Chemical Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_Chemical Struct Reference
-
-
- - - - - - -

-Data Fields

ARC_Parserparser
 
ARC_Hashtablegroups
 
-

Detailed Description

-
-

Definition at line 10 of file chemical.c.

-

Field Documentation

- -

◆ groups

- -
-
- - - - -
ARC_Hashtable* ARC_Chemical::groups
-
- -

Definition at line 13 of file chemical.c.

- -
-
- -

◆ parser

- -
-
- - - - -
ARC_Parser* ARC_Chemical::parser
-
- -

Definition at line 11 of file chemical.c.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/src/std/chemical.c
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/de/d74/structARC__Chemical.js b/doc/doxygen/html/de/d74/structARC__Chemical.js deleted file mode 100644 index 0e1e797..0000000 --- a/doc/doxygen/html/de/d74/structARC__Chemical.js +++ /dev/null @@ -1,5 +0,0 @@ -var structARC__Chemical = -[ - [ "groups", "de/d74/structARC__Chemical.html#af03c39a4d871a0b537ed4bbe275d417c", null ], - [ "parser", "de/d74/structARC__Chemical.html#aec6cd9fdf843ecc7b381c0ccbf3a5231", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/de/d89/renderer_8c.html b/doc/doxygen/html/de/d89/renderer_8c.html deleted file mode 100644 index be2d466..0000000 --- a/doc/doxygen/html/de/d89/renderer_8c.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/renderer.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
renderer.c File Reference
-
- - - -
- - diff --git a/doc/doxygen/html/de/d89/renderer_8c_source.html b/doc/doxygen/html/de/d89/renderer_8c_source.html deleted file mode 100644 index 47e95d6..0000000 --- a/doc/doxygen/html/de/d89/renderer_8c_source.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/renderer.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
renderer.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_GRAPHICS
-
2
- -
4#include <stdio.h>
-
5
- -
7 printf("No Graphics Backend Selected\n");
-
8}
-
9
- -
11 printf("No Graphics Backend Selected\n");
-
12}
-
13
-
14void ARC_Renderer_Clear(ARC_Renderer *renderer){
-
15 printf("No Graphics Backend Selected\n");
-
16}
-
17
-
18void ARC_Renderer_Render(ARC_Renderer *renderer){
-
19 printf("No Graphics Backend Selected\n");
-
20}
-
21
-
22#endif // !ARC_NONE_GRAPHICS
- -
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
-
void ARC_Renderer_CreateWithEngineData(ARC_Renderer **renderer, ARC_EngineData *data)
creates ARC_Renderer type with ARC_EngineData
-
void ARC_Renderer_Clear(ARC_Renderer *renderer)
-
void ARC_Renderer_Destroy(ARC_Renderer *renderer)
destroys ARC_Renderer type
-
void ARC_Renderer_Render(ARC_Renderer *renderer)
renders the renderer
- -
- - -
- - diff --git a/doc/doxygen/html/de/d8a/src_2math_2config_8c.html b/doc/doxygen/html/de/d8a/src_2math_2config_8c.html deleted file mode 100644 index 0a0108d..0000000 --- a/doc/doxygen/html/de/d8a/src_2math_2config_8c.html +++ /dev/null @@ -1,732 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/math/config.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
config.c File Reference
-
-
-
#include "arc/math/config.h"
-#include <stdio.h>
-#include <stdlib.h>
-#include "arc/std/array.h"
-#include "arc/std/string.h"
-#include "arc/std/errno.h"
-#include "arc/std/config.h"
-#include "arc/math/point.h"
-#include "arc/math/rectangle.h"
-#include "arc/std/defaults/config.h"
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_MathConfig_Init (ARC_Config *config)
 
uint64_t ARC_MathConfig_GetIndexAndErrorCheck (ARC_String *string, char *search, uint64_t searchLength)
 
uint8_t ARC_Point_Read (ARC_Config *config, ARC_String *string, void **value)
 
uint8_t ARC_Rect_Read (ARC_Config *config, ARC_String *string, void **value)
 
void ARC_RectArray_ReadRect (ARC_Config *config, ARC_String *stripped, uint64_t index, uint64_t length, uint64_t *arrayIndex, void **value)
 
uint8_t ARC_RectArray_Read (ARC_Config *config, ARC_String *string, void **value)
 
void ARC_Point_Delete (ARC_Config *config, ARC_String *string, void *value)
 
void ARC_Rect_Delete (ARC_Config *config, ARC_String *string, void *value)
 
void ARC_RectArray_Delete (ARC_Config *config, ARC_String *string, void *value)
 
-

Function Documentation

- -

◆ ARC_MathConfig_GetIndexAndErrorCheck()

- -
-
- - - - - - - - - - - - - - - - -
uint64_t ARC_MathConfig_GetIndexAndErrorCheck (ARC_String * string,
char * search,
uint64_t searchLength )
-
- -

Definition at line 20 of file config.c.

-
20 {
-
21 uint64_t separator = ARC_String_FindCString(string, ",", 1);
-
22
-
23 if(separator == ~(uint64_t)0){
- -
25 }
-
26
-
27 return separator;
-
28}
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_DATA
Definition errno.h:7
-
uint64_t ARC_String_FindCString(ARC_String *string, const char *cstring, uint64_t length)
takes given cstring and gives position of first matching
Definition string.c:252
-
-

References arc_errno, ARC_ERRNO_DATA, and ARC_String_FindCString().

- -

Referenced by ARC_Point_Read(), and ARC_Rect_Read().

- -
-
- -

◆ ARC_MathConfig_Init()

- -
-
- - - - - - - -
void ARC_MathConfig_Init (ARC_Config * config)
-
- -

Definition at line 14 of file config.c.

-
14 {
-
15 ARC_Config_AddKeyCString(config, (char *)"ARC_Point" , 9, ARC_Point_Read , ARC_Point_Delete );
-
16 ARC_Config_AddKeyCString(config, (char *)"ARC_Rect" , 8, ARC_Rect_Read , ARC_Rect_Delete );
-
17 ARC_Config_AddKeyCString(config, (char *)"ARC_Rect[]", 10, ARC_RectArray_Read, ARC_RectArray_Delete);
-
18}
-
uint8_t ARC_RectArray_Read(ARC_Config *config, ARC_String *string, void **value)
Definition config.c:183
-
uint8_t ARC_Point_Read(ARC_Config *config, ARC_String *string, void **value)
Definition config.c:30
-
void ARC_RectArray_Delete(ARC_Config *config, ARC_String *string, void *value)
Definition config.c:273
-
void ARC_Rect_Delete(ARC_Config *config, ARC_String *string, void *value)
Definition config.c:269
-
void ARC_Point_Delete(ARC_Config *config, ARC_String *string, void *value)
Definition config.c:265
-
uint8_t ARC_Rect_Read(ARC_Config *config, ARC_String *string, void **value)
Definition config.c:62
-
void ARC_Config_AddKeyCString(ARC_Config *config, const char *type, uint64_t length, ARC_ConfigKeyRead keyRead, ARC_ConfigKeyDelete keyDelete)
adds a key from a cstring
Definition config.c:55
-
-

References ARC_Config_AddKeyCString(), ARC_Point_Delete(), ARC_Point_Read(), ARC_Rect_Delete(), ARC_Rect_Read(), ARC_RectArray_Delete(), and ARC_RectArray_Read().

- -
-
- -

◆ ARC_Point_Delete()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Point_Delete (ARC_Config * config,
ARC_String * string,
void * value )
-
- -

Definition at line 265 of file config.c.

-
265 {
-
266 free((ARC_Point *)value);
-
267}
- -
-

Referenced by ARC_MathConfig_Init().

- -
-
- -

◆ ARC_Point_Read()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_Point_Read (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -

Definition at line 30 of file config.c.

-
30 {
-
31 ARC_Config_Get(config, string, value);
-
32 if(*value){
-
33 return 1;
-
34 }
-
35
-
36 if(string->data[0] != '{' || string->data[string->length - 1] != '}'){
-
37 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_Point_Read(config, string, value); no matching curly braces: %s", string->data);
- -
39 return 0;
-
40 }
-
41
-
42 uint64_t separator = ARC_MathConfig_GetIndexAndErrorCheck(string, ",", 1);
-
43 if(arc_errno){
-
44 return 0;
-
45 }
-
46
-
47 ARC_String *xString, *yString;
-
48 ARC_String_CopySubstring(&xString, string, 1 , separator - 1 );
-
49 ARC_String_CopySubstring(&yString, string, separator + 1, string->length - (separator + 2));
-
50
-
51 ARC_Point *point = (ARC_Point *)malloc(sizeof(ARC_Point));
-
52 point->x = (int32_t)ARC_String_ToInt64_t(xString);
-
53 point->y = (int32_t)ARC_String_ToInt64_t(yString);
-
54
-
55 ARC_String_Destroy(xString);
-
56 ARC_String_Destroy(yString);
-
57
-
58 *value = point;
-
59 return 0;
-
60}
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
uint64_t ARC_MathConfig_GetIndexAndErrorCheck(ARC_String *string, char *search, uint64_t searchLength)
Definition config.c:20
-
void ARC_Config_Get(ARC_Config *config, ARC_String *keyname, void **value)
get a value from a given keyname
Definition config.c:124
-
int64_t ARC_String_ToInt64_t(ARC_String *string)
converst substring from string to int64_t
Definition string.c:222
-
void ARC_String_CopySubstring(ARC_String **substring, ARC_String *original, uint64_t start, uint64_t length)
copy a subtring from a givin ARC_String
Definition string.c:72
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
int32_t y
Definition point.h:12
-
int32_t x
Definition point.h:11
-
substring position within a string
Definition string.h:14
-
uint64_t length
Definition string.h:16
-
char * data
Definition string.h:15
-
-

References ARC_Config_Get(), ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_DATA, ARC_MathConfig_GetIndexAndErrorCheck(), ARC_String_CopySubstring(), ARC_String_Destroy(), ARC_String_ToInt64_t(), ARC_String::data, ARC_String::length, ARC_Point::x, and ARC_Point::y.

- -

Referenced by ARC_MathConfig_Init().

- -
-
- -

◆ ARC_Rect_Delete()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Rect_Delete (ARC_Config * config,
ARC_String * string,
void * value )
-
- -

Definition at line 269 of file config.c.

-
269 {
-
270 free((ARC_Rect *)value);
-
271}
- -
-

Referenced by ARC_MathConfig_Init(), and ARC_RectArray_ReadRect().

- -
-
- -

◆ ARC_Rect_Read()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_Rect_Read (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -

Definition at line 62 of file config.c.

-
62 {
-
63 ARC_Config_Get(config, string, value);
-
64 if(*value){
-
65 return 1;
-
66 }
-
67
-
68 if(string->data[0] != '{' || string->data[string->length - 1] != '}'){
- -
70 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_Rect_Read(config, string, value); no matching curly braces: %s", string->data);
-
71 return 0;
-
72 }
-
73
-
74 ARC_String *current;
-
75 ARC_String_CopySubstring(&current, string, 1, string->length - 2);
-
76
-
77 ARC_String *temp, *tempStripped;
-
78 int32_t x, y, w, h;
-
79 int64_t separator;
-
80
-
81 //x
-
82 separator = ARC_MathConfig_GetIndexAndErrorCheck(current, ",", 1);
-
83 if(arc_errno){
-
84 return 0;
-
85 }
-
86
-
87 ARC_String_CopySubstring(&temp, current, 0, separator - 1);
-
88 ARC_String_StripEndsWhitespace(&tempStripped, temp);
-
89 x = ARC_String_ToInt64_t(tempStripped);
- -
91 ARC_String_Destroy(tempStripped);
-
92
-
93 temp = current;
-
94 ARC_String_CopySubstring(&current, temp, separator + 1, temp->length - (separator + 1));
- -
96
-
97 //y
-
98 separator = ARC_MathConfig_GetIndexAndErrorCheck(current, ",", 1);
-
99 if(arc_errno){
-
100 return 0;
-
101 }
-
102
-
103 ARC_String_CopySubstring(&temp, current, 0, separator - 1);
-
104 ARC_String_StripEndsWhitespace(&tempStripped, temp);
-
105 y = ARC_String_ToInt64_t(tempStripped);
-
106 ARC_String_Destroy(temp);
-
107 ARC_String_Destroy(tempStripped);
-
108
-
109 temp = current;
-
110 ARC_String_CopySubstring(&current, temp, separator + 1, temp->length - (separator + 1));
-
111 ARC_String_Destroy(temp);
-
112
-
113 //w
-
114 separator = ARC_MathConfig_GetIndexAndErrorCheck(current, ",", 1);
-
115 if(arc_errno){
-
116 return 0;
-
117 }
-
118
-
119 ARC_String_CopySubstring(&temp, current, 0, separator - 1);
-
120 ARC_String_StripEndsWhitespace(&tempStripped, temp);
-
121 w = ARC_String_ToInt64_t(tempStripped);
-
122 ARC_String_Destroy(temp);
-
123 ARC_String_Destroy(tempStripped);
-
124
-
125 temp = current;
-
126 ARC_String_CopySubstring(&current, temp, separator + 1, temp->length - (separator + 1));
-
127 ARC_String_Destroy(temp);
-
128
-
129 //h
-
130 separator = current->length;
-
131 if(arc_errno){
-
132 return 0;
-
133 }
-
134
-
135 ARC_String_CopySubstring(&temp, current, 0, separator);
-
136 ARC_String_StripEndsWhitespace(&tempStripped, temp);
-
137 h = ARC_String_ToInt64_t(tempStripped);
-
138 ARC_String_Destroy(temp);
-
139 ARC_String_Destroy(tempStripped);
-
140 ARC_String_Destroy(current);
-
141
-
142 *value = malloc(sizeof(ARC_Rect));
-
143 ((ARC_Rect *) *value)->x = x;
-
144 ((ARC_Rect *) *value)->y = y;
-
145 ((ARC_Rect *) *value)->w = w;
-
146 ((ARC_Rect *) *value)->h = h;
-
147 return 0;
-
148}
-
void ARC_String_StripEndsWhitespace(ARC_String **stripped, ARC_String *original)
strips the whitespace from the ends of a string
Definition string.c:437
-
-

References ARC_Config_Get(), ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_DATA, ARC_MathConfig_GetIndexAndErrorCheck(), ARC_String_CopySubstring(), ARC_String_Destroy(), ARC_String_StripEndsWhitespace(), ARC_String_ToInt64_t(), ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_MathConfig_Init(), and ARC_RectArray_ReadRect().

- -
-
- -

◆ ARC_RectArray_Delete()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_RectArray_Delete (ARC_Config * config,
ARC_String * string,
void * value )
-
- -

Definition at line 273 of file config.c.

-
273 {
-
274 //TODO free value->data
-
275 free((ARC_Array *)value);
-
276}
-
a type that holds an array of data and its size
Definition array.h:13
-
-

Referenced by ARC_MathConfig_Init().

- -
-
- -

◆ ARC_RectArray_Read()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_RectArray_Read (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -

Definition at line 183 of file config.c.

-
183 {
-
184 ARC_Config_Get(config, string, value);
-
185 if(*value){
-
186 return 1;
-
187 }
-
188
-
189 if(string->data[0] != '{' || string->data[string->length - 1] != '}'){
- -
191 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_RectArray_Read(config, string, value); no matching curly braces: %s", string->data);
-
192 return 0;
-
193 }
-
194
-
195 ARC_String *temp, *stripped;
-
196 ARC_String_CopySubstring(&temp, string, 1, string->length - 2);
-
197 ARC_String_StripEndsWhitespace(&stripped, temp);
-
198 ARC_String_Destroy(temp);
-
199
-
200 uint64_t arraySize = 1;
-
201 int64_t encapsulated = 0;
-
202 for(uint64_t i = 0; i < stripped->length; i++){
-
203 if(stripped->data[i] == '{'){
-
204 encapsulated++;
-
205 continue;
-
206 }
-
207
-
208 if(stripped->data[i] == '}'){
-
209 encapsulated--;
-
210 continue;
-
211 }
-
212
-
213 if(!encapsulated && stripped->data[i] == ','){
-
214 arraySize++;
-
215 }
-
216 }
-
217
-
218 if(encapsulated){
- -
220 //TODO: Fix this for windows SMFH
-
221 // ARC_DEBUG_LOG(arc_errno, "in ARC_RectArray_Read(config, data, subdata, value); after looping encapsulated was %ld", encapsulated);
-
222 ARC_String_Destroy(stripped);
-
223 return 0;
-
224 }
-
225
-
226 *value = malloc(sizeof(ARC_Array));
-
227 ((ARC_Array *) *value)->data = malloc(sizeof(ARC_Rect) * arraySize);
-
228 ((ARC_Array *) *value)->size = arraySize;
-
229
-
230 uint64_t index = 0;
-
231 arraySize = 0;
-
232 encapsulated = 0;
-
233 for(uint64_t i = 0; i < stripped->length; i++){
-
234 if(stripped->data[i] == '{'){
-
235 encapsulated++;
-
236 continue;
-
237 }
-
238
-
239 if(stripped->data[i] == '}'){
-
240 encapsulated--;
-
241 continue;
-
242 }
-
243
-
244 if(!encapsulated && stripped->data[i] == ','){
-
245 ARC_RectArray_ReadRect(config, stripped, index, i - index, &arraySize, value);
-
246 if(arc_errno){
-
247 return 0;
-
248 }
-
249
-
250 index = i + 1;
-
251
-
252 if(arraySize == ((ARC_Array *) *value)->size){
-
253 break;
-
254 }
-
255 }
-
256 }
-
257
-
258 if(arraySize != ((ARC_Array *) *value)->size){
-
259 ARC_RectArray_ReadRect(config, stripped, index, stripped->length - index, &arraySize, value);
-
260 }
-
261 ARC_String_Destroy(stripped);
-
262 return 0;
-
263}
-
void ARC_RectArray_ReadRect(ARC_Config *config, ARC_String *stripped, uint64_t index, uint64_t length, uint64_t *arrayIndex, void **value)
Definition config.c:150
-
-

References ARC_Config_Get(), ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_DATA, ARC_RectArray_ReadRect(), ARC_String_CopySubstring(), ARC_String_Destroy(), ARC_String_StripEndsWhitespace(), ARC_String::data, and ARC_String::length.

- -

Referenced by ARC_MathConfig_Init(), and ARC_Sprite_Read().

- -
-
- -

◆ ARC_RectArray_ReadRect()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void ARC_RectArray_ReadRect (ARC_Config * config,
ARC_String * stripped,
uint64_t index,
uint64_t length,
uint64_t * arrayIndex,
void ** value )
-
- -

Definition at line 150 of file config.c.

-
150 {
-
151 ARC_String *substr, *temp;
-
152 ARC_String_CopySubstring(&temp, stripped, index, length);
-
153 ARC_String_StripEndsWhitespace(&substr, temp);
-
154 ARC_String_Destroy(temp);
-
155
-
156 // reading in reference
-
157 ARC_Rect *tempRect;
-
158 ARC_Config_Get(config, substr, (void **) &tempRect);
-
159 if(tempRect){
-
160 ARC_String_Destroy(substr);
-
161
-
162 ((ARC_Rect *)((ARC_Array *) *value)->data)[*arrayIndex] = *tempRect;
-
163 ++*arrayIndex;
-
164
-
165 return;
-
166 }
-
167
-
168 //reading in value
-
169 ARC_Rect_Read(config, substr, (void **) &tempRect);
-
170 if(arc_errno){
-
171 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_RectArray_ReadRect(config, string, index, length, arrayIndex, value); failed to read rect: %s", substr->data);
-
172 ARC_String_Destroy(substr);
-
173 return;
-
174 }
-
175
-
176 ((ARC_Rect *)((ARC_Array *) *value)->data)[*arrayIndex] = *tempRect;
-
177 ++*arrayIndex;
-
178
-
179 ARC_Rect_Delete(config, substr, (void *)tempRect);
-
180 ARC_String_Destroy(substr);
-
181}
-
-

References ARC_Config_Get(), ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_Rect_Delete(), ARC_Rect_Read(), ARC_String_CopySubstring(), ARC_String_Destroy(), ARC_String_StripEndsWhitespace(), and ARC_String::data.

- -

Referenced by ARC_RectArray_Read().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/de/d8a/src_2math_2config_8c.js b/doc/doxygen/html/de/d8a/src_2math_2config_8c.js deleted file mode 100644 index c5cfa32..0000000 --- a/doc/doxygen/html/de/d8a/src_2math_2config_8c.js +++ /dev/null @@ -1,12 +0,0 @@ -var src_2math_2config_8c = -[ - [ "ARC_MathConfig_GetIndexAndErrorCheck", "de/d8a/src_2math_2config_8c.html#a61a458e0eeeb9614d0802da7577f3436", null ], - [ "ARC_MathConfig_Init", "de/d8a/src_2math_2config_8c.html#a12f2d47aa2105350319de4e055b20277", null ], - [ "ARC_Point_Delete", "de/d8a/src_2math_2config_8c.html#ad13aa1159a8582aeb83d15945d1e5e74", null ], - [ "ARC_Point_Read", "de/d8a/src_2math_2config_8c.html#a2e97769e1aa3fc24a25b5dd4dc7fc641", null ], - [ "ARC_Rect_Delete", "de/d8a/src_2math_2config_8c.html#a6d7312208f5682f3a192babb111ca69f", null ], - [ "ARC_Rect_Read", "de/d8a/src_2math_2config_8c.html#af38ac2494f7efa68ebfc7ed682058fb6", null ], - [ "ARC_RectArray_Delete", "de/d8a/src_2math_2config_8c.html#a4abf90210167775903b4dcfa9c27e55b", null ], - [ "ARC_RectArray_Read", "de/d8a/src_2math_2config_8c.html#a82205ff4afb8ca851cb0e8d0ad28c25f", null ], - [ "ARC_RectArray_ReadRect", "de/d8a/src_2math_2config_8c.html#a6d88098418fd6d9de4b7a662ab956f72", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/de/d8a/src_2math_2config_8c_source.html b/doc/doxygen/html/de/d8a/src_2math_2config_8c_source.html deleted file mode 100644 index 98d4548..0000000 --- a/doc/doxygen/html/de/d8a/src_2math_2config_8c_source.html +++ /dev/null @@ -1,458 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/math/config.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c
-
-
-Go to the documentation of this file.
1#include "arc/math/config.h"
-
2#include <stdio.h>
-
3#include <stdlib.h>
-
4#include "arc/std/array.h"
-
5#include "arc/std/string.h"
-
6#include "arc/std/errno.h"
-
7#include "arc/std/config.h"
-
8#include "arc/math/point.h"
- -
10
-
11// #define ARC_DEFAULT_CONFIG
- -
13
-
- -
15 ARC_Config_AddKeyCString(config, (char *)"ARC_Point" , 9, ARC_Point_Read , ARC_Point_Delete );
-
16 ARC_Config_AddKeyCString(config, (char *)"ARC_Rect" , 8, ARC_Rect_Read , ARC_Rect_Delete );
-
17 ARC_Config_AddKeyCString(config, (char *)"ARC_Rect[]", 10, ARC_RectArray_Read, ARC_RectArray_Delete);
-
18}
-
-
19
-
-
20uint64_t ARC_MathConfig_GetIndexAndErrorCheck(ARC_String *string, char *search, uint64_t searchLength){
-
21 uint64_t separator = ARC_String_FindCString(string, ",", 1);
-
22
-
23 if(separator == ~(uint64_t)0){
- -
25 }
-
26
-
27 return separator;
-
28}
-
-
29
-
-
30uint8_t ARC_Point_Read(ARC_Config *config, ARC_String *string, void **value){
-
31 ARC_Config_Get(config, string, value);
-
32 if(*value){
-
33 return 1;
-
34 }
-
35
-
36 if(string->data[0] != '{' || string->data[string->length - 1] != '}'){
-
37 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_Point_Read(config, string, value); no matching curly braces: %s", string->data);
- -
39 return 0;
-
40 }
-
41
-
42 uint64_t separator = ARC_MathConfig_GetIndexAndErrorCheck(string, ",", 1);
-
43 if(arc_errno){
-
44 return 0;
-
45 }
-
46
-
47 ARC_String *xString, *yString;
-
48 ARC_String_CopySubstring(&xString, string, 1 , separator - 1 );
-
49 ARC_String_CopySubstring(&yString, string, separator + 1, string->length - (separator + 2));
-
50
-
51 ARC_Point *point = (ARC_Point *)malloc(sizeof(ARC_Point));
-
52 point->x = (int32_t)ARC_String_ToInt64_t(xString);
-
53 point->y = (int32_t)ARC_String_ToInt64_t(yString);
-
54
-
55 ARC_String_Destroy(xString);
-
56 ARC_String_Destroy(yString);
-
57
-
58 *value = point;
-
59 return 0;
-
60}
-
-
61
-
-
62uint8_t ARC_Rect_Read(ARC_Config *config, ARC_String *string, void **value){
-
63 ARC_Config_Get(config, string, value);
-
64 if(*value){
-
65 return 1;
-
66 }
-
67
-
68 if(string->data[0] != '{' || string->data[string->length - 1] != '}'){
- -
70 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_Rect_Read(config, string, value); no matching curly braces: %s", string->data);
-
71 return 0;
-
72 }
-
73
-
74 ARC_String *current;
-
75 ARC_String_CopySubstring(&current, string, 1, string->length - 2);
-
76
-
77 ARC_String *temp, *tempStripped;
-
78 int32_t x, y, w, h;
-
79 int64_t separator;
-
80
-
81 //x
-
82 separator = ARC_MathConfig_GetIndexAndErrorCheck(current, ",", 1);
-
83 if(arc_errno){
-
84 return 0;
-
85 }
-
86
-
87 ARC_String_CopySubstring(&temp, current, 0, separator - 1);
-
88 ARC_String_StripEndsWhitespace(&tempStripped, temp);
-
89 x = ARC_String_ToInt64_t(tempStripped);
- -
91 ARC_String_Destroy(tempStripped);
-
92
-
93 temp = current;
-
94 ARC_String_CopySubstring(&current, temp, separator + 1, temp->length - (separator + 1));
- -
96
-
97 //y
-
98 separator = ARC_MathConfig_GetIndexAndErrorCheck(current, ",", 1);
-
99 if(arc_errno){
-
100 return 0;
-
101 }
-
102
-
103 ARC_String_CopySubstring(&temp, current, 0, separator - 1);
-
104 ARC_String_StripEndsWhitespace(&tempStripped, temp);
-
105 y = ARC_String_ToInt64_t(tempStripped);
-
106 ARC_String_Destroy(temp);
-
107 ARC_String_Destroy(tempStripped);
-
108
-
109 temp = current;
-
110 ARC_String_CopySubstring(&current, temp, separator + 1, temp->length - (separator + 1));
-
111 ARC_String_Destroy(temp);
-
112
-
113 //w
-
114 separator = ARC_MathConfig_GetIndexAndErrorCheck(current, ",", 1);
-
115 if(arc_errno){
-
116 return 0;
-
117 }
-
118
-
119 ARC_String_CopySubstring(&temp, current, 0, separator - 1);
-
120 ARC_String_StripEndsWhitespace(&tempStripped, temp);
-
121 w = ARC_String_ToInt64_t(tempStripped);
-
122 ARC_String_Destroy(temp);
-
123 ARC_String_Destroy(tempStripped);
-
124
-
125 temp = current;
-
126 ARC_String_CopySubstring(&current, temp, separator + 1, temp->length - (separator + 1));
-
127 ARC_String_Destroy(temp);
-
128
-
129 //h
-
130 separator = current->length;
-
131 if(arc_errno){
-
132 return 0;
-
133 }
-
134
-
135 ARC_String_CopySubstring(&temp, current, 0, separator);
-
136 ARC_String_StripEndsWhitespace(&tempStripped, temp);
-
137 h = ARC_String_ToInt64_t(tempStripped);
-
138 ARC_String_Destroy(temp);
-
139 ARC_String_Destroy(tempStripped);
-
140 ARC_String_Destroy(current);
-
141
-
142 *value = malloc(sizeof(ARC_Rect));
-
143 ((ARC_Rect *) *value)->x = x;
-
144 ((ARC_Rect *) *value)->y = y;
-
145 ((ARC_Rect *) *value)->w = w;
-
146 ((ARC_Rect *) *value)->h = h;
-
147 return 0;
-
148}
-
-
149
-
-
150void ARC_RectArray_ReadRect(ARC_Config* config, ARC_String *stripped, uint64_t index, uint64_t length, uint64_t *arrayIndex, void **value){
-
151 ARC_String *substr, *temp;
-
152 ARC_String_CopySubstring(&temp, stripped, index, length);
-
153 ARC_String_StripEndsWhitespace(&substr, temp);
-
154 ARC_String_Destroy(temp);
-
155
-
156 // reading in reference
-
157 ARC_Rect *tempRect;
-
158 ARC_Config_Get(config, substr, (void **) &tempRect);
-
159 if(tempRect){
-
160 ARC_String_Destroy(substr);
-
161
-
162 ((ARC_Rect *)((ARC_Array *) *value)->data)[*arrayIndex] = *tempRect;
-
163 ++*arrayIndex;
-
164
-
165 return;
-
166 }
-
167
-
168 //reading in value
-
169 ARC_Rect_Read(config, substr, (void **) &tempRect);
-
170 if(arc_errno){
-
171 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_RectArray_ReadRect(config, string, index, length, arrayIndex, value); failed to read rect: %s", substr->data);
-
172 ARC_String_Destroy(substr);
-
173 return;
-
174 }
-
175
-
176 ((ARC_Rect *)((ARC_Array *) *value)->data)[*arrayIndex] = *tempRect;
-
177 ++*arrayIndex;
-
178
-
179 ARC_Rect_Delete(config, substr, (void *)tempRect);
-
180 ARC_String_Destroy(substr);
-
181}
-
-
182
-
-
183uint8_t ARC_RectArray_Read(ARC_Config* config, ARC_String *string, void **value){
-
184 ARC_Config_Get(config, string, value);
-
185 if(*value){
-
186 return 1;
-
187 }
-
188
-
189 if(string->data[0] != '{' || string->data[string->length - 1] != '}'){
- -
191 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("in ARC_RectArray_Read(config, string, value); no matching curly braces: %s", string->data);
-
192 return 0;
-
193 }
-
194
-
195 ARC_String *temp, *stripped;
-
196 ARC_String_CopySubstring(&temp, string, 1, string->length - 2);
-
197 ARC_String_StripEndsWhitespace(&stripped, temp);
-
198 ARC_String_Destroy(temp);
-
199
-
200 uint64_t arraySize = 1;
-
201 int64_t encapsulated = 0;
-
202 for(uint64_t i = 0; i < stripped->length; i++){
-
203 if(stripped->data[i] == '{'){
-
204 encapsulated++;
-
205 continue;
-
206 }
-
207
-
208 if(stripped->data[i] == '}'){
-
209 encapsulated--;
-
210 continue;
-
211 }
-
212
-
213 if(!encapsulated && stripped->data[i] == ','){
-
214 arraySize++;
-
215 }
-
216 }
-
217
-
218 if(encapsulated){
- -
220 //TODO: Fix this for windows SMFH
-
221 // ARC_DEBUG_LOG(arc_errno, "in ARC_RectArray_Read(config, data, subdata, value); after looping encapsulated was %ld", encapsulated);
-
222 ARC_String_Destroy(stripped);
-
223 return 0;
-
224 }
-
225
-
226 *value = malloc(sizeof(ARC_Array));
-
227 ((ARC_Array *) *value)->data = malloc(sizeof(ARC_Rect) * arraySize);
-
228 ((ARC_Array *) *value)->size = arraySize;
-
229
-
230 uint64_t index = 0;
-
231 arraySize = 0;
-
232 encapsulated = 0;
-
233 for(uint64_t i = 0; i < stripped->length; i++){
-
234 if(stripped->data[i] == '{'){
-
235 encapsulated++;
-
236 continue;
-
237 }
-
238
-
239 if(stripped->data[i] == '}'){
-
240 encapsulated--;
-
241 continue;
-
242 }
-
243
-
244 if(!encapsulated && stripped->data[i] == ','){
-
245 ARC_RectArray_ReadRect(config, stripped, index, i - index, &arraySize, value);
-
246 if(arc_errno){
-
247 return 0;
-
248 }
-
249
-
250 index = i + 1;
-
251
-
252 if(arraySize == ((ARC_Array *) *value)->size){
-
253 break;
-
254 }
-
255 }
-
256 }
-
257
-
258 if(arraySize != ((ARC_Array *) *value)->size){
-
259 ARC_RectArray_ReadRect(config, stripped, index, stripped->length - index, &arraySize, value);
-
260 }
-
261 ARC_String_Destroy(stripped);
-
262 return 0;
-
263}
-
-
264
-
-
265void ARC_Point_Delete(ARC_Config* config, ARC_String *string, void *value){
-
266 free((ARC_Point *)value);
-
267}
-
-
268
-
-
269void ARC_Rect_Delete(ARC_Config* config, ARC_String *string, void *value){
-
270 free((ARC_Rect *)value);
-
271}
-
-
272
-
-
273void ARC_RectArray_Delete(ARC_Config* config, ARC_String *string, void *value){
-
274 //TODO free value->data
-
275 free((ARC_Array *)value);
-
276}
-
- - -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_ERRNO_DATA
Definition errno.h:7
- -
uint8_t ARC_RectArray_Read(ARC_Config *config, ARC_String *string, void **value)
Definition config.c:183
- - -
void ARC_MathConfig_Init(ARC_Config *config)
Definition config.c:14
-
uint8_t ARC_Point_Read(ARC_Config *config, ARC_String *string, void **value)
Definition config.c:30
-
void ARC_RectArray_Delete(ARC_Config *config, ARC_String *string, void *value)
Definition config.c:273
-
uint64_t ARC_MathConfig_GetIndexAndErrorCheck(ARC_String *string, char *search, uint64_t searchLength)
Definition config.c:20
-
void ARC_Rect_Delete(ARC_Config *config, ARC_String *string, void *value)
Definition config.c:269
-
void ARC_RectArray_ReadRect(ARC_Config *config, ARC_String *stripped, uint64_t index, uint64_t length, uint64_t *arrayIndex, void **value)
Definition config.c:150
-
void ARC_Point_Delete(ARC_Config *config, ARC_String *string, void *value)
Definition config.c:265
-
uint8_t ARC_Rect_Read(ARC_Config *config, ARC_String *string, void **value)
Definition config.c:62
- -
void ARC_Config_AddKeyCString(ARC_Config *config, const char *type, uint64_t length, ARC_ConfigKeyRead keyRead, ARC_ConfigKeyDelete keyDelete)
adds a key from a cstring
Definition config.c:55
-
void ARC_Config_Get(ARC_Config *config, ARC_String *keyname, void **value)
get a value from a given keyname
Definition config.c:124
- - -
void ARC_String_StripEndsWhitespace(ARC_String **stripped, ARC_String *original)
strips the whitespace from the ends of a string
Definition string.c:437
-
int64_t ARC_String_ToInt64_t(ARC_String *string)
converst substring from string to int64_t
Definition string.c:222
-
void ARC_String_CopySubstring(ARC_String **substring, ARC_String *original, uint64_t start, uint64_t length)
copy a subtring from a givin ARC_String
Definition string.c:72
-
uint64_t ARC_String_FindCString(ARC_String *string, const char *cstring, uint64_t length)
takes given cstring and gives position of first matching
Definition string.c:252
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
a type that holds an array of data and its size
Definition array.h:13
- - -
int32_t y
Definition point.h:12
-
int32_t x
Definition point.h:11
- -
substring position within a string
Definition string.h:14
-
uint64_t length
Definition string.h:16
-
char * data
Definition string.h:15
-
-
- - - - - - diff --git a/doc/doxygen/html/de/d95/packages_2graphics_2opengl_2sprite_8c.html b/doc/doxygen/html/de/d95/packages_2graphics_2opengl_2sprite_8c.html deleted file mode 100644 index f7d41bd..0000000 --- a/doc/doxygen/html/de/d95/packages_2graphics_2opengl_2sprite_8c.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/opengl/sprite.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
sprite.c File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/de/d95/packages_2graphics_2opengl_2sprite_8c_source.html b/doc/doxygen/html/de/d95/packages_2graphics_2opengl_2sprite_8c_source.html deleted file mode 100644 index 95a054e..0000000 --- a/doc/doxygen/html/de/d95/packages_2graphics_2opengl_2sprite_8c_source.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/opengl/sprite.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
sprite.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_OPENGL_GRAPHICS
- -
3#include "arc/math/point.h"
- -
5#include <stdlib.h>
-
6
-
7void ARC_Sprite_Create(ARC_Sprite **sprite, ARC_Spritesheet *spritesheet, ARC_Array *frames){
-
8}
-
9
-
10void ARC_Sprite_Destroy(ARC_Sprite *sprite){
-
11}
-
12
-
13void ARC_Sprite_Copy(ARC_Sprite **newSprite, ARC_Sprite *oldSprite){
-
14}
-
15
-
16void ARC_Sprite_Render(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds){
-
17}
-
18
-
19void ARC_Sprite_RenderRotated(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, ARC_Point *center, double angle){
-
20}
-
21
- -
23}
-
24
- -
26 return NULL;
-
27}
-
28
-
29#endif // ARC_OPENGL_GRAPHICS
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- -
void ARC_Sprite_Render(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds)
renders ARC_Sprite type
Definition sprite.c:36
-
void ARC_Sprite_Create(ARC_Sprite **sprite, ARC_Spritesheet *spritesheet, ARC_Array *frames)
creates ARC_Sprite type
Definition sprite.c:11
-
void ARC_Sprite_Destroy(ARC_Sprite *sprite)
destroys ARC_Sprite type
Definition sprite.c:20
-
void ARC_Sprite_RenderRotated(ARC_Sprite *sprite, ARC_Renderer *renderer, ARC_Rect *renderBounds, ARC_Point *center, double angle)
renders ARC_Sprite type with rotation
Definition sprite.c:57
-
ARC_Rect * ARC_Sprite_GetBounds(ARC_Sprite *sprite)
returns the current bounds based on the ARC_Sprite's frames
Definition sprite.c:84
-
void ARC_Sprite_Copy(ARC_Sprite **newSprite, ARC_Sprite *oldSprite)
copies ARC_Sprite to a new ARC_Sprite
Definition sprite.c:24
-
void ARC_Sprite_IterateFrame(ARC_Sprite *sprite)
switches ARC_Sprite's frames to next for animation
Definition sprite.c:72
- - -
a type that holds an array of data and its size
Definition array.h:13
- - - - -
-
- - - - - - diff --git a/doc/doxygen/html/de/d96/library.html b/doc/doxygen/html/de/d96/library.html deleted file mode 100644 index 87a3590..0000000 --- a/doc/doxygen/html/de/d96/library.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - -Archeus: Standard Library - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Standard Library
-
-
-

-

Library Page Content from standard.md.

-
-
-
- - - - - - diff --git a/doc/doxygen/html/de/da5/include_2arc_2graphics_2none_2renderer_8h.html b/doc/doxygen/html/de/da5/include_2arc_2graphics_2none_2renderer_8h.html deleted file mode 100644 index 6d240bd..0000000 --- a/doc/doxygen/html/de/da5/include_2arc_2graphics_2none_2renderer_8h.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/none/renderer.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
renderer.h File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/de/da5/include_2arc_2graphics_2none_2renderer_8h_source.html b/doc/doxygen/html/de/da5/include_2arc_2graphics_2none_2renderer_8h_source.html deleted file mode 100644 index 1e7569f..0000000 --- a/doc/doxygen/html/de/da5/include_2arc_2graphics_2none_2renderer_8h_source.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/none/renderer.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
renderer.h
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_GRAPHICS
-
2
-
3//#include "arc/graphics/renderer.h"
-
4
-
5#ifndef ARC_NONE_RENDERER_H_
-
6#define ARC_NONE_RENDERER_H_
-
7
-
8//typedef void ARC_RendererType;
-
9
-
10#endif // !ARC_NONE_RENDERER_H_
-
11
-
12#endif // !ARC_NONE_GRAPHICS
-
-
- - - - - - diff --git a/doc/doxygen/html/de/da7/src_2graphics_2config_8c.html b/doc/doxygen/html/de/da7/src_2graphics_2config_8c.html deleted file mode 100644 index f2d088c..0000000 --- a/doc/doxygen/html/de/da7/src_2graphics_2config_8c.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/config.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/de/da7/src_2graphics_2config_8c_source.html b/doc/doxygen/html/de/da7/src_2graphics_2config_8c_source.html deleted file mode 100644 index 6f8ca68..0000000 --- a/doc/doxygen/html/de/da7/src_2graphics_2config_8c_source.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/config.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_GRAPHICS
-
2
- -
4#include <stdio.h>
-
5
-
6void ARC_GraphicsConfig_Init(ARC_Config *config, ARC_Renderer *renderer){
-
7 printf("No Graphics Backend Selected\n");
-
8}
-
9
-
10#endif //ARC_NONE_GRAPHICS
- -
void ARC_GraphicsConfig_Init(ARC_Config *config, ARC_Renderer *renderer)
Definition config.c:30
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- -
-
- - - - - - diff --git a/doc/doxygen/html/de/dbd/keyboard_8c.html b/doc/doxygen/html/de/dbd/keyboard_8c.html deleted file mode 100644 index 8641fd0..0000000 --- a/doc/doxygen/html/de/dbd/keyboard_8c.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/input/keyboard.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
keyboard.c File Reference
-
- - - -
- - diff --git a/doc/doxygen/html/de/dbd/keyboard_8c_source.html b/doc/doxygen/html/de/dbd/keyboard_8c_source.html deleted file mode 100644 index 2eb333b..0000000 --- a/doc/doxygen/html/de/dbd/keyboard_8c_source.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/input/keyboard.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
keyboard.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_INPUT
-
2
- -
4#include <stdio.h>
-
5
- -
7 printf("No Input Backend Selected\n");
-
8}
-
9
- -
11 printf("No Input Backend Selected\n");
-
12}
-
13
-
14void ARC_Keyboard_Update(ARC_Keyboard *keyboard){
-
15 printf("No Input Backend Selected\n");
-
16}
-
17
- -
19 printf("No Input Backend Selected\n");
-
20 return ARC_KEY_NONE;
-
21}
-
22
-
23#endif // !ARC_NONE_INPUT
-
struct ARC_Input ARC_Input
predefien ARC_Input so as not to get circular reference
Definition input.h:17
- -
ARC_KeyboardKey
Definition keyboard.h:32
-
void ARC_Keyboard_Update(ARC_Keyboard *keyboard)
-
ARC_KeyboardState
Definition keyboard.h:19
-
@ ARC_KEY_NONE
Definition keyboard.h:20
-
void ARC_Keyboard_CreateWithInput(ARC_Keyboard **keyboard, ARC_Input *input)
-
void ARC_Keyboard_Destroy(ARC_Keyboard *keyboard)
-
struct ARC_Keyboard ARC_Keyboard
Definition keyboard.h:15
-
ARC_KeyboardState ARC_Keyboard_GetState(ARC_Keyboard *keyboard, enum ARC_KeyboardKey key)
-
- - -
- - diff --git a/doc/doxygen/html/de/dbd/structARC__Vector.html b/doc/doxygen/html/de/dbd/structARC__Vector.html deleted file mode 100644 index 2173026..0000000 --- a/doc/doxygen/html/de/dbd/structARC__Vector.html +++ /dev/null @@ -1,245 +0,0 @@ - - - - - - - - -Archeus: ARC_Vector Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_Vector Struct Reference
-
-
- -

a private dynamic array type - More...

- - - - - - - - - - - - -

-Data Fields

uint32_t currentCapacity
 
uint32_t currentSize
 
void ** data
 
ARC_Vector_CompareDataFn compareDataFn
 
ARC_Vector_DestroyDataFndestroyDataFn
 
-

Detailed Description

-

a private dynamic array type

- -

Definition at line 12 of file vector.c.

-

Field Documentation

- -

◆ compareDataFn

- -
-
- - - - -
ARC_Vector_CompareDataFn ARC_Vector::compareDataFn
-
- -

Definition at line 18 of file vector.c.

- -

Referenced by ARC_Vector_Remove().

- -
-
- -

◆ currentCapacity

- -
-
- - - - -
uint32_t ARC_Vector::currentCapacity
-
- -

Definition at line 13 of file vector.c.

- -

Referenced by ARC_Vector_Add(), and ARC_Vector_RemoveIndex().

- -
-
- -

◆ currentSize

- -
-
- - - - -
uint32_t ARC_Vector::currentSize
-
-
- -

◆ data

- -
-
- - - - -
void** ARC_Vector::data
-
-
- -

◆ destroyDataFn

- -
-
- - - - -
ARC_Vector_DestroyDataFn* ARC_Vector::destroyDataFn
-
- -

Definition at line 19 of file vector.c.

- -

Referenced by ARC_Vector_Destroy(), and ARC_Vector_RemoveIndex().

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/src/std/vector.c
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/de/dbd/structARC__Vector.js b/doc/doxygen/html/de/dbd/structARC__Vector.js deleted file mode 100644 index 2a11211..0000000 --- a/doc/doxygen/html/de/dbd/structARC__Vector.js +++ /dev/null @@ -1,8 +0,0 @@ -var structARC__Vector = -[ - [ "compareDataFn", "de/dbd/structARC__Vector.html#a6bf52f19554a4a9f82c97beb6c7915d6", null ], - [ "currentCapacity", "de/dbd/structARC__Vector.html#a59b813ecaadd3bd99045d93c1f08aa71", null ], - [ "currentSize", "de/dbd/structARC__Vector.html#a6f0a5750866ce8090656d73574ac73b2", null ], - [ "data", "de/dbd/structARC__Vector.html#a0c428a2020e25d7132db94736c61e7d4", null ], - [ "destroyDataFn", "de/dbd/structARC__Vector.html#a105a0f9bd96e92df4b29d008ecb483dc", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/de/de0/packages_2input_2glfw_2mouse_8c.html b/doc/doxygen/html/de/de0/packages_2input_2glfw_2mouse_8c.html deleted file mode 100644 index 0efd6a6..0000000 --- a/doc/doxygen/html/de/de0/packages_2input_2glfw_2mouse_8c.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/input/glfw/mouse.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
mouse.c File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/de/de0/packages_2input_2glfw_2mouse_8c_source.html b/doc/doxygen/html/de/de0/packages_2input_2glfw_2mouse_8c_source.html deleted file mode 100644 index e526a6f..0000000 --- a/doc/doxygen/html/de/de0/packages_2input_2glfw_2mouse_8c_source.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/input/glfw/mouse.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
mouse.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_GLFW_INPUT
-
2#include "arc/input/mouse.h"
-
3
-
4#include "mouse.h"
-
5#include "arc/math/point.h"
-
6#include "arc/std/errno.h"
-
7#include <stdlib.h>
-
8#include <stdint.h>
-
9
-
10void ARC_Mouse_CreateWithInput(ARC_Keyboard **keyboard, ARC_Input *input){
-
11}
-
12
-
13void ARC_Mouse_Destroy(ARC_Mouse *mouse){
-
14}
-
15
-
16void ARC_Mouse_UpdateButton(ARC_Mouse *mouse, uint8_t button, uint32_t *buttons, uint32_t mask){
-
17}
-
18
-
19void ARC_Mouse_Update(ARC_Mouse *mouse){
-
20}
-
21
- -
23 return mouse->coords;
-
24}
-
25
- -
27 return mouse->buttons[button];
-
28}
-
29
-
30int32_t *ARC_Mouse_GetScrollY(ARC_Mouse *mouse){
-
31 return mouse->scrollY;
-
32}
-
33
-
34#endif // ARC_SDL_INPUT
- - -
ARC_MouseState ARC_Mouse_GetState(ARC_Mouse *mouse, ARC_MouseButton button)
Definition mouse.c:99
-
ARC_Point * ARC_Mouse_GetCoords(ARC_Mouse *mouse)
Definition mouse.c:95
-
ARC_MouseButton
Definition mouse.h:24
-
int32_t * ARC_Mouse_GetScrollY(ARC_Mouse *mouse)
Definition mouse.c:103
-
ARC_MouseState
Definition mouse.h:18
-
void ARC_Mouse_Update(ARC_Mouse *mouse)
Definition mouse.c:61
-
void ARC_Mouse_Destroy(ARC_Mouse *mouse)
Definition mouse.c:31
-
void ARC_Mouse_CreateWithInput(ARC_Mouse **mouse, ARC_Input *input)
Definition mouse.c:12
- -
void ARC_Mouse_UpdateButton(ARC_Mouse *mouse, uint8_t button, uint32_t *buttons, uint32_t mask)
Definition mouse.c:41
- - - - -
ARC_Point * coords
Definition mouse.h:10
-
ARC_MouseState * buttons
Definition mouse.h:13
-
int32_t * scrollY
Definition mouse.h:11
- -
-
- - - - - - diff --git a/doc/doxygen/html/de/de5/key_8h.html b/doc/doxygen/html/de/de5/key_8h.html deleted file mode 100644 index 207d492..0000000 --- a/doc/doxygen/html/de/de5/key_8h.html +++ /dev/null @@ -1,526 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/console/key.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
key.h File Reference
-
-
-
#include "arc/std/bool.h"
-#include <stdint.h>
-
-

Go to the source code of this file.

- - - - - - -

-Typedefs

typedef struct ARC_ConsoleKeyType ARC_ConsoleKey
 
typedef enum ARC_ConsoleKey_Key ARC_ConsoleKey_Key
 
- - - -

-Enumerations

enum  ARC_ConsoleKey_Key {
-  ARC_CONSOLE_KEY_A -, ARC_CONSOLE_KEY_B -, ARC_CONSOLE_KEY_C -, ARC_CONSOLE_KEY_D -,
-  ARC_CONSOLE_KEY_E -, ARC_CONSOLE_KEY_F -, ARC_CONSOLE_KEY_G -, ARC_CONSOLE_KEY_H -,
-  ARC_CONSOLE_KEY_I -, ARC_CONSOLE_KEY_J -, ARC_CONSOLE_KEY_K -, ARC_CONSOLE_KEY_L -,
-  ARC_CONSOLE_KEY_M -, ARC_CONSOLE_KEY_N -, ARC_CONSOLE_KEY_O -, ARC_CONSOLE_KEY_P -,
-  ARC_CONSOLE_KEY_Q -, ARC_CONSOLE_KEY_R -, ARC_CONSOLE_KEY_S -, ARC_CONSOLE_KEY_T -,
-  ARC_CONSOLE_KEY_U -, ARC_CONSOLE_KEY_V -, ARC_CONSOLE_KEY_W -, ARC_CONSOLE_KEY_X -,
-  ARC_CONSOLE_KEY_Y -, ARC_CONSOLE_KEY_Z -, ARC_CONSOLE_KEY_0 -, ARC_CONSOLE_KEY_1 -,
-  ARC_CONSOLE_KEY_2 -, ARC_CONSOLE_KEY_3 -, ARC_CONSOLE_KEY_4 -, ARC_CONSOLE_KEY_5 -,
-  ARC_CONSOLE_KEY_6 -, ARC_CONSOLE_KEY_7 -, ARC_CONSOLE_KEY_8 -, ARC_CONSOLE_KEY_9 -,
-  ARC_CONSOLE_KEY_LEFT -, ARC_CONSOLE_KEY_RIGHT -, ARC_CONSOLE_KEY_DOWN -, ARC_CONSOLE_KEY_UP -,
-  ARC_CONSOLE_KEY_FORWARD_SLASH -, ARC_CONSOLE_KEY_BACKSPACE -, ARC_CONSOLE_KEY_ENTER -, ARC_CONSOLE_KEY_ESC -
- }
 
- - - - - - - - - - - - - -

-Functions

void ARC_ConsoleKey_Create (ARC_ConsoleKey **consoleKey, ARC_ConsoleKey_Key *key)
 
void ARC_ConsoleKey_Destroy (ARC_ConsoleKey *consoleKey)
 
ARC_Bool ARC_ConsoleKey_Equals (ARC_ConsoleKey consoleKey, enum ARC_ConsoleKey_Key key)
 
ARC_Bool ARC_ConsoleKey_EqualsPointer (ARC_ConsoleKey *consoleKey, enum ARC_ConsoleKey_Key key)
 
ARC_ConsoleKey ARC_Keyboard_GetConsoleKey (enum ARC_ConsoleKey_Key key)
 
uint8_t ARC_ConsoleKey_GetCharFromKey (ARC_ConsoleKey *consoleKey)
 
-

Typedef Documentation

- -

◆ ARC_ConsoleKey

- -
-
- - - - -
typedef struct ARC_ConsoleKeyType ARC_ConsoleKey
-
- -

Definition at line 11 of file key.h.

- -
-
- -

◆ ARC_ConsoleKey_Key

- -
-
- - - - -
typedef enum ARC_ConsoleKey_Key ARC_ConsoleKey_Key
-
- -
-
-

Enumeration Type Documentation

- -

◆ ARC_ConsoleKey_Key

- -
-
- - - - -
enum ARC_ConsoleKey_Key
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Enumerator
ARC_CONSOLE_KEY_A 
ARC_CONSOLE_KEY_B 
ARC_CONSOLE_KEY_C 
ARC_CONSOLE_KEY_D 
ARC_CONSOLE_KEY_E 
ARC_CONSOLE_KEY_F 
ARC_CONSOLE_KEY_G 
ARC_CONSOLE_KEY_H 
ARC_CONSOLE_KEY_I 
ARC_CONSOLE_KEY_J 
ARC_CONSOLE_KEY_K 
ARC_CONSOLE_KEY_L 
ARC_CONSOLE_KEY_M 
ARC_CONSOLE_KEY_N 
ARC_CONSOLE_KEY_O 
ARC_CONSOLE_KEY_P 
ARC_CONSOLE_KEY_Q 
ARC_CONSOLE_KEY_R 
ARC_CONSOLE_KEY_S 
ARC_CONSOLE_KEY_T 
ARC_CONSOLE_KEY_U 
ARC_CONSOLE_KEY_V 
ARC_CONSOLE_KEY_W 
ARC_CONSOLE_KEY_X 
ARC_CONSOLE_KEY_Y 
ARC_CONSOLE_KEY_Z 
ARC_CONSOLE_KEY_0 
ARC_CONSOLE_KEY_1 
ARC_CONSOLE_KEY_2 
ARC_CONSOLE_KEY_3 
ARC_CONSOLE_KEY_4 
ARC_CONSOLE_KEY_5 
ARC_CONSOLE_KEY_6 
ARC_CONSOLE_KEY_7 
ARC_CONSOLE_KEY_8 
ARC_CONSOLE_KEY_9 
ARC_CONSOLE_KEY_LEFT 
ARC_CONSOLE_KEY_RIGHT 
ARC_CONSOLE_KEY_DOWN 
ARC_CONSOLE_KEY_UP 
ARC_CONSOLE_KEY_FORWARD_SLASH 
ARC_CONSOLE_KEY_BACKSPACE 
ARC_CONSOLE_KEY_ENTER 
ARC_CONSOLE_KEY_ESC 
- -

Definition at line 13 of file key.h.

-
13 {
- - - - - - - - - - - - - - - - - - - - - - - - - - -
40
- - - - - - - - - - -
51
- - - - -
56
- -
58
- -
60
- -
62
- - -
ARC_ConsoleKey_Key
Definition key.h:13
-
@ ARC_CONSOLE_KEY_K
Definition key.h:24
-
@ ARC_CONSOLE_KEY_8
Definition key.h:49
-
@ ARC_CONSOLE_KEY_L
Definition key.h:25
-
@ ARC_CONSOLE_KEY_B
Definition key.h:15
-
@ ARC_CONSOLE_KEY_X
Definition key.h:37
-
@ ARC_CONSOLE_KEY_7
Definition key.h:48
-
@ ARC_CONSOLE_KEY_Z
Definition key.h:39
-
@ ARC_CONSOLE_KEY_UP
Definition key.h:55
-
@ ARC_CONSOLE_KEY_S
Definition key.h:32
-
@ ARC_CONSOLE_KEY_D
Definition key.h:17
-
@ ARC_CONSOLE_KEY_FORWARD_SLASH
Definition key.h:57
-
@ ARC_CONSOLE_KEY_C
Definition key.h:16
-
@ ARC_CONSOLE_KEY_DOWN
Definition key.h:54
-
@ ARC_CONSOLE_KEY_1
Definition key.h:42
-
@ ARC_CONSOLE_KEY_T
Definition key.h:33
-
@ ARC_CONSOLE_KEY_P
Definition key.h:29
-
@ ARC_CONSOLE_KEY_2
Definition key.h:43
-
@ ARC_CONSOLE_KEY_3
Definition key.h:44
-
@ ARC_CONSOLE_KEY_LEFT
Definition key.h:52
-
@ ARC_CONSOLE_KEY_V
Definition key.h:35
-
@ ARC_CONSOLE_KEY_U
Definition key.h:34
-
@ ARC_CONSOLE_KEY_J
Definition key.h:23
-
@ ARC_CONSOLE_KEY_4
Definition key.h:45
-
@ ARC_CONSOLE_KEY_H
Definition key.h:21
-
@ ARC_CONSOLE_KEY_I
Definition key.h:22
-
@ ARC_CONSOLE_KEY_M
Definition key.h:26
-
@ ARC_CONSOLE_KEY_A
Definition key.h:14
-
@ ARC_CONSOLE_KEY_G
Definition key.h:20
-
@ ARC_CONSOLE_KEY_R
Definition key.h:31
-
@ ARC_CONSOLE_KEY_F
Definition key.h:19
-
@ ARC_CONSOLE_KEY_6
Definition key.h:47
-
@ ARC_CONSOLE_KEY_N
Definition key.h:27
-
@ ARC_CONSOLE_KEY_9
Definition key.h:50
-
@ ARC_CONSOLE_KEY_ENTER
Definition key.h:61
-
@ ARC_CONSOLE_KEY_W
Definition key.h:36
-
@ ARC_CONSOLE_KEY_5
Definition key.h:46
-
@ ARC_CONSOLE_KEY_Y
Definition key.h:38
-
@ ARC_CONSOLE_KEY_RIGHT
Definition key.h:53
-
@ ARC_CONSOLE_KEY_0
Definition key.h:41
-
@ ARC_CONSOLE_KEY_BACKSPACE
Definition key.h:59
-
@ ARC_CONSOLE_KEY_Q
Definition key.h:30
-
@ ARC_CONSOLE_KEY_O
Definition key.h:28
-
@ ARC_CONSOLE_KEY_E
Definition key.h:18
-
@ ARC_CONSOLE_KEY_ESC
Definition key.h:63
-
-
-
-

Function Documentation

- -

◆ ARC_ConsoleKey_Create()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleKey_Create (ARC_ConsoleKey ** consoleKey,
ARC_ConsoleKey_Key * key )
-
- -
-
- -

◆ ARC_ConsoleKey_Destroy()

- -
-
- - - - - - - -
void ARC_ConsoleKey_Destroy (ARC_ConsoleKey * consoleKey)
-
- -
-
- -

◆ ARC_ConsoleKey_Equals()

- -
-
- - - - - - - - - - - -
ARC_Bool ARC_ConsoleKey_Equals (ARC_ConsoleKey consoleKey,
enum ARC_ConsoleKey_Key key )
-
- -
-
- -

◆ ARC_ConsoleKey_EqualsPointer()

- -
-
- - - - - - - - - - - -
ARC_Bool ARC_ConsoleKey_EqualsPointer (ARC_ConsoleKey * consoleKey,
enum ARC_ConsoleKey_Key key )
-
- -
-
- -

◆ ARC_ConsoleKey_GetCharFromKey()

- -
-
- - - - - - - -
uint8_t ARC_ConsoleKey_GetCharFromKey (ARC_ConsoleKey * consoleKey)
-
- -
-
- -

◆ ARC_Keyboard_GetConsoleKey()

- -
-
- - - - - - - -
ARC_ConsoleKey ARC_Keyboard_GetConsoleKey (enum ARC_ConsoleKey_Key key)
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/de/de5/key_8h.js b/doc/doxygen/html/de/de5/key_8h.js deleted file mode 100644 index 9cc280f..0000000 --- a/doc/doxygen/html/de/de5/key_8h.js +++ /dev/null @@ -1,57 +0,0 @@ -var key_8h = -[ - [ "ARC_ConsoleKey", "de/de5/key_8h.html#a3ebebed0f47c13fcbcdb865a7c208eaa", null ], - [ "ARC_ConsoleKey_Key", "de/de5/key_8h.html#abf4fe53e5af579c24efd7076703b202b", null ], - [ "ARC_ConsoleKey_Key", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1e", [ - [ "ARC_CONSOLE_KEY_A", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaae49690e84cebcaf49ff18d8ff508590", null ], - [ "ARC_CONSOLE_KEY_B", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea1e118b5d6563d6f3f5e823d26e474bdb", null ], - [ "ARC_CONSOLE_KEY_C", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea4fc72ce7e382deb9d940716b634b31b8", null ], - [ "ARC_CONSOLE_KEY_D", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea3c6b33e508fa7058cf4b55db4e27a08a", null ], - [ "ARC_CONSOLE_KEY_E", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaf2b4d5542474ed9431892d799f4ab093", null ], - [ "ARC_CONSOLE_KEY_F", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eabc2b32671cc6ab84a486cfab8c983094", null ], - [ "ARC_CONSOLE_KEY_G", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eab47f3aae55505e7c2e28da2420b12b17", null ], - [ "ARC_CONSOLE_KEY_H", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaa7de94b4e7e8982ed7d071f3b7ed5f8c", null ], - [ "ARC_CONSOLE_KEY_I", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaa85d741b77329be754015947269b4e66", null ], - [ "ARC_CONSOLE_KEY_J", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea967d77630ab37fb0ff64d947c4e741b9", null ], - [ "ARC_CONSOLE_KEY_K", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea04955c97cd091bbbb4322e1d9bb99d36", null ], - [ "ARC_CONSOLE_KEY_L", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea179d2de263a6ccf12cc3176338356b2e", null ], - [ "ARC_CONSOLE_KEY_M", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaa93ae0b8e66442d817791c1b7b147488", null ], - [ "ARC_CONSOLE_KEY_N", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eabde1f3c5fe088370a098c076bf9724b5", null ], - [ "ARC_CONSOLE_KEY_O", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaf25139c341fee1cc5406a336c989af50", null ], - [ "ARC_CONSOLE_KEY_P", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea77459979ee1b3c784f1709d46ff95c62", null ], - [ "ARC_CONSOLE_KEY_Q", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaea3a47afd723e42cc16835b242d7f926", null ], - [ "ARC_CONSOLE_KEY_R", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eab93cfbe9c4eec37e15216dd1396eb7cf", null ], - [ "ARC_CONSOLE_KEY_S", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea3532c4036d2f0eec6c914fc4e773daae", null ], - [ "ARC_CONSOLE_KEY_T", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea6bbfd0af0e818c9dc4d881773dabecad", null ], - [ "ARC_CONSOLE_KEY_U", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea94d6cc9acfbfb818f6686da16cb5fa52", null ], - [ "ARC_CONSOLE_KEY_V", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea942bdcec9ab45363710eec185901bf71", null ], - [ "ARC_CONSOLE_KEY_W", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eac972a8eabb863849c10b0de8d0fbaf34", null ], - [ "ARC_CONSOLE_KEY_X", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea1ffe4f27d2592a19d47390a0617429af", null ], - [ "ARC_CONSOLE_KEY_Y", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ead837e54f9914911647b1a2428cc4a4d3", null ], - [ "ARC_CONSOLE_KEY_Z", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea282424a47de31a39c5d198d5bf18e1b4", null ], - [ "ARC_CONSOLE_KEY_0", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eae1a210f1a445af7430637e6f5b2a4e61", null ], - [ "ARC_CONSOLE_KEY_1", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea69cfd082a66ca38eff22f12d6cbdd0d8", null ], - [ "ARC_CONSOLE_KEY_2", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea79f30b6c503876bcc53fa36d5c755f78", null ], - [ "ARC_CONSOLE_KEY_3", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea8f8980e0ccd0786edcf01a4c06ee3a20", null ], - [ "ARC_CONSOLE_KEY_4", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaa0b4ce1647776530585c6eda9fcea796", null ], - [ "ARC_CONSOLE_KEY_5", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ead0ad6cc4dad061479ca8e4c247c74789", null ], - [ "ARC_CONSOLE_KEY_6", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eabd7a858686ecf89dc12f1d7afaf2e7e8", null ], - [ "ARC_CONSOLE_KEY_7", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea24e8f85a543f0532c90f3ba9e9168a74", null ], - [ "ARC_CONSOLE_KEY_8", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea17296c77bcf6b4e91f5ff28a369d855f", null ], - [ "ARC_CONSOLE_KEY_9", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eac3e2e5162ff19d849d3b7ce2d0844a98", null ], - [ "ARC_CONSOLE_KEY_LEFT", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea9232e7a7fe2de60c5c09a130536d96b9", null ], - [ "ARC_CONSOLE_KEY_RIGHT", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eadc70b61b2563025f61725bc08db8015e", null ], - [ "ARC_CONSOLE_KEY_DOWN", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea5f94a8912ef637b292c102f689be4afc", null ], - [ "ARC_CONSOLE_KEY_UP", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea2f263d9b30b5b64d65eac0b2205f1631", null ], - [ "ARC_CONSOLE_KEY_FORWARD_SLASH", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea4d906236af11100bc72933af1ae133fc", null ], - [ "ARC_CONSOLE_KEY_BACKSPACE", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eae6b1ba7866d52950a39d42ce24b0a22e", null ], - [ "ARC_CONSOLE_KEY_ENTER", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eac859fab526f4d71bf3faf3a82f852eca", null ], - [ "ARC_CONSOLE_KEY_ESC", "de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaf7424c2d7b9dbfeccc5a2df61cfec026", null ] - ] ], - [ "ARC_ConsoleKey_Create", "de/de5/key_8h.html#a48d569403d14309ba282c17480222f14", null ], - [ "ARC_ConsoleKey_Destroy", "de/de5/key_8h.html#a94bce610020b4ffedfca750dfab9f64f", null ], - [ "ARC_ConsoleKey_Equals", "de/de5/key_8h.html#a21adaf1532cd07c0fbd15dae666a78e4", null ], - [ "ARC_ConsoleKey_EqualsPointer", "de/de5/key_8h.html#aca1101b2438999030c704fdd34cb8bc4", null ], - [ "ARC_ConsoleKey_GetCharFromKey", "de/de5/key_8h.html#a6195997575cc3db00c9cb65c4abdf2fa", null ], - [ "ARC_Keyboard_GetConsoleKey", "de/de5/key_8h.html#a2eb80aaafb56b165be91bdc3cea1a3fb", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/de/de5/key_8h_source.html b/doc/doxygen/html/de/de5/key_8h_source.html deleted file mode 100644 index 7be4eff..0000000 --- a/doc/doxygen/html/de/de5/key_8h_source.html +++ /dev/null @@ -1,266 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/console/key.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
key.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_CONSOLE_KEY_H_
-
2#define ARC_CONSOLE_KEY_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include "arc/std/bool.h"
-
9#include <stdint.h>
-
10
-
11typedef struct ARC_ConsoleKeyType ARC_ConsoleKey;
-
12
- -
65
- -
67
- -
69
- -
71
- -
73
- -
75
- -
77
-
78#ifdef __cplusplus
-
79}
-
80#endif
-
81
-
82#endif // !ARC_CONSOLE_KEY_H_
- -
#define ARC_Bool
Definition bool.h:10
-
ARC_ConsoleKey_Key
Definition key.h:13
-
@ ARC_CONSOLE_KEY_K
Definition key.h:24
-
@ ARC_CONSOLE_KEY_8
Definition key.h:49
-
@ ARC_CONSOLE_KEY_L
Definition key.h:25
-
@ ARC_CONSOLE_KEY_B
Definition key.h:15
-
@ ARC_CONSOLE_KEY_X
Definition key.h:37
-
@ ARC_CONSOLE_KEY_7
Definition key.h:48
-
@ ARC_CONSOLE_KEY_Z
Definition key.h:39
-
@ ARC_CONSOLE_KEY_UP
Definition key.h:55
-
@ ARC_CONSOLE_KEY_S
Definition key.h:32
-
@ ARC_CONSOLE_KEY_D
Definition key.h:17
-
@ ARC_CONSOLE_KEY_FORWARD_SLASH
Definition key.h:57
-
@ ARC_CONSOLE_KEY_C
Definition key.h:16
-
@ ARC_CONSOLE_KEY_DOWN
Definition key.h:54
-
@ ARC_CONSOLE_KEY_1
Definition key.h:42
-
@ ARC_CONSOLE_KEY_T
Definition key.h:33
-
@ ARC_CONSOLE_KEY_P
Definition key.h:29
-
@ ARC_CONSOLE_KEY_2
Definition key.h:43
-
@ ARC_CONSOLE_KEY_3
Definition key.h:44
-
@ ARC_CONSOLE_KEY_LEFT
Definition key.h:52
-
@ ARC_CONSOLE_KEY_V
Definition key.h:35
-
@ ARC_CONSOLE_KEY_U
Definition key.h:34
-
@ ARC_CONSOLE_KEY_J
Definition key.h:23
-
@ ARC_CONSOLE_KEY_4
Definition key.h:45
-
@ ARC_CONSOLE_KEY_H
Definition key.h:21
-
@ ARC_CONSOLE_KEY_I
Definition key.h:22
-
@ ARC_CONSOLE_KEY_M
Definition key.h:26
-
@ ARC_CONSOLE_KEY_A
Definition key.h:14
-
@ ARC_CONSOLE_KEY_G
Definition key.h:20
-
@ ARC_CONSOLE_KEY_R
Definition key.h:31
-
@ ARC_CONSOLE_KEY_F
Definition key.h:19
-
@ ARC_CONSOLE_KEY_6
Definition key.h:47
-
@ ARC_CONSOLE_KEY_N
Definition key.h:27
-
@ ARC_CONSOLE_KEY_9
Definition key.h:50
-
@ ARC_CONSOLE_KEY_ENTER
Definition key.h:61
-
@ ARC_CONSOLE_KEY_W
Definition key.h:36
-
@ ARC_CONSOLE_KEY_5
Definition key.h:46
-
@ ARC_CONSOLE_KEY_Y
Definition key.h:38
-
@ ARC_CONSOLE_KEY_RIGHT
Definition key.h:53
-
@ ARC_CONSOLE_KEY_0
Definition key.h:41
-
@ ARC_CONSOLE_KEY_BACKSPACE
Definition key.h:59
-
@ ARC_CONSOLE_KEY_Q
Definition key.h:30
-
@ ARC_CONSOLE_KEY_O
Definition key.h:28
-
@ ARC_CONSOLE_KEY_E
Definition key.h:18
-
@ ARC_CONSOLE_KEY_ESC
Definition key.h:63
-
ARC_Bool ARC_ConsoleKey_Equals(ARC_ConsoleKey consoleKey, enum ARC_ConsoleKey_Key key)
-
ARC_ConsoleKey ARC_Keyboard_GetConsoleKey(enum ARC_ConsoleKey_Key key)
-
struct ARC_ConsoleKeyType ARC_ConsoleKey
Definition key.h:11
-
void ARC_ConsoleKey_Create(ARC_ConsoleKey **consoleKey, ARC_ConsoleKey_Key *key)
-
uint8_t ARC_ConsoleKey_GetCharFromKey(ARC_ConsoleKey *consoleKey)
-
void ARC_ConsoleKey_Destroy(ARC_ConsoleKey *consoleKey)
-
ARC_Bool ARC_ConsoleKey_EqualsPointer(ARC_ConsoleKey *consoleKey, enum ARC_ConsoleKey_Key key)
-
-
- - - - - - diff --git a/doc/doxygen/html/de/de6/vector2_8c.html b/doc/doxygen/html/de/de6/vector2_8c.html deleted file mode 100644 index 86746b4..0000000 --- a/doc/doxygen/html/de/de6/vector2_8c.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/math/vector2.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
vector2.c File Reference
-
-
-
#include "arc/math/vector2.h"
-#include <math.h>
-
-

Go to the source code of this file.

- - - - - - - - -

-Functions

void ARC_Vector2_Normalize (ARC_Vector2 *vector)
 normalizes a given ARC_Vector2
 
void ARC_Vector2_RotateDegree (ARC_Vector2 *vector, float angle)
 rotates a given ARC_Vector2 by a given angle in degrees
 
-

Function Documentation

- -

◆ ARC_Vector2_Normalize()

- -
-
- - - - - - - -
void ARC_Vector2_Normalize (ARC_Vector2 * vector)
-
- -

normalizes a given ARC_Vector2

-
Parameters
- - -
vectorthe ARC_Vecotr2 to normallize
-
-
- -

Definition at line 4 of file vector2.c.

-
4 {
-
5 float length = sqrtf((vector->x * vector->x) + (vector->y * vector->y));
-
6 if(length == 0){
-
7 return;
-
8 }
-
9
-
10 vector->x /= length;
-
11 vector->y /= length;
-
12}
-
float x
Definition vector2.h:9
-
float y
Definition vector2.h:9
-
-

References ARC_Vector2::x, and ARC_Vector2::y.

- -
-
- -

◆ ARC_Vector2_RotateDegree()

- -
-
- - - - - - - - - - - -
void ARC_Vector2_RotateDegree (ARC_Vector2 * vector,
float angle )
-
- -

rotates a given ARC_Vector2 by a given angle in degrees

-
Parameters
- - - -
vectorthe ARC_Vector2 to rotate
anglethe angle in degrees to rotate by
-
-
- -

Definition at line 14 of file vector2.c.

-
14 {
-
15 ARC_Vector2 temp = *vector;
-
16 vector->x = (temp.x * cos(angle)) - (temp.y * sin(angle));
-
17 vector->y = (temp.x * sin(angle)) + (temp.y * cos(angle));
-
18}
- -
-

References ARC_Vector2::x, and ARC_Vector2::y.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/de/de6/vector2_8c.js b/doc/doxygen/html/de/de6/vector2_8c.js deleted file mode 100644 index 67b8e2f..0000000 --- a/doc/doxygen/html/de/de6/vector2_8c.js +++ /dev/null @@ -1,5 +0,0 @@ -var vector2_8c = -[ - [ "ARC_Vector2_Normalize", "de/de6/vector2_8c.html#ad7827f08a4898d2b8358a407d52dfe9c", null ], - [ "ARC_Vector2_RotateDegree", "de/de6/vector2_8c.html#a37b30084c8ebb416c5bbf621a7362e43", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/de/de6/vector2_8c_source.html b/doc/doxygen/html/de/de6/vector2_8c_source.html deleted file mode 100644 index 88aa092..0000000 --- a/doc/doxygen/html/de/de6/vector2_8c_source.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/math/vector2.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
vector2.c
-
-
-Go to the documentation of this file.
1#include "arc/math/vector2.h"
-
2#include <math.h>
-
3
-
- -
5 float length = sqrtf((vector->x * vector->x) + (vector->y * vector->y));
-
6 if(length == 0){
-
7 return;
-
8 }
-
9
-
10 vector->x /= length;
-
11 vector->y /= length;
-
12}
-
-
13
-
-
14void ARC_Vector2_RotateDegree(ARC_Vector2 *vector, float angle){
-
15 ARC_Vector2 temp = *vector;
-
16 vector->x = (temp.x * cos(angle)) - (temp.y * sin(angle));
-
17 vector->y = (temp.x * sin(angle)) + (temp.y * cos(angle));
-
18}
-
- -
float x
Definition vector2.h:9
-
float y
Definition vector2.h:9
-
void ARC_Vector2_RotateDegree(ARC_Vector2 *vector, float angle)
rotates a given ARC_Vector2 by a given angle in degrees
Definition vector2.c:14
-
void ARC_Vector2_Normalize(ARC_Vector2 *vector)
normalizes a given ARC_Vector2
Definition vector2.c:4
- -
-
- - - - - - diff --git a/doc/doxygen/html/de/de7/archeus__std_8dir_2src_2graphics_2window_8c_8o_8d.html b/doc/doxygen/html/de/de7/archeus__std_8dir_2src_2graphics_2window_8c_8o_8d.html deleted file mode 100644 index 0da9b56..0000000 --- a/doc/doxygen/html/de/de7/archeus__std_8dir_2src_2graphics_2window_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/graphics/window.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
window.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/de/de7/archeus__std_8dir_2src_2graphics_2window_8c_8o_8d_source.html b/doc/doxygen/html/de/de7/archeus__std_8dir_2src_2graphics_2window_8c_8o_8d_source.html deleted file mode 100644 index 13b30df..0000000 --- a/doc/doxygen/html/de/de7/archeus__std_8dir_2src_2graphics_2window_8c_8o_8d_source.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/graphics/window.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
window.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/graphics/window.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/graphics/window.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/graphics/window.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h /usr/include/stdio.h \
-
15 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
16 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
17 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
18 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
19 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
20 /usr/include/bits/types/cookie_io_functions_t.h \
-
21 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
22 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/de/de8/chemical_8h.html b/doc/doxygen/html/de/de8/chemical_8h.html deleted file mode 100644 index 60436b6..0000000 --- a/doc/doxygen/html/de/de8/chemical_8h.html +++ /dev/null @@ -1,464 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/chemical.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
chemical.h File Reference
-
-
-
#include <stdint.h>
-#include "arc/std/parser.h"
-
-

Go to the source code of this file.

- - - - - - - - - - - -

-Typedefs

typedef void(* ARC_ChemicalData_CopyToTypeFn) (void **data, ARC_ParserTagToken *parsedData)
 TODO: write this.
 
typedef void(* ARC_ParserCSV_DestroyTypeFn) (void *data)
 TODO: write this.
 
typedef struct ARC_Chemical ARC_Chemical
 a function to read a key from string to a ARC_ConfigTypeTemplate
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_Chemical_Create (ARC_Chemical **chemical)
 TODO: write this.
 
void ARC_Chemical_Destroy (ARC_Chemical *chemical)
 TODO: write this.
 
void ARC_Chemical_RegisterType (ARC_Chemical *chemical, ARC_String *typeName, ARC_ChemicalData_CopyToTypeFn *copyToTypeFn, ARC_ParserCSV_DestroyTypeFn destroyTypeFn)
 TODO: write this.
 
void ARC_Chemical_SetGroup (ARC_Chemical *chemical, ARC_String *groupName)
 sets current group in config
 
void * ARC_Chemical_Get (ARC_Chemical *chemical, ARC_String *element)
 get a value from a given keyname
 
void ARC_Chemical_LoadFromString (ARC_String *path)
 TODO: write this.
 
void ARC_Chemical_LoadFromFile (ARC_String *path)
 TODO: write this.
 
void ARC_Chemical_UnloadFromString (ARC_String *data)
 TODO: write this.
 
void ARC_Chemical_UnloadFromFile (ARC_String *data)
 TODO: write this.
 
-

Typedef Documentation

- -

◆ ARC_Chemical

- -
-
- - - - -
typedef struct ARC_Chemical ARC_Chemical
-
- -

a function to read a key from string to a ARC_ConfigTypeTemplate

-
Parameters
- - - - -
configARC_Config to store data to
stringARC_String of data that is being read in
valuevalue that is read in
-
-
-
Note
use ARC_Config_StoreValue(ARC_Config *config, ARC_String *name, void *value); to store a value to the config if there is an error, set arc_errno
-
Returns
0 if value not a reference, 1 if value is a reference
-

a function to delete a value from a key in ARC_Config

-
Parameters
- - - -
configARC_Config that can be used to check for references in data
valuepointer of data to be deleted
-
-
-
Note
this function can be NULL if memory does not need to be cleaned for this type if there is an error, set arc_errno
-

TODO: write this

- -

Definition at line 73 of file chemical.h.

- -
-
- -

◆ ARC_ChemicalData_CopyToTypeFn

- -
-
- - - - -
typedef void(* ARC_ChemicalData_CopyToTypeFn) (void **data, ARC_ParserTagToken *parsedData)
-
- -

TODO: write this.

- -

Definition at line 38 of file chemical.h.

- -
-
- -

◆ ARC_ParserCSV_DestroyTypeFn

- -
-
- - - - -
typedef void(* ARC_ParserCSV_DestroyTypeFn) (void *data)
-
- -

TODO: write this.

- -

Definition at line 43 of file chemical.h.

- -
-
-

Function Documentation

- -

◆ ARC_Chemical_Create()

- -
-
- - - - - - - -
void ARC_Chemical_Create (ARC_Chemical ** chemical)
-
- -

TODO: write this.

- -
-
- -

◆ ARC_Chemical_Destroy()

- -
-
- - - - - - - -
void ARC_Chemical_Destroy (ARC_Chemical * chemical)
-
- -

TODO: write this.

- -
-
- -

◆ ARC_Chemical_Get()

- -
-
- - - - - - - - - - - -
void * ARC_Chemical_Get (ARC_Chemical * chemical,
ARC_String * element )
-
- -

get a value from a given keyname

-
Note
name may be prefaced with <group>:: to specify group
-
Parameters
- - - -
[in]chemicalARC_Chemical to get value from
[in]elementname of a variable that has been read in
-
-
-
Returns
the stored element on success, or NULL on failure
- -
-
- -

◆ ARC_Chemical_LoadFromFile()

- -
-
- - - - - - - -
void ARC_Chemical_LoadFromFile (ARC_String * path)
-
- -

TODO: write this.

- -
-
- -

◆ ARC_Chemical_LoadFromString()

- -
-
- - - - - - - -
void ARC_Chemical_LoadFromString (ARC_String * path)
-
- -

TODO: write this.

- -
-
- -

◆ ARC_Chemical_RegisterType()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Chemical_RegisterType (ARC_Chemical * chemical,
ARC_String * typeName,
ARC_ChemicalData_CopyToTypeFn * copyToTypeFn,
ARC_ParserCSV_DestroyTypeFn destroyTypeFn )
-
- -

TODO: write this.

- -
-
- -

◆ ARC_Chemical_SetGroup()

- -
-
- - - - - - - - - - - -
void ARC_Chemical_SetGroup (ARC_Chemical * chemical,
ARC_String * groupName )
-
- -

sets current group in config

-
Note
ARC_Chemical_Get will use this set group
-
Parameters
- - - -
[in]chemicalARC_Config we are setting current group in
[in]groupnamename of group that will be set
-
-
- -
-
- -

◆ ARC_Chemical_UnloadFromFile()

- -
-
- - - - - - - -
void ARC_Chemical_UnloadFromFile (ARC_String * data)
-
- -

TODO: write this.

- -
-
- -

◆ ARC_Chemical_UnloadFromString()

- -
-
- - - - - - - -
void ARC_Chemical_UnloadFromString (ARC_String * data)
-
- -

TODO: write this.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/de/de8/chemical_8h.js b/doc/doxygen/html/de/de8/chemical_8h.js deleted file mode 100644 index d145a73..0000000 --- a/doc/doxygen/html/de/de8/chemical_8h.js +++ /dev/null @@ -1,15 +0,0 @@ -var chemical_8h = -[ - [ "ARC_Chemical", "de/de8/chemical_8h.html#a08f9b566b2b36bdabebfd13eb5754fb1", null ], - [ "ARC_ChemicalData_CopyToTypeFn", "de/de8/chemical_8h.html#a878b92abe81c5c07d8adaf4685fdf5c8", null ], - [ "ARC_ParserCSV_DestroyTypeFn", "de/de8/chemical_8h.html#a6d9a36eaffba502a7ec8b17ff640787d", null ], - [ "ARC_Chemical_Create", "de/de8/chemical_8h.html#a57285cb04aa534e1d031332dcaa1a870", null ], - [ "ARC_Chemical_Destroy", "de/de8/chemical_8h.html#a686a72bf4514fe44106185d4b5c588ef", null ], - [ "ARC_Chemical_Get", "de/de8/chemical_8h.html#adb8a34d9191beed01e6fed8a897151c3", null ], - [ "ARC_Chemical_LoadFromFile", "de/de8/chemical_8h.html#a12062638bce9e79bc5409a12c05e3023", null ], - [ "ARC_Chemical_LoadFromString", "de/de8/chemical_8h.html#a56505ede690711cbfd12c9e56864c4b3", null ], - [ "ARC_Chemical_RegisterType", "de/de8/chemical_8h.html#a585e4d4a2bd7f2484fa3e6a308b483d3", null ], - [ "ARC_Chemical_SetGroup", "de/de8/chemical_8h.html#a5d6a498f3920dc4bed51fe2e855ef69f", null ], - [ "ARC_Chemical_UnloadFromFile", "de/de8/chemical_8h.html#a43b69b30d57bdf40ffe674e4e0105157", null ], - [ "ARC_Chemical_UnloadFromString", "de/de8/chemical_8h.html#ad875764e9e18d4aa3db2cf86081d2048", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/de/de8/chemical_8h_source.html b/doc/doxygen/html/de/de8/chemical_8h_source.html deleted file mode 100644 index aaf4d8e..0000000 --- a/doc/doxygen/html/de/de8/chemical_8h_source.html +++ /dev/null @@ -1,279 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/chemical.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
chemical.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_STD_PARSER_CHEMICAL_H_
-
2#define ARC_STD_PARSER_CHEMICAL_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include <stdint.h>
-
9#include "arc/std/parser.h"
-
10
-
11/*
-
12 * TODO: note here in header that this uses parser
-
13 * TODO: note here in header that group being used is persistant
-
14<language> -> <group> <language> | <variableLine> <language> | <whitespace> <language>
-
15
-
16<group> -> <groupName> <whitespace> <variable> <whitespace> LEFT_CURLY_BRACE <whitespace> <variableLine> <whitespace> RIGHT_CURLY_BRACE
-
17
-
18<variableLine> -> <type> <whitespace> <variable> <whitespace> EQUALS <whitespace> value <whitespace> SEMICOLON <whitespace>
-
19
-
20<groupName> -> <variable>
-
21<type> -> <variable>
-
22<value> -> <variable> | <number> | <nestedValue>
-
23<nestedValue> -> OPEN_CURLY_BRACE <whitespace> <valueArgs> <whitespace> CLOSE_CURLY_BRACE
-
24<valueArgs> -> <value> | <value> COMMA <valueArgs>
-
25
-
26<variable> -> ALPHA_UPPER_CHAR <variableName> | ALPHA_LOWER_CHAR <variableName> | UNDERSCORE <variableName>
-
27<variableName> -> <charOrNum> <variableName> | LAMBDA
-
28<charOrNum> -> ALPHA_UPPER_CHAR | ALPHA_LOWER_CHAR | UNDERSCORE | NUM
-
29
-
30<number> -> NUMBER <number> | NUMBER LAMBDA
-
31
-
32<whitespace> -> SPACE <whitespace> | TAB <whitespace> | NEWLINE <whitespace> | LAMBDA
-
33*/
-
34
-
35/**
-
36 * @brief TODO: write this
-
37*/
-
38typedef void (* ARC_ChemicalData_CopyToTypeFn)(void **data, ARC_ParserTagToken *parsedData);
-
39
-
40/**
-
41 * @brief TODO: write this
-
42*/
-
43typedef void (* ARC_ParserCSV_DestroyTypeFn)(void *data);
-
44
-
45/**
-
46 * @brief a function to read a key from string to a ARC_ConfigTypeTemplate
-
47 *
-
48 * @param config ARC_Config to store data to
-
49 * @param string ARC_String of data that is being read in
-
50 * @param value value that is read in
-
51 *
-
52 * @note use ARC_Config_StoreValue(ARC_Config *config, ARC_String *name, void *value); to store a value to the config
-
53 * if there is an error, set arc_errno
-
54 *
-
55 * @return 0 if value not a reference, 1 if value is a reference
-
56 */
-
57//typedef uint8_t (* ARC_ConfigKeyRead)(ARC_Config* config, ARC_String *string, void **value);
-
58
-
59/**
-
60 * @brief a function to delete a value from a key in ARC_Config
-
61 *
-
62 * @param config ARC_Config that can be used to check for references in data
-
63 * @param value pointer of data to be deleted
-
64 *
-
65 * @note this function can be NULL if memory does not need to be cleaned for this type
-
66 * if there is an error, set arc_errno
-
67 */
-
68//typedef void (* ARC_ConfigKeyDelete)(ARC_Config* config, ARC_String *string, void *value);
-
69
-
70/**
-
71 * @brief TODO: write this
-
72*/
- -
74
-
75/**
-
76 * @brief TODO: write this
-
77*/
- -
79
-
80/**
-
81 * @brief TODO: write this
-
82*/
- -
84
-
85/**
-
86 * @brief TODO: write this
-
87*/
- -
89
-
90/**
-
91 * @brief sets current group in config
-
92 *
-
93 * @note ARC_Chemical_Get will use this set group
-
94 *
-
95 * @param[in] chemical ARC_Config we are setting current group in
-
96 * @param[in] groupname name of group that will be set
-
97 */
-
98void ARC_Chemical_SetGroup(ARC_Chemical *chemical, ARC_String *groupName);
-
99
-
100/**
-
101 * @brief get a value from a given keyname
-
102 *
-
103 * @note name may be prefaced with <group>:: to specify group
-
104 *
-
105 * @param[in] chemical ARC_Chemical to get value from
-
106 * @param[in] element name of a variable that has been read in
-
107 *
-
108 * @return the stored element on success, or NULL on failure
-
109 */
-
110void *ARC_Chemical_Get(ARC_Chemical *chemical, ARC_String *element);
-
111
-
112/**
-
113 * @brief TODO: write this
-
114*/
- -
116
-
117/**
-
118 * @brief TODO: write this
-
119*/
- -
121
-
122/**
-
123 * @brief TODO: write this
-
124*/
- -
126
-
127/**
-
128 * @brief TODO: write this
-
129*/
- -
131
-
132#ifdef __cplusplus
-
133}
-
134#endif
-
135
-
136#endif //ARC_STD_PARSER_CHEMICAL_H_
-
struct ARC_Chemical ARC_Chemical
a function to read a key from string to a ARC_ConfigTypeTemplate
Definition chemical.h:73
-
void ARC_Chemical_LoadFromFile(ARC_String *path)
TODO: write this.
-
void ARC_Chemical_UnloadFromFile(ARC_String *data)
TODO: write this.
-
void ARC_Chemical_LoadFromString(ARC_String *path)
TODO: write this.
-
void ARC_Chemical_Create(ARC_Chemical **chemical)
TODO: write this.
-
void ARC_Chemical_RegisterType(ARC_Chemical *chemical, ARC_String *typeName, ARC_ChemicalData_CopyToTypeFn *copyToTypeFn, ARC_ParserCSV_DestroyTypeFn destroyTypeFn)
TODO: write this.
-
void ARC_Chemical_SetGroup(ARC_Chemical *chemical, ARC_String *groupName)
sets current group in config
-
void ARC_Chemical_Destroy(ARC_Chemical *chemical)
TODO: write this.
-
void(* ARC_ParserCSV_DestroyTypeFn)(void *data)
TODO: write this.
Definition chemical.h:43
-
void(* ARC_ChemicalData_CopyToTypeFn)(void **data, ARC_ParserTagToken *parsedData)
TODO: write this.
Definition chemical.h:38
-
void ARC_Chemical_UnloadFromString(ARC_String *data)
TODO: write this.
-
void * ARC_Chemical_Get(ARC_Chemical *chemical, ARC_String *element)
get a value from a given keyname
- -
a parser type used inside of the parser data create function
Definition parser.h:35
-
substring position within a string
Definition string.h:14
-
-
- - - - - - diff --git a/doc/doxygen/html/de/de8/packages_2input_2glfw_2keyboard_8h.html b/doc/doxygen/html/de/de8/packages_2input_2glfw_2keyboard_8h.html deleted file mode 100644 index ac9bb12..0000000 --- a/doc/doxygen/html/de/de8/packages_2input_2glfw_2keyboard_8h.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/input/glfw/keyboard.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
keyboard.h File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/de/de8/packages_2input_2glfw_2keyboard_8h_source.html b/doc/doxygen/html/de/de8/packages_2input_2glfw_2keyboard_8h_source.html deleted file mode 100644 index b6cff57..0000000 --- a/doc/doxygen/html/de/de8/packages_2input_2glfw_2keyboard_8h_source.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/input/glfw/keyboard.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
keyboard.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_GLFW_KEYBOARD_H_
-
2#define ARC_GLFW_KEYBOARD_H_
-
3
-
4#ifdef ARC_GLFW_INPUT
-
5#include <GLFW/glfw3.h>
- -
7
-
8struct ARC_Keyboard {
-
9 GLFWwindow *window;
-
10
- - -
13};
-
14
-
15struct ARC_KeyboardInfo {
-
16 GLFWwindow *window;
-
17};
-
18
-
19#endif // !ARC_GLFW_INPUT
-
20
-
21#endif // !ARC_GLFW_KEYBOARD_H_
- -
struct ARC_KeyboardInfo ARC_KeyboardInfo
Definition keyboard.h:17
-
ARC_KeyboardState
Definition keyboard.h:19
- -
ARC_KeyboardState * keys
Definition keyboard.h:10
-
ARC_KeyboardState * released
Definition keyboard.h:11
-
-
- - - - - - diff --git a/doc/doxygen/html/de/ded/input_8h.html b/doc/doxygen/html/de/ded/input_8h.html deleted file mode 100644 index bd1282e..0000000 --- a/doc/doxygen/html/de/ded/input_8h.html +++ /dev/null @@ -1,265 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/input/input.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
input.h File Reference
-
-
-
#include "arc/input/keyboard.h"
-#include "arc/input/mouse.h"
-#include "arc/std/bool.h"
-
-

Go to the source code of this file.

- - - - - -

-Typedefs

typedef struct ARC_Input ARC_Input
 predefien ARC_Input so as not to get circular reference
 
- - - - - - - - - - - -

-Functions

void ARC_Input_CreateWithEngineData (ARC_Input **input, ARC_EngineData *data)
 
void ARC_Input_Destroy (ARC_Input *input)
 
ARC_Bool ARC_Input_Update (ARC_Input *input)
 
ARC_KeyboardARC_Input_GetKeyboard (ARC_Input *input)
 
ARC_MouseARC_Input_GetMouse (ARC_Input *input)
 
-

Typedef Documentation

- -

◆ ARC_Input

- -
-
- - - - -
typedef struct ARC_Input ARC_Input
-
- -

predefien ARC_Input so as not to get circular reference

- -

Definition at line 17 of file input.h.

- -
-
-

Function Documentation

- -

◆ ARC_Input_CreateWithEngineData()

- -
-
- - - - - - - - - - - -
void ARC_Input_CreateWithEngineData (ARC_Input ** input,
ARC_EngineData * data )
-
- -
-
- -

◆ ARC_Input_Destroy()

- -
-
- - - - - - - -
void ARC_Input_Destroy (ARC_Input * input)
-
- -
-
- -

◆ ARC_Input_GetKeyboard()

- -
-
- - - - - - - -
ARC_Keyboard * ARC_Input_GetKeyboard (ARC_Input * input)
-
- -
-
- -

◆ ARC_Input_GetMouse()

- -
-
- - - - - - - -
ARC_Mouse * ARC_Input_GetMouse (ARC_Input * input)
-
- -
-
- -

◆ ARC_Input_Update()

- -
-
- - - - - - - -
ARC_Bool ARC_Input_Update (ARC_Input * input)
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/de/ded/input_8h.js b/doc/doxygen/html/de/ded/input_8h.js deleted file mode 100644 index 73c242d..0000000 --- a/doc/doxygen/html/de/ded/input_8h.js +++ /dev/null @@ -1,9 +0,0 @@ -var input_8h = -[ - [ "ARC_Input", "de/ded/input_8h.html#ab10a17a34031b17d7ed09ca515a91b45", null ], - [ "ARC_Input_CreateWithEngineData", "de/ded/input_8h.html#ab067b02367e78494a930fcccdd930c0c", null ], - [ "ARC_Input_Destroy", "de/ded/input_8h.html#a3f88d045f196b8460a62f4c32ee23f54", null ], - [ "ARC_Input_GetKeyboard", "de/ded/input_8h.html#a33b395c2b23fb459904fef05df97ae5d", null ], - [ "ARC_Input_GetMouse", "de/ded/input_8h.html#a5de153e8f7dd3212cb998ea2ad29c4f6", null ], - [ "ARC_Input_Update", "de/ded/input_8h.html#afb3fa56528406720283b62b2b713e118", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/de/ded/input_8h_source.html b/doc/doxygen/html/de/ded/input_8h_source.html deleted file mode 100644 index 76a310f..0000000 --- a/doc/doxygen/html/de/ded/input_8h_source.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/input/input.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
input.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_INPUT_H_
-
2#define ARC_INPUT_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
- -
9#include "arc/input/mouse.h"
-
10#include "arc/std/bool.h"
-
11
-
12/**
-
13 * @brief predefien ARC_EngineData so as not to get circular reference
-
14*/
-
15typedef struct ARC_EngineData ARC_EngineData;
-
16
-
17typedef struct ARC_Input ARC_Input;
-
18
- -
20
- -
22
- -
24
- -
26
- -
28
-
29#ifdef __cplusplus
-
30}
-
31#endif
-
32
-
33#endif // !ARC_INPUT_H_
- -
#define ARC_Bool
Definition bool.h:10
-
ARC_Keyboard * ARC_Input_GetKeyboard(ARC_Input *input)
-
void ARC_Input_Destroy(ARC_Input *input)
-
ARC_Mouse * ARC_Input_GetMouse(ARC_Input *input)
-
void ARC_Input_CreateWithEngineData(ARC_Input **input, ARC_EngineData *data)
-
struct ARC_Input ARC_Input
predefien ARC_Input so as not to get circular reference
Definition input.h:17
-
ARC_Bool ARC_Input_Update(ARC_Input *input)
- -
struct ARC_Keyboard ARC_Keyboard
Definition keyboard.h:15
- -
struct ARC_Mouse ARC_Mouse
Definition mouse.h:16
- -
-
- - - - - - diff --git a/doc/doxygen/html/de/df2/tests_2std_2parser_8c.html b/doc/doxygen/html/de/df2/tests_2std_2parser_8c.html deleted file mode 100644 index c7c6bff..0000000 --- a/doc/doxygen/html/de/df2/tests_2std_2parser_8c.html +++ /dev/null @@ -1,1067 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/tests/std/parser.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
parser.c File Reference
-
-
-
#include "../test.h"
-#include "arc/std/bool.h"
-#include "arc/std/errno.h"
-#include "arc/std/parser.h"
-#include "arc/std/parser/helpers.h"
-#include "arc/std/lexer.h"
-#include "arc/std/vector.h"
-#include <stddef.h>
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void TEST_ParserData_CreateStringFn (void **data, ARC_ParserTagToken *parsedData, void *userData)
 
void TEST_ParserData_DestroyStringFn (void *data, ARC_Bool clear, void *userData)
 
void TEST_Parser_InitLexerRulesFn (ARC_Lexer *lexer)
 
 ARC_TEST (Parser_Init)
 
 ARC_TEST (Parser_Basic_Parse)
 
 ARC_TEST (Parser_Basic_ParseError)
 
 ARC_TEST (Parser_Basic_GetParsedValue)
 
 ARC_TEST (Parser_ParserLang_BasicVector)
 
void TEST_Parser_InitBasicLexerTokenRules (ARC_Lexer *lexer)
 
uint32_t TEST_Parser_GetStringIdFn (ARC_String *string)
 
void TEST_ParserData_CreateCharFn (void **data, ARC_ParserTagToken *parsedData, void *userData)
 
void TEST_ParserData_DestroyCharFn (void *data, ARC_Bool clear, void *userData)
 
 ARC_TEST (Parser_Parser_BasicCreateWithStringTest)
 
- - - - - - - - - - - - - - - - - - - - - - - -

-Variables

const uint32_t TEST_PARSER_CHAR_OR_NUM = 23
 
const uint32_t TEST_PARSER_VARIABLE_NAME = 24
 
const uint32_t TEST_PARSER_VARIABLE = 25
 
const uint32_t TEST_PARSER_ALPHA_LOWER_CHAR = 1
 
const uint32_t TEST_PARSER_ALPHA_UPPER_CHAR = 2
 
const uint32_t TEST_PARSER_ALPHA_CHAR = 3
 
uint32_t * charOrNumTokens [] = { (uint32_t[]){ 1, ARC_LEXER_TOKEN_ALPHA_LOWER_CHAR }, (uint32_t[]){ 1, ARC_LEXER_TOKEN_NUMBER } }
 
uint32_t * variableNameTags [] = { (uint32_t[]){ 2, TEST_PARSER_CHAR_OR_NUM, TEST_PARSER_VARIABLE_NAME }, (uint32_t[]){ 1, ARC_PARSER_TAG_LAMBDA } }
 
uint32_t * variableTokensOrTags [] = { (uint32_t[]){ 2, ARC_LEXER_TOKEN_ALPHA_LOWER_CHAR, TEST_PARSER_VARIABLE_NAME } }
 
ARC_ParserTag testTags [3]
 
ARC_Array languageArray
 
-

Function Documentation

- -

◆ ARC_TEST() [1/6]

- -
-
- - - - - - - -
ARC_TEST (Parser_Basic_GetParsedValue )
-
- -

Definition at line 167 of file parser.c.

-
167 {
-
168 ARC_Parser *parser;
-
169
- - -
172
-
173 ARC_Parser_Create(&parser, &languageArray, TEST_Parser_InitLexerRulesFn, &createStringFn, &destroyStringFn, NULL);
-
174
-
175 ARC_String *tempString;
-
176
-
177
-
178 /* ~ first test ~ */
-
179 ARC_String_CreateWithStrlen(&tempString, "myvar1");
-
180
-
181 //this destroys string, so no need for cleanup
-
182 ARC_Parser_Parse(parser, &tempString);
-
183
-
184 ARC_CHECK(arc_errno == 0);
-
185
-
186 ARC_String *checkValue = (ARC_String *)ARC_Parser_GetData(parser);
-
187 ARC_CHECK(ARC_String_EqualsCStringWithStrlen(checkValue, "myvar1"));
-
188
-
189
-
190 /* ~ cleanup ~ */
-
191 ARC_Parser_Destroy(parser);
-
192}
-
int32_t arc_errno
Definition errno.c:5
-
void(* ARC_ParserData_CreateFn)(void **data, ARC_ParserTagToken *parsedData, void *userData)
TODO: write this.
Definition parser.h:57
-
void(* ARC_ParserData_DestroyFn)(void *data, ARC_Bool clear, void *userData)
TODO: write this.
Definition parser.h:62
-
void ARC_Parser_Create(ARC_Parser **parser, ARC_Array *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
creates an ARC_Parser type
Definition parser.c:24
-
void ARC_Parser_Parse(ARC_Parser *parser, ARC_String **data)
Definition parser.c:297
-
void ARC_Parser_Destroy(ARC_Parser *parser)
destroys an ARC_Parser type
Definition parser.c:127
-
void * ARC_Parser_GetData(ARC_Parser *parser)
Definition parser.c:368
-
void ARC_String_CreateWithStrlen(ARC_String **string, char *data)
creates ARC_String type with strinlen
Definition string.c:32
-
ARC_Bool ARC_String_EqualsCStringWithStrlen(ARC_String *string, const char *cstring)
check if ARC_String and cstring match
Definition string.c:171
- -
substring position within a string
Definition string.h:14
-
#define ARC_CHECK(TEST)
Definition test.h:33
-
void TEST_Parser_InitLexerRulesFn(ARC_Lexer *lexer)
Definition parser.c:62
-
ARC_Array languageArray
Definition parser.c:57
-
void TEST_ParserData_DestroyStringFn(void *data, ARC_Bool clear, void *userData)
Definition parser.c:25
-
void TEST_ParserData_CreateStringFn(void **data, ARC_ParserTagToken *parsedData, void *userData)
Definition parser.c:19
-
-

References ARC_CHECK, arc_errno, ARC_Parser_Create(), ARC_Parser_Destroy(), ARC_Parser_GetData(), ARC_Parser_Parse(), ARC_String_CreateWithStrlen(), ARC_String_EqualsCStringWithStrlen(), languageArray, TEST_Parser_InitLexerRulesFn(), TEST_ParserData_CreateStringFn(), and TEST_ParserData_DestroyStringFn().

- -
-
- -

◆ ARC_TEST() [2/6]

- -
-
- - - - - - - -
ARC_TEST (Parser_Basic_Parse )
-
- -

Definition at line 75 of file parser.c.

-
75 {
-
76 ARC_Parser *parser;
- -
78
-
79 ARC_String *tempString;
-
80
-
81
-
82 /* ~ first test ~ */
-
83 ARC_String_CreateWithStrlen(&tempString, "myvar1");
-
84
-
85 //this destroys string, so no need for cleanup
-
86 ARC_Parser_Parse(parser, &tempString);
-
87
-
88 ARC_CHECK(arc_errno == 0);
-
89
-
90
-
91 /* ~ second test ~ */
-
92 ARC_String_CreateWithStrlen(&tempString, "z1xwvq");
-
93 //this destroys string, so no need for cleanup
-
94 ARC_Parser_Parse(parser, &tempString);
-
95
-
96
-
97 ARC_CHECK(arc_errno == 0);
-
98
-
99
-
100 /* ~ third test ~ */
-
101 ARC_String_CreateWithStrlen(&tempString, "z1234");
-
102
-
103 //this destroys string, so no need for cleanup
-
104 ARC_Parser_Parse(parser, &tempString);
-
105
-
106 ARC_CHECK(arc_errno == 0);
-
107
-
108
-
109 /* ~ fourth test ~ */
-
110 ARC_String_CreateWithStrlen(&tempString, "aaaaa");
-
111
-
112 //this destroys string, so no need for cleanup
-
113 ARC_Parser_Parse(parser, &tempString);
-
114
-
115 ARC_CHECK(arc_errno == 0);
-
116
-
117
-
118 /* ~ cleanup ~ */
-
119 ARC_Parser_Destroy(parser);
-
120}
-
-

References ARC_CHECK, arc_errno, ARC_Parser_Create(), ARC_Parser_Destroy(), ARC_Parser_Parse(), ARC_String_CreateWithStrlen(), languageArray, and TEST_Parser_InitLexerRulesFn().

- -
-
- -

◆ ARC_TEST() [3/6]

- -
-
- - - - - - - -
ARC_TEST (Parser_Basic_ParseError )
-
- -

Definition at line 122 of file parser.c.

-
122 {
-
123 ARC_Parser *parser;
- -
125
-
126 ARC_String *tempString;
-
127
-
128
-
129 /* ~ first test ~ */
-
130 ARC_String_CreateWithStrlen(&tempString, "!myVar1");
-
131
-
132 //this destroys string, so no need for cleanup
-
133 ARC_Parser_Parse(parser, &tempString);
-
134
- -
136
-
137
-
138 /* ~ second test ~ */
-
139 //check again with moved character
-
140 arc_errno = 0;
-
141 ARC_String_CreateWithStrlen(&tempString, "my!Var1");
-
142
-
143 //this destroys string, so no need for cleanup
-
144 ARC_Parser_Parse(parser, &tempString);
-
145
- -
147
-
148
-
149 /* ~ third test ~ */
-
150 //check again with moved character
-
151 arc_errno = 0;
-
152 ARC_String_CreateWithStrlen(&tempString, "myVar1!");
-
153
-
154 //this destroys string, so no need for cleanup
-
155 ARC_Parser_Parse(parser, &tempString);
-
156
- -
158
-
159
-
160 /* ~ cleanup ~ */
-
161 ARC_Parser_Destroy(parser);
-
162
-
163 //reset for next test
-
164 arc_errno = 0;
-
165}
-
#define ARC_ERRNO_DATA
Definition errno.h:7
-
-

References ARC_CHECK, arc_errno, ARC_ERRNO_DATA, ARC_Parser_Create(), ARC_Parser_Destroy(), ARC_Parser_Parse(), ARC_String_CreateWithStrlen(), languageArray, and TEST_Parser_InitLexerRulesFn().

- -
-
- -

◆ ARC_TEST() [4/6]

- -
-
- - - - - - - -
ARC_TEST (Parser_Init )
-
- -

Definition at line 66 of file parser.c.

-
66 {
-
67 ARC_Parser *parser;
- -
69
-
70 ARC_Parser_Destroy(parser);
-
71
-
72 ARC_CHECK(arc_errno == 0);
-
73}
-
-

References ARC_CHECK, arc_errno, ARC_Parser_Create(), ARC_Parser_Destroy(), languageArray, and TEST_Parser_InitLexerRulesFn().

- -
-
- -

◆ ARC_TEST() [5/6]

- -
-
- - - - - - - -
ARC_TEST (Parser_Parser_BasicCreateWithStringTest )
-
- -

Definition at line 266 of file parser.c.

-
266 {
-
267 ARC_Parser *parser;
-
268
-
269 /* ~ create the language ~ */
-
270 ARC_String *languageString;
-
271 ARC_String_CreateWithStrlen(&languageString, "<alphaChar> -> ALPHA_LOWER_CHAR | ALPHA_UPPER_CHAR\n");
-
272
- - -
275 ARC_Parser_CreateFromString(&parser, languageString, TEST_Parser_InitBasicLexerTokenRules, TEST_Parser_GetStringIdFn, &createCharFn, &destroyCharFn, NULL);
-
276
-
277 ARC_String_Destroy(languageString);
-
278
-
279 ARC_CHECK(arc_errno == 0);
-
280
-
281
-
282 /* ~ check if a can be parsed ~ */
-
283 ARC_String *tempString;
-
284 ARC_String_CreateWithStrlen(&tempString, "a");
-
285
-
286 ARC_Parser_Parse(parser, &tempString);
-
287
-
288 char *data = (char *)ARC_Parser_GetData(parser);
-
289
-
290 ARC_CHECK(*data == 'a');
-
291
-
292 ARC_Parser_ClearData(parser);
-
293
-
294
-
295 /* ~ check if Z can be parsed ~ */
-
296 ARC_String_CreateWithStrlen(&tempString, "Z");
-
297
-
298 ARC_Parser_Parse(parser, &tempString);
-
299
-
300 data = (char *)ARC_Parser_GetData(parser);
-
301
-
302 ARC_CHECK(*data == 'Z');
-
303
-
304 ARC_Parser_ClearData(parser);
-
305
-
306
-
307 /* ~ check if 8 errors ~ */
-
308 ARC_String_CreateWithStrlen(&tempString, "8");
-
309
-
310 ARC_Parser_Parse(parser, &tempString);
-
311
-
312 data = (char *)ARC_Parser_GetData(parser);
-
313
- -
315 arc_errno = 0;
-
316
-
317 ARC_Parser_ClearData(parser);
-
318
-
319
-
320 //cleanup
-
321 ARC_Parser_Destroy(parser);
-
322}
-
void ARC_Parser_CreateFromString(ARC_Parser **parser, ARC_String *languageString, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_Parser_GetStringIdFn getStringIdFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
creates an ARC_Parser type from a string
Definition parser.c:105
-
void ARC_Parser_ClearData(ARC_Parser *parser)
Definition parser.c:358
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
uint32_t TEST_Parser_GetStringIdFn(ARC_String *string)
Definition parser.c:228
-
void TEST_ParserData_CreateCharFn(void **data, ARC_ParserTagToken *parsedData, void *userData)
Definition parser.c:244
-
void TEST_ParserData_DestroyCharFn(void *data, ARC_Bool clear, void *userData)
Definition parser.c:258
-
void TEST_Parser_InitBasicLexerTokenRules(ARC_Lexer *lexer)
Definition parser.c:219
-
-

References ARC_CHECK, arc_errno, ARC_ERRNO_DATA, ARC_Parser_ClearData(), ARC_Parser_CreateFromString(), ARC_Parser_Destroy(), ARC_Parser_GetData(), ARC_Parser_Parse(), ARC_String_CreateWithStrlen(), ARC_String_Destroy(), TEST_Parser_GetStringIdFn(), TEST_Parser_InitBasicLexerTokenRules(), TEST_ParserData_CreateCharFn(), and TEST_ParserData_DestroyCharFn().

- -
-
- -

◆ ARC_TEST() [6/6]

- -
-
- - - - - - - -
ARC_TEST (Parser_ParserLang_BasicVector )
-
- -

Definition at line 194 of file parser.c.

-
194 {
-
195 ARC_Vector *testLanguage;
-
196 ARC_Vector_Create(&testLanguage, NULL, NULL);
-
197
-
198 ARC_Vector_Add(testLanguage, testTags + 0);
-
199 ARC_Vector_Add(testLanguage, testTags + 1);
-
200 ARC_Vector_Add(testLanguage, testTags + 2);
-
201
-
202 ARC_Parser *parser;
-
203 ARC_Parser_CreateFromVector(&parser, testLanguage, TEST_Parser_InitLexerRulesFn, NULL, NULL, NULL);
-
204
-
205 ARC_String *tempString;
-
206 ARC_String_CreateWithStrlen(&tempString, "variablename");
-
207
-
208 //this destroys string, so no need for cleanup
-
209 ARC_Parser_Parse(parser, &tempString);
-
210
-
211 //cleanup
-
212 ARC_Parser_Destroy(parser);
-
213 ARC_Vector_Destroy(testLanguage);
-
214
-
215 ARC_CHECK(arc_errno == 0);
-
216}
-
void ARC_Parser_CreateFromVector(ARC_Parser **parser, ARC_Vector *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
creates an ARC_Parser type from an arc vector
Definition parser.c:85
-
a private dynamic array type
Definition vector.c:12
-
ARC_ParserTag testTags[3]
Definition parser.c:39
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:70
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:54
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:31
-
-

References ARC_CHECK, arc_errno, ARC_Parser_CreateFromVector(), ARC_Parser_Destroy(), ARC_Parser_Parse(), ARC_String_CreateWithStrlen(), ARC_Vector_Add(), ARC_Vector_Create(), ARC_Vector_Destroy(), TEST_Parser_InitLexerRulesFn(), and testTags.

- -
-
- -

◆ TEST_Parser_GetStringIdFn()

- -
-
- - - - - - - -
uint32_t TEST_Parser_GetStringIdFn (ARC_String * string)
-
- -

Definition at line 228 of file parser.c.

-
228 {
-
229 if(ARC_String_EqualsCStringWithStrlen(string, "<alphaChar>")){
- -
231 }
-
232
-
233 if(ARC_String_EqualsCStringWithStrlen(string, "ALPHA_LOWER_CHAR")){
- -
235 }
-
236
-
237 if(ARC_String_EqualsCStringWithStrlen(string, "ALPHA_UPPER_CHAR")){
- -
239 }
-
240
-
241 return ~(uint32_t)0;
-
242}
-
const uint32_t TEST_PARSER_ALPHA_CHAR
Definition parser.c:17
-
const uint32_t TEST_PARSER_ALPHA_LOWER_CHAR
Definition parser.c:15
-
const uint32_t TEST_PARSER_ALPHA_UPPER_CHAR
Definition parser.c:16
-
-

References ARC_String_EqualsCStringWithStrlen(), TEST_PARSER_ALPHA_CHAR, TEST_PARSER_ALPHA_LOWER_CHAR, and TEST_PARSER_ALPHA_UPPER_CHAR.

- -

Referenced by ARC_TEST().

- -
-
- -

◆ TEST_Parser_InitBasicLexerTokenRules()

- -
-
- - - - - - - -
void TEST_Parser_InitBasicLexerTokenRules (ARC_Lexer * lexer)
-
- -

Definition at line 219 of file parser.c.

-
219 {
-
220 //null
- -
222
-
223 //alpha char
- - -
226}
-
void ARC_Lexer_RegisterTokenRule(ARC_Lexer *lexer, ARC_LexerTokenRule tokenRule)
adds a token rule to a lexer
Definition lexer.c:79
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharRule(uint32_t id, char character)
creates a ARC_LexerTokenRule with a given id and character
Definition lexer.c:378
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween(uint32_t id, char start, char end)
creates a ARC_LexerTokenRule with a given id and character range
Definition lexer.c:400
-
#define ARC_PARSER_TAG_LAMBDA
basic tag for letting the parser know it is ok to end
Definition parser.h:150
-
-

References ARC_Lexer_RegisterTokenRule(), ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween(), ARC_LexerTokenRule_CreateAndReturnMatchCharRule(), ARC_PARSER_TAG_LAMBDA, TEST_PARSER_ALPHA_LOWER_CHAR, and TEST_PARSER_ALPHA_UPPER_CHAR.

- -

Referenced by ARC_TEST().

- -
-
- -

◆ TEST_Parser_InitLexerRulesFn()

- -
-
- - - - - - - -
void TEST_Parser_InitLexerRulesFn (ARC_Lexer * lexer)
-
- -

Definition at line 62 of file parser.c.

-
62 {
- -
64}
-
void ARC_Lexer_InitBasicTokenRules(ARC_Lexer *lexer)
adds a bunch of basic token rules (matching the BasicTokens above)
Definition lexer.c:472
-
-

References ARC_Lexer_InitBasicTokenRules().

- -

Referenced by ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), and ARC_TEST().

- -
-
- -

◆ TEST_ParserData_CreateCharFn()

- -
-
- - - - - - - - - - - - - - - - -
void TEST_ParserData_CreateCharFn (void ** data,
ARC_ParserTagToken * parsedData,
void * userData )
-
- -

Definition at line 244 of file parser.c.

-
244 {
-
245 if(parsedData == NULL){
-
246 *data = NULL;
-
247 return;
-
248 }
-
249
-
250 char *alphaChar = (char *)malloc(sizeof(char));
-
251
-
252 ARC_ParserTagToken *tagToken = (ARC_ParserTagToken *)ARC_Vector_Get(parsedData->tagTokens, 0);
-
253 *alphaChar = tagToken->token->data->data[0];
-
254
-
255 *data = (void *)alphaChar;
-
256}
-
ARC_String * data
Definition lexer.h:20
-
a parser type used inside of the parser data create function
Definition parser.h:35
-
ARC_LexerToken * token
Definition parser.h:38
-
ARC_Vector * tagTokens
Definition parser.h:39
-
char * data
Definition string.h:15
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:153
-
-

References ARC_Vector_Get(), ARC_LexerToken::data, ARC_String::data, ARC_ParserTagToken::tagTokens, and ARC_ParserTagToken::token.

- -

Referenced by ARC_TEST().

- -
-
- -

◆ TEST_ParserData_CreateStringFn()

- -
-
- - - - - - - - - - - - - - - - -
void TEST_ParserData_CreateStringFn (void ** data,
ARC_ParserTagToken * parsedData,
void * userData )
-
- -

Definition at line 19 of file parser.c.

-
19 {
-
20 ARC_String_Create((ARC_String **)data, NULL, 0);
-
21
- -
23}
-
void ARC_ParserData_HelperRecurseStringAdd(ARC_String **data, ARC_ParserTagToken *tagToken)
recurses through a tag token adding token strings to a main string
Definition helpers.c:4
-
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
-
-

References ARC_ParserData_HelperRecurseStringAdd(), and ARC_String_Create().

- -

Referenced by ARC_TEST().

- -
-
- -

◆ TEST_ParserData_DestroyCharFn()

- -
-
- - - - - - - - - - - - - - - - -
void TEST_ParserData_DestroyCharFn (void * data,
ARC_Bool clear,
void * userData )
-
- -

Definition at line 258 of file parser.c.

-
258 {
-
259 if(data == NULL){
-
260 return;
-
261 }
-
262
-
263 free((char *)data);
-
264}
-
-

Referenced by ARC_TEST().

- -
-
- -

◆ TEST_ParserData_DestroyStringFn()

- -
-
- - - - - - - - - - - - - - - - -
void TEST_ParserData_DestroyStringFn (void * data,
ARC_Bool clear,
void * userData )
-
- -

Definition at line 25 of file parser.c.

-
25 {
-
26 if(data == NULL){
-
27 return;
-
28 }
-
29
- -
31}
-
-

References ARC_String_Destroy().

- -

Referenced by ARC_TEST().

- -
-
-

Variable Documentation

- -

◆ charOrNumTokens

- -
-
- - - - -
uint32_t* charOrNumTokens[] = { (uint32_t[]){ 1, ARC_LEXER_TOKEN_ALPHA_LOWER_CHAR }, (uint32_t[]){ 1, ARC_LEXER_TOKEN_NUMBER } }
-
- -

Definition at line 33 of file parser.c.

-
33{ (uint32_t[]){ 1, ARC_LEXER_TOKEN_ALPHA_LOWER_CHAR }, (uint32_t[]){ 1, ARC_LEXER_TOKEN_NUMBER } };
-
#define ARC_LEXER_TOKEN_ALPHA_LOWER_CHAR
Definition lexer.h:250
-
#define ARC_LEXER_TOKEN_NUMBER
Definition lexer.h:249
-
-
-
- -

◆ languageArray

- -
-
- - - - -
ARC_Array languageArray
-
-Initial value:
= {
-
3,
- -
}
-
-

Definition at line 57 of file parser.c.

-
57 {
-
58 3, //size
-
59 testTags //data
-
60};
-
-

Referenced by ARC_Parser_CreateFromVector(), ARC_TEST(), ARC_TEST(), ARC_TEST(), and ARC_TEST().

- -
-
- -

◆ TEST_PARSER_ALPHA_CHAR

- -
-
- - - - -
const uint32_t TEST_PARSER_ALPHA_CHAR = 3
-
- -

Definition at line 17 of file parser.c.

- -

Referenced by TEST_Parser_GetStringIdFn().

- -
-
- -

◆ TEST_PARSER_ALPHA_LOWER_CHAR

- -
-
- - - - -
const uint32_t TEST_PARSER_ALPHA_LOWER_CHAR = 1
-
- -

Definition at line 15 of file parser.c.

- -

Referenced by TEST_Parser_GetStringIdFn(), and TEST_Parser_InitBasicLexerTokenRules().

- -
-
- -

◆ TEST_PARSER_ALPHA_UPPER_CHAR

- -
-
- - - - -
const uint32_t TEST_PARSER_ALPHA_UPPER_CHAR = 2
-
- -

Definition at line 16 of file parser.c.

- -

Referenced by TEST_Parser_GetStringIdFn(), and TEST_Parser_InitBasicLexerTokenRules().

- -
-
- -

◆ TEST_PARSER_CHAR_OR_NUM

- -
-
- - - - -
const uint32_t TEST_PARSER_CHAR_OR_NUM = 23
-
- -

Definition at line 11 of file parser.c.

- -
-
- -

◆ TEST_PARSER_VARIABLE

- -
-
- - - - -
const uint32_t TEST_PARSER_VARIABLE = 25
-
- -

Definition at line 13 of file parser.c.

- -
-
- -

◆ TEST_PARSER_VARIABLE_NAME

- -
-
- - - - -
const uint32_t TEST_PARSER_VARIABLE_NAME = 24
-
- -

Definition at line 12 of file parser.c.

- -
-
- -

◆ testTags

- -
-
- - - - -
ARC_ParserTag testTags[3]
-
-Initial value:
= {
-
{
- - -
1
-
},
-
{
- - -
2
-
},
-
{
- - -
2
-
}
-
}
-
const uint32_t TEST_PARSER_VARIABLE_NAME
Definition parser.c:12
-
uint32_t * variableTokensOrTags[]
Definition parser.c:35
-
const uint32_t TEST_PARSER_VARIABLE
Definition parser.c:13
-
uint32_t * variableNameTags[]
Definition parser.c:34
-
uint32_t * charOrNumTokens[]
Definition parser.c:33
-
const uint32_t TEST_PARSER_CHAR_OR_NUM
Definition parser.c:11
-
-

Definition at line 39 of file parser.c.

-
39 {
-
40 {
- -
42 variableTokensOrTags, //tokensOrTags
-
43 1 //tokenOrTagsSize
-
44 },
-
45 {
- -
47 variableNameTags, //tokensOrTags
-
48 2 //tokenOrTagsSize
-
49 },
-
50 {
- -
52 charOrNumTokens, //tokensOrTags
-
53 2 //tokenOrTagsSize
-
54 }
-
55};
-
-

Referenced by ARC_TEST().

- -
-
- -

◆ variableNameTags

- -
-
- - - - -
uint32_t* variableNameTags[] = { (uint32_t[]){ 2, TEST_PARSER_CHAR_OR_NUM, TEST_PARSER_VARIABLE_NAME }, (uint32_t[]){ 1, ARC_PARSER_TAG_LAMBDA } }
-
- -

Definition at line 34 of file parser.c.

-
34{ (uint32_t[]){ 2, TEST_PARSER_CHAR_OR_NUM, TEST_PARSER_VARIABLE_NAME }, (uint32_t[]){ 1, ARC_PARSER_TAG_LAMBDA } };
-
-
-
- -

◆ variableTokensOrTags

- -
-
- - - - -
uint32_t* variableTokensOrTags[] = { (uint32_t[]){ 2, ARC_LEXER_TOKEN_ALPHA_LOWER_CHAR, TEST_PARSER_VARIABLE_NAME } }
-
- -

Definition at line 35 of file parser.c.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/de/df2/tests_2std_2parser_8c.js b/doc/doxygen/html/de/df2/tests_2std_2parser_8c.js deleted file mode 100644 index 4dc73a7..0000000 --- a/doc/doxygen/html/de/df2/tests_2std_2parser_8c.js +++ /dev/null @@ -1,27 +0,0 @@ -var tests_2std_2parser_8c = -[ - [ "ARC_TEST", "de/df2/tests_2std_2parser_8c.html#a0c54c7bd80306334499ae820c6aeb8bd", null ], - [ "ARC_TEST", "de/df2/tests_2std_2parser_8c.html#a3cfdd95ba12e804933a434f4ecd5f79f", null ], - [ "ARC_TEST", "de/df2/tests_2std_2parser_8c.html#a54e0bddbc24a07b99d149faf2821455f", null ], - [ "ARC_TEST", "de/df2/tests_2std_2parser_8c.html#ac3b203767b3bdd3a0631fa540488a801", null ], - [ "ARC_TEST", "de/df2/tests_2std_2parser_8c.html#a07d49832455bb0d0d4c56a7fc446c8ba", null ], - [ "ARC_TEST", "de/df2/tests_2std_2parser_8c.html#ae174412b9ea41399e692ca01b65215f5", null ], - [ "TEST_Parser_GetStringIdFn", "de/df2/tests_2std_2parser_8c.html#a2c2f83d69fb77f4d1a4168a4710323eb", null ], - [ "TEST_Parser_InitBasicLexerTokenRules", "de/df2/tests_2std_2parser_8c.html#ace6c68779118fc51143abff75f8d218c", null ], - [ "TEST_Parser_InitLexerRulesFn", "de/df2/tests_2std_2parser_8c.html#a4a9d898bbd28d18bb06865a29e6dc5fc", null ], - [ "TEST_ParserData_CreateCharFn", "de/df2/tests_2std_2parser_8c.html#a30089ee0b33816491e6a4823ce4a9bf0", null ], - [ "TEST_ParserData_CreateStringFn", "de/df2/tests_2std_2parser_8c.html#af2fea42ae6145fc9931440cde32caee6", null ], - [ "TEST_ParserData_DestroyCharFn", "de/df2/tests_2std_2parser_8c.html#a979e9467d8ac0d3fdbccd170f24da8a5", null ], - [ "TEST_ParserData_DestroyStringFn", "de/df2/tests_2std_2parser_8c.html#ae06c939814f08a7d881f4d80cb04805d", null ], - [ "charOrNumTokens", "de/df2/tests_2std_2parser_8c.html#ae40236983b7c9fab8d413d4e5db51b80", null ], - [ "languageArray", "de/df2/tests_2std_2parser_8c.html#a738219b643e4ef008c874d8f74ff870c", null ], - [ "TEST_PARSER_ALPHA_CHAR", "de/df2/tests_2std_2parser_8c.html#a1b47a3cd244ee756a85b7601c55fe62f", null ], - [ "TEST_PARSER_ALPHA_LOWER_CHAR", "de/df2/tests_2std_2parser_8c.html#abce6479f13d091cac6c77417da71280a", null ], - [ "TEST_PARSER_ALPHA_UPPER_CHAR", "de/df2/tests_2std_2parser_8c.html#ae0b4b42b73007234a3ba5649c023325b", null ], - [ "TEST_PARSER_CHAR_OR_NUM", "de/df2/tests_2std_2parser_8c.html#afc6f7f973d10770b2ff6751eeceb79f7", null ], - [ "TEST_PARSER_VARIABLE", "de/df2/tests_2std_2parser_8c.html#a9ec65dfe3ca8d81516d52016613d73a8", null ], - [ "TEST_PARSER_VARIABLE_NAME", "de/df2/tests_2std_2parser_8c.html#a06bd63738ee7e3125f34d583a95b642e", null ], - [ "testTags", "de/df2/tests_2std_2parser_8c.html#a4801068a17d9b17c5cda45ee6405ae7e", null ], - [ "variableNameTags", "de/df2/tests_2std_2parser_8c.html#ac04963a6fac22994e1ed1c7685c2826c", null ], - [ "variableTokensOrTags", "de/df2/tests_2std_2parser_8c.html#a446ee2eb5110084533f21f24fa1eeb69", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/de/df2/tests_2std_2parser_8c_source.html b/doc/doxygen/html/de/df2/tests_2std_2parser_8c_source.html deleted file mode 100644 index 70883e2..0000000 --- a/doc/doxygen/html/de/df2/tests_2std_2parser_8c_source.html +++ /dev/null @@ -1,546 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/tests/std/parser.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
parser.c
-
-
-Go to the documentation of this file.
1#include "../test.h"
-
2#include "arc/std/bool.h"
-
3#include "arc/std/errno.h"
-
4#include "arc/std/parser.h"
- -
6#include "arc/std/lexer.h"
-
7#include "arc/std/vector.h"
-
8#include <stddef.h>
-
9#include <stdlib.h>
-
10
-
11const uint32_t TEST_PARSER_CHAR_OR_NUM = 23;
-
12const uint32_t TEST_PARSER_VARIABLE_NAME = 24;
-
13const uint32_t TEST_PARSER_VARIABLE = 25;
-
14
- - -
17const uint32_t TEST_PARSER_ALPHA_CHAR = 3;
-
18
-
-
19void TEST_ParserData_CreateStringFn(void **data, ARC_ParserTagToken *parsedData, void *userData){
-
20 ARC_String_Create((ARC_String **)data, NULL, 0);
-
21
- -
23}
-
-
24
-
-
25void TEST_ParserData_DestroyStringFn(void *data, ARC_Bool clear, void *userData){
-
26 if(data == NULL){
-
27 return;
-
28 }
-
29
- -
31}
-
-
32
-
33uint32_t *charOrNumTokens[] = { (uint32_t[]){ 1, ARC_LEXER_TOKEN_ALPHA_LOWER_CHAR }, (uint32_t[]){ 1, ARC_LEXER_TOKEN_NUMBER } };
-
34uint32_t *variableNameTags[] = { (uint32_t[]){ 2, TEST_PARSER_CHAR_OR_NUM, TEST_PARSER_VARIABLE_NAME }, (uint32_t[]){ 1, ARC_PARSER_TAG_LAMBDA } };
- -
36
-
37//TODO: note how language function callbacks work, and how they use the parentData if createDataFn is NULL
-
38
-
- -
40 {
- -
42 variableTokensOrTags, //tokensOrTags
-
43 1 //tokenOrTagsSize
-
44 },
-
45 {
- -
47 variableNameTags, //tokensOrTags
-
48 2 //tokenOrTagsSize
-
49 },
-
50 {
- -
52 charOrNumTokens, //tokensOrTags
-
53 2 //tokenOrTagsSize
-
54 }
-
55};
-
-
56
-
- -
58 3, //size
-
59 testTags //data
-
60};
-
-
61
- -
65
-
-
66ARC_TEST(Parser_Init){
-
67 ARC_Parser *parser;
- -
69
-
70 ARC_Parser_Destroy(parser);
-
71
-
72 ARC_CHECK(arc_errno == 0);
-
73}
-
-
74
-
-
75ARC_TEST(Parser_Basic_Parse){
-
76 ARC_Parser *parser;
- -
78
-
79 ARC_String *tempString;
-
80
-
81
-
82 /* ~ first test ~ */
-
83 ARC_String_CreateWithStrlen(&tempString, "myvar1");
-
84
-
85 //this destroys string, so no need for cleanup
-
86 ARC_Parser_Parse(parser, &tempString);
-
87
-
88 ARC_CHECK(arc_errno == 0);
-
89
-
90
-
91 /* ~ second test ~ */
-
92 ARC_String_CreateWithStrlen(&tempString, "z1xwvq");
-
93 //this destroys string, so no need for cleanup
-
94 ARC_Parser_Parse(parser, &tempString);
-
95
-
96
-
97 ARC_CHECK(arc_errno == 0);
-
98
-
99
-
100 /* ~ third test ~ */
-
101 ARC_String_CreateWithStrlen(&tempString, "z1234");
-
102
-
103 //this destroys string, so no need for cleanup
-
104 ARC_Parser_Parse(parser, &tempString);
-
105
-
106 ARC_CHECK(arc_errno == 0);
-
107
-
108
-
109 /* ~ fourth test ~ */
-
110 ARC_String_CreateWithStrlen(&tempString, "aaaaa");
-
111
-
112 //this destroys string, so no need for cleanup
-
113 ARC_Parser_Parse(parser, &tempString);
-
114
-
115 ARC_CHECK(arc_errno == 0);
-
116
-
117
-
118 /* ~ cleanup ~ */
-
119 ARC_Parser_Destroy(parser);
-
120}
-
-
121
-
-
122ARC_TEST(Parser_Basic_ParseError){
-
123 ARC_Parser *parser;
- -
125
-
126 ARC_String *tempString;
-
127
-
128
-
129 /* ~ first test ~ */
-
130 ARC_String_CreateWithStrlen(&tempString, "!myVar1");
-
131
-
132 //this destroys string, so no need for cleanup
-
133 ARC_Parser_Parse(parser, &tempString);
-
134
- -
136
-
137
-
138 /* ~ second test ~ */
-
139 //check again with moved character
-
140 arc_errno = 0;
-
141 ARC_String_CreateWithStrlen(&tempString, "my!Var1");
-
142
-
143 //this destroys string, so no need for cleanup
-
144 ARC_Parser_Parse(parser, &tempString);
-
145
- -
147
-
148
-
149 /* ~ third test ~ */
-
150 //check again with moved character
-
151 arc_errno = 0;
-
152 ARC_String_CreateWithStrlen(&tempString, "myVar1!");
-
153
-
154 //this destroys string, so no need for cleanup
-
155 ARC_Parser_Parse(parser, &tempString);
-
156
- -
158
-
159
-
160 /* ~ cleanup ~ */
-
161 ARC_Parser_Destroy(parser);
-
162
-
163 //reset for next test
-
164 arc_errno = 0;
-
165}
-
-
166
-
-
167ARC_TEST(Parser_Basic_GetParsedValue){
-
168 ARC_Parser *parser;
-
169
- - -
172
-
173 ARC_Parser_Create(&parser, &languageArray, TEST_Parser_InitLexerRulesFn, &createStringFn, &destroyStringFn, NULL);
-
174
-
175 ARC_String *tempString;
-
176
-
177
-
178 /* ~ first test ~ */
-
179 ARC_String_CreateWithStrlen(&tempString, "myvar1");
-
180
-
181 //this destroys string, so no need for cleanup
-
182 ARC_Parser_Parse(parser, &tempString);
-
183
-
184 ARC_CHECK(arc_errno == 0);
-
185
-
186 ARC_String *checkValue = (ARC_String *)ARC_Parser_GetData(parser);
-
187 ARC_CHECK(ARC_String_EqualsCStringWithStrlen(checkValue, "myvar1"));
-
188
-
189
-
190 /* ~ cleanup ~ */
-
191 ARC_Parser_Destroy(parser);
-
192}
-
-
193
-
-
194ARC_TEST(Parser_ParserLang_BasicVector){
-
195 ARC_Vector *testLanguage;
-
196 ARC_Vector_Create(&testLanguage, NULL, NULL);
-
197
-
198 ARC_Vector_Add(testLanguage, testTags + 0);
-
199 ARC_Vector_Add(testLanguage, testTags + 1);
-
200 ARC_Vector_Add(testLanguage, testTags + 2);
-
201
-
202 ARC_Parser *parser;
-
203 ARC_Parser_CreateFromVector(&parser, testLanguage, TEST_Parser_InitLexerRulesFn, NULL, NULL, NULL);
-
204
-
205 ARC_String *tempString;
-
206 ARC_String_CreateWithStrlen(&tempString, "variablename");
-
207
-
208 //this destroys string, so no need for cleanup
-
209 ARC_Parser_Parse(parser, &tempString);
-
210
-
211 //cleanup
-
212 ARC_Parser_Destroy(parser);
-
213 ARC_Vector_Destroy(testLanguage);
-
214
-
215 ARC_CHECK(arc_errno == 0);
-
216}
-
-
217
-
218/* ~ parser tests ~ */
- -
227
-
- -
229 if(ARC_String_EqualsCStringWithStrlen(string, "<alphaChar>")){
- -
231 }
-
232
-
233 if(ARC_String_EqualsCStringWithStrlen(string, "ALPHA_LOWER_CHAR")){
- -
235 }
-
236
-
237 if(ARC_String_EqualsCStringWithStrlen(string, "ALPHA_UPPER_CHAR")){
- -
239 }
-
240
-
241 return ~(uint32_t)0;
-
242}
-
-
243
-
-
244void TEST_ParserData_CreateCharFn(void **data, ARC_ParserTagToken *parsedData, void *userData){
-
245 if(parsedData == NULL){
-
246 *data = NULL;
-
247 return;
-
248 }
-
249
-
250 char *alphaChar = (char *)malloc(sizeof(char));
-
251
-
252 ARC_ParserTagToken *tagToken = (ARC_ParserTagToken *)ARC_Vector_Get(parsedData->tagTokens, 0);
-
253 *alphaChar = tagToken->token->data->data[0];
-
254
-
255 *data = (void *)alphaChar;
-
256}
-
-
257
-
-
258void TEST_ParserData_DestroyCharFn(void *data, ARC_Bool clear, void *userData){
-
259 if(data == NULL){
-
260 return;
-
261 }
-
262
-
263 free((char *)data);
-
264}
-
-
265
-
-
266ARC_TEST(Parser_Parser_BasicCreateWithStringTest){
-
267 ARC_Parser *parser;
-
268
-
269 /* ~ create the language ~ */
-
270 ARC_String *languageString;
-
271 ARC_String_CreateWithStrlen(&languageString, "<alphaChar> -> ALPHA_LOWER_CHAR | ALPHA_UPPER_CHAR\n");
-
272
- - -
275 ARC_Parser_CreateFromString(&parser, languageString, TEST_Parser_InitBasicLexerTokenRules, TEST_Parser_GetStringIdFn, &createCharFn, &destroyCharFn, NULL);
-
276
-
277 ARC_String_Destroy(languageString);
-
278
-
279 ARC_CHECK(arc_errno == 0);
-
280
-
281
-
282 /* ~ check if a can be parsed ~ */
-
283 ARC_String *tempString;
-
284 ARC_String_CreateWithStrlen(&tempString, "a");
-
285
-
286 ARC_Parser_Parse(parser, &tempString);
-
287
-
288 char *data = (char *)ARC_Parser_GetData(parser);
-
289
-
290 ARC_CHECK(*data == 'a');
-
291
-
292 ARC_Parser_ClearData(parser);
-
293
-
294
-
295 /* ~ check if Z can be parsed ~ */
-
296 ARC_String_CreateWithStrlen(&tempString, "Z");
-
297
-
298 ARC_Parser_Parse(parser, &tempString);
-
299
-
300 data = (char *)ARC_Parser_GetData(parser);
-
301
-
302 ARC_CHECK(*data == 'Z');
-
303
-
304 ARC_Parser_ClearData(parser);
-
305
-
306
-
307 /* ~ check if 8 errors ~ */
-
308 ARC_String_CreateWithStrlen(&tempString, "8");
-
309
-
310 ARC_Parser_Parse(parser, &tempString);
-
311
-
312 data = (char *)ARC_Parser_GetData(parser);
-
313
- -
315 arc_errno = 0;
-
316
-
317 ARC_Parser_ClearData(parser);
-
318
-
319
-
320 //cleanup
-
321 ARC_Parser_Destroy(parser);
-
322}
-
- -
#define ARC_Bool
Definition bool.h:10
- -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_DATA
Definition errno.h:7
- -
void ARC_ParserData_HelperRecurseStringAdd(ARC_String **data, ARC_ParserTagToken *tagToken)
recurses through a tag token adding token strings to a main string
Definition helpers.c:4
- -
void ARC_Lexer_RegisterTokenRule(ARC_Lexer *lexer, ARC_LexerTokenRule tokenRule)
adds a token rule to a lexer
Definition lexer.c:79
-
void ARC_Lexer_InitBasicTokenRules(ARC_Lexer *lexer)
adds a bunch of basic token rules (matching the BasicTokens above)
Definition lexer.c:472
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharRule(uint32_t id, char character)
creates a ARC_LexerTokenRule with a given id and character
Definition lexer.c:378
-
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween(uint32_t id, char start, char end)
creates a ARC_LexerTokenRule with a given id and character range
Definition lexer.c:400
-
#define ARC_LEXER_TOKEN_ALPHA_LOWER_CHAR
Definition lexer.h:250
-
#define ARC_LEXER_TOKEN_NUMBER
Definition lexer.h:249
- -
#define ARC_PARSER_TAG_LAMBDA
basic tag for letting the parser know it is ok to end
Definition parser.h:150
-
void(* ARC_ParserData_CreateFn)(void **data, ARC_ParserTagToken *parsedData, void *userData)
TODO: write this.
Definition parser.h:57
-
void(* ARC_ParserData_DestroyFn)(void *data, ARC_Bool clear, void *userData)
TODO: write this.
Definition parser.h:62
-
void ARC_Parser_CreateFromString(ARC_Parser **parser, ARC_String *languageString, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_Parser_GetStringIdFn getStringIdFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
creates an ARC_Parser type from a string
Definition parser.c:105
-
void ARC_Parser_Create(ARC_Parser **parser, ARC_Array *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
creates an ARC_Parser type
Definition parser.c:24
-
void ARC_Parser_Parse(ARC_Parser *parser, ARC_String **data)
Definition parser.c:297
-
void ARC_Parser_CreateFromVector(ARC_Parser **parser, ARC_Vector *language, ARC_Parser_InitLexerRulesFn initLexerRulesFn, ARC_ParserData_CreateFn *createDataFn, ARC_ParserData_DestroyFn *destroyDataFn, void *userData)
creates an ARC_Parser type from an arc vector
Definition parser.c:85
-
void ARC_Parser_Destroy(ARC_Parser *parser)
destroys an ARC_Parser type
Definition parser.c:127
-
void ARC_Parser_ClearData(ARC_Parser *parser)
Definition parser.c:358
-
void * ARC_Parser_GetData(ARC_Parser *parser)
Definition parser.c:368
-
void ARC_String_CreateWithStrlen(ARC_String **string, char *data)
creates ARC_String type with strinlen
Definition string.c:32
-
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
-
ARC_Bool ARC_String_EqualsCStringWithStrlen(ARC_String *string, const char *cstring)
check if ARC_String and cstring match
Definition string.c:171
-
void ARC_String_Destroy(ARC_String *string)
destroys ARC_String type
Definition string.c:52
-
a type that holds an array of data and its size
Definition array.h:13
-
ARC_String * data
Definition lexer.h:20
- -
a parser type used inside of the parser data create function
Definition parser.h:35
-
ARC_LexerToken * token
Definition parser.h:38
-
ARC_Vector * tagTokens
Definition parser.h:39
-
a langue tag type for the parser //TODO: explain this better
Definition parser.h:21
- -
substring position within a string
Definition string.h:14
-
char * data
Definition string.h:15
-
a private dynamic array type
Definition vector.c:12
- -
#define ARC_CHECK(TEST)
Definition test.h:33
-
#define ARC_TEST(MESSAGE)
Definition test.h:31
-
const uint32_t TEST_PARSER_VARIABLE_NAME
Definition parser.c:12
-
const uint32_t TEST_PARSER_ALPHA_CHAR
Definition parser.c:17
-
uint32_t TEST_Parser_GetStringIdFn(ARC_String *string)
Definition parser.c:228
-
void TEST_ParserData_CreateCharFn(void **data, ARC_ParserTagToken *parsedData, void *userData)
Definition parser.c:244
-
uint32_t * variableTokensOrTags[]
Definition parser.c:35
-
ARC_ParserTag testTags[3]
Definition parser.c:39
-
void TEST_Parser_InitLexerRulesFn(ARC_Lexer *lexer)
Definition parser.c:62
-
ARC_Array languageArray
Definition parser.c:57
-
void TEST_ParserData_DestroyCharFn(void *data, ARC_Bool clear, void *userData)
Definition parser.c:258
-
const uint32_t TEST_PARSER_VARIABLE
Definition parser.c:13
-
const uint32_t TEST_PARSER_ALPHA_LOWER_CHAR
Definition parser.c:15
-
uint32_t * variableNameTags[]
Definition parser.c:34
-
void TEST_Parser_InitBasicLexerTokenRules(ARC_Lexer *lexer)
Definition parser.c:219
-
void TEST_ParserData_DestroyStringFn(void *data, ARC_Bool clear, void *userData)
Definition parser.c:25
-
const uint32_t TEST_PARSER_ALPHA_UPPER_CHAR
Definition parser.c:16
-
uint32_t * charOrNumTokens[]
Definition parser.c:33
-
void TEST_ParserData_CreateStringFn(void **data, ARC_ParserTagToken *parsedData, void *userData)
Definition parser.c:19
-
const uint32_t TEST_PARSER_CHAR_OR_NUM
Definition parser.c:11
- -
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:153
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:70
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:54
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:31
-
-
- - - - - - diff --git a/doc/doxygen/html/de/df6/tests_8dir_2src_2std_2handler_8c_8o_8d.html b/doc/doxygen/html/de/df6/tests_8dir_2src_2std_2handler_8c_8o_8d.html deleted file mode 100644 index 481782c..0000000 --- a/doc/doxygen/html/de/df6/tests_8dir_2src_2std_2handler_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/handler.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
handler.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/de/df6/tests_8dir_2src_2std_2handler_8c_8o_8d_source.html b/doc/doxygen/html/de/df6/tests_8dir_2src_2std_2handler_8c_8o_8d_source.html deleted file mode 100644 index 946880f..0000000 --- a/doc/doxygen/html/de/df6/tests_8dir_2src_2std_2handler_8c_8o_8d_source.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/handler.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
handler.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/std/handler.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/handler.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/handler.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
6 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
7 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
8 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
9 /usr/include/features.h /usr/include/features-time64.h \
-
10 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
11 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
12 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
13 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
14 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
15 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
16 /usr/include/bits/stdint-least.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
18 /usr/include/stdio.h \
-
19 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
21 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
22 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
23 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
24 /usr/include/bits/types/cookie_io_functions_t.h \
-
25 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
26 /usr/include/bits/floatn-common.h \
-
27 /home/herbglitch/programs/archeus/arc/include/arc/std/vector.h \
-
28 /usr/include/stdlib.h /usr/include/bits/waitflags.h \
-
29 /usr/include/bits/waitstatus.h /usr/include/sys/types.h \
-
30 /usr/include/bits/types/clock_t.h /usr/include/bits/types/clockid_t.h \
-
31 /usr/include/bits/types/time_t.h /usr/include/bits/types/timer_t.h \
-
32 /usr/include/endian.h /usr/include/bits/endian.h \
-
33 /usr/include/bits/endianness.h /usr/include/bits/byteswap.h \
-
34 /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \
-
35 /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \
-
36 /usr/include/bits/types/__sigset_t.h \
-
37 /usr/include/bits/types/struct_timeval.h \
-
38 /usr/include/bits/types/struct_timespec.h \
-
39 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
40 /usr/include/bits/pthreadtypes-arch.h \
-
41 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
42 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
43 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/de/df7/time_8h.html b/doc/doxygen/html/de/df7/time_8h.html deleted file mode 100644 index 24a6dd8..0000000 --- a/doc/doxygen/html/de/df7/time_8h.html +++ /dev/null @@ -1,203 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/time.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
time.h File Reference
-
-
-
#include <stdint.h>
-#include <time.h>
-
-

Go to the source code of this file.

- - - - - -

-Data Structures

struct  ARC_Time
 the ARC_Time data structre based on time.h (mainly added to avoid having to type struct tm every time) More...
 
- - - - -

-Typedefs

typedef struct ARC_Time ARC_Time
 the ARC_Time data structre based on time.h (mainly added to avoid having to type struct tm every time)
 
- - - - -

-Functions

ARC_Time ARC_Time_CopyFromStructTmPtr (struct tm *time)
 copies the contents of a tm struct pointer into the ARC_Time type
 
-

Typedef Documentation

- -

◆ ARC_Time

- -
-
- - - - -
typedef struct ARC_Time ARC_Time
-
- -

the ARC_Time data structre based on time.h (mainly added to avoid having to type struct tm every time)

-

seconds == tm_sec [0,60] minutes == tm_min [0,59] hour == tm_hour [0,23]

-

day == tm_yday Day of year [0,365] month == tm_mon Month of year [0,11] year == tm_year Years since 1900

-

dayOfWeek == tm_wday Day of week [0,6] (Sunday =0) dayOfMonth == tm_mday Day of month [1,31]

-

daylightSavingsFlag == tm_isdst Daylight Savings flag

- -
-
-

Function Documentation

- -

◆ ARC_Time_CopyFromStructTmPtr()

- -
-
- - - - - - - -
ARC_Time ARC_Time_CopyFromStructTmPtr (struct tm * time)
-
- -

copies the contents of a tm struct pointer into the ARC_Time type

-
Parameters
- - -
timethe struct tm type to copy
-
-
-
Returns
the contents of a struct tm as an ARC_Time
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/de/df7/time_8h.js b/doc/doxygen/html/de/df7/time_8h.js deleted file mode 100644 index 0b3be73..0000000 --- a/doc/doxygen/html/de/df7/time_8h.js +++ /dev/null @@ -1,6 +0,0 @@ -var time_8h = -[ - [ "ARC_Time", "da/dba/structARC__Time.html", "da/dba/structARC__Time" ], - [ "ARC_Time", "de/df7/time_8h.html#a7bbd69c14efedf01108730576c87c3d1", null ], - [ "ARC_Time_CopyFromStructTmPtr", "de/df7/time_8h.html#a77e3c70990681ec05eef64214b61efab", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/de/df7/time_8h_source.html b/doc/doxygen/html/de/df7/time_8h_source.html deleted file mode 100644 index 5d479b4..0000000 --- a/doc/doxygen/html/de/df7/time_8h_source.html +++ /dev/null @@ -1,198 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/time.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
time.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_STD_TIME_H_
-
2#define ARC_STD_TIME_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include <stdint.h>
-
9#include <time.h>
-
10
-
11/**
-
12 * @brief the ARC_Time data structre based on time.h (mainly added to avoid having to type `struct tm` every time)
-
13 *
-
14 * seconds == tm_sec [0,60]
-
15 * minutes == tm_min [0,59]
-
16 * hour == tm_hour [0,23]
-
17 *
-
18 * day == tm_yday Day of year [0,365]
-
19 * month == tm_mon Month of year [0,11]
-
20 * year == tm_year Years since 1900
-
21 *
-
22 * dayOfWeek == tm_wday Day of week [0,6] (Sunday =0)
-
23 * dayOfMonth == tm_mday Day of month [1,31]
-
24 *
-
25 * daylightSavingsFlag == tm_isdst Daylight Savings flag
-
26*/
-
-
27typedef struct ARC_Time {
-
28 uint8_t seconds;
-
29 uint8_t minutes;
-
30 uint8_t hour;
-
31
-
32 uint32_t day;
-
33 uint8_t month;
-
34 uint32_t year;
-
35
-
36 uint8_t dayOfWeek;
-
37 uint8_t dayOfMonth;
-
38
- - -
-
41
-
42/**
-
43 * @brief copies the contents of a tm struct pointer into the ARC_Time type
-
44 *
-
45 * @param time the struct tm type to copy
-
46 *
-
47 * @return the contents of a struct tm as an ARC_Time
-
48*/
- -
50
-
51#ifdef __cplusplus
-
52}
-
53#endif
-
54
-
55#endif // !ARC_STD_TIME_H_
-
the ARC_Time data structre based on time.h (mainly added to avoid having to type struct tm every time...
Definition time.h:27
-
uint32_t year
Definition time.h:34
-
uint8_t month
Definition time.h:33
-
uint32_t day
Definition time.h:32
-
uint8_t dayOfWeek
Definition time.h:36
-
uint8_t dayOfMonth
Definition time.h:37
-
uint8_t seconds
Definition time.h:28
-
uint8_t minutes
Definition time.h:29
-
uint8_t hour
Definition time.h:30
-
uint8_t daylightSavingsFlag
Definition time.h:39
- -
ARC_Time ARC_Time_CopyFromStructTmPtr(struct tm *time)
copies the contents of a tm struct pointer into the ARC_Time type
-
struct ARC_Time ARC_Time
the ARC_Time data structre based on time.h (mainly added to avoid having to type struct tm every time...
-
-
- - - - - - diff --git a/doc/doxygen/html/df/d03/shell_8h.html b/doc/doxygen/html/df/d03/shell_8h.html deleted file mode 100644 index a6fecfb..0000000 --- a/doc/doxygen/html/df/d03/shell_8h.html +++ /dev/null @@ -1,380 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/console/shell.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
shell.h File Reference
-
-
-
#include "view.h"
-#include "buffer.h"
-#include "arc/std/string.h"
-#include "arc/std/vector.h"
-#include <stdint.h>
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_ConsoleShell
 
- - - - - -

-Typedefs

typedef struct ARC_ConsoleShell ARC_ConsoleShell
 
typedef void(* ARC_ConsoleShell_UpdateFn) (ARC_ConsoleShell *shell)
 
- - - - - - - - - - - - - - - - - - - -

-Functions

void ARC_ConsoleShell_Create (ARC_ConsoleShell **shell, ARC_ConsoleView *view, ARC_ConsoleShell_UpdateFn updateFn)
 creates ARC_ConsoleShell type
 
void ARC_ConsoleShell_Destroy (ARC_ConsoleShell *shell)
 destroys ARC_ConsoleShell type
 
void ARC_ConsoleShell_Update (ARC_ConsoleShell *shell)
 updates the ARC_ConsoleShell type
 
void ARC_ConsoleShell_Render (ARC_ConsoleShell *shell)
 renders the ARC_ConsoleShell type
 
void ARC_ConsoleShell_AddHistory (ARC_ConsoleShell *shell, ARC_String *string)
 adds history ARC_String to ARC_ConsoleShell
 
ARC_StringARC_ConsoleShell_GetHistoryAt (ARC_ConsoleShell *shell, uint32_t index)
 gets history from ARC_ConsoleShell
 
-

Typedef Documentation

- -

◆ ARC_ConsoleShell

- -
-
- - - - -
typedef struct ARC_ConsoleShell ARC_ConsoleShell
-
- -

Definition at line 19 of file shell.h.

- -
-
- -

◆ ARC_ConsoleShell_UpdateFn

- -
-
- - - - -
typedef void(* ARC_ConsoleShell_UpdateFn) (ARC_ConsoleShell *shell)
-
- -

Definition at line 24 of file shell.h.

- -
-
-

Function Documentation

- -

◆ ARC_ConsoleShell_AddHistory()

- -
-
- - - - - - - - - - - -
void ARC_ConsoleShell_AddHistory (ARC_ConsoleShell * shell,
ARC_String * string )
-
- -

adds history ARC_String to ARC_ConsoleShell

-
Parameters
- - - -
shellthe ARC_ConsoleShell to add history to
stringthe history string to add to ARC_ConsoleShell
-
-
- -
-
- -

◆ ARC_ConsoleShell_Create()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_ConsoleShell_Create (ARC_ConsoleShell ** shell,
ARC_ConsoleView * view,
ARC_ConsoleShell_UpdateFn updateFn )
-
- -

creates ARC_ConsoleShell type

-
Parameters
- - - - -
shellARC_ConsoleShell to create
viewARC_ConsoleView to attach the shell to
updateFnARC_ConsoleShell_UpdateFn provided that will run the console
-
-
- -
-
- -

◆ ARC_ConsoleShell_Destroy()

- -
-
- - - - - - - -
void ARC_ConsoleShell_Destroy (ARC_ConsoleShell * shell)
-
- -

destroys ARC_ConsoleShell type

-
Parameters
- - -
shellARC_ConsoleShell to destroy
-
-
- -
-
- -

◆ ARC_ConsoleShell_GetHistoryAt()

- -
-
- - - - - - - - - - - -
ARC_String * ARC_ConsoleShell_GetHistoryAt (ARC_ConsoleShell * shell,
uint32_t index )
-
- -

gets history from ARC_ConsoleShell

-
Note
the index 0 will start from the last added history
-
Parameters
- - - -
shellthe ARC_ConsoleShell to get history from
indexthe location to get history at
-
-
-
Returns
the history as an ARC_String
- -
-
- -

◆ ARC_ConsoleShell_Render()

- -
-
- - - - - - - -
void ARC_ConsoleShell_Render (ARC_ConsoleShell * shell)
-
- -

renders the ARC_ConsoleShell type

-
Parameters
- - -
shellthe ARC_ConsoleShell to render
-
-
- -
-
- -

◆ ARC_ConsoleShell_Update()

- -
-
- - - - - - - -
void ARC_ConsoleShell_Update (ARC_ConsoleShell * shell)
-
- -

updates the ARC_ConsoleShell type

-
Parameters
- - -
shellthe ARC_ConsoleShell to update
-
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/df/d03/shell_8h.js b/doc/doxygen/html/df/d03/shell_8h.js deleted file mode 100644 index 67b6137..0000000 --- a/doc/doxygen/html/df/d03/shell_8h.js +++ /dev/null @@ -1,12 +0,0 @@ -var shell_8h = -[ - [ "ARC_ConsoleShell", "d9/d4c/structARC__ConsoleShell.html", "d9/d4c/structARC__ConsoleShell" ], - [ "ARC_ConsoleShell", "df/d03/shell_8h.html#a6acfa8cd8d7743d75ac04caffdec44ae", null ], - [ "ARC_ConsoleShell_UpdateFn", "df/d03/shell_8h.html#a896c97abc1c3a02746738b4c0550f48b", null ], - [ "ARC_ConsoleShell_AddHistory", "df/d03/shell_8h.html#ac52159572774e27f8c2e489f73b28314", null ], - [ "ARC_ConsoleShell_Create", "df/d03/shell_8h.html#aad422f04801c70d2a27f6e30f74efd70", null ], - [ "ARC_ConsoleShell_Destroy", "df/d03/shell_8h.html#a5e9357a85d39bf8d040cfb4fa19ede06", null ], - [ "ARC_ConsoleShell_GetHistoryAt", "df/d03/shell_8h.html#a90d4df9f1eba33e1a15c3184621a4805", null ], - [ "ARC_ConsoleShell_Render", "df/d03/shell_8h.html#a43241a784b1a6a914899b26d9d86c10c", null ], - [ "ARC_ConsoleShell_Update", "df/d03/shell_8h.html#ac73769a7e97b7ba99f74c53347249f63", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/df/d03/shell_8h_source.html b/doc/doxygen/html/df/d03/shell_8h_source.html deleted file mode 100644 index 5ff6e4e..0000000 --- a/doc/doxygen/html/df/d03/shell_8h_source.html +++ /dev/null @@ -1,251 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/console/shell.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
shell.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_CONSOLE_SHELL_H_
-
2#define ARC_CONSOLE_SHELL_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8//TODO: fix up this file
-
9
-
10#include "view.h"
-
11#include "buffer.h"
-
12#include "arc/std/string.h"
-
13#include "arc/std/vector.h"
-
14#include <stdint.h>
-
15
-
16/**
-
17 * @brief
-
18*/
- -
20
-
21/**
-
22 * @brief
-
23*/
- -
25
-
26/**
-
27 * @brief
-
28*/
- -
42
-
43/**
-
44 * @brief creates ARC_ConsoleShell type
-
45 *
-
46 * @param shell ARC_ConsoleShell to create
-
47 * @param view ARC_ConsoleView to attach the shell to
-
48 * @param updateFn ARC_ConsoleShell_UpdateFn provided that will run the console
-
49*/
- -
51
-
52/**
-
53 * @brief destroys ARC_ConsoleShell type
-
54 *
-
55 * @param shell ARC_ConsoleShell to destroy
-
56*/
- -
58
-
59/**
-
60 * @brief updates the ARC_ConsoleShell type
-
61 *
-
62 * @param shell the ARC_ConsoleShell to update
-
63*/
- -
65
-
66/**
-
67 * @brief renders the ARC_ConsoleShell type
-
68 *
-
69 * @param shell the ARC_ConsoleShell to render
-
70*/
- -
72
-
73/**
-
74 * @brief adds history ARC_String to ARC_ConsoleShell
-
75 *
-
76 * @param shell the ARC_ConsoleShell to add history to
-
77 * @param string the history string to add to ARC_ConsoleShell
-
78*/
- -
80
-
81/**
-
82 * @brief gets history from ARC_ConsoleShell
-
83 *
-
84 * @note the index 0 will start from the last added history
-
85 *
-
86 * @param shell the ARC_ConsoleShell to get history from
-
87 * @param index the location to get history at
-
88 *
-
89 * @return the history as an ARC_String
-
90*/
- -
92
-
93#ifdef __cplusplus
-
94}
-
95#endif
-
96
-
97#endif //!ARC_CONSOLE_SHELL_H_
- -
struct ARC_ConsoleBuffer ARC_ConsoleBuffer
Definition buffer.h:15
- -
struct ARC_ConsoleView ARC_ConsoleView
Definition view.h:18
-
struct ARC_Vector ARC_Vector
a dynamic array type
Definition vector.h:26
-
void ARC_ConsoleShell_Render(ARC_ConsoleShell *shell)
renders the ARC_ConsoleShell type
-
void ARC_ConsoleShell_Destroy(ARC_ConsoleShell *shell)
destroys ARC_ConsoleShell type
-
void(* ARC_ConsoleShell_UpdateFn)(ARC_ConsoleShell *shell)
Definition shell.h:24
-
ARC_String * ARC_ConsoleShell_GetHistoryAt(ARC_ConsoleShell *shell, uint32_t index)
gets history from ARC_ConsoleShell
-
void ARC_ConsoleShell_Create(ARC_ConsoleShell **shell, ARC_ConsoleView *view, ARC_ConsoleShell_UpdateFn updateFn)
creates ARC_ConsoleShell type
-
void ARC_ConsoleShell_AddHistory(ARC_ConsoleShell *shell, ARC_String *string)
adds history ARC_String to ARC_ConsoleShell
-
void ARC_ConsoleShell_Update(ARC_ConsoleShell *shell)
updates the ARC_ConsoleShell type
- - -
uint32_t bufferLineIndex
Definition shell.h:32
-
ARC_ConsoleView * view
Definition shell.h:30
-
ARC_ConsoleBuffer * buffer
Definition shell.h:31
-
ARC_Vector * history
Definition shell.h:34
-
ARC_ConsoleShell_UpdateFn updateFn
Definition shell.h:37
-
ARC_String * currentLine
Definition shell.h:39
-
ARC_String * userInput
Definition shell.h:40
-
uint32_t historyIndex
Definition shell.h:35
-
substring position within a string
Definition string.h:14
-
creates and outlines a dynamic array type and its functions
-
-
- - - - - - diff --git a/doc/doxygen/html/df/d06/structARC__String.html b/doc/doxygen/html/df/d06/structARC__String.html deleted file mode 100644 index ca192aa..0000000 --- a/doc/doxygen/html/df/d06/structARC__String.html +++ /dev/null @@ -1,183 +0,0 @@ - - - - - - - - -Archeus: ARC_String Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_String Struct Reference
-
-
- -

substring position within a string - More...

- -

#include <string.h>

- - - - - - -

-Data Fields

char * data
 
uint64_t length
 
-

Detailed Description

-

substring position within a string

- -

Definition at line 14 of file string.h.

-

Field Documentation

- -

◆ data

- -
-
- - - - -
char* ARC_String::data
-
- -

Definition at line 15 of file string.h.

- -
-
- -

◆ length

- -
-
- - - - -
uint64_t ARC_String::length
-
- -

Definition at line 16 of file string.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/include/arc/std/string.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/df/d06/structARC__String.js b/doc/doxygen/html/df/d06/structARC__String.js deleted file mode 100644 index f1da1de..0000000 --- a/doc/doxygen/html/df/d06/structARC__String.js +++ /dev/null @@ -1,5 +0,0 @@ -var structARC__String = -[ - [ "data", "df/d06/structARC__String.html#afb2481930983f2d2b40dc650ec0f7f9e", null ], - [ "length", "df/d06/structARC__String.html#ad7813ac0c9b769214e02c6eec509c1d7", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/df/d0a/io_8c.html b/doc/doxygen/html/df/d0a/io_8c.html deleted file mode 100644 index 8480a2b..0000000 --- a/doc/doxygen/html/df/d0a/io_8c.html +++ /dev/null @@ -1,353 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/io.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
io.c File Reference
-
-
-
#include "arc/std/io.h"
-#include "arc/std/errno.h"
-#include "arc/std/string.h"
-#include <stdio.h>
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - - - - - - - - -

-Functions

void ARC_IO_ReadFileToUint8t (ARC_String *path, uint8_t **data, uint64_t *length)
 get string and size from file
 
void ARC_IO_FileToStr (ARC_String *path, ARC_String **data)
 get string and size from file
 
void ARC_IO_WriteStrToFile (ARC_String *path, ARC_String *data)
 write string to file
 
-

Function Documentation

- -

◆ ARC_IO_FileToStr()

- -
-
- - - - - - - - - - - -
void ARC_IO_FileToStr (ARC_String * path,
ARC_String ** data )
-
- -

get string and size from file

-
Parameters
- - - -
patha string to path of target file
datapointer to where string will be created this will need to be freed once done using it
-
-
- -

Definition at line 43 of file io.c.

-
43 {
-
44 FILE *file = fopen(path->data, "rb");
-
45 if(!file){
- -
47 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_IO_FileToStr(ARC_String *path, ARC_String **data), could not open file \"%s\"", path->data);
-
48 return;
-
49 }
-
50
-
51 fseek(file, 0L, SEEK_END);
-
52 uint64_t length = ftell(file);
-
53 rewind(file);
-
54
-
55 char *fileData = (char *) calloc(1, length + 1);
-
56 if(fileData == NULL){
-
57 fclose(file);
- -
59 ARC_DEBUG_LOG_ERROR("ARC_IO_FileToStr(ARC_String *path, ARC_String **data), file data is NULL");
-
60 *data = NULL;
-
61 return;
-
62 }
-
63
-
64 if(1 != fread(fileData, length, 1, file)){
-
65 fclose(file);
- -
67 ARC_DEBUG_LOG_ERROR("ARC_IO_FileToStr(ARC_String *path, ARC_String **data), could not copy file data");
-
68 *data = NULL;
-
69 return;
-
70 }
-
71
-
72 fclose(file);
-
73 ARC_String_Create(data, fileData, length);
-
74 free(fileData);
-
75}
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_ERRNO_COPY
Definition errno.h:8
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
-
char * data
Definition string.h:15
-
-

References ARC_DEBUG_LOG_ERROR, ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_COPY, ARC_ERRNO_NULL, ARC_String_Create(), and ARC_String::data.

- -

Referenced by ARC_Config_FileIO(), ARC_Lexer_LexFile(), and ARC_Parser_ParseFile().

- -
-
- -

◆ ARC_IO_ReadFileToUint8t()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_IO_ReadFileToUint8t (ARC_String * path,
uint8_t ** data,
uint64_t * length )
-
- -

get string and size from file

-
Parameters
- - - - -
patha string to path of target file
datapointer to where uint8_t array will be created this will need to be freed once done using it
lengthlength of the data read in
-
-
- -

Definition at line 8 of file io.c.

-
8 {
-
9 FILE *file = fopen(path->data, "rb");
-
10 if(!file){
- -
12 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_IO_FileToStr(ARC_String *path, ARC_String **data), could not open file \"%s\"", path->data);
-
13 *length = 0;
-
14 *data = NULL;
-
15 return;
-
16 }
-
17
-
18 fseek(file, 0L, SEEK_END);
-
19 *length = ftell(file);
-
20 rewind(file);
-
21
-
22 *data = (uint8_t *) calloc(1, *length + 1);
-
23 if(*data == NULL){
-
24 fclose(file);
- -
26 ARC_DEBUG_LOG_ERROR("ARC_IO_FileToStr(ARC_String *path, ARC_String **data), file data is NULL");
-
27 *length = 0;
-
28 return;
-
29 }
-
30
-
31 if(1 != fread(*data, *length, 1, file)){
-
32 fclose(file);
- -
34 ARC_DEBUG_LOG_ERROR("ARC_IO_FileToStr(ARC_String *path, ARC_String **data), could not copy file data");
-
35 *length = 0;
-
36 *data = NULL;
-
37 return;
-
38 }
-
39
-
40 fclose(file);
-
41}
-
-

References ARC_DEBUG_LOG_ERROR, ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_COPY, ARC_ERRNO_NULL, and ARC_String::data.

- -
-
- -

◆ ARC_IO_WriteStrToFile()

- -
-
- - - - - - - - - - - -
void ARC_IO_WriteStrToFile (ARC_String * path,
ARC_String * data )
-
- -

write string to file

-
Parameters
- - - -
patha string to path of target file
datadata to be written
-
-
- -

Definition at line 77 of file io.c.

-
77 {
-
78 FILE *file = fopen(path->data, "wb");
-
79 if(!file){
- -
81 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_IO_WriteStrToFile(ARC_String *path, ARC_String *data), could not open file \"%s\"", path->data);
-
82 return;
-
83 }
-
84
-
85 if(1 != fwrite(data->data, data->length, 1, file)){
-
86 fclose(file);
- -
88 ARC_DEBUG_LOG_ERROR("ARC_IO_WriteStrToFile(ARC_String *path, ARC_String **data), could not write file data");
-
89 return;
-
90 }
-
91
-
92 fclose(file);
-
93}
-
uint64_t length
Definition string.h:16
-
-

References ARC_DEBUG_LOG_ERROR, ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_COPY, ARC_ERRNO_NULL, ARC_String::data, and ARC_String::length.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/df/d0a/io_8c.js b/doc/doxygen/html/df/d0a/io_8c.js deleted file mode 100644 index 8120ee6..0000000 --- a/doc/doxygen/html/df/d0a/io_8c.js +++ /dev/null @@ -1,6 +0,0 @@ -var io_8c = -[ - [ "ARC_IO_FileToStr", "df/d0a/io_8c.html#a264d33a54ba5175d36341c27011654f4", null ], - [ "ARC_IO_ReadFileToUint8t", "df/d0a/io_8c.html#a70350710f6f2124edcd32cabd641f1f4", null ], - [ "ARC_IO_WriteStrToFile", "df/d0a/io_8c.html#a580578d50c6d90d08a00701285e28f3b", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/df/d0a/io_8c_source.html b/doc/doxygen/html/df/d0a/io_8c_source.html deleted file mode 100644 index fefd390..0000000 --- a/doc/doxygen/html/df/d0a/io_8c_source.html +++ /dev/null @@ -1,242 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/io.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
io.c
-
-
-Go to the documentation of this file.
1#include "arc/std/io.h"
-
2
-
3#include "arc/std/errno.h"
-
4#include "arc/std/string.h"
-
5#include <stdio.h>
-
6#include <stdlib.h>
-
7
-
-
8void ARC_IO_ReadFileToUint8t(ARC_String *path, uint8_t **data, uint64_t *length){
-
9 FILE *file = fopen(path->data, "rb");
-
10 if(!file){
- -
12 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_IO_FileToStr(ARC_String *path, ARC_String **data), could not open file \"%s\"", path->data);
-
13 *length = 0;
-
14 *data = NULL;
-
15 return;
-
16 }
-
17
-
18 fseek(file, 0L, SEEK_END);
-
19 *length = ftell(file);
-
20 rewind(file);
-
21
-
22 *data = (uint8_t *) calloc(1, *length + 1);
-
23 if(*data == NULL){
-
24 fclose(file);
- -
26 ARC_DEBUG_LOG_ERROR("ARC_IO_FileToStr(ARC_String *path, ARC_String **data), file data is NULL");
-
27 *length = 0;
-
28 return;
-
29 }
-
30
-
31 if(1 != fread(*data, *length, 1, file)){
-
32 fclose(file);
- -
34 ARC_DEBUG_LOG_ERROR("ARC_IO_FileToStr(ARC_String *path, ARC_String **data), could not copy file data");
-
35 *length = 0;
-
36 *data = NULL;
-
37 return;
-
38 }
-
39
-
40 fclose(file);
-
41}
-
-
42
-
- -
44 FILE *file = fopen(path->data, "rb");
-
45 if(!file){
- -
47 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_IO_FileToStr(ARC_String *path, ARC_String **data), could not open file \"%s\"", path->data);
-
48 return;
-
49 }
-
50
-
51 fseek(file, 0L, SEEK_END);
-
52 uint64_t length = ftell(file);
-
53 rewind(file);
-
54
-
55 char *fileData = (char *) calloc(1, length + 1);
-
56 if(fileData == NULL){
-
57 fclose(file);
- -
59 ARC_DEBUG_LOG_ERROR("ARC_IO_FileToStr(ARC_String *path, ARC_String **data), file data is NULL");
-
60 *data = NULL;
-
61 return;
-
62 }
-
63
-
64 if(1 != fread(fileData, length, 1, file)){
-
65 fclose(file);
- -
67 ARC_DEBUG_LOG_ERROR("ARC_IO_FileToStr(ARC_String *path, ARC_String **data), could not copy file data");
-
68 *data = NULL;
-
69 return;
-
70 }
-
71
-
72 fclose(file);
-
73 ARC_String_Create(data, fileData, length);
-
74 free(fileData);
-
75}
-
-
76
-
- -
78 FILE *file = fopen(path->data, "wb");
-
79 if(!file){
- -
81 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_IO_WriteStrToFile(ARC_String *path, ARC_String *data), could not open file \"%s\"", path->data);
-
82 return;
-
83 }
-
84
-
85 if(1 != fwrite(data->data, data->length, 1, file)){
-
86 fclose(file);
- -
88 ARC_DEBUG_LOG_ERROR("ARC_IO_WriteStrToFile(ARC_String *path, ARC_String **data), could not write file data");
-
89 return;
-
90 }
-
91
-
92 fclose(file);
-
93}
-
- -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_ERRNO_COPY
Definition errno.h:8
-
#define ARC_ERRNO_NULL
Definition errno.h:6
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
void ARC_IO_FileToStr(ARC_String *path, ARC_String **data)
get string and size from file
Definition io.c:43
-
void ARC_IO_WriteStrToFile(ARC_String *path, ARC_String *data)
write string to file
Definition io.c:77
-
void ARC_IO_ReadFileToUint8t(ARC_String *path, uint8_t **data, uint64_t *length)
get string and size from file
Definition io.c:8
- - -
void ARC_String_Create(ARC_String **string, char *data, uint64_t length)
creates ARC_String type
Definition string.c:9
-
substring position within a string
Definition string.h:14
-
uint64_t length
Definition string.h:16
-
char * data
Definition string.h:15
-
-
- - - - - - diff --git a/doc/doxygen/html/df/d15/ecs_8c.html b/doc/doxygen/html/df/d15/ecs_8c.html deleted file mode 100644 index 083b9a8..0000000 --- a/doc/doxygen/html/df/d15/ecs_8c.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/engine/ecs.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ecs.c File Reference
-
-
-
#include "arc/engine/ecs.h"
-#include "arc/std/vector.h"
-
-

Go to the source code of this file.

- - - - - - -

-Data Structures

struct  ARC_ECS
 
struct  ARC_ECSComponent
 
-
-
- - - - - - diff --git a/doc/doxygen/html/df/d15/ecs_8c.js b/doc/doxygen/html/df/d15/ecs_8c.js deleted file mode 100644 index e0c9c08..0000000 --- a/doc/doxygen/html/df/d15/ecs_8c.js +++ /dev/null @@ -1,5 +0,0 @@ -var ecs_8c = -[ - [ "ARC_ECS", "d0/d5a/structARC__ECS.html", "d0/d5a/structARC__ECS" ], - [ "ARC_ECSComponent", "df/dbf/structARC__ECSComponent.html", "df/dbf/structARC__ECSComponent" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/df/d15/ecs_8c_source.html b/doc/doxygen/html/df/d15/ecs_8c_source.html deleted file mode 100644 index 5fcc0ab..0000000 --- a/doc/doxygen/html/df/d15/ecs_8c_source.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/engine/ecs.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
ecs.c
-
-
-Go to the documentation of this file.
1#include "arc/engine/ecs.h"
-
2#include "arc/std/vector.h"
-
3
-
-
4struct ARC_ECS {
- -
6};
-
-
7
- - - -
ARC_Vector * functions
Definition ecs.c:9
-
ARC_Vector * data
Definition ecs.c:10
-
Definition ecs.c:4
-
ARC_Vector * components
Definition ecs.c:5
-
a private dynamic array type
Definition vector.c:12
- -
-
- - - - - - diff --git a/doc/doxygen/html/df/d2d/src_2graphics_2text_8c.html b/doc/doxygen/html/df/d2d/src_2graphics_2text_8c.html deleted file mode 100644 index 48ef9bb..0000000 --- a/doc/doxygen/html/df/d2d/src_2graphics_2text_8c.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/text.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
text.c File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/df/d2d/src_2graphics_2text_8c_source.html b/doc/doxygen/html/df/d2d/src_2graphics_2text_8c_source.html deleted file mode 100644 index a55cded..0000000 --- a/doc/doxygen/html/df/d2d/src_2graphics_2text_8c_source.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/text.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
text.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_GRAPHICS
-
2
-
3#include "arc/graphics/text.h"
-
4#include <stdio.h>
-
5
-
6void ARC_Text_Create(ARC_Text **text, ARC_String *path, int32_t size, ARC_Color color){
-
7 printf("No Graphics Backend Selected\n");
-
8}
-
9
-
10void ARC_Text_Destroy(ARC_Text *font){
-
11 printf("No Graphics Backend Selected\n");
-
12}
-
13
-
14void ARC_Text_SetString(ARC_Text *text, ARC_Renderer *renderer, ARC_String *string){
-
15 printf("No Graphics Backend Selected\n");
-
16}
-
17
-
18void ARC_Text_Render(ARC_Text *text, ARC_Renderer *renderer){
-
19 printf("No Graphics Backend Selected\n");
-
20}
-
21
-
22void ARC_Text_SetPos(ARC_Text *text, ARC_Point pos){
-
23 printf("No Graphics Backend Selected\n");
-
24}
-
25
-
26#endif // !ARC_NONE_GRAPHICS
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- -
void ARC_Text_SetString(ARC_Text *text, ARC_Renderer *renderer, ARC_String *string)
Definition text.c:34
-
void ARC_Text_Create(ARC_Text **text, ARC_String *path, int32_t size, ARC_Color color)
Definition text.c:11
-
void ARC_Text_Destroy(ARC_Text *font)
Definition text.c:26
-
void ARC_Text_Render(ARC_Text *text, ARC_Renderer *renderer)
Definition text.c:52
-
void ARC_Text_SetPos(ARC_Text *text, ARC_Point pos)
Definition text.c:61
- - -
substring position within a string
Definition string.h:14
- -
-
- - - - - - diff --git a/doc/doxygen/html/df/d37/tests_8dir_2src_2std_2lexer_8c_8o_8d.html b/doc/doxygen/html/df/d37/tests_8dir_2src_2std_2lexer_8c_8o_8d.html deleted file mode 100644 index 17cbb07..0000000 --- a/doc/doxygen/html/df/d37/tests_8dir_2src_2std_2lexer_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/lexer.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
lexer.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/df/d37/tests_8dir_2src_2std_2lexer_8c_8o_8d_source.html b/doc/doxygen/html/df/d37/tests_8dir_2src_2std_2lexer_8c_8o_8d_source.html deleted file mode 100644 index 346530a..0000000 --- a/doc/doxygen/html/df/d37/tests_8dir_2src_2std_2lexer_8c_8o_8d_source.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/lexer.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
lexer.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/std/lexer.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/lexer.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/lexer.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
6 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
7 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
8 /usr/include/features.h /usr/include/features-time64.h \
-
9 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
10 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
11 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
12 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
13 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
14 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
15 /usr/include/bits/stdint-least.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
17 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
20 /usr/include/stdio.h \
-
21 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
22 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
23 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
24 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
25 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
26 /usr/include/bits/types/cookie_io_functions_t.h \
-
27 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
28 /usr/include/bits/floatn-common.h \
-
29 /home/herbglitch/programs/archeus/arc/include/arc/std/vector.h \
-
30 /home/herbglitch/programs/archeus/arc/include/arc/std/io.h \
-
31 /usr/include/stdlib.h /usr/include/bits/waitflags.h \
-
32 /usr/include/bits/waitstatus.h /usr/include/sys/types.h \
-
33 /usr/include/bits/types/clock_t.h /usr/include/bits/types/clockid_t.h \
-
34 /usr/include/bits/types/time_t.h /usr/include/bits/types/timer_t.h \
-
35 /usr/include/endian.h /usr/include/bits/endian.h \
-
36 /usr/include/bits/endianness.h /usr/include/bits/byteswap.h \
-
37 /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \
-
38 /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \
-
39 /usr/include/bits/types/__sigset_t.h \
-
40 /usr/include/bits/types/struct_timeval.h \
-
41 /usr/include/bits/types/struct_timespec.h \
-
42 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
43 /usr/include/bits/pthreadtypes-arch.h \
-
44 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
45 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
46 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/df/d41/archeus__std_8dir_2src_2std_2defaults_2config_8c_8o_8d.html b/doc/doxygen/html/df/d41/archeus__std_8dir_2src_2std_2defaults_2config_8c_8o_8d.html deleted file mode 100644 index 0b25757..0000000 --- a/doc/doxygen/html/df/d41/archeus__std_8dir_2src_2std_2defaults_2config_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/defaults/config.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/df/d41/archeus__std_8dir_2src_2std_2defaults_2config_8c_8o_8d_source.html b/doc/doxygen/html/df/d41/archeus__std_8dir_2src_2std_2defaults_2config_8c_8o_8d_source.html deleted file mode 100644 index ea49dbd..0000000 --- a/doc/doxygen/html/df/d41/archeus__std_8dir_2src_2std_2defaults_2config_8c_8o_8d_source.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/defaults/config.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/archeus_std.dir/src/std/defaults/config.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/defaults/config.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h \
-
15 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
16 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/std/defaults/config.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/std/array.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/std/config.h \
-
20 /home/herbglitch/programs/archeus/arc/include/arc/std/hashtable.h \
-
21 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
22 /home/herbglitch/programs/archeus/arc/include/arc/std/defaults/config.h \
-
23 /home/herbglitch/programs/archeus/arc/include/arc/std/errno.h \
-
24 /usr/include/stdio.h \
-
25 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
26 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
27 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
28 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
29 /usr/include/bits/types/cookie_io_functions_t.h \
-
30 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
31 /usr/include/bits/floatn-common.h /usr/include/stdlib.h \
-
32 /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
-
33 /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \
-
34 /usr/include/bits/types/clockid_t.h /usr/include/bits/types/time_t.h \
-
35 /usr/include/bits/types/timer_t.h /usr/include/endian.h \
-
36 /usr/include/bits/endian.h /usr/include/bits/endianness.h \
-
37 /usr/include/bits/byteswap.h /usr/include/bits/uintn-identity.h \
-
38 /usr/include/sys/select.h /usr/include/bits/select.h \
-
39 /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \
-
40 /usr/include/bits/types/struct_timeval.h \
-
41 /usr/include/bits/types/struct_timespec.h \
-
42 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
43 /usr/include/bits/pthreadtypes-arch.h \
-
44 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
45 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
46 /usr/include/bits/stdlib-float.h /usr/include/string.h \
-
47 /usr/include/bits/types/locale_t.h /usr/include/bits/types/__locale_t.h \
-
48 /usr/include/strings.h
-
-
- - - - - - diff --git a/doc/doxygen/html/df/d4e/spritesheet_8c.html b/doc/doxygen/html/df/d4e/spritesheet_8c.html deleted file mode 100644 index 0c972b7..0000000 --- a/doc/doxygen/html/df/d4e/spritesheet_8c.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/spritesheet.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
spritesheet.c File Reference
-
- - - -
- - diff --git a/doc/doxygen/html/df/d4e/spritesheet_8c_source.html b/doc/doxygen/html/df/d4e/spritesheet_8c_source.html deleted file mode 100644 index 2899330..0000000 --- a/doc/doxygen/html/df/d4e/spritesheet_8c_source.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/spritesheet.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
spritesheet.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_GRAPHICS
-
2
- -
4#include "arc/math/point.h"
-
5#include <stdio.h>
-
6
-
7void ARC_Spritesheet_RenderArea(ARC_Spritesheet *spritesheet, ARC_Rect *sheetBounds, ARC_Renderer *renderer, ARC_Rect *renderBounds){
-
8 printf("No Graphics Backend Selected\n");
-
9}
-
10
- -
12 printf("No Graphics Backend Selected\n");
-
13 return (ARC_Point){ 0, 0 };
-
14}
-
15
-
16uint32_t *ARC_Spritesheet_GetTileSize(ARC_Spritesheet *spritesheet){
-
17 printf("No Graphics Backend Selected\n");
-
18 return NULL;
-
19}
-
20
-
21#endif // !ARC_NONE_GRAPHICS
- -
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- -
struct ARC_Spritesheet ARC_Spritesheet
Definition spritesheet.h:14
-
uint32_t * ARC_Spritesheet_GetTileSize(ARC_Spritesheet *spritesheet)
-
ARC_Point ARC_Spritesheet_GetSize(ARC_Spritesheet *spritesheet)
-
void ARC_Spritesheet_RenderArea(ARC_Spritesheet *spritesheet, ARC_Rect *sheetBounds, ARC_Renderer *renderer, ARC_Rect *renderBounds)
- - -
- - -
- - diff --git a/doc/doxygen/html/df/d55/include_2arc_2graphics_2spritesheet_8h.html b/doc/doxygen/html/df/d55/include_2arc_2graphics_2spritesheet_8h.html deleted file mode 100644 index 6ae11a6..0000000 --- a/doc/doxygen/html/df/d55/include_2arc_2graphics_2spritesheet_8h.html +++ /dev/null @@ -1,347 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/spritesheet.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
spritesheet.h File Reference
-
-
-
#include <stdint.h>
-#include "arc/math/point.h"
-#include "arc/math/rectangle.h"
-#include "arc/graphics/renderer.h"
-#include "arc/std/string.h"
-
-

Go to the source code of this file.

- - - - -

-Typedefs

typedef struct ARC_Spritesheet ARC_Spritesheet
 
- - - - - - - - - - - -

-Functions

void ARC_Spritesheet_CreateFromFile (ARC_Spritesheet **spritesheet, ARC_Renderer *renderer, ARC_String *path)
 
void ARC_Spritesheet_Destroy (ARC_Spritesheet *spritesheet)
 
void ARC_Spritesheet_RenderArea (ARC_Spritesheet *spritesheet, ARC_Rect *sheetBounds, ARC_Renderer *renderer, ARC_Rect *renderBounds)
 
ARC_Point ARC_Spritesheet_GetSize (ARC_Spritesheet *spritesheet)
 
uint32_t * ARC_Spritesheet_GetTileSize (ARC_Spritesheet *spritesheet)
 
-

Typedef Documentation

- -

◆ ARC_Spritesheet

- -
-
- - - - -
typedef struct ARC_Spritesheet ARC_Spritesheet
-
- -

Definition at line 14 of file spritesheet.h.

- -
-
-

Function Documentation

- -

◆ ARC_Spritesheet_CreateFromFile()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Spritesheet_CreateFromFile (ARC_Spritesheet ** spritesheet,
ARC_Renderer * renderer,
ARC_String * path )
-
- -

Definition at line 11 of file spritesheet.c.

-
11 {
-
12 *spritesheet = (ARC_Spritesheet *)malloc(sizeof(ARC_Spritesheet));
-
13
-
14 IMG_Init(IMG_INIT_PNG);
-
15 SDL_Surface *surface = IMG_Load(path->data);
-
16 if(!surface){
-
17 printf("Error: reading png '%s'\nSDL_Image Error: %s", path->data, IMG_GetError());
-
18 }
-
19
-
20 SDL_BlendMode tempMode;
-
21 SDL_GetSurfaceBlendMode(surface, &tempMode);
-
22 (*spritesheet)->texture = SDL_CreateTextureFromSurface((SDL_Renderer *)renderer, surface);
-
23 SDL_GetTextureBlendMode((*spritesheet)->texture, &tempMode);
-
24
-
25 SDL_FreeSurface(surface);
-
26 IMG_Quit();
-
27
-
28 ARC_Spritesheet_GetSize(*spritesheet);
-
29}
-
ARC_Point ARC_Spritesheet_GetSize(ARC_Spritesheet *spritesheet)
Definition spritesheet.c:40
- -
char * data
Definition string.h:15
-
-

References ARC_Spritesheet_GetSize(), and ARC_String::data.

- -
-
- -

◆ ARC_Spritesheet_Destroy()

- -
-
- - - - - - - -
void ARC_Spritesheet_Destroy (ARC_Spritesheet * spritesheet)
-
- -

Definition at line 31 of file spritesheet.c.

-
31 {
-
32 SDL_DestroyTexture(spritesheet->texture);
-
33 free(spritesheet);
-
34}
-
SDL_Texture * texture
Definition spritesheet.h:8
-
-

References ARC_Spritesheet::texture.

- -
-
- -

◆ ARC_Spritesheet_GetSize()

- -
-
- - - - - - - -
ARC_Point ARC_Spritesheet_GetSize (ARC_Spritesheet * spritesheet)
-
- -

Definition at line 40 of file spritesheet.c.

-
40 {
-
41 ARC_Point size;
-
42 SDL_QueryTexture(spritesheet->texture, NULL, NULL, &size.x, &size.y);
-
43 return size;
-
44}
- -
int32_t y
Definition point.h:12
-
int32_t x
Definition point.h:11
-
-

References ARC_Spritesheet::texture, ARC_Point::x, and ARC_Point::y.

- -

Referenced by ARC_Spritesheet_CreateFromFile().

- -
-
- -

◆ ARC_Spritesheet_GetTileSize()

- -
-
- - - - - - - -
uint32_t * ARC_Spritesheet_GetTileSize (ARC_Spritesheet * spritesheet)
-
- -

Definition at line 46 of file spritesheet.c.

-
46 {
-
47 return spritesheet->size;
-
48}
-
uint32_t * size
Definition spritesheet.h:9
-
-

References ARC_Spritesheet::size.

- -
-
- -

◆ ARC_Spritesheet_RenderArea()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void ARC_Spritesheet_RenderArea (ARC_Spritesheet * spritesheet,
ARC_Rect * sheetBounds,
ARC_Renderer * renderer,
ARC_Rect * renderBounds )
-
- -

Definition at line 36 of file spritesheet.c.

-
36 {
-
37 SDL_RenderCopy((SDL_Renderer *)renderer, spritesheet->texture, (SDL_Rect *)sheetBounds, (SDL_Rect *)renderBounds);
-
38}
-
-

References ARC_Spritesheet::texture.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/df/d55/include_2arc_2graphics_2spritesheet_8h.js b/doc/doxygen/html/df/d55/include_2arc_2graphics_2spritesheet_8h.js deleted file mode 100644 index 28f68d9..0000000 --- a/doc/doxygen/html/df/d55/include_2arc_2graphics_2spritesheet_8h.js +++ /dev/null @@ -1,9 +0,0 @@ -var include_2arc_2graphics_2spritesheet_8h = -[ - [ "ARC_Spritesheet", "df/d55/include_2arc_2graphics_2spritesheet_8h.html#a1e01dfc3d163e82e7d00d039f0e0a82c", null ], - [ "ARC_Spritesheet_CreateFromFile", "df/d55/include_2arc_2graphics_2spritesheet_8h.html#a07d3eb2716f237551fb29dc425a14870", null ], - [ "ARC_Spritesheet_Destroy", "df/d55/include_2arc_2graphics_2spritesheet_8h.html#abef4c60c51ed55e11b67c33073092811", null ], - [ "ARC_Spritesheet_GetSize", "df/d55/include_2arc_2graphics_2spritesheet_8h.html#a87bd15ebf4a1ebebe8f8033dd55c0142", null ], - [ "ARC_Spritesheet_GetTileSize", "df/d55/include_2arc_2graphics_2spritesheet_8h.html#a6881e1db0e3ccf7aec5b97d59cc558c6", null ], - [ "ARC_Spritesheet_RenderArea", "df/d55/include_2arc_2graphics_2spritesheet_8h.html#ab2943ba8a63fa94ad9ddff7ecc3b2dc7", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/df/d55/include_2arc_2graphics_2spritesheet_8h_source.html b/doc/doxygen/html/df/d55/include_2arc_2graphics_2spritesheet_8h_source.html deleted file mode 100644 index f055b17..0000000 --- a/doc/doxygen/html/df/d55/include_2arc_2graphics_2spritesheet_8h_source.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/spritesheet.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
spritesheet.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_GRAPHICS_SPRITESHEET_H_
-
2#define ARC_GRAPHICS_SPRITESHEET_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include <stdint.h>
-
9#include "arc/math/point.h"
-
10#include "arc/math/rectangle.h"
- -
12#include "arc/std/string.h"
-
13
- -
15
-
16void ARC_Spritesheet_CreateFromFile(ARC_Spritesheet **spritesheet, ARC_Renderer *renderer, ARC_String *path);
-
17
- -
19
-
20void ARC_Spritesheet_RenderArea(ARC_Spritesheet *spritesheet, ARC_Rect *sheetBounds, ARC_Renderer *renderer, ARC_Rect *renderBounds);
-
21
- -
23uint32_t *ARC_Spritesheet_GetTileSize(ARC_Spritesheet *spritesheet);
-
24
-
25#ifdef __cplusplus
-
26}
-
27#endif
-
28
-
29#endif // !ARC_GRAPHICS_SPRITESHEET_H_
- -
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
-
void ARC_Spritesheet_CreateFromFile(ARC_Spritesheet **spritesheet, ARC_Renderer *renderer, ARC_String *path)
Definition spritesheet.c:11
-
uint32_t * ARC_Spritesheet_GetTileSize(ARC_Spritesheet *spritesheet)
Definition spritesheet.c:46
-
ARC_Point ARC_Spritesheet_GetSize(ARC_Spritesheet *spritesheet)
Definition spritesheet.c:40
-
void ARC_Spritesheet_RenderArea(ARC_Spritesheet *spritesheet, ARC_Rect *sheetBounds, ARC_Renderer *renderer, ARC_Rect *renderBounds)
Definition spritesheet.c:36
-
void ARC_Spritesheet_Destroy(ARC_Spritesheet *spritesheet)
Definition spritesheet.c:31
- - - - - - -
substring position within a string
Definition string.h:14
-
-
- - - - - - diff --git a/doc/doxygen/html/df/d5e/packages_2console_2ncurses_2key_8h.html b/doc/doxygen/html/df/d5e/packages_2console_2ncurses_2key_8h.html deleted file mode 100644 index a967ca6..0000000 --- a/doc/doxygen/html/df/d5e/packages_2console_2ncurses_2key_8h.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/console/ncurses/key.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
key.h File Reference
-
-
-
#include "arc/console/key.h"
-#include <stdint.h>
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_ConsoleKeyType
 
- - - -

-Typedefs

typedef struct ARC_ConsoleKeyType ARC_ConsoleKeyType
 
-

Typedef Documentation

- -

◆ ARC_ConsoleKeyType

- -
-
- - - - -
typedef struct ARC_ConsoleKeyType ARC_ConsoleKeyType
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/df/d5e/packages_2console_2ncurses_2key_8h.js b/doc/doxygen/html/df/d5e/packages_2console_2ncurses_2key_8h.js deleted file mode 100644 index 125cea2..0000000 --- a/doc/doxygen/html/df/d5e/packages_2console_2ncurses_2key_8h.js +++ /dev/null @@ -1,5 +0,0 @@ -var packages_2console_2ncurses_2key_8h = -[ - [ "ARC_ConsoleKeyType", "dd/d01/structARC__ConsoleKeyType.html", "dd/d01/structARC__ConsoleKeyType" ], - [ "ARC_ConsoleKeyType", "df/d5e/packages_2console_2ncurses_2key_8h.html#a2c56dfa0749ff8ede89ee10186e4c134", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/df/d5e/packages_2console_2ncurses_2key_8h_source.html b/doc/doxygen/html/df/d5e/packages_2console_2ncurses_2key_8h_source.html deleted file mode 100644 index b658717..0000000 --- a/doc/doxygen/html/df/d5e/packages_2console_2ncurses_2key_8h_source.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/console/ncurses/key.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
key.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_CONSOLE_NCURSES_KEY_H_
-
2#define ARC_CONSOLE_NCURSES_KEY_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include "arc/console/key.h"
-
9#include <stdint.h>
-
10
-
-
11typedef struct ARC_ConsoleKeyType {
-
12 int32_t key;
- -
-
14
-
15#ifdef __cplusplus
-
16}
-
17#endif
-
18
-
19#endif // !ARC_CONSOLE_NCURSES_KEY_H_
- -
struct ARC_ConsoleKeyType ARC_ConsoleKeyType
- -
int32_t key
Definition key.h:12
-
-
- - - - - - diff --git a/doc/doxygen/html/df/d6b/src_2std_2vector_8c.html b/doc/doxygen/html/df/d6b/src_2std_2vector_8c.html deleted file mode 100644 index a11c2d4..0000000 --- a/doc/doxygen/html/df/d6b/src_2std_2vector_8c.html +++ /dev/null @@ -1,650 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/vector.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
vector.c File Reference
-
-
-
#include "arc/std/vector.h"
-#include "arc/std/bool.h"
-#include "arc/std/errno.h"
-#include <stdint.h>
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - - -

-Data Structures

struct  ARC_Vector
 a private dynamic array type More...
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

ARC_Bool ARC_Vector_CompareDataDefaultFn (void *dataA, void *dataB)
 
void ARC_Vector_Create (ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
 creates an ARC_Vector which is an "expandable" array
 
void ARC_Vector_Destroy (ARC_Vector *vector)
 destroys an ARC_Vector
 
void ARC_Vector_Add (ARC_Vector *vector, void *data)
 adds an item to an ARC_Vector
 
void ARC_Vector_Remove (ARC_Vector *vector, void *data)
 removes an item from a matching item in an ARC_Vector
 
void ARC_Vector_RemoveIndex (ARC_Vector *vector, uint32_t index)
 removes an item from an ARC_Vector at an index
 
void ARC_Vector_Clear (ARC_Vector *vector)
 clears all items from a vector
 
uint32_t ARC_Vector_GetSize (ARC_Vector *vector)
 gets the current size of an ARC_Vector as an unsigned 32 bit integer
 
void * ARC_Vector_Get (ARC_Vector *vector, uint32_t index)
 gets an item from an ARC_Vector at a position index
 
-

Function Documentation

- -

◆ ARC_Vector_Add()

- -
-
- - - - - - - - - - - -
void ARC_Vector_Add (ARC_Vector * vector,
void * data )
-
- -

adds an item to an ARC_Vector

-
Note
this will error if you add more than 4,294,967,295 items (the max value of an unsigned int 32)
-
Parameters
- - - -
[in]vectorARC_Vector to add to
[in]datadata that is being added
-
-
- -

Definition at line 70 of file vector.c.

-
70 {
-
71 //check to see if the current size is the same as a max uint32_t and if so it will overflow so throw an error
-
72 if(vector->currentSize == ~((uint32_t)0)){
- -
74 ARC_DEBUG_LOG_ERROR("ARC_Vector_Add(vector, data), vector at max capacity tried adding another value");
-
75 return;
-
76 }
-
77
-
78 //check if we are at the max of the current capacity
-
79 if(vector->currentSize == vector->currentCapacity){
-
80 //increase the current capacity by double
-
81 vector->currentCapacity <<= 1;
-
82
-
83 //if for some reason the capacity is 0, we should set it to one so we do not error on realloc
-
84 if(vector->currentCapacity != 0){
-
85 vector->currentCapacity++;
-
86 }
-
87
-
88 //resize the vectors array and copy the contents at the same time
-
89 vector->data = (void **)realloc(vector->data, sizeof(void *) * vector->currentCapacity);
-
90 }
-
91
-
92 //add to the vectors array and increase its current size
-
93 vector->data[vector->currentSize] = data;
-
94 vector->currentSize++;
-
95}
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_OVERFLOW
Definition errno.h:10
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
void ** data
Definition vector.c:16
-
uint32_t currentCapacity
Definition vector.c:13
-
uint32_t currentSize
Definition vector.c:14
-
-

References ARC_DEBUG_LOG_ERROR, arc_errno, ARC_ERRNO_OVERFLOW, ARC_Vector::currentCapacity, ARC_Vector::currentSize, and ARC_Vector::data.

- -

Referenced by ARC_ConsoleBuffer_AddChar(), ARC_ConsoleBuffer_Clear(), ARC_ConsoleBuffer_Create(), ARC_ConsoleShell_AddHistory(), ARC_ConsoleView_AddElement(), ARC_Handler_Add(), ARC_Handler_Remove(), ARC_Handler_RemoveIndex(), ARC_Lexer_LexString(), ARC_Lexer_RegisterTokenRule(), ARC_Parser_ParseTag(), ARC_ParserCSVData_CreateFn(), ARC_ParserCSVData_GetDataTag(), ARC_ParserCSVData_RunLineTag(), ARC_ParserLangParsedData_CreateBodyTag(), ARC_ParserLangParsedData_GetArgumentsTag(), ARC_ParserLangParsedData_GetArgumentTag(), ARC_ParserLangParsedData_RunLineTag(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), and ARC_TEST().

- -
-
- -

◆ ARC_Vector_Clear()

- -
-
- - - - - - - -
void ARC_Vector_Clear (ARC_Vector * vector)
-
- -

clears all items from a vector

-
Note
this function will call ARC_Vector_RemoveIndex, so it's notes are also applicable to this function
-
Parameters
- - -
[in]vectorARC_Vector to clear
-
-
- -

Definition at line 142 of file vector.c.

-
142 {
-
143 //remove each item in the vector untill the vector is empty
-
144 while(ARC_Vector_GetSize(vector) != 0){
-
145 ARC_Vector_RemoveIndex(vector, 0);
-
146 }
-
147}
-
uint32_t ARC_Vector_GetSize(ARC_Vector *vector)
gets the current size of an ARC_Vector as an unsigned 32 bit integer
Definition vector.c:149
-
void ARC_Vector_RemoveIndex(ARC_Vector *vector, uint32_t index)
removes an item from an ARC_Vector at an index
Definition vector.c:110
-
-

References ARC_Vector_GetSize(), and ARC_Vector_RemoveIndex().

- -

Referenced by ARC_Lexer_Clear(), ARC_Parser_ParseTag(), and ARC_Vector_Destroy().

- -
-
- -

◆ ARC_Vector_CompareDataDefaultFn()

- -
-
- - - - - - - - - - - -
ARC_Bool ARC_Vector_CompareDataDefaultFn (void * dataA,
void * dataB )
-
- -

Definition at line 23 of file vector.c.

-
23 {
-
24 if(dataA == dataB){
-
25 return ARC_True;
-
26 }
-
27
-
28 return ARC_False;
-
29}
-
#define ARC_False
Definition bool.h:12
-
#define ARC_True
Definition bool.h:11
-
-

References ARC_False, and ARC_True.

- -

Referenced by ARC_Vector_Create().

- -
-
- -

◆ ARC_Vector_Create()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Vector_Create (ARC_Vector ** vector,
ARC_Vector_CompareDataFn * compareDataFn,
ARC_Vector_DestroyDataFn * destroyDataFn )
-
- -

creates an ARC_Vector which is an "expandable" array

-
Note
for this basic implementation, the array will double in size every time the capacity is hit
-
-the array will also half in size when the array is only half filled
-
Parameters
- - - - -
[out]vectorARC_Vector to initialize
[in]compareDataFna callback that checks if data stored in the array matches, if set to NULL and ARC_Vector_Remove is called, the pointer addresses will be compared
[in]destroyDataFna callback that frees an item on remove or clear, can be set to NULL to do nothing
-
-
- -

Definition at line 31 of file vector.c.

-
31 {
-
32 //create the vector
-
33 *vector = (ARC_Vector *)malloc(sizeof(ARC_Vector));
-
34
-
35 //initialize all the values stored in the vector
-
36 (*vector)->data = (void **)malloc(sizeof(void *));
-
37 (*vector)->currentCapacity = 1;
-
38 (*vector)->currentSize = 0;
-
39
-
40 //set a default for compareDataFn, then override it if it is passed in through parameters
-
41 (*vector)->compareDataFn = ARC_Vector_CompareDataDefaultFn;
-
42 if(compareDataFn != NULL){
-
43 (*vector)->compareDataFn = *compareDataFn;
-
44 }
-
45
-
46 //set NULL as a default for deleteDataFn, then copy the delete data function callback if it exists
-
47 (*vector)->destroyDataFn = NULL;
-
48 if(destroyDataFn != NULL){
-
49 (*vector)->destroyDataFn = (ARC_Vector_DestroyDataFn *)malloc(sizeof(ARC_Vector_DestroyDataFn));
-
50 *((*vector)->destroyDataFn) = *destroyDataFn;
-
51 }
-
52}
-
ARC_Bool ARC_Vector_CompareDataDefaultFn(void *dataA, void *dataB)
Definition vector.c:23
-
a private dynamic array type
Definition vector.c:12
-
void(* ARC_Vector_DestroyDataFn)(void *data)
a callback that cleans up memory when it is removed from the vector
Definition vector.h:31
-
-

References ARC_Vector_CompareDataDefaultFn(), and ARC_Vector::data.

- -

Referenced by ARC_ConsoleBuffer_Clear(), ARC_ConsoleBuffer_Create(), ARC_ConsoleShell_Create(), ARC_ConsoleView_Create(), ARC_Handler_Create(), ARC_Lexer_Create(), ARC_Parser_ParseTag(), ARC_ParserCSVData_CreateFn(), ARC_ParserCSVData_RunLineTag(), ARC_ParserLang_CreateDataFn(), ARC_ParserLangParsedData_CreateBodyTag(), ARC_ParserLangParsedData_GetArgumentsTag(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), and ARC_TEST().

- -
-
- -

◆ ARC_Vector_Destroy()

- -
-
- - - - - - - -
void ARC_Vector_Destroy (ARC_Vector * vector)
-
- -

destroys an ARC_Vector

-
Note
this will not free the items stored in the vector
-
-please make sure to clear and free the children before destroying an ARC_Vector
-
Parameters
- - -
[in]vectorARC_Vector to free
-
-
- -

Definition at line 54 of file vector.c.

-
54 {
-
55 //remove all the contents before destroying the vector
-
56 ARC_Vector_Clear(vector);
-
57
-
58 //free the delete data function if it exists
-
59 if(vector->destroyDataFn){
-
60 free(vector->destroyDataFn);
-
61 }
-
62
-
63 //free everything stored in the vector
-
64 free(vector->data);
-
65
-
66 //free the vector
-
67 free(vector);
-
68}
-
void ARC_Vector_Clear(ARC_Vector *vector)
clears all items from a vector
Definition vector.c:142
-
ARC_Vector_DestroyDataFn * destroyDataFn
Definition vector.c:19
-
-

References ARC_Vector_Clear(), ARC_Vector::data, and ARC_Vector::destroyDataFn.

- -

Referenced by ARC_ConsoleBuffer_Clear(), ARC_ConsoleBuffer_Destroy(), ARC_ConsoleShell_Destroy(), ARC_ConsoleView_Destroy(), ARC_Handler_Destroy(), ARC_Lexer_Destroy(), ARC_Parser_ParseTag(), ARC_ParserCSVData_CreateFn(), ARC_ParserCSVData_VectorDestroyVectorFn(), ARC_ParserLang_DestroyDataFn(), ARC_ParserLang_VectorDestroyVectorFn(), ARC_ParserLangParsedData_CreateBodyTag(), ARC_ParserTagToken_Destroy(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), and ARC_TEST().

- -
-
- -

◆ ARC_Vector_Get()

- -
-
- - - - - - - - - - - -
void * ARC_Vector_Get (ARC_Vector * vector,
uint32_t index )
-
- -

gets an item from an ARC_Vector at a position index

-
Note
this function will error if trying to get an index that is outside the bounds of the ARC_Vector
-
Parameters
- - - -
[in]vectorARC_Vector to get data from
[in]indexposition of data to get
-
-
-
Returns
a void * item, or NULL on error
- -

Definition at line 153 of file vector.c.

-
153 {
-
154 //check to make sure the given index is in bounds of the vector
-
155 if(index >= vector->currentSize){
- -
157 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_Vector_Get(vector, %u), null value as the index was out of bounds", index);
-
158 return NULL;
-
159 }
-
160
-
161 return vector->data[index];
-
162}
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_ERRNO_DATA
Definition errno.h:7
-
-

References ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_DATA, ARC_Vector::currentSize, and ARC_Vector::data.

- -

Referenced by ARC_ConsoleBuffer_AddChar(), ARC_ConsoleBuffer_Clear(), ARC_ConsoleBuffer_Destroy(), ARC_ConsoleBuffer_Render(), ARC_ConsoleBuffer_RenderSection(), ARC_ConsoleShell_Destroy(), ARC_ConsoleShell_GetHistoryAt(), ARC_ConsoleView_GetElement(), ARC_ConsoleView_RenderElements(), ARC_Handler_Clean(), ARC_Handler_Iterate(), ARC_Handler_RemoveIndex(), ARC_Lexer_GetToken(), ARC_Lexer_IsTokenId(), ARC_Lexer_LexString(), ARC_Lexer_PrintTokenRules(), ARC_Lexer_RegisterTokenRule(), ARC_Parser_CreateFromVector(), ARC_ParserCSVData_CreateFn(), ARC_ParserCSVData_GetDataTag(), ARC_ParserCSVData_RunLineTag(), ARC_ParserData_HelperRecurseStringAdd(), ARC_ParserLangParsedData_CreateBodyTag(), ARC_ParserLangParsedData_CreateTagString(), ARC_ParserLangParsedData_GetArgumentsTag(), ARC_ParserLangParsedData_GetArgumentTag(), ARC_ParserLangParsedData_RecurseStringAdd(), ARC_ParserLangParsedData_RunLineTag(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_TEST(), and TEST_ParserData_CreateCharFn().

- -
-
- -

◆ ARC_Vector_GetSize()

- - - -

◆ ARC_Vector_Remove()

- -
-
- - - - - - - - - - - -
void ARC_Vector_Remove (ARC_Vector * vector,
void * data )
-
- -

removes an item from a matching item in an ARC_Vector

-
Note
this function uses the ARC_Vector_CompareDataFn that the ARC_Vector was created with
-
-this function will not throw an error if there is no match
-
-this function will call ARC_Vector_RemoveIndex, so it's notes are also applicable to this function
-
Parameters
- - - -
[in]vectorARC_Vector to remove from
[in]datamatching data to remove
-
-
- -

Definition at line 97 of file vector.c.

-
97 {
-
98 //iterate through every item to check to see if it exists
-
99 for(uint32_t index = 0; index < vector->currentSize; index++){
-
100 //keep the code cleaner by pulling the current index data into a temp variable
-
101 void *dataB = vector->data[index];
-
102
-
103 //check if the data matches, and if so remove by index
-
104 if(vector->compareDataFn(data, dataB) == ARC_True){
-
105 ARC_Vector_RemoveIndex(vector, index);
-
106 }
-
107 }
-
108}
-
ARC_Vector_CompareDataFn compareDataFn
Definition vector.c:18
-
-

References ARC_True, ARC_Vector_RemoveIndex(), ARC_Vector::compareDataFn, ARC_Vector::currentSize, and ARC_Vector::data.

- -

Referenced by ARC_Handler_Remove(), and ARC_TEST().

- -
-
- -

◆ ARC_Vector_RemoveIndex()

- -
-
- - - - - - - - - - - -
void ARC_Vector_RemoveIndex (ARC_Vector * vector,
uint32_t index )
-
- -

removes an item from an ARC_Vector at an index

-
Note
this function will error if trying to remove an index that is outside the bounds of the ARC_Vector
-
-this function will use ARC_Vector_DeleteDataFn if it was set in the ARC_Vector_Create function
-
Parameters
- - - -
[in]vectorARC_Vector to remove from
[in]indexposition of data to remove
-
-
- -

Definition at line 110 of file vector.c.

-
110 {
-
111 //check to make sure the given index is in bounds of the vector
-
112 if(index >= vector->currentSize){
- -
114 ARC_DEBUG_LOG_ERROR("ARC_Vector_Add(vector, data), vector at max capacity tried adding another value");
-
115 return;
-
116 }
-
117
-
118 //call delete data to clean up item if delete data function exists
-
119 if(vector->destroyDataFn != NULL){
-
120 (*(vector->destroyDataFn))(vector->data[index]);
-
121 }
-
122
-
123 //we will be using index to iterate as we will not use it again, so we can skip the first part of the for loop
-
124 for(; index + 1 < vector->currentSize; index++){
-
125 //override the data from index to the end by shifting it back one
-
126 vector->data[index] = vector->data[index + 1];
-
127 }
-
128
-
129 //we have removed the item so we can decrease the current size
-
130 vector->currentSize--;
-
131
-
132 //if the current size is half the current capacity or the current capacity is at the smallest limit, we do not need to do anything else
-
133 if(vector->currentSize != vector->currentCapacity >> 1 || vector->currentCapacity == 1){
-
134 return;
-
135 }
-
136
-
137 //half the capacity and copy it into a smaller array
-
138 vector->currentCapacity >>= 1;
-
139 vector->data = (void **)realloc(vector->data, sizeof(void *) * vector->currentCapacity);
-
140}
-
-

References ARC_DEBUG_LOG_ERROR, arc_errno, ARC_ERRNO_DATA, ARC_Vector::currentCapacity, ARC_Vector::currentSize, ARC_Vector::data, and ARC_Vector::destroyDataFn.

- -

Referenced by ARC_ConsoleBuffer_AddChar(), ARC_ConsoleView_RemoveElement(), ARC_Handler_Clean(), ARC_Handler_RemoveIndex(), ARC_TEST(), ARC_TEST(), ARC_TEST(), ARC_Vector_Clear(), and ARC_Vector_Remove().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/df/d6b/src_2std_2vector_8c.js b/doc/doxygen/html/df/d6b/src_2std_2vector_8c.js deleted file mode 100644 index 85ba96e..0000000 --- a/doc/doxygen/html/df/d6b/src_2std_2vector_8c.js +++ /dev/null @@ -1,13 +0,0 @@ -var src_2std_2vector_8c = -[ - [ "ARC_Vector", "de/dbd/structARC__Vector.html", "de/dbd/structARC__Vector" ], - [ "ARC_Vector_Add", "df/d6b/src_2std_2vector_8c.html#a2a06c8c4c1fc1f99e08568ef92c186ae", null ], - [ "ARC_Vector_Clear", "df/d6b/src_2std_2vector_8c.html#ac0f528744e3da5f3334d91f6ecf542ec", null ], - [ "ARC_Vector_CompareDataDefaultFn", "df/d6b/src_2std_2vector_8c.html#af85475a7443ce6ba5beb329dd60f9be4", null ], - [ "ARC_Vector_Create", "df/d6b/src_2std_2vector_8c.html#ac8de583c096684695a7d862c581b78f6", null ], - [ "ARC_Vector_Destroy", "df/d6b/src_2std_2vector_8c.html#a605bb525f6df05ec88742237e1911e47", null ], - [ "ARC_Vector_Get", "df/d6b/src_2std_2vector_8c.html#a1b01ba012d6fe295e8ce1446f9a6a3a0", null ], - [ "ARC_Vector_GetSize", "df/d6b/src_2std_2vector_8c.html#a0c72f76fed251ea51a8be057f9c89504", null ], - [ "ARC_Vector_Remove", "df/d6b/src_2std_2vector_8c.html#a443185fcb80a2593b4b1f580a1b11133", null ], - [ "ARC_Vector_RemoveIndex", "df/d6b/src_2std_2vector_8c.html#ab05c0f7ebefe73729d3e2c2e6e528d00", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/df/d6b/src_2std_2vector_8c_source.html b/doc/doxygen/html/df/d6b/src_2std_2vector_8c_source.html deleted file mode 100644 index 58dc979..0000000 --- a/doc/doxygen/html/df/d6b/src_2std_2vector_8c_source.html +++ /dev/null @@ -1,338 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/vector.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
vector.c
-
-
-Go to the documentation of this file.
1
-
2#include "arc/std/vector.h"
-
3
-
4#include "arc/std/bool.h"
-
5#include "arc/std/errno.h"
-
6#include <stdint.h>
-
7#include <stdlib.h>
-
8
-
9/**
-
10 * @brief a private dynamic array type
-
11*/
- -
21
-
22//this is a private function used as the default check for removing data from a given pointer
-
-
23ARC_Bool ARC_Vector_CompareDataDefaultFn(void *dataA, void *dataB){
-
24 if(dataA == dataB){
-
25 return ARC_True;
-
26 }
-
27
-
28 return ARC_False;
-
29}
-
-
30
-
- -
32 //create the vector
-
33 *vector = (ARC_Vector *)malloc(sizeof(ARC_Vector));
-
34
-
35 //initialize all the values stored in the vector
-
36 (*vector)->data = (void **)malloc(sizeof(void *));
-
37 (*vector)->currentCapacity = 1;
-
38 (*vector)->currentSize = 0;
-
39
-
40 //set a default for compareDataFn, then override it if it is passed in through parameters
-
41 (*vector)->compareDataFn = ARC_Vector_CompareDataDefaultFn;
-
42 if(compareDataFn != NULL){
-
43 (*vector)->compareDataFn = *compareDataFn;
-
44 }
-
45
-
46 //set NULL as a default for deleteDataFn, then copy the delete data function callback if it exists
-
47 (*vector)->destroyDataFn = NULL;
-
48 if(destroyDataFn != NULL){
-
49 (*vector)->destroyDataFn = (ARC_Vector_DestroyDataFn *)malloc(sizeof(ARC_Vector_DestroyDataFn));
-
50 *((*vector)->destroyDataFn) = *destroyDataFn;
-
51 }
-
52}
-
-
53
-
- -
55 //remove all the contents before destroying the vector
-
56 ARC_Vector_Clear(vector);
-
57
-
58 //free the delete data function if it exists
-
59 if(vector->destroyDataFn){
-
60 free(vector->destroyDataFn);
-
61 }
-
62
-
63 //free everything stored in the vector
-
64 free(vector->data);
-
65
-
66 //free the vector
-
67 free(vector);
-
68}
-
-
69
-
-
70void ARC_Vector_Add(ARC_Vector *vector, void *data){
-
71 //check to see if the current size is the same as a max uint32_t and if so it will overflow so throw an error
-
72 if(vector->currentSize == ~((uint32_t)0)){
- -
74 ARC_DEBUG_LOG_ERROR("ARC_Vector_Add(vector, data), vector at max capacity tried adding another value");
-
75 return;
-
76 }
-
77
-
78 //check if we are at the max of the current capacity
-
79 if(vector->currentSize == vector->currentCapacity){
-
80 //increase the current capacity by double
-
81 vector->currentCapacity <<= 1;
-
82
-
83 //if for some reason the capacity is 0, we should set it to one so we do not error on realloc
-
84 if(vector->currentCapacity != 0){
-
85 vector->currentCapacity++;
-
86 }
-
87
-
88 //resize the vectors array and copy the contents at the same time
-
89 vector->data = (void **)realloc(vector->data, sizeof(void *) * vector->currentCapacity);
-
90 }
-
91
-
92 //add to the vectors array and increase its current size
-
93 vector->data[vector->currentSize] = data;
-
94 vector->currentSize++;
-
95}
-
-
96
-
-
97void ARC_Vector_Remove(ARC_Vector *vector, void *data){
-
98 //iterate through every item to check to see if it exists
-
99 for(uint32_t index = 0; index < vector->currentSize; index++){
-
100 //keep the code cleaner by pulling the current index data into a temp variable
-
101 void *dataB = vector->data[index];
-
102
-
103 //check if the data matches, and if so remove by index
-
104 if(vector->compareDataFn(data, dataB) == ARC_True){
-
105 ARC_Vector_RemoveIndex(vector, index);
-
106 }
-
107 }
-
108}
-
-
109
-
-
110void ARC_Vector_RemoveIndex(ARC_Vector *vector, uint32_t index){
-
111 //check to make sure the given index is in bounds of the vector
-
112 if(index >= vector->currentSize){
- -
114 ARC_DEBUG_LOG_ERROR("ARC_Vector_Add(vector, data), vector at max capacity tried adding another value");
-
115 return;
-
116 }
-
117
-
118 //call delete data to clean up item if delete data function exists
-
119 if(vector->destroyDataFn != NULL){
-
120 (*(vector->destroyDataFn))(vector->data[index]);
-
121 }
-
122
-
123 //we will be using index to iterate as we will not use it again, so we can skip the first part of the for loop
-
124 for(; index + 1 < vector->currentSize; index++){
-
125 //override the data from index to the end by shifting it back one
-
126 vector->data[index] = vector->data[index + 1];
-
127 }
-
128
-
129 //we have removed the item so we can decrease the current size
-
130 vector->currentSize--;
-
131
-
132 //if the current size is half the current capacity or the current capacity is at the smallest limit, we do not need to do anything else
-
133 if(vector->currentSize != vector->currentCapacity >> 1 || vector->currentCapacity == 1){
-
134 return;
-
135 }
-
136
-
137 //half the capacity and copy it into a smaller array
-
138 vector->currentCapacity >>= 1;
-
139 vector->data = (void **)realloc(vector->data, sizeof(void *) * vector->currentCapacity);
-
140}
-
-
141
-
- -
143 //remove each item in the vector untill the vector is empty
-
144 while(ARC_Vector_GetSize(vector) != 0){
-
145 ARC_Vector_RemoveIndex(vector, 0);
-
146 }
-
147}
-
-
148
-
- -
150 return vector->currentSize;
-
151}
-
-
152
-
-
153void *ARC_Vector_Get(ARC_Vector *vector, uint32_t index){
-
154 //check to make sure the given index is in bounds of the vector
-
155 if(index >= vector->currentSize){
- -
157 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_Vector_Get(vector, %u), null value as the index was out of bounds", index);
-
158 return NULL;
-
159 }
-
160
-
161 return vector->data[index];
-
162}
-
- -
#define ARC_False
Definition bool.h:12
-
#define ARC_True
Definition bool.h:11
-
#define ARC_Bool
Definition bool.h:10
- -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_ERRNO_OVERFLOW
Definition errno.h:10
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
#define ARC_ERRNO_DATA
Definition errno.h:7
-
uint32_t ARC_Vector_GetSize(ARC_Vector *vector)
gets the current size of an ARC_Vector as an unsigned 32 bit integer
Definition vector.c:149
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:153
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:70
-
void ARC_Vector_Remove(ARC_Vector *vector, void *data)
removes an item from a matching item in an ARC_Vector
Definition vector.c:97
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:54
-
void ARC_Vector_RemoveIndex(ARC_Vector *vector, uint32_t index)
removes an item from an ARC_Vector at an index
Definition vector.c:110
-
void ARC_Vector_Clear(ARC_Vector *vector)
clears all items from a vector
Definition vector.c:142
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:31
-
ARC_Bool ARC_Vector_CompareDataDefaultFn(void *dataA, void *dataB)
Definition vector.c:23
-
a private dynamic array type
Definition vector.c:12
-
void ** data
Definition vector.c:16
-
ARC_Vector_DestroyDataFn * destroyDataFn
Definition vector.c:19
-
uint32_t currentCapacity
Definition vector.c:13
-
ARC_Vector_CompareDataFn compareDataFn
Definition vector.c:18
-
uint32_t currentSize
Definition vector.c:14
- -
void(* ARC_Vector_DestroyDataFn)(void *data)
a callback that cleans up memory when it is removed from the vector
Definition vector.h:31
-
ARC_Bool(* ARC_Vector_CompareDataFn)(void *dataA, void *dataB)
a callback that allows the user to define a way to check the data stored in a vector for a match
Definition vector.h:24
-
-
- - - - - - diff --git a/doc/doxygen/html/df/d6d/line_8c.html b/doc/doxygen/html/df/d6d/line_8c.html deleted file mode 100644 index e5775fe..0000000 --- a/doc/doxygen/html/df/d6d/line_8c.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/line.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
line.c File Reference
-
- - - -
- - diff --git a/doc/doxygen/html/df/d6d/line_8c_source.html b/doc/doxygen/html/df/d6d/line_8c_source.html deleted file mode 100644 index 298678f..0000000 --- a/doc/doxygen/html/df/d6d/line_8c_source.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics/line.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
line.c
-
-
-Go to the documentation of this file.
1#ifdef ARC_NONE_GRAPHICS
-
2
-
3#include "arc/graphics/line.h"
-
4#include <stdio.h>
-
5
-
6void ARC_Line_Render(int32_t *x1, int32_t *y1, int32_t *x2, int32_t *y2, ARC_Renderer *renderer, ARC_Color *color){
-
7 printf("No Graphics Backend Selected\n");
-
8}
-
9
-
10#endif // !ARC_NONE_GRAPHICS
- -
void ARC_Line_Render(int32_t *x1, int32_t *y1, int32_t *x2, int32_t *y2, ARC_Renderer *renderer, ARC_Color *color)
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- -
- - -
- - diff --git a/doc/doxygen/html/df/d73/time_8c.html b/doc/doxygen/html/df/d73/time_8c.html deleted file mode 100644 index 2d38845..0000000 --- a/doc/doxygen/html/df/d73/time_8c.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/time.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
time.c File Reference
-
-
-
#include "arc/std/time.h"
-
-

Go to the source code of this file.

- - - - - -

-Functions

ARC_Time ARC_Time_CopyFromStructTmPtr (struct tm *time)
 copies the contents of a tm struct pointer into the ARC_Time type
 
-

Function Documentation

- -

◆ ARC_Time_CopyFromStructTmPtr()

- -
-
- - - - - - - -
ARC_Time ARC_Time_CopyFromStructTmPtr (struct tm * time)
-
- -

copies the contents of a tm struct pointer into the ARC_Time type

-
Parameters
- - -
timethe struct tm type to copy
-
-
-
Returns
the contents of a struct tm as an ARC_Time
- -

Definition at line 3 of file time.c.

-
3 {
-
4 return (ARC_Time){
-
5 time->tm_sec,
-
6 time->tm_min,
-
7 time->tm_hour,
-
8
-
9 time->tm_yday,
-
10 time->tm_mon,
-
11 time->tm_year,
-
12
-
13 time->tm_wday,
-
14 time->tm_mday,
-
15
-
16 time->tm_isdst
-
17 };
-
18}
-
the ARC_Time data structre based on time.h (mainly added to avoid having to type struct tm every time...
Definition time.h:27
-
-
-
-
-
- - - - - - diff --git a/doc/doxygen/html/df/d73/time_8c.js b/doc/doxygen/html/df/d73/time_8c.js deleted file mode 100644 index 5f885ef..0000000 --- a/doc/doxygen/html/df/d73/time_8c.js +++ /dev/null @@ -1,4 +0,0 @@ -var time_8c = -[ - [ "ARC_Time_CopyFromStructTmPtr", "df/d73/time_8c.html#a77e3c70990681ec05eef64214b61efab", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/df/d73/time_8c_source.html b/doc/doxygen/html/df/d73/time_8c_source.html deleted file mode 100644 index 02f79d0..0000000 --- a/doc/doxygen/html/df/d73/time_8c_source.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/time.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
time.c
-
-
-Go to the documentation of this file.
1#include "arc/std/time.h"
-
2
-
- -
4 return (ARC_Time){
-
5 time->tm_sec,
-
6 time->tm_min,
-
7 time->tm_hour,
-
8
-
9 time->tm_yday,
-
10 time->tm_mon,
-
11 time->tm_year,
-
12
-
13 time->tm_wday,
-
14 time->tm_mday,
-
15
-
16 time->tm_isdst
-
17 };
-
18}
-
-
the ARC_Time data structre based on time.h (mainly added to avoid having to type struct tm every time...
Definition time.h:27
-
ARC_Time ARC_Time_CopyFromStructTmPtr(struct tm *time)
copies the contents of a tm struct pointer into the ARC_Time type
Definition time.c:3
- -
-
- - - - - - diff --git a/doc/doxygen/html/df/d7a/tests_8dir_2src_2graphics_2rectangle_8c_8o_8d.html b/doc/doxygen/html/df/d7a/tests_8dir_2src_2graphics_2rectangle_8c_8o_8d.html deleted file mode 100644 index aa4c4ea..0000000 --- a/doc/doxygen/html/df/d7a/tests_8dir_2src_2graphics_2rectangle_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/graphics/rectangle.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
rectangle.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/df/d7a/tests_8dir_2src_2graphics_2rectangle_8c_8o_8d_source.html b/doc/doxygen/html/df/d7a/tests_8dir_2src_2graphics_2rectangle_8c_8o_8d_source.html deleted file mode 100644 index 066bf6a..0000000 --- a/doc/doxygen/html/df/d7a/tests_8dir_2src_2graphics_2rectangle_8c_8o_8d_source.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/graphics/rectangle.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
rectangle.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/graphics/rectangle.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/graphics/rectangle.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/graphics/rectangle.h \
-
5 /home/herbglitch/programs/archeus/arc/include/arc/graphics/color.h \
-
6 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
7 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
8 /usr/include/features.h /usr/include/features-time64.h \
-
9 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
10 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
11 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
12 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
13 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
14 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
15 /usr/include/bits/stdint-least.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/graphics/renderer.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/math/rectangle.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/math/point.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/math/vector2.h \
-
20 /usr/include/stdio.h \
-
21 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
22 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdarg.h \
-
23 /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
-
24 /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
-
25 /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
-
26 /usr/include/bits/types/cookie_io_functions_t.h \
-
27 /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
-
28 /usr/include/bits/floatn-common.h
-
-
- - - - - - diff --git a/doc/doxygen/html/df/d9c/tests_2std_2parser_2csv_8c.html b/doc/doxygen/html/df/d9c/tests_2std_2parser_2csv_8c.html deleted file mode 100644 index b3243b9..0000000 --- a/doc/doxygen/html/df/d9c/tests_2std_2parser_2csv_8c.html +++ /dev/null @@ -1,331 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/tests/std/parser/csv.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
csv.c File Reference
-
-
-
#include "../../test.h"
-#include "arc/std/bool.h"
-#include "arc/std/errno.h"
-#include "arc/std/parser/csv.h"
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - - - - - - - -

-Functions

void TEST_ParserCSV_CastTypeFn (void **data, ARC_String *string)
 
void TEST_ParserCSV_DestroyTypeFn (void *data)
 
 ARC_TEST (Parser_ParserCSV_BasicTest)
 
 ARC_TEST (Parser_ParserCSV_BasicHeaderTest)
 
-

Function Documentation

- -

◆ ARC_TEST() [1/2]

- -
-
- - - - - - - -
ARC_TEST (Parser_ParserCSV_BasicHeaderTest )
-
- -

Definition at line 47 of file csv.c.

-
47 {
-
48 ARC_Parser *parser;
- -
50
-
51 const char *tempCString =
-
52 "a,b,c,d\n"
-
53 "4,3,2,1\n"
-
54 "7,3,2,1\n"
-
55 "4,2,4,1\n"
-
56 "7,7,7,7\n";
-
57
-
58 ARC_String *tempString;
-
59 ARC_String_CreateWithStrlen(&tempString, (char *)tempCString);
-
60
-
61 //this destroys string, so no need for cleanup
-
62 ARC_Parser_Parse(parser, &tempString);
-
63 ARC_CHECK(arc_errno == 0);
-
64
- -
66
-
67 for(uint32_t x = 0; x < data->width; x++){
-
68 printf("%s ", data->headers[x]->data);
-
69 }
-
70 printf("\n");
-
71
-
72 for(uint32_t y = 0; y < data->height; y++){
-
73 for(uint32_t x = 0; x < data->width; x++){
-
74 printf("%d ", *(int32_t *)(data->data[y][x]));
-
75 }
-
76 printf("\n");
-
77 }
-
78
-
79 ARC_Parser_Destroy(parser);
-
80}
-
#define ARC_True
Definition bool.h:11
-
int32_t arc_errno
Definition errno.c:5
-
void ARC_Parser_Parse(ARC_Parser *parser, ARC_String **data)
Definition parser.c:297
-
void ARC_Parser_Destroy(ARC_Parser *parser)
destroys an ARC_Parser type
Definition parser.c:127
-
void * ARC_Parser_GetData(ARC_Parser *parser)
Definition parser.c:368
-
void ARC_ParserCSV_CreateAsParser(ARC_Parser **parser, ARC_Bool header, ARC_ParserCSV_CastTypeFn castTypeFn, ARC_ParserCSV_DestroyTypeFn destroyTypeFn)
creates a parser for the Parser Lang
Definition csv.c:302
-
void ARC_String_CreateWithStrlen(ARC_String **string, char *data)
creates ARC_String type with strinlen
Definition string.c:32
-
defines a csv data type, data is set by the callback passed in when createing a parserCSV as parser
Definition csv.h:44
-
uint32_t height
Definition csv.h:49
-
uint32_t width
Definition csv.h:48
-
void *** data
Definition csv.h:50
-
ARC_String ** headers
Definition csv.h:46
- -
substring position within a string
Definition string.h:14
-
char * data
Definition string.h:15
-
#define ARC_CHECK(TEST)
Definition test.h:33
-
void TEST_ParserCSV_CastTypeFn(void **data, ARC_String *string)
Definition csv.c:7
-
void TEST_ParserCSV_DestroyTypeFn(void *data)
Definition csv.c:14
-
-

References ARC_CHECK, arc_errno, ARC_Parser_Destroy(), ARC_Parser_GetData(), ARC_Parser_Parse(), ARC_ParserCSV_CreateAsParser(), ARC_String_CreateWithStrlen(), ARC_True, ARC_ParserCSVData::data, ARC_String::data, ARC_ParserCSVData::headers, ARC_ParserCSVData::height, TEST_ParserCSV_CastTypeFn(), TEST_ParserCSV_DestroyTypeFn(), and ARC_ParserCSVData::width.

- -
-
- -

◆ ARC_TEST() [2/2]

- -
-
- - - - - - - -
ARC_TEST (Parser_ParserCSV_BasicTest )
-
- -

Definition at line 18 of file csv.c.

-
18 {
-
19 ARC_Parser *parser;
- -
21
-
22 const char *tempCString =
-
23 "1,1,2,2\n"
-
24 "2,3,4,5\n"
-
25 "4,2,4,1\n"
-
26 "7,7,7,7\n";
-
27
-
28 ARC_String *tempString;
-
29 ARC_String_CreateWithStrlen(&tempString, (char *)tempCString);
-
30
-
31 //this destroys string, so no need for cleanup
-
32 ARC_Parser_Parse(parser, &tempString);
-
33 ARC_CHECK(arc_errno == 0);
-
34
- -
36
-
37 for(uint32_t y = 0; y < data->height; y++){
-
38 for(uint32_t x = 0; x < data->width; x++){
-
39 printf("%d ", *(int32_t *)(data->data[y][x]));
-
40 }
-
41 printf("\n");
-
42 }
-
43
-
44 ARC_Parser_Destroy(parser);
-
45}
-
#define ARC_False
Definition bool.h:12
-
-

References ARC_CHECK, arc_errno, ARC_False, ARC_Parser_Destroy(), ARC_Parser_GetData(), ARC_Parser_Parse(), ARC_ParserCSV_CreateAsParser(), ARC_String_CreateWithStrlen(), ARC_ParserCSVData::data, ARC_ParserCSVData::height, TEST_ParserCSV_CastTypeFn(), TEST_ParserCSV_DestroyTypeFn(), and ARC_ParserCSVData::width.

- -
-
- -

◆ TEST_ParserCSV_CastTypeFn()

- -
-
- - - - - - - - - - - -
void TEST_ParserCSV_CastTypeFn (void ** data,
ARC_String * string )
-
- -

Definition at line 7 of file csv.c.

-
7 {
-
8 int32_t *int32Data = (int32_t *)malloc(sizeof(int32_t));
-
9 *int32Data = (int32_t)ARC_String_ToInt64_t(string);
-
10
-
11 *data = (void *)int32Data;
-
12}
-
int64_t ARC_String_ToInt64_t(ARC_String *string)
converst substring from string to int64_t
Definition string.c:222
-
-

References ARC_String_ToInt64_t().

- -

Referenced by ARC_TEST(), and ARC_TEST().

- -
-
- -

◆ TEST_ParserCSV_DestroyTypeFn()

- -
-
- - - - - - - -
void TEST_ParserCSV_DestroyTypeFn (void * data)
-
- -

Definition at line 14 of file csv.c.

-
14 {
-
15 free((int32_t *)data);
-
16}
-
-

Referenced by ARC_TEST(), and ARC_TEST().

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/df/d9c/tests_2std_2parser_2csv_8c.js b/doc/doxygen/html/df/d9c/tests_2std_2parser_2csv_8c.js deleted file mode 100644 index 6fd052b..0000000 --- a/doc/doxygen/html/df/d9c/tests_2std_2parser_2csv_8c.js +++ /dev/null @@ -1,7 +0,0 @@ -var tests_2std_2parser_2csv_8c = -[ - [ "ARC_TEST", "df/d9c/tests_2std_2parser_2csv_8c.html#a931a7ec1e944eb3dcc28f7dae02903f4", null ], - [ "ARC_TEST", "df/d9c/tests_2std_2parser_2csv_8c.html#a2541b7b5cccf76ce532c38639cbfa3ea", null ], - [ "TEST_ParserCSV_CastTypeFn", "df/d9c/tests_2std_2parser_2csv_8c.html#accbc4c4a4e937d3747a83ae07edf2b6a", null ], - [ "TEST_ParserCSV_DestroyTypeFn", "df/d9c/tests_2std_2parser_2csv_8c.html#aeb9f48a9a3d16b1f5eaed50013064809", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/df/d9c/tests_2std_2parser_2csv_8c_source.html b/doc/doxygen/html/df/d9c/tests_2std_2parser_2csv_8c_source.html deleted file mode 100644 index cedfce5..0000000 --- a/doc/doxygen/html/df/d9c/tests_2std_2parser_2csv_8c_source.html +++ /dev/null @@ -1,241 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/tests/std/parser/csv.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
csv.c
-
-
-Go to the documentation of this file.
1#include "../../test.h"
-
2#include "arc/std/bool.h"
-
3#include "arc/std/errno.h"
- -
5#include <stdlib.h>
-
6
-
-
7void TEST_ParserCSV_CastTypeFn(void **data, ARC_String *string){
-
8 int32_t *int32Data = (int32_t *)malloc(sizeof(int32_t));
-
9 *int32Data = (int32_t)ARC_String_ToInt64_t(string);
-
10
-
11 *data = (void *)int32Data;
-
12}
-
-
13
-
- -
15 free((int32_t *)data);
-
16}
-
-
17
-
-
18ARC_TEST(Parser_ParserCSV_BasicTest){
-
19 ARC_Parser *parser;
- -
21
-
22 const char *tempCString =
-
23 "1,1,2,2\n"
-
24 "2,3,4,5\n"
-
25 "4,2,4,1\n"
-
26 "7,7,7,7\n";
-
27
-
28 ARC_String *tempString;
-
29 ARC_String_CreateWithStrlen(&tempString, (char *)tempCString);
-
30
-
31 //this destroys string, so no need for cleanup
-
32 ARC_Parser_Parse(parser, &tempString);
-
33 ARC_CHECK(arc_errno == 0);
-
34
- -
36
-
37 for(uint32_t y = 0; y < data->height; y++){
-
38 for(uint32_t x = 0; x < data->width; x++){
-
39 printf("%d ", *(int32_t *)(data->data[y][x]));
-
40 }
-
41 printf("\n");
-
42 }
-
43
-
44 ARC_Parser_Destroy(parser);
-
45}
-
-
46
-
-
47ARC_TEST(Parser_ParserCSV_BasicHeaderTest){
-
48 ARC_Parser *parser;
- -
50
-
51 const char *tempCString =
-
52 "a,b,c,d\n"
-
53 "4,3,2,1\n"
-
54 "7,3,2,1\n"
-
55 "4,2,4,1\n"
-
56 "7,7,7,7\n";
-
57
-
58 ARC_String *tempString;
-
59 ARC_String_CreateWithStrlen(&tempString, (char *)tempCString);
-
60
-
61 //this destroys string, so no need for cleanup
-
62 ARC_Parser_Parse(parser, &tempString);
-
63 ARC_CHECK(arc_errno == 0);
-
64
- -
66
-
67 for(uint32_t x = 0; x < data->width; x++){
-
68 printf("%s ", data->headers[x]->data);
-
69 }
-
70 printf("\n");
-
71
-
72 for(uint32_t y = 0; y < data->height; y++){
-
73 for(uint32_t x = 0; x < data->width; x++){
-
74 printf("%d ", *(int32_t *)(data->data[y][x]));
-
75 }
-
76 printf("\n");
-
77 }
-
78
-
79 ARC_Parser_Destroy(parser);
-
80}
-
- -
#define ARC_False
Definition bool.h:12
-
#define ARC_True
Definition bool.h:11
- - -
int32_t arc_errno
Definition errno.c:5
-
void ARC_Parser_Parse(ARC_Parser *parser, ARC_String **data)
Definition parser.c:297
-
void ARC_Parser_Destroy(ARC_Parser *parser)
destroys an ARC_Parser type
Definition parser.c:127
-
void * ARC_Parser_GetData(ARC_Parser *parser)
Definition parser.c:368
-
void ARC_ParserCSV_CreateAsParser(ARC_Parser **parser, ARC_Bool header, ARC_ParserCSV_CastTypeFn castTypeFn, ARC_ParserCSV_DestroyTypeFn destroyTypeFn)
creates a parser for the Parser Lang
Definition csv.c:302
-
int64_t ARC_String_ToInt64_t(ARC_String *string)
converst substring from string to int64_t
Definition string.c:222
-
void ARC_String_CreateWithStrlen(ARC_String **string, char *data)
creates ARC_String type with strinlen
Definition string.c:32
-
defines a csv data type, data is set by the callback passed in when createing a parserCSV as parser
Definition csv.h:44
-
uint32_t height
Definition csv.h:49
-
uint32_t width
Definition csv.h:48
-
void *** data
Definition csv.h:50
-
ARC_String ** headers
Definition csv.h:46
- -
substring position within a string
Definition string.h:14
-
char * data
Definition string.h:15
- -
#define ARC_CHECK(TEST)
Definition test.h:33
-
#define ARC_TEST(MESSAGE)
Definition test.h:31
-
void TEST_ParserCSV_CastTypeFn(void **data, ARC_String *string)
Definition csv.c:7
-
void TEST_ParserCSV_DestroyTypeFn(void *data)
Definition csv.c:14
-
-
- - - - - - diff --git a/doc/doxygen/html/df/db0/structARC__URect.html b/doc/doxygen/html/df/db0/structARC__URect.html deleted file mode 100644 index 7836699..0000000 --- a/doc/doxygen/html/df/db0/structARC__URect.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - - - - - -Archeus: ARC_URect Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_URect Struct Reference
-
-
- -

#include <rectangle.h>

- - - - - - - - - - -

-Data Fields

uint32_t x
 
uint32_t y
 
uint32_t w
 
uint32_t h
 
-

Detailed Description

-
-

Definition at line 19 of file rectangle.h.

-

Field Documentation

- -

◆ h

- -
-
- - - - -
uint32_t ARC_URect::h
-
- -

Definition at line 23 of file rectangle.h.

- -
-
- -

◆ w

- -
-
- - - - -
uint32_t ARC_URect::w
-
- -

Definition at line 22 of file rectangle.h.

- -
-
- -

◆ x

- -
-
- - - - -
uint32_t ARC_URect::x
-
- -

Definition at line 20 of file rectangle.h.

- -
-
- -

◆ y

- -
-
- - - - -
uint32_t ARC_URect::y
-
- -

Definition at line 21 of file rectangle.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/include/arc/math/rectangle.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/df/db0/structARC__URect.js b/doc/doxygen/html/df/db0/structARC__URect.js deleted file mode 100644 index dca7945..0000000 --- a/doc/doxygen/html/df/db0/structARC__URect.js +++ /dev/null @@ -1,7 +0,0 @@ -var structARC__URect = -[ - [ "h", "df/db0/structARC__URect.html#aac6c8c170e32ecc3d9485d963383f762", null ], - [ "w", "df/db0/structARC__URect.html#a3a1d3dc71be717305502ea8d90e1ba79", null ], - [ "x", "df/db0/structARC__URect.html#a1112fdb4112a325cac6fae39065c3019", null ], - [ "y", "df/db0/structARC__URect.html#aea6f8bd42108b90e8cc32e89edd746cb", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/df/dbf/structARC__ECSComponent.html b/doc/doxygen/html/df/dbf/structARC__ECSComponent.html deleted file mode 100644 index ecdc968..0000000 --- a/doc/doxygen/html/df/dbf/structARC__ECSComponent.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - - - -Archeus: ARC_ECSComponent Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_ECSComponent Struct Reference
-
-
- - - - - - -

-Data Fields

ARC_Vectorfunctions
 
ARC_Vectordata
 
-

Detailed Description

-
-

Definition at line 8 of file ecs.c.

-

Field Documentation

- -

◆ data

- -
-
- - - - -
ARC_Vector* ARC_ECSComponent::data
-
- -

Definition at line 10 of file ecs.c.

- -
-
- -

◆ functions

- -
-
- - - - -
ARC_Vector* ARC_ECSComponent::functions
-
- -

Definition at line 9 of file ecs.c.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/src/engine/ecs.c
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/df/dbf/structARC__ECSComponent.js b/doc/doxygen/html/df/dbf/structARC__ECSComponent.js deleted file mode 100644 index f9508dc..0000000 --- a/doc/doxygen/html/df/dbf/structARC__ECSComponent.js +++ /dev/null @@ -1,5 +0,0 @@ -var structARC__ECSComponent = -[ - [ "data", "df/dbf/structARC__ECSComponent.html#a603b577b1bbcd251bad7367cdd25cda2", null ], - [ "functions", "df/dbf/structARC__ECSComponent.html#a59e5b2cdd41e8efe63464cdd90915505", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/df/dcf/index_8md.html b/doc/doxygen/html/df/dcf/index_8md.html deleted file mode 100644 index f19b7db..0000000 --- a/doc/doxygen/html/df/dcf/index_8md.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - -Archeus: index.md File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
index.md File Reference
-
-
-
-
- - - - - - diff --git a/doc/doxygen/html/df/dd5/structARC__ParserCSVUserData.html b/doc/doxygen/html/df/dd5/structARC__ParserCSVUserData.html deleted file mode 100644 index 0d51670..0000000 --- a/doc/doxygen/html/df/dd5/structARC__ParserCSVUserData.html +++ /dev/null @@ -1,201 +0,0 @@ - - - - - - - - -Archeus: ARC_ParserCSVUserData Struct Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
ARC_ParserCSVUserData Struct Reference
-
-
- - - - - - - - -

-Data Fields

ARC_Bool header
 
ARC_ParserCSV_CastTypeFn castTypeFn
 
ARC_ParserCSV_DestroyTypeFn destroyTypeFn
 
-

Detailed Description

-
-

Definition at line 9 of file csv.c.

-

Field Documentation

- -

◆ castTypeFn

- -
-
- - - - -
ARC_ParserCSV_CastTypeFn ARC_ParserCSVUserData::castTypeFn
-
- -

Definition at line 11 of file csv.c.

- -

Referenced by ARC_ParserCSV_CreateAsParser(), and ARC_ParserCSVData_GetDataTag().

- -
-
- -

◆ destroyTypeFn

- -
-
- - - - -
ARC_ParserCSV_DestroyTypeFn ARC_ParserCSVUserData::destroyTypeFn
-
- -

Definition at line 12 of file csv.c.

- -

Referenced by ARC_ParserCSV_CreateAsParser(), and ARC_ParserCSVData_DestroyFn().

- -
-
- -

◆ header

- -
-
- - - - -
ARC_Bool ARC_ParserCSVUserData::header
-
- -

Definition at line 10 of file csv.c.

- -

Referenced by ARC_ParserCSV_CreateAsParser(), ARC_ParserCSVData_CreateFn(), and ARC_ParserCSVData_GetDataTag().

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • /home/herbglitch/programs/archeus/arc/src/std/parser/csv.c
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/df/dd5/structARC__ParserCSVUserData.js b/doc/doxygen/html/df/dd5/structARC__ParserCSVUserData.js deleted file mode 100644 index 88dd49a..0000000 --- a/doc/doxygen/html/df/dd5/structARC__ParserCSVUserData.js +++ /dev/null @@ -1,6 +0,0 @@ -var structARC__ParserCSVUserData = -[ - [ "castTypeFn", "df/dd5/structARC__ParserCSVUserData.html#a02276185e1e5a93b6fad793ca9243d8b", null ], - [ "destroyTypeFn", "df/dd5/structARC__ParserCSVUserData.html#af19d20362feac96c4bb5baa1f0641dbe", null ], - [ "header", "df/dd5/structARC__ParserCSVUserData.html#a15055aad2c59dd1647e469d3993c97bf", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/df/dd9/tests_8dir_2src_2std_2chemical_8c_8o_8d.html b/doc/doxygen/html/df/dd9/tests_8dir_2src_2std_2chemical_8c_8o_8d.html deleted file mode 100644 index dd334f5..0000000 --- a/doc/doxygen/html/df/dd9/tests_8dir_2src_2std_2chemical_8c_8o_8d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/chemical.c.o.d File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
chemical.c.o.d File Reference
-
- -
- - - - - - diff --git a/doc/doxygen/html/df/dd9/tests_8dir_2src_2std_2chemical_8c_8o_8d_source.html b/doc/doxygen/html/df/dd9/tests_8dir_2src_2std_2chemical_8c_8o_8d_source.html deleted file mode 100644 index 937ea81..0000000 --- a/doc/doxygen/html/df/dd9/tests_8dir_2src_2std_2chemical_8c_8o_8d_source.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/chemical.c.o.d Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
chemical.c.o.d
-
-
-Go to the documentation of this file.
1CMakeFiles/tests.dir/src/std/chemical.c.o: \
-
2 /home/herbglitch/programs/archeus/arc/src/std/chemical.c \
-
3 /usr/include/stdc-predef.h \
-
4 /home/herbglitch/programs/archeus/arc/include/arc/std/chemical.h \
-
5 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdint.h \
-
6 /usr/include/stdint.h /usr/include/bits/libc-header-start.h \
-
7 /usr/include/features.h /usr/include/features-time64.h \
-
8 /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
-
9 /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
-
10 /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
-
11 /usr/include/bits/types.h /usr/include/bits/typesizes.h \
-
12 /usr/include/bits/time64.h /usr/include/bits/wchar.h \
-
13 /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
-
14 /usr/include/bits/stdint-least.h \
-
15 /home/herbglitch/programs/archeus/arc/include/arc/std/parser.h \
-
16 /home/herbglitch/programs/archeus/arc/include/arc/std/array.h \
-
17 /home/herbglitch/programs/archeus/arc/include/arc/std/lexer.h \
-
18 /home/herbglitch/programs/archeus/arc/include/arc/std/string.h \
-
19 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
20 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stdbool.h \
-
21 /home/herbglitch/programs/archeus/arc/include/arc/std/vector.h \
-
22 /home/herbglitch/programs/archeus/arc/include/arc/std/bool.h \
-
23 /home/herbglitch/programs/archeus/arc/include/arc/std/parser/helpers.h \
-
24 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/stddef.h \
-
25 /home/herbglitch/programs/archeus/arc/include/arc/std/hashtable.h \
-
26 /usr/include/stdlib.h /usr/include/bits/waitflags.h \
-
27 /usr/include/bits/waitstatus.h /usr/include/bits/floatn.h \
-
28 /usr/include/bits/floatn-common.h /usr/include/sys/types.h \
-
29 /usr/include/bits/types/clock_t.h /usr/include/bits/types/clockid_t.h \
-
30 /usr/include/bits/types/time_t.h /usr/include/bits/types/timer_t.h \
-
31 /usr/include/endian.h /usr/include/bits/endian.h \
-
32 /usr/include/bits/endianness.h /usr/include/bits/byteswap.h \
-
33 /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \
-
34 /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \
-
35 /usr/include/bits/types/__sigset_t.h \
-
36 /usr/include/bits/types/struct_timeval.h \
-
37 /usr/include/bits/types/struct_timespec.h \
-
38 /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
-
39 /usr/include/bits/pthreadtypes-arch.h \
-
40 /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
-
41 /usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
-
42 /usr/include/bits/stdlib-float.h
-
-
- - - - - - diff --git a/doc/doxygen/html/df/df3/graphics_2sdl_2view_8c.html b/doc/doxygen/html/df/df3/graphics_2sdl_2view_8c.html deleted file mode 100644 index 9fb73e0..0000000 --- a/doc/doxygen/html/df/df3/graphics_2sdl_2view_8c.html +++ /dev/null @@ -1,314 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/view.c File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
view.c File Reference
-
-
-
#include "arc/graphics/view.h"
-#include "arc/std/errno.h"
-#include <SDL.h>
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - -

-Functions

void ARC_View_Create (ARC_View **view, ARC_Renderer *renderer, ARC_Rect bounds)
 creates ARC_View type
 
void ARC_View_Destroy (ARC_View *view)
 destroys ARC_View type
 
void ARC_View_Render (ARC_View *view, ARC_View_RenderFn renderFn, void *data)
 renders callbacks contents within an ARC_View
 
ARC_Rect ARC_View_GetBounds (ARC_View *view)
 gets bounds from ARC_View type
 
-

Function Documentation

- -

◆ ARC_View_Create()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_View_Create (ARC_View ** view,
ARC_Renderer * renderer,
ARC_Rect bounds )
-
- -

creates ARC_View type

-
Parameters
- - - - -
viewARC_View to initialize
rendererARC_Renderer the view will render to
boundsARC_Rect bounds of the view within the renderer
-
-
- -

Definition at line 7 of file view.c.

-
7 {
-
8 *view = (ARC_View *)malloc(sizeof(ARC_View));
-
9 (*view)->renderer = renderer;
-
10 (*view)->bounds = bounds;
-
11}
- -
ARC_Renderer * renderer
Definition view.h:12
-
-

References ARC_View::renderer.

- -
-
- -

◆ ARC_View_Destroy()

- -
-
- - - - - - - -
void ARC_View_Destroy (ARC_View * view)
-
- -

destroys ARC_View type

- -

Definition at line 13 of file view.c.

-
13 {
-
14 free(view);
-
15}
-
-
-
- -

◆ ARC_View_GetBounds()

- -
-
- - - - - - - -
ARC_Rect ARC_View_GetBounds (ARC_View * view)
-
- -

gets bounds from ARC_View type

-
Parameters
- - -
viewARC_View to get bounds from
-
-
-
Returns
bounds of the view
- -

Definition at line 33 of file view.c.

-
33 {
-
34 return view->bounds;
-
35}
-
ARC_Rect bounds
Definition view.h:13
-
-

References ARC_View::bounds.

- -
-
- -

◆ ARC_View_Render()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_View_Render (ARC_View * view,
ARC_View_RenderFn renderFn,
void * data )
-
- -

renders callbacks contents within an ARC_View

-
Parameters
- - - - -
viewARC_View to be renedered to
renderFnfunction which contents will render to given ARC_View
datadata to be used in renderFn
-
-
- -

Definition at line 17 of file view.c.

-
17 {
-
18 int err = SDL_RenderSetViewport((SDL_Renderer *)view->renderer, (const SDL_Rect *)&(view->bounds));
-
19 if(err){
-
20 ARC_DEBUG_LOG(ARC_ERRNO_DATA, "in src/graphics/sdl/view.c ARC_View_Render(view, renderFn), SDL_RenderSetViewport(...) returned: %d", err);
-
21 return;
-
22 }
-
23
-
24 renderFn(data);
-
25
-
26 err = SDL_RenderSetViewport((SDL_Renderer *)view->renderer, NULL);
-
27 if(err){
-
28 ARC_DEBUG_LOG(ARC_ERRNO_DATA, "in src/graphics/sdl/view.c ARC_View_Render(view, NULL), SDL_RenderSetViewport(...) returned: %d", err);
-
29 return;
-
30 }
-
31}
-
#define ARC_ERRNO_DATA
Definition errno.h:7
-
-

References ARC_ERRNO_DATA, ARC_View::bounds, and ARC_View::renderer.

- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/df/df3/graphics_2sdl_2view_8c.js b/doc/doxygen/html/df/df3/graphics_2sdl_2view_8c.js deleted file mode 100644 index 2d4575c..0000000 --- a/doc/doxygen/html/df/df3/graphics_2sdl_2view_8c.js +++ /dev/null @@ -1,7 +0,0 @@ -var graphics_2sdl_2view_8c = -[ - [ "ARC_View_Create", "df/df3/graphics_2sdl_2view_8c.html#ab6dc86e2534d18462197a7f5631eb6f1", null ], - [ "ARC_View_Destroy", "df/df3/graphics_2sdl_2view_8c.html#aa4fbfd12f927bd495594828e3b43b561", null ], - [ "ARC_View_GetBounds", "df/df3/graphics_2sdl_2view_8c.html#a1bfd840c5d19e24cff495ce95c67f18e", null ], - [ "ARC_View_Render", "df/df3/graphics_2sdl_2view_8c.html#a3ae6e8988b6128f00589aba6183b5f86", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/df/df3/graphics_2sdl_2view_8c_source.html b/doc/doxygen/html/df/df3/graphics_2sdl_2view_8c_source.html deleted file mode 100644 index 419b36d..0000000 --- a/doc/doxygen/html/df/df3/graphics_2sdl_2view_8c_source.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl/view.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
view.c
-
-
-Go to the documentation of this file.
1#include "arc/graphics/view.h"
-
2
-
3#include "arc/std/errno.h"
-
4#include <SDL.h>
-
5#include <stdlib.h>
-
6
-
-
7void ARC_View_Create(ARC_View **view, ARC_Renderer *renderer, ARC_Rect bounds){
-
8 *view = (ARC_View *)malloc(sizeof(ARC_View));
-
9 (*view)->renderer = renderer;
-
10 (*view)->bounds = bounds;
-
11}
-
-
12
-
- -
14 free(view);
-
15}
-
-
16
-
-
17void ARC_View_Render(ARC_View *view, ARC_View_RenderFn renderFn, void *data){
-
18 int err = SDL_RenderSetViewport((SDL_Renderer *)view->renderer, (const SDL_Rect *)&(view->bounds));
-
19 if(err){
-
20 ARC_DEBUG_LOG(ARC_ERRNO_DATA, "in src/graphics/sdl/view.c ARC_View_Render(view, renderFn), SDL_RenderSetViewport(...) returned: %d", err);
-
21 return;
-
22 }
-
23
-
24 renderFn(data);
-
25
-
26 err = SDL_RenderSetViewport((SDL_Renderer *)view->renderer, NULL);
-
27 if(err){
-
28 ARC_DEBUG_LOG(ARC_ERRNO_DATA, "in src/graphics/sdl/view.c ARC_View_Render(view, NULL), SDL_RenderSetViewport(...) returned: %d", err);
-
29 return;
-
30 }
-
31}
-
-
32
-
- -
34 return view->bounds;
-
35}
-
- -
#define ARC_ERRNO_DATA
Definition errno.h:7
-
ARC_Rect ARC_View_GetBounds(ARC_View *view)
gets bounds from ARC_View type
Definition view.c:33
-
void ARC_View_Render(ARC_View *view, ARC_View_RenderFn renderFn, void *data)
renders callbacks contents within an ARC_View
Definition view.c:17
-
void ARC_View_Destroy(ARC_View *view)
destroys ARC_View type
Definition view.c:13
-
void ARC_View_Create(ARC_View **view, ARC_Renderer *renderer, ARC_Rect bounds)
creates ARC_View type
Definition view.c:7
- -
void(* ARC_View_RenderFn)(void *data)
a function for ARC_View where contents of the function will be rendered within a view
Definition view.h:21
-
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
- - -
ARC_Renderer * renderer
Definition view.h:12
-
ARC_Rect bounds
Definition view.h:13
-
-
- - - - - - diff --git a/doc/doxygen/html/df/df7/audio_2config_8h.html b/doc/doxygen/html/df/df7/audio_2config_8h.html deleted file mode 100644 index 297ae04..0000000 --- a/doc/doxygen/html/df/df7/audio_2config_8h.html +++ /dev/null @@ -1,240 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/audio/config.h File Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
config.h File Reference
-
-
-
#include <stdint.h>
-#include "arc/std/string.h"
-
-

Go to the source code of this file.

- - - - - -

-Typedefs

typedef struct ARC_Config ARC_Config
 a type that keeps permanice of data for when loading and unloading config files
 
- - - - - - - -

-Functions

void ARC_AudioConfig_Init (ARC_Config *config)
 
uint8_t ARC_Audio_Read (ARC_Config *config, ARC_String *string, void **value)
 
void ARC_Audio_Delete (ARC_Config *config, ARC_String *string, void *value)
 
-

Typedef Documentation

- -

◆ ARC_Config

- -
-
- - - - -
typedef struct ARC_Config ARC_Config
-
- -

a type that keeps permanice of data for when loading and unloading config files

- -

Definition at line 11 of file config.h.

- -
-
-

Function Documentation

- -

◆ ARC_Audio_Delete()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Audio_Delete (ARC_Config * config,
ARC_String * string,
void * value )
-
- -
-
- -

◆ ARC_Audio_Read()

- -
-
- - - - - - - - - - - - - - - - -
uint8_t ARC_Audio_Read (ARC_Config * config,
ARC_String * string,
void ** value )
-
- -
-
- -

◆ ARC_AudioConfig_Init()

- -
-
- - - - - - - -
void ARC_AudioConfig_Init (ARC_Config * config)
-
- -
-
-
-
- - - - - - diff --git a/doc/doxygen/html/df/df7/audio_2config_8h.js b/doc/doxygen/html/df/df7/audio_2config_8h.js deleted file mode 100644 index d05b708..0000000 --- a/doc/doxygen/html/df/df7/audio_2config_8h.js +++ /dev/null @@ -1,7 +0,0 @@ -var audio_2config_8h = -[ - [ "ARC_Config", "df/df7/audio_2config_8h.html#aabee9667260a8e773757a111923b6c60", null ], - [ "ARC_Audio_Delete", "df/df7/audio_2config_8h.html#a56b20e5eaf57fb9da53f69034b66b7e4", null ], - [ "ARC_Audio_Read", "df/df7/audio_2config_8h.html#a1018ccdf4d6cd6cdd8439449baebb644", null ], - [ "ARC_AudioConfig_Init", "df/df7/audio_2config_8h.html#a5beb4825fbb34818043195c8f11f1567", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/df/df7/audio_2config_8h_source.html b/doc/doxygen/html/df/df7/audio_2config_8h_source.html deleted file mode 100644 index 22a9cda..0000000 --- a/doc/doxygen/html/df/df7/audio_2config_8h_source.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/audio/config.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
config.h
-
-
-Go to the documentation of this file.
1#ifndef ARC_AUDIO_CONFIG_H_
-
2#define ARC_AUDIO_CONFIG_H_
-
3
-
4#ifdef __cplusplus
-
5extern "C" {
-
6#endif
-
7
-
8#include <stdint.h>
-
9#include "arc/std/string.h"
-
10
-
11typedef struct ARC_Config ARC_Config;
- -
13
-
14uint8_t ARC_Audio_Read(ARC_Config *config, ARC_String *string, void **value);
-
15
-
16void ARC_Audio_Delete(ARC_Config *config, ARC_String *string, void *value);
-
17
-
18#ifdef __cplusplus
-
19}
-
20#endif
-
21
-
22#endif //ARC_AUDIO_CONFIG_H_
-
uint8_t ARC_Audio_Read(ARC_Config *config, ARC_String *string, void **value)
-
void ARC_Audio_Delete(ARC_Config *config, ARC_String *string, void *value)
-
void ARC_AudioConfig_Init(ARC_Config *config)
-
struct ARC_Config ARC_Config
a type that keeps permanice of data for when loading and unloading config files
Definition config.h:11
- -
substring position within a string
Definition string.h:14
-
-
- - - - - - diff --git a/doc/doxygen/html/df/dfa/vector_8c.html b/doc/doxygen/html/df/dfa/vector_8c.html deleted file mode 100644 index 88943cd..0000000 --- a/doc/doxygen/html/df/dfa/vector_8c.html +++ /dev/null @@ -1,623 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/vector.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
- -
vector.c File Reference
-
-
-
#include "arc/std/vector.h"
-#include "arc/std/bool.h"
-#include "arc/std/errno.h"
-#include <stdint.h>
-#include <stdlib.h>
-
-

Go to the source code of this file.

- - - - -

-Data Structures

struct  ARC_Vector
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

ARC_Bool ARC_Vector_CompareDataDefaultFn (void *dataA, void *dataB)
 
void ARC_Vector_Create (ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
 creates an ARC_Vector which is an "expandable" array
 
void ARC_Vector_Destroy (ARC_Vector *vector)
 destroys an ARC_Vector
 
void ARC_Vector_Add (ARC_Vector *vector, void *data)
 adds an item to an ARC_Vector
 
void ARC_Vector_Remove (ARC_Vector *vector, void *data)
 removes an item from a matching item in an ARC_Vector
 
void ARC_Vector_RemoveIndex (ARC_Vector *vector, uint32_t index)
 removes an item from an ARC_Vector at an index
 
void ARC_Vector_Clear (ARC_Vector *vector)
 clears all items from a vector
 
uint32_t ARC_Vector_GetSize (ARC_Vector *vector)
 gets the current size of an ARC_Vector as an unsigned 32 bit integer
 
void * ARC_Vector_Get (ARC_Vector *vector, uint32_t index)
 gets an item from an ARC_Vector at a position index
 
-

Function Documentation

- -

◆ ARC_Vector_Add()

- -
-
- - - - - - - - - - - -
void ARC_Vector_Add (ARC_Vector * vector,
void * data )
-
- -

adds an item to an ARC_Vector

-
Note
this will error if you add more than 4,294,967,295 items (the max value of an unsigned int 32)
-
Parameters
- - - -
[in]vectorARC_Vector to add to
[in]datadata that is being added
-
-
- -

Definition at line 67 of file vector.c.

-
67 {
-
68 //check to see if the current size is the same as a max uint32_t and if so it will overflow so throw an error
-
69 if(vector->currentSize == ~((uint32_t)0)){
- -
71 ARC_DEBUG_LOG_ERROR("ARC_Vector_Add(vector, data), vector at max capacity tried adding another value");
-
72 return;
-
73 }
-
74
-
75 //check if we are at the max of the current capacity
-
76 if(vector->currentSize == vector->currentCapacity){
-
77 //increase the current capacity by double
-
78 vector->currentCapacity <<= 1;
-
79
-
80 //if for some reason the capacity is 0, we should set it to one so we do not error on realloc
-
81 if(vector->currentCapacity != 0){
-
82 vector->currentCapacity++;
-
83 }
-
84
-
85 //resize the vectors array and copy the contents at the same time
-
86 vector->data = (void **)realloc(vector->data, sizeof(void *) * vector->currentCapacity);
-
87 }
-
88
-
89 //add to the vectors array and increase its current size
-
90 vector->data[vector->currentSize] = data;
-
91 vector->currentSize++;
-
92}
-
int32_t arc_errno
Definition errno.c:5
-
#define ARC_ERRNO_OVERFLOW
Definition errno.h:10
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
void ** data
Definition vector.c:13
-
uint32_t currentCapacity
Definition vector.c:10
-
uint32_t currentSize
Definition vector.c:11
-
-

References ARC_DEBUG_LOG_ERROR, arc_errno, ARC_ERRNO_OVERFLOW, ARC_Vector::currentCapacity, ARC_Vector::currentSize, and ARC_Vector::data.

- -

Referenced by ARC_Handler_Add(), ARC_Handler_Remove(), ARC_Handler_RemoveIndex(), ARC_Lexer_LexString(), ARC_Lexer_RegisterTokenRule(), ARC_Parser_ParseTag(), ARC_ParserCSVData_CreateFn(), ARC_ParserCSVData_GetDataTag(), ARC_ParserCSVData_RunLineTag(), ARC_ParserLangParsedData_CreateBodyTag(), ARC_ParserLangParsedData_GetArgumentsTag(), ARC_ParserLangParsedData_GetArgumentTag(), and ARC_ParserLangParsedData_RunLineTag().

- -
-
- -

◆ ARC_Vector_Clear()

- -
-
- - - - - - - -
void ARC_Vector_Clear (ARC_Vector * vector)
-
- -

clears all items from a vector

-
Note
this function will call ARC_Vector_RemoveIndex, so it's notes are also applicable to this function
-
Parameters
- - -
[in]vectorARC_Vector to clear
-
-
- -

Definition at line 139 of file vector.c.

-
139 {
-
140 //remove each item in the vector untill the vector is empty
-
141 while(ARC_Vector_GetSize(vector) != 0){
-
142 ARC_Vector_RemoveIndex(vector, 0);
-
143 }
-
144}
-
uint32_t ARC_Vector_GetSize(ARC_Vector *vector)
gets the current size of an ARC_Vector as an unsigned 32 bit integer
Definition vector.c:146
-
void ARC_Vector_RemoveIndex(ARC_Vector *vector, uint32_t index)
removes an item from an ARC_Vector at an index
Definition vector.c:107
-
-

References ARC_Vector_GetSize(), and ARC_Vector_RemoveIndex().

- -

Referenced by ARC_Lexer_Clear(), ARC_Parser_ParseTag(), and ARC_Vector_Destroy().

- -
-
- -

◆ ARC_Vector_CompareDataDefaultFn()

- -
-
- - - - - - - - - - - -
ARC_Bool ARC_Vector_CompareDataDefaultFn (void * dataA,
void * dataB )
-
- -

Definition at line 20 of file vector.c.

-
20 {
-
21 if(dataA == dataB){
-
22 return ARC_True;
-
23 }
-
24
-
25 return ARC_False;
-
26}
-
#define ARC_False
Definition bool.h:12
-
#define ARC_True
Definition bool.h:11
-
-

References ARC_False, and ARC_True.

- -

Referenced by ARC_Vector_Create().

- -
-
- -

◆ ARC_Vector_Create()

- -
-
- - - - - - - - - - - - - - - - -
void ARC_Vector_Create (ARC_Vector ** vector,
ARC_Vector_CompareDataFn * compareDataFn,
ARC_Vector_DestroyDataFn * destroyDataFn )
-
- -

creates an ARC_Vector which is an "expandable" array

-
Note
for this basic implementation, the array will double in size every time the capacity is hit
-
-the array will also half in size when the array is only half filled
-
Parameters
- - - - -
[out]vectorARC_Vector to initialize
[in]compareDataFna callback that checks if data stored in the array matches, if set to NULL and ARC_Vector_Remove is called, the pointer addresses will be compared
[in]destroyDataFna callback that frees an item on remove or clear, can be set to NULL to do nothing
-
-
- -

Definition at line 28 of file vector.c.

-
28 {
-
29 //create the vector
-
30 *vector = (ARC_Vector *)malloc(sizeof(ARC_Vector));
-
31
-
32 //initialize all the values stored in the vector
-
33 (*vector)->data = (void **)malloc(sizeof(void *));
-
34 (*vector)->currentCapacity = 1;
-
35 (*vector)->currentSize = 0;
-
36
-
37 //set a default for compareDataFn, then override it if it is passed in through parameters
-
38 (*vector)->compareDataFn = ARC_Vector_CompareDataDefaultFn;
-
39 if(compareDataFn != NULL){
-
40 (*vector)->compareDataFn = *compareDataFn;
-
41 }
-
42
-
43 //set NULL as a default for deleteDataFn, then copy the delete data function callback if it exists
-
44 (*vector)->destroyDataFn = NULL;
-
45 if(destroyDataFn != NULL){
-
46 (*vector)->destroyDataFn = (ARC_Vector_DestroyDataFn *)malloc(sizeof(ARC_Vector_DestroyDataFn));
-
47 *((*vector)->destroyDataFn) = *destroyDataFn;
-
48 }
-
49}
- -
ARC_Bool ARC_Vector_CompareDataDefaultFn(void *dataA, void *dataB)
Definition vector.c:20
-
void(* ARC_Vector_DestroyDataFn)(void *data)
a callback that cleans up memory when it is removed from the vector
Definition vector.h:31
-
-

References ARC_Vector_CompareDataDefaultFn(), and ARC_Vector::data.

- -

Referenced by ARC_Handler_Create(), ARC_Lexer_Create(), ARC_Parser_ParseTag(), ARC_ParserCSVData_CreateFn(), ARC_ParserCSVData_RunLineTag(), ARC_ParserLang_CreateDataFn(), ARC_ParserLangParsedData_CreateBodyTag(), and ARC_ParserLangParsedData_GetArgumentsTag().

- -
-
- -

◆ ARC_Vector_Destroy()

- -
-
- - - - - - - -
void ARC_Vector_Destroy (ARC_Vector * vector)
-
- -

destroys an ARC_Vector

-
Note
this will not free the items stored in the vector
-
-please make sure to clear and free the children before destroying an ARC_Vector
-
Parameters
- - -
[in]vectorARC_Vector to free
-
-
- -

Definition at line 51 of file vector.c.

-
51 {
-
52 //remove all the contents before destroying the vector
-
53 ARC_Vector_Clear(vector);
-
54
-
55 //free the delete data function if it exists
-
56 if(vector->destroyDataFn){
-
57 free(vector->destroyDataFn);
-
58 }
-
59
-
60 //free everything stored in the vector
-
61 free(vector->data);
-
62
-
63 //free the vector
-
64 free(vector);
-
65}
-
ARC_Vector_DestroyDataFn * destroyDataFn
Definition vector.c:16
-
void ARC_Vector_Clear(ARC_Vector *vector)
clears all items from a vector
Definition vector.c:139
-
-

References ARC_Vector_Clear(), ARC_Vector::data, and ARC_Vector::destroyDataFn.

- -

Referenced by ARC_Handler_Destroy(), ARC_Lexer_Destroy(), ARC_Parser_ParseTag(), ARC_ParserCSVData_CreateFn(), ARC_ParserCSVData_VectorDestroyVectorFn(), ARC_ParserLang_DestroyDataFn(), ARC_ParserLang_VectorDestroyVectorFn(), ARC_ParserLangParsedData_CreateBodyTag(), and ARC_ParserTagToken_Destroy().

- -
-
- -

◆ ARC_Vector_Get()

- -
-
- - - - - - - - - - - -
void * ARC_Vector_Get (ARC_Vector * vector,
uint32_t index )
-
- -

gets an item from an ARC_Vector at a position index

-
Note
this function will error if trying to get an index that is outside the bounds of the ARC_Vector
-
Parameters
- - - -
[in]vectorARC_Vector to get data from
[in]indexposition of data to get
-
-
-
Returns
a void * item, or NULL on error
- -

Definition at line 150 of file vector.c.

-
150 {
-
151 //check to make sure the given index is in bounds of the vector
-
152 if(index >= vector->currentSize){
- -
154 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_Vector_Get(vector, %u), null value as the index was out of bounds", index);
-
155 return NULL;
-
156 }
-
157
-
158 return vector->data[index];
-
159}
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_ERRNO_DATA
Definition errno.h:7
-
-

References ARC_DEBUG_LOG_ERROR_WITH_VARIABLES, arc_errno, ARC_ERRNO_DATA, ARC_Vector::currentSize, and ARC_Vector::data.

- -

Referenced by ARC_Handler_Clean(), ARC_Handler_Iterate(), ARC_Handler_RemoveIndex(), ARC_Lexer_GetToken(), ARC_Lexer_IsTokenId(), ARC_Lexer_LexString(), ARC_Lexer_PrintTokenRules(), ARC_Lexer_RegisterTokenRule(), ARC_Parser_CreateFromVector(), ARC_ParserCSVData_CreateFn(), ARC_ParserCSVData_GetDataTag(), ARC_ParserCSVData_RunLineTag(), ARC_ParserData_HelperRecurseStringAdd(), ARC_ParserLangParsedData_CreateBodyTag(), ARC_ParserLangParsedData_CreateTagString(), ARC_ParserLangParsedData_GetArgumentsTag(), ARC_ParserLangParsedData_GetArgumentTag(), ARC_ParserLangParsedData_RecurseStringAdd(), and ARC_ParserLangParsedData_RunLineTag().

- -
-
- -

◆ ARC_Vector_GetSize()

- - - -

◆ ARC_Vector_Remove()

- -
-
- - - - - - - - - - - -
void ARC_Vector_Remove (ARC_Vector * vector,
void * data )
-
- -

removes an item from a matching item in an ARC_Vector

-
Note
this function uses the ARC_Vector_CompareDataFn that the ARC_Vector was created with
-
-this function will not throw an error if there is no match
-
-this function will call ARC_Vector_RemoveIndex, so it's notes are also applicable to this function
-
Parameters
- - - -
[in]vectorARC_Vector to remove from
[in]datamatching data to remove
-
-
- -

Definition at line 94 of file vector.c.

-
94 {
-
95 //iterate through every item to check to see if it exists
-
96 for(uint32_t index = 0; index < vector->currentSize; index++){
-
97 //keep the code cleaner by pulling the current index data into a temp variable
-
98 void *dataB = vector->data[index];
-
99
-
100 //check if the data matches, and if so remove by index
-
101 if(vector->compareDataFn(data, dataB) == ARC_True){
-
102 ARC_Vector_RemoveIndex(vector, index);
-
103 }
-
104 }
-
105}
-
ARC_Vector_CompareDataFn compareDataFn
Definition vector.c:15
-
-

References ARC_True, ARC_Vector_RemoveIndex(), ARC_Vector::compareDataFn, ARC_Vector::currentSize, and ARC_Vector::data.

- -

Referenced by ARC_Handler_Remove().

- -
-
- -

◆ ARC_Vector_RemoveIndex()

- -
-
- - - - - - - - - - - -
void ARC_Vector_RemoveIndex (ARC_Vector * vector,
uint32_t index )
-
- -

removes an item from an ARC_Vector at an index

-
Note
this function will error if trying to remove an index that is outside the bounds of the ARC_Vector
-
-this function will use ARC_Vector_DeleteDataFn if it was set in the ARC_Vector_Create function
-
Parameters
- - - -
[in]vectorARC_Vector to remove from
[in]indexposition of data to remove
-
-
- -

Definition at line 107 of file vector.c.

-
107 {
-
108 //check to make sure the given index is in bounds of the vector
-
109 if(index >= vector->currentSize){
- -
111 ARC_DEBUG_LOG_ERROR("ARC_Vector_Add(vector, data), vector at max capacity tried adding another value");
-
112 return;
-
113 }
-
114
-
115 //call delete data to clean up item if delete data function exists
-
116 if(vector->destroyDataFn != NULL){
-
117 (*(vector->destroyDataFn))(vector->data[index]);
-
118 }
-
119
-
120 //we will be using index to iterate as we will not use it again, so we can skip the first part of the for loop
-
121 for(; index + 1 < vector->currentSize; index++){
-
122 //override the data from index to the end by shifting it back one
-
123 vector->data[index] = vector->data[index + 1];
-
124 }
-
125
-
126 //we have removed the item so we can decrease the current size
-
127 vector->currentSize--;
-
128
-
129 //if the current size is half the current capacity or the current capacity is at the smallest limit, we do not need to do anything else
-
130 if(vector->currentSize != vector->currentCapacity >> 1 || vector->currentCapacity == 1){
-
131 return;
-
132 }
-
133
-
134 //half the capacity and copy it into a smaller array
-
135 vector->currentCapacity >>= 1;
-
136 vector->data = (void **)realloc(vector->data, sizeof(void *) * vector->currentCapacity);
-
137}
-
-

References ARC_DEBUG_LOG_ERROR, arc_errno, ARC_ERRNO_DATA, ARC_Vector::currentCapacity, ARC_Vector::currentSize, ARC_Vector::data, and ARC_Vector::destroyDataFn.

- -

Referenced by ARC_Handler_Clean(), ARC_Handler_RemoveIndex(), ARC_Vector_Clear(), and ARC_Vector_Remove().

- -
-
-
- - -
- - diff --git a/doc/doxygen/html/df/dfa/vector_8c_source.html b/doc/doxygen/html/df/dfa/vector_8c_source.html deleted file mode 100644 index 061057b..0000000 --- a/doc/doxygen/html/df/dfa/vector_8c_source.html +++ /dev/null @@ -1,309 +0,0 @@ - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/vector.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
-
vector.c
-
-
-Go to the documentation of this file.
1
-
2#include "arc/std/vector.h"
-
3
-
4#include "arc/std/bool.h"
-
5#include "arc/std/errno.h"
-
6#include <stdint.h>
-
7#include <stdlib.h>
-
8
- -
18
-
19//this is a private function used as the default check for removing data from a given pointer
-
-
20ARC_Bool ARC_Vector_CompareDataDefaultFn(void *dataA, void *dataB){
-
21 if(dataA == dataB){
-
22 return ARC_True;
-
23 }
-
24
-
25 return ARC_False;
-
26}
-
-
27
-
- -
29 //create the vector
-
30 *vector = (ARC_Vector *)malloc(sizeof(ARC_Vector));
-
31
-
32 //initialize all the values stored in the vector
-
33 (*vector)->data = (void **)malloc(sizeof(void *));
-
34 (*vector)->currentCapacity = 1;
-
35 (*vector)->currentSize = 0;
-
36
-
37 //set a default for compareDataFn, then override it if it is passed in through parameters
-
38 (*vector)->compareDataFn = ARC_Vector_CompareDataDefaultFn;
-
39 if(compareDataFn != NULL){
-
40 (*vector)->compareDataFn = *compareDataFn;
-
41 }
-
42
-
43 //set NULL as a default for deleteDataFn, then copy the delete data function callback if it exists
-
44 (*vector)->destroyDataFn = NULL;
-
45 if(destroyDataFn != NULL){
-
46 (*vector)->destroyDataFn = (ARC_Vector_DestroyDataFn *)malloc(sizeof(ARC_Vector_DestroyDataFn));
-
47 *((*vector)->destroyDataFn) = *destroyDataFn;
-
48 }
-
49}
-
-
50
-
- -
52 //remove all the contents before destroying the vector
-
53 ARC_Vector_Clear(vector);
-
54
-
55 //free the delete data function if it exists
-
56 if(vector->destroyDataFn){
-
57 free(vector->destroyDataFn);
-
58 }
-
59
-
60 //free everything stored in the vector
-
61 free(vector->data);
-
62
-
63 //free the vector
-
64 free(vector);
-
65}
-
-
66
-
-
67void ARC_Vector_Add(ARC_Vector *vector, void *data){
-
68 //check to see if the current size is the same as a max uint32_t and if so it will overflow so throw an error
-
69 if(vector->currentSize == ~((uint32_t)0)){
- -
71 ARC_DEBUG_LOG_ERROR("ARC_Vector_Add(vector, data), vector at max capacity tried adding another value");
-
72 return;
-
73 }
-
74
-
75 //check if we are at the max of the current capacity
-
76 if(vector->currentSize == vector->currentCapacity){
-
77 //increase the current capacity by double
-
78 vector->currentCapacity <<= 1;
-
79
-
80 //if for some reason the capacity is 0, we should set it to one so we do not error on realloc
-
81 if(vector->currentCapacity != 0){
-
82 vector->currentCapacity++;
-
83 }
-
84
-
85 //resize the vectors array and copy the contents at the same time
-
86 vector->data = (void **)realloc(vector->data, sizeof(void *) * vector->currentCapacity);
-
87 }
-
88
-
89 //add to the vectors array and increase its current size
-
90 vector->data[vector->currentSize] = data;
-
91 vector->currentSize++;
-
92}
-
-
93
-
-
94void ARC_Vector_Remove(ARC_Vector *vector, void *data){
-
95 //iterate through every item to check to see if it exists
-
96 for(uint32_t index = 0; index < vector->currentSize; index++){
-
97 //keep the code cleaner by pulling the current index data into a temp variable
-
98 void *dataB = vector->data[index];
-
99
-
100 //check if the data matches, and if so remove by index
-
101 if(vector->compareDataFn(data, dataB) == ARC_True){
-
102 ARC_Vector_RemoveIndex(vector, index);
-
103 }
-
104 }
-
105}
-
-
106
-
-
107void ARC_Vector_RemoveIndex(ARC_Vector *vector, uint32_t index){
-
108 //check to make sure the given index is in bounds of the vector
-
109 if(index >= vector->currentSize){
- -
111 ARC_DEBUG_LOG_ERROR("ARC_Vector_Add(vector, data), vector at max capacity tried adding another value");
-
112 return;
-
113 }
-
114
-
115 //call delete data to clean up item if delete data function exists
-
116 if(vector->destroyDataFn != NULL){
-
117 (*(vector->destroyDataFn))(vector->data[index]);
-
118 }
-
119
-
120 //we will be using index to iterate as we will not use it again, so we can skip the first part of the for loop
-
121 for(; index + 1 < vector->currentSize; index++){
-
122 //override the data from index to the end by shifting it back one
-
123 vector->data[index] = vector->data[index + 1];
-
124 }
-
125
-
126 //we have removed the item so we can decrease the current size
-
127 vector->currentSize--;
-
128
-
129 //if the current size is half the current capacity or the current capacity is at the smallest limit, we do not need to do anything else
-
130 if(vector->currentSize != vector->currentCapacity >> 1 || vector->currentCapacity == 1){
-
131 return;
-
132 }
-
133
-
134 //half the capacity and copy it into a smaller array
-
135 vector->currentCapacity >>= 1;
-
136 vector->data = (void **)realloc(vector->data, sizeof(void *) * vector->currentCapacity);
-
137}
-
-
138
-
- -
140 //remove each item in the vector untill the vector is empty
-
141 while(ARC_Vector_GetSize(vector) != 0){
-
142 ARC_Vector_RemoveIndex(vector, 0);
-
143 }
-
144}
-
-
145
-
- -
147 return vector->currentSize;
-
148}
-
-
149
-
-
150void *ARC_Vector_Get(ARC_Vector *vector, uint32_t index){
-
151 //check to make sure the given index is in bounds of the vector
-
152 if(index >= vector->currentSize){
- -
154 ARC_DEBUG_LOG_ERROR_WITH_VARIABLES("ARC_Vector_Get(vector, %u), null value as the index was out of bounds", index);
-
155 return NULL;
-
156 }
-
157
-
158 return vector->data[index];
-
159}
-
- -
#define ARC_False
Definition bool.h:12
-
#define ARC_True
Definition bool.h:11
-
#define ARC_Bool
Definition bool.h:10
- -
int32_t arc_errno
Definition errno.c:5
-
#define ARC_DEBUG_LOG_ERROR_WITH_VARIABLES(STR,...)
Definition errno.h:40
-
#define ARC_ERRNO_OVERFLOW
Definition errno.h:10
-
#define ARC_DEBUG_LOG_ERROR(STR)
Definition errno.h:39
-
#define ARC_ERRNO_DATA
Definition errno.h:7
- -
void ** data
Definition vector.c:13
-
ARC_Vector_DestroyDataFn * destroyDataFn
Definition vector.c:16
-
uint32_t currentCapacity
Definition vector.c:10
-
ARC_Vector_CompareDataFn compareDataFn
Definition vector.c:15
-
uint32_t currentSize
Definition vector.c:11
-
uint32_t ARC_Vector_GetSize(ARC_Vector *vector)
gets the current size of an ARC_Vector as an unsigned 32 bit integer
Definition vector.c:146
-
void * ARC_Vector_Get(ARC_Vector *vector, uint32_t index)
gets an item from an ARC_Vector at a position index
Definition vector.c:150
-
void ARC_Vector_Add(ARC_Vector *vector, void *data)
adds an item to an ARC_Vector
Definition vector.c:67
-
void ARC_Vector_Remove(ARC_Vector *vector, void *data)
removes an item from a matching item in an ARC_Vector
Definition vector.c:94
-
void ARC_Vector_Destroy(ARC_Vector *vector)
destroys an ARC_Vector
Definition vector.c:51
-
void ARC_Vector_RemoveIndex(ARC_Vector *vector, uint32_t index)
removes an item from an ARC_Vector at an index
Definition vector.c:107
-
void ARC_Vector_Clear(ARC_Vector *vector)
clears all items from a vector
Definition vector.c:139
-
void ARC_Vector_Create(ARC_Vector **vector, ARC_Vector_CompareDataFn *compareDataFn, ARC_Vector_DestroyDataFn *destroyDataFn)
creates an ARC_Vector which is an "expandable" array
Definition vector.c:28
-
ARC_Bool ARC_Vector_CompareDataDefaultFn(void *dataA, void *dataB)
Definition vector.c:20
- -
void(* ARC_Vector_DestroyDataFn)(void *data)
a callback that cleans up memory when it is removed from the vector
Definition vector.h:31
-
ARC_Bool(* ARC_Vector_CompareDataFn)(void *dataA, void *dataB)
a callback that allows the user to define a way to check the data stored in a vector for a match
Definition vector.h:24
-
- - -
- - diff --git a/doc/doxygen/html/dir_00ee88e1b425f7ddaec4195e254db132.html b/doc/doxygen/html/dir_00ee88e1b425f7ddaec4195e254db132.html deleted file mode 100644 index a8debfc..0000000 --- a/doc/doxygen/html/dir_00ee88e1b425f7ddaec4195e254db132.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
std Directory Reference
-
-
- - - - - - -

-Directories

 defaults
 
 parser
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Files

 chemical.c.o.d
 
 config.c.o.d
 
 errno.c.o.d
 
 handler.c.o.d
 
 hashtable.c.o.d
 
 io.c.o.d
 
 lexer.c.o.d
 
 parser.c.o.d
 
 queue.c.o.d
 
 stack.c.o.d
 
 string.c.o.d
 
 time.c.o.d
 
 vector.c.o.d
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_00ee88e1b425f7ddaec4195e254db132.js b/doc/doxygen/html/dir_00ee88e1b425f7ddaec4195e254db132.js deleted file mode 100644 index b653ed6..0000000 --- a/doc/doxygen/html/dir_00ee88e1b425f7ddaec4195e254db132.js +++ /dev/null @@ -1,18 +0,0 @@ -var dir_00ee88e1b425f7ddaec4195e254db132 = -[ - [ "defaults", "dir_b9e3eff3b82e60db2871e444fb0ec7a9.html", "dir_b9e3eff3b82e60db2871e444fb0ec7a9" ], - [ "parser", "dir_18cfdf016ecefe87e5869aa9b18a6108.html", "dir_18cfdf016ecefe87e5869aa9b18a6108" ], - [ "chemical.c.o.d", "df/dd9/tests_8dir_2src_2std_2chemical_8c_8o_8d.html", null ], - [ "config.c.o.d", "dc/d76/tests_8dir_2src_2std_2config_8c_8o_8d.html", null ], - [ "errno.c.o.d", "d5/d7e/tests_8dir_2src_2std_2errno_8c_8o_8d.html", null ], - [ "handler.c.o.d", "de/df6/tests_8dir_2src_2std_2handler_8c_8o_8d.html", null ], - [ "hashtable.c.o.d", "d1/dfc/tests_8dir_2src_2std_2hashtable_8c_8o_8d.html", null ], - [ "io.c.o.d", "d1/d27/tests_8dir_2src_2std_2io_8c_8o_8d.html", null ], - [ "lexer.c.o.d", "df/d37/tests_8dir_2src_2std_2lexer_8c_8o_8d.html", null ], - [ "parser.c.o.d", "da/d36/tests_8dir_2src_2std_2parser_8c_8o_8d.html", null ], - [ "queue.c.o.d", "dd/db8/tests_8dir_2src_2std_2queue_8c_8o_8d.html", null ], - [ "stack.c.o.d", "d9/d43/tests_8dir_2src_2std_2stack_8c_8o_8d.html", null ], - [ "string.c.o.d", "d8/ded/tests_8dir_2src_2std_2string_8c_8o_8d.html", null ], - [ "time.c.o.d", "d3/d42/tests_8dir_2src_2std_2time_8c_8o_8d.html", null ], - [ "vector.c.o.d", "d5/da3/tests_8dir_2src_2std_2vector_8c_8o_8d.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_04f2ecc425faf0d475a3caf484e551f3.html b/doc/doxygen/html/dir_04f2ecc425faf0d475a3caf484e551f3.html deleted file mode 100644 index 595770a..0000000 --- a/doc/doxygen/html/dir_04f2ecc425faf0d475a3caf484e551f3.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: doxygen Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
doxygen Directory Reference
-
-
- - - - -

-Directories

 doxygen-awesome-css
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_04f2ecc425faf0d475a3caf484e551f3.js b/doc/doxygen/html/dir_04f2ecc425faf0d475a3caf484e551f3.js deleted file mode 100644 index 021600d..0000000 --- a/doc/doxygen/html/dir_04f2ecc425faf0d475a3caf484e551f3.js +++ /dev/null @@ -1,4 +0,0 @@ -var dir_04f2ecc425faf0d475a3caf484e551f3 = -[ - [ "doxygen-awesome-css", "dir_73fe40c7155b0dc0a07bd2c7c6ddd134.html", "dir_73fe40c7155b0dc0a07bd2c7c6ddd134" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_054ad823f0debba630ab5fbbf1e7a6c9.html b/doc/doxygen/html/dir_054ad823f0debba630ab5fbbf1e7a6c9.html deleted file mode 100644 index abf56c0..0000000 --- a/doc/doxygen/html/dir_054ad823f0debba630ab5fbbf1e7a6c9.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/input/none Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
none Directory Reference
-
-
- - - - - - -

-Files

 keyboard.h
 
 mouse.h
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_054ad823f0debba630ab5fbbf1e7a6c9.js b/doc/doxygen/html/dir_054ad823f0debba630ab5fbbf1e7a6c9.js deleted file mode 100644 index a68cc06..0000000 --- a/doc/doxygen/html/dir_054ad823f0debba630ab5fbbf1e7a6c9.js +++ /dev/null @@ -1,5 +0,0 @@ -var dir_054ad823f0debba630ab5fbbf1e7a6c9 = -[ - [ "keyboard.h", "d6/dad/none_2keyboard_8h.html", null ], - [ "mouse.h", "d3/dcc/none_2mouse_8h.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_0cc0f854d85af330638b97943ef1598a.html b/doc/doxygen/html/dir_0cc0f854d85af330638b97943ef1598a.html deleted file mode 100644 index dbc211e..0000000 --- a/doc/doxygen/html/dir_0cc0f854d85af330638b97943ef1598a.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/3.31.2 Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
3.31.2 Directory Reference
-
-
- - - - -

-Directories

 CompilerIdC
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_0cc0f854d85af330638b97943ef1598a.js b/doc/doxygen/html/dir_0cc0f854d85af330638b97943ef1598a.js deleted file mode 100644 index 60ead49..0000000 --- a/doc/doxygen/html/dir_0cc0f854d85af330638b97943ef1598a.js +++ /dev/null @@ -1,4 +0,0 @@ -var dir_0cc0f854d85af330638b97943ef1598a = -[ - [ "CompilerIdC", "dir_9c33770e936321ba34955e10f41fa668.html", "dir_9c33770e936321ba34955e10f41fa668" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_0cddbdba956d28cc5c2a9c72cbf1dc5d.html b/doc/doxygen/html/dir_0cddbdba956d28cc5c2a9c72cbf1dc5d.html deleted file mode 100644 index 5e9f100..0000000 --- a/doc/doxygen/html/dir_0cddbdba956d28cc5c2a9c72cbf1dc5d.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/parser Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
parser Directory Reference
-
-
- - - - - - - - -

-Files

 csv.c
 
 helpers.c
 
 parserlang.c
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_0cddbdba956d28cc5c2a9c72cbf1dc5d.js b/doc/doxygen/html/dir_0cddbdba956d28cc5c2a9c72cbf1dc5d.js deleted file mode 100644 index b5ec100..0000000 --- a/doc/doxygen/html/dir_0cddbdba956d28cc5c2a9c72cbf1dc5d.js +++ /dev/null @@ -1,6 +0,0 @@ -var dir_0cddbdba956d28cc5c2a9c72cbf1dc5d = -[ - [ "csv.c", "d1/d8e/src_2std_2parser_2csv_8c.html", "d1/d8e/src_2std_2parser_2csv_8c" ], - [ "helpers.c", "d1/d02/helpers_8c.html", "d1/d02/helpers_8c" ], - [ "parserlang.c", "d5/da8/src_2std_2parser_2parserlang_8c.html", "d5/da8/src_2std_2parser_2parserlang_8c" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_0dcf4f7c6544b1354195e075c2917c00.html b/doc/doxygen/html/dir_0dcf4f7c6544b1354195e075c2917c00.html deleted file mode 100644 index c6800bc..0000000 --- a/doc/doxygen/html/dir_0dcf4f7c6544b1354195e075c2917c00.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std/defaults Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
defaults Directory Reference
-
-
- - - - -

-Files

 config.c
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_0dcf4f7c6544b1354195e075c2917c00.js b/doc/doxygen/html/dir_0dcf4f7c6544b1354195e075c2917c00.js deleted file mode 100644 index fc54e04..0000000 --- a/doc/doxygen/html/dir_0dcf4f7c6544b1354195e075c2917c00.js +++ /dev/null @@ -1,4 +0,0 @@ -var dir_0dcf4f7c6544b1354195e075c2917c00 = -[ - [ "config.c", "de/d6b/src_2std_2defaults_2config_8c.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_0e5878cd227b5e28a0db2e00cb2d57e6.html b/doc/doxygen/html/dir_0e5878cd227b5e28a0db2e00cb2d57e6.html deleted file mode 100644 index b78279d..0000000 --- a/doc/doxygen/html/dir_0e5878cd227b5e28a0db2e00cb2d57e6.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/defaults Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
defaults Directory Reference
-
-
- - - - -

-Files

 config.c.o.d
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_0e5878cd227b5e28a0db2e00cb2d57e6.js b/doc/doxygen/html/dir_0e5878cd227b5e28a0db2e00cb2d57e6.js deleted file mode 100644 index 3b5df77..0000000 --- a/doc/doxygen/html/dir_0e5878cd227b5e28a0db2e00cb2d57e6.js +++ /dev/null @@ -1,4 +0,0 @@ -var dir_0e5878cd227b5e28a0db2e00cb2d57e6 = -[ - [ "config.c.o.d", "df/d41/archeus__std_8dir_2src_2std_2defaults_2config_8c_8o_8d.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_163314b79eb3671f49919bcd27dd2527.html b/doc/doxygen/html/dir_163314b79eb3671f49919bcd27dd2527.html deleted file mode 100644 index ce35b30..0000000 --- a/doc/doxygen/html/dir_163314b79eb3671f49919bcd27dd2527.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - -Archeus: doxygen/doxygen-awesome-css/docs Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
docs Directory Reference
-
-
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_169ca87d8ac185e5b51c45f4a68386c0.html b/doc/doxygen/html/dir_169ca87d8ac185e5b51c45f4a68386c0.html deleted file mode 100644 index c146901..0000000 --- a/doc/doxygen/html/dir_169ca87d8ac185e5b51c45f4a68386c0.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
graphics Directory Reference
-
-
- - - - -

-Directories

 none
 
- - - - - - - - - - - - - - - - - - - - - - - - - -

-Files

 circle.h
 
 color.h
 
 config.h
 
 line.h
 
 obround.h
 
 rectangle.h
 
 renderer.h
 
 sprite.h
 
 spritesheet.h
 
 text.h
 
 view.h
 
 window.h
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_169ca87d8ac185e5b51c45f4a68386c0.js b/doc/doxygen/html/dir_169ca87d8ac185e5b51c45f4a68386c0.js deleted file mode 100644 index 89d70fc..0000000 --- a/doc/doxygen/html/dir_169ca87d8ac185e5b51c45f4a68386c0.js +++ /dev/null @@ -1,16 +0,0 @@ -var dir_169ca87d8ac185e5b51c45f4a68386c0 = -[ - [ "none", "dir_602b14a08b68f813a0b382d0af9a55c0.html", "dir_602b14a08b68f813a0b382d0af9a55c0" ], - [ "circle.h", "d8/d79/graphics_2circle_8h.html", "d8/d79/graphics_2circle_8h" ], - [ "color.h", "da/dec/color_8h.html", "da/dec/color_8h" ], - [ "config.h", "d9/d9f/graphics_2config_8h.html", "d9/d9f/graphics_2config_8h" ], - [ "line.h", "d7/d5d/line_8h.html", "d7/d5d/line_8h" ], - [ "obround.h", "d2/dba/graphics_2obround_8h.html", "d2/dba/graphics_2obround_8h" ], - [ "rectangle.h", "d7/d09/graphics_2rectangle_8h.html", "d7/d09/graphics_2rectangle_8h" ], - [ "renderer.h", "d6/d85/renderer_8h.html", "d6/d85/renderer_8h" ], - [ "sprite.h", "db/d08/sprite_8h.html", "db/d08/sprite_8h" ], - [ "spritesheet.h", "d9/d53/spritesheet_8h.html", "d9/d53/spritesheet_8h" ], - [ "text.h", "d9/dcc/text_8h.html", "d9/dcc/text_8h" ], - [ "view.h", "d5/de5/graphics_2view_8h.html", "d5/de5/graphics_2view_8h" ], - [ "window.h", "d3/df1/window_8h.html", "d3/df1/window_8h" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_18cfdf016ecefe87e5869aa9b18a6108.html b/doc/doxygen/html/dir_18cfdf016ecefe87e5869aa9b18a6108.html deleted file mode 100644 index 9a9a7b1..0000000 --- a/doc/doxygen/html/dir_18cfdf016ecefe87e5869aa9b18a6108.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/parser Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
parser Directory Reference
-
-
- - - - - - - - -

-Files

 csv.c.o.d
 
 helpers.c.o.d
 
 parserlang.c.o.d
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_18cfdf016ecefe87e5869aa9b18a6108.js b/doc/doxygen/html/dir_18cfdf016ecefe87e5869aa9b18a6108.js deleted file mode 100644 index 87feb89..0000000 --- a/doc/doxygen/html/dir_18cfdf016ecefe87e5869aa9b18a6108.js +++ /dev/null @@ -1,6 +0,0 @@ -var dir_18cfdf016ecefe87e5869aa9b18a6108 = -[ - [ "csv.c.o.d", "d1/d7b/tests_8dir_2src_2std_2parser_2csv_8c_8o_8d.html", null ], - [ "helpers.c.o.d", "d3/dcd/tests_8dir_2src_2std_2parser_2helpers_8c_8o_8d.html", null ], - [ "parserlang.c.o.d", "d6/d96/tests_8dir_2src_2std_2parser_2parserlang_8c_8o_8d.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_1aa57a5c72ad553cca2096ac851c7fe9.html b/doc/doxygen/html/dir_1aa57a5c72ad553cca2096ac851c7fe9.html deleted file mode 100644 index 99e0f0f..0000000 --- a/doc/doxygen/html/dir_1aa57a5c72ad553cca2096ac851c7fe9.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/3.31.1 Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
3.31.1 Directory Reference
-
-
- - - - -

-Directories

 CompilerIdC
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_1aa57a5c72ad553cca2096ac851c7fe9.js b/doc/doxygen/html/dir_1aa57a5c72ad553cca2096ac851c7fe9.js deleted file mode 100644 index 107a7a2..0000000 --- a/doc/doxygen/html/dir_1aa57a5c72ad553cca2096ac851c7fe9.js +++ /dev/null @@ -1,4 +0,0 @@ -var dir_1aa57a5c72ad553cca2096ac851c7fe9 = -[ - [ "CompilerIdC", "dir_1e9b1c2bca8c85fcac6951a589476a54.html", "dir_1e9b1c2bca8c85fcac6951a589476a54" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_1e9b1c2bca8c85fcac6951a589476a54.html b/doc/doxygen/html/dir_1e9b1c2bca8c85fcac6951a589476a54.html deleted file mode 100644 index 4a46a49..0000000 --- a/doc/doxygen/html/dir_1e9b1c2bca8c85fcac6951a589476a54.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/3.31.1/CompilerIdC Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
CompilerIdC Directory Reference
-
-
- - - - -

-Files

 CMakeCCompilerId.c
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_1e9b1c2bca8c85fcac6951a589476a54.js b/doc/doxygen/html/dir_1e9b1c2bca8c85fcac6951a589476a54.js deleted file mode 100644 index 63b2276..0000000 --- a/doc/doxygen/html/dir_1e9b1c2bca8c85fcac6951a589476a54.js +++ /dev/null @@ -1,4 +0,0 @@ -var dir_1e9b1c2bca8c85fcac6951a589476a54 = -[ - [ "CMakeCCompilerId.c", "d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html", "d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_2052808828190f934b76e979ee65af8a.html b/doc/doxygen/html/dir_2052808828190f934b76e979ee65af8a.html deleted file mode 100644 index 2af65ac..0000000 --- a/doc/doxygen/html/dir_2052808828190f934b76e979ee65af8a.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/engine Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
engine Directory Reference
-
-
- - - - - - - - -

-Files

 ecs.c
 
 engine.c
 
 state.c
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_2052808828190f934b76e979ee65af8a.js b/doc/doxygen/html/dir_2052808828190f934b76e979ee65af8a.js deleted file mode 100644 index 00efa71..0000000 --- a/doc/doxygen/html/dir_2052808828190f934b76e979ee65af8a.js +++ /dev/null @@ -1,6 +0,0 @@ -var dir_2052808828190f934b76e979ee65af8a = -[ - [ "ecs.c", "df/d15/ecs_8c.html", "df/d15/ecs_8c" ], - [ "engine.c", "dd/d56/engine_8c.html", "dd/d56/engine_8c" ], - [ "state.c", "d0/dc9/state_8c.html", "d0/dc9/state_8c" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_274e923eff7918b2388b6f9ebd3ed990.html b/doc/doxygen/html/dir_274e923eff7918b2388b6f9ebd3ed990.html deleted file mode 100644 index 85a28f4..0000000 --- a/doc/doxygen/html/dir_274e923eff7918b2388b6f9ebd3ed990.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/input/sdl Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
sdl Directory Reference
-
-
- - - - - - - - - - - - - - -

-Files

 input.c
 
 input.h
 
 keyboard.c
 
 keyboard.h
 
 mouse.c
 
 mouse.h
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_274e923eff7918b2388b6f9ebd3ed990.js b/doc/doxygen/html/dir_274e923eff7918b2388b6f9ebd3ed990.js deleted file mode 100644 index 41a8dc9..0000000 --- a/doc/doxygen/html/dir_274e923eff7918b2388b6f9ebd3ed990.js +++ /dev/null @@ -1,9 +0,0 @@ -var dir_274e923eff7918b2388b6f9ebd3ed990 = -[ - [ "input.c", "d5/d6e/packages_2input_2sdl_2input_8c.html", "d5/d6e/packages_2input_2sdl_2input_8c" ], - [ "input.h", "dc/d7e/packages_2input_2sdl_2input_8h.html", "dc/d7e/packages_2input_2sdl_2input_8h" ], - [ "keyboard.c", "d7/d37/packages_2input_2sdl_2keyboard_8c.html", "d7/d37/packages_2input_2sdl_2keyboard_8c" ], - [ "keyboard.h", "d4/d6b/packages_2input_2sdl_2keyboard_8h.html", "d4/d6b/packages_2input_2sdl_2keyboard_8h" ], - [ "mouse.c", "d1/de1/packages_2input_2sdl_2mouse_8c.html", "d1/de1/packages_2input_2sdl_2mouse_8c" ], - [ "mouse.h", "de/d26/packages_2input_2sdl_2mouse_8h.html", "de/d26/packages_2input_2sdl_2mouse_8h" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_2795c06419c71269fc9fb411358a993a.html b/doc/doxygen/html/dir_2795c06419c71269fc9fb411358a993a.html deleted file mode 100644 index 157a7a4..0000000 --- a/doc/doxygen/html/dir_2795c06419c71269fc9fb411358a993a.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/tests Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
tests Directory Reference
-
-
- - - - -

-Directories

 std
 
- - - -

-Files

 test.c.o.d
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_2795c06419c71269fc9fb411358a993a.js b/doc/doxygen/html/dir_2795c06419c71269fc9fb411358a993a.js deleted file mode 100644 index cb01b2b..0000000 --- a/doc/doxygen/html/dir_2795c06419c71269fc9fb411358a993a.js +++ /dev/null @@ -1,5 +0,0 @@ -var dir_2795c06419c71269fc9fb411358a993a = -[ - [ "std", "dir_5aa234f39af1e5124a04611dbfe42dcf.html", "dir_5aa234f39af1e5124a04611dbfe42dcf" ], - [ "test.c.o.d", "dd/d36/test_8c_8o_8d.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_29d0c141dfe07fbd3b448a97ed048de8.html b/doc/doxygen/html/dir_29d0c141dfe07fbd3b448a97ed048de8.html deleted file mode 100644 index 53cf8ef..0000000 --- a/doc/doxygen/html/dir_29d0c141dfe07fbd3b448a97ed048de8.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/engine Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
engine Directory Reference
-
-
- - - - - - -

-Files

 engine.c.o.d
 
 state.c.o.d
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_29d0c141dfe07fbd3b448a97ed048de8.js b/doc/doxygen/html/dir_29d0c141dfe07fbd3b448a97ed048de8.js deleted file mode 100644 index bddb7e2..0000000 --- a/doc/doxygen/html/dir_29d0c141dfe07fbd3b448a97ed048de8.js +++ /dev/null @@ -1,5 +0,0 @@ -var dir_29d0c141dfe07fbd3b448a97ed048de8 = -[ - [ "engine.c.o.d", "da/db0/tests_8dir_2src_2engine_2engine_8c_8o_8d.html", null ], - [ "state.c.o.d", "da/da4/tests_8dir_2src_2engine_2state_8c_8o_8d.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_2bbf512b9e35d75796f0ef9e0028c78c.html b/doc/doxygen/html/dir_2bbf512b9e35d75796f0ef9e0028c78c.html deleted file mode 100644 index a49f107..0000000 --- a/doc/doxygen/html/dir_2bbf512b9e35d75796f0ef9e0028c78c.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/graphics Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
graphics Directory Reference
-
-
- - - - - - - - - - - - - - - - - - - - - - -

-Files

 circle.c.o.d
 
 config.c.o.d
 
 line.c.o.d
 
 obround.c.o.d
 
 rectangle.c.o.d
 
 renderer.c.o.d
 
 sprite.c.o.d
 
 spritesheet.c.o.d
 
 text.c.o.d
 
 window.c.o.d
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_2bbf512b9e35d75796f0ef9e0028c78c.js b/doc/doxygen/html/dir_2bbf512b9e35d75796f0ef9e0028c78c.js deleted file mode 100644 index 3651e61..0000000 --- a/doc/doxygen/html/dir_2bbf512b9e35d75796f0ef9e0028c78c.js +++ /dev/null @@ -1,13 +0,0 @@ -var dir_2bbf512b9e35d75796f0ef9e0028c78c = -[ - [ "circle.c.o.d", "d9/da8/archeus__std_8dir_2src_2graphics_2circle_8c_8o_8d.html", null ], - [ "config.c.o.d", "d4/db2/archeus__std_8dir_2src_2graphics_2config_8c_8o_8d.html", null ], - [ "line.c.o.d", "d9/d13/archeus__std_8dir_2src_2graphics_2line_8c_8o_8d.html", null ], - [ "obround.c.o.d", "d6/d69/archeus__std_8dir_2src_2graphics_2obround_8c_8o_8d.html", null ], - [ "rectangle.c.o.d", "d7/d2f/archeus__std_8dir_2src_2graphics_2rectangle_8c_8o_8d.html", null ], - [ "renderer.c.o.d", "d7/dea/archeus__std_8dir_2src_2graphics_2renderer_8c_8o_8d.html", null ], - [ "sprite.c.o.d", "d6/d06/archeus__std_8dir_2src_2graphics_2sprite_8c_8o_8d.html", null ], - [ "spritesheet.c.o.d", "de/d1f/archeus__std_8dir_2src_2graphics_2spritesheet_8c_8o_8d.html", null ], - [ "text.c.o.d", "d7/db2/archeus__std_8dir_2src_2graphics_2text_8c_8o_8d.html", null ], - [ "window.c.o.d", "de/de7/archeus__std_8dir_2src_2graphics_2window_8c_8o_8d.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_384bcd99d3b936f9e95fe1cb5def6f01.html b/doc/doxygen/html/dir_384bcd99d3b936f9e95fe1cb5def6f01.html deleted file mode 100644 index 3cb1745..0000000 --- a/doc/doxygen/html/dir_384bcd99d3b936f9e95fe1cb5def6f01.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/sdl Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
sdl Directory Reference
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Files

 circle.c
 
 config.c
 
 line.c
 
 obround.c
 
 rectangle.c
 
 renderer.c
 
 renderer.h
 
 sprite.c
 
 sprite.h
 
 spritesheet.c
 
 spritesheet.h
 
 text.c
 
 text.h
 
 view.c
 
 window.c
 
 window.h
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_384bcd99d3b936f9e95fe1cb5def6f01.js b/doc/doxygen/html/dir_384bcd99d3b936f9e95fe1cb5def6f01.js deleted file mode 100644 index 8b81f0a..0000000 --- a/doc/doxygen/html/dir_384bcd99d3b936f9e95fe1cb5def6f01.js +++ /dev/null @@ -1,19 +0,0 @@ -var dir_384bcd99d3b936f9e95fe1cb5def6f01 = -[ - [ "circle.c", "d9/d6f/packages_2graphics_2sdl_2circle_8c.html", "d9/d6f/packages_2graphics_2sdl_2circle_8c" ], - [ "config.c", "d9/d34/packages_2graphics_2sdl_2config_8c.html", "d9/d34/packages_2graphics_2sdl_2config_8c" ], - [ "line.c", "dc/d7e/packages_2graphics_2sdl_2line_8c.html", "dc/d7e/packages_2graphics_2sdl_2line_8c" ], - [ "obround.c", "d9/d7b/packages_2graphics_2sdl_2obround_8c.html", "d9/d7b/packages_2graphics_2sdl_2obround_8c" ], - [ "rectangle.c", "d2/de6/packages_2graphics_2sdl_2rectangle_8c.html", "d2/de6/packages_2graphics_2sdl_2rectangle_8c" ], - [ "renderer.c", "d8/d04/packages_2graphics_2sdl_2renderer_8c.html", "d8/d04/packages_2graphics_2sdl_2renderer_8c" ], - [ "renderer.h", "d1/d2f/packages_2graphics_2sdl_2renderer_8h.html", "d1/d2f/packages_2graphics_2sdl_2renderer_8h" ], - [ "sprite.c", "d2/d1a/packages_2graphics_2sdl_2sprite_8c.html", "d2/d1a/packages_2graphics_2sdl_2sprite_8c" ], - [ "sprite.h", "d1/d88/packages_2graphics_2sdl_2sprite_8h.html", "d1/d88/packages_2graphics_2sdl_2sprite_8h" ], - [ "spritesheet.c", "d7/d5c/packages_2graphics_2sdl_2spritesheet_8c.html", "d7/d5c/packages_2graphics_2sdl_2spritesheet_8c" ], - [ "spritesheet.h", "dc/d95/packages_2graphics_2sdl_2spritesheet_8h.html", "dc/d95/packages_2graphics_2sdl_2spritesheet_8h" ], - [ "text.c", "db/dc8/packages_2graphics_2sdl_2text_8c.html", "db/dc8/packages_2graphics_2sdl_2text_8c" ], - [ "text.h", "d5/d90/packages_2graphics_2sdl_2text_8h.html", "d5/d90/packages_2graphics_2sdl_2text_8h" ], - [ "view.c", "df/df3/graphics_2sdl_2view_8c.html", "df/df3/graphics_2sdl_2view_8c" ], - [ "window.c", "d6/d83/packages_2graphics_2sdl_2window_8c.html", "d6/d83/packages_2graphics_2sdl_2window_8c" ], - [ "window.h", "d9/d1a/packages_2graphics_2sdl_2window_8h.html", "d9/d1a/packages_2graphics_2sdl_2window_8h" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_39f9099a5bacc3a9f2ef380a945c9920.html b/doc/doxygen/html/dir_39f9099a5bacc3a9f2ef380a945c9920.html deleted file mode 100644 index cf38e86..0000000 --- a/doc/doxygen/html/dir_39f9099a5bacc3a9f2ef380a945c9920.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/tests/std/parser Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
parser Directory Reference
-
-
- - - - - - -

-Files

 csv.c
 
 parserlang.c
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_39f9099a5bacc3a9f2ef380a945c9920.js b/doc/doxygen/html/dir_39f9099a5bacc3a9f2ef380a945c9920.js deleted file mode 100644 index 62603fa..0000000 --- a/doc/doxygen/html/dir_39f9099a5bacc3a9f2ef380a945c9920.js +++ /dev/null @@ -1,5 +0,0 @@ -var dir_39f9099a5bacc3a9f2ef380a945c9920 = -[ - [ "csv.c", "df/d9c/tests_2std_2parser_2csv_8c.html", "df/d9c/tests_2std_2parser_2csv_8c" ], - [ "parserlang.c", "da/d17/tests_2std_2parser_2parserlang_8c.html", "da/d17/tests_2std_2parser_2parserlang_8c" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_4197791ff18dd02c801bc5b43bba3f61.html b/doc/doxygen/html/dir_4197791ff18dd02c801bc5b43bba3f61.html deleted file mode 100644 index 7378f73..0000000 --- a/doc/doxygen/html/dir_4197791ff18dd02c801bc5b43bba3f61.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/3.30.5/CompilerIdC Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
CompilerIdC Directory Reference
-
-
- - - - -

-Files

 CMakeCCompilerId.c
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_4197791ff18dd02c801bc5b43bba3f61.js b/doc/doxygen/html/dir_4197791ff18dd02c801bc5b43bba3f61.js deleted file mode 100644 index 78cb66f..0000000 --- a/doc/doxygen/html/dir_4197791ff18dd02c801bc5b43bba3f61.js +++ /dev/null @@ -1,4 +0,0 @@ -var dir_4197791ff18dd02c801bc5b43bba3f61 = -[ - [ "CMakeCCompilerId.c", "d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html", "d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_448f06559c042ed382334cf4265840a4.html b/doc/doxygen/html/dir_448f06559c042ed382334cf4265840a4.html deleted file mode 100644 index 7098a5a..0000000 --- a/doc/doxygen/html/dir_448f06559c042ed382334cf4265840a4.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/engine Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
engine Directory Reference
-
-
- - - - - - -

-Files

 engine.c.o.d
 
 state.c.o.d
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_448f06559c042ed382334cf4265840a4.js b/doc/doxygen/html/dir_448f06559c042ed382334cf4265840a4.js deleted file mode 100644 index 6fd21aa..0000000 --- a/doc/doxygen/html/dir_448f06559c042ed382334cf4265840a4.js +++ /dev/null @@ -1,5 +0,0 @@ -var dir_448f06559c042ed382334cf4265840a4 = -[ - [ "engine.c.o.d", "d9/d6e/archeus__std_8dir_2src_2engine_2engine_8c_8o_8d.html", null ], - [ "state.c.o.d", "d1/dff/archeus__std_8dir_2src_2engine_2state_8c_8o_8d.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_4674e85715d023eabe12f929a557712f.html b/doc/doxygen/html/dir_4674e85715d023eabe12f929a557712f.html deleted file mode 100644 index 82e6142..0000000 --- a/doc/doxygen/html/dir_4674e85715d023eabe12f929a557712f.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/defaults Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
defaults Directory Reference
-
-
- - - - -

-Files

 config.h
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_4674e85715d023eabe12f929a557712f.js b/doc/doxygen/html/dir_4674e85715d023eabe12f929a557712f.js deleted file mode 100644 index 5f9d35d..0000000 --- a/doc/doxygen/html/dir_4674e85715d023eabe12f929a557712f.js +++ /dev/null @@ -1,4 +0,0 @@ -var dir_4674e85715d023eabe12f929a557712f = -[ - [ "config.h", "d2/d8b/std_2defaults_2config_8h.html", "d2/d8b/std_2defaults_2config_8h" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_46d97a8ae0c0aa8b914a0b5ca3ee1355.html b/doc/doxygen/html/dir_46d97a8ae0c0aa8b914a0b5ca3ee1355.html deleted file mode 100644 index eb90cc4..0000000 --- a/doc/doxygen/html/dir_46d97a8ae0c0aa8b914a0b5ca3ee1355.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/input Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
input Directory Reference
-
-
- - - - -

-Directories

 none
 
- - - - - - - -

-Files

 input.h
 
 keyboard.h
 
 mouse.h
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_46d97a8ae0c0aa8b914a0b5ca3ee1355.js b/doc/doxygen/html/dir_46d97a8ae0c0aa8b914a0b5ca3ee1355.js deleted file mode 100644 index 161ae2e..0000000 --- a/doc/doxygen/html/dir_46d97a8ae0c0aa8b914a0b5ca3ee1355.js +++ /dev/null @@ -1,7 +0,0 @@ -var dir_46d97a8ae0c0aa8b914a0b5ca3ee1355 = -[ - [ "none", "dir_054ad823f0debba630ab5fbbf1e7a6c9.html", "dir_054ad823f0debba630ab5fbbf1e7a6c9" ], - [ "input.h", "de/ded/input_8h.html", "de/ded/input_8h" ], - [ "keyboard.h", "d6/da0/keyboard_8h.html", "d6/da0/keyboard_8h" ], - [ "mouse.h", "dc/ded/mouse_8h.html", "dc/ded/mouse_8h" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_4b39d776351c46ae0dc101f31c393a2e.html b/doc/doxygen/html/dir_4b39d776351c46ae0dc101f31c393a2e.html deleted file mode 100644 index b0e9e9d..0000000 --- a/doc/doxygen/html/dir_4b39d776351c46ae0dc101f31c393a2e.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/input/glfw Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
glfw Directory Reference
-
-
- - - - - - - - - - - - -

-Files

 input.c
 
 keyboard.c
 
 keyboard.h
 
 mouse.c
 
 mouse.h
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_4b39d776351c46ae0dc101f31c393a2e.js b/doc/doxygen/html/dir_4b39d776351c46ae0dc101f31c393a2e.js deleted file mode 100644 index fc1e2fa..0000000 --- a/doc/doxygen/html/dir_4b39d776351c46ae0dc101f31c393a2e.js +++ /dev/null @@ -1,8 +0,0 @@ -var dir_4b39d776351c46ae0dc101f31c393a2e = -[ - [ "input.c", "da/d50/packages_2input_2glfw_2input_8c.html", null ], - [ "keyboard.c", "d2/d0d/packages_2input_2glfw_2keyboard_8c.html", null ], - [ "keyboard.h", "de/de8/packages_2input_2glfw_2keyboard_8h.html", null ], - [ "mouse.c", "de/de0/packages_2input_2glfw_2mouse_8c.html", null ], - [ "mouse.h", "db/dda/packages_2input_2glfw_2mouse_8h.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_4befb2d6cf456f6f5659a6d11734df7d.html b/doc/doxygen/html/dir_4befb2d6cf456f6f5659a6d11734df7d.html deleted file mode 100644 index c02f2f2..0000000 --- a/doc/doxygen/html/dir_4befb2d6cf456f6f5659a6d11734df7d.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
src Directory Reference
-
-
- - - - - - - - - - - - - - -

-Directories

 engine
 
 files
 
 graphics
 
 input
 
 math
 
 std
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_4befb2d6cf456f6f5659a6d11734df7d.js b/doc/doxygen/html/dir_4befb2d6cf456f6f5659a6d11734df7d.js deleted file mode 100644 index 51ce591..0000000 --- a/doc/doxygen/html/dir_4befb2d6cf456f6f5659a6d11734df7d.js +++ /dev/null @@ -1,9 +0,0 @@ -var dir_4befb2d6cf456f6f5659a6d11734df7d = -[ - [ "engine", "dir_448f06559c042ed382334cf4265840a4.html", "dir_448f06559c042ed382334cf4265840a4" ], - [ "files", "dir_6f547df634da3cde0da25005fef651f4.html", "dir_6f547df634da3cde0da25005fef651f4" ], - [ "graphics", "dir_2bbf512b9e35d75796f0ef9e0028c78c.html", "dir_2bbf512b9e35d75796f0ef9e0028c78c" ], - [ "input", "dir_bec16ba743e08072affe6b2eea082d36.html", "dir_bec16ba743e08072affe6b2eea082d36" ], - [ "math", "dir_ac0697b564c96e18b8b1b2aae0d0e92d.html", "dir_ac0697b564c96e18b8b1b2aae0d0e92d" ], - [ "std", "dir_7d6e884eab516ceee85baf879ae85713.html", "dir_7d6e884eab516ceee85baf879ae85713" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_4e7df8a09b2bea044f947dc813dc17f8.html b/doc/doxygen/html/dir_4e7df8a09b2bea044f947dc813dc17f8.html deleted file mode 100644 index 2958618..0000000 --- a/doc/doxygen/html/dir_4e7df8a09b2bea044f947dc813dc17f8.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/networking/libssh Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
libssh Directory Reference
-
-
- - - - -

-Files

 ssh.c
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_4e7df8a09b2bea044f947dc813dc17f8.js b/doc/doxygen/html/dir_4e7df8a09b2bea044f947dc813dc17f8.js deleted file mode 100644 index 50d19a4..0000000 --- a/doc/doxygen/html/dir_4e7df8a09b2bea044f947dc813dc17f8.js +++ /dev/null @@ -1,4 +0,0 @@ -var dir_4e7df8a09b2bea044f947dc813dc17f8 = -[ - [ "ssh.c", "d7/dfb/ssh_8c.html", "d7/dfb/ssh_8c" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_4eff4d556f090b5df86a0d7e570b70c4.html b/doc/doxygen/html/dir_4eff4d556f090b5df86a0d7e570b70c4.html deleted file mode 100644 index 2103f42..0000000 --- a/doc/doxygen/html/dir_4eff4d556f090b5df86a0d7e570b70c4.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/console/ncurses Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
ncurses Directory Reference
-
-
- - - - - - - - - - - - - - -

-Files

 buffer.c
 
 element.c
 
 key.c
 
 key.h
 
 shell.c
 
 view.c
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_4eff4d556f090b5df86a0d7e570b70c4.js b/doc/doxygen/html/dir_4eff4d556f090b5df86a0d7e570b70c4.js deleted file mode 100644 index f2a65bb..0000000 --- a/doc/doxygen/html/dir_4eff4d556f090b5df86a0d7e570b70c4.js +++ /dev/null @@ -1,9 +0,0 @@ -var dir_4eff4d556f090b5df86a0d7e570b70c4 = -[ - [ "buffer.c", "d3/d8b/buffer_8c.html", "d3/d8b/buffer_8c" ], - [ "element.c", "da/d0a/element_8c.html", "da/d0a/element_8c" ], - [ "key.c", "db/dfd/key_8c.html", "db/dfd/key_8c" ], - [ "key.h", "df/d5e/packages_2console_2ncurses_2key_8h.html", "df/d5e/packages_2console_2ncurses_2key_8h" ], - [ "shell.c", "d6/d4f/shell_8c.html", "d6/d4f/shell_8c" ], - [ "view.c", "d0/da4/console_2ncurses_2view_8c.html", "d0/da4/console_2ncurses_2view_8c" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_4fef79e7177ba769987a8da36c892c5f.html b/doc/doxygen/html/dir_4fef79e7177ba769987a8da36c892c5f.html deleted file mode 100644 index 579bb63..0000000 --- a/doc/doxygen/html/dir_4fef79e7177ba769987a8da36c892c5f.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
build Directory Reference
-
-
- - - - -

-Directories

 CMakeFiles
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_4fef79e7177ba769987a8da36c892c5f.js b/doc/doxygen/html/dir_4fef79e7177ba769987a8da36c892c5f.js deleted file mode 100644 index e144bd2..0000000 --- a/doc/doxygen/html/dir_4fef79e7177ba769987a8da36c892c5f.js +++ /dev/null @@ -1,4 +0,0 @@ -var dir_4fef79e7177ba769987a8da36c892c5f = -[ - [ "CMakeFiles", "dir_63772b626f2709090f0bdca0f40827b4.html", "dir_63772b626f2709090f0bdca0f40827b4" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_51e2434ae88e74fc7fbecce0cef5d995.html b/doc/doxygen/html/dir_51e2434ae88e74fc7fbecce0cef5d995.html deleted file mode 100644 index 6785721..0000000 --- a/doc/doxygen/html/dir_51e2434ae88e74fc7fbecce0cef5d995.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/input Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
input Directory Reference
-
-
- - - - - - -

-Directories

 glfw
 
 sdl
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_51e2434ae88e74fc7fbecce0cef5d995.js b/doc/doxygen/html/dir_51e2434ae88e74fc7fbecce0cef5d995.js deleted file mode 100644 index 903aadc..0000000 --- a/doc/doxygen/html/dir_51e2434ae88e74fc7fbecce0cef5d995.js +++ /dev/null @@ -1,5 +0,0 @@ -var dir_51e2434ae88e74fc7fbecce0cef5d995 = -[ - [ "glfw", "dir_4b39d776351c46ae0dc101f31c393a2e.html", "dir_4b39d776351c46ae0dc101f31c393a2e" ], - [ "sdl", "dir_274e923eff7918b2388b6f9ebd3ed990.html", "dir_274e923eff7918b2388b6f9ebd3ed990" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_55e5558cfbdbc80ca812673b2b436991.html b/doc/doxygen/html/dir_55e5558cfbdbc80ca812673b2b436991.html deleted file mode 100644 index be373a9..0000000 --- a/doc/doxygen/html/dir_55e5558cfbdbc80ca812673b2b436991.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/console Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
console Directory Reference
-
-
- - - - -

-Directories

 ncurses
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_55e5558cfbdbc80ca812673b2b436991.js b/doc/doxygen/html/dir_55e5558cfbdbc80ca812673b2b436991.js deleted file mode 100644 index 5092ae0..0000000 --- a/doc/doxygen/html/dir_55e5558cfbdbc80ca812673b2b436991.js +++ /dev/null @@ -1,4 +0,0 @@ -var dir_55e5558cfbdbc80ca812673b2b436991 = -[ - [ "ncurses", "dir_4eff4d556f090b5df86a0d7e570b70c4.html", "dir_4eff4d556f090b5df86a0d7e570b70c4" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_560415a5d2bc4999842279f4fc1debef.html b/doc/doxygen/html/dir_560415a5d2bc4999842279f4fc1debef.html deleted file mode 100644 index b93c0d3..0000000 --- a/doc/doxygen/html/dir_560415a5d2bc4999842279f4fc1debef.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/graphics Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
graphics Directory Reference
-
-
- - - - - - - - - - - - - - - - - - - - - - -

-Files

 circle.c
 
 config.c
 
 line.c
 
 obround.c
 
 rectangle.c
 
 renderer.c
 
 sprite.c
 
 spritesheet.c
 
 text.c
 
 window.c
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_560415a5d2bc4999842279f4fc1debef.js b/doc/doxygen/html/dir_560415a5d2bc4999842279f4fc1debef.js deleted file mode 100644 index df2fc62..0000000 --- a/doc/doxygen/html/dir_560415a5d2bc4999842279f4fc1debef.js +++ /dev/null @@ -1,13 +0,0 @@ -var dir_560415a5d2bc4999842279f4fc1debef = -[ - [ "circle.c", "d9/ddf/src_2graphics_2circle_8c.html", null ], - [ "config.c", "de/da7/src_2graphics_2config_8c.html", null ], - [ "line.c", "d6/deb/src_2graphics_2line_8c.html", null ], - [ "obround.c", "d1/db3/src_2graphics_2obround_8c.html", null ], - [ "rectangle.c", "d3/dc3/src_2graphics_2rectangle_8c.html", null ], - [ "renderer.c", "d7/d80/src_2graphics_2renderer_8c.html", null ], - [ "sprite.c", "d8/d72/src_2graphics_2sprite_8c.html", null ], - [ "spritesheet.c", "d0/dd6/src_2graphics_2spritesheet_8c.html", null ], - [ "text.c", "df/d2d/src_2graphics_2text_8c.html", null ], - [ "window.c", "d7/d28/src_2graphics_2window_8c.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_59425e443f801f1f2fd8bbe4959a3ccf.html b/doc/doxygen/html/dir_59425e443f801f1f2fd8bbe4959a3ccf.html deleted file mode 100644 index fee9423..0000000 --- a/doc/doxygen/html/dir_59425e443f801f1f2fd8bbe4959a3ccf.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/tests Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
tests Directory Reference
-
-
- - - - -

-Directories

 std
 
- - - - - -

-Files

 test.c
 
 test.h
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_59425e443f801f1f2fd8bbe4959a3ccf.js b/doc/doxygen/html/dir_59425e443f801f1f2fd8bbe4959a3ccf.js deleted file mode 100644 index 1629fe4..0000000 --- a/doc/doxygen/html/dir_59425e443f801f1f2fd8bbe4959a3ccf.js +++ /dev/null @@ -1,6 +0,0 @@ -var dir_59425e443f801f1f2fd8bbe4959a3ccf = -[ - [ "std", "dir_74e8f229f95a2dcbfc8cf6373759ba2f.html", "dir_74e8f229f95a2dcbfc8cf6373759ba2f" ], - [ "test.c", "d8/db9/test_8c.html", "d8/db9/test_8c" ], - [ "test.h", "d2/ddc/test_8h.html", "d2/ddc/test_8h" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_5aa234f39af1e5124a04611dbfe42dcf.html b/doc/doxygen/html/dir_5aa234f39af1e5124a04611dbfe42dcf.html deleted file mode 100644 index 886df29..0000000 --- a/doc/doxygen/html/dir_5aa234f39af1e5124a04611dbfe42dcf.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/tests/std Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
std Directory Reference
-
-
- - - - -

-Directories

 parser
 
- - - - - - - - - - - -

-Files

 chemical.c.o.d
 
 lexer.c.o.d
 
 parser.c.o.d
 
 temp_parserlang.c.o.d
 
 vector.c.o.d
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_5aa234f39af1e5124a04611dbfe42dcf.js b/doc/doxygen/html/dir_5aa234f39af1e5124a04611dbfe42dcf.js deleted file mode 100644 index 8e5fd8c..0000000 --- a/doc/doxygen/html/dir_5aa234f39af1e5124a04611dbfe42dcf.js +++ /dev/null @@ -1,9 +0,0 @@ -var dir_5aa234f39af1e5124a04611dbfe42dcf = -[ - [ "parser", "dir_6af8a0d0bed2e7af089a3ab97240c95c.html", "dir_6af8a0d0bed2e7af089a3ab97240c95c" ], - [ "chemical.c.o.d", "d1/dfa/tests_8dir_2tests_2std_2chemical_8c_8o_8d.html", null ], - [ "lexer.c.o.d", "d8/dd0/tests_8dir_2tests_2std_2lexer_8c_8o_8d.html", null ], - [ "parser.c.o.d", "d7/d5c/tests_8dir_2tests_2std_2parser_8c_8o_8d.html", null ], - [ "temp_parserlang.c.o.d", "d5/dba/temp__parserlang_8c_8o_8d.html", null ], - [ "vector.c.o.d", "de/d00/tests_8dir_2tests_2std_2vector_8c_8o_8d.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_5aebe31537d3974f8e32cdc730d5a0fc.html b/doc/doxygen/html/dir_5aebe31537d3974f8e32cdc730d5a0fc.html deleted file mode 100644 index 090dc97..0000000 --- a/doc/doxygen/html/dir_5aebe31537d3974f8e32cdc730d5a0fc.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/3.31.0 Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
3.31.0 Directory Reference
-
-
- - - - -

-Directories

 CompilerIdC
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_5aebe31537d3974f8e32cdc730d5a0fc.js b/doc/doxygen/html/dir_5aebe31537d3974f8e32cdc730d5a0fc.js deleted file mode 100644 index 1227d04..0000000 --- a/doc/doxygen/html/dir_5aebe31537d3974f8e32cdc730d5a0fc.js +++ /dev/null @@ -1,4 +0,0 @@ -var dir_5aebe31537d3974f8e32cdc730d5a0fc = -[ - [ "CompilerIdC", "dir_dbf9480175308ae732cb8d3712ebefd9.html", "dir_dbf9480175308ae732cb8d3712ebefd9" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_602b14a08b68f813a0b382d0af9a55c0.html b/doc/doxygen/html/dir_602b14a08b68f813a0b382d0af9a55c0.html deleted file mode 100644 index 33e195c..0000000 --- a/doc/doxygen/html/dir_602b14a08b68f813a0b382d0af9a55c0.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/graphics/none Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
none Directory Reference
-
-
- - - - - - - - - - - - -

-Files

 renderer.h
 
 sprite.h
 
 spritesheet.h
 
 text.h
 
 window.h
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_602b14a08b68f813a0b382d0af9a55c0.js b/doc/doxygen/html/dir_602b14a08b68f813a0b382d0af9a55c0.js deleted file mode 100644 index 5d41422..0000000 --- a/doc/doxygen/html/dir_602b14a08b68f813a0b382d0af9a55c0.js +++ /dev/null @@ -1,8 +0,0 @@ -var dir_602b14a08b68f813a0b382d0af9a55c0 = -[ - [ "renderer.h", "d7/d34/none_2renderer_8h.html", null ], - [ "sprite.h", "da/dce/none_2sprite_8h.html", null ], - [ "spritesheet.h", "d6/da1/none_2spritesheet_8h.html", null ], - [ "text.h", "d6/dec/none_2text_8h.html", null ], - [ "window.h", "da/d9a/none_2window_8h.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_63772b626f2709090f0bdca0f40827b4.html b/doc/doxygen/html/dir_63772b626f2709090f0bdca0f40827b4.html deleted file mode 100644 index 3cb63af..0000000 --- a/doc/doxygen/html/dir_63772b626f2709090f0bdca0f40827b4.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
CMakeFiles Directory Reference
-
-
- - - - - - - - - - - - - - - - -

-Directories

 3.30.5
 
 3.31.0
 
 3.31.1
 
 3.31.2
 
 3.31.3
 
 archeus_std.dir
 
 tests.dir
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_63772b626f2709090f0bdca0f40827b4.js b/doc/doxygen/html/dir_63772b626f2709090f0bdca0f40827b4.js deleted file mode 100644 index edd2c6b..0000000 --- a/doc/doxygen/html/dir_63772b626f2709090f0bdca0f40827b4.js +++ /dev/null @@ -1,10 +0,0 @@ -var dir_63772b626f2709090f0bdca0f40827b4 = -[ - [ "3.30.5", "dir_f87cf45cf3971bc7842866b110ab565f.html", "dir_f87cf45cf3971bc7842866b110ab565f" ], - [ "3.31.0", "dir_5aebe31537d3974f8e32cdc730d5a0fc.html", "dir_5aebe31537d3974f8e32cdc730d5a0fc" ], - [ "3.31.1", "dir_1aa57a5c72ad553cca2096ac851c7fe9.html", "dir_1aa57a5c72ad553cca2096ac851c7fe9" ], - [ "3.31.2", "dir_0cc0f854d85af330638b97943ef1598a.html", "dir_0cc0f854d85af330638b97943ef1598a" ], - [ "3.31.3", "dir_ce58f86fb6c402a20d8a44d53d2989b0.html", "dir_ce58f86fb6c402a20d8a44d53d2989b0" ], - [ "archeus_std.dir", "dir_f0be7a42b269f35efaacb499c42a3b1e.html", "dir_f0be7a42b269f35efaacb499c42a3b1e" ], - [ "tests.dir", "dir_d73f2787a5aec4ff153a305f674170cb.html", "dir_d73f2787a5aec4ff153a305f674170cb" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/doc/doxygen/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html deleted file mode 100644 index 0298e2a..0000000 --- a/doc/doxygen/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
src Directory Reference
-
-
- - - - - - - - - - - - -

-Directories

 engine
 
 graphics
 
 input
 
 math
 
 std
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_68267d1309a1af8e8297ef4c3efbcdba.js b/doc/doxygen/html/dir_68267d1309a1af8e8297ef4c3efbcdba.js deleted file mode 100644 index 971befb..0000000 --- a/doc/doxygen/html/dir_68267d1309a1af8e8297ef4c3efbcdba.js +++ /dev/null @@ -1,8 +0,0 @@ -var dir_68267d1309a1af8e8297ef4c3efbcdba = -[ - [ "engine", "dir_2052808828190f934b76e979ee65af8a.html", "dir_2052808828190f934b76e979ee65af8a" ], - [ "graphics", "dir_560415a5d2bc4999842279f4fc1debef.html", "dir_560415a5d2bc4999842279f4fc1debef" ], - [ "input", "dir_d365e15d984c8d0205117ee0c40d6716.html", "dir_d365e15d984c8d0205117ee0c40d6716" ], - [ "math", "dir_ae9a93452e2a84339148a16bcf2eb561.html", "dir_ae9a93452e2a84339148a16bcf2eb561" ], - [ "std", "dir_fe9004854c8f0f3cfbfe7f330be58a96.html", "dir_fe9004854c8f0f3cfbfe7f330be58a96" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_68472d21c045480741914e1e67562a4d.html b/doc/doxygen/html/dir_68472d21c045480741914e1e67562a4d.html deleted file mode 100644 index 46c9ec7..0000000 --- a/doc/doxygen/html/dir_68472d21c045480741914e1e67562a4d.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/3.31.3/CompilerIdC Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
CompilerIdC Directory Reference
-
-
- - - - -

-Files

 CMakeCCompilerId.c
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_68472d21c045480741914e1e67562a4d.js b/doc/doxygen/html/dir_68472d21c045480741914e1e67562a4d.js deleted file mode 100644 index 4148a31..0000000 --- a/doc/doxygen/html/dir_68472d21c045480741914e1e67562a4d.js +++ /dev/null @@ -1,4 +0,0 @@ -var dir_68472d21c045480741914e1e67562a4d = -[ - [ "CMakeCCompilerId.c", "d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html", "d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_6af8a0d0bed2e7af089a3ab97240c95c.html b/doc/doxygen/html/dir_6af8a0d0bed2e7af089a3ab97240c95c.html deleted file mode 100644 index a299b77..0000000 --- a/doc/doxygen/html/dir_6af8a0d0bed2e7af089a3ab97240c95c.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/tests/std/parser Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
parser Directory Reference
-
-
- - - - - - -

-Files

 csv.c.o.d
 
 parserlang.c.o.d
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_6af8a0d0bed2e7af089a3ab97240c95c.js b/doc/doxygen/html/dir_6af8a0d0bed2e7af089a3ab97240c95c.js deleted file mode 100644 index e54166e..0000000 --- a/doc/doxygen/html/dir_6af8a0d0bed2e7af089a3ab97240c95c.js +++ /dev/null @@ -1,5 +0,0 @@ -var dir_6af8a0d0bed2e7af089a3ab97240c95c = -[ - [ "csv.c.o.d", "d9/d2a/tests_8dir_2tests_2std_2parser_2csv_8c_8o_8d.html", null ], - [ "parserlang.c.o.d", "d6/db0/tests_8dir_2tests_2std_2parser_2parserlang_8c_8o_8d.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_6d4706c88628d101f934aaf13e871b17.html b/doc/doxygen/html/dir_6d4706c88628d101f934aaf13e871b17.html deleted file mode 100644 index 6856869..0000000 --- a/doc/doxygen/html/dir_6d4706c88628d101f934aaf13e871b17.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/networking Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
networking Directory Reference
-
-
- - - - -

-Directories

 libssh
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_6d4706c88628d101f934aaf13e871b17.js b/doc/doxygen/html/dir_6d4706c88628d101f934aaf13e871b17.js deleted file mode 100644 index da231b5..0000000 --- a/doc/doxygen/html/dir_6d4706c88628d101f934aaf13e871b17.js +++ /dev/null @@ -1,4 +0,0 @@ -var dir_6d4706c88628d101f934aaf13e871b17 = -[ - [ "libssh", "dir_4e7df8a09b2bea044f947dc813dc17f8.html", "dir_4e7df8a09b2bea044f947dc813dc17f8" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_6f547df634da3cde0da25005fef651f4.html b/doc/doxygen/html/dir_6f547df634da3cde0da25005fef651f4.html deleted file mode 100644 index e119454..0000000 --- a/doc/doxygen/html/dir_6f547df634da3cde0da25005fef651f4.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/files Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
files Directory Reference
-
-
- - - - -

-Files

 config.c.o.d
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_6f547df634da3cde0da25005fef651f4.js b/doc/doxygen/html/dir_6f547df634da3cde0da25005fef651f4.js deleted file mode 100644 index 4801bc8..0000000 --- a/doc/doxygen/html/dir_6f547df634da3cde0da25005fef651f4.js +++ /dev/null @@ -1,4 +0,0 @@ -var dir_6f547df634da3cde0da25005fef651f4 = -[ - [ "config.c.o.d", "d0/d4f/archeus__std_8dir_2src_2files_2config_8c_8o_8d.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_73fe40c7155b0dc0a07bd2c7c6ddd134.html b/doc/doxygen/html/dir_73fe40c7155b0dc0a07bd2c7c6ddd134.html deleted file mode 100644 index 43557a5..0000000 --- a/doc/doxygen/html/dir_73fe40c7155b0dc0a07bd2c7c6ddd134.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: doxygen/doxygen-awesome-css Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
doxygen-awesome-css Directory Reference
-
-
- - - - -

-Directories

 docs
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_73fe40c7155b0dc0a07bd2c7c6ddd134.js b/doc/doxygen/html/dir_73fe40c7155b0dc0a07bd2c7c6ddd134.js deleted file mode 100644 index cd9ba1c..0000000 --- a/doc/doxygen/html/dir_73fe40c7155b0dc0a07bd2c7c6ddd134.js +++ /dev/null @@ -1,4 +0,0 @@ -var dir_73fe40c7155b0dc0a07bd2c7c6ddd134 = -[ - [ "docs", "dir_163314b79eb3671f49919bcd27dd2527.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_74e8f229f95a2dcbfc8cf6373759ba2f.html b/doc/doxygen/html/dir_74e8f229f95a2dcbfc8cf6373759ba2f.html deleted file mode 100644 index 0537e46..0000000 --- a/doc/doxygen/html/dir_74e8f229f95a2dcbfc8cf6373759ba2f.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/tests/std Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
std Directory Reference
-
-
- - - - -

-Directories

 parser
 
- - - - - - - - - -

-Files

 chemical.c
 
 lexer.c
 
 parser.c
 
 vector.c
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_74e8f229f95a2dcbfc8cf6373759ba2f.js b/doc/doxygen/html/dir_74e8f229f95a2dcbfc8cf6373759ba2f.js deleted file mode 100644 index a5b2988..0000000 --- a/doc/doxygen/html/dir_74e8f229f95a2dcbfc8cf6373759ba2f.js +++ /dev/null @@ -1,8 +0,0 @@ -var dir_74e8f229f95a2dcbfc8cf6373759ba2f = -[ - [ "parser", "dir_39f9099a5bacc3a9f2ef380a945c9920.html", "dir_39f9099a5bacc3a9f2ef380a945c9920" ], - [ "chemical.c", "d4/db5/tests_2std_2chemical_8c.html", "d4/db5/tests_2std_2chemical_8c" ], - [ "lexer.c", "d3/d6d/tests_2std_2lexer_8c.html", "d3/d6d/tests_2std_2lexer_8c" ], - [ "parser.c", "de/df2/tests_2std_2parser_8c.html", "de/df2/tests_2std_2parser_8c" ], - [ "vector.c", "dc/d82/tests_2std_2vector_8c.html", "dc/d82/tests_2std_2vector_8c" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_7d6e884eab516ceee85baf879ae85713.html b/doc/doxygen/html/dir_7d6e884eab516ceee85baf879ae85713.html deleted file mode 100644 index 7209b12..0000000 --- a/doc/doxygen/html/dir_7d6e884eab516ceee85baf879ae85713.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
std Directory Reference
-
-
- - - - - - -

-Directories

 defaults
 
 parser
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Files

 chemical.c.o.d
 
 config.c.o.d
 
 errno.c.o.d
 
 handler.c.o.d
 
 hashtable.c.o.d
 
 io.c.o.d
 
 lexer.c.o.d
 
 parser.c.o.d
 
 queue.c.o.d
 
 stack.c.o.d
 
 string.c.o.d
 
 time.c.o.d
 
 vector.c.o.d
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_7d6e884eab516ceee85baf879ae85713.js b/doc/doxygen/html/dir_7d6e884eab516ceee85baf879ae85713.js deleted file mode 100644 index e11a2aa..0000000 --- a/doc/doxygen/html/dir_7d6e884eab516ceee85baf879ae85713.js +++ /dev/null @@ -1,18 +0,0 @@ -var dir_7d6e884eab516ceee85baf879ae85713 = -[ - [ "defaults", "dir_0e5878cd227b5e28a0db2e00cb2d57e6.html", "dir_0e5878cd227b5e28a0db2e00cb2d57e6" ], - [ "parser", "dir_e933f075b9a5929f0ce275b11b2e8443.html", "dir_e933f075b9a5929f0ce275b11b2e8443" ], - [ "chemical.c.o.d", "da/d9d/archeus__std_8dir_2src_2std_2chemical_8c_8o_8d.html", null ], - [ "config.c.o.d", "d2/df4/archeus__std_8dir_2src_2std_2config_8c_8o_8d.html", null ], - [ "errno.c.o.d", "db/df9/archeus__std_8dir_2src_2std_2errno_8c_8o_8d.html", null ], - [ "handler.c.o.d", "d3/d68/archeus__std_8dir_2src_2std_2handler_8c_8o_8d.html", null ], - [ "hashtable.c.o.d", "d7/d9d/archeus__std_8dir_2src_2std_2hashtable_8c_8o_8d.html", null ], - [ "io.c.o.d", "d6/d36/archeus__std_8dir_2src_2std_2io_8c_8o_8d.html", null ], - [ "lexer.c.o.d", "d5/d9c/archeus__std_8dir_2src_2std_2lexer_8c_8o_8d.html", null ], - [ "parser.c.o.d", "d2/d7b/archeus__std_8dir_2src_2std_2parser_8c_8o_8d.html", null ], - [ "queue.c.o.d", "db/d58/archeus__std_8dir_2src_2std_2queue_8c_8o_8d.html", null ], - [ "stack.c.o.d", "d9/d0a/archeus__std_8dir_2src_2std_2stack_8c_8o_8d.html", null ], - [ "string.c.o.d", "d7/de9/archeus__std_8dir_2src_2std_2string_8c_8o_8d.html", null ], - [ "time.c.o.d", "d8/db8/archeus__std_8dir_2src_2std_2time_8c_8o_8d.html", null ], - [ "vector.c.o.d", "d6/dae/archeus__std_8dir_2src_2std_2vector_8c_8o_8d.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_8600ea1c4b892b5b70355aa785f2ac76.html b/doc/doxygen/html/dir_8600ea1c4b892b5b70355aa785f2ac76.html deleted file mode 100644 index 3121e86..0000000 --- a/doc/doxygen/html/dir_8600ea1c4b892b5b70355aa785f2ac76.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/math Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
math Directory Reference
-
-
- - - - - - - - - - - - - - - - -

-Files

 circle.h
 
 config.h
 
 obround.h
 
 point.h
 
 rectangle.h
 
 vector2.h
 
 vector3.h
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_8600ea1c4b892b5b70355aa785f2ac76.js b/doc/doxygen/html/dir_8600ea1c4b892b5b70355aa785f2ac76.js deleted file mode 100644 index c778002..0000000 --- a/doc/doxygen/html/dir_8600ea1c4b892b5b70355aa785f2ac76.js +++ /dev/null @@ -1,10 +0,0 @@ -var dir_8600ea1c4b892b5b70355aa785f2ac76 = -[ - [ "circle.h", "d9/d17/math_2circle_8h.html", "d9/d17/math_2circle_8h" ], - [ "config.h", "d8/dec/math_2config_8h.html", "d8/dec/math_2config_8h" ], - [ "obround.h", "d3/d66/math_2obround_8h.html", "d3/d66/math_2obround_8h" ], - [ "point.h", "d2/d91/point_8h.html", "d2/d91/point_8h" ], - [ "rectangle.h", "d2/d14/math_2rectangle_8h.html", "d2/d14/math_2rectangle_8h" ], - [ "vector2.h", "d1/d03/vector2_8h.html", "d1/d03/vector2_8h" ], - [ "vector3.h", "d0/d7e/vector3_8h.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_8698ff38f6ae643760cdad826b9d4736.html b/doc/doxygen/html/dir_8698ff38f6ae643760cdad826b9d4736.html deleted file mode 100644 index 9c46331..0000000 --- a/doc/doxygen/html/dir_8698ff38f6ae643760cdad826b9d4736.html +++ /dev/null @@ -1,148 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
arc Directory Reference
-
-
- - - - - - - - - - - - - - - - - - -

-Directories

 audio
 
 console
 
 engine
 
 graphics
 
 input
 
 math
 
 networking
 
 std
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_8698ff38f6ae643760cdad826b9d4736.js b/doc/doxygen/html/dir_8698ff38f6ae643760cdad826b9d4736.js deleted file mode 100644 index c40184c..0000000 --- a/doc/doxygen/html/dir_8698ff38f6ae643760cdad826b9d4736.js +++ /dev/null @@ -1,11 +0,0 @@ -var dir_8698ff38f6ae643760cdad826b9d4736 = -[ - [ "audio", "dir_e86ec9f70dc763f43ea709e4264f0e24.html", "dir_e86ec9f70dc763f43ea709e4264f0e24" ], - [ "console", "dir_beba8fde51bfc57b68b9250b4fe33f5c.html", "dir_beba8fde51bfc57b68b9250b4fe33f5c" ], - [ "engine", "dir_b29a8eaba25fe5828ebef328b36f3b30.html", "dir_b29a8eaba25fe5828ebef328b36f3b30" ], - [ "graphics", "dir_169ca87d8ac185e5b51c45f4a68386c0.html", "dir_169ca87d8ac185e5b51c45f4a68386c0" ], - [ "input", "dir_46d97a8ae0c0aa8b914a0b5ca3ee1355.html", "dir_46d97a8ae0c0aa8b914a0b5ca3ee1355" ], - [ "math", "dir_8600ea1c4b892b5b70355aa785f2ac76.html", "dir_8600ea1c4b892b5b70355aa785f2ac76" ], - [ "networking", "dir_e1e6d6205f1f2bb361dce2a25d40e4a1.html", "dir_e1e6d6205f1f2bb361dce2a25d40e4a1" ], - [ "std", "dir_b3e500eb3a6fe660b1141f591e523c76.html", "dir_b3e500eb3a6fe660b1141f591e523c76" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_93501a11e921083efbd154e0cdff5f10.html b/doc/doxygen/html/dir_93501a11e921083efbd154e0cdff5f10.html deleted file mode 100644 index c65b133..0000000 --- a/doc/doxygen/html/dir_93501a11e921083efbd154e0cdff5f10.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
packages Directory Reference
-
-
- - - - - - - - - - - - -

-Directories

 audio
 
 console
 
 graphics
 
 input
 
 networking
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_93501a11e921083efbd154e0cdff5f10.js b/doc/doxygen/html/dir_93501a11e921083efbd154e0cdff5f10.js deleted file mode 100644 index b58f24e..0000000 --- a/doc/doxygen/html/dir_93501a11e921083efbd154e0cdff5f10.js +++ /dev/null @@ -1,8 +0,0 @@ -var dir_93501a11e921083efbd154e0cdff5f10 = -[ - [ "audio", "dir_d1ecdd01b8fada8604b50b93b61a4e5a.html", "dir_d1ecdd01b8fada8604b50b93b61a4e5a" ], - [ "console", "dir_55e5558cfbdbc80ca812673b2b436991.html", "dir_55e5558cfbdbc80ca812673b2b436991" ], - [ "graphics", "dir_af6e6c3357835c7f766dfcaf351d30ad.html", "dir_af6e6c3357835c7f766dfcaf351d30ad" ], - [ "input", "dir_51e2434ae88e74fc7fbecce0cef5d995.html", "dir_51e2434ae88e74fc7fbecce0cef5d995" ], - [ "networking", "dir_6d4706c88628d101f934aaf13e871b17.html", "dir_6d4706c88628d101f934aaf13e871b17" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_98ffd4beff65168e3bae17ec0bd21166.html b/doc/doxygen/html/dir_98ffd4beff65168e3bae17ec0bd21166.html deleted file mode 100644 index 7ec1513..0000000 --- a/doc/doxygen/html/dir_98ffd4beff65168e3bae17ec0bd21166.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/math Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
math Directory Reference
-
-
- - - - - - - - - - - - - - -

-Files

 circle.c.o.d
 
 config.c.o.d
 
 obround.c.o.d
 
 point.c.o.d
 
 rectangle.c.o.d
 
 vector2.c.o.d
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_98ffd4beff65168e3bae17ec0bd21166.js b/doc/doxygen/html/dir_98ffd4beff65168e3bae17ec0bd21166.js deleted file mode 100644 index 6c1c4a2..0000000 --- a/doc/doxygen/html/dir_98ffd4beff65168e3bae17ec0bd21166.js +++ /dev/null @@ -1,9 +0,0 @@ -var dir_98ffd4beff65168e3bae17ec0bd21166 = -[ - [ "circle.c.o.d", "d8/dfc/tests_8dir_2src_2math_2circle_8c_8o_8d.html", null ], - [ "config.c.o.d", "d1/de3/tests_8dir_2src_2math_2config_8c_8o_8d.html", null ], - [ "obround.c.o.d", "d2/d04/tests_8dir_2src_2math_2obround_8c_8o_8d.html", null ], - [ "point.c.o.d", "da/d6c/tests_8dir_2src_2math_2point_8c_8o_8d.html", null ], - [ "rectangle.c.o.d", "d5/d62/tests_8dir_2src_2math_2rectangle_8c_8o_8d.html", null ], - [ "vector2.c.o.d", "d5/dc7/tests_8dir_2src_2math_2vector2_8c_8o_8d.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_9c33770e936321ba34955e10f41fa668.html b/doc/doxygen/html/dir_9c33770e936321ba34955e10f41fa668.html deleted file mode 100644 index 7866e60..0000000 --- a/doc/doxygen/html/dir_9c33770e936321ba34955e10f41fa668.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/3.31.2/CompilerIdC Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
CompilerIdC Directory Reference
-
-
- - - - -

-Files

 CMakeCCompilerId.c
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_9c33770e936321ba34955e10f41fa668.js b/doc/doxygen/html/dir_9c33770e936321ba34955e10f41fa668.js deleted file mode 100644 index dd329a2..0000000 --- a/doc/doxygen/html/dir_9c33770e936321ba34955e10f41fa668.js +++ /dev/null @@ -1,4 +0,0 @@ -var dir_9c33770e936321ba34955e10f41fa668 = -[ - [ "CMakeCCompilerId.c", "db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html", "db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_a3aae0d143abdcbbf7d60d64e23cfff9.html b/doc/doxygen/html/dir_a3aae0d143abdcbbf7d60d64e23cfff9.html deleted file mode 100644 index 7571fd6..0000000 --- a/doc/doxygen/html/dir_a3aae0d143abdcbbf7d60d64e23cfff9.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/audio/sdl Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
sdl Directory Reference
-
-
- - - - - - - - -

-Files

 audio.c
 
 audio.h
 
 config.c
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_a3aae0d143abdcbbf7d60d64e23cfff9.js b/doc/doxygen/html/dir_a3aae0d143abdcbbf7d60d64e23cfff9.js deleted file mode 100644 index 7e96316..0000000 --- a/doc/doxygen/html/dir_a3aae0d143abdcbbf7d60d64e23cfff9.js +++ /dev/null @@ -1,6 +0,0 @@ -var dir_a3aae0d143abdcbbf7d60d64e23cfff9 = -[ - [ "audio.c", "d3/d9a/audio_8c.html", "d3/d9a/audio_8c" ], - [ "audio.h", "d8/db1/packages_2audio_2sdl_2audio_8h.html", "d8/db1/packages_2audio_2sdl_2audio_8h" ], - [ "config.c", "d8/ddd/packages_2audio_2sdl_2config_8c.html", "d8/ddd/packages_2audio_2sdl_2config_8c" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_ac0697b564c96e18b8b1b2aae0d0e92d.html b/doc/doxygen/html/dir_ac0697b564c96e18b8b1b2aae0d0e92d.html deleted file mode 100644 index 0185ae7..0000000 --- a/doc/doxygen/html/dir_ac0697b564c96e18b8b1b2aae0d0e92d.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/math Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
math Directory Reference
-
-
- - - - - - - - - - - - - - -

-Files

 circle.c.o.d
 
 config.c.o.d
 
 obround.c.o.d
 
 point.c.o.d
 
 rectangle.c.o.d
 
 vector2.c.o.d
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_ac0697b564c96e18b8b1b2aae0d0e92d.js b/doc/doxygen/html/dir_ac0697b564c96e18b8b1b2aae0d0e92d.js deleted file mode 100644 index 8286270..0000000 --- a/doc/doxygen/html/dir_ac0697b564c96e18b8b1b2aae0d0e92d.js +++ /dev/null @@ -1,9 +0,0 @@ -var dir_ac0697b564c96e18b8b1b2aae0d0e92d = -[ - [ "circle.c.o.d", "d1/d77/archeus__std_8dir_2src_2math_2circle_8c_8o_8d.html", null ], - [ "config.c.o.d", "d5/dcc/archeus__std_8dir_2src_2math_2config_8c_8o_8d.html", null ], - [ "obround.c.o.d", "dd/d72/archeus__std_8dir_2src_2math_2obround_8c_8o_8d.html", null ], - [ "point.c.o.d", "dd/dc5/archeus__std_8dir_2src_2math_2point_8c_8o_8d.html", null ], - [ "rectangle.c.o.d", "d0/dc1/archeus__std_8dir_2src_2math_2rectangle_8c_8o_8d.html", null ], - [ "vector2.c.o.d", "d2/d0c/archeus__std_8dir_2src_2math_2vector2_8c_8o_8d.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_ad51ffe8b33deed52e38849f403bcdb5.html b/doc/doxygen/html/dir_ad51ffe8b33deed52e38849f403bcdb5.html deleted file mode 100644 index 0247035..0000000 --- a/doc/doxygen/html/dir_ad51ffe8b33deed52e38849f403bcdb5.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/opengl Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
opengl Directory Reference
-
-
- - - - - - - - - - - - - - - - - - - - - - -

-Files

 circle.c
 
 line.c
 
 obround.c
 
 rectangle.c
 
 sprite.c
 
 sprite.h
 
 spritesheet.c
 
 spritesheet.h
 
 text.c
 
 text.h
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_ad51ffe8b33deed52e38849f403bcdb5.js b/doc/doxygen/html/dir_ad51ffe8b33deed52e38849f403bcdb5.js deleted file mode 100644 index 0fe5dc6..0000000 --- a/doc/doxygen/html/dir_ad51ffe8b33deed52e38849f403bcdb5.js +++ /dev/null @@ -1,13 +0,0 @@ -var dir_ad51ffe8b33deed52e38849f403bcdb5 = -[ - [ "circle.c", "d7/dd8/packages_2graphics_2opengl_2circle_8c.html", null ], - [ "line.c", "dc/d3c/packages_2graphics_2opengl_2line_8c.html", null ], - [ "obround.c", "dc/db4/packages_2graphics_2opengl_2obround_8c.html", null ], - [ "rectangle.c", "d2/dba/packages_2graphics_2opengl_2rectangle_8c.html", null ], - [ "sprite.c", "de/d95/packages_2graphics_2opengl_2sprite_8c.html", null ], - [ "sprite.h", "dc/dc5/packages_2graphics_2opengl_2sprite_8h.html", null ], - [ "spritesheet.c", "d9/d5a/packages_2graphics_2opengl_2spritesheet_8c.html", null ], - [ "spritesheet.h", "db/d60/packages_2graphics_2opengl_2spritesheet_8h.html", null ], - [ "text.c", "d6/d94/packages_2graphics_2opengl_2text_8c.html", null ], - [ "text.h", "d8/dd5/packages_2graphics_2opengl_2text_8h.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_ae9a93452e2a84339148a16bcf2eb561.html b/doc/doxygen/html/dir_ae9a93452e2a84339148a16bcf2eb561.html deleted file mode 100644 index a56da3f..0000000 --- a/doc/doxygen/html/dir_ae9a93452e2a84339148a16bcf2eb561.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/math Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
math Directory Reference
-
-
- - - - - - - - - - - - - - -

-Files

 circle.c
 
 config.c
 
 obround.c
 
 point.c
 
 rectangle.c
 
 vector2.c
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_ae9a93452e2a84339148a16bcf2eb561.js b/doc/doxygen/html/dir_ae9a93452e2a84339148a16bcf2eb561.js deleted file mode 100644 index 8d4f588..0000000 --- a/doc/doxygen/html/dir_ae9a93452e2a84339148a16bcf2eb561.js +++ /dev/null @@ -1,9 +0,0 @@ -var dir_ae9a93452e2a84339148a16bcf2eb561 = -[ - [ "circle.c", "dc/d60/src_2math_2circle_8c.html", null ], - [ "config.c", "de/d8a/src_2math_2config_8c.html", "de/d8a/src_2math_2config_8c" ], - [ "obround.c", "d5/df6/src_2math_2obround_8c.html", "d5/df6/src_2math_2obround_8c" ], - [ "point.c", "d4/d5c/point_8c.html", "d4/d5c/point_8c" ], - [ "rectangle.c", "d9/d09/src_2math_2rectangle_8c.html", "d9/d09/src_2math_2rectangle_8c" ], - [ "vector2.c", "de/de6/vector2_8c.html", "de/de6/vector2_8c" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_af6e6c3357835c7f766dfcaf351d30ad.html b/doc/doxygen/html/dir_af6e6c3357835c7f766dfcaf351d30ad.html deleted file mode 100644 index 8bac259..0000000 --- a/doc/doxygen/html/dir_af6e6c3357835c7f766dfcaf351d30ad.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
graphics Directory Reference
-
-
- - - - - - - - -

-Directories

 glfw
 
 opengl
 
 sdl
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_af6e6c3357835c7f766dfcaf351d30ad.js b/doc/doxygen/html/dir_af6e6c3357835c7f766dfcaf351d30ad.js deleted file mode 100644 index bdc646e..0000000 --- a/doc/doxygen/html/dir_af6e6c3357835c7f766dfcaf351d30ad.js +++ /dev/null @@ -1,6 +0,0 @@ -var dir_af6e6c3357835c7f766dfcaf351d30ad = -[ - [ "glfw", "dir_c1c3ed0f1e7db0ff79e193ba6ffad3e2.html", "dir_c1c3ed0f1e7db0ff79e193ba6ffad3e2" ], - [ "opengl", "dir_ad51ffe8b33deed52e38849f403bcdb5.html", "dir_ad51ffe8b33deed52e38849f403bcdb5" ], - [ "sdl", "dir_384bcd99d3b936f9e95fe1cb5def6f01.html", "dir_384bcd99d3b936f9e95fe1cb5def6f01" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_b29a8eaba25fe5828ebef328b36f3b30.html b/doc/doxygen/html/dir_b29a8eaba25fe5828ebef328b36f3b30.html deleted file mode 100644 index 9d9d776..0000000 --- a/doc/doxygen/html/dir_b29a8eaba25fe5828ebef328b36f3b30.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/engine Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
engine Directory Reference
-
-
- - - - - - - - -

-Files

 ecs.h
 
 engine.h
 
 state.h
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_b29a8eaba25fe5828ebef328b36f3b30.js b/doc/doxygen/html/dir_b29a8eaba25fe5828ebef328b36f3b30.js deleted file mode 100644 index 62107ac..0000000 --- a/doc/doxygen/html/dir_b29a8eaba25fe5828ebef328b36f3b30.js +++ /dev/null @@ -1,6 +0,0 @@ -var dir_b29a8eaba25fe5828ebef328b36f3b30 = -[ - [ "ecs.h", "d3/d76/ecs_8h.html", "d3/d76/ecs_8h" ], - [ "engine.h", "d1/d55/engine_8h.html", "d1/d55/engine_8h" ], - [ "state.h", "db/d3b/state_8h.html", "db/d3b/state_8h" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_b3e500eb3a6fe660b1141f591e523c76.html b/doc/doxygen/html/dir_b3e500eb3a6fe660b1141f591e523c76.html deleted file mode 100644 index 0011b77..0000000 --- a/doc/doxygen/html/dir_b3e500eb3a6fe660b1141f591e523c76.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
std Directory Reference
-
-
- - - - - - -

-Directories

 defaults
 
 parser
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Files

 array.h
 
 bool.h
 
 chemical.h
 
 config.h
 
 errno.h
 
 handler.h
 
 hashtable.h
 
 io.h
 
 lexer.h
 
 parser.h
 
 queue.h
 
 stack.h
 
 string.h
 
 time.h
 
 vector.h
 creates and outlines a dynamic array type and its functions
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_b3e500eb3a6fe660b1141f591e523c76.js b/doc/doxygen/html/dir_b3e500eb3a6fe660b1141f591e523c76.js deleted file mode 100644 index de07dc8..0000000 --- a/doc/doxygen/html/dir_b3e500eb3a6fe660b1141f591e523c76.js +++ /dev/null @@ -1,20 +0,0 @@ -var dir_b3e500eb3a6fe660b1141f591e523c76 = -[ - [ "defaults", "dir_4674e85715d023eabe12f929a557712f.html", "dir_4674e85715d023eabe12f929a557712f" ], - [ "parser", "dir_e3135e82d92383077dc2ae889e637794.html", "dir_e3135e82d92383077dc2ae889e637794" ], - [ "array.h", "db/d63/array_8h.html", "db/d63/array_8h" ], - [ "bool.h", "d8/d77/bool_8h.html", "d8/d77/bool_8h" ], - [ "chemical.h", "de/de8/chemical_8h.html", "de/de8/chemical_8h" ], - [ "config.h", "d3/d58/std_2config_8h.html", "d3/d58/std_2config_8h" ], - [ "errno.h", "d8/dc2/errno_8h.html", "d8/dc2/errno_8h" ], - [ "handler.h", "dd/dee/handler_8h.html", "dd/dee/handler_8h" ], - [ "hashtable.h", "dd/d16/hashtable_8h.html", "dd/d16/hashtable_8h" ], - [ "io.h", "dc/dac/io_8h.html", "dc/dac/io_8h" ], - [ "lexer.h", "d5/df3/lexer_8h.html", "d5/df3/lexer_8h" ], - [ "parser.h", "d5/d36/parser_8h.html", "d5/d36/parser_8h" ], - [ "queue.h", "d8/d38/queue_8h.html", "d8/d38/queue_8h" ], - [ "stack.h", "d7/de0/stack_8h.html", "d7/de0/stack_8h" ], - [ "string.h", "da/d66/string_8h.html", "da/d66/string_8h" ], - [ "time.h", "de/df7/time_8h.html", "de/df7/time_8h" ], - [ "vector.h", "d6/d68/vector_8h.html", "d6/d68/vector_8h" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_b9e3eff3b82e60db2871e444fb0ec7a9.html b/doc/doxygen/html/dir_b9e3eff3b82e60db2871e444fb0ec7a9.html deleted file mode 100644 index baa192e..0000000 --- a/doc/doxygen/html/dir_b9e3eff3b82e60db2871e444fb0ec7a9.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/std/defaults Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
defaults Directory Reference
-
-
- - - - -

-Files

 config.c.o.d
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_b9e3eff3b82e60db2871e444fb0ec7a9.js b/doc/doxygen/html/dir_b9e3eff3b82e60db2871e444fb0ec7a9.js deleted file mode 100644 index 5dc3c10..0000000 --- a/doc/doxygen/html/dir_b9e3eff3b82e60db2871e444fb0ec7a9.js +++ /dev/null @@ -1,4 +0,0 @@ -var dir_b9e3eff3b82e60db2871e444fb0ec7a9 = -[ - [ "config.c.o.d", "d0/db4/tests_8dir_2src_2std_2defaults_2config_8c_8o_8d.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_beba8fde51bfc57b68b9250b4fe33f5c.html b/doc/doxygen/html/dir_beba8fde51bfc57b68b9250b4fe33f5c.html deleted file mode 100644 index b87ecad..0000000 --- a/doc/doxygen/html/dir_beba8fde51bfc57b68b9250b4fe33f5c.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/console Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
console Directory Reference
-
-
- - - - - - - - - - - - -

-Files

 buffer.h
 
 element.h
 
 key.h
 
 shell.h
 
 view.h
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_beba8fde51bfc57b68b9250b4fe33f5c.js b/doc/doxygen/html/dir_beba8fde51bfc57b68b9250b4fe33f5c.js deleted file mode 100644 index c4c90bb..0000000 --- a/doc/doxygen/html/dir_beba8fde51bfc57b68b9250b4fe33f5c.js +++ /dev/null @@ -1,8 +0,0 @@ -var dir_beba8fde51bfc57b68b9250b4fe33f5c = -[ - [ "buffer.h", "d5/d08/buffer_8h.html", "d5/d08/buffer_8h" ], - [ "element.h", "d4/dfe/element_8h.html", "d4/dfe/element_8h" ], - [ "key.h", "de/de5/key_8h.html", "de/de5/key_8h" ], - [ "shell.h", "df/d03/shell_8h.html", "df/d03/shell_8h" ], - [ "view.h", "d6/d7e/console_2view_8h.html", "d6/d7e/console_2view_8h" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_bec16ba743e08072affe6b2eea082d36.html b/doc/doxygen/html/dir_bec16ba743e08072affe6b2eea082d36.html deleted file mode 100644 index 035dddd..0000000 --- a/doc/doxygen/html/dir_bec16ba743e08072affe6b2eea082d36.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/input Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
input Directory Reference
-
-
- - - - - - - - -

-Files

 input.c.o.d
 
 keyboard.c.o.d
 
 mouse.c.o.d
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_bec16ba743e08072affe6b2eea082d36.js b/doc/doxygen/html/dir_bec16ba743e08072affe6b2eea082d36.js deleted file mode 100644 index 3479b42..0000000 --- a/doc/doxygen/html/dir_bec16ba743e08072affe6b2eea082d36.js +++ /dev/null @@ -1,6 +0,0 @@ -var dir_bec16ba743e08072affe6b2eea082d36 = -[ - [ "input.c.o.d", "d7/d3c/archeus__std_8dir_2src_2input_2input_8c_8o_8d.html", null ], - [ "keyboard.c.o.d", "d0/d17/archeus__std_8dir_2src_2input_2keyboard_8c_8o_8d.html", null ], - [ "mouse.c.o.d", "dc/df6/archeus__std_8dir_2src_2input_2mouse_8c_8o_8d.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_c1c3ed0f1e7db0ff79e193ba6ffad3e2.html b/doc/doxygen/html/dir_c1c3ed0f1e7db0ff79e193ba6ffad3e2.html deleted file mode 100644 index 43e5ce3..0000000 --- a/doc/doxygen/html/dir_c1c3ed0f1e7db0ff79e193ba6ffad3e2.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/graphics/glfw Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
glfw Directory Reference
-
-
- - - - - - - - - - - - -

-Files

 config.c
 
 renderer.c
 
 renderer.h
 
 window.c
 
 window.h
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_c1c3ed0f1e7db0ff79e193ba6ffad3e2.js b/doc/doxygen/html/dir_c1c3ed0f1e7db0ff79e193ba6ffad3e2.js deleted file mode 100644 index 6cb7250..0000000 --- a/doc/doxygen/html/dir_c1c3ed0f1e7db0ff79e193ba6ffad3e2.js +++ /dev/null @@ -1,8 +0,0 @@ -var dir_c1c3ed0f1e7db0ff79e193ba6ffad3e2 = -[ - [ "config.c", "d9/d9f/packages_2graphics_2glfw_2config_8c.html", null ], - [ "renderer.c", "dd/ddd/packages_2graphics_2glfw_2renderer_8c.html", null ], - [ "renderer.h", "d8/d6d/packages_2graphics_2glfw_2renderer_8h.html", null ], - [ "window.c", "d7/d08/packages_2graphics_2glfw_2window_8c.html", null ], - [ "window.h", "d5/d2a/packages_2graphics_2glfw_2window_8h.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_cd72573f226dc6c10f54b9062fdbdd4d.html b/doc/doxygen/html/dir_cd72573f226dc6c10f54b9062fdbdd4d.html deleted file mode 100644 index 19892f9..0000000 --- a/doc/doxygen/html/dir_cd72573f226dc6c10f54b9062fdbdd4d.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
src Directory Reference
-
-
- - - - - - - - - - - - - - -

-Directories

 engine
 
 files
 
 graphics
 
 input
 
 math
 
 std
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_cd72573f226dc6c10f54b9062fdbdd4d.js b/doc/doxygen/html/dir_cd72573f226dc6c10f54b9062fdbdd4d.js deleted file mode 100644 index be84227..0000000 --- a/doc/doxygen/html/dir_cd72573f226dc6c10f54b9062fdbdd4d.js +++ /dev/null @@ -1,9 +0,0 @@ -var dir_cd72573f226dc6c10f54b9062fdbdd4d = -[ - [ "engine", "dir_29d0c141dfe07fbd3b448a97ed048de8.html", "dir_29d0c141dfe07fbd3b448a97ed048de8" ], - [ "files", "dir_f984958c5f374b898f140c102df5299f.html", "dir_f984958c5f374b898f140c102df5299f" ], - [ "graphics", "dir_d11220183916186425735b00db5d9816.html", "dir_d11220183916186425735b00db5d9816" ], - [ "input", "dir_f167314a7ea0a344943dd90acf082a89.html", "dir_f167314a7ea0a344943dd90acf082a89" ], - [ "math", "dir_98ffd4beff65168e3bae17ec0bd21166.html", "dir_98ffd4beff65168e3bae17ec0bd21166" ], - [ "std", "dir_00ee88e1b425f7ddaec4195e254db132.html", "dir_00ee88e1b425f7ddaec4195e254db132" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_ce58f86fb6c402a20d8a44d53d2989b0.html b/doc/doxygen/html/dir_ce58f86fb6c402a20d8a44d53d2989b0.html deleted file mode 100644 index 00f4564..0000000 --- a/doc/doxygen/html/dir_ce58f86fb6c402a20d8a44d53d2989b0.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/3.31.3 Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
3.31.3 Directory Reference
-
-
- - - - -

-Directories

 CompilerIdC
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_ce58f86fb6c402a20d8a44d53d2989b0.js b/doc/doxygen/html/dir_ce58f86fb6c402a20d8a44d53d2989b0.js deleted file mode 100644 index e847f5b..0000000 --- a/doc/doxygen/html/dir_ce58f86fb6c402a20d8a44d53d2989b0.js +++ /dev/null @@ -1,4 +0,0 @@ -var dir_ce58f86fb6c402a20d8a44d53d2989b0 = -[ - [ "CompilerIdC", "dir_68472d21c045480741914e1e67562a4d.html", "dir_68472d21c045480741914e1e67562a4d" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_d11220183916186425735b00db5d9816.html b/doc/doxygen/html/dir_d11220183916186425735b00db5d9816.html deleted file mode 100644 index d7cb35b..0000000 --- a/doc/doxygen/html/dir_d11220183916186425735b00db5d9816.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/graphics Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
graphics Directory Reference
-
-
- - - - - - - - - - - - - - - - - - - - - - -

-Files

 circle.c.o.d
 
 config.c.o.d
 
 line.c.o.d
 
 obround.c.o.d
 
 rectangle.c.o.d
 
 renderer.c.o.d
 
 sprite.c.o.d
 
 spritesheet.c.o.d
 
 text.c.o.d
 
 window.c.o.d
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_d11220183916186425735b00db5d9816.js b/doc/doxygen/html/dir_d11220183916186425735b00db5d9816.js deleted file mode 100644 index 468f61a..0000000 --- a/doc/doxygen/html/dir_d11220183916186425735b00db5d9816.js +++ /dev/null @@ -1,13 +0,0 @@ -var dir_d11220183916186425735b00db5d9816 = -[ - [ "circle.c.o.d", "d9/d39/tests_8dir_2src_2graphics_2circle_8c_8o_8d.html", null ], - [ "config.c.o.d", "da/dbc/tests_8dir_2src_2graphics_2config_8c_8o_8d.html", null ], - [ "line.c.o.d", "da/d56/tests_8dir_2src_2graphics_2line_8c_8o_8d.html", null ], - [ "obround.c.o.d", "dd/dbf/tests_8dir_2src_2graphics_2obround_8c_8o_8d.html", null ], - [ "rectangle.c.o.d", "df/d7a/tests_8dir_2src_2graphics_2rectangle_8c_8o_8d.html", null ], - [ "renderer.c.o.d", "d1/d37/tests_8dir_2src_2graphics_2renderer_8c_8o_8d.html", null ], - [ "sprite.c.o.d", "d1/d41/tests_8dir_2src_2graphics_2sprite_8c_8o_8d.html", null ], - [ "spritesheet.c.o.d", "d2/dbb/tests_8dir_2src_2graphics_2spritesheet_8c_8o_8d.html", null ], - [ "text.c.o.d", "de/d1e/tests_8dir_2src_2graphics_2text_8c_8o_8d.html", null ], - [ "window.c.o.d", "d5/d73/tests_8dir_2src_2graphics_2window_8c_8o_8d.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_d1ecdd01b8fada8604b50b93b61a4e5a.html b/doc/doxygen/html/dir_d1ecdd01b8fada8604b50b93b61a4e5a.html deleted file mode 100644 index 398022e..0000000 --- a/doc/doxygen/html/dir_d1ecdd01b8fada8604b50b93b61a4e5a.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/packages/audio Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
audio Directory Reference
-
-
- - - - -

-Directories

 sdl
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_d1ecdd01b8fada8604b50b93b61a4e5a.js b/doc/doxygen/html/dir_d1ecdd01b8fada8604b50b93b61a4e5a.js deleted file mode 100644 index 203eb86..0000000 --- a/doc/doxygen/html/dir_d1ecdd01b8fada8604b50b93b61a4e5a.js +++ /dev/null @@ -1,4 +0,0 @@ -var dir_d1ecdd01b8fada8604b50b93b61a4e5a = -[ - [ "sdl", "dir_a3aae0d143abdcbbf7d60d64e23cfff9.html", "dir_a3aae0d143abdcbbf7d60d64e23cfff9" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_d365e15d984c8d0205117ee0c40d6716.html b/doc/doxygen/html/dir_d365e15d984c8d0205117ee0c40d6716.html deleted file mode 100644 index fa00722..0000000 --- a/doc/doxygen/html/dir_d365e15d984c8d0205117ee0c40d6716.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/input Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
input Directory Reference
-
-
- - - - - - - - -

-Files

 input.c
 
 keyboard.c
 
 mouse.c
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_d365e15d984c8d0205117ee0c40d6716.js b/doc/doxygen/html/dir_d365e15d984c8d0205117ee0c40d6716.js deleted file mode 100644 index 5ee2adc..0000000 --- a/doc/doxygen/html/dir_d365e15d984c8d0205117ee0c40d6716.js +++ /dev/null @@ -1,6 +0,0 @@ -var dir_d365e15d984c8d0205117ee0c40d6716 = -[ - [ "input.c", "d6/d85/src_2input_2input_8c.html", "d6/d85/src_2input_2input_8c" ], - [ "keyboard.c", "d8/d71/src_2input_2keyboard_8c.html", null ], - [ "mouse.c", "d4/d52/src_2input_2mouse_8c.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_d44c64559bbebec7f509842c48db8b23.html b/doc/doxygen/html/dir_d44c64559bbebec7f509842c48db8b23.html deleted file mode 100644 index 8dfa582..0000000 --- a/doc/doxygen/html/dir_d44c64559bbebec7f509842c48db8b23.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
include Directory Reference
-
-
- - - - -

-Directories

 arc
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_d44c64559bbebec7f509842c48db8b23.js b/doc/doxygen/html/dir_d44c64559bbebec7f509842c48db8b23.js deleted file mode 100644 index 7d82d71..0000000 --- a/doc/doxygen/html/dir_d44c64559bbebec7f509842c48db8b23.js +++ /dev/null @@ -1,4 +0,0 @@ -var dir_d44c64559bbebec7f509842c48db8b23 = -[ - [ "arc", "dir_8698ff38f6ae643760cdad826b9d4736.html", "dir_8698ff38f6ae643760cdad826b9d4736" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_d73f2787a5aec4ff153a305f674170cb.html b/doc/doxygen/html/dir_d73f2787a5aec4ff153a305f674170cb.html deleted file mode 100644 index c5cafce..0000000 --- a/doc/doxygen/html/dir_d73f2787a5aec4ff153a305f674170cb.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
tests.dir Directory Reference
-
-
- - - - - - -

-Directories

 src
 
 tests
 
- - - -

-Files

 link.d
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_d73f2787a5aec4ff153a305f674170cb.js b/doc/doxygen/html/dir_d73f2787a5aec4ff153a305f674170cb.js deleted file mode 100644 index 9e96f30..0000000 --- a/doc/doxygen/html/dir_d73f2787a5aec4ff153a305f674170cb.js +++ /dev/null @@ -1,6 +0,0 @@ -var dir_d73f2787a5aec4ff153a305f674170cb = -[ - [ "src", "dir_cd72573f226dc6c10f54b9062fdbdd4d.html", "dir_cd72573f226dc6c10f54b9062fdbdd4d" ], - [ "tests", "dir_2795c06419c71269fc9fb411358a993a.html", "dir_2795c06419c71269fc9fb411358a993a" ], - [ "link.d", "db/de0/tests_8dir_2link_8d.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_dbf9480175308ae732cb8d3712ebefd9.html b/doc/doxygen/html/dir_dbf9480175308ae732cb8d3712ebefd9.html deleted file mode 100644 index 7f579af..0000000 --- a/doc/doxygen/html/dir_dbf9480175308ae732cb8d3712ebefd9.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/3.31.0/CompilerIdC Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
CompilerIdC Directory Reference
-
-
- - - - -

-Files

 CMakeCCompilerId.c
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_dbf9480175308ae732cb8d3712ebefd9.js b/doc/doxygen/html/dir_dbf9480175308ae732cb8d3712ebefd9.js deleted file mode 100644 index 170484a..0000000 --- a/doc/doxygen/html/dir_dbf9480175308ae732cb8d3712ebefd9.js +++ /dev/null @@ -1,4 +0,0 @@ -var dir_dbf9480175308ae732cb8d3712ebefd9 = -[ - [ "CMakeCCompilerId.c", "d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html", "d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_e1e6d6205f1f2bb361dce2a25d40e4a1.html b/doc/doxygen/html/dir_e1e6d6205f1f2bb361dce2a25d40e4a1.html deleted file mode 100644 index 2b45d93..0000000 --- a/doc/doxygen/html/dir_e1e6d6205f1f2bb361dce2a25d40e4a1.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/networking Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
networking Directory Reference
-
-
- - - - -

-Files

 ssh.h
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_e1e6d6205f1f2bb361dce2a25d40e4a1.js b/doc/doxygen/html/dir_e1e6d6205f1f2bb361dce2a25d40e4a1.js deleted file mode 100644 index c39c2fd..0000000 --- a/doc/doxygen/html/dir_e1e6d6205f1f2bb361dce2a25d40e4a1.js +++ /dev/null @@ -1,4 +0,0 @@ -var dir_e1e6d6205f1f2bb361dce2a25d40e4a1 = -[ - [ "ssh.h", "d8/dd3/ssh_8h.html", "d8/dd3/ssh_8h" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_e3135e82d92383077dc2ae889e637794.html b/doc/doxygen/html/dir_e3135e82d92383077dc2ae889e637794.html deleted file mode 100644 index dc19dc8..0000000 --- a/doc/doxygen/html/dir_e3135e82d92383077dc2ae889e637794.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/parser Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
parser Directory Reference
-
-
- - - - - - - - -

-Files

 csv.h
 
 helpers.h
 
 parserlang.h
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_e3135e82d92383077dc2ae889e637794.js b/doc/doxygen/html/dir_e3135e82d92383077dc2ae889e637794.js deleted file mode 100644 index ff24cee..0000000 --- a/doc/doxygen/html/dir_e3135e82d92383077dc2ae889e637794.js +++ /dev/null @@ -1,6 +0,0 @@ -var dir_e3135e82d92383077dc2ae889e637794 = -[ - [ "csv.h", "d3/d8e/csv_8h.html", "d3/d8e/csv_8h" ], - [ "helpers.h", "d1/d98/helpers_8h.html", "d1/d98/helpers_8h" ], - [ "parserlang.h", "dd/d0d/parserlang_8h.html", "dd/d0d/parserlang_8h" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_e86ec9f70dc763f43ea709e4264f0e24.html b/doc/doxygen/html/dir_e86ec9f70dc763f43ea709e4264f0e24.html deleted file mode 100644 index 3b027ee..0000000 --- a/doc/doxygen/html/dir_e86ec9f70dc763f43ea709e4264f0e24.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/include/arc/audio Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
audio Directory Reference
-
-
- - - - - - -

-Files

 audio.h
 
 config.h
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_e86ec9f70dc763f43ea709e4264f0e24.js b/doc/doxygen/html/dir_e86ec9f70dc763f43ea709e4264f0e24.js deleted file mode 100644 index aeec36a..0000000 --- a/doc/doxygen/html/dir_e86ec9f70dc763f43ea709e4264f0e24.js +++ /dev/null @@ -1,5 +0,0 @@ -var dir_e86ec9f70dc763f43ea709e4264f0e24 = -[ - [ "audio.h", "da/d09/audio_8h.html", "da/d09/audio_8h" ], - [ "config.h", "df/df7/audio_2config_8h.html", "df/df7/audio_2config_8h" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_e933f075b9a5929f0ce275b11b2e8443.html b/doc/doxygen/html/dir_e933f075b9a5929f0ce275b11b2e8443.html deleted file mode 100644 index 16a5101..0000000 --- a/doc/doxygen/html/dir_e933f075b9a5929f0ce275b11b2e8443.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir/src/std/parser Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
parser Directory Reference
-
-
- - - - - - - - -

-Files

 csv.c.o.d
 
 helpers.c.o.d
 
 parserlang.c.o.d
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_e933f075b9a5929f0ce275b11b2e8443.js b/doc/doxygen/html/dir_e933f075b9a5929f0ce275b11b2e8443.js deleted file mode 100644 index 00ff27a..0000000 --- a/doc/doxygen/html/dir_e933f075b9a5929f0ce275b11b2e8443.js +++ /dev/null @@ -1,6 +0,0 @@ -var dir_e933f075b9a5929f0ce275b11b2e8443 = -[ - [ "csv.c.o.d", "d6/d75/archeus__std_8dir_2src_2std_2parser_2csv_8c_8o_8d.html", null ], - [ "helpers.c.o.d", "d1/d97/archeus__std_8dir_2src_2std_2parser_2helpers_8c_8o_8d.html", null ], - [ "parserlang.c.o.d", "d2/df0/archeus__std_8dir_2src_2std_2parser_2parserlang_8c_8o_8d.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_f0be7a42b269f35efaacb499c42a3b1e.html b/doc/doxygen/html/dir_f0be7a42b269f35efaacb499c42a3b1e.html deleted file mode 100644 index 1a18b78..0000000 --- a/doc/doxygen/html/dir_f0be7a42b269f35efaacb499c42a3b1e.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/archeus_std.dir Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
archeus_std.dir Directory Reference
-
-
- - - - -

-Directories

 src
 
- - - -

-Files

 link.d
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_f0be7a42b269f35efaacb499c42a3b1e.js b/doc/doxygen/html/dir_f0be7a42b269f35efaacb499c42a3b1e.js deleted file mode 100644 index bc2afd7..0000000 --- a/doc/doxygen/html/dir_f0be7a42b269f35efaacb499c42a3b1e.js +++ /dev/null @@ -1,5 +0,0 @@ -var dir_f0be7a42b269f35efaacb499c42a3b1e = -[ - [ "src", "dir_4befb2d6cf456f6f5659a6d11734df7d.html", "dir_4befb2d6cf456f6f5659a6d11734df7d" ], - [ "link.d", "d2/de7/archeus__std_8dir_2link_8d.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_f167314a7ea0a344943dd90acf082a89.html b/doc/doxygen/html/dir_f167314a7ea0a344943dd90acf082a89.html deleted file mode 100644 index f5d697e..0000000 --- a/doc/doxygen/html/dir_f167314a7ea0a344943dd90acf082a89.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/input Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
input Directory Reference
-
-
- - - - - - - - -

-Files

 input.c.o.d
 
 keyboard.c.o.d
 
 mouse.c.o.d
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_f167314a7ea0a344943dd90acf082a89.js b/doc/doxygen/html/dir_f167314a7ea0a344943dd90acf082a89.js deleted file mode 100644 index 140f11e..0000000 --- a/doc/doxygen/html/dir_f167314a7ea0a344943dd90acf082a89.js +++ /dev/null @@ -1,6 +0,0 @@ -var dir_f167314a7ea0a344943dd90acf082a89 = -[ - [ "input.c.o.d", "d6/d0d/tests_8dir_2src_2input_2input_8c_8o_8d.html", null ], - [ "keyboard.c.o.d", "d5/d83/tests_8dir_2src_2input_2keyboard_8c_8o_8d.html", null ], - [ "mouse.c.o.d", "da/dbb/tests_8dir_2src_2input_2mouse_8c_8o_8d.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_f87cf45cf3971bc7842866b110ab565f.html b/doc/doxygen/html/dir_f87cf45cf3971bc7842866b110ab565f.html deleted file mode 100644 index d423a6e..0000000 --- a/doc/doxygen/html/dir_f87cf45cf3971bc7842866b110ab565f.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/3.30.5 Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
3.30.5 Directory Reference
-
-
- - - - -

-Directories

 CompilerIdC
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_f87cf45cf3971bc7842866b110ab565f.js b/doc/doxygen/html/dir_f87cf45cf3971bc7842866b110ab565f.js deleted file mode 100644 index d17aec6..0000000 --- a/doc/doxygen/html/dir_f87cf45cf3971bc7842866b110ab565f.js +++ /dev/null @@ -1,4 +0,0 @@ -var dir_f87cf45cf3971bc7842866b110ab565f = -[ - [ "CompilerIdC", "dir_4197791ff18dd02c801bc5b43bba3f61.html", "dir_4197791ff18dd02c801bc5b43bba3f61" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_f984958c5f374b898f140c102df5299f.html b/doc/doxygen/html/dir_f984958c5f374b898f140c102df5299f.html deleted file mode 100644 index 9a43533..0000000 --- a/doc/doxygen/html/dir_f984958c5f374b898f140c102df5299f.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/build/CMakeFiles/tests.dir/src/files Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
files Directory Reference
-
-
- - - - -

-Files

 config.c.o.d
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_f984958c5f374b898f140c102df5299f.js b/doc/doxygen/html/dir_f984958c5f374b898f140c102df5299f.js deleted file mode 100644 index f949d86..0000000 --- a/doc/doxygen/html/dir_f984958c5f374b898f140c102df5299f.js +++ /dev/null @@ -1,4 +0,0 @@ -var dir_f984958c5f374b898f140c102df5299f = -[ - [ "config.c.o.d", "d2/d1f/tests_8dir_2src_2files_2config_8c_8o_8d.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/dir_fe9004854c8f0f3cfbfe7f330be58a96.html b/doc/doxygen/html/dir_fe9004854c8f0f3cfbfe7f330be58a96.html deleted file mode 100644 index ac62325..0000000 --- a/doc/doxygen/html/dir_fe9004854c8f0f3cfbfe7f330be58a96.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - - - -Archeus: /home/herbglitch/programs/archeus/arc/src/std Directory Reference - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
std Directory Reference
-
-
- - - - - - -

-Directories

 defaults
 
 parser
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Files

 chemical.c
 
 config.c
 
 errno.c
 
 handler.c
 
 hashtable.c
 
 io.c
 
 lexer.c
 
 parser.c
 
 queue.c
 
 stack.c
 
 string.c
 
 time.c
 
 vector.c
 
-
-
- - - - - - diff --git a/doc/doxygen/html/dir_fe9004854c8f0f3cfbfe7f330be58a96.js b/doc/doxygen/html/dir_fe9004854c8f0f3cfbfe7f330be58a96.js deleted file mode 100644 index 724a2e9..0000000 --- a/doc/doxygen/html/dir_fe9004854c8f0f3cfbfe7f330be58a96.js +++ /dev/null @@ -1,18 +0,0 @@ -var dir_fe9004854c8f0f3cfbfe7f330be58a96 = -[ - [ "defaults", "dir_0dcf4f7c6544b1354195e075c2917c00.html", "dir_0dcf4f7c6544b1354195e075c2917c00" ], - [ "parser", "dir_0cddbdba956d28cc5c2a9c72cbf1dc5d.html", "dir_0cddbdba956d28cc5c2a9c72cbf1dc5d" ], - [ "chemical.c", "da/d10/src_2std_2chemical_8c.html", "da/d10/src_2std_2chemical_8c" ], - [ "config.c", "d8/d5c/src_2std_2config_8c.html", "d8/d5c/src_2std_2config_8c" ], - [ "errno.c", "d0/d90/errno_8c.html", "d0/d90/errno_8c" ], - [ "handler.c", "db/dd1/handler_8c.html", "db/dd1/handler_8c" ], - [ "hashtable.c", "d8/de9/hashtable_8c.html", "d8/de9/hashtable_8c" ], - [ "io.c", "df/d0a/io_8c.html", "df/d0a/io_8c" ], - [ "lexer.c", "da/d24/src_2std_2lexer_8c.html", "da/d24/src_2std_2lexer_8c" ], - [ "parser.c", "d1/d88/src_2std_2parser_8c.html", "d1/d88/src_2std_2parser_8c" ], - [ "queue.c", "d2/dbd/queue_8c.html", "d2/dbd/queue_8c" ], - [ "stack.c", "d3/dbb/stack_8c.html", "d3/dbb/stack_8c" ], - [ "string.c", "d1/db0/string_8c.html", "d1/db0/string_8c" ], - [ "time.c", "df/d73/time_8c.html", "df/d73/time_8c" ], - [ "vector.c", "df/d6b/src_2std_2vector_8c.html", "df/d6b/src_2std_2vector_8c" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/doc.svg b/doc/doxygen/html/doc.svg deleted file mode 100644 index 0b928a5..0000000 --- a/doc/doxygen/html/doc.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - diff --git a/doc/doxygen/html/docd.svg b/doc/doxygen/html/docd.svg deleted file mode 100644 index ac18b27..0000000 --- a/doc/doxygen/html/docd.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - diff --git a/doc/doxygen/html/doxygen-awesome-darkmode-toggle.js b/doc/doxygen/html/doxygen-awesome-darkmode-toggle.js deleted file mode 100644 index ae72bf7..0000000 --- a/doc/doxygen/html/doxygen-awesome-darkmode-toggle.js +++ /dev/null @@ -1,115 +0,0 @@ -/** - -Doxygen Awesome -https://github.com/jothepro/doxygen-awesome-css - -MIT License - -Copyright (c) 2021 jothepro - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -*/ - -class DoxygenAwesomeDarkModeToggle extends HTMLElement { - static prefersLightModeInDarkModeKey = "prefers-light-mode-in-dark-mode" - static prefersDarkModeInLightModeKey = "prefers-dark-mode-in-light-mode" - - static _staticConstructor = function() { - DoxygenAwesomeDarkModeToggle.darkModeEnabled = DoxygenAwesomeDarkModeToggle.userPreference - DoxygenAwesomeDarkModeToggle.enableDarkMode(DoxygenAwesomeDarkModeToggle.darkModeEnabled) - // Update the color scheme when the browsers preference changes - // without user interaction on the website. - window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', event => { - DoxygenAwesomeDarkModeToggle.onSystemPreferenceChanged() - }) - // Update the color scheme when the tab is made visible again. - // It is possible that the appearance was changed in another tab - // while this tab was in the background. - document.addEventListener("visibilitychange", visibilityState => { - if (document.visibilityState === 'visible') { - DoxygenAwesomeDarkModeToggle.onSystemPreferenceChanged() - } - }); - }() - - constructor() { - super(); - this.onclick=this.toggleDarkMode - } - - /** - * @returns `true` for dark-mode, `false` for light-mode system preference - */ - static get systemPreference() { - return window.matchMedia('(prefers-color-scheme: dark)').matches - } - - /** - * @returns `true` for dark-mode, `false` for light-mode user preference - */ - static get userPreference() { - return (!DoxygenAwesomeDarkModeToggle.systemPreference && localStorage.getItem(DoxygenAwesomeDarkModeToggle.prefersDarkModeInLightModeKey)) || - (DoxygenAwesomeDarkModeToggle.systemPreference && !localStorage.getItem(DoxygenAwesomeDarkModeToggle.prefersLightModeInDarkModeKey)) - } - - static set userPreference(userPreference) { - DoxygenAwesomeDarkModeToggle.darkModeEnabled = userPreference - if(!userPreference) { - if(DoxygenAwesomeDarkModeToggle.systemPreference) { - localStorage.setItem(DoxygenAwesomeDarkModeToggle.prefersLightModeInDarkModeKey, true) - } else { - localStorage.removeItem(DoxygenAwesomeDarkModeToggle.prefersDarkModeInLightModeKey) - } - } else { - if(!DoxygenAwesomeDarkModeToggle.systemPreference) { - localStorage.setItem(DoxygenAwesomeDarkModeToggle.prefersDarkModeInLightModeKey, true) - } else { - localStorage.removeItem(DoxygenAwesomeDarkModeToggle.prefersLightModeInDarkModeKey) - } - } - DoxygenAwesomeDarkModeToggle.onUserPreferenceChanged() - } - - static enableDarkMode(enable) { - let head = document.getElementsByTagName('head')[0] - if(enable) { - document.documentElement.classList.add("dark-mode") - document.documentElement.classList.remove("light-mode") - } else { - document.documentElement.classList.remove("dark-mode") - document.documentElement.classList.add("light-mode") - } - } - - static onSystemPreferenceChanged() { - DoxygenAwesomeDarkModeToggle.darkModeEnabled = DoxygenAwesomeDarkModeToggle.userPreference - DoxygenAwesomeDarkModeToggle.enableDarkMode(DoxygenAwesomeDarkModeToggle.darkModeEnabled) - } - - static onUserPreferenceChanged() { - DoxygenAwesomeDarkModeToggle.enableDarkMode(DoxygenAwesomeDarkModeToggle.darkModeEnabled) - } - - toggleDarkMode() { - DoxygenAwesomeDarkModeToggle.userPreference = !DoxygenAwesomeDarkModeToggle.userPreference - } -} - -customElements.define("doxygen-awesome-dark-mode-toggle", DoxygenAwesomeDarkModeToggle); diff --git a/doc/doxygen/html/doxygen-awesome-sidebar-only-darkmode-toggle.css b/doc/doxygen/html/doxygen-awesome-sidebar-only-darkmode-toggle.css deleted file mode 100644 index b988b6f..0000000 --- a/doc/doxygen/html/doxygen-awesome-sidebar-only-darkmode-toggle.css +++ /dev/null @@ -1,40 +0,0 @@ - -/** - -Doxygen Awesome -https://github.com/jothepro/doxygen-awesome-css - -MIT License - -Copyright (c) 2021 jothepro - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -*/ - -@media screen and (min-width: 768px) { - - #MSearchBox { - width: calc(var(--side-nav-fixed-width) - calc(2 * var(--spacing-medium)) - var(--searchbar-height) - 1px); - } - - #MSearchField { - width: calc(var(--side-nav-fixed-width) - calc(2 * var(--spacing-medium)) - 66px - var(--searchbar-height)); - } -} diff --git a/doc/doxygen/html/doxygen-awesome-sidebar-only.css b/doc/doxygen/html/doxygen-awesome-sidebar-only.css deleted file mode 100644 index 655a90c..0000000 --- a/doc/doxygen/html/doxygen-awesome-sidebar-only.css +++ /dev/null @@ -1,108 +0,0 @@ -/** - -Doxygen Awesome -https://github.com/jothepro/doxygen-awesome-css - -MIT License - -Copyright (c) 2021 jothepro - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - */ - -html { - /* side nav width. MUST be = `TREEVIEW_WIDTH`. - * Make sure it is wide enought to contain the page title (logo + title + version) - */ - --side-nav-fixed-width: 340px; - --menu-display: none; - - --top-height: 120px; -} - - -@media screen and (min-width: 768px) { - html { - --searchbar-background: var(--page-background-color); - } - - #side-nav { - min-width: var(--side-nav-fixed-width); - max-width: var(--side-nav-fixed-width); - top: var(--top-height); - overflow: visible; - } - - #nav-tree, #side-nav { - height: calc(100vh - var(--top-height)) !important; - } - - #nav-tree { - padding: 0; - } - - #top { - display: block; - border-bottom: none; - height: var(--top-height); - margin-bottom: calc(0px - var(--top-height)); - max-width: var(--side-nav-fixed-width); - background: var(--side-nav-background); - } - #main-nav { - float: left; - padding-right: 0; - } - - .ui-resizable-handle { - cursor: default; - width: 1px !important; - box-shadow: 0 calc(-2 * var(--top-height)) 0 0 var(--separator-color); - } - - #nav-path { - position: fixed; - right: 0; - left: var(--side-nav-fixed-width); - bottom: 0; - width: auto; - } - - #doc-content { - height: calc(100vh - 31px) !important; - padding-bottom: calc(3 * var(--spacing-large)); - padding-top: calc(var(--top-height) - 80px); - box-sizing: border-box; - margin-left: var(--side-nav-fixed-width) !important; - } - - #MSearchBox { - width: calc(var(--side-nav-fixed-width) - calc(2 * var(--spacing-medium))); - } - - #MSearchField { - width: calc(var(--side-nav-fixed-width) - calc(2 * var(--spacing-medium)) - 65px); - } - - #MSearchResultsWindow { - left: var(--spacing-medium) !important; - right: auto; - } -} diff --git a/doc/doxygen/html/doxygen-awesome.css b/doc/doxygen/html/doxygen-awesome.css deleted file mode 100644 index 549c139..0000000 --- a/doc/doxygen/html/doxygen-awesome.css +++ /dev/null @@ -1,1504 +0,0 @@ -/** - -Doxygen Awesome -https://github.com/jothepro/doxygen-awesome-css - -MIT License - -Copyright (c) 2021 jothepro - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -*/ - -html { - /* primary theme color. This will affect the entire websites color scheme: links, arrows, labels, ... */ - --primary-color: #1779c4; - --primary-dark-color: #00559f; - --primary-light-color: #7aabd6; - --primary-lighter-color: #cae1f1; - --primary-lightest-color: #e9f1f8; - - /* page base colors */ - --page-background-color: white; - --page-foreground-color: #2c3e50; - --page-secondary-foreground-color: #67727e; - - /* color for all separators on the website: hr, borders, ... */ - --separator-color: #dedede; - - /* border radius for all rounded components. Will affect many components, like dropdowns, memitems, codeblocks, ... */ - --border-radius-large: 8px; - --border-radius-small: 4px; - --border-radius-medium: 6px; - - /* default spacings. Most compontest reference these values for spacing, to provide uniform spacing on the page. */ - --spacing-small: 5px; - --spacing-medium: 10px; - --spacing-large: 16px; - - /* default box shadow used for raising an element above the normal content. Used in dropdowns, Searchresult, ... */ - --box-shadow: 0 2px 10px 0 rgba(0,0,0,.1); - - --odd-color: rgba(0,0,0,.03); - - /* font-families. will affect all text on the website - * font-family: the normal font for text, headlines, menus - * font-family-monospace: used for preformatted text in memtitle, code, fragments - */ - --font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif; - --font-family-monospace: source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace; - - /* font sizes */ - --page-font-size: 15.6px; - --navigation-font-size: 14.4px; - --code-font-size: 14.4px; /* affects code, fragment */ - --title-font-size: 22px; - - /* content text properties. These only affect the page content, not the navigation or any other ui elements */ - --content-line-height: 27px; - /* The content is centered and constraint in it's width. To make the content fill the whole page, set the variable to auto.*/ - --content-maxwidth: 1000px; - - /* colors for various content boxes: @warning, @note, @deprecated @bug */ - --warning-color: #fca49b; - --warning-color-dark: #b61825; - --warning-color-darker: #75070f; - --note-color: rgba(255,229,100,.3); - --note-color-dark: #c39900; - --note-color-darker: #8d7400; - --deprecated-color: rgb(214, 216, 224); - --deprecated-color-dark: #5b6269; - --deprecated-color-darker: #43454a; - --bug-color: rgb(246, 208, 178); - --bug-color-dark: #a53a00; - --bug-color-darker: #5b1d00; - --invariant-color: #b7f8d0; - --invariant-color-dark: #00ba44; - --invariant-color-darker: #008622; - - /* blockquote colors */ - --blockquote-background: #f5f5f5; - --blockquote-foreground: #727272; - - /* table colors */ - --tablehead-background: #f1f1f1; - --tablehead-foreground: var(--page-foreground-color); - - /* menu-display: block | none - * Visibility of the top navigation on screens >= 768px. On smaller screen the menu is always visible. - * `GENERATE_TREEVIEW` MUST be enabled! - */ - --menu-display: block; - - --menu-focus-foreground: var(--page-background-color); - --menu-focus-background: var(--primary-color); - --menu-selected-background: rgba(0,0,0,.05); - - - --header-background: var(--page-background-color); - --header-foreground: var(--page-foreground-color); - - /* searchbar colors */ - --searchbar-background: var(--side-nav-background); - --searchbar-foreground: var(--page-foreground-color); - - /* searchbar size - * (`searchbar-width` is only applied on screens >= 768px. - * on smaller screens the searchbar will always fill the entire screen width) */ - --searchbar-height: 33px; - --searchbar-width: 210px; - - /* code block colors */ - --code-background: #f5f5f5; - --code-foreground: var(--page-foreground-color); - - /* fragment colors */ - --fragment-background: #282c34; - --fragment-foreground: #ffffff; - --fragment-keyword: #cc99cd; - --fragment-keywordtype: #ab99cd; - --fragment-keywordflow: #e08000; - --fragment-token: #7ec699; - --fragment-comment: #999999; - --fragment-link: #98c0e3; - --fragment-preprocessor: #65cabe; - --fragment-linenumber-color: #cccccc; - --fragment-linenumber-background: #35393c; - --fragment-linenumber-border: #1f1f1f; - --fragment-lineheight: 20px; - - /* sidebar navigation (treeview) colors */ - --side-nav-background: #fbfbfb; - --side-nav-foreground: var(--page-foreground-color); - --side-nav-arrow-opacity: 0; - --side-nav-arrow-hover-opacity: 0.9; - - /* height of an item in any tree / collapsable table */ - --tree-item-height: 30px; - - --darkmode-toggle-button-icon: '☀️' -} - -@media screen and (max-width: 767px) { - html { - --page-font-size: 16px; - --navigation-font-size: 16px; - --code-font-size: 15px; /* affects code, fragment */ - --title-font-size: 22px; - } -} - -@media (prefers-color-scheme: dark) { - html:not(.light-mode) { - color-scheme: dark; - - --primary-color: #1982d2; - --primary-dark-color: #5ca8e2; - --primary-light-color: #4779ac; - --primary-lighter-color: #191e21; - --primary-lightest-color: #191a1c; - - --box-shadow: 0 2px 10px 0 rgba(0,0,0,.35); - - --odd-color: rgba(0,0,0,.1); - - --menu-selected-background: rgba(0,0,0,.4); - - --page-background-color: #1C1D1F; - --page-foreground-color: #d2dbde; - --page-secondary-foreground-color: #859399; - --separator-color: #000000; - --side-nav-background: #252628; - - --code-background: #2a2c2f; - - --tablehead-background: #2a2c2f; - - --blockquote-background: #1f2022; - --blockquote-foreground: #77848a; - - --warning-color: #b61825; - --warning-color-dark: #510a02; - --warning-color-darker: #f5b1aa; - --note-color: rgb(255, 183, 0); - --note-color-dark: #9f7300; - --note-color-darker: #645b39; - --deprecated-color: rgb(88, 90, 96); - --deprecated-color-dark: #262e37; - --deprecated-color-darker: #a0a5b0; - --bug-color: rgb(248, 113, 0); - --bug-color-dark: #812a00; - --bug-color-darker: #ffd3be; - - --darkmode-toggle-button-icon: '🌛'; - } -} - -/* dark mode variables are defined twice, to support both the dark-mode without and with doxygen-awesome-darkmode-toggle.js */ -html.dark-mode { - color-scheme: dark; - - --primary-color: #1982d2; - --primary-dark-color: #5ca8e2; - --primary-light-color: #4779ac; - --primary-lighter-color: #191e21; - --primary-lightest-color: #191a1c; - - --box-shadow: 0 2px 10px 0 rgba(0,0,0,.35); - - --odd-color: rgba(0,0,0,.1); - - --menu-selected-background: rgba(0,0,0,.4); - - --page-background-color: #1C1D1F; - --page-foreground-color: #d2dbde; - --page-secondary-foreground-color: #859399; - --separator-color: #000000; - --side-nav-background: #252628; - - --code-background: #2a2c2f; - - --tablehead-background: #2a2c2f; - - --blockquote-background: #1f2022; - --blockquote-foreground: #77848a; - - --warning-color: #b61825; - --warning-color-dark: #510a02; - --warning-color-darker: #f5b1aa; - --note-color: rgb(255, 183, 0); - --note-color-dark: #9f7300; - --note-color-darker: #645b39; - --deprecated-color: rgb(88, 90, 96); - --deprecated-color-dark: #262e37; - --deprecated-color-darker: #a0a5b0; - --bug-color: rgb(248, 113, 0); - --bug-color-dark: #812a00; - --bug-color-darker: #ffd3be; - - --darkmode-toggle-button-icon: '🌛'; -} - -body { - color: var(--page-foreground-color); - background-color: var(--page-background-color); - font-size: var(--page-font-size); -} - -body, table, div, p, dl, #nav-tree .label, .title, .sm-dox a, .sm-dox a:hover, .sm-dox a:focus, #projectname, .SelectItem, #MSearchField, .navpath li.navelem a, .navpath li.navelem a:hover { - font-family: var(--font-family); -} - -h1, h2, h3, h4, h5 { - margin-top: .9em; - font-weight: 600; - line-height: initial; -} - -p, div, table, dl { - font-size: var(--page-font-size); -} - -a:link, a:visited, a:hover, a:focus, a:active { - color: var(--primary-color) !important; - font-weight: 500; -} - -/* - Title and top navigation - */ - -#top { - background: var(--header-background); - border-bottom: 1px solid var(--separator-color); -} - -@media screen and (min-width: 768px) { - #top { - display: flex; - flex-wrap: wrap; - justify-content: space-between; - align-items: center; - } -} - -#main-nav { - flex-grow: 5; - padding: var(--spacing-small) var(--spacing-medium); -} - -#titlearea { - width: auto; - padding: var(--spacing-medium) var(--spacing-large); - background: none; - color: var(--header-foreground); - border-bottom: none; -} - -@media screen and (max-width: 767px) { - #titlearea { - padding-bottom: var(--spacing-small); - } -} - -#titlearea table tbody tr { - height: auto !important; -} - -#projectname { - font-size: var(--title-font-size); - font-weight: 600; -} - -#projectnumber { - font-family: inherit; - font-size: 60%; -} - -#projectbrief { - font-family: inherit; - font-size: 80%; -} - -#projectlogo { - vertical-align: middle; -} - -#projectlogo img { - max-height: calc(var(--title-font-size) * 2); - margin-right: var(--spacing-small); -} - -.sm-dox, .tabs, .tabs2, .tabs3 { - background: none; - padding: 0; -} - -.tabs, .tabs2, .tabs3 { - border-bottom: 1px solid var(--separator-color); - margin-bottom: -1px; -} - -@media screen and (max-width: 767px) { - .sm-dox a span.sub-arrow { - background: var(--code-background); - } -} - -@media screen and (min-width: 768px) { - .sm-dox li, .tablist li { - display: var(--menu-display); - } - - .sm-dox a span.sub-arrow { - border-color: var(--header-foreground) transparent transparent transparent; - } - - .sm-dox a:hover span.sub-arrow { - border-color: var(--menu-focus-foreground) transparent transparent transparent; - } - - .sm-dox ul a span.sub-arrow { - border-color: transparent transparent transparent var(--page-foreground-color); - } - - .sm-dox ul a:hover span.sub-arrow { - border-color: transparent transparent transparent var(--menu-focus-foreground); - } -} - -.sm-dox ul { - background: var(--page-background-color); - box-shadow: var(--box-shadow); - border: 1px solid var(--separator-color); - border-radius: var(--border-radius-medium) !important; - padding: var(--spacing-small); - animation: ease-out 150ms slideInMenu; -} - -@keyframes slideInMenu { - from { - opacity: 0; - transform: translate(0px, -2px); - } - - to { - opacity: 1; - transform: translate(0px, 0px); - } -} - -.sm-dox ul a { - color: var(--page-foreground-color) !important; - background: var(--page-background-color); - font-size: var(--navigation-font-size); -} - -.sm-dox>li>ul:after { - border-bottom-color: var(--page-background-color) !important; -} - -.sm-dox>li>ul:before { - border-bottom-color: var(--separator-color) !important; -} - -.sm-dox ul a:hover, .sm-dox ul a:active, .sm-dox ul a:focus { - font-size: var(--navigation-font-size) !important; - color: var(--menu-focus-foreground) !important; - text-shadow: none; - background-color: var(--menu-focus-background); - border-radius: var(--border-radius-small) !important; -} - -.sm-dox a, .sm-dox a:focus, .tablist li, .tablist li a, .tablist li.current a { - text-shadow: none; - background: transparent; - background-image: none !important; - color: var(--header-foreground) !important; - font-weight: normal; - font-size: var(--navigation-font-size); -} - -.sm-dox a:focus { - outline: auto; -} - -.sm-dox a:hover, .sm-dox a:active, .tablist li a:hover { - text-shadow: none; - font-weight: normal; - background: var(--menu-focus-background); - color: var(--menu-focus-foreground) !important; - border-radius: var(--border-radius-small) !important; - font-size: var(--navigation-font-size); -} - -.tablist li.current { - border-radius: var(--border-radius-small); - background: var(--menu-selected-background); -} - -.tablist li { - margin: var(--spacing-small) 0 var(--spacing-small) var(--spacing-small); -} - -.tablist a { - padding: 0 var(--spacing-large); -} - - -/* - Search box - */ - -#MSearchBox { - height: var(--searchbar-height); - background: var(--searchbar-background); - border-radius: var(--searchbar-height); - border: 1px solid var(--separator-color); - overflow: hidden; - width: var(--searchbar-width); - position: relative; - box-shadow: none; - display: block; - margin-top: 0; -} - -.left #MSearchSelect { - left: 0; -} - -.tabs .left #MSearchSelect { - padding-left: 0; -} - -.tabs #MSearchBox { - position: absolute; - right: var(--spacing-medium); -} - -@media screen and (max-width: 767px) { - .tabs #MSearchBox { - position: relative; - right: 0; - margin-left: var(--spacing-medium); - margin-top: 0; - } -} - -#MSearchSelectWindow, #MSearchResultsWindow { - z-index: 9999; -} - -#MSearchBox.MSearchBoxActive { - border-color: var(--primary-color); - box-shadow: inset 0 0 0 1px var(--primary-color); -} - -#main-menu > li:last-child { - margin-right: 0; -} - -@media screen and (max-width: 767px) { - #main-menu > li:last-child { - height: 50px; - } -} - -#MSearchField { - font-size: var(--navigation-font-size); - height: calc(var(--searchbar-height) - 2px); - background: transparent; - width: calc(var(--searchbar-width) - 64px); -} - -.MSearchBoxActive #MSearchField { - color: var(--searchbar-foreground); -} - -#MSearchSelect { - top: calc(calc(var(--searchbar-height) / 2) - 11px); -} - -.left #MSearchSelect { - padding-left: 8px; -} - -#MSearchBox span.left, #MSearchBox span.right { - background: none; -} - -#MSearchBox span.right { - padding-top: calc(calc(var(--searchbar-height) / 2) - 12px); - position: absolute; - right: var(--spacing-small); -} - -.tabs #MSearchBox span.right { - top: calc(calc(var(--searchbar-height) / 2) - 12px); -} - -@keyframes slideInSearchResults { - from { - opacity: 0; - transform: translate(0, 15px); - } - - to { - opacity: 1; - transform: translate(0, 20px); - } -} - -#MSearchResultsWindow { - left: auto !important; - right: var(--spacing-medium); - border-radius: var(--border-radius-large); - border: 1px solid var(--separator-color); - transform: translate(0, 20px); - box-shadow: var(--box-shadow); - animation: ease-out 280ms slideInSearchResults; - background: var(--page-background-color); -} - -iframe#MSearchResults { - margin: 4px; -} - -iframe { - color-scheme: normal; -} - -@media (prefers-color-scheme: dark) { - html:not(.light-mode) iframe#MSearchResults { - filter: invert() hue-rotate(180deg); - } -} - -html.dark-mode iframe#MSearchResults { - filter: invert() hue-rotate(180deg); -} - -#MSearchSelectWindow { - border: 1px solid var(--separator-color); - border-radius: var(--border-radius-medium); - box-shadow: var(--box-shadow); - background: var(--page-background-color); -} - -#MSearchSelectWindow a.SelectItem { - font-size: var(--navigation-font-size); - line-height: var(--content-line-height); - margin: 0 var(--spacing-small); - border-radius: var(--border-radius-small); - color: var(--page-foreground-color) !important; - font-weight: normal; -} - -#MSearchSelectWindow a.SelectItem:hover { - background: var(--menu-focus-background); - color: var(--menu-focus-foreground) !important; -} - -@media screen and (max-width: 767px) { - #MSearchBox { - margin-top: var(--spacing-medium); - margin-bottom: var(--spacing-medium); - width: calc(100vw - 30px); - } - - #main-menu > li:last-child { - float: none !important; - } - - #MSearchField { - width: calc(100vw - 110px); - } - - @keyframes slideInSearchResultsMobile { - from { - opacity: 0; - transform: translate(0, 15px); - } - - to { - opacity: 1; - transform: translate(0, 20px); - } - } - - #MSearchResultsWindow { - left: var(--spacing-medium) !important; - right: var(--spacing-medium); - overflow: auto; - transform: translate(0, 20px); - animation: ease-out 280ms slideInSearchResultsMobile; - } - - /* - * Overwrites for fixing the searchbox on mobile in doxygen 1.9.2 - */ - label.main-menu-btn ~ #searchBoxPos1 { - top: 3px !important; - right: 6px !important; - left: 45px; - display: flex; - } - - label.main-menu-btn ~ #searchBoxPos1 > #MSearchBox { - margin-top: 0; - margin-bottom: 0; - flex-grow: 2; - float: left; - } -} - -/* - Tree view - */ - -#side-nav { - padding: 0 !important; - background: var(--side-nav-background); -} - -@media screen and (max-width: 767px) { - #side-nav { - display: none; - } - - #doc-content { - margin-left: 0 !important; - height: auto !important; - padding-bottom: calc(2 * var(--spacing-large)); - } -} - -#nav-tree { - background: transparent; -} - -#nav-tree .label { - font-size: var(--navigation-font-size); -} - -#nav-tree .item { - height: var(--tree-item-height); - line-height: var(--tree-item-height); -} - -#nav-sync { - top: 12px !important; - right: 12px; -} - -#nav-tree .selected { - text-shadow: none; - background-image: none; - background-color: transparent; - box-shadow: inset 4px 0 0 0 var(--primary-color); -} - -#nav-tree a { - color: var(--side-nav-foreground) !important; - font-weight: normal; -} - -#nav-tree a:focus { - outline-style: auto; -} - -#nav-tree .arrow { - opacity: var(--side-nav-arrow-opacity); -} - -.arrow { - color: inherit; - cursor: pointer; - font-size: 45%; - vertical-align: middle; - margin-right: 2px; - font-family: serif; - height: auto; - text-align: right; -} - -#nav-tree div.item:hover .arrow, #nav-tree a:focus .arrow { - opacity: var(--side-nav-arrow-hover-opacity); -} - -#nav-tree .selected a { - color: var(--primary-color) !important; - font-weight: bolder; - font-weight: 600; -} - -.ui-resizable-e { - background: var(--separator-color); - width: 1px; -} - -/* - Contents - */ - -div.header { - border-bottom: 1px solid var(--separator-color); - background-color: var(--page-background-color); - background-image: none; -} - -div.contents, div.header .title, div.header .summary { - max-width: var(--content-maxwidth); -} - -div.contents, div.header .title { - line-height: initial; - margin: calc(var(--spacing-medium) + .2em) auto var(--spacing-medium) auto; -} - -div.header .summary { - margin: var(--spacing-medium) auto 0 auto; -} - -div.headertitle { - padding: 0; -} - -div.header .title { - font-weight: 600; - font-size: 210%; - padding: var(--spacing-medium) var(--spacing-large); - word-break: break-word; -} - -div.header .summary { - width: auto; - display: block; - float: none; - padding: 0 var(--spacing-large); -} - -td.memSeparator { - border-color: var(--separator-color); -} - -.mdescLeft, .mdescRight, .memItemLeft, .memItemRight, .memTemplItemLeft, .memTemplItemRight, .memTemplParams { - background: var(--code-background); -} - -.mdescRight { - color: var(--page-secondary-foreground-color); -} - -span.mlabel { - background: var(--primary-color); - border: none; - padding: 4px 9px; - border-radius: 12px; - margin-right: var(--spacing-medium); -} - -span.mlabel:last-of-type { - margin-right: 2px; -} - -div.contents { - padding: 0 var(--spacing-large); -} - -div.contents p, div.contents li { - line-height: var(--content-line-height); -} - -div.contents div.dyncontent { - margin: var(--spacing-medium) 0; -} - -@media (prefers-color-scheme: dark) { - html:not(.light-mode) div.contents div.dyncontent img, - html:not(.light-mode) div.contents center img, - html:not(.light-mode) div.contents table img, - html:not(.light-mode) div.contents div.dyncontent iframe, - html:not(.light-mode) div.contents center iframe, - html:not(.light-mode) div.contents table iframe { - filter: hue-rotate(180deg) invert(); - } -} - -html.dark-mode div.contents div.dyncontent img, -html.dark-mode div.contents center img, -html.dark-mode div.contents table img, -html.dark-mode div.contents div.dyncontent iframe, -html.dark-mode div.contents center iframe, -html.dark-mode div.contents table iframe { - filter: hue-rotate(180deg) invert(); -} - -h2.groupheader { - border-bottom: 1px solid var(--separator-color); - color: var(--page-foreground-color); -} - -blockquote { - padding: var(--spacing-small) var(--spacing-medium); - background: var(--blockquote-background); - color: var(--blockquote-foreground); - border-left: 2px solid var(--blockquote-foreground); - margin: 0; -} - -blockquote p { - margin: var(--spacing-small) 0 var(--spacing-medium) 0; -} -.paramname { - font-weight: 600; - color: var(--primary-dark-color); -} - -.glow { - text-shadow: 0 0 15px var(--primary-light-color) !important; -} - -.alphachar a { - color: var(--page-foreground-color); -} - -/* - Table of Contents - */ - -div.toc { - background-color: var(--side-nav-background); - border: 1px solid var(--separator-color); - border-radius: var(--border-radius-medium); - box-shadow: var(--box-shadow); - padding: 0 var(--spacing-large); - margin: 0 0 var(--spacing-medium) var(--spacing-medium); -} - -div.toc h3 { - color: var(--side-nav-foreground); - font-size: var(--navigation-font-size); - margin: var(--spacing-large) 0; -} - -div.toc li { - font-size: var(--navigation-font-size); - padding: 0; - background: none; -} - -div.toc li:before { - content: '↓'; - font-weight: 800; - font-family: var(--font-family); - margin-right: var(--spacing-small); - color: var(--side-nav-foreground); - opacity: .4; -} - -div.toc ul li.level1 { - margin: 0; -} - -div.toc ul li.level2, div.toc ul li.level3 { - margin-top: 0; -} - - -@media screen and (max-width: 767px) { - div.toc { - float: none; - width: auto; - margin: 0 0 var(--spacing-medium) 0; - } -} - -/* - Code & Fragments - */ - -code, div.fragment, pre.fragment { - border-radius: var(--border-radius-small); - border: none; - overflow: hidden; -} - -code { - display: inline; - background: var(--code-background); - color: var(--code-foreground); - padding: 2px 6px; - word-break: break-word; -} - -div.fragment, pre.fragment { - margin: var(--spacing-medium) 0; - padding: 14px 16px; - background: var(--fragment-background); - color: var(--fragment-foreground); - overflow-x: auto; -} - -@media screen and (max-width: 767px) { - div.fragment, pre.fragment { - border-top-right-radius: 0; - border-bottom-right-radius: 0; - } - - .contents > div.fragment, .textblock > div.fragment, .textblock > pre.fragment { - margin: var(--spacing-medium) calc(0px - var(--spacing-large)); - border-radius: 0; - } - - .textblock li > .fragment { - margin: var(--spacing-medium) calc(0px - var(--spacing-large)); - } - - .memdoc li > .fragment { - margin: var(--spacing-medium) calc(0px - var(--spacing-medium)); - } - - .memdoc > div.fragment, .memdoc > pre.fragment, dl dd > div.fragment, dl dd pre.fragment { - margin: var(--spacing-medium) calc(0px - var(--spacing-medium)); - border-radius: 0; - } -} - -code, code a, pre.fragment, div.fragment, div.fragment .line, div.fragment span, div.fragment .line a, div.fragment .line span { - font-family: var(--font-family-monospace); - font-size: var(--code-font-size) !important; -} - -div.line:after { - margin-right: var(--spacing-medium); -} - -div.fragment .line, pre.fragment { - white-space: pre; - word-wrap: initial; - line-height: var(--fragment-lineheight); -} - -div.fragment span.keyword { - color: var(--fragment-keyword); -} - -div.fragment span.keywordtype { - color: var(--fragment-keywordtype); -} - -div.fragment span.keywordflow { - color: var(--fragment-keywordflow); -} - -div.fragment span.stringliteral { - color: var(--fragment-token) -} - -div.fragment span.comment { - color: var(--fragment-comment); -} - -div.fragment a.code { - color: var(--fragment-link) !important; -} - -div.fragment span.preprocessor { - color: var(--fragment-preprocessor); -} - -div.fragment span.lineno { - display: inline-block; - width: 27px; - border-right: none; - background: var(--fragment-linenumber-background); - color: var(--fragment-linenumber-color); -} - -div.fragment span.lineno a { - background: none; - color: var(--fragment-link) !important; -} - -div.fragment .line:first-child .lineno { - box-shadow: -999999px 0px 0 999999px var(--fragment-linenumber-background), -999998px 0px 0 999999px var(--fragment-linenumber-border); -} - -/* - dl warning, attention, note, deprecated, bug, ... - */ - -dl.warning, dl.attention, dl.note, dl.deprecated, dl.bug, dl.invariant, dl.pre { - padding: var(--spacing-medium); - margin: var(--spacing-medium) 0; - color: var(--page-background-color); - overflow: hidden; - margin-left: 0; - border-radius: var(--border-radius-small); -} - -dl.section dd { - margin-bottom: 2px; -} - -dl.warning, dl.attention { - background: var(--warning-color); - border-left: 8px solid var(--warning-color-dark); - color: var(--warning-color-darker); -} - -dl.warning dt, dl.attention dt { - color: var(--warning-color-dark); -} - -dl.note { - background: var(--note-color); - border-left: 8px solid var(--note-color-dark); - color: var(--note-color-darker); -} - -dl.note dt { - color: var(--note-color-dark); -} - -dl.bug { - background: var(--bug-color); - border-left: 8px solid var(--bug-color-dark); - color: var(--bug-color-darker); -} - -dl.bug dt a { - color: var(--bug-color-dark) !important; -} - -dl.deprecated { - background: var(--deprecated-color); - border-left: 8px solid var(--deprecated-color-dark); - color: var(--deprecated-color-darker); -} - -dl.deprecated dt a { - color: var(--deprecated-color-dark) !important; -} - -dl.section dd, dl.bug dd, dl.deprecated dd { - margin-inline-start: 0px; -} - -dl.invariant, dl.pre { - background: var(--invariant-color); - border-left: 8px solid var(--invariant-color-dark); - color: var(--invariant-color-darker); -} - -/* - memitem - */ - -div.memdoc, div.memproto, h2.memtitle { - box-shadow: none; - background-image: none; - border: none; -} - -div.memdoc { - padding: 0 var(--spacing-medium); - background: var(--page-background-color); -} - -h2.memtitle, div.memitem { - border: 1px solid var(--separator-color); -} - -div.memproto, h2.memtitle { - background: var(--code-background); - text-shadow: none; -} - -h2.memtitle { - font-weight: 500; - font-family: monospace, fixed; - border-bottom: none; - border-top-left-radius: var(--border-radius-medium); - border-top-right-radius: var(--border-radius-medium); - word-break: break-all; -} - -a:target + h2.memtitle, a:target + h2.memtitle + div.memitem { - border-color: var(--primary-light-color); -} - -a:target + h2.memtitle { - box-shadow: -3px -3px 3px 0 var(--primary-lightest-color), 3px -3px 3px 0 var(--primary-lightest-color); -} - -a:target + h2.memtitle + div.memitem { - box-shadow: 0 0 10px 0 var(--primary-lighter-color); -} - -div.memitem { - border-top-right-radius: var(--border-radius-medium); - border-bottom-right-radius: var(--border-radius-medium); - border-bottom-left-radius: var(--border-radius-medium); - overflow: hidden; - display: block !important; -} - -div.memdoc { - border-radius: 0; -} - -div.memproto { - border-radius: 0 var(--border-radius-small) 0 0; - overflow: auto; - border-bottom: 1px solid var(--separator-color); - padding: var(--spacing-medium); - margin-bottom: -1px; -} - -div.memtitle { - border-top-right-radius: var(--border-radius-medium); - border-top-left-radius: var(--border-radius-medium); -} - -div.memproto table.memname { - font-family: monospace, fixed; - color: var(--page-foreground-color); -} - -table.mlabels, table.mlabels > tbody { - display: block; -} - -td.mlabels-left { - width: auto; -} - -table.mlabels > tbody > tr:first-child { - display: flex; - justify-content: space-between; - flex-wrap: wrap; -} - -.memname, .memitem span.mlabels { - margin: 0 -} - -/* - reflist - */ - -dl.reflist { - box-shadow: var(--box-shadow); - border-radius: var(--border-radius-medium); - border: 1px solid var(--separator-color); - overflow: hidden; - padding: 0; -} - - -dl.reflist dt, dl.reflist dd { - box-shadow: none; - text-shadow: none; - background-image: none; - border: none; - padding: 12px; -} - - -dl.reflist dt { - font-weight: 500; - border-radius: 0; - background: var(--code-background); - border-bottom: 1px solid var(--separator-color); - color: var(--page-foreground-color) -} - - -dl.reflist dd { - background: none; -} - -/* - Table - */ - -table.markdownTable, table.fieldtable { - width: 100%; - border: 1px solid var(--separator-color); - margin: var(--spacing-medium) 0; -} - -table.fieldtable { - box-shadow: none; - border-radius: var(--border-radius-small); -} - -th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone { - background: var(--tablehead-background); - color: var(--tablehead-foreground); - font-weight: 600; - font-size: var(--page-font-size); -} - -table.markdownTable td, table.markdownTable th, table.fieldtable dt { - border: 1px solid var(--separator-color); - padding: var(--spacing-small) var(--spacing-medium); -} - -table.fieldtable th { - font-size: var(--page-font-size); - font-weight: 600; - background-image: none; - background-color: var(--tablehead-background); - color: var(--tablehead-foreground); - border-bottom: 1px solid var(--separator-color); -} - -.fieldtable td.fieldtype, .fieldtable td.fieldname { - border-bottom: 1px solid var(--separator-color); - border-right: 1px solid var(--separator-color); -} - -.fieldtable td.fielddoc { - border-bottom: 1px solid var(--separator-color); -} - -.memberdecls td.glow, .fieldtable tr.glow { - background-color: var(--primary-light-color); - box-shadow: 0 0 15px var(--primary-lighter-color); -} - -table.memberdecls { - display: block; - overflow-x: auto; - overflow-y: hidden; -} - - -/* - Horizontal Rule - */ - -hr { - margin-top: var(--spacing-large); - margin-bottom: var(--spacing-large); - border-top:1px solid var(--separator-color); -} - -.contents hr { - box-shadow: var(--content-maxwidth) 0 0 0 var(--separator-color), calc(0px - var(--content-maxwidth)) 0 0 0 var(--separator-color); -} - -.contents img { - max-width: 100%; -} - -/* - Directories - */ -div.directory { - border-top: 1px solid var(--separator-color); - border-bottom: 1px solid var(--separator-color); - width: auto; -} - -table.directory { - font-family: var(--font-family); - font-size: var(--page-font-size); - font-weight: normal; -} - -.directory td.entry { - padding: var(--spacing-small); - display: flex; - align-items: center; -} - -.directory tr.even { - background-color: var(--odd-color); -} - -.icona { - width: auto; - height: auto; - margin: 0 var(--spacing-small); -} - -.icon { - background: var(--primary-color); - width: 18px; - height: 18px; - line-height: 18px; -} - -.iconfopen, .icondoc, .iconfclosed { - background-position: center; - margin-bottom: 0; -} - -.icondoc { - filter: saturate(0.2); -} - -@media screen and (max-width: 767px) { - div.directory { - margin-left: calc(0px - var(--spacing-medium)); - margin-right: calc(0px - var(--spacing-medium)); - } -} - -@media (prefers-color-scheme: dark) { - html:not(.light-mode) .iconfopen, html:not(.light-mode) .iconfclosed { - filter: hue-rotate(180deg) invert(); - } -} - -html.dark-mode .iconfopen, html.dark-mode .iconfclosed { - filter: hue-rotate(180deg) invert(); -} - -/* - Class list - */ - -.classindex dl.odd { - background: var(--odd-color); - border-radius: var(--border-radius-small); -} - -@media screen and (max-width: 767px) { - .classindex { - margin: 0 calc(0px - var(--spacing-small)); - } -} - -/* - Footer and nav-path - */ - -#nav-path { - margin-bottom: -1px; - width: 100%; -} - -#nav-path ul { - background-image: none; - background: var(--page-background-color); - border: none; - border-top: 1px solid var(--separator-color); - border-bottom: 1px solid var(--separator-color); - font-size: var(--navigation-font-size); -} - -img.footer { - width: 60px; -} - -.navpath li.footer { - color: var(--page-secondary-foreground-color); -} - -address.footer { - margin-bottom: var(--spacing-large); -} - -#nav-path li.navelem { - background-image: none; - display: flex; - align-items: center; -} - -.navpath li.navelem a { - text-shadow: none; - display: inline-block; - color: var(--primary-color) !important; -} - -.navpath li.navelem b { - color: var(--primary-dark-color); - font-weight: 500; -} - -li.navelem { - padding: 0; - margin-left: -8px; -} - -li.navelem:first-child { - margin-left: var(--spacing-large); -} - -li.navelem:first-child:before { - display: none; -} - -#nav-path li.navelem:after { - content: ''; - border: 5px solid var(--page-background-color); - border-bottom-color: transparent; - border-right-color: transparent; - border-top-color: transparent; - transform: scaleY(4.2); - z-index: 10; - margin-left: 6px; -} - -#nav-path li.navelem:before { - content: ''; - border: 5px solid var(--separator-color); - border-bottom-color: transparent; - border-right-color: transparent; - border-top-color: transparent; - transform: scaleY(3.2); - margin-right: var(--spacing-small); -} - -.navpath li.navelem a:hover { - color: var(--primary-color); -} - -/* - Optional Dark mode toggle button -*/ - -doxygen-awesome-dark-mode-toggle { - display: inline-block; - margin: 0 0 0 var(--spacing-small); - padding: 0; - width: var(--searchbar-height); - height: var(--searchbar-height); - background: none; - border: none; - font-size: 23px; - border-radius: var(--border-radius-medium); - vertical-align: middle; - text-align: center; - line-height: var(--searchbar-height); -} - -doxygen-awesome-dark-mode-toggle:hover { - background: var(--separator-color); -} - -doxygen-awesome-dark-mode-toggle:after { - content: var(--darkmode-toggle-button-icon) -} diff --git a/doc/doxygen/html/doxygen.css b/doc/doxygen/html/doxygen.css deleted file mode 100644 index b3e91d3..0000000 --- a/doc/doxygen/html/doxygen.css +++ /dev/null @@ -1,2229 +0,0 @@ -/* The standard CSS for doxygen 1.12.0*/ - -html { -/* page base colors */ ---page-background-color: white; ---page-foreground-color: black; ---page-link-color: #3D578C; ---page-visited-link-color: #4665A2; - -/* index */ ---index-odd-item-bg-color: #F8F9FC; ---index-even-item-bg-color: white; ---index-header-color: black; ---index-separator-color: #A0A0A0; - -/* header */ ---header-background-color: #F9FAFC; ---header-separator-color: #C4CFE5; ---header-gradient-image: url('nav_h.png'); ---group-header-separator-color: #879ECB; ---group-header-color: #354C7B; ---inherit-header-color: gray; - ---footer-foreground-color: #2A3D61; ---footer-logo-width: 104px; ---citation-label-color: #334975; ---glow-color: cyan; - ---title-background-color: white; ---title-separator-color: #5373B4; ---directory-separator-color: #9CAFD4; ---separator-color: #4A6AAA; - ---blockquote-background-color: #F7F8FB; ---blockquote-border-color: #9CAFD4; - ---scrollbar-thumb-color: #9CAFD4; ---scrollbar-background-color: #F9FAFC; - ---icon-background-color: #728DC1; ---icon-foreground-color: white; ---icon-doc-image: url('doc.svg'); ---icon-folder-open-image: url('folderopen.svg'); ---icon-folder-closed-image: url('folderclosed.svg'); - -/* brief member declaration list */ ---memdecl-background-color: #F9FAFC; ---memdecl-separator-color: #DEE4F0; ---memdecl-foreground-color: #555; ---memdecl-template-color: #4665A2; - -/* detailed member list */ ---memdef-border-color: #A8B8D9; ---memdef-title-background-color: #E2E8F2; ---memdef-title-gradient-image: url('nav_f.png'); ---memdef-proto-background-color: #DFE5F1; ---memdef-proto-text-color: #253555; ---memdef-proto-text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); ---memdef-doc-background-color: white; ---memdef-param-name-color: #602020; ---memdef-template-color: #4665A2; - -/* tables */ ---table-cell-border-color: #2D4068; ---table-header-background-color: #374F7F; ---table-header-foreground-color: #FFFFFF; - -/* labels */ ---label-background-color: #728DC1; ---label-left-top-border-color: #5373B4; ---label-right-bottom-border-color: #C4CFE5; ---label-foreground-color: white; - -/** navigation bar/tree/menu */ ---nav-background-color: #F9FAFC; ---nav-foreground-color: #364D7C; ---nav-gradient-image: url('tab_b.png'); ---nav-gradient-hover-image: url('tab_h.png'); ---nav-gradient-active-image: url('tab_a.png'); ---nav-gradient-active-image-parent: url("../tab_a.png"); ---nav-separator-image: url('tab_s.png'); ---nav-breadcrumb-image: url('bc_s.png'); ---nav-breadcrumb-border-color: #C2CDE4; ---nav-splitbar-image: url('splitbar.png'); ---nav-font-size-level1: 13px; ---nav-font-size-level2: 10px; ---nav-font-size-level3: 9px; ---nav-text-normal-color: #283A5D; ---nav-text-hover-color: white; ---nav-text-active-color: white; ---nav-text-normal-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); ---nav-text-hover-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); ---nav-text-active-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); ---nav-menu-button-color: #364D7C; ---nav-menu-background-color: white; ---nav-menu-foreground-color: #555555; ---nav-menu-toggle-color: rgba(255, 255, 255, 0.5); ---nav-arrow-color: #9CAFD4; ---nav-arrow-selected-color: #9CAFD4; - -/* table of contents */ ---toc-background-color: #F4F6FA; ---toc-border-color: #D8DFEE; ---toc-header-color: #4665A2; ---toc-down-arrow-image: url("data:image/svg+xml;utf8,&%238595;"); - -/** search field */ ---search-background-color: white; ---search-foreground-color: #909090; ---search-magnification-image: url('mag.svg'); ---search-magnification-select-image: url('mag_sel.svg'); ---search-active-color: black; ---search-filter-background-color: #F9FAFC; ---search-filter-foreground-color: black; ---search-filter-border-color: #90A5CE; ---search-filter-highlight-text-color: white; ---search-filter-highlight-bg-color: #3D578C; ---search-results-foreground-color: #425E97; ---search-results-background-color: #EEF1F7; ---search-results-border-color: black; ---search-box-shadow: inset 0.5px 0.5px 3px 0px #555; - -/** code fragments */ ---code-keyword-color: #008000; ---code-type-keyword-color: #604020; ---code-flow-keyword-color: #E08000; ---code-comment-color: #800000; ---code-preprocessor-color: #806020; ---code-string-literal-color: #002080; ---code-char-literal-color: #008080; ---code-xml-cdata-color: black; ---code-vhdl-digit-color: #FF00FF; ---code-vhdl-char-color: #000000; ---code-vhdl-keyword-color: #700070; ---code-vhdl-logic-color: #FF0000; ---code-link-color: #4665A2; ---code-external-link-color: #4665A2; ---fragment-foreground-color: black; ---fragment-background-color: #FBFCFD; ---fragment-border-color: #C4CFE5; ---fragment-lineno-border-color: #00FF00; ---fragment-lineno-background-color: #E8E8E8; ---fragment-lineno-foreground-color: black; ---fragment-lineno-link-fg-color: #4665A2; ---fragment-lineno-link-bg-color: #D8D8D8; ---fragment-lineno-link-hover-fg-color: #4665A2; ---fragment-lineno-link-hover-bg-color: #C8C8C8; ---fragment-copy-ok-color: #2EC82E; ---tooltip-foreground-color: black; ---tooltip-background-color: white; ---tooltip-border-color: gray; ---tooltip-doc-color: grey; ---tooltip-declaration-color: #006318; ---tooltip-link-color: #4665A2; ---tooltip-shadow: 1px 1px 7px gray; ---fold-line-color: #808080; ---fold-minus-image: url('minus.svg'); ---fold-plus-image: url('plus.svg'); ---fold-minus-image-relpath: url('../../minus.svg'); ---fold-plus-image-relpath: url('../../plus.svg'); - -/** font-family */ ---font-family-normal: Roboto,sans-serif; ---font-family-monospace: 'JetBrains Mono',Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace,fixed; ---font-family-nav: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; ---font-family-title: Tahoma,Arial,sans-serif; ---font-family-toc: Verdana,'DejaVu Sans',Geneva,sans-serif; ---font-family-search: Arial,Verdana,sans-serif; ---font-family-icon: Arial,Helvetica; ---font-family-tooltip: Roboto,sans-serif; - -/** special sections */ ---warning-color-bg: #f8d1cc; ---warning-color-hl: #b61825; ---warning-color-text: #75070f; ---note-color-bg: #faf3d8; ---note-color-hl: #f3a600; ---note-color-text: #5f4204; ---todo-color-bg: #e4f3ff; ---todo-color-hl: #1879C4; ---todo-color-text: #274a5c; ---test-color-bg: #e8e8ff; ---test-color-hl: #3939C4; ---test-color-text: #1a1a5c; ---deprecated-color-bg: #ecf0f3; ---deprecated-color-hl: #5b6269; ---deprecated-color-text: #43454a; ---bug-color-bg: #e4dafd; ---bug-color-hl: #5b2bdd; ---bug-color-text: #2a0d72; ---invariant-color-bg: #d8f1e3; ---invariant-color-hl: #44b86f; ---invariant-color-text: #265532; -} - -@media (prefers-color-scheme: dark) { - html:not(.dark-mode) { - color-scheme: dark; - -/* page base colors */ ---page-background-color: black; ---page-foreground-color: #C9D1D9; ---page-link-color: #90A5CE; ---page-visited-link-color: #A3B4D7; - -/* index */ ---index-odd-item-bg-color: #0B101A; ---index-even-item-bg-color: black; ---index-header-color: #C4CFE5; ---index-separator-color: #334975; - -/* header */ ---header-background-color: #070B11; ---header-separator-color: #141C2E; ---header-gradient-image: url('nav_hd.png'); ---group-header-separator-color: #283A5D; ---group-header-color: #90A5CE; ---inherit-header-color: #A0A0A0; - ---footer-foreground-color: #5B7AB7; ---footer-logo-width: 60px; ---citation-label-color: #90A5CE; ---glow-color: cyan; - ---title-background-color: #090D16; ---title-separator-color: #354C79; ---directory-separator-color: #283A5D; ---separator-color: #283A5D; - ---blockquote-background-color: #101826; ---blockquote-border-color: #283A5D; - ---scrollbar-thumb-color: #283A5D; ---scrollbar-background-color: #070B11; - ---icon-background-color: #334975; ---icon-foreground-color: #C4CFE5; ---icon-doc-image: url('docd.svg'); ---icon-folder-open-image: url('folderopend.svg'); ---icon-folder-closed-image: url('folderclosedd.svg'); - -/* brief member declaration list */ ---memdecl-background-color: #0B101A; ---memdecl-separator-color: #2C3F65; ---memdecl-foreground-color: #BBB; ---memdecl-template-color: #7C95C6; - -/* detailed member list */ ---memdef-border-color: #233250; ---memdef-title-background-color: #1B2840; ---memdef-title-gradient-image: url('nav_fd.png'); ---memdef-proto-background-color: #19243A; ---memdef-proto-text-color: #9DB0D4; ---memdef-proto-text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.9); ---memdef-doc-background-color: black; ---memdef-param-name-color: #D28757; ---memdef-template-color: #7C95C6; - -/* tables */ ---table-cell-border-color: #283A5D; ---table-header-background-color: #283A5D; ---table-header-foreground-color: #C4CFE5; - -/* labels */ ---label-background-color: #354C7B; ---label-left-top-border-color: #4665A2; ---label-right-bottom-border-color: #283A5D; ---label-foreground-color: #CCCCCC; - -/** navigation bar/tree/menu */ ---nav-background-color: #101826; ---nav-foreground-color: #364D7C; ---nav-gradient-image: url('tab_bd.png'); ---nav-gradient-hover-image: url('tab_hd.png'); ---nav-gradient-active-image: url('tab_ad.png'); ---nav-gradient-active-image-parent: url("../tab_ad.png"); ---nav-separator-image: url('tab_sd.png'); ---nav-breadcrumb-image: url('bc_sd.png'); ---nav-breadcrumb-border-color: #2A3D61; ---nav-splitbar-image: url('splitbard.png'); ---nav-font-size-level1: 13px; ---nav-font-size-level2: 10px; ---nav-font-size-level3: 9px; ---nav-text-normal-color: #B6C4DF; ---nav-text-hover-color: #DCE2EF; ---nav-text-active-color: #DCE2EF; ---nav-text-normal-shadow: 0px 1px 1px black; ---nav-text-hover-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); ---nav-text-active-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); ---nav-menu-button-color: #B6C4DF; ---nav-menu-background-color: #05070C; ---nav-menu-foreground-color: #BBBBBB; ---nav-menu-toggle-color: rgba(255, 255, 255, 0.2); ---nav-arrow-color: #334975; ---nav-arrow-selected-color: #90A5CE; - -/* table of contents */ ---toc-background-color: #151E30; ---toc-border-color: #202E4A; ---toc-header-color: #A3B4D7; ---toc-down-arrow-image: url("data:image/svg+xml;utf8,&%238595;"); - -/** search field */ ---search-background-color: black; ---search-foreground-color: #C5C5C5; ---search-magnification-image: url('mag_d.svg'); ---search-magnification-select-image: url('mag_seld.svg'); ---search-active-color: #C5C5C5; ---search-filter-background-color: #101826; ---search-filter-foreground-color: #90A5CE; ---search-filter-border-color: #7C95C6; ---search-filter-highlight-text-color: #BCC9E2; ---search-filter-highlight-bg-color: #283A5D; ---search-results-background-color: #101826; ---search-results-foreground-color: #90A5CE; ---search-results-border-color: #7C95C6; ---search-box-shadow: inset 0.5px 0.5px 3px 0px #2F436C; - -/** code fragments */ ---code-keyword-color: #CC99CD; ---code-type-keyword-color: #AB99CD; ---code-flow-keyword-color: #E08000; ---code-comment-color: #717790; ---code-preprocessor-color: #65CABE; ---code-string-literal-color: #7EC699; ---code-char-literal-color: #00E0F0; ---code-xml-cdata-color: #C9D1D9; ---code-vhdl-digit-color: #FF00FF; ---code-vhdl-char-color: #C0C0C0; ---code-vhdl-keyword-color: #CF53C9; ---code-vhdl-logic-color: #FF0000; ---code-link-color: #79C0FF; ---code-external-link-color: #79C0FF; ---fragment-foreground-color: #C9D1D9; ---fragment-background-color: #090D16; ---fragment-border-color: #30363D; ---fragment-lineno-border-color: #30363D; ---fragment-lineno-background-color: black; ---fragment-lineno-foreground-color: #6E7681; ---fragment-lineno-link-fg-color: #6E7681; ---fragment-lineno-link-bg-color: #303030; ---fragment-lineno-link-hover-fg-color: #8E96A1; ---fragment-lineno-link-hover-bg-color: #505050; ---fragment-copy-ok-color: #0EA80E; ---tooltip-foreground-color: #C9D1D9; ---tooltip-background-color: #202020; ---tooltip-border-color: #C9D1D9; ---tooltip-doc-color: #D9E1E9; ---tooltip-declaration-color: #20C348; ---tooltip-link-color: #79C0FF; ---tooltip-shadow: none; ---fold-line-color: #808080; ---fold-minus-image: url('minusd.svg'); ---fold-plus-image: url('plusd.svg'); ---fold-minus-image-relpath: url('../../minusd.svg'); ---fold-plus-image-relpath: url('../../plusd.svg'); - -/** font-family */ ---font-family-normal: Roboto,sans-serif; ---font-family-monospace: 'JetBrains Mono',Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace,fixed; ---font-family-nav: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; ---font-family-title: Tahoma,Arial,sans-serif; ---font-family-toc: Verdana,'DejaVu Sans',Geneva,sans-serif; ---font-family-search: Arial,Verdana,sans-serif; ---font-family-icon: Arial,Helvetica; ---font-family-tooltip: Roboto,sans-serif; - -/** special sections */ ---warning-color-bg: #2e1917; ---warning-color-hl: #ad2617; ---warning-color-text: #f5b1aa; ---note-color-bg: #3b2e04; ---note-color-hl: #f1b602; ---note-color-text: #ceb670; ---todo-color-bg: #163750; ---todo-color-hl: #1982D2; ---todo-color-text: #dcf0fa; ---test-color-bg: #121258; ---test-color-hl: #4242cf; ---test-color-text: #c0c0da; ---deprecated-color-bg: #2e323b; ---deprecated-color-hl: #738396; ---deprecated-color-text: #abb0bd; ---bug-color-bg: #2a2536; ---bug-color-hl: #7661b3; ---bug-color-text: #ae9ed6; ---invariant-color-bg: #303a35; ---invariant-color-hl: #76ce96; ---invariant-color-text: #cceed5; -}} -body { - background-color: var(--page-background-color); - color: var(--page-foreground-color); -} - -body, table, div, p, dl { - font-weight: 400; - font-size: 14px; - font-family: var(--font-family-normal); - line-height: 22px; -} - -/* @group Heading Levels */ - -.title { - font-family: var(--font-family-normal); - line-height: 28px; - font-size: 150%; - font-weight: bold; - margin: 10px 2px; -} - -h1.groupheader { - font-size: 150%; -} - -h2.groupheader { - border-bottom: 1px solid var(--group-header-separator-color); - color: var(--group-header-color); - font-size: 150%; - font-weight: normal; - margin-top: 1.75em; - padding-top: 8px; - padding-bottom: 4px; - width: 100%; -} - -h3.groupheader { - font-size: 100%; -} - -h1, h2, h3, h4, h5, h6 { - -webkit-transition: text-shadow 0.5s linear; - -moz-transition: text-shadow 0.5s linear; - -ms-transition: text-shadow 0.5s linear; - -o-transition: text-shadow 0.5s linear; - transition: text-shadow 0.5s linear; - margin-right: 15px; -} - -h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { - text-shadow: 0 0 15px var(--glow-color); -} - -dt { - font-weight: bold; -} - -p.startli, p.startdd { - margin-top: 2px; -} - -th p.starttd, th p.intertd, th p.endtd { - font-size: 100%; - font-weight: 700; -} - -p.starttd { - margin-top: 0px; -} - -p.endli { - margin-bottom: 0px; -} - -p.enddd { - margin-bottom: 4px; -} - -p.endtd { - margin-bottom: 2px; -} - -p.interli { -} - -p.interdd { -} - -p.intertd { -} - -/* @end */ - -caption { - font-weight: bold; -} - -span.legend { - font-size: 70%; - text-align: center; -} - -h3.version { - font-size: 90%; - text-align: center; -} - -div.navtab { - padding-right: 15px; - text-align: right; - line-height: 110%; -} - -div.navtab table { - border-spacing: 0; -} - -td.navtab { - padding-right: 6px; - padding-left: 6px; -} - -td.navtabHL { - background-image: var(--nav-gradient-active-image); - background-repeat:repeat-x; - padding-right: 6px; - padding-left: 6px; -} - -td.navtabHL a, td.navtabHL a:visited { - color: var(--nav-text-hover-color); - text-shadow: var(--nav-text-hover-shadow); -} - -a.navtab { - font-weight: bold; -} - -div.qindex{ - text-align: center; - width: 100%; - line-height: 140%; - font-size: 130%; - color: var(--index-separator-color); -} - -#main-menu a:focus { - outline: auto; - z-index: 10; - position: relative; -} - -dt.alphachar{ - font-size: 180%; - font-weight: bold; -} - -.alphachar a{ - color: var(--index-header-color); -} - -.alphachar a:hover, .alphachar a:visited{ - text-decoration: none; -} - -.classindex dl { - padding: 25px; - column-count:1 -} - -.classindex dd { - display:inline-block; - margin-left: 50px; - width: 90%; - line-height: 1.15em; -} - -.classindex dl.even { - background-color: var(--index-even-item-bg-color); -} - -.classindex dl.odd { - background-color: var(--index-odd-item-bg-color); -} - -@media(min-width: 1120px) { - .classindex dl { - column-count:2 - } -} - -@media(min-width: 1320px) { - .classindex dl { - column-count:3 - } -} - - -/* @group Link Styling */ - -a { - color: var(--page-link-color); - font-weight: normal; - text-decoration: none; -} - -.contents a:visited { - color: var(--page-visited-link-color); -} - -a:hover { - text-decoration: none; - background: linear-gradient(to bottom, transparent 0,transparent calc(100% - 1px), currentColor 100%); -} - -a:hover > span.arrow { - text-decoration: none; - background : var(--nav-background-color); -} - -a.el { - font-weight: bold; -} - -a.elRef { -} - -a.code, a.code:visited, a.line, a.line:visited { - color: var(--code-link-color); -} - -a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { - color: var(--code-external-link-color); -} - -a.code.hl_class { /* style for links to class names in code snippets */ } -a.code.hl_struct { /* style for links to struct names in code snippets */ } -a.code.hl_union { /* style for links to union names in code snippets */ } -a.code.hl_interface { /* style for links to interface names in code snippets */ } -a.code.hl_protocol { /* style for links to protocol names in code snippets */ } -a.code.hl_category { /* style for links to category names in code snippets */ } -a.code.hl_exception { /* style for links to exception names in code snippets */ } -a.code.hl_service { /* style for links to service names in code snippets */ } -a.code.hl_singleton { /* style for links to singleton names in code snippets */ } -a.code.hl_concept { /* style for links to concept names in code snippets */ } -a.code.hl_namespace { /* style for links to namespace names in code snippets */ } -a.code.hl_package { /* style for links to package names in code snippets */ } -a.code.hl_define { /* style for links to macro names in code snippets */ } -a.code.hl_function { /* style for links to function names in code snippets */ } -a.code.hl_variable { /* style for links to variable names in code snippets */ } -a.code.hl_typedef { /* style for links to typedef names in code snippets */ } -a.code.hl_enumvalue { /* style for links to enum value names in code snippets */ } -a.code.hl_enumeration { /* style for links to enumeration names in code snippets */ } -a.code.hl_signal { /* style for links to Qt signal names in code snippets */ } -a.code.hl_slot { /* style for links to Qt slot names in code snippets */ } -a.code.hl_friend { /* style for links to friend names in code snippets */ } -a.code.hl_dcop { /* style for links to KDE3 DCOP names in code snippets */ } -a.code.hl_property { /* style for links to property names in code snippets */ } -a.code.hl_event { /* style for links to event names in code snippets */ } -a.code.hl_sequence { /* style for links to sequence names in code snippets */ } -a.code.hl_dictionary { /* style for links to dictionary names in code snippets */ } - -/* @end */ - -dl.el { - margin-left: -1cm; -} - -ul.check { - list-style:none; - text-indent: -16px; - padding-left: 38px; -} -li.unchecked:before { - content: "\2610\A0"; -} -li.checked:before { - content: "\2611\A0"; -} - -ol { - text-indent: 0px; -} - -ul { - text-indent: 0px; - overflow: visible; -} - -ul.multicol { - -moz-column-gap: 1em; - -webkit-column-gap: 1em; - column-gap: 1em; - -moz-column-count: 3; - -webkit-column-count: 3; - column-count: 3; - list-style-type: none; -} - -#side-nav ul { - overflow: visible; /* reset ul rule for scroll bar in GENERATE_TREEVIEW window */ -} - -#main-nav ul { - overflow: visible; /* reset ul rule for the navigation bar drop down lists */ -} - -.fragment { - text-align: left; - direction: ltr; - overflow-x: auto; - overflow-y: hidden; - position: relative; - min-height: 12px; - margin: 10px 0px; - padding: 10px 10px; - border: 1px solid var(--fragment-border-color); - border-radius: 4px; - background-color: var(--fragment-background-color); - color: var(--fragment-foreground-color); -} - -pre.fragment { - word-wrap: break-word; - font-size: 10pt; - line-height: 125%; - font-family: var(--font-family-monospace); -} - -.clipboard { - width: 24px; - height: 24px; - right: 5px; - top: 5px; - opacity: 0; - position: absolute; - display: inline; - overflow: auto; - fill: var(--fragment-foreground-color); - justify-content: center; - align-items: center; - cursor: pointer; -} - -.clipboard.success { - border: 1px solid var(--fragment-foreground-color); - border-radius: 4px; -} - -.fragment:hover .clipboard, .clipboard.success { - opacity: .28; -} - -.clipboard:hover, .clipboard.success { - opacity: 1 !important; -} - -.clipboard:active:not([class~=success]) svg { - transform: scale(.91); -} - -.clipboard.success svg { - fill: var(--fragment-copy-ok-color); -} - -.clipboard.success { - border-color: var(--fragment-copy-ok-color); -} - -div.line { - font-family: var(--font-family-monospace); - font-size: 13px; - min-height: 13px; - line-height: 1.2; - text-wrap: unrestricted; - white-space: -moz-pre-wrap; /* Moz */ - white-space: -pre-wrap; /* Opera 4-6 */ - white-space: -o-pre-wrap; /* Opera 7 */ - white-space: pre-wrap; /* CSS3 */ - word-wrap: break-word; /* IE 5.5+ */ - text-indent: -53px; - padding-left: 53px; - padding-bottom: 0px; - margin: 0px; - -webkit-transition-property: background-color, box-shadow; - -webkit-transition-duration: 0.5s; - -moz-transition-property: background-color, box-shadow; - -moz-transition-duration: 0.5s; - -ms-transition-property: background-color, box-shadow; - -ms-transition-duration: 0.5s; - -o-transition-property: background-color, box-shadow; - -o-transition-duration: 0.5s; - transition-property: background-color, box-shadow; - transition-duration: 0.5s; -} - -div.line:after { - content:"\000A"; - white-space: pre; -} - -div.line.glow { - background-color: var(--glow-color); - box-shadow: 0 0 10px var(--glow-color); -} - -span.fold { - margin-left: 5px; - margin-right: 1px; - margin-top: 0px; - margin-bottom: 0px; - padding: 0px; - display: inline-block; - width: 12px; - height: 12px; - background-repeat:no-repeat; - background-position:center; -} - -span.lineno { - padding-right: 4px; - margin-right: 9px; - text-align: right; - border-right: 2px solid var(--fragment-lineno-border-color); - color: var(--fragment-lineno-foreground-color); - background-color: var(--fragment-lineno-background-color); - white-space: pre; -} -span.lineno a, span.lineno a:visited { - color: var(--fragment-lineno-link-fg-color); - background-color: var(--fragment-lineno-link-bg-color); -} - -span.lineno a:hover { - color: var(--fragment-lineno-link-hover-fg-color); - background-color: var(--fragment-lineno-link-hover-bg-color); -} - -.lineno { - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -div.classindex ul { - list-style: none; - padding-left: 0; -} - -div.classindex span.ai { - display: inline-block; -} - -div.groupHeader { - margin-left: 16px; - margin-top: 12px; - font-weight: bold; -} - -div.groupText { - margin-left: 16px; - font-style: italic; -} - -body { - color: var(--page-foreground-color); - margin: 0; -} - -div.contents { - margin-top: 10px; - margin-left: 12px; - margin-right: 8px; -} - -p.formulaDsp { - text-align: center; -} - -img.dark-mode-visible { - display: none; -} -img.light-mode-visible { - display: none; -} - -img.formulaInl, img.inline { - vertical-align: middle; -} - -div.center { - text-align: center; - margin-top: 0px; - margin-bottom: 0px; - padding: 0px; -} - -div.center img { - border: 0px; -} - -address.footer { - text-align: right; - padding-right: 12px; -} - -img.footer { - border: 0px; - vertical-align: middle; - width: var(--footer-logo-width); -} - -.compoundTemplParams { - color: var(--memdecl-template-color); - font-size: 80%; - line-height: 120%; -} - -/* @group Code Colorization */ - -span.keyword { - color: var(--code-keyword-color); -} - -span.keywordtype { - color: var(--code-type-keyword-color); -} - -span.keywordflow { - color: var(--code-flow-keyword-color); -} - -span.comment { - color: var(--code-comment-color); -} - -span.preprocessor { - color: var(--code-preprocessor-color); -} - -span.stringliteral { - color: var(--code-string-literal-color); -} - -span.charliteral { - color: var(--code-char-literal-color); -} - -span.xmlcdata { - color: var(--code-xml-cdata-color); -} - -span.vhdldigit { - color: var(--code-vhdl-digit-color); -} - -span.vhdlchar { - color: var(--code-vhdl-char-color); -} - -span.vhdlkeyword { - color: var(--code-vhdl-keyword-color); -} - -span.vhdllogic { - color: var(--code-vhdl-logic-color); -} - -blockquote { - background-color: var(--blockquote-background-color); - border-left: 2px solid var(--blockquote-border-color); - margin: 0 24px 0 4px; - padding: 0 12px 0 16px; -} - -/* @end */ - -td.tiny { - font-size: 75%; -} - -.dirtab { - padding: 4px; - border-collapse: collapse; - border: 1px solid var(--table-cell-border-color); -} - -th.dirtab { - background-color: var(--table-header-background-color); - color: var(--table-header-foreground-color); - font-weight: bold; -} - -hr { - height: 0px; - border: none; - border-top: 1px solid var(--separator-color); -} - -hr.footer { - height: 1px; -} - -/* @group Member Descriptions */ - -table.memberdecls { - border-spacing: 0px; - padding: 0px; -} - -.memberdecls td, .fieldtable tr { - -webkit-transition-property: background-color, box-shadow; - -webkit-transition-duration: 0.5s; - -moz-transition-property: background-color, box-shadow; - -moz-transition-duration: 0.5s; - -ms-transition-property: background-color, box-shadow; - -ms-transition-duration: 0.5s; - -o-transition-property: background-color, box-shadow; - -o-transition-duration: 0.5s; - transition-property: background-color, box-shadow; - transition-duration: 0.5s; -} - -.memberdecls td.glow, .fieldtable tr.glow { - background-color: var(--glow-color); - box-shadow: 0 0 15px var(--glow-color); -} - -.mdescLeft, .mdescRight, -.memItemLeft, .memItemRight, -.memTemplItemLeft, .memTemplItemRight, .memTemplParams { - background-color: var(--memdecl-background-color); - border: none; - margin: 4px; - padding: 1px 0 0 8px; -} - -.mdescLeft, .mdescRight { - padding: 0px 8px 4px 8px; - color: var(--memdecl-foreground-color); -} - -.memSeparator { - border-bottom: 1px solid var(--memdecl-separator-color); - line-height: 1px; - margin: 0px; - padding: 0px; -} - -.memItemLeft, .memTemplItemLeft { - white-space: nowrap; -} - -.memItemRight, .memTemplItemRight { - width: 100%; -} - -.memTemplParams { - color: var(--memdecl-template-color); - white-space: nowrap; - font-size: 80%; -} - -/* @end */ - -/* @group Member Details */ - -/* Styles for detailed member documentation */ - -.memtitle { - padding: 8px; - border-top: 1px solid var(--memdef-border-color); - border-left: 1px solid var(--memdef-border-color); - border-right: 1px solid var(--memdef-border-color); - border-top-right-radius: 4px; - border-top-left-radius: 4px; - margin-bottom: -1px; - background-image: var(--memdef-title-gradient-image); - background-repeat: repeat-x; - background-color: var(--memdef-title-background-color); - line-height: 1.25; - font-weight: 300; - float:left; -} - -.permalink -{ - font-size: 65%; - display: inline-block; - vertical-align: middle; -} - -.memtemplate { - font-size: 80%; - color: var(--memdef-template-color); - font-weight: normal; - margin-left: 9px; -} - -.mempage { - width: 100%; -} - -.memitem { - padding: 0; - margin-bottom: 10px; - margin-right: 5px; - -webkit-transition: box-shadow 0.5s linear; - -moz-transition: box-shadow 0.5s linear; - -ms-transition: box-shadow 0.5s linear; - -o-transition: box-shadow 0.5s linear; - transition: box-shadow 0.5s linear; - display: table !important; - width: 100%; -} - -.memitem.glow { - box-shadow: 0 0 15px var(--glow-color); -} - -.memname { - font-weight: 400; - margin-left: 6px; -} - -.memname td { - vertical-align: bottom; -} - -.memproto, dl.reflist dt { - border-top: 1px solid var(--memdef-border-color); - border-left: 1px solid var(--memdef-border-color); - border-right: 1px solid var(--memdef-border-color); - padding: 6px 0px 6px 0px; - color: var(--memdef-proto-text-color); - font-weight: bold; - text-shadow: var(--memdef-proto-text-shadow); - background-color: var(--memdef-proto-background-color); - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - border-top-right-radius: 4px; -} - -.overload { - font-family: var(--font-family-monospace); - font-size: 65%; -} - -.memdoc, dl.reflist dd { - border-bottom: 1px solid var(--memdef-border-color); - border-left: 1px solid var(--memdef-border-color); - border-right: 1px solid var(--memdef-border-color); - padding: 6px 10px 2px 10px; - border-top-width: 0; - background-image:url('nav_g.png'); - background-repeat:repeat-x; - background-color: var(--memdef-doc-background-color); - /* opera specific markup */ - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - /* firefox specific markup */ - -moz-border-radius-bottomleft: 4px; - -moz-border-radius-bottomright: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - /* webkit specific markup */ - -webkit-border-bottom-left-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -} - -dl.reflist dt { - padding: 5px; -} - -dl.reflist dd { - margin: 0px 0px 10px 0px; - padding: 5px; -} - -.paramkey { - text-align: right; -} - -.paramtype { - white-space: nowrap; - padding: 0px; - padding-bottom: 1px; -} - -.paramname { - white-space: nowrap; - padding: 0px; - padding-bottom: 1px; - margin-left: 2px; -} - -.paramname em { - color: var(--memdef-param-name-color); - font-style: normal; - margin-right: 1px; -} - -.paramname .paramdefval { - font-family: var(--font-family-monospace); -} - -.params, .retval, .exception, .tparams { - margin-left: 0px; - padding-left: 0px; -} - -.params .paramname, .retval .paramname, .tparams .paramname, .exception .paramname { - font-weight: bold; - vertical-align: top; -} - -.params .paramtype, .tparams .paramtype { - font-style: italic; - vertical-align: top; -} - -.params .paramdir, .tparams .paramdir { - font-family: var(--font-family-monospace); - vertical-align: top; -} - -table.mlabels { - border-spacing: 0px; -} - -td.mlabels-left { - width: 100%; - padding: 0px; -} - -td.mlabels-right { - vertical-align: bottom; - padding: 0px; - white-space: nowrap; -} - -span.mlabels { - margin-left: 8px; -} - -span.mlabel { - background-color: var(--label-background-color); - border-top:1px solid var(--label-left-top-border-color); - border-left:1px solid var(--label-left-top-border-color); - border-right:1px solid var(--label-right-bottom-border-color); - border-bottom:1px solid var(--label-right-bottom-border-color); - text-shadow: none; - color: var(--label-foreground-color); - margin-right: 4px; - padding: 2px 3px; - border-radius: 3px; - font-size: 7pt; - white-space: nowrap; - vertical-align: middle; -} - - - -/* @end */ - -/* these are for tree view inside a (index) page */ - -div.directory { - margin: 10px 0px; - border-top: 1px solid var(--directory-separator-color); - border-bottom: 1px solid var(--directory-separator-color); - width: 100%; -} - -.directory table { - border-collapse:collapse; -} - -.directory td { - margin: 0px; - padding: 0px; - vertical-align: top; -} - -.directory td.entry { - white-space: nowrap; - padding-right: 6px; - padding-top: 3px; -} - -.directory td.entry a { - outline:none; -} - -.directory td.entry a img { - border: none; -} - -.directory td.desc { - width: 100%; - padding-left: 6px; - padding-right: 6px; - padding-top: 3px; - border-left: 1px solid rgba(0,0,0,0.05); -} - -.directory tr.odd { - padding-left: 6px; - background-color: var(--index-odd-item-bg-color); -} - -.directory tr.even { - padding-left: 6px; - background-color: var(--index-even-item-bg-color); -} - -.directory img { - vertical-align: -30%; -} - -.directory .levels { - white-space: nowrap; - width: 100%; - text-align: right; - font-size: 9pt; -} - -.directory .levels span { - cursor: pointer; - padding-left: 2px; - padding-right: 2px; - color: var(--page-link-color); -} - -.arrow { - color: var(--nav-arrow-color); - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - cursor: pointer; - font-size: 80%; - display: inline-block; - width: 16px; - height: 22px; -} - -.icon { - font-family: var(--font-family-icon); - line-height: normal; - font-weight: bold; - font-size: 12px; - height: 14px; - width: 16px; - display: inline-block; - background-color: var(--icon-background-color); - color: var(--icon-foreground-color); - text-align: center; - border-radius: 4px; - margin-left: 2px; - margin-right: 2px; -} - -.icona { - width: 24px; - height: 22px; - display: inline-block; -} - -.iconfopen { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:var(--icon-folder-open-image); - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -.iconfclosed { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:var(--icon-folder-closed-image); - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -.icondoc { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:var(--icon-doc-image); - background-position: 0px -4px; - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -/* @end */ - -div.dynheader { - margin-top: 8px; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -address { - font-style: normal; - color: var(--footer-foreground-color); -} - -table.doxtable caption { - caption-side: top; -} - -table.doxtable { - border-collapse:collapse; - margin-top: 4px; - margin-bottom: 4px; -} - -table.doxtable td, table.doxtable th { - border: 1px solid var(--table-cell-border-color); - padding: 3px 7px 2px; -} - -table.doxtable th { - background-color: var(--table-header-background-color); - color: var(--table-header-foreground-color); - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; -} - -table.fieldtable { - margin-bottom: 10px; - border: 1px solid var(--memdef-border-color); - border-spacing: 0px; - border-radius: 4px; - box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); -} - -.fieldtable td, .fieldtable th { - padding: 3px 7px 2px; -} - -.fieldtable td.fieldtype, .fieldtable td.fieldname, .fieldtable td.fieldinit { - white-space: nowrap; - border-right: 1px solid var(--memdef-border-color); - border-bottom: 1px solid var(--memdef-border-color); - vertical-align: top; -} - -.fieldtable td.fieldname { - padding-top: 3px; -} - -.fieldtable td.fieldinit { - padding-top: 3px; - text-align: right; -} - - -.fieldtable td.fielddoc { - border-bottom: 1px solid var(--memdef-border-color); -} - -.fieldtable td.fielddoc p:first-child { - margin-top: 0px; -} - -.fieldtable td.fielddoc p:last-child { - margin-bottom: 2px; -} - -.fieldtable tr:last-child td { - border-bottom: none; -} - -.fieldtable th { - background-image: var(--memdef-title-gradient-image); - background-repeat:repeat-x; - background-color: var(--memdef-title-background-color); - font-size: 90%; - color: var(--memdef-proto-text-color); - padding-bottom: 4px; - padding-top: 5px; - text-align:left; - font-weight: 400; - border-top-left-radius: 4px; - border-top-right-radius: 4px; - border-bottom: 1px solid var(--memdef-border-color); -} - - -.tabsearch { - top: 0px; - left: 10px; - height: 36px; - background-image: var(--nav-gradient-image); - z-index: 101; - overflow: hidden; - font-size: 13px; -} - -.navpath ul -{ - font-size: 11px; - background-image: var(--nav-gradient-image); - background-repeat:repeat-x; - background-position: 0 -5px; - height:30px; - line-height:30px; - color:var(--nav-text-normal-color); - border:solid 1px var(--nav-breadcrumb-border-color); - overflow:hidden; - margin:0px; - padding:0px; -} - -.navpath li -{ - list-style-type:none; - float:left; - padding-left:10px; - padding-right:15px; - background-image:var(--nav-breadcrumb-image); - background-repeat:no-repeat; - background-position:right; - color: var(--nav-foreground-color); -} - -.navpath li.navelem a -{ - height:32px; - display:block; - outline: none; - color: var(--nav-text-normal-color); - font-family: var(--font-family-nav); - text-shadow: var(--nav-text-normal-shadow); - text-decoration: none; -} - -.navpath li.navelem a:hover -{ - color: var(--nav-text-hover-color); - text-shadow: var(--nav-text-hover-shadow); -} - -.navpath li.footer -{ - list-style-type:none; - float:right; - padding-left:10px; - padding-right:15px; - background-image:none; - background-repeat:no-repeat; - background-position:right; - color: var(--footer-foreground-color); - font-size: 8pt; -} - - -div.summary -{ - float: right; - font-size: 8pt; - padding-right: 5px; - width: 50%; - text-align: right; -} - -div.summary a -{ - white-space: nowrap; -} - -table.classindex -{ - margin: 10px; - white-space: nowrap; - margin-left: 3%; - margin-right: 3%; - width: 94%; - border: 0; - border-spacing: 0; - padding: 0; -} - -div.ingroups -{ - font-size: 8pt; - width: 50%; - text-align: left; -} - -div.ingroups a -{ - white-space: nowrap; -} - -div.header -{ - background-image: var(--header-gradient-image); - background-repeat:repeat-x; - background-color: var(--header-background-color); - margin: 0px; - border-bottom: 1px solid var(--header-separator-color); -} - -div.headertitle -{ - padding: 5px 5px 5px 10px; -} - -.PageDocRTL-title div.headertitle { - text-align: right; - direction: rtl; -} - -dl { - padding: 0 0 0 0; -} - -/* - -dl.section { - margin-left: 0px; - padding-left: 0px; -} - -dl.note { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #D0C000; -} - -dl.warning, dl.attention, dl.important { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #FF0000; -} - -dl.pre, dl.post, dl.invariant { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #00D000; -} - -dl.deprecated { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #505050; -} - -dl.todo { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #00C0E0; -} - -dl.test { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #3030E0; -} - -dl.bug { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #C08050; -} - -*/ - -dl.bug dt a, dl.deprecated dt a, dl.todo dt a, dl.test a { - font-weight: bold !important; -} - -dl.warning, dl.attention, dl.important, dl.note, dl.deprecated, dl.bug, -dl.invariant, dl.pre, dl.post, dl.todo, dl.test, dl.remark { - padding: 10px; - margin: 10px 0px; - overflow: hidden; - margin-left: 0; - border-radius: 4px; -} - -dl.section dd { - margin-bottom: 2px; -} - -dl.warning, dl.attention, dl.important { - background: var(--warning-color-bg); - border-left: 8px solid var(--warning-color-hl); - color: var(--warning-color-text); -} - -dl.warning dt, dl.attention dt, dl.important dt { - color: var(--warning-color-hl); -} - -dl.note, dl.remark { - background: var(--note-color-bg); - border-left: 8px solid var(--note-color-hl); - color: var(--note-color-text); -} - -dl.note dt, dl.remark dt { - color: var(--note-color-hl); -} - -dl.todo { - background: var(--todo-color-bg); - border-left: 8px solid var(--todo-color-hl); - color: var(--todo-color-text); -} - -dl.todo dt { - color: var(--todo-color-hl); -} - -dl.test { - background: var(--test-color-bg); - border-left: 8px solid var(--test-color-hl); - color: var(--test-color-text); -} - -dl.test dt { - color: var(--test-color-hl); -} - -dl.bug dt a { - color: var(--bug-color-hl) !important; -} - -dl.bug { - background: var(--bug-color-bg); - border-left: 8px solid var(--bug-color-hl); - color: var(--bug-color-text); -} - -dl.bug dt a { - color: var(--bug-color-hl) !important; -} - -dl.deprecated { - background: var(--deprecated-color-bg); - border-left: 8px solid var(--deprecated-color-hl); - color: var(--deprecated-color-text); -} - -dl.deprecated dt a { - color: var(--deprecated-color-hl) !important; -} - -dl.note dd, dl.warning dd, dl.pre dd, dl.post dd, -dl.remark dd, dl.attention dd, dl.important dd, dl.invariant dd, -dl.bug dd, dl.deprecated dd, dl.todo dd, dl.test dd { - margin-inline-start: 0px; -} - -dl.invariant, dl.pre, dl.post { - background: var(--invariant-color-bg); - border-left: 8px solid var(--invariant-color-hl); - color: var(--invariant-color-text); -} - -dl.invariant dt, dl.pre dt, dl.post dt { - color: var(--invariant-color-hl); -} - - -#projectrow -{ - height: 56px; -} - -#projectlogo -{ - text-align: center; - vertical-align: bottom; - border-collapse: separate; -} - -#projectlogo img -{ - border: 0px none; -} - -#projectalign -{ - vertical-align: middle; - padding-left: 0.5em; -} - -#projectname -{ - font-size: 200%; - font-family: var(--font-family-title); - margin: 0px; - padding: 2px 0px; -} - -#projectbrief -{ - font-size: 90%; - font-family: var(--font-family-title); - margin: 0px; - padding: 0px; -} - -#projectnumber -{ - font-size: 50%; - font-family: 50% var(--font-family-title); - margin: 0px; - padding: 0px; -} - -#titlearea -{ - padding: 0px; - margin: 0px; - width: 100%; - border-bottom: 1px solid var(--title-separator-color); - background-color: var(--title-background-color); -} - -.image -{ - text-align: center; -} - -.dotgraph -{ - text-align: center; -} - -.mscgraph -{ - text-align: center; -} - -.plantumlgraph -{ - text-align: center; -} - -.diagraph -{ - text-align: center; -} - -.caption -{ - font-weight: bold; -} - -dl.citelist { - margin-bottom:50px; -} - -dl.citelist dt { - color:var(--citation-label-color); - float:left; - font-weight:bold; - margin-right:10px; - padding:5px; - text-align:right; - width:52px; -} - -dl.citelist dd { - margin:2px 0 2px 72px; - padding:5px 0; -} - -div.toc { - padding: 14px 25px; - background-color: var(--toc-background-color); - border: 1px solid var(--toc-border-color); - border-radius: 7px 7px 7px 7px; - float: right; - height: auto; - margin: 0 8px 10px 10px; - width: 200px; -} - -div.toc li { - background: var(--toc-down-arrow-image) no-repeat scroll 0 5px transparent; - font: 10px/1.2 var(--font-family-toc); - margin-top: 5px; - padding-left: 10px; - padding-top: 2px; -} - -div.toc h3 { - font: bold 12px/1.2 var(--font-family-toc); - color: var(--toc-header-color); - border-bottom: 0 none; - margin: 0; -} - -div.toc ul { - list-style: none outside none; - border: medium none; - padding: 0px; -} - -div.toc li[class^='level'] { - margin-left: 15px; -} - -div.toc li.level1 { - margin-left: 0px; -} - -div.toc li.empty { - background-image: none; - margin-top: 0px; -} - -span.emoji { - /* font family used at the site: https://unicode.org/emoji/charts/full-emoji-list.html - * font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", Times, Symbola, Aegyptus, Code2000, Code2001, Code2002, Musica, serif, LastResort; - */ -} - -span.obfuscator { - display: none; -} - -.inherit_header { - font-weight: bold; - color: var(--inherit-header-color); - cursor: pointer; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.inherit_header td { - padding: 6px 0px 2px 5px; -} - -.inherit { - display: none; -} - -tr.heading h2 { - margin-top: 12px; - margin-bottom: 4px; -} - -/* tooltip related style info */ - -.ttc { - position: absolute; - display: none; -} - -#powerTip { - cursor: default; - /*white-space: nowrap;*/ - color: var(--tooltip-foreground-color); - background-color: var(--tooltip-background-color); - border: 1px solid var(--tooltip-border-color); - border-radius: 4px 4px 4px 4px; - box-shadow: var(--tooltip-shadow); - display: none; - font-size: smaller; - max-width: 80%; - opacity: 0.9; - padding: 1ex 1em 1em; - position: absolute; - z-index: 2147483647; -} - -#powerTip div.ttdoc { - color: var(--tooltip-doc-color); - font-style: italic; -} - -#powerTip div.ttname a { - font-weight: bold; -} - -#powerTip a { - color: var(--tooltip-link-color); -} - -#powerTip div.ttname { - font-weight: bold; -} - -#powerTip div.ttdeci { - color: var(--tooltip-declaration-color); -} - -#powerTip div { - margin: 0px; - padding: 0px; - font-size: 12px; - font-family: var(--font-family-tooltip); - line-height: 16px; -} - -#powerTip:before, #powerTip:after { - content: ""; - position: absolute; - margin: 0px; -} - -#powerTip.n:after, #powerTip.n:before, -#powerTip.s:after, #powerTip.s:before, -#powerTip.w:after, #powerTip.w:before, -#powerTip.e:after, #powerTip.e:before, -#powerTip.ne:after, #powerTip.ne:before, -#powerTip.se:after, #powerTip.se:before, -#powerTip.nw:after, #powerTip.nw:before, -#powerTip.sw:after, #powerTip.sw:before { - border: solid transparent; - content: " "; - height: 0; - width: 0; - position: absolute; -} - -#powerTip.n:after, #powerTip.s:after, -#powerTip.w:after, #powerTip.e:after, -#powerTip.nw:after, #powerTip.ne:after, -#powerTip.sw:after, #powerTip.se:after { - border-color: rgba(255, 255, 255, 0); -} - -#powerTip.n:before, #powerTip.s:before, -#powerTip.w:before, #powerTip.e:before, -#powerTip.nw:before, #powerTip.ne:before, -#powerTip.sw:before, #powerTip.se:before { - border-color: rgba(128, 128, 128, 0); -} - -#powerTip.n:after, #powerTip.n:before, -#powerTip.ne:after, #powerTip.ne:before, -#powerTip.nw:after, #powerTip.nw:before { - top: 100%; -} - -#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { - border-top-color: var(--tooltip-background-color); - border-width: 10px; - margin: 0px -10px; -} -#powerTip.n:before, #powerTip.ne:before, #powerTip.nw:before { - border-top-color: var(--tooltip-border-color); - border-width: 11px; - margin: 0px -11px; -} -#powerTip.n:after, #powerTip.n:before { - left: 50%; -} - -#powerTip.nw:after, #powerTip.nw:before { - right: 14px; -} - -#powerTip.ne:after, #powerTip.ne:before { - left: 14px; -} - -#powerTip.s:after, #powerTip.s:before, -#powerTip.se:after, #powerTip.se:before, -#powerTip.sw:after, #powerTip.sw:before { - bottom: 100%; -} - -#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { - border-bottom-color: var(--tooltip-background-color); - border-width: 10px; - margin: 0px -10px; -} - -#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { - border-bottom-color: var(--tooltip-border-color); - border-width: 11px; - margin: 0px -11px; -} - -#powerTip.s:after, #powerTip.s:before { - left: 50%; -} - -#powerTip.sw:after, #powerTip.sw:before { - right: 14px; -} - -#powerTip.se:after, #powerTip.se:before { - left: 14px; -} - -#powerTip.e:after, #powerTip.e:before { - left: 100%; -} -#powerTip.e:after { - border-left-color: var(--tooltip-border-color); - border-width: 10px; - top: 50%; - margin-top: -10px; -} -#powerTip.e:before { - border-left-color: var(--tooltip-border-color); - border-width: 11px; - top: 50%; - margin-top: -11px; -} - -#powerTip.w:after, #powerTip.w:before { - right: 100%; -} -#powerTip.w:after { - border-right-color: var(--tooltip-border-color); - border-width: 10px; - top: 50%; - margin-top: -10px; -} -#powerTip.w:before { - border-right-color: var(--tooltip-border-color); - border-width: 11px; - top: 50%; - margin-top: -11px; -} - -@media print -{ - #top { display: none; } - #side-nav { display: none; } - #nav-path { display: none; } - body { overflow:visible; } - h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } - .summary { display: none; } - .memitem { page-break-inside: avoid; } - #doc-content - { - margin-left:0 !important; - height:auto !important; - width:auto !important; - overflow:inherit; - display:inline; - } -} - -/* @group Markdown */ - -table.markdownTable { - border-collapse:collapse; - margin-top: 4px; - margin-bottom: 4px; -} - -table.markdownTable td, table.markdownTable th { - border: 1px solid var(--table-cell-border-color); - padding: 3px 7px 2px; -} - -table.markdownTable tr { -} - -th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone { - background-color: var(--table-header-background-color); - color: var(--table-header-foreground-color); - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; -} - -th.markdownTableHeadLeft, td.markdownTableBodyLeft { - text-align: left -} - -th.markdownTableHeadRight, td.markdownTableBodyRight { - text-align: right -} - -th.markdownTableHeadCenter, td.markdownTableBodyCenter { - text-align: center -} - -tt, code, kbd, samp -{ - display: inline-block; -} -/* @end */ - -u { - text-decoration: underline; -} - -details>summary { - list-style-type: none; -} - -details > summary::-webkit-details-marker { - display: none; -} - -details>summary::before { - content: "\25ba"; - padding-right:4px; - font-size: 80%; -} - -details[open]>summary::before { - content: "\25bc"; - padding-right:4px; - font-size: 80%; -} - diff --git a/doc/doxygen/html/doxygen.svg b/doc/doxygen/html/doxygen.svg deleted file mode 100644 index 79a7635..0000000 --- a/doc/doxygen/html/doxygen.svg +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/doc/doxygen/html/doxygen_crawl.html b/doc/doxygen/html/doxygen_crawl.html deleted file mode 100644 index 11b127c..0000000 --- a/doc/doxygen/html/doxygen_crawl.html +++ /dev/null @@ -1,1052 +0,0 @@ - - - -Validator / crawler helper - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/doc/doxygen/html/dynsections.js b/doc/doxygen/html/dynsections.js deleted file mode 100644 index 8985f42..0000000 --- a/doc/doxygen/html/dynsections.js +++ /dev/null @@ -1,205 +0,0 @@ -/* - @licstart The following is the entire license notice for the JavaScript code in this file. - - The MIT License (MIT) - - Copyright (C) 1997-2020 by Dimitri van Heesch - - Permission is hereby granted, free of charge, to any person obtaining a copy of this software - and associated documentation files (the "Software"), to deal in the Software without restriction, - including without limitation the rights to use, copy, modify, merge, publish, distribute, - sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all copies or - substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - @licend The above is the entire license notice for the JavaScript code in this file - */ - -function toggleVisibility(linkObj) { - return dynsection.toggleVisibility(linkObj); -} - -let dynsection = { - - // helper function - updateStripes : function() { - $('table.directory tr'). - removeClass('even').filter(':visible:even').addClass('even'); - $('table.directory tr'). - removeClass('odd').filter(':visible:odd').addClass('odd'); - }, - - toggleVisibility : function(linkObj) { - const base = $(linkObj).attr('id'); - const summary = $('#'+base+'-summary'); - const content = $('#'+base+'-content'); - const trigger = $('#'+base+'-trigger'); - const src=$(trigger).attr('src'); - if (content.is(':visible')===true) { - content.hide(); - summary.show(); - $(linkObj).addClass('closed').removeClass('opened'); - $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); - } else { - content.show(); - summary.hide(); - $(linkObj).removeClass('closed').addClass('opened'); - $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); - } - return false; - }, - - toggleLevel : function(level) { - $('table.directory tr').each(function() { - const l = this.id.split('_').length-1; - const i = $('#img'+this.id.substring(3)); - const a = $('#arr'+this.id.substring(3)); - if (l'); - // add vertical lines to other rows - $('span[class=lineno]').not(':eq(0)').append(''); - // add toggle controls to lines with fold divs - $('div[class=foldopen]').each(function() { - // extract specific id to use - const id = $(this).attr('id').replace('foldopen',''); - // extract start and end foldable fragment attributes - const start = $(this).attr('data-start'); - const end = $(this).attr('data-end'); - // replace normal fold span with controls for the first line of a foldable fragment - $(this).find('span[class=fold]:first').replaceWith(''); - // append div for folded (closed) representation - $(this).after(''); - // extract the first line from the "open" section to represent closed content - const line = $(this).children().first().clone(); - // remove any glow that might still be active on the original line - $(line).removeClass('glow'); - if (start) { - // if line already ends with a start marker (e.g. trailing {), remove it - $(line).html($(line).html().replace(new RegExp('\\s*'+start+'\\s*$','g'),'')); - } - // replace minus with plus symbol - $(line).find('span[class=fold]').css('background-image',codefold.plusImg[relPath]); - // append ellipsis - $(line).append(' '+start+''+end); - // insert constructed line into closed div - $('#foldclosed'+id).html(line); - }); - }, -}; -/* @license-end */ -$(function() { - $('.code,.codeRef').each(function() { - $(this).data('powertip',$('#a'+$(this).attr('href').replace(/.*\//,'').replace(/[^a-z_A-Z0-9]/g,'_')).html()); - $.fn.powerTip.smartPlacementLists.s = [ 's', 'n', 'ne', 'se' ]; - $(this).powerTip({ placement: 's', smartPlacement: true, mouseOnToPopup: true }); - }); -}); diff --git a/doc/doxygen/html/files.html b/doc/doxygen/html/files.html deleted file mode 100644 index 87ab992..0000000 --- a/doc/doxygen/html/files.html +++ /dev/null @@ -1,205 +0,0 @@ - - - - - - - - -Archeus: File List - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
File List
-
-
-
Here is a list of all files with brief descriptions:
-
[detail level 12345]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  include
  arc
  audio
 audio.h
 config.h
  console
 buffer.h
 element.h
 key.h
 shell.h
 view.h
  engine
 ecs.h
 engine.h
 state.h
  graphics
  none
 renderer.h
 sprite.h
 spritesheet.h
 text.h
 window.h
 circle.h
 color.h
 config.h
 line.h
 obround.h
 rectangle.h
 renderer.h
 sprite.h
 spritesheet.h
 text.h
 view.h
 window.h
  input
  none
 keyboard.h
 mouse.h
 input.h
 keyboard.h
 mouse.h
  math
 circle.h
 config.h
 obround.h
 point.h
 rectangle.h
 vector2.h
 vector3.h
  networking
 ssh.h
  std
  defaults
 config.h
  parser
 csv.h
 helpers.h
 parserlang.h
 array.h
 bool.h
 chemical.h
 config.h
 errno.h
 handler.h
 hashtable.h
 io.h
 lexer.h
 parser.h
 queue.h
 stack.h
 string.h
 time.h
 vector.hCreates and outlines a dynamic array type and its functions
-
-
-
- - - - - - diff --git a/doc/doxygen/html/files_dup.js b/doc/doxygen/html/files_dup.js deleted file mode 100644 index f1749d9..0000000 --- a/doc/doxygen/html/files_dup.js +++ /dev/null @@ -1,4 +0,0 @@ -var files_dup = -[ - [ "include", "dir_d44c64559bbebec7f509842c48db8b23.html", "dir_d44c64559bbebec7f509842c48db8b23" ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/folderclosed.svg b/doc/doxygen/html/folderclosed.svg deleted file mode 100644 index b04bed2..0000000 --- a/doc/doxygen/html/folderclosed.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - diff --git a/doc/doxygen/html/folderclosedd.svg b/doc/doxygen/html/folderclosedd.svg deleted file mode 100644 index 52f0166..0000000 --- a/doc/doxygen/html/folderclosedd.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - diff --git a/doc/doxygen/html/folderopen.svg b/doc/doxygen/html/folderopen.svg deleted file mode 100644 index f6896dd..0000000 --- a/doc/doxygen/html/folderopen.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - diff --git a/doc/doxygen/html/folderopend.svg b/doc/doxygen/html/folderopend.svg deleted file mode 100644 index 2d1f06e..0000000 --- a/doc/doxygen/html/folderopend.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - diff --git a/doc/doxygen/html/functions.html b/doc/doxygen/html/functions.html deleted file mode 100644 index aff61d9..0000000 --- a/doc/doxygen/html/functions.html +++ /dev/null @@ -1,270 +0,0 @@ - - - - - - - - -Archeus: Data Fields - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all struct and union fields with links to the structures/unions they belong to:
- -

- a -

- - -

- b -

- - -

- c -

- - -

- d -

- - -

- f -

- - -

- g -

- - -

- h -

- - -

- i -

- - -

- k -

- - -

- l -

- - -

- m -

- - -

- n -

- - -

- p -

- - -

- r -

- - -

- s -

- - -

- t -

- - -

- u -

- - -

- v -

- - -

- w -

- - -

- x -

- - -

- y -

-
-
- - - - - - diff --git a/doc/doxygen/html/functions_vars.html b/doc/doxygen/html/functions_vars.html deleted file mode 100644 index 1653ed4..0000000 --- a/doc/doxygen/html/functions_vars.html +++ /dev/null @@ -1,270 +0,0 @@ - - - - - - - - -Archeus: Data Fields - Variables - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all variables with links to the structures/unions they belong to:
- -

- a -

- - -

- b -

- - -

- c -

- - -

- d -

- - -

- f -

- - -

- g -

- - -

- h -

- - -

- i -

- - -

- k -

- - -

- l -

- - -

- m -

- - -

- n -

- - -

- p -

- - -

- r -

- - -

- s -

- - -

- t -

- - -

- u -

- - -

- v -

- - -

- w -

- - -

- x -

- - -

- y -

-
-
- - - - - - diff --git a/doc/doxygen/html/globals.html b/doc/doxygen/html/globals.html deleted file mode 100644 index 136e819..0000000 --- a/doc/doxygen/html/globals.html +++ /dev/null @@ -1,727 +0,0 @@ - - - - - - - - -Archeus: Globals - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
- -

- a -

-
-
- - - - - - diff --git a/doc/doxygen/html/globals_a.html b/doc/doxygen/html/globals_a.html deleted file mode 100644 index 0bf0031..0000000 --- a/doc/doxygen/html/globals_a.html +++ /dev/null @@ -1,807 +0,0 @@ - - - - - - - - -Archeus: Globals - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
- -

- a -

-
-
- - - - - - diff --git a/doc/doxygen/html/globals_c.html b/doc/doxygen/html/globals_c.html deleted file mode 100644 index d1afcae..0000000 --- a/doc/doxygen/html/globals_c.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - -Archeus: Globals - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
- -

- c -

-
-
- - - - - - diff --git a/doc/doxygen/html/globals_d.html b/doc/doxygen/html/globals_d.html deleted file mode 100644 index c59e924..0000000 --- a/doc/doxygen/html/globals_d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: Globals - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
- -

- d -

-
-
- - - - - - diff --git a/doc/doxygen/html/globals_defs.html b/doc/doxygen/html/globals_defs.html deleted file mode 100644 index ea3c1a3..0000000 --- a/doc/doxygen/html/globals_defs.html +++ /dev/null @@ -1,247 +0,0 @@ - - - - - - - - -Archeus: Globals - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all macros with links to the files they belong to:
- -

- a -

    -
  • ARC_Bool : bool.h
  • -
  • ARC_CONFIG_FILE_IO_LOAD : config.h
  • -
  • ARC_CONFIG_FILE_IO_UNLOAD : config.h
  • -
  • ARC_CONSOLE_ELEMENT_FLAG_NONE : element.h
  • -
  • ARC_CONSOLE_ELEMENT_FLAG_SELECTABLE : element.h
  • -
  • ARC_CONSOLE_ELEMENT_FLAG_SELECTED : element.h
  • -
  • ARC_CONSOLE_VIEW_ATTRIBUTE_NONE : view.h
  • -
  • ARC_CONSOLE_VIEW_ATTRIBUTE_REVERSE : view.h
  • -
  • ARC_CONSOLE_VIEW_BORDER_DEFAULT : view.h
  • -
  • ARC_CONSOLE_VIEW_BORDER_NONE : view.h
  • -
  • ARC_CONSOLE_VIEW_CURSOR_HIDDEN : view.h
  • -
  • ARC_CONSOLE_VIEW_CURSOR_VISIBLE : view.h
  • -
  • ARC_DEBUG_LOG_ERROR : errno.h
  • -
  • ARC_DEBUG_LOG_ERROR_WITH_VARIABLES : errno.h
  • -
  • ARC_ERRNO_CONNECTION : errno.h
  • -
  • ARC_ERRNO_COPY : errno.h
  • -
  • ARC_ERRNO_DATA : errno.h
  • -
  • ARC_ERRNO_EXISTS : errno.h
  • -
  • ARC_ERRNO_INIT : errno.h
  • -
  • ARC_ERRNO_NULL : errno.h
  • -
  • ARC_ERRNO_OVERFLOW : errno.h
  • -
  • ARC_False : bool.h
  • -
  • ARC_GROUP_BUCKET_SIZE : config.h
  • -
  • ARC_GROUP_DATA_BUCKET_SIZE : config.h
  • -
  • ARC_KEY_BUCKET_SIZE : config.h
  • -
  • ARC_KEYBOARD_BUTTON_NUM : keyboard.h
  • -
  • ARC_LEXER_TOKEN_ALPHA_LOWER_CHAR : lexer.h
  • -
  • ARC_LEXER_TOKEN_ALPHA_UPPER_CHAR : lexer.h
  • -
  • ARC_LEXER_TOKEN_AT_CHAR : lexer.h
  • -
  • ARC_LEXER_TOKEN_AT_ID : lexer.h
  • -
  • ARC_LEXER_TOKEN_AT_TAG : lexer.h
  • -
  • ARC_LEXER_TOKEN_BACK_SLASH_CHAR : lexer.h
  • -
  • ARC_LEXER_TOKEN_BACK_SLASH_ID : lexer.h
  • -
  • ARC_LEXER_TOKEN_BACK_SLASH_TAG : lexer.h
  • -
  • ARC_LEXER_TOKEN_BANG_CHAR : lexer.h
  • -
  • ARC_LEXER_TOKEN_BANG_ID : lexer.h
  • -
  • ARC_LEXER_TOKEN_BANG_TAG : lexer.h
  • -
  • ARC_LEXER_TOKEN_COLON_CHAR : lexer.h
  • -
  • ARC_LEXER_TOKEN_COLON_ID : lexer.h
  • -
  • ARC_LEXER_TOKEN_COLON_TAG : lexer.h
  • -
  • ARC_LEXER_TOKEN_COMMA_CHAR : lexer.h
  • -
  • ARC_LEXER_TOKEN_COMMA_ID : lexer.h
  • -
  • ARC_LEXER_TOKEN_COMMA_TAG : lexer.h
  • -
  • ARC_LEXER_TOKEN_FORWARD_SLASH_CHAR : lexer.h
  • -
  • ARC_LEXER_TOKEN_FORWARD_SLASH_ID : lexer.h
  • -
  • ARC_LEXER_TOKEN_FORWARD_SLASH_TAG : lexer.h
  • -
  • ARC_LEXER_TOKEN_HASH_CHAR : lexer.h
  • -
  • ARC_LEXER_TOKEN_HASH_ID : lexer.h
  • -
  • ARC_LEXER_TOKEN_HASH_TAG : lexer.h
  • -
  • ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_CHAR : lexer.h
  • -
  • ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_ID : lexer.h
  • -
  • ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_TAG : lexer.h
  • -
  • ARC_LEXER_TOKEN_LEFT_PARENTHESIS_CHAR : lexer.h
  • -
  • ARC_LEXER_TOKEN_LEFT_PARENTHESIS_ID : lexer.h
  • -
  • ARC_LEXER_TOKEN_LEFT_PARENTHESIS_TAG : lexer.h
  • -
  • ARC_LEXER_TOKEN_NEWLINE_CHAR : lexer.h
  • -
  • ARC_LEXER_TOKEN_NEWLINE_ID : lexer.h
  • -
  • ARC_LEXER_TOKEN_NULL : lexer.h
  • -
  • ARC_LEXER_TOKEN_NUMBER : lexer.h
  • -
  • ARC_LEXER_TOKEN_PERCENT_CHAR : lexer.h
  • -
  • ARC_LEXER_TOKEN_PERCENT_ID : lexer.h
  • -
  • ARC_LEXER_TOKEN_PERCENT_TAG : lexer.h
  • -
  • ARC_LEXER_TOKEN_PERIOD_CHAR : lexer.h
  • -
  • ARC_LEXER_TOKEN_PERIOD_ID : lexer.h
  • -
  • ARC_LEXER_TOKEN_PERIOD_TAG : lexer.h
  • -
  • ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_CHAR : lexer.h
  • -
  • ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_ID : lexer.h
  • -
  • ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_TAG : lexer.h
  • -
  • ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_CHAR : lexer.h
  • -
  • ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_ID : lexer.h
  • -
  • ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_TAG : lexer.h
  • -
  • ARC_LEXER_TOKEN_SEMICOLON_CHAR : lexer.h
  • -
  • ARC_LEXER_TOKEN_SEMICOLON_ID : lexer.h
  • -
  • ARC_LEXER_TOKEN_SEMICOLON_TAG : lexer.h
  • -
  • ARC_LEXER_TOKEN_WHITESPACE : lexer.h
  • -
  • ARC_MOUSE_BUTTON_NUM : mouse.h
  • -
  • ARC_PARSER_CSV_CHAR_AFTER_COMMA : csv.h
  • -
  • ARC_PARSER_CSV_CHAR_BEFORE_COMMA : csv.h
  • -
  • ARC_PARSER_CSV_CHAR_COMMA : csv.h
  • -
  • ARC_PARSER_CSV_CHAR_NEWLINE : csv.h
  • -
  • ARC_PARSER_CSV_DATA : csv.h
  • -
  • ARC_PARSER_CSV_LINE : csv.h
  • -
  • ARC_PARSER_CSV_NON_COMMA_CHAR : csv.h
  • -
  • ARC_PARSER_CSV_STRING : csv.h
  • -
  • ARC_PARSER_TAG_LAMBDA : parser.h
  • -
  • ARC_PARSERLANG_ALPHA_CHAR : parserlang.h
  • -
  • ARC_PARSERLANG_ARGUMENT : parserlang.h
  • -
  • ARC_PARSERLANG_ARGUMENTS : parserlang.h
  • -
  • ARC_PARSERLANG_BODY : parserlang.h
  • -
  • ARC_PARSERLANG_CONSTANT : parserlang.h
  • -
  • ARC_PARSERLANG_CONSTANT_BODY : parserlang.h
  • -
  • ARC_PARSERLANG_CONSTANT_CHAR : parserlang.h
  • -
  • ARC_PARSERLANG_LAMBDA : parserlang.h
  • -
  • ARC_PARSERLANG_LINE : parserlang.h
  • -
  • ARC_PARSERLANG_TAG : parserlang.h
  • -
  • ARC_PARSERLANG_TAG_OR_CONSTANT : parserlang.h
  • -
  • ARC_PARSERLANG_TOKEN_ALPHA_LOWER_CHAR : parserlang.h
  • -
  • ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR : parserlang.h
  • -
  • ARC_PARSERLANG_TOKEN_ARROW_CSTRING : parserlang.h
  • -
  • ARC_PARSERLANG_TOKEN_ARROW_ID : parserlang.h
  • -
  • ARC_PARSERLANG_TOKEN_GREATER_THAN_CHAR : parserlang.h
  • -
  • ARC_PARSERLANG_TOKEN_GREATER_THAN_ID : parserlang.h
  • -
  • ARC_PARSERLANG_TOKEN_LESS_THAN_CHAR : parserlang.h
  • -
  • ARC_PARSERLANG_TOKEN_LESS_THAN_ID : parserlang.h
  • -
  • ARC_PARSERLANG_TOKEN_NEWLINE_CHAR : parserlang.h
  • -
  • ARC_PARSERLANG_TOKEN_NEWLINE_ID : parserlang.h
  • -
  • ARC_PARSERLANG_TOKEN_NULL : parserlang.h
  • -
  • ARC_PARSERLANG_TOKEN_NUMBER : parserlang.h
  • -
  • ARC_PARSERLANG_TOKEN_OR_CHAR : parserlang.h
  • -
  • ARC_PARSERLANG_TOKEN_OR_ID : parserlang.h
  • -
  • ARC_PARSERLANG_TOKEN_UNDERSCORE_CHAR : parserlang.h
  • -
  • ARC_PARSERLANG_TOKEN_UNDERSCORE_ID : parserlang.h
  • -
  • ARC_PARSERLANG_TOKEN_WHITESPACE : parserlang.h
  • -
  • ARC_PARSERLANG_VARIABLE : parserlang.h
  • -
  • ARC_PARSERLANG_VARIABLE_BODY : parserlang.h
  • -
  • ARC_PARSERLANG_VARIABLE_CHAR : parserlang.h
  • -
  • ARC_PARSERLANG_WHITESPACE : parserlang.h
  • -
  • ARC_True : bool.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/globals_dup.js b/doc/doxygen/html/globals_dup.js deleted file mode 100644 index 4d23315..0000000 --- a/doc/doxygen/html/globals_dup.js +++ /dev/null @@ -1,4 +0,0 @@ -var globals_dup = -[ - [ "a", "globals.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/globals_enum.html b/doc/doxygen/html/globals_enum.html deleted file mode 100644 index 8edaf91..0000000 --- a/doc/doxygen/html/globals_enum.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - -Archeus: Globals - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all enums with links to the files they belong to:
-
-
- - - - - - diff --git a/doc/doxygen/html/globals_eval.html b/doc/doxygen/html/globals_eval.html deleted file mode 100644 index 9fdd6e6..0000000 --- a/doc/doxygen/html/globals_eval.html +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - - - -Archeus: Globals - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all enum values with links to the files they belong to:
- -

- a -

-
-
- - - - - - diff --git a/doc/doxygen/html/globals_func.html b/doc/doxygen/html/globals_func.html deleted file mode 100644 index 410c378..0000000 --- a/doc/doxygen/html/globals_func.html +++ /dev/null @@ -1,424 +0,0 @@ - - - - - - - - -Archeus: Globals - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all functions with links to the files they belong to:
- -

- a -

    -
  • ARC_Audio_Delete() : config.h
  • -
  • ARC_Audio_Play() : audio.h
  • -
  • ARC_Audio_Read() : config.h
  • -
  • ARC_AudioConfig_Init() : config.h
  • -
  • ARC_Chemical_Create() : chemical.h
  • -
  • ARC_Chemical_Destroy() : chemical.h
  • -
  • ARC_Chemical_Get() : chemical.h
  • -
  • ARC_Chemical_LoadFromFile() : chemical.h
  • -
  • ARC_Chemical_LoadFromString() : chemical.h
  • -
  • ARC_Chemical_RegisterType() : chemical.h
  • -
  • ARC_Chemical_SetGroup() : chemical.h
  • -
  • ARC_Chemical_UnloadFromFile() : chemical.h
  • -
  • ARC_Chemical_UnloadFromString() : chemical.h
  • -
  • ARC_Circle_Render() : circle.h
  • -
  • ARC_Circle_RenderFill() : circle.h
  • -
  • ARC_Config_AddKey() : config.h
  • -
  • ARC_Config_AddKeyCString() : config.h
  • -
  • ARC_Config_Create() : config.h
  • -
  • ARC_Config_Destroy() : config.h
  • -
  • ARC_Config_FileIO() : config.h
  • -
  • ARC_Config_Get() : config.h
  • -
  • ARC_Config_SetGroup() : config.h
  • -
  • ARC_ConfigKey_Delete_Char() : config.h
  • -
  • ARC_ConfigKey_Delete_Double() : config.h
  • -
  • ARC_ConfigKey_Delete_Float() : config.h
  • -
  • ARC_ConfigKey_Delete_Int() : config.h
  • -
  • ARC_ConfigKey_Delete_Int16_t() : config.h
  • -
  • ARC_ConfigKey_Delete_Int32_t() : config.h
  • -
  • ARC_ConfigKey_Delete_Int64_t() : config.h
  • -
  • ARC_ConfigKey_Delete_Int8_t() : config.h
  • -
  • ARC_ConfigKey_Delete_Long() : config.h
  • -
  • ARC_ConfigKey_Delete_String() : config.h
  • -
  • ARC_ConfigKey_Delete_StringArray() : config.h
  • -
  • ARC_ConfigKey_Delete_Uint16_t() : config.h
  • -
  • ARC_ConfigKey_Delete_Uint32_t() : config.h
  • -
  • ARC_ConfigKey_Delete_Uint64_t() : config.h
  • -
  • ARC_ConfigKey_Delete_Uint8_t() : config.h
  • -
  • ARC_ConfigKey_Read_Char() : config.h
  • -
  • ARC_ConfigKey_Read_Double() : config.h
  • -
  • ARC_ConfigKey_Read_Float() : config.h
  • -
  • ARC_ConfigKey_Read_Int() : config.h
  • -
  • ARC_ConfigKey_Read_Int16_t() : config.h
  • -
  • ARC_ConfigKey_Read_Int32_t() : config.h
  • -
  • ARC_ConfigKey_Read_Int64_t() : config.h
  • -
  • ARC_ConfigKey_Read_Int8_t() : config.h
  • -
  • ARC_ConfigKey_Read_Long() : config.h
  • -
  • ARC_ConfigKey_Read_String() : config.h
  • -
  • ARC_ConfigKey_Read_StringArray() : config.h
  • -
  • ARC_ConfigKey_Read_Uint16_t() : config.h
  • -
  • ARC_ConfigKey_Read_Uint32_t() : config.h
  • -
  • ARC_ConfigKey_Read_Uint64_t() : config.h
  • -
  • ARC_ConfigKey_Read_Uint8_t() : config.h
  • -
  • ARC_ConsoleBuffer_AddChar() : buffer.h
  • -
  • ARC_ConsoleBuffer_AddCString() : buffer.h
  • -
  • ARC_ConsoleBuffer_AddCStringWithStrlen() : buffer.h
  • -
  • ARC_ConsoleBuffer_AddString() : buffer.h
  • -
  • ARC_ConsoleBuffer_Clear() : buffer.h
  • -
  • ARC_ConsoleBuffer_Create() : buffer.h
  • -
  • ARC_ConsoleBuffer_Destroy() : buffer.h
  • -
  • ARC_ConsoleBuffer_GetLineNumbers() : buffer.h
  • -
  • ARC_ConsoleBuffer_Render() : buffer.h
  • -
  • ARC_ConsoleBuffer_RenderSection() : buffer.h
  • -
  • ARC_ConsoleElement_Create() : element.h
  • -
  • ARC_ConsoleElement_DefaultRenderFn() : element.h
  • -
  • ARC_ConsoleElement_Destroy() : element.h
  • -
  • ARC_ConsoleElement_IsSelectable() : element.h
  • -
  • ARC_ConsoleElement_SetSelected() : element.h
  • -
  • ARC_ConsoleElement_ToggleSelected() : element.h
  • -
  • ARC_ConsoleKey_Create() : key.h
  • -
  • ARC_ConsoleKey_Destroy() : key.h
  • -
  • ARC_ConsoleKey_Equals() : key.h
  • -
  • ARC_ConsoleKey_EqualsPointer() : key.h
  • -
  • ARC_ConsoleKey_GetCharFromKey() : key.h
  • -
  • ARC_ConsoleShell_AddHistory() : shell.h
  • -
  • ARC_ConsoleShell_Create() : shell.h
  • -
  • ARC_ConsoleShell_Destroy() : shell.h
  • -
  • ARC_ConsoleShell_GetHistoryAt() : shell.h
  • -
  • ARC_ConsoleShell_Render() : shell.h
  • -
  • ARC_ConsoleShell_Update() : shell.h
  • -
  • ARC_ConsoleView_AddElement() : view.h
  • -
  • ARC_ConsoleView_Clear() : view.h
  • -
  • ARC_ConsoleView_Create() : view.h
  • -
  • ARC_ConsoleView_Destroy() : view.h
  • -
  • ARC_ConsoleView_GetBounds() : view.h
  • -
  • ARC_ConsoleView_GetChar() : view.h
  • -
  • ARC_ConsoleView_GetCharAt() : view.h
  • -
  • ARC_ConsoleView_GetConsoleKeyAt() : view.h
  • -
  • ARC_ConsoleView_GetCreateConsoleKeyAt() : view.h
  • -
  • ARC_ConsoleView_GetElement() : view.h
  • -
  • ARC_ConsoleView_GetStringInput() : view.h
  • -
  • ARC_ConsoleView_RemoveElement() : view.h
  • -
  • ARC_ConsoleView_RenderCharAt() : view.h
  • -
  • ARC_ConsoleView_RenderCStringWithStrlenAt() : view.h
  • -
  • ARC_ConsoleView_RenderElements() : view.h
  • -
  • ARC_ConsoleView_RenderKeyAt() : view.h
  • -
  • ARC_ConsoleView_RenderRect() : view.h
  • -
  • ARC_ConsoleView_RenderStringAt() : view.h
  • -
  • ARC_ConsoleView_RenderUint32At() : view.h
  • -
  • ARC_ConsoleView_RenderWCharAt() : view.h
  • -
  • ARC_ConsoleView_SetAttribute() : view.h
  • -
  • ARC_ConsoleView_SetBorder() : view.h
  • -
  • ARC_ConsoleView_SetCursorVisibility() : view.h
  • -
  • ARC_Defaults_ConfigKey_Create() : config.h
  • -
  • ARC_ECS_Create() : ecs.h
  • -
  • ARC_ECS_Destroy() : ecs.h
  • -
  • ARC_Engine_RunUncapped() : engine.h
  • -
  • ARC_EngineData_Create() : engine.h
  • -
  • ARC_EngineData_Destroy() : engine.h
  • -
  • ARC_FObround_CastToObround() : obround.h
  • -
  • ARC_FObround_Render() : obround.h
  • -
  • ARC_FPoint_Lerp() : point.h
  • -
  • ARC_FRect_CastToRect() : rectangle.h
  • -
  • ARC_FRect_CenterOn() : rectangle.h
  • -
  • ARC_FRect_CollideAndSlide() : rectangle.h
  • -
  • ARC_FRect_Intersects() : rectangle.h
  • -
  • ARC_FRect_IntersectsPoint() : rectangle.h
  • -
  • ARC_FRect_Render() : rectangle.h
  • -
  • ARC_FRect_RenderFill() : rectangle.h
  • -
  • ARC_GraphicsConfig_Init() : config.h
  • -
  • ARC_Handler_Add() : handler.h
  • -
  • ARC_Handler_Clean() : handler.h
  • -
  • ARC_Handler_Clear() : handler.h
  • -
  • ARC_Handler_Create() : handler.h
  • -
  • ARC_Handler_Destroy() : handler.h
  • -
  • ARC_Handler_GetSize() : handler.h
  • -
  • ARC_Handler_Iterate() : handler.h
  • -
  • ARC_Handler_Remove() : handler.h
  • -
  • ARC_Handler_RemoveIndex() : handler.h
  • -
  • ARC_Hashtable_Add() : hashtable.h
  • -
  • ARC_Hashtable_Create() : hashtable.h
  • -
  • ARC_Hashtable_Destroy() : hashtable.h
  • -
  • ARC_Hashtable_Get() : hashtable.h
  • -
  • ARC_Hashtable_Remove() : hashtable.h
  • -
  • ARC_Input_CreateWithEngineData() : input.h
  • -
  • ARC_Input_Destroy() : input.h
  • -
  • ARC_Input_GetKeyboard() : input.h
  • -
  • ARC_Input_GetMouse() : input.h
  • -
  • ARC_Input_Update() : input.h
  • -
  • ARC_IO_FileToStr() : io.h
  • -
  • ARC_IO_ReadFileToUint8t() : io.h
  • -
  • ARC_IO_WriteStrToFile() : io.h
  • -
  • ARC_Keyboard_CreateWithInput() : keyboard.h
  • -
  • ARC_Keyboard_Destroy() : keyboard.h
  • -
  • ARC_Keyboard_GetConsoleKey() : key.h
  • -
  • ARC_Keyboard_GetState() : keyboard.h
  • -
  • ARC_Keyboard_Update() : keyboard.h
  • -
  • ARC_Lexer_AutomataMatchCharFn() : lexer.h
  • -
  • ARC_Lexer_AutomataMatchCharInStringFn() : lexer.h
  • -
  • ARC_Lexer_AutomataMatchStringFn() : lexer.h
  • -
  • ARC_Lexer_Clear() : lexer.h
  • -
  • ARC_Lexer_Create() : lexer.h
  • -
  • ARC_Lexer_Destroy() : lexer.h
  • -
  • ARC_Lexer_GetToken() : lexer.h
  • -
  • ARC_Lexer_GetTokensSize() : lexer.h
  • -
  • ARC_Lexer_InitBasicTokenRules() : lexer.h
  • -
  • ARC_Lexer_IsContinious() : lexer.h
  • -
  • ARC_Lexer_IsTokenId() : lexer.h
  • -
  • ARC_Lexer_LexFile() : lexer.h
  • -
  • ARC_Lexer_LexString() : lexer.h
  • -
  • ARC_Lexer_PrintTokenRules() : lexer.h
  • -
  • ARC_Lexer_RegisterTokenRule() : lexer.h
  • -
  • ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule() : lexer.h
  • -
  • ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween() : lexer.h
  • -
  • ARC_LexerTokenRule_CreateAndReturnMatchCharRule() : lexer.h
  • -
  • ARC_LexerTokenRule_CreateAndReturnMatchStringRule() : lexer.h
  • -
  • ARC_Line_Render() : line.h
  • -
  • ARC_MathConfig_Init() : config.h
  • -
  • ARC_Mouse_CreateWithInput() : mouse.h
  • -
  • ARC_Mouse_Destroy() : mouse.h
  • -
  • ARC_Mouse_GetCoords() : mouse.h
  • -
  • ARC_Mouse_GetScrollY() : mouse.h
  • -
  • ARC_Mouse_GetState() : mouse.h
  • -
  • ARC_Mouse_Update() : mouse.h
  • -
  • ARC_Obround_CastToFObround() : obround.h
  • -
  • ARC_Obround_Render() : obround.h
  • -
  • ARC_Parser_ClearData() : parser.h
  • -
  • ARC_Parser_Create() : parser.h
  • -
  • ARC_Parser_CreateFromString() : parser.h
  • -
  • ARC_Parser_CreateFromVector() : parser.h
  • -
  • ARC_Parser_Destroy() : parser.h
  • -
  • ARC_Parser_GetData() : parser.h
  • -
  • ARC_Parser_Parse() : parser.h
  • -
  • ARC_Parser_ParseFile() : parser.h
  • -
  • ARC_ParserCSV_CreateAsParser() : csv.h
  • -
  • ARC_ParserData_HelperRecurseStringAdd() : helpers.h
  • -
  • ARC_ParserLang_CreateAsParser() : parserlang.h
  • -
  • ARC_Point_Delete() : config.h
  • -
  • ARC_Point_Read() : config.h
  • -
  • ARC_Queue_Create() : queue.h
  • -
  • ARC_Queue_Destroy() : queue.h
  • -
  • ARC_Queue_Pop() : queue.h
  • -
  • ARC_Queue_Push() : queue.h
  • -
  • ARC_Queue_Size() : queue.h
  • -
  • ARC_Rect_CastToFRect() : rectangle.h
  • -
  • ARC_Rect_CenterOn() : rectangle.h
  • -
  • ARC_Rect_Delete() : config.h
  • -
  • ARC_Rect_Intersects() : rectangle.h
  • -
  • ARC_Rect_IntersectsPoint() : rectangle.h
  • -
  • ARC_Rect_LineIntersects() : rectangle.h
  • -
  • ARC_Rect_Read() : config.h
  • -
  • ARC_Rect_Render() : rectangle.h
  • -
  • ARC_Rect_RenderFill() : rectangle.h
  • -
  • ARC_RectArray_Delete() : config.h
  • -
  • ARC_RectArray_Read() : config.h
  • -
  • ARC_Renderer_Clear() : renderer.h
  • -
  • ARC_Renderer_CreateWithEngineData() : renderer.h
  • -
  • ARC_Renderer_Destroy() : renderer.h
  • -
  • ARC_Renderer_Render() : renderer.h
  • -
  • ARC_Sprite_Copy() : sprite.h
  • -
  • ARC_Sprite_Create() : sprite.h
  • -
  • ARC_Sprite_Destroy() : sprite.h
  • -
  • ARC_Sprite_GetAllBounds() : sprite.h
  • -
  • ARC_Sprite_GetBounds() : sprite.h
  • -
  • ARC_Sprite_GetFrameIndex() : sprite.h
  • -
  • ARC_Sprite_IterateFrame() : sprite.h
  • -
  • ARC_Sprite_Render() : sprite.h
  • -
  • ARC_Sprite_RenderFlip() : sprite.h
  • -
  • ARC_Sprite_RenderRotated() : sprite.h
  • -
  • ARC_Sprite_SetFrameIndex() : sprite.h
  • -
  • ARC_Sprite_SetOpacity() : sprite.h
  • -
  • ARC_Spritesheet_CreateFromFile() : spritesheet.h
  • -
  • ARC_Spritesheet_Destroy() : spritesheet.h
  • -
  • ARC_Spritesheet_GetSize() : spritesheet.h
  • -
  • ARC_Spritesheet_GetTileSize() : spritesheet.h
  • -
  • ARC_Spritesheet_RenderArea() : spritesheet.h
  • -
  • ARC_Ssh_Create() : ssh.h
  • -
  • ARC_Ssh_Destroy() : ssh.h
  • -
  • ARC_Ssh_ExecStrInNewSession() : ssh.h
  • -
  • ARC_Ssh_ExecStrInNewSessionAndGetResponse() : ssh.h
  • -
  • ARC_Ssh_RunInSession() : ssh.h
  • -
  • ARC_Stack_Create() : stack.h
  • -
  • ARC_Stack_Destroy() : stack.h
  • -
  • ARC_Stack_Pop() : stack.h
  • -
  • ARC_Stack_Push() : stack.h
  • -
  • ARC_Stack_Size() : stack.h
  • -
  • ARC_State_Render() : state.h
  • -
  • ARC_State_Update() : state.h
  • -
  • ARC_String_Append() : string.h
  • -
  • ARC_String_AppendCString() : string.h
  • -
  • ARC_String_AppendCStringWithStrlen() : string.h
  • -
  • ARC_String_Copy() : string.h
  • -
  • ARC_String_CopyReplaceMatching() : string.h
  • -
  • ARC_String_CopySubstring() : string.h
  • -
  • ARC_String_Create() : string.h
  • -
  • ARC_String_CreateEmpty() : string.h
  • -
  • ARC_String_CreateWithStrlen() : string.h
  • -
  • ARC_String_Destroy() : string.h
  • -
  • ARC_String_Equals() : string.h
  • -
  • ARC_String_EqualsCString() : string.h
  • -
  • ARC_String_EqualsCStringWithStrlen() : string.h
  • -
  • ARC_String_Find() : string.h
  • -
  • ARC_String_FindBack() : string.h
  • -
  • ARC_String_FindBackCString() : string.h
  • -
  • ARC_String_FindBackCStringWithStrlen() : string.h
  • -
  • ARC_String_FindCString() : string.h
  • -
  • ARC_String_FindCStringWithStrlen() : string.h
  • -
  • ARC_String_IsAlpha() : string.h
  • -
  • ARC_String_IsNumeric() : string.h
  • -
  • ARC_String_Merge() : string.h
  • -
  • ARC_String_RemoveSection() : string.h
  • -
  • ARC_String_RemoveSubstring() : string.h
  • -
  • ARC_String_ReplaceMatching() : string.h
  • -
  • ARC_String_ReplaceMatchingCString() : string.h
  • -
  • ARC_String_ReplaceMatchingCStringWithStrlen() : string.h
  • -
  • ARC_String_ReplaceWithSubstring() : string.h
  • -
  • ARC_String_StripEnds() : string.h
  • -
  • ARC_String_StripEndsWhitespace() : string.h
  • -
  • ARC_String_StripWhitespace() : string.h
  • -
  • ARC_String_SubstringEquals() : string.h
  • -
  • ARC_String_SubstringEqualsCString() : string.h
  • -
  • ARC_String_ToDouble() : string.h
  • -
  • ARC_String_ToInt64_t() : string.h
  • -
  • ARC_String_ToUint64_t() : string.h
  • -
  • ARC_Text_Create() : text.h
  • -
  • ARC_Text_Destroy() : text.h
  • -
  • ARC_Text_Render() : text.h
  • -
  • ARC_Text_SetPos() : text.h
  • -
  • ARC_Text_SetString() : text.h
  • -
  • ARC_Time_CopyFromStructTmPtr() : time.h
  • -
  • ARC_Vector2_Normalize() : vector2.h
  • -
  • ARC_Vector2_RotateDegree() : vector2.h
  • -
  • ARC_Vector_Add() : vector.h
  • -
  • ARC_Vector_Clear() : vector.h
  • -
  • ARC_Vector_Create() : vector.h
  • -
  • ARC_Vector_Destroy() : vector.h
  • -
  • ARC_Vector_Get() : vector.h
  • -
  • ARC_Vector_GetSize() : vector.h
  • -
  • ARC_Vector_Remove() : vector.h
  • -
  • ARC_Vector_RemoveIndex() : vector.h
  • -
  • ARC_View_Create() : view.h
  • -
  • ARC_View_Destroy() : view.h
  • -
  • ARC_View_GetBounds() : view.h
  • -
  • ARC_View_Render() : view.h
  • -
  • ARC_Window_Create() : window.h
  • -
  • ARC_Window_Destroy() : window.h
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/globals_func.js b/doc/doxygen/html/globals_func.js deleted file mode 100644 index b4a8174..0000000 --- a/doc/doxygen/html/globals_func.js +++ /dev/null @@ -1,4 +0,0 @@ -var globals_func = -[ - [ "a", "globals_func.html", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/globals_func_c.html b/doc/doxygen/html/globals_func_c.html deleted file mode 100644 index e3161c1..0000000 --- a/doc/doxygen/html/globals_func_c.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: Globals - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all functions with links to the files they belong to:
- -

- c -

-
-
- - - - - - diff --git a/doc/doxygen/html/globals_func_m.html b/doc/doxygen/html/globals_func_m.html deleted file mode 100644 index 18be74e..0000000 --- a/doc/doxygen/html/globals_func_m.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: Globals - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all functions with links to the files they belong to:
- -

- m -

-
-
- - - - - - diff --git a/doc/doxygen/html/globals_func_t.html b/doc/doxygen/html/globals_func_t.html deleted file mode 100644 index 83f68ba..0000000 --- a/doc/doxygen/html/globals_func_t.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - -Archeus: Globals - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all functions with links to the files they belong to:
- -

- t -

    -
  • TEST_Parser_GetStringIdFn() : parser.c
  • -
  • TEST_Parser_InitBasicLexerTokenRules() : parser.c
  • -
  • TEST_Parser_InitLexerRulesFn() : parser.c
  • -
  • TEST_ParserCSV_CastTypeFn() : csv.c
  • -
  • TEST_ParserCSV_DestroyTypeFn() : csv.c
  • -
  • TEST_ParserData_CreateCharFn() : parser.c
  • -
  • TEST_ParserData_CreateStringFn() : parser.c
  • -
  • TEST_ParserData_DestroyCharFn() : parser.c
  • -
  • TEST_ParserData_DestroyStringFn() : parser.c
  • -
  • TEST_ParserLang_GetIdFn() : parserlang.c
  • -
  • TEST_Vector_CompareDataFn() : vector.c
  • -
  • TEST_Vector_DestroyDataFn() : vector.c
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/globals_func_v.html b/doc/doxygen/html/globals_func_v.html deleted file mode 100644 index e0e4d21..0000000 --- a/doc/doxygen/html/globals_func_v.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: Globals - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all functions with links to the files they belong to:
- -

- v -

    -
  • verify_knownhost() : ssh.c
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/globals_g.html b/doc/doxygen/html/globals_g.html deleted file mode 100644 index 1f8303a..0000000 --- a/doc/doxygen/html/globals_g.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: Globals - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
- -

- g -

-
-
- - - - - - diff --git a/doc/doxygen/html/globals_h.html b/doc/doxygen/html/globals_h.html deleted file mode 100644 index d5fa446..0000000 --- a/doc/doxygen/html/globals_h.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: Globals - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
- -

- h -

-
-
- - - - - - diff --git a/doc/doxygen/html/globals_i.html b/doc/doxygen/html/globals_i.html deleted file mode 100644 index 093f032..0000000 --- a/doc/doxygen/html/globals_i.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: Globals - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
- -

- i -

-
-
- - - - - - diff --git a/doc/doxygen/html/globals_l.html b/doc/doxygen/html/globals_l.html deleted file mode 100644 index ccbbff5..0000000 --- a/doc/doxygen/html/globals_l.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: Globals - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
- -

- l -

-
-
- - - - - - diff --git a/doc/doxygen/html/globals_m.html b/doc/doxygen/html/globals_m.html deleted file mode 100644 index cb8e957..0000000 --- a/doc/doxygen/html/globals_m.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: Globals - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
- -

- m -

-
-
- - - - - - diff --git a/doc/doxygen/html/globals_p.html b/doc/doxygen/html/globals_p.html deleted file mode 100644 index c2fa82f..0000000 --- a/doc/doxygen/html/globals_p.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - -Archeus: Globals - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
- -

- p -

-
-
- - - - - - diff --git a/doc/doxygen/html/globals_s.html b/doc/doxygen/html/globals_s.html deleted file mode 100644 index e4670bf..0000000 --- a/doc/doxygen/html/globals_s.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - -Archeus: Globals - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
- -

- s -

-
-
- - - - - - diff --git a/doc/doxygen/html/globals_t.html b/doc/doxygen/html/globals_t.html deleted file mode 100644 index 78896ff..0000000 --- a/doc/doxygen/html/globals_t.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - -Archeus: Globals - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
- -

- t -

    -
  • temp_arc_test_num_checks_passed__ARC_TEST__ : test.c, test.h
  • -
  • temp_arc_test_num_checks_run__ARC_TEST__ : test.c, test.h
  • -
  • TEST_PARSER_ALPHA_CHAR : parser.c
  • -
  • TEST_PARSER_ALPHA_LOWER_CHAR : parser.c
  • -
  • TEST_PARSER_ALPHA_UPPER_CHAR : parser.c
  • -
  • TEST_PARSER_CHAR_OR_NUM : parser.c
  • -
  • TEST_Parser_GetStringIdFn() : parser.c
  • -
  • TEST_Parser_InitBasicLexerTokenRules() : parser.c
  • -
  • TEST_Parser_InitLexerRulesFn() : parser.c
  • -
  • TEST_PARSER_VARIABLE : parser.c
  • -
  • TEST_PARSER_VARIABLE_NAME : parser.c
  • -
  • TEST_ParserCSV_CastTypeFn() : csv.c
  • -
  • TEST_ParserCSV_DestroyTypeFn() : csv.c
  • -
  • TEST_ParserData_CreateCharFn() : parser.c
  • -
  • TEST_ParserData_CreateStringFn() : parser.c
  • -
  • TEST_ParserData_DestroyCharFn() : parser.c
  • -
  • TEST_ParserData_DestroyStringFn() : parser.c
  • -
  • TEST_PARSERLANG_ALPHA_CHAR : parserlang.c
  • -
  • TEST_ParserLang_GetIdFn() : parserlang.c
  • -
  • TEST_Vector_CompareDataFn() : vector.c
  • -
  • TEST_Vector_DestroyDataFn() : vector.c
  • -
  • testTags : parser.c
  • -
-
-
- - - - - - diff --git a/doc/doxygen/html/globals_type.html b/doc/doxygen/html/globals_type.html deleted file mode 100644 index a0cbc58..0000000 --- a/doc/doxygen/html/globals_type.html +++ /dev/null @@ -1,214 +0,0 @@ - - - - - - - - -Archeus: Globals - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all typedefs with links to the files they belong to:
- -

- a -

-
-
- - - - - - diff --git a/doc/doxygen/html/globals_v.html b/doc/doxygen/html/globals_v.html deleted file mode 100644 index d07fc9b..0000000 --- a/doc/doxygen/html/globals_v.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - -Archeus: Globals - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
- -

- v -

-
-
- - - - - - diff --git a/doc/doxygen/html/globals_vars.html b/doc/doxygen/html/globals_vars.html deleted file mode 100644 index 8c58f34..0000000 --- a/doc/doxygen/html/globals_vars.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - -Archeus: Globals - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all variables with links to the files they belong to:
-
-
- - - - - - diff --git a/doc/doxygen/html/index.html b/doc/doxygen/html/index.html deleted file mode 100644 index 0638817..0000000 --- a/doc/doxygen/html/index.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - -Archeus: Archeus Documentation - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
Archeus 0.0.0 -
-
A C library and game engine that focuses on documentation
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Archeus Documentation
-
-
-

-

-Introduction

-

Archeus is a C library and game engine that aims to be fully documented and modular

-
- -
-
- - - - - - diff --git a/doc/doxygen/html/index.js b/doc/doxygen/html/index.js deleted file mode 100644 index a955a61..0000000 --- a/doc/doxygen/html/index.js +++ /dev/null @@ -1,4 +0,0 @@ -var index = -[ - [ "Introduction", "index.html#autotoc_md1", null ] -]; \ No newline at end of file diff --git a/doc/doxygen/html/jquery.js b/doc/doxygen/html/jquery.js deleted file mode 100644 index 875ada7..0000000 --- a/doc/doxygen/html/jquery.js +++ /dev/null @@ -1,204 +0,0 @@ -/*! jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */ -!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e} -var f="3.6.0",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp( -"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType -}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c -)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){ -return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll( -":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id") -)&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push( -"\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test( -a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null, -null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne -).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for( -var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n; -return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0, -r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r] -,C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="
",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each( -function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r, -"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})} -),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each( -"blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=y(e||this.defaultElement||this)[0],this.element=y(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=y(),this.hoverable=y(),this.focusable=y(),this.classesElementLookup={},e!==this&&(y.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t -){t.target===e&&this.destroy()}}),this.document=y(e.style?e.ownerDocument:e.document||e),this.window=y(this.document[0].defaultView||this.document[0].parentWindow)),this.options=y.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:y.noop,_create:y.noop,_init:y.noop,destroy:function(){var i=this;this._destroy(),y.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:y.noop,widget:function(){return this.element},option:function(t,e){var i,s,n,o=t;if(0===arguments.length)return y.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(s=o[t -]=y.widget.extend({},this.options[t]),n=0;n
"),i=e.children()[0];return y("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),s=t-i}, -getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.widthx(D(s),D(n))?o.important="horizontal":o.important="vertical",p.using.call(this,t,o)}),h.offset(y.extend(l,{using:t}))})},y.ui.position={fit:{left:function(t,e){var i=e.within, -s=i.isWindow?i.scrollLeft:i.offset.left,n=i.width,o=t.left-e.collisionPosition.marginLeft,h=s-o,a=o+e.collisionWidth-n-s;e.collisionWidth>n?0n?0=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),y.ui.plugin={add:function(t,e,i){var s,n=y.ui[t].prototype;for(s in i)n.plugins[s]=n.plugins[s]||[],n.plugins[s].push([e,i[s]])},call:function(t,e,i,s){var n,o=t.plugins[e];if(o&&(s||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(n=0;n").css({overflow:"hidden",position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})), -this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,t={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(t),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(t),this._proportionallyResize()),this._setupHandles(),e.autoHide&&y(this.element).on("mouseenter",function(){e.disabled||(i._removeClass("ui-resizable-autohide"),i._handles.show())}).on("mouseleave",function(){e.disabled||i.resizing||(i._addClass("ui-resizable-autohide"),i._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy(),this._addedHandles.remove();function t(t){y(t -).removeData("resizable").removeData("ui-resizable").off(".resizable")}var e;return this.elementIsWrapper&&(t(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),t(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){case"handles":this._removeHandles(),this._setupHandles();break;case"aspectRatio":this._aspectRatio=!!e}},_setupHandles:function(){var t,e,i,s,n,o=this.options,h=this;if(this.handles=o.handles||(y(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=y(),this._addedHandles=y(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),i=this.handles.split( -","),this.handles={},e=0;e"),this._addClass(n,"ui-resizable-handle "+s),n.css({zIndex:o.zIndex}),this.handles[t]=".ui-resizable-"+t,this.element.children(this.handles[t]).length||(this.element.append(n),this._addedHandles=this._addedHandles.add(n));this._renderAxis=function(t){var e,i,s;for(e in t=t||this.element,this.handles)this.handles[e].constructor===String?this.handles[e]=this.element.children(this.handles[e]).first().show():(this.handles[e].jquery||this.handles[e].nodeType)&&(this.handles[e]=y(this.handles[e]),this._on(this.handles[e],{mousedown:h._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(i=y(this.handles[e],this.element),s=/sw|ne|nw|se|n|s/.test(e)?i.outerHeight():i.outerWidth(),i=["padding",/ne|nw|n/.test(e)?"Top":/se|sw|s/.test(e)?"Bottom":/^e$/.test(e)?"Right":"Left"].join(""),t.css(i,s),this._proportionallyResize()),this._handles=this._handles.add( -this.handles[e])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){h.resizing||(this.className&&(n=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),h.axis=n&&n[1]?n[1]:"se")}),o.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._addedHandles.remove()},_mouseCapture:function(t){var e,i,s=!1;for(e in this.handles)(i=y(this.handles[e])[0])!==t.target&&!y.contains(i,t.target)||(s=!0);return!this.options.disabled&&s},_mouseStart:function(t){var e,i,s=this.options,n=this.element;return this.resizing=!0,this._renderProxy(),e=this._num(this.helper.css("left")),i=this._num(this.helper.css("top")),s.containment&&(e+=y(s.containment).scrollLeft()||0,i+=y(s.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:e,top:i},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{ -width:n.width(),height:n.height()},this.originalSize=this._helper?{width:n.outerWidth(),height:n.outerHeight()}:{width:n.width(),height:n.height()},this.sizeDiff={width:n.outerWidth()-n.width(),height:n.outerHeight()-n.height()},this.originalPosition={left:e,top:i},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio="number"==typeof s.aspectRatio?s.aspectRatio:this.originalSize.width/this.originalSize.height||1,s=y(".ui-resizable-"+this.axis).css("cursor"),y("body").css("cursor","auto"===s?this.axis+"-resize":s),this._addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(t){var e=this.originalMousePosition,i=this.axis,s=t.pageX-e.left||0,e=t.pageY-e.top||0,i=this._change[i];return this._updatePrevProperties(),i&&(e=i.apply(this,[t,s,e]),this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(e=this._updateRatio(e,t)),e=this._respectSize(e,t),this._updateCache(e),this._propagate("resize",t),e=this._applyChanges(), -!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),y.isEmptyObject(e)||(this._updatePrevProperties(),this._trigger("resize",t,this.ui()),this._applyChanges())),!1},_mouseStop:function(t){this.resizing=!1;var e,i,s,n=this.options,o=this;return this._helper&&(s=(e=(i=this._proportionallyResizeElements).length&&/textarea/i.test(i[0].nodeName))&&this._hasScroll(i[0],"left")?0:o.sizeDiff.height,i=e?0:o.sizeDiff.width,e={width:o.helper.width()-i,height:o.helper.height()-s},i=parseFloat(o.element.css("left"))+(o.position.left-o.originalPosition.left)||null,s=parseFloat(o.element.css("top"))+(o.position.top-o.originalPosition.top)||null,n.animate||this.element.css(y.extend(e,{top:s,left:i})),o.helper.height(o.size.height),o.helper.width(o.size.width),this._helper&&!n.animate&&this._proportionallyResize()),y("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){ -this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,s=this.options,n={minWidth:this._isNumber(s.minWidth)?s.minWidth:0,maxWidth:this._isNumber(s.maxWidth)?s.maxWidth:1/0,minHeight:this._isNumber(s.minHeight)?s.minHeight:0,maxHeight:this._isNumber(s.maxHeight)?s.maxHeight:1/0};(this._aspectRatio||t)&&(e=n.minHeight*this.aspectRatio,i=n.minWidth/this.aspectRatio,s=n.maxHeight*this.aspectRatio,t=n.maxWidth/this.aspectRatio,e>n.minWidth&&(n.minWidth=e),i>n.minHeight&&(n.minHeight=i),st.width,h=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,a=this.originalPosition.left+this.originalSize.width,r=this.originalPosition.top+this.originalSize.height -,l=/sw|nw|w/.test(i),i=/nw|ne|n/.test(i);return o&&(t.width=e.minWidth),h&&(t.height=e.minHeight),s&&(t.width=e.maxWidth),n&&(t.height=e.maxHeight),o&&l&&(t.left=a-e.minWidth),s&&l&&(t.left=a-e.maxWidth),h&&i&&(t.top=r-e.minHeight),n&&i&&(t.top=r-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],s=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],n=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];e<4;e++)i[e]=parseFloat(s[e])||0,i[e]+=parseFloat(n[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;e").css({overflow:"hidden"}),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++e.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize;return{left:this.originalPosition.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize;return{top:this.originalPosition.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(t,e,i){return y.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},sw:function(t,e, -i){return y.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,e,i]))},ne:function(t,e,i){return y.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},nw:function(t,e,i){return y.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,e,i]))}},_propagate:function(t,e){y.ui.plugin.call(this,t,[e,this.ui()]),"resize"!==t&&this._trigger(t,e,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),y.ui.plugin.add("resizable","animate",{stop:function(e){var i=y(this).resizable("instance"),t=i.options,s=i._proportionallyResizeElements,n=s.length&&/textarea/i.test(s[0].nodeName),o=n&&i._hasScroll(s[0],"left")?0:i.sizeDiff.height,h=n?0:i.sizeDiff.width,n={width:i.size.width-h,height:i.size.height-o},h=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left -)||null,o=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(y.extend(n,o&&h?{top:o,left:h}:{}),{duration:t.animateDuration,easing:t.animateEasing,step:function(){var t={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};s&&s.length&&y(s[0]).css({width:t.width,height:t.height}),i._updateCache(t),i._propagate("resize",e)}})}}),y.ui.plugin.add("resizable","containment",{start:function(){var i,s,n=y(this).resizable("instance"),t=n.options,e=n.element,o=t.containment,h=o instanceof y?o.get(0):/parent/.test(o)?e.parent().get(0):o;h&&(n.containerElement=y(h),/document/.test(o)||o===document?(n.containerOffset={left:0,top:0},n.containerPosition={left:0,top:0},n.parentData={element:y(document),left:0,top:0,width:y(document).width(),height:y(document).height()||document.body.parentNode.scrollHeight}):(i=y(h),s=[],y(["Top","Right","Left","Bottom"]).each(function(t,e -){s[t]=n._num(i.css("padding"+e))}),n.containerOffset=i.offset(),n.containerPosition=i.position(),n.containerSize={height:i.innerHeight()-s[3],width:i.innerWidth()-s[1]},t=n.containerOffset,e=n.containerSize.height,o=n.containerSize.width,o=n._hasScroll(h,"left")?h.scrollWidth:o,e=n._hasScroll(h)?h.scrollHeight:e,n.parentData={element:h,left:t.left,top:t.top,width:o,height:e}))},resize:function(t){var e=y(this).resizable("instance"),i=e.options,s=e.containerOffset,n=e.position,o=e._aspectRatio||t.shiftKey,h={top:0,left:0},a=e.containerElement,t=!0;a[0]!==document&&/static/.test(a.css("position"))&&(h=s),n.left<(e._helper?s.left:0)&&(e.size.width=e.size.width+(e._helper?e.position.left-s.left:e.position.left-h.left),o&&(e.size.height=e.size.width/e.aspectRatio,t=!1),e.position.left=i.helper?s.left:0),n.top<(e._helper?s.top:0)&&(e.size.height=e.size.height+(e._helper?e.position.top-s.top:e.position.top),o&&(e.size.width=e.size.height*e.aspectRatio,t=!1),e.position.top=e._helper?s.top:0), -i=e.containerElement.get(0)===e.element.parent().get(0),n=/relative|absolute/.test(e.containerElement.css("position")),i&&n?(e.offset.left=e.parentData.left+e.position.left,e.offset.top=e.parentData.top+e.position.top):(e.offset.left=e.element.offset().left,e.offset.top=e.element.offset().top),n=Math.abs(e.sizeDiff.width+(e._helper?e.offset.left-h.left:e.offset.left-s.left)),s=Math.abs(e.sizeDiff.height+(e._helper?e.offset.top-h.top:e.offset.top-s.top)),n+e.size.width>=e.parentData.width&&(e.size.width=e.parentData.width-n,o&&(e.size.height=e.size.width/e.aspectRatio,t=!1)),s+e.size.height>=e.parentData.height&&(e.size.height=e.parentData.height-s,o&&(e.size.width=e.size.height*e.aspectRatio,t=!1)),t||(e.position.left=e.prevPosition.left,e.position.top=e.prevPosition.top,e.size.width=e.prevSize.width,e.size.height=e.prevSize.height)},stop:function(){var t=y(this).resizable("instance"),e=t.options,i=t.containerOffset,s=t.containerPosition,n=t.containerElement,o=y(t.helper),h=o.offset(),a=o.outerWidth( -)-t.sizeDiff.width,o=o.outerHeight()-t.sizeDiff.height;t._helper&&!e.animate&&/relative/.test(n.css("position"))&&y(this).css({left:h.left-s.left-i.left,width:a,height:o}),t._helper&&!e.animate&&/static/.test(n.css("position"))&&y(this).css({left:h.left-s.left-i.left,width:a,height:o})}}),y.ui.plugin.add("resizable","alsoResize",{start:function(){var t=y(this).resizable("instance").options;y(t.alsoResize).each(function(){var t=y(this);t.data("ui-resizable-alsoresize",{width:parseFloat(t.width()),height:parseFloat(t.height()),left:parseFloat(t.css("left")),top:parseFloat(t.css("top"))})})},resize:function(t,i){var e=y(this).resizable("instance"),s=e.options,n=e.originalSize,o=e.originalPosition,h={height:e.size.height-n.height||0,width:e.size.width-n.width||0,top:e.position.top-o.top||0,left:e.position.left-o.left||0};y(s.alsoResize).each(function(){var t=y(this),s=y(this).data("ui-resizable-alsoresize"),n={},e=t.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];y.each(e, -function(t,e){var i=(s[e]||0)+(h[e]||0);i&&0<=i&&(n[e]=i||null)}),t.css(n)})},stop:function(){y(this).removeData("ui-resizable-alsoresize")}}),y.ui.plugin.add("resizable","ghost",{start:function(){var t=y(this).resizable("instance"),e=t.size;t.ghost=t.originalElement.clone(),t.ghost.css({opacity:.25,display:"block",position:"relative",height:e.height,width:e.width,margin:0,left:0,top:0}),t._addClass(t.ghost,"ui-resizable-ghost"),!1!==y.uiBackCompat&&"string"==typeof t.options.ghost&&t.ghost.addClass(this.options.ghost),t.ghost.appendTo(t.helper)},resize:function(){var t=y(this).resizable("instance");t.ghost&&t.ghost.css({position:"relative",height:t.size.height,width:t.size.width})},stop:function(){var t=y(this).resizable("instance");t.ghost&&t.helper&&t.helper.get(0).removeChild(t.ghost.get(0))}}),y.ui.plugin.add("resizable","grid",{resize:function(){var t,e=y(this).resizable("instance"),i=e.options,s=e.size,n=e.originalSize,o=e.originalPosition,h=e.axis,a="number"==typeof i.grid?[i.grid,i.grid]:i.grid,r=a[0 -]||1,l=a[1]||1,u=Math.round((s.width-n.width)/r)*r,p=Math.round((s.height-n.height)/l)*l,d=n.width+u,c=n.height+p,f=i.maxWidth&&i.maxWidthd,s=i.minHeight&&i.minHeight>c;i.grid=a,m&&(d+=r),s&&(c+=l),f&&(d-=r),g&&(c-=l),/^(se|s|e)$/.test(h)?(e.size.width=d,e.size.height=c):/^(ne)$/.test(h)?(e.size.width=d,e.size.height=c,e.position.top=o.top-p):/^(sw)$/.test(h)?(e.size.width=d,e.size.height=c,e.position.left=o.left-u):((c-l<=0||d-r<=0)&&(t=e._getPaddingPlusBorderDimensions(this)),0=f[g]?0:Math.min(f[g],n));!a&&1-1){ -targetElements.on(evt+EVENT_NAMESPACE,function elementToggle(event){$.powerTip.toggle(this,event)})}else{targetElements.on(evt+EVENT_NAMESPACE,function elementOpen(event){$.powerTip.show(this,event)})}});$.each(options.closeEvents,function(idx,evt){if($.inArray(evt,options.openEvents)<0){targetElements.on(evt+EVENT_NAMESPACE,function elementClose(event){$.powerTip.hide(this,!isMouseEvent(event))})}});targetElements.on("keydown"+EVENT_NAMESPACE,function elementKeyDown(event){if(event.keyCode===27){$.powerTip.hide(this,true)}})}return targetElements};$.fn.powerTip.defaults={fadeInTime:200,fadeOutTime:100,followMouse:false,popupId:"powerTip",popupClass:null,intentSensitivity:7,intentPollInterval:100,closeDelay:100,placement:"n",smartPlacement:false,offset:10,mouseOnToPopup:false,manual:false,openEvents:["mouseenter","focus"],closeEvents:["mouseleave","blur"]};$.fn.powerTip.smartPlacementLists={n:["n","ne","nw","s"],e:["e","ne","se","w","nw","sw","n","s","e"],s:["s","se","sw","n"],w:["w","nw","sw","e","ne","se", -"n","s","w"],nw:["nw","w","sw","n","s","se","nw"],ne:["ne","e","se","n","s","sw","ne"],sw:["sw","w","nw","s","n","ne","sw"],se:["se","e","ne","s","n","nw","se"],"nw-alt":["nw-alt","n","ne-alt","sw-alt","s","se-alt","w","e"],"ne-alt":["ne-alt","n","nw-alt","se-alt","s","sw-alt","e","w"],"sw-alt":["sw-alt","s","se-alt","nw-alt","n","ne-alt","w","e"],"se-alt":["se-alt","s","sw-alt","ne-alt","n","nw-alt","e","w"]};$.powerTip={show:function apiShowTip(element,event){if(isMouseEvent(event)){trackMouse(event);session.previousX=event.pageX;session.previousY=event.pageY;$(element).data(DATA_DISPLAYCONTROLLER).show()}else{$(element).first().data(DATA_DISPLAYCONTROLLER).show(true,true)}return element},reposition:function apiResetPosition(element){$(element).first().data(DATA_DISPLAYCONTROLLER).resetPosition();return element},hide:function apiCloseTip(element,immediate){var displayController;immediate=element?immediate:true;if(element){displayController=$(element).first().data(DATA_DISPLAYCONTROLLER)}else if( -session.activeHover){displayController=session.activeHover.data(DATA_DISPLAYCONTROLLER)}if(displayController){displayController.hide(immediate)}return element},toggle:function apiToggle(element,event){if(session.activeHover&&session.activeHover.is(element)){$.powerTip.hide(element,!isMouseEvent(event))}else{$.powerTip.show(element,event)}return element}};$.powerTip.showTip=$.powerTip.show;$.powerTip.closeTip=$.powerTip.hide;function CSSCoordinates(){var me=this;me.top="auto";me.left="auto";me.right="auto";me.bottom="auto";me.set=function(property,value){if($.isNumeric(value)){me[property]=Math.round(value)}}}function DisplayController(element,options,tipController){var hoverTimer=null,myCloseDelay=null;function openTooltip(immediate,forceOpen){cancelTimer();if(!element.data(DATA_HASACTIVEHOVER)){if(!immediate){session.tipOpenImminent=true;hoverTimer=setTimeout(function intentDelay(){hoverTimer=null;checkForIntent()},options.intentPollInterval)}else{if(forceOpen){element.data(DATA_FORCEDOPEN,true)} -closeAnyDelayed();tipController.showTip(element)}}else{cancelClose()}}function closeTooltip(disableDelay){if(myCloseDelay){myCloseDelay=session.closeDelayTimeout=clearTimeout(myCloseDelay);session.delayInProgress=false}cancelTimer();session.tipOpenImminent=false;if(element.data(DATA_HASACTIVEHOVER)){element.data(DATA_FORCEDOPEN,false);if(!disableDelay){session.delayInProgress=true;session.closeDelayTimeout=setTimeout(function closeDelay(){session.closeDelayTimeout=null;tipController.hideTip(element);session.delayInProgress=false;myCloseDelay=null},options.closeDelay);myCloseDelay=session.closeDelayTimeout}else{tipController.hideTip(element)}}}function checkForIntent(){var xDifference=Math.abs(session.previousX-session.currentX),yDifference=Math.abs(session.previousY-session.currentY),totalDifference=xDifference+yDifference;if(totalDifference",{id:options.popupId});if($body.length===0){$body=$("body")}$body.append(tipElement);session.tooltips=session.tooltips?session.tooltips.add(tipElement):tipElement}if(options.followMouse){if(!tipElement.data(DATA_HASMOUSEMOVE)){$document.on("mousemove"+EVENT_NAMESPACE,positionTipOnCursor);$window.on("scroll"+EVENT_NAMESPACE,positionTipOnCursor);tipElement.data(DATA_HASMOUSEMOVE,true)}}function beginShowTip(element){element.data(DATA_HASACTIVEHOVER,true);tipElement.queue(function queueTipInit(next){showTip(element);next()})}function showTip(element){var tipContent;if(!element.data(DATA_HASACTIVEHOVER)){return}if( -session.isTipOpen){if(!session.isClosing){hideTip(session.activeHover)}tipElement.delay(100).queue(function queueTipAgain(next){showTip(element);next()});return}element.trigger("powerTipPreRender");tipContent=getTooltipContent(element);if(tipContent){tipElement.empty().append(tipContent)}else{return}element.trigger("powerTipRender");session.activeHover=element;session.isTipOpen=true;tipElement.data(DATA_MOUSEONTOTIP,options.mouseOnToPopup);tipElement.addClass(options.popupClass);if(!options.followMouse||element.data(DATA_FORCEDOPEN)){positionTipOnElement(element);session.isFixedTipOpen=true}else{positionTipOnCursor()}if(!element.data(DATA_FORCEDOPEN)&&!options.followMouse){$document.on("click"+EVENT_NAMESPACE,function documentClick(event){var target=event.target;if(target!==element[0]){if(options.mouseOnToPopup){if(target!==tipElement[0]&&!$.contains(tipElement[0],target)){$.powerTip.hide()}}else{$.powerTip.hide()}}})}if(options.mouseOnToPopup&&!options.manual){tipElement.on("mouseenter"+EVENT_NAMESPACE, -function tipMouseEnter(){if(session.activeHover){session.activeHover.data(DATA_DISPLAYCONTROLLER).cancel()}});tipElement.on("mouseleave"+EVENT_NAMESPACE,function tipMouseLeave(){if(session.activeHover){session.activeHover.data(DATA_DISPLAYCONTROLLER).hide()}})}tipElement.fadeIn(options.fadeInTime,function fadeInCallback(){if(!session.desyncTimeout){session.desyncTimeout=setInterval(closeDesyncedTip,500)}element.trigger("powerTipOpen")})}function hideTip(element){session.isClosing=true;session.isTipOpen=false;session.desyncTimeout=clearInterval(session.desyncTimeout);element.data(DATA_HASACTIVEHOVER,false);element.data(DATA_FORCEDOPEN,false);$document.off("click"+EVENT_NAMESPACE);tipElement.off(EVENT_NAMESPACE);tipElement.fadeOut(options.fadeOutTime,function fadeOutCallback(){var coords=new CSSCoordinates;session.activeHover=null;session.isClosing=false;session.isFixedTipOpen=false;tipElement.removeClass();coords.set("top",session.currentY+options.offset);coords.set("left",session.currentX+options.offset); -tipElement.css(coords);element.trigger("powerTipClose")})}function positionTipOnCursor(){var tipWidth,tipHeight,coords,collisions,collisionCount;if(!session.isFixedTipOpen&&(session.isTipOpen||session.tipOpenImminent&&tipElement.data(DATA_HASMOUSEMOVE))){tipWidth=tipElement.outerWidth();tipHeight=tipElement.outerHeight();coords=new CSSCoordinates;coords.set("top",session.currentY+options.offset);coords.set("left",session.currentX+options.offset);collisions=getViewportCollisions(coords,tipWidth,tipHeight);if(collisions!==Collision.none){collisionCount=countFlags(collisions);if(collisionCount===1){if(collisions===Collision.right){coords.set("left",session.scrollLeft+session.windowWidth-tipWidth)}else if(collisions===Collision.bottom){coords.set("top",session.scrollTop+session.windowHeight-tipHeight)}}else{coords.set("left",session.currentX-tipWidth-options.offset);coords.set("top",session.currentY-tipHeight-options.offset)}}tipElement.css(coords)}}function positionTipOnElement(element){var priorityList, -finalPlacement;if(options.smartPlacement||options.followMouse&&element.data(DATA_FORCEDOPEN)){priorityList=$.fn.powerTip.smartPlacementLists[options.placement];$.each(priorityList,function(idx,pos){var collisions=getViewportCollisions(placeTooltip(element,pos),tipElement.outerWidth(),tipElement.outerHeight());finalPlacement=pos;return collisions!==Collision.none})}else{placeTooltip(element,options.placement);finalPlacement=options.placement}tipElement.removeClass("w nw sw e ne se n s w se-alt sw-alt ne-alt nw-alt");tipElement.addClass(finalPlacement)}function placeTooltip(element,placement){var iterationCount=0,tipWidth,tipHeight,coords=new CSSCoordinates;coords.set("top",0);coords.set("left",0);tipElement.css(coords);do{tipWidth=tipElement.outerWidth();tipHeight=tipElement.outerHeight();coords=placementCalculator.compute(element,placement,tipWidth,tipHeight,options.offset);tipElement.css(coords)}while(++iterationCount<=5&&(tipWidth!==tipElement.outerWidth()||tipHeight!==tipElement.outerHeight())); -return coords}function closeDesyncedTip(){var isDesynced=false,hasDesyncableCloseEvent=$.grep(["mouseleave","mouseout","blur","focusout"],function(eventType){return $.inArray(eventType,options.closeEvents)!==-1}).length>0;if(session.isTipOpen&&!session.isClosing&&!session.delayInProgress&&hasDesyncableCloseEvent){if(session.activeHover.data(DATA_HASACTIVEHOVER)===false||session.activeHover.is(":disabled")){isDesynced=true}else if(!isMouseOver(session.activeHover)&&!session.activeHover.is(":focus")&&!session.activeHover.data(DATA_FORCEDOPEN)){if(tipElement.data(DATA_MOUSEONTOTIP)){if(!isMouseOver(tipElement)){isDesynced=true}}else{isDesynced=true}}if(isDesynced){hideTip(session.activeHover)}}}this.showTip=beginShowTip;this.hideTip=hideTip;this.resetPosition=positionTipOnElement}function isSvgElement(element){return Boolean(window.SVGElement&&element[0]instanceof SVGElement)}function isMouseEvent(event){return Boolean(event&&$.inArray(event.type,MOUSE_EVENTS)>-1&&typeof event.pageX==="number")} -function initTracking(){if(!session.mouseTrackingActive){session.mouseTrackingActive=true;getViewportDimensions();$(getViewportDimensions);$document.on("mousemove"+EVENT_NAMESPACE,trackMouse);$window.on("resize"+EVENT_NAMESPACE,trackResize);$window.on("scroll"+EVENT_NAMESPACE,trackScroll)}}function getViewportDimensions(){session.scrollLeft=$window.scrollLeft();session.scrollTop=$window.scrollTop();session.windowWidth=$window.width();session.windowHeight=$window.height()}function trackResize(){session.windowWidth=$window.width();session.windowHeight=$window.height()}function trackScroll(){var x=$window.scrollLeft(),y=$window.scrollTop();if(x!==session.scrollLeft){session.currentX+=x-session.scrollLeft;session.scrollLeft=x}if(y!==session.scrollTop){session.currentY+=y-session.scrollTop;session.scrollTop=y}}function trackMouse(event){session.currentX=event.pageX;session.currentY=event.pageY}function isMouseOver(element){var elementPosition=element.offset(),elementBox=element[0].getBoundingClientRect(), -elementWidth=elementBox.right-elementBox.left,elementHeight=elementBox.bottom-elementBox.top;return session.currentX>=elementPosition.left&&session.currentX<=elementPosition.left+elementWidth&&session.currentY>=elementPosition.top&&session.currentY<=elementPosition.top+elementHeight}function getTooltipContent(element){var tipText=element.data(DATA_POWERTIP),tipObject=element.data(DATA_POWERTIPJQ),tipTarget=element.data(DATA_POWERTIPTARGET),targetElement,content;if(tipText){if($.isFunction(tipText)){tipText=tipText.call(element[0])}content=tipText}else if(tipObject){if($.isFunction(tipObject)){tipObject=tipObject.call(element[0])}if(tipObject.length>0){content=tipObject.clone(true,true)}}else if(tipTarget){targetElement=$("#"+tipTarget);if(targetElement.length>0){content=targetElement.html()}}return content}function getViewportCollisions(coords,elementWidth,elementHeight){var viewportTop=session.scrollTop,viewportLeft=session.scrollLeft,viewportBottom=viewportTop+session.windowHeight, -viewportRight=viewportLeft+session.windowWidth,collisions=Collision.none;if(coords.topviewportBottom||Math.abs(coords.bottom-session.windowHeight)>viewportBottom){collisions|=Collision.bottom}if(coords.leftviewportRight){collisions|=Collision.left}if(coords.left+elementWidth>viewportRight||coords.right1)){a.preventDefault();var c=a.originalEvent.changedTouches[0],d=document.createEvent("MouseEvents");d.initMouseEvent(b,!0,!0,window,1,c.screenX,c.screenY,c.clientX,c.clientY,!1,!1,!1,!1,0,null),a.target.dispatchEvent(d)}}if(a.support.touch="ontouchend"in document,a.support.touch){var e,b=a.ui.mouse.prototype,c=b._mouseInit,d=b._mouseDestroy;b._touchStart=function(a){var b=this;!e&&b._mouseCapture(a.originalEvent.changedTouches[0])&&(e=!0,b._touchMoved=!1,f(a,"mouseover"),f(a,"mousemove"),f(a,"mousedown"))},b._touchMove=function(a){e&&(this._touchMoved=!0,f(a,"mousemove"))},b._touchEnd=function(a){e&&(f(a,"mouseup"),f(a,"mouseout"),this._touchMoved||f(a,"click"),e=!1)},b._mouseInit=function(){var b=this;b.element.bind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),c.call(b)},b._mouseDestroy=function(){var b=this;b.element.unbind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b, -"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),d.call(b)}}}(jQuery); -/*! SmartMenus jQuery Plugin - v1.1.0 - September 17, 2017 - * http://www.smartmenus.org/ - * Copyright Vasil Dinkov, Vadikom Web Ltd. http://vadikom.com; Licensed MIT */(function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(require("jquery")):t(jQuery)})(function($){function initMouseDetection(t){var e=".smartmenus_mouse";if(mouseDetectionEnabled||t)mouseDetectionEnabled&&t&&($(document).off(e),mouseDetectionEnabled=!1);else{var i=!0,s=null,o={mousemove:function(t){var e={x:t.pageX,y:t.pageY,timeStamp:(new Date).getTime()};if(s){var o=Math.abs(s.x-e.x),a=Math.abs(s.y-e.y);if((o>0||a>0)&&2>=o&&2>=a&&300>=e.timeStamp-s.timeStamp&&(mouse=!0,i)){var n=$(t.target).closest("a");n.is("a")&&$.each(menuTrees,function(){return $.contains(this.$root[0],n[0])?(this.itemEnter({currentTarget:n[0]}),!1):void 0}),i=!1}}s=e}};o[touchEvents?"touchstart":"pointerover pointermove pointerout MSPointerOver MSPointerMove MSPointerOut"]=function(t){isTouchEvent(t.originalEvent)&&(mouse=!1)},$(document).on(getEventsNS(o,e)), -mouseDetectionEnabled=!0}}function isTouchEvent(t){return!/^(4|mouse)$/.test(t.pointerType)}function getEventsNS(t,e){e||(e="");var i={};for(var s in t)i[s.split(" ").join(e+" ")+e]=t[s];return i}var menuTrees=[],mouse=!1,touchEvents="ontouchstart"in window,mouseDetectionEnabled=!1,requestAnimationFrame=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},cancelAnimationFrame=window.cancelAnimationFrame||function(t){clearTimeout(t)},canAnimate=!!$.fn.animate;return $.SmartMenus=function(t,e){this.$root=$(t),this.opts=e,this.rootId="",this.accessIdPrefix="",this.$subArrow=null,this.activatedItems=[],this.visibleSubMenus=[],this.showTimeout=0,this.hideTimeout=0,this.scrollTimeout=0,this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.idInc=0,this.$firstLink=null,this.$firstSub=null,this.disabled=!1,this.$disableOverlay=null,this.$touchScrollingSub=null,this.cssTransforms3d="perspective"in t.style||"webkitPerspective"in t.style,this.wasCollapsible=!1,this.init()},$.extend( -$.SmartMenus,{hideAll:function(){$.each(menuTrees,function(){this.menuHideAll()})},destroy:function(){for(;menuTrees.length;)menuTrees[0].destroy();initMouseDetection(!0)},prototype:{init:function(t){var e=this;if(!t){menuTrees.push(this),this.rootId=((new Date).getTime()+Math.random()+"").replace(/\D/g,""),this.accessIdPrefix="sm-"+this.rootId+"-",this.$root.hasClass("sm-rtl")&&(this.opts.rightToLeftSubMenus=!0);var i=".smartmenus";this.$root.data("smartmenus",this).attr("data-smartmenus-id",this.rootId).dataSM("level",1).on(getEventsNS({"mouseover focusin":$.proxy(this.rootOver,this),"mouseout focusout":$.proxy(this.rootOut,this),keydown:$.proxy(this.rootKeyDown,this)},i)).on(getEventsNS({mouseenter:$.proxy(this.itemEnter,this),mouseleave:$.proxy(this.itemLeave,this),mousedown:$.proxy(this.itemDown,this),focus:$.proxy(this.itemFocus,this),blur:$.proxy(this.itemBlur,this),click:$.proxy(this.itemClick,this)},i),"a"),i+=this.rootId,this.opts.hideOnClick&&$(document).on(getEventsNS({touchstart:$.proxy( -this.docTouchStart,this),touchmove:$.proxy(this.docTouchMove,this),touchend:$.proxy(this.docTouchEnd,this),click:$.proxy(this.docClick,this)},i)),$(window).on(getEventsNS({"resize orientationchange":$.proxy(this.winResize,this)},i)),this.opts.subIndicators&&(this.$subArrow=$("").addClass("sub-arrow"),this.opts.subIndicatorsText&&this.$subArrow.html(this.opts.subIndicatorsText)),initMouseDetection()}if(this.$firstSub=this.$root.find("ul").each(function(){e.menuInit($(this))}).eq(0),this.$firstLink=this.$root.find("a").eq(0),this.opts.markCurrentItem){var s=/(index|default)\.[^#\?\/]*/i,o=/#.*/,a=window.location.href.replace(s,""),n=a.replace(o,"");this.$root.find("a").each(function(){var t=this.href.replace(s,""),i=$(this);(t==a||t==n)&&(i.addClass("current"),e.opts.markCurrentTree&&i.parentsUntil("[data-smartmenus-id]","ul").each(function(){$(this).dataSM("parent-a").addClass("current")}))})}this.wasCollapsible=this.isCollapsible()},destroy:function(t){if(!t){var e=".smartmenus";this.$root.removeData( -"smartmenus").removeAttr("data-smartmenus-id").removeDataSM("level").off(e),e+=this.rootId,$(document).off(e),$(window).off(e),this.opts.subIndicators&&(this.$subArrow=null)}this.menuHideAll();var i=this;this.$root.find("ul").each(function(){var t=$(this);t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.dataSM("shown-before")&&((i.opts.subMenusMinWidth||i.opts.subMenusMaxWidth)&&t.css({width:"",minWidth:"",maxWidth:""}).removeClass("sm-nowrap"),t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.css({zIndex:"",top:"",left:"",marginLeft:"",marginTop:"",display:""})),0==(t.attr("id")||"").indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeDataSM("in-mega").removeDataSM("shown-before").removeDataSM("scroll-arrows").removeDataSM("parent-a").removeDataSM("level").removeDataSM("beforefirstshowfired").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeAttr("aria-expanded"),this.$root.find("a.has-submenu").each(function(){var t=$(this);0==t.attr("id" -).indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeClass("has-submenu").removeDataSM("sub").removeAttr("aria-haspopup").removeAttr("aria-controls").removeAttr("aria-expanded").closest("li").removeDataSM("sub"),this.opts.subIndicators&&this.$root.find("span.sub-arrow").remove(),this.opts.markCurrentItem&&this.$root.find("a.current").removeClass("current"),t||(this.$root=null,this.$firstLink=null,this.$firstSub=null,this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),menuTrees.splice($.inArray(this,menuTrees),1))},disable:function(t){if(!this.disabled){if(this.menuHideAll(),!t&&!this.opts.isPopup&&this.$root.is(":visible")){var e=this.$root.offset();this.$disableOverlay=$('
').css({position:"absolute",top:e.top,left:e.left,width:this.$root.outerWidth(),height:this.$root.outerHeight(),zIndex:this.getStartZIndex(!0),opacity:0}).appendTo(document.body)}this.disabled=!0}},docClick:function(t){return this.$touchScrollingSub?( -this.$touchScrollingSub=null,void 0):((this.visibleSubMenus.length&&!$.contains(this.$root[0],t.target)||$(t.target).closest("a").length)&&this.menuHideAll(),void 0)},docTouchEnd:function(){if(this.lastTouch){if(!(!this.visibleSubMenus.length||void 0!==this.lastTouch.x2&&this.lastTouch.x1!=this.lastTouch.x2||void 0!==this.lastTouch.y2&&this.lastTouch.y1!=this.lastTouch.y2||this.lastTouch.target&&$.contains(this.$root[0],this.lastTouch.target))){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var t=this;this.hideTimeout=setTimeout(function(){t.menuHideAll()},350)}this.lastTouch=null}},docTouchMove:function(t){if(this.lastTouch){var e=t.originalEvent.touches[0];this.lastTouch.x2=e.pageX,this.lastTouch.y2=e.pageY}},docTouchStart:function(t){var e=t.originalEvent.touches[0];this.lastTouch={x1:e.pageX,y1:e.pageY,target:e.target}},enable:function(){this.disabled&&(this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),this.disabled=!1)},getClosestMenu:function(t){for( -var e=$(t).closest("ul");e.dataSM("in-mega");)e=e.parent().closest("ul");return e[0]||null},getHeight:function(t){return this.getOffset(t,!0)},getOffset:function(t,e){var i;"none"==t.css("display")&&(i={position:t[0].style.position,visibility:t[0].style.visibility},t.css({position:"absolute",visibility:"hidden"}).show());var s=t[0].getBoundingClientRect&&t[0].getBoundingClientRect(),o=s&&(e?s.height||s.bottom-s.top:s.width||s.right-s.left);return o||0===o||(o=e?t[0].offsetHeight:t[0].offsetWidth),i&&t.hide().css(i),o},getStartZIndex:function(t){var e=parseInt(this[t?"$root":"$firstSub"].css("z-index"));return!t&&isNaN(e)&&(e=parseInt(this.$root.css("z-index"))),isNaN(e)?1:e},getTouchPoint:function(t){return t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0]||t},getViewport:function(t){var e=t?"Height":"Width",i=document.documentElement["client"+e],s=window["inner"+e];return s&&(i=Math.min(i,s)),i},getViewportHeight:function(){return this.getViewport(!0)},getViewportWidth:function(){ -return this.getViewport()},getWidth:function(t){return this.getOffset(t)},handleEvents:function(){return!this.disabled&&this.isCSSOn()},handleItemEvents:function(t){return this.handleEvents()&&!this.isLinkInMegaMenu(t)},isCollapsible:function(){return"static"==this.$firstSub.css("position")},isCSSOn:function(){return"inline"!=this.$firstLink.css("display")},isFixed:function(){var t="fixed"==this.$root.css("position");return t||this.$root.parentsUntil("body").each(function(){return"fixed"==$(this).css("position")?(t=!0,!1):void 0}),t},isLinkInMegaMenu:function(t){return $(this.getClosestMenu(t[0])).hasClass("mega-menu")},isTouchMode:function(){return!mouse||this.opts.noMouseOver||this.isCollapsible()},itemActivate:function(t,e){var i=t.closest("ul"),s=i.dataSM("level");if(s>1&&(!this.activatedItems[s-2]||this.activatedItems[s-2][0]!=i.dataSM("parent-a")[0])){var o=this;$(i.parentsUntil("[data-smartmenus-id]","ul").get().reverse()).add(i).each(function(){o.itemActivate($(this).dataSM("parent-a"))})}if(( -!this.isCollapsible()||e)&&this.menuHideSubMenus(this.activatedItems[s-1]&&this.activatedItems[s-1][0]==t[0]?s:s-1),this.activatedItems[s-1]=t,this.$root.triggerHandler("activate.smapi",t[0])!==!1){var a=t.dataSM("sub");a&&(this.isTouchMode()||!this.opts.showOnClick||this.clickActivated)&&this.menuShow(a)}},itemBlur:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&this.$root.triggerHandler("blur.smapi",e[0])},itemClick:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(this.$touchScrollingSub&&this.$touchScrollingSub[0]==e.closest("ul")[0])return this.$touchScrollingSub=null,t.stopPropagation(),!1;if(this.$root.triggerHandler("click.smapi",e[0])===!1)return!1;var i=$(t.target).is(".sub-arrow"),s=e.dataSM("sub"),o=s?2==s.dataSM("level"):!1,a=this.isCollapsible(),n=/toggle$/.test(this.opts.collapsibleBehavior),r=/link$/.test(this.opts.collapsibleBehavior),h=/^accordion/.test(this.opts.collapsibleBehavior);if(s&&!s.is(":visible")){if((!r||!a||i)&&(this.opts.showOnClick&&o&&( -this.clickActivated=!0),this.itemActivate(e,h),s.is(":visible")))return this.focusActivated=!0,!1}else if(a&&(n||i))return this.itemActivate(e,h),this.menuHide(s),n&&(this.focusActivated=!1),!1;return this.opts.showOnClick&&o||e.hasClass("disabled")||this.$root.triggerHandler("select.smapi",e[0])===!1?!1:void 0}},itemDown:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&e.dataSM("mousedown",!0)},itemEnter:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(!this.isTouchMode()){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);var i=this;this.showTimeout=setTimeout(function(){i.itemActivate(e)},this.opts.showOnClick&&1==e.closest("ul").dataSM("level")?1:this.opts.showTimeout)}this.$root.triggerHandler("mouseenter.smapi",e[0])}},itemFocus:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(!this.focusActivated||this.isTouchMode()&&e.dataSM("mousedown")||this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0]==e[0 -]||this.itemActivate(e,!0),this.$root.triggerHandler("focus.smapi",e[0]))},itemLeave:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(this.isTouchMode()||(e[0].blur(),this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0)),e.removeDataSM("mousedown"),this.$root.triggerHandler("mouseleave.smapi",e[0]))},menuHide:function(t){if(this.$root.triggerHandler("beforehide.smapi",t[0])!==!1&&(canAnimate&&t.stop(!0,!0),"none"!=t.css("display"))){var e=function(){t.css("z-index","")};this.isCollapsible()?canAnimate&&this.opts.collapsibleHideFunction?this.opts.collapsibleHideFunction.call(this,t,e):t.hide(this.opts.collapsibleHideDuration,e):canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,t,e):t.hide(this.opts.hideDuration,e),t.dataSM("scroll")&&(this.menuScrollStop(t),t.css({"touch-action":"","-ms-touch-action":"","-webkit-transform":"",transform:""}).off(".smartmenus_scroll").removeDataSM("scroll").dataSM("scroll-arrows").hide()),t.dataSM("parent-a").removeClass( -"highlighted").attr("aria-expanded","false"),t.attr({"aria-expanded":"false","aria-hidden":"true"});var i=t.dataSM("level");this.activatedItems.splice(i-1,1),this.visibleSubMenus.splice($.inArray(t,this.visibleSubMenus),1),this.$root.triggerHandler("hide.smapi",t[0])}},menuHideAll:function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);for(var t=this.opts.isPopup?1:0,e=this.visibleSubMenus.length-1;e>=t;e--)this.menuHide(this.visibleSubMenus[e]);this.opts.isPopup&&(canAnimate&&this.$root.stop(!0,!0),this.$root.is(":visible")&&(canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,this.$root):this.$root.hide(this.opts.hideDuration))),this.activatedItems=[],this.visibleSubMenus=[],this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.$root.triggerHandler("hideAll.smapi")},menuHideSubMenus:function(t){for(var e=this.activatedItems.length-1;e>=t;e--){var i=this.activatedItems[e].dataSM("sub");i&&this.menuHide(i)}},menuInit:function(t){if(!t.dataSM("in-mega")){ -t.hasClass("mega-menu")&&t.find("ul").dataSM("in-mega",!0);for(var e=2,i=t[0];(i=i.parentNode.parentNode)!=this.$root[0];)e++;var s=t.prevAll("a").eq(-1);s.length||(s=t.prevAll().find("a").eq(-1)),s.addClass("has-submenu").dataSM("sub",t),t.dataSM("parent-a",s).dataSM("level",e).parent().dataSM("sub",t);var o=s.attr("id")||this.accessIdPrefix+ ++this.idInc,a=t.attr("id")||this.accessIdPrefix+ ++this.idInc;s.attr({id:o,"aria-haspopup":"true","aria-controls":a,"aria-expanded":"false"}),t.attr({id:a,role:"group","aria-hidden":"true","aria-labelledby":o,"aria-expanded":"false"}),this.opts.subIndicators&&s[this.opts.subIndicatorsPos](this.$subArrow.clone())}},menuPosition:function(t){var e,i,s=t.dataSM("parent-a"),o=s.closest("li"),a=o.parent(),n=t.dataSM("level"),r=this.getWidth(t),h=this.getHeight(t),u=s.offset(),l=u.left,c=u.top,d=this.getWidth(s),m=this.getHeight(s),p=$(window),f=p.scrollLeft(),v=p.scrollTop(),b=this.getViewportWidth(),S=this.getViewportHeight(),g=a.parent().is("[data-sm-horizontal-sub]" -)||2==n&&!a.hasClass("sm-vertical"),M=this.opts.rightToLeftSubMenus&&!o.is("[data-sm-reverse]")||!this.opts.rightToLeftSubMenus&&o.is("[data-sm-reverse]"),w=2==n?this.opts.mainMenuSubOffsetX:this.opts.subMenusSubOffsetX,T=2==n?this.opts.mainMenuSubOffsetY:this.opts.subMenusSubOffsetY;if(g?(e=M?d-r-w:w,i=this.opts.bottomToTopSubMenus?-h-T:m+T):(e=M?w-r:d-w,i=this.opts.bottomToTopSubMenus?m-T-h:T),this.opts.keepInViewport){var y=l+e,I=c+i;if(M&&f>y?e=g?f-y+e:d-w:!M&&y+r>f+b&&(e=g?f+b-r-y+e:w-r),g||(S>h&&I+h>v+S?i+=v+S-h-I:(h>=S||v>I)&&(i+=v-I)),g&&(I+h>v+S+.49||v>I)||!g&&h>S+.49){var x=this;t.dataSM("scroll-arrows")||t.dataSM("scroll-arrows",$([$('')[0],$('')[0]]).on({mouseenter:function(){t.dataSM("scroll").up=$(this).hasClass("scroll-up"),x.menuScroll(t)},mouseleave:function(e){x.menuScrollStop(t),x.menuScrollOut(t,e)},"mousewheel DOMMouseScroll":function(t){ -t.preventDefault()}}).insertAfter(t));var A=".smartmenus_scroll";if(t.dataSM("scroll",{y:this.cssTransforms3d?0:i-m,step:1,itemH:m,subH:h,arrowDownH:this.getHeight(t.dataSM("scroll-arrows").eq(1))}).on(getEventsNS({mouseover:function(e){x.menuScrollOver(t,e)},mouseout:function(e){x.menuScrollOut(t,e)},"mousewheel DOMMouseScroll":function(e){x.menuScrollMousewheel(t,e)}},A)).dataSM("scroll-arrows").css({top:"auto",left:"0",marginLeft:e+(parseInt(t.css("border-left-width"))||0),width:r-(parseInt(t.css("border-left-width"))||0)-(parseInt(t.css("border-right-width"))||0),zIndex:t.css("z-index")}).eq(g&&this.opts.bottomToTopSubMenus?0:1).show(),this.isFixed()){var C={};C[touchEvents?"touchstart touchmove touchend":"pointerdown pointermove pointerup MSPointerDown MSPointerMove MSPointerUp"]=function(e){x.menuScrollTouch(t,e)},t.css({"touch-action":"none","-ms-touch-action":"none"}).on(getEventsNS(C,A))}}}t.css({top:"auto",left:"0",marginLeft:e,marginTop:i-m})},menuScroll:function(t,e,i){var s,o=t.dataSM("scroll"), -a=t.dataSM("scroll-arrows"),n=o.up?o.upEnd:o.downEnd;if(!e&&o.momentum){if(o.momentum*=.92,s=o.momentum,.5>s)return this.menuScrollStop(t),void 0}else s=i||(e||!this.opts.scrollAccelerate?this.opts.scrollStep:Math.floor(o.step));var r=t.dataSM("level");if(this.activatedItems[r-1]&&this.activatedItems[r-1].dataSM("sub")&&this.activatedItems[r-1].dataSM("sub").is(":visible")&&this.menuHideSubMenus(r-1),o.y=o.up&&o.y>=n||!o.up&&n>=o.y?o.y:Math.abs(n-o.y)>s?o.y+(o.up?s:-s):n,t.css(this.cssTransforms3d?{"-webkit-transform":"translate3d(0, "+o.y+"px, 0)",transform:"translate3d(0, "+o.y+"px, 0)"}:{marginTop:o.y}),mouse&&(o.up&&o.y>o.downEnd||!o.up&&o.y0;t.dataSM("scroll-arrows").eq(i?0:1).is(":visible")&&(t.dataSM("scroll").up=i,this.menuScroll(t,!0))}e.preventDefault()},menuScrollOut:function(t,e){mouse&&(/^scroll-(up|down)/.test((e.relatedTarget||"").className)||(t[0]==e.relatedTarget||$.contains(t[0],e.relatedTarget))&&this.getClosestMenu(e.relatedTarget)==t[0]||t.dataSM("scroll-arrows").css("visibility","hidden"))},menuScrollOver:function(t,e){if(mouse&&!/^scroll-(up|down)/.test(e.target.className)&&this.getClosestMenu(e.target)==t[0]){this.menuScrollRefreshData(t);var i=t.dataSM("scroll"),s=$(window).scrollTop()-t.dataSM("parent-a").offset().top-i.itemH;t.dataSM("scroll-arrows").eq(0).css("margin-top",s).end().eq(1).css("margin-top",s+this.getViewportHeight()-i.arrowDownH).end().css("visibility","visible")}},menuScrollRefreshData:function(t){var e=t.dataSM("scroll"),i=$(window).scrollTop()-t.dataSM("parent-a").offset().top-e.itemH;this.cssTransforms3d&&(i=-(parseFloat(t.css("margin-top"))-i)),$.extend(e,{upEnd:i, -downEnd:i+this.getViewportHeight()-e.subH})},menuScrollStop:function(t){return this.scrollTimeout?(cancelAnimationFrame(this.scrollTimeout),this.scrollTimeout=0,t.dataSM("scroll").step=1,!0):void 0},menuScrollTouch:function(t,e){if(e=e.originalEvent,isTouchEvent(e)){var i=this.getTouchPoint(e);if(this.getClosestMenu(i.target)==t[0]){var s=t.dataSM("scroll");if(/(start|down)$/i.test(e.type))this.menuScrollStop(t)?(e.preventDefault(),this.$touchScrollingSub=t):this.$touchScrollingSub=null,this.menuScrollRefreshData(t),$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp});else if(/move$/i.test(e.type)){var o=void 0!==s.touchY?s.touchY:s.touchStartY;if(void 0!==o&&o!=i.pageY){this.$touchScrollingSub=t;var a=i.pageY>o;void 0!==s.up&&s.up!=a&&$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp}),$.extend(s,{up:a,touchY:i.pageY}),this.menuScroll(t,!0,Math.abs(i.pageY-o))}e.preventDefault()}else void 0!==s.touchY&&((s.momentum=15*Math.pow(Math.abs(i.pageY-s.touchStartY)/(e.timeStamp-s.touchStartTime),2) -)&&(this.menuScrollStop(t),this.menuScroll(t),e.preventDefault()),delete s.touchY)}}},menuShow:function(t){if((t.dataSM("beforefirstshowfired")||(t.dataSM("beforefirstshowfired",!0),this.$root.triggerHandler("beforefirstshow.smapi",t[0])!==!1))&&this.$root.triggerHandler("beforeshow.smapi",t[0])!==!1&&(t.dataSM("shown-before",!0),canAnimate&&t.stop(!0,!0),!t.is(":visible"))){var e=t.dataSM("parent-a"),i=this.isCollapsible();if((this.opts.keepHighlighted||i)&&e.addClass("highlighted"),i)t.removeClass("sm-nowrap").css({zIndex:"",width:"auto",minWidth:"",maxWidth:"",top:"",left:"",marginLeft:"",marginTop:""});else{if(t.css("z-index",this.zIndexInc=(this.zIndexInc||this.getStartZIndex())+1),(this.opts.subMenusMinWidth||this.opts.subMenusMaxWidth)&&(t.css({width:"auto",minWidth:"",maxWidth:""}).addClass("sm-nowrap"),this.opts.subMenusMinWidth&&t.css("min-width",this.opts.subMenusMinWidth),this.opts.subMenusMaxWidth)){var s=this.getWidth(t);t.css("max-width",this.opts.subMenusMaxWidth),s>this.getWidth(t -)&&t.removeClass("sm-nowrap").css("width",this.opts.subMenusMaxWidth)}this.menuPosition(t)}var o=function(){t.css("overflow","")};i?canAnimate&&this.opts.collapsibleShowFunction?this.opts.collapsibleShowFunction.call(this,t,o):t.show(this.opts.collapsibleShowDuration,o):canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,t,o):t.show(this.opts.showDuration,o),e.attr("aria-expanded","true"),t.attr({"aria-expanded":"true","aria-hidden":"false"}),this.visibleSubMenus.push(t),this.$root.triggerHandler("show.smapi",t[0])}},popupHide:function(t){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},t?1:this.opts.hideTimeout)},popupShow:function(t,e){if(!this.opts.isPopup)return alert('SmartMenus jQuery Error:\n\nIf you want to show this menu via the "popupShow" method, set the isPopup:true option.'),void 0;if(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),this.$root.dataSM("shown-before",!0), -canAnimate&&this.$root.stop(!0,!0),!this.$root.is(":visible")){this.$root.css({left:t,top:e});var i=this,s=function(){i.$root.css("overflow","")};canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,this.$root,s):this.$root.show(this.opts.showDuration,s),this.visibleSubMenus[0]=this.$root}},refresh:function(){this.destroy(!0),this.init(!0)},rootKeyDown:function(t){if(this.handleEvents())switch(t.keyCode){case 27:var e=this.activatedItems[0];if(e){this.menuHideAll(),e[0].focus();var i=e.dataSM("sub");i&&this.menuHide(i)}break;case 32:var s=$(t.target);if(s.is("a")&&this.handleItemEvents(s)){var i=s.dataSM("sub");i&&!i.is(":visible")&&(this.itemClick({currentTarget:t.target}),t.preventDefault())}}},rootOut:function(t){if(this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),!this.opts.showOnClick||!this.opts.hideOnClick)){var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},this.opts.hideTimeout)}}, -rootOver:function(t){this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0)},winResize:function(t){if(this.handleEvents()){if(!("onorientationchange"in window)||"orientationchange"==t.type){var e=this.isCollapsible();this.wasCollapsible&&e||(this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0].blur(),this.menuHideAll()),this.wasCollapsible=e}}else if(this.$disableOverlay){var i=this.$root.offset();this.$disableOverlay.css({top:i.top,left:i.left,width:this.$root.outerWidth(),height:this.$root.outerHeight()})}}}}),$.fn.dataSM=function(t,e){return e?this.data(t+"_smartmenus",e):this.data(t+"_smartmenus")},$.fn.removeDataSM=function(t){return this.removeData(t+"_smartmenus")},$.fn.smartmenus=function(options){if("string"==typeof options){var args=arguments,method=options;return Array.prototype.shift.call(args),this.each(function(){var t=$(this).data("smartmenus");t&&t[method]&&t[method].apply(t,args)})} -return this.each(function(){var dataOpts=$(this).data("sm-options")||null;if(dataOpts)try{dataOpts=eval("("+dataOpts+")")}catch(e){dataOpts=null,alert('ERROR\n\nSmartMenus jQuery init:\nInvalid "data-sm-options" attribute value syntax.')}new $.SmartMenus(this,$.extend({},$.fn.smartmenus.defaults,options,dataOpts))})},$.fn.smartmenus.defaults={isPopup:!1,mainMenuSubOffsetX:0,mainMenuSubOffsetY:0,subMenusSubOffsetX:0,subMenusSubOffsetY:0,subMenusMinWidth:"10em",subMenusMaxWidth:"20em",subIndicators:!0,subIndicatorsPos:"append",subIndicatorsText:"",scrollStep:30,scrollAccelerate:!0,showTimeout:250,hideTimeout:500,showDuration:0,showFunction:null,hideDuration:0,hideFunction:function(t,e){t.fadeOut(200,e)},collapsibleShowDuration:0,collapsibleShowFunction:function(t,e){t.slideDown(200,e)},collapsibleHideDuration:0,collapsibleHideFunction:function(t,e){t.slideUp(200,e)},showOnClick:!1,hideOnClick:!0,noMouseOver:!1,keepInViewport:!0,keepHighlighted:!0,markCurrentItem:!1,markCurrentTree:!0,rightToLeftSubMenus:!1, -bottomToTopSubMenus:!1,collapsibleBehavior:"default"},$}); diff --git a/doc/doxygen/html/menu.js b/doc/doxygen/html/menu.js deleted file mode 100644 index 0fd1e99..0000000 --- a/doc/doxygen/html/menu.js +++ /dev/null @@ -1,134 +0,0 @@ -/* - @licstart The following is the entire license notice for the JavaScript code in this file. - - The MIT License (MIT) - - Copyright (C) 1997-2020 by Dimitri van Heesch - - Permission is hereby granted, free of charge, to any person obtaining a copy of this software - and associated documentation files (the "Software"), to deal in the Software without restriction, - including without limitation the rights to use, copy, modify, merge, publish, distribute, - sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all copies or - substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - @licend The above is the entire license notice for the JavaScript code in this file - */ -function initMenu(relPath,searchEnabled,serverSide,searchPage,search,treeview) { - function makeTree(data,relPath) { - let result=''; - if ('children' in data) { - result+='
    '; - for (let i in data.children) { - let url; - const link = data.children[i].url; - if (link.substring(0,1)=='^') { - url = link.substring(1); - } else { - url = relPath+link; - } - result+='
  • '+ - data.children[i].text+''+ - makeTree(data.children[i],relPath)+'
  • '; - } - result+='
'; - } - return result; - } - let searchBoxHtml; - if (searchEnabled) { - if (serverSide) { - searchBoxHtml='
'+ - '
'+ - '
 '+ - ''+ - '
'+ - '
'+ - '
'+ - '
'; - } else { - searchBoxHtml='
'+ - ''+ - ' '+ - ''+ - ''+ - ''+ - ''+ - ''+ - '
'; - } - } - - $('#main-nav').before('
'+ - ''+ - ''+ - '
'); - $('#main-nav').append(makeTree(menudata,relPath)); - $('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu'); - if (searchBoxHtml) { - $('#main-menu').append('
  • '); - } - const $mainMenuState = $('#main-menu-state'); - let prevWidth = 0; - if ($mainMenuState.length) { - const initResizableIfExists = function() { - if (typeof initResizable==='function') initResizable(treeview); - } - // animate mobile menu - $mainMenuState.change(function() { - const $menu = $('#main-menu'); - let options = { duration: 250, step: initResizableIfExists }; - if (this.checked) { - options['complete'] = () => $menu.css('display', 'block'); - $menu.hide().slideDown(options); - } else { - options['complete'] = () => $menu.css('display', 'none'); - $menu.show().slideUp(options); - } - }); - // set default menu visibility - const resetState = function() { - const $menu = $('#main-menu'); - const newWidth = $(window).outerWidth(); - if (newWidth!=prevWidth) { - if ($(window).outerWidth()<768) { - $mainMenuState.prop('checked',false); $menu.hide(); - $('#searchBoxPos1').html(searchBoxHtml); - $('#searchBoxPos2').hide(); - } else { - $menu.show(); - $('#searchBoxPos1').empty(); - $('#searchBoxPos2').html(searchBoxHtml); - $('#searchBoxPos2').show(); - } - if (typeof searchBox!=='undefined') { - searchBox.CloseResultsWindow(); - } - prevWidth = newWidth; - } - } - $(window).ready(function() { resetState(); initResizableIfExists(); }); - $(window).resize(resetState); - } - $('#main-menu').smartmenus(); -} -/* @license-end */ diff --git a/doc/doxygen/html/menudata.js b/doc/doxygen/html/menudata.js deleted file mode 100644 index 9f57331..0000000 --- a/doc/doxygen/html/menudata.js +++ /dev/null @@ -1,91 +0,0 @@ -/* - @licstart The following is the entire license notice for the JavaScript code in this file. - - The MIT License (MIT) - - Copyright (C) 1997-2020 by Dimitri van Heesch - - Permission is hereby granted, free of charge, to any person obtaining a copy of this software - and associated documentation files (the "Software"), to deal in the Software without restriction, - including without limitation the rights to use, copy, modify, merge, publish, distribute, - sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all copies or - substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - @licend The above is the entire license notice for the JavaScript code in this file -*/ -var menudata={children:[ -{text:"Main Page",url:"index.html"}, -{text:"Related Pages",url:"pages.html"}, -{text:"Topics",url:"topics.html"}, -{text:"Data Structures",url:"annotated.html",children:[ -{text:"Data Structures",url:"annotated.html"}, -{text:"Data Structure Index",url:"classes.html"}, -{text:"Data Fields",url:"functions.html",children:[ -{text:"All",url:"functions.html",children:[ -{text:"a",url:"functions.html#index_a"}, -{text:"b",url:"functions.html#index_b"}, -{text:"c",url:"functions.html#index_c"}, -{text:"d",url:"functions.html#index_d"}, -{text:"f",url:"functions.html#index_f"}, -{text:"g",url:"functions.html#index_g"}, -{text:"h",url:"functions.html#index_h"}, -{text:"i",url:"functions.html#index_i"}, -{text:"k",url:"functions.html#index_k"}, -{text:"l",url:"functions.html#index_l"}, -{text:"m",url:"functions.html#index_m"}, -{text:"n",url:"functions.html#index_n"}, -{text:"p",url:"functions.html#index_p"}, -{text:"r",url:"functions.html#index_r"}, -{text:"s",url:"functions.html#index_s"}, -{text:"t",url:"functions.html#index_t"}, -{text:"u",url:"functions.html#index_u"}, -{text:"v",url:"functions.html#index_v"}, -{text:"w",url:"functions.html#index_w"}, -{text:"x",url:"functions.html#index_x"}, -{text:"y",url:"functions.html#index_y"}]}, -{text:"Variables",url:"functions_vars.html",children:[ -{text:"a",url:"functions_vars.html#index_a"}, -{text:"b",url:"functions_vars.html#index_b"}, -{text:"c",url:"functions_vars.html#index_c"}, -{text:"d",url:"functions_vars.html#index_d"}, -{text:"f",url:"functions_vars.html#index_f"}, -{text:"g",url:"functions_vars.html#index_g"}, -{text:"h",url:"functions_vars.html#index_h"}, -{text:"i",url:"functions_vars.html#index_i"}, -{text:"k",url:"functions_vars.html#index_k"}, -{text:"l",url:"functions_vars.html#index_l"}, -{text:"m",url:"functions_vars.html#index_m"}, -{text:"n",url:"functions_vars.html#index_n"}, -{text:"p",url:"functions_vars.html#index_p"}, -{text:"r",url:"functions_vars.html#index_r"}, -{text:"s",url:"functions_vars.html#index_s"}, -{text:"t",url:"functions_vars.html#index_t"}, -{text:"u",url:"functions_vars.html#index_u"}, -{text:"v",url:"functions_vars.html#index_v"}, -{text:"w",url:"functions_vars.html#index_w"}, -{text:"x",url:"functions_vars.html#index_x"}, -{text:"y",url:"functions_vars.html#index_y"}]}]}]}, -{text:"Files",url:"files.html",children:[ -{text:"File List",url:"files.html"}, -{text:"Globals",url:"globals.html",children:[ -{text:"All",url:"globals.html",children:[ -{text:"a",url:"globals.html#index_a"}]}, -{text:"Functions",url:"globals_func.html",children:[ -{text:"a",url:"globals_func.html#index_a"}]}, -{text:"Variables",url:"globals_vars.html"}, -{text:"Typedefs",url:"globals_type.html",children:[ -{text:"a",url:"globals_type.html#index_a"}]}, -{text:"Enumerations",url:"globals_enum.html"}, -{text:"Enumerator",url:"globals_eval.html",children:[ -{text:"a",url:"globals_eval.html#index_a"}]}, -{text:"Macros",url:"globals_defs.html",children:[ -{text:"a",url:"globals_defs.html#index_a"}]}]}]}]} diff --git a/doc/doxygen/html/minus.svg b/doc/doxygen/html/minus.svg deleted file mode 100644 index f70d0c1..0000000 --- a/doc/doxygen/html/minus.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/doc/doxygen/html/minusd.svg b/doc/doxygen/html/minusd.svg deleted file mode 100644 index 5f8e879..0000000 --- a/doc/doxygen/html/minusd.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/doc/doxygen/html/nav_f.png b/doc/doxygen/html/nav_f.png deleted file mode 100644 index 72a58a529ed3a9ed6aa0c51a79cf207e026deee2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 153 zcmeAS@N?(olHy`uVBq!ia0vp^j6iI`!2~2XGqLUlQVE_ejv*C{Z|{2ZH7M}7UYxc) zn!W8uqtnIQ>_z8U diff --git a/doc/doxygen/html/nav_fd.png b/doc/doxygen/html/nav_fd.png deleted file mode 100644 index 032fbdd4c54f54fa9a2e6423b94ef4b2ebdfaceb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 169 zcmeAS@N?(olHy`uVBq!ia0vp^j6iI`!2~2XGqLUlQU#tajv*C{Z|C~*H7f|XvG1G8 zt7aS*L7xwMeS}!z6R#{C5tIw-s~AJ==F^i}x3XyJseHR@yF& zerFf(Zf;Dd{+(0lDIROL@Sj-Ju2JQ8&-n%4%q?>|^bShc&lR?}7HeMo@BDl5N(aHY Uj$gdr1MOz;boFyt=akR{0D!zeaR2}S diff --git a/doc/doxygen/html/nav_g.png b/doc/doxygen/html/nav_g.png deleted file mode 100644 index 2093a237a94f6c83e19ec6e5fd42f7ddabdafa81..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 95 zcmeAS@N?(olHy`uVBq!ia0vp^j6lrB!3HFm1ilyoDK$?Q$B+ufw|5PB85lU25BhtE tr?otc=hd~V+ws&_A@j8Fiv!KF$B+ufw|5=67#uj90@pIL wZ=Q8~_Ju`#59=RjDrmm`tMD@M=!-l18IR?&vFVdQ&MBb@0HFXL6W-eg#Jd_@e6*DPn)w;=|1H}Zvm9l6xXXB%>yL=NQU;mg M>FVdQ&MBb@0Bdt1Qvd(} diff --git a/doc/doxygen/html/navtree.css b/doc/doxygen/html/navtree.css deleted file mode 100644 index 69211d4..0000000 --- a/doc/doxygen/html/navtree.css +++ /dev/null @@ -1,149 +0,0 @@ -#nav-tree .children_ul { - margin:0; - padding:4px; -} - -#nav-tree ul { - list-style:none outside none; - margin:0px; - padding:0px; -} - -#nav-tree li { - white-space:nowrap; - margin:0px; - padding:0px; -} - -#nav-tree .plus { - margin:0px; -} - -#nav-tree .selected { - background-image: url('tab_a.png'); - background-repeat:repeat-x; - color: var(--nav-text-active-color); - text-shadow: var(--nav-text-active-shadow); -} - -#nav-tree .selected .arrow { - color: var(--nav-arrow-selected-color); - text-shadow: none; -} - -#nav-tree img { - margin:0px; - padding:0px; - border:0px; - vertical-align: middle; -} - -#nav-tree a { - text-decoration:none; - padding:0px; - margin:0px; -} - -#nav-tree .label { - margin:0px; - padding:0px; - font: 12px var(--font-family-nav); -} - -#nav-tree .label a { - padding:2px; -} - -#nav-tree .selected a { - text-decoration:none; - color:var(--nav-text-active-color); -} - -#nav-tree .children_ul { - margin:0px; - padding:0px; -} - -#nav-tree .item { - margin:0px; - padding:0px; -} - -#nav-tree { - padding: 0px 0px; - font-size:14px; - overflow:auto; -} - -#doc-content { - overflow:auto; - display:block; - padding:0px; - margin:0px; - -webkit-overflow-scrolling : touch; /* iOS 5+ */ -} - -#side-nav { - padding:0 6px 0 0; - margin: 0px; - display:block; - position: absolute; - left: 0px; - width: $width; - overflow : hidden; -} - -.ui-resizable .ui-resizable-handle { - display:block; -} - -.ui-resizable-e { - background-image:var(--nav-splitbar-image); - background-size:100%; - background-repeat:repeat-y; - background-attachment: scroll; - cursor:ew-resize; - height:100%; - right:0; - top:0; - width:6px; -} - -.ui-resizable-handle { - display:none; - font-size:0.1px; - position:absolute; - z-index:1; -} - -#nav-tree-contents { - margin: 6px 0px 0px 0px; -} - -#nav-tree { - background-repeat:repeat-x; - background-color: var(--nav-background-color); - -webkit-overflow-scrolling : touch; /* iOS 5+ */ -} - -#nav-sync { - position:absolute; - top:5px; - right:24px; - z-index:0; -} - -#nav-sync img { - opacity:0.3; -} - -#nav-sync img:hover { - opacity:0.9; -} - -@media print -{ - #nav-tree { display: none; } - div.ui-resizable-handle { display: none; position: relative; } -} - diff --git a/doc/doxygen/html/navtree.js b/doc/doxygen/html/navtree.js deleted file mode 100644 index 9027ce6..0000000 --- a/doc/doxygen/html/navtree.js +++ /dev/null @@ -1,483 +0,0 @@ -/* - @licstart The following is the entire license notice for the JavaScript code in this file. - - The MIT License (MIT) - - Copyright (C) 1997-2020 by Dimitri van Heesch - - Permission is hereby granted, free of charge, to any person obtaining a copy of this software - and associated documentation files (the "Software"), to deal in the Software without restriction, - including without limitation the rights to use, copy, modify, merge, publish, distribute, - sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all copies or - substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - @licend The above is the entire license notice for the JavaScript code in this file - */ - -function initNavTree(toroot,relpath) { - let navTreeSubIndices = []; - const ARROW_DOWN = '▼'; - const ARROW_RIGHT = '►'; - const NAVPATH_COOKIE_NAME = ''+'navpath'; - - const getData = function(varName) { - const i = varName.lastIndexOf('/'); - const n = i>=0 ? varName.substring(i+1) : varName; - return eval(n.replace(/-/g,'_')); - } - - const stripPath = function(uri) { - return uri.substring(uri.lastIndexOf('/')+1); - } - - const stripPath2 = function(uri) { - const i = uri.lastIndexOf('/'); - const s = uri.substring(i+1); - const m = uri.substring(0,i+1).match(/\/d\w\/d\w\w\/$/); - return m ? uri.substring(i-6) : s; - } - - const hashValue = function() { - return $(location).attr('hash').substring(1).replace(/[^\w-]/g,''); - } - - const hashUrl = function() { - return '#'+hashValue(); - } - - const pathName = function() { - return $(location).attr('pathname').replace(/[^-A-Za-z0-9+&@#/%?=~_|!:,.;()]/g, ''); - } - - const storeLink = function(link) { - if (!$("#nav-sync").hasClass('sync')) { - Cookie.writeSetting(NAVPATH_COOKIE_NAME,link,0); - } - } - - const deleteLink = function() { - Cookie.eraseSetting(NAVPATH_COOKIE_NAME); - } - - const cachedLink = function() { - return Cookie.readSetting(NAVPATH_COOKIE_NAME,''); - } - - const getScript = function(scriptName,func) { - const head = document.getElementsByTagName("head")[0]; - const script = document.createElement('script'); - script.id = scriptName; - script.type = 'text/javascript'; - script.onload = func; - script.src = scriptName+'.js'; - head.appendChild(script); - } - - const createIndent = function(o,domNode,node) { - let level=-1; - let n = node; - while (n.parentNode) { level++; n=n.parentNode; } - if (node.childrenData) { - const imgNode = document.createElement("span"); - imgNode.className = 'arrow'; - imgNode.style.paddingLeft=(16*level).toString()+'px'; - imgNode.innerHTML=ARROW_RIGHT; - node.plus_img = imgNode; - node.expandToggle = document.createElement("a"); - node.expandToggle.href = "javascript:void(0)"; - node.expandToggle.onclick = function() { - if (node.expanded) { - $(node.getChildrenUL()).slideUp("fast"); - node.plus_img.innerHTML=ARROW_RIGHT; - node.expanded = false; - } else { - expandNode(o, node, false, true); - } - } - node.expandToggle.appendChild(imgNode); - domNode.appendChild(node.expandToggle); - } else { - let span = document.createElement("span"); - span.className = 'arrow'; - span.style.width = 16*(level+1)+'px'; - span.innerHTML = ' '; - domNode.appendChild(span); - } - } - - let animationInProgress = false; - - const gotoAnchor = function(anchor,aname) { - let pos, docContent = $('#doc-content'); - let ancParent = $(anchor.parent()); - if (ancParent.hasClass('memItemLeft') || ancParent.hasClass('memtitle') || - ancParent.hasClass('fieldname') || ancParent.hasClass('fieldtype') || - ancParent.is(':header')) { - pos = ancParent.position().top; - } else if (anchor.position()) { - pos = anchor.position().top; - } - if (pos) { - const dcOffset = docContent.offset().top; - const dcHeight = docContent.height(); - const dcScrHeight = docContent[0].scrollHeight - const dcScrTop = docContent.scrollTop(); - let dist = Math.abs(Math.min(pos-dcOffset,dcScrHeight-dcHeight-dcScrTop)); - animationInProgress = true; - docContent.animate({ - scrollTop: pos + dcScrTop - dcOffset - },Math.max(50,Math.min(500,dist)),function() { - animationInProgress=false; - if (anchor.parent().attr('class')=='memItemLeft') { - let rows = $('.memberdecls tr[class$="'+hashValue()+'"]'); - glowEffect(rows.children(),300); // member without details - } else if (anchor.parent().attr('class')=='fieldname') { - glowEffect(anchor.parent().parent(),1000); // enum value - } else if (anchor.parent().attr('class')=='fieldtype') { - glowEffect(anchor.parent().parent(),1000); // struct field - } else if (anchor.parent().is(":header")) { - glowEffect(anchor.parent(),1000); // section header - } else { - glowEffect(anchor.next(),1000); // normal member - } - }); - } - } - - const newNode = function(o, po, text, link, childrenData, lastNode) { - const node = { - children : [], - childrenData : childrenData, - depth : po.depth + 1, - relpath : po.relpath, - isLast : lastNode, - li : document.createElement("li"), - parentNode : po, - itemDiv : document.createElement("div"), - labelSpan : document.createElement("span"), - label : document.createTextNode(text), - expanded : false, - childrenUL : null, - getChildrenUL : function() { - if (!this.childrenUL) { - this.childrenUL = document.createElement("ul"); - this.childrenUL.className = "children_ul"; - this.childrenUL.style.display = "none"; - this.li.appendChild(node.childrenUL); - } - return node.childrenUL; - }, - }; - - node.itemDiv.className = "item"; - node.labelSpan.className = "label"; - createIndent(o,node.itemDiv,node); - node.itemDiv.appendChild(node.labelSpan); - node.li.appendChild(node.itemDiv); - - const a = document.createElement("a"); - node.labelSpan.appendChild(a); - po.getChildrenUL().appendChild(node.li); - a.appendChild(node.label); - if (link) { - let url; - if (link.substring(0,1)=='^') { - url = link.substring(1); - link = url; - } else { - url = node.relpath+link; - } - a.className = stripPath(link.replace('#',':')); - if (link.indexOf('#')!=-1) { - const aname = '#'+link.split('#')[1]; - const srcPage = stripPath(pathName()); - const targetPage = stripPath(link.split('#')[0]); - a.href = srcPage!=targetPage ? url : aname; - a.onclick = function() { - storeLink(link); - aPPar = $(a).parent().parent(); - if (!aPPar.hasClass('selected')) { - $('.item').removeClass('selected'); - $('.item').removeAttr('id'); - aPPar.addClass('selected'); - aPPar.attr('id','selected'); - } - const anchor = $(aname); - gotoAnchor(anchor,aname); - }; - } else { - a.href = url; - a.onclick = () => storeLink(link); - } - } else if (childrenData != null) { - a.className = "nolink"; - a.href = "javascript:void(0)"; - a.onclick = node.expandToggle.onclick; - } - return node; - } - - const showRoot = function() { - const headerHeight = $("#top").height(); - const footerHeight = $("#nav-path").height(); - const windowHeight = $(window).height() - headerHeight - footerHeight; - (function() { // retry until we can scroll to the selected item - try { - const navtree=$('#nav-tree'); - navtree.scrollTo('#selected',100,{offset:-windowHeight/2}); - } catch (err) { - setTimeout(arguments.callee, 0); - } - })(); - } - - const expandNode = function(o, node, imm, setFocus) { - if (node.childrenData && !node.expanded) { - if (typeof(node.childrenData)==='string') { - const varName = node.childrenData; - getScript(node.relpath+varName,function() { - node.childrenData = getData(varName); - expandNode(o, node, imm, setFocus); - }); - } else { - if (!node.childrenVisited) { - getNode(o, node); - } - $(node.getChildrenUL()).slideDown("fast"); - node.plus_img.innerHTML = ARROW_DOWN; - node.expanded = true; - if (setFocus) { - $(node.expandToggle).focus(); - } - } - } - } - - const glowEffect = function(n,duration) { - n.addClass('glow').delay(duration).queue(function(next) { - $(this).removeClass('glow');next(); - }); - } - - const highlightAnchor = function() { - const aname = hashUrl(); - const anchor = $(aname); - gotoAnchor(anchor,aname); - } - - const selectAndHighlight = function(hash,n) { - let a; - if (hash) { - const link=stripPath(pathName())+':'+hash.substring(1); - a=$('.item a[class$="'+link+'"]'); - } - if (a && a.length) { - a.parent().parent().addClass('selected'); - a.parent().parent().attr('id','selected'); - highlightAnchor(); - } else if (n) { - $(n.itemDiv).addClass('selected'); - $(n.itemDiv).attr('id','selected'); - } - let topOffset=5; - if ($('#nav-tree-contents .item:first').hasClass('selected')) { - topOffset+=25; - } - $('#nav-sync').css('top',topOffset+'px'); - showRoot(); - } - - const showNode = function(o, node, index, hash) { - if (node && node.childrenData) { - if (typeof(node.childrenData)==='string') { - const varName = node.childrenData; - getScript(node.relpath+varName,function() { - node.childrenData = getData(varName); - showNode(o,node,index,hash); - }); - } else { - if (!node.childrenVisited) { - getNode(o, node); - } - $(node.getChildrenUL()).css({'display':'block'}); - node.plus_img.innerHTML = ARROW_DOWN; - node.expanded = true; - const n = node.children[o.breadcrumbs[index]]; - if (index+11 ? '#'+parts[1].replace(/[^\w-]/g,'') : ''; - } - if (hash.match(/^#l\d+$/)) { - const anchor=$('a[name='+hash.substring(1)+']'); - glowEffect(anchor.parent(),1000); // line number - hash=''; // strip line number anchors - } - const url=root+hash; - let i=-1; - while (NAVTREEINDEX[i+1]<=url) i++; - if (i==-1) { i=0; root=NAVTREE[0][1]; } // fallback: show index - if (navTreeSubIndices[i]) { - gotoNode(o,i,root,hash,relpath) - } else { - getScript(relpath+'navtreeindex'+i,function() { - navTreeSubIndices[i] = eval('NAVTREEINDEX'+i); - if (navTreeSubIndices[i]) { - gotoNode(o,i,root,hash,relpath); - } - }); - } - } - - const showSyncOff = function(n,relpath) { - n.html(''); - } - - const showSyncOn = function(n,relpath) { - n.html(''); - } - - const o = { - toroot : toroot, - node : { - childrenData : NAVTREE, - children : [], - childrenUL : document.createElement("ul"), - getChildrenUL : function() { return this.childrenUL }, - li : document.getElementById("nav-tree-contents"), - depth : 0, - relpath : relpath, - expanded : false, - isLast : true, - plus_img : document.createElement("span"), - }, - }; - o.node.li.appendChild(o.node.childrenUL); - o.node.plus_img.className = 'arrow'; - o.node.plus_img.innerHTML = ARROW_RIGHT; - - const navSync = $('#nav-sync'); - if (cachedLink()) { - showSyncOff(navSync,relpath); - navSync.removeClass('sync'); - } else { - showSyncOn(navSync,relpath); - } - - navSync.click(() => { - const navSync = $('#nav-sync'); - if (navSync.hasClass('sync')) { - navSync.removeClass('sync'); - showSyncOff(navSync,relpath); - storeLink(stripPath2(pathName())+hashUrl()); - } else { - navSync.addClass('sync'); - showSyncOn(navSync,relpath); - deleteLink(); - } - }); - - navTo(o,toroot,hashUrl(),relpath); - showRoot(); - - $(window).bind('hashchange', () => { - if (!animationInProgress) { - if (window.location.hash && window.location.hash.length>1) { - let a; - if ($(location).attr('hash')) { - const clslink=stripPath(pathName())+':'+hashValue(); - a=$('.item a[class$="'+clslink.replace(/1|%O$WD@{VPM$7~Ar*{o?;hlAFyLXmaDC0y znK1_#cQqJWPES%4Uujug^TE?jMft$}Eq^WaR~)%f)vSNs&gek&x%A9X9sM - - - - - - - -Archeus: Related Pages - - - - - - - - - - - - - - - - - - -
    -
    - - - - - - -
    -
    Archeus 0.0.0 -
    -
    A C library and game engine that focuses on documentation
    -
    -
    - - - - - - - - -
    -
    - -
    -
    -
    - -
    - -
    -
    - - -
    -
    -
    -
    -
    -
    Loading...
    -
    Searching...
    -
    No Matches
    -
    -
    -
    -
    - -
    -
    Related Pages
    -
    -
    -
    Here is a list of all related documentation pages:
    -
    -
    - - - - - - diff --git a/doc/doxygen/html/plus.svg b/doc/doxygen/html/plus.svg deleted file mode 100644 index 0752016..0000000 --- a/doc/doxygen/html/plus.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/doc/doxygen/html/plusd.svg b/doc/doxygen/html/plusd.svg deleted file mode 100644 index 0c65bfe..0000000 --- a/doc/doxygen/html/plusd.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/doc/doxygen/html/resize.js b/doc/doxygen/html/resize.js deleted file mode 100644 index 178d03b..0000000 --- a/doc/doxygen/html/resize.js +++ /dev/null @@ -1,147 +0,0 @@ -/* - @licstart The following is the entire license notice for the JavaScript code in this file. - - The MIT License (MIT) - - Copyright (C) 1997-2020 by Dimitri van Heesch - - Permission is hereby granted, free of charge, to any person obtaining a copy of this software - and associated documentation files (the "Software"), to deal in the Software without restriction, - including without limitation the rights to use, copy, modify, merge, publish, distribute, - sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all copies or - substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - @licend The above is the entire license notice for the JavaScript code in this file - */ - -function initResizable(treeview) { - let sidenav,navtree,content,header,footer,barWidth=6; - const RESIZE_COOKIE_NAME = ''+'width'; - - function resizeWidth() { - const sidenavWidth = $(sidenav).outerWidth(); - content.css({marginLeft:parseInt(sidenavWidth)+"px"}); - if (typeof page_layout!=='undefined' && page_layout==1) { - footer.css({marginLeft:parseInt(sidenavWidth)+"px"}); - } - Cookie.writeSetting(RESIZE_COOKIE_NAME,sidenavWidth-barWidth); - } - - function restoreWidth(navWidth) { - content.css({marginLeft:parseInt(navWidth)+barWidth+"px"}); - if (typeof page_layout!=='undefined' && page_layout==1) { - footer.css({marginLeft:parseInt(navWidth)+barWidth+"px"}); - } - sidenav.css({width:navWidth + "px"}); - } - - function resizeHeight(treeview) { - const headerHeight = header.outerHeight(); - const windowHeight = $(window).height(); - let contentHeight; - if (treeview) - { - const footerHeight = footer.outerHeight(); - let navtreeHeight,sideNavHeight; - if (typeof page_layout==='undefined' || page_layout==0) { /* DISABLE_INDEX=NO */ - contentHeight = windowHeight - headerHeight - footerHeight; - navtreeHeight = contentHeight; - sideNavHeight = contentHeight; - } else if (page_layout==1) { /* DISABLE_INDEX=YES */ - contentHeight = windowHeight - footerHeight; - navtreeHeight = windowHeight - headerHeight; - sideNavHeight = windowHeight; - } - navtree.css({height:navtreeHeight + "px"}); - sidenav.css({height:sideNavHeight + "px"}); - } - else - { - contentHeight = windowHeight - headerHeight; - } - content.css({height:contentHeight + "px"}); - if (location.hash.slice(1)) { - (document.getElementById(location.hash.slice(1))||document.body).scrollIntoView(); - } - } - - function collapseExpand() { - let newWidth; - if (sidenav.width()>0) { - newWidth=0; - } else { - const width = Cookie.readSetting(RESIZE_COOKIE_NAME,250); - newWidth = (width>250 && width<$(window).width()) ? width : 250; - } - restoreWidth(newWidth); - const sidenavWidth = $(sidenav).outerWidth(); - Cookie.writeSetting(RESIZE_COOKIE_NAME,sidenavWidth-barWidth); - } - - header = $("#top"); - content = $("#doc-content"); - footer = $("#nav-path"); - sidenav = $("#side-nav"); - if (!treeview) { -// title = $("#titlearea"); -// titleH = $(title).height(); -// let animating = false; -// content.on("scroll", function() { -// slideOpts = { duration: 200, -// step: function() { -// contentHeight = $(window).height() - header.outerHeight(); -// content.css({ height : contentHeight + "px" }); -// }, -// done: function() { animating=false; } -// }; -// if (content.scrollTop()>titleH && title.css('display')!='none' && !animating) { -// title.slideUp(slideOpts); -// animating=true; -// } else if (content.scrollTop()<=titleH && title.css('display')=='none' && !animating) { -// title.slideDown(slideOpts); -// animating=true; -// } -// }); - } else { - navtree = $("#nav-tree"); - $(".side-nav-resizable").resizable({resize: function(e, ui) { resizeWidth(); } }); - $(sidenav).resizable({ minWidth: 0 }); - } - $(window).resize(function() { resizeHeight(treeview); }); - if (treeview) - { - const device = navigator.userAgent.toLowerCase(); - const touch_device = device.match(/(iphone|ipod|ipad|android)/); - if (touch_device) { /* wider split bar for touch only devices */ - $(sidenav).css({ paddingRight:'20px' }); - $('.ui-resizable-e').css({ width:'20px' }); - $('#nav-sync').css({ right:'34px' }); - barWidth=20; - } - const width = Cookie.readSetting(RESIZE_COOKIE_NAME,250); - if (width) { restoreWidth(width); } else { resizeWidth(); } - } - resizeHeight(treeview); - const url = location.href; - const i=url.indexOf("#"); - if (i>=0) window.location.hash=url.substr(i); - const _preventDefault = function(evt) { evt.preventDefault(); }; - if (treeview) - { - $("#splitbar").bind("dragstart", _preventDefault).bind("selectstart", _preventDefault); - $(".ui-resizable-handle").dblclick(collapseExpand); - // workaround for firefox - $("body").css({overflow: "hidden"}); - } - $(window).on('load',function() { resizeHeight(treeview); }); -} -/* @license-end */ diff --git a/doc/doxygen/html/search/all_0.js b/doc/doxygen/html/search/all_0.js deleted file mode 100644 index a585f59..0000000 --- a/doc/doxygen/html/search/all_0.js +++ /dev/null @@ -1,607 +0,0 @@ -var searchData= -[ - ['a_0',['a',['../d2/d30/structARC__Color.html#a2fa102f4314c8c10cefc4efa242ed234',1,'ARC_Color']]], - ['arc_5farray_1',['ARC_Array',['../d3/dac/structARC__Array.html',1,'ARC_Array'],['../db/d63/array_8h.html#ac64d854dd9212c2e619822b3c6c1ca93',1,'ARC_Array: array.h']]], - ['arc_5faudio_2',['ARC_Audio',['../da/d09/audio_8h.html#a3851568fba810fda2172dd0f16a4cdd0',1,'audio.h']]], - ['arc_5faudio_5fdelete_3',['ARC_Audio_Delete',['../df/df7/audio_2config_8h.html#a56b20e5eaf57fb9da53f69034b66b7e4',1,'config.h']]], - ['arc_5faudio_5fplay_4',['ARC_Audio_Play',['../da/d09/audio_8h.html#a3d6d71d185efb1f873fe324c9b7e75e8',1,'audio.h']]], - ['arc_5faudio_5fread_5',['ARC_Audio_Read',['../df/df7/audio_2config_8h.html#a1018ccdf4d6cd6cdd8439449baebb644',1,'config.h']]], - ['arc_5faudioconfig_5finit_6',['ARC_AudioConfig_Init',['../df/df7/audio_2config_8h.html#a5beb4825fbb34818043195c8f11f1567',1,'config.h']]], - ['arc_5fbool_7',['ARC_Bool',['../d8/d77/bool_8h.html#aad51710c999c22d9440e5ce0ba8e2c45',1,'bool.h']]], - ['arc_5fchemical_8',['ARC_Chemical',['../de/de8/chemical_8h.html#a08f9b566b2b36bdabebfd13eb5754fb1',1,'chemical.h']]], - ['arc_5fchemical_5fcreate_9',['ARC_Chemical_Create',['../de/de8/chemical_8h.html#a57285cb04aa534e1d031332dcaa1a870',1,'chemical.h']]], - ['arc_5fchemical_5fdestroy_10',['ARC_Chemical_Destroy',['../de/de8/chemical_8h.html#a686a72bf4514fe44106185d4b5c588ef',1,'chemical.h']]], - ['arc_5fchemical_5fget_11',['ARC_Chemical_Get',['../de/de8/chemical_8h.html#adb8a34d9191beed01e6fed8a897151c3',1,'chemical.h']]], - ['arc_5fchemical_5floadfromfile_12',['ARC_Chemical_LoadFromFile',['../de/de8/chemical_8h.html#a12062638bce9e79bc5409a12c05e3023',1,'chemical.h']]], - ['arc_5fchemical_5floadfromstring_13',['ARC_Chemical_LoadFromString',['../de/de8/chemical_8h.html#a56505ede690711cbfd12c9e56864c4b3',1,'chemical.h']]], - ['arc_5fchemical_5fregistertype_14',['ARC_Chemical_RegisterType',['../de/de8/chemical_8h.html#a585e4d4a2bd7f2484fa3e6a308b483d3',1,'chemical.h']]], - ['arc_5fchemical_5fsetgroup_15',['ARC_Chemical_SetGroup',['../de/de8/chemical_8h.html#a5d6a498f3920dc4bed51fe2e855ef69f',1,'chemical.h']]], - ['arc_5fchemical_5funloadfromfile_16',['ARC_Chemical_UnloadFromFile',['../de/de8/chemical_8h.html#a43b69b30d57bdf40ffe674e4e0105157',1,'chemical.h']]], - ['arc_5fchemical_5funloadfromstring_17',['ARC_Chemical_UnloadFromString',['../de/de8/chemical_8h.html#ad875764e9e18d4aa3db2cf86081d2048',1,'chemical.h']]], - ['arc_5fchemicaldata_5fcopytotypefn_18',['ARC_ChemicalData_CopyToTypeFn',['../de/de8/chemical_8h.html#a878b92abe81c5c07d8adaf4685fdf5c8',1,'chemical.h']]], - ['arc_5fcircle_19',['ARC_Circle',['../db/d67/structARC__Circle.html',1,'ARC_Circle'],['../d9/d17/math_2circle_8h.html#ac7f70d553e7beaab067969a99e7997e8',1,'ARC_Circle: circle.h']]], - ['arc_5fcircle_5frender_20',['ARC_Circle_Render',['../d8/d79/graphics_2circle_8h.html#afe76964f8e2236fac1827c8bac1bd896',1,'circle.h']]], - ['arc_5fcircle_5frenderfill_21',['ARC_Circle_RenderFill',['../d8/d79/graphics_2circle_8h.html#a5ac4e484dce5dd95ace5ccbf585fbe4f',1,'circle.h']]], - ['arc_5fcolor_22',['ARC_Color',['../d2/d30/structARC__Color.html',1,'ARC_Color'],['../da/dec/color_8h.html#a227c963885ba656d0fa6550b54dcbe11',1,'ARC_Color: color.h']]], - ['arc_5fconfig_23',['ARC_Config',['../df/df7/audio_2config_8h.html#aabee9667260a8e773757a111923b6c60',1,'config.h']]], - ['arc_5fconfig_5faddkey_24',['ARC_Config_AddKey',['../d3/d58/std_2config_8h.html#aff40cd55a3b227cd33334d1c5843ed06',1,'config.h']]], - ['arc_5fconfig_5faddkeycstring_25',['ARC_Config_AddKeyCString',['../d3/d58/std_2config_8h.html#a16b8895da92529e4c6ede062db2e417e',1,'config.h']]], - ['arc_5fconfig_5fcreate_26',['ARC_Config_Create',['../d3/d58/std_2config_8h.html#a3bf1d8c89c92e8dd42ecd6105dc78306',1,'config.h']]], - ['arc_5fconfig_5fdestroy_27',['ARC_Config_Destroy',['../d3/d58/std_2config_8h.html#ae771a007a23bb925494d68ae7ca212be',1,'config.h']]], - ['arc_5fconfig_5ffile_5fio_5fload_28',['ARC_CONFIG_FILE_IO_LOAD',['../d3/d58/std_2config_8h.html#a696d760ea66fed20ff42c3aaac0f9609',1,'config.h']]], - ['arc_5fconfig_5ffile_5fio_5funload_29',['ARC_CONFIG_FILE_IO_UNLOAD',['../d3/d58/std_2config_8h.html#a101688a6bcee61c9a68cdc4a9fea8ce6',1,'config.h']]], - ['arc_5fconfig_5ffileio_30',['ARC_Config_FileIO',['../d3/d58/std_2config_8h.html#ad6467c7d5aa224d49620fabc990d13f3',1,'config.h']]], - ['arc_5fconfig_5fget_31',['ARC_Config_Get',['../d3/d58/std_2config_8h.html#a4bd96f3f4cf016f82ffaf82f679288c4',1,'config.h']]], - ['arc_5fconfig_5fsetgroup_32',['ARC_Config_SetGroup',['../d3/d58/std_2config_8h.html#aa1ec47a354f6cc1ee8356a098cf5b3c9',1,'config.h']]], - ['arc_5fconfigkey_5faddfunc_33',['ARC_ConfigKey_AddFunc',['../d3/d58/std_2config_8h.html#a810e986107e108c65fe808edbd6371af',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5fchar_34',['ARC_ConfigKey_Delete_Char',['../d2/d8b/std_2defaults_2config_8h.html#a714f11d408924c8ac2f28dc2d0da7048',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5fdouble_35',['ARC_ConfigKey_Delete_Double',['../d2/d8b/std_2defaults_2config_8h.html#a4b475fb1b9a5b46a02f6af583f346dab',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5ffloat_36',['ARC_ConfigKey_Delete_Float',['../d2/d8b/std_2defaults_2config_8h.html#a0a3a58cdf12c63481b4f66628e0c583d',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5fint_37',['ARC_ConfigKey_Delete_Int',['../d2/d8b/std_2defaults_2config_8h.html#a302289726d5bc01e615aa49e107d6df7',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5fint16_5ft_38',['ARC_ConfigKey_Delete_Int16_t',['../d2/d8b/std_2defaults_2config_8h.html#a75c5d9178a856540df0a5dd32b10a2c0',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5fint32_5ft_39',['ARC_ConfigKey_Delete_Int32_t',['../d2/d8b/std_2defaults_2config_8h.html#a05530e3e95652d77b40bd8c8576175e4',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5fint64_5ft_40',['ARC_ConfigKey_Delete_Int64_t',['../d2/d8b/std_2defaults_2config_8h.html#a5e5d48965891cf59aa1488f71d53faee',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5fint8_5ft_41',['ARC_ConfigKey_Delete_Int8_t',['../d2/d8b/std_2defaults_2config_8h.html#a04995ce12de24dbb2a7d22997e50dcba',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5flong_42',['ARC_ConfigKey_Delete_Long',['../d2/d8b/std_2defaults_2config_8h.html#a6c06ea939baa49901ef349484a0e8f36',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5fstring_43',['ARC_ConfigKey_Delete_String',['../d2/d8b/std_2defaults_2config_8h.html#a6e51a60a59f999da062dfefbe3a4f6aa',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5fstringarray_44',['ARC_ConfigKey_Delete_StringArray',['../d2/d8b/std_2defaults_2config_8h.html#a242bf34af9bad3e81f5d344056b8f5b1',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5fuint16_5ft_45',['ARC_ConfigKey_Delete_Uint16_t',['../d2/d8b/std_2defaults_2config_8h.html#a6cd4d333d1bb5614c8a079b1e5a7ddee',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5fuint32_5ft_46',['ARC_ConfigKey_Delete_Uint32_t',['../d2/d8b/std_2defaults_2config_8h.html#a0a9e89bb6eec8fa49d6464a67aea2059',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5fuint64_5ft_47',['ARC_ConfigKey_Delete_Uint64_t',['../d2/d8b/std_2defaults_2config_8h.html#a6b824be09ce7574d86d3b19ca3c19bc9',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5fuint8_5ft_48',['ARC_ConfigKey_Delete_Uint8_t',['../d2/d8b/std_2defaults_2config_8h.html#abd7ea9582cb63c5ff19f73ea2482a576',1,'config.h']]], - ['arc_5fconfigkey_5fread_5fchar_49',['ARC_ConfigKey_Read_Char',['../d2/d8b/std_2defaults_2config_8h.html#a4e1e616e19e520f833954170e0c09f11',1,'config.h']]], - ['arc_5fconfigkey_5fread_5fdouble_50',['ARC_ConfigKey_Read_Double',['../d2/d8b/std_2defaults_2config_8h.html#a74340e8c628f79b71b7ae644d88c6d68',1,'config.h']]], - ['arc_5fconfigkey_5fread_5ffloat_51',['ARC_ConfigKey_Read_Float',['../d2/d8b/std_2defaults_2config_8h.html#a0826b43e64879ebfb382d6d83f3887b1',1,'config.h']]], - ['arc_5fconfigkey_5fread_5fint_52',['ARC_ConfigKey_Read_Int',['../d2/d8b/std_2defaults_2config_8h.html#af853d36f1347a777605ef794260a3d5a',1,'config.h']]], - ['arc_5fconfigkey_5fread_5fint16_5ft_53',['ARC_ConfigKey_Read_Int16_t',['../d2/d8b/std_2defaults_2config_8h.html#a094c00966b8859fa344b5b30da6c628b',1,'config.h']]], - ['arc_5fconfigkey_5fread_5fint32_5ft_54',['ARC_ConfigKey_Read_Int32_t',['../d2/d8b/std_2defaults_2config_8h.html#a82cb7f0ce2a74506456ddeeee65e6d05',1,'config.h']]], - ['arc_5fconfigkey_5fread_5fint64_5ft_55',['ARC_ConfigKey_Read_Int64_t',['../d2/d8b/std_2defaults_2config_8h.html#a0705b5f0a58f9e85c8659e834eb43d13',1,'config.h']]], - ['arc_5fconfigkey_5fread_5fint8_5ft_56',['ARC_ConfigKey_Read_Int8_t',['../d2/d8b/std_2defaults_2config_8h.html#a1d2b6e81202f9d48da75fa311b0555de',1,'config.h']]], - ['arc_5fconfigkey_5fread_5flong_57',['ARC_ConfigKey_Read_Long',['../d2/d8b/std_2defaults_2config_8h.html#aa83dd3f1847bbf521c7b44eaaaee7164',1,'config.h']]], - ['arc_5fconfigkey_5fread_5fstring_58',['ARC_ConfigKey_Read_String',['../d2/d8b/std_2defaults_2config_8h.html#a3708662477367696c3f31863d71c1ab1',1,'config.h']]], - ['arc_5fconfigkey_5fread_5fstringarray_59',['ARC_ConfigKey_Read_StringArray',['../d2/d8b/std_2defaults_2config_8h.html#a63ff0e016aba0804a036f3c5312c5c25',1,'config.h']]], - ['arc_5fconfigkey_5fread_5fuint16_5ft_60',['ARC_ConfigKey_Read_Uint16_t',['../d2/d8b/std_2defaults_2config_8h.html#a2b4e34972bb1491d936c0f2ea9f21d15',1,'config.h']]], - ['arc_5fconfigkey_5fread_5fuint32_5ft_61',['ARC_ConfigKey_Read_Uint32_t',['../d2/d8b/std_2defaults_2config_8h.html#ab020cb7a36b094240f5a34352f38a9fc',1,'config.h']]], - ['arc_5fconfigkey_5fread_5fuint64_5ft_62',['ARC_ConfigKey_Read_Uint64_t',['../d2/d8b/std_2defaults_2config_8h.html#abc1a62ac4b3599caf513119599211b6f',1,'config.h']]], - ['arc_5fconfigkey_5fread_5fuint8_5ft_63',['ARC_ConfigKey_Read_Uint8_t',['../d2/d8b/std_2defaults_2config_8h.html#a5b3e1d8b4be7a58a7671b3c6e7c19d64',1,'config.h']]], - ['arc_5fconfigkeydelete_64',['ARC_ConfigKeyDelete',['../d3/d58/std_2config_8h.html#af84f4d14d9da265c9f136b832a16bc9c',1,'config.h']]], - ['arc_5fconfigkeyread_65',['ARC_ConfigKeyRead',['../d3/d58/std_2config_8h.html#a24eb640dcf65c28bc8e07ea59a733245',1,'config.h']]], - ['arc_5fconsole_5felement_5fflag_5fnone_66',['ARC_CONSOLE_ELEMENT_FLAG_NONE',['../d4/dfe/element_8h.html#a1dd59e621144efa0ceedcbdc5693072f',1,'element.h']]], - ['arc_5fconsole_5felement_5fflag_5fselectable_67',['ARC_CONSOLE_ELEMENT_FLAG_SELECTABLE',['../d4/dfe/element_8h.html#a32cf977a950aaf64832f72909f281349',1,'element.h']]], - ['arc_5fconsole_5felement_5fflag_5fselected_68',['ARC_CONSOLE_ELEMENT_FLAG_SELECTED',['../d4/dfe/element_8h.html#a2a3192b1bac0000e7085c77338d7eac1',1,'element.h']]], - ['arc_5fconsole_5fkey_5f0_69',['ARC_CONSOLE_KEY_0',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eae1a210f1a445af7430637e6f5b2a4e61',1,'key.h']]], - ['arc_5fconsole_5fkey_5f1_70',['ARC_CONSOLE_KEY_1',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea69cfd082a66ca38eff22f12d6cbdd0d8',1,'key.h']]], - ['arc_5fconsole_5fkey_5f2_71',['ARC_CONSOLE_KEY_2',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea79f30b6c503876bcc53fa36d5c755f78',1,'key.h']]], - ['arc_5fconsole_5fkey_5f3_72',['ARC_CONSOLE_KEY_3',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea8f8980e0ccd0786edcf01a4c06ee3a20',1,'key.h']]], - ['arc_5fconsole_5fkey_5f4_73',['ARC_CONSOLE_KEY_4',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaa0b4ce1647776530585c6eda9fcea796',1,'key.h']]], - ['arc_5fconsole_5fkey_5f5_74',['ARC_CONSOLE_KEY_5',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ead0ad6cc4dad061479ca8e4c247c74789',1,'key.h']]], - ['arc_5fconsole_5fkey_5f6_75',['ARC_CONSOLE_KEY_6',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eabd7a858686ecf89dc12f1d7afaf2e7e8',1,'key.h']]], - ['arc_5fconsole_5fkey_5f7_76',['ARC_CONSOLE_KEY_7',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea24e8f85a543f0532c90f3ba9e9168a74',1,'key.h']]], - ['arc_5fconsole_5fkey_5f8_77',['ARC_CONSOLE_KEY_8',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea17296c77bcf6b4e91f5ff28a369d855f',1,'key.h']]], - ['arc_5fconsole_5fkey_5f9_78',['ARC_CONSOLE_KEY_9',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eac3e2e5162ff19d849d3b7ce2d0844a98',1,'key.h']]], - ['arc_5fconsole_5fkey_5fa_79',['ARC_CONSOLE_KEY_A',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaae49690e84cebcaf49ff18d8ff508590',1,'key.h']]], - ['arc_5fconsole_5fkey_5fb_80',['ARC_CONSOLE_KEY_B',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea1e118b5d6563d6f3f5e823d26e474bdb',1,'key.h']]], - ['arc_5fconsole_5fkey_5fbackspace_81',['ARC_CONSOLE_KEY_BACKSPACE',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eae6b1ba7866d52950a39d42ce24b0a22e',1,'key.h']]], - ['arc_5fconsole_5fkey_5fc_82',['ARC_CONSOLE_KEY_C',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea4fc72ce7e382deb9d940716b634b31b8',1,'key.h']]], - ['arc_5fconsole_5fkey_5fd_83',['ARC_CONSOLE_KEY_D',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea3c6b33e508fa7058cf4b55db4e27a08a',1,'key.h']]], - ['arc_5fconsole_5fkey_5fdown_84',['ARC_CONSOLE_KEY_DOWN',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea5f94a8912ef637b292c102f689be4afc',1,'key.h']]], - ['arc_5fconsole_5fkey_5fe_85',['ARC_CONSOLE_KEY_E',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaf2b4d5542474ed9431892d799f4ab093',1,'key.h']]], - ['arc_5fconsole_5fkey_5fenter_86',['ARC_CONSOLE_KEY_ENTER',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eac859fab526f4d71bf3faf3a82f852eca',1,'key.h']]], - ['arc_5fconsole_5fkey_5fesc_87',['ARC_CONSOLE_KEY_ESC',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaf7424c2d7b9dbfeccc5a2df61cfec026',1,'key.h']]], - ['arc_5fconsole_5fkey_5ff_88',['ARC_CONSOLE_KEY_F',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eabc2b32671cc6ab84a486cfab8c983094',1,'key.h']]], - ['arc_5fconsole_5fkey_5fforward_5fslash_89',['ARC_CONSOLE_KEY_FORWARD_SLASH',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea4d906236af11100bc72933af1ae133fc',1,'key.h']]], - ['arc_5fconsole_5fkey_5fg_90',['ARC_CONSOLE_KEY_G',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eab47f3aae55505e7c2e28da2420b12b17',1,'key.h']]], - ['arc_5fconsole_5fkey_5fh_91',['ARC_CONSOLE_KEY_H',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaa7de94b4e7e8982ed7d071f3b7ed5f8c',1,'key.h']]], - ['arc_5fconsole_5fkey_5fi_92',['ARC_CONSOLE_KEY_I',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaa85d741b77329be754015947269b4e66',1,'key.h']]], - ['arc_5fconsole_5fkey_5fj_93',['ARC_CONSOLE_KEY_J',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea967d77630ab37fb0ff64d947c4e741b9',1,'key.h']]], - ['arc_5fconsole_5fkey_5fk_94',['ARC_CONSOLE_KEY_K',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea04955c97cd091bbbb4322e1d9bb99d36',1,'key.h']]], - ['arc_5fconsole_5fkey_5fl_95',['ARC_CONSOLE_KEY_L',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea179d2de263a6ccf12cc3176338356b2e',1,'key.h']]], - ['arc_5fconsole_5fkey_5fleft_96',['ARC_CONSOLE_KEY_LEFT',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea9232e7a7fe2de60c5c09a130536d96b9',1,'key.h']]], - ['arc_5fconsole_5fkey_5fm_97',['ARC_CONSOLE_KEY_M',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaa93ae0b8e66442d817791c1b7b147488',1,'key.h']]], - ['arc_5fconsole_5fkey_5fn_98',['ARC_CONSOLE_KEY_N',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eabde1f3c5fe088370a098c076bf9724b5',1,'key.h']]], - ['arc_5fconsole_5fkey_5fo_99',['ARC_CONSOLE_KEY_O',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaf25139c341fee1cc5406a336c989af50',1,'key.h']]], - ['arc_5fconsole_5fkey_5fp_100',['ARC_CONSOLE_KEY_P',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea77459979ee1b3c784f1709d46ff95c62',1,'key.h']]], - ['arc_5fconsole_5fkey_5fq_101',['ARC_CONSOLE_KEY_Q',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaea3a47afd723e42cc16835b242d7f926',1,'key.h']]], - ['arc_5fconsole_5fkey_5fr_102',['ARC_CONSOLE_KEY_R',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eab93cfbe9c4eec37e15216dd1396eb7cf',1,'key.h']]], - ['arc_5fconsole_5fkey_5fright_103',['ARC_CONSOLE_KEY_RIGHT',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eadc70b61b2563025f61725bc08db8015e',1,'key.h']]], - ['arc_5fconsole_5fkey_5fs_104',['ARC_CONSOLE_KEY_S',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea3532c4036d2f0eec6c914fc4e773daae',1,'key.h']]], - ['arc_5fconsole_5fkey_5ft_105',['ARC_CONSOLE_KEY_T',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea6bbfd0af0e818c9dc4d881773dabecad',1,'key.h']]], - ['arc_5fconsole_5fkey_5fu_106',['ARC_CONSOLE_KEY_U',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea94d6cc9acfbfb818f6686da16cb5fa52',1,'key.h']]], - ['arc_5fconsole_5fkey_5fup_107',['ARC_CONSOLE_KEY_UP',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea2f263d9b30b5b64d65eac0b2205f1631',1,'key.h']]], - ['arc_5fconsole_5fkey_5fv_108',['ARC_CONSOLE_KEY_V',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea942bdcec9ab45363710eec185901bf71',1,'key.h']]], - ['arc_5fconsole_5fkey_5fw_109',['ARC_CONSOLE_KEY_W',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eac972a8eabb863849c10b0de8d0fbaf34',1,'key.h']]], - ['arc_5fconsole_5fkey_5fx_110',['ARC_CONSOLE_KEY_X',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea1ffe4f27d2592a19d47390a0617429af',1,'key.h']]], - ['arc_5fconsole_5fkey_5fy_111',['ARC_CONSOLE_KEY_Y',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ead837e54f9914911647b1a2428cc4a4d3',1,'key.h']]], - ['arc_5fconsole_5fkey_5fz_112',['ARC_CONSOLE_KEY_Z',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea282424a47de31a39c5d198d5bf18e1b4',1,'key.h']]], - ['arc_5fconsole_5fview_5fattribute_5fnone_113',['ARC_CONSOLE_VIEW_ATTRIBUTE_NONE',['../d6/d7e/console_2view_8h.html#a8dba2fb38e0f1864ae34a753831a0d20',1,'view.h']]], - ['arc_5fconsole_5fview_5fattribute_5freverse_114',['ARC_CONSOLE_VIEW_ATTRIBUTE_REVERSE',['../d6/d7e/console_2view_8h.html#a770bc33ad78dca98b8ebf405324b8d52',1,'view.h']]], - ['arc_5fconsole_5fview_5fborder_5fdefault_115',['ARC_CONSOLE_VIEW_BORDER_DEFAULT',['../d6/d7e/console_2view_8h.html#a30d038b7af9bec1386f4e3f8a4eea31e',1,'view.h']]], - ['arc_5fconsole_5fview_5fborder_5fnone_116',['ARC_CONSOLE_VIEW_BORDER_NONE',['../d6/d7e/console_2view_8h.html#a113fd84b20e4f04a65e1d4c40ecfd5e4',1,'view.h']]], - ['arc_5fconsole_5fview_5fcursor_5fhidden_117',['ARC_CONSOLE_VIEW_CURSOR_HIDDEN',['../d6/d7e/console_2view_8h.html#a2a63d43486d880b44c150c0d012e7b80',1,'view.h']]], - ['arc_5fconsole_5fview_5fcursor_5fvisible_118',['ARC_CONSOLE_VIEW_CURSOR_VISIBLE',['../d6/d7e/console_2view_8h.html#a2c2298814cd9d858a41bf6bb88e39825',1,'view.h']]], - ['arc_5fconsolebuffer_119',['ARC_ConsoleBuffer',['../d5/d08/buffer_8h.html#a04647685671d3c7dbb760fcd1413f7e6',1,'buffer.h']]], - ['arc_5fconsolebuffer_5faddchar_120',['ARC_ConsoleBuffer_AddChar',['../d5/d08/buffer_8h.html#a18ea5885eb623af1ad0bce81886a37ba',1,'buffer.h']]], - ['arc_5fconsolebuffer_5faddcstring_121',['ARC_ConsoleBuffer_AddCString',['../d5/d08/buffer_8h.html#a87db4e45040059ec8452ae4ed4c9d93c',1,'buffer.h']]], - ['arc_5fconsolebuffer_5faddcstringwithstrlen_122',['ARC_ConsoleBuffer_AddCStringWithStrlen',['../d5/d08/buffer_8h.html#a5c3fbf33ecfa1adae24ee628bccaf64e',1,'buffer.h']]], - ['arc_5fconsolebuffer_5faddstring_123',['ARC_ConsoleBuffer_AddString',['../d5/d08/buffer_8h.html#aa7c09f28e004665675ad529c457f0d19',1,'buffer.h']]], - ['arc_5fconsolebuffer_5fclear_124',['ARC_ConsoleBuffer_Clear',['../d5/d08/buffer_8h.html#acdc2d574d3bb726cfaa27d8b5768d6f2',1,'buffer.h']]], - ['arc_5fconsolebuffer_5fcreate_125',['ARC_ConsoleBuffer_Create',['../d5/d08/buffer_8h.html#a724aa56dd933bc31502a971204467132',1,'buffer.h']]], - ['arc_5fconsolebuffer_5fdestroy_126',['ARC_ConsoleBuffer_Destroy',['../d5/d08/buffer_8h.html#ab2a88c30d33e6d3120d98673fd6beec4',1,'buffer.h']]], - ['arc_5fconsolebuffer_5fgetlinenumbers_127',['ARC_ConsoleBuffer_GetLineNumbers',['../d5/d08/buffer_8h.html#a590db008192631b4cfc9c53904687018',1,'buffer.h']]], - ['arc_5fconsolebuffer_5frender_128',['ARC_ConsoleBuffer_Render',['../d5/d08/buffer_8h.html#a46ebb41d45ba5aeafa12372f69539458',1,'buffer.h']]], - ['arc_5fconsolebuffer_5frendersection_129',['ARC_ConsoleBuffer_RenderSection',['../d5/d08/buffer_8h.html#a64f378c7d29c6166dcceb4fe90235f14',1,'buffer.h']]], - ['arc_5fconsoleelement_130',['ARC_ConsoleElement',['../db/db4/structARC__ConsoleElement.html',1,'ARC_ConsoleElement'],['../d4/dfe/element_8h.html#a4c2b6606fd5c153d31d7c8ebf4a51720',1,'ARC_ConsoleElement: element.h']]], - ['arc_5fconsoleelement_5fcreate_131',['ARC_ConsoleElement_Create',['../d4/dfe/element_8h.html#a9ee2f85f16536e390d63c66758ca8461',1,'element.h']]], - ['arc_5fconsoleelement_5fdefaultrenderfn_132',['ARC_ConsoleElement_DefaultRenderFn',['../d4/dfe/element_8h.html#a09963be501557ec748f95322c5379356',1,'element.h']]], - ['arc_5fconsoleelement_5fdestroy_133',['ARC_ConsoleElement_Destroy',['../d4/dfe/element_8h.html#aaee680d3e44ab90347d95930ff405db4',1,'element.h']]], - ['arc_5fconsoleelement_5fisselectable_134',['ARC_ConsoleElement_IsSelectable',['../d4/dfe/element_8h.html#a939ae41406b604e86cf042efd01234c6',1,'element.h']]], - ['arc_5fconsoleelement_5frenderfn_135',['ARC_ConsoleElement_RenderFn',['../d4/dfe/element_8h.html#a9f1c38e9e2cabde2f381299035ba278a',1,'element.h']]], - ['arc_5fconsoleelement_5fsetselected_136',['ARC_ConsoleElement_SetSelected',['../d4/dfe/element_8h.html#a86b31406373b19febf7079a001351c9a',1,'element.h']]], - ['arc_5fconsoleelement_5ftoggleselected_137',['ARC_ConsoleElement_ToggleSelected',['../d4/dfe/element_8h.html#aa0d0ddf2b0d0b46d145e2a8d3553ce01',1,'element.h']]], - ['arc_5fconsolekey_138',['ARC_ConsoleKey',['../de/de5/key_8h.html#a3ebebed0f47c13fcbcdb865a7c208eaa',1,'key.h']]], - ['arc_5fconsolekey_5fcreate_139',['ARC_ConsoleKey_Create',['../de/de5/key_8h.html#a48d569403d14309ba282c17480222f14',1,'key.h']]], - ['arc_5fconsolekey_5fdestroy_140',['ARC_ConsoleKey_Destroy',['../de/de5/key_8h.html#a94bce610020b4ffedfca750dfab9f64f',1,'key.h']]], - ['arc_5fconsolekey_5fequals_141',['ARC_ConsoleKey_Equals',['../de/de5/key_8h.html#a21adaf1532cd07c0fbd15dae666a78e4',1,'key.h']]], - ['arc_5fconsolekey_5fequalspointer_142',['ARC_ConsoleKey_EqualsPointer',['../de/de5/key_8h.html#aca1101b2438999030c704fdd34cb8bc4',1,'key.h']]], - ['arc_5fconsolekey_5fgetcharfromkey_143',['ARC_ConsoleKey_GetCharFromKey',['../de/de5/key_8h.html#a6195997575cc3db00c9cb65c4abdf2fa',1,'key.h']]], - ['arc_5fconsolekey_5fkey_144',['ARC_ConsoleKey_Key',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1e',1,'ARC_ConsoleKey_Key: key.h'],['../de/de5/key_8h.html#abf4fe53e5af579c24efd7076703b202b',1,'ARC_ConsoleKey_Key: key.h']]], - ['arc_5fconsoleshell_145',['ARC_ConsoleShell',['../d9/d4c/structARC__ConsoleShell.html',1,'ARC_ConsoleShell'],['../df/d03/shell_8h.html#a6acfa8cd8d7743d75ac04caffdec44ae',1,'ARC_ConsoleShell: shell.h']]], - ['arc_5fconsoleshell_5faddhistory_146',['ARC_ConsoleShell_AddHistory',['../df/d03/shell_8h.html#ac52159572774e27f8c2e489f73b28314',1,'shell.h']]], - ['arc_5fconsoleshell_5fcreate_147',['ARC_ConsoleShell_Create',['../df/d03/shell_8h.html#aad422f04801c70d2a27f6e30f74efd70',1,'shell.h']]], - ['arc_5fconsoleshell_5fdestroy_148',['ARC_ConsoleShell_Destroy',['../df/d03/shell_8h.html#a5e9357a85d39bf8d040cfb4fa19ede06',1,'shell.h']]], - ['arc_5fconsoleshell_5fgethistoryat_149',['ARC_ConsoleShell_GetHistoryAt',['../df/d03/shell_8h.html#a90d4df9f1eba33e1a15c3184621a4805',1,'shell.h']]], - ['arc_5fconsoleshell_5frender_150',['ARC_ConsoleShell_Render',['../df/d03/shell_8h.html#a43241a784b1a6a914899b26d9d86c10c',1,'shell.h']]], - ['arc_5fconsoleshell_5fupdate_151',['ARC_ConsoleShell_Update',['../df/d03/shell_8h.html#ac73769a7e97b7ba99f74c53347249f63',1,'shell.h']]], - ['arc_5fconsoleshell_5fupdatefn_152',['ARC_ConsoleShell_UpdateFn',['../df/d03/shell_8h.html#a896c97abc1c3a02746738b4c0550f48b',1,'shell.h']]], - ['arc_5fconsoleview_153',['ARC_ConsoleView',['../d6/d7e/console_2view_8h.html#a518bdb9b27a8304e65e60ec49320b18b',1,'view.h']]], - ['arc_5fconsoleview_5faddelement_154',['ARC_ConsoleView_AddElement',['../d6/d7e/console_2view_8h.html#acddd6c7caef3022824080453f8ea7c22',1,'view.h']]], - ['arc_5fconsoleview_5fclear_155',['ARC_ConsoleView_Clear',['../d6/d7e/console_2view_8h.html#af8bbe9829fe2173ad9e86bbd589a4745',1,'view.h']]], - ['arc_5fconsoleview_5fcreate_156',['ARC_ConsoleView_Create',['../d6/d7e/console_2view_8h.html#a583e081c182900d229c2554c5cb28c8a',1,'view.h']]], - ['arc_5fconsoleview_5fdestroy_157',['ARC_ConsoleView_Destroy',['../d6/d7e/console_2view_8h.html#afb6d65be2428ff4b7171f598c982efcb',1,'view.h']]], - ['arc_5fconsoleview_5fgetbounds_158',['ARC_ConsoleView_GetBounds',['../d6/d7e/console_2view_8h.html#a4aa93749156b5ef949037cd15ba32054',1,'view.h']]], - ['arc_5fconsoleview_5fgetchar_159',['ARC_ConsoleView_GetChar',['../d6/d7e/console_2view_8h.html#a07468b6b5ca4a719562a2b9288897f66',1,'view.h']]], - ['arc_5fconsoleview_5fgetcharat_160',['ARC_ConsoleView_GetCharAt',['../d6/d7e/console_2view_8h.html#ab790935bce37a8c749cdeb4c3d9334d3',1,'view.h']]], - ['arc_5fconsoleview_5fgetconsolekeyat_161',['ARC_ConsoleView_GetConsoleKeyAt',['../d6/d7e/console_2view_8h.html#a7416cd9008f389952f22c3f80b0fcda0',1,'view.h']]], - ['arc_5fconsoleview_5fgetcreateconsolekeyat_162',['ARC_ConsoleView_GetCreateConsoleKeyAt',['../d6/d7e/console_2view_8h.html#aaf3208692988dc533a0e123a2d94482e',1,'view.h']]], - ['arc_5fconsoleview_5fgetelement_163',['ARC_ConsoleView_GetElement',['../d6/d7e/console_2view_8h.html#acecfdaaa4c95a98fe5d6926cfdcc68e2',1,'view.h']]], - ['arc_5fconsoleview_5fgetstringinput_164',['ARC_ConsoleView_GetStringInput',['../d6/d7e/console_2view_8h.html#a142f7b184c21ddab974367baac6ae09a',1,'view.h']]], - ['arc_5fconsoleview_5foverridecharinputfn_165',['ARC_ConsoleView_OverrideCharInputFn',['../d6/d7e/console_2view_8h.html#aadbaf18a3ac227a6a148fa68d7eec85d',1,'view.h']]], - ['arc_5fconsoleview_5fremoveelement_166',['ARC_ConsoleView_RemoveElement',['../d6/d7e/console_2view_8h.html#ab16135af58f6b7eb7d425428d63605ab',1,'view.h']]], - ['arc_5fconsoleview_5frendercharat_167',['ARC_ConsoleView_RenderCharAt',['../d6/d7e/console_2view_8h.html#a6b5049ee8fcd713321fe98f8168bd6f3',1,'view.h']]], - ['arc_5fconsoleview_5frendercstringwithstrlenat_168',['ARC_ConsoleView_RenderCStringWithStrlenAt',['../d6/d7e/console_2view_8h.html#a135b991e7764e9f771b9e8ea32d91502',1,'view.h']]], - ['arc_5fconsoleview_5frenderelements_169',['ARC_ConsoleView_RenderElements',['../d6/d7e/console_2view_8h.html#a16ef2179ab56e0107e80eef8c5d216d0',1,'view.h']]], - ['arc_5fconsoleview_5frenderkeyat_170',['ARC_ConsoleView_RenderKeyAt',['../d6/d7e/console_2view_8h.html#a2f28e93c0515ebb2e3b4a40c8600027f',1,'view.h']]], - ['arc_5fconsoleview_5frenderrect_171',['ARC_ConsoleView_RenderRect',['../d6/d7e/console_2view_8h.html#af5f8bc0a9f61160a1363d5d2f47f68e3',1,'view.h']]], - ['arc_5fconsoleview_5frenderstringat_172',['ARC_ConsoleView_RenderStringAt',['../d6/d7e/console_2view_8h.html#a06c57f7eb1c0f950ddff17fab8278b34',1,'view.h']]], - ['arc_5fconsoleview_5frenderuint32at_173',['ARC_ConsoleView_RenderUint32At',['../d6/d7e/console_2view_8h.html#a4c959aded7e41feb0b34c9e24c192b1e',1,'view.h']]], - ['arc_5fconsoleview_5frenderwcharat_174',['ARC_ConsoleView_RenderWCharAt',['../d6/d7e/console_2view_8h.html#aac7cb2d64cbee2251875664689a553fe',1,'view.h']]], - ['arc_5fconsoleview_5fsetattribute_175',['ARC_ConsoleView_SetAttribute',['../d6/d7e/console_2view_8h.html#add7a787887ba24554bfb8b454e79f8e1',1,'view.h']]], - ['arc_5fconsoleview_5fsetborder_176',['ARC_ConsoleView_SetBorder',['../d6/d7e/console_2view_8h.html#a9ee59e09b9deaa860e7279847ec5d6d0',1,'view.h']]], - ['arc_5fconsoleview_5fsetcursorvisibility_177',['ARC_ConsoleView_SetCursorVisibility',['../d6/d7e/console_2view_8h.html#abba924acf2b89b9ec00e5efcd2ebc1bd',1,'view.h']]], - ['arc_5fdebug_5flog_5ferror_178',['ARC_DEBUG_LOG_ERROR',['../d8/dc2/errno_8h.html#ad32a4f194b90c9ede4e393c0d4185590',1,'errno.h']]], - ['arc_5fdebug_5flog_5ferror_5fwith_5fvariables_179',['ARC_DEBUG_LOG_ERROR_WITH_VARIABLES',['../d8/dc2/errno_8h.html#a8cbc7f5b6cb9e20d3993284f0f80ec83',1,'errno.h']]], - ['arc_5fdefaults_5fconfigkey_5fcreate_180',['ARC_Defaults_ConfigKey_Create',['../d2/d8b/std_2defaults_2config_8h.html#ab30944b0ee2b4e067338e8ad031c781d',1,'config.h']]], - ['arc_5fdvector2_181',['ARC_DVector2',['../d3/ddb/structARC__DVector2.html',1,'ARC_DVector2'],['../d1/d03/vector2_8h.html#a3a527e014d732ffba410bead5aab9eea',1,'ARC_DVector2: vector2.h']]], - ['arc_5fecs_182',['ARC_ECS',['../d3/d76/ecs_8h.html#ac314f402154abe4b6f3abd6dce95d3ba',1,'ecs.h']]], - ['arc_5fecs_5fcreate_183',['ARC_ECS_Create',['../d3/d76/ecs_8h.html#a9e75c4fed457663972453f4535b60cd5',1,'ecs.h']]], - ['arc_5fecs_5fdestroy_184',['ARC_ECS_Destroy',['../d3/d76/ecs_8h.html#a1d51eda8d16f7ef11d610dd0b2da326f',1,'ecs.h']]], - ['arc_5fecsentity_185',['ARC_ECSEntity',['../d3/d76/ecs_8h.html#a2f0be97b3706132e1b1111740f44d732',1,'ecs.h']]], - ['arc_5fengine_5frununcapped_186',['ARC_Engine_RunUncapped',['../d1/d55/engine_8h.html#a1318b7466d14187d6648abc7474c1ac7',1,'engine.h']]], - ['arc_5fenginedata_187',['ARC_EngineData',['../d5/df0/structARC__EngineData.html',1,'ARC_EngineData'],['../d1/d55/engine_8h.html#a5f80ada5dfc3cf5b3e5d8aa840c86f6e',1,'ARC_EngineData: renderer.h']]], - ['arc_5fenginedata_5fcreate_188',['ARC_EngineData_Create',['../d1/d55/engine_8h.html#ad3bfb475a0e9264c87a7423e84778959',1,'engine.h']]], - ['arc_5fenginedata_5fdestroy_189',['ARC_EngineData_Destroy',['../d1/d55/engine_8h.html#ad7a41810e95706dad5c6881879339aa2',1,'engine.h']]], - ['arc_5ferrno_190',['arc_errno',['../d8/dc2/errno_8h.html#a5884aa8cc9b4e733345e49f93b54f75a',1,'errno.h']]], - ['arc_5ferrno_5fconnection_191',['ARC_ERRNO_CONNECTION',['../d8/dc2/errno_8h.html#a12df35ef61d8cceea6360b586d09e5d1',1,'errno.h']]], - ['arc_5ferrno_5fcopy_192',['ARC_ERRNO_COPY',['../d8/dc2/errno_8h.html#aa8ca3b35dda6b146df8a28cbe1f76eef',1,'errno.h']]], - ['arc_5ferrno_5fdata_193',['ARC_ERRNO_DATA',['../d8/dc2/errno_8h.html#af21596945a4d9ac142fe4cfef53e7a80',1,'errno.h']]], - ['arc_5ferrno_5fexists_194',['ARC_ERRNO_EXISTS',['../d8/dc2/errno_8h.html#a8e94c5f81f1e033579b03ed588c13793',1,'errno.h']]], - ['arc_5ferrno_5finit_195',['ARC_ERRNO_INIT',['../d8/dc2/errno_8h.html#a61385aa4667afd29081519dbf55f4198',1,'errno.h']]], - ['arc_5ferrno_5fnull_196',['ARC_ERRNO_NULL',['../d8/dc2/errno_8h.html#ab626cdbbebc1ac9abd1548a5f6f6195b',1,'errno.h']]], - ['arc_5ferrno_5foverflow_197',['ARC_ERRNO_OVERFLOW',['../d8/dc2/errno_8h.html#a9d88eecae5e1850a90ae502999ca5a73',1,'errno.h']]], - ['arc_5ffalse_198',['ARC_False',['../d8/d77/bool_8h.html#aa63660d755fd84cd9f4b01bbf87b36fd',1,'bool.h']]], - ['arc_5ffobround_199',['ARC_FObround',['../dc/d00/structARC__FObround.html',1,'ARC_FObround'],['../d3/d66/math_2obround_8h.html#a46896e6717b8e3a9924b9c96d2ea6629',1,'ARC_FObround: obround.h']]], - ['arc_5ffobround_5fcasttoobround_200',['ARC_FObround_CastToObround',['../d3/d66/math_2obround_8h.html#acc0ba97a943dba9998a65156da2a8e7f',1,'obround.h']]], - ['arc_5ffobround_5frender_201',['ARC_FObround_Render',['../d2/dba/graphics_2obround_8h.html#a98eddca08e5473a0860716a4e0b238f4',1,'obround.h']]], - ['arc_5ffpoint_202',['ARC_FPoint',['../d4/da4/structARC__FPoint.html',1,'ARC_FPoint'],['../d2/d91/point_8h.html#a5586e0cc0a89b44a4096f8c7d42c6c8b',1,'ARC_FPoint: point.h']]], - ['arc_5ffpoint_5flerp_203',['ARC_FPoint_Lerp',['../d2/d91/point_8h.html#a3a31f7a5b50dea1ed1863b1ee0cb82c7',1,'point.h']]], - ['arc_5ffrect_204',['ARC_FRect',['../dd/d4d/structARC__FRect.html',1,'ARC_FRect'],['../d2/d14/math_2rectangle_8h.html#ad264fb868898c206185034a7f45a2831',1,'ARC_FRect: rectangle.h']]], - ['arc_5ffrect_5fcasttorect_205',['ARC_FRect_CastToRect',['../d2/d14/math_2rectangle_8h.html#a2716384cea95edfab47befa78b60fc00',1,'rectangle.h']]], - ['arc_5ffrect_5fcenteron_206',['ARC_FRect_CenterOn',['../d2/d14/math_2rectangle_8h.html#ae1d122bd28d683c9cd4bde56859ef844',1,'rectangle.h']]], - ['arc_5ffrect_5fcollideandslide_207',['ARC_FRect_CollideAndSlide',['../d2/d14/math_2rectangle_8h.html#a8d7a17b45e6a54a50df9b3930b3ace79',1,'rectangle.h']]], - ['arc_5ffrect_5fintersects_208',['ARC_FRect_Intersects',['../d2/d14/math_2rectangle_8h.html#ac3baf11e6f7624a21a553383176d6c6f',1,'rectangle.h']]], - ['arc_5ffrect_5fintersectspoint_209',['ARC_FRect_IntersectsPoint',['../d2/d14/math_2rectangle_8h.html#a9ee5256187b0430f60a252ef7d6e331c',1,'rectangle.h']]], - ['arc_5ffrect_5frender_210',['ARC_FRect_Render',['../d7/d09/graphics_2rectangle_8h.html#a96dbaab334cfd50199b6a0f2133ca6f6',1,'rectangle.h']]], - ['arc_5ffrect_5frenderfill_211',['ARC_FRect_RenderFill',['../d7/d09/graphics_2rectangle_8h.html#ab30de1d2bb4605738fbcfd66887d1b3f',1,'rectangle.h']]], - ['arc_5fgraphicsconfig_5finit_212',['ARC_GraphicsConfig_Init',['../d9/d9f/graphics_2config_8h.html#a40164918cc42dfe0a0139b103459e7c1',1,'config.h']]], - ['arc_5fgroup_5fbucket_5fsize_213',['ARC_GROUP_BUCKET_SIZE',['../d3/d58/std_2config_8h.html#aebe7e30736515ea92af7365a8c05e269',1,'config.h']]], - ['arc_5fgroup_5fdata_5fbucket_5fsize_214',['ARC_GROUP_DATA_BUCKET_SIZE',['../d3/d58/std_2config_8h.html#a2979878127e519a90fc5276c19405a55',1,'config.h']]], - ['arc_5fhandler_215',['ARC_Handler',['../dd/dee/handler_8h.html#afe553e395e78a22d36ca5a788adf6fb9',1,'handler.h']]], - ['arc_5fhandler_5fadd_216',['ARC_Handler_Add',['../dd/dee/handler_8h.html#a1819b266e74d30c0faf05b7ce687f2dc',1,'handler.h']]], - ['arc_5fhandler_5fclean_217',['ARC_Handler_Clean',['../dd/dee/handler_8h.html#af36b878567ea73a90f826af9af64c989',1,'handler.h']]], - ['arc_5fhandler_5fcleandatafn_218',['ARC_Handler_CleanDataFn',['../dd/dee/handler_8h.html#a97613b0958fc34c00446d4dc669737a1',1,'handler.h']]], - ['arc_5fhandler_5fclear_219',['ARC_Handler_Clear',['../dd/dee/handler_8h.html#a7ce371bd450a568dfb98a9e4b40fa423',1,'handler.h']]], - ['arc_5fhandler_5fcomparedatafn_220',['ARC_Handler_CompareDataFn',['../dd/dee/handler_8h.html#a49c7e2f7ac665db636c13cff6c0a9abf',1,'handler.h']]], - ['arc_5fhandler_5fcreate_221',['ARC_Handler_Create',['../dd/dee/handler_8h.html#a5642adc667af392d4e81ed9266992cf2',1,'handler.h']]], - ['arc_5fhandler_5fdatafn_222',['ARC_Handler_DataFn',['../dd/dee/handler_8h.html#aa6c371d0df719e273df4fcd1a66415e2',1,'handler.h']]], - ['arc_5fhandler_5fdestroy_223',['ARC_Handler_Destroy',['../dd/dee/handler_8h.html#a504e83100f5bc3b257f81fb27c7850d9',1,'handler.h']]], - ['arc_5fhandler_5fgetsize_224',['ARC_Handler_GetSize',['../dd/dee/handler_8h.html#ad3630dbdb66e538bf1d457b9c1bc1165',1,'handler.h']]], - ['arc_5fhandler_5fiterate_225',['ARC_Handler_Iterate',['../dd/dee/handler_8h.html#adaa4103a1879a0e0acc595d3e1c2b911',1,'handler.h']]], - ['arc_5fhandler_5fremove_226',['ARC_Handler_Remove',['../dd/dee/handler_8h.html#af37753d9ef62d0b3cabf114acc890c22',1,'handler.h']]], - ['arc_5fhandler_5fremoveindex_227',['ARC_Handler_RemoveIndex',['../dd/dee/handler_8h.html#aff62f9d70a675932736fa20f671490c4',1,'handler.h']]], - ['arc_5fhashtable_228',['ARC_Hashtable',['../dd/d16/hashtable_8h.html#a7ee9a22fdd6e0e54693a9c53a0c83d5f',1,'hashtable.h']]], - ['arc_5fhashtable_5fadd_229',['ARC_Hashtable_Add',['../dd/d16/hashtable_8h.html#a9d553810bcb7caa21440051cdf47ad15',1,'hashtable.h']]], - ['arc_5fhashtable_5fcreate_230',['ARC_Hashtable_Create',['../dd/d16/hashtable_8h.html#a689d5747f40e4c0bf13dd2d11e4621dc',1,'hashtable.h']]], - ['arc_5fhashtable_5fdestroy_231',['ARC_Hashtable_Destroy',['../dd/d16/hashtable_8h.html#a2da411a96340d3afe367bc96c54d2129',1,'hashtable.h']]], - ['arc_5fhashtable_5fget_232',['ARC_Hashtable_Get',['../dd/d16/hashtable_8h.html#a57fb5725f7a794bee195258e080aeeff',1,'hashtable.h']]], - ['arc_5fhashtable_5fhash_233',['ARC_Hashtable_Hash',['../dd/d16/hashtable_8h.html#ad4365305fb51518ec74c6f176d720df6',1,'hashtable.h']]], - ['arc_5fhashtable_5fkeycompare_234',['ARC_Hashtable_KeyCompare',['../dd/d16/hashtable_8h.html#a0d5681b7f67966e4d99f06f5b98aaa8b',1,'hashtable.h']]], - ['arc_5fhashtable_5fremove_235',['ARC_Hashtable_Remove',['../dd/d16/hashtable_8h.html#a93cc865ebc341244e20ee634aa6c7004',1,'hashtable.h']]], - ['arc_5fhashtablenode_236',['ARC_HashtableNode',['../d6/df5/structARC__HashtableNode.html',1,'ARC_HashtableNode'],['../dd/d16/hashtable_8h.html#abbf592daa56e4544226d88599e0e023c',1,'ARC_HashtableNode: hashtable.h']]], - ['arc_5fhashtablenode_5fdestroyexternal_237',['ARC_HashtableNode_DestroyExternal',['../dd/d16/hashtable_8h.html#a461fe0b1e12dfb0ef33d07be8e84796c',1,'hashtable.h']]], - ['arc_5finput_238',['ARC_Input',['../de/ded/input_8h.html#ab10a17a34031b17d7ed09ca515a91b45',1,'input.h']]], - ['arc_5finput_5fcreatewithenginedata_239',['ARC_Input_CreateWithEngineData',['../de/ded/input_8h.html#ab067b02367e78494a930fcccdd930c0c',1,'input.h']]], - ['arc_5finput_5fdestroy_240',['ARC_Input_Destroy',['../de/ded/input_8h.html#a3f88d045f196b8460a62f4c32ee23f54',1,'input.h']]], - ['arc_5finput_5fgetkeyboard_241',['ARC_Input_GetKeyboard',['../de/ded/input_8h.html#a33b395c2b23fb459904fef05df97ae5d',1,'input.h']]], - ['arc_5finput_5fgetmouse_242',['ARC_Input_GetMouse',['../de/ded/input_8h.html#a5de153e8f7dd3212cb998ea2ad29c4f6',1,'input.h']]], - ['arc_5finput_5fupdate_243',['ARC_Input_Update',['../de/ded/input_8h.html#afb3fa56528406720283b62b2b713e118',1,'input.h']]], - ['arc_5fio_5ffiletostr_244',['ARC_IO_FileToStr',['../dc/dac/io_8h.html#a264d33a54ba5175d36341c27011654f4',1,'io.h']]], - ['arc_5fio_5freadfiletouint8t_245',['ARC_IO_ReadFileToUint8t',['../dc/dac/io_8h.html#a70350710f6f2124edcd32cabd641f1f4',1,'io.h']]], - ['arc_5fio_5fwritestrtofile_246',['ARC_IO_WriteStrToFile',['../dc/dac/io_8h.html#a580578d50c6d90d08a00701285e28f3b',1,'io.h']]], - ['arc_5fkey_5f0_247',['ARC_KEY_0',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a1f79e782a3ebf22322adc6e9f4e14451',1,'keyboard.h']]], - ['arc_5fkey_5f1_248',['ARC_KEY_1',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342aabf22a488a8c87ecfdfd8761ef3055a4',1,'keyboard.h']]], - ['arc_5fkey_5f2_249',['ARC_KEY_2',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a1d64d1e8e291e793e5ce6afdc91f9b6a',1,'keyboard.h']]], - ['arc_5fkey_5f3_250',['ARC_KEY_3',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a7e3d3ec3c8ed02d21d3925390ba58634',1,'keyboard.h']]], - ['arc_5fkey_5f4_251',['ARC_KEY_4',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a1bd8cf1e48b4a2a78f60ee6247cf589e',1,'keyboard.h']]], - ['arc_5fkey_5f5_252',['ARC_KEY_5',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a68fbf5ced80ec27a7fb24cce622180ab',1,'keyboard.h']]], - ['arc_5fkey_5f6_253',['ARC_KEY_6',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a951b29ee025df021ab3385dee0e2a995',1,'keyboard.h']]], - ['arc_5fkey_5f7_254',['ARC_KEY_7',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342ab71f52ec7348e8917fdeaaa0c142c939',1,'keyboard.h']]], - ['arc_5fkey_5f8_255',['ARC_KEY_8',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a392a2cb09451306c4e5038f2ac97d03b',1,'keyboard.h']]], - ['arc_5fkey_5f9_256',['ARC_KEY_9',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a5417783357fb315b9dd529d6d1147d6e',1,'keyboard.h']]], - ['arc_5fkey_5fa_257',['ARC_KEY_A',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a49156896df4abf04fbe03f49d2e213a5',1,'keyboard.h']]], - ['arc_5fkey_5fb_258',['ARC_KEY_B',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342adb82c1ec8254c987b45d94a661a22c80',1,'keyboard.h']]], - ['arc_5fkey_5fbucket_5fsize_259',['ARC_KEY_BUCKET_SIZE',['../d3/d58/std_2config_8h.html#aa8d55a1d202b495b292e51919ee099d1',1,'config.h']]], - ['arc_5fkey_5fc_260',['ARC_KEY_C',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a8f3a52109bb1c5f96cc12cd66de72b87',1,'keyboard.h']]], - ['arc_5fkey_5fd_261',['ARC_KEY_D',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342addcfaf15ed0397db7d2ede02e4136c43',1,'keyboard.h']]], - ['arc_5fkey_5fe_262',['ARC_KEY_E',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a36564695ac265b2913a14c155a340297',1,'keyboard.h']]], - ['arc_5fkey_5fenter_263',['ARC_KEY_ENTER',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342ab8f816bb58dbcee3219a5cdd991c25c9',1,'keyboard.h']]], - ['arc_5fkey_5fesc_264',['ARC_KEY_ESC',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a5b665a1513782f4e649bbeddc9c9155d',1,'keyboard.h']]], - ['arc_5fkey_5ff_265',['ARC_KEY_F',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a048bcad99ae80504831468b26abf3a57',1,'keyboard.h']]], - ['arc_5fkey_5fg_266',['ARC_KEY_G',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342aea971342a7d6a3f29278e9381fca2f0d',1,'keyboard.h']]], - ['arc_5fkey_5fh_267',['ARC_KEY_H',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342af3c7e1ca4a713680cb5df07240691339',1,'keyboard.h']]], - ['arc_5fkey_5fi_268',['ARC_KEY_I',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a99211ba590840860d3c807b9b1cdc06d',1,'keyboard.h']]], - ['arc_5fkey_5fj_269',['ARC_KEY_J',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a7f875a9576212f5a6b09a38d6831c368',1,'keyboard.h']]], - ['arc_5fkey_5fk_270',['ARC_KEY_K',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a2f7b5fc6e561a687164b9a2b3e46589d',1,'keyboard.h']]], - ['arc_5fkey_5fl_271',['ARC_KEY_L',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a897b918221c7d7dc58da34246390874a',1,'keyboard.h']]], - ['arc_5fkey_5fm_272',['ARC_KEY_M',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a29e2bdd496803dd3fb2f0fc54d2966b3',1,'keyboard.h']]], - ['arc_5fkey_5fn_273',['ARC_KEY_N',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a83290e7515f0de7ed4b64c3a72016569',1,'keyboard.h']]], - ['arc_5fkey_5fnone_274',['ARC_KEY_NONE',['../d6/da0/keyboard_8h.html#a4fa42600e63b733ac23ec8ddfe49573fae65992df97275326fd4849a9e0ed9eac',1,'keyboard.h']]], - ['arc_5fkey_5fo_275',['ARC_KEY_O',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a873d05cdbd0ee1dd56bdc1be80154789',1,'keyboard.h']]], - ['arc_5fkey_5fp_276',['ARC_KEY_P',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a35d9e47e904eb84ed27d1abba69ab0cd',1,'keyboard.h']]], - ['arc_5fkey_5fpressed_277',['ARC_KEY_PRESSED',['../d6/da0/keyboard_8h.html#a4fa42600e63b733ac23ec8ddfe49573face79bff30ba82c6985e0e98958646613',1,'keyboard.h']]], - ['arc_5fkey_5fq_278',['ARC_KEY_Q',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342ac068d27752c2ba39b8dd9be9b5c7822f',1,'keyboard.h']]], - ['arc_5fkey_5fr_279',['ARC_KEY_R',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a8d5927f08ad119ee914c7b4499008b43',1,'keyboard.h']]], - ['arc_5fkey_5freleased_280',['ARC_KEY_RELEASED',['../d6/da0/keyboard_8h.html#a4fa42600e63b733ac23ec8ddfe49573faa7706ca5d8f89927871bb5fc9d15aeb7',1,'keyboard.h']]], - ['arc_5fkey_5fs_281',['ARC_KEY_S',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342aede6e618e53a44e1ade519f2df71cb20',1,'keyboard.h']]], - ['arc_5fkey_5fspace_282',['ARC_KEY_SPACE',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342ac9d8f2e35602296a152460c5ada9b1dd',1,'keyboard.h']]], - ['arc_5fkey_5ft_283',['ARC_KEY_T',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a3fba17fbe3987300f20fd5a876d3a5b9',1,'keyboard.h']]], - ['arc_5fkey_5fu_284',['ARC_KEY_U',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342acd75047b5c079ace8c907195e6d6f9c1',1,'keyboard.h']]], - ['arc_5fkey_5fv_285',['ARC_KEY_V',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342acd7f1eae1f5dc470b5cf267e9d10b5f0',1,'keyboard.h']]], - ['arc_5fkey_5fw_286',['ARC_KEY_W',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a5ce1fc9c8c67a3035e7db1d67f4e8abd',1,'keyboard.h']]], - ['arc_5fkey_5fx_287',['ARC_KEY_X',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a9753396fe7fa37695927152f6377250b',1,'keyboard.h']]], - ['arc_5fkey_5fy_288',['ARC_KEY_Y',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a4bb71a05ebf49a4c4adb714bfc136051',1,'keyboard.h']]], - ['arc_5fkey_5fz_289',['ARC_KEY_Z',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a4365536de5c26fd39aaa9bf74c5ec4e9',1,'keyboard.h']]], - ['arc_5fkeyboard_290',['ARC_Keyboard',['../d6/da0/keyboard_8h.html#acec0a71060ec7186a323710608bd93e7',1,'keyboard.h']]], - ['arc_5fkeyboard_5fbutton_5fnum_291',['ARC_KEYBOARD_BUTTON_NUM',['../d6/da0/keyboard_8h.html#aaaadee1d75ed1e94bcb0676f2591c5a4',1,'keyboard.h']]], - ['arc_5fkeyboard_5fcreatewithinput_292',['ARC_Keyboard_CreateWithInput',['../d6/da0/keyboard_8h.html#a6cea48ed04bc3e8a3f72bc48e1994e68',1,'keyboard.h']]], - ['arc_5fkeyboard_5fdestroy_293',['ARC_Keyboard_Destroy',['../d6/da0/keyboard_8h.html#aaeaa42ad6e69566dfee40058003a053b',1,'keyboard.h']]], - ['arc_5fkeyboard_5fgetconsolekey_294',['ARC_Keyboard_GetConsoleKey',['../de/de5/key_8h.html#a2eb80aaafb56b165be91bdc3cea1a3fb',1,'key.h']]], - ['arc_5fkeyboard_5fgetstate_295',['ARC_Keyboard_GetState',['../d6/da0/keyboard_8h.html#aefc45f58e68047bae8a7b4556c461f55',1,'keyboard.h']]], - ['arc_5fkeyboard_5fkey_296',['ARC_Keyboard_Key',['../d6/da0/keyboard_8h.html#aa35b61a9fd822d5cfb7a915e6c3b7cd0',1,'keyboard.h']]], - ['arc_5fkeyboard_5fupdate_297',['ARC_Keyboard_Update',['../d6/da0/keyboard_8h.html#a46406fb1b5a846ff9c984ea3ad8dba14',1,'keyboard.h']]], - ['arc_5fkeyboardinfo_298',['ARC_KeyboardInfo',['../d6/da0/keyboard_8h.html#a3f54728e2ec869f82c48e7a97b3fa630',1,'keyboard.h']]], - ['arc_5fkeyboardkey_299',['ARC_KeyboardKey',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342',1,'keyboard.h']]], - ['arc_5fkeyboardstate_300',['ARC_KeyboardState',['../d6/da0/keyboard_8h.html#a4fa42600e63b733ac23ec8ddfe49573f',1,'ARC_KeyboardState: keyboard.h'],['../d6/da0/keyboard_8h.html#acc8311061bc4f6acd3d0594df1787b6f',1,'ARC_KeyboardState: keyboard.h']]], - ['arc_5flexer_301',['ARC_Lexer',['../d5/df3/lexer_8h.html#ad48d6475f5cf332db813477ee8621446',1,'lexer.h']]], - ['arc_5flexer_5fautomatamatchcharfn_302',['ARC_Lexer_AutomataMatchCharFn',['../d5/df3/lexer_8h.html#a3db57b9db596091a576fb701f8cabee0',1,'lexer.h']]], - ['arc_5flexer_5fautomatamatchcharinstringfn_303',['ARC_Lexer_AutomataMatchCharInStringFn',['../d5/df3/lexer_8h.html#ac736e5472dc8d123800754c9e67405d8',1,'lexer.h']]], - ['arc_5flexer_5fautomatamatchstringfn_304',['ARC_Lexer_AutomataMatchStringFn',['../d5/df3/lexer_8h.html#aa19c4d6677ef05c8d0f1c809b4f1a82b',1,'lexer.h']]], - ['arc_5flexer_5fclear_305',['ARC_Lexer_Clear',['../d5/df3/lexer_8h.html#a433d2612daddba30462288d3b1902138',1,'lexer.h']]], - ['arc_5flexer_5fcreate_306',['ARC_Lexer_Create',['../d5/df3/lexer_8h.html#a577b5af9532aaea8b58d3ef29ef9f439',1,'lexer.h']]], - ['arc_5flexer_5fdestroy_307',['ARC_Lexer_Destroy',['../d5/df3/lexer_8h.html#af119f4730d1361e0f77bd230f7a66470',1,'lexer.h']]], - ['arc_5flexer_5fgettoken_308',['ARC_Lexer_GetToken',['../d5/df3/lexer_8h.html#a251b6e9d9aa8b29295be205c36eb5995',1,'lexer.h']]], - ['arc_5flexer_5fgettokenssize_309',['ARC_Lexer_GetTokensSize',['../d5/df3/lexer_8h.html#a7131b158cd0b2aad60e89c3c60d2a47e',1,'lexer.h']]], - ['arc_5flexer_5finitbasictokenrules_310',['ARC_Lexer_InitBasicTokenRules',['../d5/df3/lexer_8h.html#a53da53523cb5ff94d803d1d6e7c62462',1,'lexer.h']]], - ['arc_5flexer_5fiscontinious_311',['ARC_Lexer_IsContinious',['../d5/df3/lexer_8h.html#ab352c9b8f76abf4f9e2ce9fccfa9aa50',1,'lexer.h']]], - ['arc_5flexer_5fistokenid_312',['ARC_Lexer_IsTokenId',['../d5/df3/lexer_8h.html#a35efaf00d01ae654db11f619103c06c0',1,'lexer.h']]], - ['arc_5flexer_5flexfile_313',['ARC_Lexer_LexFile',['../d5/df3/lexer_8h.html#a1b7282db985dcde4ad59ab7159d229f1',1,'lexer.h']]], - ['arc_5flexer_5flexstring_314',['ARC_Lexer_LexString',['../d5/df3/lexer_8h.html#a3feb57a6200882fd3951fb6e54edc40a',1,'lexer.h']]], - ['arc_5flexer_5fprinttokenrules_315',['ARC_Lexer_PrintTokenRules',['../d5/df3/lexer_8h.html#acf0761b4efbf71dd32671512c1ceed6d',1,'lexer.h']]], - ['arc_5flexer_5fregistertokenrule_316',['ARC_Lexer_RegisterTokenRule',['../d5/df3/lexer_8h.html#a39d48ecab5e20c16a3825b27bec785f7',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5falpha_5flower_5fchar_317',['ARC_LEXER_TOKEN_ALPHA_LOWER_CHAR',['../d5/df3/lexer_8h.html#acbfaaa4882426f9a4586adc28004c4a9',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5falpha_5fupper_5fchar_318',['ARC_LEXER_TOKEN_ALPHA_UPPER_CHAR',['../d5/df3/lexer_8h.html#a12dca3db4664b48ac7b7930845e3f0b5',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fat_5fchar_319',['ARC_LEXER_TOKEN_AT_CHAR',['../d5/df3/lexer_8h.html#a7a7783d384eefb423ef2f16784095193',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fat_5fid_320',['ARC_LEXER_TOKEN_AT_ID',['../d5/df3/lexer_8h.html#a66029f9623154f65903ca5f0c94271f3',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fat_5ftag_321',['ARC_LEXER_TOKEN_AT_TAG',['../d5/df3/lexer_8h.html#a4032d8e35e7265f44193dd648a79feeb',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fback_5fslash_5fchar_322',['ARC_LEXER_TOKEN_BACK_SLASH_CHAR',['../d5/df3/lexer_8h.html#ad2264457e3e1ce1812bb333a355fe2c5',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fback_5fslash_5fid_323',['ARC_LEXER_TOKEN_BACK_SLASH_ID',['../d5/df3/lexer_8h.html#ac0bf4c6f183eb6964457c6b75dcf2559',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fback_5fslash_5ftag_324',['ARC_LEXER_TOKEN_BACK_SLASH_TAG',['../d5/df3/lexer_8h.html#ab9fd8e4e84a33ff8532ed7d0844e9a93',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fbang_5fchar_325',['ARC_LEXER_TOKEN_BANG_CHAR',['../d5/df3/lexer_8h.html#a8a22341977447549ffdc6e148968cdd3',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fbang_5fid_326',['ARC_LEXER_TOKEN_BANG_ID',['../d5/df3/lexer_8h.html#ac1facbe634a52b2e5574810af95e37d7',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fbang_5ftag_327',['ARC_LEXER_TOKEN_BANG_TAG',['../d5/df3/lexer_8h.html#af95c63a510b7ad72568302973e575661',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fcolon_5fchar_328',['ARC_LEXER_TOKEN_COLON_CHAR',['../d5/df3/lexer_8h.html#a7d91762b983dfec20c61144fe4c9a054',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fcolon_5fid_329',['ARC_LEXER_TOKEN_COLON_ID',['../d5/df3/lexer_8h.html#ad38ac0d96e0a5a97be13643323826e69',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fcolon_5ftag_330',['ARC_LEXER_TOKEN_COLON_TAG',['../d5/df3/lexer_8h.html#a5293226a069fcce4d748dfe25ea28db6',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fcomma_5fchar_331',['ARC_LEXER_TOKEN_COMMA_CHAR',['../d5/df3/lexer_8h.html#a6250250207f50276b3c99de8c86809b6',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fcomma_5fid_332',['ARC_LEXER_TOKEN_COMMA_ID',['../d5/df3/lexer_8h.html#aa936d2fd37b867dda6af8eec8ecaa88d',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fcomma_5ftag_333',['ARC_LEXER_TOKEN_COMMA_TAG',['../d5/df3/lexer_8h.html#ad39b482565589e133ab190813fe38d1c',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fforward_5fslash_5fchar_334',['ARC_LEXER_TOKEN_FORWARD_SLASH_CHAR',['../d5/df3/lexer_8h.html#aca9ee4ab4749f8817659841ec615dfce',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fforward_5fslash_5fid_335',['ARC_LEXER_TOKEN_FORWARD_SLASH_ID',['../d5/df3/lexer_8h.html#a0c8b18c3c26ad7ee828f77a8c29301e5',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fforward_5fslash_5ftag_336',['ARC_LEXER_TOKEN_FORWARD_SLASH_TAG',['../d5/df3/lexer_8h.html#ab8fe2fa9b377c8bad5abd27a1eade1fd',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fhash_5fchar_337',['ARC_LEXER_TOKEN_HASH_CHAR',['../d5/df3/lexer_8h.html#afb07206d57135f2002d113eff71b8603',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fhash_5fid_338',['ARC_LEXER_TOKEN_HASH_ID',['../d5/df3/lexer_8h.html#ab5f44b2c57ec755662e6b4cc31305763',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fhash_5ftag_339',['ARC_LEXER_TOKEN_HASH_TAG',['../d5/df3/lexer_8h.html#a1b26293fe02055053431f8e62e060b9f',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fleft_5fcurly_5fbrace_5fchar_340',['ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_CHAR',['../d5/df3/lexer_8h.html#af5ec79c2c40d444874360c71e91cde5e',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fleft_5fcurly_5fbrace_5fid_341',['ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_ID',['../d5/df3/lexer_8h.html#a7effdeb40e661cf783490e14b255aad9',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fleft_5fcurly_5fbrace_5ftag_342',['ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_TAG',['../d5/df3/lexer_8h.html#a326fa43dd2a63993bd7d9f33db5198ef',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fleft_5fparenthesis_5fchar_343',['ARC_LEXER_TOKEN_LEFT_PARENTHESIS_CHAR',['../d5/df3/lexer_8h.html#a3ccee7de395056e03e7e7df0de63bc13',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fleft_5fparenthesis_5fid_344',['ARC_LEXER_TOKEN_LEFT_PARENTHESIS_ID',['../d5/df3/lexer_8h.html#ae44573fa8818c62b544efe00a1a52bd4',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fleft_5fparenthesis_5ftag_345',['ARC_LEXER_TOKEN_LEFT_PARENTHESIS_TAG',['../d5/df3/lexer_8h.html#a0d3de6fa1b15d0281511afc2a84ae9bb',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fnewline_5fchar_346',['ARC_LEXER_TOKEN_NEWLINE_CHAR',['../d5/df3/lexer_8h.html#abb0b66a2744366b326c8829753646c0d',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fnewline_5fid_347',['ARC_LEXER_TOKEN_NEWLINE_ID',['../d5/df3/lexer_8h.html#aa3d5af57f465f294132a443dae162dfa',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fnull_348',['ARC_LEXER_TOKEN_NULL',['../d5/df3/lexer_8h.html#a4e9237d6afe95b3a15c0dbbda31be332',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fnumber_349',['ARC_LEXER_TOKEN_NUMBER',['../d5/df3/lexer_8h.html#af8e71317b3d348e031b9341b5a53686f',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fpercent_5fchar_350',['ARC_LEXER_TOKEN_PERCENT_CHAR',['../d5/df3/lexer_8h.html#a333616987d461f204dda5639f95e089b',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fpercent_5fid_351',['ARC_LEXER_TOKEN_PERCENT_ID',['../d5/df3/lexer_8h.html#a255142bb5e2e24cdb47933888c1abf0b',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fpercent_5ftag_352',['ARC_LEXER_TOKEN_PERCENT_TAG',['../d5/df3/lexer_8h.html#a9d5789282edf5bf15d3073f0af374a0e',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fperiod_5fchar_353',['ARC_LEXER_TOKEN_PERIOD_CHAR',['../d5/df3/lexer_8h.html#a19d98980187c79d6a2ad3df8e01b11f4',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fperiod_5fid_354',['ARC_LEXER_TOKEN_PERIOD_ID',['../d5/df3/lexer_8h.html#a4c8a1519b49b37ec99643705a20e8a00',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fperiod_5ftag_355',['ARC_LEXER_TOKEN_PERIOD_TAG',['../d5/df3/lexer_8h.html#a6e76529a54f15d0d9dd4c0ca6399353c',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fright_5fcurly_5fbrace_5fchar_356',['ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_CHAR',['../d5/df3/lexer_8h.html#a5d3d1a7900a1618d0a0326249055e92e',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fright_5fcurly_5fbrace_5fid_357',['ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_ID',['../d5/df3/lexer_8h.html#aab050a58f63466390f399fb375d8a9ff',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fright_5fcurly_5fbrace_5ftag_358',['ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_TAG',['../d5/df3/lexer_8h.html#a6add2d4c998f78fbdb8d18e5d75dc729',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fright_5fparenthesis_5fchar_359',['ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_CHAR',['../d5/df3/lexer_8h.html#af74acd7cfd8ee39e05d66e5a469ec00d',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fright_5fparenthesis_5fid_360',['ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_ID',['../d5/df3/lexer_8h.html#a7fb6afd315d1e644bbab3b3b343c164b',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fright_5fparenthesis_5ftag_361',['ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_TAG',['../d5/df3/lexer_8h.html#a45a03ad24e7eccccb13a11a1bdbce55d',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fsemicolon_5fchar_362',['ARC_LEXER_TOKEN_SEMICOLON_CHAR',['../d5/df3/lexer_8h.html#ad4708bf5048147da38eba6d2baf5010d',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fsemicolon_5fid_363',['ARC_LEXER_TOKEN_SEMICOLON_ID',['../d5/df3/lexer_8h.html#ac38c1572faebdf823616308b5cea1747',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fsemicolon_5ftag_364',['ARC_LEXER_TOKEN_SEMICOLON_TAG',['../d5/df3/lexer_8h.html#a1e19a41be65ea39e9e853b23d64df03d',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fwhitespace_365',['ARC_LEXER_TOKEN_WHITESPACE',['../d5/df3/lexer_8h.html#a08fc384c1dd0c911a4d97396262159c6',1,'lexer.h']]], - ['arc_5flexertoken_366',['ARC_LexerToken',['../d2/d37/structARC__LexerToken.html',1,'ARC_LexerToken'],['../d5/df3/lexer_8h.html#a3815389501803591a2c7bfbc8a2442af',1,'ARC_LexerToken: lexer.h']]], - ['arc_5flexertokenrule_367',['ARC_LexerTokenRule',['../d5/dbd/structARC__LexerTokenRule.html',1,'ARC_LexerTokenRule'],['../d5/df3/lexer_8h.html#a0b4bb5ebabb63ba62c1072bb080fd8f6',1,'ARC_LexerTokenRule: lexer.h']]], - ['arc_5flexertokenrule_5fautomatafn_368',['ARC_LexerTokenRule_AutomataFn',['../d5/df3/lexer_8h.html#a9ba5d0511240955414394fed08548ee4',1,'lexer.h']]], - ['arc_5flexertokenrule_5fcreateandreturnmatchcharinstringrule_369',['ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule',['../d5/df3/lexer_8h.html#ab9912c97ec2ff272e0bbd6c5851fd8f5',1,'lexer.h']]], - ['arc_5flexertokenrule_5fcreateandreturnmatchcharorbetween_370',['ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween',['../d5/df3/lexer_8h.html#a9b064167edcd7c9e6b634826195f031b',1,'lexer.h']]], - ['arc_5flexertokenrule_5fcreateandreturnmatchcharrule_371',['ARC_LexerTokenRule_CreateAndReturnMatchCharRule',['../d5/df3/lexer_8h.html#a79b5abbb2636bcf06c7e90fb1c875903',1,'lexer.h']]], - ['arc_5flexertokenrule_5fcreateandreturnmatchstringrule_372',['ARC_LexerTokenRule_CreateAndReturnMatchStringRule',['../d5/df3/lexer_8h.html#a430283c20ad3d7bf9a18fa96fbbee461',1,'lexer.h']]], - ['arc_5flexertokenrule_5fdestroyautomatadatafn_373',['ARC_LexerTokenRule_DestroyAutomataDataFn',['../d5/df3/lexer_8h.html#a04134632768009daff1b342a8fd12b6e',1,'lexer.h']]], - ['arc_5fline_5frender_374',['ARC_Line_Render',['../d7/d5d/line_8h.html#a5028c284a7ae3a105523aa12491665b8',1,'line.h']]], - ['arc_5fmathconfig_5finit_375',['ARC_MathConfig_Init',['../d8/dec/math_2config_8h.html#a12f2d47aa2105350319de4e055b20277',1,'config.h']]], - ['arc_5fmouse_376',['ARC_Mouse',['../dc/ded/mouse_8h.html#a902312c6398b8df6994f040d103b507b',1,'mouse.h']]], - ['arc_5fmouse_5fbutton_5fnum_377',['ARC_MOUSE_BUTTON_NUM',['../dc/ded/mouse_8h.html#acbb0b27e48bcb41ad29eef0f0e8eacef',1,'mouse.h']]], - ['arc_5fmouse_5fcreatewithinput_378',['ARC_Mouse_CreateWithInput',['../dc/ded/mouse_8h.html#ad10b11b6dc3e8154a6a8c55336f414aa',1,'mouse.h']]], - ['arc_5fmouse_5fdestroy_379',['ARC_Mouse_Destroy',['../dc/ded/mouse_8h.html#a80f3e8881fa82ed61884bd0c54718377',1,'mouse.h']]], - ['arc_5fmouse_5fgetcoords_380',['ARC_Mouse_GetCoords',['../dc/ded/mouse_8h.html#a03fbe8fd4b74249f76a6b9b3896f1c90',1,'mouse.h']]], - ['arc_5fmouse_5fgetscrolly_381',['ARC_Mouse_GetScrollY',['../dc/ded/mouse_8h.html#a3760b36acc070c0519e51480312a6b8d',1,'mouse.h']]], - ['arc_5fmouse_5fgetstate_382',['ARC_Mouse_GetState',['../dc/ded/mouse_8h.html#a00a25e48a5a701317b363dcdc83e3469',1,'mouse.h']]], - ['arc_5fmouse_5fleft_383',['ARC_MOUSE_LEFT',['../dc/ded/mouse_8h.html#a269bea4edbaaaa49300ec7947aae78ada64a7929203f7e527afd8a12dcedbeb55',1,'mouse.h']]], - ['arc_5fmouse_5fmiddle_384',['ARC_MOUSE_MIDDLE',['../dc/ded/mouse_8h.html#a269bea4edbaaaa49300ec7947aae78adae58cf0eb299ab6f28ef181a1e30f350b',1,'mouse.h']]], - ['arc_5fmouse_5fnone_385',['ARC_MOUSE_NONE',['../dc/ded/mouse_8h.html#a52d94336e2c510bb6d634595ad41fa89ae4a0ee3870d689b0b545fbf9b4a3b408',1,'mouse.h']]], - ['arc_5fmouse_5fpressed_386',['ARC_MOUSE_PRESSED',['../dc/ded/mouse_8h.html#a52d94336e2c510bb6d634595ad41fa89abd627d7ca223deb05630511e1ebc5b23',1,'mouse.h']]], - ['arc_5fmouse_5freleased_387',['ARC_MOUSE_RELEASED',['../dc/ded/mouse_8h.html#a52d94336e2c510bb6d634595ad41fa89a51d511d33a6cd519b57502f63808e77a',1,'mouse.h']]], - ['arc_5fmouse_5fright_388',['ARC_MOUSE_RIGHT',['../dc/ded/mouse_8h.html#a269bea4edbaaaa49300ec7947aae78adab1ee07c0792fb2eb187a8d2b7b08c5ba',1,'mouse.h']]], - ['arc_5fmouse_5fupdate_389',['ARC_Mouse_Update',['../dc/ded/mouse_8h.html#a6eb8e204759d13162a305588e550b132',1,'mouse.h']]], - ['arc_5fmouse_5fx1_390',['ARC_MOUSE_X1',['../dc/ded/mouse_8h.html#a269bea4edbaaaa49300ec7947aae78adabf7686eab237e635b36efcffec7e7509',1,'mouse.h']]], - ['arc_5fmouse_5fx2_391',['ARC_MOUSE_X2',['../dc/ded/mouse_8h.html#a269bea4edbaaaa49300ec7947aae78ada4075d9a56968ae49d09c1ae3df5a2fd4',1,'mouse.h']]], - ['arc_5fmousebutton_392',['ARC_MouseButton',['../dc/ded/mouse_8h.html#a269bea4edbaaaa49300ec7947aae78ad',1,'ARC_MouseButton: mouse.h'],['../dc/ded/mouse_8h.html#a350eb1b802dfe2a8c68e026446728b01',1,'ARC_MouseButton: mouse.h']]], - ['arc_5fmousestate_393',['ARC_MouseState',['../dc/ded/mouse_8h.html#a52d94336e2c510bb6d634595ad41fa89',1,'ARC_MouseState: mouse.h'],['../dc/ded/mouse_8h.html#a8a40d17a0e5b8afa1fee2e97f7b2d7db',1,'ARC_MouseState: mouse.h']]], - ['arc_5fobround_394',['ARC_Obround',['../d4/d06/structARC__Obround.html',1,'ARC_Obround'],['../d3/d66/math_2obround_8h.html#a08e2c243d41eb6776855db6a92fc6d4e',1,'ARC_Obround: obround.h']]], - ['arc_5fobround_5fcasttofobround_395',['ARC_Obround_CastToFObround',['../d3/d66/math_2obround_8h.html#acf56c47f95620e4645316a46e7046606',1,'obround.h']]], - ['arc_5fobround_5frender_396',['ARC_Obround_Render',['../d2/dba/graphics_2obround_8h.html#ab86dda25da47d441b5ce38b8d8311b5a',1,'obround.h']]], - ['arc_5fparser_397',['ARC_Parser',['../d5/d36/parser_8h.html#af86417aa26af2cf87b688c18e1c42985',1,'parser.h']]], - ['arc_5fparser_5fcleardata_398',['ARC_Parser_ClearData',['../d5/d36/parser_8h.html#af1d5928a3b7a1107ae2f93256b8e82df',1,'parser.h']]], - ['arc_5fparser_5fcreate_399',['ARC_Parser_Create',['../d5/d36/parser_8h.html#a1bdcaaa9871c881c8826698840a99d2d',1,'parser.h']]], - ['arc_5fparser_5fcreatefromstring_400',['ARC_Parser_CreateFromString',['../d5/d36/parser_8h.html#a003b81e4311d906bb549c112036703d6',1,'parser.h']]], - ['arc_5fparser_5fcreatefromvector_401',['ARC_Parser_CreateFromVector',['../d5/d36/parser_8h.html#ace1a2cfd32a6054ce46a88153024dfb0',1,'parser.h']]], - ['arc_5fparser_5fcsv_5fchar_5fafter_5fcomma_402',['ARC_PARSER_CSV_CHAR_AFTER_COMMA',['../d3/d8e/csv_8h.html#a0d79651a73633c894e0f55b1a88b4d4e',1,'csv.h']]], - ['arc_5fparser_5fcsv_5fchar_5fbefore_5fcomma_403',['ARC_PARSER_CSV_CHAR_BEFORE_COMMA',['../d3/d8e/csv_8h.html#a7006ed284a3b3bf55308082c46446800',1,'csv.h']]], - ['arc_5fparser_5fcsv_5fchar_5fcomma_404',['ARC_PARSER_CSV_CHAR_COMMA',['../d3/d8e/csv_8h.html#a74bc8857c44f2c7ad95f7b2237623d0d',1,'csv.h']]], - ['arc_5fparser_5fcsv_5fchar_5fnewline_405',['ARC_PARSER_CSV_CHAR_NEWLINE',['../d3/d8e/csv_8h.html#ae2b0f683e0ab5681a69bc1d925a6b7c4',1,'csv.h']]], - ['arc_5fparser_5fcsv_5fdata_406',['ARC_PARSER_CSV_DATA',['../d3/d8e/csv_8h.html#a977281ee606db6e110e61401f47367c3',1,'csv.h']]], - ['arc_5fparser_5fcsv_5fline_407',['ARC_PARSER_CSV_LINE',['../d3/d8e/csv_8h.html#aa34663e48f224b2ad079a795578269a5',1,'csv.h']]], - ['arc_5fparser_5fcsv_5fnon_5fcomma_5fchar_408',['ARC_PARSER_CSV_NON_COMMA_CHAR',['../d3/d8e/csv_8h.html#ae4c160d7697375598b3d98f1852da166',1,'csv.h']]], - ['arc_5fparser_5fcsv_5fstring_409',['ARC_PARSER_CSV_STRING',['../d3/d8e/csv_8h.html#a9f2f5cbdf0327f81bcc883adba58b51e',1,'csv.h']]], - ['arc_5fparser_5fdestroy_410',['ARC_Parser_Destroy',['../d5/d36/parser_8h.html#adb54341fc82ed984990434a9885ee644',1,'parser.h']]], - ['arc_5fparser_5fgetdata_411',['ARC_Parser_GetData',['../d5/d36/parser_8h.html#af6a130ed662019fd063f9b613c1b43cd',1,'parser.h']]], - ['arc_5fparser_5fgetstringidfn_412',['ARC_Parser_GetStringIdFn',['../d5/d36/parser_8h.html#a65a947ffcc719e780cd0df6f37dd84bf',1,'parser.h']]], - ['arc_5fparser_5finitlexerrulesfn_413',['ARC_Parser_InitLexerRulesFn',['../d5/d36/parser_8h.html#a852129b2e4cebf0dca9a4d7753093367',1,'parser.h']]], - ['arc_5fparser_5fparse_414',['ARC_Parser_Parse',['../d5/d36/parser_8h.html#ac7b13da43887f6fd9e4571f3dd477de6',1,'parser.h']]], - ['arc_5fparser_5fparsefile_415',['ARC_Parser_ParseFile',['../d5/d36/parser_8h.html#a07112a0644e5f29259bd814a4b4d5a86',1,'parser.h']]], - ['arc_5fparser_5ftag_5flambda_416',['ARC_PARSER_TAG_LAMBDA',['../d5/d36/parser_8h.html#a49859e4f0658f564f4236d2c4b317852',1,'parser.h']]], - ['arc_5fparsercsv_5fcasttypefn_417',['ARC_ParserCSV_CastTypeFn',['../d3/d8e/csv_8h.html#a6256f8097f5b87b213fcf5f2387b55e4',1,'csv.h']]], - ['arc_5fparsercsv_5fcreateasparser_418',['ARC_ParserCSV_CreateAsParser',['../d3/d8e/csv_8h.html#a74a4a58425ddc46dc29064362c800c22',1,'csv.h']]], - ['arc_5fparsercsv_5fdestroytypefn_419',['ARC_ParserCSV_DestroyTypeFn',['../de/de8/chemical_8h.html#a6d9a36eaffba502a7ec8b17ff640787d',1,'ARC_ParserCSV_DestroyTypeFn: chemical.h'],['../d3/d8e/csv_8h.html#a6d9a36eaffba502a7ec8b17ff640787d',1,'ARC_ParserCSV_DestroyTypeFn: csv.h']]], - ['arc_5fparsercsvdata_420',['ARC_ParserCSVData',['../d4/d71/structARC__ParserCSVData.html',1,'ARC_ParserCSVData'],['../d3/d8e/csv_8h.html#a2a58e1eff48ecbe4e84b98848b3651cd',1,'ARC_ParserCSVData: csv.h']]], - ['arc_5fparserdata_5fcreatefn_421',['ARC_ParserData_CreateFn',['../d5/d36/parser_8h.html#a8cd71477a9351e7cd708b346b945e3bb',1,'parser.h']]], - ['arc_5fparserdata_5fdestroyfn_422',['ARC_ParserData_DestroyFn',['../d5/d36/parser_8h.html#abfe01be54d5787de64d479494ad6aa2d',1,'parser.h']]], - ['arc_5fparserdata_5fhelperrecursestringadd_423',['ARC_ParserData_HelperRecurseStringAdd',['../d1/d98/helpers_8h.html#ab5c1f169c37491d2b5d85f3227e83d97',1,'helpers.h']]], - ['arc_5fparserlang_5falpha_5fchar_424',['ARC_PARSERLANG_ALPHA_CHAR',['../dd/d0d/parserlang_8h.html#a26bced1dc31cab87860714f58464dc5d',1,'parserlang.h']]], - ['arc_5fparserlang_5fargument_425',['ARC_PARSERLANG_ARGUMENT',['../dd/d0d/parserlang_8h.html#ad3c3848b5e2106a6d2fba24e89481bf5',1,'parserlang.h']]], - ['arc_5fparserlang_5farguments_426',['ARC_PARSERLANG_ARGUMENTS',['../dd/d0d/parserlang_8h.html#ae0aa56780b5961a1ee8949370f838129',1,'parserlang.h']]], - ['arc_5fparserlang_5fbody_427',['ARC_PARSERLANG_BODY',['../dd/d0d/parserlang_8h.html#a4184b40c9e2f333d9a6db43d21ed8e7b',1,'parserlang.h']]], - ['arc_5fparserlang_5fconstant_428',['ARC_PARSERLANG_CONSTANT',['../dd/d0d/parserlang_8h.html#a527a491a52cbe0e42a4ee3d2fcda8546',1,'parserlang.h']]], - ['arc_5fparserlang_5fconstant_5fbody_429',['ARC_PARSERLANG_CONSTANT_BODY',['../dd/d0d/parserlang_8h.html#ac8d10d32ec407f9ce252d03e7eb0c761',1,'parserlang.h']]], - ['arc_5fparserlang_5fconstant_5fchar_430',['ARC_PARSERLANG_CONSTANT_CHAR',['../dd/d0d/parserlang_8h.html#a1de241ce3f0fd3773e00ce9eeb8456f2',1,'parserlang.h']]], - ['arc_5fparserlang_5fcreateasparser_431',['ARC_ParserLang_CreateAsParser',['../dd/d0d/parserlang_8h.html#a7a4e2867cbe7180ffd981b767e274e32',1,'parserlang.h']]], - ['arc_5fparserlang_5flambda_432',['ARC_PARSERLANG_LAMBDA',['../dd/d0d/parserlang_8h.html#afaf8886df6fdb88e5df56f0cdc033e91',1,'parserlang.h']]], - ['arc_5fparserlang_5fline_433',['ARC_PARSERLANG_LINE',['../dd/d0d/parserlang_8h.html#aabe1dafe8e8328afe01f0df723734e40',1,'parserlang.h']]], - ['arc_5fparserlang_5ftag_434',['ARC_PARSERLANG_TAG',['../dd/d0d/parserlang_8h.html#a21679270caab125419d781e05481802f',1,'parserlang.h']]], - ['arc_5fparserlang_5ftag_5for_5fconstant_435',['ARC_PARSERLANG_TAG_OR_CONSTANT',['../dd/d0d/parserlang_8h.html#a7d0002a025022eeef1637bed40295969',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5falpha_5flower_5fchar_436',['ARC_PARSERLANG_TOKEN_ALPHA_LOWER_CHAR',['../dd/d0d/parserlang_8h.html#acb5252e40f02e6304a38995835d23896',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5falpha_5fupper_5fchar_437',['ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR',['../dd/d0d/parserlang_8h.html#aa4475914b22e971ac36ba52c54848f7f',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5farrow_5fcstring_438',['ARC_PARSERLANG_TOKEN_ARROW_CSTRING',['../dd/d0d/parserlang_8h.html#ae217edf3934390ccd57f9224b114cd48',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5farrow_5fid_439',['ARC_PARSERLANG_TOKEN_ARROW_ID',['../dd/d0d/parserlang_8h.html#a83121facd86dc4a0cc3228310dc377ef',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5fgreater_5fthan_5fchar_440',['ARC_PARSERLANG_TOKEN_GREATER_THAN_CHAR',['../dd/d0d/parserlang_8h.html#a71081597e34fe333b640375f382fd2a6',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5fgreater_5fthan_5fid_441',['ARC_PARSERLANG_TOKEN_GREATER_THAN_ID',['../dd/d0d/parserlang_8h.html#a8bb8ecbd4284a05a12fe6ba46ad3c19f',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5fless_5fthan_5fchar_442',['ARC_PARSERLANG_TOKEN_LESS_THAN_CHAR',['../dd/d0d/parserlang_8h.html#af203e25f3df12a3825c8616605134fd2',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5fless_5fthan_5fid_443',['ARC_PARSERLANG_TOKEN_LESS_THAN_ID',['../dd/d0d/parserlang_8h.html#a84ddb1d0fdfd0d262b4b838368591064',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5fnewline_5fchar_444',['ARC_PARSERLANG_TOKEN_NEWLINE_CHAR',['../dd/d0d/parserlang_8h.html#ab645ba55ae0f090766a926166204e196',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5fnewline_5fid_445',['ARC_PARSERLANG_TOKEN_NEWLINE_ID',['../dd/d0d/parserlang_8h.html#a29b70579ec48a2553b4e4c2f296428d8',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5fnull_446',['ARC_PARSERLANG_TOKEN_NULL',['../dd/d0d/parserlang_8h.html#ac265c2d97c817fe4370a07e46ea88e43',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5fnumber_447',['ARC_PARSERLANG_TOKEN_NUMBER',['../dd/d0d/parserlang_8h.html#a6b26e03e274fa0fcf5cb341323a4f54a',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5for_5fchar_448',['ARC_PARSERLANG_TOKEN_OR_CHAR',['../dd/d0d/parserlang_8h.html#a00918900ccbf8324d0d6876959089846',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5for_5fid_449',['ARC_PARSERLANG_TOKEN_OR_ID',['../dd/d0d/parserlang_8h.html#a8df8f00a076eab15a5d0477dae7c0510',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5funderscore_5fchar_450',['ARC_PARSERLANG_TOKEN_UNDERSCORE_CHAR',['../dd/d0d/parserlang_8h.html#a01772416712af136fb0921f1e78f1942',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5funderscore_5fid_451',['ARC_PARSERLANG_TOKEN_UNDERSCORE_ID',['../dd/d0d/parserlang_8h.html#adeb053f413b8278f80616a2f48ad52a0',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5fwhitespace_452',['ARC_PARSERLANG_TOKEN_WHITESPACE',['../dd/d0d/parserlang_8h.html#aa0c4f2cb7a1fe6c83f3ce16f6fd59782',1,'parserlang.h']]], - ['arc_5fparserlang_5fvariable_453',['ARC_PARSERLANG_VARIABLE',['../dd/d0d/parserlang_8h.html#aef2baf85767f40eef88c5d8abe4c9e34',1,'parserlang.h']]], - ['arc_5fparserlang_5fvariable_5fbody_454',['ARC_PARSERLANG_VARIABLE_BODY',['../dd/d0d/parserlang_8h.html#abf59d6bde3df61b93cbdb6cd3984650c',1,'parserlang.h']]], - ['arc_5fparserlang_5fvariable_5fchar_455',['ARC_PARSERLANG_VARIABLE_CHAR',['../dd/d0d/parserlang_8h.html#ac785c4cd4235937e7e1786cdd4519966',1,'parserlang.h']]], - ['arc_5fparserlang_5fwhitespace_456',['ARC_PARSERLANG_WHITESPACE',['../dd/d0d/parserlang_8h.html#a434b96dd9483742e4286e3dd41f27bd3',1,'parserlang.h']]], - ['arc_5fparsertag_457',['ARC_ParserTag',['../d3/d0a/structARC__ParserTag.html',1,'ARC_ParserTag'],['../d5/d36/parser_8h.html#aa9ea2265d5d0797b7b6fa009beed6aa4',1,'ARC_ParserTag: parser.h']]], - ['arc_5fparsertagtoken_458',['ARC_ParserTagToken',['../dc/d37/structARC__ParserTagToken.html',1,'ARC_ParserTagToken'],['../d5/d36/parser_8h.html#afb6d26dc3b6ae7e2049e0e47bdfd3c3e',1,'ARC_ParserTagToken: parser.h']]], - ['arc_5fpoint_459',['ARC_Point',['../d2/d9d/structARC__Point.html',1,'ARC_Point'],['../d2/d91/point_8h.html#a958d6849dfac2913f876cbd8b1fb3779',1,'ARC_Point: point.h']]], - ['arc_5fpoint_5fdelete_460',['ARC_Point_Delete',['../d8/dec/math_2config_8h.html#ad13aa1159a8582aeb83d15945d1e5e74',1,'config.h']]], - ['arc_5fpoint_5fread_461',['ARC_Point_Read',['../d8/dec/math_2config_8h.html#a2e97769e1aa3fc24a25b5dd4dc7fc641',1,'config.h']]], - ['arc_5fqueue_462',['ARC_Queue',['../d8/d38/queue_8h.html#a5c99fef5a72278c9ae5c410070412201',1,'queue.h']]], - ['arc_5fqueue_5fcreate_463',['ARC_Queue_Create',['../d8/d38/queue_8h.html#ae8b1146e12bbf3fb85323f3d142df0bf',1,'queue.h']]], - ['arc_5fqueue_5fdestroy_464',['ARC_Queue_Destroy',['../d8/d38/queue_8h.html#a3a02c62a5c9ea508b2ad0f4f6512331d',1,'queue.h']]], - ['arc_5fqueue_5fpop_465',['ARC_Queue_Pop',['../d8/d38/queue_8h.html#a6dfacddca2614a104273d52726fb4bb9',1,'queue.h']]], - ['arc_5fqueue_5fpush_466',['ARC_Queue_Push',['../d8/d38/queue_8h.html#a148faa7bfa969213e32a29aaf3799cd3',1,'queue.h']]], - ['arc_5fqueue_5fsize_467',['ARC_Queue_Size',['../d8/d38/queue_8h.html#a874a468cb3a68e9193618c9d2eac11b6',1,'queue.h']]], - ['arc_5frect_468',['ARC_Rect',['../d0/d18/structARC__Rect.html',1,'ARC_Rect'],['../d2/d14/math_2rectangle_8h.html#ad296d5f20b96da96f0429527f39d0cd1',1,'ARC_Rect: rectangle.h']]], - ['arc_5frect_5fcasttofrect_469',['ARC_Rect_CastToFRect',['../d2/d14/math_2rectangle_8h.html#a8e74551a0f97bd4fcaf3b1f6041d0cc5',1,'rectangle.h']]], - ['arc_5frect_5fcenteron_470',['ARC_Rect_CenterOn',['../d2/d14/math_2rectangle_8h.html#a910c21230647ae28c55194d255bc8a7d',1,'rectangle.h']]], - ['arc_5frect_5fdelete_471',['ARC_Rect_Delete',['../d8/dec/math_2config_8h.html#a6d7312208f5682f3a192babb111ca69f',1,'config.h']]], - ['arc_5frect_5fintersects_472',['ARC_Rect_Intersects',['../d2/d14/math_2rectangle_8h.html#a05c6b1799b44d3c011ea03510f05fab9',1,'rectangle.h']]], - ['arc_5frect_5fintersectspoint_473',['ARC_Rect_IntersectsPoint',['../d2/d14/math_2rectangle_8h.html#aca466591cebea1e1d30f7c2d161f5f0f',1,'rectangle.h']]], - ['arc_5frect_5flineintersects_474',['ARC_Rect_LineIntersects',['../d2/d14/math_2rectangle_8h.html#ae533a88317c303e0efa00f95887b419f',1,'rectangle.h']]], - ['arc_5frect_5fread_475',['ARC_Rect_Read',['../d8/dec/math_2config_8h.html#af38ac2494f7efa68ebfc7ed682058fb6',1,'config.h']]], - ['arc_5frect_5frender_476',['ARC_Rect_Render',['../d7/d09/graphics_2rectangle_8h.html#abb21f449f86c080831ccecf9600d97c7',1,'rectangle.h']]], - ['arc_5frect_5frenderfill_477',['ARC_Rect_RenderFill',['../d7/d09/graphics_2rectangle_8h.html#acb8d5ed7ac0ab7c7b51c9924cbb017df',1,'rectangle.h']]], - ['arc_5frectarray_5fdelete_478',['ARC_RectArray_Delete',['../d8/dec/math_2config_8h.html#a4abf90210167775903b4dcfa9c27e55b',1,'config.h']]], - ['arc_5frectarray_5fread_479',['ARC_RectArray_Read',['../d8/dec/math_2config_8h.html#a82205ff4afb8ca851cb0e8d0ad28c25f',1,'config.h']]], - ['arc_5frenderer_480',['ARC_Renderer',['../d6/d85/renderer_8h.html#a2b82366dc421b3e80aace49f3ae8639a',1,'renderer.h']]], - ['arc_5frenderer_5fclear_481',['ARC_Renderer_Clear',['../d6/d85/renderer_8h.html#a658b3d0b45be17d35a4ba6f58c6c410d',1,'renderer.h']]], - ['arc_5frenderer_5fcreatewithenginedata_482',['ARC_Renderer_CreateWithEngineData',['../d6/d85/renderer_8h.html#a498204d28a753ae15b67962960ddca04',1,'renderer.h']]], - ['arc_5frenderer_5fdestroy_483',['ARC_Renderer_Destroy',['../d6/d85/renderer_8h.html#abc868b155fe4429b0569cf07fec57a76',1,'renderer.h']]], - ['arc_5frenderer_5frender_484',['ARC_Renderer_Render',['../d6/d85/renderer_8h.html#ac44af02eacceb9af14f87e8a7f62aad5',1,'renderer.h']]], - ['arc_5fsprite_485',['ARC_Sprite',['../db/d08/sprite_8h.html#a03c5973e40c2bda444c06c7550471b42',1,'sprite.h']]], - ['arc_5fsprite_5faxis_486',['ARC_Sprite_Axis',['../db/d08/sprite_8h.html#a58f03c421534fd75dbdf5b301fff84f5',1,'sprite.h']]], - ['arc_5fsprite_5faxis_5fnone_487',['ARC_SPRITE_AXIS_NONE',['../db/d08/sprite_8h.html#a58f03c421534fd75dbdf5b301fff84f5a8349cec50345d927a52c3a74dc7c8008',1,'sprite.h']]], - ['arc_5fsprite_5faxis_5fx_488',['ARC_SPRITE_AXIS_X',['../db/d08/sprite_8h.html#a58f03c421534fd75dbdf5b301fff84f5a86b6c238d4da4d62c0e5f7652a1a058f',1,'sprite.h']]], - ['arc_5fsprite_5faxis_5fy_489',['ARC_SPRITE_AXIS_Y',['../db/d08/sprite_8h.html#a58f03c421534fd75dbdf5b301fff84f5a1cccd14ed492d5e4b151808984cda3c0',1,'sprite.h']]], - ['arc_5fsprite_5faxix_490',['ARC_Sprite_Axix',['../db/d08/sprite_8h.html#a8975412b8ce43563bd9b9e8034d48107',1,'sprite.h']]], - ['arc_5fsprite_5fcopy_491',['ARC_Sprite_Copy',['../db/d08/sprite_8h.html#ac71528b8b08e5c9f9ef12377413c887f',1,'sprite.h']]], - ['arc_5fsprite_5fcreate_492',['ARC_Sprite_Create',['../db/d08/sprite_8h.html#a236db372d25ec6939fc3a59a50174d2c',1,'sprite.h']]], - ['arc_5fsprite_5fdestroy_493',['ARC_Sprite_Destroy',['../db/d08/sprite_8h.html#a37754370968f742ee6bfbb179a50804c',1,'sprite.h']]], - ['arc_5fsprite_5fgetallbounds_494',['ARC_Sprite_GetAllBounds',['../db/d08/sprite_8h.html#aa94ca232d44c6de7b4f00754152da02e',1,'sprite.h']]], - ['arc_5fsprite_5fgetbounds_495',['ARC_Sprite_GetBounds',['../db/d08/sprite_8h.html#a98ceee44610d603afd0ed235fd72cc95',1,'sprite.h']]], - ['arc_5fsprite_5fgetframeindex_496',['ARC_Sprite_GetFrameIndex',['../db/d08/sprite_8h.html#a001e727b8923a2435a873eb085e50308',1,'sprite.h']]], - ['arc_5fsprite_5fiterateframe_497',['ARC_Sprite_IterateFrame',['../db/d08/sprite_8h.html#ae8f6efb1950a0e908efcd59b69427f38',1,'sprite.h']]], - ['arc_5fsprite_5frender_498',['ARC_Sprite_Render',['../db/d08/sprite_8h.html#a0e2479255f39c245c08a8791aea5e877',1,'sprite.h']]], - ['arc_5fsprite_5frenderflip_499',['ARC_Sprite_RenderFlip',['../db/d08/sprite_8h.html#a96fa458abc8926631b646a8e89899474',1,'sprite.h']]], - ['arc_5fsprite_5frenderrotated_500',['ARC_Sprite_RenderRotated',['../db/d08/sprite_8h.html#a57c6332c153a9abd0906b822fc1614ef',1,'sprite.h']]], - ['arc_5fsprite_5fsetframeindex_501',['ARC_Sprite_SetFrameIndex',['../db/d08/sprite_8h.html#ae6bed9d1c4c5c7a5ced00b45672c94f9',1,'sprite.h']]], - ['arc_5fsprite_5fsetopacity_502',['ARC_Sprite_SetOpacity',['../db/d08/sprite_8h.html#a93598bcc2eee0b8e3eb1a94ebbcf3e5e',1,'sprite.h']]], - ['arc_5fspritesheet_503',['ARC_Spritesheet',['../d9/d53/spritesheet_8h.html#a1e01dfc3d163e82e7d00d039f0e0a82c',1,'spritesheet.h']]], - ['arc_5fspritesheet_5fcreatefromfile_504',['ARC_Spritesheet_CreateFromFile',['../d9/d53/spritesheet_8h.html#a07d3eb2716f237551fb29dc425a14870',1,'spritesheet.h']]], - ['arc_5fspritesheet_5fdestroy_505',['ARC_Spritesheet_Destroy',['../d9/d53/spritesheet_8h.html#abef4c60c51ed55e11b67c33073092811',1,'spritesheet.h']]], - ['arc_5fspritesheet_5fgetsize_506',['ARC_Spritesheet_GetSize',['../d9/d53/spritesheet_8h.html#a87bd15ebf4a1ebebe8f8033dd55c0142',1,'spritesheet.h']]], - ['arc_5fspritesheet_5fgettilesize_507',['ARC_Spritesheet_GetTileSize',['../d9/d53/spritesheet_8h.html#a6881e1db0e3ccf7aec5b97d59cc558c6',1,'spritesheet.h']]], - ['arc_5fspritesheet_5frenderarea_508',['ARC_Spritesheet_RenderArea',['../d9/d53/spritesheet_8h.html#ab2943ba8a63fa94ad9ddff7ecc3b2dc7',1,'spritesheet.h']]], - ['arc_5fssh_509',['ARC_Ssh',['../d8/dd3/ssh_8h.html#af7f8e513348e5d76222c96396bc0ed70',1,'ssh.h']]], - ['arc_5fssh_5fcreate_510',['ARC_Ssh_Create',['../d8/dd3/ssh_8h.html#ad489e520aa92d284e50db127e1e8157a',1,'ssh.h']]], - ['arc_5fssh_5fdestroy_511',['ARC_Ssh_Destroy',['../d8/dd3/ssh_8h.html#a08efa4bb06634fc63432bee3f0cafbc1',1,'ssh.h']]], - ['arc_5fssh_5fexecstrinnewsession_512',['ARC_Ssh_ExecStrInNewSession',['../d8/dd3/ssh_8h.html#a1e5f9b0c05c7e9b9d99430dc05ef02b3',1,'ssh.h']]], - ['arc_5fssh_5fexecstrinnewsessionandgetresponse_513',['ARC_Ssh_ExecStrInNewSessionAndGetResponse',['../d8/dd3/ssh_8h.html#a1cc4737620480eb72a38fd0bbc84a9d2',1,'ssh.h']]], - ['arc_5fssh_5fruninsession_514',['ARC_Ssh_RunInSession',['../d8/dd3/ssh_8h.html#a611049154ff185c551929068f3d0270a',1,'ssh.h']]], - ['arc_5fssh_5fsessionfn_515',['ARC_Ssh_SessionFn',['../d8/dd3/ssh_8h.html#aa6f481c13aec410d0902c4f9a5d94e9b',1,'ssh.h']]], - ['arc_5fstack_516',['ARC_Stack',['../d7/de0/stack_8h.html#a840a6293c151a8e5a20d942084a4300a',1,'stack.h']]], - ['arc_5fstack_5fcreate_517',['ARC_Stack_Create',['../d7/de0/stack_8h.html#a417d13b0df8a526cf05434eb1a50c5d8',1,'stack.h']]], - ['arc_5fstack_5fdestroy_518',['ARC_Stack_Destroy',['../d7/de0/stack_8h.html#ad6676de1da13c329b570551b19b612db',1,'stack.h']]], - ['arc_5fstack_5fpop_519',['ARC_Stack_Pop',['../d7/de0/stack_8h.html#ad5aca2f0b980d4d6381aab106c080fb7',1,'stack.h']]], - ['arc_5fstack_5fpush_520',['ARC_Stack_Push',['../d7/de0/stack_8h.html#a5d38f618c864bd60910197d3004a5712',1,'stack.h']]], - ['arc_5fstack_5fsize_521',['ARC_Stack_Size',['../d7/de0/stack_8h.html#a3912e4fe5a7f15d819bd596d6df4385d',1,'stack.h']]], - ['arc_5fstate_522',['ARC_State',['../db/df9/structARC__State.html',1,'ARC_State'],['../db/d3b/state_8h.html#a2296cccf83c7eeee8b2273aa8403ff96',1,'ARC_State: state.h']]], - ['arc_5fstate_5frender_523',['ARC_State_Render',['../db/d3b/state_8h.html#a1b23e5fee1f209b7e65f78fac82dd238',1,'state.h']]], - ['arc_5fstate_5frenderfn_524',['ARC_State_RenderFn',['../db/d3b/state_8h.html#a3f974ff0ed41c158d8b13fcc89f56c82',1,'state.h']]], - ['arc_5fstate_5fupdate_525',['ARC_State_Update',['../db/d3b/state_8h.html#a7fff169abbb4aaa5bb3f3b0e8b6f3785',1,'state.h']]], - ['arc_5fstate_5fupdatefn_526',['ARC_State_UpdateFn',['../db/d3b/state_8h.html#ae8144f165b3c9c1d97c6d22d27c66fb9',1,'state.h']]], - ['arc_5fstring_527',['ARC_String',['../df/d06/structARC__String.html',1,'ARC_String'],['../da/d66/string_8h.html#aa62bffc0a6f0d36e7f4ca6c76ed7d224',1,'ARC_String: string.h']]], - ['arc_5fstring_5fappend_528',['ARC_String_Append',['../da/d66/string_8h.html#a9576075f09dfbbbb2f3184b5e22920ee',1,'string.h']]], - ['arc_5fstring_5fappendcstring_529',['ARC_String_AppendCString',['../da/d66/string_8h.html#a62f1a304befda4abb8258f760489c3a3',1,'string.h']]], - ['arc_5fstring_5fappendcstringwithstrlen_530',['ARC_String_AppendCStringWithStrlen',['../da/d66/string_8h.html#a26e2b9243b6a267fef716616f6af03cc',1,'string.h']]], - ['arc_5fstring_5fcopy_531',['ARC_String_Copy',['../da/d66/string_8h.html#a858b5bc28ef8a7a3378c3a73518f3894',1,'string.h']]], - ['arc_5fstring_5fcopyreplacematching_532',['ARC_String_CopyReplaceMatching',['../da/d66/string_8h.html#a77e13f5ca3011539b4b59e2c84195d50',1,'string.h']]], - ['arc_5fstring_5fcopysubstring_533',['ARC_String_CopySubstring',['../da/d66/string_8h.html#a46afa17a4032d39ad0df4687671708ed',1,'string.h']]], - ['arc_5fstring_5fcreate_534',['ARC_String_Create',['../da/d66/string_8h.html#a709d2bb4b120569a636e0afdf5e8f1d0',1,'string.h']]], - ['arc_5fstring_5fcreateempty_535',['ARC_String_CreateEmpty',['../da/d66/string_8h.html#ab490665902a439aeca2ac9e22a2ef16c',1,'string.h']]], - ['arc_5fstring_5fcreatewithstrlen_536',['ARC_String_CreateWithStrlen',['../da/d66/string_8h.html#a5cc6bf2a8e4cba4e60f3ec51db3ea04f',1,'string.h']]], - ['arc_5fstring_5fdestroy_537',['ARC_String_Destroy',['../da/d66/string_8h.html#ac63d17182fd14297f5e7021488d74e35',1,'string.h']]], - ['arc_5fstring_5fequals_538',['ARC_String_Equals',['../da/d66/string_8h.html#abbb398cb869b22acdcf9b9f78fdef484',1,'string.h']]], - ['arc_5fstring_5fequalscstring_539',['ARC_String_EqualsCString',['../da/d66/string_8h.html#a462b22bb7a5994b3cad7c752e7bd430b',1,'string.h']]], - ['arc_5fstring_5fequalscstringwithstrlen_540',['ARC_String_EqualsCStringWithStrlen',['../da/d66/string_8h.html#a8263ad0461c0261c9d410264e80c6f63',1,'string.h']]], - ['arc_5fstring_5ffind_541',['ARC_String_Find',['../da/d66/string_8h.html#aceafae33cc96443b39a9833dace2920b',1,'string.h']]], - ['arc_5fstring_5ffindback_542',['ARC_String_FindBack',['../da/d66/string_8h.html#a494719688ca2f9619b439a780b6d21c8',1,'string.h']]], - ['arc_5fstring_5ffindbackcstring_543',['ARC_String_FindBackCString',['../da/d66/string_8h.html#a7caed0e2aa274aa979ed70f6c43c9cc2',1,'string.h']]], - ['arc_5fstring_5ffindbackcstringwithstrlen_544',['ARC_String_FindBackCStringWithStrlen',['../da/d66/string_8h.html#a56f9ec8e9c7be41013336d1be43b52c0',1,'string.h']]], - ['arc_5fstring_5ffindcstring_545',['ARC_String_FindCString',['../da/d66/string_8h.html#ab0d31ccb3fdcc52b28d6f6dc37dd517e',1,'string.h']]], - ['arc_5fstring_5ffindcstringwithstrlen_546',['ARC_String_FindCStringWithStrlen',['../da/d66/string_8h.html#a39095ee912ec30c12ae83c4e69a7f96d',1,'string.h']]], - ['arc_5fstring_5fisalpha_547',['ARC_String_IsAlpha',['../da/d66/string_8h.html#ac4f8e05da0ee56b42e6fd43ff0316b37',1,'string.h']]], - ['arc_5fstring_5fisnumeric_548',['ARC_String_IsNumeric',['../da/d66/string_8h.html#ae6ff477296333f710b646e44cb1143cc',1,'string.h']]], - ['arc_5fstring_5fmerge_549',['ARC_String_Merge',['../da/d66/string_8h.html#a2cd0441218a01c2fa51b72af7f3aec33',1,'string.h']]], - ['arc_5fstring_5fremovesection_550',['ARC_String_RemoveSection',['../da/d66/string_8h.html#adbfcd7207e69a681c4917c78979846c7',1,'string.h']]], - ['arc_5fstring_5fremovesubstring_551',['ARC_String_RemoveSubstring',['../da/d66/string_8h.html#a0d3876994334bfa182b0618eec40c2db',1,'string.h']]], - ['arc_5fstring_5freplacematching_552',['ARC_String_ReplaceMatching',['../da/d66/string_8h.html#aff0057fe8494488577e1def0d4d45d35',1,'string.h']]], - ['arc_5fstring_5freplacematchingcstring_553',['ARC_String_ReplaceMatchingCString',['../da/d66/string_8h.html#ad1460b8672ce7bbcca12dfa624ab718c',1,'string.h']]], - ['arc_5fstring_5freplacematchingcstringwithstrlen_554',['ARC_String_ReplaceMatchingCStringWithStrlen',['../da/d66/string_8h.html#a26eaf34ae33fb6a4ed83ca6588053fa3',1,'string.h']]], - ['arc_5fstring_5freplacewithsubstring_555',['ARC_String_ReplaceWithSubstring',['../da/d66/string_8h.html#adb1300975ff401b06cb3911dd01df67a',1,'string.h']]], - ['arc_5fstring_5fstripends_556',['ARC_String_StripEnds',['../da/d66/string_8h.html#adb34b011844da1396f819beed7f3c2e7',1,'string.h']]], - ['arc_5fstring_5fstripendswhitespace_557',['ARC_String_StripEndsWhitespace',['../da/d66/string_8h.html#a07793784e6f8abd41292c90bb5b20005',1,'string.h']]], - ['arc_5fstring_5fstripwhitespace_558',['ARC_String_StripWhitespace',['../da/d66/string_8h.html#ab5b73947baed7314b0a6d604f024622d',1,'string.h']]], - ['arc_5fstring_5fsubstringequals_559',['ARC_String_SubstringEquals',['../da/d66/string_8h.html#a8eef7eb3d72db140b4e386fdbfe3cb1d',1,'string.h']]], - ['arc_5fstring_5fsubstringequalscstring_560',['ARC_String_SubstringEqualsCString',['../da/d66/string_8h.html#aa14072c999b1f1019273432c7f3d2037',1,'string.h']]], - ['arc_5fstring_5ftodouble_561',['ARC_String_ToDouble',['../da/d66/string_8h.html#ad4935cb88cdf297ea99df5148001941a',1,'string.h']]], - ['arc_5fstring_5ftoint64_5ft_562',['ARC_String_ToInt64_t',['../da/d66/string_8h.html#a1221952a590f38856fc794c8ba1f3494',1,'string.h']]], - ['arc_5fstring_5ftouint64_5ft_563',['ARC_String_ToUint64_t',['../da/d66/string_8h.html#a04c1e07bdeede187ad7375dfc5283e99',1,'string.h']]], - ['arc_5ftext_564',['ARC_Text',['../d9/dcc/text_8h.html#a1b5f335dcc5e50d475077385328d1619',1,'text.h']]], - ['arc_5ftext_5fcreate_565',['ARC_Text_Create',['../d9/dcc/text_8h.html#a317688d3c7ed9dc82fdef7dd136fd462',1,'text.h']]], - ['arc_5ftext_5fdestroy_566',['ARC_Text_Destroy',['../d9/dcc/text_8h.html#a81e08f1c4210a1d33a6b5be4ff2bde8c',1,'text.h']]], - ['arc_5ftext_5frender_567',['ARC_Text_Render',['../d9/dcc/text_8h.html#a8fb85afa64d8e337f475db6eaa23bbcb',1,'text.h']]], - ['arc_5ftext_5fsetpos_568',['ARC_Text_SetPos',['../d9/dcc/text_8h.html#acaf60a21f71839044b1eaa775c443db7',1,'text.h']]], - ['arc_5ftext_5fsetstring_569',['ARC_Text_SetString',['../d9/dcc/text_8h.html#a2d5bfd55a4035453bcf751514e04f362',1,'text.h']]], - ['arc_5ftime_570',['ARC_Time',['../da/dba/structARC__Time.html',1,'ARC_Time'],['../de/df7/time_8h.html#a7bbd69c14efedf01108730576c87c3d1',1,'ARC_Time: time.h']]], - ['arc_5ftime_5fcopyfromstructtmptr_571',['ARC_Time_CopyFromStructTmPtr',['../de/df7/time_8h.html#a77e3c70990681ec05eef64214b61efab',1,'time.h']]], - ['arc_5ftrue_572',['ARC_True',['../d8/d77/bool_8h.html#aacf339cb8c71b994249ae02c662006cb',1,'bool.h']]], - ['arc_5fupoint_573',['ARC_UPoint',['../db/df9/structARC__UPoint.html',1,'ARC_UPoint'],['../d2/d91/point_8h.html#a6fb283a2f6721f8fa84a9cf990881344',1,'ARC_UPoint: point.h']]], - ['arc_5furect_574',['ARC_URect',['../df/db0/structARC__URect.html',1,'ARC_URect'],['../d2/d14/math_2rectangle_8h.html#a6d0f4fbe00c116bc2ec64cedfa86d09f',1,'ARC_URect: rectangle.h']]], - ['arc_5fvector_575',['ARC_Vector',['../d2/d19/group__ARC__Vector.html#ga23dfcf0229206051666a31f91c8c6e1b',1,'ARC_Vector: vector.h'],['../d2/d19/group__ARC__Vector.html',1,'ARC_Vector']]], - ['arc_5fvector2_576',['ARC_Vector2',['../db/d86/structARC__Vector2.html',1,'ARC_Vector2'],['../d1/d03/vector2_8h.html#a72bc5bcc056b357b1f0bd08e36c72c59',1,'ARC_Vector2: vector2.h']]], - ['arc_5fvector2_5fnormalize_577',['ARC_Vector2_Normalize',['../d1/d03/vector2_8h.html#ad7827f08a4898d2b8358a407d52dfe9c',1,'vector2.h']]], - ['arc_5fvector2_5frotatedegree_578',['ARC_Vector2_RotateDegree',['../d1/d03/vector2_8h.html#a37b30084c8ebb416c5bbf621a7362e43',1,'vector2.h']]], - ['arc_5fvector_5fadd_579',['ARC_Vector_Add',['../d2/d19/group__ARC__Vector.html#ga2a06c8c4c1fc1f99e08568ef92c186ae',1,'vector.h']]], - ['arc_5fvector_5fclear_580',['ARC_Vector_Clear',['../d2/d19/group__ARC__Vector.html#gac0f528744e3da5f3334d91f6ecf542ec',1,'vector.h']]], - ['arc_5fvector_5fcomparedatafn_581',['ARC_Vector_CompareDataFn',['../d2/d19/group__ARC__Vector.html#ga4123cf094e58ae25daa9356b3a51f116',1,'vector.h']]], - ['arc_5fvector_5fcreate_582',['ARC_Vector_Create',['../d2/d19/group__ARC__Vector.html#gac8de583c096684695a7d862c581b78f6',1,'vector.h']]], - ['arc_5fvector_5fdestroy_583',['ARC_Vector_Destroy',['../d2/d19/group__ARC__Vector.html#ga605bb525f6df05ec88742237e1911e47',1,'vector.h']]], - ['arc_5fvector_5fdestroydatafn_584',['ARC_Vector_DestroyDataFn',['../d2/d19/group__ARC__Vector.html#ga069428a2ccbbed066249d48f1b0bf1ef',1,'vector.h']]], - ['arc_5fvector_5fget_585',['ARC_Vector_Get',['../d2/d19/group__ARC__Vector.html#ga1b01ba012d6fe295e8ce1446f9a6a3a0',1,'vector.h']]], - ['arc_5fvector_5fgetsize_586',['ARC_Vector_GetSize',['../d2/d19/group__ARC__Vector.html#ga0c72f76fed251ea51a8be057f9c89504',1,'vector.h']]], - ['arc_5fvector_5fremove_587',['ARC_Vector_Remove',['../d2/d19/group__ARC__Vector.html#ga443185fcb80a2593b4b1f580a1b11133',1,'vector.h']]], - ['arc_5fvector_5fremoveindex_588',['ARC_Vector_RemoveIndex',['../d2/d19/group__ARC__Vector.html#gab05c0f7ebefe73729d3e2c2e6e528d00',1,'vector.h']]], - ['arc_5fview_589',['ARC_View',['../dc/d18/structARC__View.html',1,'ARC_View'],['../d5/de5/graphics_2view_8h.html#a1724ebeb7f950d56c593431e1fbc76f5',1,'ARC_View: view.h']]], - ['arc_5fview_5fcreate_590',['ARC_View_Create',['../d5/de5/graphics_2view_8h.html#ab6dc86e2534d18462197a7f5631eb6f1',1,'view.h']]], - ['arc_5fview_5fdestroy_591',['ARC_View_Destroy',['../d5/de5/graphics_2view_8h.html#aa4fbfd12f927bd495594828e3b43b561',1,'view.h']]], - ['arc_5fview_5fgetbounds_592',['ARC_View_GetBounds',['../d5/de5/graphics_2view_8h.html#a1bfd840c5d19e24cff495ce95c67f18e',1,'view.h']]], - ['arc_5fview_5frender_593',['ARC_View_Render',['../d5/de5/graphics_2view_8h.html#a3ae6e8988b6128f00589aba6183b5f86',1,'view.h']]], - ['arc_5fview_5frenderfn_594',['ARC_View_RenderFn',['../d5/de5/graphics_2view_8h.html#ad1ac7d4e1924b60da2f857b59801ec60',1,'view.h']]], - ['arc_5fwindow_595',['ARC_Window',['../d3/df1/window_8h.html#a306a4335069399f41073b7cc14ab7c38',1,'window.h']]], - ['arc_5fwindow_5fcreate_596',['ARC_Window_Create',['../d3/df1/window_8h.html#ac2943b39d2140ae27cd98d362053f27c',1,'window.h']]], - ['arc_5fwindow_5fdestroy_597',['ARC_Window_Destroy',['../d3/df1/window_8h.html#afb68d49b50117b8cec312c7a5999c1a6',1,'window.h']]], - ['arc_5fwindowinfo_598',['ARC_WindowInfo',['../d1/d1a/structARC__WindowInfo.html',1,'ARC_WindowInfo'],['../d3/df1/window_8h.html#ad9c970ff3c2c05f887c89e5f112e997f',1,'ARC_WindowInfo: window.h']]], - ['archeus_20documentation_599',['Archeus Documentation',['../index.html',1,'']]], - ['array_2eh_600',['array.h',['../db/d63/array_8h.html',1,'']]], - ['audio_2eh_601',['audio.h',['../da/d09/audio_8h.html',1,'']]], - ['automatadata_602',['automataData',['../d5/dbd/structARC__LexerTokenRule.html#a1cd0f5e26bc0e220bf1e5be79a405e41',1,'ARC_LexerTokenRule']]], - ['automatafn_603',['automataFn',['../d5/dbd/structARC__LexerTokenRule.html#a474a0be6883ba1f10d829afb6be7a68d',1,'ARC_LexerTokenRule']]] -]; diff --git a/doc/doxygen/html/search/all_1.js b/doc/doxygen/html/search/all_1.js deleted file mode 100644 index 1ecc0fb..0000000 --- a/doc/doxygen/html/search/all_1.js +++ /dev/null @@ -1,9 +0,0 @@ -var searchData= -[ - ['b_0',['b',['../d2/d30/structARC__Color.html#a874909255d3dc7419fa4bf4a74639c7e',1,'ARC_Color']]], - ['bool_2eh_1',['bool.h',['../d8/d77/bool_8h.html',1,'']]], - ['bounds_2',['bounds',['../dc/d18/structARC__View.html#a666c27bd67f669cf2abc0f63efd3934a',1,'ARC_View']]], - ['buffer_3',['buffer',['../d9/d4c/structARC__ConsoleShell.html#a77c4a161dfbf8ad6c6afc18362c3ec66',1,'ARC_ConsoleShell']]], - ['buffer_2eh_4',['buffer.h',['../d5/d08/buffer_8h.html',1,'']]], - ['bufferlineindex_5',['bufferLineIndex',['../d9/d4c/structARC__ConsoleShell.html#a25d7454e64c1af58a66288d8a12b04ce',1,'ARC_ConsoleShell']]] -]; diff --git a/doc/doxygen/html/search/all_10.js b/doc/doxygen/html/search/all_10.js deleted file mode 100644 index a403b7b..0000000 --- a/doc/doxygen/html/search/all_10.js +++ /dev/null @@ -1,10 +0,0 @@ -var searchData= -[ - ['r_0',['r',['../d2/d30/structARC__Color.html#a6c4055eeb76cc41f69647e9f1a6e0809',1,'ARC_Color::r'],['../db/d67/structARC__Circle.html#a64994064134893ee9b13e366cf632a7a',1,'ARC_Circle::r'],['../d4/d06/structARC__Obround.html#a3d884224975dfd2fc8fbd5a4cdaedea6',1,'ARC_Obround::r'],['../dc/d00/structARC__FObround.html#a6472337d23d18a48dddf43e50824ecbe',1,'ARC_FObround::r']]], - ['rectangle_2eh_1',['rectangle.h',['../d7/d09/graphics_2rectangle_8h.html',1,'(Global Namespace)'],['../d2/d14/math_2rectangle_8h.html',1,'(Global Namespace)']]], - ['renderer_2',['renderer',['../d5/df0/structARC__EngineData.html#acd1e5bdf06bfd91ce66c8ce6a46006a2',1,'ARC_EngineData::renderer'],['../dc/d18/structARC__View.html#a54d5de957f6fa8ff67236cbf7bba7a8e',1,'ARC_View::renderer']]], - ['renderer_2eh_3',['renderer.h',['../d7/d34/none_2renderer_8h.html',1,'(Global Namespace)'],['../d6/d85/renderer_8h.html',1,'(Global Namespace)']]], - ['renderfn_4',['renderFn',['../db/db4/structARC__ConsoleElement.html#a5bb20afcff792af26450d50263604672',1,'ARC_ConsoleElement::renderFn'],['../db/df9/structARC__State.html#a40d2bf6460470ca2099cb40a92a6b16a',1,'ARC_State::renderFn']]], - ['rule_5',['rule',['../d2/d37/structARC__LexerToken.html#aab9e5105b7ab0902daa8a6cca213081c',1,'ARC_LexerToken']]], - ['running_6',['running',['../d5/df0/structARC__EngineData.html#a524135263c2d2905bf0bf4e4a40380d5',1,'ARC_EngineData']]] -]; diff --git a/doc/doxygen/html/search/all_11.js b/doc/doxygen/html/search/all_11.js deleted file mode 100644 index 628c9bc..0000000 --- a/doc/doxygen/html/search/all_11.js +++ /dev/null @@ -1,16 +0,0 @@ -var searchData= -[ - ['seconds_0',['seconds',['../da/dba/structARC__Time.html#a68a4a28539022e515a98e4ce2a90c6eb',1,'ARC_Time']]], - ['shell_2eh_1',['shell.h',['../df/d03/shell_8h.html',1,'']]], - ['size_2',['size',['../d3/dac/structARC__Array.html#a8cff23b0190e3ac4f4db2cff40e0da11',1,'ARC_Array']]], - ['sprite_2eh_3',['sprite.h',['../da/dce/none_2sprite_8h.html',1,'(Global Namespace)'],['../db/d08/sprite_8h.html',1,'(Global Namespace)']]], - ['spritesheet_2eh_4',['spritesheet.h',['../d6/da1/none_2spritesheet_8h.html',1,'(Global Namespace)'],['../d9/d53/spritesheet_8h.html',1,'(Global Namespace)']]], - ['ssh_2eh_5',['ssh.h',['../d8/dd3/ssh_8h.html',1,'']]], - ['stack_2eh_6',['stack.h',['../d7/de0/stack_8h.html',1,'']]], - ['standard_20library_7',['Standard Library',['../de/d96/library.html',1,'']]], - ['standard_2emd_8',['standard.md',['../dc/dd6/standard_8md.html',1,'']]], - ['state_9',['state',['../d5/df0/structARC__EngineData.html#a5f96f851824e024e8b59919a2195b36e',1,'ARC_EngineData']]], - ['state_2eh_10',['state.h',['../db/d3b/state_8h.html',1,'']]], - ['string_11',['string',['../db/db4/structARC__ConsoleElement.html#a7fc371db15cccf3f59912cd614f65044',1,'ARC_ConsoleElement']]], - ['string_2eh_12',['string.h',['../da/d66/string_8h.html',1,'']]] -]; diff --git a/doc/doxygen/html/search/all_12.js b/doc/doxygen/html/search/all_12.js deleted file mode 100644 index 89fb650..0000000 --- a/doc/doxygen/html/search/all_12.js +++ /dev/null @@ -1,12 +0,0 @@ -var searchData= -[ - ['tagid_0',['tagId',['../d3/d0a/structARC__ParserTag.html#a049e47fdb0d730a81a12ab09c3296b60',1,'ARC_ParserTag']]], - ['tagtokens_1',['tagTokens',['../dc/d37/structARC__ParserTagToken.html#af323d1f78ce2728f26550120258071a1',1,'ARC_ParserTagToken']]], - ['text_2eh_2',['text.h',['../d6/dec/none_2text_8h.html',1,'(Global Namespace)'],['../d9/dcc/text_8h.html',1,'(Global Namespace)']]], - ['time_2eh_3',['time.h',['../de/df7/time_8h.html',1,'']]], - ['title_4',['title',['../d1/d1a/structARC__WindowInfo.html#adb7dc9a62fd9bc34bb9ee2e1a8fbb812',1,'ARC_WindowInfo']]], - ['token_5',['token',['../dc/d37/structARC__ParserTagToken.html#aaccda838f6e1cd3d0ee210c473f34a16',1,'ARC_ParserTagToken']]], - ['tokensortags_6',['tokensOrTags',['../d3/d0a/structARC__ParserTag.html#ab10a801b5b62b5e3d3bf81812cf5d6d2',1,'ARC_ParserTag']]], - ['tokensortagssize_7',['tokensOrTagsSize',['../d3/d0a/structARC__ParserTag.html#a8bccbcd7e73d66ce0d23cecd0d481a5f',1,'ARC_ParserTag']]], - ['type_8',['type',['../db/db4/structARC__ConsoleElement.html#a2a697e874489478b3943314fa9895810',1,'ARC_ConsoleElement']]] -]; diff --git a/doc/doxygen/html/search/all_13.js b/doc/doxygen/html/search/all_13.js deleted file mode 100644 index 8bae811..0000000 --- a/doc/doxygen/html/search/all_13.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['updatefn_0',['updateFn',['../d9/d4c/structARC__ConsoleShell.html#a950522b4dfb71a19621da6b1077ccbdb',1,'ARC_ConsoleShell::updateFn'],['../db/df9/structARC__State.html#a148051eee51dc490fa147daf88508434',1,'ARC_State::updateFn']]], - ['userinput_1',['userInput',['../d9/d4c/structARC__ConsoleShell.html#ac9dde7ef4fedcb03abf056d9e189311a',1,'ARC_ConsoleShell']]] -]; diff --git a/doc/doxygen/html/search/all_14.js b/doc/doxygen/html/search/all_14.js deleted file mode 100644 index 622701c..0000000 --- a/doc/doxygen/html/search/all_14.js +++ /dev/null @@ -1,8 +0,0 @@ -var searchData= -[ - ['vector_2eh_0',['vector.h',['../d6/d68/vector_8h.html',1,'']]], - ['vector2_2eh_1',['vector2.h',['../d1/d03/vector2_8h.html',1,'']]], - ['vector3_2eh_2',['vector3.h',['../d0/d7e/vector3_8h.html',1,'']]], - ['view_3',['view',['../d9/d4c/structARC__ConsoleShell.html#a53d8365cb1119f21f0b23fa1abae8c05',1,'ARC_ConsoleShell']]], - ['view_2eh_4',['view.h',['../d6/d7e/console_2view_8h.html',1,'(Global Namespace)'],['../d5/de5/graphics_2view_8h.html',1,'(Global Namespace)']]] -]; diff --git a/doc/doxygen/html/search/all_15.js b/doc/doxygen/html/search/all_15.js deleted file mode 100644 index ec125e6..0000000 --- a/doc/doxygen/html/search/all_15.js +++ /dev/null @@ -1,8 +0,0 @@ -var searchData= -[ - ['w_0',['w',['../d1/d1a/structARC__WindowInfo.html#af5b0756e36cd244691c3a883fc7ff820',1,'ARC_WindowInfo::w'],['../d0/d18/structARC__Rect.html#a2ed00701687a538b3c7df0a6a47697dd',1,'ARC_Rect::w'],['../df/db0/structARC__URect.html#a3a1d3dc71be717305502ea8d90e1ba79',1,'ARC_URect::w'],['../dd/d4d/structARC__FRect.html#aadfc2f14c698cfb8e8e576c4ff3161bb',1,'ARC_FRect::w']]], - ['width_1',['width',['../d4/d71/structARC__ParserCSVData.html#a4daa960ac2ea59587ed086800e015833',1,'ARC_ParserCSVData']]], - ['window_2',['window',['../d5/df0/structARC__EngineData.html#abcdb1fc080bcd9ad137bc3ac8ae69432',1,'ARC_EngineData']]], - ['window_2eh_3',['window.h',['../da/d9a/none_2window_8h.html',1,'(Global Namespace)'],['../d3/df1/window_8h.html',1,'(Global Namespace)']]], - ['windowsize_4',['windowSize',['../d5/df0/structARC__EngineData.html#a1ff5a52e45bb535885a32d4a7c69c074',1,'ARC_EngineData']]] -]; diff --git a/doc/doxygen/html/search/all_16.js b/doc/doxygen/html/search/all_16.js deleted file mode 100644 index 0038ca5..0000000 --- a/doc/doxygen/html/search/all_16.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['x_0',['x',['../db/d67/structARC__Circle.html#a196606bfc9aea47c8a4d3a5ee950c81a',1,'ARC_Circle::x'],['../d4/d06/structARC__Obround.html#aa76f24b7b9ed595509ce86e814ce2e5c',1,'ARC_Obround::x'],['../dc/d00/structARC__FObround.html#a29c335c6916947305759b4bfd2668b54',1,'ARC_FObround::x'],['../d2/d9d/structARC__Point.html#aec135156ef69b46e71be21a02aad82e2',1,'ARC_Point::x'],['../db/df9/structARC__UPoint.html#a8128dc43d895658b09e15b03c04472c8',1,'ARC_UPoint::x'],['../d4/da4/structARC__FPoint.html#a836abc2e9de68f4b19f9a472f4f2c8e8',1,'ARC_FPoint::x'],['../d0/d18/structARC__Rect.html#a0c6f8364cb183d5fd271f2f6d9a11128',1,'ARC_Rect::x'],['../df/db0/structARC__URect.html#a1112fdb4112a325cac6fae39065c3019',1,'ARC_URect::x'],['../dd/d4d/structARC__FRect.html#a7c5955f28e78ffd886648a54d73d55d8',1,'ARC_FRect::x'],['../db/d86/structARC__Vector2.html#a42edc95888c030b994268da65efc7e2d',1,'ARC_Vector2::x'],['../d3/ddb/structARC__DVector2.html#a9b7bf7a423d9c312eab13067cc857e9c',1,'ARC_DVector2::x']]] -]; diff --git a/doc/doxygen/html/search/all_17.js b/doc/doxygen/html/search/all_17.js deleted file mode 100644 index 2937eb6..0000000 --- a/doc/doxygen/html/search/all_17.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['y_0',['y',['../db/d67/structARC__Circle.html#a52a54cbbbaea9e6f57de2cd39eb3275d',1,'ARC_Circle::y'],['../d4/d06/structARC__Obround.html#aaf9160914e7d76682f8507afed6679de',1,'ARC_Obround::y'],['../dc/d00/structARC__FObround.html#a11afe731f51dbba3e709fc5a117eb650',1,'ARC_FObround::y'],['../d2/d9d/structARC__Point.html#a0b72b34f989c0351e5e64ba0b46bac8c',1,'ARC_Point::y'],['../db/df9/structARC__UPoint.html#ac3674a97016f4f40d42e94f169353ad0',1,'ARC_UPoint::y'],['../d4/da4/structARC__FPoint.html#ac39348367f4d08419e2893a574d92dde',1,'ARC_FPoint::y'],['../d0/d18/structARC__Rect.html#a33859912d1bcd75496e12de4e3a08a3c',1,'ARC_Rect::y'],['../df/db0/structARC__URect.html#aea6f8bd42108b90e8cc32e89edd746cb',1,'ARC_URect::y'],['../dd/d4d/structARC__FRect.html#a460013a43c318245a00b717165431387',1,'ARC_FRect::y'],['../db/d86/structARC__Vector2.html#a8bff4a083df18e51a0792c0c837344f0',1,'ARC_Vector2::y'],['../d3/ddb/structARC__DVector2.html#a21039c3c1138375a367cfb069e5d3140',1,'ARC_DVector2::y']]], - ['year_1',['year',['../da/dba/structARC__Time.html#a0868e95272e5c94b6c66d9e4d0de2c7e',1,'ARC_Time']]] -]; diff --git a/doc/doxygen/html/search/all_18.js b/doc/doxygen/html/search/all_18.js deleted file mode 100644 index 2937eb6..0000000 --- a/doc/doxygen/html/search/all_18.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['y_0',['y',['../db/d67/structARC__Circle.html#a52a54cbbbaea9e6f57de2cd39eb3275d',1,'ARC_Circle::y'],['../d4/d06/structARC__Obround.html#aaf9160914e7d76682f8507afed6679de',1,'ARC_Obround::y'],['../dc/d00/structARC__FObround.html#a11afe731f51dbba3e709fc5a117eb650',1,'ARC_FObround::y'],['../d2/d9d/structARC__Point.html#a0b72b34f989c0351e5e64ba0b46bac8c',1,'ARC_Point::y'],['../db/df9/structARC__UPoint.html#ac3674a97016f4f40d42e94f169353ad0',1,'ARC_UPoint::y'],['../d4/da4/structARC__FPoint.html#ac39348367f4d08419e2893a574d92dde',1,'ARC_FPoint::y'],['../d0/d18/structARC__Rect.html#a33859912d1bcd75496e12de4e3a08a3c',1,'ARC_Rect::y'],['../df/db0/structARC__URect.html#aea6f8bd42108b90e8cc32e89edd746cb',1,'ARC_URect::y'],['../dd/d4d/structARC__FRect.html#a460013a43c318245a00b717165431387',1,'ARC_FRect::y'],['../db/d86/structARC__Vector2.html#a8bff4a083df18e51a0792c0c837344f0',1,'ARC_Vector2::y'],['../d3/ddb/structARC__DVector2.html#a21039c3c1138375a367cfb069e5d3140',1,'ARC_DVector2::y']]], - ['year_1',['year',['../da/dba/structARC__Time.html#a0868e95272e5c94b6c66d9e4d0de2c7e',1,'ARC_Time']]] -]; diff --git a/doc/doxygen/html/search/all_2.js b/doc/doxygen/html/search/all_2.js deleted file mode 100644 index cff512a..0000000 --- a/doc/doxygen/html/search/all_2.js +++ /dev/null @@ -1,9 +0,0 @@ -var searchData= -[ - ['chemical_2eh_0',['chemical.h',['../de/de8/chemical_8h.html',1,'']]], - ['circle_2eh_1',['circle.h',['../d8/d79/graphics_2circle_8h.html',1,'(Global Namespace)'],['../d9/d17/math_2circle_8h.html',1,'(Global Namespace)']]], - ['color_2eh_2',['color.h',['../da/dec/color_8h.html',1,'']]], - ['config_2eh_3',['config.h',['../df/df7/audio_2config_8h.html',1,'(Global Namespace)'],['../d9/d9f/graphics_2config_8h.html',1,'(Global Namespace)'],['../d8/dec/math_2config_8h.html',1,'(Global Namespace)'],['../d3/d58/std_2config_8h.html',1,'(Global Namespace)'],['../d2/d8b/std_2defaults_2config_8h.html',1,'(Global Namespace)']]], - ['csv_2eh_4',['csv.h',['../d3/d8e/csv_8h.html',1,'']]], - ['currentline_5',['currentLine',['../d9/d4c/structARC__ConsoleShell.html#aa8671d3299f3352e0a7639464d9eb2d1',1,'ARC_ConsoleShell']]] -]; diff --git a/doc/doxygen/html/search/all_3.js b/doc/doxygen/html/search/all_3.js deleted file mode 100644 index f0e9c66..0000000 --- a/doc/doxygen/html/search/all_3.js +++ /dev/null @@ -1,11 +0,0 @@ -var searchData= -[ - ['data_0',['data',['../db/df9/structARC__State.html#a3a952ed90074bd915b0596867cb54ac8',1,'ARC_State::data'],['../d3/dac/structARC__Array.html#ae7e74194966638885ae27bfea40ef490',1,'ARC_Array::data'],['../d6/df5/structARC__HashtableNode.html#ae2e0ef82b1e7a2398ae170f5cc2146c4',1,'ARC_HashtableNode::data'],['../d2/d37/structARC__LexerToken.html#acd5e79928adf611401e2c5fe0decf1ea',1,'ARC_LexerToken::data'],['../d4/d71/structARC__ParserCSVData.html#a9ce22b09eeb2a6f9f393092080ca5dc5',1,'ARC_ParserCSVData::data'],['../df/d06/structARC__String.html#afb2481930983f2d2b40dc650ec0f7f9e',1,'ARC_String::data']]], - ['day_1',['day',['../da/dba/structARC__Time.html#a2a9169423e341331c85ecc39caadd783',1,'ARC_Time']]], - ['daylightsavingsflag_2',['daylightSavingsFlag',['../da/dba/structARC__Time.html#aeb601e28e2f709014ec618beeb8f06a3',1,'ARC_Time']]], - ['dayofmonth_3',['dayOfMonth',['../da/dba/structARC__Time.html#a5c43f775fe3bdada2159d1862dc7bc8e',1,'ARC_Time']]], - ['dayofweek_4',['dayOfWeek',['../da/dba/structARC__Time.html#a2f1090e8effc74bedced74b774fdf2cb',1,'ARC_Time']]], - ['destroyautomatadatafn_5',['destroyAutomataDataFn',['../d5/dbd/structARC__LexerTokenRule.html#ae975dcd0218d660d1393e4762c452c86',1,'ARC_LexerTokenRule']]], - ['documentation_6',['Archeus Documentation',['../index.html',1,'']]], - ['dt_7',['dt',['../d5/df0/structARC__EngineData.html#af22bf314211d564bdcddba63a1a16987',1,'ARC_EngineData']]] -]; diff --git a/doc/doxygen/html/search/all_4.js b/doc/doxygen/html/search/all_4.js deleted file mode 100644 index c30a84c..0000000 --- a/doc/doxygen/html/search/all_4.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['ecs_2eh_0',['ecs.h',['../d3/d76/ecs_8h.html',1,'']]], - ['element_2eh_1',['element.h',['../d4/dfe/element_8h.html',1,'']]], - ['engine_2eh_2',['engine.h',['../d1/d55/engine_8h.html',1,'']]], - ['errno_2eh_3',['errno.h',['../d8/dc2/errno_8h.html',1,'']]] -]; diff --git a/doc/doxygen/html/search/all_5.js b/doc/doxygen/html/search/all_5.js deleted file mode 100644 index 59e2041..0000000 --- a/doc/doxygen/html/search/all_5.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['flags_0',['flags',['../db/db4/structARC__ConsoleElement.html#af403dcf178b1cdfa84a78b13dfb28b88',1,'ARC_ConsoleElement']]] -]; diff --git a/doc/doxygen/html/search/all_6.js b/doc/doxygen/html/search/all_6.js deleted file mode 100644 index f0becee..0000000 --- a/doc/doxygen/html/search/all_6.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['g_0',['g',['../d2/d30/structARC__Color.html#a99f9ff927c0b0ebc374dee25b692a2d7',1,'ARC_Color']]] -]; diff --git a/doc/doxygen/html/search/all_7.js b/doc/doxygen/html/search/all_7.js deleted file mode 100644 index 2abef85..0000000 --- a/doc/doxygen/html/search/all_7.js +++ /dev/null @@ -1,13 +0,0 @@ -var searchData= -[ - ['h_0',['h',['../d1/d1a/structARC__WindowInfo.html#a2e8d943e367f5c64db65e21ef92fcfd8',1,'ARC_WindowInfo::h'],['../d4/d06/structARC__Obround.html#aed164dae5e8ad2ba41f06b97375aa368',1,'ARC_Obround::h'],['../dc/d00/structARC__FObround.html#a224ead9c93ca729a1eb6e7e04d0169d6',1,'ARC_FObround::h'],['../d0/d18/structARC__Rect.html#a75f17b793a867572a521906a514a312b',1,'ARC_Rect::h'],['../df/db0/structARC__URect.html#aac6c8c170e32ecc3d9485d963383f762',1,'ARC_URect::h'],['../dd/d4d/structARC__FRect.html#ace1a858037a966ec9b3135ee118b3cc4',1,'ARC_FRect::h']]], - ['handler_2eh_1',['handler.h',['../dd/dee/handler_8h.html',1,'']]], - ['hasheader_2',['hasHeader',['../d4/d71/structARC__ParserCSVData.html#ad684db35a35f08444d2b90ce5623b9d4',1,'ARC_ParserCSVData']]], - ['hashtable_2eh_3',['hashtable.h',['../dd/d16/hashtable_8h.html',1,'']]], - ['headers_4',['headers',['../d4/d71/structARC__ParserCSVData.html#aa1535c7396d2e10756f6b16fc82deb0a',1,'ARC_ParserCSVData']]], - ['height_5',['height',['../d4/d71/structARC__ParserCSVData.html#a007d18ed02286f4caa9e08212c58383a',1,'ARC_ParserCSVData']]], - ['helpers_2eh_6',['helpers.h',['../d1/d98/helpers_8h.html',1,'']]], - ['history_7',['history',['../d9/d4c/structARC__ConsoleShell.html#a88f6d6daf79f0464766ae1a912eac0fa',1,'ARC_ConsoleShell']]], - ['historyindex_8',['historyIndex',['../d9/d4c/structARC__ConsoleShell.html#ad860e9556c262f6d02240589c5099b8f',1,'ARC_ConsoleShell']]], - ['hour_9',['hour',['../da/dba/structARC__Time.html#ae005a5f84468e1132d30e3236cdc438c',1,'ARC_Time']]] -]; diff --git a/doc/doxygen/html/search/all_8.js b/doc/doxygen/html/search/all_8.js deleted file mode 100644 index e3dfc77..0000000 --- a/doc/doxygen/html/search/all_8.js +++ /dev/null @@ -1,9 +0,0 @@ -var searchData= -[ - ['id_0',['id',['../d5/dbd/structARC__LexerTokenRule.html#a044f04cffdb07319ee13e17324bb1c9c',1,'ARC_LexerTokenRule::id'],['../dc/d37/structARC__ParserTagToken.html#accb5ab8ebfe20e84ae7a10711e7d188b',1,'ARC_ParserTagToken::id']]], - ['index_2emd_1',['index.md',['../df/dcf/index_8md.html',1,'']]], - ['input_2',['input',['../d5/df0/structARC__EngineData.html#a382729bc9e0bdd577fce3b1a204636ec',1,'ARC_EngineData']]], - ['input_2eh_3',['input.h',['../de/ded/input_8h.html',1,'']]], - ['introduction_4',['Introduction',['../index.html#autotoc_md1',1,'']]], - ['io_2eh_5',['io.h',['../dc/dac/io_8h.html',1,'']]] -]; diff --git a/doc/doxygen/html/search/all_9.js b/doc/doxygen/html/search/all_9.js deleted file mode 100644 index ba00860..0000000 --- a/doc/doxygen/html/search/all_9.js +++ /dev/null @@ -1,8 +0,0 @@ -var searchData= -[ - ['key_0',['key',['../d6/df5/structARC__HashtableNode.html#a7f1ed9b69870d5500a536a76821d6c48',1,'ARC_HashtableNode']]], - ['key_2eh_1',['key.h',['../de/de5/key_8h.html',1,'']]], - ['keyboard_2',['keyboard',['../d5/df0/structARC__EngineData.html#a4b27ffc245ac5a29fdcb6ae2e1351752',1,'ARC_EngineData']]], - ['keyboard_2eh_3',['keyboard.h',['../d6/da0/keyboard_8h.html',1,'(Global Namespace)'],['../d6/dad/none_2keyboard_8h.html',1,'(Global Namespace)']]], - ['keysize_4',['keysize',['../d6/df5/structARC__HashtableNode.html#ab90952c76bd8bed6177055b49f39ec58',1,'ARC_HashtableNode']]] -]; diff --git a/doc/doxygen/html/search/all_a.js b/doc/doxygen/html/search/all_a.js deleted file mode 100644 index 5b50c24..0000000 --- a/doc/doxygen/html/search/all_a.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['length_0',['length',['../df/d06/structARC__String.html#ad7813ac0c9b769214e02c6eec509c1d7',1,'ARC_String']]], - ['lexer_2eh_1',['lexer.h',['../d5/df3/lexer_8h.html',1,'']]], - ['library_2',['Standard Library',['../de/d96/library.html',1,'']]], - ['line_2eh_3',['line.h',['../d7/d5d/line_8h.html',1,'']]] -]; diff --git a/doc/doxygen/html/search/all_b.js b/doc/doxygen/html/search/all_b.js deleted file mode 100644 index 6727c6b..0000000 --- a/doc/doxygen/html/search/all_b.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['minutes_0',['minutes',['../da/dba/structARC__Time.html#a8c565e90558bc91410c58a92d886b617',1,'ARC_Time']]], - ['month_1',['month',['../da/dba/structARC__Time.html#a0ab8ffc0607c9c29418d14c70cfe641c',1,'ARC_Time']]], - ['mouse_2',['mouse',['../d5/df0/structARC__EngineData.html#adbcb8ddc2797b28998ec34540bc1e85c',1,'ARC_EngineData']]], - ['mouse_2eh_3',['mouse.h',['../dc/ded/mouse_8h.html',1,'(Global Namespace)'],['../d3/dcc/none_2mouse_8h.html',1,'(Global Namespace)']]] -]; diff --git a/doc/doxygen/html/search/all_c.js b/doc/doxygen/html/search/all_c.js deleted file mode 100644 index dc8966f..0000000 --- a/doc/doxygen/html/search/all_c.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['node_0',['node',['../d6/df5/structARC__HashtableNode.html#aa1ba49d61ffc1c0426f68bfb8adebdae',1,'ARC_HashtableNode']]] -]; diff --git a/doc/doxygen/html/search/all_d.js b/doc/doxygen/html/search/all_d.js deleted file mode 100644 index 5c4579c..0000000 --- a/doc/doxygen/html/search/all_d.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['obround_2eh_0',['obround.h',['../d2/dba/graphics_2obround_8h.html',1,'(Global Namespace)'],['../d3/d66/math_2obround_8h.html',1,'(Global Namespace)']]] -]; diff --git a/doc/doxygen/html/search/all_e.js b/doc/doxygen/html/search/all_e.js deleted file mode 100644 index a1d252d..0000000 --- a/doc/doxygen/html/search/all_e.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['parser_2eh_0',['parser.h',['../d5/d36/parser_8h.html',1,'']]], - ['parserlang_2eh_1',['parserlang.h',['../dd/d0d/parserlang_8h.html',1,'']]], - ['point_2eh_2',['point.h',['../d2/d91/point_8h.html',1,'']]], - ['pos_3',['pos',['../db/db4/structARC__ConsoleElement.html#aa6f0764da84f8c5d4ab8b71b94f3a65a',1,'ARC_ConsoleElement']]] -]; diff --git a/doc/doxygen/html/search/all_f.js b/doc/doxygen/html/search/all_f.js deleted file mode 100644 index ef57f62..0000000 --- a/doc/doxygen/html/search/all_f.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['queue_2eh_0',['queue.h',['../d8/d38/queue_8h.html',1,'']]] -]; diff --git a/doc/doxygen/html/search/classes_0.js b/doc/doxygen/html/search/classes_0.js deleted file mode 100644 index 50be3a1..0000000 --- a/doc/doxygen/html/search/classes_0.js +++ /dev/null @@ -1,30 +0,0 @@ -var searchData= -[ - ['arc_5farray_0',['ARC_Array',['../d3/dac/structARC__Array.html',1,'']]], - ['arc_5fcircle_1',['ARC_Circle',['../db/d67/structARC__Circle.html',1,'']]], - ['arc_5fcolor_2',['ARC_Color',['../d2/d30/structARC__Color.html',1,'']]], - ['arc_5fconsoleelement_3',['ARC_ConsoleElement',['../db/db4/structARC__ConsoleElement.html',1,'']]], - ['arc_5fconsoleshell_4',['ARC_ConsoleShell',['../d9/d4c/structARC__ConsoleShell.html',1,'']]], - ['arc_5fdvector2_5',['ARC_DVector2',['../d3/ddb/structARC__DVector2.html',1,'']]], - ['arc_5fenginedata_6',['ARC_EngineData',['../d5/df0/structARC__EngineData.html',1,'']]], - ['arc_5ffobround_7',['ARC_FObround',['../dc/d00/structARC__FObround.html',1,'']]], - ['arc_5ffpoint_8',['ARC_FPoint',['../d4/da4/structARC__FPoint.html',1,'']]], - ['arc_5ffrect_9',['ARC_FRect',['../dd/d4d/structARC__FRect.html',1,'']]], - ['arc_5fhashtablenode_10',['ARC_HashtableNode',['../d6/df5/structARC__HashtableNode.html',1,'']]], - ['arc_5flexertoken_11',['ARC_LexerToken',['../d2/d37/structARC__LexerToken.html',1,'']]], - ['arc_5flexertokenrule_12',['ARC_LexerTokenRule',['../d5/dbd/structARC__LexerTokenRule.html',1,'']]], - ['arc_5fobround_13',['ARC_Obround',['../d4/d06/structARC__Obround.html',1,'']]], - ['arc_5fparsercsvdata_14',['ARC_ParserCSVData',['../d4/d71/structARC__ParserCSVData.html',1,'']]], - ['arc_5fparsertag_15',['ARC_ParserTag',['../d3/d0a/structARC__ParserTag.html',1,'']]], - ['arc_5fparsertagtoken_16',['ARC_ParserTagToken',['../dc/d37/structARC__ParserTagToken.html',1,'']]], - ['arc_5fpoint_17',['ARC_Point',['../d2/d9d/structARC__Point.html',1,'']]], - ['arc_5frect_18',['ARC_Rect',['../d0/d18/structARC__Rect.html',1,'']]], - ['arc_5fstate_19',['ARC_State',['../db/df9/structARC__State.html',1,'']]], - ['arc_5fstring_20',['ARC_String',['../df/d06/structARC__String.html',1,'']]], - ['arc_5ftime_21',['ARC_Time',['../da/dba/structARC__Time.html',1,'']]], - ['arc_5fupoint_22',['ARC_UPoint',['../db/df9/structARC__UPoint.html',1,'']]], - ['arc_5furect_23',['ARC_URect',['../df/db0/structARC__URect.html',1,'']]], - ['arc_5fvector2_24',['ARC_Vector2',['../db/d86/structARC__Vector2.html',1,'']]], - ['arc_5fview_25',['ARC_View',['../dc/d18/structARC__View.html',1,'']]], - ['arc_5fwindowinfo_26',['ARC_WindowInfo',['../d1/d1a/structARC__WindowInfo.html',1,'']]] -]; diff --git a/doc/doxygen/html/search/close.svg b/doc/doxygen/html/search/close.svg deleted file mode 100644 index 337d6cc..0000000 --- a/doc/doxygen/html/search/close.svg +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - diff --git a/doc/doxygen/html/search/defines_0.js b/doc/doxygen/html/search/defines_0.js deleted file mode 100644 index 7f5f1c6..0000000 --- a/doc/doxygen/html/search/defines_0.js +++ /dev/null @@ -1,121 +0,0 @@ -var searchData= -[ - ['arc_5fbool_0',['ARC_Bool',['../d8/d77/bool_8h.html#aad51710c999c22d9440e5ce0ba8e2c45',1,'bool.h']]], - ['arc_5fconfig_5ffile_5fio_5fload_1',['ARC_CONFIG_FILE_IO_LOAD',['../d3/d58/std_2config_8h.html#a696d760ea66fed20ff42c3aaac0f9609',1,'config.h']]], - ['arc_5fconfig_5ffile_5fio_5funload_2',['ARC_CONFIG_FILE_IO_UNLOAD',['../d3/d58/std_2config_8h.html#a101688a6bcee61c9a68cdc4a9fea8ce6',1,'config.h']]], - ['arc_5fconsole_5felement_5fflag_5fnone_3',['ARC_CONSOLE_ELEMENT_FLAG_NONE',['../d4/dfe/element_8h.html#a1dd59e621144efa0ceedcbdc5693072f',1,'element.h']]], - ['arc_5fconsole_5felement_5fflag_5fselectable_4',['ARC_CONSOLE_ELEMENT_FLAG_SELECTABLE',['../d4/dfe/element_8h.html#a32cf977a950aaf64832f72909f281349',1,'element.h']]], - ['arc_5fconsole_5felement_5fflag_5fselected_5',['ARC_CONSOLE_ELEMENT_FLAG_SELECTED',['../d4/dfe/element_8h.html#a2a3192b1bac0000e7085c77338d7eac1',1,'element.h']]], - ['arc_5fconsole_5fview_5fattribute_5fnone_6',['ARC_CONSOLE_VIEW_ATTRIBUTE_NONE',['../d6/d7e/console_2view_8h.html#a8dba2fb38e0f1864ae34a753831a0d20',1,'view.h']]], - ['arc_5fconsole_5fview_5fattribute_5freverse_7',['ARC_CONSOLE_VIEW_ATTRIBUTE_REVERSE',['../d6/d7e/console_2view_8h.html#a770bc33ad78dca98b8ebf405324b8d52',1,'view.h']]], - ['arc_5fconsole_5fview_5fborder_5fdefault_8',['ARC_CONSOLE_VIEW_BORDER_DEFAULT',['../d6/d7e/console_2view_8h.html#a30d038b7af9bec1386f4e3f8a4eea31e',1,'view.h']]], - ['arc_5fconsole_5fview_5fborder_5fnone_9',['ARC_CONSOLE_VIEW_BORDER_NONE',['../d6/d7e/console_2view_8h.html#a113fd84b20e4f04a65e1d4c40ecfd5e4',1,'view.h']]], - ['arc_5fconsole_5fview_5fcursor_5fhidden_10',['ARC_CONSOLE_VIEW_CURSOR_HIDDEN',['../d6/d7e/console_2view_8h.html#a2a63d43486d880b44c150c0d012e7b80',1,'view.h']]], - ['arc_5fconsole_5fview_5fcursor_5fvisible_11',['ARC_CONSOLE_VIEW_CURSOR_VISIBLE',['../d6/d7e/console_2view_8h.html#a2c2298814cd9d858a41bf6bb88e39825',1,'view.h']]], - ['arc_5fdebug_5flog_5ferror_12',['ARC_DEBUG_LOG_ERROR',['../d8/dc2/errno_8h.html#ad32a4f194b90c9ede4e393c0d4185590',1,'errno.h']]], - ['arc_5fdebug_5flog_5ferror_5fwith_5fvariables_13',['ARC_DEBUG_LOG_ERROR_WITH_VARIABLES',['../d8/dc2/errno_8h.html#a8cbc7f5b6cb9e20d3993284f0f80ec83',1,'errno.h']]], - ['arc_5ferrno_5fconnection_14',['ARC_ERRNO_CONNECTION',['../d8/dc2/errno_8h.html#a12df35ef61d8cceea6360b586d09e5d1',1,'errno.h']]], - ['arc_5ferrno_5fcopy_15',['ARC_ERRNO_COPY',['../d8/dc2/errno_8h.html#aa8ca3b35dda6b146df8a28cbe1f76eef',1,'errno.h']]], - ['arc_5ferrno_5fdata_16',['ARC_ERRNO_DATA',['../d8/dc2/errno_8h.html#af21596945a4d9ac142fe4cfef53e7a80',1,'errno.h']]], - ['arc_5ferrno_5fexists_17',['ARC_ERRNO_EXISTS',['../d8/dc2/errno_8h.html#a8e94c5f81f1e033579b03ed588c13793',1,'errno.h']]], - ['arc_5ferrno_5finit_18',['ARC_ERRNO_INIT',['../d8/dc2/errno_8h.html#a61385aa4667afd29081519dbf55f4198',1,'errno.h']]], - ['arc_5ferrno_5fnull_19',['ARC_ERRNO_NULL',['../d8/dc2/errno_8h.html#ab626cdbbebc1ac9abd1548a5f6f6195b',1,'errno.h']]], - ['arc_5ferrno_5foverflow_20',['ARC_ERRNO_OVERFLOW',['../d8/dc2/errno_8h.html#a9d88eecae5e1850a90ae502999ca5a73',1,'errno.h']]], - ['arc_5ffalse_21',['ARC_False',['../d8/d77/bool_8h.html#aa63660d755fd84cd9f4b01bbf87b36fd',1,'bool.h']]], - ['arc_5fgroup_5fbucket_5fsize_22',['ARC_GROUP_BUCKET_SIZE',['../d3/d58/std_2config_8h.html#aebe7e30736515ea92af7365a8c05e269',1,'config.h']]], - ['arc_5fgroup_5fdata_5fbucket_5fsize_23',['ARC_GROUP_DATA_BUCKET_SIZE',['../d3/d58/std_2config_8h.html#a2979878127e519a90fc5276c19405a55',1,'config.h']]], - ['arc_5fkey_5fbucket_5fsize_24',['ARC_KEY_BUCKET_SIZE',['../d3/d58/std_2config_8h.html#aa8d55a1d202b495b292e51919ee099d1',1,'config.h']]], - ['arc_5fkeyboard_5fbutton_5fnum_25',['ARC_KEYBOARD_BUTTON_NUM',['../d6/da0/keyboard_8h.html#aaaadee1d75ed1e94bcb0676f2591c5a4',1,'keyboard.h']]], - ['arc_5flexer_5ftoken_5falpha_5flower_5fchar_26',['ARC_LEXER_TOKEN_ALPHA_LOWER_CHAR',['../d5/df3/lexer_8h.html#acbfaaa4882426f9a4586adc28004c4a9',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5falpha_5fupper_5fchar_27',['ARC_LEXER_TOKEN_ALPHA_UPPER_CHAR',['../d5/df3/lexer_8h.html#a12dca3db4664b48ac7b7930845e3f0b5',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fat_5fchar_28',['ARC_LEXER_TOKEN_AT_CHAR',['../d5/df3/lexer_8h.html#a7a7783d384eefb423ef2f16784095193',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fat_5fid_29',['ARC_LEXER_TOKEN_AT_ID',['../d5/df3/lexer_8h.html#a66029f9623154f65903ca5f0c94271f3',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fat_5ftag_30',['ARC_LEXER_TOKEN_AT_TAG',['../d5/df3/lexer_8h.html#a4032d8e35e7265f44193dd648a79feeb',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fback_5fslash_5fchar_31',['ARC_LEXER_TOKEN_BACK_SLASH_CHAR',['../d5/df3/lexer_8h.html#ad2264457e3e1ce1812bb333a355fe2c5',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fback_5fslash_5fid_32',['ARC_LEXER_TOKEN_BACK_SLASH_ID',['../d5/df3/lexer_8h.html#ac0bf4c6f183eb6964457c6b75dcf2559',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fback_5fslash_5ftag_33',['ARC_LEXER_TOKEN_BACK_SLASH_TAG',['../d5/df3/lexer_8h.html#ab9fd8e4e84a33ff8532ed7d0844e9a93',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fbang_5fchar_34',['ARC_LEXER_TOKEN_BANG_CHAR',['../d5/df3/lexer_8h.html#a8a22341977447549ffdc6e148968cdd3',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fbang_5fid_35',['ARC_LEXER_TOKEN_BANG_ID',['../d5/df3/lexer_8h.html#ac1facbe634a52b2e5574810af95e37d7',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fbang_5ftag_36',['ARC_LEXER_TOKEN_BANG_TAG',['../d5/df3/lexer_8h.html#af95c63a510b7ad72568302973e575661',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fcolon_5fchar_37',['ARC_LEXER_TOKEN_COLON_CHAR',['../d5/df3/lexer_8h.html#a7d91762b983dfec20c61144fe4c9a054',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fcolon_5fid_38',['ARC_LEXER_TOKEN_COLON_ID',['../d5/df3/lexer_8h.html#ad38ac0d96e0a5a97be13643323826e69',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fcolon_5ftag_39',['ARC_LEXER_TOKEN_COLON_TAG',['../d5/df3/lexer_8h.html#a5293226a069fcce4d748dfe25ea28db6',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fcomma_5fchar_40',['ARC_LEXER_TOKEN_COMMA_CHAR',['../d5/df3/lexer_8h.html#a6250250207f50276b3c99de8c86809b6',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fcomma_5fid_41',['ARC_LEXER_TOKEN_COMMA_ID',['../d5/df3/lexer_8h.html#aa936d2fd37b867dda6af8eec8ecaa88d',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fcomma_5ftag_42',['ARC_LEXER_TOKEN_COMMA_TAG',['../d5/df3/lexer_8h.html#ad39b482565589e133ab190813fe38d1c',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fforward_5fslash_5fchar_43',['ARC_LEXER_TOKEN_FORWARD_SLASH_CHAR',['../d5/df3/lexer_8h.html#aca9ee4ab4749f8817659841ec615dfce',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fforward_5fslash_5fid_44',['ARC_LEXER_TOKEN_FORWARD_SLASH_ID',['../d5/df3/lexer_8h.html#a0c8b18c3c26ad7ee828f77a8c29301e5',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fforward_5fslash_5ftag_45',['ARC_LEXER_TOKEN_FORWARD_SLASH_TAG',['../d5/df3/lexer_8h.html#ab8fe2fa9b377c8bad5abd27a1eade1fd',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fhash_5fchar_46',['ARC_LEXER_TOKEN_HASH_CHAR',['../d5/df3/lexer_8h.html#afb07206d57135f2002d113eff71b8603',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fhash_5fid_47',['ARC_LEXER_TOKEN_HASH_ID',['../d5/df3/lexer_8h.html#ab5f44b2c57ec755662e6b4cc31305763',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fhash_5ftag_48',['ARC_LEXER_TOKEN_HASH_TAG',['../d5/df3/lexer_8h.html#a1b26293fe02055053431f8e62e060b9f',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fleft_5fcurly_5fbrace_5fchar_49',['ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_CHAR',['../d5/df3/lexer_8h.html#af5ec79c2c40d444874360c71e91cde5e',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fleft_5fcurly_5fbrace_5fid_50',['ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_ID',['../d5/df3/lexer_8h.html#a7effdeb40e661cf783490e14b255aad9',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fleft_5fcurly_5fbrace_5ftag_51',['ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_TAG',['../d5/df3/lexer_8h.html#a326fa43dd2a63993bd7d9f33db5198ef',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fleft_5fparenthesis_5fchar_52',['ARC_LEXER_TOKEN_LEFT_PARENTHESIS_CHAR',['../d5/df3/lexer_8h.html#a3ccee7de395056e03e7e7df0de63bc13',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fleft_5fparenthesis_5fid_53',['ARC_LEXER_TOKEN_LEFT_PARENTHESIS_ID',['../d5/df3/lexer_8h.html#ae44573fa8818c62b544efe00a1a52bd4',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fleft_5fparenthesis_5ftag_54',['ARC_LEXER_TOKEN_LEFT_PARENTHESIS_TAG',['../d5/df3/lexer_8h.html#a0d3de6fa1b15d0281511afc2a84ae9bb',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fnewline_5fchar_55',['ARC_LEXER_TOKEN_NEWLINE_CHAR',['../d5/df3/lexer_8h.html#abb0b66a2744366b326c8829753646c0d',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fnewline_5fid_56',['ARC_LEXER_TOKEN_NEWLINE_ID',['../d5/df3/lexer_8h.html#aa3d5af57f465f294132a443dae162dfa',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fnull_57',['ARC_LEXER_TOKEN_NULL',['../d5/df3/lexer_8h.html#a4e9237d6afe95b3a15c0dbbda31be332',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fnumber_58',['ARC_LEXER_TOKEN_NUMBER',['../d5/df3/lexer_8h.html#af8e71317b3d348e031b9341b5a53686f',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fpercent_5fchar_59',['ARC_LEXER_TOKEN_PERCENT_CHAR',['../d5/df3/lexer_8h.html#a333616987d461f204dda5639f95e089b',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fpercent_5fid_60',['ARC_LEXER_TOKEN_PERCENT_ID',['../d5/df3/lexer_8h.html#a255142bb5e2e24cdb47933888c1abf0b',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fpercent_5ftag_61',['ARC_LEXER_TOKEN_PERCENT_TAG',['../d5/df3/lexer_8h.html#a9d5789282edf5bf15d3073f0af374a0e',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fperiod_5fchar_62',['ARC_LEXER_TOKEN_PERIOD_CHAR',['../d5/df3/lexer_8h.html#a19d98980187c79d6a2ad3df8e01b11f4',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fperiod_5fid_63',['ARC_LEXER_TOKEN_PERIOD_ID',['../d5/df3/lexer_8h.html#a4c8a1519b49b37ec99643705a20e8a00',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fperiod_5ftag_64',['ARC_LEXER_TOKEN_PERIOD_TAG',['../d5/df3/lexer_8h.html#a6e76529a54f15d0d9dd4c0ca6399353c',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fright_5fcurly_5fbrace_5fchar_65',['ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_CHAR',['../d5/df3/lexer_8h.html#a5d3d1a7900a1618d0a0326249055e92e',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fright_5fcurly_5fbrace_5fid_66',['ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_ID',['../d5/df3/lexer_8h.html#aab050a58f63466390f399fb375d8a9ff',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fright_5fcurly_5fbrace_5ftag_67',['ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_TAG',['../d5/df3/lexer_8h.html#a6add2d4c998f78fbdb8d18e5d75dc729',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fright_5fparenthesis_5fchar_68',['ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_CHAR',['../d5/df3/lexer_8h.html#af74acd7cfd8ee39e05d66e5a469ec00d',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fright_5fparenthesis_5fid_69',['ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_ID',['../d5/df3/lexer_8h.html#a7fb6afd315d1e644bbab3b3b343c164b',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fright_5fparenthesis_5ftag_70',['ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_TAG',['../d5/df3/lexer_8h.html#a45a03ad24e7eccccb13a11a1bdbce55d',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fsemicolon_5fchar_71',['ARC_LEXER_TOKEN_SEMICOLON_CHAR',['../d5/df3/lexer_8h.html#ad4708bf5048147da38eba6d2baf5010d',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fsemicolon_5fid_72',['ARC_LEXER_TOKEN_SEMICOLON_ID',['../d5/df3/lexer_8h.html#ac38c1572faebdf823616308b5cea1747',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fsemicolon_5ftag_73',['ARC_LEXER_TOKEN_SEMICOLON_TAG',['../d5/df3/lexer_8h.html#a1e19a41be65ea39e9e853b23d64df03d',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fwhitespace_74',['ARC_LEXER_TOKEN_WHITESPACE',['../d5/df3/lexer_8h.html#a08fc384c1dd0c911a4d97396262159c6',1,'lexer.h']]], - ['arc_5fmouse_5fbutton_5fnum_75',['ARC_MOUSE_BUTTON_NUM',['../dc/ded/mouse_8h.html#acbb0b27e48bcb41ad29eef0f0e8eacef',1,'mouse.h']]], - ['arc_5fparser_5fcsv_5fchar_5fafter_5fcomma_76',['ARC_PARSER_CSV_CHAR_AFTER_COMMA',['../d3/d8e/csv_8h.html#a0d79651a73633c894e0f55b1a88b4d4e',1,'csv.h']]], - ['arc_5fparser_5fcsv_5fchar_5fbefore_5fcomma_77',['ARC_PARSER_CSV_CHAR_BEFORE_COMMA',['../d3/d8e/csv_8h.html#a7006ed284a3b3bf55308082c46446800',1,'csv.h']]], - ['arc_5fparser_5fcsv_5fchar_5fcomma_78',['ARC_PARSER_CSV_CHAR_COMMA',['../d3/d8e/csv_8h.html#a74bc8857c44f2c7ad95f7b2237623d0d',1,'csv.h']]], - ['arc_5fparser_5fcsv_5fchar_5fnewline_79',['ARC_PARSER_CSV_CHAR_NEWLINE',['../d3/d8e/csv_8h.html#ae2b0f683e0ab5681a69bc1d925a6b7c4',1,'csv.h']]], - ['arc_5fparser_5fcsv_5fdata_80',['ARC_PARSER_CSV_DATA',['../d3/d8e/csv_8h.html#a977281ee606db6e110e61401f47367c3',1,'csv.h']]], - ['arc_5fparser_5fcsv_5fline_81',['ARC_PARSER_CSV_LINE',['../d3/d8e/csv_8h.html#aa34663e48f224b2ad079a795578269a5',1,'csv.h']]], - ['arc_5fparser_5fcsv_5fnon_5fcomma_5fchar_82',['ARC_PARSER_CSV_NON_COMMA_CHAR',['../d3/d8e/csv_8h.html#ae4c160d7697375598b3d98f1852da166',1,'csv.h']]], - ['arc_5fparser_5fcsv_5fstring_83',['ARC_PARSER_CSV_STRING',['../d3/d8e/csv_8h.html#a9f2f5cbdf0327f81bcc883adba58b51e',1,'csv.h']]], - ['arc_5fparser_5ftag_5flambda_84',['ARC_PARSER_TAG_LAMBDA',['../d5/d36/parser_8h.html#a49859e4f0658f564f4236d2c4b317852',1,'parser.h']]], - ['arc_5fparserlang_5falpha_5fchar_85',['ARC_PARSERLANG_ALPHA_CHAR',['../dd/d0d/parserlang_8h.html#a26bced1dc31cab87860714f58464dc5d',1,'parserlang.h']]], - ['arc_5fparserlang_5fargument_86',['ARC_PARSERLANG_ARGUMENT',['../dd/d0d/parserlang_8h.html#ad3c3848b5e2106a6d2fba24e89481bf5',1,'parserlang.h']]], - ['arc_5fparserlang_5farguments_87',['ARC_PARSERLANG_ARGUMENTS',['../dd/d0d/parserlang_8h.html#ae0aa56780b5961a1ee8949370f838129',1,'parserlang.h']]], - ['arc_5fparserlang_5fbody_88',['ARC_PARSERLANG_BODY',['../dd/d0d/parserlang_8h.html#a4184b40c9e2f333d9a6db43d21ed8e7b',1,'parserlang.h']]], - ['arc_5fparserlang_5fconstant_89',['ARC_PARSERLANG_CONSTANT',['../dd/d0d/parserlang_8h.html#a527a491a52cbe0e42a4ee3d2fcda8546',1,'parserlang.h']]], - ['arc_5fparserlang_5fconstant_5fbody_90',['ARC_PARSERLANG_CONSTANT_BODY',['../dd/d0d/parserlang_8h.html#ac8d10d32ec407f9ce252d03e7eb0c761',1,'parserlang.h']]], - ['arc_5fparserlang_5fconstant_5fchar_91',['ARC_PARSERLANG_CONSTANT_CHAR',['../dd/d0d/parserlang_8h.html#a1de241ce3f0fd3773e00ce9eeb8456f2',1,'parserlang.h']]], - ['arc_5fparserlang_5flambda_92',['ARC_PARSERLANG_LAMBDA',['../dd/d0d/parserlang_8h.html#afaf8886df6fdb88e5df56f0cdc033e91',1,'parserlang.h']]], - ['arc_5fparserlang_5fline_93',['ARC_PARSERLANG_LINE',['../dd/d0d/parserlang_8h.html#aabe1dafe8e8328afe01f0df723734e40',1,'parserlang.h']]], - ['arc_5fparserlang_5ftag_94',['ARC_PARSERLANG_TAG',['../dd/d0d/parserlang_8h.html#a21679270caab125419d781e05481802f',1,'parserlang.h']]], - ['arc_5fparserlang_5ftag_5for_5fconstant_95',['ARC_PARSERLANG_TAG_OR_CONSTANT',['../dd/d0d/parserlang_8h.html#a7d0002a025022eeef1637bed40295969',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5falpha_5flower_5fchar_96',['ARC_PARSERLANG_TOKEN_ALPHA_LOWER_CHAR',['../dd/d0d/parserlang_8h.html#acb5252e40f02e6304a38995835d23896',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5falpha_5fupper_5fchar_97',['ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR',['../dd/d0d/parserlang_8h.html#aa4475914b22e971ac36ba52c54848f7f',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5farrow_5fcstring_98',['ARC_PARSERLANG_TOKEN_ARROW_CSTRING',['../dd/d0d/parserlang_8h.html#ae217edf3934390ccd57f9224b114cd48',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5farrow_5fid_99',['ARC_PARSERLANG_TOKEN_ARROW_ID',['../dd/d0d/parserlang_8h.html#a83121facd86dc4a0cc3228310dc377ef',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5fgreater_5fthan_5fchar_100',['ARC_PARSERLANG_TOKEN_GREATER_THAN_CHAR',['../dd/d0d/parserlang_8h.html#a71081597e34fe333b640375f382fd2a6',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5fgreater_5fthan_5fid_101',['ARC_PARSERLANG_TOKEN_GREATER_THAN_ID',['../dd/d0d/parserlang_8h.html#a8bb8ecbd4284a05a12fe6ba46ad3c19f',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5fless_5fthan_5fchar_102',['ARC_PARSERLANG_TOKEN_LESS_THAN_CHAR',['../dd/d0d/parserlang_8h.html#af203e25f3df12a3825c8616605134fd2',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5fless_5fthan_5fid_103',['ARC_PARSERLANG_TOKEN_LESS_THAN_ID',['../dd/d0d/parserlang_8h.html#a84ddb1d0fdfd0d262b4b838368591064',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5fnewline_5fchar_104',['ARC_PARSERLANG_TOKEN_NEWLINE_CHAR',['../dd/d0d/parserlang_8h.html#ab645ba55ae0f090766a926166204e196',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5fnewline_5fid_105',['ARC_PARSERLANG_TOKEN_NEWLINE_ID',['../dd/d0d/parserlang_8h.html#a29b70579ec48a2553b4e4c2f296428d8',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5fnull_106',['ARC_PARSERLANG_TOKEN_NULL',['../dd/d0d/parserlang_8h.html#ac265c2d97c817fe4370a07e46ea88e43',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5fnumber_107',['ARC_PARSERLANG_TOKEN_NUMBER',['../dd/d0d/parserlang_8h.html#a6b26e03e274fa0fcf5cb341323a4f54a',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5for_5fchar_108',['ARC_PARSERLANG_TOKEN_OR_CHAR',['../dd/d0d/parserlang_8h.html#a00918900ccbf8324d0d6876959089846',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5for_5fid_109',['ARC_PARSERLANG_TOKEN_OR_ID',['../dd/d0d/parserlang_8h.html#a8df8f00a076eab15a5d0477dae7c0510',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5funderscore_5fchar_110',['ARC_PARSERLANG_TOKEN_UNDERSCORE_CHAR',['../dd/d0d/parserlang_8h.html#a01772416712af136fb0921f1e78f1942',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5funderscore_5fid_111',['ARC_PARSERLANG_TOKEN_UNDERSCORE_ID',['../dd/d0d/parserlang_8h.html#adeb053f413b8278f80616a2f48ad52a0',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5fwhitespace_112',['ARC_PARSERLANG_TOKEN_WHITESPACE',['../dd/d0d/parserlang_8h.html#aa0c4f2cb7a1fe6c83f3ce16f6fd59782',1,'parserlang.h']]], - ['arc_5fparserlang_5fvariable_113',['ARC_PARSERLANG_VARIABLE',['../dd/d0d/parserlang_8h.html#aef2baf85767f40eef88c5d8abe4c9e34',1,'parserlang.h']]], - ['arc_5fparserlang_5fvariable_5fbody_114',['ARC_PARSERLANG_VARIABLE_BODY',['../dd/d0d/parserlang_8h.html#abf59d6bde3df61b93cbdb6cd3984650c',1,'parserlang.h']]], - ['arc_5fparserlang_5fvariable_5fchar_115',['ARC_PARSERLANG_VARIABLE_CHAR',['../dd/d0d/parserlang_8h.html#ac785c4cd4235937e7e1786cdd4519966',1,'parserlang.h']]], - ['arc_5fparserlang_5fwhitespace_116',['ARC_PARSERLANG_WHITESPACE',['../dd/d0d/parserlang_8h.html#a434b96dd9483742e4286e3dd41f27bd3',1,'parserlang.h']]], - ['arc_5ftrue_117',['ARC_True',['../d8/d77/bool_8h.html#aacf339cb8c71b994249ae02c662006cb',1,'bool.h']]] -]; diff --git a/doc/doxygen/html/search/defines_1.js b/doc/doxygen/html/search/defines_1.js deleted file mode 100644 index a9625f6..0000000 --- a/doc/doxygen/html/search/defines_1.js +++ /dev/null @@ -1,126 +0,0 @@ -var searchData= -[ - ['arc_5fbool_0',['ARC_Bool',['../d8/d77/bool_8h.html#aad51710c999c22d9440e5ce0ba8e2c45',1,'bool.h']]], - ['arc_5fcheck_1',['ARC_CHECK',['../d2/ddc/test_8h.html#a80a5a6a2cabbfcb7411cc34e31e38ca6',1,'test.h']]], - ['arc_5fconfig_5ffile_5fio_5fload_2',['ARC_CONFIG_FILE_IO_LOAD',['../d3/d58/std_2config_8h.html#a696d760ea66fed20ff42c3aaac0f9609',1,'config.h']]], - ['arc_5fconfig_5ffile_5fio_5funload_3',['ARC_CONFIG_FILE_IO_UNLOAD',['../d3/d58/std_2config_8h.html#a101688a6bcee61c9a68cdc4a9fea8ce6',1,'config.h']]], - ['arc_5fconsole_5felement_5fflag_5fnone_4',['ARC_CONSOLE_ELEMENT_FLAG_NONE',['../d4/dfe/element_8h.html#a1dd59e621144efa0ceedcbdc5693072f',1,'element.h']]], - ['arc_5fconsole_5felement_5fflag_5fselectable_5',['ARC_CONSOLE_ELEMENT_FLAG_SELECTABLE',['../d4/dfe/element_8h.html#a32cf977a950aaf64832f72909f281349',1,'element.h']]], - ['arc_5fconsole_5felement_5fflag_5fselected_6',['ARC_CONSOLE_ELEMENT_FLAG_SELECTED',['../d4/dfe/element_8h.html#a2a3192b1bac0000e7085c77338d7eac1',1,'element.h']]], - ['arc_5fconsole_5fview_5fattribute_5fnone_7',['ARC_CONSOLE_VIEW_ATTRIBUTE_NONE',['../d6/d7e/console_2view_8h.html#a8dba2fb38e0f1864ae34a753831a0d20',1,'view.h']]], - ['arc_5fconsole_5fview_5fattribute_5freverse_8',['ARC_CONSOLE_VIEW_ATTRIBUTE_REVERSE',['../d6/d7e/console_2view_8h.html#a770bc33ad78dca98b8ebf405324b8d52',1,'view.h']]], - ['arc_5fconsole_5fview_5fborder_5fdefault_9',['ARC_CONSOLE_VIEW_BORDER_DEFAULT',['../d6/d7e/console_2view_8h.html#a30d038b7af9bec1386f4e3f8a4eea31e',1,'view.h']]], - ['arc_5fconsole_5fview_5fborder_5fnone_10',['ARC_CONSOLE_VIEW_BORDER_NONE',['../d6/d7e/console_2view_8h.html#a113fd84b20e4f04a65e1d4c40ecfd5e4',1,'view.h']]], - ['arc_5fconsole_5fview_5fcursor_5fhidden_11',['ARC_CONSOLE_VIEW_CURSOR_HIDDEN',['../d6/d7e/console_2view_8h.html#a2a63d43486d880b44c150c0d012e7b80',1,'view.h']]], - ['arc_5fconsole_5fview_5fcursor_5fvisible_12',['ARC_CONSOLE_VIEW_CURSOR_VISIBLE',['../d6/d7e/console_2view_8h.html#a2c2298814cd9d858a41bf6bb88e39825',1,'view.h']]], - ['arc_5fdebug_5flog_5ferror_13',['ARC_DEBUG_LOG_ERROR',['../d8/dc2/errno_8h.html#ad32a4f194b90c9ede4e393c0d4185590',1,'errno.h']]], - ['arc_5fdebug_5flog_5ferror_5fwith_5fvariables_14',['ARC_DEBUG_LOG_ERROR_WITH_VARIABLES',['../d8/dc2/errno_8h.html#a8cbc7f5b6cb9e20d3993284f0f80ec83',1,'errno.h']]], - ['arc_5ferrno_5fconnection_15',['ARC_ERRNO_CONNECTION',['../d8/dc2/errno_8h.html#a12df35ef61d8cceea6360b586d09e5d1',1,'errno.h']]], - ['arc_5ferrno_5fcopy_16',['ARC_ERRNO_COPY',['../d8/dc2/errno_8h.html#aa8ca3b35dda6b146df8a28cbe1f76eef',1,'errno.h']]], - ['arc_5ferrno_5fdata_17',['ARC_ERRNO_DATA',['../d8/dc2/errno_8h.html#af21596945a4d9ac142fe4cfef53e7a80',1,'errno.h']]], - ['arc_5ferrno_5fexists_18',['ARC_ERRNO_EXISTS',['../d8/dc2/errno_8h.html#a8e94c5f81f1e033579b03ed588c13793',1,'errno.h']]], - ['arc_5ferrno_5finit_19',['ARC_ERRNO_INIT',['../d8/dc2/errno_8h.html#a61385aa4667afd29081519dbf55f4198',1,'errno.h']]], - ['arc_5ferrno_5fnull_20',['ARC_ERRNO_NULL',['../d8/dc2/errno_8h.html#ab626cdbbebc1ac9abd1548a5f6f6195b',1,'errno.h']]], - ['arc_5ferrno_5foverflow_21',['ARC_ERRNO_OVERFLOW',['../d8/dc2/errno_8h.html#a9d88eecae5e1850a90ae502999ca5a73',1,'errno.h']]], - ['arc_5ffalse_22',['ARC_False',['../d8/d77/bool_8h.html#aa63660d755fd84cd9f4b01bbf87b36fd',1,'bool.h']]], - ['arc_5fgroup_5fbucket_5fsize_23',['ARC_GROUP_BUCKET_SIZE',['../d3/d58/std_2config_8h.html#aebe7e30736515ea92af7365a8c05e269',1,'config.h']]], - ['arc_5fgroup_5fdata_5fbucket_5fsize_24',['ARC_GROUP_DATA_BUCKET_SIZE',['../d3/d58/std_2config_8h.html#a2979878127e519a90fc5276c19405a55',1,'config.h']]], - ['arc_5fkey_5fbucket_5fsize_25',['ARC_KEY_BUCKET_SIZE',['../d3/d58/std_2config_8h.html#aa8d55a1d202b495b292e51919ee099d1',1,'config.h']]], - ['arc_5fkeyboard_5fbutton_5fnum_26',['ARC_KEYBOARD_BUTTON_NUM',['../d2/d78/include_2arc_2input_2keyboard_8h.html#aaaadee1d75ed1e94bcb0676f2591c5a4',1,'keyboard.h']]], - ['arc_5flexer_5ftoken_5falpha_5flower_5fchar_27',['ARC_LEXER_TOKEN_ALPHA_LOWER_CHAR',['../d5/df3/lexer_8h.html#acbfaaa4882426f9a4586adc28004c4a9',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5falpha_5fupper_5fchar_28',['ARC_LEXER_TOKEN_ALPHA_UPPER_CHAR',['../d5/df3/lexer_8h.html#a12dca3db4664b48ac7b7930845e3f0b5',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fat_5fchar_29',['ARC_LEXER_TOKEN_AT_CHAR',['../d5/df3/lexer_8h.html#a7a7783d384eefb423ef2f16784095193',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fat_5fid_30',['ARC_LEXER_TOKEN_AT_ID',['../d5/df3/lexer_8h.html#a66029f9623154f65903ca5f0c94271f3',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fat_5ftag_31',['ARC_LEXER_TOKEN_AT_TAG',['../d5/df3/lexer_8h.html#a4032d8e35e7265f44193dd648a79feeb',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fback_5fslash_5fchar_32',['ARC_LEXER_TOKEN_BACK_SLASH_CHAR',['../d5/df3/lexer_8h.html#ad2264457e3e1ce1812bb333a355fe2c5',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fback_5fslash_5fid_33',['ARC_LEXER_TOKEN_BACK_SLASH_ID',['../d5/df3/lexer_8h.html#ac0bf4c6f183eb6964457c6b75dcf2559',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fback_5fslash_5ftag_34',['ARC_LEXER_TOKEN_BACK_SLASH_TAG',['../d5/df3/lexer_8h.html#ab9fd8e4e84a33ff8532ed7d0844e9a93',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fbang_5fchar_35',['ARC_LEXER_TOKEN_BANG_CHAR',['../d5/df3/lexer_8h.html#a8a22341977447549ffdc6e148968cdd3',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fbang_5fid_36',['ARC_LEXER_TOKEN_BANG_ID',['../d5/df3/lexer_8h.html#ac1facbe634a52b2e5574810af95e37d7',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fbang_5ftag_37',['ARC_LEXER_TOKEN_BANG_TAG',['../d5/df3/lexer_8h.html#af95c63a510b7ad72568302973e575661',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fcolon_5fchar_38',['ARC_LEXER_TOKEN_COLON_CHAR',['../d5/df3/lexer_8h.html#a7d91762b983dfec20c61144fe4c9a054',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fcolon_5fid_39',['ARC_LEXER_TOKEN_COLON_ID',['../d5/df3/lexer_8h.html#ad38ac0d96e0a5a97be13643323826e69',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fcolon_5ftag_40',['ARC_LEXER_TOKEN_COLON_TAG',['../d5/df3/lexer_8h.html#a5293226a069fcce4d748dfe25ea28db6',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fcomma_5fchar_41',['ARC_LEXER_TOKEN_COMMA_CHAR',['../d5/df3/lexer_8h.html#a6250250207f50276b3c99de8c86809b6',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fcomma_5fid_42',['ARC_LEXER_TOKEN_COMMA_ID',['../d5/df3/lexer_8h.html#aa936d2fd37b867dda6af8eec8ecaa88d',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fcomma_5ftag_43',['ARC_LEXER_TOKEN_COMMA_TAG',['../d5/df3/lexer_8h.html#ad39b482565589e133ab190813fe38d1c',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fforward_5fslash_5fchar_44',['ARC_LEXER_TOKEN_FORWARD_SLASH_CHAR',['../d5/df3/lexer_8h.html#aca9ee4ab4749f8817659841ec615dfce',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fforward_5fslash_5fid_45',['ARC_LEXER_TOKEN_FORWARD_SLASH_ID',['../d5/df3/lexer_8h.html#a0c8b18c3c26ad7ee828f77a8c29301e5',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fforward_5fslash_5ftag_46',['ARC_LEXER_TOKEN_FORWARD_SLASH_TAG',['../d5/df3/lexer_8h.html#ab8fe2fa9b377c8bad5abd27a1eade1fd',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fhash_5fchar_47',['ARC_LEXER_TOKEN_HASH_CHAR',['../d5/df3/lexer_8h.html#afb07206d57135f2002d113eff71b8603',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fhash_5fid_48',['ARC_LEXER_TOKEN_HASH_ID',['../d5/df3/lexer_8h.html#ab5f44b2c57ec755662e6b4cc31305763',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fhash_5ftag_49',['ARC_LEXER_TOKEN_HASH_TAG',['../d5/df3/lexer_8h.html#a1b26293fe02055053431f8e62e060b9f',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fleft_5fcurly_5fbrace_5fchar_50',['ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_CHAR',['../d5/df3/lexer_8h.html#af5ec79c2c40d444874360c71e91cde5e',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fleft_5fcurly_5fbrace_5fid_51',['ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_ID',['../d5/df3/lexer_8h.html#a7effdeb40e661cf783490e14b255aad9',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fleft_5fcurly_5fbrace_5ftag_52',['ARC_LEXER_TOKEN_LEFT_CURLY_BRACE_TAG',['../d5/df3/lexer_8h.html#a326fa43dd2a63993bd7d9f33db5198ef',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fleft_5fparenthesis_5fchar_53',['ARC_LEXER_TOKEN_LEFT_PARENTHESIS_CHAR',['../d5/df3/lexer_8h.html#a3ccee7de395056e03e7e7df0de63bc13',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fleft_5fparenthesis_5fid_54',['ARC_LEXER_TOKEN_LEFT_PARENTHESIS_ID',['../d5/df3/lexer_8h.html#ae44573fa8818c62b544efe00a1a52bd4',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fleft_5fparenthesis_5ftag_55',['ARC_LEXER_TOKEN_LEFT_PARENTHESIS_TAG',['../d5/df3/lexer_8h.html#a0d3de6fa1b15d0281511afc2a84ae9bb',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fnewline_5fchar_56',['ARC_LEXER_TOKEN_NEWLINE_CHAR',['../d5/df3/lexer_8h.html#abb0b66a2744366b326c8829753646c0d',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fnewline_5fid_57',['ARC_LEXER_TOKEN_NEWLINE_ID',['../d5/df3/lexer_8h.html#aa3d5af57f465f294132a443dae162dfa',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fnull_58',['ARC_LEXER_TOKEN_NULL',['../d5/df3/lexer_8h.html#a4e9237d6afe95b3a15c0dbbda31be332',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fnumber_59',['ARC_LEXER_TOKEN_NUMBER',['../d5/df3/lexer_8h.html#af8e71317b3d348e031b9341b5a53686f',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fpercent_5fchar_60',['ARC_LEXER_TOKEN_PERCENT_CHAR',['../d5/df3/lexer_8h.html#a333616987d461f204dda5639f95e089b',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fpercent_5fid_61',['ARC_LEXER_TOKEN_PERCENT_ID',['../d5/df3/lexer_8h.html#a255142bb5e2e24cdb47933888c1abf0b',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fpercent_5ftag_62',['ARC_LEXER_TOKEN_PERCENT_TAG',['../d5/df3/lexer_8h.html#a9d5789282edf5bf15d3073f0af374a0e',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fperiod_5fchar_63',['ARC_LEXER_TOKEN_PERIOD_CHAR',['../d5/df3/lexer_8h.html#a19d98980187c79d6a2ad3df8e01b11f4',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fperiod_5fid_64',['ARC_LEXER_TOKEN_PERIOD_ID',['../d5/df3/lexer_8h.html#a4c8a1519b49b37ec99643705a20e8a00',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fperiod_5ftag_65',['ARC_LEXER_TOKEN_PERIOD_TAG',['../d5/df3/lexer_8h.html#a6e76529a54f15d0d9dd4c0ca6399353c',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fright_5fcurly_5fbrace_5fchar_66',['ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_CHAR',['../d5/df3/lexer_8h.html#a5d3d1a7900a1618d0a0326249055e92e',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fright_5fcurly_5fbrace_5fid_67',['ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_ID',['../d5/df3/lexer_8h.html#aab050a58f63466390f399fb375d8a9ff',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fright_5fcurly_5fbrace_5ftag_68',['ARC_LEXER_TOKEN_RIGHT_CURLY_BRACE_TAG',['../d5/df3/lexer_8h.html#a6add2d4c998f78fbdb8d18e5d75dc729',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fright_5fparenthesis_5fchar_69',['ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_CHAR',['../d5/df3/lexer_8h.html#af74acd7cfd8ee39e05d66e5a469ec00d',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fright_5fparenthesis_5fid_70',['ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_ID',['../d5/df3/lexer_8h.html#a7fb6afd315d1e644bbab3b3b343c164b',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fright_5fparenthesis_5ftag_71',['ARC_LEXER_TOKEN_RIGHT_PARENTHESIS_TAG',['../d5/df3/lexer_8h.html#a45a03ad24e7eccccb13a11a1bdbce55d',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fsemicolon_5fchar_72',['ARC_LEXER_TOKEN_SEMICOLON_CHAR',['../d5/df3/lexer_8h.html#ad4708bf5048147da38eba6d2baf5010d',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fsemicolon_5fid_73',['ARC_LEXER_TOKEN_SEMICOLON_ID',['../d5/df3/lexer_8h.html#ac38c1572faebdf823616308b5cea1747',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fsemicolon_5ftag_74',['ARC_LEXER_TOKEN_SEMICOLON_TAG',['../d5/df3/lexer_8h.html#a1e19a41be65ea39e9e853b23d64df03d',1,'lexer.h']]], - ['arc_5flexer_5ftoken_5fwhitespace_75',['ARC_LEXER_TOKEN_WHITESPACE',['../d5/df3/lexer_8h.html#a08fc384c1dd0c911a4d97396262159c6',1,'lexer.h']]], - ['arc_5fmouse_5fbutton_5fnum_76',['ARC_MOUSE_BUTTON_NUM',['../d4/d4c/include_2arc_2input_2mouse_8h.html#acbb0b27e48bcb41ad29eef0f0e8eacef',1,'mouse.h']]], - ['arc_5fparser_5fcsv_5fchar_5fafter_5fcomma_77',['ARC_PARSER_CSV_CHAR_AFTER_COMMA',['../d3/d8e/csv_8h.html#a0d79651a73633c894e0f55b1a88b4d4e',1,'csv.h']]], - ['arc_5fparser_5fcsv_5fchar_5fbefore_5fcomma_78',['ARC_PARSER_CSV_CHAR_BEFORE_COMMA',['../d3/d8e/csv_8h.html#a7006ed284a3b3bf55308082c46446800',1,'csv.h']]], - ['arc_5fparser_5fcsv_5fchar_5fcomma_79',['ARC_PARSER_CSV_CHAR_COMMA',['../d3/d8e/csv_8h.html#a74bc8857c44f2c7ad95f7b2237623d0d',1,'csv.h']]], - ['arc_5fparser_5fcsv_5fchar_5fnewline_80',['ARC_PARSER_CSV_CHAR_NEWLINE',['../d3/d8e/csv_8h.html#ae2b0f683e0ab5681a69bc1d925a6b7c4',1,'csv.h']]], - ['arc_5fparser_5fcsv_5fdata_81',['ARC_PARSER_CSV_DATA',['../d3/d8e/csv_8h.html#a977281ee606db6e110e61401f47367c3',1,'csv.h']]], - ['arc_5fparser_5fcsv_5fline_82',['ARC_PARSER_CSV_LINE',['../d3/d8e/csv_8h.html#aa34663e48f224b2ad079a795578269a5',1,'csv.h']]], - ['arc_5fparser_5fcsv_5fnon_5fcomma_5fchar_83',['ARC_PARSER_CSV_NON_COMMA_CHAR',['../d3/d8e/csv_8h.html#ae4c160d7697375598b3d98f1852da166',1,'csv.h']]], - ['arc_5fparser_5fcsv_5fstring_84',['ARC_PARSER_CSV_STRING',['../d3/d8e/csv_8h.html#a9f2f5cbdf0327f81bcc883adba58b51e',1,'csv.h']]], - ['arc_5fparser_5ftag_5flambda_85',['ARC_PARSER_TAG_LAMBDA',['../d5/d36/parser_8h.html#a49859e4f0658f564f4236d2c4b317852',1,'parser.h']]], - ['arc_5fparserlang_5falpha_5fchar_86',['ARC_PARSERLANG_ALPHA_CHAR',['../dd/d0d/parserlang_8h.html#a26bced1dc31cab87860714f58464dc5d',1,'parserlang.h']]], - ['arc_5fparserlang_5fargument_87',['ARC_PARSERLANG_ARGUMENT',['../dd/d0d/parserlang_8h.html#ad3c3848b5e2106a6d2fba24e89481bf5',1,'parserlang.h']]], - ['arc_5fparserlang_5farguments_88',['ARC_PARSERLANG_ARGUMENTS',['../dd/d0d/parserlang_8h.html#ae0aa56780b5961a1ee8949370f838129',1,'parserlang.h']]], - ['arc_5fparserlang_5fbody_89',['ARC_PARSERLANG_BODY',['../dd/d0d/parserlang_8h.html#a4184b40c9e2f333d9a6db43d21ed8e7b',1,'parserlang.h']]], - ['arc_5fparserlang_5fconstant_90',['ARC_PARSERLANG_CONSTANT',['../dd/d0d/parserlang_8h.html#a527a491a52cbe0e42a4ee3d2fcda8546',1,'parserlang.h']]], - ['arc_5fparserlang_5fconstant_5fbody_91',['ARC_PARSERLANG_CONSTANT_BODY',['../dd/d0d/parserlang_8h.html#ac8d10d32ec407f9ce252d03e7eb0c761',1,'parserlang.h']]], - ['arc_5fparserlang_5fconstant_5fchar_92',['ARC_PARSERLANG_CONSTANT_CHAR',['../dd/d0d/parserlang_8h.html#a1de241ce3f0fd3773e00ce9eeb8456f2',1,'parserlang.h']]], - ['arc_5fparserlang_5flambda_93',['ARC_PARSERLANG_LAMBDA',['../dd/d0d/parserlang_8h.html#afaf8886df6fdb88e5df56f0cdc033e91',1,'parserlang.h']]], - ['arc_5fparserlang_5fline_94',['ARC_PARSERLANG_LINE',['../dd/d0d/parserlang_8h.html#aabe1dafe8e8328afe01f0df723734e40',1,'parserlang.h']]], - ['arc_5fparserlang_5ftag_95',['ARC_PARSERLANG_TAG',['../dd/d0d/parserlang_8h.html#a21679270caab125419d781e05481802f',1,'parserlang.h']]], - ['arc_5fparserlang_5ftag_5for_5fconstant_96',['ARC_PARSERLANG_TAG_OR_CONSTANT',['../dd/d0d/parserlang_8h.html#a7d0002a025022eeef1637bed40295969',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5falpha_5flower_5fchar_97',['ARC_PARSERLANG_TOKEN_ALPHA_LOWER_CHAR',['../dd/d0d/parserlang_8h.html#acb5252e40f02e6304a38995835d23896',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5falpha_5fupper_5fchar_98',['ARC_PARSERLANG_TOKEN_ALPHA_UPPER_CHAR',['../dd/d0d/parserlang_8h.html#aa4475914b22e971ac36ba52c54848f7f',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5farrow_5fcstring_99',['ARC_PARSERLANG_TOKEN_ARROW_CSTRING',['../dd/d0d/parserlang_8h.html#ae217edf3934390ccd57f9224b114cd48',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5farrow_5fid_100',['ARC_PARSERLANG_TOKEN_ARROW_ID',['../dd/d0d/parserlang_8h.html#a83121facd86dc4a0cc3228310dc377ef',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5fgreater_5fthan_5fchar_101',['ARC_PARSERLANG_TOKEN_GREATER_THAN_CHAR',['../dd/d0d/parserlang_8h.html#a71081597e34fe333b640375f382fd2a6',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5fgreater_5fthan_5fid_102',['ARC_PARSERLANG_TOKEN_GREATER_THAN_ID',['../dd/d0d/parserlang_8h.html#a8bb8ecbd4284a05a12fe6ba46ad3c19f',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5fless_5fthan_5fchar_103',['ARC_PARSERLANG_TOKEN_LESS_THAN_CHAR',['../dd/d0d/parserlang_8h.html#af203e25f3df12a3825c8616605134fd2',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5fless_5fthan_5fid_104',['ARC_PARSERLANG_TOKEN_LESS_THAN_ID',['../dd/d0d/parserlang_8h.html#a84ddb1d0fdfd0d262b4b838368591064',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5fnewline_5fchar_105',['ARC_PARSERLANG_TOKEN_NEWLINE_CHAR',['../dd/d0d/parserlang_8h.html#ab645ba55ae0f090766a926166204e196',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5fnewline_5fid_106',['ARC_PARSERLANG_TOKEN_NEWLINE_ID',['../dd/d0d/parserlang_8h.html#a29b70579ec48a2553b4e4c2f296428d8',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5fnull_107',['ARC_PARSERLANG_TOKEN_NULL',['../dd/d0d/parserlang_8h.html#ac265c2d97c817fe4370a07e46ea88e43',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5fnumber_108',['ARC_PARSERLANG_TOKEN_NUMBER',['../dd/d0d/parserlang_8h.html#a6b26e03e274fa0fcf5cb341323a4f54a',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5for_5fchar_109',['ARC_PARSERLANG_TOKEN_OR_CHAR',['../dd/d0d/parserlang_8h.html#a00918900ccbf8324d0d6876959089846',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5for_5fid_110',['ARC_PARSERLANG_TOKEN_OR_ID',['../dd/d0d/parserlang_8h.html#a8df8f00a076eab15a5d0477dae7c0510',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5funderscore_5fchar_111',['ARC_PARSERLANG_TOKEN_UNDERSCORE_CHAR',['../dd/d0d/parserlang_8h.html#a01772416712af136fb0921f1e78f1942',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5funderscore_5fid_112',['ARC_PARSERLANG_TOKEN_UNDERSCORE_ID',['../dd/d0d/parserlang_8h.html#adeb053f413b8278f80616a2f48ad52a0',1,'parserlang.h']]], - ['arc_5fparserlang_5ftoken_5fwhitespace_113',['ARC_PARSERLANG_TOKEN_WHITESPACE',['../dd/d0d/parserlang_8h.html#aa0c4f2cb7a1fe6c83f3ce16f6fd59782',1,'parserlang.h']]], - ['arc_5fparserlang_5fvariable_114',['ARC_PARSERLANG_VARIABLE',['../dd/d0d/parserlang_8h.html#aef2baf85767f40eef88c5d8abe4c9e34',1,'parserlang.h']]], - ['arc_5fparserlang_5fvariable_5fbody_115',['ARC_PARSERLANG_VARIABLE_BODY',['../dd/d0d/parserlang_8h.html#abf59d6bde3df61b93cbdb6cd3984650c',1,'parserlang.h']]], - ['arc_5fparserlang_5fvariable_5fchar_116',['ARC_PARSERLANG_VARIABLE_CHAR',['../dd/d0d/parserlang_8h.html#ac785c4cd4235937e7e1786cdd4519966',1,'parserlang.h']]], - ['arc_5fparserlang_5fwhitespace_117',['ARC_PARSERLANG_WHITESPACE',['../dd/d0d/parserlang_8h.html#a434b96dd9483742e4286e3dd41f27bd3',1,'parserlang.h']]], - ['arc_5ftest_118',['ARC_TEST',['../d2/ddc/test_8h.html#ab7949408a6b27075562ec44273fdfd0e',1,'test.h']]], - ['arc_5ftest_5fend_5fmessage_119',['ARC_TEST_END_MESSAGE',['../d2/ddc/test_8h.html#aba03a71104dfbd4ac11bc7f4853e5f7d',1,'test.h']]], - ['arc_5ftest_5fstart_5fmessage_120',['ARC_TEST_START_MESSAGE',['../d2/ddc/test_8h.html#a5d372c3f478b25bf6691e1f7d2e33edf',1,'test.h']]], - ['arc_5ftrue_121',['ARC_True',['../d8/d77/bool_8h.html#aacf339cb8c71b994249ae02c662006cb',1,'bool.h']]], - ['architecture_5fid_122',['ARCHITECTURE_ID',['../d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#aba35d0d200deaeb06aee95ca297acb28',1,'ARCHITECTURE_ID: CMakeCCompilerId.c'],['../d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#aba35d0d200deaeb06aee95ca297acb28',1,'ARCHITECTURE_ID: CMakeCCompilerId.c'],['../d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#aba35d0d200deaeb06aee95ca297acb28',1,'ARCHITECTURE_ID: CMakeCCompilerId.c'],['../db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#aba35d0d200deaeb06aee95ca297acb28',1,'ARCHITECTURE_ID: CMakeCCompilerId.c'],['../d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#aba35d0d200deaeb06aee95ca297acb28',1,'ARCHITECTURE_ID: CMakeCCompilerId.c']]] -]; diff --git a/doc/doxygen/html/search/defines_2.js b/doc/doxygen/html/search/defines_2.js deleted file mode 100644 index 447ca7b..0000000 --- a/doc/doxygen/html/search/defines_2.js +++ /dev/null @@ -1,9 +0,0 @@ -var searchData= -[ - ['c_5fstd_5f11_0',['C_STD_11',['../d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#a7c35af7e67642a2c62eb27dd81be11b2',1,'C_STD_11: CMakeCCompilerId.c'],['../d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#a7c35af7e67642a2c62eb27dd81be11b2',1,'C_STD_11: CMakeCCompilerId.c'],['../d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a7c35af7e67642a2c62eb27dd81be11b2',1,'C_STD_11: CMakeCCompilerId.c'],['../db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a7c35af7e67642a2c62eb27dd81be11b2',1,'C_STD_11: CMakeCCompilerId.c'],['../d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#a7c35af7e67642a2c62eb27dd81be11b2',1,'C_STD_11: CMakeCCompilerId.c']]], - ['c_5fstd_5f17_1',['C_STD_17',['../d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#aa8cd9c2c76dde36abac0bd7698090693',1,'C_STD_17: CMakeCCompilerId.c'],['../d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#aa8cd9c2c76dde36abac0bd7698090693',1,'C_STD_17: CMakeCCompilerId.c'],['../d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#aa8cd9c2c76dde36abac0bd7698090693',1,'C_STD_17: CMakeCCompilerId.c'],['../db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#aa8cd9c2c76dde36abac0bd7698090693',1,'C_STD_17: CMakeCCompilerId.c'],['../d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#aa8cd9c2c76dde36abac0bd7698090693',1,'C_STD_17: CMakeCCompilerId.c']]], - ['c_5fstd_5f23_2',['C_STD_23',['../d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#a81af617e8f7b5417689ca478ce9f4d69',1,'C_STD_23: CMakeCCompilerId.c'],['../d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#a81af617e8f7b5417689ca478ce9f4d69',1,'C_STD_23: CMakeCCompilerId.c'],['../d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a81af617e8f7b5417689ca478ce9f4d69',1,'C_STD_23: CMakeCCompilerId.c'],['../db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a81af617e8f7b5417689ca478ce9f4d69',1,'C_STD_23: CMakeCCompilerId.c'],['../d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#a81af617e8f7b5417689ca478ce9f4d69',1,'C_STD_23: CMakeCCompilerId.c']]], - ['c_5fstd_5f99_3',['C_STD_99',['../d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#af6079dc519dac099ee85a1df6ae5e5e8',1,'C_STD_99: CMakeCCompilerId.c'],['../d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#af6079dc519dac099ee85a1df6ae5e5e8',1,'C_STD_99: CMakeCCompilerId.c'],['../d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#af6079dc519dac099ee85a1df6ae5e5e8',1,'C_STD_99: CMakeCCompilerId.c'],['../db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#af6079dc519dac099ee85a1df6ae5e5e8',1,'C_STD_99: CMakeCCompilerId.c'],['../d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#af6079dc519dac099ee85a1df6ae5e5e8',1,'C_STD_99: CMakeCCompilerId.c']]], - ['c_5fversion_4',['C_VERSION',['../d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#adaee3ee7c5a7a22451ea25e762e1d7d5',1,'C_VERSION: CMakeCCompilerId.c'],['../d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#adaee3ee7c5a7a22451ea25e762e1d7d5',1,'C_VERSION: CMakeCCompilerId.c'],['../d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#adaee3ee7c5a7a22451ea25e762e1d7d5',1,'C_VERSION: CMakeCCompilerId.c'],['../db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#adaee3ee7c5a7a22451ea25e762e1d7d5',1,'C_VERSION: CMakeCCompilerId.c'],['../d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#adaee3ee7c5a7a22451ea25e762e1d7d5',1,'C_VERSION: CMakeCCompilerId.c']]], - ['compiler_5fid_5',['COMPILER_ID',['../d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#a81dee0709ded976b2e0319239f72d174',1,'COMPILER_ID: CMakeCCompilerId.c'],['../d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#a81dee0709ded976b2e0319239f72d174',1,'COMPILER_ID: CMakeCCompilerId.c'],['../d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a81dee0709ded976b2e0319239f72d174',1,'COMPILER_ID: CMakeCCompilerId.c'],['../db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a81dee0709ded976b2e0319239f72d174',1,'COMPILER_ID: CMakeCCompilerId.c'],['../d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#a81dee0709ded976b2e0319239f72d174',1,'COMPILER_ID: CMakeCCompilerId.c']]] -]; diff --git a/doc/doxygen/html/search/defines_3.js b/doc/doxygen/html/search/defines_3.js deleted file mode 100644 index c18437b..0000000 --- a/doc/doxygen/html/search/defines_3.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['dec_0',['DEC',['../d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#ad1280362da42492bbc11aa78cbf776ad',1,'DEC: CMakeCCompilerId.c'],['../d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#ad1280362da42492bbc11aa78cbf776ad',1,'DEC: CMakeCCompilerId.c'],['../d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#ad1280362da42492bbc11aa78cbf776ad',1,'DEC: CMakeCCompilerId.c'],['../db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#ad1280362da42492bbc11aa78cbf776ad',1,'DEC: CMakeCCompilerId.c'],['../d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#ad1280362da42492bbc11aa78cbf776ad',1,'DEC: CMakeCCompilerId.c']]] -]; diff --git a/doc/doxygen/html/search/defines_4.js b/doc/doxygen/html/search/defines_4.js deleted file mode 100644 index 1a5e24c..0000000 --- a/doc/doxygen/html/search/defines_4.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['hex_0',['HEX',['../d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#a46d5d95daa1bef867bd0179594310ed5',1,'HEX: CMakeCCompilerId.c'],['../d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#a46d5d95daa1bef867bd0179594310ed5',1,'HEX: CMakeCCompilerId.c'],['../d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a46d5d95daa1bef867bd0179594310ed5',1,'HEX: CMakeCCompilerId.c'],['../db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a46d5d95daa1bef867bd0179594310ed5',1,'HEX: CMakeCCompilerId.c'],['../d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#a46d5d95daa1bef867bd0179594310ed5',1,'HEX: CMakeCCompilerId.c']]] -]; diff --git a/doc/doxygen/html/search/defines_5.js b/doc/doxygen/html/search/defines_5.js deleted file mode 100644 index fbe5cf1..0000000 --- a/doc/doxygen/html/search/defines_5.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['platform_5fid_0',['PLATFORM_ID',['../d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#adbc5372f40838899018fadbc89bd588b',1,'PLATFORM_ID: CMakeCCompilerId.c'],['../d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#adbc5372f40838899018fadbc89bd588b',1,'PLATFORM_ID: CMakeCCompilerId.c'],['../d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#adbc5372f40838899018fadbc89bd588b',1,'PLATFORM_ID: CMakeCCompilerId.c'],['../db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#adbc5372f40838899018fadbc89bd588b',1,'PLATFORM_ID: CMakeCCompilerId.c'],['../d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#adbc5372f40838899018fadbc89bd588b',1,'PLATFORM_ID: CMakeCCompilerId.c']]] -]; diff --git a/doc/doxygen/html/search/defines_6.js b/doc/doxygen/html/search/defines_6.js deleted file mode 100644 index dff100f..0000000 --- a/doc/doxygen/html/search/defines_6.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['stringify_0',['STRINGIFY',['../d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#a43e1cad902b6477bec893cb6430bd6c8',1,'STRINGIFY: CMakeCCompilerId.c'],['../d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#a43e1cad902b6477bec893cb6430bd6c8',1,'STRINGIFY: CMakeCCompilerId.c'],['../d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a43e1cad902b6477bec893cb6430bd6c8',1,'STRINGIFY: CMakeCCompilerId.c'],['../db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a43e1cad902b6477bec893cb6430bd6c8',1,'STRINGIFY: CMakeCCompilerId.c'],['../d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#a43e1cad902b6477bec893cb6430bd6c8',1,'STRINGIFY: CMakeCCompilerId.c']]], - ['stringify_5fhelper_1',['STRINGIFY_HELPER',['../d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#a2ae9b72bb13abaabfcf2ee0ba7d3fa1d',1,'STRINGIFY_HELPER: CMakeCCompilerId.c'],['../d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#a2ae9b72bb13abaabfcf2ee0ba7d3fa1d',1,'STRINGIFY_HELPER: CMakeCCompilerId.c'],['../d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a2ae9b72bb13abaabfcf2ee0ba7d3fa1d',1,'STRINGIFY_HELPER: CMakeCCompilerId.c'],['../db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a2ae9b72bb13abaabfcf2ee0ba7d3fa1d',1,'STRINGIFY_HELPER: CMakeCCompilerId.c'],['../d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#a2ae9b72bb13abaabfcf2ee0ba7d3fa1d',1,'STRINGIFY_HELPER: CMakeCCompilerId.c']]] -]; diff --git a/doc/doxygen/html/search/enums_0.js b/doc/doxygen/html/search/enums_0.js deleted file mode 100644 index 30d0e93..0000000 --- a/doc/doxygen/html/search/enums_0.js +++ /dev/null @@ -1,9 +0,0 @@ -var searchData= -[ - ['arc_5fconsolekey_5fkey_0',['ARC_ConsoleKey_Key',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1e',1,'key.h']]], - ['arc_5fkeyboardkey_1',['ARC_KeyboardKey',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342',1,'keyboard.h']]], - ['arc_5fkeyboardstate_2',['ARC_KeyboardState',['../d6/da0/keyboard_8h.html#a4fa42600e63b733ac23ec8ddfe49573f',1,'keyboard.h']]], - ['arc_5fmousebutton_3',['ARC_MouseButton',['../dc/ded/mouse_8h.html#a269bea4edbaaaa49300ec7947aae78ad',1,'mouse.h']]], - ['arc_5fmousestate_4',['ARC_MouseState',['../dc/ded/mouse_8h.html#a52d94336e2c510bb6d634595ad41fa89',1,'mouse.h']]], - ['arc_5fsprite_5faxis_5',['ARC_Sprite_Axis',['../db/d08/sprite_8h.html#a58f03c421534fd75dbdf5b301fff84f5',1,'sprite.h']]] -]; diff --git a/doc/doxygen/html/search/enumvalues_0.js b/doc/doxygen/html/search/enumvalues_0.js deleted file mode 100644 index dd49e06..0000000 --- a/doc/doxygen/html/search/enumvalues_0.js +++ /dev/null @@ -1,100 +0,0 @@ -var searchData= -[ - ['arc_5fconsole_5fkey_5f0_0',['ARC_CONSOLE_KEY_0',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eae1a210f1a445af7430637e6f5b2a4e61',1,'key.h']]], - ['arc_5fconsole_5fkey_5f1_1',['ARC_CONSOLE_KEY_1',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea69cfd082a66ca38eff22f12d6cbdd0d8',1,'key.h']]], - ['arc_5fconsole_5fkey_5f2_2',['ARC_CONSOLE_KEY_2',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea79f30b6c503876bcc53fa36d5c755f78',1,'key.h']]], - ['arc_5fconsole_5fkey_5f3_3',['ARC_CONSOLE_KEY_3',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea8f8980e0ccd0786edcf01a4c06ee3a20',1,'key.h']]], - ['arc_5fconsole_5fkey_5f4_4',['ARC_CONSOLE_KEY_4',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaa0b4ce1647776530585c6eda9fcea796',1,'key.h']]], - ['arc_5fconsole_5fkey_5f5_5',['ARC_CONSOLE_KEY_5',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ead0ad6cc4dad061479ca8e4c247c74789',1,'key.h']]], - ['arc_5fconsole_5fkey_5f6_6',['ARC_CONSOLE_KEY_6',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eabd7a858686ecf89dc12f1d7afaf2e7e8',1,'key.h']]], - ['arc_5fconsole_5fkey_5f7_7',['ARC_CONSOLE_KEY_7',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea24e8f85a543f0532c90f3ba9e9168a74',1,'key.h']]], - ['arc_5fconsole_5fkey_5f8_8',['ARC_CONSOLE_KEY_8',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea17296c77bcf6b4e91f5ff28a369d855f',1,'key.h']]], - ['arc_5fconsole_5fkey_5f9_9',['ARC_CONSOLE_KEY_9',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eac3e2e5162ff19d849d3b7ce2d0844a98',1,'key.h']]], - ['arc_5fconsole_5fkey_5fa_10',['ARC_CONSOLE_KEY_A',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaae49690e84cebcaf49ff18d8ff508590',1,'key.h']]], - ['arc_5fconsole_5fkey_5fb_11',['ARC_CONSOLE_KEY_B',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea1e118b5d6563d6f3f5e823d26e474bdb',1,'key.h']]], - ['arc_5fconsole_5fkey_5fbackspace_12',['ARC_CONSOLE_KEY_BACKSPACE',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eae6b1ba7866d52950a39d42ce24b0a22e',1,'key.h']]], - ['arc_5fconsole_5fkey_5fc_13',['ARC_CONSOLE_KEY_C',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea4fc72ce7e382deb9d940716b634b31b8',1,'key.h']]], - ['arc_5fconsole_5fkey_5fd_14',['ARC_CONSOLE_KEY_D',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea3c6b33e508fa7058cf4b55db4e27a08a',1,'key.h']]], - ['arc_5fconsole_5fkey_5fdown_15',['ARC_CONSOLE_KEY_DOWN',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea5f94a8912ef637b292c102f689be4afc',1,'key.h']]], - ['arc_5fconsole_5fkey_5fe_16',['ARC_CONSOLE_KEY_E',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaf2b4d5542474ed9431892d799f4ab093',1,'key.h']]], - ['arc_5fconsole_5fkey_5fenter_17',['ARC_CONSOLE_KEY_ENTER',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eac859fab526f4d71bf3faf3a82f852eca',1,'key.h']]], - ['arc_5fconsole_5fkey_5fesc_18',['ARC_CONSOLE_KEY_ESC',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaf7424c2d7b9dbfeccc5a2df61cfec026',1,'key.h']]], - ['arc_5fconsole_5fkey_5ff_19',['ARC_CONSOLE_KEY_F',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eabc2b32671cc6ab84a486cfab8c983094',1,'key.h']]], - ['arc_5fconsole_5fkey_5fforward_5fslash_20',['ARC_CONSOLE_KEY_FORWARD_SLASH',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea4d906236af11100bc72933af1ae133fc',1,'key.h']]], - ['arc_5fconsole_5fkey_5fg_21',['ARC_CONSOLE_KEY_G',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eab47f3aae55505e7c2e28da2420b12b17',1,'key.h']]], - ['arc_5fconsole_5fkey_5fh_22',['ARC_CONSOLE_KEY_H',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaa7de94b4e7e8982ed7d071f3b7ed5f8c',1,'key.h']]], - ['arc_5fconsole_5fkey_5fi_23',['ARC_CONSOLE_KEY_I',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaa85d741b77329be754015947269b4e66',1,'key.h']]], - ['arc_5fconsole_5fkey_5fj_24',['ARC_CONSOLE_KEY_J',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea967d77630ab37fb0ff64d947c4e741b9',1,'key.h']]], - ['arc_5fconsole_5fkey_5fk_25',['ARC_CONSOLE_KEY_K',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea04955c97cd091bbbb4322e1d9bb99d36',1,'key.h']]], - ['arc_5fconsole_5fkey_5fl_26',['ARC_CONSOLE_KEY_L',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea179d2de263a6ccf12cc3176338356b2e',1,'key.h']]], - ['arc_5fconsole_5fkey_5fleft_27',['ARC_CONSOLE_KEY_LEFT',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea9232e7a7fe2de60c5c09a130536d96b9',1,'key.h']]], - ['arc_5fconsole_5fkey_5fm_28',['ARC_CONSOLE_KEY_M',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaa93ae0b8e66442d817791c1b7b147488',1,'key.h']]], - ['arc_5fconsole_5fkey_5fn_29',['ARC_CONSOLE_KEY_N',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eabde1f3c5fe088370a098c076bf9724b5',1,'key.h']]], - ['arc_5fconsole_5fkey_5fo_30',['ARC_CONSOLE_KEY_O',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaf25139c341fee1cc5406a336c989af50',1,'key.h']]], - ['arc_5fconsole_5fkey_5fp_31',['ARC_CONSOLE_KEY_P',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea77459979ee1b3c784f1709d46ff95c62',1,'key.h']]], - ['arc_5fconsole_5fkey_5fq_32',['ARC_CONSOLE_KEY_Q',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eaea3a47afd723e42cc16835b242d7f926',1,'key.h']]], - ['arc_5fconsole_5fkey_5fr_33',['ARC_CONSOLE_KEY_R',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eab93cfbe9c4eec37e15216dd1396eb7cf',1,'key.h']]], - ['arc_5fconsole_5fkey_5fright_34',['ARC_CONSOLE_KEY_RIGHT',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eadc70b61b2563025f61725bc08db8015e',1,'key.h']]], - ['arc_5fconsole_5fkey_5fs_35',['ARC_CONSOLE_KEY_S',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea3532c4036d2f0eec6c914fc4e773daae',1,'key.h']]], - ['arc_5fconsole_5fkey_5ft_36',['ARC_CONSOLE_KEY_T',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea6bbfd0af0e818c9dc4d881773dabecad',1,'key.h']]], - ['arc_5fconsole_5fkey_5fu_37',['ARC_CONSOLE_KEY_U',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea94d6cc9acfbfb818f6686da16cb5fa52',1,'key.h']]], - ['arc_5fconsole_5fkey_5fup_38',['ARC_CONSOLE_KEY_UP',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea2f263d9b30b5b64d65eac0b2205f1631',1,'key.h']]], - ['arc_5fconsole_5fkey_5fv_39',['ARC_CONSOLE_KEY_V',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea942bdcec9ab45363710eec185901bf71',1,'key.h']]], - ['arc_5fconsole_5fkey_5fw_40',['ARC_CONSOLE_KEY_W',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1eac972a8eabb863849c10b0de8d0fbaf34',1,'key.h']]], - ['arc_5fconsole_5fkey_5fx_41',['ARC_CONSOLE_KEY_X',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea1ffe4f27d2592a19d47390a0617429af',1,'key.h']]], - ['arc_5fconsole_5fkey_5fy_42',['ARC_CONSOLE_KEY_Y',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ead837e54f9914911647b1a2428cc4a4d3',1,'key.h']]], - ['arc_5fconsole_5fkey_5fz_43',['ARC_CONSOLE_KEY_Z',['../de/de5/key_8h.html#a1abe33f7967c78fa3eeb61b66c53eb1ea282424a47de31a39c5d198d5bf18e1b4',1,'key.h']]], - ['arc_5fkey_5f0_44',['ARC_KEY_0',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a1f79e782a3ebf22322adc6e9f4e14451',1,'keyboard.h']]], - ['arc_5fkey_5f1_45',['ARC_KEY_1',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342aabf22a488a8c87ecfdfd8761ef3055a4',1,'keyboard.h']]], - ['arc_5fkey_5f2_46',['ARC_KEY_2',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a1d64d1e8e291e793e5ce6afdc91f9b6a',1,'keyboard.h']]], - ['arc_5fkey_5f3_47',['ARC_KEY_3',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a7e3d3ec3c8ed02d21d3925390ba58634',1,'keyboard.h']]], - ['arc_5fkey_5f4_48',['ARC_KEY_4',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a1bd8cf1e48b4a2a78f60ee6247cf589e',1,'keyboard.h']]], - ['arc_5fkey_5f5_49',['ARC_KEY_5',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a68fbf5ced80ec27a7fb24cce622180ab',1,'keyboard.h']]], - ['arc_5fkey_5f6_50',['ARC_KEY_6',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a951b29ee025df021ab3385dee0e2a995',1,'keyboard.h']]], - ['arc_5fkey_5f7_51',['ARC_KEY_7',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342ab71f52ec7348e8917fdeaaa0c142c939',1,'keyboard.h']]], - ['arc_5fkey_5f8_52',['ARC_KEY_8',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a392a2cb09451306c4e5038f2ac97d03b',1,'keyboard.h']]], - ['arc_5fkey_5f9_53',['ARC_KEY_9',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a5417783357fb315b9dd529d6d1147d6e',1,'keyboard.h']]], - ['arc_5fkey_5fa_54',['ARC_KEY_A',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a49156896df4abf04fbe03f49d2e213a5',1,'keyboard.h']]], - ['arc_5fkey_5fb_55',['ARC_KEY_B',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342adb82c1ec8254c987b45d94a661a22c80',1,'keyboard.h']]], - ['arc_5fkey_5fc_56',['ARC_KEY_C',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a8f3a52109bb1c5f96cc12cd66de72b87',1,'keyboard.h']]], - ['arc_5fkey_5fd_57',['ARC_KEY_D',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342addcfaf15ed0397db7d2ede02e4136c43',1,'keyboard.h']]], - ['arc_5fkey_5fe_58',['ARC_KEY_E',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a36564695ac265b2913a14c155a340297',1,'keyboard.h']]], - ['arc_5fkey_5fenter_59',['ARC_KEY_ENTER',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342ab8f816bb58dbcee3219a5cdd991c25c9',1,'keyboard.h']]], - ['arc_5fkey_5fesc_60',['ARC_KEY_ESC',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a5b665a1513782f4e649bbeddc9c9155d',1,'keyboard.h']]], - ['arc_5fkey_5ff_61',['ARC_KEY_F',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a048bcad99ae80504831468b26abf3a57',1,'keyboard.h']]], - ['arc_5fkey_5fg_62',['ARC_KEY_G',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342aea971342a7d6a3f29278e9381fca2f0d',1,'keyboard.h']]], - ['arc_5fkey_5fh_63',['ARC_KEY_H',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342af3c7e1ca4a713680cb5df07240691339',1,'keyboard.h']]], - ['arc_5fkey_5fi_64',['ARC_KEY_I',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a99211ba590840860d3c807b9b1cdc06d',1,'keyboard.h']]], - ['arc_5fkey_5fj_65',['ARC_KEY_J',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a7f875a9576212f5a6b09a38d6831c368',1,'keyboard.h']]], - ['arc_5fkey_5fk_66',['ARC_KEY_K',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a2f7b5fc6e561a687164b9a2b3e46589d',1,'keyboard.h']]], - ['arc_5fkey_5fl_67',['ARC_KEY_L',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a897b918221c7d7dc58da34246390874a',1,'keyboard.h']]], - ['arc_5fkey_5fm_68',['ARC_KEY_M',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a29e2bdd496803dd3fb2f0fc54d2966b3',1,'keyboard.h']]], - ['arc_5fkey_5fn_69',['ARC_KEY_N',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a83290e7515f0de7ed4b64c3a72016569',1,'keyboard.h']]], - ['arc_5fkey_5fnone_70',['ARC_KEY_NONE',['../d6/da0/keyboard_8h.html#a4fa42600e63b733ac23ec8ddfe49573fae65992df97275326fd4849a9e0ed9eac',1,'keyboard.h']]], - ['arc_5fkey_5fo_71',['ARC_KEY_O',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a873d05cdbd0ee1dd56bdc1be80154789',1,'keyboard.h']]], - ['arc_5fkey_5fp_72',['ARC_KEY_P',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a35d9e47e904eb84ed27d1abba69ab0cd',1,'keyboard.h']]], - ['arc_5fkey_5fpressed_73',['ARC_KEY_PRESSED',['../d6/da0/keyboard_8h.html#a4fa42600e63b733ac23ec8ddfe49573face79bff30ba82c6985e0e98958646613',1,'keyboard.h']]], - ['arc_5fkey_5fq_74',['ARC_KEY_Q',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342ac068d27752c2ba39b8dd9be9b5c7822f',1,'keyboard.h']]], - ['arc_5fkey_5fr_75',['ARC_KEY_R',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a8d5927f08ad119ee914c7b4499008b43',1,'keyboard.h']]], - ['arc_5fkey_5freleased_76',['ARC_KEY_RELEASED',['../d6/da0/keyboard_8h.html#a4fa42600e63b733ac23ec8ddfe49573faa7706ca5d8f89927871bb5fc9d15aeb7',1,'keyboard.h']]], - ['arc_5fkey_5fs_77',['ARC_KEY_S',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342aede6e618e53a44e1ade519f2df71cb20',1,'keyboard.h']]], - ['arc_5fkey_5fspace_78',['ARC_KEY_SPACE',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342ac9d8f2e35602296a152460c5ada9b1dd',1,'keyboard.h']]], - ['arc_5fkey_5ft_79',['ARC_KEY_T',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a3fba17fbe3987300f20fd5a876d3a5b9',1,'keyboard.h']]], - ['arc_5fkey_5fu_80',['ARC_KEY_U',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342acd75047b5c079ace8c907195e6d6f9c1',1,'keyboard.h']]], - ['arc_5fkey_5fv_81',['ARC_KEY_V',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342acd7f1eae1f5dc470b5cf267e9d10b5f0',1,'keyboard.h']]], - ['arc_5fkey_5fw_82',['ARC_KEY_W',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a5ce1fc9c8c67a3035e7db1d67f4e8abd',1,'keyboard.h']]], - ['arc_5fkey_5fx_83',['ARC_KEY_X',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a9753396fe7fa37695927152f6377250b',1,'keyboard.h']]], - ['arc_5fkey_5fy_84',['ARC_KEY_Y',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a4bb71a05ebf49a4c4adb714bfc136051',1,'keyboard.h']]], - ['arc_5fkey_5fz_85',['ARC_KEY_Z',['../d6/da0/keyboard_8h.html#a423a1a3409074e8d4fde41990ceeb342a4365536de5c26fd39aaa9bf74c5ec4e9',1,'keyboard.h']]], - ['arc_5fmouse_5fleft_86',['ARC_MOUSE_LEFT',['../dc/ded/mouse_8h.html#a269bea4edbaaaa49300ec7947aae78ada64a7929203f7e527afd8a12dcedbeb55',1,'mouse.h']]], - ['arc_5fmouse_5fmiddle_87',['ARC_MOUSE_MIDDLE',['../dc/ded/mouse_8h.html#a269bea4edbaaaa49300ec7947aae78adae58cf0eb299ab6f28ef181a1e30f350b',1,'mouse.h']]], - ['arc_5fmouse_5fnone_88',['ARC_MOUSE_NONE',['../dc/ded/mouse_8h.html#a52d94336e2c510bb6d634595ad41fa89ae4a0ee3870d689b0b545fbf9b4a3b408',1,'mouse.h']]], - ['arc_5fmouse_5fpressed_89',['ARC_MOUSE_PRESSED',['../dc/ded/mouse_8h.html#a52d94336e2c510bb6d634595ad41fa89abd627d7ca223deb05630511e1ebc5b23',1,'mouse.h']]], - ['arc_5fmouse_5freleased_90',['ARC_MOUSE_RELEASED',['../dc/ded/mouse_8h.html#a52d94336e2c510bb6d634595ad41fa89a51d511d33a6cd519b57502f63808e77a',1,'mouse.h']]], - ['arc_5fmouse_5fright_91',['ARC_MOUSE_RIGHT',['../dc/ded/mouse_8h.html#a269bea4edbaaaa49300ec7947aae78adab1ee07c0792fb2eb187a8d2b7b08c5ba',1,'mouse.h']]], - ['arc_5fmouse_5fx1_92',['ARC_MOUSE_X1',['../dc/ded/mouse_8h.html#a269bea4edbaaaa49300ec7947aae78adabf7686eab237e635b36efcffec7e7509',1,'mouse.h']]], - ['arc_5fmouse_5fx2_93',['ARC_MOUSE_X2',['../dc/ded/mouse_8h.html#a269bea4edbaaaa49300ec7947aae78ada4075d9a56968ae49d09c1ae3df5a2fd4',1,'mouse.h']]], - ['arc_5fsprite_5faxis_5fnone_94',['ARC_SPRITE_AXIS_NONE',['../db/d08/sprite_8h.html#a58f03c421534fd75dbdf5b301fff84f5a8349cec50345d927a52c3a74dc7c8008',1,'sprite.h']]], - ['arc_5fsprite_5faxis_5fx_95',['ARC_SPRITE_AXIS_X',['../db/d08/sprite_8h.html#a58f03c421534fd75dbdf5b301fff84f5a86b6c238d4da4d62c0e5f7652a1a058f',1,'sprite.h']]], - ['arc_5fsprite_5faxis_5fy_96',['ARC_SPRITE_AXIS_Y',['../db/d08/sprite_8h.html#a58f03c421534fd75dbdf5b301fff84f5a1cccd14ed492d5e4b151808984cda3c0',1,'sprite.h']]] -]; diff --git a/doc/doxygen/html/search/files_0.js b/doc/doxygen/html/search/files_0.js deleted file mode 100644 index 252e463..0000000 --- a/doc/doxygen/html/search/files_0.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['array_2eh_0',['array.h',['../db/d63/array_8h.html',1,'']]], - ['audio_2eh_1',['audio.h',['../da/d09/audio_8h.html',1,'']]] -]; diff --git a/doc/doxygen/html/search/files_1.js b/doc/doxygen/html/search/files_1.js deleted file mode 100644 index 11d7e49..0000000 --- a/doc/doxygen/html/search/files_1.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['bool_2eh_0',['bool.h',['../d8/d77/bool_8h.html',1,'']]], - ['buffer_2eh_1',['buffer.h',['../d5/d08/buffer_8h.html',1,'']]] -]; diff --git a/doc/doxygen/html/search/files_10.js b/doc/doxygen/html/search/files_10.js deleted file mode 100644 index 2274847..0000000 --- a/doc/doxygen/html/search/files_10.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['window_2eh_0',['window.h',['../da/d9a/none_2window_8h.html',1,'(Global Namespace)'],['../d3/df1/window_8h.html',1,'(Global Namespace)']]] -]; diff --git a/doc/doxygen/html/search/files_2.js b/doc/doxygen/html/search/files_2.js deleted file mode 100644 index 64215d2..0000000 --- a/doc/doxygen/html/search/files_2.js +++ /dev/null @@ -1,8 +0,0 @@ -var searchData= -[ - ['chemical_2eh_0',['chemical.h',['../de/de8/chemical_8h.html',1,'']]], - ['circle_2eh_1',['circle.h',['../d8/d79/graphics_2circle_8h.html',1,'(Global Namespace)'],['../d9/d17/math_2circle_8h.html',1,'(Global Namespace)']]], - ['color_2eh_2',['color.h',['../da/dec/color_8h.html',1,'']]], - ['config_2eh_3',['config.h',['../df/df7/audio_2config_8h.html',1,'(Global Namespace)'],['../d9/d9f/graphics_2config_8h.html',1,'(Global Namespace)'],['../d8/dec/math_2config_8h.html',1,'(Global Namespace)'],['../d3/d58/std_2config_8h.html',1,'(Global Namespace)'],['../d2/d8b/std_2defaults_2config_8h.html',1,'(Global Namespace)']]], - ['csv_2eh_4',['csv.h',['../d3/d8e/csv_8h.html',1,'']]] -]; diff --git a/doc/doxygen/html/search/files_3.js b/doc/doxygen/html/search/files_3.js deleted file mode 100644 index c30a84c..0000000 --- a/doc/doxygen/html/search/files_3.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['ecs_2eh_0',['ecs.h',['../d3/d76/ecs_8h.html',1,'']]], - ['element_2eh_1',['element.h',['../d4/dfe/element_8h.html',1,'']]], - ['engine_2eh_2',['engine.h',['../d1/d55/engine_8h.html',1,'']]], - ['errno_2eh_3',['errno.h',['../d8/dc2/errno_8h.html',1,'']]] -]; diff --git a/doc/doxygen/html/search/files_4.js b/doc/doxygen/html/search/files_4.js deleted file mode 100644 index c01efd0..0000000 --- a/doc/doxygen/html/search/files_4.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['handler_2eh_0',['handler.h',['../dd/dee/handler_8h.html',1,'']]], - ['hashtable_2eh_1',['hashtable.h',['../dd/d16/hashtable_8h.html',1,'']]], - ['helpers_2eh_2',['helpers.h',['../d1/d98/helpers_8h.html',1,'']]] -]; diff --git a/doc/doxygen/html/search/files_5.js b/doc/doxygen/html/search/files_5.js deleted file mode 100644 index 0dc3eee..0000000 --- a/doc/doxygen/html/search/files_5.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['index_2emd_0',['index.md',['../df/dcf/index_8md.html',1,'']]], - ['input_2eh_1',['input.h',['../de/ded/input_8h.html',1,'']]], - ['io_2eh_2',['io.h',['../dc/dac/io_8h.html',1,'']]] -]; diff --git a/doc/doxygen/html/search/files_6.js b/doc/doxygen/html/search/files_6.js deleted file mode 100644 index 873f201..0000000 --- a/doc/doxygen/html/search/files_6.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['key_2eh_0',['key.h',['../de/de5/key_8h.html',1,'']]], - ['keyboard_2eh_1',['keyboard.h',['../d6/da0/keyboard_8h.html',1,'(Global Namespace)'],['../d6/dad/none_2keyboard_8h.html',1,'(Global Namespace)']]] -]; diff --git a/doc/doxygen/html/search/files_7.js b/doc/doxygen/html/search/files_7.js deleted file mode 100644 index 2b0c557..0000000 --- a/doc/doxygen/html/search/files_7.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['lexer_2eh_0',['lexer.h',['../d5/df3/lexer_8h.html',1,'']]], - ['line_2eh_1',['line.h',['../d7/d5d/line_8h.html',1,'']]] -]; diff --git a/doc/doxygen/html/search/files_8.js b/doc/doxygen/html/search/files_8.js deleted file mode 100644 index cd56be8..0000000 --- a/doc/doxygen/html/search/files_8.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['mouse_2eh_0',['mouse.h',['../dc/ded/mouse_8h.html',1,'(Global Namespace)'],['../d3/dcc/none_2mouse_8h.html',1,'(Global Namespace)']]] -]; diff --git a/doc/doxygen/html/search/files_9.js b/doc/doxygen/html/search/files_9.js deleted file mode 100644 index 5c4579c..0000000 --- a/doc/doxygen/html/search/files_9.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['obround_2eh_0',['obround.h',['../d2/dba/graphics_2obround_8h.html',1,'(Global Namespace)'],['../d3/d66/math_2obround_8h.html',1,'(Global Namespace)']]] -]; diff --git a/doc/doxygen/html/search/files_a.js b/doc/doxygen/html/search/files_a.js deleted file mode 100644 index 4fd9d6f..0000000 --- a/doc/doxygen/html/search/files_a.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['parser_2eh_0',['parser.h',['../d5/d36/parser_8h.html',1,'']]], - ['parserlang_2eh_1',['parserlang.h',['../dd/d0d/parserlang_8h.html',1,'']]], - ['point_2eh_2',['point.h',['../d2/d91/point_8h.html',1,'']]] -]; diff --git a/doc/doxygen/html/search/files_b.js b/doc/doxygen/html/search/files_b.js deleted file mode 100644 index ef57f62..0000000 --- a/doc/doxygen/html/search/files_b.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['queue_2eh_0',['queue.h',['../d8/d38/queue_8h.html',1,'']]] -]; diff --git a/doc/doxygen/html/search/files_c.js b/doc/doxygen/html/search/files_c.js deleted file mode 100644 index a029a8d..0000000 --- a/doc/doxygen/html/search/files_c.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['rectangle_2eh_0',['rectangle.h',['../d7/d09/graphics_2rectangle_8h.html',1,'(Global Namespace)'],['../d2/d14/math_2rectangle_8h.html',1,'(Global Namespace)']]], - ['renderer_2eh_1',['renderer.h',['../d7/d34/none_2renderer_8h.html',1,'(Global Namespace)'],['../d6/d85/renderer_8h.html',1,'(Global Namespace)']]] -]; diff --git a/doc/doxygen/html/search/files_d.js b/doc/doxygen/html/search/files_d.js deleted file mode 100644 index 0c3f0d3..0000000 --- a/doc/doxygen/html/search/files_d.js +++ /dev/null @@ -1,11 +0,0 @@ -var searchData= -[ - ['shell_2eh_0',['shell.h',['../df/d03/shell_8h.html',1,'']]], - ['sprite_2eh_1',['sprite.h',['../da/dce/none_2sprite_8h.html',1,'(Global Namespace)'],['../db/d08/sprite_8h.html',1,'(Global Namespace)']]], - ['spritesheet_2eh_2',['spritesheet.h',['../d6/da1/none_2spritesheet_8h.html',1,'(Global Namespace)'],['../d9/d53/spritesheet_8h.html',1,'(Global Namespace)']]], - ['ssh_2eh_3',['ssh.h',['../d8/dd3/ssh_8h.html',1,'']]], - ['stack_2eh_4',['stack.h',['../d7/de0/stack_8h.html',1,'']]], - ['standard_2emd_5',['standard.md',['../dc/dd6/standard_8md.html',1,'']]], - ['state_2eh_6',['state.h',['../db/d3b/state_8h.html',1,'']]], - ['string_2eh_7',['string.h',['../da/d66/string_8h.html',1,'']]] -]; diff --git a/doc/doxygen/html/search/files_e.js b/doc/doxygen/html/search/files_e.js deleted file mode 100644 index 874aebc..0000000 --- a/doc/doxygen/html/search/files_e.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['text_2eh_0',['text.h',['../d6/dec/none_2text_8h.html',1,'(Global Namespace)'],['../d9/dcc/text_8h.html',1,'(Global Namespace)']]], - ['time_2eh_1',['time.h',['../de/df7/time_8h.html',1,'']]] -]; diff --git a/doc/doxygen/html/search/files_f.js b/doc/doxygen/html/search/files_f.js deleted file mode 100644 index fc36074..0000000 --- a/doc/doxygen/html/search/files_f.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['vector_2eh_0',['vector.h',['../d6/d68/vector_8h.html',1,'']]], - ['vector2_2eh_1',['vector2.h',['../d1/d03/vector2_8h.html',1,'']]], - ['vector3_2eh_2',['vector3.h',['../d0/d7e/vector3_8h.html',1,'']]], - ['view_2eh_3',['view.h',['../d6/d7e/console_2view_8h.html',1,'(Global Namespace)'],['../d5/de5/graphics_2view_8h.html',1,'(Global Namespace)']]] -]; diff --git a/doc/doxygen/html/search/functions_0.js b/doc/doxygen/html/search/functions_0.js deleted file mode 100644 index 3b08e43..0000000 --- a/doc/doxygen/html/search/functions_0.js +++ /dev/null @@ -1,298 +0,0 @@ -var searchData= -[ - ['arc_5faudio_5fdelete_0',['ARC_Audio_Delete',['../df/df7/audio_2config_8h.html#a56b20e5eaf57fb9da53f69034b66b7e4',1,'config.h']]], - ['arc_5faudio_5fplay_1',['ARC_Audio_Play',['../da/d09/audio_8h.html#a3d6d71d185efb1f873fe324c9b7e75e8',1,'audio.h']]], - ['arc_5faudio_5fread_2',['ARC_Audio_Read',['../df/df7/audio_2config_8h.html#a1018ccdf4d6cd6cdd8439449baebb644',1,'config.h']]], - ['arc_5faudioconfig_5finit_3',['ARC_AudioConfig_Init',['../df/df7/audio_2config_8h.html#a5beb4825fbb34818043195c8f11f1567',1,'config.h']]], - ['arc_5fchemical_5fcreate_4',['ARC_Chemical_Create',['../de/de8/chemical_8h.html#a57285cb04aa534e1d031332dcaa1a870',1,'chemical.h']]], - ['arc_5fchemical_5fdestroy_5',['ARC_Chemical_Destroy',['../de/de8/chemical_8h.html#a686a72bf4514fe44106185d4b5c588ef',1,'chemical.h']]], - ['arc_5fchemical_5fget_6',['ARC_Chemical_Get',['../de/de8/chemical_8h.html#adb8a34d9191beed01e6fed8a897151c3',1,'chemical.h']]], - ['arc_5fchemical_5floadfromfile_7',['ARC_Chemical_LoadFromFile',['../de/de8/chemical_8h.html#a12062638bce9e79bc5409a12c05e3023',1,'chemical.h']]], - ['arc_5fchemical_5floadfromstring_8',['ARC_Chemical_LoadFromString',['../de/de8/chemical_8h.html#a56505ede690711cbfd12c9e56864c4b3',1,'chemical.h']]], - ['arc_5fchemical_5fregistertype_9',['ARC_Chemical_RegisterType',['../de/de8/chemical_8h.html#a585e4d4a2bd7f2484fa3e6a308b483d3',1,'chemical.h']]], - ['arc_5fchemical_5fsetgroup_10',['ARC_Chemical_SetGroup',['../de/de8/chemical_8h.html#a5d6a498f3920dc4bed51fe2e855ef69f',1,'chemical.h']]], - ['arc_5fchemical_5funloadfromfile_11',['ARC_Chemical_UnloadFromFile',['../de/de8/chemical_8h.html#a43b69b30d57bdf40ffe674e4e0105157',1,'chemical.h']]], - ['arc_5fchemical_5funloadfromstring_12',['ARC_Chemical_UnloadFromString',['../de/de8/chemical_8h.html#ad875764e9e18d4aa3db2cf86081d2048',1,'chemical.h']]], - ['arc_5fcircle_5frender_13',['ARC_Circle_Render',['../d8/d79/graphics_2circle_8h.html#afe76964f8e2236fac1827c8bac1bd896',1,'circle.h']]], - ['arc_5fcircle_5frenderfill_14',['ARC_Circle_RenderFill',['../d8/d79/graphics_2circle_8h.html#a5ac4e484dce5dd95ace5ccbf585fbe4f',1,'circle.h']]], - ['arc_5fconfig_5faddkey_15',['ARC_Config_AddKey',['../d3/d58/std_2config_8h.html#aff40cd55a3b227cd33334d1c5843ed06',1,'config.h']]], - ['arc_5fconfig_5faddkeycstring_16',['ARC_Config_AddKeyCString',['../d3/d58/std_2config_8h.html#a16b8895da92529e4c6ede062db2e417e',1,'config.h']]], - ['arc_5fconfig_5fcreate_17',['ARC_Config_Create',['../d3/d58/std_2config_8h.html#a3bf1d8c89c92e8dd42ecd6105dc78306',1,'config.h']]], - ['arc_5fconfig_5fdestroy_18',['ARC_Config_Destroy',['../d3/d58/std_2config_8h.html#ae771a007a23bb925494d68ae7ca212be',1,'config.h']]], - ['arc_5fconfig_5ffileio_19',['ARC_Config_FileIO',['../d3/d58/std_2config_8h.html#ad6467c7d5aa224d49620fabc990d13f3',1,'config.h']]], - ['arc_5fconfig_5fget_20',['ARC_Config_Get',['../d3/d58/std_2config_8h.html#a4bd96f3f4cf016f82ffaf82f679288c4',1,'config.h']]], - ['arc_5fconfig_5fsetgroup_21',['ARC_Config_SetGroup',['../d3/d58/std_2config_8h.html#aa1ec47a354f6cc1ee8356a098cf5b3c9',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5fchar_22',['ARC_ConfigKey_Delete_Char',['../d2/d8b/std_2defaults_2config_8h.html#a714f11d408924c8ac2f28dc2d0da7048',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5fdouble_23',['ARC_ConfigKey_Delete_Double',['../d2/d8b/std_2defaults_2config_8h.html#a4b475fb1b9a5b46a02f6af583f346dab',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5ffloat_24',['ARC_ConfigKey_Delete_Float',['../d2/d8b/std_2defaults_2config_8h.html#a0a3a58cdf12c63481b4f66628e0c583d',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5fint_25',['ARC_ConfigKey_Delete_Int',['../d2/d8b/std_2defaults_2config_8h.html#a302289726d5bc01e615aa49e107d6df7',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5fint16_5ft_26',['ARC_ConfigKey_Delete_Int16_t',['../d2/d8b/std_2defaults_2config_8h.html#a75c5d9178a856540df0a5dd32b10a2c0',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5fint32_5ft_27',['ARC_ConfigKey_Delete_Int32_t',['../d2/d8b/std_2defaults_2config_8h.html#a05530e3e95652d77b40bd8c8576175e4',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5fint64_5ft_28',['ARC_ConfigKey_Delete_Int64_t',['../d2/d8b/std_2defaults_2config_8h.html#a5e5d48965891cf59aa1488f71d53faee',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5fint8_5ft_29',['ARC_ConfigKey_Delete_Int8_t',['../d2/d8b/std_2defaults_2config_8h.html#a04995ce12de24dbb2a7d22997e50dcba',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5flong_30',['ARC_ConfigKey_Delete_Long',['../d2/d8b/std_2defaults_2config_8h.html#a6c06ea939baa49901ef349484a0e8f36',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5fstring_31',['ARC_ConfigKey_Delete_String',['../d2/d8b/std_2defaults_2config_8h.html#a6e51a60a59f999da062dfefbe3a4f6aa',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5fstringarray_32',['ARC_ConfigKey_Delete_StringArray',['../d2/d8b/std_2defaults_2config_8h.html#a242bf34af9bad3e81f5d344056b8f5b1',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5fuint16_5ft_33',['ARC_ConfigKey_Delete_Uint16_t',['../d2/d8b/std_2defaults_2config_8h.html#a6cd4d333d1bb5614c8a079b1e5a7ddee',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5fuint32_5ft_34',['ARC_ConfigKey_Delete_Uint32_t',['../d2/d8b/std_2defaults_2config_8h.html#a0a9e89bb6eec8fa49d6464a67aea2059',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5fuint64_5ft_35',['ARC_ConfigKey_Delete_Uint64_t',['../d2/d8b/std_2defaults_2config_8h.html#a6b824be09ce7574d86d3b19ca3c19bc9',1,'config.h']]], - ['arc_5fconfigkey_5fdelete_5fuint8_5ft_36',['ARC_ConfigKey_Delete_Uint8_t',['../d2/d8b/std_2defaults_2config_8h.html#abd7ea9582cb63c5ff19f73ea2482a576',1,'config.h']]], - ['arc_5fconfigkey_5fread_5fchar_37',['ARC_ConfigKey_Read_Char',['../d2/d8b/std_2defaults_2config_8h.html#a4e1e616e19e520f833954170e0c09f11',1,'config.h']]], - ['arc_5fconfigkey_5fread_5fdouble_38',['ARC_ConfigKey_Read_Double',['../d2/d8b/std_2defaults_2config_8h.html#a74340e8c628f79b71b7ae644d88c6d68',1,'config.h']]], - ['arc_5fconfigkey_5fread_5ffloat_39',['ARC_ConfigKey_Read_Float',['../d2/d8b/std_2defaults_2config_8h.html#a0826b43e64879ebfb382d6d83f3887b1',1,'config.h']]], - ['arc_5fconfigkey_5fread_5fint_40',['ARC_ConfigKey_Read_Int',['../d2/d8b/std_2defaults_2config_8h.html#af853d36f1347a777605ef794260a3d5a',1,'config.h']]], - ['arc_5fconfigkey_5fread_5fint16_5ft_41',['ARC_ConfigKey_Read_Int16_t',['../d2/d8b/std_2defaults_2config_8h.html#a094c00966b8859fa344b5b30da6c628b',1,'config.h']]], - ['arc_5fconfigkey_5fread_5fint32_5ft_42',['ARC_ConfigKey_Read_Int32_t',['../d2/d8b/std_2defaults_2config_8h.html#a82cb7f0ce2a74506456ddeeee65e6d05',1,'config.h']]], - ['arc_5fconfigkey_5fread_5fint64_5ft_43',['ARC_ConfigKey_Read_Int64_t',['../d2/d8b/std_2defaults_2config_8h.html#a0705b5f0a58f9e85c8659e834eb43d13',1,'config.h']]], - ['arc_5fconfigkey_5fread_5fint8_5ft_44',['ARC_ConfigKey_Read_Int8_t',['../d2/d8b/std_2defaults_2config_8h.html#a1d2b6e81202f9d48da75fa311b0555de',1,'config.h']]], - ['arc_5fconfigkey_5fread_5flong_45',['ARC_ConfigKey_Read_Long',['../d2/d8b/std_2defaults_2config_8h.html#aa83dd3f1847bbf521c7b44eaaaee7164',1,'config.h']]], - ['arc_5fconfigkey_5fread_5fstring_46',['ARC_ConfigKey_Read_String',['../d2/d8b/std_2defaults_2config_8h.html#a3708662477367696c3f31863d71c1ab1',1,'config.h']]], - ['arc_5fconfigkey_5fread_5fstringarray_47',['ARC_ConfigKey_Read_StringArray',['../d2/d8b/std_2defaults_2config_8h.html#a63ff0e016aba0804a036f3c5312c5c25',1,'config.h']]], - ['arc_5fconfigkey_5fread_5fuint16_5ft_48',['ARC_ConfigKey_Read_Uint16_t',['../d2/d8b/std_2defaults_2config_8h.html#a2b4e34972bb1491d936c0f2ea9f21d15',1,'config.h']]], - ['arc_5fconfigkey_5fread_5fuint32_5ft_49',['ARC_ConfigKey_Read_Uint32_t',['../d2/d8b/std_2defaults_2config_8h.html#ab020cb7a36b094240f5a34352f38a9fc',1,'config.h']]], - ['arc_5fconfigkey_5fread_5fuint64_5ft_50',['ARC_ConfigKey_Read_Uint64_t',['../d2/d8b/std_2defaults_2config_8h.html#abc1a62ac4b3599caf513119599211b6f',1,'config.h']]], - ['arc_5fconfigkey_5fread_5fuint8_5ft_51',['ARC_ConfigKey_Read_Uint8_t',['../d2/d8b/std_2defaults_2config_8h.html#a5b3e1d8b4be7a58a7671b3c6e7c19d64',1,'config.h']]], - ['arc_5fconsolebuffer_5faddchar_52',['ARC_ConsoleBuffer_AddChar',['../d5/d08/buffer_8h.html#a18ea5885eb623af1ad0bce81886a37ba',1,'buffer.h']]], - ['arc_5fconsolebuffer_5faddcstring_53',['ARC_ConsoleBuffer_AddCString',['../d5/d08/buffer_8h.html#a87db4e45040059ec8452ae4ed4c9d93c',1,'buffer.h']]], - ['arc_5fconsolebuffer_5faddcstringwithstrlen_54',['ARC_ConsoleBuffer_AddCStringWithStrlen',['../d5/d08/buffer_8h.html#a5c3fbf33ecfa1adae24ee628bccaf64e',1,'buffer.h']]], - ['arc_5fconsolebuffer_5faddstring_55',['ARC_ConsoleBuffer_AddString',['../d5/d08/buffer_8h.html#aa7c09f28e004665675ad529c457f0d19',1,'buffer.h']]], - ['arc_5fconsolebuffer_5fclear_56',['ARC_ConsoleBuffer_Clear',['../d5/d08/buffer_8h.html#acdc2d574d3bb726cfaa27d8b5768d6f2',1,'buffer.h']]], - ['arc_5fconsolebuffer_5fcreate_57',['ARC_ConsoleBuffer_Create',['../d5/d08/buffer_8h.html#a724aa56dd933bc31502a971204467132',1,'buffer.h']]], - ['arc_5fconsolebuffer_5fdestroy_58',['ARC_ConsoleBuffer_Destroy',['../d5/d08/buffer_8h.html#ab2a88c30d33e6d3120d98673fd6beec4',1,'buffer.h']]], - ['arc_5fconsolebuffer_5fgetlinenumbers_59',['ARC_ConsoleBuffer_GetLineNumbers',['../d5/d08/buffer_8h.html#a590db008192631b4cfc9c53904687018',1,'buffer.h']]], - ['arc_5fconsolebuffer_5frender_60',['ARC_ConsoleBuffer_Render',['../d5/d08/buffer_8h.html#a46ebb41d45ba5aeafa12372f69539458',1,'buffer.h']]], - ['arc_5fconsolebuffer_5frendersection_61',['ARC_ConsoleBuffer_RenderSection',['../d5/d08/buffer_8h.html#a64f378c7d29c6166dcceb4fe90235f14',1,'buffer.h']]], - ['arc_5fconsoleelement_5fcreate_62',['ARC_ConsoleElement_Create',['../d4/dfe/element_8h.html#a9ee2f85f16536e390d63c66758ca8461',1,'element.h']]], - ['arc_5fconsoleelement_5fdefaultrenderfn_63',['ARC_ConsoleElement_DefaultRenderFn',['../d4/dfe/element_8h.html#a09963be501557ec748f95322c5379356',1,'element.h']]], - ['arc_5fconsoleelement_5fdestroy_64',['ARC_ConsoleElement_Destroy',['../d4/dfe/element_8h.html#aaee680d3e44ab90347d95930ff405db4',1,'element.h']]], - ['arc_5fconsoleelement_5fisselectable_65',['ARC_ConsoleElement_IsSelectable',['../d4/dfe/element_8h.html#a939ae41406b604e86cf042efd01234c6',1,'element.h']]], - ['arc_5fconsoleelement_5fsetselected_66',['ARC_ConsoleElement_SetSelected',['../d4/dfe/element_8h.html#a86b31406373b19febf7079a001351c9a',1,'element.h']]], - ['arc_5fconsoleelement_5ftoggleselected_67',['ARC_ConsoleElement_ToggleSelected',['../d4/dfe/element_8h.html#aa0d0ddf2b0d0b46d145e2a8d3553ce01',1,'element.h']]], - ['arc_5fconsolekey_5fcreate_68',['ARC_ConsoleKey_Create',['../de/de5/key_8h.html#a48d569403d14309ba282c17480222f14',1,'key.h']]], - ['arc_5fconsolekey_5fdestroy_69',['ARC_ConsoleKey_Destroy',['../de/de5/key_8h.html#a94bce610020b4ffedfca750dfab9f64f',1,'key.h']]], - ['arc_5fconsolekey_5fequals_70',['ARC_ConsoleKey_Equals',['../de/de5/key_8h.html#a21adaf1532cd07c0fbd15dae666a78e4',1,'key.h']]], - ['arc_5fconsolekey_5fequalspointer_71',['ARC_ConsoleKey_EqualsPointer',['../de/de5/key_8h.html#aca1101b2438999030c704fdd34cb8bc4',1,'key.h']]], - ['arc_5fconsolekey_5fgetcharfromkey_72',['ARC_ConsoleKey_GetCharFromKey',['../de/de5/key_8h.html#a6195997575cc3db00c9cb65c4abdf2fa',1,'key.h']]], - ['arc_5fconsoleshell_5faddhistory_73',['ARC_ConsoleShell_AddHistory',['../df/d03/shell_8h.html#ac52159572774e27f8c2e489f73b28314',1,'shell.h']]], - ['arc_5fconsoleshell_5fcreate_74',['ARC_ConsoleShell_Create',['../df/d03/shell_8h.html#aad422f04801c70d2a27f6e30f74efd70',1,'shell.h']]], - ['arc_5fconsoleshell_5fdestroy_75',['ARC_ConsoleShell_Destroy',['../df/d03/shell_8h.html#a5e9357a85d39bf8d040cfb4fa19ede06',1,'shell.h']]], - ['arc_5fconsoleshell_5fgethistoryat_76',['ARC_ConsoleShell_GetHistoryAt',['../df/d03/shell_8h.html#a90d4df9f1eba33e1a15c3184621a4805',1,'shell.h']]], - ['arc_5fconsoleshell_5frender_77',['ARC_ConsoleShell_Render',['../df/d03/shell_8h.html#a43241a784b1a6a914899b26d9d86c10c',1,'shell.h']]], - ['arc_5fconsoleshell_5fupdate_78',['ARC_ConsoleShell_Update',['../df/d03/shell_8h.html#ac73769a7e97b7ba99f74c53347249f63',1,'shell.h']]], - ['arc_5fconsoleview_5faddelement_79',['ARC_ConsoleView_AddElement',['../d6/d7e/console_2view_8h.html#acddd6c7caef3022824080453f8ea7c22',1,'view.h']]], - ['arc_5fconsoleview_5fclear_80',['ARC_ConsoleView_Clear',['../d6/d7e/console_2view_8h.html#af8bbe9829fe2173ad9e86bbd589a4745',1,'view.h']]], - ['arc_5fconsoleview_5fcreate_81',['ARC_ConsoleView_Create',['../d6/d7e/console_2view_8h.html#a583e081c182900d229c2554c5cb28c8a',1,'view.h']]], - ['arc_5fconsoleview_5fdestroy_82',['ARC_ConsoleView_Destroy',['../d6/d7e/console_2view_8h.html#afb6d65be2428ff4b7171f598c982efcb',1,'view.h']]], - ['arc_5fconsoleview_5fgetbounds_83',['ARC_ConsoleView_GetBounds',['../d6/d7e/console_2view_8h.html#a4aa93749156b5ef949037cd15ba32054',1,'view.h']]], - ['arc_5fconsoleview_5fgetchar_84',['ARC_ConsoleView_GetChar',['../d6/d7e/console_2view_8h.html#a07468b6b5ca4a719562a2b9288897f66',1,'view.h']]], - ['arc_5fconsoleview_5fgetcharat_85',['ARC_ConsoleView_GetCharAt',['../d6/d7e/console_2view_8h.html#ab790935bce37a8c749cdeb4c3d9334d3',1,'view.h']]], - ['arc_5fconsoleview_5fgetconsolekeyat_86',['ARC_ConsoleView_GetConsoleKeyAt',['../d6/d7e/console_2view_8h.html#a7416cd9008f389952f22c3f80b0fcda0',1,'view.h']]], - ['arc_5fconsoleview_5fgetcreateconsolekeyat_87',['ARC_ConsoleView_GetCreateConsoleKeyAt',['../d6/d7e/console_2view_8h.html#aaf3208692988dc533a0e123a2d94482e',1,'view.h']]], - ['arc_5fconsoleview_5fgetelement_88',['ARC_ConsoleView_GetElement',['../d6/d7e/console_2view_8h.html#acecfdaaa4c95a98fe5d6926cfdcc68e2',1,'view.h']]], - ['arc_5fconsoleview_5fgetstringinput_89',['ARC_ConsoleView_GetStringInput',['../d6/d7e/console_2view_8h.html#a142f7b184c21ddab974367baac6ae09a',1,'view.h']]], - ['arc_5fconsoleview_5fremoveelement_90',['ARC_ConsoleView_RemoveElement',['../d6/d7e/console_2view_8h.html#ab16135af58f6b7eb7d425428d63605ab',1,'view.h']]], - ['arc_5fconsoleview_5frendercharat_91',['ARC_ConsoleView_RenderCharAt',['../d6/d7e/console_2view_8h.html#a6b5049ee8fcd713321fe98f8168bd6f3',1,'view.h']]], - ['arc_5fconsoleview_5frendercstringwithstrlenat_92',['ARC_ConsoleView_RenderCStringWithStrlenAt',['../d6/d7e/console_2view_8h.html#a135b991e7764e9f771b9e8ea32d91502',1,'view.h']]], - ['arc_5fconsoleview_5frenderelements_93',['ARC_ConsoleView_RenderElements',['../d6/d7e/console_2view_8h.html#a16ef2179ab56e0107e80eef8c5d216d0',1,'view.h']]], - ['arc_5fconsoleview_5frenderkeyat_94',['ARC_ConsoleView_RenderKeyAt',['../d6/d7e/console_2view_8h.html#a2f28e93c0515ebb2e3b4a40c8600027f',1,'view.h']]], - ['arc_5fconsoleview_5frenderrect_95',['ARC_ConsoleView_RenderRect',['../d6/d7e/console_2view_8h.html#af5f8bc0a9f61160a1363d5d2f47f68e3',1,'view.h']]], - ['arc_5fconsoleview_5frenderstringat_96',['ARC_ConsoleView_RenderStringAt',['../d6/d7e/console_2view_8h.html#a06c57f7eb1c0f950ddff17fab8278b34',1,'view.h']]], - ['arc_5fconsoleview_5frenderuint32at_97',['ARC_ConsoleView_RenderUint32At',['../d6/d7e/console_2view_8h.html#a4c959aded7e41feb0b34c9e24c192b1e',1,'view.h']]], - ['arc_5fconsoleview_5frenderwcharat_98',['ARC_ConsoleView_RenderWCharAt',['../d6/d7e/console_2view_8h.html#aac7cb2d64cbee2251875664689a553fe',1,'view.h']]], - ['arc_5fconsoleview_5fsetattribute_99',['ARC_ConsoleView_SetAttribute',['../d6/d7e/console_2view_8h.html#add7a787887ba24554bfb8b454e79f8e1',1,'view.h']]], - ['arc_5fconsoleview_5fsetborder_100',['ARC_ConsoleView_SetBorder',['../d6/d7e/console_2view_8h.html#a9ee59e09b9deaa860e7279847ec5d6d0',1,'view.h']]], - ['arc_5fconsoleview_5fsetcursorvisibility_101',['ARC_ConsoleView_SetCursorVisibility',['../d6/d7e/console_2view_8h.html#abba924acf2b89b9ec00e5efcd2ebc1bd',1,'view.h']]], - ['arc_5fdefaults_5fconfigkey_5fcreate_102',['ARC_Defaults_ConfigKey_Create',['../d2/d8b/std_2defaults_2config_8h.html#ab30944b0ee2b4e067338e8ad031c781d',1,'config.h']]], - ['arc_5fecs_5fcreate_103',['ARC_ECS_Create',['../d3/d76/ecs_8h.html#a9e75c4fed457663972453f4535b60cd5',1,'ecs.h']]], - ['arc_5fecs_5fdestroy_104',['ARC_ECS_Destroy',['../d3/d76/ecs_8h.html#a1d51eda8d16f7ef11d610dd0b2da326f',1,'ecs.h']]], - ['arc_5fengine_5frununcapped_105',['ARC_Engine_RunUncapped',['../d1/d55/engine_8h.html#a1318b7466d14187d6648abc7474c1ac7',1,'engine.h']]], - ['arc_5fenginedata_5fcreate_106',['ARC_EngineData_Create',['../d1/d55/engine_8h.html#ad3bfb475a0e9264c87a7423e84778959',1,'engine.h']]], - ['arc_5fenginedata_5fdestroy_107',['ARC_EngineData_Destroy',['../d1/d55/engine_8h.html#ad7a41810e95706dad5c6881879339aa2',1,'engine.h']]], - ['arc_5ffobround_5fcasttoobround_108',['ARC_FObround_CastToObround',['../d3/d66/math_2obround_8h.html#acc0ba97a943dba9998a65156da2a8e7f',1,'obround.h']]], - ['arc_5ffobround_5frender_109',['ARC_FObround_Render',['../d2/dba/graphics_2obround_8h.html#a98eddca08e5473a0860716a4e0b238f4',1,'obround.h']]], - ['arc_5ffpoint_5flerp_110',['ARC_FPoint_Lerp',['../d2/d91/point_8h.html#a3a31f7a5b50dea1ed1863b1ee0cb82c7',1,'point.h']]], - ['arc_5ffrect_5fcasttorect_111',['ARC_FRect_CastToRect',['../d2/d14/math_2rectangle_8h.html#a2716384cea95edfab47befa78b60fc00',1,'rectangle.h']]], - ['arc_5ffrect_5fcenteron_112',['ARC_FRect_CenterOn',['../d2/d14/math_2rectangle_8h.html#ae1d122bd28d683c9cd4bde56859ef844',1,'rectangle.h']]], - ['arc_5ffrect_5fcollideandslide_113',['ARC_FRect_CollideAndSlide',['../d2/d14/math_2rectangle_8h.html#a8d7a17b45e6a54a50df9b3930b3ace79',1,'rectangle.h']]], - ['arc_5ffrect_5fintersects_114',['ARC_FRect_Intersects',['../d2/d14/math_2rectangle_8h.html#ac3baf11e6f7624a21a553383176d6c6f',1,'rectangle.h']]], - ['arc_5ffrect_5fintersectspoint_115',['ARC_FRect_IntersectsPoint',['../d2/d14/math_2rectangle_8h.html#a9ee5256187b0430f60a252ef7d6e331c',1,'rectangle.h']]], - ['arc_5ffrect_5frender_116',['ARC_FRect_Render',['../d7/d09/graphics_2rectangle_8h.html#a96dbaab334cfd50199b6a0f2133ca6f6',1,'rectangle.h']]], - ['arc_5ffrect_5frenderfill_117',['ARC_FRect_RenderFill',['../d7/d09/graphics_2rectangle_8h.html#ab30de1d2bb4605738fbcfd66887d1b3f',1,'rectangle.h']]], - ['arc_5fgraphicsconfig_5finit_118',['ARC_GraphicsConfig_Init',['../d9/d9f/graphics_2config_8h.html#a40164918cc42dfe0a0139b103459e7c1',1,'config.h']]], - ['arc_5fhandler_5fadd_119',['ARC_Handler_Add',['../dd/dee/handler_8h.html#a1819b266e74d30c0faf05b7ce687f2dc',1,'handler.h']]], - ['arc_5fhandler_5fclean_120',['ARC_Handler_Clean',['../dd/dee/handler_8h.html#af36b878567ea73a90f826af9af64c989',1,'handler.h']]], - ['arc_5fhandler_5fclear_121',['ARC_Handler_Clear',['../dd/dee/handler_8h.html#a7ce371bd450a568dfb98a9e4b40fa423',1,'handler.h']]], - ['arc_5fhandler_5fcreate_122',['ARC_Handler_Create',['../dd/dee/handler_8h.html#a5642adc667af392d4e81ed9266992cf2',1,'handler.h']]], - ['arc_5fhandler_5fdestroy_123',['ARC_Handler_Destroy',['../dd/dee/handler_8h.html#a504e83100f5bc3b257f81fb27c7850d9',1,'handler.h']]], - ['arc_5fhandler_5fgetsize_124',['ARC_Handler_GetSize',['../dd/dee/handler_8h.html#ad3630dbdb66e538bf1d457b9c1bc1165',1,'handler.h']]], - ['arc_5fhandler_5fiterate_125',['ARC_Handler_Iterate',['../dd/dee/handler_8h.html#adaa4103a1879a0e0acc595d3e1c2b911',1,'handler.h']]], - ['arc_5fhandler_5fremove_126',['ARC_Handler_Remove',['../dd/dee/handler_8h.html#af37753d9ef62d0b3cabf114acc890c22',1,'handler.h']]], - ['arc_5fhandler_5fremoveindex_127',['ARC_Handler_RemoveIndex',['../dd/dee/handler_8h.html#aff62f9d70a675932736fa20f671490c4',1,'handler.h']]], - ['arc_5fhashtable_5fadd_128',['ARC_Hashtable_Add',['../dd/d16/hashtable_8h.html#a9d553810bcb7caa21440051cdf47ad15',1,'hashtable.h']]], - ['arc_5fhashtable_5fcreate_129',['ARC_Hashtable_Create',['../dd/d16/hashtable_8h.html#a689d5747f40e4c0bf13dd2d11e4621dc',1,'hashtable.h']]], - ['arc_5fhashtable_5fdestroy_130',['ARC_Hashtable_Destroy',['../dd/d16/hashtable_8h.html#a2da411a96340d3afe367bc96c54d2129',1,'hashtable.h']]], - ['arc_5fhashtable_5fget_131',['ARC_Hashtable_Get',['../dd/d16/hashtable_8h.html#a57fb5725f7a794bee195258e080aeeff',1,'hashtable.h']]], - ['arc_5fhashtable_5fremove_132',['ARC_Hashtable_Remove',['../dd/d16/hashtable_8h.html#a93cc865ebc341244e20ee634aa6c7004',1,'hashtable.h']]], - ['arc_5finput_5fcreatewithenginedata_133',['ARC_Input_CreateWithEngineData',['../de/ded/input_8h.html#ab067b02367e78494a930fcccdd930c0c',1,'input.h']]], - ['arc_5finput_5fdestroy_134',['ARC_Input_Destroy',['../de/ded/input_8h.html#a3f88d045f196b8460a62f4c32ee23f54',1,'input.h']]], - ['arc_5finput_5fgetkeyboard_135',['ARC_Input_GetKeyboard',['../de/ded/input_8h.html#a33b395c2b23fb459904fef05df97ae5d',1,'input.h']]], - ['arc_5finput_5fgetmouse_136',['ARC_Input_GetMouse',['../de/ded/input_8h.html#a5de153e8f7dd3212cb998ea2ad29c4f6',1,'input.h']]], - ['arc_5finput_5fupdate_137',['ARC_Input_Update',['../de/ded/input_8h.html#afb3fa56528406720283b62b2b713e118',1,'input.h']]], - ['arc_5fio_5ffiletostr_138',['ARC_IO_FileToStr',['../dc/dac/io_8h.html#a264d33a54ba5175d36341c27011654f4',1,'io.h']]], - ['arc_5fio_5freadfiletouint8t_139',['ARC_IO_ReadFileToUint8t',['../dc/dac/io_8h.html#a70350710f6f2124edcd32cabd641f1f4',1,'io.h']]], - ['arc_5fio_5fwritestrtofile_140',['ARC_IO_WriteStrToFile',['../dc/dac/io_8h.html#a580578d50c6d90d08a00701285e28f3b',1,'io.h']]], - ['arc_5fkeyboard_5fcreatewithinput_141',['ARC_Keyboard_CreateWithInput',['../d6/da0/keyboard_8h.html#a6cea48ed04bc3e8a3f72bc48e1994e68',1,'keyboard.h']]], - ['arc_5fkeyboard_5fdestroy_142',['ARC_Keyboard_Destroy',['../d6/da0/keyboard_8h.html#aaeaa42ad6e69566dfee40058003a053b',1,'keyboard.h']]], - ['arc_5fkeyboard_5fgetconsolekey_143',['ARC_Keyboard_GetConsoleKey',['../de/de5/key_8h.html#a2eb80aaafb56b165be91bdc3cea1a3fb',1,'key.h']]], - ['arc_5fkeyboard_5fgetstate_144',['ARC_Keyboard_GetState',['../d6/da0/keyboard_8h.html#aefc45f58e68047bae8a7b4556c461f55',1,'keyboard.h']]], - ['arc_5fkeyboard_5fupdate_145',['ARC_Keyboard_Update',['../d6/da0/keyboard_8h.html#a46406fb1b5a846ff9c984ea3ad8dba14',1,'keyboard.h']]], - ['arc_5flexer_5fautomatamatchcharfn_146',['ARC_Lexer_AutomataMatchCharFn',['../d5/df3/lexer_8h.html#a3db57b9db596091a576fb701f8cabee0',1,'lexer.h']]], - ['arc_5flexer_5fautomatamatchcharinstringfn_147',['ARC_Lexer_AutomataMatchCharInStringFn',['../d5/df3/lexer_8h.html#ac736e5472dc8d123800754c9e67405d8',1,'lexer.h']]], - ['arc_5flexer_5fautomatamatchstringfn_148',['ARC_Lexer_AutomataMatchStringFn',['../d5/df3/lexer_8h.html#aa19c4d6677ef05c8d0f1c809b4f1a82b',1,'lexer.h']]], - ['arc_5flexer_5fclear_149',['ARC_Lexer_Clear',['../d5/df3/lexer_8h.html#a433d2612daddba30462288d3b1902138',1,'lexer.h']]], - ['arc_5flexer_5fcreate_150',['ARC_Lexer_Create',['../d5/df3/lexer_8h.html#a577b5af9532aaea8b58d3ef29ef9f439',1,'lexer.h']]], - ['arc_5flexer_5fdestroy_151',['ARC_Lexer_Destroy',['../d5/df3/lexer_8h.html#af119f4730d1361e0f77bd230f7a66470',1,'lexer.h']]], - ['arc_5flexer_5fgettoken_152',['ARC_Lexer_GetToken',['../d5/df3/lexer_8h.html#a251b6e9d9aa8b29295be205c36eb5995',1,'lexer.h']]], - ['arc_5flexer_5fgettokenssize_153',['ARC_Lexer_GetTokensSize',['../d5/df3/lexer_8h.html#a7131b158cd0b2aad60e89c3c60d2a47e',1,'lexer.h']]], - ['arc_5flexer_5finitbasictokenrules_154',['ARC_Lexer_InitBasicTokenRules',['../d5/df3/lexer_8h.html#a53da53523cb5ff94d803d1d6e7c62462',1,'lexer.h']]], - ['arc_5flexer_5fiscontinious_155',['ARC_Lexer_IsContinious',['../d5/df3/lexer_8h.html#ab352c9b8f76abf4f9e2ce9fccfa9aa50',1,'lexer.h']]], - ['arc_5flexer_5fistokenid_156',['ARC_Lexer_IsTokenId',['../d5/df3/lexer_8h.html#a35efaf00d01ae654db11f619103c06c0',1,'lexer.h']]], - ['arc_5flexer_5flexfile_157',['ARC_Lexer_LexFile',['../d5/df3/lexer_8h.html#a1b7282db985dcde4ad59ab7159d229f1',1,'lexer.h']]], - ['arc_5flexer_5flexstring_158',['ARC_Lexer_LexString',['../d5/df3/lexer_8h.html#a3feb57a6200882fd3951fb6e54edc40a',1,'lexer.h']]], - ['arc_5flexer_5fprinttokenrules_159',['ARC_Lexer_PrintTokenRules',['../d5/df3/lexer_8h.html#acf0761b4efbf71dd32671512c1ceed6d',1,'lexer.h']]], - ['arc_5flexer_5fregistertokenrule_160',['ARC_Lexer_RegisterTokenRule',['../d5/df3/lexer_8h.html#a39d48ecab5e20c16a3825b27bec785f7',1,'lexer.h']]], - ['arc_5flexertokenrule_5fcreateandreturnmatchcharinstringrule_161',['ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule',['../d5/df3/lexer_8h.html#ab9912c97ec2ff272e0bbd6c5851fd8f5',1,'lexer.h']]], - ['arc_5flexertokenrule_5fcreateandreturnmatchcharorbetween_162',['ARC_LexerTokenRule_CreateAndReturnMatchCharOrBetween',['../d5/df3/lexer_8h.html#a9b064167edcd7c9e6b634826195f031b',1,'lexer.h']]], - ['arc_5flexertokenrule_5fcreateandreturnmatchcharrule_163',['ARC_LexerTokenRule_CreateAndReturnMatchCharRule',['../d5/df3/lexer_8h.html#a79b5abbb2636bcf06c7e90fb1c875903',1,'lexer.h']]], - ['arc_5flexertokenrule_5fcreateandreturnmatchstringrule_164',['ARC_LexerTokenRule_CreateAndReturnMatchStringRule',['../d5/df3/lexer_8h.html#a430283c20ad3d7bf9a18fa96fbbee461',1,'lexer.h']]], - ['arc_5fline_5frender_165',['ARC_Line_Render',['../d7/d5d/line_8h.html#a5028c284a7ae3a105523aa12491665b8',1,'line.h']]], - ['arc_5fmathconfig_5finit_166',['ARC_MathConfig_Init',['../d8/dec/math_2config_8h.html#a12f2d47aa2105350319de4e055b20277',1,'config.h']]], - ['arc_5fmouse_5fcreatewithinput_167',['ARC_Mouse_CreateWithInput',['../dc/ded/mouse_8h.html#ad10b11b6dc3e8154a6a8c55336f414aa',1,'mouse.h']]], - ['arc_5fmouse_5fdestroy_168',['ARC_Mouse_Destroy',['../dc/ded/mouse_8h.html#a80f3e8881fa82ed61884bd0c54718377',1,'mouse.h']]], - ['arc_5fmouse_5fgetcoords_169',['ARC_Mouse_GetCoords',['../dc/ded/mouse_8h.html#a03fbe8fd4b74249f76a6b9b3896f1c90',1,'mouse.h']]], - ['arc_5fmouse_5fgetscrolly_170',['ARC_Mouse_GetScrollY',['../dc/ded/mouse_8h.html#a3760b36acc070c0519e51480312a6b8d',1,'mouse.h']]], - ['arc_5fmouse_5fgetstate_171',['ARC_Mouse_GetState',['../dc/ded/mouse_8h.html#a00a25e48a5a701317b363dcdc83e3469',1,'mouse.h']]], - ['arc_5fmouse_5fupdate_172',['ARC_Mouse_Update',['../dc/ded/mouse_8h.html#a6eb8e204759d13162a305588e550b132',1,'mouse.h']]], - ['arc_5fobround_5fcasttofobround_173',['ARC_Obround_CastToFObround',['../d3/d66/math_2obround_8h.html#acf56c47f95620e4645316a46e7046606',1,'obround.h']]], - ['arc_5fobround_5frender_174',['ARC_Obround_Render',['../d2/dba/graphics_2obround_8h.html#ab86dda25da47d441b5ce38b8d8311b5a',1,'obround.h']]], - ['arc_5fparser_5fcleardata_175',['ARC_Parser_ClearData',['../d5/d36/parser_8h.html#af1d5928a3b7a1107ae2f93256b8e82df',1,'parser.h']]], - ['arc_5fparser_5fcreate_176',['ARC_Parser_Create',['../d5/d36/parser_8h.html#a1bdcaaa9871c881c8826698840a99d2d',1,'parser.h']]], - ['arc_5fparser_5fcreatefromstring_177',['ARC_Parser_CreateFromString',['../d5/d36/parser_8h.html#a003b81e4311d906bb549c112036703d6',1,'parser.h']]], - ['arc_5fparser_5fcreatefromvector_178',['ARC_Parser_CreateFromVector',['../d5/d36/parser_8h.html#ace1a2cfd32a6054ce46a88153024dfb0',1,'parser.h']]], - ['arc_5fparser_5fdestroy_179',['ARC_Parser_Destroy',['../d5/d36/parser_8h.html#adb54341fc82ed984990434a9885ee644',1,'parser.h']]], - ['arc_5fparser_5fgetdata_180',['ARC_Parser_GetData',['../d5/d36/parser_8h.html#af6a130ed662019fd063f9b613c1b43cd',1,'parser.h']]], - ['arc_5fparser_5fparse_181',['ARC_Parser_Parse',['../d5/d36/parser_8h.html#ac7b13da43887f6fd9e4571f3dd477de6',1,'parser.h']]], - ['arc_5fparser_5fparsefile_182',['ARC_Parser_ParseFile',['../d5/d36/parser_8h.html#a07112a0644e5f29259bd814a4b4d5a86',1,'parser.h']]], - ['arc_5fparsercsv_5fcreateasparser_183',['ARC_ParserCSV_CreateAsParser',['../d3/d8e/csv_8h.html#a74a4a58425ddc46dc29064362c800c22',1,'csv.h']]], - ['arc_5fparserdata_5fhelperrecursestringadd_184',['ARC_ParserData_HelperRecurseStringAdd',['../d1/d98/helpers_8h.html#ab5c1f169c37491d2b5d85f3227e83d97',1,'helpers.h']]], - ['arc_5fparserlang_5fcreateasparser_185',['ARC_ParserLang_CreateAsParser',['../dd/d0d/parserlang_8h.html#a7a4e2867cbe7180ffd981b767e274e32',1,'parserlang.h']]], - ['arc_5fpoint_5fdelete_186',['ARC_Point_Delete',['../d8/dec/math_2config_8h.html#ad13aa1159a8582aeb83d15945d1e5e74',1,'config.h']]], - ['arc_5fpoint_5fread_187',['ARC_Point_Read',['../d8/dec/math_2config_8h.html#a2e97769e1aa3fc24a25b5dd4dc7fc641',1,'config.h']]], - ['arc_5fqueue_5fcreate_188',['ARC_Queue_Create',['../d8/d38/queue_8h.html#ae8b1146e12bbf3fb85323f3d142df0bf',1,'queue.h']]], - ['arc_5fqueue_5fdestroy_189',['ARC_Queue_Destroy',['../d8/d38/queue_8h.html#a3a02c62a5c9ea508b2ad0f4f6512331d',1,'queue.h']]], - ['arc_5fqueue_5fpop_190',['ARC_Queue_Pop',['../d8/d38/queue_8h.html#a6dfacddca2614a104273d52726fb4bb9',1,'queue.h']]], - ['arc_5fqueue_5fpush_191',['ARC_Queue_Push',['../d8/d38/queue_8h.html#a148faa7bfa969213e32a29aaf3799cd3',1,'queue.h']]], - ['arc_5fqueue_5fsize_192',['ARC_Queue_Size',['../d8/d38/queue_8h.html#a874a468cb3a68e9193618c9d2eac11b6',1,'queue.h']]], - ['arc_5frect_5fcasttofrect_193',['ARC_Rect_CastToFRect',['../d2/d14/math_2rectangle_8h.html#a8e74551a0f97bd4fcaf3b1f6041d0cc5',1,'rectangle.h']]], - ['arc_5frect_5fcenteron_194',['ARC_Rect_CenterOn',['../d2/d14/math_2rectangle_8h.html#a910c21230647ae28c55194d255bc8a7d',1,'rectangle.h']]], - ['arc_5frect_5fdelete_195',['ARC_Rect_Delete',['../d8/dec/math_2config_8h.html#a6d7312208f5682f3a192babb111ca69f',1,'config.h']]], - ['arc_5frect_5fintersects_196',['ARC_Rect_Intersects',['../d2/d14/math_2rectangle_8h.html#a05c6b1799b44d3c011ea03510f05fab9',1,'rectangle.h']]], - ['arc_5frect_5fintersectspoint_197',['ARC_Rect_IntersectsPoint',['../d2/d14/math_2rectangle_8h.html#aca466591cebea1e1d30f7c2d161f5f0f',1,'rectangle.h']]], - ['arc_5frect_5flineintersects_198',['ARC_Rect_LineIntersects',['../d2/d14/math_2rectangle_8h.html#ae533a88317c303e0efa00f95887b419f',1,'rectangle.h']]], - ['arc_5frect_5fread_199',['ARC_Rect_Read',['../d8/dec/math_2config_8h.html#af38ac2494f7efa68ebfc7ed682058fb6',1,'config.h']]], - ['arc_5frect_5frender_200',['ARC_Rect_Render',['../d7/d09/graphics_2rectangle_8h.html#abb21f449f86c080831ccecf9600d97c7',1,'rectangle.h']]], - ['arc_5frect_5frenderfill_201',['ARC_Rect_RenderFill',['../d7/d09/graphics_2rectangle_8h.html#acb8d5ed7ac0ab7c7b51c9924cbb017df',1,'rectangle.h']]], - ['arc_5frectarray_5fdelete_202',['ARC_RectArray_Delete',['../d8/dec/math_2config_8h.html#a4abf90210167775903b4dcfa9c27e55b',1,'config.h']]], - ['arc_5frectarray_5fread_203',['ARC_RectArray_Read',['../d8/dec/math_2config_8h.html#a82205ff4afb8ca851cb0e8d0ad28c25f',1,'config.h']]], - ['arc_5frenderer_5fclear_204',['ARC_Renderer_Clear',['../d6/d85/renderer_8h.html#a658b3d0b45be17d35a4ba6f58c6c410d',1,'renderer.h']]], - ['arc_5frenderer_5fcreatewithenginedata_205',['ARC_Renderer_CreateWithEngineData',['../d6/d85/renderer_8h.html#a498204d28a753ae15b67962960ddca04',1,'renderer.h']]], - ['arc_5frenderer_5fdestroy_206',['ARC_Renderer_Destroy',['../d6/d85/renderer_8h.html#abc868b155fe4429b0569cf07fec57a76',1,'renderer.h']]], - ['arc_5frenderer_5frender_207',['ARC_Renderer_Render',['../d6/d85/renderer_8h.html#ac44af02eacceb9af14f87e8a7f62aad5',1,'renderer.h']]], - ['arc_5fsprite_5fcopy_208',['ARC_Sprite_Copy',['../db/d08/sprite_8h.html#ac71528b8b08e5c9f9ef12377413c887f',1,'sprite.h']]], - ['arc_5fsprite_5fcreate_209',['ARC_Sprite_Create',['../db/d08/sprite_8h.html#a236db372d25ec6939fc3a59a50174d2c',1,'sprite.h']]], - ['arc_5fsprite_5fdestroy_210',['ARC_Sprite_Destroy',['../db/d08/sprite_8h.html#a37754370968f742ee6bfbb179a50804c',1,'sprite.h']]], - ['arc_5fsprite_5fgetallbounds_211',['ARC_Sprite_GetAllBounds',['../db/d08/sprite_8h.html#aa94ca232d44c6de7b4f00754152da02e',1,'sprite.h']]], - ['arc_5fsprite_5fgetbounds_212',['ARC_Sprite_GetBounds',['../db/d08/sprite_8h.html#a98ceee44610d603afd0ed235fd72cc95',1,'sprite.h']]], - ['arc_5fsprite_5fgetframeindex_213',['ARC_Sprite_GetFrameIndex',['../db/d08/sprite_8h.html#a001e727b8923a2435a873eb085e50308',1,'sprite.h']]], - ['arc_5fsprite_5fiterateframe_214',['ARC_Sprite_IterateFrame',['../db/d08/sprite_8h.html#ae8f6efb1950a0e908efcd59b69427f38',1,'sprite.h']]], - ['arc_5fsprite_5frender_215',['ARC_Sprite_Render',['../db/d08/sprite_8h.html#a0e2479255f39c245c08a8791aea5e877',1,'sprite.h']]], - ['arc_5fsprite_5frenderflip_216',['ARC_Sprite_RenderFlip',['../db/d08/sprite_8h.html#a96fa458abc8926631b646a8e89899474',1,'sprite.h']]], - ['arc_5fsprite_5frenderrotated_217',['ARC_Sprite_RenderRotated',['../db/d08/sprite_8h.html#a57c6332c153a9abd0906b822fc1614ef',1,'sprite.h']]], - ['arc_5fsprite_5fsetframeindex_218',['ARC_Sprite_SetFrameIndex',['../db/d08/sprite_8h.html#ae6bed9d1c4c5c7a5ced00b45672c94f9',1,'sprite.h']]], - ['arc_5fsprite_5fsetopacity_219',['ARC_Sprite_SetOpacity',['../db/d08/sprite_8h.html#a93598bcc2eee0b8e3eb1a94ebbcf3e5e',1,'sprite.h']]], - ['arc_5fspritesheet_5fcreatefromfile_220',['ARC_Spritesheet_CreateFromFile',['../d9/d53/spritesheet_8h.html#a07d3eb2716f237551fb29dc425a14870',1,'spritesheet.h']]], - ['arc_5fspritesheet_5fdestroy_221',['ARC_Spritesheet_Destroy',['../d9/d53/spritesheet_8h.html#abef4c60c51ed55e11b67c33073092811',1,'spritesheet.h']]], - ['arc_5fspritesheet_5fgetsize_222',['ARC_Spritesheet_GetSize',['../d9/d53/spritesheet_8h.html#a87bd15ebf4a1ebebe8f8033dd55c0142',1,'spritesheet.h']]], - ['arc_5fspritesheet_5fgettilesize_223',['ARC_Spritesheet_GetTileSize',['../d9/d53/spritesheet_8h.html#a6881e1db0e3ccf7aec5b97d59cc558c6',1,'spritesheet.h']]], - ['arc_5fspritesheet_5frenderarea_224',['ARC_Spritesheet_RenderArea',['../d9/d53/spritesheet_8h.html#ab2943ba8a63fa94ad9ddff7ecc3b2dc7',1,'spritesheet.h']]], - ['arc_5fssh_5fcreate_225',['ARC_Ssh_Create',['../d8/dd3/ssh_8h.html#ad489e520aa92d284e50db127e1e8157a',1,'ssh.h']]], - ['arc_5fssh_5fdestroy_226',['ARC_Ssh_Destroy',['../d8/dd3/ssh_8h.html#a08efa4bb06634fc63432bee3f0cafbc1',1,'ssh.h']]], - ['arc_5fssh_5fexecstrinnewsession_227',['ARC_Ssh_ExecStrInNewSession',['../d8/dd3/ssh_8h.html#a1e5f9b0c05c7e9b9d99430dc05ef02b3',1,'ssh.h']]], - ['arc_5fssh_5fexecstrinnewsessionandgetresponse_228',['ARC_Ssh_ExecStrInNewSessionAndGetResponse',['../d8/dd3/ssh_8h.html#a1cc4737620480eb72a38fd0bbc84a9d2',1,'ssh.h']]], - ['arc_5fssh_5fruninsession_229',['ARC_Ssh_RunInSession',['../d8/dd3/ssh_8h.html#a611049154ff185c551929068f3d0270a',1,'ssh.h']]], - ['arc_5fstack_5fcreate_230',['ARC_Stack_Create',['../d7/de0/stack_8h.html#a417d13b0df8a526cf05434eb1a50c5d8',1,'stack.h']]], - ['arc_5fstack_5fdestroy_231',['ARC_Stack_Destroy',['../d7/de0/stack_8h.html#ad6676de1da13c329b570551b19b612db',1,'stack.h']]], - ['arc_5fstack_5fpop_232',['ARC_Stack_Pop',['../d7/de0/stack_8h.html#ad5aca2f0b980d4d6381aab106c080fb7',1,'stack.h']]], - ['arc_5fstack_5fpush_233',['ARC_Stack_Push',['../d7/de0/stack_8h.html#a5d38f618c864bd60910197d3004a5712',1,'stack.h']]], - ['arc_5fstack_5fsize_234',['ARC_Stack_Size',['../d7/de0/stack_8h.html#a3912e4fe5a7f15d819bd596d6df4385d',1,'stack.h']]], - ['arc_5fstate_5frender_235',['ARC_State_Render',['../db/d3b/state_8h.html#a1b23e5fee1f209b7e65f78fac82dd238',1,'state.h']]], - ['arc_5fstate_5fupdate_236',['ARC_State_Update',['../db/d3b/state_8h.html#a7fff169abbb4aaa5bb3f3b0e8b6f3785',1,'state.h']]], - ['arc_5fstring_5fappend_237',['ARC_String_Append',['../da/d66/string_8h.html#a9576075f09dfbbbb2f3184b5e22920ee',1,'string.h']]], - ['arc_5fstring_5fappendcstring_238',['ARC_String_AppendCString',['../da/d66/string_8h.html#a62f1a304befda4abb8258f760489c3a3',1,'string.h']]], - ['arc_5fstring_5fappendcstringwithstrlen_239',['ARC_String_AppendCStringWithStrlen',['../da/d66/string_8h.html#a26e2b9243b6a267fef716616f6af03cc',1,'string.h']]], - ['arc_5fstring_5fcopy_240',['ARC_String_Copy',['../da/d66/string_8h.html#a858b5bc28ef8a7a3378c3a73518f3894',1,'string.h']]], - ['arc_5fstring_5fcopyreplacematching_241',['ARC_String_CopyReplaceMatching',['../da/d66/string_8h.html#a77e13f5ca3011539b4b59e2c84195d50',1,'string.h']]], - ['arc_5fstring_5fcopysubstring_242',['ARC_String_CopySubstring',['../da/d66/string_8h.html#a46afa17a4032d39ad0df4687671708ed',1,'string.h']]], - ['arc_5fstring_5fcreate_243',['ARC_String_Create',['../da/d66/string_8h.html#a709d2bb4b120569a636e0afdf5e8f1d0',1,'string.h']]], - ['arc_5fstring_5fcreateempty_244',['ARC_String_CreateEmpty',['../da/d66/string_8h.html#ab490665902a439aeca2ac9e22a2ef16c',1,'string.h']]], - ['arc_5fstring_5fcreatewithstrlen_245',['ARC_String_CreateWithStrlen',['../da/d66/string_8h.html#a5cc6bf2a8e4cba4e60f3ec51db3ea04f',1,'string.h']]], - ['arc_5fstring_5fdestroy_246',['ARC_String_Destroy',['../da/d66/string_8h.html#ac63d17182fd14297f5e7021488d74e35',1,'string.h']]], - ['arc_5fstring_5fequals_247',['ARC_String_Equals',['../da/d66/string_8h.html#abbb398cb869b22acdcf9b9f78fdef484',1,'string.h']]], - ['arc_5fstring_5fequalscstring_248',['ARC_String_EqualsCString',['../da/d66/string_8h.html#a462b22bb7a5994b3cad7c752e7bd430b',1,'string.h']]], - ['arc_5fstring_5fequalscstringwithstrlen_249',['ARC_String_EqualsCStringWithStrlen',['../da/d66/string_8h.html#a8263ad0461c0261c9d410264e80c6f63',1,'string.h']]], - ['arc_5fstring_5ffind_250',['ARC_String_Find',['../da/d66/string_8h.html#aceafae33cc96443b39a9833dace2920b',1,'string.h']]], - ['arc_5fstring_5ffindback_251',['ARC_String_FindBack',['../da/d66/string_8h.html#a494719688ca2f9619b439a780b6d21c8',1,'string.h']]], - ['arc_5fstring_5ffindbackcstring_252',['ARC_String_FindBackCString',['../da/d66/string_8h.html#a7caed0e2aa274aa979ed70f6c43c9cc2',1,'string.h']]], - ['arc_5fstring_5ffindbackcstringwithstrlen_253',['ARC_String_FindBackCStringWithStrlen',['../da/d66/string_8h.html#a56f9ec8e9c7be41013336d1be43b52c0',1,'string.h']]], - ['arc_5fstring_5ffindcstring_254',['ARC_String_FindCString',['../da/d66/string_8h.html#ab0d31ccb3fdcc52b28d6f6dc37dd517e',1,'string.h']]], - ['arc_5fstring_5ffindcstringwithstrlen_255',['ARC_String_FindCStringWithStrlen',['../da/d66/string_8h.html#a39095ee912ec30c12ae83c4e69a7f96d',1,'string.h']]], - ['arc_5fstring_5fisalpha_256',['ARC_String_IsAlpha',['../da/d66/string_8h.html#ac4f8e05da0ee56b42e6fd43ff0316b37',1,'string.h']]], - ['arc_5fstring_5fisnumeric_257',['ARC_String_IsNumeric',['../da/d66/string_8h.html#ae6ff477296333f710b646e44cb1143cc',1,'string.h']]], - ['arc_5fstring_5fmerge_258',['ARC_String_Merge',['../da/d66/string_8h.html#a2cd0441218a01c2fa51b72af7f3aec33',1,'string.h']]], - ['arc_5fstring_5fremovesection_259',['ARC_String_RemoveSection',['../da/d66/string_8h.html#adbfcd7207e69a681c4917c78979846c7',1,'string.h']]], - ['arc_5fstring_5fremovesubstring_260',['ARC_String_RemoveSubstring',['../da/d66/string_8h.html#a0d3876994334bfa182b0618eec40c2db',1,'string.h']]], - ['arc_5fstring_5freplacematching_261',['ARC_String_ReplaceMatching',['../da/d66/string_8h.html#aff0057fe8494488577e1def0d4d45d35',1,'string.h']]], - ['arc_5fstring_5freplacematchingcstring_262',['ARC_String_ReplaceMatchingCString',['../da/d66/string_8h.html#ad1460b8672ce7bbcca12dfa624ab718c',1,'string.h']]], - ['arc_5fstring_5freplacematchingcstringwithstrlen_263',['ARC_String_ReplaceMatchingCStringWithStrlen',['../da/d66/string_8h.html#a26eaf34ae33fb6a4ed83ca6588053fa3',1,'string.h']]], - ['arc_5fstring_5freplacewithsubstring_264',['ARC_String_ReplaceWithSubstring',['../da/d66/string_8h.html#adb1300975ff401b06cb3911dd01df67a',1,'string.h']]], - ['arc_5fstring_5fstripends_265',['ARC_String_StripEnds',['../da/d66/string_8h.html#adb34b011844da1396f819beed7f3c2e7',1,'string.h']]], - ['arc_5fstring_5fstripendswhitespace_266',['ARC_String_StripEndsWhitespace',['../da/d66/string_8h.html#a07793784e6f8abd41292c90bb5b20005',1,'string.h']]], - ['arc_5fstring_5fstripwhitespace_267',['ARC_String_StripWhitespace',['../da/d66/string_8h.html#ab5b73947baed7314b0a6d604f024622d',1,'string.h']]], - ['arc_5fstring_5fsubstringequals_268',['ARC_String_SubstringEquals',['../da/d66/string_8h.html#a8eef7eb3d72db140b4e386fdbfe3cb1d',1,'string.h']]], - ['arc_5fstring_5fsubstringequalscstring_269',['ARC_String_SubstringEqualsCString',['../da/d66/string_8h.html#aa14072c999b1f1019273432c7f3d2037',1,'string.h']]], - ['arc_5fstring_5ftodouble_270',['ARC_String_ToDouble',['../da/d66/string_8h.html#ad4935cb88cdf297ea99df5148001941a',1,'string.h']]], - ['arc_5fstring_5ftoint64_5ft_271',['ARC_String_ToInt64_t',['../da/d66/string_8h.html#a1221952a590f38856fc794c8ba1f3494',1,'string.h']]], - ['arc_5fstring_5ftouint64_5ft_272',['ARC_String_ToUint64_t',['../da/d66/string_8h.html#a04c1e07bdeede187ad7375dfc5283e99',1,'string.h']]], - ['arc_5ftext_5fcreate_273',['ARC_Text_Create',['../d9/dcc/text_8h.html#a317688d3c7ed9dc82fdef7dd136fd462',1,'text.h']]], - ['arc_5ftext_5fdestroy_274',['ARC_Text_Destroy',['../d9/dcc/text_8h.html#a81e08f1c4210a1d33a6b5be4ff2bde8c',1,'text.h']]], - ['arc_5ftext_5frender_275',['ARC_Text_Render',['../d9/dcc/text_8h.html#a8fb85afa64d8e337f475db6eaa23bbcb',1,'text.h']]], - ['arc_5ftext_5fsetpos_276',['ARC_Text_SetPos',['../d9/dcc/text_8h.html#acaf60a21f71839044b1eaa775c443db7',1,'text.h']]], - ['arc_5ftext_5fsetstring_277',['ARC_Text_SetString',['../d9/dcc/text_8h.html#a2d5bfd55a4035453bcf751514e04f362',1,'text.h']]], - ['arc_5ftime_5fcopyfromstructtmptr_278',['ARC_Time_CopyFromStructTmPtr',['../de/df7/time_8h.html#a77e3c70990681ec05eef64214b61efab',1,'time.h']]], - ['arc_5fvector2_5fnormalize_279',['ARC_Vector2_Normalize',['../d1/d03/vector2_8h.html#ad7827f08a4898d2b8358a407d52dfe9c',1,'vector2.h']]], - ['arc_5fvector2_5frotatedegree_280',['ARC_Vector2_RotateDegree',['../d1/d03/vector2_8h.html#a37b30084c8ebb416c5bbf621a7362e43',1,'vector2.h']]], - ['arc_5fvector_5fadd_281',['ARC_Vector_Add',['../d2/d19/group__ARC__Vector.html#ga2a06c8c4c1fc1f99e08568ef92c186ae',1,'vector.h']]], - ['arc_5fvector_5fclear_282',['ARC_Vector_Clear',['../d2/d19/group__ARC__Vector.html#gac0f528744e3da5f3334d91f6ecf542ec',1,'vector.h']]], - ['arc_5fvector_5fcreate_283',['ARC_Vector_Create',['../d2/d19/group__ARC__Vector.html#gac8de583c096684695a7d862c581b78f6',1,'vector.h']]], - ['arc_5fvector_5fdestroy_284',['ARC_Vector_Destroy',['../d2/d19/group__ARC__Vector.html#ga605bb525f6df05ec88742237e1911e47',1,'vector.h']]], - ['arc_5fvector_5fget_285',['ARC_Vector_Get',['../d2/d19/group__ARC__Vector.html#ga1b01ba012d6fe295e8ce1446f9a6a3a0',1,'vector.h']]], - ['arc_5fvector_5fgetsize_286',['ARC_Vector_GetSize',['../d2/d19/group__ARC__Vector.html#ga0c72f76fed251ea51a8be057f9c89504',1,'vector.h']]], - ['arc_5fvector_5fremove_287',['ARC_Vector_Remove',['../d2/d19/group__ARC__Vector.html#ga443185fcb80a2593b4b1f580a1b11133',1,'vector.h']]], - ['arc_5fvector_5fremoveindex_288',['ARC_Vector_RemoveIndex',['../d2/d19/group__ARC__Vector.html#gab05c0f7ebefe73729d3e2c2e6e528d00',1,'vector.h']]], - ['arc_5fview_5fcreate_289',['ARC_View_Create',['../d5/de5/graphics_2view_8h.html#ab6dc86e2534d18462197a7f5631eb6f1',1,'view.h']]], - ['arc_5fview_5fdestroy_290',['ARC_View_Destroy',['../d5/de5/graphics_2view_8h.html#aa4fbfd12f927bd495594828e3b43b561',1,'view.h']]], - ['arc_5fview_5fgetbounds_291',['ARC_View_GetBounds',['../d5/de5/graphics_2view_8h.html#a1bfd840c5d19e24cff495ce95c67f18e',1,'view.h']]], - ['arc_5fview_5frender_292',['ARC_View_Render',['../d5/de5/graphics_2view_8h.html#a3ae6e8988b6128f00589aba6183b5f86',1,'view.h']]], - ['arc_5fwindow_5fcreate_293',['ARC_Window_Create',['../d3/df1/window_8h.html#ac2943b39d2140ae27cd98d362053f27c',1,'window.h']]], - ['arc_5fwindow_5fdestroy_294',['ARC_Window_Destroy',['../d3/df1/window_8h.html#afb68d49b50117b8cec312c7a5999c1a6',1,'window.h']]] -]; diff --git a/doc/doxygen/html/search/functions_1.js b/doc/doxygen/html/search/functions_1.js deleted file mode 100644 index 5482e75..0000000 --- a/doc/doxygen/html/search/functions_1.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['crc32_0',['CRC32',['../d8/de9/hashtable_8c.html#af99ebd945963faf2afc5510e7a19e4c0',1,'hashtable.c']]] -]; diff --git a/doc/doxygen/html/search/functions_2.js b/doc/doxygen/html/search/functions_2.js deleted file mode 100644 index a814319..0000000 --- a/doc/doxygen/html/search/functions_2.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['main_0',['main',['../d9/d86/3_830_85_2CompilerIdC_2CMakeCCompilerId_8c.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main(int argc, char *argv[]): CMakeCCompilerId.c'],['../d6/d74/3_831_80_2CompilerIdC_2CMakeCCompilerId_8c.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main(int argc, char *argv[]): CMakeCCompilerId.c'],['../d8/d80/3_831_81_2CompilerIdC_2CMakeCCompilerId_8c.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main(int argc, char *argv[]): CMakeCCompilerId.c'],['../db/df5/3_831_82_2CompilerIdC_2CMakeCCompilerId_8c.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main(int argc, char *argv[]): CMakeCCompilerId.c'],['../d9/d36/3_831_83_2CompilerIdC_2CMakeCCompilerId_8c.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main(int argc, char *argv[]): CMakeCCompilerId.c'],['../d8/db9/test_8c.html#a840291bc02cba5474a4cb46a9b9566fe',1,'main(void): test.c']]] -]; diff --git a/doc/doxygen/html/search/functions_3.js b/doc/doxygen/html/search/functions_3.js deleted file mode 100644 index 339c358..0000000 --- a/doc/doxygen/html/search/functions_3.js +++ /dev/null @@ -1,15 +0,0 @@ -var searchData= -[ - ['test_5fparser_5fgetstringidfn_0',['TEST_Parser_GetStringIdFn',['../de/df2/tests_2std_2parser_8c.html#a2c2f83d69fb77f4d1a4168a4710323eb',1,'parser.c']]], - ['test_5fparser_5finitbasiclexertokenrules_1',['TEST_Parser_InitBasicLexerTokenRules',['../de/df2/tests_2std_2parser_8c.html#ace6c68779118fc51143abff75f8d218c',1,'parser.c']]], - ['test_5fparser_5finitlexerrulesfn_2',['TEST_Parser_InitLexerRulesFn',['../de/df2/tests_2std_2parser_8c.html#a4a9d898bbd28d18bb06865a29e6dc5fc',1,'parser.c']]], - ['test_5fparsercsv_5fcasttypefn_3',['TEST_ParserCSV_CastTypeFn',['../df/d9c/tests_2std_2parser_2csv_8c.html#accbc4c4a4e937d3747a83ae07edf2b6a',1,'csv.c']]], - ['test_5fparsercsv_5fdestroytypefn_4',['TEST_ParserCSV_DestroyTypeFn',['../df/d9c/tests_2std_2parser_2csv_8c.html#aeb9f48a9a3d16b1f5eaed50013064809',1,'csv.c']]], - ['test_5fparserdata_5fcreatecharfn_5',['TEST_ParserData_CreateCharFn',['../de/df2/tests_2std_2parser_8c.html#a30089ee0b33816491e6a4823ce4a9bf0',1,'parser.c']]], - ['test_5fparserdata_5fcreatestringfn_6',['TEST_ParserData_CreateStringFn',['../de/df2/tests_2std_2parser_8c.html#af2fea42ae6145fc9931440cde32caee6',1,'parser.c']]], - ['test_5fparserdata_5fdestroycharfn_7',['TEST_ParserData_DestroyCharFn',['../de/df2/tests_2std_2parser_8c.html#a979e9467d8ac0d3fdbccd170f24da8a5',1,'parser.c']]], - ['test_5fparserdata_5fdestroystringfn_8',['TEST_ParserData_DestroyStringFn',['../de/df2/tests_2std_2parser_8c.html#ae06c939814f08a7d881f4d80cb04805d',1,'parser.c']]], - ['test_5fparserlang_5fgetidfn_9',['TEST_ParserLang_GetIdFn',['../da/d17/tests_2std_2parser_2parserlang_8c.html#acf3b28f97748aa5926318e8e5e177e0d',1,'parserlang.c']]], - ['test_5fvector_5fcomparedatafn_10',['TEST_Vector_CompareDataFn',['../dc/d82/tests_2std_2vector_8c.html#a0aa3a38077012a111ec4b40781a7417a',1,'vector.c']]], - ['test_5fvector_5fdestroydatafn_11',['TEST_Vector_DestroyDataFn',['../dc/d82/tests_2std_2vector_8c.html#a9716bb56ca617dabd6e01ae2c504f290',1,'vector.c']]] -]; diff --git a/doc/doxygen/html/search/functions_4.js b/doc/doxygen/html/search/functions_4.js deleted file mode 100644 index 0a02ab4..0000000 --- a/doc/doxygen/html/search/functions_4.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['verify_5fknownhost_0',['verify_knownhost',['../d7/dfb/ssh_8c.html#ad5d8ab97d3635ecaf8fa78225cb960fb',1,'ssh.c']]] -]; diff --git a/doc/doxygen/html/search/groups_0.js b/doc/doxygen/html/search/groups_0.js deleted file mode 100644 index a674948..0000000 --- a/doc/doxygen/html/search/groups_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['arc_5fvector_0',['ARC_Vector',['../d2/d19/group__ARC__Vector.html',1,'']]] -]; diff --git a/doc/doxygen/html/search/mag.svg b/doc/doxygen/html/search/mag.svg deleted file mode 100644 index ffb6cf0..0000000 --- a/doc/doxygen/html/search/mag.svg +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - diff --git a/doc/doxygen/html/search/mag_d.svg b/doc/doxygen/html/search/mag_d.svg deleted file mode 100644 index 4122773..0000000 --- a/doc/doxygen/html/search/mag_d.svg +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - diff --git a/doc/doxygen/html/search/mag_sel.svg b/doc/doxygen/html/search/mag_sel.svg deleted file mode 100644 index 553dba8..0000000 --- a/doc/doxygen/html/search/mag_sel.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - diff --git a/doc/doxygen/html/search/mag_seld.svg b/doc/doxygen/html/search/mag_seld.svg deleted file mode 100644 index c906f84..0000000 --- a/doc/doxygen/html/search/mag_seld.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - diff --git a/doc/doxygen/html/search/pages_0.js b/doc/doxygen/html/search/pages_0.js deleted file mode 100644 index ebe3c8e..0000000 --- a/doc/doxygen/html/search/pages_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['archeus_20documentation_0',['Archeus Documentation',['../index.html',1,'']]] -]; diff --git a/doc/doxygen/html/search/pages_1.js b/doc/doxygen/html/search/pages_1.js deleted file mode 100644 index 4631ae5..0000000 --- a/doc/doxygen/html/search/pages_1.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['documentation_0',['Archeus Documentation',['../index.html',1,'']]] -]; diff --git a/doc/doxygen/html/search/pages_2.js b/doc/doxygen/html/search/pages_2.js deleted file mode 100644 index e5afc57..0000000 --- a/doc/doxygen/html/search/pages_2.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['library_0',['Standard Library',['../de/d96/library.html',1,'']]] -]; diff --git a/doc/doxygen/html/search/pages_3.js b/doc/doxygen/html/search/pages_3.js deleted file mode 100644 index 19b1c80..0000000 --- a/doc/doxygen/html/search/pages_3.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['standard_20library_0',['Standard Library',['../de/d96/library.html',1,'']]] -]; diff --git a/doc/doxygen/html/search/pages_4.js b/doc/doxygen/html/search/pages_4.js deleted file mode 100644 index aba3bed..0000000 --- a/doc/doxygen/html/search/pages_4.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['page_0',['Example Page',['../d0/db1/page1.html',1,'']]] -]; diff --git a/doc/doxygen/html/search/search.css b/doc/doxygen/html/search/search.css deleted file mode 100644 index 19f76f9..0000000 --- a/doc/doxygen/html/search/search.css +++ /dev/null @@ -1,291 +0,0 @@ -/*---------------- Search Box positioning */ - -#main-menu > li:last-child { - /* This
  • object is the parent of the search bar */ - display: flex; - justify-content: center; - align-items: center; - height: 36px; - margin-right: 1em; -} - -/*---------------- Search box styling */ - -.SRPage * { - font-weight: normal; - line-height: normal; -} - -dark-mode-toggle { - margin-left: 5px; - display: flex; - float: right; -} - -#MSearchBox { - display: inline-block; - white-space : nowrap; - background: var(--search-background-color); - border-radius: 0.65em; - box-shadow: var(--search-box-shadow); - z-index: 102; -} - -#MSearchBox .left { - display: inline-block; - vertical-align: middle; - height: 1.4em; -} - -#MSearchSelect { - display: inline-block; - vertical-align: middle; - width: 20px; - height: 19px; - background-image: var(--search-magnification-select-image); - margin: 0 0 0 0.3em; - padding: 0; -} - -#MSearchSelectExt { - display: inline-block; - vertical-align: middle; - width: 10px; - height: 19px; - background-image: var(--search-magnification-image); - margin: 0 0 0 0.5em; - padding: 0; -} - - -#MSearchField { - display: inline-block; - vertical-align: middle; - width: 7.5em; - height: 19px; - margin: 0 0.15em; - padding: 0; - line-height: 1em; - border:none; - color: var(--search-foreground-color); - outline: none; - font-family: var(--font-family-search); - -webkit-border-radius: 0px; - border-radius: 0px; - background: none; -} - -@media(hover: none) { - /* to avoid zooming on iOS */ - #MSearchField { - font-size: 16px; - } -} - -#MSearchBox .right { - display: inline-block; - vertical-align: middle; - width: 1.4em; - height: 1.4em; -} - -#MSearchClose { - display: none; - font-size: inherit; - background : none; - border: none; - margin: 0; - padding: 0; - outline: none; - -} - -#MSearchCloseImg { - padding: 0.3em; - margin: 0; -} - -.MSearchBoxActive #MSearchField { - color: var(--search-active-color); -} - - - -/*---------------- Search filter selection */ - -#MSearchSelectWindow { - display: none; - position: absolute; - left: 0; top: 0; - border: 1px solid var(--search-filter-border-color); - background-color: var(--search-filter-background-color); - z-index: 10001; - padding-top: 4px; - padding-bottom: 4px; - -moz-border-radius: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -} - -.SelectItem { - font: 8pt var(--font-family-search); - padding-left: 2px; - padding-right: 12px; - border: 0px; -} - -span.SelectionMark { - margin-right: 4px; - font-family: var(--font-family-monospace); - outline-style: none; - text-decoration: none; -} - -a.SelectItem { - display: block; - outline-style: none; - color: var(--search-filter-foreground-color); - text-decoration: none; - padding-left: 6px; - padding-right: 12px; -} - -a.SelectItem:focus, -a.SelectItem:active { - color: var(--search-filter-foreground-color); - outline-style: none; - text-decoration: none; -} - -a.SelectItem:hover { - color: var(--search-filter-highlight-text-color); - background-color: var(--search-filter-highlight-bg-color); - outline-style: none; - text-decoration: none; - cursor: pointer; - display: block; -} - -/*---------------- Search results window */ - -iframe#MSearchResults { - /*width: 60ex;*/ - height: 15em; -} - -#MSearchResultsWindow { - display: none; - position: absolute; - left: 0; top: 0; - border: 1px solid var(--search-results-border-color); - background-color: var(--search-results-background-color); - z-index:10000; - width: 300px; - height: 400px; - overflow: auto; -} - -/* ----------------------------------- */ - - -#SRIndex { - clear:both; -} - -.SREntry { - font-size: 10pt; - padding-left: 1ex; -} - -.SRPage .SREntry { - font-size: 8pt; - padding: 1px 5px; -} - -div.SRPage { - margin: 5px 2px; - background-color: var(--search-results-background-color); -} - -.SRChildren { - padding-left: 3ex; padding-bottom: .5em -} - -.SRPage .SRChildren { - display: none; -} - -.SRSymbol { - font-weight: bold; - color: var(--search-results-foreground-color); - font-family: var(--font-family-search); - text-decoration: none; - outline: none; -} - -a.SRScope { - display: block; - color: var(--search-results-foreground-color); - font-family: var(--font-family-search); - font-size: 8pt; - text-decoration: none; - outline: none; -} - -a.SRSymbol:focus, a.SRSymbol:active, -a.SRScope:focus, a.SRScope:active { - text-decoration: underline; -} - -span.SRScope { - padding-left: 4px; - font-family: var(--font-family-search); -} - -.SRPage .SRStatus { - padding: 2px 5px; - font-size: 8pt; - font-style: italic; - font-family: var(--font-family-search); -} - -.SRResult { - display: none; -} - -div.searchresults { - margin-left: 10px; - margin-right: 10px; -} - -/*---------------- External search page results */ - -.pages b { - color: white; - padding: 5px 5px 3px 5px; - background-image: var(--nav-gradient-active-image-parent); - background-repeat: repeat-x; - text-shadow: 0 1px 1px #000000; -} - -.pages { - line-height: 17px; - margin-left: 4px; - text-decoration: none; -} - -.hl { - font-weight: bold; -} - -#searchresults { - margin-bottom: 20px; -} - -.searchpages { - margin-top: 10px; -} - diff --git a/doc/doxygen/html/search/search.js b/doc/doxygen/html/search/search.js deleted file mode 100644 index 666af01..0000000 --- a/doc/doxygen/html/search/search.js +++ /dev/null @@ -1,694 +0,0 @@ -/* - @licstart The following is the entire license notice for the JavaScript code in this file. - - The MIT License (MIT) - - Copyright (C) 1997-2020 by Dimitri van Heesch - - Permission is hereby granted, free of charge, to any person obtaining a copy of this software - and associated documentation files (the "Software"), to deal in the Software without restriction, - including without limitation the rights to use, copy, modify, merge, publish, distribute, - sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all copies or - substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - @licend The above is the entire license notice for the JavaScript code in this file - */ -const SEARCH_COOKIE_NAME = ''+'search_grp'; - -const searchResults = new SearchResults(); - -/* A class handling everything associated with the search panel. - - Parameters: - name - The name of the global variable that will be - storing this instance. Is needed to be able to set timeouts. - resultPath - path to use for external files -*/ -function SearchBox(name, resultsPath, extension) { - if (!name || !resultsPath) { alert("Missing parameters to SearchBox."); } - if (!extension || extension == "") { extension = ".html"; } - - function getXPos(item) { - let x = 0; - if (item.offsetWidth) { - while (item && item!=document.body) { - x += item.offsetLeft; - item = item.offsetParent; - } - } - return x; - } - - function getYPos(item) { - let y = 0; - if (item.offsetWidth) { - while (item && item!=document.body) { - y += item.offsetTop; - item = item.offsetParent; - } - } - return y; - } - - // ---------- Instance variables - this.name = name; - this.resultsPath = resultsPath; - this.keyTimeout = 0; - this.keyTimeoutLength = 500; - this.closeSelectionTimeout = 300; - this.lastSearchValue = ""; - this.lastResultsPage = ""; - this.hideTimeout = 0; - this.searchIndex = 0; - this.searchActive = false; - this.extension = extension; - - // ----------- DOM Elements - - this.DOMSearchField = () => document.getElementById("MSearchField"); - this.DOMSearchSelect = () => document.getElementById("MSearchSelect"); - this.DOMSearchSelectWindow = () => document.getElementById("MSearchSelectWindow"); - this.DOMPopupSearchResults = () => document.getElementById("MSearchResults"); - this.DOMPopupSearchResultsWindow = () => document.getElementById("MSearchResultsWindow"); - this.DOMSearchClose = () => document.getElementById("MSearchClose"); - this.DOMSearchBox = () => document.getElementById("MSearchBox"); - - // ------------ Event Handlers - - // Called when focus is added or removed from the search field. - this.OnSearchFieldFocus = function(isActive) { - this.Activate(isActive); - } - - this.OnSearchSelectShow = function() { - const searchSelectWindow = this.DOMSearchSelectWindow(); - const searchField = this.DOMSearchSelect(); - - const left = getXPos(searchField); - const top = getYPos(searchField) + searchField.offsetHeight; - - // show search selection popup - searchSelectWindow.style.display='block'; - searchSelectWindow.style.left = left + 'px'; - searchSelectWindow.style.top = top + 'px'; - - // stop selection hide timer - if (this.hideTimeout) { - clearTimeout(this.hideTimeout); - this.hideTimeout=0; - } - return false; // to avoid "image drag" default event - } - - this.OnSearchSelectHide = function() { - this.hideTimeout = setTimeout(this.CloseSelectionWindow.bind(this), - this.closeSelectionTimeout); - } - - // Called when the content of the search field is changed. - this.OnSearchFieldChange = function(evt) { - if (this.keyTimeout) { // kill running timer - clearTimeout(this.keyTimeout); - this.keyTimeout = 0; - } - - const e = evt ? evt : window.event; // for IE - if (e.keyCode==40 || e.keyCode==13) { - if (e.shiftKey==1) { - this.OnSearchSelectShow(); - const win=this.DOMSearchSelectWindow(); - for (let i=0;i do a search - this.Search(); - } - } - - this.OnSearchSelectKey = function(evt) { - const e = (evt) ? evt : window.event; // for IE - if (e.keyCode==40 && this.searchIndex0) { // Up - this.searchIndex--; - this.OnSelectItem(this.searchIndex); - } else if (e.keyCode==13 || e.keyCode==27) { - e.stopPropagation(); - this.OnSelectItem(this.searchIndex); - this.CloseSelectionWindow(); - this.DOMSearchField().focus(); - } - return false; - } - - // --------- Actions - - // Closes the results window. - this.CloseResultsWindow = function() { - this.DOMPopupSearchResultsWindow().style.display = 'none'; - this.DOMSearchClose().style.display = 'none'; - this.Activate(false); - } - - this.CloseSelectionWindow = function() { - this.DOMSearchSelectWindow().style.display = 'none'; - } - - // Performs a search. - this.Search = function() { - this.keyTimeout = 0; - - // strip leading whitespace - const searchValue = this.DOMSearchField().value.replace(/^ +/, ""); - - const code = searchValue.toLowerCase().charCodeAt(0); - let idxChar = searchValue.substr(0, 1).toLowerCase(); - if ( 0xD800 <= code && code <= 0xDBFF && searchValue > 1) { // surrogate pair - idxChar = searchValue.substr(0, 2); - } - - let jsFile; - let idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar); - if (idx!=-1) { - const hexCode=idx.toString(16); - jsFile = this.resultsPath + indexSectionNames[this.searchIndex] + '_' + hexCode + '.js'; - } - - const loadJS = function(url, impl, loc) { - const scriptTag = document.createElement('script'); - scriptTag.src = url; - scriptTag.onload = impl; - scriptTag.onreadystatechange = impl; - loc.appendChild(scriptTag); - } - - const domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); - const domSearchBox = this.DOMSearchBox(); - const domPopupSearchResults = this.DOMPopupSearchResults(); - const domSearchClose = this.DOMSearchClose(); - const resultsPath = this.resultsPath; - - const handleResults = function() { - document.getElementById("Loading").style.display="none"; - if (typeof searchData !== 'undefined') { - createResults(resultsPath); - document.getElementById("NoMatches").style.display="none"; - } - - if (idx!=-1) { - searchResults.Search(searchValue); - } else { // no file with search results => force empty search results - searchResults.Search('===='); - } - - if (domPopupSearchResultsWindow.style.display!='block') { - domSearchClose.style.display = 'inline-block'; - let left = getXPos(domSearchBox) + 150; - let top = getYPos(domSearchBox) + 20; - domPopupSearchResultsWindow.style.display = 'block'; - left -= domPopupSearchResults.offsetWidth; - const maxWidth = document.body.clientWidth; - const maxHeight = document.body.clientHeight; - let width = 300; - if (left<10) left=10; - if (width+left+8>maxWidth) width=maxWidth-left-8; - let height = 400; - if (height+top+8>maxHeight) height=maxHeight-top-8; - domPopupSearchResultsWindow.style.top = top + 'px'; - domPopupSearchResultsWindow.style.left = left + 'px'; - domPopupSearchResultsWindow.style.width = width + 'px'; - domPopupSearchResultsWindow.style.height = height + 'px'; - } - } - - if (jsFile) { - loadJS(jsFile, handleResults, this.DOMPopupSearchResultsWindow()); - } else { - handleResults(); - } - - this.lastSearchValue = searchValue; - } - - // -------- Activation Functions - - // Activates or deactivates the search panel, resetting things to - // their default values if necessary. - this.Activate = function(isActive) { - if (isActive || // open it - this.DOMPopupSearchResultsWindow().style.display == 'block' - ) { - this.DOMSearchBox().className = 'MSearchBoxActive'; - this.searchActive = true; - } else if (!isActive) { // directly remove the panel - this.DOMSearchBox().className = 'MSearchBoxInactive'; - this.searchActive = false; - this.lastSearchValue = '' - this.lastResultsPage = ''; - this.DOMSearchField().value = ''; - } - } -} - -// ----------------------------------------------------------------------- - -// The class that handles everything on the search results page. -function SearchResults() { - - function convertToId(search) { - let result = ''; - for (let i=0;i. - this.lastMatchCount = 0; - this.lastKey = 0; - this.repeatOn = false; - - // Toggles the visibility of the passed element ID. - this.FindChildElement = function(id) { - const parentElement = document.getElementById(id); - let element = parentElement.firstChild; - - while (element && element!=parentElement) { - if (element.nodeName.toLowerCase() == 'div' && element.className == 'SRChildren') { - return element; - } - - if (element.nodeName.toLowerCase() == 'div' && element.hasChildNodes()) { - element = element.firstChild; - } else if (element.nextSibling) { - element = element.nextSibling; - } else { - do { - element = element.parentNode; - } - while (element && element!=parentElement && !element.nextSibling); - - if (element && element!=parentElement) { - element = element.nextSibling; - } - } - } - } - - this.Toggle = function(id) { - const element = this.FindChildElement(id); - if (element) { - if (element.style.display == 'block') { - element.style.display = 'none'; - } else { - element.style.display = 'block'; - } - } - } - - // Searches for the passed string. If there is no parameter, - // it takes it from the URL query. - // - // Always returns true, since other documents may try to call it - // and that may or may not be possible. - this.Search = function(search) { - if (!search) { // get search word from URL - search = window.location.search; - search = search.substring(1); // Remove the leading '?' - search = unescape(search); - } - - search = search.replace(/^ +/, ""); // strip leading spaces - search = search.replace(/ +$/, ""); // strip trailing spaces - search = search.toLowerCase(); - search = convertToId(search); - - const resultRows = document.getElementsByTagName("div"); - let matches = 0; - - let i = 0; - while (i < resultRows.length) { - const row = resultRows.item(i); - if (row.className == "SRResult") { - let rowMatchName = row.id.toLowerCase(); - rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' - - if (search.length<=rowMatchName.length && - rowMatchName.substr(0, search.length)==search) { - row.style.display = 'block'; - matches++; - } else { - row.style.display = 'none'; - } - } - i++; - } - document.getElementById("Searching").style.display='none'; - if (matches == 0) { // no results - document.getElementById("NoMatches").style.display='block'; - } else { // at least one result - document.getElementById("NoMatches").style.display='none'; - } - this.lastMatchCount = matches; - return true; - } - - // return the first item with index index or higher that is visible - this.NavNext = function(index) { - let focusItem; - for (;;) { - const focusName = 'Item'+index; - focusItem = document.getElementById(focusName); - if (focusItem && focusItem.parentNode.parentNode.style.display=='block') { - break; - } else if (!focusItem) { // last element - break; - } - focusItem=null; - index++; - } - return focusItem; - } - - this.NavPrev = function(index) { - let focusItem; - for (;;) { - const focusName = 'Item'+index; - focusItem = document.getElementById(focusName); - if (focusItem && focusItem.parentNode.parentNode.style.display=='block') { - break; - } else if (!focusItem) { // last element - break; - } - focusItem=null; - index--; - } - return focusItem; - } - - this.ProcessKeys = function(e) { - if (e.type == "keydown") { - this.repeatOn = false; - this.lastKey = e.keyCode; - } else if (e.type == "keypress") { - if (!this.repeatOn) { - if (this.lastKey) this.repeatOn = true; - return false; // ignore first keypress after keydown - } - } else if (e.type == "keyup") { - this.lastKey = 0; - this.repeatOn = false; - } - return this.lastKey!=0; - } - - this.Nav = function(evt,itemIndex) { - const e = (evt) ? evt : window.event; // for IE - if (e.keyCode==13) return true; - if (!this.ProcessKeys(e)) return false; - - if (this.lastKey==38) { // Up - const newIndex = itemIndex-1; - let focusItem = this.NavPrev(newIndex); - if (focusItem) { - let child = this.FindChildElement(focusItem.parentNode.parentNode.id); - if (child && child.style.display == 'block') { // children visible - let n=0; - let tmpElem; - for (;;) { // search for last child - tmpElem = document.getElementById('Item'+newIndex+'_c'+n); - if (tmpElem) { - focusItem = tmpElem; - } else { // found it! - break; - } - n++; - } - } - } - if (focusItem) { - focusItem.focus(); - } else { // return focus to search field - document.getElementById("MSearchField").focus(); - } - } else if (this.lastKey==40) { // Down - const newIndex = itemIndex+1; - let focusItem; - const item = document.getElementById('Item'+itemIndex); - const elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem && elem.style.display == 'block') { // children visible - focusItem = document.getElementById('Item'+itemIndex+'_c0'); - } - if (!focusItem) focusItem = this.NavNext(newIndex); - if (focusItem) focusItem.focus(); - } else if (this.lastKey==39) { // Right - const item = document.getElementById('Item'+itemIndex); - const elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem) elem.style.display = 'block'; - } else if (this.lastKey==37) { // Left - const item = document.getElementById('Item'+itemIndex); - const elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem) elem.style.display = 'none'; - } else if (this.lastKey==27) { // Escape - e.stopPropagation(); - searchBox.CloseResultsWindow(); - document.getElementById("MSearchField").focus(); - } else if (this.lastKey==13) { // Enter - return true; - } - return false; - } - - this.NavChild = function(evt,itemIndex,childIndex) { - const e = (evt) ? evt : window.event; // for IE - if (e.keyCode==13) return true; - if (!this.ProcessKeys(e)) return false; - - if (this.lastKey==38) { // Up - if (childIndex>0) { - const newIndex = childIndex-1; - document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); - } else { // already at first child, jump to parent - document.getElementById('Item'+itemIndex).focus(); - } - } else if (this.lastKey==40) { // Down - const newIndex = childIndex+1; - let elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); - if (!elem) { // last child, jump to parent next parent - elem = this.NavNext(itemIndex+1); - } - if (elem) { - elem.focus(); - } - } else if (this.lastKey==27) { // Escape - e.stopPropagation(); - searchBox.CloseResultsWindow(); - document.getElementById("MSearchField").focus(); - } else if (this.lastKey==13) { // Enter - return true; - } - return false; - } -} - -function createResults(resultsPath) { - - function setKeyActions(elem,action) { - elem.setAttribute('onkeydown',action); - elem.setAttribute('onkeypress',action); - elem.setAttribute('onkeyup',action); - } - - function setClassAttr(elem,attr) { - elem.setAttribute('class',attr); - elem.setAttribute('className',attr); - } - - const results = document.getElementById("SRResults"); - results.innerHTML = ''; - searchData.forEach((elem,index) => { - const id = elem[0]; - const srResult = document.createElement('div'); - srResult.setAttribute('id','SR_'+id); - setClassAttr(srResult,'SRResult'); - const srEntry = document.createElement('div'); - setClassAttr(srEntry,'SREntry'); - const srLink = document.createElement('a'); - srLink.setAttribute('id','Item'+index); - setKeyActions(srLink,'return searchResults.Nav(event,'+index+')'); - setClassAttr(srLink,'SRSymbol'); - srLink.innerHTML = elem[1][0]; - srEntry.appendChild(srLink); - if (elem[1].length==2) { // single result - srLink.setAttribute('href',resultsPath+elem[1][1][0]); - srLink.setAttribute('onclick','searchBox.CloseResultsWindow()'); - if (elem[1][1][1]) { - srLink.setAttribute('target','_parent'); - } else { - srLink.setAttribute('target','_blank'); - } - const srScope = document.createElement('span'); - setClassAttr(srScope,'SRScope'); - srScope.innerHTML = elem[1][1][2]; - srEntry.appendChild(srScope); - } else { // multiple results - srLink.setAttribute('href','javascript:searchResults.Toggle("SR_'+id+'")'); - const srChildren = document.createElement('div'); - setClassAttr(srChildren,'SRChildren'); - for (let c=0; c-{AmhX=Jf(#6djGiuzAr*{o?=JLmPLyc> z_*`QK&+BH@jWrYJ7>r6%keRM@)Qyv8R=enp0jiI>aWlGyB58O zFVR20d+y`K7vDw(hJF3;>dD*3-?v=<8M)@x|EEGLnJsniYK!2U1 Y!`|5biEc?d1`HDhPgg&ebxsLQ02F6;9RL6T diff --git a/doc/doxygen/html/splitbard.png b/doc/doxygen/html/splitbard.png deleted file mode 100644 index 8367416d757fd7b6dc4272b6432dc75a75abd068..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 282 zcmeAS@N?(olHy`uVBq!ia0vp^Yzz!63>-{AmhX=Jf@VhhFKy35^fiT zT~&lUj3=cDh^%3HDY9k5CEku}PHXNoNC(_$U3XPb&Q*ME25pT;2(*BOgAf<+R$lzakPG`kF31()Fx{L5Wrac|GQzjeE= zueY1`Ze{#x<8=S|`~MgGetGce)#vN&|J{Cd^tS%;tBYTo?+^d68<#n_Y_xx`J||4O V@QB{^CqU0Kc)I$ztaD0e0svEzbJzd? diff --git a/doc/doxygen/html/sync_off.png b/doc/doxygen/html/sync_off.png deleted file mode 100644 index 3b443fc62892114406e3d399421b2a881b897acc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 853 zcmV-b1FHOqP)oT|#XixUYy%lpuf3i8{fX!o zUyDD0jOrAiT^tq>fLSOOABs-#u{dV^F$b{L9&!2=9&RmV;;8s^x&UqB$PCj4FdKbh zoB1WTskPUPu05XzFbA}=KZ-GP1fPpAfSs>6AHb12UlR%-i&uOlTpFNS7{jm@mkU1V zh`nrXr~+^lsV-s1dkZOaI|kYyVj3WBpPCY{n~yd%u%e+d=f%`N0FItMPtdgBb@py; zq@v6NVArhyTC7)ULw-Jy8y42S1~4n(3LkrW8mW(F-4oXUP3E`e#g**YyqI7h-J2zK zK{m9##m4ri!7N>CqQqCcnI3hqo1I;Yh&QLNY4T`*ptiQGozK>FF$!$+84Z`xwmeMh zJ0WT+OH$WYFALEaGj2_l+#DC3t7_S`vHpSivNeFbP6+r50cO8iu)`7i%Z4BTPh@_m3Tk!nAm^)5Bqnr%Ov|Baunj#&RPtRuK& z4RGz|D5HNrW83-#ydk}tVKJrNmyYt-sTxLGlJY5nc&Re zU4SgHNPx8~Yxwr$bsju?4q&%T1874xxzq+_%?h8_ofw~(bld=o3iC)LUNR*BY%c0y zWd_jX{Y8`l%z+ol1$@Qa?Cy!(0CVIEeYpKZ`(9{z>3$CIe;pJDQk$m3p}$>xBm4lb zKo{4S)`wdU9Ba9jJbVJ0C=SOefZe%d$8=2r={nu<_^a3~>c#t_U6dye5)JrR(_a^E f@}b6j1K9lwFJq@>o)+Ry00000NkvXXu0mjfWa5j* diff --git a/doc/doxygen/html/sync_on.png b/doc/doxygen/html/sync_on.png deleted file mode 100644 index e08320fb64e6fa33b573005ed6d8fe294e19db76..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 845 zcmV-T1G4;yP)Y;xxyHF2B5Wzm| zOOGupOTn@c(JmBOl)e;XMNnZuiTJP>rM8<|Q`7I_))aP?*T)ow&n59{}X4$3Goat zgjs?*aasfbrokzG5cT4K=uG`E14xZl@z)F={P0Y^?$4t z>v!teRnNZym<6h{7sLyF1V0HsfEl+l6TrZpsfr1}luH~F7L}ktXu|*uVX^RG$L0`K zWs3j|0tIvVe(N%_?2{(iCPFGf#B6Hjy6o&}D$A%W%jfO8_W%ZO#-mh}EM$LMn7joJ z05dHr!5Y92g+31l<%i1(=L1a1pXX+OYnalY>31V4K}BjyRe3)9n#;-cCVRD_IG1fT zOKGeNY8q;TL@K{dj@D^scf&VCs*-Jb>8b>|`b*osv52-!A?BpbYtTQBns5EAU**$m zSnVSm(teh>tQi*S*A>#ySc=n;`BHz`DuG4&g4Kf8lLhca+zvZ7t7RflD6-i-mcK=M z!=^P$*u2)bkY5asG4gsss!Hn%u~>}kIW`vMs%lJLH+u*9<4PaV_c6U`KqWXQH%+Nu zTv41O(^ZVi@qhjQdG!fbZw&y+2o!iYymO^?ud3{P*HdoX83YV*Uu_HB=?U&W9%AU# z80}k1SS-CXTU7dcQlsm<^oYLxVSseqY6NO}dc`Nj?8vrhNuCdm@^{a3AQ_>6myOj+ z`1RsLUXF|dm|3k7s2jD(B{rzE>WI2scH8i1;=O5Cc9xB3^aJk%fQjqsu+kH#0=_5a z0nCE8@dbQa-|YIuUVvG0L_IwHMEhOj$Mj4Uq05 X8=0q~qBNan00000NkvXXu0mjfptF>5 diff --git a/doc/doxygen/html/tab_a.png b/doc/doxygen/html/tab_a.png deleted file mode 100644 index 3b725c41c5a527a3a3e40097077d0e206a681247..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 142 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QlXwMjv*C{Z|8b*H5dputLHD# z=<0|*y7z(Vor?d;H&?EG&cXR}?!j-Lm&u1OOI7AIF5&c)RFE;&p0MYK>*Kl@eiymD r@|NpwKX@^z+;{u_Z~trSBfrMKa%3`zocFjEXaR$#tDnm{r-UW|TZ1%4 diff --git a/doc/doxygen/html/tab_ad.png b/doc/doxygen/html/tab_ad.png deleted file mode 100644 index e34850acfc24be58da6d2fd1ccc6b29cc84fe34d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 135 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QhuH;jv*C{Z|5d*H3V=pKi{In zd2jxLclDRPylmD}^l7{QOtL{vUjO{-WqItb5sQp2h-99b8^^Scr-=2mblCdZuUm?4 jzOJvgvt3{(cjKLW5(A@0qPS@<&}0TrS3j3^P6y&q2{!U5bk+Tso_B!YCpDh>v z{CM*1U8YvQRyBUHt^Ju0W_sq-?;9@_4equ-bavTs=gk796zopr0EBT&m;e9( diff --git a/doc/doxygen/html/tab_s.png b/doc/doxygen/html/tab_s.png deleted file mode 100644 index ab478c95b67371d700a20869f7de1ddd73522d50..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 184 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QuUrLjv*C{Z|^p8HaRdjTwH7) zC?wLlL}}I{)n%R&r+1}IGmDnq;&J#%V6)9VsYhS`O^BVBQlxOUep0c$RENLq#g8A$ z)z7%K_bI&n@J+X_=x}fJoEKed-$<>=ZI-;YrdjIl`U`uzuDWSP?o#Dmo{%SgM#oan kX~E1%D-|#H#QbHoIja2U-MgvsK&LQxy85}Sb4q9e0Efg%P5=M^ diff --git a/doc/doxygen/html/tab_sd.png b/doc/doxygen/html/tab_sd.png deleted file mode 100644 index 757a565ced4730f85c833fb2547d8e199ae68f19..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 188 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!Qq7(&jv*C{Z|_!fH5o7*c=%9% zcILh!EA=pAQKdx-Cdiev=v{eg{8Ht<{e8_NAN~b=)%W>-WDCE0PyDHGemi$BoXwcK z{>e9^za6*c1ilttWw&V+U;WCPlV9{LdC~Ey%_H(qj`xgfES(4Yz5jSTZfCt`4E$0YRsR*S^mTCR^;V&sxC8{l_Cp7w8-YPgg&ebxsLQ00$vXK>z>% diff --git a/doc/doxygen/html/tabs.css b/doc/doxygen/html/tabs.css deleted file mode 100644 index 7fa4268..0000000 --- a/doc/doxygen/html/tabs.css +++ /dev/null @@ -1 +0,0 @@ -.sm{position:relative;z-index:9999}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right}.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.main-menu-btn{position:relative;display:inline-block;width:36px;height:36px;text-indent:36px;margin-left:8px;white-space:nowrap;overflow:hidden;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}.main-menu-btn-icon,.main-menu-btn-icon:before,.main-menu-btn-icon:after{position:absolute;top:50%;left:2px;height:2px;width:24px;background:var(--nav-menu-button-color);-webkit-transition:all .25s;transition:all .25s}.main-menu-btn-icon:before{content:'';top:-7px;left:0}.main-menu-btn-icon:after{content:'';top:7px;left:0}#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon{height:0}#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before{top:0;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after{top:0;-webkit-transform:rotate(45deg);transform:rotate(45deg)}#main-menu-state{position:absolute;width:1px;height:1px;margin:-1px;border:0;padding:0;overflow:hidden;clip:rect(1px,1px,1px,1px)}#main-menu-state:not(:checked) ~ #main-menu{display:none}#main-menu-state:checked ~ #main-menu{display:block}@media(min-width:768px){.main-menu-btn{position:absolute;top:-99999px}#main-menu-state:not(:checked) ~ #main-menu{display:block}}.sm-dox{background-image:var(--nav-gradient-image)}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0 12px;padding-right:43px;font-family:var(--font-family-nav);font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:var(--nav-text-normal-shadow);color:var(--nav-text-normal-color);outline:0}.sm-dox a:hover{background-image:var(--nav-gradient-active-image);background-repeat:repeat-x;color:var(--nav-text-hover-color);text-shadow:var(--nav-text-hover-shadow)}.sm-dox a.current{color:#d23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace !important;text-align:center;text-shadow:none;background:var(--nav-menu-toggle-color);-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox a span.sub-arrow:before{display:block;content:'+'}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{-moz-border-radius:5px 5px 0 0;-webkit-border-radius:5px;border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{-moz-border-radius:0 0 5px 5px;-webkit-border-radius:0;border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox ul{background:var(--nav-menu-background-color)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:var(--nav-menu-background-color);background-image:none}.sm-dox ul a:hover{background-image:var(--nav-gradient-active-image);background-repeat:repeat-x;color:var(--nav-text-hover-color);text-shadow:0 1px 1px black}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media(min-width:768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:var(--nav-gradient-image);line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:var(--nav-text-normal-color) transparent transparent transparent;background:transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0 12px;background-image:var(--nav-separator-image);background-repeat:no-repeat;background-position:right;-moz-border-radius:0 !important;-webkit-border-radius:0;border-radius:0 !important}.sm-dox a:hover{background-image:var(--nav-gradient-active-image);background-repeat:repeat-x;color:var(--nav-text-hover-color);text-shadow:var(--nav-text-hover-shadow)}.sm-dox a:hover span.sub-arrow{border-color:var(--nav-text-hover-color) transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent var(--nav-menu-background-color) transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:var(--nav-menu-background-color);-moz-border-radius:5px !important;-webkit-border-radius:5px;border-radius:5px !important;-moz-box-shadow:0 5px 9px rgba(0,0,0,0.2);-webkit-box-shadow:0 5px 9px rgba(0,0,0,0.2);box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent var(--nav-menu-foreground-color);border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:var(--nav-menu-foreground-color);background-image:none;border:0 !important}.sm-dox ul a:hover{background-image:var(--nav-gradient-active-image);background-repeat:repeat-x;color:var(--nav-text-hover-color);text-shadow:var(--nav-text-hover-shadow)}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent var(--nav-text-hover-color)}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:var(--nav-menu-background-color);height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #d23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#d23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent var(--nav-menu-foreground-color) transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:var(--nav-menu-foreground-color) transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px !important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:var(--nav-gradient-image)}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:var(--nav-menu-background-color)}} diff --git a/doc/doxygen/html/topics.html b/doc/doxygen/html/topics.html deleted file mode 100644 index 6a171ad..0000000 --- a/doc/doxygen/html/topics.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - -Archeus: Topics - - - - - - - - - - - - - - - - - - -
    -
    - - - - - - -
    -
    Archeus 0.0.0 -
    -
    A C library and game engine that focuses on documentation
    -
    -
    - - - - - - - - -
    -
    - -
    -
    -
    - -
    - -
    -
    - - -
    -
    -
    -
    -
    -
    Loading...
    -
    Searching...
    -
    No Matches
    -
    -
    -
    -
    - -
    -
    Topics
    -
    -
    -
    Here is a list of all topics with brief descriptions:
    - - -
     ARC_Vector
    -
    -
    -
    - - - - - - diff --git a/doc/doxygen/html/topics.js b/doc/doxygen/html/topics.js deleted file mode 100644 index e050355..0000000 --- a/doc/doxygen/html/topics.js +++ /dev/null @@ -1,4 +0,0 @@ -var topics = -[ - [ "ARC_Vector", "d2/d19/group__ARC__Vector.html", "d2/d19/group__ARC__Vector" ] -]; \ No newline at end of file