Derek Hensley
96b75ffaa8
MAXFLOAT
2024-05-21 18:21:17 -07:00
Derek Hensley
e2b4b1bbd1
math header
2024-05-21 18:06:36 -07:00
Anghelo Carvajal
7649cd309a
Organize `libc` and `libm` files ( #1499 )
...
* memmove
* strcpy
* strcmp
* memset
* fmodf
* fix some missing includes
* Remove libc header dependencies on libultra
* fix
* review
2023-11-28 13:01:14 +11:00
Anghelo Carvajal
6dd1600936
Organize `libc64` files ( #1492 )
...
* Move qrand to libc64
* use an union to avoid type punning
* __osMalloc
* math64.c
* fixed_point.h
* sleep
* aprintf.h
* sprintf
* malloc
* use original names on aprintf.c and malloc.c
* qrand cleanup pass
* use original names of sleep.c
* og names for sprintf
* more cleanup
* format
* fixes
* whoops
* use ARRAY_COUNT again
* comment
* Use `fu`
* forgot this one
* review
* fix
* sneak a tiny cleanup
2023-11-27 12:01:42 +11:00
Anghelo Carvajal
4b30f1a654
Move libultra variables to their respective headers ( #1369 )
...
* internal_rsp; move size_t and NULL to ultratypes.h
* guint.h
* Move system variables to os_system.h
* controller, pi and vi
* osint.h
* piint.h
* siint, ucode, viint, voiceinternal
* Remove remaining variables from variables.h
* format
* final renames
* bss
* review
* review
2023-09-15 11:02:27 -03:00
Anghelo Carvajal
4fa13e4132
Move libultra function declarations to libultra headers ( #1196 )
...
* Delete unused headers
* Move PR and io to ultra64
* move headers to ultra64
* more cleanups
* more reorganizing
* i think that should be all
* format
* ifdef guards cleanup
* Add IO_READ and IO_WRITE macros for future use
* warnings
* review
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
* warnings again
* warn
* ifdef guards
* fix merge
* fix merge
* fix merge
* bss
* padutils.h
* bss
* bss
* bss
* fix merge
* bss
* bss
* bss
* fix merge
* fixes
* fixes
* bss
* bss
* fix merge
* fix
* fix
* fix includepaths
* fix paths
* bss
* fix
* ultra64/ -> PR/
* header guards
* fix ehader guards
* fix
* fix++
* format
* bss is borken
* prevent 2
* :despair:
* bss
* rename assert to dbg_hungup
* fix
* a
* fix
* bss
* fix
* bss
* bss
---------
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
2023-09-02 15:34:29 -04:00
Derek Hensley
85b19de4ab
General Cleanup 4 ( #871 )
...
* PartTimerWorker -> PartTimer
* cleanup
* format
* objChan draw macro
* Fix macro
* Fix warning
* PR Review
* Missed 1 ull
* UINT16_MAX
* Remove todo from footmark
* Remove * from tex in AnimatedMat_DrawTexCycle
2022-07-11 23:06:21 -04:00
Anghelo Carvajal
e70a8fbb99
Add `stddef.h` and libc headers cleanup ( #396 )
...
* Move headers to include/libc
* stddef
* move math.h
* General cleanup
* move fabs, sqrtf and sqrt to math.h
* move alloca and assert
* whoops
2021-11-05 23:44:58 -03:00