summaryrefslogtreecommitdiff
path: root/src/include/data_game.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/data_game.h')
-rw-r--r--src/include/data_game.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/data_game.h b/src/include/data_game.h
index d9bd68e..b89986d 100644
--- a/src/include/data_game.h
+++ b/src/include/data_game.h
@@ -9,7 +9,8 @@ typedef struct {
sprite_t *sprite;
int currframe;
int animate; /* Is currently animating ? */
- int x,y; /* Level-based coords, not camera-based */
+ int x,y;
+ int absolute; /* 0 if level-based coords, 1 if camera-based */
} renderItem_t;
typedef struct {
@@ -25,7 +26,7 @@ typedef struct {
/* streamTerrain : viewable portion of terrain, in texture format
updated by render_terrain() */
- SDL_Texture *terrainStream;
+ sprite_t terrainSprite;
/* Render list of all in-game sprites (for batch processing)
Items are in paint order