mirror of
https://github.com/GTAmodding/re3.git
synced 2025-08-30 22:45:27 +00:00
CWaterCreatures
This commit is contained in:
commit
e7ef45a606
16 changed files with 100 additions and 69 deletions
|
@ -4,6 +4,8 @@
|
|||
#include "World.h"
|
||||
#include "Dummy.h"
|
||||
|
||||
// --MIAMI: file done
|
||||
|
||||
void *CDummy::operator new(size_t sz) { return CPools::GetDummyPool()->New(); }
|
||||
void CDummy::operator delete(void *p, size_t sz) { CPools::GetDummyPool()->Delete((CDummy*)p); }
|
||||
|
||||
|
|
|
@ -1230,7 +1230,7 @@ void CEntity::SetRwObjectAlpha(int32 alpha) {
|
|||
if (m_rwObject != nil) {
|
||||
switch (RwObjectGetType(m_rwObject)) {
|
||||
case rpATOMIC: {
|
||||
RpGeometry *geometry = RpAtomicGetGeometry(GetFirstAtomic(GetClump()));
|
||||
RpGeometry *geometry = RpAtomicGetGeometry((RpAtomic*)m_rwObject);
|
||||
RpGeometrySetFlags(geometry, RpGeometryGetFlags(geometry) | rpGEOMETRYMODULATEMATERIALCOLOR);
|
||||
RpGeometryForAllMaterials(geometry, SetAtomicAlphaCB, (void*)alpha);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue