diff --git a/mapeditor/Animation.cpp b/mapeditor/Animation.cpp index ec0567086..0fa711a8f 100644 --- a/mapeditor/Animation.cpp +++ b/mapeditor/Animation.cpp @@ -7,6 +7,9 @@ * Full text of license available in license.txt file, in main folder * */ + +//code is copied from vcmiclient/CAnimation.cpp with minimal changes + #include "StdInc.h" #include "Animation.h" diff --git a/mapeditor/Animation.h b/mapeditor/Animation.h index cf6dcc0e2..8ffe9203a 100644 --- a/mapeditor/Animation.h +++ b/mapeditor/Animation.h @@ -8,6 +8,7 @@ * */ #pragma once +//code is copied from vcmiclient/CAnimation.h with minimal changes #include "../lib/JsonNode.h" #include "../lib/GameConstants.h" diff --git a/mapeditor/BitmapHandler.cpp b/mapeditor/BitmapHandler.cpp index 976474094..59e679de6 100644 --- a/mapeditor/BitmapHandler.cpp +++ b/mapeditor/BitmapHandler.cpp @@ -7,6 +7,9 @@ * Full text of license available in license.txt file, in main folder * */ + +//code is copied from vcmiclient/CBitmapHandler.cpp with minimal changes + #include "StdInc.h" #include "BitmapHandler.h" diff --git a/mapeditor/BitmapHandler.h b/mapeditor/BitmapHandler.h index 1351e5d01..ee2967e8a 100644 --- a/mapeditor/BitmapHandler.h +++ b/mapeditor/BitmapHandler.h @@ -8,6 +8,7 @@ * */ #pragma once +//code is copied from vcmiclient/CBitmapHandler.h with minimal changes #define read_le_u16(p) (* reinterpret_cast(p)) #define read_le_u32(p) (* reinterpret_cast(p)) diff --git a/mapeditor/graphics.cpp b/mapeditor/graphics.cpp index 8cf1e47da..29284bd94 100644 --- a/mapeditor/graphics.cpp +++ b/mapeditor/graphics.cpp @@ -1,5 +1,5 @@ /* - * Graphics.cpp, part of VCMI engine + * graphics.cpp, part of VCMI engine * * Authors: listed in file AUTHORS in main folder * @@ -7,6 +7,8 @@ * Full text of license available in license.txt file, in main folder * */ + +//code is copied from vcmiclient/Graphics.cpp with minimal changes #include "StdInc.h" #include "graphics.h" diff --git a/mapeditor/graphics.h b/mapeditor/graphics.h index 71b150448..b772c58a2 100644 --- a/mapeditor/graphics.h +++ b/mapeditor/graphics.h @@ -1,5 +1,5 @@ /* - * Graphics.h, part of VCMI engine + * graphics.h, part of VCMI engine * * Authors: listed in file AUTHORS in main folder * @@ -8,6 +8,7 @@ * */ #pragma once +//code is copied from vcmiclient/Graphics.h with minimal changes #include "../lib/GameConstants.h" #include diff --git a/mapeditor/mapcontroller.cpp b/mapeditor/mapcontroller.cpp index be2dcd573..d90279691 100644 --- a/mapeditor/mapcontroller.cpp +++ b/mapeditor/mapcontroller.cpp @@ -1,3 +1,13 @@ +/* + * mapcontroller.cpp, part of VCMI engine + * + * Authors: listed in file AUTHORS in main folder + * + * License: GNU General Public License v2.0 or later + * Full text of license available in license.txt file, in main folder + * + */ + #include "mapcontroller.h" #include "../lib/GameConstants.h" diff --git a/mapeditor/mapcontroller.h b/mapeditor/mapcontroller.h index f90cd691f..3fef9adcc 100644 --- a/mapeditor/mapcontroller.h +++ b/mapeditor/mapcontroller.h @@ -1,3 +1,13 @@ +/* + * mapcontroller.h, part of VCMI engine + * + * Authors: listed in file AUTHORS in main folder + * + * License: GNU General Public License v2.0 or later + * Full text of license available in license.txt file, in main folder + * + */ + #pragma once #include "maphandler.h" diff --git a/mapeditor/maphandler.cpp b/mapeditor/maphandler.cpp index 027885933..3e25c1e63 100644 --- a/mapeditor/maphandler.cpp +++ b/mapeditor/maphandler.cpp @@ -1,3 +1,14 @@ +/* + * maphandler.cpp, part of VCMI engine + * + * Authors: listed in file AUTHORS in main folder + * + * License: GNU General Public License v2.0 or later + * Full text of license available in license.txt file, in main folder + * + */ + +//code is copied from vcmiclient/mapHandler.cpp with minimal changes #include "StdInc.h" #include "maphandler.h" #include "graphics.h" diff --git a/mapeditor/maphandler.h b/mapeditor/maphandler.h index 3887e0278..b36af4fb4 100644 --- a/mapeditor/maphandler.h +++ b/mapeditor/maphandler.h @@ -1,4 +1,15 @@ +/* + * maphandler.h, part of VCMI engine + * + * Authors: listed in file AUTHORS in main folder + * + * License: GNU General Public License v2.0 or later + * Full text of license available in license.txt file, in main folder + * + */ + #pragma once +//code is copied from vcmiclient/mapHandler.h with minimal changes #include "StdInc.h" #include "../lib/mapping/CMap.h" diff --git a/mapeditor/mapsettings.cpp b/mapeditor/mapsettings.cpp index 55b505ddd..eb60ef0f5 100644 --- a/mapeditor/mapsettings.cpp +++ b/mapeditor/mapsettings.cpp @@ -1,3 +1,13 @@ +/* + * mapsettings.cpp, part of VCMI engine + * + * Authors: listed in file AUTHORS in main folder + * + * License: GNU General Public License v2.0 or later + * Full text of license available in license.txt file, in main folder + * + */ + #include "mapsettings.h" #include "ui_mapsettings.h" #include "mainwindow.h" diff --git a/mapeditor/mapsettings.h b/mapeditor/mapsettings.h index fd5b996a5..ddd930c4a 100644 --- a/mapeditor/mapsettings.h +++ b/mapeditor/mapsettings.h @@ -1,3 +1,13 @@ +/* + * mapsettings.h, part of VCMI engine + * + * Authors: listed in file AUTHORS in main folder + * + * License: GNU General Public License v2.0 or later + * Full text of license available in license.txt file, in main folder + * + */ + #pragma once #include diff --git a/mapeditor/mapview.cpp b/mapeditor/mapview.cpp index b2e72c92f..d9460d7a4 100644 --- a/mapeditor/mapview.cpp +++ b/mapeditor/mapview.cpp @@ -1,3 +1,13 @@ +/* + * mapview.cpp, part of VCMI engine + * + * Authors: listed in file AUTHORS in main folder + * + * License: GNU General Public License v2.0 or later + * Full text of license available in license.txt file, in main folder + * + */ + #include "StdInc.h" #include "mapview.h" #include "mainwindow.h" diff --git a/mapeditor/mapview.h b/mapeditor/mapview.h index e146eb627..13caabb97 100644 --- a/mapeditor/mapview.h +++ b/mapeditor/mapview.h @@ -1,3 +1,13 @@ +/* + * mapview.h, part of VCMI engine + * + * Authors: listed in file AUTHORS in main folder + * + * License: GNU General Public License v2.0 or later + * Full text of license available in license.txt file, in main folder + * + */ + #pragma once #include diff --git a/mapeditor/objectbrowser.cpp b/mapeditor/objectbrowser.cpp index f332d02aa..b0315d5cc 100644 --- a/mapeditor/objectbrowser.cpp +++ b/mapeditor/objectbrowser.cpp @@ -1,3 +1,13 @@ +/* + * objectbrowser.cpp, part of VCMI engine + * + * Authors: listed in file AUTHORS in main folder + * + * License: GNU General Public License v2.0 or later + * Full text of license available in license.txt file, in main folder + * + */ + #include "objectbrowser.h" #include "../lib/mapObjects/CObjectClassesHandler.h" diff --git a/mapeditor/objectbrowser.h b/mapeditor/objectbrowser.h index 0ab3ac40e..6c700ae62 100644 --- a/mapeditor/objectbrowser.h +++ b/mapeditor/objectbrowser.h @@ -1,3 +1,13 @@ +/* + * objectbrowser.h, part of VCMI engine + * + * Authors: listed in file AUTHORS in main folder + * + * License: GNU General Public License v2.0 or later + * Full text of license available in license.txt file, in main folder + * + */ + #pragma once #include diff --git a/mapeditor/playerparams.cpp b/mapeditor/playerparams.cpp index 206aa584c..0e0ed34a2 100644 --- a/mapeditor/playerparams.cpp +++ b/mapeditor/playerparams.cpp @@ -1,3 +1,13 @@ +/* + * playerparams.cpp, part of VCMI engine + * + * Authors: listed in file AUTHORS in main folder + * + * License: GNU General Public License v2.0 or later + * Full text of license available in license.txt file, in main folder + * + */ + #include "StdInc.h" #include "playerparams.h" #include "ui_playerparams.h" diff --git a/mapeditor/playerparams.h b/mapeditor/playerparams.h index cf6d9e4f2..6df0d39f2 100644 --- a/mapeditor/playerparams.h +++ b/mapeditor/playerparams.h @@ -1,3 +1,13 @@ +/* + * playerparams.h, part of VCMI engine + * + * Authors: listed in file AUTHORS in main folder + * + * License: GNU General Public License v2.0 or later + * Full text of license available in license.txt file, in main folder + * + */ + #pragma once #include diff --git a/mapeditor/playersettings.cpp b/mapeditor/playersettings.cpp index dc3290105..780653fd8 100644 --- a/mapeditor/playersettings.cpp +++ b/mapeditor/playersettings.cpp @@ -1,3 +1,13 @@ +/* + * playersettings.cpp, part of VCMI engine + * + * Authors: listed in file AUTHORS in main folder + * + * License: GNU General Public License v2.0 or later + * Full text of license available in license.txt file, in main folder + * + */ + #include "StdInc.h" #include "playersettings.h" #include "ui_playersettings.h" diff --git a/mapeditor/playersettings.h b/mapeditor/playersettings.h index 14236daf4..f43ee8534 100644 --- a/mapeditor/playersettings.h +++ b/mapeditor/playersettings.h @@ -1,3 +1,13 @@ +/* + * playersettings.h, part of VCMI engine + * + * Authors: listed in file AUTHORS in main folder + * + * License: GNU General Public License v2.0 or later + * Full text of license available in license.txt file, in main folder + * + */ + #pragma once #include "StdInc.h" diff --git a/mapeditor/scenelayer.cpp b/mapeditor/scenelayer.cpp index e5a9d2b0c..2836d70d3 100644 --- a/mapeditor/scenelayer.cpp +++ b/mapeditor/scenelayer.cpp @@ -1,3 +1,13 @@ +/* + * scenelayer.cpp, part of VCMI engine + * + * Authors: listed in file AUTHORS in main folder + * + * License: GNU General Public License v2.0 or later + * Full text of license available in license.txt file, in main folder + * + */ + #include "StdInc.h" #include "scenelayer.h" #include "mainwindow.h" diff --git a/mapeditor/scenelayer.h b/mapeditor/scenelayer.h index 28c9a7a54..49d1ff083 100644 --- a/mapeditor/scenelayer.h +++ b/mapeditor/scenelayer.h @@ -1,3 +1,13 @@ +/* + * scenelayer.h, part of VCMI engine + * + * Authors: listed in file AUTHORS in main folder + * + * License: GNU General Public License v2.0 or later + * Full text of license available in license.txt file, in main folder + * + */ + #pragma once #include "../lib/int3.h" diff --git a/mapeditor/validator.cpp b/mapeditor/validator.cpp index 891a06268..f2833909a 100644 --- a/mapeditor/validator.cpp +++ b/mapeditor/validator.cpp @@ -1,3 +1,13 @@ +/* + * validator.cpp, part of VCMI engine + * + * Authors: listed in file AUTHORS in main folder + * + * License: GNU General Public License v2.0 or later + * Full text of license available in license.txt file, in main folder + * + */ + #include "StdInc.h" #include "validator.h" #include "ui_validator.h" diff --git a/mapeditor/validator.h b/mapeditor/validator.h index df9357c59..dc10ffa69 100644 --- a/mapeditor/validator.h +++ b/mapeditor/validator.h @@ -1,3 +1,13 @@ +/* + * validator.h, part of VCMI engine + * + * Authors: listed in file AUTHORS in main folder + * + * License: GNU General Public License v2.0 or later + * Full text of license available in license.txt file, in main folder + * + */ + #pragma once #include diff --git a/mapeditor/windownewmap.cpp b/mapeditor/windownewmap.cpp index 4730b57b9..7cc7a124b 100644 --- a/mapeditor/windownewmap.cpp +++ b/mapeditor/windownewmap.cpp @@ -1,3 +1,13 @@ +/* + * windownewmap.cpp, part of VCMI engine + * + * Authors: listed in file AUTHORS in main folder + * + * License: GNU General Public License v2.0 or later + * Full text of license available in license.txt file, in main folder + * + */ + #include "StdInc.h" #include "../lib/mapping/CMap.h" #include "../lib/rmg/CRmgTemplateStorage.h" diff --git a/mapeditor/windownewmap.h b/mapeditor/windownewmap.h index dc28c0a5e..7f1be66bd 100644 --- a/mapeditor/windownewmap.h +++ b/mapeditor/windownewmap.h @@ -1,3 +1,13 @@ +/* + * windownewmap.h, part of VCMI engine + * + * Authors: listed in file AUTHORS in main folder + * + * License: GNU General Public License v2.0 or later + * Full text of license available in license.txt file, in main folder + * + */ + #pragma once #include