diff options
| author | Japa | 2012-08-20 07:59:42 +0530 |
|---|---|---|
| committer | Japa | 2012-08-20 07:59:42 +0530 |
| commit | 9410fbcb1759e41481808d495ec442cbda87fac8 (patch) | |
| tree | b8ccc4368ad92771d0a5bca83799874a5a72a50b /ContentBuildingReader.cpp | |
| parent | 7fcef5ebab2887ce4a7c5fddec3c18d037cd5994 (diff) | |
| download | stonesense-9410fbcb1759e41481808d495ec442cbda87fac8.tar.gz stonesense-9410fbcb1759e41481808d495ec442cbda87fac8.tar.bz2 stonesense-9410fbcb1759e41481808d495ec442cbda87fac8.tar.xz | |
Tidied up some error messages, fixed some sprites.
Non-errors are now put into verbose logging, because end-users don't
need to see that stuff.
Also fixed a few other things.
Diffstat (limited to 'ContentBuildingReader.cpp')
| -rw-r--r-- | ContentBuildingReader.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ContentBuildingReader.cpp b/ContentBuildingReader.cpp index 31836f8..f180869 100644 --- a/ContentBuildingReader.cpp +++ b/ContentBuildingReader.cpp @@ -331,7 +331,7 @@ bool addSingleBuildingConfig( TiXmlElement* elemRoot, vector<BuildingConfigurat {
if(!strGameSub)
{
- contentError("<building> Is generic - game_subtype missing.",elemRoot);
+ contentWarning("<building> Is generic - game_subtype missing.",elemRoot);
break;
}
FOR_ENUM_ITEMS(furnace_type,i)
@@ -355,7 +355,7 @@ bool addSingleBuildingConfig( TiXmlElement* elemRoot, vector<BuildingConfigurat {
if(!strGameSub)
{
- contentError("<building> Is generic - game_subtype missing.",elemRoot);
+ contentWarning("<building> Is generic - game_subtype missing.",elemRoot);
break;
}
FOR_ENUM_ITEMS(construction_type,i)
@@ -377,7 +377,7 @@ bool addSingleBuildingConfig( TiXmlElement* elemRoot, vector<BuildingConfigurat {
if(!strGameSub)
{
- contentError("<building> Is generic - game_subtype missing.",elemRoot);
+ contentWarning("<building> Is generic - game_subtype missing.",elemRoot);
break;
}
FOR_ENUM_ITEMS(siegeengine_type,i)
@@ -399,7 +399,7 @@ bool addSingleBuildingConfig( TiXmlElement* elemRoot, vector<BuildingConfigurat {
if(!strGameSub)
{
- contentError("<building> Is generic - game_subtype missing.",elemRoot);
+ contentWarning("<building> Is generic - game_subtype missing.",elemRoot);
break;
}
FOR_ENUM_ITEMS(shop_type,i)
@@ -421,7 +421,7 @@ bool addSingleBuildingConfig( TiXmlElement* elemRoot, vector<BuildingConfigurat {
if(!strGameSub)
{
- contentError("<building> Is generic - game_subtype missing.",elemRoot);
+ contentWarning("<building> Is generic - game_subtype missing.",elemRoot);
break;
}
FOR_ENUM_ITEMS(workshop_type,i)
|
