
#include_function".\GameData\SystemData\DrawScore.txt";
#include_function".\GameData\SystemData\DrawMultiplyGuage.txt";
#include_function".\GameData\SystemData\DrawPlayerState.txt";
#include_function".\GameData\SystemData\DrawExtendGuage.txt";
#include_function".\GameData\SystemData\DrawRedGuage.txt";

function GameBackGroundSystem
{
	SetViewTo(bg_eye_lookat[0],
			  bg_eye_lookat[1],
			  bg_eye_lookat[2]);
	
	SetViewFrom(bg_eye_viewfrom[0],
				bg_eye_viewfrom[1],
				bg_eye_viewfrom[2]);
				
	SetPerspectiveClip(bg_perspectiveclip[0],
					   bg_perspectiveclip[1]);
	
	
	alternative(stagenum)
	case(1){DrawBG_Stage1;}
	case(2){DrawBG_Stage2;}
	case(3){DrawBG_Stage3;}
	case(4){DrawBG_Stage4;}
	case(5){DrawBG_Stage5;}
	case(6){DrawBG_Stage6;}
	case(7){DrawBG_StageEx1;}
	case(8){DrawBG_StageEx2;}
	case(9){DrawBG_StageEx3;}
	case(10){DrawBG_StagePh;}
	others{}
}


function BG_LSystem
{
	alternative(stagenum)
	case(1){BGData_Stage1;}
	case(2){BGData_Stage2;}
	case(3){BGData_Stage3;}
	case(4){BGData_Stage4;}
	case(5){BGData_Stage5;}
	case(6){BGData_Stage6;}
	case(7){BGData_StageEx1;}
	case(8){BGData_StageEx2;}
	case(9){BGData_StageEx3;}
	case(10){BGData_StagePh;}
	others{}
}



function GameTopObjectSystem
{
	SetTexture(tex[TEX_SYSTEM]);
	DrawSystem_Score;
	DrawSystem_MultiplyGuage;
	DrawSystem_PlayerState;
	DrawSystem_ExtendGuage;
	DrawSystem_RedGuage;
}
