aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2016-05-17 18:20:01 +0200
committerEugene Sandulenko2016-05-17 18:21:30 +0200
commit33abb6118f9551c6a4afc05ad35de6f630ccb152 (patch)
treeaf8609f238aa4b0a38767a8767da3dc5f20e7cd0 /engines
parent3aafeee19c6ebe9c5bd1f1840dd6fc809ed6a87d (diff)
downloadscummvm-rg350-33abb6118f9551c6a4afc05ad35de6f630ccb152.tar.gz
scummvm-rg350-33abb6118f9551c6a4afc05ad35de6f630ccb152.tar.bz2
scummvm-rg350-33abb6118f9551c6a4afc05ad35de6f630ccb152.zip
ALL: Change main engine header guard defines to <directory>_<engine>_H
Recently we started to use this as new semantics, although in the past we used simly <engine>_H. Now these guard defines are consistent with rest of the files which are used in the engines.
Diffstat (limited to 'engines')
-rw-r--r--engines/agi/agi.h6
-rw-r--r--engines/cge/cge.h4
-rw-r--r--engines/cge2/cge2.h6
-rw-r--r--engines/cine/cine.h4
-rw-r--r--engines/composer/composer.h4
-rw-r--r--engines/draci/draci.h6
-rw-r--r--engines/drascula/drascula.h6
-rw-r--r--engines/dreamweb/dreamweb.h4
-rw-r--r--engines/groovie/groovie.h6
-rw-r--r--engines/hugo/hugo.h6
-rw-r--r--engines/lastexpress/lastexpress.h6
-rw-r--r--engines/lure/lure.h4
-rw-r--r--engines/mohawk/mohawk.h4
-rw-r--r--engines/neverhood/neverhood.h6
-rw-r--r--engines/parallaction/parallaction.h4
-rw-r--r--engines/pegasus/pegasus.h4
-rw-r--r--engines/prince/prince.h4
-rw-r--r--engines/queen/queen.h4
-rw-r--r--engines/saga/saga.h4
-rw-r--r--engines/sci/sci.h6
-rw-r--r--engines/scumm/scumm.h4
-rw-r--r--engines/sherlock/sherlock.h4
-rw-r--r--engines/sky/sky.h4
-rw-r--r--engines/sword1/sword1.h6
-rw-r--r--engines/sword2/sword2.h4
-rw-r--r--engines/sword25/sword25.h4
-rw-r--r--engines/teenagent/teenagent.h4
-rw-r--r--engines/testbed/testbed.h6
-rw-r--r--engines/tinsel/tinsel.h6
-rw-r--r--engines/toltecs/toltecs.h6
-rw-r--r--engines/tony/tony.h6
-rw-r--r--engines/touche/touche.h4
-rw-r--r--engines/tsage/tsage.h4
-rw-r--r--engines/tucker/tucker.h4
-rw-r--r--engines/wintermute/wintermute.h4
35 files changed, 84 insertions, 84 deletions
diff --git a/engines/agi/agi.h b/engines/agi/agi.h
index 1baf0d912f..79d05c4b1d 100644
--- a/engines/agi/agi.h
+++ b/engines/agi/agi.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef AGI_H
-#define AGI_H
+#ifndef AGI_AGI_H
+#define AGI_AGI_H
#include "common/scummsys.h"
#include "common/error.h"
@@ -991,4 +991,4 @@ private:
} // End of namespace Agi
-#endif /* AGI_H */
+#endif /* AGI_AGI_H */
diff --git a/engines/cge/cge.h b/engines/cge/cge.h
index c43358f252..d3f8a93c1d 100644
--- a/engines/cge/cge.h
+++ b/engines/cge/cge.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef CGE_H
-#define CGE_H
+#ifndef CGE_CGE_H
+#define CGE_CGE_H
#include "common/random.h"
#include "common/savefile.h"
diff --git a/engines/cge2/cge2.h b/engines/cge2/cge2.h
index fbe4cb3abc..18f919b5eb 100644
--- a/engines/cge2/cge2.h
+++ b/engines/cge2/cge2.h
@@ -25,8 +25,8 @@
* Copyright (c) 1994-1997 Janus B. Wisniewski and L.K. Avalon
*/
-#ifndef CGE2_H
-#define CGE2_H
+#ifndef CGE2_CGE2_H
+#define CGE2_CGE2_H
#include "common/random.h"
#include "common/savefile.h"
@@ -335,4 +335,4 @@ public:
} // End of namespace CGE2
-#endif // CGE2_H
+#endif // CGE2_CGE2_H
diff --git a/engines/cine/cine.h b/engines/cine/cine.h
index 7c0191b4d9..615e36d598 100644
--- a/engines/cine/cine.h
+++ b/engines/cine/cine.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef CINE_H
-#define CINE_H
+#ifndef CINE_CINE_H
+#define CINE_CINE_H
#include "common/scummsys.h"
diff --git a/engines/composer/composer.h b/engines/composer/composer.h
index 234494e655..d1a85e975a 100644
--- a/engines/composer/composer.h
+++ b/engines/composer/composer.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef COMPOSER_H
-#define COMPOSER_H
+#ifndef COMPOSER_COMPOSER_H
+#define COMPOSER_COMPOSER_H
#include "common/ini-file.h"
#include "common/random.h"
diff --git a/engines/draci/draci.h b/engines/draci/draci.h
index 540c288d3d..90afdbcf60 100644
--- a/engines/draci/draci.h
+++ b/engines/draci/draci.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef DRACI_H
-#define DRACI_H
+#ifndef DRACI_DRACI_H
+#define DRACI_DRACI_H
#include "engines/engine.h"
#include "common/random.h"
@@ -126,4 +126,4 @@ static inline long scummvm_lround(double val) { return (long)floor(val + 0.5); }
} // End of namespace Draci
-#endif // DRACI_H
+#endif // DRACI_DRACI_H
diff --git a/engines/drascula/drascula.h b/engines/drascula/drascula.h
index acca2e5915..c879a83db7 100644
--- a/engines/drascula/drascula.h
+++ b/engines/drascula/drascula.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef DRASCULA_H
-#define DRASCULA_H
+#ifndef DRASCULA_DRASCULA_H
+#define DRASCULA_DRASCULA_H
#include "common/scummsys.h"
#include "common/archive.h"
@@ -784,4 +784,4 @@ protected:
} // End of namespace Drascula
-#endif /* DRASCULA_H */
+#endif /* DRASCULA_DRASCULA_H */
diff --git a/engines/dreamweb/dreamweb.h b/engines/dreamweb/dreamweb.h
index 2e5fb424f8..45bacdba86 100644
--- a/engines/dreamweb/dreamweb.h
+++ b/engines/dreamweb/dreamweb.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef DREAMWEB_H
-#define DREAMWEB_H
+#ifndef DREAMWEB_DREAMWEB_H
+#define DREAMWEB_DREAMWEB_H
#include "common/error.h"
#include "common/keyboard.h"
diff --git a/engines/groovie/groovie.h b/engines/groovie/groovie.h
index d442d39cb2..c2994d20cc 100644
--- a/engines/groovie/groovie.h
+++ b/engines/groovie/groovie.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef GROOVIE_H
-#define GROOVIE_H
+#ifndef GROOVIE_GROOVIE_H
+#define GROOVIE_GROOVIE_H
#include "groovie/debug.h"
#include "groovie/font.h"
@@ -132,4 +132,4 @@ private:
} // End of namespace Groovie
-#endif // GROOVIE_H
+#endif // GROOVIE_GROOVIE_H
diff --git a/engines/hugo/hugo.h b/engines/hugo/hugo.h
index 27dfea8725..85209afe06 100644
--- a/engines/hugo/hugo.h
+++ b/engines/hugo/hugo.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef HUGO_H
-#define HUGO_H
+#ifndef HUGO_HUGO_H
+#define HUGO_HUGO_H
#include "engines/engine.h"
@@ -341,4 +341,4 @@ private:
} // End of namespace Hugo
-#endif // Hugo_H
+#endif // HUGO_HUGO_H
diff --git a/engines/lastexpress/lastexpress.h b/engines/lastexpress/lastexpress.h
index b4098f3860..b33784b1e8 100644
--- a/engines/lastexpress/lastexpress.h
+++ b/engines/lastexpress/lastexpress.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef LASTEXPRESS_H
-#define LASTEXPRESS_H
+#ifndef LASTEXPRESS_LASTEXPRESS_H
+#define LASTEXPRESS_LASTEXPRESS_H
#include "lastexpress/debug.h"
#include "lastexpress/eventhandler.h"
@@ -146,4 +146,4 @@ private:
} // End of namespace LastExpress
-#endif // LASTEXPRESS_H
+#endif // LASTEXPRESS_LASTEXPRESS_H
diff --git a/engines/lure/lure.h b/engines/lure/lure.h
index af00197c3f..71ce2d3cff 100644
--- a/engines/lure/lure.h
+++ b/engines/lure/lure.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef LURE_H
-#define LURE_H
+#ifndef LURE_LURE_H
+#define LURE_LURE_H
#include "engines/engine.h"
#include "common/rect.h"
diff --git a/engines/mohawk/mohawk.h b/engines/mohawk/mohawk.h
index 6fa733e38e..ac91dca971 100644
--- a/engines/mohawk/mohawk.h
+++ b/engines/mohawk/mohawk.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef MOHAWK_H
-#define MOHAWK_H
+#ifndef MOHAWK_MOHAWK_H
+#define MOHAWK_MOHAWK_H
#include "common/scummsys.h"
#include "common/array.h"
diff --git a/engines/neverhood/neverhood.h b/engines/neverhood/neverhood.h
index 9eac4ffc44..4c5f9c3303 100644
--- a/engines/neverhood/neverhood.h
+++ b/engines/neverhood/neverhood.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef NEVERHOOD_H
-#define NEVERHOOD_H
+#ifndef NEVERHOOD_NEVERHOOD_H
+#define NEVERHOOD_NEVERHOOD_H
#include "common/scummsys.h"
#include "common/events.h"
@@ -149,4 +149,4 @@ private:
} // End of namespace Neverhood
-#endif /* NEVERHOOD_H */
+#endif /* NEVERHOOD_NEVERHOOD_H */
diff --git a/engines/parallaction/parallaction.h b/engines/parallaction/parallaction.h
index 6ea50584f8..c4839897ef 100644
--- a/engines/parallaction/parallaction.h
+++ b/engines/parallaction/parallaction.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef PARALLACTION_H
-#define PARALLACTION_H
+#ifndef PARALLACTION_PARALLACTION_H
+#define PARALLACTION_PARALLACTION_H
#include "common/str.h"
#include "common/stack.h"
diff --git a/engines/pegasus/pegasus.h b/engines/pegasus/pegasus.h
index d88545a4d1..57ae910def 100644
--- a/engines/pegasus/pegasus.h
+++ b/engines/pegasus/pegasus.h
@@ -23,8 +23,8 @@
*
*/
-#ifndef PEGASUS_H
-#define PEGASUS_H
+#ifndef PEGASUS_PEGASUS_H
+#define PEGASUS_PEGASUS_H
#include "common/list.h"
#include "common/macresman.h"
diff --git a/engines/prince/prince.h b/engines/prince/prince.h
index 6dce044a41..82fcb152fa 100644
--- a/engines/prince/prince.h
+++ b/engines/prince/prince.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef PRINCE_H
-#define PRINCE_H
+#ifndef PRINCE_PRINCE_H
+#define PRINCE_PRINCE_H
#include "common/random.h"
#include "common/system.h"
diff --git a/engines/queen/queen.h b/engines/queen/queen.h
index c00e1b3a70..789025c264 100644
--- a/engines/queen/queen.h
+++ b/engines/queen/queen.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef QUEEN_H
-#define QUEEN_H
+#ifndef QUEEN_QUEEN_H
+#define QUEEN_QUEEN_H
#include "engines/engine.h"
#include "common/random.h"
diff --git a/engines/saga/saga.h b/engines/saga/saga.h
index 06cb411e5a..422eaa530d 100644
--- a/engines/saga/saga.h
+++ b/engines/saga/saga.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef SAGA_H
-#define SAGA_H
+#ifndef SAGA_SAGA_H
+#define SAGA_SAGA_H
#include "engines/engine.h"
diff --git a/engines/sci/sci.h b/engines/sci/sci.h
index 7df3d38163..c49a516d01 100644
--- a/engines/sci/sci.h
+++ b/engines/sci/sci.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef SCI_H
-#define SCI_H
+#ifndef SCI_SCI_H
+#define SCI_SCI_H
#include "engines/engine.h"
#include "common/macresman.h"
@@ -460,4 +460,4 @@ const char *getSciVersionDesc(SciVersion version);
} // End of namespace Sci
-#endif // SCI_H
+#endif // SCI_SCI_H
diff --git a/engines/scumm/scumm.h b/engines/scumm/scumm.h
index 6e0adc3ff3..62386d3346 100644
--- a/engines/scumm/scumm.h
+++ b/engines/scumm/scumm.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef SCUMM_H
-#define SCUMM_H
+#ifndef SCUMM_SCUMM_H
+#define SCUMM_SCUMM_H
#include "engines/engine.h"
diff --git a/engines/sherlock/sherlock.h b/engines/sherlock/sherlock.h
index d3b2d0cac8..0b4333ea3a 100644
--- a/engines/sherlock/sherlock.h
+++ b/engines/sherlock/sherlock.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef SHERLOCK_HOLMES_H
-#define SHERLOCK_HOLMES_H
+#ifndef SHERLOCK_SHERLOCK_H
+#define SHERLOCK_SHERLOCK_H
#include "common/scummsys.h"
#include "common/array.h"
diff --git a/engines/sky/sky.h b/engines/sky/sky.h
index 56833004ac..374302b8d3 100644
--- a/engines/sky/sky.h
+++ b/engines/sky/sky.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef SKY_H
-#define SKY_H
+#ifndef SKY_SKY_H
+#define SKY_SKY_H
#include "common/error.h"
diff --git a/engines/sword1/sword1.h b/engines/sword1/sword1.h
index eb24ef70fa..8dab522fd0 100644
--- a/engines/sword1/sword1.h
+++ b/engines/sword1/sword1.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef SWORD1_H
-#define SWORD1_H
+#ifndef SWORD1_SWORD1_H
+#define SWORD1_SWORD1_H
#include "engines/engine.h"
#include "common/error.h"
@@ -150,4 +150,4 @@ private:
} // End of namespace Sword1
-#endif //BSSWORD1_H
+#endif // SWORD1_SWORD1_H
diff --git a/engines/sword2/sword2.h b/engines/sword2/sword2.h
index ef5c2b215e..65d1a955fb 100644
--- a/engines/sword2/sword2.h
+++ b/engines/sword2/sword2.h
@@ -22,8 +22,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#ifndef SWORD2_H
-#define SWORD2_H
+#ifndef SWORD2_SWORD2_H
+#define SWORD2_SWORD2_H
#define FRAMES_PER_SECOND 12
diff --git a/engines/sword25/sword25.h b/engines/sword25/sword25.h
index 72391cf9d8..c08f20e3b3 100644
--- a/engines/sword25/sword25.h
+++ b/engines/sword25/sword25.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef SWORD25_H
-#define SWORD25_H
+#ifndef SWORD25_SWORD25_H
+#define SWORD25_SWORD25_H
#include "common/scummsys.h"
#include "engines/engine.h"
diff --git a/engines/teenagent/teenagent.h b/engines/teenagent/teenagent.h
index 234bfb1c57..438f06d189 100644
--- a/engines/teenagent/teenagent.h
+++ b/engines/teenagent/teenagent.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef TEENAGENT_ENGINE_H
-#define TEENAGENT_ENGINE_H
+#ifndef TEENAGENT_TEENAGENT_H
+#define TEENAGENT_TEENAGENT_H
#include "engines/engine.h"
diff --git a/engines/testbed/testbed.h b/engines/testbed/testbed.h
index 0f70e1191f..5ea05feba2 100644
--- a/engines/testbed/testbed.h
+++ b/engines/testbed/testbed.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef TESTBED_H
-#define TESTBED_H
+#ifndef TESTBED_TESTBED_H
+#define TESTBED_TESTBED_H
#include "common/array.h"
@@ -72,4 +72,4 @@ private:
} // End of namespace Testbed
-#endif // TESTBED_H
+#endif // TESTBED_TESTBED_H
diff --git a/engines/tinsel/tinsel.h b/engines/tinsel/tinsel.h
index c83bc80ead..9e4ce61b04 100644
--- a/engines/tinsel/tinsel.h
+++ b/engines/tinsel/tinsel.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef TINSEL_H
-#define TINSEL_H
+#ifndef TINSEL_TINSEL_H
+#define TINSEL_TINSEL_H
#include "common/scummsys.h"
#include "common/system.h"
@@ -251,4 +251,4 @@ void CdHasChanged();
} // End of namespace Tinsel
-#endif /* TINSEL_H */
+#endif /* TINSEL_TINSEL_H */
diff --git a/engines/toltecs/toltecs.h b/engines/toltecs/toltecs.h
index 7a04f6e8da..ece82f4a1a 100644
--- a/engines/toltecs/toltecs.h
+++ b/engines/toltecs/toltecs.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef TOLTECS_H
-#define TOLTECS_H
+#ifndef TOLTECS_TOLTECS_H
+#define TOLTECS_TOLTECS_H
#include "common/scummsys.h"
#include "common/endian.h"
@@ -231,4 +231,4 @@ public:
} // End of namespace Toltecs
-#endif /* TOLTECS_H */
+#endif /* TOLTECS_TOLTECS_H */
diff --git a/engines/tony/tony.h b/engines/tony/tony.h
index 40bace8db8..fc47e1a1bf 100644
--- a/engines/tony/tony.h
+++ b/engines/tony/tony.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef TONY_H
-#define TONY_H
+#ifndef TONY_TONY_H
+#define TONY_TONY_H
#include "common/scummsys.h"
#include "common/system.h"
@@ -242,4 +242,4 @@ extern TonyEngine *g_vm;
} // End of namespace Tony
-#endif /* TONY_H */
+#endif /* TONY_TONY_H */
diff --git a/engines/touche/touche.h b/engines/touche/touche.h
index 33c415d9dc..c76532b302 100644
--- a/engines/touche/touche.h
+++ b/engines/touche/touche.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef TOUCHE_ENGINE_H
-#define TOUCHE_ENGINE_H
+#ifndef TOUCHE_TOUCHE_H
+#define TOUCHE_TOUCHE_H
#include "common/array.h"
#include "common/endian.h"
diff --git a/engines/tsage/tsage.h b/engines/tsage/tsage.h
index dd077e526f..ca29d68243 100644
--- a/engines/tsage/tsage.h
+++ b/engines/tsage/tsage.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef TSAGE_H
-#define TSAGE_H
+#ifndef TSAGE_TSAGE_H
+#define TSAGE_TSAGE_H
#include "engines/engine.h"
#include "gui/debugger.h"
diff --git a/engines/tucker/tucker.h b/engines/tucker/tucker.h
index 2ab94dedbc..1be4682508 100644
--- a/engines/tucker/tucker.h
+++ b/engines/tucker/tucker.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef TUCKER_ENGINE_H
-#define TUCKER_ENGINE_H
+#ifndef TUCKER_TUCKER_H
+#define TUCKER_TUCKER_H
#include "common/file.h"
#include "common/util.h"
diff --git a/engines/wintermute/wintermute.h b/engines/wintermute/wintermute.h
index f8f5fc7deb..f61a809b22 100644
--- a/engines/wintermute/wintermute.h
+++ b/engines/wintermute/wintermute.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef WINTERMUTE_H
-#define WINTERMUTE_H
+#ifndef WINTERMUTE_WINTERMUTE_H
+#define WINTERMUTE_WINTERMUTE_H
#include "engines/engine.h"
#include "engines/advancedDetector.h"