Asdow
a46d2dbb96
Add global to selectively log AI status BLACK decisions
2026-01-19 22:31:34 +02:00
Asdow
16fc2d8177
Cleanup FindBestNearbyCover
...
* Add optional parameter to ignore search range
2026-01-19 22:29:06 +02:00
Asdow
e634edd862
Rename debug draw modes
2026-01-19 22:05:31 +02:00
Asdow
f5b705cbe4
Add ingame option to use old AI instead of new
2026-01-19 22:05:10 +02:00
Asdow
4e19816b57
Fix typo
2026-01-19 00:28:19 +02:00
Asdow
20dadec54c
Merge branch 'master' into decideaction
2026-01-13 00:38:40 +02:00
Asdow
f3ce1d5ff9
Fix Tank suppression fire
...
Code used wrong item to calculate recoil and burst APs causing the burst length loop to be stuck until the whole 2000 round mg magazine would be fired in one go.
2026-01-10 16:38:00 +02:00
Asdow
b1c076416c
Remove magic numbers
2026-01-04 14:57:55 +02:00
Asdow
cc984b09f6
Fix comparison check
2026-01-03 17:27:43 +02:00
Asdow
8d00a316c5
Remove unused enum conditionals
2026-01-03 17:27:43 +02:00
Asdow
d51f1e6088
Add comment
2026-01-03 17:27:43 +02:00
Asdow
1c86d96e9d
Remove custom_email.edt
...
Unfinished feature as far as I can tell and new emails will be easier to add via Emails.xml
2026-01-03 17:27:43 +02:00
Asdow
1368962244
Rename function to be more descriptive
2026-01-03 17:27:43 +02:00
Asdow
6f6aadf89c
Remove unused & unfinished email externalizations
2026-01-03 17:27:43 +02:00
Asdow
96de96e9c6
Remove unused includes
...
* Formatting
2026-01-03 17:27:43 +02:00
Asdow
ebcc5449c5
Make functions static
2026-01-03 17:27:43 +02:00
Asdow
6b7bc51a52
Remove commented out variables
2026-01-03 17:27:43 +02:00
Asdow
622cffce82
Use #define instead of magic numbers
2026-01-03 17:27:43 +02:00
Asdow
5ed79c3edb
Fix email sorting
...
* Simplify pSubject copying else ifs
* Formatting
2026-01-03 17:27:43 +02:00
Asdow
fe69dba958
Add missing email
2026-01-03 17:27:43 +02:00
Asdow
f8b6ee1672
Use externalized emails
2026-01-03 17:27:43 +02:00
Asdow
30070035cc
Correct pSubject size
2026-01-03 17:27:43 +02:00
Asdow
ff3079ff23
Formatting
2026-01-03 17:27:43 +02:00
Asdow
aba3688b4b
Add framework for adding externalized emails
...
Emails from new GameDir file TableData/Email/Emails.xml can be added via lua scripting using calls to AddEmailFromXML & AddPreReadEmailFromXML. The order of emails in Emails.xml acts as the index to be referenced and provided when calling lua functions.
An error message will be displayed if an email is added with an out-of-scope index but game will be able to continue.
Localization is supported and was tested on Chinese localization.
2026-01-03 17:27:43 +02:00
Asdow
2e3e4b38d9
Fix compilation
2025-12-25 20:17:02 +02:00
Asdow
f075963bca
Merge branch 'master' into decideaction
2025-12-25 18:58:41 +02:00
Asdow
d6b30c6f43
Add #ifdef for cheats.h include
2025-12-09 00:35:18 +02:00
Asdow
4fcf03d31a
Include cleanup Tactical/.*cpp
2025-12-09 00:35:18 +02:00
Asdow
03edc532e1
Clean up Strategic/*:cpp includes
2025-12-09 00:35:18 +02:00
Asdow
1db41f4c36
Fix helicopter airspace view when switching to travel mode
...
* Clicking destination column in teamlist for a squad in a helicopter will switch to first airspace view that shows safe / unsafe air sectors instead of the second sector.
* Clicking destination column in teamlist for a squad not in a helicopter while in either airspace view will now correctly turn it off
2025-12-04 23:06:08 +02:00
majcosta and Asdow
96ede9299f
Change CMake build type from Release to RelWithDebInfo
2025-12-04 19:47:04 +02:00
Asdow
b226f2a21d
set functions static
2025-12-03 23:52:05 +02:00
Asdow
6629562b34
Formatting
2025-12-03 23:52:05 +02:00
Asdow
91d7620c0b
include cleanup
2025-12-03 23:52:05 +02:00
Asdow
c341402fe1
set functions static
2025-12-03 23:52:05 +02:00
Asdow
80b1af930a
include cleanup
2025-12-03 23:52:05 +02:00
Asdow
608eb8e4e6
set functions static
2025-12-03 23:52:05 +02:00
Asdow
ec1c6fc112
include cleanup
2025-12-03 23:52:05 +02:00
Asdow
4fabab680f
set functions static
2025-12-03 23:52:05 +02:00
Asdow
def815988b
include cleanup
2025-12-03 23:52:05 +02:00
Asdow
21df179941
Set function static
2025-12-03 23:52:05 +02:00
Asdow
ff674e79b9
Set function static
2025-12-03 23:52:05 +02:00
Asdow
9efa5e1108
Include cleanup
2025-12-03 23:52:05 +02:00
Asdow
c235345a22
formatting
2025-12-03 23:52:05 +02:00
Asdow
97791bfcc3
include cleanup
2025-12-03 23:52:05 +02:00
Asdow
d49185c291
Move nullptr check to be checked first
...
Kinda defeats the purpose of checking for nullptr if we dereference it before the check, no?
2025-12-03 23:52:05 +02:00
Asdow
41eba8ff3a
include cleanup
2025-12-03 23:52:05 +02:00
Asdow
2fd5e2c255
set functions static
2025-12-03 23:52:05 +02:00
Asdow
a83bb00d52
include cleanup
2025-12-03 23:52:05 +02:00
Asdow
cb27d0cd72
Set functions static
2025-12-03 23:52:05 +02:00