//glColor3f(1.0f, 1.0f, 1.0f);
tilemap.bind();
- Tilemap::Index frame = animation.getFrame();
+ Mf::Texture::TileIndex frame = animation.getFrame();
+ Mf::Texture::Orientation orientation = Mf::Texture::NORMAL;
- Tilemap::Orientation orientation = Tilemap::NORMAL;
-
- if (mState.velocity[0] < 0.0) orientation = Tilemap::REVERSE;
+ if (mState.velocity[0] < 0.0) orientation = Mf::Texture::REVERSE;
Mf::Scalar coords[8];
tilemap.getTileCoords(frame, coords, orientation);