Kp
c914131009
Pass canvas to gr_rle_expand_scanline_generic
2017-01-01 00:45:45 +00:00
Kp
22e364e030
Pass canvas to gr_clear_canvas
2017-01-01 00:45:45 +00:00
Kp
0905aefa0a
Pass canvas to gr_rect
2017-01-01 00:45:45 +00:00
Kp
794dcce327
Pass canvas to gr_urect
2017-01-01 00:45:44 +00:00
Kp
774dedd21d
Pass canvas to gr_bm_pixel
2017-01-01 00:45:44 +00:00
Kp
2be580df0c
Pass canvas to gr_bm_upixel
2017-01-01 00:45:44 +00:00
Kp
77c22d3a7f
Pass canvas to gr_settransblend
2017-01-01 00:45:44 +00:00
Kp
c3c4ab8e3e
Pass canvas to gr_box
2017-01-01 00:45:44 +00:00
Kp
dac1a69f7c
Pass canvas to gr_ubox
2017-01-01 00:45:44 +00:00
Kp
1b57e9a5ff
Pass canvas to show_fullscr
2017-01-01 00:45:43 +00:00
Kp
250bf58e51
Pass canvas to gr_bitmapm
2017-01-01 00:45:43 +00:00
zico
daad12106d
Fixed texture malformations of op_tmappoly in g3_draw_morphing_model_state().
2016-12-30 14:49:40 +01:00
zico
24bd4170f4
Added debug key combo DEL+M to generate a morphing robot in the player segment, rotating through all available bots. Handy for testing purposes.
2016-12-30 14:45:47 +01:00
Kp
3a4eafac03
Add workaround for passive thief bot
...
zicodxx reports that f7d0c85
made the thief bot passive and timid.
His analysis suggests that the problem is because f7d0c85
changed
find_connected_distance to return vm_distance::maximum_value() in places
where it previously returned magic values that were not maximum (caching
a distance of F1_0*1000 and returning a distance of -1). Rather than
try to fix the underlying code that relied on these magic values, revert
those return paths to return these unusual values. Move the unusual
values to named constants in file scope so that they are easier to find
and correlate.
Reported-by: zicodxx <https://github.com/dxx-rebirth/dxx-rebirth/issues/286 >
Analyzed-by: zicodxx
Fixes: f7d0c853ba
("Use special types for distance/magnitude")
2016-12-29 03:27:14 +00:00
Kp
362d526546
Pass canvas to gr_disk
2016-12-29 03:27:13 +00:00
Kp
acd309099b
Pass canvas to gr_ucircle
2016-12-29 03:27:13 +00:00
Kp
08d0aa9b59
Pass canvas to gr_bitmap
2016-12-29 03:27:13 +00:00
Kp
d7cd6d17c3
Pass canvas to gr_ubitmapm
2016-12-29 03:27:13 +00:00
Kp
6ab3b18657
Pass canvas to gr_ubitmap
2016-12-29 03:27:12 +00:00
Kp
99f5cfbb10
Pass canvas to ogl_ubitmapm_cs
2016-12-29 03:27:12 +00:00
Kp
1b617b9d5c
Pass canvas to gr_ubitmapGENERICm
2016-12-29 03:27:12 +00:00
Kp
ea0b0137f9
Pass canvas to gr_ubitmap012m
2016-12-29 03:27:12 +00:00
Kp
aba8f163e6
Pass canvas to gr_ubitmap012
2016-12-29 03:27:12 +00:00
Kp
ba70ec2142
Pass canvas to gr_for_each_bitmap_byte
2016-12-29 03:27:12 +00:00
Kp
d1f1633f45
Pass canvas to gr_ubitmapGENERIC
2016-12-29 03:27:11 +00:00
Kp
7e62a5670e
Pass canvas to gr_box12
2016-12-29 03:27:11 +00:00
Kp
14961b52fe
Pass canvas to gr_ubox12
2016-12-29 03:27:11 +00:00
Kp
1e1272fcf2
Cache temporaries in show_briefing_bitmap
...
Avoid recomputing the same width/height expressions. This saves ~20
instructions and ~100 bytes on x86_64-pc-linux-gnu.
2016-12-29 03:27:11 +00:00
Kp
9f6c54e29a
Pass unsigned x/y to gr_gpixel
2016-12-29 03:27:11 +00:00
Kp
f4752eabb3
Pass canvas to gr_for_each_bitmap_byte callback
2016-12-29 03:27:11 +00:00
Kp
ba78153f13
Pass canvas to gr_ubitmap00m
2016-12-29 03:27:11 +00:00
Kp
eb5419b934
Unify gr_ubitmap00{,m}
2016-12-29 03:27:10 +00:00
Kp
feb0baf040
Pass canvas to gr_ubitmap00
2016-12-29 03:27:10 +00:00
Kp
1fa5aef9ac
Pass canvas to gr_line
2016-12-29 03:27:10 +00:00
Kp
7439949595
Pass canvas to gr_uline
2016-12-29 03:27:10 +00:00
Kp
27a033d634
Pass canvas to gr_box0
2016-12-29 03:27:10 +00:00
Kp
dc4a75ca41
Pass canvas to gr_ubox0
2016-12-29 03:27:10 +00:00
Kp
fab08ec636
Pass canvas to gr_universal_uline
2016-12-29 03:27:10 +00:00
Kp
fc7bfac31b
Pass canvas to 2d/line.cpp plot
2016-12-29 03:27:09 +00:00
Kp
962912e08a
Pass canvas to gr_hline
2016-12-29 03:27:09 +00:00
Kp
d43426a0f7
Pass canvas to gr_vline
2016-12-29 03:27:09 +00:00
Kp
ef06aa089a
Pass canvas to gr_pixel
2016-12-29 03:27:09 +00:00
Kp
7e4d07490d
Pass canvas to gr_upixel
2016-12-29 03:27:09 +00:00
Kp
1ed06c91b7
Pass canvas to ogl_ulinec
2016-12-29 03:27:09 +00:00
Kp
fee4346dc1
Pass canvas to ogl_urect
2016-12-29 03:27:08 +00:00
Kp
bc66f5ce9b
Pass canvas to gr_scanline
2016-12-29 03:27:08 +00:00
Kp
e63593edc4
Pass canvas to gr_uscanline
2016-12-29 03:27:08 +00:00
Kp
290cb6e7c0
Use array<> for ogl_urect float arrays
2016-12-29 03:27:08 +00:00
Kp
29c912d2da
Fid -Wold-style-cast warning in SDL-only code
2016-12-29 03:27:08 +00:00
zico
a10d9e0bba
Prevent access of potentially uninitialized r.value in nm_trigger_radio_button()
2016-12-28 20:36:00 +01:00