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
+2 -2
View File
@@ -7,8 +7,8 @@ P=BASE/'addons/core/Scripts/Game/ERR/00_Core/ERR_Settings.c'
keys=body(P,'static array<string> Keys(').replace('array<string>','std::vector<string>')
valid='\n'.join(body(P,sig) for sig in ('static bool Valid(', 'static bool Randomizable(', 'static bool ValidSelection('))
default=body(P,'static int AddedDefault(')
read=body(P,'protected bool Read(').replace('protected ','').replace('out map<string, int> values','Map*& values').replace('new map<string, int>()','new Map()')
read=read.replace('JsonLoadContext json','JsonLoadContext* json').replace('json.','json->').replace('values.','values->').replace('foreach (string key : Keys())','for (string key : Keys())').replace('Math.Round','std::round')
read=(body(P,'protected bool Read(')+'\n'+body(P,'static bool Parse(')).replace('protected ','').replace('out map<string, int> values','Map*& values').replace('new map<string, int>()','new Map()')
read=read.replace('JsonLoadContext json','JsonLoadContext* json').replace('json.','json->').replace('values.','values->').replace('foreach (string key : Keys())','for (string key : Keys())').replace('Math.Round','std::round').replace('ERR_ProfileConfig.Load(path, json)', 'json->LoadFromFile(path)')
run(r'''
#include <cassert>
#include <string>