Lock down gamepack key so it's not included in repo. Release Build 7608.
This commit is contained in:
parent
57bad057ed
commit
35e8a70059
1
.gitignore
vendored
1
.gitignore
vendored
@ -396,3 +396,4 @@ build/CMakeFiles/3.16.3/CompilerIdC/CMakeCCompilerId.c
|
||||
build/CMakeFiles/3.16.3/CompilerIdCXX/CMakeCXXCompilerId.cpp
|
||||
test.cpp
|
||||
/Adventures in Lestoria/Adventures in Lestoria
|
||||
/Adventures in Lestoria/packkey.cpp
|
||||
|
@ -678,6 +678,7 @@
|
||||
<SubType>
|
||||
</SubType>
|
||||
</ClCompile>
|
||||
<ClCompile Include="packkey.cpp" />
|
||||
<ClCompile Include="PauseMenu.cpp">
|
||||
<SubType>
|
||||
</SubType>
|
||||
|
@ -818,6 +818,9 @@
|
||||
<ClCompile Include="LoadingScreen.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="packkey.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="cpp.hint" />
|
||||
|
@ -82,6 +82,7 @@ INCLUDE_EMITTER_LIST
|
||||
INCLUDE_ITEM_CATEGORIES
|
||||
INCLUDE_BACKDROP_DATA
|
||||
INCLUDE_MONSTER_DATA
|
||||
INCLUDE_PACK_KEY
|
||||
|
||||
bool _DEBUG_MAP_LOAD_INFO = false;
|
||||
//360x240
|
||||
@ -227,8 +228,7 @@ AiL::AiL()
|
||||
}
|
||||
|
||||
bool AiL::OnUserCreate(){
|
||||
std::string packKey="129jvgndsaf7dsa8932hj";
|
||||
gamepack.LoadPack("assets/"+"gamepack_file"_S,packKey);
|
||||
gamepack.LoadPack("assets/"+"gamepack_file"_S,PACK_KEY);
|
||||
|
||||
GamePad::init();
|
||||
|
||||
@ -320,7 +320,7 @@ bool AiL::OnUserCreate(){
|
||||
gameInitialized=true;
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
@ -59,6 +59,8 @@ using BackdropName=std::string;
|
||||
#define INCLUDE_WINDOW_SIZE extern vi2d WINDOW_SIZE;
|
||||
#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;
|
||||
|
||||
|
||||
|
@ -39,7 +39,7 @@ All rights reserved.
|
||||
#define VERSION_MAJOR 0
|
||||
#define VERSION_MINOR 3
|
||||
#define VERSION_PATCH 0
|
||||
#define VERSION_BUILD 7603
|
||||
#define VERSION_BUILD 7608
|
||||
|
||||
#define stringify(a) stringify_(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