shithub: choc

Download patch

ref: 1f19598df064341e8e92b70e466ca8b9f373b4a6
parent: 5460b512935e840ea369335cc83ec895ba63e071
author: Simon Howard <[email protected]>
date: Tue Jan 27 16:33:32 EST 2009

long -> int

Subversion-branch: /branches/raven-branch
Subversion-revision: 1433

--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -586,7 +586,7 @@
 
 typedef struct
 {
-    long id;
+    int id;
     short intnum;               // DOOM executes an int to execute commands
 
 // communication between DOOM and the driver
--- a/src/hexen/info.h
+++ b/src/hexen/info.h
@@ -3182,11 +3182,11 @@
 typedef struct
 {
     spritenum_t sprite;
-    long frame;
-    long tics;
+    int frame;
+    int tics;
     void (*action) ();
     statenum_t nextstate;
-    long misc1, misc2;
+    int misc1, misc2;
 } state_t;
 
 extern state_t states[NUMSTATES];
--- a/src/hexen/s_sound.h
+++ b/src/hexen/s_sound.h
@@ -61,7 +61,7 @@
 
 typedef struct
 {
-    long id;
+    int id;
     unsigned short priority;
     char *name;
     mobj_t *mo;