summaryrefslogtreecommitdiff
path: root/src/KingSystem
AgeCommit message (Collapse)Author
3 daysMerge pull request #185 from RobbyV2/phys-system-heap-accessorsHEADmasterMichael Zhao
Match phys::System heap accessors
4 daysphys: match System contact listener and group handler functionsRobbyV2
4 daysphys: match System heap accessorsRobbyV2
4 daysMerge pull request #182 from RobbyV2/actor-get-character-controllerMichael Zhao
Match Actor::getCharacterController
5 daysMatch Actor::getCharacterControllerRobbyV2
10 daysksys::phys::System: implement isPaused and collision/handler helpersmairokaizo
2026-07-11lib: Add xlink2 decomp as submoduleNitr4m12
2026-06-23various: fix mismatches in some action stubs and ResourceMgrTaskroot
2026-05-31fix new viking and update mismatchesPistonight
2026-02-15style: remove redundant virtual on override functions, fix SEAD_RTTI spacingJesse Dao
2026-01-14style: Fix coding guideline violationsJesse Dao
2025-11-01lib: Update `sead`MonsterDruide1
2025-06-19CreatePlayerEquipActorMgrPistonight
2025-06-18rename _c to lane_idPistonight
2025-05-24Reformat gdtSpecialFlags.cpp as wellLéo Lam
2025-05-24Reformat with clang-format 19.1Léo Lam
2025-05-17add at param helpersPistonight
2025-05-15merge BaseProcHandle and BaseProcUnit TUPistonight
2025-05-02add gdt flag name constant gettersPistonight
2024-12-30PlayerInfo stuff that doesn't require PlayerBasePistonight
2024-10-14LayoutResourceMgr functions + update NintendoSDK.Pistonight
2024-08-28Update agl, nnSdk, seadThePixelGamer
2024-07-26Update libraries and adjust code to match againThePixelGamer
2024-04-25ksys/ProductReporter: add PanicReasonLéo Lam
2024-04-23ksys/qst: match Manager::setQuestStepLéo Lam
I'm not a big fan of how the actual logic has to be inside the loop, but unfortunately std::find_if doesn't match and it's clear that the original version used iterators.
2024-03-18most of AirOctaFlyUp is done, some of AirOctaDataMgr is done (#121)bomba1749
2023-07-01Added VFR::getDeltaFrame (#122)Briggs Baltzell
* Added getDeltaFrame and changed getDeltaTime * Replaced getDeltaTime usages with getDeltaFrame * Moved getDeltaTime above getDeltaFrame
2023-06-11resPlacement (#120)Esras
2023-05-27mapRail.cpp ok (#118)notyourav
2023-05-14Add uking::ai::ActorWaterDepthSelect functions (#117)Martin Aguayo
2023-01-27Implement CookingMgr class (#113)Briggs Baltzell
* Added CookingMgr fields and started on ctor * Implemented CookItem::copy * Implemented CookingMgr dtor * Marked CookingMgr createInstance as matching * Implemented CookingMgr::getCookItem * Added CookingMgr::cook decl * Added CookingMgr method decls * Replaced part of CookingMgr with sead::FixedObjArray * Added line separators in cookManager.h * Defined structs Ingredient and BoostArg in CookingMgr * Defined structs CookArg and CookIngredient * Renamed some fields of CookingMgr * Added struct CookingMgr::CookingEffectEntry * Started implementing CookingMgr::init * Set more entries in init * Set field _548 * Set field default values in init * Loaded string values from config * Set mCookingEffectEntries in init * Added conditional mConfig allocation * Added FixedTreeMap class to sead * Used FixedTreeMap in CookingMgr * Set CookingMgr constructor to default and marked it as matching * Removed field _31C from CookingMgr * Updated sead * Cleared _548 before filling * Used name hash for _548 keys * Fixed path setup * Changed type of _548 to sead::FixedTreeMap<u32, u32, 13> * Set mNMSSR to correct values * Fixed field init order * Rearranged variables * Swapped entry_hash comparisons * Changed CRC32 names and index values * Cast i to u64 * Renamed static crc32 variables * Renamed _548 to mCookingEffectNameIdMap * Marked static vars as const and used decimal numbers * Used sead::SafeArray for mNMMR and mNMSSR * Rearranged mNMMR and mNMSSR conditions * Removed size check from mNMMR and mNMSSR conditions * Removed size check from CEI conditions * Renamed mRes2 to mResHandle * Renamed cook args * Moved crc32 statics into Constants struct * Marked CookingMgr::init as matching * Renamed Constants to Crc32Constants * Added cookFail and cookFailForMissingConfig * Added NumIngredientsMax, NumEffects, and NumEffectSlots constants * Renamed getCookItem to setCookItem * Renamed x to getCookItem * Implemented getCookItem * Made setCookItem take a const ref * Decompiled cookCalcItemPrice * Marked cookCalcItemPrice as const * Fixed both cookFail and cookFailForMissingConfig * Added CookItem::reset * Added CookingMgr::resetCookItem * Moved ctor and dtor below static variables * Changed cookFailForMissingConfig arg to sead::SafeString * Started on cookCalcBoost * Moved CookItem into cookManager.h * Moved Cooking into Game * Moved CookingMgr to uking namespace * Inlined CookItem::reset * Renamed CookItem members * Fixed CookItem mangled names in uking_functions.csv * Added enum class CookEffectId * Moved CookingMgr ctor below disposer impl * Updated sead * Started on cookHandleBoostSuccessInner * Made changes to cookCalcBoost and cookHandleBoostSuccessInner * Extracted cookHandleBoostMonsterExtractInner * Removed found_monster_extract in cookCalcBoost * Marked cookCalcBoost as matching * Got cookHandleBoostMonsterExtractInner matching * Made changes to cookHandleBoostSuccessInner * Renamed discriminator to bonus in cookHandleBoostSuccessInner * Added CookingMgr::cookCalcSpiceBoost * Made changes to CookingMgr::cookCalcSpiceBoost * Added CookingMgr::cookCalcPotencyBoost * Mostly matched CookingMgr::cookCalcPotencyBoost * Added CookingMgr::getCookEffectId * Used getCookEffectId in cookCalcPotencyBoost * Set access modifiers in CookingMgr * Made cookCalcPotencyBoost const-correct * Marked global init as mismatching * Renamed CookingMgr functions in uking_functions.csv * Added CookingMgr::prepareCookArg * Added IngredientArray type * Added cookWithItems * Added CookingMgr::prepareCookArg * Fixed getCookEffectId * Fixed cookCalcPotencyBoost * Made changes to prepareCookArg * Got cookWithItems matching * Marked vars const * Removed commented-out destructor and UnkItem * Renamed CookIngredient._58 to count * Started on CookingMgr::cook * Extracted cookAdjustItem * Fixed ingredient setup * Extracted actor_info_data * Fixed some control flow for single ingredients * Fixed more control flow for single ingredients * Handled no effect and empty actor name * Renamed Ingredient::_10 to used_in_recipe * Fixed recipe control flow * Matched cookAdjustItem * Fixed InfoData instance uses * Removed BAD_RECIPE label * Rearranged to remove goto * Added cookCalcRecipeBoost * Extracted getCookEffectId * Extracted isCookFailure and isMedicine * Extracted getCookEffectIdFromTreeMap * Extracted findIngredientByName and findIngredientByTag * Marked nonmatching functions * Added resetArgCookData * Matched resetArgCookData and prepareCookArg * Added fields and handleMessage to CookPotRoot * Started on CookPotRoot::init_ * Added hasMonsterExtract * Added to CookPotRoot::handleMessage_ * Removed Ingredient::_4 field * Renamed CookItem::_224 to is_crit * Renamed CookingEffectEntry members * Renamed CookingMgr fields * Changed comparison in cook * Renamed actor_tag_iter to hash_iter and added num checks * Got cookCalcSpiceBoost closer to matching * Removed int_val init from cookCalcSpiceBoost * Inlined actor_data * Added `using namespace ksys::act` * Moved int_val outside loop * Marked cookCalcSpiceBoost as matching * Rearranged cookHandleBoostSuccessInner * Renamed cookCalcPotencyBoost to cookCalcIngredientsBoost * Renamed stamina_recover to vitality_boost * Renamed CookItem args to cook_item * Renamed cookFailForMissingConfig arg * Used IngredientArray in findIngredient functions * Renamed crit functions * Renamed getCookEffectId arg * Renamed getCookEffectId to getCookEffectIdByName * Added SetCookItemInDemo::oneShot_ * Matched SetCookItemInDemo::oneShot_ * Added comment about CookArg constructor and formatted * Removed TODO from CookingMgr * Marked WIP functions as non-matching * Fixed formatting * Matched sead::SafeArray<uking::CookIngredient, 5>::SafeArray * Added BoostArg default member initializers * Used auto for cooking_mgr in CookPotRoot::handleMessage_ * Used designated initializers for boost_arg and added whitespace * Used angle brackets for sead import * Removed [[maybe_unused]] from declaration * Used safeDelete * Inverted condition in CookingMgr::cookCalcCritBoost * Added getCookingEffectEntry getter and moved CookingEffectEntry up * Cleaned up CookingMgr::cookCalcSpiceBoost * Used loops to init ingredient num members * Converted CookingMgr fields to s32 * Cleaned up CookingMgr::cookCalcItemPrice * Renamed CookItem::item_price to sell_price * Used min and max in CookingMgr::cookCalcItemPrice * Inlined count vars in CookingMgr::cookCalcItemPrice * Removed explicit casts in CookingMgr::cookCalcItemPrice * Cleaned up and reformatted CookingMgr::cookCalcIngredientsBoost * Added casts back into CookingMgr::cookCalcItemPrice to silence warnings
2023-01-25Match ShootingStarMgr::initSchedule (#114)Briggs Baltzell
2023-01-22Add uking::PlayReport (#112)Tonycons-dev
2022-12-22Improve rebuild times by removing unnecessary includes in AI headersLéo Lam
2022-12-22ksys/act: Clean up RootAiFlag/RootAiFlag2 definitions and usageLéo Lam
2022-12-21ksys/phys: Add RagdollController (the real one, not RagdollInstance)Léo Lam
2022-12-20ksys/phys: Rename RagdollController to RagdollInstanceLéo Lam
RagdollController is a different thing!
2022-12-20ksys/phys: Add RagdollController::getTransform and moreLéo Lam
Credit to @Dragorn421 for helping me figure out the rotation matrix thing in the getTransform function
2022-12-20lib: Update seadLéo Lam
2022-12-19ksys/phys: Improve RagdollController::setUnk1 matchLéo Lam
https://discord.com/channels/688807550715560050/745633101157498880/1054479382892249119 [20:24]TheGreatB3: The Wii U version sets the fields to zero if the value is less than zero, so I think it's really using clamp.
2022-12-19ksys/phys: Match RagdollController::setUnk1Léo Lam
2022-12-19Handle nn::gfx merge (#108)ThePixelCoder
* Fix build and document nn::gfx merge * Update submodules and some extra labelling in csv * Fix various issues * Make versioning more flexible
2022-12-19ksys/phys: Implement the rest of the easy RagdollController functionsLéo Lam
2022-12-19ksys/phys: Implement more RagdollController functionsLéo Lam
2022-12-18ksys/phys: Clarify EntityCollisionMask structure and namesLéo Lam
2022-12-18ksys/phys: Finish RagdollRigidBody and add more RagdollController functionsLéo Lam
2022-12-17ksys/phys: Use named bools in RigidBody to improve call site readabilityLéo Lam
2022-11-21Implement TeraMeshRigidBody class (#107)Briggs Baltzell
2022-11-20Implement ksys::phys::CharacterPrismShape class (#106)Briggs Baltzell
2022-11-19Add NXArgsecumber