diff options
| author | jacksonmj <mj-pt@jacksonmj.co.uk> | 2012-03-26 14:56:16 (GMT) |
|---|---|---|
| committer | jacksonmj <mj-pt@jacksonmj.co.uk> | 2012-03-26 15:03:27 (GMT) |
| commit | 156d50d903ff205f0ad2986dcb449c029d456d03 (patch) | |
| tree | 3831376b4f4f89d11bbea26abf6d88badfb66e9a /includes | |
| parent | 74c72b8e90df6f68b248e6718d39b20bec0c2d22 (diff) | |
| download | powder-156d50d903ff205f0ad2986dcb449c029d456d03.zip powder-156d50d903ff205f0ad2986dcb449c029d456d03.tar.gz | |
Remove duplicate information in set_cmode
Calculating render_mode and display_mode variables from the arrays means
less chance of mistakes (e.g. blob mode RENDER_EFFE was set in
render_modes array but not in render_mode)
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/graphics.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/graphics.h b/includes/graphics.h index dde1c9c..df5e0ba 100644 --- a/includes/graphics.h +++ b/includes/graphics.h @@ -223,6 +223,9 @@ int sdl_open(void); int draw_debug_info(pixel* vid, int lm, int lx, int ly, int cx, int cy, int line_x, int line_y); +void init_display_modes(); +void update_display_modes(); + #ifdef OGLR void clearScreen(float alpha); void ogl_blit(int x, int y, int w, int h, pixel *src, int pitch, int scale); |
