diff options
author | aap <aap@papnet.eu> | 2021-01-23 12:40:23 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-23 12:40:23 +0100 |
commit | 20bcd4bd69c601cfccd6ec8b319f26fddbae9e9f (patch) | |
tree | fa4adbfea0ee59098876151fcab206e71ad12ca5 /src/core/Streaming.cpp | |
parent | fix (diff) | |
download | re3-20bcd4bd69c601cfccd6ec8b319f26fddbae9e9f.tar re3-20bcd4bd69c601cfccd6ec8b319f26fddbae9e9f.tar.gz re3-20bcd4bd69c601cfccd6ec8b319f26fddbae9e9f.tar.bz2 re3-20bcd4bd69c601cfccd6ec8b319f26fddbae9e9f.tar.lz re3-20bcd4bd69c601cfccd6ec8b319f26fddbae9e9f.tar.xz re3-20bcd4bd69c601cfccd6ec8b319f26fddbae9e9f.tar.zst re3-20bcd4bd69c601cfccd6ec8b319f26fddbae9e9f.zip |
Diffstat (limited to 'src/core/Streaming.cpp')
-rw-r--r-- | src/core/Streaming.cpp | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/core/Streaming.cpp b/src/core/Streaming.cpp index 19339fb6..8cdc3a66 100644 --- a/src/core/Streaming.cpp +++ b/src/core/Streaming.cpp @@ -3150,6 +3150,46 @@ CStreaming::LoadSceneCollision(const CVector &pos) CStreaming::LoadAllRequestedModels(false); } +//--LCS: TODO PSP and PS2 +// some things commented out that might be Rsl3D dependent +void CStreaming::RegisterPointer(void *ptr, int, bool) {} +RpAtomic *CStreaming::RegisterAtomic(RpAtomic *atomic, void *) +{ + return atomic; +} +void CStreaming::RegisterClump(RpClump *clump) +{ + RpClumpForAllAtomics(clump, RegisterAtomic, nil); +} +RpAtomic *CStreaming::RegisterInstance(RpAtomic *atomic, void *) +{ +// RegisterPointer(&atomic->geometry, 2, true); + return atomic; +} +void CStreaming::RegisterInstance(RpClump *clump) +{ + RpClumpForAllAtomics(clump, RegisterInstance, nil); +} + +void CStreaming::UnregisterPointer(void *ptr, int) {} +RpAtomic *CStreaming::UnregisterAtomic(RpAtomic *atomic, void *) +{ + return atomic; +} +void CStreaming::UnregisterClump(RpClump *clump) +{ + RpClumpForAllAtomics(clump, UnregisterAtomic, nil); +} +RpAtomic *CStreaming::UnregisterInstance(RpAtomic *atomic, void *) +{ +// UnregisterPointer(&atomic->geometry, 2); + return atomic; +} +void CStreaming::UnregisterInstance(RpClump *clump) +{ + RpClumpForAllAtomics(clump, UnregisterInstance, nil); +} + void CStreaming::MemoryCardSave(uint8 *buf, uint32 *size) { |