Kp
f9aa31ed64
Pass bitmap to rescale_x
2017-03-11 19:56:30 +00:00
Kp
6c0be636ea
Combine draw_item case branches
2017-03-11 19:56:29 +00:00
Kp
a245e47fcc
Pass canvas to nm_string_inputbox
2017-03-11 19:56:29 +00:00
Kp
b21fc54ba4
Pass canvas to nm_string_black
2017-03-11 19:56:29 +00:00
Kp
a7344b7dd0
Pass canvas to nm_string_slider
2017-03-11 19:56:29 +00:00
Kp
51a69a5a65
Pass canvas to nm_draw_background1
2017-03-11 19:56:29 +00:00
Kp
089f185d3c
Remove unused rule classes
...
zico removed all uses of these classes in 3366658a5b
, but did not
remove their definitions. No one has tried to repurpose them, so remove
the definitions.
Fixes: 3366658a5b
("Updated 'Netgame Rules & Info' screen, added option to toggle it ingame via SHIFT-PAUSE, added hint to netgame help menu")
2017-03-11 19:56:29 +00:00
Kp
869baefa07
Fold calls to kmatrix_status_msg
2017-03-11 19:56:29 +00:00
Kp
8dff2f0048
Pass canvas to kmatrix_status_msg
2017-03-11 19:56:28 +00:00
Kp
98b34b9328
Pass canvas to kmatrix_draw_coop_names
2017-03-11 19:56:28 +00:00
Kp
efde3f7e33
Pass canvas to kmatrix_draw_names
2017-03-11 19:56:28 +00:00
Kp
f10e418264
Pass canvas to kmatrix_draw_item
2017-03-11 19:56:28 +00:00
Kp
85eddb8d02
Pass canvas to render_endlevel_frame
2017-03-11 19:56:28 +00:00
Kp
38be68c345
Pass canvas to endlevel_render_mine
2017-03-11 19:56:28 +00:00
Kp
c4be6d2057
Pass canvas to render_external_scene
2017-03-11 19:56:27 +00:00
Kp
970ce18410
Pass canvas to render_object
2017-03-11 19:56:27 +00:00
Kp
56d5c7da91
Pass canvas to draw_polygon_object
2017-03-11 19:56:27 +00:00
Kp
8cf1082ce6
Pass canvas to draw_cloaked_object
2017-03-11 19:56:27 +00:00
Kp
25c36d4b0e
Pass canvas to draw_morph_object
2017-03-11 19:56:27 +00:00
Kp
2d9cfbd9ab
Pass canvas to draw_model
2017-03-11 19:56:27 +00:00
Kp
262d6c6c27
Pass canvas to g3_draw_morphing_model
2017-03-11 19:56:27 +00:00
Kp
e1d0d0603f
Pass canvas to draw_hostage
2017-03-11 19:56:26 +00:00
Kp
f0707cb9bd
Pass canvas to draw_powerup
2017-03-11 19:56:26 +00:00
Kp
a55de34884
Pass canvas to Laser_render
2017-03-11 19:56:26 +00:00
Kp
753cbafe61
Pass canvas to render_terrain
2017-03-11 19:56:26 +00:00
Kp
a6fc1f6357
Pass canvas to draw_cell
2017-03-11 19:56:26 +00:00
Kp
34b603ad71
Expand bomb spin variance
...
Let D1 proximity bombs spin. Let D2 smart mines and pre-placed mines
spin.
2017-03-11 19:56:26 +00:00
Kp
7d36df315e
Simplify draw_weapon_vclip
2017-03-11 19:56:25 +00:00
Kp
113aa50a2a
Pass canvas to draw_fireball
2017-03-11 19:56:25 +00:00
Kp
48d9f2cd19
Pass vclip to draw_vclip_object
2017-03-11 19:56:25 +00:00
Kp
450b3ec4f5
Pass canvas to draw_weapon_vclip
2017-03-11 19:56:25 +00:00
Kp
48a6adbe87
Pass canvas to draw_vclip_object
2017-03-11 19:56:25 +00:00
Kp
bc11b3bf85
Pass const object to draw_object_tmap_rod
2017-03-11 19:56:25 +00:00
Kp
03043f944e
Guard Headlights by if(D2)
...
Descent 1 has no headlight powerup. Code to read headlights was
incorrectly added in 357e1b0144
, but no code was added to write
headlights, so the Descent 1 lighting code checked for headlights that
never existed. Guard the headlight global variables and the associated
logic with if(D2).
Fixes: 357e1b0144
("Made lighting code work with actual RGB values and added feature to let certain objects emit colored dynamic light as well as let mine flash red when control center destroyed (OpenGL-only at the moment)")
2017-03-11 19:56:25 +00:00
Kp
a5444cfef1
Shorten compute_object_light
2017-03-11 19:56:24 +00:00
Kp
a6c8087815
Remove unused compute_object_light parameter rotated_pnt
2017-03-11 19:56:24 +00:00
Kp
dfbcc02346
Pass const object to compute_object_light
2017-03-11 19:56:24 +00:00
Kp
84faf8aa73
Pass canvas to draw_object_blob
2017-03-11 19:56:24 +00:00
Kp
26e1ce21fe
Pass canvas to draw_stars
2017-03-11 19:56:24 +00:00
Kp
4e1156a996
Use canvas in OGL g3_draw_sphere
2017-03-11 19:56:24 +00:00
Kp
9ccddf5366
Pass canvas to draw_exit_model
2017-03-11 19:56:23 +00:00
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