Commit graph

5489 commits

Author SHA1 Message Date
Kp 561ffc61e4 Propagate for variables in similar/main/kmatrix.cpp 2014-09-26 02:42:09 +00:00
Kp 64fab7512a Propagate for variables in similar/main/kconfig.cpp 2014-09-26 02:42:09 +00:00
Kp 481a95a62b Propagate for variables in similar/main/iff.cpp 2014-09-26 02:42:09 +00:00
Kp 9e273d9283 Propagate for variables in similar/main/gameseg.cpp 2014-09-26 02:42:09 +00:00
Kp 738b56e20f Propagate for variables in similar/main/gamesave.cpp 2014-09-26 02:42:09 +00:00
Kp caac52e606 Propagate for variables in similar/main/gamerend.cpp 2014-09-26 02:42:09 +00:00
Kp fc28611f52 Propagate for variables in similar/main/gamefont.cpp 2014-09-26 02:42:09 +00:00
Kp b307e994d0 Propagate for variables in similar/main/gamecntl.cpp 2014-09-26 02:42:09 +00:00
Kp db6fc94f47 Propagate for variables in similar/main/game.cpp 2014-09-26 02:42:08 +00:00
Kp d2a74cb52b Propagate for variables in similar/main/fuelcen.cpp 2014-09-26 02:42:08 +00:00
Kp 5e932daf16 Propagate for variables in similar/main/credits.cpp 2014-09-26 02:42:08 +00:00
Kp 5149df504d Propagate for variables in similar/main/collide.cpp 2014-09-26 02:42:08 +00:00
Kp ec06f5e018 Propagate for variables in similar/main/object.cpp 2014-09-26 02:42:08 +00:00
Kp fc25f00eb1 Propagate for variables in similar/main/endlevel.cpp 2014-09-26 02:42:08 +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 5caf3206fc Convert gamemine.cpp to use range_for 2014-09-21 21:46:21 +00:00
Kp 613e98e1f9 Convert ai.cpp to use range_for 2014-09-21 21:46:12 +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
Kp 5571cf75ef Ignore -udp_myport requests for reserved port 2014-09-17 02:16:33 +00:00
Kp 9ccc5400fb Refactor UDP_MyPort handling
Store as short, not string.

Centralize reset-to-default.  Fixes sometimes resetting to hardcoded
default instead of GameArg default.

Centralize and improve error check.  Now rejects privileged ports
consistently.
2014-09-17 02:13:13 +00:00
Kp f5c950df69 Throw exception on corrupt weapon list 2014-09-17 02:11:59 +00:00
Kp 5b70836203 Fix -Werror leakage on failed CXXFLAGS-free tests 2014-09-17 02:11:43 +00:00
Kp 85b09fd380 Avoid redundant -Werror usage
If -Werror is set by the user, use -Wflag instead of -Werror=flag.
2014-09-17 02:09:53 +00:00
Kp 191ecd2cdc Remove write-only field matcen_info::interval 2014-09-17 02:07:55 +00:00
Kp 4b2ad9e3df Remove write-only field matcen_info::hit_points 2014-09-17 02:07:50 +00:00
Kp f0a1146b29 Unify MULTI_ROBOT_EXPLODE
Derive thief state locally.  Remove unused player number.  Use new
serializer.
2014-09-14 01:14:33 +00:00
Kp 44827606bc Use serialize for multi_claim_robot 2014-09-13 23:45:13 +00:00
Kp d1a36bfc6a Add option to rebuild vers_id when any object file changes 2014-09-13 22:10:24 +00:00
Kp a11c4aed3d Shorten vers_id command line 2014-09-13 22:09:32 +00:00
Kp f5ee5f8813 Use array<> for side 2014-09-13 22:05:52 +00:00
Kp 039bf2f0b7 Fix crash on failure to create afterburner blob
Fix crash on failure to recreate thief.
2014-09-13 22:01:17 +00:00
Kp cbe07f023c Reduce scope of for variables 2014-09-13 21:45:21 +00:00
Kp 49734df8a4 Use partial_range to search netgame list 2014-09-13 21:44:42 +00:00