Kp
703f60ac3f
Fix -Wtype-limits warnings
2014-09-21 21:41:55 +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
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
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
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
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
01638a7eb0
Move N_render_segs into render_state_t
2014-09-07 23:56:37 +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
73a0aee004
Use accessor for side::type
2014-09-06 22:36:58 +00:00
Kp
02e2e77ee6
Tighten processing of WALL_IS_DOORWAY flags
2014-09-06 22:26:11 +00:00
Kp
3573d680ef
Optimize set_ambient_sound_flags
2014-09-06 04:08:44 +00:00
Kp
f5e7516448
Overwrite oldest earthshaker even if not done
...
Otherwise the newest earthshaker will be lost.
2014-09-06 04:07:45 +00:00
Kp
d312248d45
Return int_fast32_t from find_connect_side
2014-09-06 04:06:18 +00:00
Kp
36183e1388
Optimize render compare_children
2014-09-06 04:01:32 +00:00
Kp
5576a65dac
Check length of g3 tmap inputs
2014-09-04 03:02:21 +00:00
Kp
6af1b910df
Short circuit ambient_mark_bfs test for child segments
2014-09-04 02:24:54 +00:00
Kp
5f4342fb01
Short circuit build_segment_list CC_BEHIND check
2014-09-04 01:51:03 +00:00
Kp
c773ef560e
Inline disabled render features
2014-09-03 01:56:54 +00:00
Kp
21a4cd3f5f
Inline migrate_objects
2014-09-03 01:38:00 +00:00
Kp
9558abf7d3
Inline no_migrate_segs
2014-09-03 01:35:06 +00:00
Kp
697e34cdb7
Inline new_seg_sorting
2014-09-03 01:34:05 +00:00
Kp
31088e180e
Inline behind_check
2014-09-03 01:33:52 +00:00
Kp
6069c3db71
Inline window_check
2014-09-03 01:33:46 +00:00
Kp
215c66595b
Copy morphing g3s_uvl onto stack
2014-09-03 01:32:34 +00:00
Kp
c057ee57ed
Cache calls of WALL_IS_DOORWAY
2014-09-02 22:15:07 +00:00
Kp
df3f2fe2fe
Simplify ogl/sdl texture mapping
2014-09-02 22:13:15 +00:00
Kp
d41883c771
Remove unused variables to calm clang
2014-09-02 22:11:22 +00:00
Kp
7f6299aaa7
Use built-in __linux__ instead of custom __LINUX__
2014-09-02 22:10:34 +00:00
Kp
e00224d44d
Fix signature of sort predicate
2014-08-30 22:38:26 +00:00