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,89 @@
/tmp/err-policy-pd_h_loz/check.cpp:36:92: error: ‘Node’ has not been declared
36 | static void Log(string context, AIAgent* owner, float inner, float outer, string details, Node node = nullptr)
| ^~~~
/tmp/err-policy-pd_h_loz/check.cpp:36:104: error: could not convert ‘nullptr’ from ‘std::nullptr_t’ to ‘int’
36 | static void Log(string context, AIAgent* owner, float inner, float outer, string details, Node node = nullptr)
| ^~~~~~~
| |
| std::nullptr_t
/tmp/err-policy-pd_h_loz/check.cpp: In static member function ‘static void ERR_NativeRandomRadiusTrace::Log(string, AIAgent*, float, float, string, int)’:
/tmp/err-policy-pd_h_loz/check.cpp:41:18: error: request for member ‘GetCallstackStr’ in ‘node’, which is of non-class type ‘int’
41 | if (node) node.GetCallstackStr(nodeStack);
| ^~~~~~~~~~~~~~~
/tmp/err-policy-pd_h_loz/check.cpp:42:14: error: too many arguments to function ‘void PrintFormat(const char*, int, string, AIAgent*, float, float, string)’
42 | PrintFormat("ERR ZERO RADIUS TRACE: sample=%1/16 class=%2 owner=%3 inner=%4 outer=%5 %6 nodeStack=%7", s_Count, context, owner, inner, outer, details, nodeStack);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/err-policy-pd_h_loz/check.cpp:14:6: note: declared here
14 | void PrintFormat(const char*,int count,string context,AIAgent*owner,float inner,float outer,string details){rows.push_back({count,context,owner,inner,outer,details});}
| ^~~~~~~~~~~
/tmp/err-policy-pd_h_loz/check.cpp: In member function ‘ENodeResult SCR_AIGetRandomPoint::EOnTaskSimulate(AIAgent*, float)’:
/tmp/err-policy-pd_h_loz/check.cpp:52:150: error: invalid conversion from ‘SCR_AIGetRandomPoint*’ to ‘int’ [-fpermissive]
52 | ERR_NativeRandomRadiusTrace::Log("SCR_AIGetRandomPoint", owner, m_ExclusionRadius, m_Radius, string::Format("phase=after-success node=%1", this), this);
| ^~~~
| |
| SCR_AIGetRandomPoint*
/tmp/err-policy-pd_h_loz/check.cpp:36:97: note: initializing argument 6 of ‘static void ERR_NativeRandomRadiusTrace::Log(string, AIAgent*, float, float, string, int)’
36 | static void Log(string context, AIAgent* owner, float inner, float outer, string details, Node node = nullptr)
| ~~~~~^~~~~~~~~~~~~~
/tmp/err-policy-pd_h_loz/check.cpp: In member function ‘ENodeResult SCR_AIGetRandomLookPosition::EOnTaskSimulate(AIAgent*, float)’:
/tmp/err-policy-pd_h_loz/check.cpp:69:229: error: invalid conversion from ‘SCR_AIGetRandomLookPosition*’ to ‘int’ [-fpermissive]
69 | ERR_NativeRandomRadiusTrace::Log("SCR_AIGetRandomLookPosition", owner, 0, radius, string::Format("phase=before-super node=%1 entity=%2 inPos=%3 distance=%4 tangent=%5", this, controlledEntity, inPos, distance, m_fTangent), this);
| ^~~~
| |
| SCR_AIGetRandomLookPosition*
/tmp/err-policy-pd_h_loz/check.cpp:36:97: note: initializing argument 6 of ‘static void ERR_NativeRandomRadiusTrace::Log(string, AIAgent*, float, float, string, int)’
36 | static void Log(string context, AIAgent* owner, float inner, float outer, string details, Node node = nullptr)
| ~~~~~^~~~~~~~~~~~~~
/tmp/err-policy-pd_h_loz/check.cpp: In member function ‘vector SCR_AICalculateNextCombatMovePos::RandomizeDestinationPos(float, vector)’:
/tmp/err-policy-pd_h_loz/check.cpp:83:199: error: invalid conversion from ‘SCR_AICalculateNextCombatMovePos*’ to ‘int’ [-fpermissive]
83 | ERR_NativeRandomRadiusTrace::Log("SCR_AICalculateNextCombatMovePos", nullptr, 0, radius, string::Format("phase=before-super node=%1 center=%2 distance=%3 scale=0.1", this, centerPos, distance), this);
| ^~~~
| |
| SCR_AICalculateNextCombatMovePos*
/tmp/err-policy-pd_h_loz/check.cpp:36:97: note: initializing argument 6 of ‘static void ERR_NativeRandomRadiusTrace::Log(string, AIAgent*, float, float, string, int)’
36 | static void Log(string context, AIAgent* owner, float inner, float outer, string details, Node node = nullptr)
| ~~~~~^~~~~~~~~~~~~~
/tmp/err-policy-pd_h_loz/check.cpp: In member function ‘bool SCR_AIGetRandomPointWithExclude::FindPosition2D(vector&, vector, float, vector, float, int)’:
/tmp/err-policy-pd_h_loz/check.cpp:97:315: error: invalid conversion from ‘SCR_AIGetRandomPointWithExclude*’ to ‘int’ [-fpermissive]
97 | ERR_NativeRandomRadiusTrace::Log("SCR_AIGetRandomPointWithExclude", nullptr, excludeRadius, randomSphereRadius, string::Format("phase=before-super branch=direct node=%1 origin=%2 excludedOrigin=%3 excludeRadius=%4 iterations=%5", this, randomSphereOrigin, excludeSphereOrigin, excludeRadius, iterationCount), this);
| ^~~~
| |
| SCR_AIGetRandomPointWithExclude*
/tmp/err-policy-pd_h_loz/check.cpp:36:97: note: initializing argument 6 of ‘static void ERR_NativeRandomRadiusTrace::Log(string, AIAgent*, float, float, string, int)’
36 | static void Log(string context, AIAgent* owner, float inner, float outer, string details, Node node = nullptr)
| ~~~~~^~~~~~~~~~~~~~
/tmp/err-policy-pd_h_loz/check.cpp:100:305: error: invalid conversion from ‘SCR_AIGetRandomPointWithExclude*’ to ‘int’ [-fpermissive]
100 | ERR_NativeRandomRadiusTrace::Log("SCR_AIGetRandomPointWithExclude", nullptr, 0, randomSphereRadius, string::Format("phase=before-super branch=iterative node=%1 origin=%2 excludedOrigin=%3 excludeRadius=%4 iterations=%5", this, randomSphereOrigin, excludeSphereOrigin, excludeRadius, iterationCount), this);
| ^~~~
| |
| SCR_AIGetRandomPointWithExclude*
/tmp/err-policy-pd_h_loz/check.cpp:36:97: note: initializing argument 6 of ‘static void ERR_NativeRandomRadiusTrace::Log(string, AIAgent*, float, float, string, int)’
36 | static void Log(string context, AIAgent* owner, float inner, float outer, string details, Node node = nullptr)
| ~~~~~^~~~~~~~~~~~~~
/tmp/err-policy-pd_h_loz/check.cpp: In member function ‘vector SCR_RecoilCameraShakeParams::RandomVectorSphere(vector, vector, bool)’:
/tmp/err-policy-pd_h_loz/check.cpp:114:37: error: cannot convert ‘std::nullptr_t’ to ‘int’
114 | ERR_NativeRandomRadiusTrace::Log("SCR_RecoilCameraShakeParams", nullptr, inner, outer, string::Format("phase=before-super params=%1 min=%2 max=%3 uniform=%4", this, min, max, uniform));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| std::nullptr_t
/tmp/err-policy-pd_h_loz/check.cpp:36:97: note: initializing argument 6 of ‘static void ERR_NativeRandomRadiusTrace::Log(string, AIAgent*, float, float, string, int)’
36 | static void Log(string context, AIAgent* owner, float inner, float outer, string details, Node node = nullptr)
| ~~~~~^~~~~~~~~~~~~~
Traceback (most recent call last):
File "/tmp/erri-random-radius-tests-0504/tests/test_native_random_radius_trace.py", line 28, in <module>
run(r'''
~~~^^^^^
#include <cassert>
^^^^^^^^^^^^^^^^^^
...<67 lines>...
}
^
''')
^^^^
File "/home/jakub/devel/escapistsrereintroduced/tests/policy_harness.py", line 13, in run
subprocess.run(['g++','-std=c++17','-Wall','-Werror',str(p/'check.cpp'),'-o',str(p/'check')],check=True)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.14/subprocess.py", line 578, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['g++', '-std=c++17', '-Wall', '-Werror', '/tmp/err-policy-pd_h_loz/check.cpp', '-o', '/tmp/err-policy-pd_h_loz/check']' returned non-zero exit status 1.