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
Kp
e9d01c493e
Move uvl_copy up
2014-09-13 00:34:18 +00:00
Kp
26dfce97f9
Remove duplicate code for calling check_face
2014-09-12 23:13:32 +00:00
Kp
41bb341777
Split valptridx_t into pieces
2014-09-12 03:22:34 +00:00
Kp
822d3c7518
Avoid reloading Player_num when clearing player callsigns
2014-09-12 02:43:37 +00:00
Kp
9ea72090a2
Fix return semantics of net_udp_send_request
2014-09-12 02:43:36 +00:00
Kp
f7f416c3cb
Trap blown bitmap overflow
2014-09-11 22:16:18 +00:00
Kp
008caf8161
Simplify sort_seg_children
2014-09-08 03:31:05 +00:00
Kp
0c7e5aa178
Avoid slicing obj_create return value
2014-09-08 03:24:48 +00:00
Kp
ec4bb62a2c
Add break missed in C++ inheritance conversion
2014-09-08 00:08:17 +00:00
Kp
01638a7eb0
Move N_render_segs into render_state_t
2014-09-07 23:56:37 +00:00
Kp
0387a2c771
Disallow using RAIIdmem::operator T* on rvalues
2014-09-07 23:56:37 +00:00
Kp
7d166a70e0
Prevent accidental RAIIdmem construction
2014-09-07 23:56:37 +00:00
Kp
425c4242c1
Use std::string for UI_GADGET_BUTTON text
2014-09-07 21:21:57 +00:00
Kp
57dc04a9bd
Remove trailing ^Z
2014-09-07 20:26:38 +00:00
Kp
e8f4b20d1d
Use special type for PHYSFSX_fgets
2014-09-07 20:07:20 +00:00
Kp
07176ece8b
Add Valgrind poison stubs
2014-09-07 19:39:18 +00:00
Kp
a02f78a171
Move saving window pointer into helper
2014-09-07 19:04:07 +00:00
Kp
fdef9fd04f
Use C++ allocation for window-specific data
2014-09-07 19:04:07 +00:00
Kp
ff052c4fa1
Wrap pause window message in structure
2014-09-07 19:04:07 +00:00
Kp
ff31905181
Use unique_ptr for grs_subcanvas
2014-09-07 19:04:06 +00:00
Kp
8321b90a9a
Use C++ inheritance for UI gadgets
2014-09-07 19:04:06 +00:00
Kp
73a0aee004
Use accessor for side::type
2014-09-06 22:36:58 +00:00