Lock down gamepack key so it's not included in repo. Release Build 7608.
This commit is contained in:
parent
57bad057ed
commit
ae26813f05
@ -678,6 +678,7 @@
|
|||||||
<SubType>
|
<SubType>
|
||||||
</SubType>
|
</SubType>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="packkey.cpp" />
|
||||||
<ClCompile Include="PauseMenu.cpp">
|
<ClCompile Include="PauseMenu.cpp">
|
||||||
<SubType>
|
<SubType>
|
||||||
</SubType>
|
</SubType>
|
||||||
|
@ -818,6 +818,9 @@
|
|||||||
<ClCompile Include="LoadingScreen.cpp">
|
<ClCompile Include="LoadingScreen.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="packkey.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="cpp.hint" />
|
<None Include="cpp.hint" />
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -59,6 +59,8 @@ using BackdropName=std::string;
|
|||||||
#define INCLUDE_WINDOW_SIZE extern vi2d WINDOW_SIZE;
|
#define INCLUDE_WINDOW_SIZE extern vi2d WINDOW_SIZE;
|
||||||
#define INCLUDE_ITEM_CONVERSIONS extern safemap<std::string,IT>ITEM_CONVERSIONS;
|
#define INCLUDE_ITEM_CONVERSIONS extern safemap<std::string,IT>ITEM_CONVERSIONS;
|
||||||
|
|
||||||
|
#define INCLUDE_PACK_KEY extern std::string PACK_KEY;
|
||||||
|
|
||||||
#define INCLUDE_BACKDROP_DATA extern std::map<BackdropName,Renderable>BACKDROP_DATA;
|
#define INCLUDE_BACKDROP_DATA extern std::map<BackdropName,Renderable>BACKDROP_DATA;
|
||||||
|
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ All rights reserved.
|
|||||||
#define VERSION_MAJOR 0
|
#define VERSION_MAJOR 0
|
||||||
#define VERSION_MINOR 3
|
#define VERSION_MINOR 3
|
||||||
#define VERSION_PATCH 0
|
#define VERSION_PATCH 0
|
||||||
#define VERSION_BUILD 7603
|
#define VERSION_BUILD 7608
|
||||||
|
|
||||||
#define stringify(a) stringify_(a)
|
#define stringify(a) stringify_(a)
|
||||||
#define stringify_(a) #a
|
#define stringify_(a) #a
|
||||||
|
3
Adventures in Lestoria/packkey.cpp
Normal file
3
Adventures in Lestoria/packkey.cpp
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#include <string>
|
||||||
|
|
||||||
|
std::string PACK_KEY="INSERT_PACK_KEY_HERE";
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user