mirror of
https://github.com/vcmi/vcmi.git
synced 2026-06-19 22:57:37 +02:00
* handling Def 2 compression (may be a bit buggy)
* small improvement in int3 class
This commit is contained in:
@@ -41,11 +41,11 @@ class int3
|
||||
y+=i;
|
||||
z+=i;
|
||||
}
|
||||
inline bool operator==(const int3 & i)
|
||||
inline bool operator==(const int3 & i) const
|
||||
{return (x==i.x) && (y==i.y) && (z==i.z);}
|
||||
inline bool operator!=(const int3 & i)
|
||||
inline bool operator!=(const int3 & i) const
|
||||
{return !(*this==i);}
|
||||
inline bool operator<(const int3 & i)
|
||||
inline bool operator<(const int3 & i) const
|
||||
{
|
||||
if (z<i.z)
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user