mirror of
https://github.com/halpz/re3.git
synced 2025-07-13 05:48:12 +00:00
colstore done
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
@ -20,6 +20,7 @@ enum StreamFlags
|
||||
STREAMFLAGS_40 = 0x40, // TODO(LCS): what's this
|
||||
STREAMFLAGS_AMBIENT_SCRIPT_OWNED = 0x80,
|
||||
|
||||
// TODO(LCS): STREAMFLAGS_AMBIENT_SCRIPT_OWNED in STREAMFLAGS_CANT_REMOVE? check CColStore
|
||||
STREAMFLAGS_CANT_REMOVE = STREAMFLAGS_DONT_REMOVE|STREAMFLAGS_SCRIPTOWNED,
|
||||
STREAMFLAGS_KEEP_IN_MEMORY = STREAMFLAGS_DONT_REMOVE|STREAMFLAGS_SCRIPTOWNED|STREAMFLAGS_DEPENDENCY,
|
||||
};
|
||||
@ -209,6 +210,17 @@ public:
|
||||
static void LoadScene(const CVector &pos);
|
||||
static void LoadSceneCollision(const CVector &pos);
|
||||
|
||||
static void RegisterPointer(void *ptr, int, bool);
|
||||
static RpAtomic *RegisterAtomic(RpAtomic *atomic, void *);
|
||||
static void RegisterClump(RpClump *clump);
|
||||
static RpAtomic *RegisterInstance(RpAtomic *atomic, void *);
|
||||
static void RegisterInstance(RpClump *clump);
|
||||
static void UnregisterPointer(void *ptr, int);
|
||||
static RpAtomic *UnregisterAtomic(RpAtomic *atomic, void *);
|
||||
static void UnregisterClump(RpClump *clump);
|
||||
static RpAtomic *UnregisterInstance(RpAtomic *atomic, void *);
|
||||
static void UnregisterInstance(RpClump *clump);
|
||||
|
||||
static void MemoryCardSave(uint8 *buffer, uint32 *length);
|
||||
static void MemoryCardLoad(uint8 *buffer, uint32 length);
|
||||
|
||||
|
Reference in New Issue
Block a user