The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: jamespetts on December 07, 2009, 12:24:58 am

Title: Anomalies with version.h
Post by: jamespetts on December 07, 2009, 12:24:58 am
Looking at the latest nightly of Simutrans-Standard (trunk, not the RC branch), version.h looks like this:

Code: [Select]
#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?
Title: Re: Anomalies with version.h
Post by: prissi on December 07, 2009, 10:26:07 am
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.