]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/modeleffects.qh
Add a quickmenu example file with syntax description
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / modeleffects.qh
index f40cfef5597b5ee87f4c34d106e0cd1a66c001cb..32641f394e495812740e3b296510ade106369e0b 100644 (file)
@@ -1,12 +1,13 @@
-#ifndef MODELEFFECTS_H
-#define MODELEFFECTS_H
+#ifndef CLIENT_MODELEFFECTS_H
+#define CLIENT_MODELEFFECTS_H
 
-.float frame1time;
-.float lifetime, fadetime;
-.float teleport_time;
-.float scale1, scale2;
+entityclass(ModelEffect);
+class(ModelEffect) .float frame1time;
+class(ModelEffect) .float lifetime, fadetime;
+class(ModelEffect) .float teleport_time;
+class(ModelEffect) .float scale1, scale2;
 
-void ModelEffect_Draw();
+void ModelEffect_Draw(entity this);
 
 void Ent_ModelEffect(bool isNew);
 #endif