|
Xonotic
|
Include dependency graph for bgmscript.qc:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | CONSTANT_SPEED_DECAY |
Functions | |
| void | BGMScript_Init () |
| void | BGMScript_InitEntity (entity e) |
| classfield (BGMScript) .float bgmscriptline | |
| float | doBGMScript (entity e) |
| float | GetAttackDecaySustainAmplitude (float a, float d, float s, float t) |
| float | GetAttackTime (float a, float amp) |
| float | GetCurrentAmplitude (entity e, float trel) |
| float | GetReleaseAmplitude (float d, float s, float r, float t) |
| float | GetReleaseTime (float d, float s, float r, float amp) |
| float | GetTimeForAmplitude (entity e, float amp) |
Variables | |
| float | bgmscriptbuf |
| float | bgmscriptbufloaded |
| float | bgmscriptbufsize |
| #define CONSTANT_SPEED_DECAY |
Definition at line 6 of file bgmscript.qc.
| void BGMScript_Init | ( | ) |
Definition at line 97 of file bgmscript.qc.
References bgmscriptbuf, bgmscriptbufloaded, bgmscriptbufsize, buf_create, fclose(), fgets(), FILE_READ, fopen(), and strcat().
Referenced by BGMScript_InitEntity().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 116 of file bgmscript.qc.
References BGMScript_Init(), bgmscriptbuf, bgmscriptbufloaded, bgmscriptbufsize, LOG_INFOF, strcat(), strfree, strlen(), and substring().
Here is the call graph for this function:| classfield | ( | BGMScript | ) |
Definition at line 173 of file bgmscript.qc.
References argv(), autocvar_bgmvolume, bgmscriptbuf, bgmtime, drawframetime, GetCurrentAmplitude(), GetTimeForAmplitude(), stof(), and tokenize_console.
Here is the call graph for this function:Definition at line 19 of file bgmscript.qc.
Referenced by GetCurrentAmplitude().
Here is the caller graph for this function:Definition at line 67 of file bgmscript.qc.
Referenced by GetTimeForAmplitude().
Here is the caller graph for this function:Definition at line 145 of file bgmscript.qc.
References GetAttackDecaySustainAmplitude(), and GetReleaseAmplitude().
Referenced by doBGMScript().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 40 of file bgmscript.qc.
References max().
Referenced by GetCurrentAmplitude().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 72 of file bgmscript.qc.
References max().
Referenced by GetTimeForAmplitude().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 159 of file bgmscript.qc.
References GetAttackTime(), and GetReleaseTime().
Referenced by doBGMScript().
Here is the call graph for this function:
Here is the caller graph for this function:| float bgmscriptbuf |
Definition at line 8 of file bgmscript.qc.
Referenced by BGMScript_Init(), BGMScript_InitEntity(), and doBGMScript().
| float bgmscriptbufloaded |
Definition at line 10 of file bgmscript.qc.
Referenced by BGMScript_Init(), and BGMScript_InitEntity().
| float bgmscriptbufsize |
Definition at line 9 of file bgmscript.qc.
Referenced by BGMScript_Init(), and BGMScript_InitEntity().