* Remove unused C versions of gu functions which will conflict with ASM versions under the new build system
This is a holdover from the decomp, as it must support older libultra versions which used these functions; as we're basing this project off of the final 2.0L, they gotta go
* Comment out bugged unused debug code
Will be removed completely by #12 soon enough anyway, but this will break CI if I don't remove this
* C++ fix in ultra64.h
* New build system
Based off my personal "template" featuring makedepend and support for automatically building and installing all 3 library versions, along with colors
Still needs cleanup to make sure I've brought over everything from the previous makefile
* Fix clang_format
* CI fixes to account for the non-decomp build system
* Remove old makefile
* Remove decomp tools
* Accidentally removed format checker
* Change VERSION to TARGET
* Fix install target by removing unused files and bring back ZSort header
* Fix CI typo
* gzsort header removed, I will figure out how to add it in modsdk later
* just copy the whole PR folder instead and remove install.mk, unnecessary
* SDK installation shall be handled seperately
* Remove RMON and a few leftover KMC things
* Remove MODERN_CC, as everyone is gonna be building this on a modern compiler anyway
* add assertf; reactivate assertBreak
* newline after user crafted fmt string
* assertf implemented; EX cond fixed
* format
* make ISV the only initialize for now
* force initialize to 'autodetect'
* fix assertf with only format str
* format
---------
Co-authored-by: someone2639 <someone2639@gmail.com>
* patch os_cont
* patch over controller.c
* patch contreaddata
* patch controller.h
* patch motor.c
* formatting
* merge OSContPad and OSContPadEx
* Add remapping support
* quick cleanup
* format
* allow resetting controller map (for remapping menus or other catastrophes)
* Document analog_mode
* Don't change motor command state if gamecube controller
* better comment and source
* document why the stick is like that
* make CI happy
---------
Co-authored-by: someone2639 <someone2639@gmail.com>
* test clang v19
* require clang-format 19
* Try outputting patch as an artifact
* test CI
* actually set the correct filename
* only upload on failure
* try a more descriptive name
* remove intentional test change
---------
Co-authored-by: someone2639 <someone2639@gmail.com>
* Strike Version L
* for includes too
* format
* include format
* remove I J and K base files
* flatten folder
* only build libgultra
* clarify the new MGU switch
* flatten build folder
* remove stray #line
* address review
* and format
---------
Co-authored-by: someone2639 <someone2639@gmail.com>
* set build options
* remove COMPARE and MDOERN_* switches
* remove tools makefile
* AR patching is gone too since we want a fullly decomped version
* AR is modern
* remove cwd changes
* edit my own tool to fix compile errors
* compile files generated with my own tool instead of the originals
* inline modern_gcc makefile
* port mips toolchain detection logic
* add util.mk for find-command
* remove forced AR order and strip/mdebug removal commands
* add -mabi=32 to as flags
* formatting changes
* add clang format files
* formatting changes
* make libgultra CI work
* install mips gcc too
* add format check tools
* Add formatting to CI
* Add CI (#4)
* make libgultra CI work
* install mips gcc too
* remove make setup
---------
Co-authored-by: someone2639 <someone2639@gmail.com>
* we don't use clang-tidy
* use 120 width for formatting
* a
* address clang-tidy messing up
* test
* align consecutive macros and declarations
* only align macros for now
* SpaceAfterCStyleCast: false
* format headers too
* remove cast space switch because its false by default
* pointers on left
* AlignConsecutiveBitFields: true
* install clang-format and clang-tidy on gh actions
* and clang-tools
* show diff in format check tool
* make CI work
---------
Co-authored-by: someone2639 <someone2639@gmail.com>
🙏
* set build options
* remove COMPARE and MDOERN_* switches
* remove tools makefile
* AR patching is gone too since we want a fullly decomped version
* AR is modern
* remove cwd changes
* edit my own tool to fix compile errors
* compile files generated with my own tool instead of the originals
* inline modern_gcc makefile
* port mips toolchain detection logic
* add util.mk for find-command
* remove forced AR order and strip/mdebug removal commands
* add -mabi=32 to as flags
---------
Co-authored-by: someone2639 <someone2639@gmail.com>