2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-08 20:05:53 +00:00

6675 Commits

Author SHA1 Message Date
b44e43c7c0
Merge pull request #187 from lioncash/make
CThardus: Minor tidying changes
2020-03-06 16:13:42 -08:00
ab65fae969
Merge pull request #186 from lioncash/array
CInGameGuiManager: Make use of std::array where applicable
2020-03-06 16:13:33 -08:00
c9e7b2c2ff
Merge pull request #185 from lioncash/reference2
CParticleGenInfo: Fix missing ampersand in GetParticleSystem() member function
2020-03-06 16:13:22 -08:00
915a0785a5
Merge pull request #184 from lioncash/reference
CHierarchyPoseBuilder: Fix missing ampersand in CharLayoutInfo() return value
2020-03-06 16:13:05 -08:00
96af6157bd
Merge pull request #183 from lioncash/move
CThardus: std::move vector instances in constructor
2020-03-06 16:12:53 -08:00
4b13f8768b
Merge pull request #181 from lioncash/ref
CInGameGuiManager: Take std::shared_ptr by const reference in DoStateTransition()
2020-03-06 16:12:35 -08:00
1cccaac115
Final CChozoGhost imps 2020-03-06 07:16:55 -08:00
Lioncash
00ff91eece CEyeball: Remove unnecessary .get() call
Dereferencing is already supported on smart pointers, so we don't need
to call .get() here.
2020-03-06 07:30:27 -05:00
Lioncash
c3809162bf CEyeball: Eliminate unnecessary runtime initialzer in Think()
We can just fold the result into the constant directly, which allows us
to avoid the need for a static runtime initializer. This is bit-exact
with what the result would be, so this is fine.
2020-03-06 07:30:05 -05:00
Lioncash
80e2e97dc4 CObjectList: Make IsQualified() a const member function
None of the implementations modify object instance state, so this can be
made const qualified.
2020-03-06 04:36:39 -05:00
Lioncash
b1426867bf CBooRenderer: Make use of std::array where applicable
Makes the data strongly typed and allows eliminating some hardcoded
sizes.
2020-03-06 02:25:40 -05:00
Lioncash
4f7f5cf09a CBooRenderer: Make Buckets class mostly internal
This is only ever functionally used within this translation unit, so we
can hide the class internally.
2020-03-06 01:16:02 -05:00
Lioncash
3c4e25062d CModelBoo: Make static data constexpr where applicable
Gets rid of potential runtime-initializers.
2020-03-06 00:46:30 -05:00
Lioncash
d9664d165f CModelShaders: Make EExtendedShader an enum class
Prevents pollution of the urde namespace with general names like Flat,
etc.
2020-03-06 00:16:31 -05:00
Lioncash
3717480eeb CThardus: Make use of std::array where applicable
Dehardcodes some sizes and gets rid of two instances of implicit sign
conversions.
2020-03-05 23:22:30 -05:00
Lioncash
3b6218fa67 CThardus: Make use of std::make_unique where applicable
Same thing, but more straightforward.
2020-03-05 23:15:24 -05:00
Lioncash
84fde9ceca CInGameGuiManager: Make use of std::array where applicable
Allows us to eliminate some hardcoded array sizes.
2020-03-05 22:02:29 -05:00
Lioncash
40277bedac CParticleGenInfo: Fix missing ampersand in GetParticleSystem() member function
Previously the particle system shared pointer would always be returned
by value, rather than by reference.
2020-03-05 21:36:04 -05:00
Lioncash
4c90adf074 CHierarchyPoseBuilder: Fix missing ampersand in CharLayoutInfo() return value
Previously this function was always returning by value, rather than by
reference, like what its contained called function does.
2020-03-05 21:28:23 -05:00
Lioncash
6917132a94 CThardus: std::move vector instances in constructor
Previously the std::move calls wouldn't do anything, as the parameters
were constant references, so we can take them by value and move into the
constructor and then move the parameters into the member variables.

While we're at it, we can initialize the vectors in place instead of
constructing and then assigning to them.
2020-03-05 21:19:32 -05:00
Lioncash
50f8f3e17e CInGameGuiManager: Take std::shared_ptr by const reference in DoStateTransition()
Trivially avoids an atomic reference count increment and decrement.
2020-03-05 20:47:07 -05:00
e43bfe1e58
More CChozoGhost imps 2020-03-05 07:42:12 -08:00
58cca6ffa8
More chozoghost imps 2020-03-05 01:56:04 -08:00
7ac71bf205
Compile Fixes 2020-03-04 18:46:15 -08:00
50a20d7322
More CChozoGhost imps 2020-03-04 18:41:11 -08:00
9d77d7313c
More ChozoGhost imps 2020-03-04 18:41:10 -08:00
d91e86a94a
Initial CChozoGhost stubs 2020-03-04 18:41:10 -08:00
2f9dd38bbe
Silence discard errors 2020-03-04 18:40:03 -08:00
1092250559
Update submodules 2020-03-04 17:33:51 -08:00
174e6d5340
More ChozoGhost imps 2020-03-04 17:32:49 -08:00
987c4bb297 Update zeus 2020-03-04 17:31:44 -08:00
74d01debe1
Merge pull request #180 from lioncash/flamethrower
CFlameThrower: Amend virtual interface discrepancies
2020-03-04 13:42:21 -05:00
4db9f341a0
Merge pull request #179 from lioncash/constexpr
CSpacePirate: Make static const data internally linked
2020-03-04 13:42:07 -05:00
fe4d9f8b1a
Initial CChozoGhost stubs 2020-03-04 05:32:41 -08:00
Lioncash
88cb5acdca CFlameThrower: Amend virtual interface discrepancies
GM8E v0 overrides Render(), GetTouchBounds() and Touch() and does
nothing within them. This updates the interface to match it.
2020-03-04 06:52:50 -05:00
Lioncash
f0c3903951 CSpacePirate: Make use of std::array with constexpr data
Makes data strongly typed, making pointer decay explicit.
2020-03-04 04:44:54 -05:00
Lioncash
4b3d48ebc1 CSpacePirate: Make static const data internally linked
Makes the symbols fully internally linked and also allows marking them
constexpr.
2020-03-04 04:33:11 -05:00
b73338e8fa Update hecl (again) 2020-03-04 02:41:15 -05:00
7b63b8e197 bintoc: Use ZLIB_INLCUDE_DIR 2020-03-04 02:41:03 -05:00
b08cd66e98 Update hecl 2020-03-04 02:35:57 -05:00
e4a775f18e Avoid duplicate athena/extern/zlib import 2020-03-04 02:35:32 -05:00
7803a2f428
Update hecl 2020-03-03 16:53:26 -08:00
3d0451a496 Compile fix 2020-03-03 16:52:57 -08:00
09f7096913
Disable variable delta time 2020-03-03 16:50:25 -08:00
80dbc1920c
Update submodules 2020-03-03 16:49:13 -08:00
3dac8ad966 Update zeus 2020-03-03 16:48:53 -08:00
2149af68fa Merge pull request #35 from AxioDL/bintoc-compress
Add bintoc --compress
2020-03-03 16:47:09 -08:00
7abe527032 Merge pull request #34 from linkmauve/xdg-basedir
Respect the XDG base directory specification
2020-03-03 16:45:08 -08:00
4f045dd0fa Merge pull request #33 from lioncash/transparent
hecl/hecl: Allow CaseInsensitiveCompare to be used with heterogenous lookup
2020-03-03 16:44:55 -08:00
366d6b96ee
Merge pull request #178 from lioncash/data
CScriptGunTurret: Remove unnecessary data() call in AcceptScriptMsg()
2020-03-03 16:43:43 -08:00