Smooth convoy startup and record Workshop 0.0.153
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-11-10 15:34:24 +01:00
parent d8352136e8
commit 2390f77554
72 changed files with 15088 additions and 161 deletions
+2 -2
View File
@@ -105,7 +105,7 @@ int main(){
startup=cpp(body(D/'ERR_SupplyConvoySystem.c','void Tick('))
run(common+r'''
struct Service{int count=0;int Count(){return count;}};
struct Startup{Service* m_Service;bool m_Stopped=false,m_Automatic=true,create=false;int m_Target=3,m_Attempts=0,calls=0;
struct Startup{Service* m_Service;bool m_Stopped=false,m_Searching=false,m_Automatic=true,create=false;int m_Target=3,m_Attempts=0,calls=0;
float m_Began=-1,m_Next=0;string m_Reason,m_LastFailure;int notes=0;void NoteFailure(){notes++;}string Status(){return m_Reason;}
bool StartOne(){calls++;if(create)m_Service->count++;return create;}
'''+startup+r'''};
@@ -321,7 +321,7 @@ namespace ERR_ForceRules{bool Finite(float v){return std::isfinite(v);}}
struct Pool{int committed=108,limit=135,planned=25;int CommittedBodies(){return committed;}int BodyLimit(){return limit;}int PlannedBodies(){return planned;}};
struct ERR_ConvoyReceipt{bool Consumed=false;};
struct Service{int count=0;int Count(){return count;}};
struct Startup{Service* m_Service;Pool* m_Pool;bool m_Stopped=false,m_Automatic=true,create=false;
struct Startup{Service* m_Service;Pool* m_Pool;bool m_Stopped=false,m_Searching=false,m_Automatic=true,create=false;
int m_Target=3,m_Attempts=0,calls=0;float m_Began=-1,m_Next=0;string m_Reason,m_LastFailure,nextReason="no clear separated road formation in this bounded survey";
bool StartOne(){calls++;m_Reason=nextReason;if(create)m_Service->count++;return create;}
'''+diag+r'''};