Skip to content

Instantly share code, notes, and snippets.

@Kein
Created October 29, 2021 19:22
Show Gist options
  • Save Kein/4912aa5b3690905e4dfc0e4c4550bf27 to your computer and use it in GitHub Desktop.
Save Kein/4912aa5b3690905e4dfc0e4c4550bf27 to your computer and use it in GitHub Desktop.
//------------------------------------------------
// File: .bmscc (Scenario Camera Collision)
// Authors: Kein
// Version: 0.1
// History: 0.1 - Initial release
//------------------------------------------------
char magic[4]; // MSCD
int unk0;
int numKeys;
struct
{
string key;
int count;
struct COLLENTRY
{
string name;
struct props
{
string propName;
byte state1;
if (propName == "CAMERA_RED")
byte state2;
} prp[2] <optimize=false>;
struct POLY2D
{
string name;
byte unk[12];
int unk2;
int verts;
uint unk3;
struct POINTS
{
float x;
float y;
int unk;
} pnts[verts] <optimize=false>;
byte unk4;
struct BOUNDS
{
float x;
float y;
} bounds[4]<optimize=false>;
byte unk5;
} polygon;
} entries[count] <optimize=false>;
} data[numKeys] <optimize=false>;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment