Kp
86880af317
Cache canvas in credits_handler
2017-03-11 19:56:23 +00:00
Kp
72ce5d7e66
Pass canvas to draw_all_edges
2017-03-11 19:56:23 +00:00
Kp
719de35484
Pass grs_bitmap to gr_pixel
2017-03-11 19:56:23 +00:00
Kp
9dbec8433d
Pass grs_bitmap to gr_upixel
2017-03-11 19:56:23 +00:00
Kp
9311548eba
Pass grs_bitmap to ogl_upixelc
2017-03-11 19:56:23 +00:00
Kp
5541e764cd
Use cached canvas in font.cpp
2017-03-11 19:56:23 +00:00
Kp
c725a6cb88
Pass canvas to gr_init_font
2017-03-11 19:56:22 +00:00
Kp
0c8220cc07
Pass canvas to game_draw_hud_stuff
2017-03-11 19:56:22 +00:00
Kp
afb52a5a3e
Pass canvas to draw_hud
2017-03-11 19:56:22 +00:00
Kp
014734834c
Switch gr_printf calls to local canvas
2017-03-11 19:56:22 +00:00
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