|
|
@ -82,6 +82,7 @@ INCLUDE_EMITTER_LIST |
|
|
|
INCLUDE_ITEM_CATEGORIES |
|
|
|
INCLUDE_ITEM_CATEGORIES |
|
|
|
INCLUDE_BACKDROP_DATA |
|
|
|
INCLUDE_BACKDROP_DATA |
|
|
|
INCLUDE_MONSTER_DATA |
|
|
|
INCLUDE_MONSTER_DATA |
|
|
|
|
|
|
|
INCLUDE_PACK_KEY |
|
|
|
|
|
|
|
|
|
|
|
bool _DEBUG_MAP_LOAD_INFO = false; |
|
|
|
bool _DEBUG_MAP_LOAD_INFO = false; |
|
|
|
//360x240
|
|
|
|
//360x240
|
|
|
@ -227,8 +228,7 @@ AiL::AiL() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
bool AiL::OnUserCreate(){ |
|
|
|
bool AiL::OnUserCreate(){ |
|
|
|
std::string packKey="129jvgndsaf7dsa8932hj"; |
|
|
|
gamepack.LoadPack("assets/"+"gamepack_file"_S,PACK_KEY); |
|
|
|
gamepack.LoadPack("assets/"+"gamepack_file"_S,packKey); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GamePad::init(); |
|
|
|
GamePad::init(); |
|
|
|
|
|
|
|
|
|
|
@ -320,7 +320,7 @@ bool AiL::OnUserCreate(){ |
|
|
|
gameInitialized=true; |
|
|
|
gameInitialized=true; |
|
|
|
|
|
|
|
|
|
|
|
if(!gamepack.Loaded()&&"GENERATE_GAMEPACK"_B){ |
|
|
|
if(!gamepack.Loaded()&&"GENERATE_GAMEPACK"_B){ |
|
|
|
gamepack.SavePack("assets/"+"gamepack_file"_S,packKey); |
|
|
|
gamepack.SavePack("assets/"+"gamepack_file"_S,PACK_KEY); |
|
|
|
std::cout<<"Game Pack has been generated!"<<std::endl<<"========================"<<std::endl<<std::endl; |
|
|
|
std::cout<<"Game Pack has been generated!"<<std::endl<<"========================"<<std::endl<<std::endl; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|