mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-17 01:32:21 +02:00
code style
This commit is contained in:
@ -8,6 +8,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "StdInc.h"
|
||||
#include "mapcontroller.h"
|
||||
|
||||
#include "../lib/ArtifactUtils.h"
|
||||
|
@ -11,7 +11,6 @@
|
||||
#pragma once
|
||||
//code is copied from vcmiclient/mapHandler.h with minimal changes
|
||||
|
||||
#include "StdInc.h"
|
||||
#include "../lib/int3.h"
|
||||
#include "Animation.h"
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "StdInc.h"
|
||||
#include <QDialog>
|
||||
#include "playerparams.h"
|
||||
|
||||
|
@ -108,7 +108,7 @@ bool WindowNewMap::loadUserSettings()
|
||||
|
||||
ui->widthTxt->setText(QString::number(mapGenOptions.getWidth()));
|
||||
ui->heightTxt->setText(QString::number(mapGenOptions.getHeight()));
|
||||
for(auto & sz : mapSizes)
|
||||
for(const auto & sz : mapSizes)
|
||||
{
|
||||
if(sz.second.first == mapGenOptions.getWidth() &&
|
||||
sz.second.second == mapGenOptions.getHeight())
|
||||
|
@ -11,6 +11,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
#include "../lib/mapping/CMapHeader.h"
|
||||
#include "../lib/rmg/CMapGenOptions.h"
|
||||
|
||||
namespace Ui
|
||||
|
Reference in New Issue
Block a user