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
35ea097028
CPlayer: Add parameter names to prototypes
...
Makes them more self-documenting from the interface alone and also
allows IDEs to perform better parameter and argument inspection.
2020-03-24 04:33:54 -04:00
Lioncash
d51518dc57
CPlayerEnergyDrain: Make constructor explicit
...
Prevents error-prone implicit constructions from occurring.
2020-03-12 10:01:31 -04:00
Phillip Stephens
697a100bca
Implement CScriptSpecialFunction::ThinkAreaDamage, and more CThardus
2019-11-24 07:32:45 -08:00
Phillip Stephens
8b6dff70b4
Properly cleanup Xorg in visigen, various fixes and cleanups in URDE, more CRidley imps
2019-11-19 15:06:25 -08:00
Phillip Stephens
6c1f682e0f
Initial CRidley implementation
2019-11-09 15:48:46 -08:00
Lioncash
33f10e2552
CPlayer: Organize includes
2019-09-18 11:50:26 -04:00
Lioncash
45cdc38ac0
CPlayer: Use size_t with SfxIdFromMaterial
...
Allows passing in sizes without potential truncation from size_t,
allowing nicer use of std::size() to dehardcode some magic values.
2019-09-17 14:52:42 -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
3a0d2930fa
Numerous uninitialized memory fixes
2019-04-06 19:14:48 -10:00
Jack Andersen
8df0a4913c
zeus constexpr refactor and thermal visor fixes
2019-02-23 21:15:54 -10:00
Jack Andersen
ad2681f857
Windows fixes
2019-01-28 22:28:35 -10:00
Jack Andersen
47c6b5cba8
Bug fixes and CGuiFrame mouse events
2019-01-19 20:43:11 -10:00
Jack Andersen
851e113dc0
Implement CWarWasp
2019-01-15 18:22:44 -10:00
Jack Andersen
5b55320e9b
Implement CPlasmaProjectile
2019-01-02 17:47:28 -10:00
Jack Andersen
ec1cb75b25
Finish CSpacePirate implementation
2018-12-12 21:39:16 -10:00
Jack Andersen
636c82a568
New code style refactor
2018-12-07 19:30:43 -10:00
Phillip Stephens
9948532957
Initial CPuddleToadGamma imps
2018-11-30 16:44:33 -08:00
Jack Andersen
e1fa938127
Work on CSpacePirate
2018-11-25 16:15:44 -10:00
Jack Andersen
8d839d8a17
Scan visor and waterbox fix
2018-10-16 17:26:55 -10:00
Jack Andersen
3f4aeffb17
Merge branch 'shader-refactor'
2018-10-15 17:17:37 -10:00
Phillip Stephens
bbfe61efbf
Various loader implementations
2018-10-11 15:57:05 -07:00
Jack Andersen
c91e5df986
Convert to pragma once
2018-10-06 17:42:33 -10:00
Jack Andersen
1c977e8021
Scan visor fixes
2018-05-07 19:10:24 -10:00
Phillip Stephens
711c3e0d2c
Remove rstl::optional_object, various cleanups, implement CExplosion and CScriptDoor
2018-04-29 20:12:41 -07:00
Jack Andersen
06d755cf4c
GameCube spec cook fixes
2018-04-01 18:27:24 -10:00
Jack Andersen
083571e693
Work on CGameProjectile
2018-02-08 21:12:26 -10:00
Jack Andersen
97835607d9
More windows build fixes
2018-02-03 20:46:47 -10:00
Jack Andersen
3fcc50d82d
Finish CCompoundTargetReticle
2017-10-29 17:37:20 -10:00
Jack Andersen
2aee5910d6
Work on CBallCamera
2017-10-14 19:38:10 -10:00
Jack Andersen
96c17ba729
Work on CBallCamera
2017-10-13 20:34:57 -10:00
Jack Andersen
651d0a27c2
More work on CBallCamera
2017-10-09 17:50:48 -10:00
Jack Andersen
4c83f521a8
Add CBallCamera stubs, more implementations
2017-10-08 16:41:50 -10:00
Jack Andersen
0f68e2ba3f
Work on CScriptCameraHint and CCameraManager
2017-10-05 21:29:56 -10:00
Jack Andersen
5bec8f4d89
Additional CMorphBall implementations
2017-09-20 19:10:18 -10:00
Jack Andersen
2c4967ca4d
More work on CMorphBall
2017-09-16 17:13:03 -10:00
Jack Andersen
c0d5cee8b1
Additional work on CMorphBall
2017-09-11 19:51:17 -10:00
Jack Andersen
27cee61765
Implement array-based rstl::reserved_vector
2017-09-10 21:08:30 -10:00
Jack Andersen
10092821c8
Initial round of CMorphBall implementations
2017-09-10 16:18:49 -10:00
Jack Andersen
361aa1512b
Finish CGunWeapon
2017-09-04 17:00:19 -10:00
Jack Andersen
35ab6e4803
Finish CPlayerGun
2017-09-01 18:06:05 -10:00
Phillip Stephens
9b5ec8f86d
Fix visigen/hecl dependencies; Cleanup ViewManager; Various implementations
2017-08-29 06:17:52 -07:00
Jack Andersen
1f7e8e1033
Additional CPlayerGun implementations; downcast macro for tweak pointers
2017-08-26 17:02:18 -10:00
Jack Andersen
ed991a6ac0
Initial CPlayerGun implementations
2017-08-24 20:18:09 -10:00
Jack Andersen
96b17ac73d
Implement MetroidPrimeStage1 loader
2017-08-19 19:23:22 -10:00
Jack Andersen
3fa80babf6
More CPlayer implementations
2017-08-18 20:52:13 -10:00