Commit Graph

1539 Commits

Author SHA1 Message Date
Léo Lam a217abe647
ksys/phys: Improve RagdollController::setUnk1 match
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-19 20:39:15 +01:00
Léo Lam 8c9a316c5b
ksys/phys: Match RagdollController::setUnk1 2022-12-19 13:21:19 +01:00
ThePixelCoder 4275779f8a
Handle nn::gfx merge (#108)
* Fix build and document nn::gfx merge

* Update submodules and some extra labelling in csv

* Fix various issues

* Make versioning more flexible
2022-12-19 13:12:15 +01:00
Léo Lam b4e6a4dac9
ksys/phys: Implement the rest of the easy RagdollController functions 2022-12-19 02:09:22 +01:00
Léo Lam 50464f7435
Havok: Fix warnings in hkpConstraintInstance 2022-12-19 00:28:45 +01:00
Léo Lam bdd2015a08
ksys/phys: Implement more RagdollController functions 2022-12-19 00:07:21 +01:00
Léo Lam 20be3a197a
ksys/phys: Clarify EntityCollisionMask structure and names 2022-12-18 18:58:23 +01:00
Léo Lam 30368facc0
ksys/phys: Finish RagdollRigidBody and add more RagdollController functions 2022-12-18 01:24:44 +01:00
Léo Lam 7934e14ad6
ksys/phys: Use named bools in RigidBody to improve call site readability 2022-12-17 22:10:38 +01:00
Léo Lam 294666ba13
clang-tidy: Disable misc-const-correctness
We want to give people the ability to exercise discretion in balancing
const correctness and readability.
2022-12-17 19:24:15 +01:00
Léo Lam 5a793566f3
Disable readability-make-member-function-const
It produces warnings in cases where we explicitly do *not* want to mark
a function as const even though it can be, because it is not
*logically* const.

This is something no automated tool will be able to detect so disable
the check to avoid spurious warnings.
2022-12-09 13:30:03 +01:00
Léo Lam 8dbd0d7839
Add a script to detect function overlaps in the CSV
Helps identify and fix function sizes in the function CSV
2022-12-04 11:56:32 +01:00
Léo Lam 965b45426c
data: Fix yet another function size 2022-12-04 11:54:59 +01:00
Léo Lam 924839b5df
data: Fix function size for 0x710090ab68 2022-12-03 20:04:55 +01:00
Léo Lam c3f17c97f8
tools: Update common 2022-12-01 20:30:59 +01:00
Léo Lam f7200a4b52
lib: Update EventFlow 2022-12-01 12:03:37 +01:00
Briggs Baltzell 1f2a38ec2a
Implement TeraMeshRigidBody class (#107) 2022-11-21 21:10:28 +01:00
Briggs Baltzell d38a6b546b
Implement ksys::phys::CharacterPrismShape class (#106) 2022-11-20 21:37:01 +01:00
Léo Lam 9a01a6a883
Merge pull request #105 from ecumber/master
Add NXArgs (#105)
2022-11-20 15:36:53 +01:00
ecumber 729a6291b6 Add NXArgs 2022-11-19 11:42:21 -08:00
Léo Lam 1d7ce82908
Link to new documentation website 2022-10-19 15:44:44 +02:00
notyourav 2f62d26424
Decompile some Action classes (#104)
* various action classes

* rename instanceset fns

* rename isFork -> isChangeable
2022-10-18 08:27:57 +02:00
Léo Lam bc6fe73df1
data: Fix typo in E3Mgr function name 2022-10-13 02:10:43 +02:00
Léo Lam 18510196d9
ksys: Refactor VFRVec3f::chase into reusable/inlinable function
Might be useful for https://decomp.me/scratch/n58lh
2022-10-13 01:58:10 +02:00
louist103 0bdc0c7611
Decompile most of E3mgr (#101) 2022-10-09 11:21:08 +02:00
Léo Lam c1d60be485
Mark new sead functions as matching 2022-08-28 00:41:05 +01:00
Léo Lam ff178f779b
ksys/phys: Remove useless include 2022-08-28 00:35:45 +01:00
Léo Lam 16e712b89d
Merge pull request #103 from leoetlino/sead-update
lib: Update sead
2022-08-28 00:21:43 +01:00
Léo Lam df9d3ce7ca
lib: Update sead 2022-08-28 00:18:12 +01:00
Léo Lam 67d9f07a6a
Merge pull request #102 from leoetlino/sead-update
lib: Update sead
2022-08-27 23:56:32 +01:00
Léo Lam 5c5079d939
lib: Update sead 2022-08-27 23:54:25 +01:00
savage13 42e87bb992
Added WeatherMgr::rollNewWeather (#100) 2022-08-08 11:35:44 +01:00
Léo Lam cef9c4a1b8
Merge pull request #98 from ecumber/master
Add VideoRecorder
2022-07-25 10:09:32 +01:00
ecumber 3034895d2f VideoRecorder added 2022-07-24 22:03:55 -07:00
Léo Lam 9d3bc8cfe1
ksys/phys: Start adding RagdollController 2022-07-01 20:34:20 +02:00
Léo Lam a58231b44a
IteratorUtil: Fix missing constexpr on getIndex() 2022-07-01 17:01:40 +02:00
Léo Lam 0912686d9b
IteratorUtil: Forward (non-reference) return types correctly
With auto&, an operator[] that returns a value (and not a reference)
would result in the proxy returning a reference to a local temporary,
which is UB
2022-07-01 17:01:40 +02:00
Léo Lam bd8b3dc61d
Add clang-tidy config to help enforce naming conventions 2022-06-30 16:36:10 +02:00
Léo Lam c93f454e25
lib: Update NintendoSDK 2022-06-30 16:36:10 +02:00
Denis LE a4e374e865
Improve README.md formatting (#97)
Just a small formatting edit to improve readability
2022-06-28 23:21:58 +02:00
Léo Lam 223182edde
Merge pull request #96 from Tonycons-dev/master
Implement ksys::Patrol & ksys::Terminal
2022-06-28 23:21:01 +02:00
Tonycons-dev fe98f6f0f3 Add ksys::Patrol & ksys::Terminal
parent 43e001017f author Tonycons-dev <70544875+Tonycons-dev@users.noreply.github.com> 1656184351 -0400 committer Tonycons-dev <70544875+Tonycons-dev@users.noreply.github.com> 1656432051 -0400

Squash commits again (last one messed up)
2022-06-28 15:41:38 -04:00
Tonycons-dev 43e001017f
ksys: Add Hio (#95) 2022-06-25 21:12:31 +02:00
Léo Lam 5b40c220e5
Fix extra semicolons and enable -Wextra-semi warning 2022-06-24 14:54:21 +02:00
Léo Lam ac2df65376
Add clang-tidy config
Based on CLion's default config, minus checks that are not useful or do
not work for a matching decomp project
2022-06-24 03:25:55 +02:00
Léo Lam 03410f3eb3
ksys/util: Add range() and indexIter() for convenience
- range() is similar to Python's range()

- indexIter() can be used to simplify `for (int i = 0, n = c.size(); i < n; ++i)`
  index-based loops
2022-06-22 20:23:08 +02:00
Léo Lam c423a56a63
ksys/phys: Add AlsoLockWorld to improve call site readability 2022-06-22 20:23:08 +02:00
Léo Lam a68d10ec47
Contributing: Mention VSCode build type quirk 2022-06-22 20:23:08 +02:00
Léo Lam 9e65e7a9eb
Contributing: Mention how to switch between hex and decimal in IDA 2022-06-22 01:02:03 +02:00
Léo Lam 9f25b2ec73
Contributing: Mention how to import types into the IDB 2022-06-21 22:43:23 +02:00