Kp
63cbff3b82
Pass gr_bm_ubitblt00m_rle arg by &
2014-11-30 22:09:22 +00:00
Kp
96acf9edec
Pass gr_ubitmap00 arg by &
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
0b1aa34c43
Pass gr_set_super_transparent arg by &
...
Flip name of the boolean to match its function.
2014-11-30 22:09:21 +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
cb939f32e0
Simplify decode_data
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
0236c237ed
Pass ogl_freebmtexture arg by &
2014-11-30 22:09:20 +00:00
Kp
a86313e746
Pass ogl_init_texture arg by &
2014-11-30 22:09:19 +00:00
Kp
bba9d90347
Use subscript notation in grs_bitmap bm_data
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
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
a035d813ea
Pass gr_ubitmapGENERIC arg by &
2014-11-30 22:09:19 +00:00
Kp
d2ce12c616
Pass gr_ubitmap012 arg by &
2014-11-30 22:09:18 +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
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
6ac655ec53
Pass various texture mapping args by &
2014-11-30 22:09:17 +00:00
Kp
2c07191681
Pass ntexture_map_lighted_linear arg by const &
2014-11-30 22:09:17 +00:00
Kp
62ebfe9626
Pass rle_expand_texture_sub arg by &
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
e7c0c639aa
Include <memory>, not <utility> for std::addressof
...
Including utility works on Linux, but apparently fails on OS X 10.10.
Switch to <memory>, which also works on Linux, and which btb reports
works on OS X.
Reported by btb: https://github.com/dxx-rebirth/dxx-rebirth/pull/12
Fixed by btb: 2f4b2f031c
2014-11-30 17:04:49 +00:00
Kp
3cbb73c1f2
Fix prototype of Mac msgbox_warning
...
Reported by btb: https://github.com/dxx-rebirth/dxx-rebirth/pull/12
Fixed by btb: 2f4b2f031c
2014-11-30 17:03:54 +00:00
Kp
d149b9b9e8
Include <string> in partial_range.h for std::string
...
Reported by btb: https://github.com/dxx-rebirth/dxx-rebirth/pull/12
Fixed by btb: 93a80e56cd
2014-11-30 17:00:03 +00:00
Kp
5f38c85e02
Improve compiler error messages on failed const T* -> T* conversions
2014-11-27 03:25:21 +00:00
Kp
f9a339dfc8
Pass bash_to_shield arg as vobjptr_t
2014-11-26 04:02:08 +00:00
Kp
327fe23586
Fix -Wnarrowing in valptridx operator-
2014-11-26 03:00:58 +00:00
Kp
388dfb98a0
Move valptridx helpers out of macro
2014-11-25 04:02:01 +00:00
Bradley Bell
7f10bb28bf
use NSAlert for cocoa. Carbon support totally deprecated
2014-11-23 19:53:02 -08:00
Bradley Bell
1adb29da37
Revert "stub. CreateStandardAlert is dead"
...
This reverts commit f8761b0d11
.
2014-11-23 19:40:11 -08: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
d0090225b3
Fix segment_first/object_first mismatch
2014-11-23 21:41:30 +00:00
Bradley Bell
2f4b2f031c
message is constant
2014-11-23 04:26:58 -08:00
Bradley Bell
f8761b0d11
stub. CreateStandardAlert is dead
2014-11-23 04:12:29 -08:00
Bradley Bell
2f9543f981
fix for: template argument for template template parameter must be a class template or type alias template
2014-11-23 04:10:54 -08:00
Bradley Bell
93a80e56cd
basic_string is in <string>
2014-11-23 04:10:36 -08:00
Bradley Bell
47bc015972
addressof is part of <memory>
2014-11-23 04:09:26 -08: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
c2544fe0d9
Move scale decoding array to local scope
2014-11-21 03:33:10 +00:00
Kp
0c76e47f59
Move rle decoding pointers to local scope
2014-11-21 03:32:25 +00:00
Kp
1d0ba034a5
Store rendered objects in vector
2014-11-21 03:16:00 +00:00
Kp
e56fe128e0
Remove DosShell
2014-11-19 04:19:43 +00:00
Kp
4eaf0ac4c3
Pass scale_up* bitmap arg by &
2014-11-19 04:18:12 +00:00
Kp
8c4fd12a82
Pass decode_row arg by &
2014-11-19 04:16:02 +00:00
Kp
ee8da79953
Simplify rle_remap offset setup
2014-11-19 04:14:33 +00:00
Kp
60d4b91782
Simplify rle_swap_0_255 offset setup
2014-11-19 04:14:10 +00:00
Kp
317fffe5da
Move #endif to cover functions that need trigger
2014-11-17 04:02:26 +00:00
Kp
57ed5c24fd
Add developer option to test header completeness
2014-11-17 04:02:25 +00:00
Kp
c72ec87296
Redirect g3_end_frame->ogl_end_frame
2014-11-16 19:14:51 +00:00
Kp
cdf0d887f6
Move temporary points onto stack
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
177c935b9d
Move 3d/clipper.cpp to SDL-only build
2014-11-16 19:14:51 +00:00
Kp
cec58664ed
Return get_temp_point by &
2014-11-16 19:14:51 +00:00
Kp
c3ce8fe9e6
Move Mike's temporary texture onto stack
2014-11-16 19:14:50 +00:00
Kp
82467a49c9
Use array<> for polygon clipping points
2014-11-16 19:14:50 +00:00
Kp
11769c5fc0
Pass draw_tmap* arg as const
2014-11-16 19:14:50 +00:00
Kp
456158fe52
Fix SDL-only crash due to double Vbuf0
2014-11-16 19:14:50 +00:00
Kp
84fd2b027a
Clip tmap p3_z locally
2014-11-16 19:14:50 +00:00
Kp
b11069bc45
Use indexing in clip_plane
2014-11-16 19:14:50 +00:00
Kp
501f5e8557
Narrow some graphics parameters
2014-11-15 03:31:41 +00:00
Kp
2df4bea9b5
Use range_for in rle
2014-11-15 03:10:09 +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
b456370291
Move Vbuf0/Vbuf1 into local scope
2014-11-13 04:07:06 +00:00
Kp
8e0d85b666
Pass g3_draw_tmap arg by &
2014-11-13 03:44:04 +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
d9e42e6bf3
Pass g3_draw_rod_tmap arg by &
2014-11-13 03:34:42 +00:00
Kp
e305bf8ebd
Pass calc_rod_corners arg by &
2014-11-13 03:34:35 +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
c49880c8c6
Pass clip_line arg by *&, not **
2014-11-13 03:19:45 +00:00
Kp
c5fd8cb859
Pass g3_code_point arg by &
2014-11-13 03:16:17 +00:00
Kp
dc772c693d
Remove unused gr_bitblt_double mode
2014-11-12 03:48:22 +00:00
Kp
e756f37b0f
Trap bitmap coordinate overflow
2014-11-12 03:43:44 +00:00
Kp
fa136e7812
Drop redundant gr_set_bitmap_data in gr_init_bitmap_alloc
2014-11-12 03:22:20 +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
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
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
f5717c7db7
Pass med_rotate_segment vms_matrix by &
2014-11-02 03:44:31 +00:00
Kp
fed5d0e90f
Add vm_vec_perp that returns result
2014-11-02 03:44:27 +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
dac7f5e13b
Pass get_angs_to_object arg by &
2014-11-02 03:42:02 +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
5952288b5d
Pass vm_extract_angles_vector_normalized vector by &
2014-11-01 14:55:54 +00:00
Kp
697bdcf078
Add vm_vec_normal that returns result
2014-11-01 03:17:48 +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
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
95c3dc81e6
Pass drop_marker_object arg by &
2014-10-30 03:19:32 +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
22ff219877
Factor out dividing vms_vector elements by a fix
2014-10-29 03:10:30 +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
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
c7b2735e74
Mark vm_vector_2_matrix vectors const
2014-10-26 21:37:13 +00:00
Kp
68309dfef0
Pass extract_*_vector_from_segment arg by &
2014-10-26 21:37:06 +00:00
Kp
153ec60924
Remove unused vm_vec_to_angles
2014-10-26 21:36:57 +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
3f85861892
Move side::illegal_type down
2014-10-25 16:11:24 +00:00
Kp
f08224e4ee
Move [gs]_*_id object helpers down
2014-10-25 16:11:23 +00:00
Kp
a32547af16
Pass position-related vms_vector arg by &
2014-10-22 02:46:03 +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
32cb662f66
Remove unused s2s2(S)
2014-10-21 03:14:21 +00:00
Kp
62dc7a874f
Pass sockaddr by const &, not value
2014-10-18 23:37:34 +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
ad452193ad
Remove unused hostage_rescue parameter hostage_number
2014-10-17 02:05:37 +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
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
d462cd11df
Fix gcc 4.6 build of vms_vector with explicit temporary
...
gcc 4.7 and later support brace initializing the base class
gcc 4.6 requires an explicit temporary to achieve the same result
2014-10-16 01:46:21 +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
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
af26259158
Remove unnecessary padding in segment sides
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
93113bc400
Pass player_is_visible_from_object 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
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
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
fc7986092e
Pass vm_vec_dot3 arg by &
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
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
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
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
ee7e23482e
Pass vm_vec_perp 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
7ed6a9a250
Rename vm_vec_crossprod -> vm_vec_cross
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
63eeb60be1
Pass vm_vec_copy_normalize_quick 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
c6aba5bb19
Remove unnecessary string_array_t constructor
2014-10-01 02:22:11 +00:00
Kp
3067419dab
Switch texture map y->boty
...
y is always equal to boty, but y will be limited to loop scope
2014-09-29 03:22:21 +00:00
Kp
53bb4d8bb1
Propagate for variables in common/texmap/ntmap.cpp
2014-09-29 03:22:02 +00:00
Kp
2ad59572e0
Use vector to manage string array memory
2014-09-29 00:02:43 +00:00
Kp
71ef84490c
Use range_for in rod.cpp
2014-09-28 22:16:29 +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
f2994a314f
Keep precision while averaging vectors
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