Files @ r12269:f94731e7dc53
Branch filter:

Location: cpp/openttd-patchpack/source/src/music.cpp

rubidium
(svn r16694) -Fix [FS#2995] (rgradual loading, rnewindustries): only pay for whatever has been actually unloaded and perform the payment when unloading has finished. This fixes, amongst others:
* cheating by starting to unload and after getting paid rushing to the depot to get sold (or unloading, loading and getting paid again for the remainder)
* cargo being dropped onto a station at the moment a stockpiling industry doesn't accept it anymore
* industries getting cargo that has not been unloaded yet and subsequently dumping it back on the station in one go
Note: you will now get paid after the unloading has finished, so you'll have to wait a bit longer for 'your' money.
/* $Id$ */

/** @file music.cpp The songs that OpenTTD knows. */

#include "stdafx.h"
#include "music.h"

const SongSpecs _origin_songs_specs[] = {
	{"gm_tt00.gm", "Tycoon DELUXE Theme"},
	{"gm_tt02.gm", "Easy Driver"},
	{"gm_tt03.gm", "Little Red Diesel"},
	{"gm_tt17.gm", "Cruise Control"},
	{"gm_tt07.gm", "Don't Walk!"},
	{"gm_tt09.gm", "Fell Apart On Me"},
	{"gm_tt04.gm", "City Groove"},
	{"gm_tt19.gm", "Funk Central"},
	{"gm_tt06.gm", "Stoke It"},
	{"gm_tt12.gm", "Road Hog"},
	{"gm_tt05.gm", "Aliens Ate My Railway"},
	{"gm_tt01.gm", "Snarl Up"},
	{"gm_tt18.gm", "Stroll On"},
	{"gm_tt10.gm", "Can't Get There From Here"},
	{"gm_tt08.gm", "Sawyer's Tune"},
	{"gm_tt13.gm", "Hold That Train!"},
	{"gm_tt21.gm", "Movin' On"},
	{"gm_tt15.gm", "Goss Groove"},
	{"gm_tt16.gm", "Small Town"},
	{"gm_tt14.gm", "Broomer's Oil Rag"},
	{"gm_tt20.gm", "Jammit"},
	{"gm_tt11.gm", "Hard Drivin'"},
};

assert_compile(NUM_SONGS_AVAILABLE == lengthof(_origin_songs_specs));