Kp
62ebfe9626
Pass rle_expand_texture_sub arg by &
2014-11-30 22:09:17 +00:00
Kp
f89b57047a
Pass g3_draw_bitmap grs_bitmap by &
2014-11-30 22:09:17 +00:00
Kp
06b384e349
Pass scale_bitmap arg by &
2014-11-30 22:09:17 +00:00
Kp
e7c0c639aa
Include <memory>, not <utility> for std::addressof
...
Including utility works on Linux, but apparently fails on OS X 10.10.
Switch to <memory>, which also works on Linux, and which btb reports
works on OS X.
Reported by btb: https://github.com/dxx-rebirth/dxx-rebirth/pull/12
Fixed by btb: 2f4b2f031c
2014-11-30 17:04:49 +00:00
Kp
3cbb73c1f2
Fix prototype of Mac msgbox_warning
...
Reported by btb: https://github.com/dxx-rebirth/dxx-rebirth/pull/12
Fixed by btb: 2f4b2f031c
2014-11-30 17:03:54 +00:00
Kp
962045b911
Include <cstdlib> in render.cpp for std::abs
...
Reported by btb: https://github.com/dxx-rebirth/dxx-rebirth/pull/12
Fixed by btb: f80c4c17b6
2014-11-30 17:03:00 +00:00
Kp
91a2eb8491
Include <vector> in mveplay.cpp for std::vector
...
Reported by btb: https://github.com/dxx-rebirth/dxx-rebirth/pull/12
Fixed by btb: f502740fdd
2014-11-30 17:01:39 +00:00
Kp
d149b9b9e8
Include <string> in partial_range.h for std::string
...
Reported by btb: https://github.com/dxx-rebirth/dxx-rebirth/pull/12
Fixed by btb: 93a80e56cd
2014-11-30 17:00:03 +00:00
Kp
5f38c85e02
Improve compiler error messages on failed const T* -> T* conversions
2014-11-27 03:25:21 +00:00
Kp
f9a339dfc8
Pass bash_to_shield arg as vobjptr_t
2014-11-26 04:02:08 +00:00
Kp
5aaf847c41
Fix various -Wnarrowing errors
2014-11-26 03:39:21 +00:00
Kp
327fe23586
Fix -Wnarrowing in valptridx operator-
2014-11-26 03:00:58 +00:00
Kp
d0ec27898b
Detect -Wnarrowing constructor calls even without inheritance
2014-11-26 02:57:36 +00:00
Kp
1559ebbe9e
Use range_for in pae_aux
2014-11-25 04:04:51 +00:00
Kp
2e59c6f80a
Improve loops in font handling
2014-11-25 04:03:13 +00:00
Kp
388dfb98a0
Move valptridx helpers out of macro
2014-11-25 04:02:01 +00:00
Kp
0fa93d2e56
Track render window by &
2014-11-23 21:53:46 +00:00
Kp
2ddbdd6f11
Move processed into render_seg_map
2014-11-23 21:53:45 +00:00
Kp
c495f48ccd
Move Seg_depth into render_seg_map
2014-11-23 21:53:45 +00:00
Kp
cd6e8bc8b8
Fix error checking in debug build
2014-11-23 21:53:45 +00:00
Kp
d9a4fc56b3
Split gate_in_robot for individual callers
2014-11-23 21:45:08 +00:00
Kp
d0090225b3
Fix segment_first/object_first mismatch
2014-11-23 21:41:30 +00:00
Kp
d63be88eb0
Propagate use of vsegptridx_t
2014-11-23 04:58:45 +00:00
Kp
80f3f83577
Use range_for for Delta_lights
2014-11-23 04:36:59 +00:00
Kp
80bbc9c69c
Use range_for on Dl_indices
2014-11-23 04:36:58 +00:00
Kp
1649fc791c
Use partial_range on Flickering_lights
2014-11-23 04:36:58 +00:00
Kp
f206b3b127
Reduce inclusion of object.h
2014-11-23 04:36:58 +00:00
Kp
88101f8f57
Move object declarations to fwdobject.h
2014-11-23 04:36:58 +00:00
Kp
4ad784028b
Pass scale_bitmap points in array<grs_point, 3>
2014-11-21 03:34:50 +00:00
Kp
c2544fe0d9
Move scale decoding array to local scope
2014-11-21 03:33:10 +00:00
Kp
0c76e47f59
Move rle decoding pointers to local scope
2014-11-21 03:32:25 +00:00
Kp
0c3f350803
Cache object* in render object sort
2014-11-21 03:31:39 +00:00
Kp
fb521e9b75
Sort objects without extra copying
2014-11-21 03:29:28 +00:00
Kp
98dcc26080
Make find_joining_side_norms vertex lookup more readable
2014-11-21 03:28:41 +00:00
Kp
1d0ba034a5
Store rendered objects in vector
2014-11-21 03:16:00 +00:00
Kp
0da289fca8
Pass fvi_sub ints by &
2014-11-21 03:11:11 +00:00
Kp
a17cf6f808
Avoid slicing into objnum_t local
2014-11-20 03:00:41 +00:00
Kp
2c349136cc
Avoid slicing into segnum_t local
2014-11-20 03:00:36 +00:00
Kp
e56fe128e0
Remove DosShell
2014-11-19 04:19:43 +00:00
Kp
4eaf0ac4c3
Pass scale_up* bitmap arg by &
2014-11-19 04:18:12 +00:00
Kp
8c4fd12a82
Pass decode_row arg by &
2014-11-19 04:16:02 +00:00
Kp
c0d7921ef4
Remove draw_blob_outline
...
OGL builds tricked draw_powerup into never drawing the outline and no
one ever complained.
2014-11-19 04:15:45 +00:00
Kp
ee8da79953
Simplify rle_remap offset setup
2014-11-19 04:14:33 +00:00
Kp
60d4b91782
Simplify rle_swap_0_255 offset setup
2014-11-19 04:14:10 +00:00
Kp
317fffe5da
Move #endif to cover functions that need trigger
2014-11-17 04:02:26 +00:00
Kp
57ed5c24fd
Add developer option to test header completeness
2014-11-17 04:02:25 +00:00
Kp
c72ec87296
Redirect g3_end_frame->ogl_end_frame
2014-11-16 19:14:51 +00:00
Kp
cdf0d887f6
Move temporary points onto stack
2014-11-16 19:14:51 +00:00
Kp
855b249555
Make g3s_point const only in OGL
2014-11-16 19:14:51 +00:00
Kp
177c935b9d
Move 3d/clipper.cpp to SDL-only build
2014-11-16 19:14:51 +00:00