migrate to TES-engine
This commit is contained in:
parent
b4c58abee4
commit
d97dab0ecc
@ -58,35 +58,60 @@ struct TOnClickTest
|
|||||||
void TMyApplication::InnerInit()
|
void TMyApplication::InnerInit()
|
||||||
{
|
{
|
||||||
#ifdef TARGET_ANDROID
|
#ifdef TARGET_ANDROID
|
||||||
ResourceManager->PathToResources = "";
|
SE::ST::PathToResources = "";
|
||||||
#endif
|
#endif
|
||||||
#ifdef TARGET_WIN32
|
#ifdef TARGET_WIN32
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
ResourceManager->PathToResources = "../../assets/";
|
SE::ST::PathToResources = "../../assets/";
|
||||||
#else
|
#else
|
||||||
ResourceManager->PathToResources = "res/";
|
SE::ST::PathToResources = "res/";
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#ifdef TARGET_IOS
|
#ifdef TARGET_IOS
|
||||||
ResourceManager->PathToResources = "assets/";
|
SE::ST::PathToResources = "assets/";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
boost::shared_ptr<boost::property_tree::ptree> px = FileToPropertyTree("function_info_list.xml");
|
if (SE::Console != nullptr) {
|
||||||
|
*SE::Console << "APP INIT\n";
|
||||||
|
}
|
||||||
|
|
||||||
ResourceManager->ScriptManager.Serialize(*px);
|
SE::ResourceManager->ShaderManager.AddShader("DefaultShader", "shader1vertex.txt", "shader1fragment.txt");
|
||||||
|
SE::ResourceManager->ShaderManager.AddShader("FrameShader", "frameshader_vertex.txt", "frameshader_fragment.txt");
|
||||||
|
SE::ResourceManager->ShaderManager.AddShader("BrickShader", "brickshader_vertex.txt", "brickshader_fragment.txt");
|
||||||
|
SE::Renderer->PushShader("DefaultShader");
|
||||||
|
|
||||||
px = FileToPropertyTree("shaders.xml");
|
const std::string CONST_LOADING_BACKGROUND_BLACK = "loading_background_black";
|
||||||
ResourceManager->ShaderManager.Serialize(*px);
|
const std::string CONST_LOADING_TEXTURE = "loading";
|
||||||
|
const std::string CONST_LOGO_SMALL_TEXTURE = "logo_small";
|
||||||
|
|
||||||
HalibutRender->PushShader("DefaultShader");
|
SE::ResourceManager->TexList.AddTexture(CONST_LOADING_BACKGROUND_BLACK + ".png", CONST_LOADING_BACKGROUND_BLACK);
|
||||||
|
SE::ResourceManager->TexList.AddTexture(CONST_LOADING_TEXTURE + ".png", CONST_LOADING_TEXTURE);
|
||||||
|
SE::ResourceManager->TexList.AddTexture(CONST_LOGO_SMALL_TEXTURE + ".png", CONST_LOGO_SMALL_TEXTURE);
|
||||||
|
|
||||||
px = FileToPropertyTree("textures.xml");
|
SE::ResourceManager->TexList.AddTexture("console_bkg.bmp");
|
||||||
ResourceManager->TexList.Serialize(*px);
|
|
||||||
|
|
||||||
px = FileToPropertyTree("fonts.xml");
|
SE::ResourceManager->FrameManager.AddFrameRenderBuffer("LevelBuffer", 512, 512);
|
||||||
ResourceManager->FontManager.Serialize(*px);
|
|
||||||
ResourceManager->FontManager.PushFont("droid_sans14");
|
|
||||||
|
|
||||||
|
Inited = true;
|
||||||
|
|
||||||
|
SE::Renderer->SetOrthoProjection();
|
||||||
|
|
||||||
|
SE::Renderer->SetFullScreenViewport();
|
||||||
|
|
||||||
|
|
||||||
|
auto px = SE::FileToPropertyTree("shaders.xml");
|
||||||
|
SE::ResourceManager->ShaderManager.Serialize(*px);
|
||||||
|
|
||||||
|
px = SE::FileToPropertyTree("textures.xml");
|
||||||
|
SE::ResourceManager->TexList.Serialize(*px);
|
||||||
|
|
||||||
|
//this cause exception
|
||||||
|
//px = SE::FileToPropertyTree("fonts.xml");
|
||||||
|
//SE::ResourceManager->FontManager.Serialize(*px);
|
||||||
|
//SE::ResourceManager->FontManager.PushFont("droid_sans14");
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
ResourceManager->GUIManager.AddWidgetAndFill(boost::shared_ptr<TInstancingWidgetAncestor>(new TSquareButton),
|
ResourceManager->GUIManager.AddWidgetAndFill(boost::shared_ptr<TInstancingWidgetAncestor>(new TSquareButton),
|
||||||
"ololo", "group1",
|
"ololo", "group1",
|
||||||
@ -104,6 +129,8 @@ void TMyApplication::InnerInit()
|
|||||||
ResourceManager->GUIManager.MoveWidget("ololo", vec2(-100, 0));
|
ResourceManager->GUIManager.MoveWidget("ololo", vec2(-100, 0));
|
||||||
|
|
||||||
TOnClickTest OnClickTest;
|
TOnClickTest OnClickTest;
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
//ResourceManager->GUIManager.GetOnClickSignal("ololo").connect(OnClickTest);
|
//ResourceManager->GUIManager.GetOnClickSignal("ololo").connect(OnClickTest);
|
||||||
|
|
||||||
@ -136,6 +163,6 @@ void TMyApplication::InnerDraw()
|
|||||||
}
|
}
|
||||||
|
|
||||||
//What to do on update. timer means how many ms passed since last update
|
//What to do on update. timer means how many ms passed since last update
|
||||||
void TMyApplication::InnerUpdate(cardinal timer)
|
void TMyApplication::InnerUpdate(size_t timer)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
#include "match3/match3field.h"
|
#include "match3/match3field.h"
|
||||||
|
|
||||||
|
class TMatch3Field;
|
||||||
|
|
||||||
class TMatch3Controller
|
class TMatch3Controller
|
||||||
{
|
{
|
||||||
@ -35,7 +36,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
//Application class
|
//Application class
|
||||||
class TMyApplication : public TApplication
|
class TMyApplication : public SE::TApplication
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
bool Inited;
|
bool Inited;
|
||||||
@ -53,7 +54,7 @@ public:
|
|||||||
virtual void InnerDraw();
|
virtual void InnerDraw();
|
||||||
//What to do on draw
|
//What to do on draw
|
||||||
|
|
||||||
virtual void InnerUpdate(cardinal timer);
|
virtual void InnerUpdate(size_t timer);
|
||||||
//What to do on update. timer means how many ms passed since last update
|
//What to do on update. timer means how many ms passed since last update
|
||||||
};
|
};
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -2,11 +2,12 @@
|
|||||||
#define MATCH3FIELD_H_INCLUDED
|
#define MATCH3FIELD_H_INCLUDED
|
||||||
|
|
||||||
#include "include/Engine.h"
|
#include "include/Engine.h"
|
||||||
|
#include <Eigen/src/Core/Matrix.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const cardinal CONST_MAX_FIELD_WIDTH = 11;
|
const size_t CONST_MAX_FIELD_WIDTH = 11;
|
||||||
const cardinal CONST_MAX_FIELD_HEIGHT = 11;
|
const size_t CONST_MAX_FIELD_HEIGHT = 11;
|
||||||
|
|
||||||
|
|
||||||
const float CONST_MATCH3_CELL_WIDTH = 42.f;
|
const float CONST_MATCH3_CELL_WIDTH = 42.f;
|
||||||
@ -20,7 +21,7 @@ const float CONST_MATCH3_CELL_HEIGHT = 32.f;
|
|||||||
const float CONST_CHIP_LOWEST_SPEED = -0.3f;
|
const float CONST_CHIP_LOWEST_SPEED = -0.3f;
|
||||||
const float CONST_CHIP_ACCELERATION = -0.001f;
|
const float CONST_CHIP_ACCELERATION = -0.001f;
|
||||||
*/
|
*/
|
||||||
const cardinal CONST_MATCH_TIME = 150;
|
const size_t CONST_MATCH_TIME = 150;
|
||||||
|
|
||||||
const float CONST_CHIP_POSITION_EPSILON = 1.f;
|
const float CONST_CHIP_POSITION_EPSILON = 1.f;
|
||||||
const float CONST_CHIP_VELOCITY_EPSILON = 0.3f;
|
const float CONST_CHIP_VELOCITY_EPSILON = 0.3f;
|
||||||
@ -28,25 +29,24 @@ const float CONST_CHIP_VELOCITY_EPSILON = 0.3f;
|
|||||||
|
|
||||||
const float CONST_CHIP_K = 0.4f;
|
const float CONST_CHIP_K = 0.4f;
|
||||||
|
|
||||||
const cardinal CONST_CHIP_TYPE_COUNT = 4;
|
const size_t CONST_CHIP_TYPE_COUNT = 4;
|
||||||
|
|
||||||
|
|
||||||
struct TChipTemplateParams : public TSerializeInterface
|
struct TChipTemplateParams : public SE::TSerializeInterface
|
||||||
{
|
{
|
||||||
THalibutExternalAnimObject SelectedTemplateAnimObject;
|
SE::THalibutExternalAnimObject SelectedTemplateAnimObject;
|
||||||
THalibutExternalAnimObject FinishingTemplateAnimObject;
|
SE::THalibutExternalAnimObject FinishingTemplateAnimObject;
|
||||||
TRenderParams SelectedRenderParams;
|
SE::TRenderParams SelectedRenderParams;
|
||||||
TRenderParams FinishingRenderParams;
|
SE::TRenderParams FinishingRenderParams;
|
||||||
|
|
||||||
virtual void Serialize(boost::property_tree::ptree& propertyTree);
|
virtual void Serialize(boost::property_tree::ptree& propertyTree);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct TMatch3FieldParams : public SE::TSerializeInterface
|
||||||
struct TMatch3FieldParams : public TSerializeInterface
|
|
||||||
{
|
{
|
||||||
cardinal FieldWidth;
|
size_t FieldWidth;
|
||||||
cardinal FieldHeight;
|
size_t FieldHeight;
|
||||||
float CellWidth;
|
float CellWidth;
|
||||||
float CellHeight;
|
float CellHeight;
|
||||||
float ChipLowestSpeed;
|
float ChipLowestSpeed;
|
||||||
@ -55,9 +55,9 @@ struct TMatch3FieldParams : public TSerializeInterface
|
|||||||
float ChipPositionEpsilon;
|
float ChipPositionEpsilon;
|
||||||
float ChipVelocityEpsilon;
|
float ChipVelocityEpsilon;
|
||||||
float ChipK;
|
float ChipK;
|
||||||
cardinal ChipMatchTime;
|
size_t ChipMatchTime;
|
||||||
|
|
||||||
cardinal ChipTypeCount;
|
size_t ChipTypeCount;
|
||||||
|
|
||||||
std::vector<TChipTemplateParams> ChipTemplateParamsArr;
|
std::vector<TChipTemplateParams> ChipTemplateParamsArr;
|
||||||
|
|
||||||
@ -82,15 +82,14 @@ struct TMatch3FieldParams : public TSerializeInterface
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
struct TChip
|
struct TChip
|
||||||
{
|
{
|
||||||
int ChipType; // -1 means empty field
|
int ChipType; // -1 means empty field
|
||||||
std::string AnimName; //Generated automatically
|
std::string AnimName; //Generated automatically
|
||||||
|
|
||||||
TRenderPairList::iterator RenderPair;
|
SE::TRenderPairList::iterator RenderPair;
|
||||||
|
|
||||||
cardinal VertexListShift;
|
size_t VertexListShift;
|
||||||
|
|
||||||
float Velocity;
|
float Velocity;
|
||||||
|
|
||||||
@ -104,31 +103,32 @@ struct TChip
|
|||||||
CS_X,
|
CS_X,
|
||||||
} ChipState;
|
} ChipState;
|
||||||
|
|
||||||
TChip(int chipType, TRenderPairList::iterator renderPair, cardinal vertexListShift, TChipState chipState = CS_FALLING);
|
TChip(int chipType, SE::TRenderPairList::iterator renderPair, size_t vertexListShift, TChipState chipState = CS_FALLING);
|
||||||
|
|
||||||
~TChip();
|
~TChip();
|
||||||
|
|
||||||
vec2 GetLeftBottomPos();
|
Eigen::Vector2f GetLeftBottomPos();
|
||||||
void SetLeftBottomPos(vec2 newPos);
|
void SetLeftBottomPos(Eigen::Vector2f newPos);
|
||||||
void MoveLeftBottomPos(vec2 shift);
|
void MoveLeftBottomPos(Eigen::Vector2f shift);
|
||||||
|
|
||||||
static int StaticAnimationIndex;
|
static int StaticAnimationIndex;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
struct TChipSwappingPair
|
struct TChipSwappingPair
|
||||||
{
|
{
|
||||||
float T;
|
float T;
|
||||||
ivec2 Chip1;
|
Eigen::Vector2i Chip1;
|
||||||
ivec2 Chip2;
|
Eigen::Vector2i Chip2;
|
||||||
|
|
||||||
vec2 Chip1RealPosFrom;
|
Eigen::Vector2f Chip1RealPosFrom;
|
||||||
vec2 Chip2RealPosFrom;
|
Eigen::Vector2f Chip2RealPosFrom;
|
||||||
|
|
||||||
bool IsReturning;
|
bool IsReturning;
|
||||||
|
|
||||||
|
|
||||||
TChipSwappingPair(ivec2 chip1, ivec2 chip2, vec2 chip1PosFrom, vec2 chip2PosFrom)
|
TChipSwappingPair(Eigen::Vector2i chip1, Eigen::Vector2i chip2, Eigen::Vector2f chip1PosFrom, Eigen::Vector2f chip2PosFrom)
|
||||||
: Chip1(chip1)
|
: Chip1(chip1)
|
||||||
, Chip2(chip2)
|
, Chip2(chip2)
|
||||||
, T(0)
|
, T(0)
|
||||||
@ -143,10 +143,10 @@ struct TChipSwappingPair
|
|||||||
struct TChipDeletingData
|
struct TChipDeletingData
|
||||||
{
|
{
|
||||||
float T;
|
float T;
|
||||||
ivec2 Chip;
|
Eigen::Vector2i Chip;
|
||||||
vec2 Pos;
|
Eigen::Vector2f Pos;
|
||||||
|
|
||||||
TChipDeletingData(ivec2 chip, vec2 pos)
|
TChipDeletingData(Eigen::Vector2i chip, Eigen::Vector2f pos)
|
||||||
: T(0.f)
|
: T(0.f)
|
||||||
, Chip(chip)
|
, Chip(chip)
|
||||||
, Pos(pos)
|
, Pos(pos)
|
||||||
@ -154,97 +154,100 @@ struct TChipDeletingData
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class TMatch3Logic
|
class TMatch3Logic
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
cardinal ChipTypeCount;
|
size_t ChipTypeCount;
|
||||||
|
|
||||||
std::vector<std::vector<TChip> > ChipMatrix;
|
std::vector<std::vector<TChip> > ChipMatrix;
|
||||||
std::vector<TChipSwappingPair> ChipSwappingPairVector;
|
std::vector<TChipSwappingPair> ChipSwappingPairVector;
|
||||||
std::vector<TChipDeletingData> ChipDeletingVector;
|
std::vector<TChipDeletingData> ChipDeletingVector;
|
||||||
|
|
||||||
std::vector<TRenderPairList::iterator> RenderPairIteratorVector;
|
std::vector<SE::TRenderPairList::iterator> RenderPairIteratorVector;
|
||||||
|
|
||||||
ivec2 selectedChip;
|
Eigen::Vector2i selectedChip;
|
||||||
|
|
||||||
vec2 LeftBottomPosField;
|
Eigen::Vector2f LeftBottomPosField;
|
||||||
|
|
||||||
TMatch3FieldParams Match3FieldParams;
|
TMatch3FieldParams Match3FieldParams;
|
||||||
|
|
||||||
void FillRandomChipMatrix(std::vector<TRenderPairList::iterator> renderPairIteratorVector, vec2 leftBottomPos);
|
void FillRandomChipMatrix(std::vector<SE::TRenderPairList::iterator> renderPairIteratorVector, Eigen::Vector2f leftBottomPos);
|
||||||
|
|
||||||
vec2 GetExpectedLeftBottomPos(cardinal x, cardinal y);
|
Eigen::Vector2f GetExpectedLeftBottomPos(size_t x, size_t y);
|
||||||
|
|
||||||
void StartAnimateChip(cardinal x, cardinal y);
|
void StartAnimateChip(size_t x, size_t y);
|
||||||
void StopAnimateChip(cardinal x, cardinal y);
|
void StopAnimateChip(size_t x, size_t y);
|
||||||
|
|
||||||
bool ChipIsLocked(ivec2 chip);
|
bool ChipIsLocked(Eigen::Vector2i chip);
|
||||||
bool ChipIsFinishing(ivec2 chip);
|
bool ChipIsFinishing(Eigen::Vector2i chip);
|
||||||
bool ChipIsStable(ivec2 chip);
|
bool ChipIsStable(Eigen::Vector2i chip);
|
||||||
bool ChipCanBeSelected(ivec2 chip);
|
bool ChipCanBeSelected(Eigen::Vector2i chip);
|
||||||
bool ChipsCanBeSwapped(ivec2 p1, ivec2 p2);
|
bool ChipsCanBeSwapped(Eigen::Vector2i p1, Eigen::Vector2i p2);
|
||||||
|
|
||||||
bool ChipCanBeMatchedUp(ivec2 chip);
|
bool ChipCanBeMatchedUp(Eigen::Vector2i chip);
|
||||||
bool ChipCanBeMatchedDown(ivec2 chip);
|
bool ChipCanBeMatchedDown(Eigen::Vector2i chip);
|
||||||
bool ChipCanBeMatchedLeft(ivec2 chip);
|
bool ChipCanBeMatchedLeft(Eigen::Vector2i chip);
|
||||||
bool ChipCanBeMatchedRight(ivec2 chip);
|
bool ChipCanBeMatchedRight(Eigen::Vector2i chip);
|
||||||
|
|
||||||
void UnmatchChips(std::vector<ivec2> chipList);
|
void UnmatchChips(std::vector<Eigen::Vector2i> chipList);
|
||||||
void UpdateChipPosition(cardinal dt);
|
void UpdateChipPosition(size_t dt);
|
||||||
void RemoveBubbles();
|
void RemoveBubbles();
|
||||||
|
|
||||||
void ReplaceAnimation(ivec2 p);
|
void ReplaceAnimation(Eigen::Vector2i p);
|
||||||
|
|
||||||
void MoveVertexListShiftBack(TRenderPairList::iterator renderPairItr, cardinal moveFrom);
|
void MoveVertexListShiftBack(SE::TRenderPairList::iterator renderPairItr, size_t moveFrom);
|
||||||
void MoveVertexCoordDown(TRenderPairList::iterator renderPairItr, cardinal moveFrom, float value);
|
void MoveVertexCoordDown(SE::TRenderPairList::iterator renderPairItr, size_t moveFrom, float value);
|
||||||
|
|
||||||
void AddChipToUp(cardinal colNum, int chipType, vec2 spawnPos, TChip::TChipState chipState = TChip::CS_FALLING);
|
void AddChipToUp(size_t colNum, int chipType, Eigen::Vector2f spawnPos, TChip::TChipState chipState = TChip::CS_FALLING);
|
||||||
void InsertEmptyChip(cardinal colNum, cardinal rowNum, int chipType);
|
void InsertEmptyChip(size_t colNum, size_t rowNum, int chipType);
|
||||||
|
|
||||||
void UpdateChipSwapping(cardinal dt);
|
void UpdateChipSwapping(size_t dt);
|
||||||
void TryMatchAllChips();
|
void TryMatchAllChips();
|
||||||
|
|
||||||
void DestroyChip(ivec2 p);
|
void DestroyChip(Eigen::Vector2i p);
|
||||||
|
|
||||||
void ChangeChipType(ivec2 p);
|
void ChangeChipType(Eigen::Vector2i p);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
TMatch3Logic();
|
TMatch3Logic();
|
||||||
virtual ~TMatch3Logic();
|
virtual ~TMatch3Logic();
|
||||||
|
|
||||||
void SelectChip(ivec2 pos);
|
void SelectChip(Eigen::Vector2i pos);
|
||||||
void UnselectChip();
|
void UnselectChip();
|
||||||
ivec2 GetSelectedChip();
|
Eigen::Vector2i GetSelectedChip();
|
||||||
|
|
||||||
std::vector<ivec2> GetAvailableMatchingChips();
|
std::vector<Eigen::Vector2i> GetAvailableMatchingChips();
|
||||||
|
|
||||||
void SwapChips(ivec2 p1, ivec2 p2, bool isReturning = false);
|
void SwapChips(Eigen::Vector2i p1, Eigen::Vector2i p2, bool isReturning = false);
|
||||||
|
|
||||||
void ResetChipPos(ivec2 p);
|
void ResetChipPos(Eigen::Vector2i p);
|
||||||
|
|
||||||
void UpdateLogic(cardinal dt);
|
void UpdateLogic(size_t dt);
|
||||||
|
|
||||||
void HitFieldWithPattern(ivec2 pos, std::vector<std::vector<char> > pattern, std::vector<std::vector<char> > jumpingPattern);
|
void HitFieldWithPattern(Eigen::Vector2i pos, std::vector<std::vector<char> > pattern, std::vector<std::vector<char> > jumpingPattern);
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class TMatch3Controller;
|
class TMatch3Controller;
|
||||||
|
|
||||||
class TMatch3Field : public TMatch3Logic, public TInstancingWidgetAncestor
|
class TMatch3Field : public TMatch3Logic
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
void FillBasicChipMatrixAndTriangleList();
|
void FillBasicChipMatrixAndTriangleList();
|
||||||
|
|
||||||
//TMatch3Controller& Match3Controller;
|
//TMatch3Controller& Match3Controller;
|
||||||
|
|
||||||
vec2 LastTappedPos;
|
Eigen::Vector2f LastTappedPos;
|
||||||
vec2 LastMovePos;
|
Eigen::Vector2f LastMovePos;
|
||||||
|
|
||||||
ivec2 PosToChip(vec2 pos);
|
Eigen::Vector2i PosToChip(Eigen::Vector2f pos);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
TMatch3Field();
|
TMatch3Field();
|
||||||
@ -254,11 +257,11 @@ public:
|
|||||||
TMatch3Field(TMatch3Controller& match3Controller);
|
TMatch3Field(TMatch3Controller& match3Controller);
|
||||||
~TMatch3Field();
|
~TMatch3Field();
|
||||||
|
|
||||||
virtual void Update(cardinal dt);
|
virtual void Update(size_t dt);
|
||||||
virtual void OnTapDown(vec2 pos);
|
virtual void OnTapDown(Eigen::Vector2f pos);
|
||||||
virtual void OnTapUp(vec2 pos);
|
virtual void OnTapUp(Eigen::Vector2f pos);
|
||||||
virtual void OnMove(vec2 shift);
|
virtual void OnMove(Eigen::Vector2f shift);
|
||||||
virtual bool CheckClick(vec2 mousePos);
|
virtual bool CheckClick(Eigen::Vector2f mousePos);
|
||||||
|
|
||||||
void HighlightMatch3();
|
void HighlightMatch3();
|
||||||
|
|
||||||
@ -268,9 +271,4 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,32 +1,101 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
# Visual C++ Express 2010
|
# Visual Studio 14
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Halibut Engine", "..\..\..\Engine\Halibut Engine\Halibut Engine.vcxproj", "{4E274B19-10B2-4987-96C5-76F35A149502}"
|
VisualStudioVersion = 14.0.25123.0
|
||||||
EndProject
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Crystal of Rhylil", "Crystal of Rhylil\Crystal of Rhylil.vcxproj", "{0080A3E1-DFBF-4557-B198-E6D5D7724393}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Crystal of Rhylil", "Crystal of Rhylil\Crystal of Rhylil.vcxproj", "{0080A3E1-DFBF-4557-B198-E6D5D7724393}"
|
||||||
ProjectSection(ProjectDependencies) = postProject
|
EndProject
|
||||||
{4E274B19-10B2-4987-96C5-76F35A149502} = {4E274B19-10B2-4987-96C5-76F35A149502}
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Engine", "..\..\tes-engine\windows\Engine\Engine.vcxproj", "{534F100C-E611-43BF-B6F3-AD9F9925F703}"
|
||||||
EndProjectSection
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libpng", "..\..\tes-engine\windows\libpng\libpng.vcxproj", "{03736B28-58F6-4AEA-9D37-B6AC4F5F853B}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libjpeg", "..\..\tes-engine\windows\libjpeg\libjpeg.vcxproj", "{A05BADE1-D792-4620-9928-13A7AFD0F195}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug_nosound|Win32 = Debug_nosound|Win32
|
Debug_nosound|Win32 = Debug_nosound|Win32
|
||||||
|
Debug_nosound|x64 = Debug_nosound|x64
|
||||||
|
Debug_nosound|x86 = Debug_nosound|x86
|
||||||
Debug|Win32 = Debug|Win32
|
Debug|Win32 = Debug|Win32
|
||||||
|
Debug|x64 = Debug|x64
|
||||||
|
Debug|x86 = Debug|x86
|
||||||
Release|Win32 = Release|Win32
|
Release|Win32 = Release|Win32
|
||||||
|
Release|x64 = Release|x64
|
||||||
|
Release|x86 = Release|x86
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
{4E274B19-10B2-4987-96C5-76F35A149502}.Debug_nosound|Win32.ActiveCfg = Debug_nosound|Win32
|
|
||||||
{4E274B19-10B2-4987-96C5-76F35A149502}.Debug_nosound|Win32.Build.0 = Debug_nosound|Win32
|
|
||||||
{4E274B19-10B2-4987-96C5-76F35A149502}.Debug|Win32.ActiveCfg = Debug|Win32
|
|
||||||
{4E274B19-10B2-4987-96C5-76F35A149502}.Debug|Win32.Build.0 = Debug|Win32
|
|
||||||
{4E274B19-10B2-4987-96C5-76F35A149502}.Release|Win32.ActiveCfg = Release|Win32
|
|
||||||
{4E274B19-10B2-4987-96C5-76F35A149502}.Release|Win32.Build.0 = Release|Win32
|
|
||||||
{0080A3E1-DFBF-4557-B198-E6D5D7724393}.Debug_nosound|Win32.ActiveCfg = Debug|Win32
|
{0080A3E1-DFBF-4557-B198-E6D5D7724393}.Debug_nosound|Win32.ActiveCfg = Debug|Win32
|
||||||
{0080A3E1-DFBF-4557-B198-E6D5D7724393}.Debug_nosound|Win32.Build.0 = Debug|Win32
|
{0080A3E1-DFBF-4557-B198-E6D5D7724393}.Debug_nosound|Win32.Build.0 = Debug|Win32
|
||||||
|
{0080A3E1-DFBF-4557-B198-E6D5D7724393}.Debug_nosound|x64.ActiveCfg = Debug|x64
|
||||||
|
{0080A3E1-DFBF-4557-B198-E6D5D7724393}.Debug_nosound|x64.Build.0 = Debug|x64
|
||||||
|
{0080A3E1-DFBF-4557-B198-E6D5D7724393}.Debug_nosound|x86.ActiveCfg = Debug|Win32
|
||||||
|
{0080A3E1-DFBF-4557-B198-E6D5D7724393}.Debug_nosound|x86.Build.0 = Debug|Win32
|
||||||
{0080A3E1-DFBF-4557-B198-E6D5D7724393}.Debug|Win32.ActiveCfg = Debug|Win32
|
{0080A3E1-DFBF-4557-B198-E6D5D7724393}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
{0080A3E1-DFBF-4557-B198-E6D5D7724393}.Debug|Win32.Build.0 = Debug|Win32
|
{0080A3E1-DFBF-4557-B198-E6D5D7724393}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{0080A3E1-DFBF-4557-B198-E6D5D7724393}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{0080A3E1-DFBF-4557-B198-E6D5D7724393}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{0080A3E1-DFBF-4557-B198-E6D5D7724393}.Debug|x86.ActiveCfg = Debug|Win32
|
||||||
|
{0080A3E1-DFBF-4557-B198-E6D5D7724393}.Debug|x86.Build.0 = Debug|Win32
|
||||||
{0080A3E1-DFBF-4557-B198-E6D5D7724393}.Release|Win32.ActiveCfg = Release|Win32
|
{0080A3E1-DFBF-4557-B198-E6D5D7724393}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
{0080A3E1-DFBF-4557-B198-E6D5D7724393}.Release|Win32.Build.0 = Release|Win32
|
{0080A3E1-DFBF-4557-B198-E6D5D7724393}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{0080A3E1-DFBF-4557-B198-E6D5D7724393}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{0080A3E1-DFBF-4557-B198-E6D5D7724393}.Release|x64.Build.0 = Release|x64
|
||||||
|
{0080A3E1-DFBF-4557-B198-E6D5D7724393}.Release|x86.ActiveCfg = Release|Win32
|
||||||
|
{0080A3E1-DFBF-4557-B198-E6D5D7724393}.Release|x86.Build.0 = 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|x86.ActiveCfg = Debug|Win32
|
||||||
|
{534F100C-E611-43BF-B6F3-AD9F9925F703}.Debug_nosound|x86.Build.0 = Debug|Win32
|
||||||
|
{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|x86.ActiveCfg = Debug|Win32
|
||||||
|
{534F100C-E611-43BF-B6F3-AD9F9925F703}.Debug|x86.Build.0 = Debug|Win32
|
||||||
|
{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|x86.ActiveCfg = Release|Win32
|
||||||
|
{534F100C-E611-43BF-B6F3-AD9F9925F703}.Release|x86.Build.0 = Release|Win32
|
||||||
|
{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|x86.ActiveCfg = Debug|Win32
|
||||||
|
{03736B28-58F6-4AEA-9D37-B6AC4F5F853B}.Debug_nosound|x86.Build.0 = Debug|Win32
|
||||||
|
{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|x86.ActiveCfg = Debug|Win32
|
||||||
|
{03736B28-58F6-4AEA-9D37-B6AC4F5F853B}.Debug|x86.Build.0 = Debug|Win32
|
||||||
|
{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|x86.ActiveCfg = Release|Win32
|
||||||
|
{03736B28-58F6-4AEA-9D37-B6AC4F5F853B}.Release|x86.Build.0 = Release|Win32
|
||||||
|
{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|x86.ActiveCfg = Debug|Win32
|
||||||
|
{A05BADE1-D792-4620-9928-13A7AFD0F195}.Debug_nosound|x86.Build.0 = Debug|Win32
|
||||||
|
{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|x86.ActiveCfg = Debug|Win32
|
||||||
|
{A05BADE1-D792-4620-9928-13A7AFD0F195}.Debug|x86.Build.0 = Debug|Win32
|
||||||
|
{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|x86.ActiveCfg = Release|Win32
|
||||||
|
{A05BADE1-D792-4620-9928-13A7AFD0F195}.Release|x86.Build.0 = Release|Win32
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
@ -1,14 +1,22 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?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">
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
<ProjectConfiguration Include="Debug|Win32">
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
<Configuration>Debug</Configuration>
|
<Configuration>Debug</Configuration>
|
||||||
<Platform>Win32</Platform>
|
<Platform>Win32</Platform>
|
||||||
</ProjectConfiguration>
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
<ProjectConfiguration Include="Release|Win32">
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
<Configuration>Release</Configuration>
|
<Configuration>Release</Configuration>
|
||||||
<Platform>Win32</Platform>
|
<Platform>Win32</Platform>
|
||||||
</ProjectConfiguration>
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<PropertyGroup Label="Globals">
|
<PropertyGroup Label="Globals">
|
||||||
<ProjectGuid>{0080A3E1-DFBF-4557-B198-E6D5D7724393}</ProjectGuid>
|
<ProjectGuid>{0080A3E1-DFBF-4557-B198-E6D5D7724393}</ProjectGuid>
|
||||||
@ -20,12 +28,27 @@
|
|||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
<UseDebugLibraries>true</UseDebugLibraries>
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
<CharacterSet>NotSet</CharacterSet>
|
<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>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
<UseDebugLibraries>false</UseDebugLibraries>
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
<CharacterSet>NotSet</CharacterSet>
|
<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>
|
</PropertyGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
<ImportGroup Label="ExtensionSettings">
|
<ImportGroup Label="ExtensionSettings">
|
||||||
@ -33,18 +56,33 @@
|
|||||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<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" />
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
</ImportGroup>
|
</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'">
|
<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" />
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
</ImportGroup>
|
</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 Label="UserMacros" />
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<IncludePath>$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSdkDir)include;$(FrameworkSDKDir)\include;$(SalmonEnginePath)include</IncludePath>
|
<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>
|
<LibraryPath>$(VCInstallDir)lib;$(VCInstallDir)atlmfc\lib;$(WindowsSdkDir)lib;$(FrameworkSDKDir)\lib;$(SalmonEnginePath)$(Configuration)</LibraryPath>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<IncludePath>$(VC_IncludePath);$(WindowsSDK_IncludePath)</IncludePath>
|
||||||
|
<LibraryPath>$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(NETFXKitsDir)Lib\um\x64</LibraryPath>
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<IncludePath>$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSdkDir)include;$(FrameworkSDKDir)\include;$(SalmonEnginePath)include</IncludePath>
|
<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>
|
<LibraryPath>$(VCInstallDir)lib;$(VCInstallDir)atlmfc\lib;$(WindowsSdkDir)lib;$(FrameworkSDKDir)\lib;$(SalmonEnginePath)$(Configuration)</LibraryPath>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<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>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<WarningLevel>Level3</WarningLevel>
|
<WarningLevel>Level3</WarningLevel>
|
||||||
@ -58,6 +96,21 @@
|
|||||||
<AdditionalLibraryDirectories>$(LibsPath)\boost_1_47_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)\openal\OpenAL11_windows_sdk\libs\Win32;$(LibsPath)\sqplus\lib;$(LibsPath)\DirectXsdk\Lib\x86;$(LibsPath)\lpng1510\projects\vstudio\Debug Library</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>$(LibsPath)\boost_1_47_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)\openal\OpenAL11_windows_sdk\libs\Win32;$(LibsPath)\sqplus\lib;$(LibsPath)\DirectXsdk\Lib\x86;$(LibsPath)\lpng1510\projects\vstudio\Debug Library</AdditionalLibraryDirectories>
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>../../../eigen;../../../tes-engine;../../../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>
|
||||||
|
<PreprocessorDefinitions>TARGET_WIN32;DEBUG;_WIN32_WINNT=0x0501;EIGEN_DONT_ALIGN_STATICALLY;_WINDOWS;WIN32;WIN32_LEAN_AND_MEAN</PreprocessorDefinitions>
|
||||||
|
<DisableSpecificWarnings>4503</DisableSpecificWarnings>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<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>
|
||||||
|
<AdditionalLibraryDirectories>../../game;../../../tes-engine;../../../eigen;../../../boost_1_63_0/;../../../boost_1_63_0/stage/x64/lib;../../../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>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<WarningLevel>Level3</WarningLevel>
|
<WarningLevel>Level3</WarningLevel>
|
||||||
@ -75,12 +128,31 @@
|
|||||||
<AdditionalLibraryDirectories>$(LibsPath)\boost_1_47_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)\openal\OpenAL11_windows_sdk\libs\Win32;$(LibsPath)\sqplus\lib;$(LibsPath)\DirectXsdk\Lib\x86;$(LibsPath)\lpng1510\projects\vstudio\Release Library</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>$(LibsPath)\boost_1_47_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)\openal\OpenAL11_windows_sdk\libs\Win32;$(LibsPath)\sqplus\lib;$(LibsPath)\DirectXsdk\Lib\x86;$(LibsPath)\lpng1510\projects\vstudio\Release Library</AdditionalLibraryDirectories>
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<AdditionalIncludeDirectories>$(SalmonEnginePath);$(LibsPath)\boost_1_47_0;$(LibsPath)\openal\OpenAL11_windows_sdk;$(LibsPath)\libogg-1.3.0\include;$(LibsPath)\libvorbis-1.3.2\include;$(LibsPath)\sqplus\sqplus;$(LibsPath)\sqplus\include;$(SolutionDir)\..\jni;$(LibsPath)\DirectXsdk\Include;$(LibsPath)\lpng1510</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>TARGET_WIN32;TARGET_HALIBUT;WIN32_LEAN_AND_MEAN;_WIN32_WINNT=0x0501</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<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;Halibut Engine.lib;libogg_static.lib;libvorbis_static.lib;libvorbisfile_static.lib;OpenAL32.lib;zlib.lib;libpng15.lib;sqplus.lib;squirrel.lib;sqdbglib.lib;sqstdlib.lib;dsound.lib;dxguid.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>$(LibsPath)\boost_1_47_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)\openal\OpenAL11_windows_sdk\libs\Win32;$(LibsPath)\sqplus\lib;$(LibsPath)\DirectXsdk\Lib\x86;$(LibsPath)\lpng1510\projects\vstudio\Release Library</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\jni\main_code.cpp" />
|
<ClCompile Include="..\..\jni\main_code.cpp" />
|
||||||
<ClCompile Include="..\..\jni\match3\match3field.cpp" />
|
<ClCompile Include="..\..\jni\match3\match3field.cpp" />
|
||||||
<ClCompile Include="main.cpp">
|
<ClCompile Include="main.cpp">
|
||||||
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">TARGET_WIN32;HALIBUT_WIN32;DEBUG;WIN32_LEAN_AND_MEAN</PreprocessorDefinitions>
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">TARGET_WIN32;HALIBUT_WIN32;DEBUG;WIN32_LEAN_AND_MEAN</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">TARGET_WIN32;HALIBUT_WIN32;DEBUG;WIN32_LEAN_AND_MEAN</PreprocessorDefinitions>
|
||||||
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">TARGET_WIN32;HALIBUT_WIN32;WIN32_LEAN_AND_MEAN</PreprocessorDefinitions>
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">TARGET_WIN32;HALIBUT_WIN32;WIN32_LEAN_AND_MEAN</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">TARGET_WIN32;HALIBUT_WIN32;WIN32_LEAN_AND_MEAN</PreprocessorDefinitions>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -12,9 +12,19 @@ extern boost::shared_ptr<TMyApplication> App;
|
|||||||
int APIENTRY WinMain(HINSTANCE hCurrentInst, HINSTANCE hPreviousInst,
|
int APIENTRY WinMain(HINSTANCE hCurrentInst, HINSTANCE hPreviousInst,
|
||||||
LPSTR lpszCmdLine, int nCmdShow)
|
LPSTR lpszCmdLine, int nCmdShow)
|
||||||
{
|
{
|
||||||
App->Height = 480;
|
int height = 480;
|
||||||
App->Width = 800;
|
int width = 800;
|
||||||
|
|
||||||
//Start application
|
if (SE::CreateEngine(width, height)) {
|
||||||
return MainLoop(*App);
|
|
||||||
|
App->OuterInit(width, height, width, height);
|
||||||
|
|
||||||
|
MainLoop(App.get());
|
||||||
|
|
||||||
|
App->OuterDeinit();
|
||||||
|
|
||||||
|
SE::DestroyEngine();
|
||||||
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
/* Path to the engine */
|
/* Path to the engine */
|
||||||
#include "HalibutEngineWindows.h"
|
#include "include/Engine.h"
|
||||||
|
|
||||||
#include "../../jni/main_code.h"
|
#include "../../jni/main_code.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user