mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
27f83449f2
- change return of `getBuildingVariantsFromModel` to `QVariantList` - change while to do-while where it makes sense - moved constants outside of methods - made building and resources name non editable
21 lines
370 B
C++
21 lines
370 B
C++
/*
|
|
* mapeditorroles.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"
|
|
|
|
enum MapEditorRoles
|
|
{
|
|
TownEventRole = Qt::UserRole + 1,
|
|
PlayerIDRole,
|
|
BuildingIDRole,
|
|
SpellIDRole
|
|
};
|