summaryrefslogtreecommitdiff
path: root/src/table
AgeCommit message (Collapse)Author
2019-04-15Fix: Typos. (#7517)stormcone
2019-04-11Codechange: NULL -> nullptr in settings files.peter1138
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-04-08Fix #6222: Advanced sprite layout sometimes showed incorrect railtype ground ↵kiwitreekor
tile
2019-03-24Codechange: Use override specifer for overriding member declarationsHenry Wilson
This is a C++11 feature that allows the compiler to check that a virtual member declaration overrides a base-class member with the same signature. Also src/blitter/32bpp_anim_sse4.hpp +38 is no longer erroneously marked as virtual despite being a template.
2019-03-20Fix #7390: Extra line removed by mistake caused server_password to disappear ↵peter1138
from settings.
2019-03-20Remove: ENABLE_NETWORK switchPatric Stout
This switch has been a pain for years. Often disabling broke compilation, as no developer compiles OpenTTD without, neither do any of our official binaries. Additionaly, it has grown so hugely in our codebase, that it clearly shows that the current solution was a poor one. 350+ instances of "#ifdef ENABLE_NETWORK" were in the code, of which only ~30 in the networking code itself. The rest were all around the code to do the right thing, from GUI to NewGRF. A more proper solution would be to stub all the functions, and make sure the rest of the code can simply assume network is available. This was also partially done, and most variables were correct if networking was disabled. Despite that, often the #ifdefs were still used. With the recent removal of DOS, there is also no platform anymore which we support where networking isn't working out-of-the-box. All in all, it is time to remove the ENABLE_NETWORK switch. No replacement is planned, but if you feel we really need this option, we welcome any Pull Request which implements this in a way that doesn't crawl through the code like this diff shows we used to.
2019-03-16Remove: OPFCharles Pigott
2019-03-08Feature: Industries with neutral stations (e.g. Oil Rig) only supply/accept ↵PeterN
cargo to/from their neutral station. (#7234) This change is a controlled by a game setting, located under Environment -> Industries which allows toggling the behaviour. It defaults to enabled. "Company stations can serve industries with attached neutral stations" When enabled, industries with attached neutral station (such as Oil Rigs) may also be served by company-owned stations built nearby. This is the traditional behaviour. When disabled, these industries may only be served by their neutral station. Any nearby company-owned stations won't be able to serve them, nor will the neutral station serve anything else other than the industry.
2019-03-08Change: Add configurable curve penalty for ships.Peter Nelson
2019-03-07Fix: spelling for a few real town names (#7338)nikolas
Added special characters to mostly Slovak towns, a few Spanish, and one Turkish.
2019-03-04Add: Option for population-linear town cargo generationNiels Martin Hansen
Introduce a new default algorithm for town cargo generation (passengers and mail), and a game setting to choose between the new and original algorithm. The original town cargo generation algorithm has the property of the generated amount relating to the square of each building's population, meaning large towns easily produce more cargo than can realistically be transported. The problem is excessive cargo is amplified if playing with cargodist. The new algorithm introduced instead has a linear relation to the population. The result is that smaller towns will produce slightly more cargo, while the largest towns will produce about a fourth of what they would with the original algorithm. Existing savegames will use the original algorithm, while new games will default to the new algorithm.
2019-02-28Change: Decrease minimum permitted value for script_max_opcode_till_suspend ↵SamuXarick
setting (#7243)
2019-02-23Feature: Add option to adjust font size separately from GUI size. (#7003)Greg Carlin
Adds an option in the "Game Options" next to "Interface Size" called "Font Size". Available options are normal, double, and quad.
2019-02-02Codechange: Convert saveload numbers to enum values.Peter Nelson
(This was mostly achieved with a few in-place regexes)
2019-02-02Codechange: Make saveload version upper bound exclusive, i.e. version object ↵Peter Nelson
was removed instead of version object last appeared.
2019-02-01Fix: Set MU flag on some default engines.Peter Nelson
2019-01-31Feature: Group liveries, and livery window usability enhancements. (#7108)PeterN
* Change: Replace checkbox in livery selection window with Default option in drop down selection. This reduces clutter in the UI and allows for primary/secondary colours to independently follow the default scheme if desired. * Feature: Add vehicle group liveries.
2019-01-30Fix: unicode characters in Romanian town names (#7141)nikolas
Many of these town names were using the 'a with ~ above it' character, which should actually by 'a with u above it'. There were other missing accents as well which I've added.
2019-01-24Fix: Remove duplicate French and Slovak town namesNikolas Nyby
I've replaced some of the duplicate real town names with new real town names in the French and Slovak sets. Also, some Slovak town names were missing accents, so I've fixed those.
2019-01-21Add: Houses can accept up to 16 different cargo types via NewGRF.Niels Martin Hansen
New Action0 property 23 for feature 07, variable length, format B n*(B B). Initial byte is number of structures following. First byte in structure is cargo id, second is acceptance level in 1/8 units.
2019-01-19Change: Invalidate ship path caches if pathfinder choice or forbid-90-degree ↵Peter Nelson
turns are changed.
2019-01-12Fix: Remove duplicate town name "Huacho" (#7038)nikolas
Huacho appears twice in the Spanish town names list. This change removes the second one, and replaces it with a new one: Medellin.
2019-01-11Fix: Spelling fixes on some Latin American town namesNikolas Nyby
2019-01-10Add #4115: default company colour setting (#6998)Gabda87
Works only in single player.
2018-12-27Fix: [Win32] WIN32 may not be defined, always prefer the compiler predefined ↵glx
macro _WIN32
2018-11-03Add: NewGRF support for 16-in-16-out industriesNiels Martin Hansen
2018-11-03Add: Industries can produce and accept up to 16 different cargoesNiels Martin Hansen
2018-10-25Fix #4109: Add more water checks to the Oil Rig layoutSamu
Prevents Oil Rig docking tile from becoming unreachable by ships when spawning next to each other.
2018-06-27Codechange: lengthof is not defined for runtime-length strings, use sizeof ↵Charles Pigott
instead
2018-06-23Feature #986: Automatic save when losing connection to a network gameNiels Martin Hansen
2018-04-28Add: Replace independment map scrolling GUI settings with single option, and ↵PeterN
add choice to not lock cursor position when scrolling. (#6756)
2018-04-19Add: {PUSH_COLOUR} and {POP_COLOUR} control codes to handle switching ↵PeterN
colours. (#6737) This replaces the internal SCC_PREVIOUS_COLOUR swap.
2018-04-17Fix #6465: Add {NORMAL_FONT} and {MONO_FONT} control codes to GS strings (#6726)Pavel Stupnikov
2018-03-11(svn r27978) -Fix [FS#6673] (r18541): Store the map variety setting in the ↵frosch
samegame like the other mapgen settings, so restarting maps considers it. (Samu)
2018-03-05(svn r27972) -Fix (r15271) [FS#6670]: Catenary sprites got mixed up for depots.peter1138
2017-08-31(svn r27908) -Codechange: Mark airport tile tables and FTAs "const" to be ↵adf88
sure that they are really constant
2017-03-24(svn r27825) -Feature [FS#4950]: Add option to close windows with right ↵peter1138
click (Flamefire)
2017-02-26(svn r27760) -Change: Enable realisitic train and road vehicle acceleration ↵frosch
by default.
2016-12-23(svn r27706) -Feature: [NewGRF] String command 9A 1E to print the name of a ↵frosch
cargo type.
2016-12-22(svn r27705) -Doc: Add the hex codes to the SCC_NEWGRF_ enum entries.frosch
2016-11-05(svn r27676) -Codechange: Rename catenary functions, so that they refer ↵frosch
unambiguously to either RoadCatenary or RailCatenary.
2016-09-05(svn r27654) -Change: Enable C++11 for clang 3.3 (LordAro)frosch
2015-08-10(svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing ↵michi_cc
conversions in initializer lists.
2015-08-10(svn r27378) -Codechange: Fix indentation of the table values, allow Doxygen ↵alberth
to link to the TextColour enum.
2015-07-26(svn r27340) -Fix [FS#6338]: Silence warning by moving _string_colourmap to ↵frosch
a file no its own. (Cif)
2015-05-28(svn r27295) -Add: [strgen] Default plural subparameter positions for ↵frosch
CARGO_xxx string control codes.
2015-04-11(svn r27231) -Codechange: Replace magic numbers for the smoothness setting ↵alberth
(chillcore)
2015-03-13(svn r27183) -Fix: GCC5 compilationrubidium
2015-02-22(svn r27163) -Fix [FS#6204]: Toolbars were not invalidated when changing ↵frosch
max-vehicles settings. (adf88)