many text work and scripts
This commit is contained in:
43
event_collisions_struct.hexpat
Normal file
43
event_collisions_struct.hexpat
Normal file
@@ -0,0 +1,43 @@
|
||||
struct coord {
|
||||
s16 X;
|
||||
s16 Y;
|
||||
s16 Z;
|
||||
s16 d;
|
||||
};
|
||||
|
||||
struct collisionObj {
|
||||
u16 vertId1;
|
||||
u16 vertId2;
|
||||
u16 colId;
|
||||
u8 collisHeigth;
|
||||
u8 collisFlag;
|
||||
};
|
||||
|
||||
struct cylCollObj {
|
||||
u16 coordsVertex;
|
||||
u16 radius;
|
||||
u16 objectId;
|
||||
u8 collisHeigth;
|
||||
u8 collisFlag;
|
||||
};
|
||||
|
||||
struct block {
|
||||
u32 blockSize;
|
||||
u32 blockOffset;
|
||||
};
|
||||
|
||||
struct header {
|
||||
block vertexMap;
|
||||
block collisionLines;
|
||||
block cylinders;
|
||||
block hz2;//and so on...
|
||||
|
||||
coord coords[vertexMap.blockSize]
|
||||
@ vertexMap.blockOffset;
|
||||
collisionObj coll[collisionLines.blockSize]
|
||||
@ collisionLines.blockOffset;
|
||||
cylCollObj cyl[cylinders.blockSize]
|
||||
@ cylinders.blockOffset;
|
||||
};
|
||||
|
||||
header colls @ 0x00;
|
||||
Reference in New Issue
Block a user