diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-17 14:02:56 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-17 14:02:56 +0100 |
commit | 9001a64ef94b6bd18319ae97193c4deeacd1dd47 (patch) | |
tree | 757783977579b8ddffae1d57b806488d9ffe6601 /src/modelinfo | |
parent | script until 1497 (diff) | |
parent | Merge remote-tracking branch 'upstream/lcs' into lcs (diff) | |
download | re3-9001a64ef94b6bd18319ae97193c4deeacd1dd47.tar re3-9001a64ef94b6bd18319ae97193c4deeacd1dd47.tar.gz re3-9001a64ef94b6bd18319ae97193c4deeacd1dd47.tar.bz2 re3-9001a64ef94b6bd18319ae97193c4deeacd1dd47.tar.lz re3-9001a64ef94b6bd18319ae97193c4deeacd1dd47.tar.xz re3-9001a64ef94b6bd18319ae97193c4deeacd1dd47.tar.zst re3-9001a64ef94b6bd18319ae97193c4deeacd1dd47.zip |
Diffstat (limited to 'src/modelinfo')
-rw-r--r-- | src/modelinfo/VehicleModelInfo.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/modelinfo/VehicleModelInfo.cpp b/src/modelinfo/VehicleModelInfo.cpp index 6dc9e5b0..4caacc7f 100644 --- a/src/modelinfo/VehicleModelInfo.cpp +++ b/src/modelinfo/VehicleModelInfo.cpp @@ -1108,6 +1108,7 @@ CVehicleModelInfo::SetEnvironmentMapCB(RpAtomic *atomic, void *data) void CVehicleModelInfo::SetEnvironmentMap(void) { +/* CSimpleModelInfo *wheelmi; int32 i; @@ -1125,6 +1126,7 @@ CVehicleModelInfo::SetEnvironmentMap(void) for(i = 0; i < wheelmi->m_numAtomics; i++) SetEnvironmentMapCB(wheelmi->m_atomics[i], nil); } +*/ #ifdef EXTENDED_PIPELINES CustomPipes::AttachVehiclePipe(m_clump); @@ -1139,21 +1141,23 @@ CVehicleModelInfo::LoadEnvironmentMaps(void) txdslot = CTxdStore::FindTxdSlot("particle"); CTxdStore::PushCurrentTxd(); CTxdStore::SetCurrentTxd(txdslot); - if(gpWhiteTexture == nil){ + /*if(gpWhiteTexture == nil){ gpWhiteTexture = RwTextureRead("white", nil); RwTextureGetName(gpWhiteTexture)[0] = '@'; RwTextureSetFilterMode(gpWhiteTexture, rwFILTERLINEAR); - } + }*/ CTxdStore::PopCurrentTxd(); } void CVehicleModelInfo::ShutdownEnvironmentMaps(void) { +/* RwTextureDestroy(gpWhiteTexture); gpWhiteTexture = nil; RwFrameDestroy(pMatFxIdentityFrame); pMatFxIdentityFrame = nil; +*/ } int |