Kp
8276bbc36a
Pass compute_object_light vector as const *
2014-10-30 03:36:22 +00:00
Kp
6d61198130
Pass compute_segment_center vector by &
2014-10-30 03:32:51 +00:00
Kp
9ccc289d64
Pass apply_light_to_segment vector by &
2014-10-30 03:32:44 +00:00
Kp
c0004cf4bd
Pass pick_random_point_in_seg vector by &
2014-10-30 03:32:38 +00:00
Kp
8a89eff0bb
Pass compute_center_point_on_side vector by &
2014-10-30 03:32:27 +00:00
Kp
ecb39298f1
Fix uninitialized vms_vector on player vs matcen collision
2014-10-30 03:29:29 +00:00
Kp
95c3dc81e6
Pass drop_marker_object arg by &
2014-10-30 03:19:32 +00:00
Kp
7b402cf613
Pass vnear vector by &
2014-10-30 03:19:11 +00:00
Kp
66a4b8b061
Add vm_vec_avg that returns result
2014-10-30 03:18:38 +00:00
Kp
a09fcd7753
Add vm_vec_add that returns result
2014-10-30 03:11:06 +00:00
Kp
5bb9c88979
Add vm_vec_sub that returns result
2014-10-29 03:24:31 +00:00
Kp
fb1704780b
Move pMovie into local data structures
2014-10-29 03:01:18 +00:00
Kp
53aa70cecb
Use vsegptridx_t
2014-10-28 03:08:51 +00:00
Kp
b871228f92
Pass create_morph_robot vector by const &
2014-10-28 01:47:18 +00:00
Kp
8a0582766a
Pass drop_powerup vector by const &
2014-10-28 01:46:07 +00:00
Kp
d14c0ba71c
Pass do_snipe_frame vector by &
2014-10-28 01:45:53 +00:00
Kp
b9d1628f32
Pass nd_write_angvec arg by &
2014-10-27 03:24:08 +00:00
Kp
b8b81ba5fc
Move PHYSFSX_writeAngleVec to gamesave.cpp
2014-10-26 22:56:50 +00:00
Kp
bf57d03930
Move PHYSFSX_writeMatrix to gamesave.cpp
2014-10-26 22:56:50 +00:00
Kp
44bd07d031
Make polymodel->n_models unsigned
2014-10-26 22:51:27 +00:00
Kp
44084ff261
Pass PHYSFSX_readVector vector by &
2014-10-26 22:08:58 +00:00
Kp
af318b9eb2
Pass PHYSFSX_writeVector vector by const &
2014-10-26 22:08:58 +00:00
Kp
f465c7972f
Move PHYSFSX_readVectorX to ai.cpp
2014-10-26 22:08:58 +00:00
Kp
69c052ccf6
Pass vms_vector_swap arg by &
2014-10-26 22:08:58 +00:00
Kp
f0d4c50fcc
Pass create_curve arg by &
2014-10-26 22:08:58 +00:00
Kp
ae6502f86b
Pass set_matrix_based_on_side arg by &
2014-10-26 22:01:18 +00:00
Kp
fc5b50c433
Pass med_create_new_segment arg by &
2014-10-26 22:01:13 +00:00
Kp
0e0eaff221
Pass g3_calc_point_depth arg by &
2014-10-26 22:01:04 +00:00
Kp
09835590f3
Pass g3_set_view_matrix arg by &
2014-10-26 22:01:00 +00:00
Kp
8aeeb3da0e
Pass bump_one_object vms_vector by const &
2014-10-26 21:44:38 +00:00
Kp
c87e84217b
Pass phys_apply_* vms_vector by const &
2014-10-26 21:37:34 +00:00
Kp
ad717e59e8
Pass laser vectors as const &
2014-10-26 21:37:27 +00:00
Kp
68309dfef0
Pass extract_*_vector_from_segment arg by &
2014-10-26 21:37:06 +00:00
Kp
012435f5c4
Pass collide_*_and_* arg by &
...
Use const& where possible. Some are non-const due to the recent FVI
hack that resets the collision point late.
2014-10-26 21:36:40 +00:00
Kp
9a32e151ff
Pass check_effect_blowup vms_vector arg by &
2014-10-26 21:36:35 +00:00
Kp
fdfd849bd2
Pass explode_badass_weapon position by const &
2014-10-26 21:36:31 +00:00
Kp
7e955c2c7b
Pass object_create_explosion_sub position by &
2014-10-26 21:36:25 +00:00
Kp
258d6b4a04
Pass place_object vms_vector arg by &
2014-10-26 21:36:10 +00:00
Kp
2a5265493e
Pass obj_create position vms_vector by &
2014-10-26 21:35:16 +00:00
Kp
9dea4b4d88
Pass sound vms_vector arg by &
2014-10-26 21:33:50 +00:00
Kp
a79bb365f9
Pass get_seg_masks arg by &
2014-10-26 21:28:38 +00:00
Kp
3412bf4b3a
Make rotate_list input const
2014-10-26 03:24:09 +00:00
Kp
666dd75629
Return objptridx_t from find_escort
2014-10-25 16:40:20 +00:00
Kp
b77eb5424b
Move external_explosion into Objects
2014-10-25 16:40:18 +00:00
Kp
359fcb3ce7
Remove unused set_chase_matrix
2014-10-25 16:40:00 +00:00
Kp
a32547af16
Pass position-related vms_vector arg by &
2014-10-22 02:46:03 +00:00
Kp
84f86e68c3
Simplify collide_robot_and_controlcen
2014-10-21 03:16:50 +00:00
Kp
019b572c0e
Remove #define Segment2s Segments
2014-10-21 03:15:12 +00:00
Kp
944baf824d
Remove #define segment2 segment
2014-10-21 03:14:36 +00:00
Kp
bbba6255ab
Use RAIIsocket for UDP_Socket[]
2014-10-21 02:37:00 +00:00
Kp
4c4eff5a6d
Fix Win32 build breaks caused by wrong sized std::size_t
2014-10-19 21:04:16 +00:00
Kp
6c79770b1c
Remove useless build-breaking assignment on Win32
2014-10-19 17:19:55 +00:00
Kp
82b4a078bd
Fix buffer size mismatch on Win32
2014-10-19 17:17:54 +00:00
Kp
2645d41b5f
Convert net_udp to range_for
2014-10-19 03:54:18 +00:00
Kp
62dc7a874f
Pass sockaddr by const &, not value
2014-10-18 23:37:34 +00:00
Kp
54f635c5cc
Use operator== to compare sockaddr
2014-10-18 23:20:39 +00:00
Kp
486707a9ef
Fix argument to net_udp_send_mdata_direct
...
Use argument, not global
2014-10-17 02:23:40 +00:00
Kp
aff354926e
Remove unused bash_to_shield parameter s
2014-10-17 02:07:52 +00:00
Kp
3c4fb4a361
Remove unused fix_illegal_wall_intersection parameter origin
2014-10-17 02:06:55 +00:00
Kp
ad452193ad
Remove unused hostage_rescue parameter hostage_number
2014-10-17 02:05:37 +00:00
Kp
6d292d3b47
Remove cast of list_dir_el
2014-10-17 01:59:12 +00:00
Kp
5885fa2f4f
Remove unused draw_ammo_info parameter primary
2014-10-17 01:57:30 +00:00
Kp
6299bb099a
Remove unused file/line from create_abs_vertex_lists
...
Exception handling generates automatic line information.
2014-10-16 02:47:17 +00:00
Kp
69f5e93382
Centralize game_render_frame_mono call to gr_flip
2014-10-16 02:44:43 +00:00
Kp
2acd037c21
Use move for cheat_buffer
2014-10-16 02:37:20 +00:00
Kp
e7e23eb92e
Make unused_window_userdata_t const
2014-10-16 02:30:29 +00:00
Kp
7c76c68255
Make unused_newmenu_userdata_t const
2014-10-16 02:13:09 +00:00
Kp
9a404670d5
Fix non-debug build with -Wtype-limits
2014-10-14 02:35:11 +00:00
Kp
7f648c0f5f
Wrap segment iteration idiom
2014-10-12 23:10:05 +00:00
Kp
157b4317c8
Combine Station iteration loops
2014-10-12 23:07:12 +00:00
Kp
fb641b3250
Wrap object iteration idiom
2014-10-12 23:05:46 +00:00
Kp
c704cc9fc9
Add const void* conversion to various types
...
Add operator const void*() to prevent accidental use of pointer
comparison. With the overload present, comparing two objects triggers
an ambiguous conversion to pointer, instead of comparing the pointer
values.
2014-10-12 22:11:28 +00:00
Kp
6977a0eb74
Add operator!= to callsign_t
2014-10-11 04:33:22 +00:00
zico
737b66fb96
Fixed multi_all_players_alive(), making sure player is playing and not a ghost; Fixed comparison of callsign_t checks in state.cpp; Added additional check for player status before saving game in case things chenged while host decides upon savegame
2014-10-10 13:20:48 +02:00
Kp
9174c800b0
Enable silent alignment fixup if WORDS_NEED_ALIGNMENT
2014-10-10 02:43:14 +00:00
Kp
c928c09884
Skip sqrt for homing check
2014-10-10 02:41:51 +00:00
Kp
eef8bb3365
Pass collide_two_objects vms_vector arg by &
2014-10-10 02:30:13 +00:00
Kp
bcb26678e2
Remove unused hitpt on check_volatile_wall
2014-10-10 02:29:47 +00:00
Kp
d72fcfeef1
Remove unnecessary UI_GADGET* casts
2014-10-04 22:36:13 +00:00
Kp
a8f853aa7a
Pass d_event arg by const&
2014-10-04 22:36:13 +00:00
Kp
8750b6a4ad
Switch d_event subclasses to C++ inheritance
2014-10-04 18:05:26 +00:00
Kp
3714c0c645
Use new serializer for writing segment side wall/tmap
2014-10-04 17:53:14 +00:00
Kp
ec1eb03cc2
Move d2x-rebirth/main/segment.cpp -> similar/main/segment.cpp
2014-10-04 17:53:09 +00:00
Kp
af26259158
Remove unnecessary padding in segment sides
2014-10-04 17:53:03 +00:00
Kp
93b2129a71
Combine EVENT_UI_DIALOG_DRAW blocks
2014-10-04 17:53:03 +00:00
Kp
2a63700d95
Use magic type for wall magic constants
2014-10-04 17:31:13 +00:00
Kp
6971dfbf4a
Use symbolic *_none constants for -1
2014-10-04 17:31:13 +00:00
Kp
184f828a91
Move iff_read_animbrush array<unique_ptr<grs_bitmap>> down
2014-10-04 15:02:03 +00:00
Kp
93113bc400
Pass player_is_visible_from_object arg by &
2014-10-02 03:02:38 +00:00
Kp
1aadba5837
Pass do_firing_stuff arg by &
2014-10-02 03:02:38 +00:00
Kp
3d6d2d3f14
Pass make_random_vector arg by &
2014-10-02 03:02:38 +00:00
Kp
e2aaef3aaf
Pass lead_player arg by &
2014-10-02 03:02:37 +00:00
Kp
258b94f5c4
Move ai_fire_laser_at_player D2-only arg into ifdef
2014-10-02 03:02:37 +00:00
Kp
02fd23f6af
Pass player_is_visible_from_object arg by const &
2014-10-02 03:02:37 +00:00
Kp
649704a37c
Pass med_create_segment arg as &
2014-10-02 03:02:37 +00:00
Kp
51470e5b4a
Pass sort_seg_list arg as &
2014-10-02 03:02:37 +00:00
Kp
ca3a4524a2
Pass med_extract_*_vector_from_segment_side arg as &
2014-10-02 03:02:37 +00:00
Kp
bee7a203d8
Pass med_rotate_group arg as const &
2014-10-02 03:02:37 +00:00
Kp
c705265ccc
Pass move_object_to_vector arg as const &
2014-10-02 03:02:37 +00:00
Kp
ad562e14a4
Remove unused curve_dir
2014-10-02 03:02:36 +00:00
Kp
07be2e3951
Pass curve_dist p0 by &
2014-10-02 03:02:36 +00:00
Kp
5b97433ce5
Make various ai functions take const vms_vector&
2014-10-02 03:02:36 +00:00
Kp
16b87b350f
Pass const vms_vector* to ai_follow_path
2014-10-02 03:02:36 +00:00
Kp
2ceabf5034
Pass g3_add_delta_vec arg by &
2014-10-02 03:02:36 +00:00
Kp
adae9888b9
Pass g3_rotate_delta_vec arg by &
2014-10-02 03:02:36 +00:00
Kp
8aa9f071e6
Pass med_point_2_vec v by &
2014-10-02 03:02:36 +00:00
Kp
d0dd976fdb
Pass g3_point_2_vec v by &
2014-10-02 03:02:36 +00:00
Kp
2434b20445
Pass g3_draw_bitmap pos by const &
2014-10-02 03:02:35 +00:00
Kp
35529bacd6
Use reference for rotate_list pnt
2014-10-02 03:02:35 +00:00
Kp
68211d20d3
Pass g3_rotate_point arg by &
2014-10-02 03:02:35 +00:00
Kp
ade7aa2a5f
Pass g3_start_instance_angles arg by const &
2014-10-02 03:02:35 +00:00
Kp
586f9ec0ee
Pass draw_polygon_model arg by const &
2014-10-02 03:02:35 +00:00
Kp
dc5a0bcb98
Pass g3_start_instance_matrix arg by &
2014-10-02 03:02:35 +00:00
Kp
b2ab0e48da
Pass g3_check_normal_facing arg by &
2014-10-02 03:02:35 +00:00
Kp
6b93309ae5
Pass vm_vec_make arg by &
2014-10-02 03:02:35 +00:00
Kp
0ab9650bae
Use std::bitset for render.cpp object_rendered
2014-10-02 03:02:34 +00:00
Kp
33033ee0b2
Use std::bitset for say_totals used_objects
2014-10-02 03:02:34 +00:00
Kp
ff37e54087
Change Vertices to array<vertex>
2014-10-02 03:02:34 +00:00
Kp
04de7920ed
Pass vm_dist_to_plane arg by &
2014-10-01 02:28:42 +00:00
Kp
b65e9ecb61
Pass vm_extract_angles_vector arg by &
2014-10-01 02:28:42 +00:00
Kp
faeeef9b52
Pass vm_extract_angles_matrix arg by &
2014-10-01 02:28:42 +00:00
Kp
3743882fa4
Use vm_matrix_x_matrix 2 arg form where viable
2014-10-01 02:28:42 +00:00
Kp
83ccb15459
Pass vm_matrix_x_matrix arg by &
2014-10-01 02:28:42 +00:00
Kp
5af79382a5
Pass vm_vec_rotate arg by &
2014-10-01 02:28:42 +00:00
Kp
99f681c8ea
Pass vm_vector_2_matrix arg by &
2014-10-01 02:28:42 +00:00
Kp
e6cb533007
Pass vm_vec_ang_2_matrix arg by &
2014-10-01 02:28:42 +00:00
Kp
d238b4a562
Pass vm_angles_2_matrix arg by &
2014-10-01 02:28:42 +00:00
Kp
b26f385b0e
Pass vm_vec_delta_ang_norm arg by &
2014-10-01 02:28:42 +00:00
Kp
feb7d028e4
Pass vm_vec_delta_ang arg by &
2014-10-01 02:28:42 +00:00
Kp
f509b49dc3
Pass vm_vec_normal arg by &
2014-10-01 02:28:42 +00:00
Kp
a99466f8c8
Pass vm_vec_crossprod arg by &
2014-10-01 02:28:42 +00:00
Kp
73545f1dab
Pass vm_vec_normalized_dir_quick arg by &
2014-10-01 02:28:41 +00:00
Kp
b5f443f21e
Pass vm_vec_normalized_dir arg by &
2014-10-01 02:28:41 +00:00
Kp
0b691365a7
Pass vm_vec_copy_normalize arg by &
2014-10-01 02:28:41 +00:00
Kp
1fff2db9a8
Pass vm_vec_dist_quick arg by &
2014-10-01 02:28:41 +00:00
Kp
ac39749382
Pass vm_vec_dist arg by &
2014-10-01 02:28:41 +00:00
Kp
3bb04d0d07
Clear unowned font pointer when font is freed
2014-10-01 02:14:41 +00:00
Kp
2ad59572e0
Use vector to manage string array memory
2014-09-29 00:02:43 +00:00
Kp
0d0297553e
Simplify bm_free_extra_models
2014-09-28 21:55:59 +00:00
Kp
05a91f9b58
Pass vm_vec_scale_add2 arguments by &
2014-09-28 21:43:14 +00:00
Kp
4104bf4f11
Pass vm_vec_scale_add arguments by &
2014-09-28 21:43:14 +00:00
Kp
b5949cc4a0
Pass vm_vec_copy_scale arguments by &
2014-09-28 21:43:14 +00:00
Kp
7dff3c7fa9
Pass vm_vec_avg arguments by &
2014-09-28 21:43:01 +00:00
Kp
d6c06e40e7
Pass vm_vec_sub2 arguments by &
2014-09-28 21:43:00 +00:00
Kp
0b2636d535
Pass vm_vec_add2 arguments by &
2014-09-28 21:43:00 +00:00
Kp
ba0b91554c
Remove vm_vec_dotprod -> vm_vec_dot redirect
2014-09-28 21:41:59 +00:00
Kp
00b59c3058
Pass vm_vec_dot arguments by &
2014-09-28 21:11:48 +00:00
Kp
321bbe37d8
Pass vm_vec_sub arguments by &
2014-09-28 21:11:45 +00:00
Kp
2107b52764
Pass vm_vec_add arguments by &
2014-09-28 21:11:40 +00:00
Kp
6c30bb5d98
Pass vm_vec_scale2 dest by &
2014-09-28 21:11:36 +00:00
Kp
74925e9b45
Pass vm_vec_scale dest by &
2014-09-28 21:11:05 +00:00
Kp
69968349cb
Pass vm_transpose_matrix m by &
2014-09-28 21:11:04 +00:00
Kp
f12273746f
Pass vm_vec_zero v by &
2014-09-28 21:11:04 +00:00
Kp
a620a59bda
Pass vm_vec_normalize_quick v by &
2014-09-28 21:11:04 +00:00
Kp
a550673639
Pass vm_vec_normalize v by &
2014-09-28 21:11:03 +00:00
Kp
dfdd4ddd29
Pass vm_vec_mag_quick v by const&
2014-09-28 21:11:03 +00:00
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
d9a3bf5a57
Move terrain y cache onto stack
2014-09-28 21:09:27 +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
a5723ed187
Adjust Player_num checks for unsigned Player_num
2014-09-27 22:57:15 +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
afd995aa22
Centralize N_D2_* constants in bm.h
2014-09-27 15:42:45 +00:00
Kp
cef8ab0cbd
Propagate for variables in similar/arch/sdl/mouse.cpp
2014-09-26 02:42:13 +00:00
Kp
f82835c7df
Propagate for variables in similar/arch/sdl/key.cpp
2014-09-26 02:42:13 +00:00
Kp
f6fc4d9797
Propagate for variables in similar/arch/sdl/gr.cpp
2014-09-26 02:42:13 +00:00
Kp
5ed9acb187
Propagate for variables in similar/arch/sdl/digi_mixer.cpp
2014-09-26 02:42:13 +00:00
Kp
ba70c83575
Propagate for variables in similar/arch/sdl/digi_audio.cpp
2014-09-26 02:42:13 +00:00
Kp
47bc7d9937
Propagate for variables in similar/arch/sdl/digi.cpp
2014-09-26 02:42:13 +00:00
Kp
917ca43524
Propagate for variables in similar/arch/ogl/gr.cpp
2014-09-26 02:42:13 +00:00
Kp
f05cf4567c
Propagate for variables in similar/mem/mem.cpp
2014-09-26 02:42:12 +00:00
Kp
690fc5276c
Propagate for variables in similar/misc/physfsx.cpp
2014-09-26 02:42:12 +00:00
Kp
84e5cee376
Propagate for variables in similar/misc/args.cpp
2014-09-26 02:42:12 +00:00
Kp
55b0dea7c6
Propagate for variables in similar/2d/font.cpp
2014-09-26 02:42:12 +00:00
Kp
ea2dc18896
Propagate for variables in similar/editor/texture.cpp
2014-09-26 02:42:12 +00:00
Kp
81a23a319e
Propagate for variables in similar/editor/texpage.cpp
2014-09-26 02:42:12 +00:00
Kp
502fb1fee8
Propagate for variables in similar/editor/objpage.cpp
2014-09-26 02:42:12 +00:00
Kp
91ea146e06
Propagate for variables in similar/editor/mine.cpp
2014-09-26 02:42:12 +00:00
Kp
b26bee1277
Propagate for variables in similar/editor/medwall.cpp
2014-09-26 02:42:12 +00:00
Kp
7b4e682668
Propagate for variables in similar/editor/medrobot.cpp
2014-09-26 02:42:12 +00:00
Kp
3a2d3f4d61
Propagate for variables in similar/editor/medmisc.cpp
2014-09-26 02:42:11 +00:00
Kp
340220db99
Propagate for variables in similar/editor/ktmap.cpp
2014-09-26 02:42:11 +00:00
Kp
1d4ceba9ee
Propagate for variables in similar/editor/ksegsize.cpp
2014-09-26 02:42:11 +00:00
Kp
646686ebc7
Propagate for variables in similar/editor/ksegsel.cpp
2014-09-26 02:42:11 +00:00
Kp
25ad93fa40
Propagate for variables in similar/editor/kbuild.cpp
2014-09-26 02:42:11 +00:00
Kp
8d26cdf0ae
Propagate for variables in similar/editor/eswitch.cpp
2014-09-26 02:42:11 +00:00
Kp
e4c699083d
Propagate for variables in similar/editor/eobject.cpp
2014-09-26 02:42:11 +00:00
Kp
655ed9ef60
Propagate for variables in similar/editor/elight.cpp
2014-09-26 02:42:11 +00:00
Kp
cddf466e42
Propagate for variables in similar/editor/curves.cpp
2014-09-26 02:42:11 +00:00
Kp
5acd673b59
Propagate for variables in similar/editor/autosave.cpp
2014-09-26 02:42:11 +00:00
Kp
b724966511
Propagate for variables in similar/main/texmerge.cpp
2014-09-26 02:42:10 +00:00
Kp
9eae0f808e
Propagate for variables in similar/main/scores.cpp
2014-09-26 02:42:10 +00:00
Kp
7f7e046172
Propagate for variables in similar/main/powerup.cpp
2014-09-26 02:42:10 +00:00
Kp
29a2e905fb
Propagate for variables in similar/main/polyobj.cpp
2014-09-26 02:42:10 +00:00
Kp
6d73413170
Propagate for variables in similar/main/player.cpp
2014-09-26 02:42:10 +00:00
Kp
788a3c37ea
Propagate for variables in similar/main/physics.cpp
2014-09-26 02:42:10 +00:00
Kp
458f31f70a
Propagate for variables in similar/main/paging.cpp
2014-09-26 02:42:10 +00:00
Kp
3c199e3b91
Propagate for variables in similar/main/mission.cpp
2014-09-26 02:42:10 +00:00
Kp
cb2b1ad746
Propagate for variables in similar/main/lighting.cpp
2014-09-26 02:42:10 +00:00
Kp
24697ba109
Propagate for variables in similar/main/laser.cpp
2014-09-26 02:42:09 +00:00
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
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
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