Kp
a19286437a
Pass canvas to show_mousefs_indicator
2017-03-11 19:56:22 +00:00
Kp
4b6f42a962
Pass canvas to show_reticle
2017-03-11 19:56:22 +00:00
Kp
cee6c984bd
Pass canvas to hud_show_kill_list
2017-03-11 19:56:21 +00:00
Kp
5e1b27120d
Pass canvas to HUD_render_message_frame
2017-03-11 19:56:21 +00:00
Kp
d67a27df65
Fix SDL check_header_includes=1 build
...
Type `SyncGLMethod` was defined conditional on DXX_USE_OGL, but header
`common/include/ogl_sync.h` used `SyncGLMethod` unconditionally. This
works fine in the normal build since SDL builds never include
`common/include/ogl_sync.h`, but broke the check_header_includes=1 test
since that compiles `common/include/ogl_sync.h` even for SDL builds.
Wrap type `ogl_sync` in `#if DXX_USE_OGL` to hide it from the
check_header_includes=1 test in SDL mode.
2017-03-11 19:56:21 +00:00
Kp
74d4833591
Factor out automap common assignments
2017-03-10 01:22:34 +00:00
Kp
d8dc2ed985
Cache intermediate results in automap_build_edge_list
2017-03-10 01:22:33 +00:00
Kp
858807e2a5
Use range_for in automap
2017-03-10 01:22:33 +00:00
Kp
adefaf0fba
Simplify automap_find_edge result
2017-03-10 01:22:33 +00:00
Kp
b10ec2cb01
Cache canvas in newmenu_create_structure
2017-03-10 01:22:33 +00:00
Kp
e304f43efa
Cache canvas in kmatrix_redraw_coop
2017-03-10 01:22:33 +00:00
Kp
d5b7178fe5
Cache canvas in kmatrix_redraw
2017-03-10 01:22:33 +00:00
Kp
f1d65f6b46
Cache canvas in kconfig_mouse
2017-03-10 01:22:33 +00:00
Kp
10522fd1ff
Cache canvas in kconfig_draw
2017-03-10 01:22:32 +00:00
Kp
40943a6baf
Cache canvas in draw_player_ship
2017-03-10 01:22:32 +00:00
Kp
07fbab437b
Cache canvas in draw_invulnerable_ship
2017-03-10 01:22:32 +00:00
Kp
653c7666c9
Cache canvas in draw_weapon_box
2017-03-10 01:22:32 +00:00
Kp
3a4789c285
Pass canvas to draw_weapon_info
2017-03-10 01:22:32 +00:00
Kp
685187e2d0
Pass canvas to draw_secondary_weapon_info
2017-03-10 01:22:32 +00:00
Kp
4dae87044b
Pass canvas to draw_primary_weapon_info
2017-03-10 01:22:31 +00:00
Kp
6651489643
Pass canvas to draw_weapon_info_sub
2017-03-10 01:22:31 +00:00
Kp
27140a30b9
Pass canvas to draw_numerical_display
...
Remove unnecessary extra call to draw_numerical_display.
2017-03-10 01:22:31 +00:00
Kp
fa81835b96
Pass canvas to show_cockpit_cloak_invul_timer
2017-03-10 01:22:31 +00:00
Kp
e583019958
Pass canvas to draw_shield_bar
2017-03-10 01:22:31 +00:00
Kp
0132750380
Pass canvas to draw_afterburner_bar
2017-03-10 01:22:31 +00:00
Kp
4ecae34ec5
Pass canvas to sb_draw_shield_num
2017-03-10 01:22:30 +00:00
Kp
3a8bb51e45
Pass canvas to sb_draw_afterburner
2017-03-10 01:22:30 +00:00
Kp
94f2776af4
Pass canvas to sb_draw_energy_bar
2017-03-10 01:22:30 +00:00
Kp
98a27e4f09
Cache canvas in draw_static
2017-03-10 01:22:30 +00:00
Kp
4fd064a374
Pass canvas to draw_wbu_overlay
2017-03-10 01:22:30 +00:00
Kp
c5fe4f28e2
Pass canvas to hud_show_flag
2017-03-10 01:22:30 +00:00
Kp
9fb81eed3d
Pass canvas to hud_show_orbs
2017-03-10 01:22:29 +00:00
Kp
817bd73e5e
Pass canvas to hud_show_keys
2017-03-10 01:22:29 +00:00
Kp
3645abf0df
Pass canvas to show_homing_warning
2017-03-10 01:22:29 +00:00
Kp
98463f506e
Pass canvas to kc_drawinput
2017-03-10 01:22:29 +00:00
Kp
ed2cb63abb
Pass canvas to kc_drawquestion
2017-03-10 01:22:29 +00:00
Kp
357099d81e
Pass font to get_item_height
2017-03-10 01:22:29 +00:00
Kp
4dd4e49fd1
Pass canvas to kc_gr_2y_string
2017-03-10 01:22:29 +00:00
Kp
3f15f5c0a3
Cache canvas in show_boxed_message
2017-03-10 01:22:28 +00:00
Kp
f0eac8f250
Combine CM_FULL_COCKPIT, CM_REAR_VIEW switch paths
2017-03-10 01:22:28 +00:00
Kp
a1e8d19715
Factor out screenshot save code
2017-03-10 01:22:28 +00:00
Kp
f5a17abbe8
Pass canvas to show_HUD_names
2017-03-10 01:22:28 +00:00
Kp
b6778f65c7
Cache canvas in printscreen handler
2017-03-10 01:22:28 +00:00
Kp
7410ad343c
Pass canvas to render_mine
2017-03-10 01:22:28 +00:00
Kp
8542940b24
Pass canvas to render_frame
2017-03-10 01:22:27 +00:00
Kp
7e1ba509ff
Cache canvas in init_cockpit
2017-03-10 01:22:27 +00:00
Kp
393e96b8d8
Unify SDL/OGL save_screen_shot
...
This simplifies maintenance and reduces the potential for inconsistency.
It also cleans up one existing inconsistency.
2017-03-10 01:22:27 +00:00
Kp
81cc81a6de
Remove dead call to gr_set_curfont in init_editor
2017-03-10 01:22:27 +00:00
Kp
4d21fb8860
Pass canvas to init_editor_screen
2017-03-10 01:22:27 +00:00
Kp
1b8e6f5059
Cache canvas in print_status_bar
2017-03-10 01:22:27 +00:00