Age | Commit message (Collapse) | Author |
|
drag&drop (#8511)
The selected group was not reset when drag&drop was aborted. When
after that vehicle drag&drop was successful, group drag&drop code
was still executed, causing weird behaviour or even crashes.
|
|
construction (#8274)
|
|
Even if you are completely broke, generating money should always
be allowed.
|
|
(#8507)
When a multi-tile house is rebuild, it always used the most northern
tile to build the new house. This can very easily lead to houses
wandering off in the north-ish direction (either NW or NE).
To prevent this, pick the tile closest to town center when rebuilding
on a multi-tile house. This still means a house can be build away
from a road, but it is no longer wandering around finding another
town to call home.
|
|
Just in case you want to move it SLIGHTLY to the right.
|
|
Having 4 rails is a pretty common design, and towns now couldn't
bridge out of this common design.
|
|
|
|
polish: 7 changes by yazalo
|
|
This is a much better location for this button, as you send
money from one company to another company, not from player
to player.
This is based on work done by JGRPP in:
https://github.com/JGRennison/OpenTTD-patches/commit/f82054339124cc6b89c5f4f9dac2d9da62f0108b
and surrounding commits, which took the work from estys:
https://www.tt-forums.net/viewtopic.php?p=1183311#p1183311
We did modify it to fix several bugs and clean up the code while
here anyway.
The callback was removed, as it meant a modified client could
prevent anyone from seeing money was transfered. The message
is now generated in the command itself, making that impossible.
|
|
Company window
Currently password-lock icon + button was the same size, but this
looks really weird. Now they are in sync, even with other fonts
and languages.
|
|
Code acted as if WWT_TEXT starts a scope; it does not.
|
|
Otherwise it can take a few OnPaint() calls before all planes are
set correctly when switching companies.
|
|
When a vehicle is cleaned up, all news that points to the news is
also removed. This was a bit evil, as it would also remove any
news related to crashed, acting like the crash never happened.
This left players a bit in the dark what was going on exactly.
|
|
persian: 24 changes by alisaffari97
|
|
Based on patch by JGR.
|
|
The OldAI was removed in 2009. Pretty sure we can remove this flag
now too.
|
|
|
|
|
|
wrong height
Only the rotated intercontinental airport, don't get excited
|
|
candidate as using only the hash generates false positives
|
|
a mutable type in render methods
|
|
sprites less often
|
|
The fix for #8067 solves the real issue, making this workaround unneeded.
|
|
|
|
|
|
This replicates the behaviour on e.g. Windows, which saves the original window size.
|
|
|
|
spanish (mexican): 14 changes by absay
finnish: 32 changes by hpiirai
polish: 2 changes by yazalo
|
|
introduction date.
|
|
comment for new code.
|
|
|
|
instead simply initialise the buffer on allocation.
|
|
anymore.
|
|
drawing code and moving the window/event handling to a different file.
This is just a code move/rename, not a functionality change.
|
|
This means that if you start OpenTTD with "-c" to indicate another
location to store files, it can still read the content you already
downloaded from your PERSONAL_DIR. This folder is, however,
read-only.
This is useful for situations where you downloaded OpenGFX via
the content-service, but want to run the regression or want to
run with a clean configuration. With this change, you no longer
need to download OpenGFX again.
|
|
CoreText for proper text layout.
|
|
This allows "small_font = ./myfont.ttf", with "myfont.ttf" located
in "~/.openttd".
|
|
|
|
directories ourselves
|
|
This was clearly overlooked during the initial implementation.
|
|
finnish: 3 changes by hpiirai
catalan: 29 changes by J0anJosep
|
|
routine (#8474)
When running with -dsl=2 it is very easy to miss important information
as there was a lot of noise in between too. This tunes the debug
levels a bit to be less noisy while keeping the important bits.
|
|
|
|
finnish: 4 changes by hpiirai
french: 1 change by glx22
|
|
|
|
spanish (mexican): 42 changes by absay
russian: 4 changes by Ln-Wolf
finnish: 2 changes by hpiirai
french: 35 changes by glx22
polish: 25 changes by yazalo
|
|
|
|
korean: 4 changes by telk5093
german: 84 changes by UnsuspiciousGooball
finnish: 4 changes by hpiirai
slovak: 7 changes by FuryPapaya
|
|
The previous fix 887e9481ff0e70df6bf93ce15a3899a03f124c50 only worked for roads and failed to consider a multiplier used for the infrastructure totals for tunnels/bridges.
Also, depots and bus/truck stops are counted as 2 road pieces on creation but were only counted as 1 road piece on conversion because the function DiagDirToRoadBits() was used, which only ever returns single-piece road segments.
Co-authored-by: A. S <admin-git@sotai.tk>
|
|
korean: 6 changes by telk5093
finnish: 6 changes by hpiirai
slovak: 47 changes by FuryPapaya
|