Kp
9ee9e176c8
Convert newdemo.cpp to use range_for
2014-12-14 05:23:01 +00:00
Kp
16113a2908
Propagate for variable in newdemo
2014-12-14 05:23:00 +00:00
Kp
227dab543c
Combine shortpos scan loop
2014-12-14 05:23:00 +00:00
Kp
e42b1f5b71
Return vertex_array_list_t from create_all_vertnum_lists
2014-12-14 05:23:00 +00:00
Kp
1960a2ebad
Return vertex_array_list_t from create_abs_vertex_lists
2014-12-14 05:23:00 +00:00
Kp
601290e674
Return vertex_array_list_t from create_all_vertex_lists
2014-12-14 05:23:00 +00:00
Kp
51b6fb1c95
Return get_side_verts by value
2014-12-14 05:23:00 +00:00
Kp
2af91c9a3a
Pass automap_find_edge result by &
2014-12-14 05:22:59 +00:00
Kp
e54c2c79df
Use array<> for Sounds
2014-12-14 05:22:59 +00:00
Kp
1a96bf7f2f
Use range_for for SoundObjects
2014-12-14 05:22:59 +00:00
Kp
cf97b028b7
Pass digi_start_sound_object arg by &
2014-12-14 05:22:59 +00:00
Kp
80aa48efb4
Pass digi_*_start_sound soundobj as sound_object*
2014-12-14 05:22:59 +00:00
Kp
657e7da49e
Rework digi dispatch
...
Build function tables at compile time. If !SDLMIXER, compile out the
pointer indirections. If SDLMIXER && PIE, keep function pointers in
read-only memory.
2014-12-13 17:47:16 +00:00
Kp
9ea8c8d7f1
Mark digi variables static
2014-12-13 17:47:10 +00:00
Kp
a622aecd58
Pass vcobjptridx_t to digi_ functions
2014-12-13 17:47:06 +00:00
Kp
adbff232c5
Split seg/obj vars of find_seg_side_face
2014-12-13 17:47:01 +00:00
Kp
3f52e3426a
Skip unnecessary segment rendering phases
...
Make object rendering traverse only the subrange of segments with
objects.
Make alpha rendering traverse only the subrange of segments with alpha
blended textures.
2014-12-13 17:19:28 +00:00
Kp
0b086b1b0d
Optimize rendering
...
- Make Max_linear_depth_objects const
- Skip setup of object rendering if no objects to render
- Defer setting globals until after conditional confirms a segment will
render
2014-12-13 17:18:07 +00:00
Kp
84e3721ef0
Use partial_range for render list
2014-12-13 16:57:09 +00:00
Kp
69bc81681a
Move render_windows to per_segment_state_t::render_window
2014-12-13 16:54:16 +00:00
Kp
6b56a3020a
Fix crash playing credits with poison enabled
2014-12-13 04:11:41 +00:00
Kp
7c98dea8be
Pass render_frame arg by &
2014-12-13 04:11:21 +00:00
Kp
b79e432a3e
Pass render_mine arg by &
2014-12-13 04:11:16 +00:00
Kp
032332343d
Pass do_render_object arg by &
2014-12-13 04:11:12 +00:00
Kp
4bcf451745
Pass wake_up_rendered_objects arg by &
2014-12-13 04:11:07 +00:00
Kp
e027c821c9
Pass update_rendered_data arg by &
2014-12-13 04:11:04 +00:00
Kp
1a204f61d8
Use range_for for SoundSlots
2014-12-11 02:36:01 +00:00
Kp
7b234da185
Make digi_max_channels const
2014-12-11 02:35:55 +00:00
Kp
664e8abaac
Fix !SDLMIXER build
...
Fixes: bd1c6d8c5d
2014-12-11 02:35:03 +00:00
Kp
307ad30433
Remove unused digi_*_is_sound_playing
2014-12-11 02:34:54 +00:00
Kp
53366488ac
Remove unused digi_set_volume
2014-12-11 02:34:38 +00:00
Kp
6d2b707c3e
Move debug-only digi functions into !RELEASE
2014-12-11 02:34:32 +00:00
Kp
489c4e00a3
Store temporary rect locally
2014-12-11 02:33:55 +00:00
Kp
cc60f765b3
Cache render lookups
2014-12-11 02:33:50 +00:00
Kp
84011e55d2
Use partial_range when searching HighestLevels
2014-12-08 04:49:20 +00:00
Kp
78cdb70959
Use partial_range on Triggers
2014-12-08 04:19:26 +00:00
Kp
7c24f6896f
Stop briefing search on dot or null
...
Mission names are passed in without an extension. Short mission names
read beyond the end of the buffer, causing AddressSanitizer to kill the
program.
Reported by btb: https://github.com/dxx-rebirth/dxx-rebirth/issues/20
2014-12-08 03:54:11 +00:00
Kp
cf9675c505
Fix uninitialized variable in render reprocess
2014-12-08 01:02:08 +00:00
Bradley Bell
5d6e6dc2e4
check for GM_MULTI before trying to do network jobs
2014-12-06 22:14:22 -08:00
Kp
0c8191db94
Fix player clear range
2014-12-07 00:49:18 +00:00
Kp
a0727f4f84
Throw on net_udp_read_sync_packet failure
...
Callers expect sane Player_num, but on failure, it is invalid.
Returning a failure status causes net_udp_level_sync to fault using
Players[Player_num].connected, so throw an exception instead.
2014-12-07 00:00:22 +00:00
Kp
2b627f0158
Pass net_udp buffers as const
2014-12-06 23:59:34 +00:00
Kp
9d700aab08
Make kill_matrix uint16_t, not short
2014-12-06 23:30:55 +00:00
Kp
1b924c5dd3
Truncate pilot name at null
2014-12-06 23:13:38 +00:00
Kp
73b0a016a8
Fix loading robots-?.mvl
...
Rework movie loading to fix loading built-in robot movies. The previous
code always ignored loading the last entry in the movie array, which was
blank until 18f6919b33
. The last entry
was unused after d38a3d1362
, so it was
removed, which caused the code to skip the robots entry.
Commit d38a3d1362
broke unloading add-on
movies by removing the strcpy which saved their name. Add code to save
the name to extra_robot_movie_mission and call it when switching
missions.
Reported by btb: https://github.com/dxx-rebirth/dxx-rebirth/pull/17
2014-12-06 17:56:56 +00:00
Kp
cfe0f89dae
Use array<> for team_kills
2014-12-06 04:52:53 +00:00
Kp
a55028d5b4
Fix crash on UDP initialization
2014-12-06 02:16:28 +00:00
Kp
7338bb2402
Extend in-game esc menu with options and saving
2014-12-06 01:38:30 +00:00
Kp
bb8445f70c
Fix some -Wsign-compare warnings
2014-12-05 04:11:37 +00:00
Kp
241b3140fd
Use range_for in light rendering
2014-12-05 04:11:37 +00:00
Kp
99f826d14d
Pack listbox better
2014-12-05 04:11:37 +00:00
Bradley Bell
3daa0f63b1
Add search SDL_mixer framework paths for headers instead of using <Framework/Header.h> notation
2014-12-03 15:14:18 -08:00
Kp
6dc36deb74
Pass get_font_total_width arg by &
2014-12-02 03:35:01 +00:00
Kp
3097a5b247
Pass gr_bitblt_find_transparent_area arg by &
2014-12-02 03:35:01 +00:00
Kp
c990701d87
Pass show_fullscr arg by &
2014-12-02 03:35:01 +00:00
Kp
c89e3b7452
Pass gr_bitmapm arg as &
2014-12-02 03:35:01 +00:00
Kp
355df375a0
Pass gr_bitmap arg as &
2014-12-02 03:35:01 +00:00
Kp
95539512d5
Pass pcx_read_bitmap arg by &
2014-12-02 03:35:01 +00:00
Kp
15f9d5d3f5
Pass ogl_ubitblt arg by &
2014-12-02 03:35:01 +00:00
Kp
e7aae37c8d
Pass ogl_ubitblt_i arg by &
2014-12-02 03:35:01 +00:00
Kp
130d7a6e52
Pass ogl_loadtexture arg by &
2014-12-02 03:35:01 +00:00
Kp
5e03871f81
Pass tex_set_size arg by &
2014-12-02 03:35:01 +00:00
Kp
818b2c61ed
Pass tex_set_size1 arg as &
2014-12-02 03:35:01 +00:00
Kp
7031c809fc
Pass gr_ubitmapm arg by &
2014-12-02 03:35:01 +00:00
Kp
5eddc2c197
Make bitmap bm_data const where easy
2014-12-02 03:24:38 +00:00
Kp
e90549d9a8
Use range_for on Orb_icons
2014-12-02 03:23:21 +00:00
Kp
cf31cc4a5d
Switch Laser_render to vobjptr_t
2014-11-30 22:09:23 +00:00
Kp
d79287e368
Use partial_range for delete_curve
2014-11-30 22:09:23 +00:00
Kp
5dd4ebaa81
Optimize swap_0_255
2014-11-30 22:09:22 +00:00
Kp
0e63b3c300
Pass pcx_encode_line input as const
2014-11-30 22:09:22 +00:00
Kp
2697918223
Pass gr_bm_pixel arg by &
2014-11-30 22:09:22 +00:00
Kp
26f4aaa51b
Pass gr_set_transparent arg by &
2014-11-30 22:09:21 +00:00
Kp
e5acd8056d
Pass gr_set_bitmap_flags arg by &
2014-11-30 22:09:21 +00:00
Kp
efa7566821
Pass colormap as array<>
2014-11-30 22:09:21 +00:00
Kp
d0abc13c94
Pass gr_create_sub_bitmap arg by &
2014-11-30 22:09:21 +00:00
Kp
ef539be1ab
Pass gr_init_bitmap_data arg by &
2014-11-30 22:09:21 +00:00
Kp
f6dde1c593
Pass gr_init_bitmap_alloc arg by &
2014-11-30 22:09:21 +00:00
Kp
53ce29e789
Pass gr_init_bitmap arg by &
2014-11-30 22:09:20 +00:00
Kp
594c597621
Pass gr_init_bitmap_data arg by &
2014-11-30 22:09:20 +00:00
Kp
0672cdff1b
Pass gr_set_bitmap_data grs_bitmap by &
2014-11-30 22:09:20 +00:00
Kp
97332b848c
Pass gr_free_bitmap_data arg by &
2014-11-30 22:09:20 +00:00
Kp
281aed868a
Use range_for on ogl_texture_list
2014-11-30 22:09:20 +00:00
Kp
0236c237ed
Pass ogl_freebmtexture arg by &
2014-11-30 22:09:20 +00:00
Kp
7775b5d7d4
Pass ogl_freetexture arg by &
2014-11-30 22:09:20 +00:00
Kp
486e753a84
Pass ogl_reset_texture arg by &
2014-11-30 22:09:19 +00:00
Kp
a86313e746
Pass ogl_init_texture arg by &
2014-11-30 22:09:19 +00:00
Kp
93565a2d1e
Pass ogl_init_texture_stats arg by &
2014-11-30 22:09:19 +00:00
Kp
0790eda153
Use new/delete for grs_screen
2014-11-30 22:09:19 +00:00
Kp
ad35ff421e
Use new/delete for title_screen
2014-11-30 22:09:19 +00:00
Kp
9aa539c062
Return texmerge_get_cached_bitmap result by &
2014-11-30 22:09:19 +00:00
Kp
b4acc5b858
Pass gr_ubitmap arg by &
2014-11-30 22:09:19 +00:00
Kp
166f15617d
Pass ogl_ubitmapm_cs arg by &
2014-11-30 22:09:18 +00:00
Kp
4cadc18e52
Pass merge_textures_new arg by &
2014-11-30 22:09:18 +00:00
Kp
ca04d8830f
Use range_for in texmerge
2014-11-30 22:09:18 +00:00
Kp
bed046af17
Store texmerge least_recently_used as pointer, not index
2014-11-30 22:09:18 +00:00
Kp
968f7ddc97
Pass gr_gpixel arg by &
2014-11-30 22:09:18 +00:00
Kp
ad3a240958
Pass ogl_ugpixel arg by &
2014-11-30 22:09:18 +00:00
Kp
634f97e8d2
Pass tmap drawer grs_bitmap by &
2014-11-30 22:09:18 +00:00
Kp
dd4a0db47f
Pass rle_expand_texture arg as const &
2014-11-30 22:09:17 +00:00
Kp
f89b57047a
Pass g3_draw_bitmap grs_bitmap by &
2014-11-30 22:09:17 +00:00
Kp
06b384e349
Pass scale_bitmap arg by &
2014-11-30 22:09:17 +00:00
Kp
962045b911
Include <cstdlib> in render.cpp for std::abs
...
Reported by btb: https://github.com/dxx-rebirth/dxx-rebirth/pull/12
Fixed by btb: f80c4c17b6
2014-11-30 17:03:00 +00:00
Kp
f9a339dfc8
Pass bash_to_shield arg as vobjptr_t
2014-11-26 04:02:08 +00:00
Kp
5aaf847c41
Fix various -Wnarrowing errors
2014-11-26 03:39:21 +00:00
Kp
1559ebbe9e
Use range_for in pae_aux
2014-11-25 04:04:51 +00:00
Kp
2e59c6f80a
Improve loops in font handling
2014-11-25 04:03:13 +00:00
Kp
388dfb98a0
Move valptridx helpers out of macro
2014-11-25 04:02:01 +00:00
Kp
0fa93d2e56
Track render window by &
2014-11-23 21:53:46 +00:00
Kp
2ddbdd6f11
Move processed into render_seg_map
2014-11-23 21:53:45 +00:00
Kp
c495f48ccd
Move Seg_depth into render_seg_map
2014-11-23 21:53:45 +00:00
Kp
cd6e8bc8b8
Fix error checking in debug build
2014-11-23 21:53:45 +00:00
Kp
d9a4fc56b3
Split gate_in_robot for individual callers
2014-11-23 21:45:08 +00:00
Kp
d0090225b3
Fix segment_first/object_first mismatch
2014-11-23 21:41:30 +00:00
Kp
d63be88eb0
Propagate use of vsegptridx_t
2014-11-23 04:58:45 +00:00
Kp
80f3f83577
Use range_for for Delta_lights
2014-11-23 04:36:59 +00:00
Kp
80bbc9c69c
Use range_for on Dl_indices
2014-11-23 04:36:58 +00:00
Kp
1649fc791c
Use partial_range on Flickering_lights
2014-11-23 04:36:58 +00:00
Kp
f206b3b127
Reduce inclusion of object.h
2014-11-23 04:36:58 +00:00
Kp
88101f8f57
Move object declarations to fwdobject.h
2014-11-23 04:36:58 +00:00
Kp
4ad784028b
Pass scale_bitmap points in array<grs_point, 3>
2014-11-21 03:34:50 +00:00
Kp
0c3f350803
Cache object* in render object sort
2014-11-21 03:31:39 +00:00
Kp
fb521e9b75
Sort objects without extra copying
2014-11-21 03:29:28 +00:00
Kp
98dcc26080
Make find_joining_side_norms vertex lookup more readable
2014-11-21 03:28:41 +00:00
Kp
1d0ba034a5
Store rendered objects in vector
2014-11-21 03:16:00 +00:00
Kp
0da289fca8
Pass fvi_sub ints by &
2014-11-21 03:11:11 +00:00
Kp
a17cf6f808
Avoid slicing into objnum_t local
2014-11-20 03:00:41 +00:00
Kp
2c349136cc
Avoid slicing into segnum_t local
2014-11-20 03:00:36 +00:00
Kp
e56fe128e0
Remove DosShell
2014-11-19 04:19:43 +00:00
Kp
c0d7921ef4
Remove draw_blob_outline
...
OGL builds tricked draw_powerup into never drawing the outline and no
one ever complained.
2014-11-19 04:15:45 +00:00
Kp
c72ec87296
Redirect g3_end_frame->ogl_end_frame
2014-11-16 19:14:51 +00:00
Kp
855b249555
Make g3s_point const only in OGL
2014-11-16 19:14:51 +00:00
Kp
11769c5fc0
Pass draw_tmap* arg as const
2014-11-16 19:14:50 +00:00
Kp
c2d308807c
Make various g3s_point * const
2014-11-15 03:10:06 +00:00
Kp
3a73f2c9d0
Pass g3_draw_line as const
2014-11-15 03:10:04 +00:00
Kp
8e0d85b666
Pass g3_draw_tmap arg by &
2014-11-13 03:44:04 +00:00
Kp
0a97f175df
Pass ogl_loadbmtexture arg by &
2014-11-13 03:43:12 +00:00
Kp
841e037e15
Pass ogl_loadbmtexture_f arg by &
2014-11-13 03:42:41 +00:00
Kp
9baeb31162
Pass rle_end arg by &
2014-11-13 03:41:38 +00:00
Kp
baa39fe8f7
Add g3_rotate_point that returns result
2014-11-13 03:41:29 +00:00
Kp
5e9385849a
Remove redundant vector scale in automap draw_player
2014-11-13 03:38:01 +00:00
Kp
d9e42e6bf3
Pass g3_draw_rod_tmap arg by &
2014-11-13 03:34:42 +00:00
Kp
207dceba33
Pass g3_draw_sphere arg by &
2014-11-13 03:22:49 +00:00
Kp
ff13155fc2
Pass g3_project_point arg by &
2014-11-13 03:21:33 +00:00
Kp
aba13a0bd0
Pass g3_draw_line arg by &
2014-11-13 03:19:52 +00:00
Kp
c5fd8cb859
Pass g3_code_point arg by &
2014-11-13 03:16:17 +00:00
Kp
d098d45499
Fix non-normalized dot product for SIDE_IS_QUAD render_side
2014-11-13 03:14:36 +00:00
Kp
655717db9d
Move Player_head_angles into local scope
2014-11-13 03:14:03 +00:00
Kp
30e988fc5f
Use std::sort for object rendering distance
2014-11-13 03:07:58 +00:00
Kp
01c38167de
Avoid sqrt in rendering distance
2014-11-12 03:04:23 +00:00
Kp
fda3fc33f3
Skip unnecessary sqrt for omega cannon
2014-11-11 04:25:47 +00:00
Kp
18e4ca1b2c
Fix SDL build after for propagation
2014-11-11 04:21:57 +00:00
Kp
1bb1c0ad33
Fix build break for objptr->objptridx conversions
2014-11-11 04:12:10 +00:00
Kp
47ea6955ee
Add workaround for <gcc-4.9.1 reference binding bug
...
This could be gcc bug #61500 .
2014-11-04 03:21:23 +00:00
Kp
d5d958af96
Add make_random_vector that returns result
2014-11-04 01:33:45 +00:00
Kp
e2741ce899
Add vm_extract_angles_matrix that returns result
2014-11-04 01:32:43 +00:00
Kp
df6b4bd783
Add vm_vec_rotate that returns result
2014-11-04 01:31:22 +00:00
Kp
cf4d216c41
Pass check_and_fix_matrix vms_matrix by &
2014-11-04 01:30:49 +00:00
Kp
3a24b20e15
Add vm_vector_2_matrix that returns result
2014-11-04 01:27:55 +00:00
Kp
9026e225db
Add vm_vec_ang_2_matrix that returns result
2014-11-04 01:27:46 +00:00
Kp
141a7602d0
Add vm_angles_2_matrix that returns result
2014-11-04 01:24:08 +00:00
Kp
fd9a9a5166
Pass rotate_segment_new arg by &
2014-11-04 01:23:01 +00:00
Kp
c97f1136fa
Pass AttachSegmentNewAng arg by &
2014-11-04 01:20:07 +00:00
Kp
553ab8d56c
Pass med_move_group arg by &
2014-11-04 01:14:36 +00:00
Kp
f321621d77
Pass med_copy_group arg by &
2014-11-04 01:13:52 +00:00
Kp
5d1df2484e
Add med_create_group_rotation_matrix that returns result
2014-11-04 01:13:08 +00:00
Kp
fddb15310b
Pass med_create_group_rotation_matrix arg by &
2014-11-04 01:10:52 +00:00
Kp
b935797f21
Use array<> for multi remote_to_local, local_to_remote
2014-11-04 01:06:47 +00:00
Kp
a5a848f6cd
Use exchange when restoring state
2014-11-04 01:06:17 +00:00
Kp
60837a7cfb
Fix -fno-inline build by promoting INVALID_SOCKET to global scope
2014-11-02 17:05:10 +00:00
Kp
c88fb72b81
Fix bogus -Wmaybe-uninitialized at -Og
...
At -Og, gcc fails to recognize that txtweapon is always initialized.
Add a default:continue; to suppress the warning and trust high
optimization levels to delete the default case.
2014-11-02 16:18:24 +00:00
Kp
fb4de8e2a8
Pass med_attach_segment_rotated vms_matrix by &
2014-11-02 03:45:01 +00:00
Kp
f5717c7db7
Pass med_rotate_segment vms_matrix by &
2014-11-02 03:44:31 +00:00
Kp
d76e259db5
Add vm_vec_cross that returns result
2014-11-02 03:44:12 +00:00
Kp
40eb2e6b01
Add vm_vec_scale_add that returns result
2014-11-02 03:43:57 +00:00
Kp
b32f5e5df3
Add vm_vec_copy_scale that returns result
2014-11-02 03:43:47 +00:00
Kp
6746879427
Use const & in process_super_mines_frame
2014-11-02 03:43:42 +00:00
Kp
805d7f2404
Pass get_face_light arg by &
2014-11-02 03:43:29 +00:00
Kp
8c29419ac8
Refactor polyobj_find_min_max
2014-11-02 03:43:17 +00:00
Kp
0e72ef36d5
Use & in physics
2014-11-02 03:43:04 +00:00
Kp
7856545c38
Pass find_min_max arg by &
2014-11-02 03:42:54 +00:00
Kp
742c67b935
Pass fvi_* args by &
2014-11-02 03:42:50 +00:00
Kp
ec51d24ff8
Switch do_exploding_wall_frame vms_vector* to &
2014-11-02 03:42:34 +00:00
Kp
9ae0e27f29
Pass angvec_add2_scale arg by &
2014-11-02 03:42:17 +00:00
Kp
dac7f5e13b
Pass get_angs_to_object arg by &
2014-11-02 03:42:02 +00:00
Kp
e747e26968
Pass do_boss_weapon_collision vector by &
2014-11-02 03:41:49 +00:00
Kp
4ab6662475
Pass calc_best_gun vector by &
2014-11-02 03:41:45 +00:00
Kp
c78b3e61af
Pass player_path_set_orient_and_vel vector by &
2014-11-02 03:41:39 +00:00
Kp
a0c8536075
Pass ai_path_set_orient_and_vel vector by &
2014-11-02 03:41:21 +00:00
Kp
73474521ea
Pass ai_fire_laser_at_player vector by &
2014-11-02 03:41:17 +00:00
Kp
164ea2dc10
Pass calc_gun_point vector by &
2014-11-02 03:41:01 +00:00
Kp
bc3a76c673
Hoist gauge loop iterations
2014-11-01 15:28:07 +00:00
Kp
3f4de49b2b
Pass set_camera_pos arg by &
2014-11-01 14:57:37 +00:00
Kp
d408faf532
Pass nd_read_angvec arg by &
2014-11-01 14:57:25 +00:00
Kp
e047d6c2b3
Pass nd_read_vector arg by &
2014-11-01 14:57:05 +00:00
Kp
1aaa08bf33
Pass nd_write_vector arg by &
2014-11-01 14:56:53 +00:00
Kp
b9f6c3ae36
Pass apply_light arg by &
2014-11-01 03:18:32 +00:00
Kp
274ed12076
Pass add_side_as_quad arg as &
2014-11-01 03:18:06 +00:00
Kp
697bdcf078
Add vm_vec_normal that returns result
2014-11-01 03:17:48 +00:00
Kp
3665c02dda
Pass ai_turn_randomly vector by &
2014-11-01 03:14:28 +00:00
Kp
0202a4b054
Pass scale_vert vector by &
2014-11-01 03:14:14 +00:00
Kp
ff877834cb
Pass render_terrain vector by &
2014-11-01 03:12:57 +00:00
Kp
9aa0cf0b89
Pass read_model_guns vector as array &
2014-11-01 03:08:27 +00:00
Kp
7e3c7a413a
Pass obj_create_copy vector by const &
2014-11-01 03:06:04 +00:00
Kp
5f9b06cce9
Pass multi_send_robot_fire vector by const &
2014-10-30 03:37:22 +00:00
Kp
6024bf0369
Pass multi_send_controlcen_fire vector by &
2014-10-30 03:37:13 +00:00
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