Constants in xs.inc
List of constants
XS Library
Version 0.1
MACROS THAT YOU CAN DEFINE BEFORE INCLUDING XS.INC:
XS_FLEQ_TOLERANCE:
Tolerance that is used for XS_FLEQ float nearly-equal comparisions
DEFAULT: 0.000005
XS_DEBUG
Turn debug logging on
DEFAULT: 0
XS_LOGBUFFER_SIZE
Buffer size for logging
DEFAULT: 512
XS_TASK_MAXPARAMS
Maximal parameter count for managed tasks
DEFAULT: 8
XS_TASK_MAXPARAMSIZE
Maximal size of string parameter for tasks
Has to be power of 2 and has to be >= 8
DEFAULT: 512
XS_TASK_MANAGEDIDS
Number of managed IDs for tasks.
DEFAULT: 2048
XS_REPLACEBUF_SIZE
DEFAULT: 3072
NOTES:
On AMX, VexdUM is required for some math functions
xs__ / XS__ (2 underscores) stuff is meant to be intern
untested: never tested
half-tested: succesfully used in other applications; not extensively tested in xs though
tested: fully tested
If you have any useful functions / ideas for functions, please tell me.#
**** MATH FUNCTIONS *****#
**** BASIC STUFF *****#
Checks if two floating point values are nearly equal.#
Param
The first value to compare.
The second value to compare.
Return
1 if they are nearly equal, 0 otherwise.
**** RANDOM NUMBERS *****#
**** VECTORS & PLANES *****#
**** HL ENGINE SPECIFIC STUFF *****#
**** STRING FUNCS ******#
**** MISC FUNCS ******#