aboutsummaryrefslogtreecommitdiff
path: root/src/sdl/draw.h
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2019-01-13 09:32:37 -0500
committerPaul Duncan <pabs@pablotron.org>2019-01-13 09:32:37 -0500
commite4f70b11a2f91b47f474fa9e5e4e89978a57472a (patch)
tree3f568bb5eca3c99d470fc451314997a10f59bf46 /src/sdl/draw.h
parent3441e42dd23f7b951e83a902cb2a3fa758341638 (diff)
downloadsok-e4f70b11a2f91b47f474fa9e5e4e89978a57472a.tar.bz2
sok-e4f70b11a2f91b47f474fa9e5e4e89978a57472a.zip
add vi navigation keys
Diffstat (limited to 'src/sdl/draw.h')
-rw-r--r--src/sdl/draw.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sdl/draw.h b/src/sdl/draw.h
index 304d972..26f7cb0 100644
--- a/src/sdl/draw.h
+++ b/src/sdl/draw.h
@@ -13,7 +13,8 @@ typedef struct {
const level_t *level;
const size_t * const zoom;
- sok_pos_t render_ofs;
+ // render offset
+ int render_ofs_x, render_ofs_y;
} draw_ctx_t;
void draw(draw_ctx_t * const);