Commit Graph

282 Commits

Author SHA1 Message Date
intns
5e35512b8a Unlink aiBattle for PikiAI progression 2022-07-12 02:17:32 +01:00
HeartPiece
af38781bf5 RandPlantUnit.cpp linked + additional header fixes
also formatting
2022-07-10 01:36:42 +10:00
HeartPiece
df590a9fa6 RandMapDraw.cpp done with related headers
matched + linked - _2C in Game::Cave::MapUnitGenerator should be m_visitedMapNodes, updated
2022-07-09 21:07:26 +10:00
EpochFlame
31ada062ab match and link GBA.c
Only GBAXfer to go, then that's the GBA SDK files complete!
2022-06-29 17:05:43 -04:00
EpochFlame
1f2625db74 link GBAWrite.c
it's OK!
2022-06-28 13:14:36 -04:00
SodiumChlorideLogic
7391a13be4 GBARead.c linked 2022-06-28 01:43:11 -04:00
EpochFlame
9d8909e4c4 match mainloop.c
trk debugger main loop decompiled
todo: figure out if the switch case is using the defines in Dolphin/trk.h

Co-Authored-By: SodiumChlorideLogic <19625889+SodiumChlorideLogic@users.noreply.github.com>
2022-06-26 16:54:49 -04:00
EpochFlame
1dab817c47 Major BSS refactor
id32 sinit has been made assembly for the good of the many. OS.c finally links.
2022-06-24 21:08:27 -04:00
EpochFlame
05144f918e finally match aiConstants
Thanks, Chippy!

Co-Authored-By: 1superchip <57328807+1superchip@users.noreply.github.com>
2022-06-19 14:25:27 -04:00
EpochFlame
a64b48906f match ogSceneChallengeBase.cpp
except its stubborn vtable which refuses to cooperate
2022-06-13 22:34:08 -04:00
EpochFlame
55b7e0d0f4 link OSAlloc.c
largely taken from https://github.com/camthesaxman/smb-decomp/tree/master/libraries/os
2022-06-12 16:50:26 -04:00
EpochFlame
943058f664 match pelplantGenerator.cpp
finally, some more fun "enemy" code matches
2022-05-24 17:06:10 -04:00
EpochFlame
d54508555a decompile treasureLightMgr.cpp
thanks Altafen for matching Mgr::setCommonProc

Co-Authored-By: BR- <BR-@users.noreply.github.com>
2022-05-24 12:55:28 -04:00
intns
59ee6f9882 ItemUnit complete 2022-05-22 12:45:46 +01:00
intns
ce6366be9a GateUnit complete 2022-05-22 12:21:41 +01:00
intns
0e353055e1 DoorNode complete 2022-05-22 11:53:43 +01:00
EpochFlame
90e03e48d2 structify CaveTitleMsg
now modders can edit it easily
2022-05-20 15:16:25 -04:00
EpochFlame
a431d992ac match ogUtil.cpp 2022-05-06 15:24:46 -04:00
EpochFlame
0f72f98b42 match messageReference.cpp
lugia did most of the work, I just cleaned it up to fix the bss jank -epoch

Co-Authored-By: Jonathon Brady <62264079+jonathonbrady@users.noreply.github.com>
2022-04-29 15:37:05 -04:00
EpochFlame
8583054a5c yoink OSAudioSystem.c from the Prime decomp
build/pikmin2.usa/main.dol: OK
Progress:
        Code sections: 80860 / 4652352  bytes in src (1.738046%)
        Data sections: 36249 / 712856   bytes in src (5.085038%)

You have 173 out of 10000 Pokos and collected 10 out of 201 treasures.
2022-04-27 22:35:57 -04:00
EpochFlame
52972ccd88 link _ppc_eabi_init.cpp
thanks, Antidote! this old compiler is jank with its peephole bug

Co-Authored-By: Phillip Stephens <antidote.crk@gmail.com>
2022-04-24 17:57:59 -04:00
EpochFlame
329ef4bff4 link JUTResFont.cpp 2022-04-24 16:30:05 -04:00
Jonathon Brady
3737b051a8 match JSGSystem.cpp 2022-04-19 11:55:17 -04:00
Jonathon Brady
e4806e7e05 match JSGCamera.cpp 2022-04-18 21:11:35 -04:00
EpochFlame
a452a11633 move some JStudio files around 2022-04-17 03:26:29 -04:00
EpochFlame
e054810486 match JSGActor.cpp
shoutout to @jonathanbrady for inspiring me to finish this file
2022-04-16 21:38:22 -04:00
EpochFlame
16adf84777 link JUTRomFont.cpp
used fake functions to order weak virtuals
also correct vtable offsets in JUTFont.h
2022-04-11 17:16:23 -04:00
EpochFlame
fa8e6c94a7 finish matching JUTFont.cpp
success!
Progress:
        Code sections: 72276 / 4652352  bytes in src (1.553537%)
        Data sections: 35223 / 712856   bytes in src (4.941110%)

You have 155 out of 10000 Pokos and collected 9 out of 201 treasures.
2022-04-07 16:22:11 -04:00
EpochFlame
90e6d95eb0 resolve locale.c 2022-04-06 00:33:58 -04:00
EpochFlame
39e59b4198 finish linking JSupport
JSupport complete!
2022-04-05 16:10:11 -04:00
EpochFlame
79f8367551 finally match JKRAramStream and JSUInputStream
also aiWeed data cleanup
2022-04-05 15:00:35 -04:00
EpochFlame
600755a3da cleanup jsystem and housekeeping
misc decomp for dolphin and jsystem
also move JSU to JSupport
2022-04-03 21:55:50 -04:00
EpochFlame
0bbbbe1ef3 decompile JSUInputStream
@SeekyCt helped with JSUInputStream::skip
@BR- helped with several other funcs
I also finished JSUOutputStream.
Had to reimplement an unused dtor to generate JSUIosBase's virtual table in JSUOutputStream.cpp

Cannot link JSUInputStream until JKRAramStream is decompiled because of a weak virtual function in JSURandomInputStream.

Co-Authored-By: Seeky <58006653+SeekyCt@users.noreply.github.com>
Co-Authored-By: BR- <716157+BR-@users.noreply.github.com>
2022-04-01 15:40:08 -04:00
EpochFlame
0468e47ad7 JSU input/output
kiwi helped sort out JSUOutputStream::write

Output won't generate a vtable, and thus cannot fully link yet.

Co-Authored-By: kiwi <49212064+kiwi515@users.noreply.github.com>
2022-03-29 15:42:47 -04:00
EpochFlame
f57beec35d decompile JSGObject.cpp
JSG is fairly simple
2022-03-21 15:40:27 -04:00
EpochFlame
24db7897cd decompile gameChallenge2D.cpp
also made its relevant header
2022-03-10 22:52:35 -05:00
EpochFlame
1eeb3ef7e9 decompile RandMapChecker.cpp
link RandMapChecker and flesh out Cardinal Direction enum, add more relevant class functions to headers
kiwi helped match the isXonY funcs

Co-Authored-By: kiwi <49212064+kiwi515@users.noreply.github.com>
2022-03-01 14:53:54 -05:00
EpochFlame
0f6678438a match and link MapCreator.cpp
also ddh/main.c progress
2022-02-28 18:06:32 -05:00
EpochFlame
f859e7d567 match fogMgr.cpp
thanks kiwi for finishing the job
also corrected a calcprogress error inflating treasure count

Co-Authored-By: kiwi <49212064+kiwi515@users.noreply.github.com>
2022-02-21 14:23:09 -05:00
EpochFlame
2d75004206 decompile ebi3DGraph.cpp 2022-02-15 15:23:47 -05:00
EpochFlame
6b9f925f74 finish matching fdlibm files
fdlibm complete!
2022-02-11 15:38:29 -05:00
EpochFlame
55c409b8b1 link fdlibm e_log files
two to go
2022-02-09 21:25:04 -05:00
EpochFlame
42d824f8e4 link and match k_tan.c
Co-Authored-By: camthesaxman <camthesaxman@users.noreply.github.com>
2022-02-09 20:25:02 -05:00
EpochFlame
eba8dcc055 link e_rem_pio2.c
finally matched!
2022-02-09 18:59:42 -05:00
EpochFlame
fbbf0f6a9e match uart_console_io_gcn.c and dvdidutils.c
also cleanup pikiContainer.cpp
2022-02-09 00:11:25 -05:00
EpochFlame
351b7f2755 match ansi_files.c
also various data cleanups
2022-02-08 22:51:16 -05:00
nerduminer
bee544489a Decompile message.cpp
J3DUShadow.h was edited to remove clashing definitions of existing GX enums which was causing issues on a make clean.
The isdigit macro was edited since its new version helps the functions match and isn't used anywhere else yet.
UpdateReadme doesn't work on Linux yet so the README has not been updated to include message.cpp
Co-authored-by: EpochFlame <82550703+EpochFlame@users.noreply.github.com>
2022-02-04 14:51:40 -05:00
EpochFlame
71754f757a decompile THPDraw.c
@NerduMiner needs to clean it up w/enums and prototypes

Co-Authored-By: NerduMiner <nerdyminer18@gmail.com>
Co-Authored-By: camthesaxman <camthesaxman@users.noreply.github.com>
2022-02-04 02:27:05 -05:00
EpochFlame
6c7c4c042c fix typo and partially link JAIConst.cpp
correct namespace brackets
correct m_fileSize typing
2022-02-02 21:48:26 -05:00
SodiumChlorideLogic
e50a9cbfd0 Additional dump.
Future commits should be more normal now. Hopefully.
2022-01-31 19:51:30 -05:00