Commit Graph

734 Commits (tracerestrict)

Author SHA1 Message Date
fonsinchen 9589715d3e (svn r25363) -Codechange: bump the savegame version for cargodist 11 years ago
fonsinchen 1de46050f6 (svn r25362) -Feature: consider cargo waiting at other stations for rating at the origin station 11 years ago
fonsinchen f022550df9 (svn r25361) -Feature: distribute cargo according to plan given by linkgraph 11 years ago
fonsinchen 45d7df8fc2 (svn r25360) -Codechange: save and load flow stats 11 years ago
fonsinchen 111ecddb50 (svn r25358) -Codechange: save and load link graph jobs and the schedule 11 years ago
zuu 65129db43c (svn r25342) -Add: StoryPage data structures and GS API 11 years ago
fonsinchen ace5038657 (svn r25337) -Fix: saving only 8 bits of 16 causes endianness problems 11 years ago
rubidium 2b2706009e (svn r25312) -Fix-ish: missing spaces after comma + realignment of tables; quite boring with -x -w 11 years ago
zuu f23a61e1aa (svn r25296) -Feature: Goals can now have a progress text and/or be marked as completed. 12 years ago
rubidium 6b746167e4 (svn r25259) -Codechange: track capacities and usage of links 12 years ago
rubidium 6515371cf5 (svn r25258) -Codechange: save linkgraph (fonsinchen) 12 years ago
frosch c5d7445704 (svn r25185) -Fix [FS#5508]: Remove ambivalent functions CargoList::Empty() and Count(), and replace them with VehicleCargoList::StoredCount(), TotalCount(), StationCargoList::AvailableCount() and TotalCount(). (fonsinchen) 12 years ago
rubidium 7aefa8527c (svn r25152) -Fix-ish [FS#5520]: remove stray reservation from savegames affected by FS#5510 et al. upon loading 12 years ago
rubidium 3aed6229b5 (svn r25136) -Merge: 1.3 release (documentation) updates 12 years ago
frosch 789e4a8998 (svn r25115) -Fix (r8973) [FS#5492-ish]: [NewGRF] Acceleration of NewGRF aircraft was too fast, while acceleration of default aircraft was way too slow. I.e. choose wisely who to let write the software for your orbiter. 12 years ago
frosch 972c4560dc (svn r25041) -Remove [FS#3764-ish]: ordered refit with subtypes, since the cases where it worked were corner cases rather than the general case. 12 years ago
rubidium 7dd2354a13 (svn r25012) -Codechange: persistently keep 'reserved' cargo (for full-load improved loading) instead of calculating if for every cycle 12 years ago
rubidium c62cbe04a4 (svn r25011) -Codechange: allow vehicle transfer and profit text effects to be shown at the same time (fonsinchen) 12 years ago
rubidium 58ec317c5a (svn r24998) -Fix [FS#5137]: Set vehicle's service interval is percent flag appropriately on creation (peter1138) 12 years ago
rubidium 8539c04192 (svn r24995) -Codechange: Add flags to vehicle service interval for custom & ispercent (peter1138) 12 years ago
rubidium 2c67dc3d9f (svn r24994) -Codechange: Replace access to service_interval with accessors (peter1138) 12 years ago
peter1138 1e10e91fde (svn r24905) -Feature(ish): Implement station randomisation triggers. 12 years ago
planetmaker f00d9976f9 (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
rubidium 5539263c6a (svn r24878) -Update: the obligatory first of January commit 12 years ago
rubidium b89df11932 (svn r24877) -Fix: some whitespace "errors" 12 years ago
frosch 9f0e8399b0 (svn r24810) -Fix: Make engine preview offers more robust wrt. changes in the company ranking. 12 years ago
frosch 75eb34b48c (svn r24795) -Fix (r24789): Unfinished patch. 12 years ago
frosch 76fef0843c (svn r24790) -Remove: Classic difficulty profiles. 12 years ago
frosch 9ef1c5f4c3 (svn r24789) -Add: Separate setting to control the default settings of newly added scripts and random AIs. 12 years ago
alberth 19adc87262 (svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb) 12 years ago
rubidium d2b2e20818 (svn r24754) -Fix [FS#5367]: crash on corrupted savegame 12 years ago
frosch 193ee85c6f (svn r24718) -Codechange: Rename GoodsEntry::days_since_pickup to GoodsEntry::time_since_pickup. 12 years ago
frosch 6af105dc6b (svn r24717) -Fix [FS#5139]: When starting a scenario apply the local company settings to the new company. 12 years ago
planetmaker f46b2fd4b3 (svn r24619) -Change: Check for bankruptcy on a monthly basis (ZxBioHazardZx) 12 years ago
frosch c3fe49c958 (svn r24565) -Fix: Stop both price and payment inflation if either of them has reached MAX_INFLATION. 12 years ago
frosch aea90e69f6 (svn r24564) -Fix [FS#5312] (r17433): Limiting the inflation did not quite work. 12 years ago
alberth 670c364323 (svn r24540) -Codechange: Remove the not-so-useful HALF_TILE_SIZE constant. 12 years ago
frosch 7814956d4c (svn r24482) -Fix [FS#5232] (r24180): Do not call RebuildSubsidisedSourceAndDestinationCache() before subsidy savegame conversion is finished. 12 years ago
frosch 348f2d35be (svn r24446) -Add [FS#5199]: Store more consist properties in order backups. 12 years ago
frosch 8d09070bb7 (svn r24445) -Fix: Do not load order backups when loading a server-saved game in single player. 12 years ago
frosch 432835ab07 (svn r24444) -Codechange: Base OrderBackup on BaseConsist. 12 years ago
alberth 4ae69a088d (svn r24405) -Add: Save and load of active cargo monitors. 12 years ago
frosch 2c056677f5 (svn r24182) -Fix [FS#5169-ish]: The population of a town was computed incorrectly for overridden houses when loading a game. 13 years ago
rubidium 81d866e68d (svn r24180) -Codechange/feature-ish: add cache checker for the town's cache 13 years ago
rubidium 76d5833650 (svn r24179) -Codechange: move some variables of Town to TownCache 13 years ago
frosch 3d7ac6af1a (svn r24166) -Codechange: Turn NewGRFClass::Get(Tid, uint) and GetCount(Tid) into non-static members GetSpec(uint) and GetSpecCount(). 13 years ago
michi_cc 72b3bb9dd5 (svn r24136) -Feature [FS#4465]: Autoreplace vehicles only when they get old. (Vikthor) 13 years ago
michi_cc 07f32df363 (svn r24134) -Add: Configurable limits for tree planting. 13 years ago
michi_cc 2eae02db59 (svn r24132) -Change [FS#4713]: Improve randomness of tile order in the tile loop. (monoid) 13 years ago
rubidium 0b23378d78 (svn r24033) -Fix: reset "is random" status of temporary variable during saveload as it's not always written to when loading an AI which means it'd be taking the is random setting of another AI. 13 years ago
michi_cc 92b3c26686 (svn r23973) -Fix (r23947): Also save the maximum travel speed for the current vehicle order. 13 years ago
rubidium 3c86956603 (svn r23967) -Fix-ish: don't fix road ownership of standard road stops each time you load a savegame, only when loading an old one 13 years ago
michi_cc 64c5299b4d (svn r23947) -Feature: Timetabled maximum travel speeds for non-flying vehicles. 13 years ago
rubidium 61ce522bfa (svn r23942) -Fix: infrastructure cache of standard road stops would get messed up when buying a company with them 13 years ago
frosch 808f1151c2 (svn r23920) -Fix: Consider only the middle tile of a lock for lock-infrastructure costs. The other two tiles may be owned by other companies. Also do not count the middle tile of a lock as canal, independent of whether it is build on ground or river slope. 13 years ago
rubidium 8123f2929f (svn r23853) -Fix: several incorrect @files 13 years ago
michi_cc f2fc765290 (svn r23844) -Fix (r23414): Infrastructure count for stations wasn't updated properly on company takeover. And don't count buoys while loading a game either. 13 years ago
frosch 20c4f128ab (svn r23835) -Change [FS#4999]: Make signs placed in scenario editor belong to the GS. That way they are always shown in game and are not editable. 13 years ago
frosch e53ba1a4ac (svn r23829) -Fix [FS#4996]: Loading empty GS strings/translations failed. 13 years ago
frosch 14fd811333 (svn r23828) -Fix: Return early from SlString() for empty strings, before doing invalid things which surprisingly do not break everything. 13 years ago
rubidium 464d51905a (svn r23826) -Fix [FS#4972]: the detailed performance rating window showed the cargo count of the current quarter instead of the last quarter like the tooltip says 13 years ago
yexo d9f3912c59 (svn r23816) -Fix (r23635, r23805): make SCC_ENCODED the first entry in the StringControlCode enum since it's value is not allowed to change 13 years ago
michi_cc 617993e904 (svn r23773) -Change: [NewGRF] Update all cached train properties if a train vehicle enters a new railtype. 13 years ago
rubidium d5eeab43b7 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
truebrain 92c60447dc (svn r23713) -Codechange: split VehicleMove() into two functions, to minimalize the work done where possible 13 years ago
truebrain 5f65e056e1 (svn r23712) -Codechange: rename the two vehicle hashes we have to names that make clear where they differ in 13 years ago
rubidium e1757cb9a5 (svn r23694) -Fix (rprev): somehow compilers didn't understand what I meant... 13 years ago
rubidium 9f4b0eedde (svn r23693) -Fix [FS#4859]: hardcode the original defaults for loading old savegames if they could totally mess with the game's behaviour 13 years ago
yexo 9cdeead3bb (svn r23657) -Fix (r22958): loading of very old savegames with custom town names failed 13 years ago
truebrain d64d053156 (svn r23649) -Fix [FS#4905) (r23634): loading a savegame with an empty GSTR chunk caused assert 13 years ago
truebrain aa1a0053b0 (svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC) 13 years ago
truebrain 474ba5fd88 (svn r23637) -Change: bump the savegame, to store all the new goodies 13 years ago
truebrain 8ac2d13c79 (svn r23636) -Add: introduce ScriptText in parameters where it can be used 13 years ago
truebrain f1f0776efd (svn r23634) -Add: support language files for GameScript (Rubidium) 13 years ago
truebrain ccf9b01f5d (svn r23630) -Add: a Goal GUI to show your current goals 13 years ago
truebrain 6961332f05 (svn r23626) -Add: ScriptTown::SetText, which adds custom text to the Town GUI 13 years ago
truebrain 5d4b2519a4 (svn r23609) -Add: save/load all GameScript related material 13 years ago
truebrain 2b381d0765 (svn r23603) -Add: support for control commands in strings, in both network and safe/load (Rubidium) 13 years ago
rubidium 3d605f6488 (svn r23595) -Codechange: add comma after last enum to get a more uniform coding style 13 years ago
rubidium 24263638bf (svn r23526) -Codechange: unify cargos vs cargoes 13 years ago
michi_cc 957b643ae6 (svn r23504) -Feature: Aircraft range. 13 years ago
yexo e96019ff0d (svn r23501) -Fix: loading scenarios downloaded from the online content didn't work anymore 13 years ago
rubidium c3440658e8 (svn r23480) -Fix [FS#4594]: replace OS error messages with internal error messages when that's possible 13 years ago
rubidium 56f37d9386 (svn r23476) -Codechange: use the error queue to replace switch mode error strings, again making it possible to return multiple errors 13 years ago
rubidium 9aab2dc861 (svn r23474) -Codechange: move the declaration error related functions to error.h 13 years ago
rubidium 4e352df9c9 (svn r23418) -Fix [FS#4866] (r22958): saves made with the Catalan town name generator would trigger a "savegame corrupt" exception 13 years ago
michi_cc fc8633e1ac (svn r23415) -Feature: Infrastructure maintenance costs. 13 years ago
michi_cc bf5ef7537e (svn r23414) -Add: Company infrastructure counts for stations/airports. 13 years ago
michi_cc 796fe54a2f (svn r23413) -Add: Company infrastructure counts for canals. 13 years ago
michi_cc 7a6b45c133 (svn r23412) -Add: Company infrastructure counts for road. 13 years ago
michi_cc 85ec2f07af (svn r23411) -Add: Company infrastructure counts for rail. 13 years ago
michi_cc b68ced52c4 (svn r23410) -Add: A window with a detailed overview over the infrastructure of a company. 13 years ago
terkhen a6557b4f09 (svn r23407) -Codechange: Keep a bitmap of all cargos accepted by towns. 13 years ago
terkhen a9cc00bf68 (svn r23405) -Codechange: Keep a matrix of cargos accepted by houses for each town (michi_cc). 13 years ago
truebrain ac0f5398c2 (svn r23386) -Fix: debug script related events to 'script' (removes 'ai') 13 years ago
truebrain bf803e40cc (svn r23384) -Remove: no longer allow a binary to be without AI support; the parts some compilers failed at, are integrated in other parts of the code now too 13 years ago
truebrain d6e042c735 (svn r23376) -Remove: on popular demand, remove my (revoked) name from comments in the code. It was silly to name me like that to begin with ;) (based on patch by HackaLittleBit) 13 years ago
truebrain e7c77353ce (svn r23364) -Codechange: refactor AIConfig, moving it mostly to Scriptconfig 13 years ago
peter1138 b84174fd4d (svn r23316) -Feature: Add ability to zoom in to 2x and 4x level. 13 years ago
peter1138 782aee3c2a (svn r23314) -Add: Add settings to restrict viewport zoom levels. 13 years ago
truebrain 1ad295a4cf (svn r23309) -Fix: loading old games didn't have goals set for towns (tnx to frosch for spotting) 13 years ago
truebrain 3a5d257e46 (svn r23304) -Add: bump the savegame to start storing the new bits and pieces 13 years ago
truebrain 2306f2ab6d (svn r23300) -Add: show on the GUI when a town grows and make a general framework to store goals of a town 13 years ago
truebrain 19791d3189 (svn r23298) -Add: track statistics of all incoming and outgoing goods. Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen) 13 years ago
michi_cc 3b45b41e68 (svn r23290) -Fix [FS#2379,FS#3569]: Change the centre of train vehicles to depend on the vehicle length instead of being fixed at 4/8th of the original vehicle length to make sure shortened vehicles don't block tiles they shouldn't block. 13 years ago
michi_cc 56a592dcbd (svn r23233) -Codechange: Refactor maximum and actually transported cargo amount of towns into a reusable struct. 13 years ago
rubidium 215452b911 (svn r23195) -Codechange: if we really need to cast away constness, use const_cast 13 years ago
rubidium e81d564625 (svn r23192) -Codechange: don't cast away const needlessly 13 years ago
yexo 0566a6cfda (svn r23168) -Feature [FS#1824]: always draw fences around field tiles 13 years ago
rubidium 6fe13b1451 (svn r23105) -Fix (r23104): Kenobi visited me ;) 13 years ago
rubidium 1138abad35 (svn r23104) -Codechange: prepare the vehicle/sign z for some further changes to reduce casting 13 years ago
rubidium bcb93b3b75 (svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it 13 years ago
rubidium de980ef0f9 (svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight) 13 years ago
rubidium 41223c8bc9 (svn r23084) -Codechange: get rid of a redundant variable 13 years ago
yexo 091d31b84b (svn r23083) -Fix: run StartupEngines() if NewGRFs changed during loading a savegame, just like it's running when NewGRFs are changed during a game 13 years ago
frosch 6e61fee028 (svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to draw different sprites on the map and in various GUIs. 13 years ago
frosch e57ba5d0ae (svn r23074) -Codechange: Add Vehicle::GetEngine() to simplify code. 13 years ago
yexo 047957487a (svn r23065) -Add: -q option to read a savegame, write some general info and exit 13 years ago
frosch 5c854f2643 (svn r23013) -Doc: Add a note about the savegame version used in the 1.1 branch. 13 years ago
frosch 4961cd06a9 (svn r22977) -Codechange: Rename SetCachedEngineCounts() to GroupStatistics::UpdateAfterLoad(). 13 years ago
frosch 7d1755403b (svn r22975) -Codechange: Do not store Group::num_vehicle in the savegame, but compute it like num_engines on load. 13 years ago
rubidium e11b817281 (svn r22958) -Fix [FS#4778]: the savegame description and loading of savegames would crash with savegames from a patched stable (which didn't bump the savegame version) 13 years ago
rubidium 3722a0bf98 (svn r22957) -Codechange: SPECSTR_PLAYERNAME is actually the company name, which is derived from the town name + ' Transport'. So make sure the last constant is in sync with the town name table 13 years ago
yexo 72500ddedf (svn r22920) -Cleanup: replace two very old town variables taht were rarely used by small functions that compute there value on-the-fly when necessary 13 years ago
yexo 561d6503be (svn r22915) -Fix (r22743): TTO savegames with any aircraft not in an hangar caused crashes during load 13 years ago
rubidium b7722dbe86 (svn r22914) -Fix [FS#4716]: old TTO/TTD savegames could get non-stop via orders upon savegame loading, even when those orders did not exist back then. This 'conversion' feature is something for TTDPatch and old OpenTTD savegames 13 years ago
frosch 7337332026 (svn r22880) -Cleanup: SIZE_MAX is now defined in stdafx.h 13 years ago
planetmaker 142e244df6 (svn r22843) -Fix [FS#4748]: Harden savegame load against too many ai config settings (monoid) 13 years ago
rubidium 62886dfeed (svn r22827) -Codechange: pass the/a more proper sub directory when opening (some) files instead of the default one 13 years ago
rubidium 5928dbb8a3 (svn r22811) -Change: don't try to load static NewGRFs when loading the intro game for the first time 13 years ago
rubidium 56fedc4db9 (svn r22767) -Add: river generation 13 years ago
rubidium d6a0e5f240 (svn r22737) -Fix [FS#4717]: some corrupted savegames could crash OpenTTD instead of showing the "savegame corrupted" message 13 years ago
rubidium e01b2e26c3 (svn r22736) -Codechange: constify some numbers 13 years ago
michi_cc d25840978c (svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period. 13 years ago
frosch 31ad03e4d2 (svn r22693) -Fix [FS#4691]: The override managers were not reset in some cases like creating a new scenario. 13 years ago
frosch 78e4abbed0 (svn r22644) -Codechange: Use IsShipDepotTile() instead of single water- and depottests. (adf88) 13 years ago
frosch 1bf9bc70a3 (svn r22625) -Fix (r22050)[FS#4642]: Do not zero the orders of disaster vehicles when converting savegames. 13 years ago
terkhen fbf8b6c5ed (svn r22573) -Fix (r22567): Fix operator precedence. 13 years ago
terkhen 2eb8903dce (svn r22568) -Change: Add a list of persistent storages to the Town class. 13 years ago
terkhen 7e0daae1ec (svn r22567) -Codechange: Store persistent storages inside a pool. 13 years ago
terkhen 55695277c8 (svn r22540) -Codechange: Rename AcceptancePickup to GoodsEntryStatus. 14 years ago
smatz c779ee6b58 (svn r22487) -Fix (r15216)[FS#4622]: engine IDs for coal and mail wagons were swapped 14 years ago
planetmaker 7aa57e4acd (svn r22473) -Codechange: Automatic orders are better called implicit orders as no real order influencing path finding is added 14 years ago
alberth a70556dac2 (svn r22459) -Doc: Typo fixes and doxygen markup improvements. 14 years ago
rubidium 6e9122828e (svn r22406) -Document: some more "random-ish" tidbits 14 years ago
rubidium f23d4a7565 (svn r22371) -Fix [FS#4596]: make sure saving has completely and utterly finished before starting a new one. Otherwise you could start a save, which would be marked as done by the previous save stopping and then yet another save could be started... and that could create a deadlock 14 years ago
rubidium 2a7912d415 (svn r22198) -Codechange: make some constants name more explicit 14 years ago
smatz b04623b63c (svn r22155) -Codechange: one comment in saveload/station_sl.cpp was wrong 14 years ago
rubidium 3b268b61bd (svn r22146) -Fix: don't run savegame conversion during SlNullPointers; the pointer might not be converted or be NULL at that point 14 years ago
alberth a14f4eb271 (svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)' 14 years ago