X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fbgmscript.qh;h=a3044d537cd3200bedd070f38be867b801456e9e;hb=f43ca1bbd52918a437936caf013329010923594c;hp=fba28762a349652a1a27616083a509f9f7d0b6a9;hpb=451382be257bcb485a1ada1872bfdf2f18769051;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/bgmscript.qh b/qcsrc/client/bgmscript.qh index fba28762a..a3044d537 100644 --- a/qcsrc/client/bgmscript.qh +++ b/qcsrc/client/bgmscript.qh @@ -1,8 +1,15 @@ -#ifndef BGMSCRIPT_H -#define BGMSCRIPT_H +#pragma once -.float just_toggled; +entityclass(BGMScript); +classfield(BGMScript) .string bgmscript; +classfield(BGMScript) .float bgmscriptattack; +classfield(BGMScript) .float bgmscriptdecay; +classfield(BGMScript) .float bgmscriptsustain; +classfield(BGMScript) .float bgmscriptrelease; +classfield(BGMScript) .float just_toggled; + +#ifdef CSQC void BGMScript_InitEntity(entity e); -float BGMScript(entity e); +float doBGMScript(entity e); #endif