2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 21:51:22 +00:00

32 Commits

Author SHA1 Message Date
Lioncash
554893ef85 RuntimeCommonB: Make use of bitfield initializers where applicable
Given that we now target C++20, we can make use of bitfield initializers
where applicable.
2020-04-20 15:57:25 -04:00
Lioncash
bfd17e4513 CActor: Make Render() a non-const function
A few implementations of Render() contain const-casts nested within its
their call hierarchy to get around the fact that this function is marked
const. We can just make the member function non-const to allow removal
of these casts in follow up changes.
2020-04-09 14:32:20 -04:00
Lioncash
cabbfcc320 CActor: Make AddToRenderer() non-const
This member function alters instance state in a few implementations, so
it shouldn't be made const.

The state manager parameter also shouldn't be const. Retrieved data
from the post constructed instance is further modified in some
implementations. This removes the constness on this parameter in order
to fix more const_cast usages in a follow-up change.
2020-04-06 00:52:10 -04:00
Lioncash
36d04456dd General: Normalize RuntimeCommonB include paths
Finishes the normalizing of all of includes within the RuntimeCommonB target's headers.
2019-09-23 17:22:37 -04:00
Lioncash
d3d629d405 RuntimeCommon: Use const on member functions where applicable
Adds missing const qualifiers on class member functions that don't
modify instance state.
2019-08-14 09:25:39 -04:00
Lioncash
2059535b55 RuntimeCommonB: Use the override specifier where applicable
Applies the override keyword where applicable to indicate visually where
member function overriding is occurring. This only targets
the RuntimeCommonB target as a starting point, which resolves around
900+ cases where the keyword could be used.
2019-08-09 09:13:26 -04:00
Jack Andersen
77af3f0ebd CPuddleToadGamma and animation system fixes 2019-06-20 20:02:56 -10:00
Jack Andersen
e218b8aeb5 CActorContraption fixes, better CMake dependency handling 2019-06-11 16:05:17 -10:00
Jack Andersen
ad2681f857 Windows fixes 2019-01-28 22:28:35 -10:00
Jack Andersen
636c82a568 New code style refactor 2018-12-07 19:30:43 -10:00
Jack Andersen
427f5d8786 Various bug fixes 2018-10-26 20:16:12 -10:00
Jack Andersen
c91e5df986 Convert to pragma once 2018-10-06 17:42:33 -10:00
Jack Andersen
3a9e7b2f9b PVS and DCLN bug fixes 2018-06-27 20:47:34 -10:00
Jack Andersen
1ada86cc03 Vulkan fixes 2018-05-21 21:51:08 -10:00
f5ea144b47 Various level streaming fixes, remove support for uncooked rep 2018-05-06 17:47:40 -07:00
734b25cad3 Fix doors and various area streaming bugs 2018-05-01 17:43:31 -07:00
711c3e0d2c Remove rstl::optional_object, various cleanups, implement CExplosion and CScriptDoor 2018-04-29 20:12:41 -07:00
Jack Andersen
083571e693 Work on CGameProjectile 2018-02-08 21:12:26 -10:00
Jack Andersen
f7ec7bdc0c string_view refactor 2017-11-12 20:19:18 -10:00
Jack Andersen
4af2d975f4 Finish CBallCamera 2017-10-15 19:26:50 -10:00
Jack Andersen
e2c671e9b4 TCastTo implementation 2017-01-14 17:07:01 -10:00
af1e22a62d Start naming EMaterialTypes values 2016-12-29 13:38:59 -08:00
f2635f449c Various cleanups and minor imps 2016-09-09 21:50:00 -07:00
236da3ac6e Fix std::make_pair fail (why is it even a problem?)
Add CScriptPickup loader
2016-05-12 20:13:34 -07:00
00a98bce85 Various implementatations 2016-04-29 03:08:46 -07:00
6d9ccc7f89 Various Implementations 2016-04-24 22:53:06 -07:00
f2d4040cdc Various implementations 2016-04-23 19:46:13 -07:00
4272e8207b More preliminary implementations 2016-04-23 11:04:49 -07:00
8f78aa5f16 More Actor imps 2016-04-23 03:51:53 -07:00
43685b9119 More door imps 2016-04-22 17:29:55 -07:00
4615f37f59 Various imps 2016-04-22 13:22:45 -07:00
Jack Andersen
8537ea5d8d Add some script loaders 2016-04-19 11:25:26 -10:00