2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 19:47:44 +00:00

Initial CRidley implementation

This commit is contained in:
2019-11-09 15:48:46 -08:00
parent f2c207b85e
commit 6c1f682e0f
11 changed files with 790 additions and 12 deletions

View File

@@ -421,13 +421,13 @@ void CActor::AddMaterial(EMaterialTypes type, CStateManager& mgr) {
void CActor::AddMaterial(const CMaterialList& l) { x68_material.Add(l); }
void CActor::CreateShadow(bool b) {
if (b) {
void CActor::CreateShadow(bool enabled) {
if (enabled) {
_CreateShadow();
if (!xe5_24_shadowEnabled && x94_simpleShadow)
xe5_25_shadowDirty = true;
}
xe5_24_shadowEnabled = b;
xe5_24_shadowEnabled = enabled;
}
void CActor::_CreateShadow() {