Commit graph

935 commits

Author SHA1 Message Date
Kp 1e6bf36e20 Pass vm_vec_mag v by const& 2014-09-28 21:11:03 +00:00
Kp 7ddba1d15e Pass vm_vec_negate v by reference 2014-09-28 21:09:37 +00:00
Kp 89a77c4869 Remove never used vm_vec_avg4 2014-09-28 21:09:32 +00:00
Kp 59cacbd8ce Move Allow_marker_view, AlwaysLighting into DXX_BUILD_DESCENT_II 2014-09-28 21:09:22 +00:00
Kp c0023cad51 Fix memory leak writing hoard data 2014-09-27 23:14:50 +00:00
Kp dc511d0a5c Pass array<> to iff_read_animbrush 2014-09-27 23:06:33 +00:00
Kp 78ad2adabf Write weapon_info carefully 2014-09-27 22:46:25 +00:00
Kp 382afad2b8 Refactor weapon_info_read_n
Fix potential for initializing .children to wrong value with old data
files.  Currently, this cannot be hit because no caller uses the right
combination of arguments to cause it.

Rely on partial_range to report invalid custom files.
2014-09-27 21:21:58 +00:00
Kp 93bb883563 Use array<> for weapon_info fields 2014-09-27 17:15:17 +00:00
Kp afd995aa22 Centralize N_D2_* constants in bm.h 2014-09-27 15:42:45 +00:00
Kp 8be687984b Remove unneeded rle_position_t constructor 2014-09-26 02:57:03 +00:00
Kp 85d04abf60 Propagate for variables in common/ui/menu.cpp 2014-09-26 02:42:15 +00:00
Kp d47ecc3bef Propagate for variables in common/ui/keypress.cpp 2014-09-26 02:42:15 +00:00
Kp b0e2188dd2 Propagate for variables in common/ui/keypad.cpp 2014-09-26 02:42:15 +00:00
Kp 92cf115de1 Propagate for variables in common/ui/file.cpp 2014-09-26 02:42:15 +00:00
Kp e7bd80c9c8 Propagate for variables in common/ui/dialog.cpp 2014-09-26 02:42:15 +00:00
Kp f744b53cc2 Propagate for variables in common/texmap/tmapflat.cpp 2014-09-26 02:42:15 +00:00
Kp 04b75b979a Propagate for variables in common/texmap/scanline.cpp 2014-09-26 02:42:15 +00:00
Kp c698bb0082 Propagate for variables in common/misc/hmp.cpp 2014-09-26 02:42:14 +00:00
Kp 528633eb55 Propagate for variables in common/editor/func.cpp 2014-09-26 02:42:14 +00:00
Kp 488713fe93 Propagate for variables in common/arch/sdl/rbaudio.cpp 2014-09-26 02:42:14 +00:00
Kp e2d6174694 Propagate for variables in common/arch/sdl/joy.cpp 2014-09-26 02:42:14 +00:00
Kp b642c1ba43 Propagate for variables in common/3d/draw.cpp 2014-09-26 02:42:14 +00:00
Kp e6904ab13b Propagate for variables in common/3d/clipper.cpp 2014-09-26 02:42:14 +00:00
Kp 25597f2328 Propagate for variables in common/2d/scalec.cpp 2014-09-26 02:42:14 +00:00
Kp ea5be05645 Propagate for variables in common/2d/rle.cpp 2014-09-26 02:42:14 +00:00
Kp d869b08e27 Propagate for variables in common/2d/rect.cpp 2014-09-26 02:42:14 +00:00
Kp 2664f2475c Propagate for variables in common/2d/line.cpp 2014-09-26 02:42:14 +00:00
Kp d81c49a433 Propagate for variables in common/2d/box.cpp 2014-09-26 02:42:13 +00:00
Kp 66f4155a5f Propagate for variables in common/2d/bitmap.cpp 2014-09-26 02:42:13 +00:00
Kp b3c5421a46 Propagate for variables in common/2d/bitblt.cpp 2014-09-26 02:42:13 +00:00
Kp 53035620d5 Fix clang build of wall constants 2014-09-22 03:35:34 +00:00
Kp 3f3b8084d1 Fix non-gcc build of physfsx.h 2014-09-22 03:34:08 +00:00
Kp 9eda412dff Use symbolic constant wall_none 2014-09-21 23:05:14 +00:00
Kp 7b36462700 Pass multiplayer message type to multi_process_data 2014-09-21 22:10:21 +00:00
Kp e6b9f3f923 Use typedef for player number 2014-09-21 22:10:12 +00:00
Kp 6d5b9e3004 Move MAX_BITMAPS_PER_BRUSH definitions to piggy.h 2014-09-21 21:53:54 +00:00
Kp 703f60ac3f Fix -Wtype-limits warnings 2014-09-21 21:41:55 +00:00
Kp 2c8a07cfa7 Use vector<uint8_t> to manage current_music_hndlbuf 2014-09-20 23:14:03 +00:00
Kp 2a0917cea4 Simplify MIDI header setup 2014-09-20 23:12:42 +00:00
Kp ba907fd6e3 Eliminate message<...> for common UDT serialization 2014-09-20 23:04:16 +00:00
Kp d889dd9b7d Pass serial::pad by-value 2014-09-20 22:44:46 +00:00
Kp fece9f51a4 Optimize serial using __builtin_bswap if available 2014-09-20 22:15:32 +00:00
Kp c7d9477fca Optimize serial copies of byte arrays
Switch from a range_for copying bytes to use of copy_n.
2014-09-20 18:14:00 +00:00
Kp d263380179 Force partial_range offset/length to size_t 2014-09-19 02:58:25 +00:00
Kp ef42a7cdad Compact version number definition 2014-09-17 02:45:32 +00:00
Kp 2f7b9a7aa7 Use C++ memory management for window 2014-09-17 02:45:23 +00:00
Kp e22923e004 Use unique_ptr for grs_canvas 2014-09-17 02:45:12 +00:00
Kp 5f8ede8d8f Remove state_save_old_game
Saving old player structure is broken since d9e2337 switched to saving
the pointer to sg_player instead of the value of sg_player.  No one
reported it in 6 years, so remove it.
2014-09-17 02:45:02 +00:00
Kp cdda53a2e8 Compact pad_storage 2014-09-17 02:44:45 +00:00