Ok, so I manged to fix the 301 errors that come from byte, word, vec, and vector not being defined with these lines.
Compiles without errors. I'm not sure why this information was not included with the InSim.txt file ...
typedef unsigned char byte;
typedef unsigned short word;
typedef struct vec {
int x;
int y;
int z;
} Vec;
typedef struct vector {
float x;
float y;
float z;
} Vector;
Compiles without errors. I'm not sure why this information was not included with the InSim.txt file ...