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
c057ee57ed
Cache calls of WALL_IS_DOORWAY
2014-09-02 22:15:07 +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
Kp
88a7ddc286
Make cycle corruption check stricter
2014-08-29 02:38:02 +00:00
Adam Gensler
e718103da6
fix incorrect tracker_register length
2014-08-27 14:08:09 -04:00
Kp
4fb1c7236d
Remove bogus PHYSFS_readSBE32 return test
...
PHYSFS_readSBE32 returns 0 or 1, never EOF.
2014-08-26 03:21:55 +00:00
Kp
12ba6d7c1e
Use new/delete for credits
2014-08-26 03:21:39 +00:00
Kp
c371559007
Move mission get_parm_value::buf onto caller stack
2014-08-26 03:19:29 +00:00
Kp
3da454fd43
Validate cycle order on load
2014-08-26 02:59:17 +00:00
Kp
3e8ec8932f
Use array<> for player_config
2014-08-26 02:59:01 +00:00
Kp
3d5ff5239a
Fix writing D2 savegames
...
Escort_goal_index is an object number, but must occupy 4 bytes in the
save file for compatibility with older versions.
2014-08-24 20:59:03 +00:00
Kp
765b8fc0b1
Relax assert that fails for D1 v1.0 POF
...
Zico reports that D1 v1.0 game data fails Assert(id < r->n_guns). Relax
the assertion to avoid the failure.
2014-08-24 18:30:25 +00:00
Kp
94550355a8
Use make_unique instead of bare new
2014-08-24 18:28:09 +00:00
Kp
fea751bc62
Use std::string for mission path
2014-08-24 17:45:30 +00:00
Kp
0e211ebe32
Use vector<> for mle[]
2014-08-24 17:41:02 +00:00
Kp
ff1ce23d76
Initialize mission->filename consistently
2014-08-24 17:03:52 +00:00
Kp
3f3c3f8a33
Remove useless second sort of mission list
2014-08-24 03:46:18 +00:00
Kp
8d835f8e34
Reduce inclusion of compiler-begin.h
2014-08-24 03:36:35 +00:00
Kp
b95759aecc
Propagate use of objptridx
2014-08-23 23:53:56 +00:00
Kp
6a475c7d0e
Use common definition for remove_char
2014-08-23 16:27:28 +00:00
Kp
eefdce5b04
Reduce nesting of vms_vector::{x,y,z}
2014-08-22 02:27:13 +00:00
Kp
fc30079c0b
Remove use of vms_vector_array in check_point_to_face
2014-08-22 02:26:51 +00:00
Kp
39d29e17fa
Use pointer-to-member access in find_hitpoint_uv
2014-08-22 02:22:10 +00:00
Kp
983a355d6f
Clean up vobjptridx_t handling in multibot
2014-08-20 02:14:29 +00:00
Kp
388405d04a
Use std::swap instead of inline swap
2014-08-20 01:50:40 +00:00
Kp
c102a507df
Move render Rotated_last into g3s_point p3_pad
2014-08-20 01:28:22 +00:00
Kp
6629a928bc
Fix end-of-record check in config LastPlayer
2014-08-19 02:47:26 +00:00
zico
ee828c9b15
Removed conditional handling of collision point calculation from check_vector_to_sphere_1 due to testing showing too many problems which could not be solved without drastic changes. Calculate valid collision point in collide.cpp if necessary (CED, you were right :))
2014-08-18 12:09:54 +02:00
zico
cc2f1cb040
Have objects with PF_PERSISTENT (never supposed to stop) flag also trigger original condition in check_vector_to_sphere_1
2014-08-18 10:48:02 +02:00
Kp
778d399fc1
Fix render build failure for +debug no-editor
2014-08-18 00:11:51 +00:00
zico
d2b0a4d02d
Fixed incorrect/missing calculation of collision point in check_vector_to_sphere_1 and added special check in check_vector_to_object to only apply for certain objects; Removed extrapolation of physics as it would unintentionally cause premature collisions (requires further fixing of do_physics_sim and do_physics_sim_rot to properly scale to FrameTime)
2014-08-17 23:57:56 +02:00
Kp
66cb80c343
Propagate use of objptridx
2014-08-17 20:31:18 +00:00
Kp
001c0b6f51
Fix crash on failure to create mine exit explosion
2014-08-17 19:33:43 +00:00
Kp
56557a0443
Explicitly delete vvalptridx(valptridx&&)
2014-08-17 19:32:16 +00:00
Kp
83c6b60123
Use array<> for textures_list
2014-08-16 22:18:14 +00:00
Kp
1d16377d48
Change isyou to your_index and promote it out a layer
...
There is only ever one record for which isyou is true.
2014-08-16 21:56:46 +00:00
Kp
d74e36507c
Propagate NULL arguments to g3_check_and_draw_poly
2014-08-16 21:54:48 +00:00
Kp
bd739041f8
Remove special case for SP homing missiles
...
The special case let robot homing missiles track players without a line
of sight and prevented player homing missiles from tracking robots out
of the player's sight.
2014-08-16 21:52:25 +00:00