Skip to content

Commit

Permalink
Change to VS2015.
Browse files Browse the repository at this point in the history
Change to VS2015 Because of RVO/NRVO support.
  • Loading branch information
Null committed Oct 10, 2015
1 parent ba36101 commit 4d7583f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 deletions.
7 changes: 2 additions & 5 deletions NEWorld.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.21005.1
# Visual Studio 14
VisualStudioVersion = 14.0.23107.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NEWorld", "NEWorld.vcxproj", "{9401A960-F56F-4186-AD7D-2F9A6F541190}"
EndProject
Expand All @@ -19,7 +19,4 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(Performance) = preSolution
HasPerformanceSessions = true
EndGlobalSection
EndGlobal
4 changes: 2 additions & 2 deletions NEWorld.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
Expand Down
Binary file modified Worlds/2333/Thumbnail.bmp
Binary file not shown.
2 changes: 1 addition & 1 deletion source/Definitions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const string EXT_VERSION = " [Preview Not Released]";
float playerheight = 1.2f; //玩家的高度
float walkspeed = 0.15f; //玩家前进速度
float runspeed = 0.3f; //玩家跑步速度
int MaxAirJumps = 2; //空中N段连跳
int MaxAirJumps = 3 - 1; //空中N段连跳
bool UseCIArray = true; //使用CIA
bool SmoothLighting = true; //平滑光照
bool NiceGrass = true; //草地材质连接
Expand Down
2 changes: 1 addition & 1 deletion source/Textures.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ namespace Textures {
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST_MIPMAP_NEAREST);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_BASE_LEVEL, 0);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, log(BLOCKTEXTURE_UNITSIZE));
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, (int)log(BLOCKTEXTURE_UNITSIZE));
gluBuild2DMipmaps(GL_TEXTURE_2D, 4, image.sizeX, image.sizeY, GL_RGBA, GL_UNSIGNED_BYTE, image.buffer.get());
return ret;
}
Expand Down

0 comments on commit 4d7583f

Please sign in to comment.