14 lines
292 B
Plaintext
14 lines
292 B
Plaintext
|
|
||
|
#ifndef __hud_utility__
|
||
|
#define __hud_utility__
|
||
|
|
||
|
|
||
|
$template _increment( property, amount )
|
||
|
property = immediate( property + amount );
|
||
|
$endtemplate
|
||
|
|
||
|
$template _decrement( property, amount )
|
||
|
property = immediate( property - amount );
|
||
|
$endtemplate
|
||
|
|
||
|
#endif // !__hud_utility__
|