Goober5000
cc9733760d
match case-insensitive comparison
2020-08-17 21:25:25 -04:00
Goober5000
012ec2ac7a
fix localization synchronization
...
Back in PR #2390 , I fixed translation behavior in `lcl_ext_localize_sub` for SCP_string, but neglected to also fix it for `char*`. This PR remedies that.
I also added `!=0` to the string compare to match the `!=0` used with `strcmp`.
2020-08-17 21:10:48 -04:00
Goober5000
bedc199dbd
Merge pull request #2662 from Goober5000/dockpoint_warning
...
add warning for duplicate dockpoints
2020-08-17 13:11:06 -04:00
wookieejedi
5c1d49b561
Merge pull request #2622 from Baezon/second-order-lead
...
Allow for second-order lead indicator prediction
2020-08-17 12:49:44 -04:00
Goober5000
8f469dd00c
add warning for duplicate dockpoints
...
Just for sanity's sake. This just displays a Warning without modifying the dockpoint name. I considered an nprintf but figured a Warning was more appropriate.
2020-08-17 00:49:23 -04:00
m!m
4362af668a
Merge pull request #2656 from asarium/build/optionalOpenGL
...
Make the OpenGL backend an optional component
2020-08-15 22:06:55 +02:00
Tyler Blount
5779117e30
Revert "Update DDS Utilities to DX10 Standard"
2020-08-15 12:52:25 -06:00
Tyler Blount
82280b472b
Merge pull request #2652 from TRBlount/update_dds_utils
...
Update DDS Utilities to DX10 Standard
2020-08-15 12:47:49 -06:00
Goober5000
d284ba7241
Merge pull request #2657 from Goober5000/ship_create_protecc
...
ship-create protecc
2020-08-15 13:16:20 -04:00
m!m
bac4d07469
Merge pull request #2655 from asarium/fix/adeDocMemLeak
...
Fix memory leak in scripting documentation
2020-08-15 12:41:46 +02:00
Tyler Blount
376e67b9ce
Fix CI errors
2020-08-14 15:30:06 -06:00
Goober5000
1f4ff04890
handle SEXP_NAN_FOREVER
2020-08-14 16:25:11 -04:00
Goober5000
e4cd5675d0
handle SEXP_KNOWN_*
2020-08-14 15:53:02 -04:00
Tyler Blount
ccb6bdc08d
Make capability system outputs user friendly
2020-08-14 13:15:47 -06:00
Tyler Blount
d35199e5bb
Add system for checking mod required rendering features
2020-08-14 11:58:38 -06:00
asarium
4568172287
Make the OpenGL backend an optional component
...
This can be used for producing even leaner builds for standalone
servers. It also provides a nice architecture verification since now
using internal OpenGL functions will cause a compilation or linking
failure.
2020-08-14 18:52:14 +02:00
asarium
dc0e5713e3
Fix memory leak in scripting documentation
2020-08-14 18:38:22 +02:00
Tyler Blount
613913f10f
Fix clang-tidy errors
2020-08-14 10:35:28 -06:00
Goober5000
c099ca1abc
Merge pull request #2654 from Goober5000/luasexp_soundentry
...
add LuaSEXP support for soundentry (OPF_GAME_SND)
2020-08-14 11:45:43 -04:00
Goober5000
49e6289d38
Merge pull request #2653 from Goober5000/buffer_fix
...
use SCP_string instead of fixed buffer
2020-08-14 11:43:49 -04:00
Goober5000
b6b7487db1
add LuaSEXP support for soundentry (OPF_GAME_SND)
2020-08-14 01:18:34 -04:00
Goober5000
8cde06370a
Merge pull request #2634 from Baezon/species-class-multilock
...
Allow multilock missiles to restrict lock based on class or species
2020-08-14 00:46:55 -04:00
Goober5000
cf42e1db68
use SCP_string instead of fixed buffer
...
With very long mods, this error message can overflow the buffer. So I changed it to a SCP_string.
2020-08-14 00:07:16 -04:00
Tyler Blount
94f3e1ec77
BC7 now loads correctly
...
Includes changes to bitmap flags and compiler related fixes
2020-08-13 21:51:11 -06:00
Tyler Blount
2ba7e339b5
Update GLAD and remove old headers
2020-08-13 21:51:11 -06:00
Tyler Blount
2ddfa00670
Add DX11 DDS Header information
2020-08-13 21:51:11 -06:00
Goober5000
ca73feb36b
Merge pull request #2651 from Goober5000/for_ship_class
...
add for-ship-class and for-ship-type sexps
2020-08-13 22:16:59 -04:00
Goober5000
e01c799cc1
Merge pull request #2649 from Goober5000/debris_enhancements
...
Debris enhancements
2020-08-13 14:21:16 -04:00
Goober5000
de8164aa9c
add for-ship-class and for-ship-type sexps
...
These sexps work just like for-counter, supplying arguments for when-argument. They will list all ships that are present in the mission and are of a certain class or type.
2020-08-13 14:15:25 -04:00
Goober5000
51ea05068e
make the no-disappear flag really prevent the subobject from being blown off, as opposed to blowing it off and then restoring it
2020-08-13 00:38:10 -04:00
Goober5000
2dec0af410
add code to tell if debris is one of those tiny models
...
make Debris dynamic, and use a soft limit at 64 pieces (the old MAX)
add per-class specification of death roll sounds
2020-08-12 23:51:39 -04:00
Baezon
1f62919a46
cleaner temp lists
2020-08-12 20:56:19 -04:00
asarium
8d8f304514
Add more scripting APIs for the command briefing
...
This covers the various APIs needed for getting the last parts of the
new command briefing UI to work.
2020-08-12 09:43:09 +02:00
m!m
72bd948852
Merge pull request #2648 from asarium/fix/unbalancedLuaStack
...
Fix various issues of an unbalanced Lua stack
2020-08-12 09:38:10 +02:00
m!m
e9d193f12e
Merge pull request #2644 from asarium/scripting/customExecutionContext
...
Add scripting API for custom execution context
2020-08-12 09:37:50 +02:00
Goober5000
74a8e4b6aa
Merge pull request #2639 from Goober5000/secondary_bank_fix
...
fix crash from multilock merge
2020-08-11 12:55:55 -04:00
asarium
b94f12092b
Fix various issues of an unbalanced Lua stack
...
This fixes three issues where the Lua stack was not cleaned up properly:
- On hook execution, the return value was left on the stack
- For ADE initialization, the global tables were left on the stack
- In libRocket, a metatable was left on the stack
2020-08-11 09:45:25 +02:00
asarium
8fcb05bfd0
Add scripting API for custom execution context
...
This allows a script to create its own execution context so that it can
control when a coroutine is valid to play based on custom data.
Also adds a function which causes a coroutine to end in an error.
2020-08-11 09:38:39 +02:00
Goober5000
be472686f2
Merge pull request #2647 from Goober5000/fireball_filenames
...
clean up fireball filename init
2020-08-11 02:44:32 -04:00
Goober5000
85d57f56fc
Merge pull request #2646 from Baezon/no-black-void
...
Banish the Black Void
2020-08-11 01:17:48 -04:00
Goober5000
8a607369be
clean up fireball filename init
...
GCC 10.1.0 complained about the filename overwriting itself in the old version of the code. This was a false positive, but the code wasn't terribly clear, so I cleaned it up a bit.
2020-08-10 22:57:27 -04:00
Baezon
666c2a4402
bool valid vec
2020-08-10 22:31:44 -04:00
Baezon
c1942c5359
bool! not int
2020-08-10 22:15:54 -04:00
Baezon
73d64d9460
review changes
2020-08-10 21:23:27 -04:00
Baezon
573c8b8892
bool return
2020-08-10 19:50:40 -04:00
Baezon
d48559d455
double the doubles
2020-08-10 19:09:17 -04:00
m!m
3e7868b663
Merge pull request #2643 from asarium/lua/fixSkipArgs
...
Capture Ade skip arguments locally
2020-08-10 21:48:55 +02:00
Baezon
d92c7a8ea3
doubles for inverting
2020-08-10 15:02:12 -04:00
Goober5000
514ca1bda9
Merge pull request #2642 from Goober5000/debris_ambient
...
Several small sound-related enhancements
2020-08-10 09:50:14 -04:00
asarium
31dfa49ebc
Capture Ade skip arguments locally
...
These variables can be used for changing the behavior of the ade_ API
functions. However, they apply to all the ade_get calls so if there is a
call to ade_get_args from an ade_get_args call then it will reuse the
previously set values and produce incorrect results.
This captures those variables as soon as possible and then resets them
so that subsequent calls start with the default values for those
variables.
2020-08-10 09:39:08 +02:00