{21F22CE8-5445-44FA-8561-D3B8E94D55C5}.Release|x64.ActiveCfg = Release|x64
{21F22CE8-5445-44FA-8561-D3B8E94D55C5}.Release|x64.Build.0 = Release|x64
{21F22CE8-5445-44FA-8561-D3B8E94D55C5}.Release|x86.ActiveCfg = Release|Win32
- {21F22CE8-5445-44FA-8561-D3B8E94D55C5}.Release|x86.Build.0 = Release|Win32
{71666EC8-527E-4C98-BD6F-2FC0AA104350}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{71666EC8-527E-4C98-BD6F-2FC0AA104350}.Debug|Any CPU.Build.0 = Debug|Any CPU
{71666EC8-527E-4C98-BD6F-2FC0AA104350}.Debug|x64.ActiveCfg = Debug|Any CPU
{71666EC8-527E-4C98-BD6F-2FC0AA104350}.Release|x64.ActiveCfg = Release|Any CPU
{71666EC8-527E-4C98-BD6F-2FC0AA104350}.Release|x64.Build.0 = Release|Any CPU
{71666EC8-527E-4C98-BD6F-2FC0AA104350}.Release|x86.ActiveCfg = Release|Any CPU
- {71666EC8-527E-4C98-BD6F-2FC0AA104350}.Release|x86.Build.0 = Release|Any CPU
{B9C44160-6699-4DFF-AD66-AD39D83E8A21}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B9C44160-6699-4DFF-AD66-AD39D83E8A21}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B9C44160-6699-4DFF-AD66-AD39D83E8A21}.Debug|x64.ActiveCfg = Debug|Any CPU
{B9C44160-6699-4DFF-AD66-AD39D83E8A21}.Release|x64.ActiveCfg = Release|Any CPU
{B9C44160-6699-4DFF-AD66-AD39D83E8A21}.Release|x64.Build.0 = Release|Any CPU
{B9C44160-6699-4DFF-AD66-AD39D83E8A21}.Release|x86.ActiveCfg = Release|Any CPU
- {B9C44160-6699-4DFF-AD66-AD39D83E8A21}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
bool getKeyDown(int key) {
if (glfwGetKey(this->windowHandle, key) == GLFW_PRESS)
return true;
+
+ return false;
}
util_keyHandler(GLFWwindow* window) {
<VCProjectVersion>15.0</VCProjectVersion>
<ProjectGuid>{3F5631FE-0F0C-4285-B301-66DA219121EC}</ProjectGuid>
<RootNamespace>MCDV</RootNamespace>
- <WindowsTargetPlatformVersion>10.0.16299.0</WindowsTargetPlatformVersion>
+ <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
bool isClicking = false;
-double mousex;
-double mousey;
+double mousex = 0.0;
+double mousey = 0.0;
Camera camera;
float M_ORTHO_SIZE = 20.0f;
int main(int argc, char* argv[]) {
- std::string _FILE_BSP = "";
- std::string _FILE_NAV = "";
+ std::string _FILE_BSP = "D:\\Users\\Harry\\Source\\Repos\\MCDV\\Release\\killhouse.bsp";
+ std::string _FILE_NAV = "D:\\Users\\Harry\\Source\\Repos\\MCDV\\Release\\killhouse.nav";
for (int i = 1; i < argc; ++i) {
char* _arg = argv[i];
std::vector<bsp::staticprop> props;
+ // Prop reading is broken while building under Release mode
+ // Not sure why.
+ // TODO: Look into this.
+
+#ifndef _DEBUG
+ return props;
+#endif
+
+#ifdef _DEBUG
+
for (int i = 0; i < numProps; i++) {
bsp::staticprop prop;
}
return props;
+
+#endif
}
std::string readString(std::ifstream* reader, bsp::lumpHeader info) {
<ProjectGuid>{21F22CE8-5445-44FA-8561-D3B8E94D55C5}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>MCDVLib</RootNamespace>
- <WindowsTargetPlatformVersion>10.0.15063.0</WindowsTargetPlatformVersion>
+ <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">