mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-07-03 06:24:32 +00:00
More work on tile rendering:
- Use indexed triangle rendering, no more GL_QUADS for tiles - Fix aquarian text on maps - Tile tex repeat mode works again Known broken: - Editor - Tile repeat with grid effects
This commit is contained in:
parent
395ff079e9
commit
368271c40e
25 changed files with 749 additions and 429 deletions
|
@ -24,6 +24,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
#include <string>
|
||||
#include "Refcounted.h"
|
||||
|
||||
struct TexCoordBox
|
||||
{
|
||||
float u1, v1; // upper left (x,y)
|
||||
float u2, v2; // lower right (x,y)
|
||||
|
||||
bool isStandard() const;
|
||||
void setStandard();
|
||||
};
|
||||
|
||||
enum TextureLoadResult
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue