sm64coopdx/autogen
John S 3dd9226bc9
Update math_util.c and math_util.h to support autodoc with trig functions (inline instead of macros) and add new functions to smlua_math_utils (#359)
* Update math_util.c and math_util.h to move toward inlining functions instead of macros for autodoc. Expose some misc functions useful to lua

* Fix formatting

* Fix math_util.c formatting

* Fix formatting for smlua_math_utils.c

* Fix formatting smlua_functions.c

* Fix type redundancy in _Generic macros

* Add checks for including the highly optimized builtin compiler functions for GCC/Clang

* Add compiler checking for absx() to add in the highly optimized GCC/Clang builtins

* Fix repeated use of float built-ins for non floating point numbers

* Fix grammar mistake

* Fix functions to use camelCase as requested.

* Fixed the use of a custom sqrt approximation as modern procs have a built in FSQRT instruction that is faster.

---------

Co-authored-by: js <js@cartbara.columbus.rr.com>
2024-10-18 12:20:36 +10:00
..
lua_constants fixes, clean up and some new features (#259) 2024-09-12 19:09:01 +10:00
lua_definitions Update math_util.c and math_util.h to support autodoc with trig functions (inline instead of macros) and add new functions to smlua_math_utils (#359) 2024-10-18 12:20:36 +10:00
autogen.sh Console Overhaul (#490) 2023-10-28 00:18:23 -07:00
common.py Mod Storage C++ (#448) 2023-07-18 17:52:11 -04:00
convert_constants.py Rename HOOK_OVERRIDE_PHYS_STEP_DEFACTO_SPEED to HOOK_MARIO_OVERRIDE_PHYS_STEP_DEFACTO_SPEED 2024-06-12 09:42:43 -04:00
convert_functions.py Update math_util.c and math_util.h to support autodoc with trig functions (inline instead of macros) and add new functions to smlua_math_utils (#359) 2024-10-18 12:20:36 +10:00
convert_structs.py a bunch of fixes (#216) 2024-07-17 08:37:42 -04:00
extract_constants.py Update to Refresh 13 (#19) 2022-03-13 00:17:10 -08:00
extract_functions.py sm64coopdx 2023-10-30 01:03:36 -04:00
extract_object_fields.py Added object fields to Lua API 2022-02-19 13:51:02 -08:00
extract_structs.py Added DynOS warp functions to Lua API 2022-03-11 18:11:32 -08:00
gen_sound.py Fixed Wario sounds pitch/speed 2022-02-15 00:51:19 -08:00