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:
parent
66d9edf76e
commit
c0ce8712c1
@ -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(),
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
2168
lib/JsonNode.cpp
2168
lib/JsonNode.cpp
File diff suppressed because it is too large
Load Diff
@ -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;
|
||||
|
@ -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"
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user