Mercurial > mm7
comparison Game.cpp @ 323:d720a13e2273
Very basic picking & entering houses
author | Nomad |
---|---|
date | Wed, 20 Feb 2013 08:23:12 +0200 |
parents | 27670273a6ff |
children | 8e23edf57e27 |
comparison
equal
deleted
inserted
replaced
322:ce39b96acf5c | 323:d720a13e2273 |
---|---|
622 } | 622 } |
623 depth = 5120.0; | 623 depth = 5120.0; |
624 } | 624 } |
625 //depth = v2; | 625 //depth = v2; |
626 | 626 |
627 PickMouse(depth, y, x, true, v10, v11); | 627 PickMouse(depth, y, x, false, v10, v11); |
628 pLightmapBuilder->std__vector_000004_size = 0; | 628 pLightmapBuilder->std__vector_000004_size = 0; |
629 pLightmapBuilder->std__vector_183808_size = 0; | 629 pLightmapBuilder->std__vector_183808_size = 0; |
630 pDecalBuilder->std__vector_pDecals_size = 0; | 630 pDecalBuilder->std__vector_pDecals_size = 0; |
631 pDecalBuilder->field_308008 = 0; | 631 pDecalBuilder->field_308008 = 0; |
632 if (!_44F07B()) | 632 if (!_44F07B()) |
1112 else | 1112 else |
1113 face->uAttributes |= FACE_OUTLINED; | 1113 face->uAttributes |= FACE_OUTLINED; |
1114 } | 1114 } |
1115 else assert(false); | 1115 else assert(false); |
1116 } | 1116 } |
1117 break; | |
1117 | 1118 |
1118 default: | 1119 default: |
1119 { | 1120 { |
1120 MessageBoxW(nullptr, L"Undefined CObjectInfo type requested in CGame::outline_selection()", nullptr, 0); | 1121 MessageBoxW(nullptr, L"Undefined CObjectInfo type requested in CGame::outline_selection()", nullptr, 0); |
1121 ExitProcess(0); | 1122 ExitProcess(0); |