1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

add some missing licence headers

This commit is contained in:
alexvins 2012-12-19 14:54:10 +00:00
parent 66d9edf76e
commit c0ce8712c1
16 changed files with 1238 additions and 1079 deletions

View File

@ -1,6 +1,16 @@
#include "StdInc.h"
#include "BattleHex.h"
/*
* BattleHex.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
*
*/
BattleHex& BattleHex::moveInDir(EDir dir, bool hasToBeValid)
{
si16 x = getX(),

View File

@ -6,6 +6,16 @@
#include "CSpellHandler.h"
#include "VCMI_Lib.h"
/*
* CBattleCallback.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
*
*/
#define RETURN_IF_NOT_BATTLE(X) if(!duringBattle()) {tlog1 << __FUNCTION__ << " called when no battle!\n"; return X; }
namespace SiegeStuffThatShouldBeMovedToHandlers // <=== TODO

View File

@ -1,6 +1,16 @@
#pragma once
#include "BattleHex.h"
/*
* CBattleCallback.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
*
*/
class CGameState;
class CGTownInstance;
class CGHeroInstance;

View File

@ -11,6 +11,16 @@
#include "CSpellHandler.h"
#include "CHeroHandler.h"
/*
* CCreatureSet.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
*
*/
const CStackInstance &CCreatureSet::operator[](TSlot slot) const
{
TSlots::const_iterator i = stacks.find(slot);

View File

@ -5,6 +5,16 @@
#include "GameConstants.h"
#include "CArtHandler.h"
/*
* CCreatureSet.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
*
*/
class CCreature;
class CGHeroInstance;
class CArmedInstance;

View File

@ -1,6 +1,16 @@
#include "StdInc.h"
#include "CLogger.h"
/*
* CLogger.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
*
*/
// Console, file definitions
DLL_LINKAGE CConsoleHandler *console = NULL;
DLL_LINKAGE std::ostream *logfile = NULL;

View File

@ -2,6 +2,16 @@
#include "CConsoleHandler.h"
/*
* CLogger.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
*
*/
extern DLL_LINKAGE std::ostream *logfile;
extern DLL_LINKAGE CConsoleHandler *console;

View File

@ -4,6 +4,16 @@
#include "VCMI_Lib.h"
#include "CSpellHandler.h"
/*
* CObstacleInstance.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
*
*/
CObstacleInstance::CObstacleInstance()
{
obstacleType = USUAL;

View File

@ -1,6 +1,16 @@
#pragma once
#include "BattleHex.h"
/*
* CObstacleInstance.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
*
*/
struct CObstacleInfo;
struct DLL_LINKAGE CObstacleInstance

View File

@ -1,3 +1,13 @@
/*
* HeroBonus.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 "HeroBonus.h"

View File

@ -1,3 +1,12 @@
/*
* IGameEventsReceiver.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

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,13 @@
/*
* JsonNode.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
class JsonNode;

View File

@ -1,3 +1,13 @@
/*
* ResourceSet.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 "ResourceSet.h"
#include "StringConstants.h"

View File

@ -1,3 +1,13 @@
/*
* ResourceSet.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
typedef si32 TResource;

View File

@ -1,3 +1,13 @@
/*
* UnlockGuard.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
namespace vstd