mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
Code polishing
This commit is contained in:
parent
d7de9accee
commit
b4a806d7fa
@ -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"
|
||||
|
||||
|
@ -8,6 +8,7 @@
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
//code is copied from vcmiclient/CAnimation.h with minimal changes
|
||||
|
||||
#include "../lib/JsonNode.h"
|
||||
#include "../lib/GameConstants.h"
|
||||
|
@ -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"
|
||||
|
||||
|
@ -8,6 +8,7 @@
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
//code is copied from vcmiclient/CBitmapHandler.h with minimal changes
|
||||
|
||||
#define read_le_u16(p) (* reinterpret_cast<const ui16 *>(p))
|
||||
#define read_le_u32(p) (* reinterpret_cast<const ui32 *>(p))
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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 <QImage>
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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 <QDialog>
|
||||
|
@ -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"
|
||||
|
@ -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 <QGraphicsScene>
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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 <QSortFilterProxyModel>
|
||||
|
@ -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"
|
||||
|
@ -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 <QWidget>
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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 <QDialog>
|
||||
|
@ -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"
|
||||
|
@ -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 <QDialog>
|
||||
|
Loading…
Reference in New Issue
Block a user