Skip to content

Commit 14e5349

Browse files
committed
Minor change to window title
1 parent 10462ce commit 14e5349

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

FakeGDClone.vcxproj

+3
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@
8383
</PropertyGroup>
8484
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
8585
<LinkIncremental>false</LinkIncremental>
86+
<IncludePath>$(SolutionDir)Dependencies\include;$(IncludePath)</IncludePath>
87+
<LibraryPath>$(SolutionDir)Dependencies\lib\SFML;$(LibraryPath)</LibraryPath>
8688
</PropertyGroup>
8789
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
8890
<ClCompile>
@@ -139,6 +141,7 @@
139141
<EnableCOMDATFolding>true</EnableCOMDATFolding>
140142
<OptimizeReferences>true</OptimizeReferences>
141143
<GenerateDebugInformation>true</GenerateDebugInformation>
144+
<AdditionalDependencies>sfml-graphics.lib;sfml-audio.lib;sfml-window.lib;sfml-system.lib;winmm.lib;opengl32.lib;freetype.lib;%(AdditionalDependencies)</AdditionalDependencies>
142145
</Link>
143146
</ItemDefinitionGroup>
144147
<ItemGroup>

src/main.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,15 @@
1818
#define floorHeight 100.0f
1919
#define floorWidth 2560.0f
2020

21+
std::string VERSION = "1.0 Beta";
22+
2123
int main()
2224
{
2325
using namespace utils;
2426

2527
bool isPaused = false;
2628

27-
sf::RenderWindow window(sf::VideoMode(defaultWidth, defaultHeight), "Fake GD Clone", sf::Style::Default);
29+
sf::RenderWindow window(sf::VideoMode(defaultWidth, defaultHeight), "Fake GD Clone [" + VERSION + "]", sf::Style::Default);
2830
//window.setFramerateLimit(60);
2931

3032
sf::Vector2u windowSize = window.getSize();

0 commit comments

Comments
 (0)