aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBendegúz Nagy2016-09-03 10:47:16 +0200
committerBendegúz Nagy2016-09-03 10:47:16 +0200
commitcb8fca46c5495d8f27c96ab4aa5b23c16910df0e (patch)
treee5e2f84371607323e1d2aaf9757ba417de1ce28a
parentcd3b485952b71244392f594164e60b96a07fb23c (diff)
downloadscummvm-rg350-cb8fca46c5495d8f27c96ab4aa5b23c16910df0e.tar.gz
scummvm-rg350-cb8fca46c5495d8f27c96ab4aa5b23c16910df0e.tar.bz2
scummvm-rg350-cb8fca46c5495d8f27c96ab4aa5b23c16910df0e.zip
DM: Fix include headers
Add DM_ prefix Add missing include guards
-rw-r--r--engines/dm/console.h4
-rw-r--r--engines/dm/dialog.h5
-rw-r--r--engines/dm/dm.h4
-rw-r--r--engines/dm/dungeonman.h4
-rw-r--r--engines/dm/gfx.h4
-rw-r--r--engines/dm/inventory.h5
-rw-r--r--engines/dm/lzw.h5
-rw-r--r--engines/dm/objectman.h5
-rw-r--r--engines/dm/sounds.h5
9 files changed, 33 insertions, 8 deletions
diff --git a/engines/dm/console.h b/engines/dm/console.h
index 546711e303..eee72aaf18 100644
--- a/engines/dm/console.h
+++ b/engines/dm/console.h
@@ -25,11 +25,11 @@
* maintainer of the Dungeon Master Encyclopaedia (http://dmweb.free.fr/)
*/
-#include "gui/debugger.h"
-
#ifndef DM_CONSOLE_H
#define DM_CONSOLE_H
+#include "gui/debugger.h"
+
namespace DM {
class DMEngine;
diff --git a/engines/dm/dialog.h b/engines/dm/dialog.h
index bf6618a264..c736f35b63 100644
--- a/engines/dm/dialog.h
+++ b/engines/dm/dialog.h
@@ -25,6 +25,9 @@
* maintainer of the Dungeon Master Encyclopaedia (http://dmweb.free.fr/)
*/
+#ifndef DM_DIALOG_H
+#define DM_DIALOG_H
+
#include "dm/dm.h"
namespace DM {
@@ -54,3 +57,5 @@ public:
};
}
+
+#endif
diff --git a/engines/dm/dm.h b/engines/dm/dm.h
index 979301d412..35a1f394c7 100644
--- a/engines/dm/dm.h
+++ b/engines/dm/dm.h
@@ -25,8 +25,8 @@
* maintainer of the Dungeon Master Encyclopaedia (http://dmweb.free.fr/)
*/
-#ifndef DM_H
-#define DM_H
+#ifndef DM_DM_H
+#define DM_DM_H
#include "engines/engine.h"
#include "engines/savestate.h"
diff --git a/engines/dm/dungeonman.h b/engines/dm/dungeonman.h
index 450cd7faf8..100ce75f68 100644
--- a/engines/dm/dungeonman.h
+++ b/engines/dm/dungeonman.h
@@ -25,8 +25,8 @@
* maintainer of the Dungeon Master Encyclopaedia (http://dmweb.free.fr/)
*/
-#ifndef DUNGEONMAN_H
-#define DUNGEONMAN_H
+#ifndef DM_DUNGEONMAN_H
+#define DM_DUNGEONMAN_H
#include "dm/dm.h"
#include "dm/gfx.h"
diff --git a/engines/dm/gfx.h b/engines/dm/gfx.h
index f3e6a5d5da..319ac90b57 100644
--- a/engines/dm/gfx.h
+++ b/engines/dm/gfx.h
@@ -25,8 +25,8 @@
* maintainer of the Dungeon Master Encyclopaedia (http://dmweb.free.fr/)
*/
-#ifndef GFX_H
-#define GFX_H
+#ifndef DM_GFX_H
+#define DM_GFX_H
#include "common/scummsys.h"
#include "common/rect.h"
diff --git a/engines/dm/inventory.h b/engines/dm/inventory.h
index e5bc490c44..c4685575c2 100644
--- a/engines/dm/inventory.h
+++ b/engines/dm/inventory.h
@@ -25,6 +25,9 @@
* maintainer of the Dungeon Master Encyclopaedia (http://dmweb.free.fr/)
*/
+#ifndef DM_INVENTORY_H
+#define DM_INVENTORY_H
+
#include "dm/dm.h"
#include "dm/gfx.h"
#include "dm/champion.h"
@@ -92,3 +95,5 @@ public:
};
}
+
+#endif
diff --git a/engines/dm/lzw.h b/engines/dm/lzw.h
index b476c11cd8..3603423718 100644
--- a/engines/dm/lzw.h
+++ b/engines/dm/lzw.h
@@ -25,6 +25,9 @@
* maintainer of the Dungeon Master Encyclopaedia (http://dmweb.free.fr/)
*/
+#ifndef DM_LZW_H
+#define DM_LZW_H
+
#include "common/file.h"
#include "dm/dm.h"
@@ -62,3 +65,5 @@ public:
};
}
+
+#endif
diff --git a/engines/dm/objectman.h b/engines/dm/objectman.h
index 6c128eaa82..9d42d6b93f 100644
--- a/engines/dm/objectman.h
+++ b/engines/dm/objectman.h
@@ -25,6 +25,9 @@
* maintainer of the Dungeon Master Encyclopaedia (http://dmweb.free.fr/)
*/
+#ifndef DM_OBJECTMAN_H
+#define DM_OBJECTMAN_H
+
#include "dm/dm.h"
#include "dm/champion.h"
@@ -69,3 +72,5 @@ public:
};
}
+
+#endif
diff --git a/engines/dm/sounds.h b/engines/dm/sounds.h
index 1d0996372c..f50d481307 100644
--- a/engines/dm/sounds.h
+++ b/engines/dm/sounds.h
@@ -25,6 +25,9 @@
* maintainer of the Dungeon Master Encyclopaedia (http://dmweb.free.fr/)
*/
+#ifndef DM_SOUND_H
+#define DM_SOUND_H
+
#include "dm/dm.h"
namespace DM {
@@ -94,3 +97,5 @@ public:
};
}
+
+#endif