DM: Fix include headers

Add DM_ prefix
Add missing include guards
This commit is contained in:
Bendegúz Nagy 2016-09-03 10:47:16 +02:00
parent cd3b485952
commit cb8fca46c5
9 changed files with 33 additions and 8 deletions

View File

@ -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;

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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