From b44df26d3ea5fcdaf6d954016303f358d2c64b79 Mon Sep 17 00:00:00 2001 From: aap Date: Tue, 5 May 2020 13:02:42 +0200 Subject: implemented most of streamed collisions and big buildings --- src/core/Collision.h | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'src/core/Collision.h') diff --git a/src/core/Collision.h b/src/core/Collision.h index bdf51eb8..4933606d 100644 --- a/src/core/Collision.h +++ b/src/core/Collision.h @@ -87,13 +87,19 @@ struct CStoredCollPoly struct CColModel { +#ifndef MIAMI CColSphere boundingSphere; CColBox boundingBox; - short numSpheres; - short numLines; - short numBoxes; - short numTriangles; - int level; +#endif + int16 numSpheres; + int16 numLines; + int16 numBoxes; + int16 numTriangles; +#ifndef MIAMI + int32 level; +#else + uint8 level; // colstore slot but probably same name +#endif bool ownsCollisionVolumes; CColSphere *spheres; CColLine *lines; -- cgit v1.2.3