/*
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 defined _inc__setup_master_B
	#undef _inc__setup_master_B
#endif

#if MASTER == 16
	#define _MASTER 16
	#define YSIM_STORED_SETTINGS YSIM_RECALL_16
	#if defined _YCM_@q
		#define YSIM_DEFINED
	#else
		#define _YCM_@q
		// Save the settings.
		#include "_resolve"
		#if !YSIM_HAS_MASTER
			#define YSIM_RECALL_16 0
		#elseif _YSIM_IS_CLIENT
			#define YSIM_RECALL_16 1
		#elseif _YSIM_IS_SERVER
			#define YSIM_RECALL_16 2
		#elseif _YSIM_IS_CLOUD
			#define YSIM_RECALL_16 3
		#elseif _YSIM_IS_STUB
			#define YSIM_RECALL_16 4
		#else
			#error Undefined master type on 16
		#endif
	#endif
	#define _YCM @q
	#define MAKE_YCM<%0...%1> %0@q%1
	#define _YCM@ _YCM_g@q
	#endinput
#elseif MASTER == 17
	#define _MASTER 17
	#define YSIM_STORED_SETTINGS YSIM_RECALL_17
	#if defined _YCM_@r
		#define YSIM_DEFINED
	#else
		#define _YCM_@r
		// Save the settings.
		#include "_resolve"
		#if !YSIM_HAS_MASTER
			#define YSIM_RECALL_17 0
		#elseif _YSIM_IS_CLIENT
			#define YSIM_RECALL_17 1
		#elseif _YSIM_IS_SERVER
			#define YSIM_RECALL_17 2
		#elseif _YSIM_IS_CLOUD
			#define YSIM_RECALL_17 3
		#elseif _YSIM_IS_STUB
			#define YSIM_RECALL_17 4
		#else
			#error Undefined master type on 17
		#endif
	#endif
	#define _YCM @r
	#define MAKE_YCM<%0...%1> %0@r%1
	#define _YCM@ _YCM_g@r
	#endinput
#elseif MASTER == 18
	#define _MASTER 18
	#define YSIM_STORED_SETTINGS YSIM_RECALL_18
	#if defined _YCM_@s
		#define YSIM_DEFINED
	#else
		#define _YCM_@s
		// Save the settings.
		#include "_resolve"
		#if !YSIM_HAS_MASTER
			#define YSIM_RECALL_18 0
		#elseif _YSIM_IS_CLIENT
			#define YSIM_RECALL_18 1
		#elseif _YSIM_IS_SERVER
			#define YSIM_RECALL_18 2
		#elseif _YSIM_IS_CLOUD
			#define YSIM_RECALL_18 3
		#elseif _YSIM_IS_STUB
			#define YSIM_RECALL_18 4
		#else
			#error Undefined master type on 18
		#endif
	#endif
	#define _YCM @s
	#define MAKE_YCM<%0...%1> %0@s%1
	#define _YCM@ _YCM_g@s
	#endinput
#elseif MASTER == 19
	#define _MASTER 19
	#define YSIM_STORED_SETTINGS YSIM_RECALL_19
	#if defined _YCM_@t
		#define YSIM_DEFINED
	#else
		#define _YCM_@t
		// Save the settings.
		#include "_resolve"
		#if !YSIM_HAS_MASTER
			#define YSIM_RECALL_19 0
		#elseif _YSIM_IS_CLIENT
			#define YSIM_RECALL_19 1
		#elseif _YSIM_IS_SERVER
			#define YSIM_RECALL_19 2
		#elseif _YSIM_IS_CLOUD
			#define YSIM_RECALL_19 3
		#elseif _YSIM_IS_STUB
			#define YSIM_RECALL_19 4
		#else
			#error Undefined master type on 19
		#endif
	#endif
	#define _YCM @t
	#define MAKE_YCM<%0...%1> %0@t%1
	#define _YCM@ _YCM_g@t
	#endinput
#elseif MASTER == 20
	#define _MASTER 20
	#define YSIM_STORED_SETTINGS YSIM_RECALL_20
	#if defined _YCM_@u
		#define YSIM_DEFINED
	#else
		#define _YCM_@u
		// Save the settings.
		#include "_resolve"
		#if !YSIM_HAS_MASTER
			#define YSIM_RECALL_20 0
		#elseif _YSIM_IS_CLIENT
			#define YSIM_RECALL_20 1
		#elseif _YSIM_IS_SERVER
			#define YSIM_RECALL_20 2
		#elseif _YSIM_IS_CLOUD
			#define YSIM_RECALL_20 3
		#elseif _YSIM_IS_STUB
			#define YSIM_RECALL_20 4
		#else
			#error Undefined master type on 20
		#endif
	#endif
	#define _YCM @u
	#define MAKE_YCM<%0...%1> %0@u%1
	#define _YCM@ _YCM_g@u
	#endinput
#elseif MASTER == 21
	#define _MASTER 21
	#define YSIM_STORED_SETTINGS YSIM_RECALL_21
	#if defined _YCM_@v
		#define YSIM_DEFINED
	#else
		#define _YCM_@v
		// Save the settings.
		#include "_resolve"
		#if !YSIM_HAS_MASTER
			#define YSIM_RECALL_21 0
		#elseif _YSIM_IS_CLIENT
			#define YSIM_RECALL_21 1
		#elseif _YSIM_IS_SERVER
			#define YSIM_RECALL_21 2
		#elseif _YSIM_IS_CLOUD
			#define YSIM_RECALL_21 3
		#elseif _YSIM_IS_STUB
			#define YSIM_RECALL_21 4
		#else
			#error Undefined master type on 21
		#endif
	#endif
	#define _YCM @v
	#define MAKE_YCM<%0...%1> %0@v%1
	#define _YCM@ _YCM_g@v
	#endinput
#elseif MASTER == 22
	#define _MASTER 22
	#define YSIM_STORED_SETTINGS YSIM_RECALL_22
	#if defined _YCM_@w
		#define YSIM_DEFINED
	#else
		#define _YCM_@w
		// Save the settings.
		#include "_resolve"
		#if !YSIM_HAS_MASTER
			#define YSIM_RECALL_22 0
		#elseif _YSIM_IS_CLIENT
			#define YSIM_RECALL_22 1
		#elseif _YSIM_IS_SERVER
			#define YSIM_RECALL_22 2
		#elseif _YSIM_IS_CLOUD
			#define YSIM_RECALL_22 3
		#elseif _YSIM_IS_STUB
			#define YSIM_RECALL_22 4
		#else
			#error Undefined master type on 22
		#endif
	#endif
	#define _YCM @w
	#define MAKE_YCM<%0...%1> %0@w%1
	#define _YCM@ _YCM_g@w
	#endinput
#elseif MASTER == 23
	#define _MASTER 23
	#define YSIM_STORED_SETTINGS YSIM_RECALL_23
	#if defined _YCM_@x
		#define YSIM_DEFINED
	#else
		#define _YCM_@x
		// Save the settings.
		#include "_resolve"
		#if !YSIM_HAS_MASTER
			#define YSIM_RECALL_23 0
		#elseif _YSIM_IS_CLIENT
			#define YSIM_RECALL_23 1
		#elseif _YSIM_IS_SERVER
			#define YSIM_RECALL_23 2
		#elseif _YSIM_IS_CLOUD
			#define YSIM_RECALL_23 3
		#elseif _YSIM_IS_STUB
			#define YSIM_RECALL_23 4
		#else
			#error Undefined master type on 23
		#endif
	#endif
	#define _YCM @x
	#define MAKE_YCM<%0...%1> %0@x%1
	#define _YCM@ _YCM_g@x
	#endinput
#elseif MASTER == 24
	#define _MASTER 24
	#define YSIM_STORED_SETTINGS YSIM_RECALL_24
	#if defined _YCM_@y
		#define YSIM_DEFINED
	#else
		#define _YCM_@y
		// Save the settings.
		#include "_resolve"
		#if !YSIM_HAS_MASTER
			#define YSIM_RECALL_24 0
		#elseif _YSIM_IS_CLIENT
			#define YSIM_RECALL_24 1
		#elseif _YSIM_IS_SERVER
			#define YSIM_RECALL_24 2
		#elseif _YSIM_IS_CLOUD
			#define YSIM_RECALL_24 3
		#elseif _YSIM_IS_STUB
			#define YSIM_RECALL_24 4
		#else
			#error Undefined master type on 24
		#endif
	#endif
	#define _YCM @y
	#define MAKE_YCM<%0...%1> %0@y%1
	#define _YCM@ _YCM_g@y
	#endinput
#elseif MASTER == 25
	#define _MASTER 25
	#define YSIM_STORED_SETTINGS YSIM_RECALL_25
	#if defined _YCM_@z
		#define YSIM_DEFINED
	#else
		#define _YCM_@z
		// Save the settings.
		#include "_resolve"
		#if !YSIM_HAS_MASTER
			#define YSIM_RECALL_25 0
		#elseif _YSIM_IS_CLIENT
			#define YSIM_RECALL_25 1
		#elseif _YSIM_IS_SERVER
			#define YSIM_RECALL_25 2
		#elseif _YSIM_IS_CLOUD
			#define YSIM_RECALL_25 3
		#elseif _YSIM_IS_STUB
			#define YSIM_RECALL_25 4
		#else
			#error Undefined master type on 25
		#endif
	#endif
	#define _YCM @z
	#define MAKE_YCM<%0...%1> %0@z%1
	#define _YCM@ _YCM_g@z
	#endinput
#elseif MASTER == 26
	#define _MASTER 26
	#define YSIM_STORED_SETTINGS YSIM_RECALL_26
	#if defined _YCM_@A
		#define YSIM_DEFINED
	#else
		#define _YCM_@A
		// Save the settings.
		#include "_resolve"
		#if !YSIM_HAS_MASTER
			#define YSIM_RECALL_26 0
		#elseif _YSIM_IS_CLIENT
			#define YSIM_RECALL_26 1
		#elseif _YSIM_IS_SERVER
			#define YSIM_RECALL_26 2
		#elseif _YSIM_IS_CLOUD
			#define YSIM_RECALL_26 3
		#elseif _YSIM_IS_STUB
			#define YSIM_RECALL_26 4
		#else
			#error Undefined master type on 26
		#endif
	#endif
	#define _YCM @A
	#define MAKE_YCM<%0...%1> %0@A%1
	#define _YCM@ _YCM_g@A
	#endinput
#elseif MASTER == 27
	#define _MASTER 27
	#define YSIM_STORED_SETTINGS YSIM_RECALL_27
	#if defined _YCM_@B
		#define YSIM_DEFINED
	#else
		#define _YCM_@B
		// Save the settings.
		#include "_resolve"
		#if !YSIM_HAS_MASTER
			#define YSIM_RECALL_27 0
		#elseif _YSIM_IS_CLIENT
			#define YSIM_RECALL_27 1
		#elseif _YSIM_IS_SERVER
			#define YSIM_RECALL_27 2
		#elseif _YSIM_IS_CLOUD
			#define YSIM_RECALL_27 3
		#elseif _YSIM_IS_STUB
			#define YSIM_RECALL_27 4
		#else
			#error Undefined master type on 27
		#endif
	#endif
	#define _YCM @B
	#define MAKE_YCM<%0...%1> %0@B%1
	#define _YCM@ _YCM_g@B
	#endinput
#elseif MASTER == 28
	#define _MASTER 28
	#define YSIM_STORED_SETTINGS YSIM_RECALL_28
	#if defined _YCM_@C
		#define YSIM_DEFINED
	#else
		#define _YCM_@C
		// Save the settings.
		#include "_resolve"
		#if !YSIM_HAS_MASTER
			#define YSIM_RECALL_28 0
		#elseif _YSIM_IS_CLIENT
			#define YSIM_RECALL_28 1
		#elseif _YSIM_IS_SERVER
			#define YSIM_RECALL_28 2
		#elseif _YSIM_IS_CLOUD
			#define YSIM_RECALL_28 3
		#elseif _YSIM_IS_STUB
			#define YSIM_RECALL_28 4
		#else
			#error Undefined master type on 28
		#endif
	#endif
	#define _YCM @C
	#define MAKE_YCM<%0...%1> %0@C%1
	#define _YCM@ _YCM_g@C
	#endinput
#elseif MASTER == 29
	#define _MASTER 29
	#define YSIM_STORED_SETTINGS YSIM_RECALL_29
	#if defined _YCM_@D
		#define YSIM_DEFINED
	#else
		#define _YCM_@D
		// Save the settings.
		#include "_resolve"
		#if !YSIM_HAS_MASTER
			#define YSIM_RECALL_29 0
		#elseif _YSIM_IS_CLIENT
			#define YSIM_RECALL_29 1
		#elseif _YSIM_IS_SERVER
			#define YSIM_RECALL_29 2
		#elseif _YSIM_IS_CLOUD
			#define YSIM_RECALL_29 3
		#elseif _YSIM_IS_STUB
			#define YSIM_RECALL_29 4
		#else
			#error Undefined master type on 29
		#endif
	#endif
	#define _YCM @D
	#define MAKE_YCM<%0...%1> %0@D%1
	#define _YCM@ _YCM_g@D
	#endinput
#elseif MASTER == 30
	#define _MASTER 30
	#define YSIM_STORED_SETTINGS YSIM_RECALL_30
	#if defined _YCM_@E
		#define YSIM_DEFINED
	#else
		#define _YCM_@E
		// Save the settings.
		#include "_resolve"
		#if !YSIM_HAS_MASTER
			#define YSIM_RECALL_30 0
		#elseif _YSIM_IS_CLIENT
			#define YSIM_RECALL_30 1
		#elseif _YSIM_IS_SERVER
			#define YSIM_RECALL_30 2
		#elseif _YSIM_IS_CLOUD
			#define YSIM_RECALL_30 3
		#elseif _YSIM_IS_STUB
			#define YSIM_RECALL_30 4
		#else
			#error Undefined master type on 30
		#endif
	#endif
	#define _YCM @E
	#define MAKE_YCM<%0...%1> %0@E%1
	#define _YCM@ _YCM_g@E
	#endinput
#elseif MASTER == 31
	#define _MASTER 31
	#define YSIM_STORED_SETTINGS YSIM_RECALL_31
	#if defined _YCM_@F
		#define YSIM_DEFINED
	#else
		#define _YCM_@F
		// Save the settings.
		#include "_resolve"
		#if !YSIM_HAS_MASTER
			#define YSIM_RECALL_31 0
		#elseif _YSIM_IS_CLIENT
			#define YSIM_RECALL_31 1
		#elseif _YSIM_IS_SERVER
			#define YSIM_RECALL_31 2
		#elseif _YSIM_IS_CLOUD
			#define YSIM_RECALL_31 3
		#elseif _YSIM_IS_STUB
			#define YSIM_RECALL_31 4
		#else
			#error Undefined master type on 31
		#endif
	#endif
	#define _YCM @F
	#define MAKE_YCM<%0...%1> %0@F%1
	#define _YCM@ _YCM_g@F
	#endinput
#endif

