
var game_file_list = [
    //以下为自动修改，请勿修改
    //----auto game_file_list start----
	"libs/modules/egret/egret.js",
	"libs/modules/egret/egret.native.js",
	"libs/modules/game/game.js",
	"libs/modules/game/game.native.js",
	"libs/modules/tween/tween.js",
	"libs/modules/res/res.js",
	"bin-debug/org/easygame/ui/BaseGroup.js",
	"bin-debug/org/easygame/ui/Group.js",
	"bin-debug/org/easygame/component/LoadingBaseUI.js",
	"bin-debug/org/easygame/component/ReceiveGroup.js",
	"bin-debug/org/easygame/component/Win.js",
	"bin-debug/org/easygame/component/effect/BaseEffect.js",
	"bin-debug/org/easygame/core/GlobalSetting.js",
	"bin-debug/org/easygame/component/View.js",
	"bin-debug/org/easygame/rpg/control/ActorCtrl.js",
	"bin-debug/org/easygame/rpg/display/Actor.js",
	"bin-debug/org/easygame/utils/MD5.js",
	"bin-debug/org/easygame/component/Template.js",
	"bin-debug/org/easygame/ui/HGroup.js",
	"bin-debug/org/easygame/component/DefaultLoadingView.js",
	"bin-debug/org/easygame/rpg/animate/BaseAnimate.js",
	"bin-debug/org/easygame/rpg/data/IActorData.js",
	"bin-debug/org/easygame/core/ObjectPool.js",
	"bin-debug/org/easygame/core/Version.js",
	"bin-debug/org/easygame/effect/EffectData.js",
	"bin-debug/org/easygame/effect/EffectUtil.js",
	"bin-debug/org/easygame/effect/TweenEffect.js",
	"bin-debug/org/easygame/event/EventManager.js",
	"bin-debug/org/easygame/event/EventType.js",
	"bin-debug/org/easygame/event/MoreTouch.js",
	"bin-debug/org/easygame/event/MyEvent.js",
	"bin-debug/org/easygame/framework/EasyGame.js",
	"bin-debug/org/easygame/framework/PopupManager.js",
	"bin-debug/org/easygame/framework/ResManager.js",
	"bin-debug/org/easygame/framework/ViewManager.js",
	"bin-debug/org/easygame/framework/msghandle/BaseHandle.js",
	"bin-debug/org/easygame/framework/msghandle/IHandle.js",
	"bin-debug/org/easygame/framework/msghandle/MessageControler.js",
	"bin-debug/org/easygame/guide/GuideChapter.js",
	"bin-debug/org/easygame/guide/GuideExecuteManager.js",
	"bin-debug/org/easygame/guide/GuideItem.js",
	"bin-debug/org/easygame/guide/GuideManager.js",
	"bin-debug/org/easygame/rpg/DirectionUtil.js",
	"bin-debug/org/easygame/rpg/RpgSetting.js",
	"bin-debug/org/easygame/rpg/animate/AnimateManager.js",
	"bin-debug/org/easygame/component/DefaultGuideWin.js",
	"bin-debug/org/easygame/rpg/animate/EffectAnimate.js",
	"bin-debug/org/easygame/rpg/animate/HitAnimate.js",
	"bin-debug/org/easygame/rpg/animate/IAnimate.js",
	"bin-debug/org/easygame/rpg/animate/ParalleQueue.js",
	"bin-debug/org/easygame/rpg/animate/SequenceQueue.js",
	"bin-debug/org/easygame/rpg/astar/AStar.js",
	"bin-debug/org/easygame/rpg/astar/BinaryHeap.js",
	"bin-debug/org/easygame/rpg/astar/Grid.js",
	"bin-debug/org/easygame/rpg/astar/Link.js",
	"bin-debug/org/easygame/rpg/astar/Node.js",
	"bin-debug/org/easygame/component/MessageTips.js",
	"bin-debug/org/easygame/rpg/control/NpcCtrl.js",
	"bin-debug/LoadingUI.js",
	"bin-debug/org/easygame/rpg/data/ActorData.js",
	"bin-debug/org/easygame/rpg/data/GameData.js",
	"bin-debug/org/easygame/component/DebugWin.js",
	"bin-debug/org/easygame/animate/AnimateTexture.js",
	"bin-debug/org/easygame/rpg/display/Camera.js",
	"bin-debug/org/easygame/rpg/display/Map.js",
	"bin-debug/org/easygame/rpg/display/Npc.js",
	"bin-debug/org/easygame/rpg/display/Player.js",
	"bin-debug/org/easygame/rpg/display/Scene.js",
	"bin-debug/org/easygame/component/effect/IEffect.js",
	"bin-debug/org/easygame/ui/Button.js",
	"bin-debug/org/easygame/component/effect/RollerDown.js",
	"bin-debug/org/easygame/component/DefaultRenderer.js",
	"bin-debug/org/easygame/ui/Image.js",
	"bin-debug/org/easygame/ui/Label.js",
	"bin-debug/org/easygame/ui/LabelImage.js",
	"bin-debug/org/easygame/ui/List.js",
	"bin-debug/org/easygame/ui/ListAd.js",
	"bin-debug/org/easygame/ui/MovieClip.js",
	"bin-debug/org/easygame/ui/ScrollGroup.js",
	"bin-debug/org/easygame/ui/Style.js",
	"bin-debug/org/easygame/ui/TextArea.js",
	"bin-debug/org/easygame/ui/TextInput.js",
	"bin-debug/org/easygame/ui/Video.js",
	"bin-debug/org/easygame/utils/DateUtil.js",
	"bin-debug/org/easygame/utils/Debug.js",
	"bin-debug/org/easygame/utils/HexUtil.js",
	"bin-debug/org/easygame/utils/HitTestUtil.js",
	"bin-debug/org/easygame/utils/HttpUtil.js",
	"bin-debug/org/easygame/utils/LocalStorage.js",
	"bin-debug/org/easygame/core/HeartBeat.js",
	"bin-debug/org/easygame/utils/MathUtil.js",
	"bin-debug/org/easygame/utils/ObjectUtil.js",
	"bin-debug/org/easygame/utils/ParabolaUtil.js",
	"bin-debug/org/easygame/utils/ProgressCalculate.js",
	"bin-debug/org/easygame/utils/ShakeUtil.js",
	"bin-debug/org/easygame/utils/Sound.js",
	"bin-debug/org/easygame/utils/SpriteUtils.js",
	"bin-debug/org/easygame/utils/StringUtil.js",
	"bin-debug/org/easygame/utils/UUID.js",
	"bin-debug/virus/loading/load/LoadMian.js",
	"bin-debug/virus/loading/load/LoadMianProgressMainBar.js",
	"bin-debug/virus/loading/load/LoadView.js",
	"bin-debug/virus/loading/load/LoadViewProgressViewBar.js",
	"bin-debug/virus/template/hall/temp_game.js",
	"bin-debug/virus/template/hall/temp_gameTemplate.js",
	"bin-debug/virus/template/hall/temp_music.js",
	"bin-debug/virus/template/hall/temp_musicTemplate.js",
	"bin-debug/virus/template/hall/temp_rank.js",
	"bin-debug/virus/template/hall/temp_rankTemplate.js",
	"bin-debug/virus/view/hall/GameData.js",
	"bin-debug/virus/view/hall/HallUI.js",
	"bin-debug/virus/view/hall/HallView.js",
	"bin-debug/org/easygame/animate/AnimateManager.js",
	"bin-debug/org/easygame/animate/AnimateData.js",
	"bin-debug/Main.js",
	"bin-debug/org/easygame/rpg/control/PlayerCtrl.js",
	//----auto game_file_list end----
];

var window = this;

egret_native.setSearchPaths([""]);

egret_native.requireFiles = function () {
    for (var key in game_file_list) {
        var src = game_file_list[key];
        require(src);
    }
};

egret_native.egretInit = function () {
    if(egret_native.featureEnable) {
        //控制一些优化方案是否开启
        var result = egret_native.featureEnable({
            
        });
    }
    egret_native.requireFiles();
    //egret.dom为空实现
    egret.dom = {};
    egret.dom.drawAsCanvas = function () {
    };
};

egret_native.egretStart = function () {
    var option = {
        //以下为自动修改，请勿修改
        //----auto option start----
		entryClassName: "Main",
		frameRate: 30,
		scaleMode: "showAll",
		contentWidth: 750,
		contentHeight: 1334,
		showPaintRect: false,
		showFPS: false,
		fpsStyles: "x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9",
		showLog: false,
		logFilter: "",
		maxTouches: 2,
		textureScaleFactor: 1
		//----auto option end----
    };

    egret.native.NativePlayer.option = option;
    egret.runEgret();
    egret_native.Label.createLabel("/system/fonts/DroidSansFallback.ttf", 20, "", 0);
    egret_native.EGTView.preSetOffScreenBufferEnable(true);
};