JMcKiern
04f659e768
Fix: Some typos found using codespell
5 years ago
Michael Lutz
a8b6e9f23c
Codechange: Refactor the Freetype font cache into a generic part that does not depend on Freetype and into one that does.
...
This makes it easier to add other TrueType font rendering engines.
5 years ago
Niels Martin Hansen
140a96b3a0
Change: Limit memory allocations for each Squirrel instance
...
This can avoid out-of-memory situations due to single scripts using up the entire address space.
Instead, scripts that go above the maximum are killed.
The maximum is default 1 GB per script, but can be configured by a setting.
5 years ago
Michael Lutz
0344e7a0a1
Fix #7463 : Promote scroll mode setting to basic category.
5 years ago
peter1138
51dd751f4a
Fix #7565 : Incorrect cursor used for placing road/tram tunnels.
5 years ago
Corns McGowan
4d0ee65b51
Change: Set default setting in server browser of "Advertised" to "Yes". ( #7568 )
5 years ago
peter1138
c02ef3e456
Feature: Add NotRoadTypes (NRT)
6 years ago
Charles Pigott
644f4c3547
Codechange: Set size of SettingGuiFlag & SettingDescType enums, and use them properly
6 years ago
Charles Pigott
96097b34a5
Codechange: Remove Direction*Byte types
6 years ago
Charles Pigott
931d32f414
Codechange: Remove RailTypeByte type
6 years ago
stormcone
79343762a4
Fix: Typos. ( #7517 )
6 years ago
peter1138
c0836bccef
Codechange: NULL -> nullptr in settings files.
6 years ago
Henry Wilson
7c8e7c6b6e
Codechange: Use null pointer literal instead of the NULL macro
6 years ago
kiwitreekor
bc9b47d2e5
Fix #6222 : Advanced sprite layout sometimes showed incorrect railtype ground tile
6 years ago
Henry Wilson
af7d9020a1
Codechange: Use override specifer for overriding member declarations
...
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.
6 years ago
peter1138
c34f07d5fd
Fix #7390 : Extra line removed by mistake caused server_password to disappear from settings.
6 years ago
Patric Stout
e3c639a09f
Remove: ENABLE_NETWORK switch
...
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.
6 years ago
Charles Pigott
fe448a2616
Remove: OPF
6 years ago
PeterN
dd20ccee88
Feature: Industries with neutral stations (e.g. Oil Rig) only supply/accept 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.
6 years ago
Peter Nelson
b8a0107ad1
Change: Add configurable curve penalty for ships.
6 years ago
nikolas
a7e335c0b3
Fix: spelling for a few real town names ( #7338 )
...
Added special characters to mostly Slovak towns, a few Spanish, and one Turkish.
6 years ago
Niels Martin Hansen
52572cafa6
Add: Option for population-linear town cargo generation
...
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.
6 years ago
SamuXarick
03264059e4
Change: Decrease minimum permitted value for script_max_opcode_till_suspend setting ( #7243 )
6 years ago
Greg Carlin
00d28a500d
Feature: Add option to adjust font size separately from GUI size. ( #7003 )
...
Adds an option in the "Game Options" next to "Interface Size" called "Font Size". Available options are normal, double, and quad.
6 years ago
Peter Nelson
9de12521ec
Codechange: Convert saveload numbers to enum values.
...
(This was mostly achieved with a few in-place regexes)
6 years ago
Peter Nelson
ea4ea62816
Codechange: Make saveload version upper bound exclusive, i.e. version object was removed instead of version object last appeared.
6 years ago
Peter Nelson
12b6fe47c7
Fix: Set MU flag on some default engines.
6 years ago
PeterN
23960d0f2c
Feature: Group liveries, and livery window usability enhancements. ( #7108 )
...
* 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.
6 years ago
nikolas
8334a57332
Fix: unicode characters in Romanian town names ( #7141 )
...
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.
6 years ago
Nikolas Nyby
4158c077cd
Fix: Remove duplicate French and Slovak town names
...
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.
6 years ago
Niels Martin Hansen
48b334cf97
Add: Houses can accept up to 16 different cargo types via NewGRF.
...
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.
6 years ago
Peter Nelson
4daaec1a94
Change: Invalidate ship path caches if pathfinder choice or forbid-90-degree turns are changed.
6 years ago
nikolas
82e530b517
Fix: Remove duplicate town name "Huacho" ( #7038 )
...
Huacho appears twice in the Spanish town names list. This change removes
the second one, and replaces it with a new one: Medellin.
6 years ago
Nikolas Nyby
65746a0275
Fix: Spelling fixes on some Latin American town names
6 years ago
Gabda87
a0293d313d
Add #4115 : default company colour setting ( #6998 )
...
Works only in single player.
6 years ago
glx
c540d72445
Fix: [Win32] WIN32 may not be defined, always prefer the compiler predefined macro _WIN32
6 years ago
Niels Martin Hansen
e66cec8f86
Add: NewGRF support for 16-in-16-out industries
6 years ago
Niels Martin Hansen
8859381d30
Add: Industries can produce and accept up to 16 different cargoes
6 years ago
Samu
eff09c43cd
Fix #4109 : Add more water checks to the Oil Rig layout
...
Prevents Oil Rig docking tile from becoming unreachable by ships when spawning next to each other.
6 years ago
Charles Pigott
2aacddd412
Codechange: lengthof is not defined for runtime-length strings, use sizeof instead
6 years ago
Niels Martin Hansen
4fb76db42f
Feature #986 : Automatic save when losing connection to a network game
6 years ago
PeterN
cfe6a8ea4f
Add: Replace independment map scrolling GUI settings with single option, and add choice to not lock cursor position when scrolling. ( #6756 )
7 years ago
PeterN
3b32075e8a
Add: {PUSH_COLOUR} and {POP_COLOUR} control codes to handle switching colours. ( #6737 )
...
This replaces the internal SCC_PREVIOUS_COLOUR swap.
7 years ago
Pavel Stupnikov
9175c349da
Fix #6465 : Add {NORMAL_FONT} and {MONO_FONT} control codes to GS strings ( #6726 )
7 years ago
frosch
59dd7be686
(svn r27978) -Fix [FS#6673] (r18541): Store the map variety setting in the samegame like the other mapgen settings, so restarting maps considers it. (Samu)
7 years ago
peter1138
86829c54c4
(svn r27972) -Fix (r15271) [FS#6670]: Catenary sprites got mixed up for depots.
7 years ago
adf88
6dec889306
(svn r27908) -Codechange: Mark airport tile tables and FTAs "const" to be sure that they are really constant
7 years ago
peter1138
d934ef9b00
(svn r27825) -Feature [FS#4950]: Add option to close windows with right click (Flamefire)
8 years ago
frosch
1b9139efe8
(svn r27760) -Change: Enable realisitic train and road vehicle acceleration by default.
8 years ago
frosch
b25afb239a
(svn r27706) -Feature: [NewGRF] String command 9A 1E to print the name of a cargo type.
8 years ago
frosch
2c8b84f21d
(svn r27705) -Doc: Add the hex codes to the SCC_NEWGRF_ enum entries.
8 years ago
frosch
d9bfe88261
(svn r27676) -Codechange: Rename catenary functions, so that they refer unambiguously to either RoadCatenary or RailCatenary.
8 years ago
frosch
ac6793dace
(svn r27654) -Change: Enable C++11 for clang 3.3 (LordAro)
8 years ago
michi_cc
2b8bb12d62
(svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing conversions in initializer lists.
9 years ago
alberth
d818e1779c
(svn r27378) -Codechange: Fix indentation of the table values, allow Doxygen to link to the TextColour enum.
9 years ago
frosch
4830497f0b
(svn r27340) -Fix [FS#6338]: Silence warning by moving _string_colourmap to a file no its own. (Cif)
9 years ago
frosch
50a3f44539
(svn r27295) -Add: [strgen] Default plural subparameter positions for CARGO_xxx string control codes.
9 years ago
alberth
a91f74dbb3
(svn r27231) -Codechange: Replace magic numbers for the smoothness setting (chillcore)
10 years ago
rubidium
13e3ef53e3
(svn r27183) -Fix: GCC5 compilation
10 years ago
frosch
c639fb0d8e
(svn r27163) -Fix [FS#6204]: Toolbars were not invalidated when changing max-vehicles settings. (adf88)
10 years ago
frosch
310258f283
(svn r27151) -Add: Allow changing max heightlevel in scenario editor.
10 years ago
frosch
2f7de4fd99
(svn r27144) -Change: The chatbox-width setting now uses percent of screen width instead of pixels.
10 years ago
frosch
4846c7ed6b
(svn r27137) -Fix (r0): Oilrig empty-tile checks were incorrect due to wrong TileIndexDiff->TileIndexDiffC conversion.
10 years ago
peter1138
c2dbe23c88
(svn r27048) -Fix (r26158): Position in articulated vehicle is 4D, not 4A.
10 years ago
rubidium
d534c80e94
(svn r27020) -Cleanup: some coding style consistency improvements (mostly spaces)
10 years ago
rubidium
8d90e86c2c
(svn r27009) -Add: extra level of general map heightness (ChillCore)
10 years ago
rubidium
fddeeb5e49
(svn r27002) -Fix-ish: replace some non-ASCII characters with ASCII characters, e.g. @þaram to @param
10 years ago
peter1138
253c91b17d
(svn r26990) -Feature: Add option to choose normal, double or quad-size interface.
10 years ago
peter1138
5a924dcbbc
(svn r26965) -Codechange: Add palette bit to indicate that palette is actually a text colour remap, and draw closebox as a sprite, using said bit. Change news popup to use closebox widget for its closebox.
10 years ago
rubidium
b08b3bd8e3
(svn r26930) -Add: extra shadings to he heightmap colour tables (Chillcore)
10 years ago
rubidium
0176ef274f
(svn r26928) -Change: scale the heightmap colours over the whole range of heights (based on patch by ic111)
10 years ago
rubidium
f192045796
(svn r26927) -Codechange: split the heightmap colour tables into their own file in the table folder
10 years ago
rubidium
c72d362840
(svn r26885) -Feature-ish: user interface for limiting the maximum height of a map
10 years ago
rubidium
ce04c49e3d
(svn r26882) -Feature: allow limiting the height of bridges (ic111)
10 years ago
rubidium
f41b55f0ff
(svn r26880) -Add: stub settings for limiting bridge and map height
10 years ago
rubidium
2361aaf601
(svn r26869) -Add: support for an all black palette to prevent the need of having a black tile of all different slopes (ic111)
10 years ago
planetmaker
61e129cc22
(svn r26815) -Change: Allow to set the granularity of the tooltip hover time in milliseconds instead of seconds. New default value is 250ms
10 years ago
frosch
0d565ae612
(svn r26614) -Add: Adv. settings window can handle the autosave setting as well.
11 years ago
frosch
0c9e666d96
(svn r26604) -Add: Most of the mapgen settings to advances settings window.
11 years ago
frosch
0ba81bff17
(svn r26528) -Remove: A bunch of archaic settings from the advanced settings GUI.
11 years ago
frosch
631e8b45fd
(svn r26522) -Add: A config-file-only setting to disable usage of 8bpp video modes.
...
-Remove: [win32] fullscreen_bpp setting, which is replaced by above setting.
-Change: Disable usage of 8bpp blitters and video modes by default. Many modern OS and hardware cause issues with those.
11 years ago
frosch
6b61c4608f
(svn r26388) -Codechange: Move resolving of Action 3 into ResolverObject constructor.
11 years ago
frosch
62b22bfd2b
(svn r26374) -Fix [FS#5928]: Mixed up callback mask flags in station inspect window. (adf88)
11 years ago
fonsinchen
e4c7c8876b
(svn r26323) -Fix: update some constants related to map size.
11 years ago
frosch
e9c22ef16f
(svn r26244) -Feature: [NewGRF] Add StringCodes 9A 1B, 9A 1C and 9A 1D to display amounts of cargo.
11 years ago
frosch
bc86bf9b12
(svn r26237) -Cleanup: Remove unused SCC_STRING_ID.
11 years ago
frosch
7247ecf172
(svn r26206) -Fix [FS#5829]: Run everything from ini, obg, obs, obs, ... files through str_validate.
11 years ago
frosch
a12fa22a75
(svn r26158) -Fix: NewGRF inspect window lacked several newer variables.
11 years ago
rubidium
d2ba772f6a
(svn r26130) -Codechange: add some guards against using invalid image indices
11 years ago
rubidium
6f21593bf6
(svn r26050) -Fix: possible, but currently untriggered, out of bounds access in strgen
11 years ago
frosch
103b6fffbb
(svn r25916) -Add: GUI sprite for the smallmap cargoflow button. (frosch, planetmaker, V453000)
11 years ago
planetmaker
8033162bb8
(svn r25876) -Codechange: Unify object placement during map creation
11 years ago
planetmaker
547b1fba45
(svn r25874) -Add: [NewGRF] NewObject property 0x10, bit 13 indicating that object amount scales with water content of map border (e.g. used for lighthouses)
11 years ago
planetmaker
88286d33ab
(svn r25873) -Codechange: Add property for the amount of generated objects upon map creation to default objects
11 years ago
planetmaker
6f62458e3b
(svn r25872) -Codechange: Add climate property to default objects
11 years ago
planetmaker
f5e408fa1c
(svn r25868) -Fix (r25650): Initialization of default objects swapped costs and dates
11 years ago
planetmaker
5cc4d240f1
(svn r25775) -Fix [FS#5746]: Some spelling corrections to Catalan town names (juanjo)
11 years ago
planetmaker
eecb4b3506
(svn r25774) -Fix [FS#5746]: Some spelling corrections to Latin American town names (juanjo)
11 years ago
rubidium
1e715bfbea
(svn r25557) -Fix [FS#5524]: one could build bridges over owned land of another company
11 years ago
rubidium
f9c9ff6ec3
(svn r25508) -Change: split unit localisation choice into a choice per type of unit, and move it to the advanced settings
...
-Feature [FS#5482]: have tractive effort in imperial (lbf) and metric (kgf) units
-Feature: have weights and volumes in imperial units (short tons, gallons)
11 years ago
rubidium
6e97b7a6e8
(svn r25507) -Cleanup: double definition
11 years ago
rubidium
7c0f34130c
(svn r25454) -Remove/Fix/Cleanup: SETX(Y) does not work at all with other than default fonts, so get rid of it
11 years ago
rubidium
94a5fe6b92
(svn r25437) -Codechange: rework the FreeTypeSettings structure to make it better grouped
11 years ago
fonsinchen
0fc198cb00
(svn r25365) -Feature: show cargo by next hops and final destinations in the station GUI
11 years ago
fonsinchen
a49a4eec6e
(svn r25351) -Add: settings for link graph
11 years ago
zuu
a2d84868e7
(svn r25344) -Feature: GUI for viewing story pages
11 years ago
rubidium
f292a87dc4
(svn r25312) -Fix-ish: missing spaces after comma + realignment of tables; quite boring with -x -w
12 years ago
frosch
05c472f08a
(svn r25295) -Feature: Allow saving window sizes as default sizes.
12 years ago
frosch
559b7ef35e
(svn r25293) -Add: GUI sprite for default window size button.
12 years ago
frosch
ed851034f5
(svn r25292) -Feature: Save stickyness of windows when Ctrl+Clicking the sticky button.
12 years ago
frosch
23ba42b66c
(svn r25291) -Add: WindowDesc ability to load and store information in a config file.
12 years ago
frosch
e28659aa51
(svn r25193) -Cleanup: [strgen] Remove some ancient unused string codes.
12 years ago
frosch
bcd5038af9
(svn r25192) -Change: [strgen] Allow any number of colour codes in translations.
12 years ago
michi_cc
55ba9320f3
(svn r25157) -Feature: Determine the default font height for vector fonts according to the minimum readable height that the font provides.
12 years ago
frosch
30f601d685
(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
planetmaker
3c2d8cc28d
(svn r25078) -Add: New plural form to be used by Scottish Gaelic (1,11; 2,12; 3..10, 13..19; other)
12 years ago
planetmaker
c22bbf5293
(svn r25072) -Codechange: Don't require the custom currency to be the last defined one
12 years ago
rubidium
ef8d491d8f
(svn r24996) -Change: Apply default service interval changes to vehicles without custom interval (peter1138)
12 years ago
matthijs
97decad061
(svn r24991) -Doc: Clarify comments regarding settings macros.
12 years ago
rubidium
99a08e1e8c
(svn r24968) -Fix [FS#5379]: company window was not updated when shared were enabled/disabled
12 years ago
frosch
fea76bbb78
(svn r24910) -Fix: [strgen] Description of plural form 3 was incorrect.
12 years ago
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
planetmaker
89a2ba2a6d
(svn r24899) -Fix [FS#5434]: Also the station build window needs redrawing when the station spread changes (based on patch by juanjo)
12 years ago
rubidium
d5d96ba683
(svn r24877) -Fix: some whitespace "errors"
12 years ago
frosch
3ce8d2ce70
(svn r24846) -Add: Advanced settings to disable certain sound effects.
12 years ago
frosch
345c3203d7
(svn r24845) -Add: News ticker sound setting to adv. settings window.
12 years ago
frosch
bc84f30fc1
(svn r24844) -Add: News display settings to adv. settings window.
12 years ago
frosch
21b43b63f5
(svn r24843) -Codechange: Move news display options into the general settings framework. (based on patch by eagle_rainbow)
12 years ago
frosch
6bb43a6561
(svn r24792) -Add: Readd difficulty settings to advanced settings unless they are already present in other settings windows.
12 years ago
frosch
d1ab0f03bc
(svn r24790) -Remove: Classic difficulty profiles.
12 years ago
frosch
812ae4140a
(svn r24789) -Add: Separate setting to control the default settings of newly added scripts and random AIs.
12 years ago
frosch
a499435351
(svn r24786) -Codechange: Add SettingsProfile enum for difficulty profiles and highscore tables.
12 years ago
frosch
5b2da98ca3
(svn r24785) -Add: Various methods to open the OSK. (based on patch by Eagle_rainbow)
12 years ago
frosch
5e8238c75c
(svn r24748) -Add: Clear button to all editboxes.
12 years ago
frosch
b65ece1ea9
(svn r24695) -Fix/Cleanup: Remove remaining (incorrect) usages of ResolverObject::scope and count.
12 years ago
alberth
4c9bea2a71
(svn r24692) -Cleanup: Cleanup final parts of the old resolver code.
12 years ago
alberth
69e07c3e00
(svn r24691) -Codechange: Add resolver classes for vehicles.
12 years ago
alberth
e087503fd6
(svn r24690) -Codechange: Add resolver classes for industry tiles.
12 years ago
alberth
f7352871fa
(svn r24689) -Codechange: Add resolver classes for industries.
12 years ago
alberth
37605108e1
(svn r24686) -Codechange: Add resolver classes for airport tiles.
12 years ago
alberth
82e6001451
(svn r24685) -Codechange: Add resolver classes for rail types.
12 years ago
alberth
c417efc962
(svn r24684) -Codechange: Add resolver classes for stations.
12 years ago
alberth
a9b8b22daf
(svn r24683) -Codechange: Add resolver classes for objects.
12 years ago
alberth
d7b62da87b
(svn r24682) -Codechange: Add resolver classes for houses.
12 years ago
frosch
dc930b6689
(svn r24672) -Add [FS#5356]: Remember the basic/advanced/expert filter selection.
12 years ago
frosch
69a62452be
(svn r24671) -Feature [FS#5355]: Add basic/advanced/expert filters to adv. settings GUI. (Eagle_rainbow)
12 years ago
frosch
72fc771039
(svn r24590) -Feature: More options for the auto-scroll setting. (adf88)
12 years ago
frosch
17dcc7a899
(svn r24400) -Add: Plural 'names' to the output of strgen -export-plurals.
12 years ago
frosch
2ef319d0fe
(svn r24373) -Codechange: Improve descriptions of plural forms.
12 years ago
frosch
62670b48b9
(svn r24368) -Fix (r24367): Silence GCC warnings.
12 years ago
frosch
f57fbe02c8
(svn r24270) -Add: Missing descriptions for adv. settings.
13 years ago
frosch
d351f3dae5
(svn r24252) -Fix [FS#5162]: Change the unit of the sprite-cache size setting from megabytes to megapixels, so it depends on the blitter being used. Also increase it from 64 to 128, and change the name in the cfg file, so everyone gets the new default.
13 years ago
alberth
fc213a6dae
(svn r24235) -Add: Add help-strings for the settings in the advanced settings window.
13 years ago
alberth
1d58838a97
(svn r24234) -Add: Add help-string infrastructure to the ini files
13 years ago
alberth
88224d001d
(svn r24210) -Feature: Split the renew-months setting text in two string values (one before life time and one after).
13 years ago
alberth
8c585e5ad6
(svn r24209) -Cleanup: Remove now unused SGF_NOCOMMA value.
13 years ago
alberth
11f21917d6
(svn r24206) -Codechange: Move colouring of advanced setting options to the drawing code.
13 years ago
frosch
e1fda49027
(svn r24194) -Change: Rename the 'signal_side' setting to 'train_signal_side', and add a third option while doing so.
13 years ago
frosch
fdd05988b7
(svn r24191) -Fix: If you consider a settings to potentially cause desyncs via NewGRFs and thus disallow changing it in network games, you should probably also sync it to clients.
13 years ago
frosch
16b310d8ce
(svn r24186) -Feature: [NewGRF] Callback to set industry production level on construction. (andythenorth)
13 years ago
frosch
fa51dee557
(svn r24177) -Fix (r0) [FS#5148]: The arctic "shops and offices" used the "church" sprite in one of its four views.
13 years ago
michi_cc
a2b2bc3620
(svn r24141) -Feature: Display rating in the town directory window. (Inspired by patch from MagicBuzz)
13 years ago
michi_cc
f3e295b4ec
(svn r24134) -Add: Configurable limits for tree planting.
13 years ago
michi_cc
708d5b6712
(svn r24129) -Feature [FS#3660]: Option to minimise signal distance when dragging over obstacles. (adf88)
13 years ago
rubidium
54e36c4ff8
(svn r24111) -Codechange: use Colour more instead of manually bitstuffing
13 years ago
rubidium
19923e81f9
(svn r24022) -Add: CARGO_LIST control code for strings
13 years ago
michi_cc
9101d2e2d2
(svn r23952) -Feature: [NewGRF] Customisable tunnel portals for rail types (sprites by Snail).
13 years ago
michi_cc
0542e26460
(svn r23931) -Change: Scale infrastructure cost of rail tracks by the total number of all tracks and not independently for each rail type.
13 years ago
michi_cc
dd5d24c35a
(svn r23895) -Revert (r23888): Broken and not even needed anymore in the container format 2 implementation that was committed.
13 years ago
michi_cc
2909e39e99
(svn r23888) -Change: Move the min/max zoom settings to the "misc" section so they are valid before sprites are loaded.
13 years ago
frosch
8beedd4cb6
(svn r23862) -Fix (r23860): Fix sweets capacity.
13 years ago
frosch
90c53046c7
(svn r23860) -Feature: [NewGRF] Add cargo property 1D to set the capacity multipliers when refitting vehicles, which do not use callback 15.
13 years ago
yexo
2c99805117
(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
frosch
0011f9ce45
(svn r23805) -Add: {STRING6} and {STRING7}.
13 years ago
rubidium
182969f531
(svn r23769) -Codechange: make the lag/join start timeouts configurable as well
13 years ago
rubidium
bddfcaef95
(svn r23764) -Fix [FS#4955]: make default timeouts for certain states lower and configurable
13 years ago
michi_cc
ee0fcb2567
(svn r23758) -Feature: [NewGRF] Alternate rail type label list.
13 years ago
smatz
bcd3f2bb59
(svn r23706) -Codechange: prevent 'unknown command' doxygen errors
13 years ago
truebrain
b0ac529a6f
(svn r23635) -Add: introduce GSText, to allow translating GameScript text, even over network
13 years ago
rubidium
ab974bee97
(svn r23582) -Fix [FS#4870]: add missing characters for certain languages and the large font
...
-Codechange: don't remove large font glyphs because they are broken in the original font, just fix them up in openttd.grf using action A
-Change: make extra characters more consistent with the original font
All by PaulC.
13 years ago
rubidium
1f083c3ac8
(svn r23576) -Codechange: split the base of strgen with the strgen code that creates the actual .lng files
13 years ago
rubidium
6c31b25e22
(svn r23568) -Codechange: only allocate the buffer for writing when it is really needed
13 years ago
rubidium
fd559171b4
(svn r23527) -Codechange: unify colo(u)r as far as it goes
13 years ago
rubidium
3d88c74389
(svn r23526) -Codechange: unify cargos vs cargoes
13 years ago
michi_cc
def8e7215b
(svn r23504) -Feature: Aircraft range.
13 years ago
frosch
1ea449630d
(svn r23497) -Add: Advanced display setting to control the linewidth in graphs. (ChillCore)
13 years ago
rubidium
2ccbd2a6f5
(svn r23446) -Codechange: move _cur_palette and it's related first/count dirty variables into a single structure
13 years ago
rubidium
6bf2b30035
(svn r23433) -Fix [FS#4868]: recolouring of some animated colours from the windows palette went wrong
13 years ago
rubidium
5891099f24
(svn r23422) -Fix [FS#4863] (r22797): the default palette setting wasn't applied correctly anymore as the configuration file is loaded after the first NewGRF scan
13 years ago
michi_cc
d3b7b89493
(svn r23415) -Feature: Infrastructure maintenance costs.
13 years ago
truebrain
9dde1287aa
(svn r23387) -Fix: move ai.script_max_opcode_till_suspend to script.script_max_opcode_till_suspend
13 years ago
rubidium
bf55f58a47
(svn r23326) -Fix [FS#4852] (r23239): snow line for very old savegames wasn't retrieved from the savegame anymore
13 years ago
peter1138
aa64a397f9
(svn r23317) -Change: Rename sprite_cache_size setting so that the new default is used.
13 years ago
peter1138
81598273e9
(svn r23316) -Feature: Add ability to zoom in to 2x and 4x level.
13 years ago
peter1138
4e97261315
(svn r23314) -Add: Add settings to restrict viewport zoom levels.
13 years ago
truebrain
e30256692f
(svn r23303) -Add: economy.fund_buildings, to disallow funding buildings
13 years ago
truebrain
4e09cde649
(svn r23297) -Add: {CARGO_TINY} (Rubidium)
13 years ago
rubidium
1fde9c7f8a
(svn r23287) -Fix (r23274): mono_size is a better name than large_mono for the size variable in the configuration file
13 years ago
rubidium
dfefcab47d
(svn r23274) -Add: internal support for a monospaced sprite font
13 years ago
rubidium
b8866be093
(svn r23269) -Codechange: rename some control/string codes/IDs to be more consistent
13 years ago
rubidium
1de7127d62
(svn r23239) -Fix: saving/loading the snow line height twice, especially when the values are not the same causes some nasty problems... like desyncs
13 years ago
rubidium
5446b40c07
(svn r23223) -Codechange: store the last newgrf count in the misc section
13 years ago
rubidium
bd64bf6372
(svn r23193) -Codechange: don't cast away const unneededly
13 years ago
rubidium
39263445b0
(svn r23191) -Fix: GCC 4.7 compilation warnings related to narrowing in palettes
13 years ago
yexo
bdc4734f65
(svn r23188) -Fix (r23168): fences on steep slopes were broken
13 years ago
yexo
a256bd71e4
(svn r23169) -Feature: [NoAI] AICONFIG_AI_DEVELOPER flags to hide AI settings unless gui.ai_developer_tools is enabled (Zuu)
13 years ago
yexo
5c838ff1c3
(svn r23168) -Feature [FS#1824]: always draw fences around field tiles
13 years ago
frosch
c2cf26b451
(svn r23149) -Add: [NewGRF] Road vehicle property 23 to shorten vehicles without callback usage.
13 years ago
frosch
b98c7763de
(svn r23146) -Change: [NewGRF v8] Make callback 22 return a probability to use instead of property 18.
13 years ago
michi_cc
fe574b7e0c
(svn r23129) -Add: [NewGRF] Property for the rail type name.
13 years ago
rubidium
2886bb1df3
(svn r23085) -Fix (r23084): SLE_UINT8 might have been the old type, it's not the same as the length of the variable
13 years ago
rubidium
47c5d30b5d
(svn r23084) -Codechange: get rid of a redundant variable
13 years ago
frosch
acc3c75951
(svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and Vehicle to simplify code.
13 years ago
frosch
72cd855978
(svn r23074) -Codechange: Add Vehicle::GetEngine() to simplify code.
13 years ago
michi_cc
e094d7db62
(svn r23072) -Feature: [NewGRF] House callback 0x148.
13 years ago
yexo
307ca24427
(svn r23063) -Add: [NewGRF] stringscodes 9A 19 and 9A 20 to print 'short volume' and 'short weight' respectively
13 years ago
planetmaker
a78f38fdc0
(svn r23032) -Fix (r14224, r22419): Palette conversion windows to DOS for light house / stadium animated colour was mixed up
13 years ago
planetmaker
765588f699
(svn r23010) -Add [FS#4797]: Support company colour for the airports' jetways (zeroeight)
13 years ago
frosch
d071eefc54
(svn r22985) -Feature: Display autoreplace status in group GUI.
13 years ago
rubidium
49d8852f3f
(svn r22828) -Codechange: give some variables a better name and clean up the code of loading old style GRFs
13 years ago
rubidium
0ad82be1f3
(svn r22807) -Feature-ish: show a message about missing strings in the intro window if a certain (configurable) threshold has been reached and its not a stable release
13 years ago
rubidium
dc5f44883b
(svn r22797) -Add: progress bar for scanning NewGRFs
13 years ago
frosch
aefee3d375
(svn r22780) -Fix: [NewGRF] String codes 84 and 87 print signed values.
13 years ago
frosch
3edfd1c9d2
(svn r22779) -Add: [NewGRF] Stringcode for printing a unsinged word in power units. (Hirundo)
13 years ago
frosch
26530063f1
(svn r22778) -Add: [NewGRF] Stringcodes for printing 0-based dates. (Hirundo)
13 years ago
frosch
8d3d7b4e01
(svn r22776) -Codechange: Unify the naming of NewGRF string codes; always include the size of the parameter on the stack. (based on patch by Hirundo)
13 years ago
frosch
7394bcb813
(svn r22775) -Fix: [NewGRF] Stringcodes 82 and 83 are the same as the date codes in old OpenTTD. (Hirundo)
13 years ago
rubidium
0041408e4f
(svn r22767) -Add: river generation
13 years ago
planetmaker
b102b58bde
(svn r22765) -Cleanup: Remove unused constants and name a magic constant
13 years ago
alberth
bc6d4069fe
(svn r22741) -Add: Add exit direction of hangars to airport specifications.
13 years ago
michi_cc
08b7981f37
(svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period.
13 years ago
planetmaker
3fb66890ee
(svn r22708) -Feature [FS#4701]: Display option to hide competitors' signs and station names (Zuu)
13 years ago
frosch
a7f7a97825
(svn r22646) -Codechange: Simplify MP_WATER map accessors, esp. for locks and depots. (based on patched by adf88 and michi_cc)
13 years ago
frosch
566a9612a0
(svn r22641) -Fix (r22639): Warning about uninitialised fields.
13 years ago
frosch
d2b236802c
(svn r22633) -Fix: Implement variables 25 and 7F for railtypes.
13 years ago
terkhen
8ddb3941f7
(svn r22571) -Add: [NewGRF] Show town persistent storage in the NewGRF debug GUI.
14 years ago
terkhen
46d1a06215
(svn r22570) -Codechange: Store the GrfID of the caller when opening a parent window in the NewGRF debug GUI.
14 years ago
terkhen
a619ad3789
(svn r22569) -Feature: [NewGRF] Persistent storage for towns.
14 years ago
terkhen
00e5c1df18
(svn r22567) -Codechange: Store persistent storages inside a pool.
14 years ago
terkhen
281bed03f4
(svn r22565) -Codechange: Use helper functions for getting the persistent storage in the NewGRF debug GUI.
14 years ago
rubidium
58e3652bd0
(svn r22537) -Change [FS#3494]: replace the half small airport structure on the intercontinental airport with some grass
14 years ago
planetmaker
40cdaca849
(svn r22535) -Cleanup: Remove uneeded constants, update and unify some comments relating to sprite numbers
14 years ago
frosch
615e435677
(svn r22522) -Fix (r22489): (size_t)(uint32)(-1) != (size_t)-1
14 years ago
frosch
76c7cbff70
(svn r22436) -Fix (r18969): Apply railtype property 12 (station graphics) also to station groundsprites from action 1.
14 years ago
frosch
844dc8646f
(svn r22430) -Fix: COAL, RUBR, SUGR and the coalmine used windows palette colours in smallmap/legends etc..
14 years ago
frosch
bfb419f9d8
(svn r22420) -Cleanup: Replace the somewhat mixed DOS+Windows palette with the pure DOS palette. Also blank the animation colours, which are filled from a different array anyway.
14 years ago
frosch
bbcd2bab5d
(svn r22419) -Change: Always use the DOS palette for drawing.
...
-Remove: the '-i' option for palette selection.
14 years ago
frosch
bfd09004fe
(svn r22417) -Add: an advanced setting to specify the default palette to use for NewGRFs without action 14 palette information; this makes the default choice independent from the used base graphics and '-i' option.
14 years ago
frosch
1ffd720f81
(svn r22383) -Codechange: Rename PALETTE_TO_STRUCT_GREY to PALETTE_NEWSPAPER as it does not belong to the other PALETTE_TO_STRUCT_xxx recolourings.
14 years ago
planetmaker
a04672454f
(svn r22381) -Codechange: It's called 'steel', not 'steele'
14 years ago
planetmaker
488051ae30
(svn r22378) -Fix: The recolouring scheme applied to the silicon bridge recoloured too much
14 years ago
smatz
c3f1fd5716
(svn r22352) -Change: make YAPF the default pathfinder for ships, don't discourage players from using it
14 years ago
frosch
70f9a6747e
(svn r22304) -Add: {DECIMAL} string code to print decimal fractions.
14 years ago
planetmaker
75ab1f18f8
(svn r22293) -Add: Allow docks to feature company colour (add another pony for the firs(t) fish&chips foundry)
14 years ago
yexo
6305d104c1
(svn r22233) -Fix (r22210): value strings for command-pause-level were not shown correctly
14 years ago
alberth
d3569f917d
(svn r22219) -Codechange: Unduplicate npf/yapf strings.
14 years ago
alberth
c46de7fc7b
(svn r22217) -Codechange: Unduplicate horizontal positioning strings.
14 years ago
alberth
7ee064b75d
(svn r22215) -Codechange: Unduplicate original/realistic strings.
14 years ago
alberth
3d6246ba9e
(svn r22213) -Codechange: Unduplicate company on/off strings.
14 years ago
alberth
5f505a69f3
(svn r22211) -Codechange: Unduplicate Off/On strings.
14 years ago
alberth
9fe65f93fe
(svn r22210) -Add: Add a variable for the value strings in the settings tables.
14 years ago
alberth
02bf850d95
(svn r22209) -Codechange: Move function declarations from settings.h.preamble to the ini file that uses it.
14 years ago
alberth
bbde7766d2
(svn r22207) -Add: Add the copyright message to the new ini files.
14 years ago
planetmaker
2aa14cc54b
(svn r22204) -Change: Make the base costs for building and demolishing NewObjects also local to the individual NewGRFs
14 years ago
rubidium
f90044d343
(svn r22202) -Codechange: make MusicFileSettings a proper citizen of the client settings
14 years ago
rubidium
b8d3c42de2
(svn r22199) -Cleanup-ish: replace the shortcut macros for (gui)flags with their more clearly named (longer) constant names
14 years ago
rubidium
e48967541a
(svn r22198) -Codechange: make some constants name more explicit
14 years ago
rubidium
2636a4809b
(svn r22197) -Cleanup: remove the distinction between conditional and non-conditional settings; with default from and to savegame versions all can be conditional. They previously were as well; the non-conditional ones were macros of the conditionals with to/from saveload versions hardcoded
14 years ago
rubidium
cb3fa759f3
(svn r22196) -Codechange: use default values for the from and to of savegame versions as well
14 years ago
rubidium
8b9f99ec44
(svn r22194) -Codechange: use the defaults feature of settingsgen to remove the need to state the "default" value for all items
14 years ago
glx
7f54c59a66
(svn r22188) -Add: Generate the settings as part of the MSVC build process, and enable it in Makefile too
14 years ago
yexo
261b34b705
(svn r22175) -Fix: [NewGRF] memory leak if a station newgrf contains prop 09 twice for the same station id
14 years ago
alberth
7477f92029
(svn r22173) -Add: Add preamble and postamble files before and after the generated settings data.
14 years ago
alberth
74d756799c
(svn r22172) -Add: Add ini files containing the table/settings data.
14 years ago
frosch
54db5d60fb
(svn r22125) -Fix (r9162)[FS#4528]: The animation-ness of two goldmine tiles were swapped, causing the wheeltower to not work properly, and the bottom corner to show the wrong sprite.
14 years ago
frosch
f575b45bae
(svn r22110) -Codechange: Remove WaterDrawTileStruct and use DrawTileSprites/DrawTileSeqStruct instead.
14 years ago
frosch
26ad79be5a
(svn r22109) -Fix (r21269, 21272): Missing undeffing of macros.
14 years ago
frosch
9e59436c61
(svn r22108) -Codechange: Replace some magic with some other magic though less easy to break.
14 years ago
yexo
b51c62f5af
(svn r22074) -Cleanup (r22073): there was already a setting-callback that did what is needed
14 years ago
yexo
f1377a228f
(svn r22073) -Fix: immediately update the train weight when you change the multiplier for train cargo weight
14 years ago
rubidium
cebe8ab630
(svn r22004) -Change [FS#4471]: always report mammoth trains are disabled to NewGRFs, and allow the maximum train length to be modified in multiplayer as well
14 years ago
alberth
4364cec392
(svn r22001) -Codechange: Rename difficulty.number_industries to difficulty.industry_density.
14 years ago
alberth
d84502c432
(svn r22000) -Codechange: Introduce an enum for the industry density setting.
14 years ago
terkhen
a4b08dddd1
(svn r21974) -Feature: Add a setting to enable/disable funding local road reconstruction.
14 years ago
terkhen
91dcc9e016
(svn r21973) -Fix: Redraw the town authority window after modifying town authority settings.
14 years ago
alberth
7935eab3dc
(svn r21972) -Fix: Replace 'None' industries in the generation window with more descriptive label.
14 years ago
alberth
bdf5a1c2f7
(svn r21969) -Feature: Introduce 'minimal' number of industries as a replacment for the old 'none' setting in the newgame window.
14 years ago
rubidium
00a766ed27
(svn r21966) -Change [FS#4462]: [NewGRF] Disable the flipping of train engines/wagons in the depot by default for NewGRFs
14 years ago
rubidium
0fe0225751
(svn r21962) -Feature-ish: GUI setting to disable reversing at signals
14 years ago
rubidium
c85d350310
(svn r21960) -Change: show the length of vehicles in tiles, instead of half tiles in the depot
...
-Fix [FS#4461]: don't count the number of vehicles but the length of vehicles to (configurably) limit train length
14 years ago
rubidium
46b3d114a8
(svn r21959) -Change: replace longbridges with custom maximum bridge and tunnel length setting
14 years ago
rubidium
4355231f67
(svn r21958) -Cleanup: join_stations setting; can done by distant join and could be subverted by distant join
14 years ago
rubidium
4c5ca17486
(svn r21957) -Cleanup: gotodepot and timetabling settings are more or less useless; just don't use depot orders or timetabling if you don't want to use it
14 years ago
rubidium
71f4067d19
(svn r21956) -Cleanup: always draw the bridge pillars
14 years ago
rubidium
313c1bc171
(svn r21955) -Cleanup: always show the long date in the status bar
14 years ago
rubidium
2ad1279725
(svn r21954) -Cleanup: remove setting to not show the vehicle speed in the vehicle view
14 years ago
smatz
3057a26fd5
(svn r21953) -Remove [FS#4456]: the non-uniform stations setting. Support for uniform stations has been broken for over a year
14 years ago
yexo
0cdb1c78cd
(svn r21885) -Fix [FS#4422]: NewGRF string codes 0x80 and 0x81 were broken since the typechecking of string parameters
14 years ago
rubidium
2f6c840ebf
(svn r21866) -Feature [FS#4394]: [NewGRF] Rail type property to influence sorting of rail types in the drop down list
14 years ago
rubidium
b8c9988d9f
(svn r21842) -Feature [FS#4393]: [NewGRF] Introduction dates/required types for rail types; e.g. introduce a particular rail type in 1960 (or when a vehicle using it is introduced), but also allow limiting its introduction to only happen when the required railtypes are available
14 years ago