mirror of
https://github.com/ioquake/jedi-academy.git
synced 2024-11-10 07:11:44 +00:00
use an int not a long for the version in the roff header
This commit is contained in:
parent
76fb0c6d6f
commit
ac9a3c7748
1 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@
|
||||||
typedef struct roff_hdr_s
|
typedef struct roff_hdr_s
|
||||||
{
|
{
|
||||||
char mHeader[4]; // should be "ROFF" (Rotation, Origin File Format)
|
char mHeader[4]; // should be "ROFF" (Rotation, Origin File Format)
|
||||||
long mVersion;
|
int mVersion;
|
||||||
float mCount; // There isn't any reason for this to be anything other than an int, sigh...
|
float mCount; // There isn't any reason for this to be anything other than an int, sigh...
|
||||||
//
|
//
|
||||||
// Move - Rotate data follows....vec3_t delta_origin, vec3_t delta_rotation
|
// Move - Rotate data follows....vec3_t delta_origin, vec3_t delta_rotation
|
||||||
|
@ -39,7 +39,7 @@ typedef struct roff_hdr2_s
|
||||||
//-------------------------------
|
//-------------------------------
|
||||||
{
|
{
|
||||||
char mHeader[4]; // should match roff_string defined above
|
char mHeader[4]; // should match roff_string defined above
|
||||||
long mVersion; // version num, supported version defined above
|
int mVersion; // version num, supported version defined above
|
||||||
int mCount; // I think this is a float because of a limitation of the roff exporter
|
int mCount; // I think this is a float because of a limitation of the roff exporter
|
||||||
int mFrameRate; // Frame rate the roff should be played at
|
int mFrameRate; // Frame rate the roff should be played at
|
||||||
int mNumNotes; // number of notes (null terminated strings) after the roff data
|
int mNumNotes; // number of notes (null terminated strings) after the roff data
|
||||||
|
|
Loading…
Reference in a new issue