Patric Stout
be37a2cab8
Codechange: use NetworkAddress instead of two host/port variables where possible
...
This also means we no longer need last_host/last_port, but can
just use a single last_joined setting.
2021-04-29 20:12:11 +02:00
rubidium42
b54d8a49fb
Feature: allow non-ASCII currency separators
2021-04-27 19:41:51 +02:00
Patric Stout
fda1a590f6
Change: use icons to indicate you/host in Online Players GUI
2021-04-24 21:43:58 +02:00
Patric Stout
5266359424
Feature: rework in-game Online Players GUI
...
The GUI now more clearly shows some basic information about the
server you joined, your client name (and the ability to change it),
and what players are in which company.
It also contains useful buttons to press to join companies, chat
with other people, and for admins to kick/ban people.
Additionally, renamed "advertised" to "visibility"; this has to
do with future additions, but also because it is more clear in
wording.
2021-04-24 21:43:58 +02:00
Patric Stout
05612d60ae
Remove: "language" field from server/client
...
The original idea was that people could find a server they could
talk in their native language on. This isn't really used in that
way. There are several reasons for removing this:
- the client also sends his "language" to the server, but nothing
is doing anything with this.
- flags are a bad way to represent languages, and over the years
we had several (rightfully) complaints about this.
- most servers have their language set to "All", and prefix the
servername with the language it is about. This is a much more
efficient way to do the same.
All in all, this feature should go back to the drawing board.
Maybe it could work in another form, but this form is not it.
2021-04-20 17:24:38 +02:00
Patric Stout
f0f2073006
Feature: allow a toggle to enable/disable vsync
...
Vsync should be off by default, as for most players it will be
better to play without vsync. Exception exist, mainly people who
play in fullscreen mode.
2021-04-11 14:26:00 +02:00
frosch
c6781cbd44
Fix d4c3d01d: add plural form 14 to strgen. ( #8999 )
2021-04-10 18:09:04 +02:00
Niels Martin Hansen
49d370185b
Change: Default music and sound effects volume to be lower
2021-04-09 12:18:52 +02:00
Patric Stout
13a5264438
Fix: store the recent new game_creation settings in savegames
...
This allows us to later on see what someone did, and makes sure
that "restart" command still knows how the game was created.
2021-03-26 12:22:32 +01:00
Patric Stout
f05e2e0d40
Feature: allow setting a custom terrain type to define highest peak
...
At least, TGP will try to reach it. It heavily depends on the map
if it is reachable at all. But for sure it will do its atmost to
get there!
2021-03-26 12:22:32 +01:00
Patric Stout
45c2c29c35
Add: allow setting the highest mountain for heightmaps
...
It will add some slack to the map height limit if that was set
to auto.
2021-03-26 12:22:32 +01:00
Patric Stout
422e132845
Feature: auto-detect map height limit based on generated map
...
This opens up the true power of the TGP terrain generator, as it
is no longer constrainted by an arbitrary low map height limit,
especially for extreme terrain types.
In other words: on a 1kx1k map with "Alpinist" terrain type, the
map is now really hilly with default settings.
People can still manually limit the map height if they so wish,
and after the terrain generation the limit is stored in the
savegame as if the user set it.
Cheats still allow you to change this value.
2021-03-26 12:22:32 +01:00
Patric Stout
1a1049bc0d
Change: rename setting "max_heightlevel" to "map_height_limit"
...
This better reflects what it is, and hopefully removes a bit of
the confusion people are having what this setting actually does.
Additionally, update the text on the setting to better inform
users what it is doing exactly, so they can make an educated
decision on how to change it.
Next commit will introduce an "auto" value, which should be the
new default. The rename has as added benefit that everyone will
start out on the "auto" value.
2021-03-26 12:22:32 +01:00
Patric Stout
70bc55cfd6
Feature: setting to indicate desert coverage for tropic climate
...
This is an indication value; the game tries to get as close as it
can, but due to the complex tropic rules, that is unlikely to be
exact.
In the end, it picks a height-level to base the desert/tropic
line on. This is strictly seen not needed, as we can convert any
tile to either. But it is the simplest way to get started with
this without redoing all related functions.
2021-03-26 12:22:32 +01:00
Patric Stout
cafe4eed6e
Feature: setting to indicate snow coverage for arctic climate (replaces snow line height)
...
Setting the snow coverage (in % of the map) makes a lot more sense
to the human, while still allowing the niche player to set (by
finding the correct %) a snow line height they like. This makes for
easier defaults, as it decoupled terrain height from amount of snow.
Maps can never be 100% snow, as we do not have sprites for coastal
tiles.
Internally, this calculates the best snow line height to approach
this coverage as close as possible.
2021-03-26 12:22:32 +01:00
Matt Kimber
bcb3313e13
Feature: allow setting maximum zoom level at which sprites are drawn ( #8604 )
2021-03-13 10:00:53 +01:00
frosch
28589db664
Fix: front/back sprites of action5 tram catenary were swapped.
2021-03-11 00:21:09 +01:00
Patric Stout
b93d7dd3cb
Add: Option to (dis-)allow accelerated video drivers. ( #8819 )
...
The video drivers using the OpenGL backend are currently our only
accelerated drivers. The options defaults to off for macOS builds and
to on everywhere else.
Co-authored-by: Michael Lutz <michi@icosahedron.de>
2021-03-08 15:42:39 +01:00
Patric Stout
74aa934441
Codechange: validate that "max" value of settings fit in their storage
...
This is an easy mistake to make, so protect us against making such
mistakes, by validating it doesn't happen.
2021-03-01 23:17:47 +01:00
Patric Stout
d7a70c67ba
Fix: old snow_line_height had a higher maximum value than could be stored
...
So any old game made with this setting was overflowing anyway;
not really a lot we can do about that now.
2021-03-01 23:17:47 +01:00
Patric Stout
a0c298a539
Fix: three max-values for settings could exceed their storage size
2021-03-01 23:17:47 +01:00
Patric Stout
8bc0089fc4
Fix c3dc27e3: put the max-value of fast-forward-speed-limit to within the storage size ( #8769 )
2021-02-28 21:53:14 +01:00
Patric Stout
c3dc27e37e
Add: settings to limit your fast-forward game speed
...
By default this setting is set to 2500% normal game speed.
2021-02-28 18:04:51 +00:00
Michael Lutz
e1e8cc3851
Fix #8734 : [OpenGL] Apply palette remap to cursor sprites. ( #8742 )
2021-02-24 22:10:25 +01:00
Michael Lutz
6bcc4884c2
Add: [OpenGL] Accelerated mouse cursor drawing.
2021-02-22 22:16:07 +01:00
Michael Lutz
e8fc050b6e
Add: [OpenGL] Support for 8bpp blitters.
2021-02-22 22:16:07 +01:00
Michael Lutz
320072c8dc
Codechange: [OpenGL] Explicitly assign which framebuffer target receives the colour values.
2021-02-22 22:16:07 +01:00
Michael Lutz
821f30f735
Codechange: [OpenGL] Use GLSL version 1.50 if available.
2021-02-22 22:16:07 +01:00
Michael Lutz
90fd8f8cda
Codechange: [OpenGL] Use generic vertex attributes in the shader program.
2021-02-22 22:16:07 +01:00
Michael Lutz
acf59f6b68
Codechange: [OpenGL] Use shaders to display the video buffer on screen.
2021-02-22 22:16:07 +01:00
frosch
d9b4413bc9
Codechange: rename sound ids to make more sense. ( #8701 )
2021-02-20 19:01:04 +01:00
Patric Stout
7996fadb91
Change: [Win32] Remove force_full_redraw and display_hz settings
...
These were special settings only for the win32-drivers, and
introduced in the very first version we track.
Time kinda had caught up with those variables, so it is time to
say farewell.
force_full_redraw was most likely a debug functionality "in case
our dirty-rect fails". This should no longer be needed.
display_hz was cute, as it had a max of 120. That is kinda
out-dated information, but I also doubt anyone was really using
this.
2021-02-20 17:08:44 +01:00
Patric Stout
fa170b9ace
Feature: configurable refresh-rate and change default to 60fps
...
Most modern games run on 60 fps, and for good reason. This gives
a much smoother experiences.
As some people have monitors that can do 144Hz or even 240Hz, allow
people to configure the refresh rate. Of course, the higher you
set the value, the more time the game spends on drawing pixels
instead of simulating the game, which has an effect on simulation
speed.
The simulation will still always run at 33.33 fps, and is not
influences by this setting.
2021-02-19 10:43:15 +01:00
Tyler Trahan
fa88cb62e1
Fix cc39fa9: New orders are non-stop by default ( #8689 )
2021-02-18 18:42:28 +01:00
Michael Lutz
8bd2349ab6
Fix #8676 , a2c3197f: GUI-visible settings may not be part of misc settings.
2021-02-17 21:01:21 +01:00
Michael Lutz
00c66e7096
Codechange: Allow early-load settings that are not misc settings.
2021-02-17 21:01:21 +01:00
frosch
5a1fa18509
Change: move the 'road drive side' selection to settings tree, and give it the same 'basic' visibilty as 'signal side'.
2021-02-14 23:14:07 +01:00
frosch
81e47277e7
Change: move the 'tree placer algorithm' selection to the settings tree window, and give it the same 'basic' visibility as 'in-game tree placement'.
2021-02-14 23:14:07 +01:00
Michael Lutz
22f5aeab07
Feature: Automatic UI and font zoom levels when supported by the OS.
2021-02-14 14:16:40 +01:00
Michael Lutz
a2c3197f42
Codechange: Make the settings for min/max zoom early load settings.
2021-02-14 14:16:40 +01:00
Michael Lutz
e5c3253642
Add: [OSX] Setting to disable HiDPI graphics rendering.
2021-02-14 11:50:18 +01:00
Michael Lutz
84636fc2af
Codechange: Remove all remaining uses of cpp_offset.
2021-02-13 20:08:53 +01:00
Michael Lutz
7845434270
Codechange: Don't use cpp_offsetof in the save/load code.
...
Many of the member variables that are used in save/load are inside types
that are not standard layout types. Using pointer arithmetics to determine
addresses of members inside types that are not standard layout is generally
undefined behaviour. If we'd use C++17, it is conditionally supported, which means
each compiler may or may not support it. And even then using it for individual
array elements is syntactically not supported the the standard offsetof function.
Unfortunately, the trickery employed for saving linkgraph settings causes quite some
clutter in the settings ini files.
2021-02-13 20:08:53 +01:00
SamuXarick
36ab9c64ef
Fix: Desert/rainforest data coordinate 'y' is off by 1 when their 'x' coordinate is negative
2021-02-13 19:18:41 +01:00
Michael Lutz
fa60c1f8b9
Feature: Choose a sensible window size on a fresh OTTD config file. ( #8536 )
2021-01-14 21:53:06 +01:00
frosch
8dda0ec4ff
Add: [NewGRF] new GUI sprites for 'rename' and 'go to location'.
2021-01-11 22:15:58 +01:00
frosch
f6abc81cf1
Fix: add missing variables to NewGRF inspect window.
2021-01-10 21:24:38 +01:00
frosch
868d84bbfc
Add: [NewGRF] vehicle variable 63 to test the tracktype of the current tile against a given tracktype.
2021-01-10 21:24:38 +01:00
Charles Pigott
188bf0fbc9
Change: Remove disable_unsuitable_building setting
...
This setting is no longer useful, as you can now always build roads,
canals, etc.
2021-01-08 16:43:51 +01:00
Patric Stout
ef6b17baf7
Fix 2fd871e2af5: load correct ending-year for old (pre 0.7) savegames
...
Despite what it looked like, you could never really change the
ending-year (it was always reset to 2050 on start-up). See commit
683b65ee1
for details. As a side-effect, the variable that was
suppose to store the ending-year was just zero, never containing
a real ending-year.
2021-01-08 11:17:08 +01:00
Patric Stout
d9ec8053d7
Fix #8050 : ending-year of 5000000 allows you to get to year 5000001 and beyond
...
MAX_YEAR is set to 5000000, but having an ending-year set to the
same meant you could bypass this, and play till the uint32 wrapped.
The game can either show highscore or wrap year, not both. When
you would do both, every year you get the highscore dialog.
By changing the maximum value of ending-year to 4999999 we prevent
this issue.
2021-01-08 11:17:08 +01:00
Kuhnovic
a3a7928372
Feature: option to auto remove signals when in the way during rail construction ( #8274 )
2021-01-07 10:17:05 +01:00
2TallTyler
fe51051b7c
Change: Default settings improved for new players
2021-01-02 19:50:22 +00:00
Michael Lutz
024a3f6259
Codechange: Use automatic memory management for language pack reading.
2020-12-27 13:19:25 +01:00
Charles Pigott
860c270c73
Codechange: Replace assert_compile macro with static_assert
2020-12-27 10:55:42 +00:00
Michael Lutz
5a5d613ee3
Change: Disable changing the inflation setting in network games.
2020-12-27 10:28:39 +00:00
frosch
2bb691f50e
Change: Remove the LAN/Internet combobox from the server list in favour of adding two separate search buttons.
2020-12-25 00:40:35 +01:00
Pavel Stupnikov
22b9dec960
Feature: Add an option to disable tree growth completely ( #8415 )
2020-12-25 00:36:54 +01:00
Xaroth Brook
d05be2cff5
Cleanup: Rework the CargoSpec macro for improved readability.
2020-12-21 23:12:58 +01:00
Pavel Stupnikov
b2895dfcd0
Change: extend the allowed range for max loan setting ( #8386 )
2020-12-16 21:56:32 +01:00
Tyler Trahan
f2a93dba0d
Change: set the default setting for autorenew to on for new games ( #8352 )
2020-12-15 09:58:37 +01:00
jostephd
b1cf79da5b
Feature: new velocity unit "tiles/day" ( #8278 )
2020-12-15 00:39:57 +01:00
Pavel Stupnikov
c9fd85528a
Add: new economy "frozen" that stops production changes and industry closures ( #8282 )
2020-12-14 23:35:07 +01:00
Patric Stout
68f9925cd4
Codechange: use \u to indicate unicode chars in strings ( #8379 )
...
With \x, we sometimes had to do the "" trick, as the length is not
predefined. With C++11 bringing \u to the specs, which has a preset
length, we no longer need the "" trick.
We set the strings to u8, to ensure all compilers use UTF-8 encoding
for the \u characters.
This was triggered by newer CLangs, which start to warn if you
use "" in the middle of a string, wondering if that was your
intention. It is a good question. And this is our answer :)
2020-12-14 20:25:01 +01:00
glx22
a06fe8e8a7
Fix: [CMake] cross-compiling requires native tools
2020-12-04 09:49:31 +00:00
dP
a2e1102b15
Feature: Increase max possible distance from border for oil refineries and rigs
2020-06-27 14:18:31 +01:00
Patric Stout
56d54cf60e
Add: introduce CMake for project management
...
CMake works on all our supported platforms, like MSVC, Mingw, GCC,
Clang, and many more. It allows for a single way of doing things,
so no longer we need shell scripts and vbs scripts to work on all
our supported platforms.
Additionally, CMake allows to generate project files for like MSVC,
KDevelop, etc.
This heavily reduces the lines of code we need to support multiple
platforms from a project perspective.
Addtiionally, this heavily improves our detection of libraries, etc.
2020-06-05 19:36:05 +02:00
TechGeekNZ
012fea301d
Cleanup: Add note explaining how settings.h is generated from source.
2020-06-05 08:38:40 +02:00
TechGeekNZ
f246f8faef
Cleanup: Fix typo in settings.h.preamble.
2020-06-05 08:38:40 +02:00
Michael Lutz
37bc2f8064
Codechange: Use std::string in the driver and blitter selection code.
2020-05-21 20:02:34 +02:00
Michael Lutz
a49fdb7ebb
Codechange: Store base set related texts in std::strings.
2020-05-21 20:02:34 +02:00
Niels Martin Hansen
9e632355f1
Fix #7525 : Move autorenew setting to Basic category
2020-02-07 22:05:34 +01:00
kiwitreekor
5df01bf95e
Add: [NewGRF] Station variable 6A, querying GRFID of nearby station tiles ( #7956 )
2020-01-29 21:23:23 +01:00
stormcone
b524f1ae21
Feature: Show the name of the NewGRF in the build vehicle window.
2020-01-04 18:42:35 +01:00
Niels Martin Hansen
2fd871e2af
Feature: Configurable game ending year
...
Functionally reverts 683b65ee1
2019-12-28 12:27:39 +01:00
Samu
f0ff7003fd
Fix: Snowline height interval is now 1, in both World Generation and Settings windows
...
- Previously, it was 1 in World Gen window, but 5 in Settings window
2019-12-23 21:05:39 +01:00
Samu
96f8c13543
Fix: Custom sea level default value is now equal to minimum value, not lower
...
Custom sea level default value was lower than the minimum
2019-12-21 18:12:01 +00:00
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
2019-11-10 17:59:20 +00:00
Jack McKiernan
f52e605b51
Fix: Solved helicopter takeoff issue with international airports
...
Helicopters can now take off from just outside the hangars.
2019-10-25 23:42:31 +02:00
Jack McKiernan
9479f45d1a
Codechange: Replaced 255's with an enum entry TERMGROUP
2019-10-25 23:42:31 +02:00
Jack McKiernan
d39f889775
Codechange: Replaced 0's in heading field with TO_ALL
2019-10-25 23:42:31 +02:00
Jack McKiernan
d843b73280
Fix #6219 : Allow taking off from hangar in commuter airport
...
Previously, a helicopter in the hangar of a commuter airport would have to wait until HELIPAD2 was free before it could takeoff. Now, a helicopter in the hangar can takeoff from just outside the hangar.
2019-10-25 23:42:31 +02:00
Jack Baron
f159d91572
Fix: add savegame version to trading age setting
2019-10-19 20:31:44 +01:00
Jack Baron
7c9dedb94f
Feature: Configure minimum share trading years
2019-10-19 20:31:44 +01:00
Niels Martin Hansen
53f8d0b815
Codechange: Use std::vector for industry tile layouts
2019-10-19 17:16:25 +01:00
JMcKiern
04f659e768
Fix: Some typos found using codespell
2019-09-29 21:27:32 +01:00
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.
2019-05-14 11:21:36 +01:00
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.
2019-05-11 15:34:33 +02:00
Michael Lutz
0344e7a0a1
Fix #7463 : Promote scroll mode setting to basic category.
2019-05-11 14:05:52 +02:00
peter1138
51dd751f4a
Fix #7565 : Incorrect cursor used for placing road/tram tunnels.
2019-05-09 11:51:04 +01:00
Corns McGowan
4d0ee65b51
Change: Set default setting in server browser of "Advertised" to "Yes". ( #7568 )
2019-05-05 15:18:52 +01:00
peter1138
c02ef3e456
Feature: Add NotRoadTypes (NRT)
2019-05-01 21:36:27 +02:00
Charles Pigott
644f4c3547
Codechange: Set size of SettingGuiFlag & SettingDescType enums, and use them properly
2019-04-29 17:40:22 +01:00
Charles Pigott
96097b34a5
Codechange: Remove Direction*Byte types
2019-04-29 17:40:22 +01:00
Charles Pigott
931d32f414
Codechange: Remove RailTypeByte type
2019-04-29 17:40:22 +01:00
stormcone
79343762a4
Fix: Typos. ( #7517 )
2019-04-15 22:06:41 +02:00
peter1138
c0836bccef
Codechange: NULL -> nullptr in settings files.
2019-04-11 13:00:55 +01:00
Henry Wilson
7c8e7c6b6e
Codechange: Use null pointer literal instead of the NULL macro
2019-04-10 23:22:20 +02:00
kiwitreekor
bc9b47d2e5
Fix #6222 : Advanced sprite layout sometimes showed incorrect railtype ground tile
2019-04-08 18:41:07 +01:00
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.
2019-03-24 16:10:04 +01:00
peter1138
c34f07d5fd
Fix #7390 : Extra line removed by mistake caused server_password to disappear from settings.
2019-03-20 23:55:38 +00:00
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.
2019-03-20 19:24:55 +01:00
Charles Pigott
fe448a2616
Remove: OPF
2019-03-16 22:30:11 +00:00
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.
2019-03-08 18:30:44 +00:00
Peter Nelson
b8a0107ad1
Change: Add configurable curve penalty for ships.
2019-03-08 16:52:08 +01:00
nikolas
a7e335c0b3
Fix: spelling for a few real town names ( #7338 )
...
Added special characters to mostly Slovak towns, a few Spanish, and one Turkish.
2019-03-07 17:52:57 +00:00
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.
2019-03-04 20:19:44 +01:00
SamuXarick
03264059e4
Change: Decrease minimum permitted value for script_max_opcode_till_suspend setting ( #7243 )
2019-02-28 17:37:50 +00:00
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.
2019-02-23 08:27:46 +00:00
Peter Nelson
9de12521ec
Codechange: Convert saveload numbers to enum values.
...
(This was mostly achieved with a few in-place regexes)
2019-02-02 21:39:06 +00:00
Peter Nelson
ea4ea62816
Codechange: Make saveload version upper bound exclusive, i.e. version object was removed instead of version object last appeared.
2019-02-02 21:39:06 +00:00
Peter Nelson
12b6fe47c7
Fix: Set MU flag on some default engines.
2019-02-01 07:08:55 +00:00
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.
2019-01-31 14:57:44 +01:00
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.
2019-01-30 14:52:56 +01:00
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.
2019-01-24 21:47:13 +00:00
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.
2019-01-21 16:06:25 +01:00
Peter Nelson
4daaec1a94
Change: Invalidate ship path caches if pathfinder choice or forbid-90-degree turns are changed.
2019-01-19 23:11:17 +00:00
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.
2019-01-12 08:33:13 +01:00
Nikolas Nyby
65746a0275
Fix: Spelling fixes on some Latin American town names
2019-01-11 20:24:12 +00:00
Gabda87
a0293d313d
Add #4115 : default company colour setting ( #6998 )
...
Works only in single player.
2019-01-10 10:45:38 +01:00
glx
c540d72445
Fix: [Win32] WIN32 may not be defined, always prefer the compiler predefined macro _WIN32
2018-12-27 18:09:16 +01:00
Niels Martin Hansen
e66cec8f86
Add: NewGRF support for 16-in-16-out industries
2018-11-03 21:43:54 +01:00
Niels Martin Hansen
8859381d30
Add: Industries can produce and accept up to 16 different cargoes
2018-11-03 21:43:54 +01:00
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.
2018-10-25 20:09:42 +02:00
Charles Pigott
2aacddd412
Codechange: lengthof is not defined for runtime-length strings, use sizeof instead
2018-06-27 22:54:46 +02:00
Niels Martin Hansen
4fb76db42f
Feature #986 : Automatic save when losing connection to a network game
2018-06-23 15:22:31 +02:00
PeterN
cfe6a8ea4f
Add: Replace independment map scrolling GUI settings with single option, and add choice to not lock cursor position when scrolling. ( #6756 )
2018-04-28 22:27:14 +01:00
PeterN
3b32075e8a
Add: {PUSH_COLOUR} and {POP_COLOUR} control codes to handle switching colours. ( #6737 )
...
This replaces the internal SCC_PREVIOUS_COLOUR swap.
2018-04-19 19:33:21 +01:00
Pavel Stupnikov
9175c349da
Fix #6465 : Add {NORMAL_FONT} and {MONO_FONT} control codes to GS strings ( #6726 )
2018-04-17 18:41:31 +01:00
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)
2018-03-11 12:11:09 +00:00
peter1138
86829c54c4
(svn r27972) -Fix (r15271) [FS#6670]: Catenary sprites got mixed up for depots.
2018-03-05 21:24:48 +00:00
adf88
6dec889306
(svn r27908) -Codechange: Mark airport tile tables and FTAs "const" to be sure that they are really constant
2017-08-31 06:55:38 +00:00
peter1138
d934ef9b00
(svn r27825) -Feature [FS#4950]: Add option to close windows with right click (Flamefire)
2017-03-24 18:55:16 +00:00
frosch
1b9139efe8
(svn r27760) -Change: Enable realisitic train and road vehicle acceleration by default.
2017-02-26 20:31:02 +00:00
frosch
b25afb239a
(svn r27706) -Feature: [NewGRF] String command 9A 1E to print the name of a cargo type.
2016-12-23 13:38:50 +00:00
frosch
2c8b84f21d
(svn r27705) -Doc: Add the hex codes to the SCC_NEWGRF_ enum entries.
2016-12-22 20:47:40 +00:00
frosch
d9bfe88261
(svn r27676) -Codechange: Rename catenary functions, so that they refer unambiguously to either RoadCatenary or RailCatenary.
2016-11-05 11:53:03 +00:00
frosch
ac6793dace
(svn r27654) -Change: Enable C++11 for clang 3.3 (LordAro)
2016-09-05 19:11:01 +00:00
michi_cc
2b8bb12d62
(svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing conversions in initializer lists.
2015-08-10 20:24:13 +00:00
alberth
d818e1779c
(svn r27378) -Codechange: Fix indentation of the table values, allow Doxygen to link to the TextColour enum.
2015-08-10 10:04:14 +00:00
frosch
4830497f0b
(svn r27340) -Fix [FS#6338]: Silence warning by moving _string_colourmap to a file no its own. (Cif)
2015-07-26 09:47:17 +00:00
frosch
50a3f44539
(svn r27295) -Add: [strgen] Default plural subparameter positions for CARGO_xxx string control codes.
2015-05-28 17:26:53 +00:00
alberth
a91f74dbb3
(svn r27231) -Codechange: Replace magic numbers for the smoothness setting (chillcore)
2015-04-11 18:45:18 +00:00
rubidium
13e3ef53e3
(svn r27183) -Fix: GCC5 compilation
2015-03-13 19:42:49 +00:00
frosch
c639fb0d8e
(svn r27163) -Fix [FS#6204]: Toolbars were not invalidated when changing max-vehicles settings. (adf88)
2015-02-22 15:26:27 +00:00
frosch
310258f283
(svn r27151) -Add: Allow changing max heightlevel in scenario editor.
2015-02-14 21:55:30 +00:00
frosch
2f7de4fd99
(svn r27144) -Change: The chatbox-width setting now uses percent of screen width instead of pixels.
2015-02-12 20:00:23 +00:00
frosch
4846c7ed6b
(svn r27137) -Fix (r0): Oilrig empty-tile checks were incorrect due to wrong TileIndexDiff->TileIndexDiffC conversion.
2015-02-06 21:54:19 +00:00
peter1138
c2dbe23c88
(svn r27048) -Fix (r26158): Position in articulated vehicle is 4D, not 4A.
2014-10-28 00:51:51 +00:00
rubidium
d534c80e94
(svn r27020) -Cleanup: some coding style consistency improvements (mostly spaces)
2014-10-15 18:31:37 +00:00
rubidium
8d90e86c2c
(svn r27009) -Add: extra level of general map heightness (ChillCore)
2014-10-13 14:22:48 +00:00
rubidium
fddeeb5e49
(svn r27002) -Fix-ish: replace some non-ASCII characters with ASCII characters, e.g. @þaram to @param
2014-10-12 18:26:54 +00:00
peter1138
253c91b17d
(svn r26990) -Feature: Add option to choose normal, double or quad-size interface.
2014-10-11 13:22:37 +00:00
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.
2014-10-05 21:18:37 +00:00
rubidium
b08b3bd8e3
(svn r26930) -Add: extra shadings to he heightmap colour tables (Chillcore)
2014-09-27 14:51:34 +00:00
rubidium
0176ef274f
(svn r26928) -Change: scale the heightmap colours over the whole range of heights (based on patch by ic111)
2014-09-27 11:17:54 +00:00
rubidium
f192045796
(svn r26927) -Codechange: split the heightmap colour tables into their own file in the table folder
2014-09-27 10:43:59 +00:00
rubidium
c72d362840
(svn r26885) -Feature-ish: user interface for limiting the maximum height of a map
2014-09-21 12:25:04 +00:00
rubidium
ce04c49e3d
(svn r26882) -Feature: allow limiting the height of bridges (ic111)
2014-09-21 11:40:11 +00:00
rubidium
f41b55f0ff
(svn r26880) -Add: stub settings for limiting bridge and map height
2014-09-21 11:27:34 +00:00
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)
2014-09-21 07:57:45 +00:00
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
2014-09-13 13:30:31 +00:00
frosch
0d565ae612
(svn r26614) -Add: Adv. settings window can handle the autosave setting as well.
2014-05-25 15:02:04 +00:00
frosch
0c9e666d96
(svn r26604) -Add: Most of the mapgen settings to advances settings window.
2014-05-21 18:07:30 +00:00
frosch
0ba81bff17
(svn r26528) -Remove: A bunch of archaic settings from the advanced settings GUI.
2014-04-27 15:35:31 +00:00
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.
2014-04-27 12:15:14 +00:00
frosch
6b61c4608f
(svn r26388) -Codechange: Move resolving of Action 3 into ResolverObject constructor.
2014-03-03 20:02:31 +00:00
frosch
62b22bfd2b
(svn r26374) -Fix [FS#5928]: Mixed up callback mask flags in station inspect window. (adf88)
2014-02-24 19:22:22 +00:00
fonsinchen
e4c7c8876b
(svn r26323) -Fix: update some constants related to map size.
2014-02-09 15:00:30 +00:00
frosch
e9c22ef16f
(svn r26244) -Feature: [NewGRF] Add StringCodes 9A 1B, 9A 1C and 9A 1D to display amounts of cargo.
2014-01-12 18:01:33 +00:00
frosch
bc86bf9b12
(svn r26237) -Cleanup: Remove unused SCC_STRING_ID.
2014-01-12 17:59:27 +00:00
frosch
7247ecf172
(svn r26206) -Fix [FS#5829]: Run everything from ini, obg, obs, obs, ... files through str_validate.
2014-01-02 17:55:57 +00:00
frosch
a12fa22a75
(svn r26158) -Fix: NewGRF inspect window lacked several newer variables.
2013-12-13 20:52:25 +00:00
rubidium
d2ba772f6a
(svn r26130) -Codechange: add some guards against using invalid image indices
2013-11-26 16:08:58 +00:00
rubidium
6f21593bf6
(svn r26050) -Fix: possible, but currently untriggered, out of bounds access in strgen
2013-11-22 21:43:47 +00:00
frosch
103b6fffbb
(svn r25916) -Add: GUI sprite for the smallmap cargoflow button. (frosch, planetmaker, V453000)
2013-10-27 15:09:41 +00:00
planetmaker
8033162bb8
(svn r25876) -Codechange: Unify object placement during map creation
2013-10-17 21:41:17 +00:00
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)
2013-10-17 21:31:53 +00:00
planetmaker
88286d33ab
(svn r25873) -Codechange: Add property for the amount of generated objects upon map creation to default objects
2013-10-17 21:27:08 +00:00
planetmaker
6f62458e3b
(svn r25872) -Codechange: Add climate property to default objects
2013-10-17 21:26:04 +00:00
planetmaker
f5e408fa1c
(svn r25868) -Fix (r25650): Initialization of default objects swapped costs and dates
2013-10-16 19:11:34 +00:00
planetmaker
5cc4d240f1
(svn r25775) -Fix [FS#5746]: Some spelling corrections to Catalan town names (juanjo)
2013-09-15 15:48:38 +00:00
planetmaker
eecb4b3506
(svn r25774) -Fix [FS#5746]: Some spelling corrections to Latin American town names (juanjo)
2013-09-15 15:46:19 +00:00
rubidium
1e715bfbea
(svn r25557) -Fix [FS#5524]: one could build bridges over owned land of another company
2013-07-04 20:05:07 +00:00
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)
2013-06-29 09:47:18 +00:00
rubidium
6e97b7a6e8
(svn r25507) -Cleanup: double definition
2013-06-29 08:58:25 +00:00
rubidium
7c0f34130c
(svn r25454) -Remove/Fix/Cleanup: SETX(Y) does not work at all with other than default fonts, so get rid of it
2013-06-24 18:39:19 +00:00
rubidium
94a5fe6b92
(svn r25437) -Codechange: rework the FreeTypeSettings structure to make it better grouped
2013-06-23 15:23:22 +00:00
fonsinchen
0fc198cb00
(svn r25365) -Feature: show cargo by next hops and final destinations in the station GUI
2013-06-09 13:08:52 +00:00
fonsinchen
a49a4eec6e
(svn r25351) -Add: settings for link graph
2013-06-09 12:56:35 +00:00
zuu
a2d84868e7
(svn r25344) -Feature: GUI for viewing story pages
2013-06-09 12:48:27 +00:00
rubidium
f292a87dc4
(svn r25312) -Fix-ish: missing spaces after comma + realignment of tables; quite boring with -x -w
2013-06-01 07:44:53 +00:00
frosch
05c472f08a
(svn r25295) -Feature: Allow saving window sizes as default sizes.
2013-05-26 19:30:31 +00:00
frosch
559b7ef35e
(svn r25293) -Add: GUI sprite for default window size button.
2013-05-26 19:29:43 +00:00
frosch
ed851034f5
(svn r25292) -Feature: Save stickyness of windows when Ctrl+Clicking the sticky button.
2013-05-26 19:27:44 +00:00
frosch
23ba42b66c
(svn r25291) -Add: WindowDesc ability to load and store information in a config file.
2013-05-26 19:27:22 +00:00
frosch
e28659aa51
(svn r25193) -Cleanup: [strgen] Remove some ancient unused string codes.
2013-04-17 18:24:13 +00:00
frosch
bcd5038af9
(svn r25192) -Change: [strgen] Allow any number of colour codes in translations.
2013-04-17 18:22:37 +00:00
michi_cc
55ba9320f3
(svn r25157) -Feature: Determine the default font height for vector fonts according to the minimum readable height that the font provides.
2013-04-06 22:06:44 +00:00
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.
2013-03-22 21:27:13 +00:00
planetmaker
3c2d8cc28d
(svn r25078) -Add: New plural form to be used by Scottish Gaelic (1,11; 2,12; 3..10, 13..19; other)
2013-03-10 11:02:11 +00:00
planetmaker
c22bbf5293
(svn r25072) -Codechange: Don't require the custom currency to be the last defined one
2013-03-09 16:16:17 +00:00
rubidium
ef8d491d8f
(svn r24996) -Change: Apply default service interval changes to vehicles without custom interval (peter1138)
2013-02-14 17:08:56 +00:00
matthijs
97decad061
(svn r24991) -Doc: Clarify comments regarding settings macros.
2013-02-14 11:06:01 +00:00
rubidium
99a08e1e8c
(svn r24968) -Fix [FS#5379]: company window was not updated when shared were enabled/disabled
2013-02-04 20:29:38 +00:00
frosch
fea76bbb78
(svn r24910) -Fix: [strgen] Description of plural form 3 was incorrect.
2013-01-12 17:21:30 +00:00
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
2013-01-08 22:46:42 +00:00
planetmaker
89a2ba2a6d
(svn r24899) -Fix [FS#5434]: Also the station build window needs redrawing when the station spread changes (based on patch by juanjo)
2013-01-08 22:38:59 +00:00
rubidium
d5d96ba683
(svn r24877) -Fix: some whitespace "errors"
2013-01-01 10:52:32 +00:00
frosch
3ce8d2ce70
(svn r24846) -Add: Advanced settings to disable certain sound effects.
2012-12-23 21:09:09 +00:00
frosch
345c3203d7
(svn r24845) -Add: News ticker sound setting to adv. settings window.
2012-12-23 21:08:42 +00:00
frosch
bc84f30fc1
(svn r24844) -Add: News display settings to adv. settings window.
2012-12-23 21:08:02 +00:00
frosch
21b43b63f5
(svn r24843) -Codechange: Move news display options into the general settings framework. (based on patch by eagle_rainbow)
2012-12-23 21:07:12 +00:00
frosch
6bb43a6561
(svn r24792) -Add: Readd difficulty settings to advanced settings unless they are already present in other settings windows.
2012-12-05 19:38:44 +00:00
frosch
d1ab0f03bc
(svn r24790) -Remove: Classic difficulty profiles.
2012-12-05 19:36:41 +00:00
frosch
812ae4140a
(svn r24789) -Add: Separate setting to control the default settings of newly added scripts and random AIs.
2012-12-05 19:36:04 +00:00
frosch
a499435351
(svn r24786) -Codechange: Add SettingsProfile enum for difficulty profiles and highscore tables.
2012-12-05 19:34:45 +00:00
frosch
5b2da98ca3
(svn r24785) -Add: Various methods to open the OSK. (based on patch by Eagle_rainbow)
2012-12-05 19:34:25 +00:00
frosch
5e8238c75c
(svn r24748) -Add: Clear button to all editboxes.
2012-11-14 22:50:56 +00:00
frosch
b65ece1ea9
(svn r24695) -Fix/Cleanup: Remove remaining (incorrect) usages of ResolverObject::scope and count.
2012-11-11 12:57:27 +00:00
alberth
4c9bea2a71
(svn r24692) -Cleanup: Cleanup final parts of the old resolver code.
2012-11-10 20:45:59 +00:00
alberth
69e07c3e00
(svn r24691) -Codechange: Add resolver classes for vehicles.
2012-11-10 20:45:04 +00:00
alberth
e087503fd6
(svn r24690) -Codechange: Add resolver classes for industry tiles.
2012-11-10 20:44:38 +00:00
alberth
f7352871fa
(svn r24689) -Codechange: Add resolver classes for industries.
2012-11-10 20:44:10 +00:00
alberth
37605108e1
(svn r24686) -Codechange: Add resolver classes for airport tiles.
2012-11-10 20:42:19 +00:00
alberth
82e6001451
(svn r24685) -Codechange: Add resolver classes for rail types.
2012-11-10 20:41:45 +00:00
alberth
c417efc962
(svn r24684) -Codechange: Add resolver classes for stations.
2012-11-10 20:41:08 +00:00
alberth
a9b8b22daf
(svn r24683) -Codechange: Add resolver classes for objects.
2012-11-10 20:40:46 +00:00
alberth
d7b62da87b
(svn r24682) -Codechange: Add resolver classes for houses.
2012-11-10 20:40:05 +00:00
frosch
dc930b6689
(svn r24672) -Add [FS#5356]: Remember the basic/advanced/expert filter selection.
2012-11-08 11:20:32 +00:00
frosch
69a62452be
(svn r24671) -Feature [FS#5355]: Add basic/advanced/expert filters to adv. settings GUI. (Eagle_rainbow)
2012-11-08 10:04:00 +00:00
frosch
72fc771039
(svn r24590) -Feature: More options for the auto-scroll setting. (adf88)
2012-10-13 09:16:20 +00:00
frosch
17dcc7a899
(svn r24400) -Add: Plural 'names' to the output of strgen -export-plurals.
2012-07-14 14:21:25 +00:00
frosch
2ef319d0fe
(svn r24373) -Codechange: Improve descriptions of plural forms.
2012-07-03 19:14:51 +00:00
frosch
62670b48b9
(svn r24368) -Fix (r24367): Silence GCC warnings.
2012-07-02 15:55:13 +00:00
frosch
f57fbe02c8
(svn r24270) -Add: Missing descriptions for adv. settings.
2012-05-25 16:03:54 +00:00
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.
2012-05-15 20:37:42 +00:00
alberth
fc213a6dae
(svn r24235) -Add: Add help-strings for the settings in the advanced settings window.
2012-05-12 10:09:56 +00:00
alberth
1d58838a97
(svn r24234) -Add: Add help-string infrastructure to the ini files
2012-05-12 10:09:00 +00:00
alberth
88224d001d
(svn r24210) -Feature: Split the renew-months setting text in two string values (one before life time and one after).
2012-05-06 15:03:45 +00:00
alberth
8c585e5ad6
(svn r24209) -Cleanup: Remove now unused SGF_NOCOMMA value.
2012-05-06 15:00:13 +00:00
alberth
11f21917d6
(svn r24206) -Codechange: Move colouring of advanced setting options to the drawing code.
2012-05-06 14:56:13 +00:00
frosch
e1fda49027
(svn r24194) -Change: Rename the 'signal_side' setting to 'train_signal_side', and add a third option while doing so.
2012-05-01 15:53:51 +00:00
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.
2012-05-01 15:13:23 +00:00
frosch
16b310d8ce
(svn r24186) -Feature: [NewGRF] Callback to set industry production level on construction. (andythenorth)
2012-04-28 16:44:01 +00:00
frosch
fa51dee557
(svn r24177) -Fix (r0) [FS#5148]: The arctic "shops and offices" used the "church" sprite in one of its four views.
2012-04-24 19:19:57 +00:00
michi_cc
a2b2bc3620
(svn r24141) -Feature: Display rating in the town directory window. (Inspired by patch from MagicBuzz)
2012-04-17 19:44:41 +00:00
michi_cc
f3e295b4ec
(svn r24134) -Add: Configurable limits for tree planting.
2012-04-17 19:43:52 +00:00
michi_cc
708d5b6712
(svn r24129) -Feature [FS#3660]: Option to minimise signal distance when dragging over obstacles. (adf88)
2012-04-17 19:43:29 +00:00
rubidium
54e36c4ff8
(svn r24111) -Codechange: use Colour more instead of manually bitstuffing
2012-04-10 20:16:51 +00:00