Commit Graph

298 Commits

Author SHA1 Message Date
MegaMech f79b02348a
Fix compile (#80)
* Fix compile

* Fix compile

* Fix mtx in fb effects

---------

Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
2024-09-10 17:36:11 -06:00
coco875 b36b9e3180
[enhancement] Disable Culling (#58)
* less intrusif possible way to disable culling

* forget cloud and star

* some change and add gFarFrustrum

* reduce range of gFarFrustrum

* minor rename of a CVar

---------

Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
2024-09-10 16:20:55 -06:00
coco875 a1f0d32d66
Update decomp clang (#67)
* Update menus.c (#634)

* Update common_data.yml (#635)

* Renames for screenId and other changes (#636)

* screenId renames

* Rename surface map to collision mesh (#637)

* Rename some stack vars (#638)

* Fix syntax error (#639)

* Rename some stack vars

* Update collision.c

* Collision Documentation (#640)

* Collision related renames

* update doxygen (#649)

* change bool (#644)

Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>

* Update (#642)

* Delete trig_tables_bss.c (#650)

* fix typo audio (#656)

* fix typo src actor (#657)

Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>

* fix typo include (#658)

* fix course (#659)

* fix typo debug (#660)

* fix typo data (#661)

* replace number with const (#665)

* fix typo buffers (#655)

* fix typo buffers

* tweak ld file

* rename to sMemoryPool

* add a warning

---------

* fix typo src (#654)

* fix typo src

* fix non matcing

* Update code_80091750.c

---------

* fix typo racing (#653)

* fix typo racing

* get it match

* replace G_LINE3D to G_QUAD

---------

* fix typo src (#652)

* fix ending typo (#651)

* Action more info when it doesn't match and fix first diff (#662)

* Update linux-compile.yml

* fix first-diff

* Update first-diff.py

---------

* document texture of kart (#663)

* document texture of kart

* change screenPlayerId to screenId

* some documentation around object

* Revert "some documentation around object"

This reverts commit cbb39078e036bf2a417bed67359e910213acab28.

* more rename

---------

* Make evaluate_collision_players_palm_tree better (#667)

This matches just the same as before,	but using those two casts instead of
shifts seems more likely to be accurate to the original source code

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>

* add fedora instruciton (#666)

* start documenting animation (#668)

* start documenting animation

* Update course_data.c

* change comment

* update libultra asm (#648)

* update libultra asm

* fix gcc __osThreadTail

---------

* Document Vehicles (#641)

* start doc collision

* fix merge

* finish rename fonction related to vehicle

* document around waypoint of vehicle

* make some modification

* make some change and rename one

* copy_ to oldPos

* doc smoke ferry and train

* some rename

* fix some renaming

* precise index

* rename a funciton

* simplify waypoint_vehicles

* change some name

* change some name

* rename move_to_point_direction

* fix some conflict

* Update code_80005FD0.c

* Update code_80005FD0.h

---------

* Label a save info loop (#645)

* save info

* more gcc progress

* fix a value and do a rename (#669)

* update clang and add action (#664)

* update clang and add action

* try clang on course folder only

* forget two file

* Update course_displaylists.inc.c

* forget few other file

* Update course_vertices.inc.c

* format all code while get it match

* second pass

* format other dir

* disable clang format on bad ido code

* fix some tabulation

* revert format on tool dir

* Update clang-format.yml

* ignore gbi.h

* add some read me instruction

* fix error

* format and fixing error

* Update README.md

---------

* Update linkonly_generator.py (#670)

* format more file

* update

* fix compilation issue

* remove course_metadata folder

* re add course metadata folder

* fix banshee bordwalk crash

* fix windows eurk

* Update CMakeLists.txt

---------
2024-08-27 17:47:39 -06:00
coco875 848b31c01e
Update decomp (#63)
* update libultra asm (#648)

* update libultra asm

* fix gcc __osThreadTail

---------

Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>

* Document Vehicles (#641)

* start doc collision

* fix merge

* finish rename fonction related to vehicle

* document around waypoint of vehicle

* make some modification

* make some change and rename one

* copy_ to oldPos

* doc smoke ferry and train

* some rename

* fix some renaming

* precise index

* rename a funciton

* simplify waypoint_vehicles

* change some name

* change some name

* rename move_to_point_direction

* fix some conflict

* Update code_80005FD0.c

* Update code_80005FD0.h

---------

Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>

* Label a save info loop (#645)

* save info

* more gcc progress

* fix a value and do a rename (#669)

* fix error of compilation

---------

Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
2024-08-24 18:39:52 -06:00
coco875 e135178097
Update from decomp (#34)
* Update menus.c (#634)

* Update common_data.yml (#635)

* Renames for screenId and other changes (#636)

* screenId renames

* Rename surface map to collision mesh (#637)

* Rename some stack vars (#638)

* Fix syntax error (#639)

* Rename some stack vars

* Update collision.c

* Collision Documentation (#640)

* Collision related renames

* update doxygen (#649)

* change bool (#644)

* Update (#642)

* Delete trig_tables_bss.c (#650)

* fix typo audio (#656)

* fix typo src actor (#657)

* fix typo include (#658)

* fix course (#659)

* fix typo debug (#660)


* fix typo data (#661)

* Update common_structs.h

* replace number with const (#665)

* fix typo buffers (#655)

* fix typo buffers

* tweak ld file

* rename to sMemoryPool

* add a warning

---------

* fix typo src (#654)

* fix typo src

* fix non matcing

* Update code_80091750.c

---------

* fix typo racing (#653)

* fix typo racing

* get it match

* replace G_LINE3D to G_QUAD

---------

* fix typo src (#652)

* fix ending typo (#651)

* Action more info when it doesn't match and fix first diff (#662)

* Update linux-compile.yml

* fix first-diff

* Update first-diff.py

---------

* document texture of kart (#663)

* document texture of kart

* change screenPlayerId to screenId

* some documentation around object

* Revert "some documentation around object"

This reverts commit cbb39078e036bf2a417bed67359e910213acab28.

* more rename

---------

* Make evaluate_collision_players_palm_tree better (#667)

This matches just the same as before,	but using those two casts instead of
shifts seems more likely to be accurate to the original source code

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>

* add fedora instruciton (#666)

* start documenting animation (#668)

* start documenting animation

* Update course_data.c

* change comment

* fix error of compilation

* fix error of compilation

* Update animation.c
2024-08-22 18:20:13 -06:00
coco875 3781ce2830
fix animation (#60)
* fix animation

* Update update_objects.c
2024-08-22 17:53:05 -06:00
KiritoDv 8054960948 Fixed compilation issues 2024-08-18 07:47:24 -06:00
MegaMech 09505cc0aa
Fix Falling Rocks and Vehicles (#55)
* valley

* beach

* sherbet & rainbow

* fix ceremony

* Fix parser for course displaylists

* Fix crash near end of ceremony

* Clean rock

* Fix actors

---------

Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
2024-08-16 21:37:51 -06:00
MegaMech bd6e3d18e0
Courses (#54)
* valley

* beach

* sherbet & rainbow

* fix ceremony

* Fix parser for course displaylists

* Fix crash near end of ceremony

* Clean rock

---------

Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
2024-08-15 22:20:08 -06:00
MegaMech 177504c495
Add Courses (#49)
* castle and stadium

* castle

* boardwalk & snowland

* turnpike

---------

Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
2024-08-13 22:26:16 -06:00
coco875 745ed093ec
clean some gbi function in header (#30)
* clean some gbi function in header

* move gbi extra in mk64.h

* Update mk64.h

---------

Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
2024-08-12 15:51:31 -06:00
MegaMech c270c11c9b
Lakitu fix (#35)
* Fix menu bug

* Fix undefined behaviour

* Fix kart textures

* Fix boost texture

* Rename as per review

* Fix buffer overflows

* Fix lakitu progress

* Fix race starter character

---------

Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
2024-08-03 20:57:07 -06:00
coco875 cc5414b013
fix missing header or not correctly formed header (#24)
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
2024-07-28 16:29:10 -06:00
MegaMech 532ad5a4c0
Renames & seg 3 & 5 texture fixes (#19)
* Remove tools/torch

* Auto compile torch and extract

* Re-implement soh's implementation of lus implementation of an array

* Fix static actors in mr

* Update

* Updated torch

* Updated lus

* uncomment

* Fix collision

* Renames

* More renaming

* Collision Renames

* Update collision.c

* Collision Documentation (#640)

* Collision related renames

* Update

* update lus

* Bug fixes

* remove tabs

* fixes

* fixes

* Fix kart textures

* Networking

* net

* Add networking

* Update

* Cleanup

* Fix balloon rendering

* Fix lakitu and red shell

* fixes

* Implement new random system

---------

Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
2024-07-26 11:29:35 -06:00
MegaMech b594f112e0
Update lus (#16)
* Updates
2024-06-11 09:49:44 -06:00
MegaMech 12553beabd
Current Changes (#14)
* Couple minor fixes

* test

* OTR changes

* More otr stuff

* Some fixes

---------

Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
2024-05-08 13:03:35 -06:00
MegaMech e86b876992
Changes (#9) 2024-05-03 21:38:56 -06:00
KiritoDv 1fbf28a78d Fixed more errors, we are rendering the logo, Yay 2024-05-03 18:20:20 -06:00
MegaMech 1548512084
First Compile (#7)
* Update torch

* A lot of fixes

* First compile
2024-05-03 12:17:36 -06:00
MegaMech 6a6a78f719 A lot of fixes 2024-05-03 12:14:16 -06:00
MegaMech b77f432923 Fix extern 2024-05-02 17:24:24 -06:00
MegaMech e5c9616a64 More fixes 2024-05-02 17:21:29 -06:00
MegaMech e3774dc377 Fixes 2024-05-02 12:21:35 -06:00
KiritoDv a2c3feb67a WIP Compilation 2024-05-01 10:09:49 -06:00
MegaMech 7a10ba89f6
Header cleanup and some renames (#616)
* Place macros for addr conversions

* dl renames

* fixes

* changes ok

* Delete types.h

* move enums
2024-04-20 19:10:53 -06:00
MegaMech 900a9f0f85
Remove some warnings (#609)
* Remove some warnings

* Update torch to latest version
2024-04-17 09:41:19 -06:00
coco875 9ac20c80b8
fix a lot of warning in code (#598)
* Fix warnings
* Fix building
2024-04-16 10:00:08 -06:00
MegaMech d9c1ebb626
Initial gcc Support (#568)
* Added GCC
2024-04-15 10:53:58 -06:00
MegaMech 3dd4c071e1
Update osEeprom Read and Write (#608) 2024-04-14 17:15:41 -06:00
MegaMech 3da5a4f343
Add ymls for Torch code generator (#497)
* Add torch

* update jenkinsfile
2024-04-09 21:29:57 -06:00
coco875 2b66867af1
Rename cpu behaviour related symbols (#586)
* Rename cpu related symbols
2024-04-06 11:35:13 -06:00
MegaMech c4d596d297
trig tables shiftable (#596) 2024-04-05 21:42:14 -06:00
coco875 12f332614e
move actors code in actors folder and rename thing related to actor (#584)
* Move actors into their folders

* Renamings and documentation
2024-04-03 12:44:44 -06:00
MegaMech 40700ce9ad
Remove inc from linked file names (#593)
* Remove inc from linked file names
2024-04-02 13:12:38 -06:00
Tyler McGavran 6af653ad3d
Update some attempts, got a couple matches (#591)
* Update some attempts, got a couple matches

* More matches and updates

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2024-04-02 13:00:35 -06:00
Tyler McGavran 6f4decf6b3
Update StarSpawn to StarCloudData (#578)
* Update StarSpawn to StarCloudData

Add and better specify the struct used to control how stars and
 clouds are handled in various courses.
2024-03-04 19:28:31 -07:00
coco875 f99e242d97
Document render/update objects (#565)
* Document objects related code.
  * Including render/update objects code
* Various renamings
2024-03-04 09:02:45 -07:00
Tyler McGavran 1aa6824d33
Match the last 2 data files (#574)
* Match the last 2 data files

Signed-off-by: Taggerung <tyler.taggerung@email.com>

* Update one of the file names based on comments

Signed-off-by: Taggerung <tyler.taggerung@email.com>

* Fix bad path in onomatopoeia asset file

Signed-off-by: Taggerung <tyler.taggerung@email.com>

---------

Signed-off-by: Taggerung <tyler.taggerung@email.com>
Co-authored-by: Taggerung <tyler.taggerung@email.com>
2024-02-28 10:11:38 -05:00
Tyler McGavran 811e05c297
Some matches in code_80091750 (#567)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
Co-authored-by: Taggerung <tyler.taggerung@email.com>
2024-02-14 18:50:16 -05:00
coco875 d6663422b0
fix warning, type and document audio (#559)
* Document audio

* Update external.h

* fix warnings

* put a do while on one line
2024-02-13 07:27:58 -07:00
MegaMech 19410f2825
Code Segments Shiftable (#566)
his PR cleans up segment related code in main.c.
Also cleans up the linker a bit.

    Add memory pool to linker as .bss to validate that it exists properly.

    Move framebuffers, gfx, and audio buffers out of racing segment and make its own segment.

    Rename framebuffers.c to buffers.c as it contains more than just framebuffers.

    Import asserts from sm64 to validate that code segments are not overlapping

    Rename segNoload to segmentNoload

    Rename 802BA370 segment to trigTables

    Rename gMenuSelectionFromEndingSequence to gGotoMenu

    Rename gMenuSelectionFromQuit to gGotoMode

    Rename SEG_ENDING_SEQUENCES to SEG_ENDING

    Rename data_821D10 to ceremonyData

    Rename data_825800 to startupLogo
2024-02-05 17:08:29 -07:00
coco875 639fec1458
place surface type const and unassemble flag in vtx and document effects (#553)
* place surface type const and unassemble flag in vtx
2024-01-20 21:22:35 -07:00
coco875 a86b3b0a2e
document player and cpu (#534)
* document player and cpu

* cpu_descisions_branch_item to cpu_decisions_branch_item
2024-01-17 16:19:54 -07:00
coco875 6716570e2a
Rename some Object related function and property (#531)
* rename some variables
2024-01-17 15:10:26 -07:00
coco875 03843d77fe
some const placement and one rename (#529)
* some const placement and one rename
2024-01-06 07:46:59 -07:00
coco875 7c44252daa
Finish bss (#527)
* Finish importing bss
2024-01-02 14:53:51 -07:00
coco875 98474c5b94
fix todo, bug not appears and change theme (#525)
* fix todo, bug not appears and change theme

* fix warning
2023-12-31 19:56:14 -07:00
MegaMech c2c00db97d
Rename gTrains to gTrainList (#522) 2023-12-30 20:46:34 -07:00
Tyler McGavran c3975f2865
Cleanup some references to fake variables (#520)
* Cleanup some references to fake variables

* Some matches, header stuff, and updated a BSS file

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-12-30 20:07:04 -07:00
MegaMech efd984fb62
Match func_8006F008 (#519) 2023-12-30 16:04:04 -07:00
coco875 e5a215cb7c
Add bss render player and spawn player (#518)
* finish render_player

* finish normally spawn_player bss
2023-12-30 15:46:05 -07:00
Tyler McGavran a38d338bf0
Some matches in code_80005FD0 (#517)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-12-29 10:54:39 -07:00
Tyler McGavran c89b4f6fe7
Match the BSS segment for code_80005FD0 (#516)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-12-28 21:39:35 -07:00
coco875 7597ee4ea8
add bss variable to camera.c (#514)
* add bss variable to camera.c

* Rename bss_8001C4D0.s to bss_80164AB0.s
2023-12-25 08:57:38 -07:00
coco875 3638f19145
some rename in code_8006e9c0 (#512)
* some basic function renames

* Renaming player hud related variables.
2023-12-25 06:43:47 -07:00
Tyler McGavran 6b9f36bbb0
Some matches in code_80005FD0 (#501)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-12-17 22:29:01 -07:00
coco875 4e84f00a25
Rename Functions For Calculating Distance (#500)
* Rename functions for calculating an objects distance to player/camera
2023-12-15 01:16:24 -07:00
Tyler McGavran 8b2bca8268
Some matches in code_80071F00 (#496)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-11-25 13:24:25 -07:00
VDavid003 58d3f26f47
Match some D_8018E7AC related functions in code_80091750.c (#492) 2023-11-08 16:00:29 -07:00
Tyler McGavran cbe41239d7
More audio stuff (#488)
* Match create_next_audio_frame_task

Required some variable renaming and other changes

* Match synthesis_execute

I'm not entirly sure about the way we have stuff ifdef'd in
 PR/abi.h. I feel like we're doing something slightly wrong there


* Match synthesis_do_one_audio_update

There's something super fucked with the way our ifdef's work in
 abi.h. It is going to demand a lot more attention sometime in the
 future.

* Rename a couple functions

Also had to hack up the ABI file a bit. I'm convinced that we
 don't need nor want to have the EU/Shindou/US split thing the
 SM64 code does. There's probably just the 1 ABI version being
 used and we need to figure out what it looks like

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-11-07 20:38:25 -07:00
MegaMech f75460cb8b
Matches in code_80005D0 (#487)
* Variety of matches
2023-11-07 20:17:28 -07:00
Tyler McGavran b6abd829d2
Give names to a lot of object spawn locations (#486)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-11-07 17:02:21 -07:00
MegaMech a1f432e9dc
match func_8000F628 and add NUM_PLAYERS define (#479)
* Match two funcs and add NUM_PLAYERS define
2023-10-28 12:39:32 -06:00
Tyler McGavran c17d5c76c9
Linkage for the ceremony_data file (#478)
* Linkage for the ceremony_data file

Cleaned up all but 1 undefined symbol from the 0x0B range. The one
 leftover may be something from texture_tkmk00. Or atleast, that's
 what I think. Can't say for certain

* Startup logo linkage

Cleaned up a bunch of unused items from assets.json too

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-10-27 22:18:20 -06:00
Tyler McGavran 716b926260
Place variables from data_0DD0A0 to code_800029B0 (#477)
They match when placed there, although its not immediately clear
 that they truly belong there. But a match is a match.

Also cleaned up a bunch of .h files that had references to the
 newly matched variables.

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-10-27 20:00:52 -06:00
MegaMech 76dc587a34
EU 1.0 OK (#265)
* EU 1.0 ok

* EU 1.1 ok

Co-authored-by: AloXado320 <david.albujar.s.30@gmail.com>
2023-10-19 23:37:21 -06:00
coco875 134e126cd9
some define comment and replace number by const (#469) 2023-10-19 12:06:12 -06:00
Tyler McGavran a870180a2c
Couple matches (#466)
Removed some things from variables.h and functions.h

Added headers for some src/data files
2023-10-18 23:19:07 -06:00
Joshua Peisach 03a5550a94
Rename bomb kart structs (#464)
Signed-off-by: Joshua Peisach <itzswirlz2020@outlook.com>
2023-10-14 21:08:15 -06:00
Tyler McGavran aa720db51a
A few matches across a couple files, although mostly code_80005FD0 (#460)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-10-13 22:09:18 -06:00
coco875 10e0e61731
rename in code_8001F980.c (#456)
* some renames

* Update code_8001F980.c
2023-10-13 20:55:46 -06:00
AloXado320 364f0776c6
Match __osLeoInterrupt.c (#457)
* Match __osLeoInterrupt.c

* fix formatting

---------

Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
2023-10-11 19:00:21 -06:00
MegaMech 7f14bf80df
Rename wayPoint to waypoint (#448)
* Rename wayPoint to waypoint

* other
2023-10-09 20:46:56 -06:00
coco875 d8cfed9491
Various Naming (#445)
* Mass renames
2023-10-07 16:31:48 -06:00
MegaMech 2b74bbbcef
Doc setup_game_memory, label syms, add osSyncPrintf support, match funcs (#444)
* Doc setup_game_memory and label syms

* match func_800132F4

* match func label defines

* fix some fake ptrs

* match more code

* Matches

* Add osSyncPrintf support and matches

* Add func equiv to draw_square and add comment to is_debug
2023-10-06 00:19:09 -06:00
coco875 2f583fdb42
cleaning camera, kart_dma, menu, math_util (#436)
* cleaning camera.h

* cleaning math_utils.h and remove space

* cleaning kart_dma

* cleaning menu.h
2023-09-22 22:00:30 -06:00
coco875 f4fc23bada
Header & General Cleanup (#431)
* Header cleanup
2023-09-20 11:59:55 -06:00
coco875 378144b35b
some renaming (#419)
* Renames
2023-09-19 12:23:12 -06:00
MegaMech 91fc8ea473
Some train decomp and move seg2 files to ending (#423)
* Some train decomp

* Move seg2 to ending/

* move racing code files into racing folder

* Fix progress

* Rename segments
2023-09-17 16:57:18 -06:00
AloXado320 3f221d6f25
Label mtx variables in GfxPool (#424) 2023-09-17 16:39:25 -06:00
MegaMech 4ee09e005f
Import bss for audio and elsewhere (#416) 2023-09-12 19:43:54 -06:00
Tyler McGavran c85a333a3f
Add new utility to calculate packed dl end and vertex count (#411)
* Add new utility to calculate packed dl end and vertex count

Requires changing a bunch of actual references to packed dl lists
 with raw numbers. Which feels extremely bad but it doesn't match
 otherwise.

Signed-off-by: Taggerung <tyler.taggerung@email.com>

* Hard code array lenghts in appropriate headers

Use macros to generate the vertex counts and packed dl end points

Heavily dependent on the array lengths being accurate. If they
 aren't stuff will break.

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-09-10 14:21:16 -06:00
MegaMech 70207db13b
Various cleanup (#410) 2023-09-09 18:01:01 -06:00
Tyler McGavran 233e9217e7
Remove undefined_syms for common_textures (#409)
* Remove undefined_syms for common_textures

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-09-09 11:33:20 -06:00
AloXado320 c350eddc6b
F3DEX old commands changes (#408)
* F3DEX old commands changes
    * Changed commands using gspQuadrangle to gspTri2
    * Replaced mk_quad with gspQuadrangle.
2023-09-09 01:06:35 -06:00
Tyler McGavran 7afffb63f5
Cleanup undefined_syms for all the course data (#407)
* Update building of packed_dl files

* Expose course_data symbols to linker.

* Remove undefined_syms for course data

* Update ctx_includes

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-09-08 22:56:49 -06:00
MegaMech 208fecdd28
Match bss for code_800029B0 and clean headers (#406)
* Match bss for code_800029B0 and clean headers

* Fix dvdl and a warning
2023-09-08 13:39:13 -06:00
MegaMech bba223ffa4
Match bss in podium ceremony (#403) 2023-09-07 11:44:13 -06:00
Tyler McGavran 9c661125be
Small matches, nothing super special (#400)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-09-05 15:49:55 -06:00
MegaMech 7f7ecc5854
assorted matches (#399)
* assorted matches
2023-09-05 15:00:15 -06:00
Joshua Peisach 67fbcac9ec
Match func_8006B7E4, func_8006EEE8, func_80071A20 (#395)
* Match func_8006B7E4, func_8006EEE8, func_80071A20

* Fix missing extern void call
2023-09-05 14:38:40 -06:00
Tyler McGavran 8a2fdc21f5
Got a couple matches and a few non matchings (#397)
Also got rid of a couple asm files for functions that were matched
 a long, long time ago (thank you ItzSwirlz for finding them)

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-09-04 19:19:24 -06:00
MegaMech 23cfd1ca02
Match funcs in player_controller.c (#398)
* Match funcs in player_controller.c
2023-09-04 18:57:16 -06:00
Tyler McGavran 1646344907
Move ro/data for code_80091750 into the appropriate c/asm files (#393)
* Migrated data and rodata for code_80091750

And it even matches when built!

Minor annoyances:

There are some EUC-JP strings in `func_800A6E94` and `func_800A69C8`
 that are currently in byte form. The asm files don't get put
 through `icnov` so we can't have them as strings until they're
 parent functions are matched.

`func_8009F5E0` has the symbol `D_800E7594` replaced with the
 actual number `0x800e7594`. The symbol in question is almost
 certainly fake, but I can't figure out what its meant to be.
 So I've hardcoded it for the time being to make the migration
 possible.

* Fully match all the NEEDS_RODATA functions

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-08-31 21:18:13 -06:00
MegaMech 6562421673
some matches (#391) 2023-08-30 22:45:51 -06:00
Tyler McGavran 31d3ac14ec
Put `void` in several function prototypes (#387)
I have historically made prototypes for argument-less functions
 with just plain `()` for the argument list. This has caused some
 minor pains when using `m2c` and is, pendatically, incorrect.

So I have changed all argument-less function protoypes to instead
 have `(void)` as the argument list. This required a couple small
 fixes here and there.
2023-08-26 12:48:45 -06:00
MegaMech 0e85b1acb1
Some matches in 80027D00 (#385) 2023-08-25 22:14:08 -06:00
Tyler McGavran 0d9396b631
Make some adjustments to the SaveData struct (#381)
Also get rid of some fake variables from a bss file.

Matched a couple functions too.

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-08-25 18:02:37 -06:00
MegaMech 6e3f6aee63
Matched some funcs (#378)
* Matched code
2023-08-22 19:12:51 -06:00
Tyler McGavran df3c435ac8
Versus mode Bomb Kart stuff (#375)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-08-20 22:23:57 -06:00