textures fix
This commit is contained in:
parent
c8d69040b3
commit
1abfa608b2
@ -2,18 +2,18 @@
|
|||||||
"TextureList":
|
"TextureList":
|
||||||
{
|
{
|
||||||
"bg_1": "022259762-alien-world",
|
"bg_1": "022259762-alien-world",
|
||||||
"bg_2": "024863276-illustration-spiral-galaxy-vec",
|
"bg_2": "029655296-mountains-landscape",
|
||||||
"bg_3": "029655296-mountains-landscape",
|
"bg_3": "065090581-exoplanet-exploration",
|
||||||
"bg_4": "033635584-fantastic-landscape",
|
"bg_4": "037162994-sunset-illeo",
|
||||||
"bg_5": "037162994-sunset-illeo",
|
"bg_5": "038904975-dying-world",
|
||||||
"bg_6": "038904975-dying-world",
|
"bg_6": "039839543-fantastic-landscape",
|
||||||
"bg_7": "039839543-fantastic-landscape",
|
"bg_7": "040712579-fantastic-landscape",
|
||||||
"bg_8": "040712579-fantastic-landscape",
|
"bg_8": "040712589-fantastic-landscape",
|
||||||
"bg_9": "040712589-fantastic-landscape",
|
"bg_9": "040892807-fantastic-landscape",
|
||||||
"bg_10": "040892807-fantastic-landscape",
|
"bg_10": "040892815-fantastic-landscape",
|
||||||
"bg_11": "040892815-fantastic-landscape",
|
"bg_11": "041515701-fantastic-landscape",
|
||||||
"bg_12": "040892815-fantastic-landscape",
|
"bg_12": "047196154-venus-landscape",
|
||||||
"bg_13": "047196154-venus-landscape",
|
"bg_13": "053070150-moon-landscape",
|
||||||
"bg_14": "053070150-moon-landscape",
|
"bg_14": "053070150-moon-landscape",
|
||||||
"bg_15": "058104293-red-planet-saturn-moon",
|
"bg_15": "058104293-red-planet-saturn-moon",
|
||||||
"bg_16": "060594794-sunset-alien-planet-and-20km-g",
|
"bg_16": "060594794-sunset-alien-planet-and-20km-g",
|
||||||
|
@ -18,20 +18,20 @@
|
|||||||
"texture": "star_0_0.png",
|
"texture": "star_0_0.png",
|
||||||
"scale": 0.1,
|
"scale": 0.1,
|
||||||
"levels": [
|
"levels": [
|
||||||
{
|
|
||||||
"name": "level_0"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "level_1"
|
"name": "level_1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "level_1"
|
"name": "level_2"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "level_1"
|
"name": "level_3"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "level_1"
|
"name": "level_4"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "level_5"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -45,10 +45,10 @@
|
|||||||
"scale": 0.18,
|
"scale": 0.18,
|
||||||
"levels": [
|
"levels": [
|
||||||
{
|
{
|
||||||
"name": "level_1"
|
"name": "level_6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "level_1"
|
"name": "level_7"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -62,25 +62,19 @@
|
|||||||
"scale": 0.12,
|
"scale": 0.12,
|
||||||
"levels": [
|
"levels": [
|
||||||
{
|
{
|
||||||
"name": "level_1"
|
"name": "level_8"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "level_1"
|
"name": "level_9"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "level_1"
|
"name": "level_10"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "level_1"
|
"name": "level_11"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "level_1"
|
"name": "level_12"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "level_1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "level_1"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 31 KiB |
@ -90,8 +90,8 @@ void GalaxyMenu::UpdateGalaxyMenu(float s_width, float s_height, size_t dt) {
|
|||||||
*SE::Console << "galaxy_" + std::to_string(i);
|
*SE::Console << "galaxy_" + std::to_string(i);
|
||||||
Eigen::Vector2f tex_size = textureSizeNormalize(
|
Eigen::Vector2f tex_size = textureSizeNormalize(
|
||||||
Eigen::Vector2f(
|
Eigen::Vector2f(
|
||||||
((float)SE::ResourceManager->TexList.GetTextureWidth("galaxy_" + std::to_string(i))),
|
((float)SE::ResourceManager->TexList.GetTextureOriginalWidth("galaxy_" + std::to_string(i))),
|
||||||
((float)SE::ResourceManager->TexList.GetTextureHeight("galaxy_" + std::to_string(i))))
|
((float)SE::ResourceManager->TexList.GetTextureOriginalHeight("galaxy_" + std::to_string(i))))
|
||||||
); // normalized
|
); // normalized
|
||||||
galaxies_params.push_back(std::make_pair(
|
galaxies_params.push_back(std::make_pair(
|
||||||
Eigen::Vector2f(
|
Eigen::Vector2f(
|
||||||
@ -380,7 +380,7 @@ void GalaxyMenu::InteractWithGalaxy(size_t dt) {
|
|||||||
starIndex = -1;
|
starIndex = -1;
|
||||||
menuState = 0;
|
menuState = 0;
|
||||||
planetHoverIndex = -1;
|
planetHoverIndex = -1;
|
||||||
Application->GoFromMenuToGame(lvl);
|
Application->GoFromMenuToGame(lvl-1);
|
||||||
}
|
}
|
||||||
else if (!checkMenuBound(lastTapPos)) {
|
else if (!checkMenuBound(lastTapPos)) {
|
||||||
// back to state 0
|
// back to state 0
|
||||||
@ -602,7 +602,12 @@ void GalaxyMenu::drawSelectionMenu(int index) {
|
|||||||
|
|
||||||
// buttons
|
// buttons
|
||||||
for (int j = 0; j < galaxies[0].Stars[i].selectionMenu.buttons.size(); j++) {
|
for (int j = 0; j < galaxies[0].Stars[i].selectionMenu.buttons.size(); j++) {
|
||||||
glBindTexture(GL_TEXTURE_2D, SE::ResourceManager->TexList["black_square"]);
|
std::string levelNum;
|
||||||
|
size_t itr = galaxies[0].Stars[i].selectionMenu.levels[j].find("_");
|
||||||
|
for (int z = itr + 1; z < galaxies[0].Stars[i].selectionMenu.levels[j].size(); z++) {
|
||||||
|
levelNum += galaxies[0].Stars[i].selectionMenu.levels[j][z];
|
||||||
|
}
|
||||||
|
glBindTexture(GL_TEXTURE_2D, SE::ResourceManager->TexList["shutterstock" + levelNum]);
|
||||||
SE::Renderer->DrawRect(
|
SE::Renderer->DrawRect(
|
||||||
Eigen::Vector2f(
|
Eigen::Vector2f(
|
||||||
galaxies[0].Stars[i].selectionMenu.buttons[j].first(0) - galaxies[0].Stars[i].selectionMenu.buttons[j].second(0) / 2,
|
galaxies[0].Stars[i].selectionMenu.buttons[j].first(0) - galaxies[0].Stars[i].selectionMenu.buttons[j].second(0) / 2,
|
||||||
@ -627,7 +632,12 @@ int GalaxyMenu::findLevelButtonByPos(Eigen::Vector2f pos) {
|
|||||||
|
|
||||||
if (pos(0) >= x_l && pos(0) <= x_r) {
|
if (pos(0) >= x_l && pos(0) <= x_r) {
|
||||||
if (pos(1) >= y_b && pos(1) <= y_t) {
|
if (pos(1) >= y_b && pos(1) <= y_t) {
|
||||||
return i;
|
std::string lvlname = galaxies[galaxyIndex].Stars[starIndex].selectionMenu.levels[i];
|
||||||
|
std::string lvlNum;
|
||||||
|
for (int z = lvlname.find("_")+1; z < lvlname.size(); z++) {
|
||||||
|
lvlNum+=lvlname[z];
|
||||||
|
}
|
||||||
|
return atoi(lvlNum.c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -71,7 +71,7 @@ private:
|
|||||||
Eigen::Vector2f totalTapShift; // reset
|
Eigen::Vector2f totalTapShift; // reset
|
||||||
|
|
||||||
/*..coefficients..*/
|
/*..coefficients..*/
|
||||||
Eigen::Vector2f menu_offset;
|
Eigen::Vector2f menu_offset = Eigen::Vector2f(0, 0);
|
||||||
|
|
||||||
/*..Interact methods..*/
|
/*..Interact methods..*/
|
||||||
void takeInFocus(int g_index, int s_index = -1);
|
void takeInFocus(int g_index, int s_index = -1);
|
||||||
|
@ -736,6 +736,32 @@ bool TGameLevel::IsLoaded()
|
|||||||
return (LevelState == CONST_LEVELSTATE_STANDBY);
|
return (LevelState == CONST_LEVELSTATE_STANDBY);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void TGameLevel::drawOutline() {
|
||||||
|
|
||||||
|
glBindTexture(GL_TEXTURE_2D, ResourceManager->TexList["black_square"]);
|
||||||
|
Renderer->DrawRect(
|
||||||
|
Vector2f(
|
||||||
|
0.0f,
|
||||||
|
0.0f
|
||||||
|
),
|
||||||
|
Vector2f(
|
||||||
|
(Renderer->GetScreenWidth() - Application->GetGameLevelScreenWidth())*0.5f,
|
||||||
|
Renderer->GetScreenHeight()
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
Renderer->DrawRect(
|
||||||
|
Vector2f(
|
||||||
|
Renderer->GetScreenWidth() - (Renderer->GetScreenWidth() - Application->GetGameLevelScreenWidth())*0.5f,
|
||||||
|
0.f
|
||||||
|
),
|
||||||
|
Vector2f(
|
||||||
|
Renderer->GetScreenWidth(),
|
||||||
|
Renderer->GetScreenHeight()
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
void TGameLevel::Draw()
|
void TGameLevel::Draw()
|
||||||
{
|
{
|
||||||
*SE::Console << "TGameLevel::Draw";
|
*SE::Console << "TGameLevel::Draw";
|
||||||
@ -747,11 +773,11 @@ void TGameLevel::Draw()
|
|||||||
//float ylOffset = (Renderer->GetScreenHeight() - tSH)*0.5f; // Level Screen y-offset
|
//float ylOffset = (Renderer->GetScreenHeight() - tSH)*0.5f; // Level Screen y-offset
|
||||||
float ylOffset = 0.f;
|
float ylOffset = 0.f;
|
||||||
float lrFBO = 4 * tSH / 320.f; // Left/Right Wall Textures offset from bottom
|
float lrFBO = 4 * tSH / 320.f; // Left/Right Wall Textures offset from bottom
|
||||||
float uWTW = tSW * (static_cast<float>(ResourceManager->TexList.GetTextureHeight(CONST_WALL_UP_TEXTURE)) / static_cast<float>(ResourceManager->TexList.GetTextureWidth(CONST_WALL_UP_TEXTURE))); // up Wall Texture Width
|
float uWTW = tSW * (static_cast<float>(ResourceManager->TexList.GetTextureOriginalHeight(CONST_WALL_UP_TEXTURE)) / static_cast<float>(ResourceManager->TexList.GetTextureOriginalWidth(CONST_WALL_UP_TEXTURE))); // up Wall Texture Width
|
||||||
float lWTW = (static_cast<float>(ResourceManager->TexList.GetTextureWidth(CONST_WALL_LEFT_TEXTURE)) / static_cast<float>(ResourceManager->TexList.GetTextureHeight(CONST_WALL_LEFT_TEXTURE))) * (tSH - uWTW - lrFBO); // left Wall Texture Width
|
float lWTW = (static_cast<float>(ResourceManager->TexList.GetTextureOriginalWidth(CONST_WALL_LEFT_TEXTURE)) / static_cast<float>(ResourceManager->TexList.GetTextureOriginalHeight(CONST_WALL_LEFT_TEXTURE))) * (tSH - uWTW - lrFBO); // left Wall Texture Width
|
||||||
float rWTW = lWTW; // right Wall Texture Width
|
float rWTW = lWTW; // right Wall Texture Width
|
||||||
float bWTO = (lWTW + rWTW) * 0.5f; // bonus Wall x-Offset
|
float bWTO = (lWTW + rWTW) * 0.5f; // bonus Wall x-Offset
|
||||||
float bWTW = (tSW - bWTO) * (static_cast<float>(ResourceManager->TexList.GetTextureHeight(CONST_WALL_BONUS_TEXTURE)) / static_cast<float>(ResourceManager->TexList.GetTextureWidth(CONST_WALL_BONUS_TEXTURE))); // bonus Wall Texture Width
|
float bWTW = (tSW - bWTO) * (static_cast<float>(ResourceManager->TexList.GetTextureOriginalHeight(CONST_WALL_BONUS_TEXTURE)) / static_cast<float>(ResourceManager->TexList.GetTextureOriginalWidth(CONST_WALL_BONUS_TEXTURE))); // bonus Wall Texture Width
|
||||||
|
|
||||||
if (LevelState == CONST_LEVELSTATE_NODRAW)
|
if (LevelState == CONST_LEVELSTATE_NODRAW)
|
||||||
{
|
{
|
||||||
@ -818,8 +844,8 @@ void TGameLevel::Draw()
|
|||||||
|
|
||||||
// Level background
|
// Level background
|
||||||
// :::::::::::
|
// :::::::::::
|
||||||
float bkgTW = (float)ResourceManager->TexList.GetTextureWidth(BkgTexture);
|
float bkgTW = (float)ResourceManager->TexList.GetTextureOriginalWidth(BkgTexture);
|
||||||
float bkgTH = (float)ResourceManager->TexList.GetTextureHeight(BkgTexture);
|
float bkgTH = (float)ResourceManager->TexList.GetTextureOriginalHeight(BkgTexture);
|
||||||
float bkgSW; // Background Secreen Width
|
float bkgSW; // Background Secreen Width
|
||||||
float bkgSH; // Background Secreen Height
|
float bkgSH; // Background Secreen Height
|
||||||
float bkgSWO; // Background Secreen Width Offset
|
float bkgSWO; // Background Secreen Width Offset
|
||||||
@ -842,6 +868,8 @@ void TGameLevel::Draw()
|
|||||||
//Renderer->DrawRect(Vector2f(xlOffset, ylOffset), Vector2f(xlOffset+tSW, ylOffset+tSH),Vector2f(0.f, 0.f), Vector2f(1.f, 1.f));
|
//Renderer->DrawRect(Vector2f(xlOffset, ylOffset), Vector2f(xlOffset+tSW, ylOffset+tSH),Vector2f(0.f, 0.f), Vector2f(1.f, 1.f));
|
||||||
Renderer->DrawRect(Vector2f(bkgSWO, bkgSHO), Vector2f(bkgSWO + bkgSW, bkgSHO + bkgSH), Vector2f(0.f, 0.f), Vector2f(1.f, 1.f));
|
Renderer->DrawRect(Vector2f(bkgSWO, bkgSHO), Vector2f(bkgSWO + bkgSW, bkgSHO + bkgSH), Vector2f(0.f, 0.f), Vector2f(1.f, 1.f));
|
||||||
|
|
||||||
|
drawOutline();
|
||||||
|
|
||||||
std::list<TBall>::iterator iBall;
|
std::list<TBall>::iterator iBall;
|
||||||
|
|
||||||
Renderer->PushShader("BrickShader");
|
Renderer->PushShader("BrickShader");
|
||||||
@ -891,12 +919,12 @@ void TGameLevel::Draw()
|
|||||||
Renderer->DrawRect(wallUpPos1, wallUpPos2, Vector2f(0.f, 0.f), Vector2f(1.f, 1.f));
|
Renderer->DrawRect(wallUpPos1, wallUpPos2, Vector2f(0.f, 0.f), Vector2f(1.f, 1.f));
|
||||||
|
|
||||||
const Vector2f wallLeftPos1(xlOffset, lrFBO+ylOffset);
|
const Vector2f wallLeftPos1(xlOffset, lrFBO+ylOffset);
|
||||||
const Vector2f wallLeftPos2(lWTW + xlOffset, tSH-ylOffset-(uWTW*0.8f));
|
const Vector2f wallLeftPos2(lWTW + xlOffset, tSH-ylOffset-(uWTW*0.68f));
|
||||||
glBindTexture(GL_TEXTURE_2D,ResourceManager->TexList[CONST_WALL_LEFT_TEXTURE]);
|
glBindTexture(GL_TEXTURE_2D,ResourceManager->TexList[CONST_WALL_LEFT_TEXTURE]);
|
||||||
Renderer->DrawRect(wallLeftPos1, wallLeftPos2, Vector2f(0.f, 0.f), Vector2f(1.f, 1.f));
|
Renderer->DrawRect(wallLeftPos1, wallLeftPos2, Vector2f(0.f, 0.f), Vector2f(1.f, 1.f));
|
||||||
|
|
||||||
const Vector2f wallRightPos1(tSW+xlOffset-rWTW, lrFBO+ylOffset);
|
const Vector2f wallRightPos1(tSW+xlOffset-rWTW, lrFBO+ylOffset);
|
||||||
const Vector2f wallRightPos2(tSW + xlOffset, tSH-ylOffset-(uWTW*0.8f));
|
const Vector2f wallRightPos2(tSW + xlOffset, tSH-ylOffset-(uWTW*0.68f));
|
||||||
glBindTexture(GL_TEXTURE_2D,ResourceManager->TexList[CONST_WALL_RIGHT_TEXTURE]);
|
glBindTexture(GL_TEXTURE_2D,ResourceManager->TexList[CONST_WALL_RIGHT_TEXTURE]);
|
||||||
Renderer->DrawRect(wallRightPos1, wallRightPos2, Vector2f(0.f, 0.f), Vector2f(1.f, 1.f));
|
Renderer->DrawRect(wallRightPos1, wallRightPos2, Vector2f(0.f, 0.f), Vector2f(1.f, 1.f));
|
||||||
|
|
||||||
@ -1715,3 +1743,4 @@ void TGameLevel::TryGoToMenu()
|
|||||||
OutScale = 1.f;
|
OutScale = 1.f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -147,6 +147,8 @@ protected:
|
|||||||
|
|
||||||
void DrawBallInstancingList();
|
void DrawBallInstancingList();
|
||||||
|
|
||||||
|
void drawOutline();
|
||||||
|
|
||||||
bool RenderBufferReady;
|
bool RenderBufferReady;
|
||||||
|
|
||||||
float OutScale;
|
float OutScale;
|
||||||
|
@ -265,6 +265,7 @@ void TMyApplication::LoadResources()
|
|||||||
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("main_menu_bkg_left.png", "main_menu_bkg_left"));
|
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("main_menu_bkg_left.png", "main_menu_bkg_left"));
|
||||||
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("main_menu_bkg_right.png", "main_menu_bkg_right"));
|
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("main_menu_bkg_right.png", "main_menu_bkg_right"));
|
||||||
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("select_level.png", "select_level"));
|
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("select_level.png", "select_level"));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("shutterstock1.png", "shutterstock1"));
|
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("shutterstock1.png", "shutterstock1"));
|
||||||
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("shutterstock2.png", "shutterstock2"));
|
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("shutterstock2.png", "shutterstock2"));
|
||||||
@ -279,18 +280,20 @@ void TMyApplication::LoadResources()
|
|||||||
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("shutterstock11.png", "shutterstock11"));
|
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("shutterstock11.png", "shutterstock11"));
|
||||||
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("shutterstock12.png", "shutterstock12"));
|
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("shutterstock12.png", "shutterstock12"));
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("level_background/" + Textures_pt.get<std::string>("TextureList.bg_1") + bg_ext, "shutterstock1"));
|
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("level_background/" + Textures_pt.get<std::string>("TextureList.bg_1") + bg_ext, "shutterstock1"));
|
||||||
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("level_background/" + Textures_pt.get<std::string>("TextureList.bg_2") + bg_ext, "shutterstock2"));
|
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("level_background/" + Textures_pt.get<std::string>("TextureList.bg_2") + bg_ext, "shutterstock2"));
|
||||||
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("level_background/" + Textures_pt.get<std::string>("TextureList.bg_11") + bg_ext, "shutterstock3"));
|
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("level_background/" + Textures_pt.get<std::string>("TextureList.bg_3") + bg_ext, "shutterstock3"));
|
||||||
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("level_background/" + Textures_pt.get<std::string>("TextureList.bg_13") + bg_ext, "shutterstock4"));
|
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("level_background/" + Textures_pt.get<std::string>("TextureList.bg_4") + bg_ext, "shutterstock4"));
|
||||||
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("level_background/" + Textures_pt.get<std::string>("TextureList.bg_1") + bg_ext, "shutterstock5"));
|
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("level_background/" + Textures_pt.get<std::string>("TextureList.bg_5") + bg_ext, "shutterstock5"));
|
||||||
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("level_background/" + Textures_pt.get<std::string>("TextureList.bg_1") + bg_ext, "shutterstock6"));
|
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("level_background/" + Textures_pt.get<std::string>("TextureList.bg_6") + bg_ext, "shutterstock6"));
|
||||||
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("level_background/" + Textures_pt.get<std::string>("TextureList.bg_1") + bg_ext, "shutterstock7"));
|
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("level_background/" + Textures_pt.get<std::string>("TextureList.bg_7") + bg_ext, "shutterstock7"));
|
||||||
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("level_background/" + Textures_pt.get<std::string>("TextureList.bg_1") + bg_ext, "shutterstock8"));
|
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("level_background/" + Textures_pt.get<std::string>("TextureList.bg_8") + bg_ext, "shutterstock8"));
|
||||||
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("level_background/" + Textures_pt.get<std::string>("TextureList.bg_1") + bg_ext, "shutterstock9"));
|
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("level_background/" + Textures_pt.get<std::string>("TextureList.bg_9") + bg_ext, "shutterstock9"));
|
||||||
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("level_background/" + Textures_pt.get<std::string>("TextureList.bg_1") + bg_ext, "shutterstock10"));
|
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("level_background/" + Textures_pt.get<std::string>("TextureList.bg_10") + bg_ext, "shutterstock10"));
|
||||||
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("level_background/" + Textures_pt.get<std::string>("TextureList.bg_1") + bg_ext, "shutterstock11"));
|
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("level_background/" + Textures_pt.get<std::string>("TextureList.bg_11") + bg_ext, "shutterstock11"));
|
||||||
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("level_background/" + Textures_pt.get<std::string>("TextureList.bg_1") + bg_ext, "shutterstock12"));
|
TextureNamesToLoad.push_back(std::pair<std::string, std::string>("level_background/" + Textures_pt.get<std::string>("TextureList.bg_12") + bg_ext, "shutterstock12"));
|
||||||
|
|
||||||
/*..galaxies and stars/planets Init..*/ // tmp
|
/*..galaxies and stars/planets Init..*/ // tmp
|
||||||
std::vector<int> galaxies;
|
std::vector<int> galaxies;
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
<ProjectGuid>{1CC98EEE-BBCB-4D79-B6D7-8511789172C5}</ProjectGuid>
|
<ProjectGuid>{1CC98EEE-BBCB-4D79-B6D7-8511789172C5}</ProjectGuid>
|
||||||
<Keyword>Win32Proj</Keyword>
|
<Keyword>Win32Proj</Keyword>
|
||||||
<RootNamespace>DoubleHitBallswin</RootNamespace>
|
<RootNamespace>DoubleHitBallswin</RootNamespace>
|
||||||
<WindowsTargetPlatformVersion>10.0.16299.0</WindowsTargetPlatformVersion>
|
<WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
@ -111,13 +111,13 @@
|
|||||||
<WarningLevel>Level3</WarningLevel>
|
<WarningLevel>Level3</WarningLevel>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<PreprocessorDefinitions>TARGET_WIN32;DEBUG;_WIN32_WINNT=0x0501;EIGEN_DONT_ALIGN_STATICALLY;_WINDOWS;WIN32;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>TARGET_WIN32;DEBUG;_WIN32_WINNT=0x0501;EIGEN_DONT_ALIGN_STATICALLY;_WINDOWS;WIN32;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<AdditionalIncludeDirectories>../../../game;../../../../tes-engine;../../../../eigen;../../../../../boost_1_67_0/;../../../../boost_1_67_0/bin.v2/libs/system/build/msvc-14.0/debug/address-model-64/link-static/threading-multi;../../../../boost_1_67_0/bin.v2/libs/date_time/build/msvc-14.0/debug/address-model-64/link-static/threading-multi/;../../../../boost_1_67_0/bin.v2/libs/regex/build/msvc-14.0/debug/address-model-64/link-static/threading-multi;../../../../boost_1_67_0/bin.v2/libs/thread/build/msvc-14.0/debug/address-model-64/link-static/threading-multi;../../../../boost_1_67_0/bin.v2/libs/chrono/build/msvc-14.0/debug/address-model-64/link-static/threading-multi;../../../../boost_1_67_0/bin.v2/libs/signals/build/msvc-14.0/debug/address-model-64/link-static/threading-multi;../../../../libs/boost-gil-extension;../../../../libs/jpeg-9;../../../../libs/jpeg-9/vc10;../../../../libs/lpng1510</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>../../../game;../../../../tes-engine;../../../../../boost_1_67_0;../../../../eigen;../../../../boost_1_67_0;../../../../boost_1_67_0/bin.v2/libs/system/build/msvc-14.1/debug/address-model-64/link-static/threading-multi;../../../../boost_1_67_0/bin.v2/libs/date_time/build/msvc-14.1/debug/address-model-64/link-static/threading-multi/;../../../../boost_1_67_0/bin.v2/libs/regex/build/msvc-14.1/debug/address-model-64/link-static/threading-multi;../../../../boost_1_67_0/bin.v2/libs/thread/build/msvc-14.1/debug/address-model-64/link-static/threading-multi;../../../../boost_1_67_0/bin.v2/libs/chrono/build/msvc-14.1/debug/address-model-64/link-static/threading-multi;../../../../boost_1_67_0/bin.v2/libs/signals/build/msvc-14.1/debug/address-model-64/link-static/threading-multi;../../../../libs/boost-gil-extension;../../../../libs/jpeg-9;../../../../libs/jpeg-9/vc10;../../../../libs/lpng1510</AdditionalIncludeDirectories>
|
||||||
<DisableSpecificWarnings>4503</DisableSpecificWarnings>
|
<DisableSpecificWarnings>4503</DisableSpecificWarnings>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<SubSystem>Windows</SubSystem>
|
<SubSystem>Windows</SubSystem>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
<AdditionalLibraryDirectories>C:\Work\boost_1_67_0;../../../game;../../../../tes-engine;../../../../eigen;../../../../boost_1_63_0/;../../../../boost_1_63_0/bin.v2/libs/system/build/msvc-14.0/debug/address-model-64/link-static/threading-multi;../../../../boost_1_63_0/bin.v2/libs/date_time/build/msvc-14.0/debug/address-model-64/link-static/threading-multi/;../../../../boost_1_63_0/bin.v2/libs/regex/build/msvc-14.0/debug/address-model-64/link-static/threading-multi;../../../../boost_1_63_0/bin.v2/libs/thread/build/msvc-14.0/debug/address-model-64/link-static/threading-multi;../../../../boost_1_63_0/bin.v2/libs/chrono/build/msvc-14.0/debug/address-model-64/link-static/threading-multi;../../../../boost_1_63_0/bin.v2/libs/filesystem/build/msvc-14.0/debug/address-model-64/link-static/threading-multi;../../../../boost_1_63_0/bin.v2/libs/signals/build/msvc-14.0/debug/address-model-64/link-static/threading-multi;../../../../libs/boost-gil-extension;../../../../libs/jpeg-9;../../../../libs/jpeg-9/vc10;../../../../libs/lpng1510;../x64/Debug</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>../../../../boost_1_67_0/stage/lib;C:\Work\Projects\boost_1_67_0\bin.v2\libs\system\build\msvc-14.1\debug\address-model-64\link-static\threading-multi;C:\Work\boost_1_67_0;../../../game;../../../../tes-engine;../../../../eigen;../../../../boost_1_67_0/;../../../../boost_1_67_0/bin.v2\libs\system\build\msvc-14.1\debug\address-model-64\link-static\threading-multi;../../../../boost_1_67_0/bin.v2/libs/date_time/build/msvc-14.1/debug/address-model-64/link-static/threading-multi/;../../../../boost_1_67_0/bin.v2/libs/regex/build/msvc-14.1/debug/address-model-64/link-static/threading-multi;../../../../boost_1_67_0/bin.v2/libs/thread/build/msvc-14.1/debug/address-model-64/link-static/threading-multi;../../../../boost_1_67_0/bin.v2/libs/chrono/build/msvc-14.1/debug/address-model-64/link-static/threading-multi;../../../../boost_1_67_0/bin.v2/libs/filesystem/build/msvc-14.1/debug/address-model-64/link-static/threading-multi;../../../../boost_1_67_0/bin.v2/libs/signals/build/msvc-14.1/debug/address-model-64/link-static/threading-multi;../../../../libs/boost-gil-extension;../../../../libs/jpeg-9;../../../../libs/jpeg-9/vc10;../../../../libs/lpng1510;../x64/Debug</AdditionalLibraryDirectories>
|
||||||
<AdditionalDependencies>libjpeg.lib;libpng.lib;Engine.lib;opengl32.lib;glu32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>libjpeg.lib;libpng.lib;Engine.lib;opengl32.lib;glu32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
@ -160,7 +160,7 @@
|
|||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
<OptimizeReferences>true</OptimizeReferences>
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
<AdditionalLibraryDirectories>../../../../boost_1_67_0/stage/lib;../../../../boost_1_67_0/stage/x64/lib;../../../game;../../../../tes-engine;../../../../../boost_1_67_0;../../../../eigen;../../../../boost_1_67_0/;../../../../boost_1_67_0/bin.v2/libs/system/build/msvc-14.0/release/address-model-64/link-static/threading-multi;../../../../boost_1_67_0/bin.v2/libs/date_time/build/msvc-14.0/release/address-model-64/link-static/threading-multi/;../../../../boost_1_67_0/bin.v2/libs/regex/build/msvc-14.0/release/address-model-64/link-static/threading-multi;../../../../boost_1_67_0/bin.v2/libs/thread/build/msvc-14.0/release/address-model-64/link-static/threading-multi;../../../../boost_1_67_0/bin.v2/libs/chrono/build/msvc-14.0/release/address-model-64/link-static/threading-multi;../../../../boost_1_67_0/bin.v2/libs/signals/build/msvc-14.0/release/address-model-64/link-static/threading-multi;../../../../libs/boost-gil-extension;../../../../libs/jpeg-9;../../../../libs/jpeg-9/vc10;../../../../libs/lpng1510;../x64/Release</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>../../../../boost_1_67_0/stage/lib;../../../../boost_1_67_0/stage/x64/lib;../../../game;../../../../tes-engine;../../../../../boost_1_67_0;../../../../eigen;../../../../boost_1_67_0/;../../../../libs/boost-gil-extension;../../../../libs/jpeg-9;../../../../libs/jpeg-9/vc10;../../../../libs/lpng1510;../x64/Release</AdditionalLibraryDirectories>
|
||||||
<AdditionalDependencies>libjpeg.lib;libpng.lib;Engine.lib;opengl32.lib;glu32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>libjpeg.lib;libpng.lib;Engine.lib;opengl32.lib;glu32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
Loading…
Reference in New Issue
Block a user