X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fbgmscript.qh;h=2ce69ca2c361a7b504a69b5c4714f94245a6d90f;hb=cfaca418a957d54dadee2b7feb77c8187f089c9b;hp=5921bb4bc7325126c5227353192a1aa1fe18c250;hpb=7bae88d09fbd53cce732e31633aea92671b43699;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/bgmscript.qh b/qcsrc/client/bgmscript.qh index 5921bb4bc..2ce69ca2c 100644 --- a/qcsrc/client/bgmscript.qh +++ b/qcsrc/client/bgmscript.qh @@ -1,18 +1,12 @@ -#ifndef BGMSCRIPT_H -#define BGMSCRIPT_H +#pragma once -entityclass(BGMScript); -class(BGMScript) .string bgmscript; -class(BGMScript) .float bgmscriptattack; -class(BGMScript) .float bgmscriptdecay; -class(BGMScript) .float bgmscriptsustain; -class(BGMScript) .float bgmscriptrelease; +#include -class(BGMScript) .float just_toggled; +float autocvar_bgmvolume; + +classfield(BGMScript) .float just_toggled; + +float bgmtime; -#ifdef CSQC void BGMScript_InitEntity(entity e); float doBGMScript(entity e); -#endif - -#endif