Jonathan G Rennison
d3cef7284a
Fix missing case in SlCalcObjMemberLength
...
Fixes 80d6f6c622
6 years ago
Jonathan G Rennison
698409381e
Cache viewport station/waypoint sign infomation
6 years ago
Jonathan G Rennison
191afd93c1
Merge branch 'save_ext' into jgrpp
...
# Conflicts:
# src/lang/english.txt
# src/lang/german.txt
# src/lang/korean.txt
# src/settings.cpp
# src/station_cmd.cpp
# src/table/settings.ini
# src/vehicle_base.h
# src/widgets/dropdown.cpp
6 years ago
Jonathan G Rennison
80d6f6c622
Merge branch 'master' into save_ext
...
# Conflicts:
# src/saveload/saveload.cpp
# src/saveload/saveload.h
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
J0an Josep
9ce92521c1
Fix: If screen size changes, windows are relocated and dropdown may not fit the screen.
6 years ago
J0an Josep
628af2fabc
Fix #6060 : When opening a scrollable dropdown above a widget, scroll it to its very bottom.
...
This "prevents" the fast movement towards the bottom when holding down the mouse button.
6 years ago
Juanjo
226dbcb422
Codechange #6060 : Allow drawing dropdown lists with scrollbars above the widgets
6 years ago
btzy
9d75600ac0
Fix: Round up deltas for smooth scrolling, so target will be reached
6 years ago
translators
e71f7cf277
Update: Translations from eints
...
russian: 10 changes by Lone_Wolf
hungarian: 5 changes by Brumi
spanish (mexican): 6 changes by Absay
6 years ago
Peter Nelson
f35b135e17
Change 81330b8d6e: Cached path only needs to be cleared if it was found to be invalid.
6 years ago
Peter Nelson
4daaec1a94
Change: Invalidate ship path caches if pathfinder choice or forbid-90-degree turns are changed.
6 years ago
Peter Nelson
81330b8d6e
Change: Add path cache for ships.
6 years ago
Peter Nelson
1c725fce47
Change: Add ability to save/load std::deque<> containers.
6 years ago
Jonathan G Rennison
e15601e12f
Cache whether a train may have a depot or bridge speed restriction
6 years ago
Jonathan G Rennison
f4180e8714
Check vehicle sound setting before motion/tick counts in CallVehicleTicks
6 years ago
Jonathan G Rennison
3cb5bfe1a9
Fix departure GUI not updating when mode changed when paused
...
Fix buttons not being re-drawn when ctrl-clicking transport type buttons
6 years ago
translators
60da05cf2a
Update: Translations from eints
...
french: 3 changes by glx
6 years ago
Ingo von Borstel
4e9e115760
Add: [NewGRF] Airport animation trigger for plane landing ( #6334 , patch by Supercheese)
6 years ago
Niels Martin Hansen
f37304f9f5
Cleanup: Remove unused strings
6 years ago
Niels Martin Hansen
08ffa16d51
Fix 8859381: Display of requires/produces in Build Industry window
...
Change the window to use a dynamically generated string of cargoes,
instead of one of a few fixed-length lists. With up to 16 cargoes
on each list, having 16 with the only difference how many are listed
seems like a bad maintenance idea.
6 years ago
Jonathan G Rennison
0bb9207f4d
Index OrderList contents in a flat vector
6 years ago
Jonathan G Rennison
d87ac8ec7e
Improve performance of train breakdown detection
6 years ago
Jonathan G Rennison
841ea7639f
De-virtualise most common calls to Vehicle::Tick
6 years ago
Jonathan G Rennison
08998d95ba
De-virtualise tile animation calls
6 years ago
Jonathan G Rennison
f763b5d5e0
Remove some assertions on tile accessors in non-debug builds
6 years ago
translators
07a40df9ab
Update: Translations from eints
...
spanish: 4 changes by SilverSurferZzZ
spanish (mexican): 1 change by Absay
6 years ago
nikolas
d8ccad91f9
Fix: Some code and comment typos
...
Found with codespell
6 years ago
glx
1623cb553b
Fix #7032 : use the same mode to load and render glyphs
6 years ago
Charles Pigott
fe8c24e081
Codechange: Remove unnecessarily defined functions under MinGW
6 years ago
Charles Pigott
2d981a4b2c
Fix: A few minor compile warnings under MinGW
6 years ago
glx
1106534262
Fix: depend was messing the line endings in append mode
6 years ago
translators
91315a7a39
Update: Translations from eints
...
spanish: 3 changes by SilverSurferZzZ
6 years ago
Jonathan G Rennison
7c539267ed
Merge branch 'master' into jgrpp
6 years ago
Peter Nelson
6b0a467a50
Change: Obey forbid_90_deg_turns when choosing available track with no destination.
6 years ago
Peter Nelson
7284b593c7
Change: When ship is lost, pick first available track instead of a random track.
6 years ago
Peter Nelson
8b64204418
Codechange: Replace trackbit lookup table with existing functions.
6 years ago
Peter Nelson
7af53d7588
Codechange: Use const instead of magic number for ship order distance. Allow slightly further distance when following orders.
6 years ago
Peter Nelson
b98887c4a0
Change: Allow only one ship to leave depot at a time.
6 years ago
Peter Nelson
ebddd596c7
Change: Don't pathfind with no destination or if destination is known to be too far.
6 years ago
Peter Nelson
6a38a3f5df
Change: Don't leave ship depot with no orders.
6 years ago
Jonathan G Rennison
f645222d8f
Add scope info logging to sprite read/load
6 years ago
Jonathan G Rennison
3f03d03d92
Fix uint8 file_slot in LoadNextSprite
6 years ago
translators
29b6b74ee1
Update: Translations from eints
...
french: 4 changes by glx
finnish: 2 changes by ln
6 years ago
Jonathan G Rennison
d489ee5d9c
Discard invalid/negative sprite sizes in LoadSpriteV1
...
This is to avoid sign-conversion to a huge unsigned value
which is passed to malloc.
6 years ago
glx
9f0ad7e269
Fix: BSD find used by OSX requires explicit path
6 years ago
glx
3f28e0cf53
Add: squirrel_export.vbs for users unable to run bash/gawk scripts
6 years ago
glx
8e5a8d3ec3
Cleanup: remove svn references in squirrel_export.sh
6 years ago
glx
2cf9405aa2
Fix: remove manual single file generation in squirrel_export.sh as it's broken
6 years ago
glx
34c438d7ad
Fix: keep line endings when running squirrel_export.sh on windows
6 years ago
Jonathan G Rennison
e3d167f9f0
Merge branch 'save_ext' into jgrpp
...
# Conflicts:
# config.lib
# src/misc_gui.cpp
# src/network/network_gui.cpp
# src/settings_type.h
# src/smallmap_gui.cpp
# src/smallmap_gui.h
# src/station_cmd.cpp
# src/toolbar_gui.cpp
# src/vehicle_gui.cpp
# src/window.cpp
6 years ago
Jonathan G Rennison
4a162c5502
Merge branch 'cpp-11' into save_ext
6 years ago
Jonathan G Rennison
0bed63b77f
Merge branch 'master' into cpp-11
6 years ago
Joan Josep
823c5bfa3b
Fix #5978 : Ensure group GUI stats and lists are invalidated properly (3298, Juanjo) ( #7046 )
6 years ago
translators
ca7ee34502
Update: Translations from eints
...
croatian: 8 changes by VoyagerOne
6 years ago
PeterN
89f0017a67
Fix #7050 : Missing guard around network chat message function for compiling with networking disabled. ( #7058 )
6 years ago
Alberth289346
f4b8a67aed
Fix #6408 : Improve wording of the dragging signal distance tooltips (juanjo) ( #7055 )
6 years ago
nikolas
4fc1b2baae
Fix: Grammar in a bunch of comments ( #7054 )
6 years ago
PeterN
5ff0c24993
Fix #6780 : Some windows didn't get updated from OnTick() ( #7048 )
6 years ago
Joan Josep
9aecbac2b4
Codechange: Define INVALID_TOWN as a TownID ( #7044 )
6 years ago
Joan Josep
96854b2b8b
Codechange #5859 : Simplify CheckTrainStayInDepot() ( #7045 )
6 years ago
Nikolas Nyby
0f9d1019e6
Add: Mexican Peso currency
...
OpenTTD doesn't have any pesos, so I've added Mexican pesos,
at its current exchange rate: 1GBP = 24.39MXN, rounded to 24.
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
Johannes E. Krause
06cd561cea
Add: when placing non-rectangular airport, consider airport tile table tiles only (patch by adf88, #6613 )
6 years ago
Nikolas Nyby
65746a0275
Fix: Spelling fixes on some Latin American town names
6 years ago
translators
c80608a83c
Update: Translations from eints
...
spanish: 3 changes by SilverSurferZzZ
spanish (mexican): 3 changes by Absay
6 years ago
nikolas
fa95af2da8
Codechange: Fix typo in variable name: pices -> pieces ( #7033 )
6 years ago
Peter Nelson
c693463c29
Fix: Always draw dirty blocks, else fast-forward is super fast.
6 years ago
Peter Nelson
806e7d25dd
Change: Use GUITimer class instead of bare int/uints.
6 years ago
Peter Nelson
59fe4f28c8
Change: Animate text effects by real time instead of game ticks.
6 years ago
Peter Nelson
ead9c9eab5
Change: Switch various window timers to real time instead of game ticks.
6 years ago
Peter Nelson
15320a37b9
Change: OnGameTick() is only called when not paused.
6 years ago
Peter Nelson
2a8fa5fef9
Change: Split up Window::OnTick into OnGameTick and OnRealtimeTick. Adjust timers to work with milliseconds instead of ticks.
6 years ago
translators
e34a6c58ea
Update: Translations from eints
...
italian: 1 change by lorenzodv
french: 29 changes by glx
6 years ago
Gabda87
a0293d313d
Add #4115 : default company colour setting ( #6998 )
...
Works only in single player.
6 years ago
Andy
ad5a9daed5
Change: Desert tiles are now half-desert if a neighboured tile is non-desert or sea/coast. (patch by frosch123) #4754 ( #7015 )
6 years ago
Andy
e934f09f02
Fix: Don't increase motion counter while train is waiting at non-path signals (Author: frosch123) #5877 ( #7018 )
6 years ago
Jonathan G Rennison
7e5455a07d
Merge remote-tracking branch 'kiwitreekor/korean-translation' into jgrpp
6 years ago
translators
5e51d9ee82
Update: Translations from eints
...
hebrew: 22 changes by dnd_man
spanish (mexican): 1 change by Absay
6 years ago
Jonathan G Rennison
0e7519f33e
Merge branch 'more_cond_orders-sx' into jgrpp
...
# Conflicts:
# config.lib
# projects/openttd_vs100.vcxproj
# projects/openttd_vs100.vcxproj.filters
# projects/openttd_vs80.vcproj
# projects/openttd_vs90.vcproj
# src/order_gui.cpp
# src/order_type.h
# src/saveload/afterload.cpp
# src/saveload/extended_ver_sl.cpp
6 years ago
Jonathan G Rennison
635c7ca2d5
Merge branch 'save_ext' into more_cond_orders-sx
...
# Conflicts:
# src/lang/english.txt
# src/order_type.h
6 years ago
Jonathan G Rennison
0dba091d79
Merge branch 'cpp-11' into save_ext
...
# Conflicts:
# config.lib
# src/saveload/saveload.cpp
6 years ago
Jonathan G Rennison
962a9c5430
Merge branch 'master' into cpp-11
...
# Conflicts:
# config.lib
# projects/openttd_vs100.vcxproj
# projects/openttd_vs100.vcxproj.filters
# projects/openttd_vs80.vcproj
# projects/openttd_vs90.vcproj
# src/saveload/saveload.cpp
6 years ago
J0an Josep
effb7da5b4
Doc: Fix spelling in comments.
6 years ago
J0an Josep
c304aa50e9
Fix: [NPF] Don't look two-way for road vehicles when looking for a depot. Road vehicles shouldn't reverse all of a sudden.
6 years ago
Juanjo!
1db66a285e
Codechange: [YAPF] Stop looking for an automatic servicing road depot when the cost of a path exceeds max. penalty.
6 years ago
Juanjo!
edb7adf183
Codechange: [NPF] Stop looking for an automatic servicing (rail/road) depot when the cost of a path exceeds max. penalty.
6 years ago
J0an Josep
19a2f84943
Fix #7001 : Pathfinders should see standard road stations as tiles where to reverse.
6 years ago
kiwitreekor
d1b98855de
Fix typos
6 years ago
Niels Martin Hansen
15a7f9da9d
Fix 13056ae: PR #7017 added new enum value in bad position, move it
6 years ago
kiwitreekor
030d6a3024
Update Korean Translation
6 years ago
Eddi-z
13056aedbc
Add: Conditional order for max. reliability (patch by Cirdan, #6360 ) ( #7017 )
6 years ago
glx
92d3358db5
Fix: [Win32] don't mess with std[out|err|in] if we can't allocate a console
6 years ago
Niels Martin Hansen
b8b6954fb5
Fix 6a3d411: Silence truncation warning
6 years ago
Niels Martin Hansen
cb60a5e57f
Change: Fluidsynth music driver plays through mixer instead of own audio driver
6 years ago
Niels Martin Hansen
d6c06de5ad
Add: Mixer feature for streaming sampled music
6 years ago
Niels Martin Hansen
12ba56c5a3
Fix 6accbf9: Silence warnings about unused fread() result
6 years ago
Juanjo
9e30054de9
Codechange: Use window class as expected.
6 years ago
J0an Josep
16a91130a7
Codechange: Use INVALID_TRACKDIR instead of 0xFF.
6 years ago
translators
49ab02c084
Update: Translations from eints
...
spanish: 4 changes by SilverSurferZzZ
6 years ago