Collision data type define
Terrain data can now be configured to be a different type other than s16, for any nefarious reasons
This commit is contained in:
1 parent
20ffa3de16
commit
57e9301751
10 files changed
+81
-95
No files matched your search
@@ -163,6 +163,12 @@
|
||||
// Use a much better implementation of reverb over vanilla's fake echo reverb. Great for caves or eerie levels, as well as just a better audio experience in general.
|
||||
// Reverb parameters can be configured in audio/synthesis.c to meet desired aesthetic/performance needs.
|
||||
//#define BETTER_REVERB
|
||||
//Collision data is the type that the collision system uses. All data by default is stored as an s16, but you may change it to s32.
|
||||
//Naturally, that would double the size of all collision data, but would allow you to use 32 bit values instead of 16.
|
||||
//Rooms are s8 in vanilla, but if you somehow have more than 255 rooms, you may raise this number.
|
||||
//Currently, they *must* say as s8, because the room tables generated by literally anything are explicitly u8 and don't use a macro, making this currently infeasable.
|
||||
#define COLLISION_DATA_TYPE s16
|
||||
#define ROOM_DATA_TYPE s8
|
||||
|
||||
// If you want to change the extended boundaries mode, go to engine/extended_bounds.h and change EXTENDED_BOUNDS_MODE
|
||||
|
||||
|
||||
+3
-1
@@ -49,12 +49,14 @@ typedef uintptr_t GeoLayout;
|
||||
typedef uintptr_t LevelScript;
|
||||
typedef s16 Movtex;
|
||||
typedef s16 MacroObject;
|
||||
typedef s16 Collision;
|
||||
typedef COLLISION_DATA_TYPE Collision; //Collision is by default an s16, but it's best to have it match the type of COLLISION_DATA_TYPE
|
||||
typedef s16 Trajectory;
|
||||
typedef s16 PaintingData;
|
||||
typedef uintptr_t BehaviorScript;
|
||||
typedef u8 Texture;
|
||||
typedef u16 ModelID;
|
||||
typedef COLLISION_DATA_TYPE TerrainData;
|
||||
typedef ROOM_DATA_TYPE RoomData;
|
||||
|
||||
enum SpTaskState {
|
||||
SPTASK_STATE_NOT_STARTED,
|
||||
|
||||
Reference in new issue
Block a user