Only include TBTR debug functions when debugging enabled.
Add an initial prefix for clarity. Fix log print format codes.
This commit is contained in:
@@ -48,11 +48,14 @@ Train* DeleteVirtualTrain(Train*, Train *);
|
||||
|
||||
CommandCost CmdTemplateReplaceVehicle(Train*, bool, DoCommandFlag);
|
||||
|
||||
void pat();
|
||||
void pav();
|
||||
void ptv(TemplateVehicle*);
|
||||
void pvt(const Train*);
|
||||
#ifdef _DEBUG
|
||||
// for testing
|
||||
void tbtr_debug_pat();
|
||||
void tbtr_debug_pav();
|
||||
void tbtr_debug_ptv(TemplateVehicle*);
|
||||
void tbtr_debug_pvt(const Train*);
|
||||
#endif
|
||||
|
||||
TemplateVehicle* GetTemplateVehicleByGroupID(GroupID);
|
||||
bool ChainContainsVehicle(Train*, Train*);
|
||||
Train* ChainContainsEngine(EngineID, Train*);
|
||||
|
Reference in New Issue
Block a user