Commit Graph

792 Commits

Author SHA1 Message Date
Léo Lam 72a9500adf
ksys/res: Implement GParamList AttackInterval 2020-09-19 22:32:14 +02:00
Léo Lam 54500e2d1d
ksys/res: Implement GParamList EnemyRace 2020-09-19 22:29:46 +02:00
Léo Lam 643efc3104
ksys/res: Implement GParamList EnemyLevel 2020-09-19 22:24:39 +02:00
Léo Lam b3be87fe4f
ksys/res: Implement GParamList Enemy 2020-09-19 22:18:54 +02:00
Léo Lam 62e675b9f4
Fix include quotes 2020-09-19 22:09:31 +02:00
Léo Lam dccd9cc720
tools/generate_bgparamlist_struct: Generate includes as well
For convenience :)
2020-09-19 22:07:09 +02:00
Léo Lam 5ff20fa250
ksys/res: Implement GParamList System + General 2020-09-19 22:06:52 +02:00
Léo Lam 62880a0b1d
ksys/res: Start implementing GParamList
Incomplete because many of the sub-objects have their constructors
inlined into the GParamList parse function...
2020-09-19 22:00:00 +02:00
Léo Lam a97f61f02a
Add a tool to automatically generate GParamList object struct+ctor 2020-09-19 18:44:21 +02:00
Léo Lam 7767a81449
ksys: Add GParamListObjType enum
Values are used as indices for the GeneralParamList resource class'
PtrArray.
2020-09-19 01:37:16 +02:00
Léo Lam a59add899e
ksys/res: Add GParamListObjectTraveler
Also adds source files for the resource class, though they're just
stubs at the moment.
2020-09-19 00:55:52 +02:00
Léo Lam 50027520f7
ksys: Add defines for some function attributes 2020-09-19 00:50:24 +02:00
Léo Lam af1aacc5bd
ksys/utils: Add FixedString for light constexpr string manipulation 2020-09-18 20:37:54 +02:00
Léo Lam 7828ee535d
ksys/act: Fix extra semicolon in macro definition 2020-09-18 01:20:20 +02:00
Léo Lam a12ccf1eab
Fix progress info for uking::aoc2::shouldApplyMasterModeDamageMultiplier 2020-09-18 01:13:11 +02:00
Léo Lam 1176af740b
aoc2: Add shouldApplyMasterModeDamageMultiplier 2020-09-18 01:12:07 +02:00
Léo Lam 7553861fb8
Add actor tag definitions 2020-09-17 20:35:28 +02:00
Léo Lam 76378caa60
ksys/act: Add more ActorConstDataAccess functions
Implements a couple of simple wrappers around BaseProc member functions
2020-09-17 18:31:36 +02:00
Léo Lam 7226150ed7
ksys/act: Add ActorLinkConstDataAccess (incomplete)
Also moves from functions from ActorLinkConstDataAccess (the base class
for BaseProc) into the Actor-specific ActorConstDataAccess
2020-09-17 17:42:35 +02:00
Léo Lam 1cc0b1e6be
Implement aoc2::rankUpEnemy
It's a pretty large function and I wanted to see how difficult it would
be to match it. Not very hard :D
2020-09-17 00:50:36 +02:00
Léo Lam b93b9d3c45
ksys: Add map::Object (incomplete) 2020-09-16 22:50:02 +02:00
Léo Lam f733cd0d5c
ksys: Add map::MubinIter 2020-09-16 21:43:02 +02:00
Léo Lam 1b21cd669b
game: Put actions, AIs, behaviors, queries in an "AI" folder
Helps keep things clean as Game starts containing more source files.
2020-09-16 19:00:03 +02:00
Léo Lam 3db6228dfc
ksys: Add more task utilities
* TaskMgr, ManagedTask, ManagedTaskHandle

* GameTaskThread: partial implementation because PhysicsMemSys / Havok
  stuff hasn't been decompiled yet and calc_() requires PhysicsMemSys
2020-09-16 17:49:37 +02:00
Léo Lam 8b7369dffb
ksys: Add Task utilities 2020-09-15 17:54:16 +02:00
Léo Lam c5ef0a1fd3
readme: Add more information to the contributing section 2020-09-11 20:50:44 +02:00
Léo Lam e5f357dc6b
readme: Simplify setup and add more information and advice 2020-09-11 01:44:25 +02:00
Léo Lam 59c91970f6
ksys/res: Add Recipe
It's mostly the same as Drop. *shrug*
2020-09-10 16:49:07 +02:00
Léo Lam 6af5dfd747
ksys/Utils: Add Event 2020-09-10 13:53:26 +02:00
Léo Lam 3ef3724353
data: Add functions that were misdetected as function tails 2020-09-10 12:09:15 +02:00
Léo Lam 0f0c1b59ca
ksys/res: Add Drop 2020-09-10 00:09:01 +02:00
Léo Lam 5ab4e15967
ksys/res: Add AIProgram 2020-09-09 17:29:45 +02:00
Léo Lam 2857102a43
tools: Add a script to rename functions in IDA 2020-09-08 19:22:53 +02:00
Léo Lam 3c06896cfe
tools: Clean up the progress script
And make the output clearer.
2020-09-07 18:34:50 +02:00
Léo Lam 02e6bb42db
ksys/Utils: Improve accuracy of HeapUtil::tryCreateDualHeap 2020-09-07 14:38:53 +02:00
Léo Lam 8961c0cc6c
ksys/Utils: Implement tryCreateDualHeap 2020-09-07 00:13:42 +02:00
Léo Lam 96deb88e27
ksys/Utils: Add DualFrameHeap 2020-09-06 22:52:10 +02:00
Léo Lam 69dc675a95
ksys/Utils: Add DualHeap 2020-09-06 22:51:58 +02:00
Léo Lam 8f3eeb87b9
Move SizedEnum to sead
It is useful in sead and other libraries as well.
2020-09-06 21:23:29 +02:00
Léo Lam 83ad191341
ksys/res: Implement CurrentResNameMgr 2020-09-06 18:03:21 +02:00
Léo Lam 1778aff4d4
ksys/res: Rename Resource::m5() to finalize() 2020-09-06 17:55:26 +02:00
Léo Lam bb055e442e
ksys/res: Implement Archive 2020-09-06 17:10:23 +02:00
Léo Lam 3d3bcaee1a
ksys/res: Add ActorLink 2020-09-06 16:34:53 +02:00
Léo Lam 02051dce6b
ksys/res: Add size assertion for Demo
And fix the CMakeLists.
2020-09-05 22:10:08 +02:00
Léo Lam 0fafc292f9
ksys/res: Implement Demo 2020-09-05 21:34:45 +02:00
Léo Lam 072e906eaf
ksys/res: Add Lod 2020-09-05 17:30:39 +02:00
Léo Lam 977ff07c85
ksys: Implement more heap utilities 2020-09-04 22:38:24 +02:00
Léo Lam 3d371999a4
ksys/res: Implement EntryFactory (base class and template)
Also adds a heap-related function that's used by EntryFactory
(and many other functions)
2020-09-04 22:01:52 +02:00
Léo Lam 578955f4e9
ksys/res: Implement Resource (base class) 2020-09-04 20:15:55 +02:00
Léo Lam 96a3286a43
lib: Update nnSdk headers, agl and sead 2020-09-04 18:55:00 +02:00