diff options
| author | jacksonmj <mj-pt@jacksonmj.co.uk> | 2012-04-29 23:34:07 (GMT) |
|---|---|---|
| committer | jacksonmj <mj-pt@jacksonmj.co.uk> | 2012-04-29 23:39:12 (GMT) |
| commit | 8872e33b44ddc766e2c92fc843e2ee883247f473 (patch) | |
| tree | f520b81af863eeb1bedbab36568604791ddd84b6 /includes/interface.h | |
| parent | 74979102b34980ce2a815ebf15985d356a73de3c (diff) | |
| download | powder-8872e33b44ddc766e2c92fc843e2ee883247f473.zip powder-8872e33b44ddc766e2c92fc843e2ee883247f473.tar.gz | |
Massive cleanup of sdl_scale, and fix moving a sign in the zoom window
Diffstat (limited to 'includes/interface.h')
| -rw-r--r-- | includes/interface.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/includes/interface.h b/includes/interface.h index 57f75b6..858e289 100644 --- a/includes/interface.h +++ b/includes/interface.h @@ -340,5 +340,10 @@ void render_ui(pixel *vid_buf, int xcoord, int ycoord, int orientation); void simulation_ui(pixel *vid_buf); unsigned int decorations_ui(pixel *vid_buf, int *bsx, int *bsy, unsigned int savedColor); + +Uint8 mouse_get_state(int *x, int *y); + +void mouse_coords_window_to_sim(int *sim_x, int *sim_y, int window_x, int window_y); + #endif |
