Xonotic
|
Go to the source code of this file.
Macros | |
#define | ACCUMULATE_FUNCTION(func, otherfunc) .float _ACCUMULATE_##func##__##otherfunc; |
#define | CALL_ACCUMULATED_FUNCTION(func) ACCUMULATE_call( #func) |
#define | CHECK_MAX_COUNT(name, max, count, type) if (count > max) { error(strcat("Maximum ", type, " hit: ", #name, ": ", ftos(count), ".\n")); } |
#define | SET_FIELD_COUNT(field, first, count) if (!field) { field = (first + count); ++count; } |
#define | SET_FIRST_OR_LAST(input, first, count) if (!input) { input = (first + count); } |
Functions | |
void | ACCUMULATE_call (string func) |
#define ACCUMULATE_FUNCTION | ( | func, | |
otherfunc | |||
) | .float _ACCUMULATE_##func##__##otherfunc; |
Definition at line 31 of file accumulate.qh.
#define CALL_ACCUMULATED_FUNCTION | ( | func | ) | ACCUMULATE_call( #func) |
Definition at line 45 of file accumulate.qh.
Referenced by GenericCommand_restartnotifs().
#define CHECK_MAX_COUNT | ( | name, | |
max, | |||
count, | |||
type | |||
) | if (count > max) { error(strcat("Maximum ", type, " hit: ", #name, ": ", ftos(count), ".\n")); } |
Definition at line 55 of file accumulate.qh.
Definition at line 53 of file accumulate.qh.
Definition at line 51 of file accumulate.qh.
Definition at line 33 of file accumulate.qh.
References callfunction(), name, strcat(), strlen(), and substring().