Capture current mission, AI, map and administration development

Include the current addon, terrain integrations, tools, regression tests and recorded development evidence.
This commit is contained in:
2026-10-13 22:52:53 +02:00
parent a951a96edc
commit 6a667d8deb
8104 changed files with 2124945 additions and 2061 deletions
@@ -0,0 +1,20 @@
from pathlib import Path
from policy_harness import body, run
source=Path(__file__).parent/'addons/core/Scripts/Game/ERR/40_Chat/ERR_NativeSmoke.c'
enabled=body(source,'static bool Enabled()').replace('System.','System::')
run(r'''#include <cassert>
#include <map>
#include <string>
using string=std::string;
namespace System { std::map<string,string> args; bool GetCLIParam(string key,string& value){auto it=args.find(key);if(it==args.end())return false;value=it->second;return true;} }
struct Actual {''' + enabled + r''' };
int main(){
assert(!Actual::Enabled());
System::args={{"errSmokeOutcome","player-death"}}; assert(!Actual::Enabled());
System::args["errSmoke"]="0"; assert(!Actual::Enabled());
System::args["errSmoke"]="1"; assert(Actual::Enabled());
for(string outcome : {"normal-escape-route","hq-memory","radio-network","mounted-ammo",""}) {System::args["errSmokeOutcome"]=outcome;assert(!Actual::Enabled());}
System::args.erase("errSmokeOutcome"); assert(!Actual::Enabled());
}
''')
print('PASS: actual diagnostic selector requires exact enabled player-death fixture')