]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/wall.qh
Merge branch 'terencehill/ca_bots_fix' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / wall.qh
index 3a439e6ffe88ff1a14c7817e1d7f682aac0f204f..11aebd0ed5e25df349f6fa12a8288e345e47f27f 100644 (file)
@@ -1,16 +1,20 @@
-#ifndef WALL_H
-#define WALL_H
+#pragma once
 
-entityclass(Wall)
+entityclass(Wall);
 class(Wall) .float lip;
 class(Wall) .float bgmscriptangular;
 class(Wall) .int lodmodelindex0, lodmodelindex1, lodmodelindex2;
 class(Wall) .float loddistance1, loddistance2;
 class(Wall) .vector saved;
 
-void Ent_Wall_Draw();
+// Needed for interactive clientwalls
+.float inactive; // Clientwall disappears when inactive
+.float alpha_max, alpha_min;
+// If fade_start > fade_end, fadeout will be inverted
+// fade_vertical_offset is a vertival offset for player position
+.float fade_start, fade_end, fade_vertical_offset;
+.float default_solid;
 
-void Ent_Wall_Remove();
+void Ent_Wall_Draw(entity this);
 
-void Ent_Wall();
-#endif
+void Ent_Wall_Remove(entity this);