Proper layer rendering
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#ifndef BREEZE_TILESET_H
|
||||
#define BREEZE_TILESET_H
|
||||
|
||||
#include "../defines.h"
|
||||
|
||||
#include <raylib.h>
|
||||
|
||||
typedef struct BzTilesetDesc {
|
||||
@@ -10,13 +12,13 @@ typedef struct BzTilesetDesc {
|
||||
|
||||
typedef struct BzTileset {
|
||||
Texture2D tiles;
|
||||
int startID;
|
||||
int tileWidth;
|
||||
int tileHeight;
|
||||
int width;
|
||||
int height;
|
||||
int offsetX;
|
||||
int offsetY;
|
||||
i32 startID;
|
||||
i32 tileWidth;
|
||||
i32 tileHeight;
|
||||
i32 width;
|
||||
i32 height;
|
||||
i32 offsetX;
|
||||
i32 offsetY;
|
||||
bool isValid;
|
||||
} BzTileset;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user