diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-23 00:43:17 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-23 00:43:17 +0200 |
commit | b9115b4429565f45c2391c02dd860f47166df6f8 (patch) | |
tree | 45963cc3390b1305b996e1eea2a1e953a217a82c /src/objects/Object.h | |
parent | some fixes (diff) | |
parent | Merge pull request #578 from aap/miami (diff) | |
download | re3-b9115b4429565f45c2391c02dd860f47166df6f8.tar re3-b9115b4429565f45c2391c02dd860f47166df6f8.tar.gz re3-b9115b4429565f45c2391c02dd860f47166df6f8.tar.bz2 re3-b9115b4429565f45c2391c02dd860f47166df6f8.tar.lz re3-b9115b4429565f45c2391c02dd860f47166df6f8.tar.xz re3-b9115b4429565f45c2391c02dd860f47166df6f8.tar.zst re3-b9115b4429565f45c2391c02dd860f47166df6f8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/objects/Object.h | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/src/objects/Object.h b/src/objects/Object.h index 9ceffb2f..5a9c0195 100644 --- a/src/objects/Object.h +++ b/src/objects/Object.h @@ -59,26 +59,23 @@ public: CMatrix m_objectMatrix; float m_fUprootLimit; int8 ObjectCreatedBy; - int8 bIsPickup : 1; - int8 bPickupObjWithMessage : 1; - int8 bOutOfStock : 1; - int8 bGlassCracked : 1; - int8 bGlassBroken : 1; - int8 bHasBeenDamaged : 1; - int8 bUseVehicleColours : 1; + uint8 bIsPickup : 1; + uint8 obj_flag_02 : 1; + uint8 bPickupObjWithMessage : 1; + uint8 bOutOfStock : 1; + uint8 bGlassCracked : 1; + uint8 bGlassBroken : 1; + uint8 bHasBeenDamaged : 1; + uint8 bUseVehicleColours : 1; + uint8 bIsWeapon : 1; + uint8 bIsStreetLight : 1; int8 m_nBonusValue; float m_fCollisionDamageMultiplier; uint8 m_nCollisionDamageEffect; uint8 m_nSpecialCollisionResponseCases; bool m_bCameraToAvoidThisObject; - - // this batch is unused - int8 field_17B; - int8 field_17C; - int8 field_17D; - int8 field_17E; - int8 field_17F; - + int8 m_nBeachballBounces; + uint32 m_obj_unused1; uint32 m_nEndOfLifeTime; int16 m_nRefModelIndex; CEntity *m_pCurSurface; @@ -86,8 +83,6 @@ public: int8 m_colour1, m_colour2; static int16 nNoTempObjects; -// static int16 nBodyCastHealth; - static float fDistToNearestTree; static void *operator new(size_t); |