summaryrefslogtreecommitdiff
path: root/include/sf64math.h
AgeCommit message (Collapse)Author
2024-10-17Added frame interpolation markersKiritoDv
2024-10-16Added interpolation systemKiritoDv
2024-09-17Merge branch 'master' into otrKiritoDv
2024-04-22More docs and renames, fox_bg now mostly figured out (#220)petrie911
* lights fix * names * remove header * so many names * format
2024-04-15Docs relating to fox_360. Also a UB fix in audio_load. (#215)petrie911
* docs * format * format plz
2024-04-06Attempt to fix math weirdness on WindowsKiritoDv
2024-04-06Fixed compilation on windowsKiritoDv
2024-04-06The game is fucking runningKiritoDv
2024-04-06First compilation, we just need more stupid assetsKiritoDv
2024-03-27Improved match for fox_ti, add custom gbi macro, some cleanup (#178)petrie911
* splits * torch * torch again * headers * merges * format * matches * commit * colpoly * SY
2024-02-16Import main, context, and option bss. Refactor headers. Some enum cleanup. ↵petrie911
(#130) * stuff * fixes * addrs * new header * its bss time * format and such * fake symbols begone * whoops forgot pragmas
2024-01-21fox_hud & fox_me Decompiled (#95)Alejandro Asenjo Nitti
* func_80092D48 * func_800927A0 * TempComp.bin.mio0 git ignored * func_800924E0 * func_80094D20 * func_80096A74 * func_80095604 * all functions done * symbols for segmented addresses * move symbols to c file for now * failed attempt to import data * fix * Import data * move data below * ready for BSS attempt * fix warnings * ordering * symbols for some segmented addresses * rename to fox_hud * clear mess * . * . * space * . * func_i2_80187530 * func_i2_8018756C * func_i2_80187650 * func_i2_801877C4 * func_i2_8018795C * func_i2_80187B08 * func_i2_80187C68 * bss again (#98) * func_i2_80187D08 * func_i2_80187D98 * func_i2_80187FF8 * func_i2_801881A8 * func_i2_80188228 * func_i2_80188298 * ARRAY_COUNT * func_i2_80188344 * func_i2_80188B84 * func_i2_80188C2C * func_i2_80188E8C * func_i2_80188F2C * func_i2_80188CAC * func_i2_80189114 * func_i2_8018B7C4 * func_i2_8018C77C * func_i2_8018C8F4 * func_i2_8018CA10 * func_i2_8018CB50 * func_i2_8018BACC co-authored-by: @inspectredc * func_i2_8018CCF8 * func_i2_8018CB50 * func_i2_8018CD8C co-authored-by: @inspectredc & @petrie911 * func_i2_8018D9EC * func_i2_8018DA6C * func_i2_8018DAEC * func_i2_8018DB6C * func_i2_8018DBEC * func_i2_8018DCE4 * func_i2_8018DE14 * func_i2_8018DF08 co-authored-by @inspectredc & @petrie911 * func_i2_8018E084 * func_i2_8018ED9C * func_i2_80188088 * func_i2_801892F0 * func_i2_8018978C co-authored-by @KiritoDv & inspectredc * fox_me DATA IMPORTED * resolve conflicts * func_i6_80197B30 * func_i6_80197CC4 * func_i6_80197F84 * func_i6_80198244 * merge and solve bss * func_i6_801983E4 * PR review --------- Co-authored-by: petrie911 <69443847+petrie911@users.noreply.github.com>
2024-01-13fox_effects decompiled (#77)Ryan Myers
* Match 5 funcs * Match func_8007E93C * Match func_8007EBB8 * Match func_8007ED54 * Match func_8007EE68 * 0.017453292f to M_DTOR * format * 3 more matches * Match 2 more * 2 more matches * Match func_8007F958 * Match func_8007FBE0 * Match func_8007FD84 * Match func_8007FE88 * 5 new matches * Match func_80080D04 * Match func_800815DC and func_8008165C * Match func_80081BEC * MAtch func_80081B24 * Match 2 more * 3 more matches * Small tweaks * Give names to function params * Match func_80080ACC * MAtch func_80083D2C * Match func_800837EC * WIP func_80081C5C * Add view of rodata that needs to be migrated somewhere * Match func_80081C5C! * Fix bss reordering, and formatting. * Add a submodule of m2c, and a new script for generating the context for a file, and a m2c output to an ignored folder. * Migrate rodata * Start importing data for sf_77E40.c * Successful data migration for sf_77E40.c * make format * Reorganzie data for sf_77E40.c * Try stubbing a PRINTF, to help with RODATA strings. * Rename sf_77E40 to fox_effect * Rename Object_8C to Effect * make format... * Rename gObjects8C to gEffects
2024-01-05sf_77e40 - Match 30 more funcs (#69)Ryan Myers
* Match func_8007C9E0 * Match func_8007CAF0 * Match func_8007CC00 * Match func_8007CCBC * Match func_8007CD7C * Match func_8007CEBC * Match func_8007CF30 * Match 4 more funcs * Match 5 more funcs * Match func_8007D2F4 * Match func_8007D55C * func_8007D748 * Match several more * Match func_8007DB70 * Match func_8007DED4 * Match func_8007E014 * Match another handful * obj2F4->unk_0E8 -> obj2F4->vel * Object_8C.unk_54 -> Object_8C.vel * obj80->unk_64 -> obj80->vel * obj408->unk_06C -> obj408->vel * Name gravity * obj8C names * Run make format
2024-01-02fox_beam, more use of enum types, some cleanup (#67)petrie911
* cleaning and such * stuff * enum types * format * a touch more
2023-12-19file splits, renames, more functions in play (#53)petrie911
* stuff * three whole files * format * format and such * a switch in time * merge prep * nintendo switch * format * the great switch statement of our time * 43AC0 matched * stuff * Enums everywhere * oh god the switch * knakyo * new headers * format * fox * everyone hates recursion * format * one more thing * one more one more thing * renames * matches * matrix scale why * names and such * cleanup * name back * it just keeps going * they don't give up * splits * merge going poorly * I object
2023-12-14fox_6B3B0 and a bunch of names for things (#50)petrie911
* stuff * three whole files * format * format and such * a switch in time * merge prep * nintendo switch * format * the great switch statement of our time * 43AC0 matched * stuff * Enums everywhere * oh god the switch * knakyo * new headers * format * fox * everyone hates recursion * format * one more thing * one more one more thing * renames
2023-11-26a bunch of graphics related functions and data importation (#31)petrie911
* graphics? * more stuff * missed one * headers * data import and such
2023-11-12Decomped and named Matrix functions, decomped some sf_ files, some other ↵petrie911
cleanup and naming (#19) * threads galore * something's up * try this * I don't even * who knows * I can't stop it * let's try data for fun * ok I think I've gone far enough * well maybe a little more * visual assets somewhat documented * just keeps going * forgot formatting * let 's try bss * too much? * one fix * even more things * one quick thing * oh come on
2023-10-23Header fix (#9)petrie911
* headers * format * format * format again * headers oh my * irix is love * irix is life * working * even more fixes * format * touching to rebuild
2023-10-23sf_hud functions + code organization (#8)Alejandro Asenjo Nitti
* decompile func_80086C08 * decompile func_80086CC8 * format * decompile func_80088784 * preserve macros * better match func_80005708 * format * *arg0 * decompile func_80089670 * decompile func_80089710 * decompile func_800897B0 * decompile func_80089850 * decompile func_800898F0 * decompile func_80089994 * decompile func_80089AF4 * decompile func_80089B94 * decompile func_80089C38 * decompile func_80089D28 * space * format * decompile func_80089E98 * correction * declare segmented addresses in func_80088784 * segmented addresses in undefined_syms * correction * Gfx type * *arg0 + 1 in func_80005708 * roll back s32 -> Gfx * fix * array of Gfx pointers * decompile func_8008AD94 * decompile func_8008AD94 * decompile func_8008B1B0 * decompile func_8008B2F0 * create structs.h * reordering * format * decompile func_8008B5B0 * decompile func_8008B9E8 * decompile func_8008BAE4 * decompile func_8008C390 * fixes * fixes * fix warnings * move protos to functions header * move variables to variables.h * roll back segmented config in header
2023-10-19Library split (#5)petrie911
* fixed * and cleanup * format * let's all go to the library * split * small cleanup
2023-10-18func_80189208_EC18C8 matchingAlejandro Javier Asenjo Nitti