Asteroth
a246ef21aa
make sure to cap bank_vel ( #4487 )
2022-07-12 20:15:42 -04:00
Asteroth
049fa72df3
change bank to target vel from target position ( #4417 )
2022-06-18 06:06:36 +09:00
Asteroth
c1fdb640b1
add wiki link
2022-05-02 01:36:13 -04:00
Goober5000
f394708f09
this should work
2022-04-24 18:48:12 -04:00
Asteroth
df39ac45d7
fill fix/unfix angles
2022-04-24 15:15:35 -04:00
Asteroth
527b46443b
background bitmap fix, part 2
...
Uses simpler and more correct math for bg bitmap angles, and when old values are parsed, they are translated into correct values
2022-04-19 02:09:44 -04:00
BMagnu
b6474f795c
Fix rotation localization ( #4012 )
2022-02-10 22:43:59 +09:00
Goober5000
6ab17aba2a
move inline functions to the header file so Linux will compile
2022-01-30 22:58:24 -05:00
Birk Magnussen
4ce2d3e029
Fix various issues in vm_closest_angle_to_matrix
2022-01-28 16:30:59 +09:00
BMagnu
21d4690ebb
Inverse Kinematics for Animations ( #3962 )
...
* Add FABRIK IK solver
* Add IK constraints
* Finish IK table entry
* Add IK Moveable and fix some edge cases
* Clang Fixes
* Implement feedback
2022-01-26 19:56:39 +09:00
BMagnu
42c1957adc
Properly handle negative case ( #3910 )
2022-01-10 04:01:21 +09:00
BMagnu
61b87e682c
Handle forgotten 0 case for new vecmat function ( #3891 )
...
* handle forgotten 0 case
* Reduce tolerances again
2022-01-06 02:01:28 +09:00
BMagnu
1c19199df3
Animation Rework Phase 3, Turret fix ( #3877 )
...
* Change animation turret canonicalization to now correctly calculate the closest natual turret positon
* Add angle error to vm function for convenience
* Div by Zero safety for non IEEE compliant systems
* Incorporate style changes
2022-01-03 18:54:11 +00:00
Joshua Glatt
ab5aa71628
Fix random selection of points for SphereShape particles ( #3841 )
2021-12-24 10:06:47 -08:00
Asteroth
f91a5bfd00
Add +arrival rvec for ship bays ( #3698 )
...
* add ship bay arrival rvec
* unused variables
* add profile flag
* add corresponding departure flag
* revert accidental changes
* fix fallout from visual studio's dumb 'rename' feature
* swap parsing of departure and arrival rvec
2021-10-15 16:48:56 -04:00
Baezon
2d84fdf5c6
Merge remote-tracking branch 'upstream/master' into poof-overhaul
2021-07-16 22:29:56 -04:00
PhantomHoover
0fe59e10ad
Inline matrix multiplication ops for performance improvements ( #3535 )
2021-06-25 22:19:42 -04:00
PhantomHoover
a687fe0aef
Reimplement matrix3 multiplication based on a common overloaded operator ( #3470 )
2021-06-24 17:26:51 +00:00
asarium
b6fe676072
Remove usage of deprecated CMake module
...
Also removed all checks for C++11 support since we only support
compilers that have this already.
2021-06-20 12:56:20 +02:00
Baezon
90558a5858
Merge branch 'master' into poof-overhaul
2021-06-16 03:26:58 -04:00
Asteroth
1445e778f0
Add volume effects ( #3446 )
2021-06-01 22:20:42 -04:00
the-maddin
b52ab8bd4e
gcc11: add missing include ( #3434 )
2021-05-18 01:27:31 -04:00
Asteroth
d971f34ee2
make all asinf and acosf safe ( #3384 )
2021-05-05 00:53:24 -04:00
Joshua Glatt
144d484c85
Replace rand() calls with a Random class ( #3332 )
2021-05-04 18:26:06 -07:00
Baezon
7980891b48
overhaul poof handling
2021-04-22 00:05:22 -04:00
Baezon
5ebb12e47c
overhaul poof system
2021-03-22 00:35:31 -04:00
Baezon
7a7999ca56
Merge remote-tracking branch 'upstream/master' into poof-overhaul
2021-03-19 20:43:17 -04:00
Baezon
5bd351d42a
initial poof overhaul
2021-03-16 11:33:34 -04:00
Baezon
256a047fab
fix rand circle and sphere probability distribution
2021-03-12 16:13:52 -05:00
Baezon
22f7ff3443
fix bias from random_circle/sphere
2021-03-11 03:02:24 -05:00
JohnAFernandez
a22f44ce01
Merge pull request #3187 from Baezon/swarm-cleanup
...
Give swarm missile handling a well-deserved makeover
2021-02-27 00:01:58 -05:00
asarium
d589234648
Some final changes
2021-02-24 18:04:19 +01:00
asarium
1d6052e81e
Rework function handling
2021-02-22 18:02:22 +01:00
Phantom Hoover
640640b4b4
Properly fix static_rand()'s range and account for this in functions that were misusing it
2021-02-13 16:06:47 +00:00
Goober5000
dd92a0f0bb
add vm_vec_is_normalized and use it in several places
2021-02-06 13:46:54 -05:00
Baezon
9b7cc77b55
revert multi compatability :(
2021-01-31 13:11:27 -05:00
Baezon
d3355b0783
experimental multi compatability
2021-01-31 12:29:25 -05:00
Baezon
055784dcff
clean up swarm missiles
2021-01-28 22:33:01 -05:00
Baezon
fc7e1f0e40
improve comment on delta_ang
2021-01-03 22:51:17 -05:00
Goober5000
cda9967d9c
add vecmat function
2020-12-30 00:35:22 -05:00
JohnAFernandez
186fe51344
Object update packet upgrade ( #2752 )
...
* Object Update Refactor
1. Keeps the object update packet aligned, even if the ship is dying or has not yet arrived on the client.
2. Properly handles model point shields (yes, that's what was causing multi to crash the most!)
3. Reworks positional interpolation timing and adds rotational interpolation, by sending timing information with every object update packet in a header shared between objects.
4. Saves a lot of bandwidth by only sending data that is changing. (no more sending all subsystems once per second!)
5. Better handles out of order packets (but can still use their information if recent enough!)
6. Builds the basis for Rollback by beginning to record the positions and orientations and velocities of ships for the last 30 frames.
7. Adds subsystem rotation -- Yeah, you saw that right, subsystems will now spin in multi.
8. Waypoint movement is now enabled via sexp, and time to arrival of waypoints is updated on the target info gauge.
* Fix edge case crash and Incorporate feedback
* Clean Up Interpolate Angles Quick
* Restrain the client
* How was this still here???
* Make sure every part of OO uses OOC_INDEX_NULLPTR_SUBSYSTEM define
* Fix Way to Store Return Values
* Ok travis, we get it
* Ok travis.........
2020-10-08 15:29:06 -04:00
asarium
b4350a1d1e
Fix GCC-10 warnings
...
This fixes some warnings reported by GCC 10 and enables that compiler to
be used by our CI pipelines.
This fixes #2773 .
2020-10-02 18:49:01 +02:00
Baezon
ed8a89b68e
collision optimize
2020-09-25 21:28:25 -04:00
Goober5000
67ea05fefd
add some vector scripting functions
...
createRandomVector
perturb (for vectors)
perturb (for matrixes)
randomInCircle
randomInSphere
2020-08-30 09:36:24 -04:00
Baezon
8ac2568a7b
derp
2020-08-25 00:46:00 -04:00
Goober5000
13bb92348f
Merge pull request #2640 from Baezon/orthogonalize
...
Improve vm_orthogonalize_matrix safety
2020-08-25 00:42:25 -04:00
Baezon
dc413f2168
history comments
2020-08-24 01:01:37 -04:00
Baezon
32665e0028
overshoot padding
2020-08-24 00:50:42 -04:00
Baezon
132bcda055
comments for old names
2020-08-24 00:50:42 -04:00
Baezon
338e049cb1
renaming of functions
2020-08-24 00:50:42 -04:00