Changeset - r26250:dbf3641db994
[Not reviewed]
patchpack
0 5 0
Ruby Dennington (Theleruby) - 23 months ago 2022-05-10 12:49:19
theleruby@gmail.com
Replace the Ginever branding with TheleTTD because Ginever is now closed
5 files changed with 16 insertions and 10 deletions:
0 comments (0 inline, 0 general)
src/lang/english.txt
Show inline comments
 
@@ -2125,13 +2125,13 @@ STR_CONFIG_ERROR_SPRITECACHE_TOO_BIG    
 

	
 
# Video initalization errors
 
STR_VIDEO_DRIVER_ERROR                                          :{WHITE}Error with video settings...
 
STR_VIDEO_DRIVER_ERROR_NO_HARDWARE_ACCELERATION                 :{WHITE}... no compatible GPU found. Hardware acceleration disabled
 

	
 
# Intro window
 
STR_INTRO_CAPTION                                               :{WHITE}Ginever.net OpenTTD Patchpack :: {REV}
 
STR_INTRO_CAPTION                                               :{WHITE}{REV}
 

	
 
STR_INTRO_NEW_GAME                                              :{BLACK}New Game
 
STR_INTRO_LOAD_GAME                                             :{BLACK}Load Game
 
STR_INTRO_PLAY_SCENARIO                                         :{BLACK}Play Scenario
 
STR_INTRO_PLAY_HEIGHTMAP                                        :{BLACK}Play Heightmap
 
STR_INTRO_SCENARIO_EDITOR                                       :{BLACK}Scenario Editor
 
@@ -3100,13 +3100,13 @@ STR_LAI_OBJECT_DESCRIPTION_LIGHTHOUSE   
 
STR_LAI_OBJECT_DESCRIPTION_COMPANY_HEADQUARTERS                 :Company headquarters
 
STR_LAI_OBJECT_DESCRIPTION_COMPANY_OWNED_LAND                   :Company-owned land
 

	
 
# About OpenTTD window
 
STR_ABOUT_OPENTTD                                               :{WHITE}About OpenTTD
 
STR_ABOUT_ORIGINAL_COPYRIGHT                                    :{BLACK}Original copyright {COPYRIGHT} 1995 Chris Sawyer, All rights reserved
 
STR_ABOUT_VERSION                                               :{BLACK}Ginever.net OpenTTD Patchpack :: {REV}
 
STR_ABOUT_VERSION                                               :{BLACK}{REV}
 
STR_ABOUT_COPYRIGHT_OPENTTD                                     :{BLACK}OpenTTD {COPYRIGHT} 2002-{RAW_STRING} The OpenTTD team
 

	
 
# Framerate display window
 
STR_FRAMERATE_CAPTION                                           :{WHITE}Frame rate
 
STR_FRAMERATE_CAPTION_SMALL                                     :{STRING2}{WHITE} ({DECIMAL}x)
 
STR_FRAMERATE_RATE_GAMELOOP                                     :{BLACK}Simulation rate: {STRING2}
src/misc_gui.cpp
Show inline comments
 
@@ -405,20 +405,25 @@ static WindowDesc _about_desc(
 
);
 

	
 
static const char * const _credits[] = {
 
	u8"Original design by Chris Sawyer",
 
	u8"Original graphics by Simon Foster",
 
	u8"",
 
	u8"Ginever.net OpenTTD Patchpack team:",
 
	u8"",
 
	u8"",
 
	u8"TheleTTD - a custom patchpack for OpenTTD",
 
	u8"(formerly known as the Ginever.net OpenTTD Patchpack)",
 
	u8"",
 
	u8"The TheleTTD team:",
 
	u8"  Ruby Dennington (Theleruby) - Patch implementation",
 
	u8"  Paul Dennington (Paulicus25) - Lead tester",
 
	u8"  Assorted testers from Ginever Entertainment",
 
	u8"",
 
	u8"The latest version of this patchpack can be obtained from:",
 
	u8"  https://hg.ginever.net/public/openttd  (source)",
 
	u8"  https://hg.ginever.net/public/openttd-binaries  (Windows binaries)",
 
	u8"  https://code.theleruby.com/cpp/openttd-patchpack",
 
	u8"",
 
	u8"",
 
	u8"",
 
	u8"The OpenTTD team (in alphabetical order):",
 
	u8"  Grzegorz Duczy\u0144ski (adf88) - General coding (since 1.7.2)",
 
	u8"  Albert Hofkamp (Alberth) - GUI expert (since 0.7)",
 
	u8"  Matthijs Kooijman (blathijs) - Pathfinder-guru, Debian port (since 0.3)",
 
	u8"  Ulf Hermann (fonsinchen) - Cargo Distribution (since 1.3)",
src/rev.cpp.in
Show inline comments
 
@@ -68,13 +68,13 @@ const char _openttd_revision_year[] = "$
 
 * works even in the case when revision string is overridden by
 
 * --revision argument.
 
 * Value 0 means no modification, 1 is for unknown state
 
 * (compiling from sources without any version control software)
 
 * and 2 is for modified revision.
 
 *
 
 * Ginever patchpack uses value 3 for hg unmodified and 4 for hg modified
 
 * The patchpack uses value 3 for hg unmodified and 4 for hg modified
 
 */
 
const byte _openttd_revision_modified = ${REV_MODIFIED};
 

	
 
/**
 
 * Indicate whether this is a tagged version.
 
 * If this is non-0, then _openttd_revision is the name of the tag,
src/saveload/extended_ver_sl.cpp
Show inline comments
 
@@ -59,12 +59,13 @@ std::string _sl_xv_version_label;       
 
static const uint32 _sl_xv_slxi_chunk_version = 0;          ///< current version of SLXI chunk
 

	
 
static void loadVL(const SlxiSubChunkInfo* info, uint32 length);
 
static uint32 saveVL(const SlxiSubChunkInfo* info, bool dry_run);
 

	
 
const SlxiSubChunkInfo _sl_xv_sub_chunk_infos[] = {
 
	// it's necessary to keep 'ginever' here - changing it would break save compatibility
 
	{ XSLFI_VERSION_LABEL, XSCF_IGNORABLE_ALL, 1, 1, "version_label", saveVL, loadVL, nullptr },
 
	{ XSLFI_PATCHPACK_MAJOR_VERSION, XSCF_NULL, 6, 6, "ginever_patchpack_version", nullptr, nullptr, nullptr },
 
	{ XSLFI_DAYLENGTH, XSCF_NULL, 1, 1, "ginever_daylength", nullptr, nullptr, nullptr },
 
	{ XSLFI_STATION_NEWGRF, XSCF_NULL, 1, 1, "ginever_station_newgrf", nullptr, nullptr, nullptr },
 
	{ XSLFI_INFRASTRUCTURE, XSCF_NULL, 1, 1, "ginever_infrastructure", nullptr, nullptr, nullptr },
 
	{ XSLFI_RUNNING_COST_MULT, XSCF_NULL, 1, 1, "ginever_running_cost_mult", nullptr, nullptr, nullptr },
 
@@ -393,13 +394,13 @@ void SlXvCheckSpecialSavegameVersionsB()
 
		}
 
	}
 

	
 
	Debug(sl, 1, "This doesn't appear to be a patchpack save");
 
	_load_check_data.save_version_label = _sl_xv_version_label;
 

	
 
	// now we have to restore the original OTTD invalid save version check for non-Ginever patchpacks since we had to previously disable it
 
	// now we have to restore the original OTTD invalid save version to check for other patchpacks since we had to previously disable it
 
	if (original_version >= SLV_START_PATCHPACKS && original_version < SLV_END_PATCHPACKS) SlError(STR_GAME_SAVELOAD_ERROR_PATCHPACK);
 
}
 

	
 
/**
 
 * Return true if this chunk has been marked as discardable
 
 */
versiondump.py
Show inline comments
 
@@ -11,13 +11,13 @@ import sys
 
# bump MINORSAVE every time a save format change would stop save loading in older versions
 
# bump BUGFIX if save format is untouched
 
# bumps cause all later numbers to be reset. e.g. if you bump MINORSAVE then BUGFIX goes back to 0.
 
 
# save version to end 'pre' for unreleased builds with the version number being that of the next likely release
 
 
VERSION_TAG = "ginever-6.0.1pre"
 
VERSION_TAG = "TheleTTD-6.0.1pre"
 
#================================
 
 
 
if sys.platform == "darwin":
 
	hg_path = "/usr/local/bin/hg"
 
	hg_shell = True
 
@@ -44,8 +44,8 @@ if not IS_TAGGED_VERSION:
 
 
# write in format  VERSION ISODATE MODIFIED HASH ISTAG ISSTABLETAG YEAR
 
version_file = open('.ottdrev-gpp', 'w')
 
version_file.write("{}\t{}\t{}\t{}\t{}\t{}\t{}\n".format(VERSION_TAG, HG_DATE[:10].replace("-",""), "4" if "+" in HG_REVISION else "3", HG_CHANGESET, "1" if IS_TAGGED_VERSION else "0", "0", HG_DATE[:4]))
 
version_file.close()
 
 
print('This is Ginever.net OpenTTD Patchpack hg r' + HG_REVISION + ' (' + HG_CHANGESET + ') in branch ' + HG_BRANCH)
 
print('This is TheleTTD hg r' + HG_REVISION + ' (' + HG_CHANGESET + ') in branch ' + HG_BRANCH)
 
print('This build is being performed by: ' + HG_REPO_OWNER)
0 comments (0 inline, 0 general)