News:

Beta test the new forum at https://simutrans.forum/
Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

Nightly, Release candidate or release version?

Started by Max-Max, September 27, 2013, 01:11:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Max-Max

I saw there where some defines for this, but how does it work?
Is there a Single define I can check to see what version is compiled?
- My code doesn't have bugs. It develops random features...

Dwachs

#1
This line in simversion.h

#define SIM_VERSION_BUILD SIM_BUILD_NIGHTLY

controls it. It is changed to  _RELEASE and _RELEASE_CANDIDATE when time is ripe.
Parsley, sage, rosemary, and maggikraut.

Max-Max

Thank you. I'm editing the resource script to automatically use different icons depending on the version and build.
- My code doesn't have bugs. It develops random features...