JohnAFernandez
0feab10244
Upgrade velocity compression in OO packet
...
Previously, the velocity could be off by up to 1 m/s. This gives that packing function one more byte to work with, so that we have a lot more accuracy to work with.
2021-03-20 06:49:11 -04:00
JohnAFernandez
b342ec50eb
Properly Set net_signatures for wing ships
...
Previously wing ships were being given a net signature that was one too large.
2021-03-20 06:49:11 -04:00
Goober5000
61ef36b238
allow two SEXPs to be used in multiplayer that previously couldn't be
...
1) The ship-vanish SEXP (and script function) was already multiplayer-ready
2) The is-ship-visible SEXP was enhanced to add a second argument, which defaults to the player's ship in single-player mode
2021-03-20 06:49:11 -04:00
JohnAFernandez
fe84d11025
Hopefully Temporary Disable Support ship in TvT
...
Support ship is not fully support per-team. Logic for TvT has to be added otherwise players can "steal" each othere's support ships during the mission.
2021-03-20 06:49:11 -04:00
JohnAFernandez
735e00d839
Fix Missile Syncing Between Server and Client
2021-03-20 06:49:11 -04:00
JohnAFernandez
8bbe4733fb
Fix implementation of multi_pack_unpack_desired_vel_and_desired_rotvel
2021-03-19 23:34:15 -04:00
JohnAFernandez
56f7dc2f8c
Multi Version bump for 21_2
...
since many of the fixes and features require a multi bump.
2021-03-19 23:33:50 -04:00
JohnAFernandez
420c7ec171
Play directive completion sounds for clients ( #2900 )
...
* Allow Text to show failure on Clients
Function was accidentally returning false before sending an update on failure.
* Play directive sounds for clients
This adds a short client version of the function that initiates the directive completion sound.
* forgot to remove a failed experiment
2021-03-19 05:39:05 -04:00
Asteroth
8b94e58596
Merge pull request #3284 from Baezon/fix-rand-circle-sphere-bias
...
Fix probability distribution of vm_vec_random_in_circle/sphere
2021-03-19 02:23:31 -04:00
Asteroth
b304ccbe96
Merge pull request #3305 from Strygon/chaseviewtest
...
Adding "Start missions in Chase View by default" flag in game_settings.tbl
2021-03-19 02:23:08 -04:00
JohnAFernandez
5bb934119c
Limit instances of Client Collisions to Avoid Instant Death ( #3164 )
...
* Limit instances of Client Collisions to Avoid Instant Death
* Set timestamps correctly (take 2)
* Handle server check the same everywhere
* Clearer Logic Here
2021-03-18 17:24:08 -04:00
Fabian Woltermann
9a06e0727c
Make sure we check for any carriage return characters that may sneak in too
2021-03-18 16:52:15 +01:00
Strygon
08603009fb
removed the redundancy
2021-03-17 20:40:02 +01:00
JohnAFernandez
609ed4ed94
Remove the fireball limit ( #3224 )
...
* Remove the fireball limit
* Handle Feedback
(Without the main PC, so really hoping I don't do any typos)
2021-03-17 14:21:06 -04:00
Strygon
3ab9f85a7a
ditto
2021-03-17 17:50:19 +01:00
Strygon
45db675c35
Renaming the bool
2021-03-17 17:49:43 +01:00
Strygon
5b01a68352
Adding a few forgotten parts of the ChaseViewDefault code
2021-03-17 17:39:27 +01:00
Strygon
67cc6a66eb
Adding ChaseView Flag functionality
...
This is where the game would put the player into chaseview/third person if the flag for it is set in game_settings.tbl
2021-03-17 17:38:32 +01:00
Strygon
842c84da7d
Adding the actual flag for default chase view
2021-03-17 17:36:25 +01:00
Strygon
6598c25fda
Adding support for Chase View flag
2021-03-17 17:35:39 +01:00
Goober5000
d716433848
Merge pull request #3300 from Baezon/fix-flak-substitute-assert
...
Fix assert with combining flak and non-flak using substitute
2021-03-17 00:34:14 -04:00
Asteroth
95235b353b
Merge pull request #2885 from Baezon/expose-huge-small-targeting
...
Expose ability to be targeted by 'huge' and 'small only' weapons
2021-03-15 22:32:22 -04:00
Baezon
ce1907c52a
flak should use normal mflash methods
2021-03-15 18:30:47 -04:00
Baezon
643cb6a2be
update scripting functions
2021-03-14 15:37:43 -04:00
MageKing17
77534926c8
Comment clarification.
2021-03-14 11:16:54 -07:00
MageKing17
47c409a3d5
Fix ammo safety regressions.
...
When various SEXP functions related to ammo were consolidated back in June (in commit 54409ec928 ), certain safety catches meant to avoid having too much ammo or the wrong ammo capacity after changing weapons were lost. This commit adds code that should be functionally equivalent.
2021-03-14 10:43:06 -07:00
Baezon
a3ce01f250
properly initialize a_decay_exponent
2021-03-13 20:33:54 -05:00
Asteroth
4b64c43ef8
Merge pull request #3274 from Baezon/shooter-damaging-weapons
...
Add shooter damaging weapons
2021-03-13 15:03:52 -05:00
Asteroth
4307d12762
Merge pull request #3285 from Baezon/fix-fit-and-set-obj-facing
...
Bugfix for FIT with set-object-facing
2021-03-13 14:59:52 -05:00
Baezon
256a047fab
fix rand circle and sphere probability distribution
2021-03-12 16:13:52 -05:00
Baezon
222799b1a1
initialize trail alpha exponents for aburn trails
2021-03-12 16:03:50 -05:00
Baezon
2e5e25dc09
revert #2222 and fix comment
2021-03-11 23:28:23 -05:00
Baezon
0612a72c2f
fix FIT with set-object-facing
2021-03-11 15:41:55 -05:00
Baezon
22f7ff3443
fix bias from random_circle/sphere
2021-03-11 03:02:24 -05:00
Goober5000
f025572110
rewrite stuffing of lists
...
Consolidate all the functions which parse lists of data. They're almost the same except for the data itself, so use templates.
As for the templated function which handles the list, boost the robustness by adding additional checking and error messages.
2021-03-10 18:50:12 -05:00
Goober5000
ed2cc47093
Merge pull request #3269 from Goober5000/annotation_fix
...
Various annotation fixes
2021-03-10 18:49:39 -05:00
Goober5000
4486b9ee10
Merge pull request #2923 from z64555/controls3
...
Controls3 - Primary/Secondary Bindings
2021-03-10 15:53:52 -05:00
Asteroth
e8603e1617
Merge pull request #3247 from Baezon/better-subsys-attacking
...
Add improved subsystem attacking
2021-03-10 12:21:53 -05:00
Goober5000
497a0e0805
fix character type for isdigit
...
Just like the `std::toupper` and `std::tolower` functions (see PR #3226 ), `std::isdigit` is designed to work with regular `char`, not `unsigned char`.
2021-03-10 10:51:56 -05:00
Goober5000
5bb9f427b4
a few turret fixes
...
This correctly calculates the turret position from the center (zero position) of its submodel instead of using the offset from the main model.
This patches a few more parts of the code and also adds a missing locale argument.
2021-03-09 22:39:13 -05:00
Goober5000
52df877ed9
Merge pull request #3276 from Goober5000/special_arg_fix
...
add small fix from SEXP containers PR
2021-03-09 21:43:28 -05:00
Asteroth
0eefd352d9
Merge pull request #3264 from Baezon/32-poofs
...
Increase max nebula poofs to 32
2021-03-08 14:44:26 -05:00
Baezon
cf2e3e8641
lightning even with 0 poofs
2021-03-08 10:50:27 -05:00
Baezon
f60d2d8e30
comment changes
2021-03-07 23:06:30 -05:00
Goober5000
a12a33b189
Merge pull request #3277 from Goober5000/movable_turret_fov_fix
...
Turrets on movable submodels
2021-03-07 21:29:28 -05:00
Baezon
cf3ce54038
comment clarity
2021-03-07 14:20:55 -05:00
Goober5000
483a632c7f
Merge pull request #3243 from Baezon/decouple-asteroids-species
...
Decouple asteroids from species
2021-03-07 13:13:13 -05:00
Goober5000
9a3fc507d6
Merge pull request #3261 from BMagnu/lua_campaignswitch
...
Lua add campaign switch function
2021-03-07 13:10:01 -05:00
z64555
19c0f64736
Upgrade a few Assert()'s into Assertion()'s with error messages
2021-03-07 09:56:21 -06:00
z64555
78ac82d6eb
Replace Int3()'s with UNREACHABLE
...
* control_config_bind_btn uses UNREACHABLE macro when an unknown order is passed to it
2021-03-07 09:20:34 -06:00