1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00

Refactoring map settings

This commit is contained in:
nordsoft 2023-09-07 20:19:31 +02:00
parent 9665ac3373
commit 9e14d8d170
10 changed files with 69 additions and 5 deletions

View File

@ -16,6 +16,7 @@ set(editor_SRCS
mapsettings/mapsettings.cpp
mapsettings/generalsettings.cpp
mapsettings/modsettings.cpp
mapsettings/timedevent.cpp
mapsettings/victoryconditions.cpp
mapsettings/loseconditions.cpp
playersettings.cpp
@ -23,7 +24,6 @@ set(editor_SRCS
scenelayer.cpp
mapcontroller.cpp
validator.cpp
timedevent.cpp
inspector/inspector.cpp
inspector/townbulidingswidget.cpp
inspector/armywidget.cpp
@ -50,6 +50,7 @@ set(editor_HEADERS
mapsettings/mapsettings.h
mapsettings/generalsettings.h
mapsettings/modsettings.h
mapsettings/timedevent.h
mapsettings/victoryconditions.h
mapsettings/loseconditions.h
playersettings.h
@ -57,7 +58,6 @@ set(editor_HEADERS
scenelayer.h
mapcontroller.h
validator.h
timedevent.h
inspector/inspector.h
inspector/townbulidingswidget.h
inspector/armywidget.h
@ -74,12 +74,12 @@ set(editor_FORMS
mapsettings/mapsettings.ui
mapsettings/generalsettings.ui
mapsettings/modsettings.ui
mapsettings/timedevent.ui
mapsettings/victoryconditions.ui
mapsettings/loseconditions.ui
playersettings.ui
playerparams.ui
validator.ui
timedevent.ui
inspector/townbulidingswidget.ui
inspector/armywidget.ui
inspector/messagewidget.ui

View File

@ -1,3 +1,12 @@
/*
* abstractsettings.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
*
*/
#ifndef ABSTRACTSETTINGS_H
#define ABSTRACTSETTINGS_H

View File

@ -1,3 +1,12 @@
/*
* generalsettings.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 "generalsettings.h"
#include "ui_generalsettings.h"

View File

@ -1,3 +1,12 @@
/*
* generalsettings.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
*
*/
#ifndef GENERALSETTINGS_H
#define GENERALSETTINGS_H

View File

@ -1,3 +1,12 @@
/*
* loseconditions.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
*
*/
#ifndef LOSECONDITIONS_H
#define LOSECONDITIONS_H
/*

View File

@ -35,7 +35,7 @@
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
<number>2</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
@ -92,7 +92,7 @@
<item>
<widget class="QTabWidget" name="tabWidget_2">
<property name="currentIndex">
<number>0</number>
<number>2</number>
</property>
<widget class="QWidget" name="tab_7">
<attribute name="title">

View File

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

View File

@ -1,3 +1,12 @@
/*
* timedevent.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
*
*/
#ifndef TIMEDEVENT_H
#define TIMEDEVENT_H

View File

@ -1,3 +1,12 @@
/*
* victoryconditions.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
*
*/
#ifndef VICTORYCONDITIONS_H
#define VICTORYCONDITIONS_H