mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Finished conversion to new logging API
* removed logger streams * (float3|int3)::operator() -> (float3|int3)::toString(), it was too ugly and confusing.
This commit is contained in:
@@ -134,6 +134,8 @@ namespace Res
|
||||
DLL_LINKAGE bool canAfford(const ResourceSet &price) const;
|
||||
DLL_LINKAGE bool canBeAfforded(const ResourceSet &res) const;
|
||||
|
||||
DLL_LINKAGE std::string toString() const;
|
||||
|
||||
//special iterator of iterating over non-zero resources in set
|
||||
class DLL_LINKAGE nziterator
|
||||
{
|
||||
@@ -154,9 +156,9 @@ namespace Res
|
||||
const ResEntry* operator->() const;
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
using ::operator<<;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
typedef Res::ResourceSet TResources;
|
||||
|
||||
Reference in New Issue
Block a user