]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/bgmscript.qh
Some more cleanup to map objects, allow trigger_delay and trigger_counter to be deact...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / bgmscript.qh
index 910ef6b5df006c69f3347ad33363498d31f53a74..e1be9c805ca69e4512c7b9038ccaa88a9eb617a7 100644 (file)
@@ -1,14 +1,8 @@
-#ifndef BGMSCRIPT_H
-#define BGMSCRIPT_H
+#pragma once
 
-.string bgmscript;
-.float bgmscriptattack;
-.float bgmscriptdecay;
-.float bgmscriptsustain;
-.float bgmscriptrelease;
+#include <common/mapobjects/bgmscript.qh>
 
-.float just_toggled;
+classfield(BGMScript) .float just_toggled;
 
 void BGMScript_InitEntity(entity e);
-float BGMScript(entity e);
-#endif
+float doBGMScript(entity e);