X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fdpdefs%2Fprogsdefs.qh;h=30ebe1bdfb350c318f1d08171ea7e3dc032d2ebe;hb=1ba59bdc6b1e1ad0368f34dbd297e40cc42be243;hp=0064060a4b6ed135766a500aa0d226a2faa04317;hpb=35e8f712933b0ebf9b163b7289cf975825b33803;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/dpdefs/progsdefs.qh b/qcsrc/dpdefs/progsdefs.qh index 0064060a4..30ebe1bdf 100644 --- a/qcsrc/dpdefs/progsdefs.qh +++ b/qcsrc/dpdefs/progsdefs.qh @@ -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