Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
573 commits
Select commit Hold shift + click to select a range
83282b6
Actually take the power of 3 (#6837)
BMagnu Jul 16, 2025
be46706
make the `check_for_*` functions return bool
Goober5000 Jul 17, 2025
07db2aa
allow modular nebula tables to not define bitmaps
Goober5000 Jul 17, 2025
cb20a05
Fix inverted piercing impact logic (#6843)
Kestrellius Jul 17, 2025
5fbce06
Merge pull request #6845 from Goober5000/check_for_bools
Goober5000 Jul 18, 2025
d746ae4
Merge pull request #6844 from Goober5000/modular_poofs
Goober5000 Jul 18, 2025
26e9eca
Allow mods to set threshold at which shield stops taking damage (#6847)
wookieejedi Jul 19, 2025
199c7b7
Make sure global damage doesn't spawn impact effects (#6842)
Kestrellius Jul 20, 2025
86622e1
Fix Edge-case with `$Preload briefing icon models:` (#6850)
wookieejedi Jul 20, 2025
c53daa3
Remove rocket ani assertion
MjnMixael Jul 21, 2025
9b82dae
Proper Ambient Light (#6849)
BMagnu Jul 21, 2025
8be619d
prevent string ops on nullptr char*
MjnMixael Jul 23, 2025
05624b5
Merge pull request #6856 from MjnMixael/fix_get_mod_root_name
JohnAFernandez Jul 23, 2025
1d5fa5e
Merge pull request #6852 from MjnMixael/fix_rocket_ani_assertion
JohnAFernandez Jul 23, 2025
365d9c5
gate hull and subsys impacts (#6855)
Kestrellius Jul 23, 2025
168b331
Cleanup of Shield Hitpoint Threshold (#6851)
wookieejedi Jul 24, 2025
755c4c4
Fix Volumetric Nebula Bugs and Add Smoothing (#6854)
BMagnu Jul 24, 2025
f76bf1b
Fix 'show-ship` not working (#6860)
wookieejedi Jul 24, 2025
487cac6
Lua func to check if in game options are enabled (#6862)
MjnMixael Jul 24, 2025
021eb8e
Fix two HUD Config preset issues (#6830)
MjnMixael Jul 24, 2025
d6cb989
account for add state (#6858)
Kestrellius Jul 24, 2025
72ed863
Prevent lua from garbage collecting possibly-stale subframes (#6866)
BMagnu Jul 25, 2025
fa5ee72
Consider current RTT state for screenToBlob (#6867)
BMagnu Jul 26, 2025
fcb257d
Fix calculation of apparent size (#6872)
BMagnu Jul 26, 2025
9dc6eb7
fix particle related standalone error (#6869)
notimaginative Jul 26, 2025
21e35d0
fix issue with turret/flak multi packets (#6870)
notimaginative Jul 26, 2025
5fd06b4
fix multi crash loading campaigns (#6871)
notimaginative Jul 26, 2025
f96c73f
Fix unlit shader flag (#6873)
BMagnu Jul 26, 2025
bfacc16
Fix for single segment trails (#6864)
Baezon Jul 26, 2025
b49dbfe
Merge pull request #6832 from MjnMixael/team_colors_followup
JohnAFernandez Jul 26, 2025
2ed608b
add smoothing field to volumetrics dialog (#6865)
Goober5000 Jul 26, 2025
7a655e4
Fix p-spew with homing weapons (#6875)
wookieejedi Jul 28, 2025
bbb838a
custom data for personas (#6861)
MjnMixael Jul 28, 2025
2ce4bdd
get font scale options for lua (#6876)
MjnMixael Jul 29, 2025
3e77e13
fix copy-paste error (#6878)
Kestrellius Jul 29, 2025
f374ead
Fix load order guarantees (#6883)
BMagnu Jul 29, 2025
abc82bd
Handle impacts for obscure code paths (#6848)
Kestrellius Jul 30, 2025
85ebd31
Only show one warning for skipped fonts (#6880)
MjnMixael Jul 30, 2025
c26b0ca
Ensure `Aspect_invulnerability_fix` always works (#6879)
wookieejedi Jul 30, 2025
8f835fe
check for global (#6882)
Kestrellius Jul 30, 2025
95d21a4
Minor Particle Fixes (#6884)
BMagnu Jul 30, 2025
44952eb
Fix some minor hud config color errors (#6881)
MjnMixael Jul 30, 2025
e52fa1e
No need to display debris label on objects in the Debris list (#6877)
MjnMixael Jul 30, 2025
ffcf078
Preload asteroids and debris when config-field sexps are used (#6874)
MjnMixael Jul 30, 2025
b19c3e5
fix more particle issues with standalone (#6886)
notimaginative Jul 31, 2025
bf84dbf
fix invalid array index crash in debug message (#6887)
notimaginative Jul 31, 2025
4c7e4fe
fix double dumbfire missiles for multi clients (#6888)
notimaginative Jul 31, 2025
0a7fac4
Add particle curve input for number of existing particles (#6889)
BMagnu Aug 1, 2025
e28b3bb
Remove unused enum in particle code (#6891)
BMagnu Aug 1, 2025
b5f3edc
Fix engine not updating with change-ship (#6893)
wookieejedi Aug 2, 2025
dce9e1c
Allow mods to cap rotational velocity from collisions (#6890)
wookieejedi Aug 2, 2025
ab43811
remove old os_sleep() hack for Mac (#6894)
notimaginative Aug 2, 2025
9718e70
fix mipmap resizing bug (#6895)
notimaginative Aug 2, 2025
671a758
fix nullptr crash when debris collides with ship (#6896)
notimaginative Aug 2, 2025
32905ac
still allow subsystem animations in the lab
MjnMixael Aug 2, 2025
6abfddf
show current detail level in the lab
MjnMixael Aug 2, 2025
8748109
cleanup and fix issues with multi client data
notimaginative Aug 4, 2025
255f377
address clang-tidy issues
notimaginative Aug 4, 2025
8d2895d
Merge pull request #6898 from MjnMixael/fix_lab_animations
JohnAFernandez Aug 4, 2025
d7a531d
properly this time
notimaginative Aug 4, 2025
a68b22a
Merge pull request #6900 from notimaginative/fixup_client_multi_data
JohnAFernandez Aug 4, 2025
4ddcaec
Debris Cleanup
wookieejedi Aug 4, 2025
e5a5c30
misc lab fixes
MjnMixael Aug 4, 2025
1c482d7
default case
MjnMixael Aug 4, 2025
3f0c330
unused params
MjnMixael Aug 4, 2025
32183f5
update comments
wookieejedi Aug 4, 2025
6132f8b
Another particle fix for standalones (#6905)
wookieejedi Aug 5, 2025
75a7fc5
Merge pull request #6901 from wookieejedi/debris-cleanup-2
JohnAFernandez Aug 5, 2025
04c2913
Merge pull request #6903 from MjnMixael/lab_misc_fixes
JohnAFernandez Aug 5, 2025
94744e9
Merge pull request #6899 from MjnMixael/lab_detail_level
JohnAFernandez Aug 5, 2025
b8c3c56
Implementation for an AI order to chase ship types -Second Attempt- (…
LuytenFS Aug 7, 2025
75b61ef
Custom Data for Campaigns (#6906)
MjnMixael Aug 7, 2025
5cd3b3a
Extend particle interpolation to lifetime (#6910)
Kestrellius Aug 8, 2025
3900faa
Fix issue where QtFred could have multiple Ship Dialogs open (#6909)
MjnMixael Aug 8, 2025
7c29656
let the model decide if the apply was successful and should close (#6…
MjnMixael Aug 8, 2025
7281f71
clear screen going to PXO lobby (#6914)
notimaginative Aug 9, 2025
515beef
fix cleanup of empty model.subsystems files (#6915)
notimaginative Aug 9, 2025
85b37e0
remove "safe" versions of FD_SET/FD_ISSET (#6918)
notimaginative Aug 9, 2025
df02798
Allow shockwave orientations to be relative to their parents (#6919)
Kestrellius Aug 9, 2025
b8b24a6
pass an initialized var instead of a temp var (#6917)
MjnMixael Aug 9, 2025
858c116
Add Weapons Dialog
TheForce172 May 22, 2024
1a1d4bb
Add TBL Viewer
TheForce172 May 26, 2024
f5b2b1b
Add Comments
TheForce172 May 26, 2024
38f7479
Appease GCC / Clang
TheForce172 May 27, 2024
8bf7f66
Adress Feedback and other bug fixes
TheForce172 Aug 9, 2025
95fea19
Couple More
TheForce172 Aug 9, 2025
cf4f1b2
Missed this
TheForce172 Aug 9, 2025
3524679
Fix Copy/Paste Error
TheForce172 Aug 9, 2025
ec3fc34
Refresh UI on Drag Drop
TheForce172 Aug 9, 2025
c1c16c2
GCC Apeasment
TheForce172 Aug 9, 2025
a7ec8d9
And now Clang
TheForce172 Aug 9, 2025
1a72471
Last One
TheForce172 Aug 9, 2025
726c954
Fix Crash On selecting different ship types (#6920)
TheForce172 Aug 10, 2025
f903180
Fix/enhance skybox submodel rendering
wookieejedi Aug 11, 2025
d0c5fe6
fix series of bugs due to improper multi targeting (#6916)
notimaginative Aug 11, 2025
06f576b
Merge pull request #6925 from wookieejedi/fix-skybox-zbuffer
JohnAFernandez Aug 12, 2025
1ffcaaf
Allow customizing the fs2 selection effect (#6868)
MjnMixael Aug 13, 2025
966ac4d
Allow testing bay paths in the lab (#6902)
MjnMixael Aug 13, 2025
4d8dbcb
Cherry pick recent qtfred generalized dialogs
MjnMixael Aug 13, 2025
9ecc158
initialize used_pool
MjnMixael Aug 13, 2025
ebe2d23
Merge pull request #6931 from MjnMixael/qtfred_utils
JohnAFernandez Aug 15, 2025
0b6150e
Qt fred misc bugs (#6933)
MjnMixael Aug 15, 2025
fe3dce0
Merge pull request #6169 from TheForce172/feature/weaponsDialog
JohnAFernandez Aug 15, 2025
6d9e590
Merge branch 'master' into qtFRED-variables-editor
JohnAFernandez Aug 15, 2025
f0ecd88
Merge pull request #6934 from MjnMixael/qtfred_loadout_bug
JohnAFernandez Aug 15, 2025
be4d4eb
add hooks
Kestrellius Aug 16, 2025
09b6888
fix normals
Kestrellius Aug 16, 2025
dde16a5
restore inadvertently deleted code
Goober5000 Aug 16, 2025
c535108
Allow background option to completely work (VR useful) (#6930)
wookieejedi Aug 16, 2025
7780769
Add 'Nebula Usage Score' curve input (#6926)
wookieejedi Aug 16, 2025
41dc187
add flag list widget
MjnMixael Aug 16, 2025
dadb918
clang
MjnMixael Aug 16, 2025
59a362e
fix end-mission sexp in multi (#6943)
notimaginative Aug 17, 2025
a0730f6
add particle hook
Kestrellius Aug 17, 2025
6539fc9
clean up control flow
Kestrellius Aug 17, 2025
f92bc15
Merge pull request #6941 from Goober5000/6882_followup
Goober5000 Aug 18, 2025
21c9b65
add _WIN32 guard to trackir/freetrack
notimaginative Jul 16, 2025
908f306
fix some abs() type conversion warnings
notimaginative Jul 19, 2025
fc7389f
fix various compiler warnings
notimaginative Aug 18, 2025
d9b7710
properly set some macOS bundle properties
notimaginative Aug 18, 2025
af833f0
fix avcodec deprecation warnings
notimaginative Aug 17, 2025
e1ae938
Merge pull request #6948 from notimaginative/compile_warnings
notimaginative Aug 18, 2025
4e75114
Fix parented line sprite particles appearing in the wrong place (#6950)
Kestrellius Aug 18, 2025
212c91c
Merge pull request #6942 from MjnMixael/qtfred_flag_list_widget
JohnAFernandez Aug 18, 2025
1142e7d
force proper ordering of joystick options (#6952)
notimaginative Aug 19, 2025
b168547
fix custom mouse cursors (#6953)
notimaginative Aug 19, 2025
dd71838
fix array index bug in ship_get_subsys_index (#6954)
notimaginative Aug 19, 2025
5ea4a4c
remove extra config bind on joystick axes (#6955)
notimaginative Aug 19, 2025
836d7d4
switch include
Kestrellius Aug 19, 2025
bd9ea61
appease clang
Kestrellius Aug 19, 2025
0bf632c
Add apparent size input for particle source curve (#6947)
Kestrellius Aug 19, 2025
e5fccc0
fix conversion of Missiontime to milliseconds (#6957)
notimaginative Aug 19, 2025
806bb77
Particle effect hooks for subsystem debris trails and debris explosio…
Kestrellius Aug 20, 2025
6cadc35
Start fixing myriad clang issues
JohnAFernandez Aug 20, 2025
c85876d
don't forget headers
JohnAFernandez Aug 20, 2025
7713e1b
Don't overzealously mark this
JohnAFernandez Aug 20, 2025
1a60eff
And try this
JohnAFernandez Aug 20, 2025
cbd491e
QtFRED Jump Node Editor Dialog (#6940)
MjnMixael Aug 20, 2025
39f8028
QtFRED Mission Cutscenes Dialog (#6956)
MjnMixael Aug 20, 2025
83dee2e
Spare future modders (#6960)
wookieejedi Aug 20, 2025
a4014ea
According to the internet this should work
JohnAFernandez Aug 21, 2025
4efcd82
Make sure to use empty
JohnAFernandez Aug 21, 2025
81d08cd
More Clang
JohnAFernandez Aug 21, 2025
c93c910
Do what clang says or else
JohnAFernandez Aug 21, 2025
0241c9f
Scare off DeMorgan
JohnAFernandez Aug 21, 2025
555a413
Merge branch 'master' into qtFRED-variables-editor
JohnAFernandez Aug 21, 2025
552817b
Missing Parentheses
JohnAFernandez Aug 21, 2025
7c2deb6
Merge branch 'qtFRED-variables-editor' of https://github.com/JohnAFer…
JohnAFernandez Aug 21, 2025
81656e8
Add back missing closing markup
JohnAFernandez Aug 21, 2025
3a72692
blarg
JohnAFernandez Aug 21, 2025
f15a6bc
Handle more clang warnings
JohnAFernandez Aug 21, 2025
7b9b237
No clever commit message this time
JohnAFernandez Aug 21, 2025
c21cbb3
Handle shadowing
JohnAFernandez Aug 21, 2025
40b9924
More clangy
JohnAFernandez Aug 22, 2025
55efbe7
Forgot that VS doesn't have auto save
JohnAFernandez Aug 22, 2025
3725f27
Match header
JohnAFernandez Aug 22, 2025
b124704
QTFred: Alt Ships Class dialogs (#6959)
TheForce172 Aug 22, 2025
a12c1de
fix memory access error with active games list (#6964)
notimaginative Aug 22, 2025
43e85dd
update libpcp to lastest main (#6963)
notimaginative Aug 22, 2025
9e618f6
Particle effect hooks for subsystem destruction (#6937)
Kestrellius Aug 22, 2025
8489763
Hopefully last of clang warnings
JohnAFernandez Aug 22, 2025
fa80fc3
APPEND THIS
JohnAFernandez Aug 22, 2025
89219df
And move this
JohnAFernandez Aug 22, 2025
56a3ddd
Merge pull request #6150 from JohnAFernandez/qtFRED-variables-editor
JohnAFernandez Aug 22, 2025
c39d6b2
convert tostdstring to const data
MjnMixael Aug 22, 2025
eb36b56
fix
MjnMixael Aug 22, 2025
c451a82
Merge pull request #6966 from MjnMixael/fix_qtfred_variables_strings
JohnAFernandez Aug 23, 2025
9ba88ca
fix error in error reporting routine (#6969)
Goober5000 Aug 23, 2025
8db0a44
Merge pull request #6938 from Kestrellius/deathroll-effects
Kestrellius Aug 23, 2025
1207dfc
Merge pull request #6946 from Kestrellius/asteroid-effects
Kestrellius Aug 23, 2025
080aa65
QtFRED Object Orientation Editor Dialog (#6932)
MjnMixael Aug 23, 2025
e9d4f32
QtFRED Waypoint Path Dialog (#6935)
MjnMixael Aug 23, 2025
7d8b437
Qtfred Wing Editor Dialog (#6939)
MjnMixael Aug 23, 2025
9db567e
QtFRED Mission Goals Dialog Cleanup (#6951)
MjnMixael Aug 23, 2025
4b9ccfc
QtFRED Asteroid Dialog (#6908)
MjnMixael Aug 23, 2025
5eb80f5
Fix conversion of old muzzle flash to new type (#6972)
wookieejedi Aug 23, 2025
9502af6
Fix gr.createParticle with parent velocity (#6970)
wookieejedi Aug 23, 2025
9755d44
update mdns to v1.4.3 (#3973)
notimaginative Aug 24, 2025
bc083dc
QtFRED Mission Specs Dialog (#6945)
MjnMixael Aug 24, 2025
6c101fe
QtFRED Fiction Viewer Dialog (#6965)
MjnMixael Aug 24, 2025
9f30d30
QtFRED Command Briefing Dialog (#6968)
MjnMixael Aug 24, 2025
08a73c1
QtFRED Voice Acting Manager Dialog (#6962)
MjnMixael Aug 25, 2025
76440dd
QtFRED Reinforcements Dialog (#6990)
MjnMixael Aug 25, 2025
16926a4
QtFRED Shield Sys Dialog (#6991)
MjnMixael Aug 25, 2025
c2b9241
QtFRED Global Ship Flags Dialog (#6993)
MjnMixael Aug 25, 2025
109c2b5
QtFRED Music Player Dialog (#6994)
MjnMixael Aug 25, 2025
1a1d3f0
fix interpolate matrices (#6996)
Baezon Aug 25, 2025
a6f9337
add check (#6997)
Kestrellius Aug 26, 2025
d2f8424
setup
Kestrellius Aug 26, 2025
d279e47
bugfixing
Kestrellius Aug 26, 2025
7918797
more bugfixing
Kestrellius Aug 26, 2025
5f89963
Fix new deferred check (#7001)
wookieejedi Aug 26, 2025
eaafd8c
Merge branch 'master' into cockpit-brightness-adjust
wookieejedi Aug 26, 2025
e9311ec
use correct array throughout
MjnMixael Aug 27, 2025
b090e5d
Merge pull request #7004 from MjnMixael/qtfred_fix_loadout_again
JohnAFernandez Aug 27, 2025
1310c38
QTFRED Ship editor Modernisation 2 Part 1 (#6989)
TheForce172 Aug 27, 2025
1d561a1
Merge pull request #6999 from Kestrellius/cockpit-brightness-adjust
Kestrellius Aug 28, 2025
289de86
fix some parse error handling
Goober5000 Aug 28, 2025
b970e22
add additional double quote conversion to FRED and qtFRED
Goober5000 Aug 28, 2025
2d37a24
fix formatting of alt names and callsigns when saving a mission
Goober5000 Aug 28, 2025
69dfe81
Merge pull request #7006 from Goober5000/parse_error_fixes
Goober5000 Aug 28, 2025
9c65e1c
Merge pull request #7008 from Goober5000/more_fred_replace_stuff
Goober5000 Aug 28, 2025
a531fd9
wire up the bitmap section
MjnMixael Aug 25, 2025
f691966
sun section
MjnMixael Aug 25, 2025
fe17997
nebula groups
MjnMixael Aug 25, 2025
cb4e132
ambient controls
MjnMixael Aug 25, 2025
aa7fc6d
skybox section
MjnMixael Aug 26, 2025
614f510
misc group stuff
MjnMixael Aug 26, 2025
917b454
save swap with index
MjnMixael Aug 26, 2025
1d1ed19
minor fix
MjnMixael Aug 26, 2025
0f73a59
clean
MjnMixael Aug 26, 2025
ca4540a
clang
MjnMixael Aug 26, 2025
886b54c
more clang
MjnMixael Aug 26, 2025
b9229cd
more static
MjnMixael Aug 26, 2025
2b2320f
volumetric nebula dialog
MjnMixael Aug 26, 2025
772920b
static method
MjnMixael Aug 26, 2025
689d184
commit error
MjnMixael Aug 26, 2025
b3db62c
QtFRED Mission Events Editor (#6961)
MjnMixael Aug 29, 2025
42eae00
Fix Permanent Guardian (#7009)
TheForce172 Aug 29, 2025
730b294
add 'direct fire lead target'
Baezon Aug 30, 2025
19a6a1a
Merge pull request #7000 from MjnMixael/qtfred_volumetric_nebula_dialog
JohnAFernandez Aug 31, 2025
90e1f18
add recoil for secondaries (#7007)
Baezon Aug 31, 2025
b7aa53d
address feedback and fix some ui issues
MjnMixael Sep 1, 2025
c50cffa
Merge pull request #6998 from MjnMixael/qtfred_background_dialog
JohnAFernandez Sep 2, 2025
7a75aaa
Check cmdline_mod for nullptr before using it
Shivansps Sep 2, 2025
32084cf
Merge pull request #7012 from Shivansps/check-mod-nullptr
Goober5000 Sep 3, 2025
2820532
Expose value of idle circling with 'attack-any' (#7011)
wookieejedi Sep 3, 2025
5848df3
Fix build issues with Vulkan SDK 1.3.301+
vmedea Sep 2, 2025
f88e5c4
modular table fix for cinematic warp
Goober5000 Sep 4, 2025
f2bc71c
small optimization
Goober5000 Sep 4, 2025
0d0574d
Merge pull request #7013 from vmedea/vulkan-build-fixes
Goober5000 Sep 4, 2025
e4bba0c
Merge pull request #7010 from Baezon/direct-fire-lead-target
Goober5000 Sep 4, 2025
31d73b7
Removing block that prevented volumetric and background nebulae from …
combatlombax Sep 5, 2025
877373f
Fix for modern Thruster Particles (#7021)
wookieejedi Sep 6, 2025
fc10205
make legacy particle spews more robust (#7023)
Goober5000 Sep 7, 2025
0ee8c4b
restore double quote conversion in event editor
Goober5000 Sep 8, 2025
9d3ba25
fix various issues with DDS decompression (#7022)
notimaginative Sep 9, 2025
f89cd69
Merge pull request #7024 from Goober5000/event_double_quotes
Goober5000 Sep 9, 2025
bf51f8e
fix load/save mismatch in missions
Goober5000 Sep 14, 2025
a023a1a
Merge pull request #7014 from Goober5000/cinematic_followup
Goober5000 Sep 14, 2025
b0166dd
fix null vector assertion in slash beam collisions (#7038)
Goober5000 Sep 15, 2025
1e7431a
Give Particles Access to Their Spawner Effect (#7034)
BMagnu Sep 15, 2025
a32c318
Merge pull request #7037 from Goober5000/save_fix
Goober5000 Sep 15, 2025
d42789d
Add new option for 'better combat collision avoidance' (#7036)
wookieejedi Sep 15, 2025
ce3597f
QtFRED Relative Coordinates Dialog (#7031)
MjnMixael Sep 15, 2025
8057b52
Do not set IS_X86 when target cpu is armv7 (#7033)
Shivansps Sep 16, 2025
7875e5f
Supply normals for edge hits (#7039)
BMagnu Sep 16, 2025
cda542d
Prepare to sync 2025-09-16
Goober5000 Sep 17, 2025
4ae9917
Merge pull request #34 from Fate-of-the-Galaxy/prepare_to_sync_2025-0…
Goober5000 Sep 17, 2025
4f9db52
Merge branch 'scp-fs2open:master' into master
Goober5000 Sep 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,7 @@ CheckOptions:
value: 'std::vector;std::deque;std::list;SCP_vector;SCP_deque;SCP_list'
- key: 'readability-braces-around-statements.ShortStatementLines'
value: '4' # Avoid flagging simple if (...) return false; statements
- key: 'performance-move-const-arg.CheckTriviallyCopyableMove' # This isn't actually performance relevant, but using move on trivially copyable types can well indicate that the variable should not be used anymore, such as when passing a builder type to the finialization function
value: 'false'
...

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -260,3 +260,5 @@ CMakePresets.json
!/code/scripting/lua/LuaConvert.h
!/code/debugconsole/
!/docker/build
CMakeFiles/cmake.check_cache
CMakeCache.txt
2 changes: 1 addition & 1 deletion ci/linux/clang_tidy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ git diff -U0 --no-color "$BASE_COMMIT..$2" | \
-extra-arg="-DWITH_VULKAN" \
-extra-arg="-DVULKAN_HPP_DISPATCH_LOADER_DYNAMIC=1" \
-extra-arg="-DVK_NO_PROTOTYPES" \
-regex '(code(?!((\/graphics\/shaders\/compiled)|(\/globalincs\/windebug)))|freespace2|qtfred|test\/src|build|tools)\/.*\.(cpp|h)' \
-regex '(code(?!((\/graphics\/shaders\/compiled)|(\/globalincs\/windebug)|(\/def_files\/data)))|freespace2|qtfred|test\/src|build|tools)\/.*\.(cpp|h)' \
-clang-tidy-binary /usr/bin/clang-tidy-16 -j$(nproc) -export-fixes "$(pwd)/clang-fixes.yaml"
7 changes: 6 additions & 1 deletion cmake/globals.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,19 @@ else()
endif()

set(IS_ARM64 FALSE)
set(IS_ARMV7A FALSE)

if (NOT "${CMAKE_GENERATOR_PLATFORM}" STREQUAL "") # needed to cover Visual Studio generator
if(CMAKE_GENERATOR_PLATFORM MATCHES "^(aarch64|arm64|ARM64)")
set(IS_ARM64 TRUE)
elseif(CMAKE_GENERATOR_PLATFORM MATCHES "^(armv7)")
set(IS_ARMV7A TRUE)
endif()
else()
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(aarch64|arm64|ARM64)")
set(IS_ARM64 TRUE)
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(armv7)")
set(IS_ARMV7A TRUE)
endif()
endif()

Expand All @@ -33,6 +38,6 @@ else()
endif()

set(IS_X86 FALSE)
if (NOT IS_ARM64 AND NOT IS_RISCV)
if (NOT IS_ARM64 AND NOT IS_RISCV AND NOT IS_ARMV7A)
set(IS_X86 TRUE)
endif()
2 changes: 1 addition & 1 deletion code/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ endif()

target_link_libraries(code PUBLIC libRocket)

target_link_libraries(code PUBLIC pcp)
target_link_libraries(code PUBLIC pcpnatpmp)

target_link_libraries(code PUBLIC parsers)

Expand Down
8 changes: 4 additions & 4 deletions code/ai/ai.h
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ const char *ai_get_goal_target_name(const char *name, int *index);
void ai_clear_goal_target_names();

extern void init_ai_system(void);
extern void ai_attack_object(object *attacker, object *attacked, int ship_info_index = -1);
extern void ai_attack_object(object *attacker, object *attacked, int ship_info_index = -1, int class_type = -1);
extern void ai_evade_object(object *evader, object *evaded);
extern void ai_ignore_object(object *ignorer, object *ignored, int ignore_new);
extern void ai_ignore_wing(object *ignorer, int wingnum);
Expand Down Expand Up @@ -559,7 +559,7 @@ extern void ai_set_guard_wing(object *objp, int wingnum);
extern void ai_warp_out(object *objp, vec3d *vp);
extern void ai_attack_wing(object *attacker, int wingnum);
extern void ai_deathroll_start(object *ship_obj);
extern int set_target_objnum(ai_info *aip, int objnum);
extern int set_target_objnum(ai_info* aip, int objnum);
extern void ai_form_on_wing(object *objp, object *goal_objp);
extern void ai_do_stay_near(object *objp, object *other_obj, float dist, int additional_data);
extern ship_subsys *set_targeted_subsys(ai_info *aip, ship_subsys *new_subsys, int parent_objnum);
Expand Down Expand Up @@ -596,7 +596,7 @@ extern int ai_maybe_fire_afterburner(object *objp, ai_info *aip);
extern void set_predicted_enemy_pos(vec3d *predicted_enemy_pos, object *pobjp, vec3d *enemy_pos, vec3d *enemy_vel, ai_info *aip);

extern int is_instructor(object *objp);
extern int find_enemy(int objnum, float range, int max_attackers, int ship_info_index = -1);
extern int find_enemy(int objnum, float range, int max_attackers, int ship_info_index = -1, int class_type = -1);

float ai_get_weapon_speed(const ship_weapon *swp);
void set_predicted_enemy_pos_turret(vec3d *predicted_enemy_pos, const vec3d *gun_pos, const object *pobjp, const vec3d *enemy_pos, const vec3d *enemy_vel, float weapon_speed, float time_enemy_in_range);
Expand All @@ -617,7 +617,7 @@ extern float dock_orient_and_approach(object *docker_objp, int docker_index, obj
void ai_set_mode_warp_out(object *objp, ai_info *aip);

// prototyped by Goober5000
int get_nearest_objnum(int objnum, int enemy_team_mask, int enemy_wing, float range, int max_attackers, int ship_info_index);
int get_nearest_objnum(int objnum, int enemy_team_mask, int enemy_wing, float range, int max_attackers, int ship_info_index, int class_type = -1);

// moved to header file by Goober5000
void ai_announce_ship_dying(object *dying_objp);
Expand Down
1 change: 1 addition & 0 deletions code/ai/ai_flags.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ namespace AI {
Fightercraft_nonshielded_ships_can_manage_ets,
Ships_playing_dead_dont_manage_ets,
Better_combat_collision_avoidance,
Better_combat_collision_avoid_includes_target,
Better_guard_collision_avoidance,
Require_exact_los,
Improved_missile_avoidance,
Expand Down
7 changes: 7 additions & 0 deletions code/ai/ai_profiles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,8 @@ void parse_ai_profiles_tbl(const char *filename)
stuff_float(&profile->better_collision_avoid_aggression_combat);
}

set_flag(profile, "+combat collision avoidance for fightercraft includes target:", AI::Profile_Flags::Better_combat_collision_avoid_includes_target);

set_flag(profile, "$better guard collision avoidance for fightercraft:", AI::Profile_Flags::Better_guard_collision_avoidance);

if (optional_string("+guard collision avoidance aggression for fightercraft:")) {
Expand Down Expand Up @@ -699,6 +701,10 @@ void parse_ai_profiles_tbl(const char *filename)
}
}

if (optional_string("$attack-any idle circle distance:")) {
stuff_float(&profile->attack_any_idle_circle_distance);
}

set_flag(profile, "$unify usage of AI Shield Manage Delay:", AI::Profile_Flags::Unify_usage_ai_shield_manage_delay);

set_flag(profile, "$fix AI shield management bug:", AI::Profile_Flags::Fix_AI_shield_management_bug);
Expand Down Expand Up @@ -815,6 +821,7 @@ void ai_profile_t::reset()

guard_big_orbit_above_target_radius = 500.0f;
guard_big_orbit_max_speed_percent = 1.0f;
attack_any_idle_circle_distance = 100.0f;

for (int i = 0; i < NUM_SKILL_LEVELS; ++i) {
max_incoming_asteroids[i] = 0;
Expand Down
3 changes: 3 additions & 0 deletions code/ai/ai_profiles.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ class ai_profile_t {
float guard_big_orbit_above_target_radius; // Radius of guardee that triggers ai_big_guard()
float guard_big_orbit_max_speed_percent; // Max percent of forward speed that is used in ai_big_guard()

// AI attack any option --wookieejedi
float attack_any_idle_circle_distance; // Radius that AI circles around a point while waiting for new enemies in attack-any mode

void reset();
};

Expand Down
4 changes: 4 additions & 0 deletions code/ai/aibig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ void ai_bpap(const object *objp, const vec3d *attacker_objp_pos, const vec3d *at

*attack_point = best_point;

//The following raycast tends to make up 10%(!) of total AI-frametime for basically no benefit, especially in the common case for turrets where the normal isn't even queried.
if (surface_normal == nullptr && Disable_expensive_turret_target_check)
return;

// Cast from attack_objp_pos to local_attack_pos and check for nearest collision.
// If no collision, cast to (0,0,0) [center of big ship]** [best_point initialized to 000]

Expand Down
Loading
Loading