]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/tuba.qh
Define client entity classes
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / tuba.qh
index 81517b4e41bd7a452e0bb0360215ce17f41fdf9f..a04e66762b33ac1b9ae7370f5dc1c6705959d97d 100644 (file)
@@ -1,28 +1,8 @@
 #ifndef TUBA_H
 #define TUBA_H
+void Ent_TubaNote(bool isNew);
+void Tuba_Precache();
 
-const float TUBA_MIN = -18;
-const float TUBA_MAX =  27;
-const float TUBA_INSTRUMENTS = 3;
-
-#define TUBA_STARTNOTE(i,n) strcat("weapons/tuba", (i ? ftos(i) : ""), "_loopnote", ftos(n), ".wav")
-.int note; // note
-.float attenuate; // if set, attenuate it
-.float cnt; // current volume
-.float count; // initial volume
-.float tuba_instrument;
-
-int Tuba_PitchStep;
-
-void tubasound(entity e, float restart);
-
-void Ent_TubaNote_Think();
-
-void Ent_TubaNote_UpdateSound();
-
-void Ent_TubaNote_StopSound();
-
-void Ent_TubaNote(float bIsNew);
+entityclass(Tuba)
 
-void Tuba_Precache();
 #endif