News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

Anomalies with version.h

Started by jamespetts, December 07, 2009, 12:24:58 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jamespetts

Looking at the latest nightly of Simutrans-Standard (trunk, not the RC branch), version.h looks like this:


#ifndef simversion_h
#define simversion_h

#define MAKEOBJ_VERSION "50"

#define VERSION_NUMBER "102.3 Nightly"
#define WIDE_VERSION_NUMBER L"102.3 Nightly"

#define VERSION_DATE __DATE__

#define SAVEGAME_PREFIX  "Simutrans "
#define XML_SAVEGAME_PREFIX  "<?xml version=\"1.0\"?>"

#define SAVEGAME_VER_NR  "0.102.2"
#define SAVEGAME_VERSION (SAVEGAME_PREFIX SAVEGAME_VER_NR)

#define RES_VERSION_NUMBER  0, 102, 2, 1

#endif


The displayed version number is 102.3 - the savegame number is 0.102.2 and the RES version number is 0.102.2.1. Should the latter two not be 0.102.3 and 0.102.3.0 respectively?

prissi

The res version number was forgotten. And it will be most likely a 103 when finished.

ANd savegame number are only stepped, when we are sure, that the savegame is finished. Otherwise, because of the nightly system, many people will have broken savegames.