aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute')
-rw-r--r--engines/wintermute/AdActor.h6
-rw-r--r--engines/wintermute/AdActorDir.h6
-rw-r--r--engines/wintermute/AdGame.h4
-rw-r--r--engines/wintermute/AdInventory.h4
-rw-r--r--engines/wintermute/AdInventoryBox.h4
-rw-r--r--engines/wintermute/AdItem.h4
-rw-r--r--engines/wintermute/AdLayer.h4
-rw-r--r--engines/wintermute/AdNodeState.h4
-rw-r--r--engines/wintermute/AdPath.h4
-rw-r--r--engines/wintermute/AdPathPoint.h4
-rw-r--r--engines/wintermute/AdRegion.h4
-rw-r--r--engines/wintermute/AdResponse.h4
-rw-r--r--engines/wintermute/AdResponseBox.h4
-rw-r--r--engines/wintermute/AdResponseContext.h4
-rw-r--r--engines/wintermute/AdRotLevel.h4
-rw-r--r--engines/wintermute/AdScaleLevel.h4
-rw-r--r--engines/wintermute/AdScene.h4
-rw-r--r--engines/wintermute/AdSceneNode.h4
-rw-r--r--engines/wintermute/AdSceneState.h4
-rw-r--r--engines/wintermute/AdSentence.h4
-rw-r--r--engines/wintermute/AdSpriteSet.h4
-rw-r--r--engines/wintermute/AdTalkDef.h4
-rw-r--r--engines/wintermute/AdTalkNode.h4
-rw-r--r--engines/wintermute/AdTypes.h2
-rw-r--r--engines/wintermute/AdWaypointGroup.h4
-rw-r--r--engines/wintermute/BImage.cpp49
-rw-r--r--engines/wintermute/BRenderSDL.h2
-rw-r--r--engines/wintermute/BScriptHolder.cpp49
-rw-r--r--engines/wintermute/BSurfaceSDL.h2
-rw-r--r--engines/wintermute/FontGlyphCache.cpp49
-rw-r--r--engines/wintermute/FontGlyphCache.h55
-rw-r--r--engines/wintermute/MathUtil.cpp49
-rw-r--r--engines/wintermute/MathUtil.h55
-rw-r--r--engines/wintermute/Matrix4.cpp49
-rw-r--r--engines/wintermute/Matrix4.h55
-rw-r--r--engines/wintermute/PartEmitter.cpp49
-rw-r--r--engines/wintermute/PartEmitter.h55
-rw-r--r--engines/wintermute/PartForce.cpp49
-rw-r--r--engines/wintermute/PartForce.h55
-rw-r--r--engines/wintermute/PartParticle.cpp49
-rw-r--r--engines/wintermute/PartParticle.h55
-rw-r--r--engines/wintermute/PathUtil.h6
-rw-r--r--engines/wintermute/PlatformSDL.cpp49
-rw-r--r--engines/wintermute/StringUtil.h2
-rw-r--r--engines/wintermute/Vector2.cpp49
-rw-r--r--engines/wintermute/Vector2.h55
-rw-r--r--engines/wintermute/dcpackage.h49
-rw-r--r--engines/wintermute/scriptables/SXDate.cpp49
-rw-r--r--engines/wintermute/scriptables/SXFile.cpp49
-rw-r--r--engines/wintermute/scriptables/SXFile.h55
-rw-r--r--engines/wintermute/scriptables/SXStore.cpp49
-rw-r--r--engines/wintermute/scriptables/SXStore.h55
-rw-r--r--engines/wintermute/scriptables/SXString.cpp49
-rw-r--r--engines/wintermute/scriptables/SXString.h4
-rw-r--r--engines/wintermute/scriptables/SxObject.cpp49
-rw-r--r--engines/wintermute/scriptables/SxObject.h55
-rw-r--r--engines/wintermute/wintypes.h6
57 files changed, 768 insertions, 690 deletions
diff --git a/engines/wintermute/AdActor.h b/engines/wintermute/AdActor.h
index c1e41237ee..6d91f5f67b 100644
--- a/engines/wintermute/AdActor.h
+++ b/engines/wintermute/AdActor.h
@@ -26,8 +26,8 @@
* Copyright (c) 2011 Jan Nedoma
*/
-#ifndef __WmeAdActor_H__
-#define __WmeAdActor_H__
+#ifndef WINTERMUTE_ADACTOR_H
+#define WINTERMUTE_ADACTOR_H
#include "dctypes.h" // Added by ClassView
@@ -104,4 +104,4 @@ private:
} // end of namespace WinterMute
-#endif // __WmeAdActor_H__
+#endif // WINTERMUTE_ADACTOR_H
diff --git a/engines/wintermute/AdActorDir.h b/engines/wintermute/AdActorDir.h
index d4889f83fc..ffb9c1ff7c 100644
--- a/engines/wintermute/AdActorDir.h
+++ b/engines/wintermute/AdActorDir.h
@@ -26,8 +26,8 @@
* Copyright (c) 2011 Jan Nedoma
*/
-#ifndef __WmeAdActorDir_H__
-#define __WmeAdActorDir_H__
+#ifndef WINTERMUTE_ADACTORDIR_H
+#define WINTERMUTE_ADACTORDIR_H
#include "persistent.h"
#include "BBase.h"
@@ -43,4 +43,4 @@ public:
} // end of namespace WinterMute
-#endif // __WmeAdActorDir_H__ \ No newline at end of file
+#endif // WINTERMUTE_ADACTORDIR_H \ No newline at end of file
diff --git a/engines/wintermute/AdGame.h b/engines/wintermute/AdGame.h
index e74793c8a0..f330ef550a 100644
--- a/engines/wintermute/AdGame.h
+++ b/engines/wintermute/AdGame.h
@@ -25,8 +25,8 @@
* http://dead-code.org/redir.php?target=wmelite
* Copyright (c) 2011 Jan Nedoma
*/
-#ifndef __WmeAdGame_H__
-#define __WmeAdGame_H__
+#ifndef WINTERMUTE_ADGAME_H
+#define WINTERMUTE_ADGAME_H
#include "AdTypes.h"
#include "BGame.h"
diff --git a/engines/wintermute/AdInventory.h b/engines/wintermute/AdInventory.h
index f85fc093eb..9ea3ade9a2 100644
--- a/engines/wintermute/AdInventory.h
+++ b/engines/wintermute/AdInventory.h
@@ -26,8 +26,8 @@
* Copyright (c) 2011 Jan Nedoma
*/
-#ifndef __WmeAdInventory_H__
-#define __WmeAdInventory_H__
+#ifndef WINTERMUTE_ADINVENTORY_H
+#define WINTERMUTE_ADINVENTORY_H
#include "BObject.h"
diff --git a/engines/wintermute/AdInventoryBox.h b/engines/wintermute/AdInventoryBox.h
index edfada69a1..9f7dba6a2b 100644
--- a/engines/wintermute/AdInventoryBox.h
+++ b/engines/wintermute/AdInventoryBox.h
@@ -26,8 +26,8 @@
* Copyright (c) 2011 Jan Nedoma
*/
-#ifndef __WmeAdInventoryBox_H__
-#define __WmeAdInventoryBox_H__
+#ifndef WINTERMUTE_ADINVENTORYBOX_H
+#define WINTERMUTE_ADINVENTORYBOX_H
#include "BObject.h"
diff --git a/engines/wintermute/AdItem.h b/engines/wintermute/AdItem.h
index 51fe0559e2..50db9cc0b8 100644
--- a/engines/wintermute/AdItem.h
+++ b/engines/wintermute/AdItem.h
@@ -26,8 +26,8 @@
* Copyright (c) 2011 Jan Nedoma
*/
-#ifndef __WmeAdIte_h__
-#define __WmeAdIte_h__
+#ifndef WINTERMUTE_ADITEM_H
+#define WINTERMUTE_ADITEM_H
#include "AdTalkHolder.h"
diff --git a/engines/wintermute/AdLayer.h b/engines/wintermute/AdLayer.h
index afa80bec74..98081d217b 100644
--- a/engines/wintermute/AdLayer.h
+++ b/engines/wintermute/AdLayer.h
@@ -26,8 +26,8 @@
* Copyright (c) 2011 Jan Nedoma
*/
-#ifndef __WmeAdLayer_H__
-#define __WmeAdLayer_H__
+#ifndef WINTERMUTE_ADLAYER_H
+#define WINTERMUTE_ADLAYER_H
namespace WinterMute {
class CAdSceneNode;
diff --git a/engines/wintermute/AdNodeState.h b/engines/wintermute/AdNodeState.h
index 7b515e801c..16445376ca 100644
--- a/engines/wintermute/AdNodeState.h
+++ b/engines/wintermute/AdNodeState.h
@@ -26,8 +26,8 @@
* Copyright (c) 2011 Jan Nedoma
*/
-#ifndef __WmeAdNodeState_H__
-#define __WmeAdNodeState_H__
+#ifndef WINTERMUTE_ADNODESTATE_H
+#define WINTERMUTE_ADNODESTATE_H
namespace WinterMute {
diff --git a/engines/wintermute/AdPath.h b/engines/wintermute/AdPath.h
index 3f7090815d..efc7ffa265 100644
--- a/engines/wintermute/AdPath.h
+++ b/engines/wintermute/AdPath.h
@@ -26,8 +26,8 @@
* Copyright (c) 2011 Jan Nedoma
*/
-#ifndef __WmeAdPath_H__
-#define __WmeAdPath_H__
+#ifndef WINTERMUTE_ADPATH_H
+#define WINTERMUTE_ADPATH_H
#include "persistent.h"
#include "coll_templ.h"
diff --git a/engines/wintermute/AdPathPoint.h b/engines/wintermute/AdPathPoint.h
index 649dab5012..86edade9d7 100644
--- a/engines/wintermute/AdPathPoint.h
+++ b/engines/wintermute/AdPathPoint.h
@@ -26,8 +26,8 @@
* Copyright (c) 2011 Jan Nedoma
*/
-#ifndef __WmeAdPathPoint_H__
-#define __WmeAdPathPoint_H__
+#ifndef WINTERMUTE_ADPATHPOINT_H
+#define WINTERMUTE_ADPATHPOINT_H
#include "persistent.h"
#include "BPoint.h"
diff --git a/engines/wintermute/AdRegion.h b/engines/wintermute/AdRegion.h
index 7c017be9c7..8f386036d1 100644
--- a/engines/wintermute/AdRegion.h
+++ b/engines/wintermute/AdRegion.h
@@ -26,8 +26,8 @@
* Copyright (c) 2011 Jan Nedoma
*/
-#ifndef __WmeAdRegion_H__
-#define __WmeAdRegion_H__
+#ifndef WINTERMUTE_ADREGION_H
+#define WINTERMUTE_ADREGION_H
#include "BRegion.h"
diff --git a/engines/wintermute/AdResponse.h b/engines/wintermute/AdResponse.h
index 576092494b..09608c913e 100644
--- a/engines/wintermute/AdResponse.h
+++ b/engines/wintermute/AdResponse.h
@@ -26,8 +26,8 @@
* Copyright (c) 2011 Jan Nedoma
*/
-#ifndef __WmeAdResponse_H__
-#define __WmeAdResponse_H__
+#ifndef WINTERMUTE_ADRESPONSE_H
+#define WINTERMUTE_ADRESPONSE_H
#include "BObject.h"
diff --git a/engines/wintermute/AdResponseBox.h b/engines/wintermute/AdResponseBox.h
index 15996d7668..edc763a19b 100644
--- a/engines/wintermute/AdResponseBox.h
+++ b/engines/wintermute/AdResponseBox.h
@@ -26,8 +26,8 @@
* Copyright (c) 2011 Jan Nedoma
*/
-#ifndef __WmeAdResponseBox_H__
-#define __WmeAdResponseBox_H__
+#ifndef WINTERMUTE_ADRESPONSEBOX_H
+#define WINTERMUTE_ADRESPONSEBOX_H
#include "BObject.h"
diff --git a/engines/wintermute/AdResponseContext.h b/engines/wintermute/AdResponseContext.h
index c801e8a4e2..7bb91943e0 100644
--- a/engines/wintermute/AdResponseContext.h
+++ b/engines/wintermute/AdResponseContext.h
@@ -26,8 +26,8 @@
* Copyright (c) 2011 Jan Nedoma
*/
-#ifndef __WmeAdResponseContext_H__
-#define __WmeAdResponseContext_H__
+#ifndef WINTERMUTE_ADRESPONSECONTEXT_H
+#define WINTERMUTE_ADRESPONSECONTEXT_H
#include "persistent.h"
#include "BBase.h"
diff --git a/engines/wintermute/AdRotLevel.h b/engines/wintermute/AdRotLevel.h
index 509f9a492a..a38027b281 100644
--- a/engines/wintermute/AdRotLevel.h
+++ b/engines/wintermute/AdRotLevel.h
@@ -26,8 +26,8 @@
* Copyright (c) 2011 Jan Nedoma
*/
-#ifndef __WmeAdRotLevel_H__
-#define __WmeAdRotLevel_H__
+#ifndef WINTERMUTE_ADROTLEVEL_H
+#define WINTERMUTE_ADROTLEVEL_H
#include "BObject.h"
diff --git a/engines/wintermute/AdScaleLevel.h b/engines/wintermute/AdScaleLevel.h
index b996ff7fb5..6f1776ea56 100644
--- a/engines/wintermute/AdScaleLevel.h
+++ b/engines/wintermute/AdScaleLevel.h
@@ -26,8 +26,8 @@
* Copyright (c) 2011 Jan Nedoma
*/
-#ifndef __WmeAdScaleLevel_H__
-#define __WmeAdScaleLevel_H__
+#ifndef WINTERMUTE_ADSCALELEVEL_H
+#define WINTERMUTE_ADSCALELEVEL_H
#include "BObject.h"
diff --git a/engines/wintermute/AdScene.h b/engines/wintermute/AdScene.h
index 66c27c8c44..6023ec0547 100644
--- a/engines/wintermute/AdScene.h
+++ b/engines/wintermute/AdScene.h
@@ -26,8 +26,8 @@
* Copyright (c) 2011 Jan Nedoma
*/
-#ifndef __WmeAdScene_H__
-#define __WmeAdScene_H__
+#ifndef WINTERMUTE_ADSCENE_H
+#define WINTERMUTE_ADSCENE_H
#include "BFader.h"
diff --git a/engines/wintermute/AdSceneNode.h b/engines/wintermute/AdSceneNode.h
index 9f71706189..5514e5a40a 100644
--- a/engines/wintermute/AdSceneNode.h
+++ b/engines/wintermute/AdSceneNode.h
@@ -26,8 +26,8 @@
* Copyright (c) 2011 Jan Nedoma
*/
-#ifndef __WmeAdSceneNode_H__
-#define __WmeAdSceneNode_H__
+#ifndef WINTERMUTE_ADSCENENODE_H
+#define WINTERMUTE_ADSCENENODE_H
#include "AdTypes.h" // Added by ClassView
diff --git a/engines/wintermute/AdSceneState.h b/engines/wintermute/AdSceneState.h
index 36f304737e..4f135d3b9c 100644
--- a/engines/wintermute/AdSceneState.h
+++ b/engines/wintermute/AdSceneState.h
@@ -26,8 +26,8 @@
* Copyright (c) 2011 Jan Nedoma
*/
-#ifndef __WmeAdSceneState_H__
-#define __WmeAdSceneState_H__
+#ifndef WINTERMUTE_ADSCENESTATE_H
+#define WINTERMUTE_ADSCENESTATE_H
#include "persistent.h"
#include "BBase.h"
diff --git a/engines/wintermute/AdSentence.h b/engines/wintermute/AdSentence.h
index c16826f46d..4e36ad118d 100644
--- a/engines/wintermute/AdSentence.h
+++ b/engines/wintermute/AdSentence.h
@@ -26,8 +26,8 @@
* Copyright (c) 2011 Jan Nedoma
*/
-#ifndef __WmeAdSentence_H__
-#define __WmeAdSentence_H__
+#ifndef WINTERMUTE_ADSENTENCE_H
+#define WINTERMUTE_ADSENTENCE_H
#include "BBase.h"
diff --git a/engines/wintermute/AdSpriteSet.h b/engines/wintermute/AdSpriteSet.h
index 689c64af7a..c4b1f28069 100644
--- a/engines/wintermute/AdSpriteSet.h
+++ b/engines/wintermute/AdSpriteSet.h
@@ -26,8 +26,8 @@
* Copyright (c) 2011 Jan Nedoma
*/
-#ifndef __WmeAdSpriteSet_H__
-#define __WmeAdSpriteSet_H__
+#ifndef WINTERMUTE_ADSPRITESET_H
+#define WINTERMUTE_ADSPRITESET_H
#include "BObject.h"
diff --git a/engines/wintermute/AdTalkDef.h b/engines/wintermute/AdTalkDef.h
index 829c550147..f6ed505cbb 100644
--- a/engines/wintermute/AdTalkDef.h
+++ b/engines/wintermute/AdTalkDef.h
@@ -26,8 +26,8 @@
* Copyright (c) 2011 Jan Nedoma
*/
-#ifndef __WmeAdTalkDef_H__
-#define __WmeAdTalkDef_H__
+#ifndef WINTERMUTE_ADTALKDEF_H
+#define WINTERMUTE_ADTALKDEF_H
#include "coll_templ.h"
#include "BObject.h"
diff --git a/engines/wintermute/AdTalkNode.h b/engines/wintermute/AdTalkNode.h
index 105972c8da..89f541f6aa 100644
--- a/engines/wintermute/AdTalkNode.h
+++ b/engines/wintermute/AdTalkNode.h
@@ -26,8 +26,8 @@
* Copyright (c) 2011 Jan Nedoma
*/
-#ifndef __WmeAdTalkNode_H__
-#define __WmeAdTalkNode_H__
+#ifndef WINTERMUTE_ADTALKNODE_H
+#define WINTERMUTE_ADTALKNODE_H
#include "persistent.h"
#include "BBase.h"
diff --git a/engines/wintermute/AdTypes.h b/engines/wintermute/AdTypes.h
index d11e3b6553..6531927350 100644
--- a/engines/wintermute/AdTypes.h
+++ b/engines/wintermute/AdTypes.h
@@ -90,4 +90,4 @@ typedef enum {
} // end of namespace WinterMute
-#endif // __WmeAdTypes_H__
+#endif // WINTERMUTE_ADTYPES_H
diff --git a/engines/wintermute/AdWaypointGroup.h b/engines/wintermute/AdWaypointGroup.h
index 7a2641a23f..0ce4d8040f 100644
--- a/engines/wintermute/AdWaypointGroup.h
+++ b/engines/wintermute/AdWaypointGroup.h
@@ -26,8 +26,8 @@
* Copyright (c) 2011 Jan Nedoma
*/
-#ifndef __WmeAdWaypointGroup_H__
-#define __WmeAdWaypointGroup_H__
+#ifndef WINTERMUTE_ADWAYPOINTGROUP_H
+#define WINTERMUTE_ADWAYPOINTGROUP_H
#include "BObject.h"
diff --git a/engines/wintermute/BImage.cpp b/engines/wintermute/BImage.cpp
index f9f481f2d1..869d029e27 100644
--- a/engines/wintermute/BImage.cpp
+++ b/engines/wintermute/BImage.cpp
@@ -1,27 +1,30 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
/*
-This file is part of WME Lite.
-http://dead-code.org/redir.php?target=wmelite
-
-Copyright (c) 2011 Jan Nedoma
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-*/
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
#include "dcgf.h"
#include "BImage.h"
diff --git a/engines/wintermute/BRenderSDL.h b/engines/wintermute/BRenderSDL.h
index 83199433e8..11b1b74054 100644
--- a/engines/wintermute/BRenderSDL.h
+++ b/engines/wintermute/BRenderSDL.h
@@ -93,4 +93,4 @@ private:
} // end of namespace WinterMute
-#endif // __WmeBRenderSDL_H__
+#endif // WINTERMUTE_BRENDERER_SDL_H
diff --git a/engines/wintermute/BScriptHolder.cpp b/engines/wintermute/BScriptHolder.cpp
index 6210ba2f38..2cd070e925 100644
--- a/engines/wintermute/BScriptHolder.cpp
+++ b/engines/wintermute/BScriptHolder.cpp
@@ -1,27 +1,30 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
/*
-This file is part of WME Lite.
-http://dead-code.org/redir.php?target=wmelite
-
-Copyright (c) 2011 Jan Nedoma
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-*/
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
#include "dcgf.h"
#include "engines/wintermute/AdGame.h"
diff --git a/engines/wintermute/BSurfaceSDL.h b/engines/wintermute/BSurfaceSDL.h
index 5689e6234c..ca9727331f 100644
--- a/engines/wintermute/BSurfaceSDL.h
+++ b/engines/wintermute/BSurfaceSDL.h
@@ -78,4 +78,4 @@ private:
} // end of namespace WinterMute
-#endif // __WmeBSurfaceSDL_H__
+#endif // WINTERMUTE_BSURFACESDL_H
diff --git a/engines/wintermute/FontGlyphCache.cpp b/engines/wintermute/FontGlyphCache.cpp
index feb5f33274..ea0acd4c19 100644
--- a/engines/wintermute/FontGlyphCache.cpp
+++ b/engines/wintermute/FontGlyphCache.cpp
@@ -1,27 +1,30 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
/*
-This file is part of WME Lite.
-http://dead-code.org/redir.php?target=wmelite
-
-Copyright (c) 2011 Jan Nedoma
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-*/
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
#include "FontGlyphCache.h"
diff --git a/engines/wintermute/FontGlyphCache.h b/engines/wintermute/FontGlyphCache.h
index 0a42748107..3092c60a74 100644
--- a/engines/wintermute/FontGlyphCache.h
+++ b/engines/wintermute/FontGlyphCache.h
@@ -1,30 +1,33 @@
-/*
-This file is part of WME Lite.
-http://dead-code.org/redir.php?target=wmelite
-
-Copyright (c) 2011 Jan Nedoma
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-*/
+/*
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
-#ifndef __WmeFontGlyphCache_H__
-#define __WmeFontGlyphCache_H__
+#ifndef WINTERMUTE_FONTGLYPHCACHE_H
+#define WINTERMUTE_FONTGLYPHCACHE_H
#include "BFontStorage.h"
@@ -119,4 +122,4 @@ private:
} // end of namespace WinterMute
-#endif // __WmeFontGlyphCache_H__ \ No newline at end of file
+#endif // WINTERMUTE_FONTGLYPHCACHE_H \ No newline at end of file
diff --git a/engines/wintermute/MathUtil.cpp b/engines/wintermute/MathUtil.cpp
index bb85ea66fa..d6b526f5b6 100644
--- a/engines/wintermute/MathUtil.cpp
+++ b/engines/wintermute/MathUtil.cpp
@@ -1,27 +1,30 @@
-/*
-This file is part of WME Lite.
-http://dead-code.org/redir.php?target=wmelite
-
-Copyright (c) 2011 Jan Nedoma
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-*/
+/*
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
#include "MathUtil.h"
#include <cmath>
diff --git a/engines/wintermute/MathUtil.h b/engines/wintermute/MathUtil.h
index ded73a91d4..bacf975d62 100644
--- a/engines/wintermute/MathUtil.h
+++ b/engines/wintermute/MathUtil.h
@@ -1,30 +1,33 @@
-/*
-This file is part of WME Lite.
-http://dead-code.org/redir.php?target=wmelite
-
-Copyright (c) 2011 Jan Nedoma
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-*/
+/*
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
-#ifndef __WmeMathUtil_H__
-#define __WmeMathUtil_H__
+#ifndef WINTERMUTE_MATHUTIL_H
+#define WINTERMUTE_MATHUTIL_H
namespace WinterMute {
@@ -36,4 +39,4 @@ public:
} // end of namespace WinterMute
-#endif // __WmeMathUtil_H__
+#endif // WINTERMUTE_MATHUTIL_H
diff --git a/engines/wintermute/Matrix4.cpp b/engines/wintermute/Matrix4.cpp
index 90a3f69f2c..eefc8ae303 100644
--- a/engines/wintermute/Matrix4.cpp
+++ b/engines/wintermute/Matrix4.cpp
@@ -1,27 +1,30 @@
-/*
-This file is part of WME Lite.
-http://dead-code.org/redir.php?target=wmelite
-
-Copyright (c) 2011 Jan Nedoma
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-*/
+/*
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
#include "engines/wintermute/Matrix4.h"
#include "engines/wintermute/Vector2.h"
diff --git a/engines/wintermute/Matrix4.h b/engines/wintermute/Matrix4.h
index e372f5747f..019c429789 100644
--- a/engines/wintermute/Matrix4.h
+++ b/engines/wintermute/Matrix4.h
@@ -1,30 +1,33 @@
-/*
-This file is part of WME Lite.
-http://dead-code.org/redir.php?target=wmelite
-
-Copyright (c) 2011 Jan Nedoma
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-*/
+/*
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
-#ifndef __WmeMatrix4_H__
-#define __WmeMatrix4_H__
+#ifndef WINTERMUTE_MATRIX4_H
+#define WINTERMUTE_MATRIX4_H
namespace WinterMute {
@@ -53,4 +56,4 @@ public:
} // end of namespace WinterMute
-#endif // __WmeMatrix4_H__ \ No newline at end of file
+#endif // WINTERMUTE_MATRIX4_H \ No newline at end of file
diff --git a/engines/wintermute/PartEmitter.cpp b/engines/wintermute/PartEmitter.cpp
index 6500f172c8..79bfa8a5b2 100644
--- a/engines/wintermute/PartEmitter.cpp
+++ b/engines/wintermute/PartEmitter.cpp
@@ -1,27 +1,30 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
/*
-This file is part of WME Lite.
-http://dead-code.org/redir.php?target=wmelite
-
-Copyright (c) 2011 Jan Nedoma
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-*/
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
#include "engines/wintermute/dcgf.h"
#include "engines/wintermute/PartEmitter.h"
diff --git a/engines/wintermute/PartEmitter.h b/engines/wintermute/PartEmitter.h
index 0949c294c3..66814558b1 100644
--- a/engines/wintermute/PartEmitter.h
+++ b/engines/wintermute/PartEmitter.h
@@ -1,30 +1,33 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
/*
-This file is part of WME Lite.
-http://dead-code.org/redir.php?target=wmelite
-
-Copyright (c) 2011 Jan Nedoma
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-*/
-
-#ifndef __WmePartEmitter_H__
-#define __WmePartEmitter_H__
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
+
+#ifndef WINTERMUTE_PARTEMITTER_H
+#define WINTERMUTE_PARTEMITTER_H
#include "BObject.h"
diff --git a/engines/wintermute/PartForce.cpp b/engines/wintermute/PartForce.cpp
index 874ffdda1f..8431ebbda8 100644
--- a/engines/wintermute/PartForce.cpp
+++ b/engines/wintermute/PartForce.cpp
@@ -1,27 +1,30 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
/*
-This file is part of WME Lite.
-http://dead-code.org/redir.php?target=wmelite
-
-Copyright (c) 2011 Jan Nedoma
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-*/
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
#include "engines/wintermute/dcgf.h"
#include "engines/wintermute/persistent.h"
diff --git a/engines/wintermute/PartForce.h b/engines/wintermute/PartForce.h
index 6245b438db..f4830b3039 100644
--- a/engines/wintermute/PartForce.h
+++ b/engines/wintermute/PartForce.h
@@ -1,30 +1,33 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
/*
-This file is part of WME Lite.
-http://dead-code.org/redir.php?target=wmelite
-
-Copyright (c) 2011 Jan Nedoma
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-*/
-
-#ifndef __WmePartForce_H__
-#define __WmePartForce_H__
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
+
+#ifndef WINTERMUTE_PARTFORCE_H
+#define WINTERMUTE_PARTFORCE_H
#include "BBase.h"
diff --git a/engines/wintermute/PartParticle.cpp b/engines/wintermute/PartParticle.cpp
index 63e0ca56d2..8bbd54d3f9 100644
--- a/engines/wintermute/PartParticle.cpp
+++ b/engines/wintermute/PartParticle.cpp
@@ -1,27 +1,30 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
/*
-This file is part of WME Lite.
-http://dead-code.org/redir.php?target=wmelite
-
-Copyright (c) 2011 Jan Nedoma
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-*/
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
#include "engines/wintermute/dcgf.h"
#include "engines/wintermute/PartParticle.h"
diff --git a/engines/wintermute/PartParticle.h b/engines/wintermute/PartParticle.h
index 288c462b1d..e72089ad5f 100644
--- a/engines/wintermute/PartParticle.h
+++ b/engines/wintermute/PartParticle.h
@@ -1,30 +1,33 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
/*
-This file is part of WME Lite.
-http://dead-code.org/redir.php?target=wmelite
-
-Copyright (c) 2011 Jan Nedoma
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-*/
-
-#ifndef __WmePartParticle_H__
-#define __WmePartParticle_H__
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
+
+#ifndef WINTERMUTE_PATRPARTICLE_H
+#define WINTERMUTE_PATRPARTICLE_H
#include "BBase.h"
diff --git a/engines/wintermute/PathUtil.h b/engines/wintermute/PathUtil.h
index a07e3f6af2..6bdabdc9d7 100644
--- a/engines/wintermute/PathUtil.h
+++ b/engines/wintermute/PathUtil.h
@@ -26,8 +26,8 @@
* Copyright (c) 2011 Jan Nedoma
*/
-#ifndef WINTERMUTE_BPATHUTILS_H
-#define WINTERMUTE_BPATHUTILS_H
+#ifndef WINTERMUTE_PATHUTILS_H
+#define WINTERMUTE_PATHUTILS_H
#include "PlatformSDL.h"
@@ -53,4 +53,4 @@ public:
} // end of namespace WinterMute
-#endif // __WmePathUtils_H__
+#endif // WINTERMUTE_PATHUTILS_H
diff --git a/engines/wintermute/PlatformSDL.cpp b/engines/wintermute/PlatformSDL.cpp
index 8c6cc8d2e3..fab72e29da 100644
--- a/engines/wintermute/PlatformSDL.cpp
+++ b/engines/wintermute/PlatformSDL.cpp
@@ -1,27 +1,30 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
/*
-This file is part of WME Lite.
-http://dead-code.org/redir.php?target=wmelite
-
-Copyright (c) 2011 Jan Nedoma
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-*/
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
#include "engines/wintermute/dcgf.h"
#include "engines/wintermute/BGame.h"
diff --git a/engines/wintermute/StringUtil.h b/engines/wintermute/StringUtil.h
index 1d3da609b6..5d3f1c668c 100644
--- a/engines/wintermute/StringUtil.h
+++ b/engines/wintermute/StringUtil.h
@@ -67,4 +67,4 @@ public:
} // end of namespace WinterMute
-#endif // __WmeStringUtil_H__
+#endif // WINTERMUTE_STRINGUTIL_H
diff --git a/engines/wintermute/Vector2.cpp b/engines/wintermute/Vector2.cpp
index 6c8d0ae168..b2fa56dff4 100644
--- a/engines/wintermute/Vector2.cpp
+++ b/engines/wintermute/Vector2.cpp
@@ -1,27 +1,30 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
/*
-This file is part of WME Lite.
-http://dead-code.org/redir.php?target=wmelite
-
-Copyright (c) 2011 Jan Nedoma
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-*/
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
#include "Vector2.h"
#include <math.h>
diff --git a/engines/wintermute/Vector2.h b/engines/wintermute/Vector2.h
index 032a6f270b..aa3fe5aa86 100644
--- a/engines/wintermute/Vector2.h
+++ b/engines/wintermute/Vector2.h
@@ -1,30 +1,33 @@
-/*
-This file is part of WME Lite.
-http://dead-code.org/redir.php?target=wmelite
-
-Copyright (c) 2011 Jan Nedoma
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-*/
+/*
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
-#ifndef __WmeVector2_H__
-#define __WmeVector2_H__
+#ifndef WINTERMUTE_VECTOR2_H
+#define WINTERMUTE_VECTOR2_H
namespace WinterMute {
@@ -69,4 +72,4 @@ public:
} // end of namespace WinterMute
-#endif // __WmeVector2_H__
+#endif // WINTERMUTE_VECTOR2_H
diff --git a/engines/wintermute/dcpackage.h b/engines/wintermute/dcpackage.h
index e5db019e1d..292248cf5c 100644
--- a/engines/wintermute/dcpackage.h
+++ b/engines/wintermute/dcpackage.h
@@ -1,27 +1,30 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
/*
-This file is part of WME Lite.
-http://dead-code.org/redir.php?target=wmelite
-
-Copyright (c) 2011 Jan Nedoma
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-*/
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
#ifndef _DCPACKAGE_H_
#define _DCPACKAGE_H_
diff --git a/engines/wintermute/scriptables/SXDate.cpp b/engines/wintermute/scriptables/SXDate.cpp
index d04e4c5add..9c16b3595e 100644
--- a/engines/wintermute/scriptables/SXDate.cpp
+++ b/engines/wintermute/scriptables/SXDate.cpp
@@ -1,27 +1,30 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
/*
-This file is part of WME Lite.
-http://dead-code.org/redir.php?target=wmelite
-
-Copyright (c) 2011 Jan Nedoma
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-*/
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
#include "engines/wintermute/scriptables/ScStack.h"
#include "engines/wintermute/scriptables/ScValue.h"
diff --git a/engines/wintermute/scriptables/SXFile.cpp b/engines/wintermute/scriptables/SXFile.cpp
index a27376750a..7d6b0ebcc1 100644
--- a/engines/wintermute/scriptables/SXFile.cpp
+++ b/engines/wintermute/scriptables/SXFile.cpp
@@ -1,27 +1,30 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
/*
-This file is part of WME Lite.
-http://dead-code.org/redir.php?target=wmelite
-
-Copyright (c) 2011 Jan Nedoma
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-*/
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
#include "engines/wintermute/SysClassRegistry.h"
#include "engines/wintermute/SysClass.h"
diff --git a/engines/wintermute/scriptables/SXFile.h b/engines/wintermute/scriptables/SXFile.h
index 22bfc5ec70..daa63c305c 100644
--- a/engines/wintermute/scriptables/SXFile.h
+++ b/engines/wintermute/scriptables/SXFile.h
@@ -1,30 +1,33 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
/*
-This file is part of WME Lite.
-http://dead-code.org/redir.php?target=wmelite
-
-Copyright (c) 2011 Jan Nedoma
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-*/
-
-#ifndef __WmeSXFile_H__
-#define __WmeSXFile_H__
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
+
+#ifndef WINTERMUTES_SXFILE_H
+#define WINTERMUTES_SXFILE_H
#include "engines/wintermute/BScriptable.h"
diff --git a/engines/wintermute/scriptables/SXStore.cpp b/engines/wintermute/scriptables/SXStore.cpp
index 79a4f9bbc0..9308065499 100644
--- a/engines/wintermute/scriptables/SXStore.cpp
+++ b/engines/wintermute/scriptables/SXStore.cpp
@@ -1,27 +1,30 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
/*
-This file is part of WME Lite.
-http://dead-code.org/redir.php?target=wmelite
-
-Copyright (c) 2011 Jan Nedoma
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-*/
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
#include "engines/wintermute/BGame.h"
#include "engines/wintermute/BRegistry.h"
diff --git a/engines/wintermute/scriptables/SXStore.h b/engines/wintermute/scriptables/SXStore.h
index 8c921958f8..4bcb4506d4 100644
--- a/engines/wintermute/scriptables/SXStore.h
+++ b/engines/wintermute/scriptables/SXStore.h
@@ -1,30 +1,33 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
/*
-This file is part of WME Lite.
-http://dead-code.org/redir.php?target=wmelite
-
-Copyright (c) 2011 Jan Nedoma
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-*/
-
-#ifndef __WmeSXStore_H__
-#define __WmeSXStore_H__
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
+
+#ifndef WINTERMUTE_SXSTORE_H
+#define WINTERMUTE_SXSTORE_H
#include "engines/wintermute/BPersistMgr.h"
#include "engines/wintermute/utils.h"
#include "engines/wintermute/BObject.h"
diff --git a/engines/wintermute/scriptables/SXString.cpp b/engines/wintermute/scriptables/SXString.cpp
index acc846dccc..183be7dec5 100644
--- a/engines/wintermute/scriptables/SXString.cpp
+++ b/engines/wintermute/scriptables/SXString.cpp
@@ -1,27 +1,30 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
/*
-This file is part of WME Lite.
-http://dead-code.org/redir.php?target=wmelite
-
-Copyright (c) 2011 Jan Nedoma
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-*/
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
#include "engines/wintermute/BGame.h"
#include "engines/wintermute/scriptables/ScStack.h"
diff --git a/engines/wintermute/scriptables/SXString.h b/engines/wintermute/scriptables/SXString.h
index a303f2d190..aa3b9ebb35 100644
--- a/engines/wintermute/scriptables/SXString.h
+++ b/engines/wintermute/scriptables/SXString.h
@@ -26,8 +26,8 @@
* Copyright (c) 2011 Jan Nedoma
*/
-#ifndef __WmeSXString_H__
-#define __WmeSXString_H__
+#ifndef WINTERMUTE_SXSTRING_H
+#define WINTERMUTE_SXSTRING_H
#include "engines/wintermute/BScriptable.h"
diff --git a/engines/wintermute/scriptables/SxObject.cpp b/engines/wintermute/scriptables/SxObject.cpp
index 738db08c53..1af01c1045 100644
--- a/engines/wintermute/scriptables/SxObject.cpp
+++ b/engines/wintermute/scriptables/SxObject.cpp
@@ -1,27 +1,30 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
/*
-This file is part of WME Lite.
-http://dead-code.org/redir.php?target=wmelite
-
-Copyright (c) 2011 Jan Nedoma
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-*/
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
#include "SxObject.h"
#include "ScValue.h"
diff --git a/engines/wintermute/scriptables/SxObject.h b/engines/wintermute/scriptables/SxObject.h
index 6a355a7288..40e9046b5a 100644
--- a/engines/wintermute/scriptables/SxObject.h
+++ b/engines/wintermute/scriptables/SxObject.h
@@ -1,30 +1,33 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
/*
-This file is part of WME Lite.
-http://dead-code.org/redir.php?target=wmelite
-
-Copyright (c) 2011 Jan Nedoma
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-*/
-
-#ifndef __WmeSxObject_H__
-#define __WmeSxObject_H__
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
+
+#ifndef WINTERMUTE_SXOBJECT_H
+#define WINTERMUTE_SXOBJECT_H
#include "engines/wintermute/BObject.h"
diff --git a/engines/wintermute/wintypes.h b/engines/wintermute/wintypes.h
index 476676cbaa..3aed2a0ede 100644
--- a/engines/wintermute/wintypes.h
+++ b/engines/wintermute/wintypes.h
@@ -26,8 +26,8 @@
* Copyright (c) 2011 Jan Nedoma
*/
-#ifndef __WmeWintypes_H__
-#define __WmeWintypes_H__
+#ifndef WINTERMUTE_WINTYPES_H
+#define WINTERMUTE_WINTYPES_H
#define FORBIDDEN_SYMBOL_ALLOW_ALL
#include "common/scummsys.h"
@@ -117,4 +117,4 @@ typedef long HRESULT;
//} // end of namespace WinterMute
-#endif // __WmeWintypes_H__
+#endif // WINTERMUTE_WINTYPES_H