Skip to content

Commit

Permalink
Revert "Jumper"
Browse files Browse the repository at this point in the history
  • Loading branch information
Kredsya authored Dec 11, 2022
1 parent 7df6a7b commit 89fbc49
Show file tree
Hide file tree
Showing 40 changed files with 97 additions and 25 deletions.
Binary file modified Debug/CBottomWall.obj
Binary file not shown.
Binary file modified Debug/CFloor.obj
Binary file not shown.
Binary file modified Debug/CHandSphere.obj
Binary file not shown.
Binary file modified Debug/CHole.obj
Binary file not shown.
Binary file modified Debug/CLeftWall.obj
Binary file not shown.
Binary file modified Debug/CLight.obj
Binary file not shown.
Binary file modified Debug/CRightWall.obj
Binary file not shown.
Binary file modified Debug/CTopWall.obj
Binary file not shown.
Binary file modified Debug/CWall.obj
Binary file not shown.
Binary file modified Debug/Csphere.obj
Binary file not shown.
Binary file modified Debug/Player.obj
Binary file not shown.
Binary file modified Debug/VirtualLego.bsc
Binary file not shown.
Binary file modified Debug/VirtualLego.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion Debug/VirtualLego.exe.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project>
<ProjectOutputs>
<ProjectOutput>
<FullPath>C:\Users\jimin\Desktop\repos\hyun-hang\OOP-Proj4\Debug\VirtualLego.exe</FullPath>
<FullPath>C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\Debug\VirtualLego.exe</FullPath>
</ProjectOutput>
</ProjectOutputs>
<ContentFiles />
Expand Down
Binary file modified Debug/VirtualLego.ilk
Binary file not shown.
94 changes: 86 additions & 8 deletions Debug/VirtualLego.log
Original file line number Diff line number Diff line change
@@ -1,9 +1,87 @@
cl : 명령줄 warning D9035: 'Gm' 옵션은 더 이상 사용되지 않으므로 이후 릴리스에서 제거될 예정입니다.
cl : 명령줄 warning D9035: 'Gm' 옵션은 더 이상 사용되지 않으므로 이후 릴리스에서 제거될 예정입니다.
virtualLego.cpp
C:\Users\jimin\Desktop\repos\hyun-hang\OOP-Proj4\d3dUtility.h(23,1): warning C4005: 'INFINITY': 매크로 재정의
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\ucrt\corecrt_math.h(88): message : 'INFINITY'의 이전 정의를 참조하십시오.
C:\Users\jimin\Desktop\repos\hyun-hang\OOP-Proj4\Status.h(19,3): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Users\jimin\Desktop\repos\hyun-hang\OOP-Proj4\Status.h(53,65): warning C4290: 함수가 __declspec(nothrow)가 아님을 나타내려는 경우를 제외하고 C++ 예외 사양은 무시됩니다.
C:\Users\jimin\Desktop\repos\hyun-hang\OOP-Proj4\virtualLego.cpp(90,5): warning C4305: '인수': 'double'에서 'float'(으)로 잘립니다.
C:\Users\jimin\Desktop\repos\hyun-hang\OOP-Proj4\virtualLego.cpp(81,6): warning C4101: 'i' :참조되지 않은 지역 변수입니다.
VirtualLego.vcxproj -> C:\Users\jimin\Desktop\repos\hyun-hang\OOP-Proj4\Debug\VirtualLego.exe
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\d3dUtility.h(23,1): warning C4005: 'INFINITY': 매크로 재정의
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(88): message : 'INFINITY'의 이전 정의를 참조하십시오.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\Status.h(19,3): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\Status.h(53,65): warning C4290: 함수가 __declspec(nothrow)가 아님을 나타내려는 경우를 제외하고 C++ 예외 사양은 무시됩니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\virtualLego.cpp(162,5): warning C4305: '인수': 'double'에서 'float'(으)로 잘립니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\virtualLego.cpp(164,5): warning C4305: '인수': 'double'에서 'float'(으)로 잘립니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\virtualLego.cpp(404,17): warning C4244: '=': 'int'에서 'float'(으)로 변환하면서 데이터가 손실될 수 있습니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\virtualLego.cpp(405,17): warning C4244: '=': 'int'에서 'float'(으)로 변환하면서 데이터가 손실될 수 있습니다.
status.cpp
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\Status.h(19,3): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\Status.h(53,65): warning C4290: 함수가 __declspec(nothrow)가 아님을 나타내려는 경우를 제외하고 C++ 예외 사양은 무시됩니다.
TurnManager.cpp
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\d3dUtility.h(23,1): warning C4005: 'INFINITY': 매크로 재정의
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(88): message : 'INFINITY'의 이전 정의를 참조하십시오.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\Status.h(19,3): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\Status.h(53,65): warning C4290: 함수가 __declspec(nothrow)가 아님을 나타내려는 경우를 제외하고 C++ 예외 사양은 무시됩니다.
Player.cpp
FoulManager.cpp
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\d3dUtility.h(23,1): warning C4005: 'INFINITY': 매크로 재정의
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(88): message : 'INFINITY'의 이전 정의를 참조하십시오.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\Status.h(19,3): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\Status.h(53,65): warning C4290: 함수가 __declspec(nothrow)가 아님을 나타내려는 경우를 제외하고 C++ 예외 사양은 무시됩니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\FoulManager.cpp(29,80): warning C4244: '인수': 'int'에서 'float'(으)로 변환하면서 데이터가 손실될 수 있습니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\FoulManager.cpp(29,38): warning C4244: '인수': 'int'에서 'float'(으)로 변환하면서 데이터가 손실될 수 있습니다.
DisplayGameStatus.cpp
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\d3dUtility.h(23,1): warning C4005: 'INFINITY': 매크로 재정의
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(88): message : 'INFINITY'의 이전 정의를 참조하십시오.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\status.h(19,3): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\status.h(53,65): warning C4290: 함수가 __declspec(nothrow)가 아님을 나타내려는 경우를 제외하고 C++ 예외 사양은 무시됩니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\DisplayGameStatus.cpp(16,28): warning C4154: 배열 식을 삭제했습니다. 포인터로 변환이 제공됩니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\DisplayGameStatus.cpp(83,46): warning C4244: '인수': 'int'에서 'FLOAT'(으)로 변환하면서 데이터가 손실될 수 있습니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\DisplayGameStatus.cpp(88,46): warning C4244: '인수': 'int'에서 'FLOAT'(으)로 변환하면서 데이터가 손실될 수 있습니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\DisplayGameStatus.cpp(92,86): warning C4305: '인수': '__int64'에서 'DWORD'(으)로 잘립니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\DisplayGameStatus.cpp(92,41): warning C4309: '인수': 상수 값이 잘립니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\DisplayGameStatus.cpp(93,45): warning C4244: '인수': 'int'에서 'FLOAT'(으)로 변환하면서 데이터가 손실될 수 있습니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\DisplayGameStatus.cpp(95,85): warning C4305: '인수': '__int64'에서 'DWORD'(으)로 잘립니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\DisplayGameStatus.cpp(95,41): warning C4309: '인수': 상수 값이 잘립니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\DisplayGameStatus.cpp(96,45): warning C4244: '인수': 'int'에서 'FLOAT'(으)로 변환하면서 데이터가 손실될 수 있습니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\DisplayGameStatus.cpp(100,46): warning C4244: '인수': 'int'에서 'FLOAT'(으)로 변환하면서 데이터가 손실될 수 있습니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\DisplayGameStatus.cpp(103,46): warning C4244: '인수': 'int'에서 'FLOAT'(으)로 변환하면서 데이터가 손실될 수 있습니다.
CWall.cpp
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\d3dUtility.h(23,1): warning C4005: 'INFINITY': 매크로 재정의
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(88): message : 'INFINITY'의 이전 정의를 참조하십시오.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\CWall.cpp(11,38): warning C4305: '초기화 중': 'double'에서 'float'(으)로 잘립니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\CWall.cpp(84,53): warning C4305: 'return': 'double'에서 'float'(으)로 잘립니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\CWall.cpp(91,143): warning C4244: '인수': 'double'에서 'float'(으)로 변환하면서 데이터가 손실될 수 있습니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\CWall.cpp(91,69): warning C4244: '인수': 'double'에서 'float'(으)로 변환하면서 데이터가 손실될 수 있습니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\CWall.cpp(94,90): warning C4244: '인수': 'double'에서 'float'(으)로 변환하면서 데이터가 손실될 수 있습니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\CWall.cpp(94,45): warning C4244: '인수': 'double'에서 'float'(으)로 변환하면서 데이터가 손실될 수 있습니다.
CTopWall.cpp
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\d3dUtility.h(23,1): warning C4005: 'INFINITY': 매크로 재정의
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(88): message : 'INFINITY'의 이전 정의를 참조하십시오.
CSphere.cpp
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\d3dUtility.h(23,1): warning C4005: 'INFINITY': 매크로 재정의
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(88): message : 'INFINITY'의 이전 정의를 참조하십시오.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\Status.h(19,3): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\Status.h(53,65): warning C4290: 함수가 __declspec(nothrow)가 아님을 나타내려는 경우를 제외하고 C++ 예외 사양은 무시됩니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\CSphere.cpp(31,27): warning C4305: '=': 'double'에서 'float'(으)로 잘립니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\CSphere.cpp(137,30): warning C4305: '초기화 중': 'double'에서 'float'(으)로 잘립니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\CSphere.cpp(146,33): warning C4305: '초기화 중': 'double'에서 'float'(으)로 잘립니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\CSphere.cpp(156,15): warning C4244: '초기화 중': 'double'에서 'float'(으)로 변환하면서 데이터가 손실될 수 있습니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\CSphere.cpp(171,23): warning C4244: '=': 'double'에서 'float'(으)로 변환하면서 데이터가 손실될 수 있습니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\CSphere.cpp(172,23): warning C4244: '=': 'double'에서 'float'(으)로 변환하면서 데이터가 손실될 수 있습니다.
CRightWall.cpp
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\d3dUtility.h(23,1): warning C4005: 'INFINITY': 매크로 재정의
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(88): message : 'INFINITY'의 이전 정의를 참조하십시오.
CLeftWall.cpp
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\d3dUtility.h(23,1): warning C4005: 'INFINITY': 매크로 재정의
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(88): message : 'INFINITY'의 이전 정의를 참조하십시오.
CHole.cpp
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\d3dUtility.h(23,1): warning C4005: 'INFINITY': 매크로 재정의
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(88): message : 'INFINITY'의 이전 정의를 참조하십시오.
CHandSphere.cpp
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\d3dUtility.h(23,1): warning C4005: 'INFINITY': 매크로 재정의
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(88): message : 'INFINITY'의 이전 정의를 참조하십시오.
CFloor.cpp
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\d3dUtility.h(23,1): warning C4005: 'INFINITY': 매크로 재정의
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(88): message : 'INFINITY'의 이전 정의를 참조하십시오.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\CFloor.cpp(11,39): warning C4305: '초기화 중': 'double'에서 'float'(으)로 잘립니다.
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\CFloor.cpp(82,54): warning C4305: 'return': 'double'에서 'float'(으)로 잘립니다.
CBottomWall.cpp
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\d3dUtility.h(23,1): warning C4005: 'INFINITY': 매크로 재정의
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_math.h(88): message : 'INFINITY'의 이전 정의를 참조하십시오.
코드를 생성하고 있습니다...
VirtualLego.vcxproj -> C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\Debug\VirtualLego.exe
Binary file modified Debug/VirtualLego.pdb
Binary file not shown.
Binary file modified Debug/VirtualLego.tlog/BscMake.command.1.tlog
Binary file not shown.
Binary file modified Debug/VirtualLego.tlog/CL.read.1.tlog
Binary file not shown.
Binary file modified Debug/VirtualLego.tlog/CL.write.1.tlog
Binary file not shown.
4 changes: 2 additions & 2 deletions Debug/VirtualLego.tlog/VirtualLego.lastbuildstate
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
PlatformToolSet=v143:VCToolArchitecture=Native32Bit:VCToolsVersion=14.33.31629:TargetPlatformVersion=10.0.22000.0:
Debug|Win32|C:\Users\jimin\Desktop\repos\hyun-hang\OOP-Proj4\|
PlatformToolSet=v143:VCToolArchitecture=Native32Bit:VCToolsVersion=14.31.31103:TargetPlatformVersion=10.0.19041.0:
Debug|Win32|C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\|
Binary file modified Debug/VirtualLego.tlog/bscmake.read.1.tlog
Binary file not shown.
Binary file modified Debug/VirtualLego.tlog/bscmake.write.1.tlog
Binary file not shown.
Binary file modified Debug/VirtualLego.tlog/cl.command.1.tlog
Binary file not shown.
Binary file modified Debug/VirtualLego.tlog/link.command.1.tlog
Binary file not shown.
Binary file modified Debug/VirtualLego.tlog/link.read.1.tlog
Binary file not shown.
Binary file modified Debug/VirtualLego.tlog/link.write.1.tlog
Binary file not shown.
1 change: 0 additions & 1 deletion Debug/VirtualLego.vcxproj.FileListAbsolute.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
C:\Users\mj043\Desktop\새 폴더\Debug\VirtualLego.exe
C:\Users\mj043\Desktop\객체지향프로그래밍\소스코드\OOP-Proj3\Debug\VirtualLego.exe
C:\Users\jimin\Desktop\repos\hyun-hang\OOP-Proj4\Debug\VirtualLego.exe
Binary file modified Debug/d3dUtility.obj
Binary file not shown.
Binary file modified Debug/d3dfont.obj
Binary file not shown.
Binary file modified Debug/d3dutil.obj
Binary file not shown.
Binary file modified Debug/dxutil.obj
Binary file not shown.
Binary file modified Debug/status.obj
Binary file not shown.
Binary file modified Debug/vc143.idb
Binary file not shown.
Binary file modified Debug/vc143.pdb
Binary file not shown.
Binary file modified Debug/virtualLego.obj
Binary file not shown.
6 changes: 3 additions & 3 deletions Jumper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Jumper::Jumper(void) {
}

Jumper::Jumper(const char* jumperImageFileName) {
ZeroMemory(&m_mtrl, sizeof(m_mtrl));
Jumper();
this->jumperImageFileName = jumperImageFileName;
}

Expand All @@ -27,7 +27,7 @@ Jumper::~Jumper(void) {
}

bool Jumper::create(IDirect3DDevice9* pDevice) {
if (NULL == pDevice) return false;
if (!pDevice) return false;

m_mtrl.Diffuse = d3d::WHITE;
m_mtrl.Ambient = d3d::WHITE;
Expand All @@ -41,7 +41,7 @@ bool Jumper::create(IDirect3DDevice9* pDevice) {

this->m_pJumperMesh = _createMappedBox(pDevice);

string filePath = "./image/" + this->jumperImageFileName + ".bmp";
string filePath = "./image/" + jumperImageFileName + ".bmp";
if (FAILED(D3DXCreateTextureFromFile(pDevice, filePath.c_str(), &Tex))) {
return false;
}
Expand Down
10 changes: 3 additions & 7 deletions Jumper.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
#ifndef _JUMPER_
#define _JUMPER_
#include <string>

#include "d3dUtility.h"
#include "Platform.h"
#include "string"

#define JUMPERWIDTH 50
#define JUMPERHEIGHT 50
Expand All @@ -18,7 +16,7 @@ class Jumper {
float v_x, v_z;
float pre_x, pre_z;

string jumperImageFileName = "3";
string jumperImageFileName = "0";

IDirect3DTexture9* Tex = nullptr;
LPD3DXMESH _createMappedBox(IDirect3DDevice9* pDev);
Expand All @@ -44,6 +42,4 @@ class Jumper {
D3DXVECTOR3 getPosition() const;
void adjustPosition(Jumper& jumper); // todo
void setPosition(float x, float y, float z);
};

#endif
};
4 changes: 1 addition & 3 deletions VirtualLego.vcxproj.user
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ShowAllFiles>true</ShowAllFiles>
</PropertyGroup>
<PropertyGroup />
</Project>
1 change: 1 addition & 0 deletions virtualLego.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ int WINAPI WinMain(HINSTANCE hinstance,
PSTR cmdLine,
int showCmd)
{
srand(static_cast<unsigned int>(time(NULL)));

if (!d3d::InitD3D(hinstance,
Width, Height, true, D3DDEVTYPE_HAL, &Device))
Expand Down

0 comments on commit 89fbc49

Please sign in to comment.