Léo Lam
24be360af1
Update sead
2021-03-27 15:53:08 +01:00
Léo Lam
35e02a9565
Simplify aoc2 initialiser lists
2021-03-27 02:34:08 +01:00
Léo Lam
aa766a1977
Implement more parts of aocManager
2021-03-27 02:34:08 +01:00
Léo Lam
1bd2f03de8
query: Implement CheckGiveReward
2021-03-26 19:11:12 +01:00
Léo Lam
9e37c75996
query: Implement CheckIsOpenItemCategory
2021-03-26 19:09:00 +01:00
Léo Lam
1bff3a20cf
query: Implement CheckGetDemoTypeFromArg
2021-03-26 15:08:40 +01:00
Léo Lam
0e07294548
query: Implement CheckFame
2021-03-26 14:56:24 +01:00
Léo Lam
d39e8400fc
query: Implement CheckContainerItem
2021-03-26 14:53:24 +01:00
Léo Lam
b72b160b43
query: Implement CheckFlag
2021-03-26 14:49:46 +01:00
Léo Lam
2cbe98381e
query: Implement CheckDieCnt
2021-03-26 14:46:07 +01:00
Léo Lam
6888632132
query: Fix matching issues
2021-03-26 13:54:59 +01:00
Léo Lam
bc8b8d5829
query: Implement CompareGameDataTime
2021-03-26 02:04:50 +01:00
Léo Lam
ce3d29d2ec
query: Implement CompareGameDataInt
2021-03-26 01:30:18 +01:00
Léo Lam
c5d1bd69a2
query: Implement CompareGameDataFloat
2021-03-26 01:23:31 +01:00
Léo Lam
a36463b339
query: Implement CheckGameDataInt
2021-03-26 00:48:51 +01:00
Léo Lam
c119c0eefa
Fix matching regression
2021-03-19 01:32:41 +01:00
Léo Lam
819798cac1
Fix include cycles and useless includes
2021-03-11 15:10:52 +01:00
Léo Lam
df910092a4
uking: Implement SendMessage action
2021-01-28 19:24:44 +01:00
Léo Lam
39856b1a7d
uking/ui: Implement getWeaponStats
2021-01-22 19:55:52 +01:00
Léo Lam
5280254ef1
uking/dmg: Implement DamageInfoMgr::isTrueFormMasterSword
...
And some trivial getters.
2021-01-22 17:36:21 +01:00
Léo Lam
5328fd2782
Move Damage to Game/ and add more DamageInfoMgr members
...
Damage stuff seems to be considered game code rather than KingSystem
code based on the function order in the executable and on the fact
that the Damage code uses other components that are known to be
in Game/U-King rather than in KingSystem.
2021-01-22 17:10:53 +01:00
Léo Lam
5d36832608
Add a script to generate actInfoCommon
...
It's too tedious to write by hand
2021-01-22 16:37:57 +01:00
Léo Lam
bb3f05e209
uking/ui: Implement weapon and bow sorting in inventory
2021-01-22 12:35:54 +01:00
Léo Lam
d9f7561588
uking/ui: Implement food sorting in inventory
2021-01-22 12:35:53 +01:00
Léo Lam
48276bb4e7
uking/ui: Implement material sorting for inventory
2021-01-22 00:14:41 +01:00
Léo Lam
7814fd527b
uking/ui: Implement shield sorting for inventory
2021-01-22 00:14:40 +01:00
Léo Lam
3e31611d2a
uking/ui: Clean up PauseMenuDataMgr::getItemByIndex
...
Deduplicate the nullptr checks.
2021-01-21 18:17:37 +01:00
Léo Lam
620eb2b39e
uking/ui: Add even more inventory functions
2021-01-21 18:12:04 +01:00
Léo Lam
57d3a082c2
uking/ui: Add more PauseMenuDataMgr functions
2021-01-21 01:03:57 +01:00
Léo Lam
30bbc0c54a
uking/ui: Add even more inventory functions
2021-01-20 01:36:14 +01:00
Léo Lam
0ac3ba93ad
uking/ui: Add more inventory functions
2021-01-19 19:01:27 +01:00
Léo Lam
fe3a437a26
uking/ui: Rename mItem_44488 to mLastAddedItem
...
That's what it is
2021-01-19 19:01:26 +01:00
Léo Lam
a0f67e2f7d
uking/ui: Implement PauseMenuDataMgr::addToPouch
2021-01-18 02:08:34 +01:00
Léo Lam
36fa2b36c2
uking/ui: Remove setValue() for consistency
2021-01-17 23:46:31 +01:00
Léo Lam
268f7f2d8a
uking/ui: Add inventory loading function
2021-01-17 19:46:43 +01:00
Léo Lam
a338f4f6f0
uking/ui: Fix some clang-tidy warnings
2021-01-17 16:08:30 +01:00
Léo Lam
01b8a01ec3
uking: Mark WeaponModifierInfo member functions as const when possible
2021-01-17 14:53:13 +01:00
Léo Lam
eeeab7ab93
uking/ui: Add inventory saving function
2021-01-17 14:34:52 +01:00
Léo Lam
4a6f3f9786
uking/ui: Implement "item get" PauseMenuDataMgr function
2021-01-16 21:18:24 +01:00
Léo Lam
ee713ab899
uking/ui: Add "can get item" inventory functions
2021-01-11 19:00:31 +01:00
Léo Lam
c28e7ace3d
uking/ui: Implement PauseMenuDataMgr::countItems
2021-01-11 15:51:22 +01:00
Léo Lam
4c171605ff
uking/ui: Fix PouchConstants struct
2021-01-11 15:51:22 +01:00
Léo Lam
d943be4ea1
uking/ui: Add named constants for inventory item limits
...
Cleaner
2021-01-11 15:45:06 +01:00
Léo Lam
2ae06d6b39
uking/ui: Fix another minor accuracy issue (add inline function)
...
Both versions match perfectly, but there is a wrapper function for
getSameGroupActorName in the Wii U version.
2021-01-10 22:58:38 +01:00
Léo Lam
dd653e871f
uking/ui: Fix minor accuracy issue (don't use memcpy)
...
Still matches, but the original code didn't use memcpy (according to
the Wii U version)
2021-01-10 22:58:11 +01:00
Léo Lam
29817a3e21
uking/act: Add most of the weapon modifier utils
2021-01-10 02:14:31 +01:00
Léo Lam
3ce19016ec
uking/ui: Add more inventory functions
2021-01-09 13:40:43 +01:00
Léo Lam
23b3047f49
Add aocManager header stub
2021-01-08 19:37:21 +01:00
Léo Lam
5912b65eff
uking/ui: Add Master Sword related inventory functions
2021-01-08 12:55:01 +01:00
Léo Lam
e3791db95e
Remove incomplete match
2021-01-08 12:47:44 +01:00
Léo Lam
f90e96360e
uking/ui: Add some more PauseMenuDataMgr functions
2021-01-08 11:51:49 +01:00
Léo Lam
8a18657290
Add missing trailing newlines
2021-01-07 22:15:11 +01:00
Léo Lam
ebc09f924a
uking/ui: Start adding PauseMenuDataMgr
2021-01-07 22:11:41 +01:00
Léo Lam
b3fa7ae230
uking: Implement GameDataConvertIntToSring action
2021-01-01 19:21:17 +01:00
Léo Lam
cb33d236a3
uking: Implement GameDataAddVec3 action
2021-01-01 19:00:46 +01:00
Léo Lam
f621d136c0
uking: Implement GameDataAddInt action
2021-01-01 19:00:41 +01:00
Léo Lam
8301cb80a6
uking: Implement GameDataAddFloat action
2021-01-01 19:00:23 +01:00
Léo Lam
e6d0305d57
Fix type issues in Action loadParams functions
2021-01-01 18:08:26 +01:00
Léo Lam
3869e440e7
Generate AIs
2020-12-31 14:16:09 +01:00
Léo Lam
6e5c8b382d
Fix some minor matching issues
2020-12-29 01:11:50 +01:00
Léo Lam
56e1c0cfd2
Action: Fix incorrect handling of inherited virtual functions
2020-12-28 23:49:15 +01:00
Léo Lam
17c7e12a0b
uking: Fix matching issues in actions
2020-12-28 17:47:14 +01:00
Léo Lam
76e5987423
uking: Fix matching issue in SiteBossFlyWaitTurnToTarget
...
Looks like a bug *shrug*
2020-12-28 12:07:41 +01:00
Léo Lam
02c583ca4d
Generate actions
2020-12-28 01:26:51 +01:00
Léo Lam
2dd52d903b
uking: Implement CheckGameDataFloat query
2020-12-23 17:16:38 +01:00
Léo Lam
20a1007897
uking: Implement RandomChoiceExceptOnFlag query
2020-12-23 16:59:37 +01:00
Léo Lam
e46f921611
uking: Implement RandomChoice{2,3,4,8} queries
2020-12-23 15:47:25 +01:00
Léo Lam
eba2713653
Generate query factories as well
2020-12-23 14:22:24 +01:00
Léo Lam
ab06c2a5ca
Split src CMakeLists
2020-12-23 12:35:59 +01:00
Léo Lam
f98d3ee758
Generate stubs for queries
2020-12-22 01:50:49 +01:00
Léo Lam
8a22f0bb50
ksys/act: Add more ActionBase, Ai and RootAi functions
2020-12-19 20:37:37 +01:00
Léo Lam
9269283b71
ksys/act: Add more ActionBase functions
2020-12-11 00:22:27 +01:00
Léo Lam
933811d34a
ksys/act: Start adding ai::ActionBase
2020-12-06 19:07:38 +01:00
Léo Lam
5a1a488ed3
ksys/act: Rename ai::ClassArg for consistency with Query::InitArg
2020-12-06 16:04:13 +01:00
Léo Lam
3559c31bc9
ksys/act: Don't use Tag as argument as it causes matching diffs
...
And fairly stupid diffs for that matter, like an additional mov w1, w1
instruction that shouldn't exist
2020-12-02 18:52:44 +01:00
Léo Lam
93b1b17979
Fix matching errors
2020-11-10 21:52:48 +01:00
Léo Lam
3bd9d7a599
aoc2: Implement more functions
2020-11-07 23:28:51 +01:00
Léo Lam
f60734bded
aoc2: Fix the struct and implement more functions
2020-11-07 02:10:12 +01:00
Wildex999
05a69f745b
ksys/dmg: Implementing some of DamageManagerBase. Added some temporary classes/variables used by DamageManagerBase.
2020-10-21 00:19:48 +02:00
Léo Lam
509d19f762
build: Split the main CMakeLists.txt for readability reasons
2020-09-20 17:18:14 +02:00
Léo Lam
1176af740b
aoc2: Add shouldApplyMasterModeDamageMultiplier
2020-09-18 01:12:07 +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
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
theo3
965d34c712
non request BaseProcHandle stuff
...
refactoring
baseProcHandle.cpp refactoring
2020-08-27 14:48:22 -07:00
theo3
aff4047630
actionSetInstEventFlag ctor dtor
2020-08-27 14:10:18 -07:00
Léo Lam
2de366be0f
Initial commit
2020-08-18 22:50:25 +02:00