Asteroth
02805be745
fix damage scaling oversight
2023-03-03 21:32:07 -05:00
Goober5000
f8f61e8b62
Merge pull request #5104 from Goober5000/persona_species
...
Persona species enhancements
2023-03-03 18:25:53 -05:00
MjnMixael
7a24e0e4c6
Refactor gameplay help ( #5119 )
...
* refactor gameplay help
* OCD
* some read better than others
* typo
2023-03-02 22:10:08 +09:00
MjnMixael
259828316d
Use weapon tech model if no anim ( #5075 )
...
* initial working version
* cleanup and generalize variable names
2023-03-02 22:09:13 +09:00
Asteroth
15b1ed8822
fix name ( #5225 )
2023-03-02 10:23:49 +00:00
Asteroth
6720115b95
fix retail star look by applying gamma correction ( #5222 )
2023-03-01 20:19:00 -05:00
wookieejedi
9d57ca14de
Add line of sight as optional AI override ( #5220 )
...
Many values in `ai.tbl` can be inserted as overrides for their equivalent `Ai_profiles.tbl` values. (They are all optional and if not set for an AI class, the values in AI Profiles will be used.)
This is particularly useful for making very specific AI classes that still follow the main AI profiles table with easy to change values.
This PR adds `$firing requires exact los:` as an optional override to set in `ai.tbl`. This particular override is very useful, since it can be set to off by default in the `ai_profiles.tbl` for performance, but then set to on for some select AI classes within `ai.tbl`, and those AI classes can be easily changed on the fly in a mission.
2023-02-26 21:43:40 -05:00
Goober5000
7a2caea6ea
here too
2023-02-23 23:02:30 -05:00
Goober5000
0fc8fcfad3
localization tweaks
...
1) follow-up to 5210: Avoid a memory leak caused by duplicating text, assigning it to a SCP_string, and then leaving the buffer in limbo
2) also keep the text as const char * since it's probably best to be consistent and keep the three types the same
3) be more scrupulous about checking for the existence of map entries, since the [] operator is create-if-not-found
2023-02-23 22:32:28 -05:00
Goober5000
dbe731782a
prevent memory leaks in the mission log by using unique_ptr (since message_log_remove_segs no longer exists to free the strings)
2023-02-23 21:06:49 -05:00
Goober5000
6bc6b0f1e2
use SCP_string optimizations here
2023-02-23 20:35:48 -05:00
Fabian Woltermann
b373ad2df4
Merge pull request #5036 from MjnMixael/lua_access_to_enums
...
allow scripts to read LuaEnums and add LuaEnums
2023-02-23 14:46:48 +01:00
Fabian Woltermann
39c5336847
Merge pull request #5210 from MjnMixael/mapify_builtin_strings
...
Mapify builtin strings
2023-02-23 14:38:32 +01:00
Fabian Woltermann
9cfc6f4b07
Merge pull request #5157 from MjnMixael/refactor_scrollback_log
...
Refactor mission log scrollback
2023-02-23 14:35:15 +01:00
Fabian Woltermann
9190d90536
Merge pull request #5158 from MjnMixael/lua_goals_virtvars
...
Add virtvars for goal satisfaction and score
2023-02-23 14:33:54 +01:00
Fabian Woltermann
50fee8eb8a
Merge pull request #5211 from Baezon/increase-snd-update
...
Increase sound update rate
2023-02-23 14:33:03 +01:00
Fabian Woltermann
7f44bd1969
Merge pull request #5213 from MjnMixael/check_dup_enum_items
...
Check duplicate enum items
2023-02-23 14:32:48 +01:00
Goober5000
5b175673ed
add initializers to mc_info
...
This initializes `mc_info` to the correct values when it is constructed, removing the need for `mc_info_init`.
This PR also fixes a group of incorrectly inverted assignments in beam.cpp.
2023-02-21 19:09:10 -05:00
Asteroth
1dc4a210b7
Add collision flag for colliding with all polies ( #5212 )
...
* add collision flag for colliding with all polies
* copy paste error
2023-02-22 04:45:18 +09:00
mjn-mixael
eaed502d62
break the loops
2023-02-21 12:25:49 -06:00
mjn-mixael
267921b443
skip the outer loop, not the inner loop
2023-02-21 11:51:07 -06:00
mjn-mixael
439f59e1f2
check for duplicates here, too
2023-02-21 09:12:54 -06:00
mjn-mixael
ce8724a653
disallow enum duplicates
2023-02-21 09:10:48 -06:00
mjn-mixael
ed78597635
check for duplicate enum items
2023-02-21 08:39:47 -06:00
mjn-mixael
af41185acb
Merge branch 'master' into lua_access_to_enums
2023-02-21 08:00:02 -06:00
MjnMixael
61247bf3e2
sexps to check turret weapons ( #5072 )
2023-02-21 18:11:21 +09:00
MjnMixael
c83b4b5838
is-ship-emp-active sexp ( #5071 )
...
* is-ship-emp-active sexp
* remove these
* remove counting
* unused variable declarations
2023-02-21 18:11:00 +09:00
MjnMixael
f6ffe4e399
add pre-parse enums support ( #5011 )
...
* add pre-parse enums support
* Skip to the next defined enum if one already exists by this name.
* do this as string instead of char array
2023-02-21 18:10:52 +09:00
Asteroth
18b48214a2
Fix some issues with damage application ( #5084 )
...
* fix some issues with damage application
* typo
* turn off flag for new versions
* update versions to apply to post 23.0 nightlies
2023-02-21 18:10:44 +09:00
Asteroth
ddc5c7ac8b
increase sound update rate
2023-02-21 01:17:09 -05:00
Goober5000
9d0629f657
Merge pull request #5196 from MjnMixael/flag_sexp_descriptions
...
Flag sexp descriptions
2023-02-20 23:26:29 -05:00
mjn-mixael
7d0743d5ed
SCP_string
2023-02-20 18:01:08 -06:00
mjn-mixael
9e24469928
emplace
2023-02-20 17:28:21 -06:00
mjn-mixael
4483d5051b
remote the last of the old array and actually copy the data into the map
2023-02-20 17:06:01 -06:00
Fabian Woltermann
e3be23ac7f
disable the fog pass when rendering cockpits ( #5208 )
2023-02-20 23:17:47 +09:00
MjnMixael
39c71d3a7b
Flag to apply hud shudder to chase view ( #5145 )
...
* flag to apply hud shudder to chase view
* not not
2023-02-20 23:13:24 +09:00
MjnMixael
b2fe7a94ae
Remove nebula bitmap limit ( #5128 )
...
* Remove nebula bitmap limit
* FRED bounds check and qtFRED
* remove length checks
2023-02-20 23:13:10 +09:00
Asteroth
b7353b2027
Add turret-fired-since SEXP ( #5061 )
...
* add turret-fired-since
* update to new timestamp system
* unused variables
2023-02-20 22:10:49 +09:00
Fabian Woltermann
153d3effaa
Merge pull request #5160 from The-E/feature/vulkan
...
make the vulkan support buildable again
2023-02-20 10:54:11 +01:00
Goober5000
bdea153270
Merge pull request #5163 from MjnMixael/lua_update_discord
...
Lua update discord
2023-02-19 18:40:18 -05:00
mjn-mixael
13e28a3102
const the header, dummy
2023-02-19 14:58:17 -06:00
Goober5000
a20dd3bea9
Merge pull request #5174 from MjnMixael/get_audiostream_duration
...
get audiostream duration in float seconds
2023-02-19 15:46:30 -05:00
mjn-mixael
5dc8b04dab
boom chikka const const
2023-02-19 14:32:48 -06:00
mjn-mixael
00995f5516
typos
2023-02-19 14:29:00 -06:00
Goober5000
89c6d330f8
Merge pull request #5159 from MjnMixael/credits_no_splitting
...
Prevent line splitting if building credits for SCPUI
2023-02-19 15:10:14 -05:00
Goober5000
42db9f2e7b
Merge pull request #5169 from MjnMixael/countermeasure_cargo_size
...
Feature for countermeasures to respect cargo size
2023-02-19 15:06:17 -05:00
Goober5000
35f4dab373
Update code/sound/audiostr.h
...
Update documentation
2023-02-19 14:44:41 -05:00
mjn-mixael
2ed504eb82
clarified descriptions
2023-02-19 10:48:48 -06:00
MjnMixael
5074a939ed
Merge branch 'master' into lua_update_discord
2023-02-19 10:39:11 -06:00
Fabian Woltermann
ec4222b412
Merge pull request #5190 from MjnMixael/lua_os_focus
...
Lua method to check if the game has focus
2023-02-19 17:22:27 +01:00