1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

Now texture handling is fast. Also now players are saved on disk.

This commit is contained in:
Perttu Ahola 2011-01-28 01:38:16 +02:00
parent bd100c5483
commit 64b5975732
23 changed files with 1167 additions and 656 deletions

View file

@ -22,8 +22,26 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "common_irrlicht.h"
//#include "utility.h"
#include "texture.h"
#include <string>
struct TileSpec
{
TileSpec():
alpha(255)
{
}
bool operator==(TileSpec &other)
{
return (spec == other.spec && alpha == other.alpha);
}
TextureSpec spec;
u8 alpha;
};
#if 0
struct TileSpec
{
TileSpec():
@ -52,5 +70,6 @@ struct TileSpec
std::string name;
u8 alpha;
};
#endif
#endif