/*+
*
*
* Try and include all YSI dependencies, looking in as many places as needed.
*
* 1.0
*
*//** *//*
Legal:
Version: MPL 1.1
The contents of this file are subject to the Mozilla Public License Version
1.1 the "License"; you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the
License.
The Original Code is the YSI framework.
The Initial Developer of the Original Code is Alex "Y_Less" Cole.
Portions created by the Initial Developer are Copyright C 2011
the Initial Developer. All Rights Reserved.
Contributors:
Y_Less
koolk
JoeBullet/Google63
g_aSlice/Slice
Misiur
samphunter
tianmeta
maddinat0r
spacemud
Crayder
Dayvison
Ahmad45123
Zeex
irinel1996
Yiin-
Chaprnks
Konstantinos
Masterchen09
Southclaws
PatchwerkQWER
m0k1
paulommu
udan111
Thanks:
JoeBullet/Google63 - Handy arbitrary ASM jump code using SCTRL.
ZeeX - Very productive conversations.
koolk - IsPlayerinAreaEx code.
TheAlpha - Danish translation.
breadfish - German translation.
Fireburn - Dutch translation.
yom - French translation.
50p - Polish translation.
Zamaroht - Spanish translation.
Los - Portuguese translation.
Dracoblue, sintax, mabako, Xtreme, other coders - Producing other modes for
me to strive to better.
Pixels^ - Running XScripters where the idea was born.
Matite - Pestering me to release it and using it.
Very special thanks to:
Thiadmer - PAWN, whose limits continue to amaze me!
Kye/Kalcor - SA:MP.
SA:MP Team past, present and future - SA:MP.
Optional plugins:
Gamer_Z - GPS.
Incognito - Streamer.
Me - sscanf2, fixes2, Whirlpool.
*/
// If the files only exist in one place, they will only be included once because
// of using "#tryinclude". If they happen to exist in two places, their own
// internal include guards (or the compiler's one) will prevent their multiple
// inclusions. I don't know why I ever made YSI use its own internal version...
#if defined CODE_SCAN_MAX_PATTERN
#if CODE_SCAN_MAX_PATTERN < (32)
#undef CODE_SCAN_MAX_PATTERN
#define CODE_SCAN_MAX_PATTERN (32)
#endif
#else
#define CODE_SCAN_MAX_PATTERN (32)
#endif
#tryinclude "..\amx\amx"
#tryinclude
#tryinclude "..\amx_assembly\amx"
#tryinclude "..\..\amx_assembly\amx"
#tryinclude "amx"
#tryinclude
#if !defined AMX_INC
#define AMX_INCLUDING_FAILED
#endif
#tryinclude "..\amx\amx_base"
#tryinclude
#tryinclude "..\amx_assembly\amx_base"
#tryinclude "..\..\amx_assembly\amx_base"
#tryinclude "amx_base"
#tryinclude
#if !defined AMX_BASE_INC
#define AMX_INCLUDING_FAILED
#endif
#tryinclude "..\amx\amx_header"
#tryinclude
#tryinclude "..\amx_assembly\amx_header"
#tryinclude "..\..\amx_assembly\amx_header"
#tryinclude "amx_header"
#tryinclude
#if !defined AMX_HEADER_INC
#define AMX_INCLUDING_FAILED
#endif
#tryinclude "..\amx\amx_memory"
#tryinclude
#tryinclude "..\amx_assembly\amx_memory"
#tryinclude "..\..\amx_assembly\amx_memory"
#tryinclude "amx_memory"
#tryinclude
#if !defined AMX_MEMORY_INC
#define AMX_INCLUDING_FAILED
#endif
#if !defined deref
#error Please update "https://github.com/Zeex/amx_assembly" to get "deref()"
#endif
#if !defined GetAmxNextInstructionPointer
#error Please update "https://github.com/Zeex/amx_assembly" to get "GetAmxNextInstructionPointer()"
#endif
#tryinclude "..\amx\asm"
#tryinclude
#tryinclude "..\amx_assembly\asm"
#tryinclude "..\..\amx_assembly\asm"
#tryinclude "asm"
#tryinclude
#if !defined ASM_INC
#define AMX_INCLUDING_FAILED
#endif
#tryinclude "..\amx\asm_macros"
#tryinclude
#tryinclude "..\amx_assembly\asm_macros"
#tryinclude "..\..\amx_assembly\asm_macros"
#tryinclude "asm_macros"
#tryinclude
#if !defined ASM_MACROS_INC
#define AMX_INCLUDING_FAILED
#endif
#tryinclude "..\amx\codescan"
#tryinclude
#tryinclude "..\amx_assembly\codescan"
#tryinclude "..\..\amx_assembly\codescan"
#tryinclude "codescan"
#tryinclude
#if !defined CODESCAN_INC
#error Please update "https://github.com/Zeex/amx_assembly" to get "codescan.inc"
#endif
#if !defined AsmEmitCallAbs
#error Please update "https://github.com/Zeex/amx_assembly" to get "AsmEmitCallAbs()"
#endif
#tryinclude "..\amx\disasm"
#tryinclude
#tryinclude "..\amx_assembly\disasm"
#tryinclude "..\..\amx_assembly\disasm"
#tryinclude "disasm"
#tryinclude
#if !defined DISASM_INC
#define AMX_INCLUDING_FAILED
#endif
#tryinclude "..\amx\dynamic_call"
#tryinclude
#tryinclude "..\amx_assembly\dynamic_call"
#tryinclude "..\..\amx_assembly\dynamic_call"
#tryinclude "dynamic_call"
#tryinclude
#if !defined DYNAMIC_CALL_INC
#define AMX_INCLUDING_FAILED
#endif
#tryinclude "..\amx\frame_info"
#tryinclude
#tryinclude "..\amx_assembly\frame_info"
#tryinclude "..\..\amx_assembly\frame_info"
#tryinclude "dynamic_call"
#tryinclude
#if !defined FRAME_INFO_INC
#define AMX_INCLUDING_FAILED
#endif
#tryinclude "..\amx\heap_alloc"
#tryinclude
#tryinclude "..\amx_assembly\heap_alloc"
#tryinclude "..\..\amx_assembly\heap_alloc"
#tryinclude "heap_alloc"
#tryinclude
#if !defined HEAP_ALLOC_INC
#define AMX_INCLUDING_FAILED
#endif
#tryinclude "..\amx\opcode"
#tryinclude
#tryinclude "..\amx_assembly\opcode"
#tryinclude "..\..\amx_assembly\opcode"
#tryinclude "opcode"
#tryinclude
#if !defined OPCODE_INC
#define AMX_INCLUDING_FAILED
#endif
#tryinclude "..\amx\os"
#tryinclude
#tryinclude "..\amx_assembly\os"
#tryinclude "..\..\amx_assembly\os"
#tryinclude "os"
#tryinclude
#if !defined OS_INC
#define AMX_INCLUDING_FAILED
#endif
#tryinclude "..\amx\phys_memory"
#tryinclude
#tryinclude "..\amx_assembly\phys_memory"
#tryinclude "..\..\amx_assembly\phys_memory"
#tryinclude "phys_memory"
#tryinclude
#if !defined PHYS_MEMORY_INC
#define AMX_INCLUDING_FAILED
#endif
#tryinclude "..\amx\profiler"
#tryinclude
#tryinclude "..\amx_assembly\profiler"
#tryinclude "..\..\amx_assembly\profiler"
#tryinclude "profiler"
#tryinclude
#if !defined PROFILER_INC
#define AMX_INCLUDING_FAILED
#endif
//#tryinclude "..\amx\shellcode"
//#tryinclude
//#tryinclude "..\amx_assembly\shellcode"
//#tryinclude "..\..\amx_assembly\shellcode"
//#tryinclude "shellcode"
//#tryinclude
//#if !defined SHELLCODE_INC
// #define AMX_INCLUDING_FAILED
//#endif
#tryinclude "..\amx\stack_dump"
#tryinclude
#tryinclude "..\amx_assembly\stack_dump"
#tryinclude "..\..\amx_assembly\stack_dump"
#tryinclude "stack_dump"
#tryinclude
#if !defined STACK_DUMP_INC
#define AMX_INCLUDING_FAILED
#endif
#tryinclude "..\amx\stack_trace"
#tryinclude
#tryinclude "..\amx_assembly\stack_trace"
#tryinclude "..\..\amx_assembly\stack_trace"
#tryinclude "stack_trace"
#tryinclude
#if !defined STACK_TRACE_INC
#define AMX_INCLUDING_FAILED
#endif
#if defined AMX_INCLUDING_FAILED
#error Could not include "https://github.com/Zeex/amx_assembly" - ensure its files are in "includes\amx_assembly\"
#endif