changeset 1253:fac7751b2dc9

included header cleanup
author Grumpy7
date Tue, 11 Jun 2013 18:52:42 +0200
parents fa6b8e839355
children b9747d9e9b4e 236d39ae8f6e
files Actor.cpp Mouse.cpp UIHouses.cpp UIMainMenu.cpp UIOptions.cpp UIPartyCreation.cpp UIPopup.cpp UIRest.cpp UISaveLoad.cpp UITransition.cpp UiGame.cpp VideoPlayer.cpp VideoPlayer.h Viewport.cpp Vis.cpp
diffstat 15 files changed, 3 insertions(+), 264 deletions(-) [+]
line wrap: on
line diff
--- a/Actor.cpp	Tue Jun 11 15:26:53 2013 +0200
+++ b/Actor.cpp	Tue Jun 11 18:52:42 2013 +0200
@@ -5,7 +5,7 @@
 #include <assert.h>
 
 
-#include "VideoPlayer.h"
+#include "mm7_data.h"
 #include "DecalBuilder.h"
 
 #include "Sprites.h"
--- a/Mouse.cpp	Tue Jun 11 15:26:53 2013 +0200
+++ b/Mouse.cpp	Tue Jun 11 18:52:42 2013 +0200
@@ -5,7 +5,7 @@
 #include "OSAPI.h"
 
 #include "VideoPlayer.h"
-#include "Vis.h"
+#include "Render.h"
 #include "Mouse.h"
 #include "Items.h"
 #include "Party.h"
--- a/UIHouses.cpp	Tue Jun 11 15:26:53 2013 +0200
+++ b/UIHouses.cpp	Tue Jun 11 18:52:42 2013 +0200
@@ -4,7 +4,6 @@
 
 #include "UIHouses.h"
 #include "Party.h"
-#include "Player.h"
 #include "texts.h"
 #include "Events.h"
 #include "Arcomage.h"
@@ -14,20 +13,15 @@
 #include "GUIFont.h"
 #include "Events2D.h"
 #include "Overlays.h"
-#include "Render.h"
-#include "Indoor.h"
 #include "Outdoor.h"
 #include "AudioPlayer.h"
 #include "VideoPlayer.h"
 #include "Monsters.h"
 #include "Viewport.h"
 #include "Keyboard.h"
-#include "NPC.h"
 #include "IndoorCamera.h"
 #include "MapInfo.h"
 #include "Log.h"
-#include "MM7.h"
-#include "mm7_data.h"
 #include "Game.h"
 
 #include "stru159.h"
--- a/UIMainMenu.cpp	Tue Jun 11 15:26:53 2013 +0200
+++ b/UIMainMenu.cpp	Tue Jun 11 18:52:42 2013 +0200
@@ -4,48 +4,18 @@
 
 #include <assert.h>
 
-#include "MM7.h"
 
 #include "Mouse.h"
 #include "Keyboard.h"
 
-#include "MapInfo.h"
-#include "Game.h"
 #include "GUIWindow.h"
 #include "GUIFont.h"
-#include "GUIProgressBar.h"
-#include "Party.h"
 #include "AudioPlayer.h"
 #include "Outdoor.h"
-#include "IndoorCamera.h"
-#include "Overlays.h"
-#include "Monsters.h"
-#include "Arcomage.h"
 #include "LOD.h"
-#include "Actor.h"
 #include "Allocator.h"
-#include "Events.h"
-#include "Viewport.h"
-#include "FrameTableInc.h"
-#include "Math.h"
-#include "SpriteObject.h"
-#include "ObjectList.h"
-#include "Chest.h"
 #include "PaletteManager.h"
-#include "DecorationList.h"
-#include "SaveLoad.h"
-#include "stru123.h"
-#include "Time.h"
 #include "IconFrameTable.h"
-#include "Awards.h"
-#include "Autonotes.h"
-#include "stru160.h"
-#include "TurnEngine.h"
-#include "CastSpellInfo.h"
-#include "Weather.h"
-#include "stru298.h"
-#include "StorylineTextTable.h"
-#include "Events2D.h"
 #include "texts.h"
 
 #include "mm7_data.h"
--- a/UIOptions.cpp	Tue Jun 11 15:26:53 2013 +0200
+++ b/UIOptions.cpp	Tue Jun 11 18:52:42 2013 +0200
@@ -9,43 +9,11 @@
 #include "stru6.h"
 #include "stru9.h"
 
-#include "MapInfo.h"
 #include "Game.h"
 #include "GUIWindow.h"
 #include "GUIFont.h"
-#include "GUIProgressBar.h"
-#include "Party.h"
 #include "AudioPlayer.h"
-#include "Outdoor.h"
-#include "IndoorCamera.h"
-#include "Overlays.h"
-#include "Monsters.h"
-#include "Arcomage.h"
 #include "LOD.h"
-#include "Actor.h"
-#include "Allocator.h"
-#include "Events.h"
-#include "Viewport.h"
-#include "FrameTableInc.h"
-#include "Math.h"
-#include "SpriteObject.h"
-#include "ObjectList.h"
-#include "Chest.h"
-#include "PaletteManager.h"
-#include "DecorationList.h"
-#include "SaveLoad.h"
-#include "stru123.h"
-#include "Time.h"
-#include "IconFrameTable.h"
-#include "Awards.h"
-#include "Autonotes.h"
-#include "stru160.h"
-#include "TurnEngine.h"
-#include "CastSpellInfo.h"
-#include "Weather.h"
-#include "stru298.h"
-#include "StorylineTextTable.h"
-#include "Events2D.h"
 #include "texts.h"
 
 #include "mm7_data.h"
--- a/UIPartyCreation.cpp	Tue Jun 11 15:26:53 2013 +0200
+++ b/UIPartyCreation.cpp	Tue Jun 11 18:52:42 2013 +0200
@@ -4,59 +4,20 @@
 
 #include <assert.h>
 
-#include "MM7.h"
 
-#include "LightmapBuilder.h"
-#include "DecalBuilder.h"
-#include "ParticleEngine.h"
 #include "Mouse.h"
 #include "Keyboard.h"
-#include "IndoorCameraD3D.h"
-#include "CShow.h"
-#include "GammaControl.h"
-#include "stru6.h"
-#include "stru9.h"
-#include "stru10.h"
-#include "stru11.h"
-#include "stru12.h"
 
-#include "MapInfo.h"
 #include "Game.h"
 #include "GUIWindow.h"
 #include "GUIFont.h"
-#include "GUIProgressBar.h"
 #include "Party.h"
 #include "AudioPlayer.h"
 #include "Outdoor.h"
-#include "IndoorCamera.h"
-#include "Overlays.h"
-#include "Monsters.h"
-#include "Arcomage.h"
 #include "LOD.h"
-#include "Actor.h"
 #include "Allocator.h"
-#include "Events.h"
-#include "Viewport.h"
-#include "FrameTableInc.h"
-#include "Math.h"
-#include "SpriteObject.h"
-#include "ObjectList.h"
-#include "Chest.h"
-#include "PaletteManager.h"
-#include "DecorationList.h"
-#include "SaveLoad.h"
-#include "stru123.h"
 #include "Time.h"
 #include "IconFrameTable.h"
-#include "Awards.h"
-#include "Autonotes.h"
-#include "stru160.h"
-#include "TurnEngine.h"
-#include "CastSpellInfo.h"
-#include "Weather.h"
-#include "stru298.h"
-#include "StorylineTextTable.h"
-#include "Events2D.h"
 #include "texts.h"
 
 #include "mm7_data.h"
--- a/UIPopup.cpp	Tue Jun 11 15:26:53 2013 +0200
+++ b/UIPopup.cpp	Tue Jun 11 18:52:42 2013 +0200
@@ -10,43 +10,19 @@
 
 #include "Sprites.h"
 #include "Vis.h"
-#include "MapInfo.h"
 #include "Game.h"
 #include "GUIWindow.h"
 #include "GUIFont.h"
-#include "GUIProgressBar.h"
 #include "Party.h"
 #include "AudioPlayer.h"
-#include "Outdoor.h"
-#include "IndoorCamera.h"
-#include "Overlays.h"
-#include "Monsters.h"
-#include "Arcomage.h"
 #include "LOD.h"
 #include "Actor.h"
-#include "Allocator.h"
-#include "Events.h"
 #include "Viewport.h"
-#include "FrameTableInc.h"
-#include "Math.h"
 #include "SpriteObject.h"
 #include "ObjectList.h"
 #include "Chest.h"
 #include "PaletteManager.h"
-#include "DecorationList.h"
-#include "SaveLoad.h"
-#include "stru123.h"
 #include "Time.h"
-#include "IconFrameTable.h"
-#include "Awards.h"
-#include "Autonotes.h"
-#include "stru160.h"
-#include "TurnEngine.h"
-#include "CastSpellInfo.h"
-#include "Weather.h"
-#include "stru298.h"
-#include "StorylineTextTable.h"
-#include "Events2D.h"
 #include "texts.h"
 
 #include "mm7_data.h"
--- a/UIRest.cpp	Tue Jun 11 15:26:53 2013 +0200
+++ b/UIRest.cpp	Tue Jun 11 18:52:42 2013 +0200
@@ -4,46 +4,15 @@
 
 #include <assert.h>
 
-#include "MM7.h"
 
-#include "MapInfo.h"
-#include "Game.h"
-#include "Player.h"
 #include "GUIWindow.h"
 #include "GUIFont.h"
-#include "GUIProgressBar.h"
 #include "Party.h"
 #include "AudioPlayer.h"
 #include "Outdoor.h"
-#include "IndoorCamera.h"
-#include "Overlays.h"
-#include "Monsters.h"
-#include "Arcomage.h"
 #include "LOD.h"
-#include "Actor.h"
-#include "Allocator.h"
-#include "Events.h"
 #include "Viewport.h"
-#include "FrameTableInc.h"
-#include "Math.h"
-#include "SpriteObject.h"
-#include "ObjectList.h"
-#include "Chest.h"
-#include "PaletteManager.h"
-#include "DecorationList.h"
-#include "SaveLoad.h"
-#include "stru123.h"
 #include "Time.h"
-#include "IconFrameTable.h"
-#include "Awards.h"
-#include "Autonotes.h"
-#include "stru160.h"
-#include "TurnEngine.h"
-#include "CastSpellInfo.h"
-#include "Weather.h"
-#include "stru298.h"
-#include "StorylineTextTable.h"
-#include "Events2D.h"
 #include "texts.h"
 
 #include "mm7_data.h"
--- a/UISaveLoad.cpp	Tue Jun 11 15:26:53 2013 +0200
+++ b/UISaveLoad.cpp	Tue Jun 11 18:52:42 2013 +0200
@@ -6,46 +6,16 @@
 #include <io.h>
 #include "MM7.h"
 
-#include "Mouse.h"
 #include "Keyboard.h"
 
 #include "MapInfo.h"
-#include "Game.h"
 #include "GUIWindow.h"
 #include "GUIFont.h"
-#include "GUIProgressBar.h"
-#include "Party.h"
-#include "AudioPlayer.h"
 #include "Outdoor.h"
 #include "IndoorCamera.h"
-#include "Overlays.h"
-#include "Monsters.h"
-#include "Arcomage.h"
 #include "LOD.h"
-#include "Actor.h"
 #include "Allocator.h"
-#include "Events.h"
-#include "Viewport.h"
-#include "FrameTableInc.h"
-#include "Math.h"
-#include "SpriteObject.h"
-#include "ObjectList.h"
-#include "Chest.h"
-#include "PaletteManager.h"
-#include "DecorationList.h"
 #include "SaveLoad.h"
-#include "stru123.h"
-#include "Time.h"
-#include "IconFrameTable.h"
-#include "Awards.h"
-#include "Autonotes.h"
-#include "stru160.h"
-#include "TurnEngine.h"
-#include "CastSpellInfo.h"
-#include "Weather.h"
-#include "stru298.h"
-#include "StorylineTextTable.h"
-#include "Events2D.h"
 #include "texts.h"
 
 #include "mm7_data.h"
--- a/UITransition.cpp	Tue Jun 11 15:26:53 2013 +0200
+++ b/UITransition.cpp	Tue Jun 11 18:52:42 2013 +0200
@@ -5,52 +5,21 @@
 #include <assert.h>
 #include <io.h>
 
-#include "Mouse.h"
-#include "Keyboard.h"
 #include "VideoPlayer.h"
 #include "MapInfo.h"
-#include "Game.h"
 #include "GUIWindow.h"
 #include "GUIFont.h"
 #include "GUIProgressBar.h"
 #include "Party.h"
 #include "AudioPlayer.h"
 #include "Outdoor.h"
-#include "IndoorCamera.h"
-#include "Overlays.h"
-#include "Monsters.h"
-#include "Arcomage.h"
 #include "LOD.h"
-#include "Actor.h"
-#include "Allocator.h"
-#include "Events.h"
-#include "Viewport.h"
-#include "FrameTableInc.h"
-#include "Math.h"
-#include "SpriteObject.h"
-#include "ObjectList.h"
-#include "Chest.h"
-#include "PaletteManager.h"
-#include "DecorationList.h"
-#include "SaveLoad.h"
-#include "stru123.h"
 #include "Time.h"
-#include "IconFrameTable.h"
-#include "Awards.h"
-#include "Autonotes.h"
 #include "stru159.h"
-#include "stru160.h"
-#include "TurnEngine.h"
-#include "CastSpellInfo.h"
-#include "Weather.h"
-#include "stru298.h"
-#include "StorylineTextTable.h"
 #include "Events2D.h"
 #include "texts.h"
 #include "UIHouses.h"
 
-#include "mm7_data.h"
-
 
 
 
--- a/UiGame.cpp	Tue Jun 11 15:26:53 2013 +0200
+++ b/UiGame.cpp	Tue Jun 11 18:52:42 2013 +0200
@@ -6,64 +6,32 @@
 
 #include "MM7.h"
 
-#include "BSPModel.h"
-#include "LightmapBuilder.h"
-#include "DecalBuilder.h"
-#include "ParticleEngine.h"
 #include "Mouse.h"
 #include "Keyboard.h"
-#include "IndoorCameraD3D.h"
-#include "CShow.h"
-#include "GammaControl.h"
-#include "stru6.h"
-#include "stru9.h"
-#include "stru10.h"
 #include "stru11.h"
-#include "stru12.h"
 
 #include "Vis.h"
 #include "MapInfo.h"
 #include "Game.h"
 #include "GUIWindow.h"
 #include "GUIFont.h"
-#include "GUIProgressBar.h"
 #include "Party.h"
 #include "AudioPlayer.h"
 #include "Outdoor.h"
-#include "IndoorCamera.h"
-#include "Overlays.h"
-#include "Monsters.h"
-#include "Arcomage.h"
 #include "LOD.h"
 #include "Actor.h"
-#include "Allocator.h"
-#include "Events.h"
 #include "Viewport.h"
-#include "FrameTableInc.h"
-#include "Math.h"
 #include "SpriteObject.h"
 #include "ObjectList.h"
-#include "Chest.h"
-#include "PaletteManager.h"
 #include "DecorationList.h"
 #include "PlayerFrameTable.h"
-#include "SaveLoad.h"
 #include "stru123.h"
 #include "Time.h"
 #include "IconFrameTable.h"
-#include "Awards.h"
-#include "Autonotes.h"
-#include "stru160.h"
 #include "TurnEngine.h"
-#include "CastSpellInfo.h"
-#include "Weather.h"
-#include "stru298.h"
-#include "StorylineTextTable.h"
-#include "Events2D.h"
 #include "texts.h"
 #include "UIHouses.h"
 
-#include "mm7_data.h"
 
 
 
--- a/VideoPlayer.cpp	Tue Jun 11 15:26:53 2013 +0200
+++ b/VideoPlayer.cpp	Tue Jun 11 18:52:42 2013 +0200
@@ -19,10 +19,8 @@
 #include "Allocator.h"
 #include "Time.h"
 #include "Log.h"
+#include "texts.h"
 #include "UIHouses.h"
-#include "texts.h"
-#include "MM7.h"
-#include "mm7_data.h"
 
 
 VideoPlayer *pVideoPlayer = nullptr;
--- a/VideoPlayer.h	Tue Jun 11 15:26:53 2013 +0200
+++ b/VideoPlayer.h	Tue Jun 11 18:52:42 2013 +0200
@@ -1,7 +1,6 @@
 #pragma once
 #include "OSAPI.h"
 
-#include "Texture.h"
 #include "mm7_data.h"
 
 
--- a/Viewport.cpp	Tue Jun 11 15:26:53 2013 +0200
+++ b/Viewport.cpp	Tue Jun 11 18:52:42 2013 +0200
@@ -1,9 +1,7 @@
 #include "Viewport.h"
 
 #include "Party.h"
-#include "VectorTypes.h"
 #include "Indoor.h"
-#include "Render.h"
 #include "Math.h"
 #include "mm7_data.h"
 
--- a/Vis.cpp	Tue Jun 11 15:26:53 2013 +0200
+++ b/Vis.cpp	Tue Jun 11 18:52:42 2013 +0200
@@ -1,6 +1,5 @@
 #include <assert.h>
 
-#include "BSPModel.h"
 #include "Vis.h"
 #include "Outdoor.h"
 #include "Game.h"