bitmapfont=type:BitmapFont, bitmap:(font.png;font X3.png;font X3.png), columns:10, rows:6
bitmapfontBright=type:BitmapFont, bitmap:(fontBright.png;fontBright X3.png;fontBright X3.png), columns:10, rows:6
bitmapfontProp=type:BitmapFont, bitmap:(propFont13.png; propFont13 X2.png; propFont13 X3.png), columns:91, rows:1, startCode:32, caseConvertion:0, monospace:FALSE
bitmapfontPropBright=type:BitmapFont, bitmap:(propFont13Red.png; propFont13Red X2.png; propFont13Red X3.png), columns:91, rows:1, startCode:32, caseConvertion:0, monospace:FALSE

CHMN_LD = chessman
CHMN_MD = chessman X2
CHMN_HD = chessman X3

HALO	= halo
BACK	= back
HARE	= hare
COBRA	= cobra
FOX		= fox
WOLF	= wolf
RHINO	= rhino
ELEPHANT= elephant
LEOPARD	= leopard
LION	= lion

{HALO}	= type:Texture, src:({CHMN_LD}/{HALO}.png; {CHMN_MD}/{HALO}.png; {CHMN_HD}/{HALO}.png)
{BACK}	= type:Texture, src:({CHMN_LD}/{BACK}.png; {CHMN_MD}/{BACK}.png; {CHMN_HD}/{BACK}.png)
{HARE}	= type:Texture, src:({CHMN_LD}/{HARE}.png; {CHMN_MD}/{HARE}.png; {CHMN_HD}/{HARE}.png)
{COBRA}	= type:Texture, src:({CHMN_LD}/{COBRA}.png; {CHMN_MD}/{COBRA}.png; {CHMN_HD}/{COBRA}.png)
{FOX}	= type:Texture, src:({CHMN_LD}/{FOX}.png; {CHMN_MD}/{FOX}.png; {CHMN_HD}/{FOX}.png)
{WOLF}	= type:Texture, src:({CHMN_LD}/{WOLF}.png; {CHMN_MD}/{WOLF}.png; {CHMN_HD}/{WOLF}.png)
{RHINO}	= type:Texture, src:({CHMN_LD}/{RHINO}.png; {CHMN_MD}/{RHINO}.png; {CHMN_HD}/{RHINO}.png)
{ELEPHANT}	= type:Texture, src:({CHMN_LD}/{ELEPHANT}.png; {CHMN_MD}/{ELEPHANT}.png; {CHMN_HD}/{ELEPHANT}.png)
{LEOPARD}	= type:Texture, src:({CHMN_LD}/{LEOPARD}.png; {CHMN_MD}/{LEOPARD}.png; {CHMN_HD}/{LEOPARD}.png)
{LION}	= type:Texture, src:({CHMN_LD}/{LION}.png; {CHMN_MD}/{LION}.png; {CHMN_HD}/{LION}.png)


#========== SCENE GAME ===================
sceneGame=type:SceneSprite, x:CENTER, y:CENTER, width:240,height:240, navigationMode:DVD_MODE
sptSceneBKG=type:Sprite, container:sceneGame, x:CENTER, y:CENTER, width:400, height:400, texture:bkg.png
sptGameBoard=type:Sprite, container:sceneGame, x:5, y:5, frame:(100;130;0), frameBevel:2, frameBevelThickness:2
sptCellGroup = type:GUIType:CHECKBOXGROUP
sptCell= type:Sprite, container:sceneGame, number:42, GUIType:CHECKBOX, status:STATUS_NORMAL, group:sptCellGroup, textSize:13, \
		 bitmapFont:bitmapfontProp, bitmapFontBright:bitmapfontPropBright, textColor:(213;213;213), textColorBright:(213;0;0), textBold:1, textOffsetX:10, textOffsetY:10
sptTomb0 = type:Sprite, container:sceneGame, x:208, y:55, width:30, height:40
sptTomb1 = type:Sprite, container:sceneGame, x:208, y:145



btnExit = type:Sprite, GUIType:BUTTON, container:sceneGame, x:210, y:1, texture:(exitButton.png; exitButton X2.png; exitButton X3.png), textureBright:(exitButtonBright.png; exitButtonBright X2.png; exitButtonBright X3.png), defaultFocus:TRUE, z:1000
btnHelp = type:Sprite, GUIType:BUTTON, container:sceneGame, x:210, y:26, texture:(helpButton.png; helpButton X2.png; helpButton X3.png), textureBright:(helpButtonBright.png; helpButtonBright X2.png; helpButtonBright X3.png), z:1001
btnSound = type:Sprite, GUIType:CHECKBOX, container:sceneGame, x:210, y:210, texture:(soundButton.png; soundButton X2.png; soundButton X3.png), textureBright:(soundButtonBright.png; soundButtonBright X2.png; soundButtonBright X3.png), status:0, persistent:TRUE, z:1008



#============= SCENE HELP ===============
sceneHelp = type:SceneSprite, x:CENTER, y:CENTER, width:240, height:240, navigationMode:DVD_MODE, visible:FALSE
sptHelpBox=type:Sprite, container:sceneHelp, x:CENTER, y:10, width:230, height:220, frame:(0;0;0), color:(30;30;30)
btnHelpClose=type:Sprite, container:sceneHelp, GUIType:BUTTON, x:160, y:180, width:50, height:16, textColor:(255;255;255), textAlignment:CENTER, textSize:13, bitmapFont:bitmapfontProp, textShadow:(0;0;0), LTID:CLOSE, text:Close, defaultFocus:TRUE
txtHelpTitle=type:Sprite, container:sceneHelp, x:10, y:25, width:220, height:20, textAlignment:CENTER, bitmapFont:bitmapfontBright, textColor:(255;164;10), textBold:1, LTID:HELP_TITLE, text:Game Help

txtObjective=type:Sprite, container:sceneHelp, GUIType:TIPLINK, href:txtObjectiveExp, x:40, y:65, width:160, height:18, textSize:14, textAlignment:CENTER, bitmapFont:bitmapfont, textColor:(138;138;138), textBold:1, textUnderline:0, textShadow:(0;0;0), LTID:OBJECTIVE, text:Game Objective
txtRanking=type:Sprite, container:sceneHelp, GUIType:TIPLINK, href:txtRankingExp, x:40, y:90, width:160, height:18, textSize:14, textAlignment:CENTER, bitmapFont:bitmapfont, textColor:(138;138;138), textBold:1, textUnderline:0, textShadow:(0;0;0), LTID:RANKING, text:Animal Ranking
txtAction=type:Sprite, container:sceneHelp, GUIType:TIPLINK, href:txtActionExp, x:40, y:115, width:160, height:18, textSize:14, textAlignment:CENTER, bitmapFont:bitmapfont, textColor:(138;138;138), textBold:1, textUnderline:0, textShadow:(0;0;0), LTID:HOW_TO_PLAY, text:How to Play
txtFormation=type:Sprite, container:sceneHelp, GUIType:TIPLINK, href:txtFormationExp, x:40, y:140, width:160, height:18, textSize:14, textAlignment:CENTER, bitmapFont:bitmapfont, textColor:(138;138;138), textBold:1, textUnderline:0, textShadow:(0;0;0), LTID:INIT_FORM, text:Initial Formation


TEXT_BOX = container:sceneHelp, x:CENTER, y:3, width:220, height:234, textSize:13, textPadding:3, color:(45;50;30), frame:(0;0;0), textFormatted:TRUE, bitmapFont:bitmapfontProp, textColor:(213;213;213), visible:FALSE

txtObjectiveExp=type:Sprite, {TEXT_BOX}, \
LTID:OBJ_TXT, text:\
Game Play^c\n\
Both sides fight against each other without revealing own chessmen to the opponent.\n\n\
Chessman Duel Result^c\n\
Based on the relative rankings, it's either a kill or a perish-together.\n\n\
Game Result^c\n\
The side that kills opponent's king without losing its own king wins. If the kings perish together, the game ties.


txtRankingExp = type:Sprite, {TEXT_BOX}, texture:(rank.png;rank X2.png), width:210, height:190, y:25

txtActionExp=type:Sprite, {TEXT_BOX}, \
LTID:HOW_TO_PLAY_TXT, text:\
Duel^c Move a front row chessman to duel spot (circle with 2 swords inside). Opponent chessman facing the spot will be forced to engage. Duel won't happen if opponent's line is empty.\n\n\
Move chessman^c Move to a neighboring spot by swapping with an adjacent chessman (cannot be the same rank), or choosing an empty adjacent spot (left or right only).\n\n\
Mark opponent^c Click on an opponent chessman to mark, click again to de-mark. Useful for tracking special chessmen.

				

txtFormationExp=type:Sprite, {TEXT_BOX}, \
LTID:INTI_FORM_TXT, text:Chessmen are randomly deployed at the beginning of the game with the following rules^c\n\n\
1) The Lion (the king) and the Leopard will be deployed in the rear row\n\n\
2) The Elephants and Rhinos will be deployed in the middle row\n\n\
3) The Cobras won't be deployed in the front row



#============= SCENE MESSAGEBOX ===============
sceneMessageBox = type:SceneSprite, x:10, y:40, width:256, height:64, \
	virtualContainerWidth:240, virtualContainerHeight:240, visible:FALSE, navigationMode:DVD_MODE
sptBoxFrame = type:Sprite, container:sceneMessageBox, x:0, y:0, texture:msgboxframe.png
btnYes 	= type:Sprite, GUIType:BUTTON, container:sceneMessageBox, x:60, y:40, texture:button.png, textureBright:buttonBright.png, \
	textAlignment:CENTER, textOffsetY:2, textSize:14, textShadow:(0;0;0), textColor:(50;50;150), bitmapFont:bitmapfont, bitmapFontBright:bitmapfontBright, textColor:(138;138;138), textColorBright:(255;164;10), textBold:1, LTID:YES, text:Yes
btnNo 	= type:Sprite, GUIType:BUTTON, container:sceneMessageBox, x:120, y:40, texture:button.png, textureBright:buttonBright.png, \
	textAlignment:CENTER, textOffsetY:2, textSize:14, textShadow:(0;0;0), textColor:(50;50;150), bitmapFont:bitmapfont, bitmapFontBright:bitmapfontBright, textColor:(138;138;138), textColorBright:(255;164;10), textBold:1, LTID:NO, text:No
btnOk 	= type:Sprite, GUIType:BUTTON, container:sceneMessageBox, x:90, y:40, texture:button.png, textureBright:buttonBright.png, \
	textAlignment:CENTER, textOffsetY:2, textSize:14, textShadow:(0;0;0), textColor:(50;50;150), bitmapFont:bitmapfont, bitmapFontBright:bitmapfontBright, textColor:(138;138;138), textColorBright:(255;164;10), textBold:1, LTID:OK, text:Ok
sptMessage = type:Sprite, container:sceneMessageBox, x:10, y:8, width:200, height:32, \
	textAlignment:CENTER, bitmapFont:bitmapfontBright, textShadow:(0;0;0), textColor:(255;164;10), textBold:1, textSize:16
sptMessageContext = type:Sprite, container:sceneMessageBox, x:0, y:0, width:10, height:10, visible:FALSE



#================= SOUND & MUSIC =====================
click=type:Sound, src:..\Sounds\click.wav
sword=type:Sound, src:..\Sounds\sword.wav
fighting=type:Sound, src:..\Sounds\fighting.wav
won=type:Sound, src:..\Sounds\won.wav
lost=type:Sound, src:..\Sounds\lost.wav
