]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/subs.qh
take3: format 903 files
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / subs.qh
index 1b3bc5e690d438f6eeb1b0bf228eab6efd7ee75a..e9ee8476a58bfb6172054dd250b47bc5cb64bd9c 100644 (file)
@@ -1,30 +1,30 @@
 #pragma once
 
-void SUB_SetFade (entity ent, float when, float fading_time);
-void SUB_VanishOrRemove (entity ent);
+void SUB_SetFade(entity ent, float when, float fading_time);
+void SUB_VanishOrRemove(entity ent);
 
-.vector                finaldest, finalangle;          //plat.qc stuff
+.vector     finaldest, finalangle; // plat.qc stuff
 .void(entity this) think1;
 .float state;
-.float         t_length, t_width;
+.float      t_length, t_width;
 
 .vector destvec;
 .vector destvec2;
 
-.float delay;
-.float wait;
-.float lip;
-.float speed;
-.float sounds;
+.float  delay;
+.float  wait;
+.float  lip;
+.float  speed;
+.float  sounds;
 .string  platmovetype;
 .float platmovetype_start, platmovetype_end;
 
-//entity activator;
+// entity activator;
 
 .string killtarget;
 
-.vector        pos1, pos2;
-.vector        mangle;
+.vector pos1, pos2;
+.vector mangle;
 
 .string target2;
 .string target3;
@@ -44,16 +44,16 @@ void SUB_VanishOrRemove (entity ent);
 #ifdef CSQC
 // this stuff is defined in the server side engine VM, so we must define it separately here
 .float takedamage;
-const float DAMAGE_NO  = 0;
-const float DAMAGE_YES = 1;
-const float DAMAGE_AIM = 2;
+const float DAMAGE_NO   = 0;
+const float DAMAGE_YES  = 1;
+const float DAMAGE_AIM  = 2;
 
-float  STATE_TOP               = 0;
-float  STATE_BOTTOM    = 1;
-float  STATE_UP                = 2;
-float  STATE_DOWN              = 3;
+float   STATE_TOP       = 0;
+float   STATE_BOTTOM    = 1;
+float   STATE_UP        = 2;
+float   STATE_DOWN      = 3;
 
-.string                noise, noise1, noise2, noise3;  // contains names of wavs to play
+.string     noise, noise1, noise2, noise3; // contains names of wavs to play
 
-.float         max_health;             // players maximum health is stored here
+.float      max_health;                    // players maximum health is stored here
 #endif