Asteroth
1525b520d7
Merge pull request #3483 from Baezon/better-damage-type-handling
...
Improve damage type handling when dealing damage
2021-06-10 18:53:39 -04:00
Asteroth
e4661b00b1
Add Type 5 beams ( #2817 )
...
* wip
* basics are working
* turret case is handled
* better fighter beam handling
* missing commit?
* handle missile spawn
* clean up, commenting and ssb handling
* random in sphere and per burst rot counts for "share random" flag
* clean up, clarity and comments
* accidental whitespace changes
* bugfix
* NULL -> nullptr
* more efficiency/clarity
* review tweaks and bugfixes
2021-06-09 18:53:53 -04:00
Baezon
37c5041c03
improve damage type handling when dealing damage
2021-06-09 03:30:52 -04:00
Goober5000
a1635cdd76
Merge pull request #3301 from Baezon/beam-substitution
...
Implement substitution for beams
2021-06-07 11:59:34 -04:00
Goober5000
64f5ad925b
Merge pull request #3466 from Baezon/weapon-no-collide
...
Add "no collide" for weapons
2021-06-05 19:22:52 -04:00
Asteroth
2b6041f766
uncouple launch sound from loop sound ( #3450 )
2021-06-01 22:19:30 -04:00
Baezon
59d30157d8
add no collide for weapons
2021-05-31 22:50:00 -04:00
JohnAFernandez and Asteroth
47f6d2b368
Add guardrails to object cleanup during object creation ( #3371 )
...
* Prevent Crashes from Weapons being deleted during the collision process
This puts in some safety checks to keep FSO from crashing while doing collision detection when close to the object limit.
* Remove Problematic Assertions and INT3's
Keeps FSO from crashing when low on Object slots from failed weapon and beam creations.
* Simplify Code with a good suggestion
Co-authored-by: Asteroth <[email protected] >
Co-authored-by: Asteroth <[email protected] >
2021-05-05 00:52:11 -04:00
Joshua Glatt
144d484c85
Replace rand() calls with a Random class ( #3332 )
2021-05-04 18:26:06 -07:00
Baezon
5e10fccdbf
Merge remote-tracking branch 'upstream/master' into turret-alt-math-fix
2021-03-27 21:12:30 -04:00
Baezon
3810b039f5
Merge remote-tracking branch 'upstream/master' into exponential-fog
2021-03-20 10:39:41 -04:00
Baezon
827754d6de
minor fixes
2021-03-20 02:31:47 -04:00
Baezon
eb538ffba8
update turret_alt_math for moving subsystems
2021-03-19 02:13:20 -04:00
Baezon
29b03cd49f
implement beam substitution
2021-03-15 23:16:05 -04:00
Baezon
f5e32fa1a2
Merge remote-tracking branch 'upstream/master' into exponential-fog
2021-03-15 02:27:22 -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
Baezon
78c79ac88d
debug clean up
2021-03-08 01:37:00 -05:00
Baezon
6e54ed3dfc
more exponential fog
2021-03-08 00:09:42 -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
Goober5000
d75b0f4b4b
additional minor cleanup
2021-03-06 20:03:59 -05:00
Goober5000
01daf25fe9
addendum to u_offset
...
This improves PR #3257 by updating the frametime after the beam fires, not before, so that the first frame will always be at offset zero
2021-03-05 22:15:55 -05:00
Baezon
3c53b74e5e
switch to exponential nebula fog
2021-03-04 23:02:24 -05:00
Goober5000
d4c6c3e145
turret_norm should now be calculated properly
2021-02-28 21:48:15 -05:00
Birk Magnussen
b4791b3b10
Add flag for beams to track uoffset individually
2021-02-28 14:40:25 +09:00
asarium
8f88801646
Add dynamic action programming system
...
This system adds the code necessary for letting content creators specify
complex events by specifying a simple, program-like sequence of
operations that will be executed by the engine when a certain event is
triggered.
2021-02-21 21:29:02 +01:00
Asteroth
616e6a9bc0
Merge pull request #3180 from Baezon/split-collision-light-width
...
Split beam width for collision purposes and lighting purposes
2021-02-13 02:15:17 -05:00
Baezon
ec274d58db
clang-tidy
2021-02-10 21:49:49 -05:00
Baezon
6357c2a856
clang tidy
2021-02-07 23:40:14 -05:00
Baezon
24947b64d7
split light and collision width
2021-02-06 22:00:45 -05:00
Asteroth
f1ff6ebf55
Merge pull request #2870 from Baezon/armor-types-beam-weapon
...
Use armor/damage types for beam-weapon damage
2021-01-30 02:33:13 -05:00
Asteroth
e0dd807bb4
Merge pull request #3145 from EatThePath/fix-type-d-beam-pulse-lighting
...
Stop including tube lights between anti-fighter beam pulses
2021-01-29 00:39:27 -05:00
Asteroth
d1f0f5002f
Merge pull request #2775 from Baezon/burst-seed
...
Implement Beam Flags and some adjustments to burst handling
2021-01-28 11:51:30 -05:00
Baezon
d3d016602d
rename beam_flags -> beam_info_flags
2021-01-28 02:46:40 -05:00
Goober5000
6d9e9a2e3d
add collision group checks to debris
...
Collision groups were checked between ships, weapons, and beams, but not debris. This adds debris.
2021-01-24 01:07:11 -05:00
David Gibson
d9895455cd
Addressed feedback and tidy issues with AA beam pulse lighting fixes
2021-01-15 13:09:43 -06:00
Baezon
d9a7e786b5
Merge remote-tracking branch 'upstream/master' into burst-seed
2021-01-15 12:52:25 -05:00
David Gibson
40e7ce012e
=Added some important brackets I negligently omitted
2021-01-15 00:28:59 -06:00
David Gibson
31227c659a
added a check in beam_move_all_post() to avoid adding tube lights when anti-fighter beams are between pulses. Also added documenting comments to beam_type_b_get_status
2021-01-14 23:59:13 -06:00
Taylor Richards
f989cf2c3a
update beam_fired_packet()
...
- add bfi_flags
- add proper bank/point data for fighters
- allow for more than 255 subsystems
- add data for targeted subsystem
- add support for TARGETING_COORDS flag
- add support for FLOATING_BEAM flag
- add fire method
- add initial packet support for type F beams
2020-12-24 09:38:23 -05:00
Baezon
663a070f06
no 0 initial width
2020-12-07 02:21:59 -05:00
Baezon
76a1b557b9
review tweaks and copy paste errors
2020-11-20 12:02:13 -05:00
Baezon
aa8849f4e5
improved warp collision
2020-11-20 12:02:13 -05:00
Goober5000
ef0197971f
fix some sort of build problem in the continuous integration
2020-11-18 21:11:09 -05:00
Asteroth
5dbda7efd0
Merge pull request #2858 from Baezon/multi-beam-prep
...
Add beam parameter validation
2020-11-08 22:43:58 -05:00
Baezon
8c9a6d049e
use armor types for beam-weapon damage
2020-11-06 23:40:02 -05:00
Baezon
9034e4e043
revert and only do beam validation
2020-11-04 13:31:09 -05:00
Baezon
858356cfd3
some fixes to beam collision
2020-10-26 11:43:10 -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
9b3905a4bb
v1
2020-10-02 02:53:13 -04:00