comparison mm7_2.cpp @ 1262:0aeac0b9ca30

included header cleanup
author Grumpy7
date Wed, 12 Jun 2013 21:07:34 +0200
parents b9747d9e9b4e
children f11651288371
comparison
equal deleted inserted replaced
1261:cdee1d692a4a 1262:0aeac0b9ca30
6 #include <direct.h> 6 #include <direct.h>
7 #include <assert.h> 7 #include <assert.h>
8 #include <windows.h> 8 #include <windows.h>
9 9
10 10
11 #include "Texture.h"
12 #include "mm7_data.h"
11 #include "VideoPlayer.h" 13 #include "VideoPlayer.h"
12 #include "Sprites.h" 14 #include "Sprites.h"
13 #include "BSPModel.h" 15 #include "BSPModel.h"
14 #include "OutdoorCamera.h" 16 #include "OutdoorCamera.h"
15 17
62 #include "Events2D.h" 64 #include "Events2D.h"
63 #include "Log.h" 65 #include "Log.h"
64 #include "UIHouses.h" 66 #include "UIHouses.h"
65 #include "texts.h" 67 #include "texts.h"
66 #include "MM7.h" 68 #include "MM7.h"
69 #include "Lights.h"
67 70
68 //----- (004BB756) -------------------------------------------------------- 71 //----- (004BB756) --------------------------------------------------------
69 signed int __fastcall sub_4BB756(signed int a1) 72 signed int __fastcall sub_4BB756(signed int a1)
70 { 73 {
71 unsigned int v1; // esi@8 74 unsigned int v1; // esi@8
7257 dword_6BE384_2dacceloff = ReadWindowsRegistryInt("2dacceloff", 0); 7260 dword_6BE384_2dacceloff = ReadWindowsRegistryInt("2dacceloff", 0);
7258 7261
7259 if (!bNoSound) 7262 if (!bNoSound)
7260 pAudioPlayer->Initialize(hWnd); 7263 pAudioPlayer->Initialize(hWnd);
7261 7264
7262 pVideoPlayer = new VideoPlayer; 7265 pVideoPlayer = new VideoPlayer();
7263 pVideoPlayer->Initialize(); 7266 pVideoPlayer->Initialize();
7264 7267
7265 dword_6BE364_game_settings_1 |= 0x4000; 7268 dword_6BE364_game_settings_1 |= 0x4000;
7266 7269
7267 switch ( uTurnSpeed ) 7270 switch ( uTurnSpeed )