| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290 |
- /*+
- * <library name="y_thirdpartyinclude">
- * <section>
- * Description
- * </section>
- * Try and include all YSI dependencies, looking in as many places as needed.
- * <section>
- * Version
- * </section>
- * 1.0
- * </library>
- *//** *//*
- 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 <amx_assembly\amx>
- #tryinclude "..\amx_assembly\amx"
- #tryinclude "..\..\amx_assembly\amx"
- #tryinclude "amx"
- #tryinclude <amx>
- #if !defined AMX_INC
- #define AMX_INCLUDING_FAILED
- #endif
- #tryinclude "..\amx\amx_base"
- #tryinclude <amx_assembly\amx_base>
- #tryinclude "..\amx_assembly\amx_base"
- #tryinclude "..\..\amx_assembly\amx_base"
- #tryinclude "amx_base"
- #tryinclude <amx_base>
- #if !defined AMX_BASE_INC
- #define AMX_INCLUDING_FAILED
- #endif
- #tryinclude "..\amx\amx_header"
- #tryinclude <amx_assembly\amx_header>
- #tryinclude "..\amx_assembly\amx_header"
- #tryinclude "..\..\amx_assembly\amx_header"
- #tryinclude "amx_header"
- #tryinclude <amx_header>
- #if !defined AMX_HEADER_INC
- #define AMX_INCLUDING_FAILED
- #endif
- #tryinclude "..\amx\amx_memory"
- #tryinclude <amx_assembly\amx_memory>
- #tryinclude "..\amx_assembly\amx_memory"
- #tryinclude "..\..\amx_assembly\amx_memory"
- #tryinclude "amx_memory"
- #tryinclude <amx_memory>
- #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 <amx_assembly\asm>
- #tryinclude "..\amx_assembly\asm"
- #tryinclude "..\..\amx_assembly\asm"
- #tryinclude "asm"
- #tryinclude <asm>
- #if !defined ASM_INC
- #define AMX_INCLUDING_FAILED
- #endif
- #tryinclude "..\amx\asm_macros"
- #tryinclude <amx_assembly\asm_macros>
- #tryinclude "..\amx_assembly\asm_macros"
- #tryinclude "..\..\amx_assembly\asm_macros"
- #tryinclude "asm_macros"
- #tryinclude <asm_macros>
- #if !defined ASM_MACROS_INC
- #define AMX_INCLUDING_FAILED
- #endif
- #tryinclude "..\amx\codescan"
- #tryinclude <amx_assembly\codescan>
- #tryinclude "..\amx_assembly\codescan"
- #tryinclude "..\..\amx_assembly\codescan"
- #tryinclude "codescan"
- #tryinclude <codescan>
- #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 <amx_assembly\disasm>
- #tryinclude "..\amx_assembly\disasm"
- #tryinclude "..\..\amx_assembly\disasm"
- #tryinclude "disasm"
- #tryinclude <disasm>
- #if !defined DISASM_INC
- #define AMX_INCLUDING_FAILED
- #endif
- #tryinclude "..\amx\dynamic_call"
- #tryinclude <amx_assembly\dynamic_call>
- #tryinclude "..\amx_assembly\dynamic_call"
- #tryinclude "..\..\amx_assembly\dynamic_call"
- #tryinclude "dynamic_call"
- #tryinclude <dynamic_call>
- #if !defined DYNAMIC_CALL_INC
- #define AMX_INCLUDING_FAILED
- #endif
- #tryinclude "..\amx\frame_info"
- #tryinclude <amx_assembly\frame_info>
- #tryinclude "..\amx_assembly\frame_info"
- #tryinclude "..\..\amx_assembly\frame_info"
- #tryinclude "dynamic_call"
- #tryinclude <dynamic_call>
- #if !defined FRAME_INFO_INC
- #define AMX_INCLUDING_FAILED
- #endif
- #tryinclude "..\amx\heap_alloc"
- #tryinclude <amx_assembly\heap_alloc>
- #tryinclude "..\amx_assembly\heap_alloc"
- #tryinclude "..\..\amx_assembly\heap_alloc"
- #tryinclude "heap_alloc"
- #tryinclude <heap_alloc>
- #if !defined HEAP_ALLOC_INC
- #define AMX_INCLUDING_FAILED
- #endif
- #tryinclude "..\amx\opcode"
- #tryinclude <amx_assembly\opcode>
- #tryinclude "..\amx_assembly\opcode"
- #tryinclude "..\..\amx_assembly\opcode"
- #tryinclude "opcode"
- #tryinclude <opcode>
- #if !defined OPCODE_INC
- #define AMX_INCLUDING_FAILED
- #endif
- #tryinclude "..\amx\os"
- #tryinclude <amx_assembly\os>
- #tryinclude "..\amx_assembly\os"
- #tryinclude "..\..\amx_assembly\os"
- #tryinclude "os"
- #tryinclude <os>
- #if !defined OS_INC
- #define AMX_INCLUDING_FAILED
- #endif
- #tryinclude "..\amx\phys_memory"
- #tryinclude <amx_assembly\phys_memory>
- #tryinclude "..\amx_assembly\phys_memory"
- #tryinclude "..\..\amx_assembly\phys_memory"
- #tryinclude "phys_memory"
- #tryinclude <phys_memory>
- #if !defined PHYS_MEMORY_INC
- #define AMX_INCLUDING_FAILED
- #endif
- #tryinclude "..\amx\profiler"
- #tryinclude <amx_assembly\profiler>
- #tryinclude "..\amx_assembly\profiler"
- #tryinclude "..\..\amx_assembly\profiler"
- #tryinclude "profiler"
- #tryinclude <profiler>
- #if !defined PROFILER_INC
- #define AMX_INCLUDING_FAILED
- #endif
- //#tryinclude "..\amx\shellcode"
- //#tryinclude <amx_assembly\shellcode>
- //#tryinclude "..\amx_assembly\shellcode"
- //#tryinclude "..\..\amx_assembly\shellcode"
- //#tryinclude "shellcode"
- //#tryinclude <shellcode>
- //#if !defined SHELLCODE_INC
- // #define AMX_INCLUDING_FAILED
- //#endif
- #tryinclude "..\amx\stack_dump"
- #tryinclude <amx_assembly\stack_dump>
- #tryinclude "..\amx_assembly\stack_dump"
- #tryinclude "..\..\amx_assembly\stack_dump"
- #tryinclude "stack_dump"
- #tryinclude <stack_dump>
- #if !defined STACK_DUMP_INC
- #define AMX_INCLUDING_FAILED
- #endif
- #tryinclude "..\amx\stack_trace"
- #tryinclude <amx_assembly\stack_trace>
- #tryinclude "..\amx_assembly\stack_trace"
- #tryinclude "..\..\amx_assembly\stack_trace"
- #tryinclude "stack_trace"
- #tryinclude <stack_trace>
- #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
|