Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/graphics/TerrainProperties.cpp
/* Copyright (C) 2019 Wildfire Games. | /* Copyright (C) 2021 Wildfire Games. | ||||
* This file is part of 0 A.D. | * This file is part of 0 A.D. | ||||
* | * | ||||
* 0 A.D. is free software: you can redistribute it and/or modify | * 0 A.D. is free software: you can redistribute it and/or modify | ||||
* it under the terms of the GNU General Public License as published by | * it under the terms of the GNU General Public License as published by | ||||
* the Free Software Foundation, either version 2 of the License, or | * the Free Software Foundation, either version 2 of the License, or | ||||
* (at your option) any later version. | * (at your option) any later version. | ||||
* | * | ||||
* 0 A.D. is distributed in the hope that it will be useful, | * 0 A.D. is distributed in the hope that it will be useful, | ||||
Show All 13 Lines | |||||
#include <boost/tokenizer.hpp> | #include <boost/tokenizer.hpp> | ||||
#include "graphics/Color.h" | #include "graphics/Color.h" | ||||
#include "graphics/TerrainTextureManager.h" | #include "graphics/TerrainTextureManager.h" | ||||
#include "maths/MathUtil.h" | #include "maths/MathUtil.h" | ||||
#include "ps/CLogger.h" | #include "ps/CLogger.h" | ||||
#include "ps/Filesystem.h" | #include "ps/Filesystem.h" | ||||
#include "ps/XML/XeroXMB.h" | |||||
#include "ps/XML/Xeromyces.h" | #include "ps/XML/Xeromyces.h" | ||||
CTerrainProperties::CTerrainProperties(CTerrainPropertiesPtr parent): | CTerrainProperties::CTerrainProperties(CTerrainPropertiesPtr parent): | ||||
m_pParent(parent), | m_pParent(parent), | ||||
m_BaseColor(0), | m_BaseColor(0), | ||||
m_HasBaseColor(false), | m_HasBaseColor(false), | ||||
m_TextureAngle((float)M_PI / 4.f), | m_TextureAngle((float)M_PI / 4.f), | ||||
m_TextureSize(32.f), | m_TextureSize(32.f), | ||||
▲ Show 20 Lines • Show All 122 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator