new engine
This commit is contained in:
parent
59f74b3826
commit
450e80b278
@ -19,32 +19,33 @@ TGameCredits::TGameCredits()
|
||||
|
||||
void TGameCredits::Draw()
|
||||
{
|
||||
|
||||
//*SE::Console << "TGameCredits::Draw";
|
||||
float transparency = StateTimer/CONST_APPEAR_TIME;
|
||||
|
||||
|
||||
RenderUniform1f("Transparency", transparency);
|
||||
|
||||
glBindTexture(GL_TEXTURE_2D,ResourceManager->TexList["main_menu_bkg_left"]);
|
||||
Renderer->DrawRect(vec2(0, 0.f), vec2(480.f, 320.f));
|
||||
Renderer->DrawRect(Vector2f(0, 0.f), Vector2f(480.f, 320.f));
|
||||
|
||||
const vec2 creditsPos(140.f, 130.f);
|
||||
const Vector2f creditsPos(140.f, 130.f);
|
||||
|
||||
const vec2 creditsHalfSize(128.f, 128.f);
|
||||
const Vector2f creditsHalfSize(128.f, 128.f);
|
||||
|
||||
glBindTexture(GL_TEXTURE_2D,ResourceManager->TexList[CONST_CREDITS_TEXTURE]);
|
||||
Renderer->DrawRect(creditsPos-creditsHalfSize, creditsPos+creditsHalfSize);
|
||||
|
||||
glBindTexture(GL_TEXTURE_2D,ResourceManager->TexList[CONST_LOGO_SMALL_TEXTURE]);
|
||||
Renderer->DrawRect(vec2(240.f-128.f+15.f, 320.f-64.f), vec2(240.f+128.f+15.f, 320.f));
|
||||
Renderer->DrawRect(Vector2f(240.f-128.f+15.f, 320.f-64.f), Vector2f(240.f+128.f+15.f, 320.f));
|
||||
|
||||
CheckGlError("Draw TGameCredits");
|
||||
}
|
||||
|
||||
void TGameCredits::Update(cardinal dt)
|
||||
void TGameCredits::Update(size_t dt)
|
||||
{
|
||||
if (State == CONST_STATE_APPEARING)
|
||||
{
|
||||
{
|
||||
*SE::Console << "TGameCredits::Update - CONST_STATE_APPEARING";
|
||||
StateTimer += dt;
|
||||
if (StateTimer >= CONST_APPEAR_TIME)
|
||||
{
|
||||
@ -53,7 +54,7 @@ void TGameCredits::Update(cardinal dt)
|
||||
}
|
||||
}
|
||||
else if (State == CONST_STATE_DISAPPEARING)
|
||||
{
|
||||
{
|
||||
StateTimer -= dt;
|
||||
if (StateTimer <= 0.f)
|
||||
{
|
||||
@ -63,17 +64,20 @@ void TGameCredits::Update(cardinal dt)
|
||||
}
|
||||
}
|
||||
|
||||
void TGameCredits::OnTapDown(vec2 p)
|
||||
void TGameCredits::OnTapDown(Vector2f p)
|
||||
{
|
||||
*SE::Console << "TGameCredits::OnTapDown";
|
||||
Application->GoFromCreditsToMenu();
|
||||
}
|
||||
|
||||
void TGameCredits::StartAppear()
|
||||
{
|
||||
*SE::Console << "TGameCredits::StartAppear";
|
||||
State = CONST_STATE_APPEARING;
|
||||
}
|
||||
|
||||
void TGameCredits::StartDisappear()
|
||||
{
|
||||
*SE::Console << "TGameCredits::StartDisappear";
|
||||
State = CONST_STATE_DISAPPEARING;
|
||||
}
|
||||
|
@ -23,8 +23,8 @@ public:
|
||||
TGameCredits();
|
||||
|
||||
virtual void Draw();
|
||||
virtual void Update(cardinal dt);
|
||||
virtual void OnTapDown(vec2 p);
|
||||
virtual void Update(size_t dt);
|
||||
virtual void OnTapDown(Vector2f p);
|
||||
|
||||
void StartAppear();
|
||||
void StartDisappear();
|
||||
|
@ -10,13 +10,13 @@ class TGameAreaAncestor
|
||||
{
|
||||
public:
|
||||
virtual void Draw() { }
|
||||
virtual void Update(cardinal) { }
|
||||
virtual void OnTapUp(vec2) { }
|
||||
virtual void OnTapUpAfterMove(vec2) { }
|
||||
virtual void Update(size_t) { }
|
||||
virtual void OnTapUp(Vector2f) { }
|
||||
virtual void OnTapUpAfterMove(Vector2f) { }
|
||||
|
||||
virtual void OnTapDown(vec2) { }
|
||||
virtual void OnFling(vec2) { }
|
||||
virtual void OnScroll(vec2) { }
|
||||
virtual void OnTapDown(Vector2f) { }
|
||||
virtual void OnFling(Vector2f) { }
|
||||
virtual void OnScroll(Vector2f) { }
|
||||
|
||||
virtual ~TGameAreaAncestor() { } //By default destructor is not virtual
|
||||
};
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -45,16 +45,16 @@ protected:
|
||||
int Locked; //0, 1 or 2
|
||||
int State;
|
||||
float StateTimer;
|
||||
vec4 Color;
|
||||
Vector4f Color;
|
||||
public:
|
||||
TBrick();
|
||||
void SetVisible(vec4 color, int locked);
|
||||
void SetVisible(Vector4f color, int locked);
|
||||
void SetInvisible();
|
||||
void TryDrawAppear(int ipos, int jpos);
|
||||
void Update(cardinal dt);
|
||||
vec2 GetPosFrom(int ipos, int jpos);
|
||||
vec4 GetColor();
|
||||
void Appear(vec4 color, int locked);
|
||||
void Update(size_t dt);
|
||||
Vector2f GetPosFrom(int ipos, int jpos);
|
||||
Vector4f GetColor();
|
||||
void Appear(Vector4f color, int locked);
|
||||
void Appear();
|
||||
void Hit();
|
||||
void Disappear();
|
||||
@ -66,30 +66,30 @@ class TBonusFalling
|
||||
{
|
||||
protected:
|
||||
float Lifetime;
|
||||
vec2 Pos;
|
||||
Vector2f Pos;
|
||||
std::string TexName;
|
||||
int BonusType; //0 - multiplier, 1 - Go-through, 2 - floor
|
||||
public:
|
||||
TBonusFalling(vec2 pos);
|
||||
vec2 GetPos();
|
||||
TBonusFalling(Vector2f pos);
|
||||
Vector2f GetPos();
|
||||
int GetType();
|
||||
void Draw();
|
||||
void Update(cardinal dt);
|
||||
void Update(size_t dt);
|
||||
};
|
||||
|
||||
struct TBall
|
||||
{
|
||||
vec2 Pos;
|
||||
vec2 Velocity;
|
||||
vec4 Color;
|
||||
std::list<vec2> TalePos;
|
||||
Vector2f Pos;
|
||||
Vector2f Velocity;
|
||||
Vector4f Color;
|
||||
std::list<Vector2f> TalePos;
|
||||
|
||||
vec2 BallInBlock;
|
||||
vec2 PrevBallInBlock;
|
||||
Vector2f BallInBlock;
|
||||
Vector2f PrevBallInBlock;
|
||||
|
||||
TBall(vec2 pos, vec2 velocity, vec4 color);
|
||||
vec2 GetPos();
|
||||
vec2 GetVelocityVector();
|
||||
TBall(Vector2f pos, Vector2f velocity, Vector4f color);
|
||||
Vector2f GetPos();
|
||||
Vector2f GetVelocityVector();
|
||||
|
||||
void Go();
|
||||
|
||||
@ -98,12 +98,12 @@ struct TBall
|
||||
void ReflectToUp();
|
||||
void ReflectToDown();
|
||||
|
||||
void TryReflectOnReflector(vec2 refPos);
|
||||
void TryReflectOnReflector(Vector2f refPos);
|
||||
|
||||
void Update(cardinal dt);
|
||||
void Update(size_t dt);
|
||||
};
|
||||
|
||||
typedef std::pair<vec4, std::string> PairColorTexture;
|
||||
typedef std::pair<Vector4f, std::string> PairColorTexture;
|
||||
|
||||
struct TBlockInstansingList
|
||||
{
|
||||
@ -124,7 +124,7 @@ protected:
|
||||
std::string LevelScreenTexture;
|
||||
std::string LevelFileName;
|
||||
|
||||
vec2 ReflectorPos;
|
||||
Vector2f ReflectorPos;
|
||||
|
||||
int LevelState;
|
||||
bool PrevLevelStateIsStandby;
|
||||
@ -133,7 +133,7 @@ protected:
|
||||
TBrick BlockMatrix[CONST_BRICKMATRIX_WIDTH][CONST_BRICKMATRIX_HEIGHT];
|
||||
TBlockInstansingList BlockInstansingList;
|
||||
|
||||
bool TapInBackBtnArea(const vec2& pos);
|
||||
bool TapInBackBtnArea(const Vector2f& pos);
|
||||
|
||||
void ReloadBlockInstansingList();
|
||||
void SetFinished();
|
||||
@ -158,23 +158,23 @@ protected:
|
||||
|
||||
TBallInstancingList BallInstancingList;
|
||||
|
||||
vec4 BallColor;
|
||||
Vector4f BallColor;
|
||||
|
||||
void ReloadBallInstancingList();
|
||||
void RefreshBallInstancingList();
|
||||
|
||||
|
||||
void UpdateBallList(cardinal dt);
|
||||
void MultiplyBalls(vec2 pos, vec2 velocity);
|
||||
void UpdateBallList(size_t dt);
|
||||
void MultiplyBalls(Vector2f pos, Vector2f velocity);
|
||||
|
||||
vec2 GetBlock(const vec2& pos);
|
||||
Vector2f GetBlock(const Vector2f& pos);
|
||||
void InitLevel();
|
||||
|
||||
float BonusGothroughTimer;
|
||||
float BonusFloorTimer;
|
||||
float BonusFloorPosY;
|
||||
|
||||
vec4 ParseColor(const std::string& s);
|
||||
Vector4f ParseColor(const std::string& s);
|
||||
void ReloadLevel();
|
||||
|
||||
public:
|
||||
@ -193,11 +193,11 @@ public:
|
||||
bool IsPaused();
|
||||
void ReleasePause();
|
||||
|
||||
virtual void Update(cardinal dt);
|
||||
virtual void OnTapDown(vec2 pos);
|
||||
virtual void OnTapUp(vec2 pos);
|
||||
virtual void OnFling(vec2 slideSpeed);
|
||||
virtual void OnScroll(vec2 shift);
|
||||
virtual void Update(size_t dt);
|
||||
virtual void OnTapDown(Vector2f pos);
|
||||
virtual void OnTapUp(Vector2f pos);
|
||||
virtual void OnFling(Vector2f slideSpeed);
|
||||
virtual void OnScroll(Vector2f shift);
|
||||
};
|
||||
|
||||
|
||||
|
@ -4,12 +4,16 @@
|
||||
|
||||
void TGameLoading::Draw()
|
||||
{
|
||||
//*SE::Console << "TGameLoading::Draw";
|
||||
|
||||
glBindTexture(GL_TEXTURE_2D, ResourceManager->TexList[CONST_LOADING_BACKGROUND_BLACK]);
|
||||
Renderer->DrawRect(Vector2f(0.f, 0.f), Vector2f(Renderer->GetMatrixWidth(), Renderer->GetMatrixHeight()));
|
||||
|
||||
glBindTexture(GL_TEXTURE_2D,ResourceManager->TexList[CONST_LOADING_TEXTURE]);
|
||||
Renderer->DrawRect(vec2(240.f - 128.f, 10.f), vec2(240.f + 128.f, 10.f + 64.f));
|
||||
Renderer->DrawRect(Vector2f(240.f - 128.f, 10.f), Vector2f(240.f + 128.f, 10.f + 64.f));
|
||||
|
||||
glBindTexture(GL_TEXTURE_2D,ResourceManager->TexList[CONST_LOGO_SMALL_TEXTURE]);
|
||||
Renderer->DrawRect(vec2(480.f - 256.f+50.f, 320.f - 64.f), vec2(480.f+50.f, 320.f));
|
||||
Renderer->DrawRect(Vector2f(480.f - 256.f+50.f, 320.f - 64.f), Vector2f(480.f+50.f, 320.f));
|
||||
|
||||
CheckGlError();
|
||||
|
||||
|
@ -11,11 +11,11 @@
|
||||
|
||||
#include "main_code.h"
|
||||
|
||||
boost::signals2::signal<void (vec2)> OnTapUpSignal;
|
||||
boost::signals2::signal<void (vec2)> OnTapUpAfterMoveSignal;
|
||||
boost::signals2::signal<void (vec2)> OnTapDownSignal;
|
||||
boost::signals2::signal<void (vec2)> OnFlingSignal;
|
||||
boost::signals2::signal<void (vec2)> OnScrollSignal;
|
||||
boost::signals2::signal<void (Vector2f)> OnTapUpSignal;
|
||||
boost::signals2::signal<void (Vector2f)> OnTapUpAfterMoveSignal;
|
||||
boost::signals2::signal<void (Vector2f)> OnTapDownSignal;
|
||||
boost::signals2::signal<void (Vector2f)> OnFlingSignal;
|
||||
boost::signals2::signal<void (Vector2f)> OnScrollSignal;
|
||||
|
||||
boost::signals2::signal<void ()> OnDrawSignal;
|
||||
|
||||
@ -43,13 +43,15 @@ const std::string CONST_SLIDE_UP_BTN_TEXTURE = "slide_up_btn";
|
||||
const std::string CONST_TAP_TO_CONTINUE_BTN_TEXTURE = "tap_to_continue_btn";
|
||||
const std::string CONST_LOADING_TEXTURE = "loading";
|
||||
const std::string CONST_LOGO_SMALL_TEXTURE = "logo_small";
|
||||
const std::string CONST_LOADING_BACKGROUND_BLACK = "loading_background_black";
|
||||
const std::string CONST_CREDITS_TEXTURE = "credits";
|
||||
|
||||
const float CONST_CREDITS_SHOW_TIME = 150.f;
|
||||
|
||||
TAndroidApplication* Application;
|
||||
TMyApplication* Application;
|
||||
|
||||
void TAndroidApplication::InnerInit()
|
||||
|
||||
void TMyApplication::InnerInit()
|
||||
{
|
||||
|
||||
Application = this;
|
||||
@ -70,7 +72,7 @@ void TAndroidApplication::InnerInit()
|
||||
{
|
||||
*Console<<"APP INIT\n";
|
||||
}
|
||||
srand (static_cast<cardinal>(time(NULL)));
|
||||
srand (static_cast<size_t>(time(NULL)));
|
||||
GameState = CONST_GAMESTATE_PRELOADING;
|
||||
StateTimer = 0.f;
|
||||
|
||||
@ -80,6 +82,7 @@ void TAndroidApplication::InnerInit()
|
||||
ResourceManager->ShaderManager.AddShader("BrickShader", "brickshader_vertex.txt", "brickshader_fragment.txt");
|
||||
Renderer->PushShader("DefaultShader");
|
||||
|
||||
ResourceManager->TexList.AddTexture(CONST_LOADING_BACKGROUND_BLACK + ".png", CONST_LOADING_BACKGROUND_BLACK);
|
||||
ResourceManager->TexList.AddTexture(CONST_LOADING_TEXTURE + ".png", CONST_LOADING_TEXTURE);
|
||||
ResourceManager->TexList.AddTexture(CONST_LOGO_SMALL_TEXTURE + ".png", CONST_LOGO_SMALL_TEXTURE);
|
||||
|
||||
@ -94,11 +97,9 @@ void TAndroidApplication::InnerInit()
|
||||
|
||||
Renderer->SetFullScreenViewport();
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
void TAndroidApplication::InnerDeinit()
|
||||
void TMyApplication::InnerDeinit()
|
||||
{
|
||||
Inited = false;
|
||||
Loaded = false;
|
||||
@ -131,32 +132,33 @@ void TAndroidApplication::InnerDeinit()
|
||||
|
||||
}
|
||||
|
||||
void TAndroidApplication::InnerOnTapDown(vec2 p)
|
||||
void TMyApplication::InnerOnTapDown(Vector2f p)
|
||||
{
|
||||
OnTapDownSignal(vec2(p.v[0], p.v[1]));
|
||||
//-OnTapDownSignal(Vector2f(p.v[0], p.v[1]));
|
||||
OnTapDownSignal(Vector2f(p(0), p(1)));
|
||||
}
|
||||
|
||||
void TAndroidApplication::InnerOnTapUp(vec2 p)
|
||||
void TMyApplication::InnerOnTapUp(Vector2f p)
|
||||
{
|
||||
OnTapUpSignal(vec2(p.v[0], p.v[1]));
|
||||
OnTapUpSignal(Vector2f(p(0), p(1)));
|
||||
}
|
||||
|
||||
void TAndroidApplication::InnerOnTapUpAfterMove(vec2 p)
|
||||
void TMyApplication::InnerOnTapUpAfterMove(Vector2f p)
|
||||
{
|
||||
OnTapUpAfterMoveSignal(vec2(p.v[0], p.v[1]));
|
||||
OnTapUpAfterMoveSignal(Vector2f(p(0), p(1)));
|
||||
}
|
||||
|
||||
void TAndroidApplication::InnerOnMove(vec2 shift)
|
||||
void TMyApplication::InnerOnMove(Vector2f p, Vector2f shift)
|
||||
{
|
||||
OnScrollSignal(shift);
|
||||
OnScrollSignal(Vector2f(shift(0), shift(1)));
|
||||
}
|
||||
|
||||
void TAndroidApplication::OnFling(vec2 v)
|
||||
void TMyApplication::OnFling(Vector2f v)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void TAndroidApplication::ApplySignalsToMenu()
|
||||
void TMyApplication::ApplySignalsToMenu()
|
||||
{
|
||||
|
||||
OnTapUpSignal.connect(boost::bind(&TGameMenu::OnTapUp, boost::ref(Menu), _1));
|
||||
@ -168,7 +170,7 @@ void TAndroidApplication::ApplySignalsToMenu()
|
||||
}
|
||||
|
||||
|
||||
void TAndroidApplication::DisapplySignalsToMenu()
|
||||
void TMyApplication::DisapplySignalsToMenu()
|
||||
{
|
||||
OnTapUpSignal.disconnect(boost::bind(&TGameMenu::OnTapUp, boost::ref(Menu), _1));
|
||||
OnTapUpAfterMoveSignal.disconnect(boost::bind(&TGameMenu::OnTapUpAfterMove, boost::ref(Menu), _1));
|
||||
@ -177,17 +179,16 @@ void TAndroidApplication::DisapplySignalsToMenu()
|
||||
OnTapDownSignal.disconnect(boost::bind(&TGameMenu::OnTapDown, boost::ref(Menu), _1));
|
||||
}
|
||||
|
||||
void TAndroidApplication::ApplySignalsToGame()
|
||||
void TMyApplication::ApplySignalsToGame()
|
||||
{
|
||||
|
||||
OnTapUpSignal.connect(boost::bind(&TGameLevel::OnTapUp, boost::ref(GameLevel), _1));
|
||||
OnFlingSignal.connect(boost::bind(&TGameLevel::OnFling, boost::ref(GameLevel), _1));
|
||||
OnScrollSignal.connect(boost::bind(&TGameLevel::OnScroll, boost::ref(GameLevel), _1));
|
||||
OnScrollSignal.connect(boost::bind(&TGameLevel::OnScroll, boost::ref(GameLevel), _1));
|
||||
OnTapDownSignal.connect(boost::bind(&TGameLevel::OnTapDown, boost::ref(GameLevel), _1));
|
||||
|
||||
}
|
||||
|
||||
void TAndroidApplication::DisapplySignalsToGame()
|
||||
void TMyApplication::DisapplySignalsToGame()
|
||||
{
|
||||
OnTapUpSignal.disconnect(boost::bind(&TGameLevel::OnTapUp, boost::ref(GameLevel), _1));
|
||||
OnFlingSignal.disconnect(boost::bind(&TGameLevel::OnFling, boost::ref(GameLevel), _1));
|
||||
@ -196,18 +197,18 @@ void TAndroidApplication::DisapplySignalsToGame()
|
||||
|
||||
}
|
||||
|
||||
void TAndroidApplication::ApplySignalsToCredits()
|
||||
void TMyApplication::ApplySignalsToCredits()
|
||||
{
|
||||
OnTapDownSignal.connect(boost::bind(&TGameCredits::OnTapDown, boost::ref(GameCredits), _1));
|
||||
}
|
||||
|
||||
|
||||
void TAndroidApplication::DisapplySignalsToCredits()
|
||||
void TMyApplication::DisapplySignalsToCredits()
|
||||
{
|
||||
OnTapDownSignal.disconnect(boost::bind(&TGameCredits::OnTapDown, boost::ref(GameCredits), _1));
|
||||
}
|
||||
|
||||
void TAndroidApplication::LoadResources()
|
||||
void TMyApplication::LoadResources()
|
||||
{
|
||||
|
||||
TextureNamesToLoad.clear();
|
||||
@ -273,7 +274,7 @@ void TAndroidApplication::LoadResources()
|
||||
|
||||
}
|
||||
|
||||
void TAndroidApplication::TryLoadSavedGame()
|
||||
void TMyApplication::TryLoadSavedGame()
|
||||
{
|
||||
|
||||
std::string fileName = GetFilePathUserData("progress.txt");
|
||||
@ -292,7 +293,7 @@ void TAndroidApplication::TryLoadSavedGame()
|
||||
}
|
||||
}
|
||||
|
||||
void TAndroidApplication::TrySaveGame()
|
||||
void TMyApplication::TrySaveGame()
|
||||
{
|
||||
|
||||
std::string fileName = GetFilePathUserData("progress.txt");
|
||||
@ -310,23 +311,22 @@ void TAndroidApplication::TrySaveGame()
|
||||
|
||||
|
||||
|
||||
void TAndroidApplication::InnerDraw()
|
||||
void TMyApplication::InnerDraw()
|
||||
{
|
||||
|
||||
glDisable(GL_DEPTH_TEST);
|
||||
|
||||
|
||||
OnDrawSignal();
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
void TAndroidApplication::InnerUpdate(cardinal dt)
|
||||
void TMyApplication::InnerUpdate(size_t dt)
|
||||
{
|
||||
|
||||
if (GameState == CONST_GAMESTATE_PRELOADING)
|
||||
{
|
||||
*SE::Console << "1CONST_GAMESTATE_PRELOADING";
|
||||
StateTimer += dt/1000.f;
|
||||
if (StateTimer >= 1.f)
|
||||
{
|
||||
@ -337,6 +337,7 @@ void TAndroidApplication::InnerUpdate(cardinal dt)
|
||||
}
|
||||
else if (GameState == CONST_GAMESTATE_LOADING)
|
||||
{
|
||||
*SE::Console << "2CONST_GAMESTATE_LOADING";
|
||||
StateTimer += dt/1000.f;
|
||||
if (StateTimer >= 1.f)
|
||||
{
|
||||
@ -360,17 +361,21 @@ void TAndroidApplication::InnerUpdate(cardinal dt)
|
||||
}
|
||||
else if (GameState == CONST_GAMESTATE_LEVEL)
|
||||
{
|
||||
*SE::Console << "3CONST_GAMESTATE_LEVEL";
|
||||
GameLevel.Update(dt);
|
||||
}
|
||||
else if (GameState == CONST_GAMESTATE_MENU)
|
||||
{
|
||||
//*SE::Console << "4CONST_GAMESTATE_MENU";
|
||||
Menu.Update(dt);
|
||||
}
|
||||
else if (GameState == CONST_GAMESTATE_FROM_MENU_TO_LEVEL)
|
||||
{
|
||||
{
|
||||
*SE::Console << "5CONST_GAMESTATE_FROM_MENU_TO_LEVEL";
|
||||
GameLevel.Update(dt);
|
||||
if (GameLevel.IsLoaded())
|
||||
{
|
||||
//*SE::Console << "5CONST_GAMESTATE_FROM_MENU_TO_LEVEL";
|
||||
GameState = CONST_GAMESTATE_LEVEL;
|
||||
OnDrawSignal.disconnect(boost::bind(&TGameMenu::Draw, boost::ref(Menu)));
|
||||
//CONNECT SLOT
|
||||
@ -379,7 +384,8 @@ void TAndroidApplication::InnerUpdate(cardinal dt)
|
||||
}
|
||||
}
|
||||
else if (GameState == CONST_GAMESTATE_FROM_MENU_TO_CREDITS)
|
||||
{
|
||||
{
|
||||
*SE::Console << "6CONST_GAMESTATE_FROM_MENU_TO_CREDITS";
|
||||
Menu.Update(dt);
|
||||
GameCredits.Update(dt);
|
||||
StateTimer -= dt;
|
||||
@ -392,7 +398,8 @@ void TAndroidApplication::InnerUpdate(cardinal dt)
|
||||
}
|
||||
}
|
||||
else if (GameState == CONST_GAMESTATE_CREDITS)
|
||||
{
|
||||
{
|
||||
//*SE::Console << "7CONST_GAMESTATE_CREDITS";
|
||||
GameCredits.Update(dt);
|
||||
}
|
||||
else if (GameState == CONST_GAMESTATE_FROM_CREDITS_TO_MENU)
|
||||
@ -411,12 +418,12 @@ void TAndroidApplication::InnerUpdate(cardinal dt)
|
||||
}
|
||||
|
||||
|
||||
void TAndroidApplication::GoFromMenuToGame(int level)
|
||||
void TMyApplication::GoFromMenuToGame(int level)
|
||||
{
|
||||
//#ifndef TARGET_IOS
|
||||
ResourceManager->SoundManager.PlayMusicLooped("level1ogg.ogg");
|
||||
|
||||
//#ifndef TARGET_IOS
|
||||
// ResourceManager->SoundManager.PlayMusicLooped("level1ogg.ogg");
|
||||
//#endif
|
||||
|
||||
GameLevel.FillWithFile(ST::PathToResources + "level"+tostr(level+1)+".txt");
|
||||
GameLevel.SetLoading("shutterstock" + tostr(level+1), "levelshot"+tostr(level+1));
|
||||
GameState = CONST_GAMESTATE_FROM_MENU_TO_LEVEL;
|
||||
@ -426,10 +433,10 @@ void TAndroidApplication::GoFromMenuToGame(int level)
|
||||
|
||||
}
|
||||
|
||||
void TAndroidApplication::GoFromGameToMenu()
|
||||
void TMyApplication::GoFromGameToMenu()
|
||||
{
|
||||
//#ifndef TARGET_IOS
|
||||
ResourceManager->SoundManager.StopMusic("level1ogg.ogg");
|
||||
// ResourceManager->SoundManager.StopMusic("level1ogg.ogg");
|
||||
//#endif
|
||||
TrySaveGame();
|
||||
DisapplySignalsToGame();
|
||||
@ -438,7 +445,7 @@ void TAndroidApplication::GoFromGameToMenu()
|
||||
OnDrawSignal.disconnect(boost::bind(&TGameLevel::Draw, boost::ref(GameLevel)));
|
||||
}
|
||||
|
||||
void TAndroidApplication::GoFromMenuToCredits()
|
||||
void TMyApplication::GoFromMenuToCredits()
|
||||
{
|
||||
GameState = CONST_GAMESTATE_FROM_MENU_TO_CREDITS;
|
||||
StateTimer = CONST_CREDITS_SHOW_TIME;
|
||||
@ -448,7 +455,7 @@ void TAndroidApplication::GoFromMenuToCredits()
|
||||
|
||||
}
|
||||
|
||||
void TAndroidApplication::GoFromCreditsToMenu()
|
||||
void TMyApplication::GoFromCreditsToMenu()
|
||||
{
|
||||
|
||||
GameState = CONST_GAMESTATE_FROM_CREDITS_TO_MENU;
|
||||
@ -459,28 +466,28 @@ void TAndroidApplication::GoFromCreditsToMenu()
|
||||
DisapplySignalsToCredits();
|
||||
}
|
||||
|
||||
void TAndroidApplication::MarkSetGameLevelPause()
|
||||
void TMyApplication::MarkSetGameLevelPause()
|
||||
{
|
||||
OnDrawSignal.connect(0, boost::bind(&TGameMenu::Draw, boost::ref(Menu)));
|
||||
}
|
||||
|
||||
void TAndroidApplication::MarkReleaseGameLevelPause()
|
||||
void TMyApplication::MarkReleaseGameLevelPause()
|
||||
{
|
||||
OnDrawSignal.disconnect(boost::bind(&TGameMenu::Draw, boost::ref(Menu)));
|
||||
}
|
||||
|
||||
|
||||
void TAndroidApplication::OpenNextLevel()
|
||||
void TMyApplication::OpenNextLevel()
|
||||
{
|
||||
Menu.OpenNextLevel();
|
||||
}
|
||||
|
||||
bool TAndroidApplication::IsLoaded()
|
||||
bool TMyApplication::IsLoaded()
|
||||
{
|
||||
return Loaded;
|
||||
}
|
||||
|
||||
bool TAndroidApplication::IsInited()
|
||||
bool TMyApplication::IsInited()
|
||||
{
|
||||
return Inited;
|
||||
}
|
||||
|
@ -32,14 +32,14 @@
|
||||
using namespace SE;
|
||||
|
||||
|
||||
extern boost::signals2::signal<void (vec2)> OnTapUpSignal;
|
||||
extern boost::signals2::signal<void (vec2)> OnTapUpAfterMoveSignal;
|
||||
extern boost::signals2::signal<void(Vector2f)> OnTapUpSignal;
|
||||
extern boost::signals2::signal<void(Vector2f)> OnTapUpAfterMoveSignal;
|
||||
|
||||
extern boost::signals2::signal<void (vec2)> OnTapDownSignal;
|
||||
extern boost::signals2::signal<void (vec2)> OnFlingSignal;
|
||||
extern boost::signals2::signal<void (vec2)> OnScrollSignal;
|
||||
extern boost::signals2::signal<void(Vector2f)> OnTapDownSignal;
|
||||
extern boost::signals2::signal<void(Vector2f)> OnFlingSignal;
|
||||
extern boost::signals2::signal<void(Vector2f)> OnScrollSignal;
|
||||
|
||||
extern boost::signals2::signal<void ()> OnDrawSignal;
|
||||
extern boost::signals2::signal<void()> OnDrawSignal;
|
||||
|
||||
extern const std::string CONST_BLOCK_TEXTURE1;
|
||||
extern const std::string CONST_BLOCK_TEXTURE2;
|
||||
@ -70,6 +70,7 @@ extern const std::string CONST_SLIDE_UP_BTN_TEXTURE;
|
||||
extern const std::string CONST_TAP_TO_CONTINUE_BTN_TEXTURE;
|
||||
extern const std::string CONST_LOADING_TEXTURE;
|
||||
extern const std::string CONST_LOGO_SMALL_TEXTURE;
|
||||
extern const std::string CONST_LOADING_BACKGROUND_BLACK;
|
||||
extern const std::string CONST_CREDITS_TEXTURE;
|
||||
|
||||
|
||||
@ -84,7 +85,7 @@ const int CONST_GAMESTATE_LOADING = 6;
|
||||
const int CONST_GAMESTATE_PRELOADING = 7;
|
||||
|
||||
|
||||
class TAndroidApplication : public TApplication
|
||||
class TMyApplication : public TApplication
|
||||
{
|
||||
protected:
|
||||
TGameMenu Menu;
|
||||
@ -95,32 +96,32 @@ protected:
|
||||
int GameState;
|
||||
float StateTimer;
|
||||
|
||||
void TryLoadSavedGame();
|
||||
void TrySaveGame();
|
||||
void TryLoadSavedGame();
|
||||
void TrySaveGame();
|
||||
|
||||
bool Inited;
|
||||
bool Inited;
|
||||
|
||||
std::vector<std::pair<std::string, std::string> > TextureNamesToLoad;
|
||||
std::vector<std::pair<std::string, std::string> > TextureNamesToLoad;
|
||||
|
||||
void ApplySignalsToMenu();
|
||||
void DisapplySignalsToMenu();
|
||||
void ApplySignalsToGame();
|
||||
void DisapplySignalsToGame();
|
||||
void ApplySignalsToCredits();
|
||||
void DisapplySignalsToCredits();
|
||||
void ApplySignalsToMenu();
|
||||
void DisapplySignalsToMenu();
|
||||
void ApplySignalsToGame();
|
||||
void DisapplySignalsToGame();
|
||||
void ApplySignalsToCredits();
|
||||
void DisapplySignalsToCredits();
|
||||
|
||||
public:
|
||||
bool Loaded;
|
||||
bool Loaded;
|
||||
|
||||
TAndroidApplication() : TApplication(), Loaded(false), Inited(false) { }
|
||||
TMyApplication() : TApplication(), Loaded(false), Inited(false) { }
|
||||
|
||||
virtual void InnerInit();
|
||||
virtual void InnerInit();
|
||||
|
||||
virtual void InnerDeinit();
|
||||
virtual void InnerDeinit();
|
||||
|
||||
virtual void InnerDraw();
|
||||
|
||||
virtual void InnerUpdate(cardinal dt);
|
||||
virtual void InnerUpdate(size_t dt);
|
||||
|
||||
void GoFromMenuToGame(int level);
|
||||
void GoFromGameToMenu();
|
||||
@ -137,20 +138,20 @@ public:
|
||||
|
||||
void LoadResources();
|
||||
|
||||
virtual void InnerOnTapDown(vec2 p);
|
||||
virtual void InnerOnTapDown(Vector2f p);
|
||||
|
||||
virtual void InnerOnTapUp(vec2 p);
|
||||
virtual void InnerOnTapUp(Vector2f p);
|
||||
|
||||
virtual void InnerOnTapUpAfterMove(vec2 p);
|
||||
virtual void InnerOnTapUpAfterMove(Vector2f p);
|
||||
|
||||
virtual void InnerOnMove(vec2 shift);
|
||||
virtual void InnerOnMove(Vector2f p, Vector2f shift);
|
||||
|
||||
virtual void OnFling(vec2 v);
|
||||
virtual void OnFling(Vector2f v);
|
||||
|
||||
};
|
||||
|
||||
|
||||
extern TAndroidApplication* Application;
|
||||
extern TMyApplication* Application;
|
||||
|
||||
|
||||
|
||||
|
@ -21,14 +21,15 @@ TGameMenu::TGameMenu()
|
||||
|
||||
void TGameMenu::Draw()
|
||||
{
|
||||
// *SE::Console << "TGameMenu::Draw";
|
||||
CheckGlError("Draw TGameMenu");
|
||||
RenderUniform1i("sel", 0);
|
||||
RenderUniform1f("Transparency", 1.f);
|
||||
float bkgShift = MenuPos*0.1f - 100.f;
|
||||
glBindTexture(GL_TEXTURE_2D, ResourceManager->TexList["main_menu_bkg_left"]);
|
||||
Renderer->DrawRect(vec2(bkgShift,0.f), vec2(480.f+bkgShift,320.f));
|
||||
Renderer->DrawRect(Vector2f(bkgShift,0.f), Vector2f(480.f+bkgShift,320.f));
|
||||
glBindTexture(GL_TEXTURE_2D, ResourceManager->TexList["main_menu_bkg_right"]);
|
||||
Renderer->DrawRect(vec2(480.f+bkgShift,0.f), vec2(960.f+bkgShift,320.f));
|
||||
Renderer->DrawRect(Vector2f(480.f+bkgShift,0.f), Vector2f(960.f+bkgShift,320.f));
|
||||
|
||||
|
||||
if (SelectedGame == 0)
|
||||
@ -43,34 +44,34 @@ void TGameMenu::Draw()
|
||||
for (int i=0; i<MenuItemCount; i++)
|
||||
{
|
||||
glBindTexture(GL_TEXTURE_2D, ResourceManager->TexList["levelshot"+tostr(i+1)]);
|
||||
Renderer->DrawRect(vec2(160.f+MenuPos+CONST_MENU_WINDOW_DISTANCE*i,80.f), vec2(160.f+240.f+MenuPos+CONST_MENU_WINDOW_DISTANCE*i, 240.f));
|
||||
Renderer->DrawRect(Vector2f(160.f+MenuPos+CONST_MENU_WINDOW_DISTANCE*i,80.f), Vector2f(160.f+240.f+MenuPos+CONST_MENU_WINDOW_DISTANCE*i, 240.f));
|
||||
}
|
||||
|
||||
if (MenuItemCount == 12)
|
||||
{
|
||||
glBindTexture(GL_TEXTURE_2D, ResourceManager->TexList["game_end"]);
|
||||
Renderer->DrawRect(vec2(160.f+MenuPos+CONST_MENU_WINDOW_DISTANCE*12,160.f - 64.f), vec2(160.f+256.f+MenuPos+CONST_MENU_WINDOW_DISTANCE*12, 160.f + 64.f));
|
||||
Renderer->DrawRect(Vector2f(160.f+MenuPos+CONST_MENU_WINDOW_DISTANCE*12,160.f - 64.f), Vector2f(160.f+256.f+MenuPos+CONST_MENU_WINDOW_DISTANCE*12, 160.f + 64.f));
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
glBindTexture(GL_TEXTURE_2D, ResourceManager->TexList["select_level"]);
|
||||
Renderer->DrawRect(vec2(240.f-128.f, 241.f), vec2(240.f+128.f, 305.f));
|
||||
Renderer->DrawRect(Vector2f(240.f-128.f, 241.f), Vector2f(240.f+128.f, 305.f));
|
||||
|
||||
glBindTexture(GL_TEXTURE_2D, ResourceManager->TexList["logo_small"]);
|
||||
Renderer->DrawRect(vec2(240.f-128.f+15.f, 0.f), vec2(240.f+128.f+15.f, 64.f));
|
||||
Renderer->DrawRect(Vector2f(240.f-128.f+15.f, 0.f), Vector2f(240.f+128.f+15.f, 64.f));
|
||||
|
||||
CheckGlError("Draw TGameMenu 2");
|
||||
|
||||
|
||||
}
|
||||
|
||||
void TGameMenu::Update(cardinal dt)
|
||||
void TGameMenu::Update(size_t dt)
|
||||
{
|
||||
if (HoldToTap)
|
||||
return;
|
||||
|
||||
// åñëè êíîïêà íå íàæàòà
|
||||
float k;
|
||||
|
||||
MenuPos = MenuPos + MenuSpeed*dt/1000.f;
|
||||
@ -130,22 +131,22 @@ void TGameMenu::Update(cardinal dt)
|
||||
|
||||
}
|
||||
|
||||
void TGameMenu::OnTapDown(vec2 pos)
|
||||
void TGameMenu::OnTapDown(Vector2f pos)
|
||||
{
|
||||
|
||||
*SE::Console << "TGameMenu::OnTapDown";
|
||||
HoldToTap = true;
|
||||
|
||||
if (pos.v[1]<64.f && pos.v[0]>=265.f-128.f && pos.v[0]<=265.f+128.f)
|
||||
if (pos(1)<64.f && pos(0)>=265.f-128.f && pos(0)<=265.f+128.f)
|
||||
{
|
||||
Application->GoFromMenuToCredits();
|
||||
return;
|
||||
}
|
||||
|
||||
vec2 realPos = pos - vec2(MenuPos, 0);
|
||||
Vector2f realPos = pos - Vector2f(MenuPos, 0);
|
||||
|
||||
if (realPos.v[1] >= 80.f && realPos.v[1] <= 240.f)
|
||||
if (realPos(1) >= 80.f && realPos(1) <= 240.f)
|
||||
{
|
||||
float x = realPos.v[0] - 160.f;
|
||||
float x = realPos(0) - 160.f;
|
||||
|
||||
int p = 0;
|
||||
while (x >280.f)
|
||||
@ -166,8 +167,9 @@ void TGameMenu::OnTapDown(vec2 pos)
|
||||
|
||||
}
|
||||
|
||||
void TGameMenu::OnTapUp(vec2 pos)
|
||||
void TGameMenu::OnTapUp(Vector2f pos)
|
||||
{
|
||||
*SE::Console << "TGameMenu::OnTapUp";
|
||||
HoldToTap = false;
|
||||
|
||||
if (SelectedGame != -1)
|
||||
@ -178,25 +180,27 @@ void TGameMenu::OnTapUp(vec2 pos)
|
||||
}
|
||||
}
|
||||
|
||||
void TGameMenu::OnTapUpAfterMove(vec2 pos)
|
||||
void TGameMenu::OnTapUpAfterMove(Vector2f pos)
|
||||
{
|
||||
HoldToTap = false;
|
||||
}
|
||||
|
||||
|
||||
void TGameMenu::OnFling(vec2 slideSpeed)
|
||||
void TGameMenu::OnFling(Vector2f slideSpeed)
|
||||
{
|
||||
*SE::Console << "TGameMenu::OnFling";
|
||||
HoldToTap = false;
|
||||
MenuSpeed = slideSpeed.v[0];
|
||||
MenuSpeed = slideSpeed(0);
|
||||
}
|
||||
|
||||
void TGameMenu::OnScroll(vec2 shift)
|
||||
void TGameMenu::OnScroll(Vector2f shift)
|
||||
{
|
||||
MenuPos = MenuPos - shift.v[0];
|
||||
MenuPos = MenuPos - shift(0);
|
||||
}
|
||||
|
||||
void TGameMenu::OpenNextLevel()
|
||||
{
|
||||
*SE::Console << "TGameMenu::OpenNextLevel";
|
||||
if (MenuItemCount < 12)
|
||||
{
|
||||
MenuItemCount++;
|
||||
@ -205,10 +209,12 @@ void TGameMenu::OpenNextLevel()
|
||||
|
||||
int TGameMenu::GetMenuItemCount()
|
||||
{
|
||||
*SE::Console << "TGameMenu::GetMenuItemCount";
|
||||
return MenuItemCount;
|
||||
}
|
||||
|
||||
void TGameMenu::SetMenuItemCount(int menuItemCount)
|
||||
{
|
||||
*SE::Console << "TGameMenu::SetMenuItemCount";
|
||||
MenuItemCount = menuItemCount;
|
||||
}
|
||||
|
@ -23,12 +23,12 @@ protected:
|
||||
public:
|
||||
TGameMenu();
|
||||
virtual void Draw();
|
||||
virtual void Update(cardinal dt);
|
||||
virtual void OnTapDown(vec2 pos);
|
||||
virtual void OnTapUp(vec2 pos);
|
||||
virtual void OnTapUpAfterMove(vec2 pos);
|
||||
virtual void OnFling(vec2 slideSpeed);
|
||||
virtual void OnScroll(vec2 shift);
|
||||
virtual void Update(size_t dt);
|
||||
virtual void OnTapDown(Vector2f pos);
|
||||
virtual void OnTapUp(Vector2f pos);
|
||||
virtual void OnTapUpAfterMove(Vector2f pos);
|
||||
virtual void OnFling(Vector2f slideSpeed);
|
||||
virtual void OnScroll(Vector2f shift);
|
||||
|
||||
void OpenNextLevel();
|
||||
int GetMenuItemCount();
|
||||
|
Binary file not shown.
@ -1,121 +1,81 @@
|
||||
Log started
|
||||
OpenGL Window created
|
||||
Sound thread finally over. Let's go!
|
||||
Render::OpenGL glVersion = 4.0.10318 Compatibility Profile Context
|
||||
Render::OpenGL glVersion above 2.0 ok
|
||||
Render::OpenGL GL_ARB_framebuffer_object supported ok
|
||||
Render::OpenGL GL_ARB_uniform_buffer_object supported ok
|
||||
APP INIT
|
||||
Prepare to add shader TestShader
|
||||
ResourceManager::ShaderManager::Shader deleting
|
||||
ResourceManager::ShaderManager::Shader deleting
|
||||
Buffer thread go!
|
||||
Sound thread go!
|
||||
No more music and no sounds. Lock sound thread!
|
||||
ResourceManager::ShaderManager::Shader Vertex shader was successfully compiled to run on hardware.
|
||||
2017-Nov-13 16:11:17: Log started
|
||||
2017-Nov-13 16:11:17: Script manager ready
|
||||
2017-Nov-13 16:11:17: Render::OpenGL glVersion = 4.4.0 - Build 20.19.15.4483
|
||||
2017-Nov-13 16:11:17: Render::OpenGL glVersion above 2.0 ok
|
||||
2017-Nov-13 16:11:17: Render::OpenGL GL_ARB_framebuffer_object supported ok
|
||||
2017-Nov-13 16:11:17: Render::OpenGL GL_ARB_uniform_buffer_object supported ok
|
||||
2017-Nov-13 16:11:17: Bind basic functions
|
||||
2017-Nov-13 16:11:17: APP INIT
|
||||
|
||||
ResourceManager::ShaderManager::Shader Fragment shader was successfully compiled to run on hardware.
|
||||
WARNING: 0:1: warning(#260) Keyword 'precision' is supported in GLSL 1.3
|
||||
2017-Nov-13 16:11:17: Prepare to add shader DefaultShader
|
||||
2017-Nov-13 16:11:17: ResourceManager::ShaderManager::Shader WARNING: 0:2: '' : #version directive missing
|
||||
|
||||
ResourceManager::ShaderManager::Shader Fragment shader(s) linked, vertex shader(s) linked.
|
||||
WARNING: 0:1: warning(#260) Keyword 'precision' is supported in GLSL 1.3
|
||||
WARNING: warning(#276) Symbol 'texCoord' usage doesn't match between two stages
|
||||
WARNING: warning(#276) Symbol 'texCoord' usage do
|
||||
ResourceManager::ShaderManager shader loaded: TestShader
|
||||
Prepare to add shader FrameShader
|
||||
ResourceManager::ShaderManager::Shader deleting
|
||||
ResourceManager::ShaderManager::Shader deleting
|
||||
ResourceManager::ShaderManager::Shader Vertex shader was successfully compiled to run on hardware.
|
||||
|
||||
ResourceManager::ShaderManager::Shader Fragment shader was successfully compiled to run on hardware.
|
||||
WARNING: 0:1: warning(#260) Keyword 'precision' is supported in GLSL 1.3
|
||||
2017-Nov-13 16:11:17: ResourceManager::ShaderManager::Shader WARNING: 0:1: 'precision' : symbol not available in current GLSL version
|
||||
WARNING: 0:1: 'mediump' : symbol not available in current GLSL version
|
||||
WARNING: 0:2: '' : #version directive missing
|
||||
|
||||
ResourceManager::ShaderManager::Shader Fragment shader(s) linked, vertex shader(s) linked.
|
||||
WARNING: 0:1: warning(#260) Keyword 'precision' is supported in GLSL 1.3
|
||||
WARNING: warning(#276) Symbol 'texCoord' usage doesn't match between two stages
|
||||
WARNING: warning(#276) Symbol 'texCoord' usage do
|
||||
ResourceManager::ShaderManager shader loaded: FrameShader
|
||||
Prepare to add shader BrickShader
|
||||
ResourceManager::ShaderManager::Shader deleting
|
||||
ResourceManager::ShaderManager::Shader deleting
|
||||
ResourceManager::ShaderManager::Shader Vertex shader was successfully compiled to run on hardware.
|
||||
|
||||
ResourceManager::ShaderManager::Shader Fragment shader was successfully compiled to run on hardware.
|
||||
WARNING: 0:1: warning(#260) Keyword 'precision' is supported in GLSL 1.3
|
||||
2017-Nov-13 16:11:17: Shader program is - 3
|
||||
2017-Nov-13 16:11:17: ResourceManager::ShaderManager::Shader
|
||||
2017-Nov-13 16:11:17: ResourceManager::ShaderManager shader loaded: DefaultShader
|
||||
2017-Nov-13 16:11:17: Prepare to add shader FrameShader
|
||||
2017-Nov-13 16:11:17: ResourceManager::ShaderManager::Shader WARNING: 0:2: '' : #version directive missing
|
||||
|
||||
ResourceManager::ShaderManager::Shader Fragment shader(s) linked, vertex shader(s) linked.
|
||||
WARNING: 0:1: warning(#260) Keyword 'precision' is supported in GLSL 1.3
|
||||
WARNING: warning(#276) Symbol 'texCoord' usage doesn't match between two stages
|
||||
WARNING: warning(#276) Symbol 'texCoord' usage do
|
||||
ResourceManager::ShaderManager shader loaded: BrickShader
|
||||
ResourceManager::TexList Texture added: loading.bmp with id = 1
|
||||
ResourceManager::TexList Texture added: logo_small.bmp32 with id = 2
|
||||
FrameManager:: frame buffer added: LevelBuffer
|
||||
OggStream created successfully
|
||||
ResourceManager::TexList Texture added: main_menu_bkg_left.bmp with id = 4
|
||||
ResourceManager::TexList Texture added: main_menu_bkg_right.bmp with id = 5
|
||||
ResourceManager::TexList Texture added: select_level.bmp32 with id = 6
|
||||
ResourceManager::TexList Texture added: shutterstock1.bmp with id = 7
|
||||
ResourceManager::TexList Texture added: shutterstock2.bmp with id = 8
|
||||
ResourceManager::TexList Texture added: shutterstock3.bmp with id = 9
|
||||
ResourceManager::TexList Texture added: shutterstock4.bmp with id = 10
|
||||
ResourceManager::TexList Texture added: shutterstock5.bmp with id = 11
|
||||
ResourceManager::TexList Texture added: shutterstock6.bmp with id = 12
|
||||
ResourceManager::TexList Texture added: shutterstock7.bmp with id = 13
|
||||
ResourceManager::TexList Texture added: shutterstock8.bmp with id = 14
|
||||
ResourceManager::TexList Texture added: shutterstock9.bmp with id = 15
|
||||
ResourceManager::TexList Texture added: shutterstock10.bmp with id = 16
|
||||
ResourceManager::TexList Texture added: shutterstock11.bmp with id = 17
|
||||
ResourceManager::TexList Texture added: shutterstock12.bmp with id = 18
|
||||
ResourceManager::TexList Texture added: levelshot1.bmp with id = 19
|
||||
ResourceManager::TexList Texture added: levelshot2.bmp with id = 20
|
||||
ResourceManager::TexList Texture added: levelshot3.bmp with id = 21
|
||||
ResourceManager::TexList Texture added: levelshot4.bmp with id = 22
|
||||
ResourceManager::TexList Texture added: levelshot5.bmp with id = 23
|
||||
ResourceManager::TexList Texture added: levelshot6.bmp with id = 24
|
||||
ResourceManager::TexList Texture added: levelshot7.bmp with id = 25
|
||||
ResourceManager::TexList Texture added: levelshot8.bmp with id = 26
|
||||
ResourceManager::TexList Texture added: levelshot9.bmp with id = 27
|
||||
ResourceManager::TexList Texture added: levelshot10.bmp with id = 28
|
||||
ResourceManager::TexList Texture added: levelshot11.bmp with id = 29
|
||||
ResourceManager::TexList Texture added: levelshot12.bmp with id = 30
|
||||
ResourceManager::TexList Texture added: game_end.bmp32 with id = 31
|
||||
ResourceManager::TexList Texture added: block1.bmp32 with id = 32
|
||||
ResourceManager::TexList Texture added: block2.bmp32 with id = 33
|
||||
ResourceManager::TexList Texture added: block3.bmp32 with id = 34
|
||||
ResourceManager::TexList Texture added: bonus_gothrough.bmp32 with id = 35
|
||||
ResourceManager::TexList Texture added: bonus_multiplier.bmp32 with id = 36
|
||||
ResourceManager::TexList Texture added: bonus_floor.bmp32 with id = 37
|
||||
ResourceManager::TexList Texture added: ball.bmp32 with id = 38
|
||||
ResourceManager::TexList Texture added: ball_glow.bmp32 with id = 39
|
||||
ResourceManager::TexList Texture added: wall_left.bmp32 with id = 40
|
||||
ResourceManager::TexList Texture added: wall_right.bmp32 with id = 41
|
||||
ResourceManager::TexList Texture added: wall_up.bmp32 with id = 42
|
||||
ResourceManager::TexList Texture added: wall_bonus.bmp32 with id = 43
|
||||
ResourceManager::TexList Texture added: reflector.bmp32 with id = 44
|
||||
ResourceManager::TexList Texture added: back_btn.bmp32 with id = 45
|
||||
ResourceManager::TexList Texture added: slide_up_btn.bmp32 with id = 46
|
||||
ResourceManager::TexList Texture added: tap_to_continue_btn.bmp32 with id = 47
|
||||
ResourceManager::TexList Texture added: credits.bmp32 with id = 48
|
||||
Projection:
|
||||
0.00416667 0 0 0 0 0.00625 0 0 0 0 -1 0 -1 -1 0 1
|
||||
Modelview:
|
||||
1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
|
||||
ProjectonModelview:
|
||||
0.00416667 0 0 0 0 0.00625 0 0 0 0 -1 0 -1 -1 0 1
|
||||
Program prepares to quit
|
||||
APP DEINIT
|
||||
Deinit Sound Manager!
|
||||
Buffer thread over!
|
||||
Unlock processSoundListMutex to destroy buffering thread!
|
||||
No more music and no sounds. Lock sound thread!
|
||||
Sound thread over!
|
||||
Unlock SoundThreadMutex to destroy sound thread!
|
||||
ResourceManager::FrameManager deleting
|
||||
ResourceManager::ShaderManager::Shader deleting
|
||||
ResourceManager::ShaderManager::Shader deleting
|
||||
ResourceManager::ShaderManager::Shader deleting
|
||||
ResourceManager::ShaderManager deleting
|
||||
ResourceManager::TexList cleared
|
||||
ResourceManager::TexList deleting
|
||||
HalibutRender::deleting
|
||||
|
||||
2017-Nov-13 16:11:17: ResourceManager::ShaderManager::Shader WARNING: 0:1: 'precision' : symbol not available in current GLSL version
|
||||
WARNING: 0:1: 'mediump' : symbol not available in current GLSL version
|
||||
WARNING: 0:2: '' : #version directive missing
|
||||
|
||||
|
||||
2017-Nov-13 16:11:17: Shader program is - 6
|
||||
2017-Nov-13 16:11:17: ResourceManager::ShaderManager::Shader
|
||||
2017-Nov-13 16:11:17: ResourceManager::ShaderManager shader loaded: FrameShader
|
||||
2017-Nov-13 16:11:17: Prepare to add shader BrickShader
|
||||
2017-Nov-13 16:11:17: ResourceManager::ShaderManager::Shader WARNING: 0:2: '' : #version directive missing
|
||||
|
||||
|
||||
2017-Nov-13 16:11:17: ResourceManager::ShaderManager::Shader WARNING: 0:1: 'precision' : symbol not available in current GLSL version
|
||||
WARNING: 0:1: 'mediump' : symbol not available in current GLSL version
|
||||
WARNING: 0:2: '' : #version directive missing
|
||||
|
||||
|
||||
2017-Nov-13 16:11:17: Shader program is - 9
|
||||
2017-Nov-13 16:11:17: ResourceManager::ShaderManager::Shader
|
||||
2017-Nov-13 16:11:17: ResourceManager::ShaderManager shader loaded: BrickShader
|
||||
2017-Nov-13 16:11:17: ResourceManager::TexList Texture added: loading with id = 1
|
||||
2017-Nov-13 16:11:17: ResourceManager::TexList Texture added: logo_small with id = 2
|
||||
2017-Nov-13 16:11:17: ResourceManager::TexList Texture added: console_bkg.bmp with id = 3
|
||||
2017-Nov-13 16:11:17: FrameManager:: frame buffer added: LevelBuffer
|
||||
2017-Nov-13 16:11:18: ResourceManager::TexList Texture added: droid_sans14_font_bitmap.png with id = 5
|
||||
2017-Nov-13 16:11:18: ResourceManager::TexList Texture added: main_menu_bkg_left with id = 6
|
||||
2017-Nov-13 16:11:18: ResourceManager::TexList Texture added: main_menu_bkg_right with id = 7
|
||||
2017-Nov-13 16:11:18: ResourceManager::TexList Texture added: select_level with id = 8
|
||||
2017-Nov-13 16:11:18: ResourceManager::TexList Texture added: shutterstock1 with id = 9
|
||||
2017-Nov-13 16:11:18: ResourceManager::TexList Texture added: shutterstock2 with id = 10
|
||||
2017-Nov-13 16:11:18: ResourceManager::TexList Texture added: shutterstock3 with id = 11
|
||||
2017-Nov-13 16:11:18: ResourceManager::TexList Texture added: shutterstock4 with id = 12
|
||||
2017-Nov-13 16:11:18: ResourceManager::TexList Texture added: shutterstock5 with id = 13
|
||||
2017-Nov-13 16:11:18: ResourceManager::TexList Texture added: shutterstock6 with id = 14
|
||||
2017-Nov-13 16:11:18: ResourceManager::TexList Texture added: shutterstock7 with id = 15
|
||||
2017-Nov-13 16:11:19: ResourceManager::TexList Texture added: shutterstock8 with id = 16
|
||||
2017-Nov-13 16:11:19: ResourceManager::TexList Texture added: shutterstock9 with id = 17
|
||||
2017-Nov-13 16:11:19: ResourceManager::TexList Texture added: shutterstock10 with id = 18
|
||||
2017-Nov-13 16:11:19: ResourceManager::TexList Texture added: shutterstock11 with id = 19
|
||||
2017-Nov-13 16:11:19: Outer Deinit
|
||||
2017-Nov-13 16:11:19: APP DEINIT
|
||||
|
||||
2017-Nov-13 16:11:19: Program prepares to quit
|
||||
2017-Nov-13 16:11:19: HalibutAnimationManager deleting...
|
||||
2017-Nov-13 16:11:19: GUI Manager deleting...
|
||||
2017-Nov-13 16:11:19: TFontManager deleting...
|
||||
2017-Nov-13 16:11:19: Script manager shutdown
|
||||
2017-Nov-13 16:11:19: ResourceManager::FrameManager deleting
|
||||
2017-Nov-13 16:11:19: ResourceManager::ShaderManager::Shader deleting
|
||||
2017-Nov-13 16:11:19: ResourceManager::ShaderManager::Shader deleting
|
||||
2017-Nov-13 16:11:19: ResourceManager::ShaderManager::Shader deleting
|
||||
2017-Nov-13 16:11:19: ResourceManager::ShaderManager cleared
|
||||
2017-Nov-13 16:11:19: ResourceManager::ShaderManager deleting
|
||||
2017-Nov-13 16:11:19: ResourceManager::ModelManager deleting
|
||||
2017-Nov-13 16:11:19: ResourceManager::TexList cleared
|
||||
2017-Nov-13 16:11:19: ResourceManager::TexList deleting
|
||||
|
@ -1,32 +1,105 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual C++ Express 2010
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 14.0.25420.1
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DoubleHitBalls-win", "DoubleHitBalls-win\DoubleHitBalls-win.vcxproj", "{1CC98EEE-BBCB-4D79-B6D7-8511789172C5}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{48ADCE9F-9539-4D3A-BCFA-C2ABABAF0B20} = {48ADCE9F-9539-4D3A-BCFA-C2ABABAF0B20}
|
||||
{534F100C-E611-43BF-B6F3-AD9F9925F703} = {534F100C-E611-43BF-B6F3-AD9F9925F703}
|
||||
{03736B28-58F6-4AEA-9D37-B6AC4F5F853B} = {03736B28-58F6-4AEA-9D37-B6AC4F5F853B}
|
||||
{A05BADE1-D792-4620-9928-13A7AFD0F195} = {A05BADE1-D792-4620-9928-13A7AFD0F195}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Salmon Engine", "..\..\..\..\Engine\Salmon Engine\Salmon Engine.vcxproj", "{48ADCE9F-9539-4D3A-BCFA-C2ABABAF0B20}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Engine", "..\..\..\tes-engine\windows\Engine\Engine.vcxproj", "{534F100C-E611-43BF-B6F3-AD9F9925F703}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libjpeg", "..\..\..\tes-engine\windows\libjpeg\libjpeg.vcxproj", "{A05BADE1-D792-4620-9928-13A7AFD0F195}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libpng", "..\..\..\tes-engine\windows\libpng\libpng.vcxproj", "{03736B28-58F6-4AEA-9D37-B6AC4F5F853B}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug_nosound|Win32 = Debug_nosound|Win32
|
||||
Debug_nosound|x64 = Debug_nosound|x64
|
||||
Debug_nosound|x644 = Debug_nosound|x644
|
||||
Debug|Win32 = Debug|Win32
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x644 = Debug|x644
|
||||
Release|Win32 = Release|Win32
|
||||
Release|x64 = Release|x64
|
||||
Release|x644 = Release|x644
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{1CC98EEE-BBCB-4D79-B6D7-8511789172C5}.Debug_nosound|Win32.ActiveCfg = Debug|Win32
|
||||
{1CC98EEE-BBCB-4D79-B6D7-8511789172C5}.Debug_nosound|Win32.Build.0 = Debug|Win32
|
||||
{1CC98EEE-BBCB-4D79-B6D7-8511789172C5}.Debug_nosound|x64.ActiveCfg = Debug|x64
|
||||
{1CC98EEE-BBCB-4D79-B6D7-8511789172C5}.Debug_nosound|x64.Build.0 = Debug|x64
|
||||
{1CC98EEE-BBCB-4D79-B6D7-8511789172C5}.Debug_nosound|x644.ActiveCfg = Release|Win32
|
||||
{1CC98EEE-BBCB-4D79-B6D7-8511789172C5}.Debug_nosound|x644.Build.0 = Release|Win32
|
||||
{1CC98EEE-BBCB-4D79-B6D7-8511789172C5}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{1CC98EEE-BBCB-4D79-B6D7-8511789172C5}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{1CC98EEE-BBCB-4D79-B6D7-8511789172C5}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{1CC98EEE-BBCB-4D79-B6D7-8511789172C5}.Debug|x64.Build.0 = Debug|x64
|
||||
{1CC98EEE-BBCB-4D79-B6D7-8511789172C5}.Debug|x644.ActiveCfg = Debug|Win32
|
||||
{1CC98EEE-BBCB-4D79-B6D7-8511789172C5}.Debug|x644.Build.0 = Debug|Win32
|
||||
{1CC98EEE-BBCB-4D79-B6D7-8511789172C5}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{1CC98EEE-BBCB-4D79-B6D7-8511789172C5}.Release|Win32.Build.0 = Release|Win32
|
||||
{48ADCE9F-9539-4D3A-BCFA-C2ABABAF0B20}.Debug_nosound|Win32.ActiveCfg = Debug_nosound|Win32
|
||||
{48ADCE9F-9539-4D3A-BCFA-C2ABABAF0B20}.Debug_nosound|Win32.Build.0 = Debug_nosound|Win32
|
||||
{48ADCE9F-9539-4D3A-BCFA-C2ABABAF0B20}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{48ADCE9F-9539-4D3A-BCFA-C2ABABAF0B20}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{48ADCE9F-9539-4D3A-BCFA-C2ABABAF0B20}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{48ADCE9F-9539-4D3A-BCFA-C2ABABAF0B20}.Release|Win32.Build.0 = Release|Win32
|
||||
{1CC98EEE-BBCB-4D79-B6D7-8511789172C5}.Release|x64.ActiveCfg = Release|x64
|
||||
{1CC98EEE-BBCB-4D79-B6D7-8511789172C5}.Release|x64.Build.0 = Release|x64
|
||||
{1CC98EEE-BBCB-4D79-B6D7-8511789172C5}.Release|x644.ActiveCfg = Release|Win32
|
||||
{534F100C-E611-43BF-B6F3-AD9F9925F703}.Debug_nosound|Win32.ActiveCfg = Debug|Win32
|
||||
{534F100C-E611-43BF-B6F3-AD9F9925F703}.Debug_nosound|Win32.Build.0 = Debug|Win32
|
||||
{534F100C-E611-43BF-B6F3-AD9F9925F703}.Debug_nosound|x64.ActiveCfg = Debug|x64
|
||||
{534F100C-E611-43BF-B6F3-AD9F9925F703}.Debug_nosound|x64.Build.0 = Debug|x64
|
||||
{534F100C-E611-43BF-B6F3-AD9F9925F703}.Debug_nosound|x644.ActiveCfg = Debug|x64
|
||||
{534F100C-E611-43BF-B6F3-AD9F9925F703}.Debug_nosound|x644.Build.0 = Debug|x64
|
||||
{534F100C-E611-43BF-B6F3-AD9F9925F703}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{534F100C-E611-43BF-B6F3-AD9F9925F703}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{534F100C-E611-43BF-B6F3-AD9F9925F703}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{534F100C-E611-43BF-B6F3-AD9F9925F703}.Debug|x64.Build.0 = Debug|x64
|
||||
{534F100C-E611-43BF-B6F3-AD9F9925F703}.Debug|x644.ActiveCfg = Debug|x64
|
||||
{534F100C-E611-43BF-B6F3-AD9F9925F703}.Debug|x644.Build.0 = Debug|x64
|
||||
{534F100C-E611-43BF-B6F3-AD9F9925F703}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{534F100C-E611-43BF-B6F3-AD9F9925F703}.Release|Win32.Build.0 = Release|Win32
|
||||
{534F100C-E611-43BF-B6F3-AD9F9925F703}.Release|x64.ActiveCfg = Release|x64
|
||||
{534F100C-E611-43BF-B6F3-AD9F9925F703}.Release|x64.Build.0 = Release|x64
|
||||
{534F100C-E611-43BF-B6F3-AD9F9925F703}.Release|x644.ActiveCfg = Release|x64
|
||||
{534F100C-E611-43BF-B6F3-AD9F9925F703}.Release|x644.Build.0 = Release|x64
|
||||
{A05BADE1-D792-4620-9928-13A7AFD0F195}.Debug_nosound|Win32.ActiveCfg = Debug|Win32
|
||||
{A05BADE1-D792-4620-9928-13A7AFD0F195}.Debug_nosound|Win32.Build.0 = Debug|Win32
|
||||
{A05BADE1-D792-4620-9928-13A7AFD0F195}.Debug_nosound|x64.ActiveCfg = Debug|x64
|
||||
{A05BADE1-D792-4620-9928-13A7AFD0F195}.Debug_nosound|x64.Build.0 = Debug|x64
|
||||
{A05BADE1-D792-4620-9928-13A7AFD0F195}.Debug_nosound|x644.ActiveCfg = Debug|x64
|
||||
{A05BADE1-D792-4620-9928-13A7AFD0F195}.Debug_nosound|x644.Build.0 = Debug|x64
|
||||
{A05BADE1-D792-4620-9928-13A7AFD0F195}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{A05BADE1-D792-4620-9928-13A7AFD0F195}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{A05BADE1-D792-4620-9928-13A7AFD0F195}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{A05BADE1-D792-4620-9928-13A7AFD0F195}.Debug|x64.Build.0 = Debug|x64
|
||||
{A05BADE1-D792-4620-9928-13A7AFD0F195}.Debug|x644.ActiveCfg = Debug|x64
|
||||
{A05BADE1-D792-4620-9928-13A7AFD0F195}.Debug|x644.Build.0 = Debug|x64
|
||||
{A05BADE1-D792-4620-9928-13A7AFD0F195}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{A05BADE1-D792-4620-9928-13A7AFD0F195}.Release|Win32.Build.0 = Release|Win32
|
||||
{A05BADE1-D792-4620-9928-13A7AFD0F195}.Release|x64.ActiveCfg = Release|x64
|
||||
{A05BADE1-D792-4620-9928-13A7AFD0F195}.Release|x64.Build.0 = Release|x64
|
||||
{A05BADE1-D792-4620-9928-13A7AFD0F195}.Release|x644.ActiveCfg = Release|x64
|
||||
{A05BADE1-D792-4620-9928-13A7AFD0F195}.Release|x644.Build.0 = Release|x64
|
||||
{03736B28-58F6-4AEA-9D37-B6AC4F5F853B}.Debug_nosound|Win32.ActiveCfg = Debug|Win32
|
||||
{03736B28-58F6-4AEA-9D37-B6AC4F5F853B}.Debug_nosound|Win32.Build.0 = Debug|Win32
|
||||
{03736B28-58F6-4AEA-9D37-B6AC4F5F853B}.Debug_nosound|x64.ActiveCfg = Debug|x64
|
||||
{03736B28-58F6-4AEA-9D37-B6AC4F5F853B}.Debug_nosound|x64.Build.0 = Debug|x64
|
||||
{03736B28-58F6-4AEA-9D37-B6AC4F5F853B}.Debug_nosound|x644.ActiveCfg = Debug|x64
|
||||
{03736B28-58F6-4AEA-9D37-B6AC4F5F853B}.Debug_nosound|x644.Build.0 = Debug|x64
|
||||
{03736B28-58F6-4AEA-9D37-B6AC4F5F853B}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{03736B28-58F6-4AEA-9D37-B6AC4F5F853B}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{03736B28-58F6-4AEA-9D37-B6AC4F5F853B}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{03736B28-58F6-4AEA-9D37-B6AC4F5F853B}.Debug|x64.Build.0 = Debug|x64
|
||||
{03736B28-58F6-4AEA-9D37-B6AC4F5F853B}.Debug|x644.ActiveCfg = Debug|x64
|
||||
{03736B28-58F6-4AEA-9D37-B6AC4F5F853B}.Debug|x644.Build.0 = Debug|x64
|
||||
{03736B28-58F6-4AEA-9D37-B6AC4F5F853B}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{03736B28-58F6-4AEA-9D37-B6AC4F5F853B}.Release|Win32.Build.0 = Release|Win32
|
||||
{03736B28-58F6-4AEA-9D37-B6AC4F5F853B}.Release|x64.ActiveCfg = Release|x64
|
||||
{03736B28-58F6-4AEA-9D37-B6AC4F5F853B}.Release|x64.Build.0 = Release|x64
|
||||
{03736B28-58F6-4AEA-9D37-B6AC4F5F853B}.Release|x644.ActiveCfg = Release|x64
|
||||
{03736B28-58F6-4AEA-9D37-B6AC4F5F853B}.Release|x644.Build.0 = Release|x64
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
@ -1,14 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{1CC98EEE-BBCB-4D79-B6D7-8511789172C5}</ProjectGuid>
|
||||
@ -20,12 +28,27 @@
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
@ -33,20 +56,36 @@
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<IncludePath>$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSdkDir)include;$(FrameworkSDKDir)\include;$(SalmonEnginePath)include</IncludePath>
|
||||
<LibraryPath>$(VCInstallDir)lib;$(VCInstallDir)atlmfc\lib;$(WindowsSdkDir)lib;$(FrameworkSDKDir)\lib;$(SalmonEnginePath)$(Configuration)</LibraryPath>
|
||||
<IncludePath>$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath>
|
||||
<LibraryPath>$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(NETFXKitsDir)Lib\um\x64</LibraryPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<IncludePath>$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath>
|
||||
<LibraryPath>$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(NETFXKitsDir)Lib\um\x64</LibraryPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<IncludePath>$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSdkDir)include;$(FrameworkSDKDir)\include;$(SalmonEnginePath)include</IncludePath>
|
||||
<LibraryPath>$(VCInstallDir)lib;$(VCInstallDir)atlmfc\lib;$(WindowsSdkDir)lib;$(FrameworkSDKDir)\lib;$(SalmonEnginePath)$(Configuration)</LibraryPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<IncludePath>$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath>
|
||||
<LibraryPath>$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(NETFXKitsDir)Lib\um\x64</LibraryPath>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
@ -54,14 +93,31 @@
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;TARGET_WIN32;_WIN32_WINNT=0x0501;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>$(SalmonEnginePath);$(LibsPath)\boost_1_52_0;$(LibsPath)\libogg-1.3.0\include;$(LibsPath)\libvorbis-1.3.2\include;$(LibsPath)\sqplus\sqplus;$(LibsPath)\sqplus\include;$(LibsPath)\DirectXsdk\Include;$(LibsPath)\lpng1510;$(SolutionDir)\..\..\jni;</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories>../../../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/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>
|
||||
<DisableSpecificWarnings>4503</DisableSpecificWarnings>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalLibraryDirectories>$(LibsPath)\boost_1_52_0\boost_windows\libs_engine\$(Configuration);$(LibsPath)\libogg-1.3.0\win32\VS2010\Win32\$(Configuration);$(LibsPath)\libvorbis-1.3.2\win32\VS2010\Win32\$(Configuration);$(LibsPath)\sqplus\lib;$(LibsPath)\DirectXsdk\Lib\x86;$(LibsPath)\lpng1510\projects\vstudio\Debug Library</AdditionalLibraryDirectories>
|
||||
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;opengl32.lib;glu32.lib;Salmon Engine.lib;libogg_static.lib;libvorbis_static.lib;libvorbisfile_static.lib;zlib.lib;libpng15.lib;dsound.lib;dxguid.lib;sqplusD.lib;squirrelD.lib;sqdbglibD.lib;sqstdlibD.lib</AdditionalDependencies>
|
||||
<AdditionalLibraryDirectories>../../../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/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</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>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<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_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/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>
|
||||
<DisableSpecificWarnings>4503</DisableSpecificWarnings>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalLibraryDirectories>../../../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/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</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>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
@ -85,21 +141,42 @@
|
||||
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;opengl32.lib;glu32.lib;Salmon Engine.lib;libogg_static.lib;libvorbis_static.lib;libvorbisfile_static.lib;zlib.lib;libpng15.lib;dsound.lib;dxguid.lib;sqplus.lib;squirrel.lib;sqdbglib.lib;sqstdlib.lib</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;TARGET_WIN32;_WIN32_WINNT=0x0501;WIN32_LEAN_AND_MEAN;EIGEN_DONT_ALIGN_STATICALLY;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>../../../game;../../../../tes-engine;../../../../eigen;../../../../boost_1_63_0/;../../../../boost_1_63_0/bin.v2/libs/system/build/msvc-14.0/release/address-model-64/link-static/threading-multi;../../../../boost_1_63_0/bin.v2/libs/date_time/build/msvc-14.0/release/address-model-64/link-static/threading-multi/;../../../../boost_1_63_0/bin.v2/libs/regex/build/msvc-14.0/release/address-model-64/link-static/threading-multi;../../../../boost_1_63_0/bin.v2/libs/thread/build/msvc-14.0/release/address-model-64/link-static/threading-multi;../../../../boost_1_63_0/bin.v2/libs/chrono/build/msvc-14.0/release/address-model-64/link-static/threading-multi;../../../../boost_1_63_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</AdditionalIncludeDirectories>
|
||||
<DisableSpecificWarnings>4503</DisableSpecificWarnings>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<AdditionalLibraryDirectories>../../../game;../../../../tes-engine;../../../../eigen;../../../../boost_1_63_0/;../../../../boost_1_63_0/bin.v2/libs/system/build/msvc-14.0/release/address-model-64/link-static/threading-multi;../../../../boost_1_63_0/bin.v2/libs/date_time/build/msvc-14.0/release/address-model-64/link-static/threading-multi/;../../../../boost_1_63_0/bin.v2/libs/regex/build/msvc-14.0/release/address-model-64/link-static/threading-multi;../../../../boost_1_63_0/bin.v2/libs/thread/build/msvc-14.0/release/address-model-64/link-static/threading-multi;../../../../boost_1_63_0/bin.v2/libs/chrono/build/msvc-14.0/release/address-model-64/link-static/threading-multi;../../../../boost_1_63_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</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>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\..\jni\creditscode.cpp" />
|
||||
<ClCompile Include="..\..\..\jni\gamecode.cpp" />
|
||||
<ClCompile Include="..\..\..\jni\loadingcode.cpp" />
|
||||
<ClCompile Include="..\..\..\jni\main_code.cpp" />
|
||||
<ClCompile Include="..\..\..\jni\menucode.cpp" />
|
||||
<ClCompile Include="..\..\..\game\creditscode.cpp" />
|
||||
<ClCompile Include="..\..\..\game\gamecode.cpp" />
|
||||
<ClCompile Include="..\..\..\game\loadingcode.cpp" />
|
||||
<ClCompile Include="..\..\..\game\main_code.cpp" />
|
||||
<ClCompile Include="..\..\..\game\menucode.cpp" />
|
||||
<ClCompile Include="main.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\..\jni\creditscode.h" />
|
||||
<ClInclude Include="..\..\..\jni\gamecode.h" />
|
||||
<ClInclude Include="..\..\..\jni\game_area_interface.h" />
|
||||
<ClInclude Include="..\..\..\jni\loadingcode.h" />
|
||||
<ClInclude Include="..\..\..\jni\main_code.h" />
|
||||
<ClInclude Include="..\..\..\jni\menucode.h" />
|
||||
<ClInclude Include="..\..\..\game\creditscode.h" />
|
||||
<ClInclude Include="..\..\..\game\gamecode.h" />
|
||||
<ClInclude Include="..\..\..\game\game_area_interface.h" />
|
||||
<ClInclude Include="..\..\..\game\loadingcode.h" />
|
||||
<ClInclude Include="..\..\..\game\main_code.h" />
|
||||
<ClInclude Include="..\..\..\game\menucode.h" />
|
||||
<ClInclude Include="main.h" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
|
@ -18,19 +18,19 @@
|
||||
<ClCompile Include="main.cpp">
|
||||
<Filter>Файлы исходного кода</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\jni\creditscode.cpp">
|
||||
<ClCompile Include="..\..\..\game\main_code.cpp">
|
||||
<Filter>Файлы исходного кода</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\jni\gamecode.cpp">
|
||||
<ClCompile Include="..\..\..\game\menucode.cpp">
|
||||
<Filter>Файлы исходного кода</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\jni\loadingcode.cpp">
|
||||
<ClCompile Include="..\..\..\game\creditscode.cpp">
|
||||
<Filter>Файлы исходного кода</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\jni\main_code.cpp">
|
||||
<ClCompile Include="..\..\..\game\gamecode.cpp">
|
||||
<Filter>Файлы исходного кода</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\jni\menucode.cpp">
|
||||
<ClCompile Include="..\..\..\game\loadingcode.cpp">
|
||||
<Filter>Файлы исходного кода</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
@ -38,22 +38,22 @@
|
||||
<ClInclude Include="main.h">
|
||||
<Filter>Заголовочные файлы</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\jni\loadingcode.h">
|
||||
<ClInclude Include="..\..\..\game\main_code.h">
|
||||
<Filter>Заголовочные файлы</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\jni\main_code.h">
|
||||
<ClInclude Include="..\..\..\game\menucode.h">
|
||||
<Filter>Заголовочные файлы</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\jni\menucode.h">
|
||||
<ClInclude Include="..\..\..\game\creditscode.h">
|
||||
<Filter>Заголовочные файлы</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\jni\creditscode.h">
|
||||
<ClInclude Include="..\..\..\game\game_area_interface.h">
|
||||
<Filter>Заголовочные файлы</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\jni\game_area_interface.h">
|
||||
<ClInclude Include="..\..\..\game\gamecode.h">
|
||||
<Filter>Заголовочные файлы</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\jni\gamecode.h">
|
||||
<ClInclude Include="..\..\..\game\loadingcode.h">
|
||||
<Filter>Заголовочные файлы</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -2,7 +2,7 @@
|
||||
|
||||
#include "main_code.h"
|
||||
|
||||
TAndroidApplication* App = NULL;
|
||||
TMyApplication* App = NULL;
|
||||
|
||||
int APIENTRY WinMain(HINSTANCE hCurrentInst, HINSTANCE hPreviousInst,
|
||||
LPSTR lpszCmdLine, int nCmdShow)
|
||||
@ -11,11 +11,11 @@ int APIENTRY WinMain(HINSTANCE hCurrentInst, HINSTANCE hPreviousInst,
|
||||
int width = 480;
|
||||
int height = 320;
|
||||
|
||||
|
||||
if (CreateEngine(width, height))
|
||||
{
|
||||
|
||||
|
||||
App = new TAndroidApplication;
|
||||
App = new TMyApplication;
|
||||
|
||||
App->OuterInit(width, height, width, height);
|
||||
|
||||
|
@ -1,6 +1,8 @@
|
||||
#pragma once
|
||||
#include <iostream>
|
||||
|
||||
#include "include/Engine.h"
|
||||
|
||||
#define NOMINMAX 1
|
||||
#include <Windows.h>
|
||||
#undef NOMINMAX
|
@ -1 +1 @@
|
||||
9
|
||||
11
|
Loading…
Reference in New Issue
Block a user