]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/wall.qh
Merge branch 'sev/luma_update' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / wall.qh
index 3094b4373de44f8cf288414b16e6715e93512dde..11aebd0ed5e25df349f6fa12a8288e345e47f27f 100644 (file)
@@ -1,11 +1,11 @@
-#ifndef WALL_H
-#define WALL_H
+#pragma once
 
-.float lip;
-.float bgmscriptangular;
-.int lodmodelindex0, lodmodelindex1, lodmodelindex2;
-.float loddistance1, loddistance2;
-.vector saved;
+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;
 
 // Needed for interactive clientwalls
 .float inactive; // Clientwall disappears when inactive
 // fade_vertical_offset is a vertival offset for player position
 .float fade_start, fade_end, fade_vertical_offset;
 .float default_solid;
-// This variable will be set by trigger
-.float antiwall_flag;
 
-void Ent_Wall_Draw();
+void Ent_Wall_Draw(entity this);
 
-void Ent_Wall_Remove();
-
-void Ent_Wall();
-#endif
+void Ent_Wall_Remove(entity this);