Help:VE220

From TrainzOnline
Revision as of 15:50, 8 May 2023 by Dundun92 (Talk | contribs)

Jump to: navigation, search

This could mean the declared functions return type is different from the actual function.

void GetSpeed(bool dir);

int GetSpeed(bool dir) {

}

The declared function is void, but the actual function is int;


It could also mean you have the same function declared twice with different parameters:

 int DetermineCarPosition(void);
 void SetTwoDigitCode(string code);
 void SetDestination(string code);
 void SetTexture(int index);
 void SetAttachment(int side, int middle, int high, int highbeam);
 void SetDestination(int index, int code);
Personal tools