]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/dpdefs/progsdefs.qh
Fix whitespace for #include
[xonotic/xonotic-data.pk3dir.git] / qcsrc / dpdefs / progsdefs.qh
index 0064060a4b6ed135766a500aa0d226a2faa04317..30ebe1bdfb350c318f1d08171ea7e3dc032d2ebe 100644 (file)
@@ -33,7 +33,7 @@ float         deathmatch;
 float          coop;
 float          teamplay;
 
-float          serverflags;            // propagated from level to level, used to
+int                    serverflags;            // propagated from level to level, used to
                                                                // keep track of completed episodes
 
 float          total_secrets;
@@ -104,7 +104,7 @@ void                end_sys_globals;                // flag for structure dumping
 //
 // system fields (*** = do not set in prog code, maintained by C code)
 //
-.float         modelindex;             // *** model index in the precached list
+.int           modelindex;             // *** model index in the precached list
 .vector                absmin, absmax; // *** origin + mins / maxs
 
 .float         ltime;                  // local time for entity
@@ -121,9 +121,9 @@ void                end_sys_globals;                // flag for structure dumping
 
 .string                classname;              // spawn function
 .string                model;
-.float         frame;
-.float         skin;
-.float         effects;
+.int           frame;
+.int           skin;
+.int           effects;
 
 .vector                mins, maxs;             // bounding box extents reletive to origin
 .vector                size;                   // maxs - mins
@@ -139,13 +139,13 @@ void              end_sys_globals;                // flag for structure dumping
 // stats
 .float         health;
 .float         frags;
-.float         weapon;                 // one of the IT_SHOTGUN, etc flags
+.int           weapon;                 // one of the IT_SHOTGUN, etc flags
 .string                weaponmodel;
 .float         weaponframe;
 .float         currentammo;
 .float         ammo_shells, ammo_nails, ammo_rockets, ammo_cells;
 
-.float         items;                  // bit flags
+.int           items;                  // bit flags
 
 .float         takedamage;
 .entity                chain;
@@ -169,9 +169,9 @@ void                end_sys_globals;                // flag for structure dumping
 
 .entity        enemy;
 
-.float         flags;
+.int           flags;
 
-.float         colormap;
+.int           colormap;
 .float         team;
 
 .float         max_health;             // players maximum health is stored here
@@ -191,7 +191,7 @@ void                end_sys_globals;                // flag for structure dumping
 
 .entity        goalentity;             // a movetarget or an enemy
 
-.float         spawnflags;
+.int           spawnflags;
 
 .string                target;
 .string                targetname;
@@ -505,4 +505,4 @@ void(entity e) setspawnparms                = #78;          // set parm1... to the
                                                                                                // for coop respawn
 
 //============================================================================
-#endif
\ No newline at end of file
+#endif