asarium
1588644fec
Add variables concept to expressions
...
This also includes the necessary setup work for using "position" and
"direction" in action expressions.
2021-01-10 22:47:49 +01:00
asarium
0abd592038
Rework actions to use definitions
...
This introduces action definitions which can then be instantiated to
form actual actions with expressions as their parameters.
2021-01-10 12:22:00 +01:00
asarium
909e799bdd
Allow implicit conversion from int to float
...
This is generally a safe operation and will make the system a bit easier
to use.
2021-01-07 21:36:28 +01:00
asarium
5a9f181aff
Rework function handling
2021-01-07 13:34:10 +01:00
asarium
b0ba22a43d
Add Action expressions
...
This is a parser for a very simple language to allow for execution of
dynamic expressions with return values for use as action parameters. The
only "dynamic" part this currently supports are random ranges but more
features are planned for the future.
2021-01-06 19:13:12 +01:00
asarium
c89faebe4e
Update GTest
2021-01-06 18:49:48 +01:00
asarium
059e149590
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-01-05 18:26:10 +01:00
Goober5000
bdccb25b6e
Merge pull request #3083 from Baezon/comment-delta-ang
...
Improve comment on vm_vec_delta_ang
2021-01-04 23:06:27 -05:00
Goober5000
6a049cc7f1
Merge pull request #3082 from JohnAFernandez/Update-Submodel-Comments
...
Update Comments for #548
2021-01-04 22:18:04 -05:00
m!m
9879ef4abd
Merge pull request #2388 from h3xx/fix-ccache-usage
...
Use CMAKE_*_COMPILER_LAUNCHER to run ccache
2021-01-04 19:18:29 +01:00
Dan Church
fec72db558
Use CMAKE_*_COMPILER_LAUNCHER to run ccache
...
This is the recommended way to set this up.
Using this technique allows the user to replace the launcher with any
number of combinations of solutions such as
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache:distcc
Supported since CMake 3.4. On previous versions of CMake, it will just
ignore this setting.
2021-01-04 11:46:34 -06:00
Baezon
fc7e1f0e40
improve comment on delta_ang
2021-01-03 22:51:17 -05:00
JohnAFernandez
ecf2dfb8f9
Update Comments for #548
2021-01-03 22:28:18 -05:00
Goober5000
39abec6dfb
Merge pull request #3077 from Goober5000/fix_model_instance
...
fix model_update_instance to handle LODs
2021-01-02 15:03:55 -05:00
Goober5000
b0fbf93055
fix model_update_instance to handle LODs
...
Add back the copying of model instance information to submodels in other LODs. This was inadvertently removed in commit 88c1d8a02a .
2021-01-02 14:26:59 -05:00
Goober5000
2d942989e6
Merge pull request #3075 from JohnAFernandez/Fixing-Small-Fred-Mission_Save-Bug
...
Keep fred from adding extra texture replacements to mission file
2021-01-02 02:47:35 -05:00
JohnAFernandez
47dd186796
Standardize my !
2021-01-02 02:11:40 -05:00
Goober5000
1fcfa82184
Merge pull request #3072 from JohnAFernandez/Add-Starting-Amoo-to-Scripting-Functions
...
Make sure that scripting changes the starting ammo as well as the weapon
2021-01-02 02:09:27 -05:00
Goober5000
6fc3d3cafe
Merge pull request #3074 from Goober5000/fix_arc_type
...
fix a couple of issues
2021-01-02 01:52:35 -05:00
JohnAFernandez
c7ea110652
Remove whitespace change
2021-01-02 01:41:15 -05:00
JohnAFernandez
8a81b18200
Keep fred from adding extra texture replacements to mission file
2021-01-02 01:37:37 -05:00
Goober5000
4182ea7fae
fix a couple of issues
...
Prevent model instances from being overridden when they conflict with the model. Fixes #3062 .
Also fixes another spot that might be a problem.
2021-01-02 01:08:54 -05:00
JohnAFernandez
04f668651b
Make sure that scripting changes the starting ammo as well as the weapon
2021-01-01 22:22:56 -05:00
m!m
71576c7784
Merge pull request #3066 from asarium/fix/releaseDebugUpload
...
Fix release debug file name
2021-01-01 15:59:16 +01:00
asarium
619e19268b
Fix debug file name
2021-01-01 15:20:19 +01:00
m!m
b372fb3655
Merge pull request #3065 from asarium/fix/modTableTestVersion
...
Increase test engine version to fix 21.0 tests
2021-01-01 13:28:07 +01:00
asarium
ae7ac6d87d
Increase test engine version to fix 21.0 tests
...
I just tried building 21.0 which is a higher version than the one used
in the test data which broke this test.
This should be a high enough version to not break any time soon...
2021-01-01 13:02:02 +01:00
m!m
e1a2fe0313
Merge pull request #3059 from JohnAFernandez/Fix-Missile-Capacity-Bug
...
Fix the support ship refilling ships to the wrong secondary capacity
2020-12-31 12:04:31 +01:00
JohnAFernandez
521430fb9a
Fix the support ship refilling ships to the wrong secondary capacity
2020-12-30 23:37:49 -05:00
Goober5000
3108b2f117
Merge pull request #3058 from Goober5000/weaponspew_fixes
...
weaponspew fixes
2020-12-30 11:02:00 -05:00
JohnAFernandez
a764b3463c
Warn the User About a Probable Incoming crash ( #3011 )
...
If SDL completely fails to get its preference path, at least warn the user so that it doesn't crash straight to the desktop without creating a debug build.
2020-12-30 10:37:58 -05:00
Goober5000
cb4f6f5250
Merge pull request #3057 from Goober5000/minor_model_fixes
...
some bugfixes from the submodel rotation branch
2020-12-30 01:12:00 -05:00
Goober5000
9f8fe77956
weaponspew fixes
...
Add calculations for the `puncture` flag, and handle beam damage factors appropriately.
Fixes #3044 .
2020-12-30 01:10:31 -05:00
Goober5000
cda9967d9c
add vecmat function
2020-12-30 00:35:22 -05:00
Goober5000
7a09a3d0c4
some bugfixes from the submodel rotation branch
...
Some things that clang noticed, plus a small usability improvement to the parsing of vectors in submodel properties.
2020-12-30 00:31:58 -05:00
m!m
839d3517b3
Merge pull request #3040 from asarium/test/ciTestBuilds
...
Add GitHub actions test build support
2020-12-29 09:56:40 +01:00
asarium
a6b90a3780
Add GitHub actions test build support
2020-12-28 21:43:48 +01:00
m!m
05a778e542
Merge pull request #3037 from asarium/ci/uploadDebug
...
Also upload debug symbols to GitHub release
2020-12-28 21:08:26 +01:00
JohnAFernandez
573db31ba5
Set target name in ai goals to avoid an assert ( #3041 )
2020-12-28 15:04:47 -05:00
m!m
2727880fae
Merge pull request #3039 from asarium/fix/2928
...
Apply particle source hack to correct vector
2020-12-28 20:21:17 +01:00
asarium
92e5f2f35d
Apply particle source hack to correct vector
...
In the particle effect code there is a small hack required for getting
some constant pointers in a vector. However, there is another mechanism
where sources are not added to the sources vector if the sources are
currently being iterated through. That is necessary to avoid
accidentally invalidating the iterators.
The issue here was that the vector resizing hack was not applied to the
correct vector when we were currently iterating. This fixes that.
This fixes #2928 .
2020-12-28 17:58:20 +01:00
m!m
f4c11a42ec
Merge pull request #3038 from SelfGamer/fix_ctd_on_death_with_support
...
Fix CTD on death while support is trying to dock
2020-12-28 14:46:36 +01:00
Birk Magnussen
4bc3ac8bee
More Assertions 2
2020-12-28 19:34:30 +09:00
Birk Magnussen
5b12b84c57
More Assertions
2020-12-28 19:32:05 +09:00
Birk Magnussen
f6b8e8e0ff
nulltpr
2020-12-28 19:18:58 +09:00
Birk Magnussen
66aed78dd4
Add quickfix
2020-12-28 19:16:38 +09:00
Fabian Woltermann
a5de6f8570
Merge pull request #3019 from SelfGamer/exactlos_update
...
Changed require exact los to track from the exact firing point instead of center
2020-12-28 10:16:40 +01:00
asarium
fc744c78c7
Also upload debug symbols to GitHub release
2020-12-28 10:03:21 +01:00
m!m
bc6b341eea
Merge pull request #3036 from Goober5000/vec3d_props_dox
...
add documentation to get_user_vec3d_value
2020-12-28 09:53:33 +01:00
Goober5000
55b902382c
add documentation
2020-12-28 01:19:44 -05:00