translators
6c02c19931
Update: Translations from eints
...
italian: 3 changes by lorenzodv
6 years ago
Jonathan G Rennison
79ca5c8b7d
Merge branch 'custom_bridgeheads' into jgrpp
6 years ago
Jonathan G Rennison
25af12814b
Fix double-adding of road tunnel/bridge infra counts when changing owner
6 years ago
PeterN
11ab3c4ea2
Change: Increase cargo type limit to 64.
6 years ago
Jonathan G Rennison
4d1bd8e4b4
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/genworld_gui.cpp
# src/gfx.cpp
# src/lang/korean.txt
# src/linkgraph/linkgraph_gui.cpp
# src/linkgraph/linkgraph_gui.h
# src/music.cpp
# src/table/settings.ini
# src/town_cmd.cpp
# src/train_cmd.cpp
6 years ago
translators
7eca4a9b47
Update: Translations from eints
...
french: 5 changes by glx
6 years ago
Jonathan G Rennison
b48a6ef368
Revert "Revert "Add: [Win32] Uniscribe configure options for MinGW targets.""
...
This reverts commit ca4a4869a2
.
6 years ago
Niels Martin Hansen
336d6cab68
Fix 6298b96: Playlist window not drawing playlist
...
Copy-paste error in change to remove C++11 usage...
6 years ago
Pavel Stupnikov
9fc3212679
Feature #6397 : Keep town growth rate in sync with house count
...
Takes some code and ideas from #6378 patch, but doesn't change anything GS-related.
6 years ago
Jonathan G Rennison
dc8fff2c4d
Add: Hover tool-tips to cargo dest flow legend window.
...
This is to improve the usability of the window.
The two-letter abbreviations are not always clear, in particular
when using a large number of cargoes.
The company colours can be ambiguous when there are a large
number of companies.
6 years ago
Niels Martin Hansen
6298b96571
Change: Modernise music control logic implementation ( #6839 )
...
Rewrite of almost the entire music control logic to a more modern style, hopefully also easier to understand. The old playlist handling made it look like arcane magic, which it doesn't have to be.
- Playlists are now stored in std::vector of objects instead of arrays of bytes with magic sentinel values, that need to be rotated around all the time. Position in playlist is stored as a simple index.
- The theme song is now reserved for the title screen, it doesn't play on any of the standard playlists, but is still available for use on custom playlists.
- When the player enters/leaves the game from the main menu, the music always restarts.
- Playback state (playing or not) is kept even if music becomes unavailable due to an empty playlist (or an empty music set), so it can restart immediately if music becomes available again.
- The shuffle algorithm was changed to a standard Fisher-Yates.
- Possibly better behavior when editing a custom playlist while it's playing.
- Custom playlists should be compatible.
- Framework for supporting custom playlists with songs from multiple music sets.
6 years ago
translators
889175f7ad
Update: Translations from eints
...
croatian: 1 change by VoyagerOne
italian: 1 change by lorenzodv
french: 1 change by glx
6 years ago
Jonathan G Rennison
458bc90678
Fix: Poor contrast in cargo dest flow legend window cargo labels.
...
Select foreground colour depending on the brightness of the background.
Previously all cargo labels were rendered using black text, even
the background cargo colour was dark/black.
As an example: FIRS coal was black text on a black background.
6 years ago
Alberth
7fed8fe004
Fix #6553 : Make viewport button text unambiguous.
6 years ago
Niels Martin Hansen
4fb76db42f
Feature #986 : Automatic save when losing connection to a network game
6 years ago
Alberth289346
11ba094582
Feature #4186 : Append '(City)' behind cities in the town directory (sbr)
6 years ago
Alberth
1a5a95aa49
Fix: Make switch on MD5File::ChecksumResult complete to avoid compiler warning
6 years ago
translators
21ac11548a
Update: Translations from eints
...
korean: 1 change by telk5093
6 years ago
Jonathan G Rennison
ef0a458ab6
Add go to depot and sell vehicle orders
...
Controlled by a setting (default off)
6 years ago
kiwitreekor
f00930fa52
Merge pull request #59 from kiwitreekor
...
Squashed commit of the following:
commit 0497399a03
Author: kiwitreekor <kiwitreekor@gmail.com>
Date: Thu Jun 21 22:10:27 2018 +0900
Update korean.txt
commit c4d60bc9e9
Merge: 27729f1
0ac92b8
Author: kiwitreekor <kiwitreekor@gmail.com>
Date: Thu Jun 21 00:10:11 2018 +0900
Merge branch 'jgrpp' into jgrpp
commit 27729f10fc
Author: kiwitreekor <kiwitreekor@gmail.com>
Date: Thu Jun 21 00:02:20 2018 +0900
Update Korean Translation
commit 1e67b51ed8
Author: kiwitreekor <kiwitreekor@gmail.com>
Date: Sat Jan 13 21:33:04 2018 +0900
Add files via upload
commit 9ee0445edd
Author: kiwitreekor <kiwitreekor@gmail.com>
Date: Sat Jan 13 21:30:43 2018 +0900
upload mistake
commit 21bc4d9db1
Author: kiwitreekor <kiwitreekor@gmail.com>
Date: Sat Jan 13 21:27:51 2018 +0900
Fix Mistypo
commit 716b451d8b
Author: kiwitreekor <kiwitreekor@gmail.com>
Date: Sat Jan 13 21:25:15 2018 +0900
Update Korean Translation
6 years ago
Jonathan G Rennison
670ed0de5b
Fix double-accounting of bidi signals on bridge/tunnel during owner change
6 years ago
Jonathan G Rennison
fd08259698
Fix fast path being unconditionally disabled in save/load whole map
6 years ago
Jonathan G Rennison
0ac92b8236
Update current order unload type and cargo type load/unload on modify order
6 years ago
Jonathan G Rennison
e5a8dbee35
Through load: Fix handling of load if available cargo type orders
6 years ago
Jonathan G Rennison
2586096ef6
Merge branch 'tracerestrict-sx' into jgrpp
...
# Conflicts:
# src/pbs.cpp
# src/saveload/extended_ver_sl.cpp
6 years ago
Jonathan G Rennison
e9f5d80440
Trace restrict slots: Add support for slot operations at PBS end signal
6 years ago
Jonathan G Rennison
1b4db7d86c
Trace restrict: Add wait at entrance PBS for reservation ending here
6 years ago
Jonathan G Rennison
751f379cdd
Trace restrict: Fix wrong position of safeguards header include
6 years ago
Michael Lutz
ae467ffc8a
Fix: Scale default FreeType font size selection by UI zoom level.
6 years ago
Jonathan G Rennison
e82ccad052
Merge branch 'signal_tunnels_bridges' into jgrpp
...
# Conflicts:
# src/pbs.cpp
# src/saveload/extended_ver_sl.cpp
# src/settings_gui.cpp
# src/settings_type.h
# src/signal.cpp
# src/table/settings.ini
# src/train_cmd.cpp
# src/tunnelbridge.h
6 years ago
Jonathan G Rennison
814f9f7e0f
Implement bidirectional mode for signals on bridges/tunnels
6 years ago
Jonathan G Rennison
d03139b241
Use separate bits for signals on bridge/tunnel entrance/exit red/green states
6 years ago
translators
4099506093
Update: Translations from eints
...
chinese (simplified): 5 changes by xiangyigao
6 years ago
Michael Lutz
574f547aca
Fix 768a31b: When cascading to another text layouter, clear the old font run state left over from the previous (failed) layout attempt.
6 years ago
Niels Martin Hansen
5ab06ef8a3
Fix: Don't complain if CAT music files are missing entirely
...
Just complain if an index into a CAT file that exists is invalid.
6 years ago
Niels Martin Hansen
a1b7812c7e
Change: Improved looping of title song
6 years ago
Niels Martin Hansen
11a846e3d5
Change: Compensate for MIDI transmission time when skipping start of song
6 years ago
Niels Martin Hansen
276192f714
Change #6684 : Cutting point overrides for music base sets
...
This improves bad looping of title screen song from Windows TTD, and fixes
a long silence at the end of "Can't get there from here" from Windows TTD.
6 years ago
Niels Martin Hansen
836d25e738
Codechange: Address some MSVC compiler warnings
6 years ago
translators
f5f2125238
Update: Translations from eints
...
russian: 11 changes by Lone_Wolf
6 years ago
PeterN
c2a7728084
Fix: Prevent ships moving into docks after finishing (un)loading. ( #6791 )
6 years ago
Jonathan G Rennison
ca4a4869a2
Revert "Add: [Win32] Uniscribe configure options for MinGW targets."
...
Revert "Change: [Win32] Use Uniscribe instead of ICU for text caret handling."
Revert "Change: [Win32/MSVC] Make the Uniscribe text layouter the windows default and remove usage of the deprecated ICU layout libs."
Revert "Add: [Win32] Text layout using the native Windows Uniscribe library."
Revert "Codechange: Move ParagraphLayouter-specific functions into factory classes instead of relying on overloads."
Revert "Add: [Win32] Native natural sort implementation."
This reverts commit cd966f3810
.
This reverts commit eec3f40931
.
This reverts commit 33829dc6ab
.
This reverts commit 768a31bfe3
.
This reverts commit a4278c302b
.
This reverts commit f4394debdc
.
This is to fix various problems and crashes with text rendering
and font handling on Windows.
See #58 .
6 years ago
translators
7ae1e3e1e2
Update: Translations from eints
...
korean: 15 changes by telk5093
greek: 4 changes by Jubilee
6 years ago
Jonathan G Rennison
21040dc00b
Implementing sending server GRF info list response in multiple packets
...
Add/adjust GRF info message logging
6 years ago
Jonathan G Rennison
847a46d107
Fix assertion failure in RequestContentList with many GRFs
6 years ago
Jonathan G Rennison
2c7b96cf1e
Merge branch 'save_ext' into jgrpp
6 years ago
Jonathan G Rennison
a3156804c5
Fix narrowing/type conversion warning on big endian platforms
6 years ago
Jonathan G Rennison
c5954fd1bd
Fix syntax errors in saveload_buffer.h on strict pointer alignment platforms
...
Fixes #57
6 years ago
translators
470ed2643e
Update: Translations from eints
...
croatian: 4 changes by VoyagerOne
french: 3 changes by glx
polish: 2 changes by McZapkie
6 years ago
Jonathan G Rennison
f2987854c7
Merge branch 'master' into jgrpp
6 years ago
translators
20b0f0f90b
Update: Translations from eints
...
italian: 3 changes by lorenzodv
6 years ago
Jonathan G Rennison
71450881fc
Codechange: Avoid call to memcpy using null pointer in TooltipsWindow constructor
...
Strictly speaking, calling memcpy with src as a nullptr is undefined behaviour
and the optimiser is entitled to delete any null ptr checks which occur afterwards.
This removes the warning emitted by UndefinedBehaviorSantizer.
6 years ago
Jonathan G Rennison
2bd6c9ae95
Change "Base music set song missing..." debug message to level 1
6 years ago
Jonathan G Rennison
a732dc440a
Fix use of %zu in debug format strings, which isn't supported on Windows
6 years ago
Jonathan G Rennison
8e9d68048a
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/string.cpp
6 years ago
Jonathan G Rennison
55083a0f65
Merge branch 'save_ext' into jgrpp
6 years ago
Jonathan G Rennison
3caf92c514
Fix default for orderproc not being set in table/win32_settings.ini
6 years ago
Michael Lutz
eec3f40931
Change: [Win32] Use Uniscribe instead of ICU for text caret handling.
...
This removes the need for the ICU lib on Windows.
6 years ago
Michael Lutz
768a31bfe3
Add: [Win32] Text layout using the native Windows Uniscribe library.
...
Uniscribe is sometimes producing different results compared to ICU, especially
when RTL and LTR content is mixed. Comparing the results to other programs
(like editors or web browsers) leads me to believe that the result are at least
not worse than ICU and possibly better.
6 years ago
Michael Lutz
a4278c302b
Codechange: Move ParagraphLayouter-specific functions into factory classes instead of relying on overloads.
6 years ago
Michael Lutz
f4394debdc
Add: [Win32] Native natural sort implementation.
6 years ago
Jonathan G Rennison
8f25bbc93c
Fix use of HasBit beyond field width in ShowDropDownMenu masks
6 years ago
translators
2b662b448c
Update: Translations from eints
...
french: 1 change by glx
6 years ago
Jonathan G Rennison
b5dea7f236
Fix undefined behaviour in Vehicle destructor
6 years ago
Jonathan G Rennison
e1fb35b16f
Fix undefined behaviour when left-shifting negative values by casting to unsigned
...
This silences warning spam from UndefinedBehaviorSanitizer.
6 years ago
Jonathan G Rennison
6573a67b69
Change window allocation/destruction to avoid undefined behaviour
...
Create a new window base class which holds the front/back pointers
and the window class.
This fixes the voluminous warning spam about deleted windows when using
UndefinedBehaviorSanitizer.
6 years ago
Alexis
25dbc6542c
Fix #6659 : Bus stations can be demolished when not in demolish mode ( #6815 )
...
For Bus and Road stations only, if you are in demolish mode and click on the station
without releasing the button. Then you cancel demolish mode with R key.
Finally you release the mouse button. The station was demolished, instead of being built.
The demolish mode was not checked when mouse up event occured.
6 years ago
Jonathan G Rennison
0bd1022238
Codechange: Change element type used for rail type usage stats array in SetDefaultRailGui
...
The array is rail type sized in terms of number of elements.
Each element should be a unsigned integer, not a rail type itself.
This fixes runtime warnings reported by UndefinedBehaviorSanitizer.
6 years ago
Jonathan G Rennison
d8ab61cab3
Change type of track bits mask in MaskWireBits
...
This is to fix warnings from UndefinedBehaviorSanitizer.
6 years ago
Jonathan G Rennison
18d00ff47e
Avoid using memcpy from null pointer in TooltipsWindow constructor
6 years ago
Jonathan G Rennison
c36c5ac851
Tag NewGRF unaligned memory load in StationChangeInfo
6 years ago
Jonathan G Rennison
8f7e9d70ca
Fix wrong type used for rail usage stats array in SetDefaultRailGui
...
This fixes runtime warnings reported by UndefinedBehaviorSanitizer.
6 years ago
Peter Nelson
408cee123d
Fix: One-way roads could be over-built by road stops (regardless of road owner.)
6 years ago
Jonathan G Rennison
fd4d9591c1
Merge branch 'save_ext' into jgrpp
6 years ago
Jonathan G Rennison
616cbf580a
Use unaligned typedefs in unaligned save/load accessors
6 years ago
Jonathan G Rennison
f05ca1ba91
Merge branch 'cpp-11' into save_ext
6 years ago
Jonathan G Rennison
183a5cb114
Add unaligned uint 16, 32, 64 typedefs
6 years ago
Jonathan G Rennison
6862343eb3
Fix wrong type cast in Apple BSWAP64 macro
6 years ago
Niels Martin Hansen
a8080f14a9
Change: DOS music loading for non-Windows music drivers
6 years ago
Niels Martin Hansen
458e441a4c
Codechange: Make FioCreateDirectory public
6 years ago
Niels Martin Hansen
e2fa4b71c6
Feature: Console command to dump decoded music to .mid file
6 years ago
Niels Martin Hansen
921101ed06
Feature: Baseset music for TTD DOS and TTO data
6 years ago
Niels Martin Hansen
2ae9df7248
Feature: Decoder for DOS version music
...
This is based on reverse-engineering the TTD DOS driver for General MIDI music.
6 years ago
Niels Martin Hansen
f946b3da56
Codechange: Pass a MusicSongInfo struct instead of bare filename to music drivers.
...
Preparation for later extending the info passed to music drivers.
6 years ago
Jonathan G Rennison
58ccafbf1d
Debug: Add vehicle_flags and cargo_payment to veh flags dump
6 years ago
Jonathan G Rennison
a8cfc9fe90
Debug: Add vehicle index and flag dump to NewGRF debug window
6 years ago
Jonathan G Rennison
943f4fdabb
Debug: Add train and RV flags to scope info dump
...
Move flag dumping to separate function
6 years ago
translators
1c2d29e1a3
Update: Translations from eints
...
italian: 1 change by lorenzodv
6 years ago
Jonathan G Rennison
d2d8a86814
Add setting: station rating waiting time tolerance depends on cargo class
6 years ago
PeterN
eaa32f5ad5
Change: Use name of cargo instead of Passengers/Mail in town statistics. ( #6801 )
...
* Change: Use name of cargo instead of Passengers/Mail in town statistics.
* Cleanup: Remove strings from all language files.
6 years ago
Michael Lutz
b91e85003e
Fix: Theoretical string overflow when building the cargo acceptance list for the land info window.
6 years ago
Jonathan G Rennison
534f23d1b7
Fix through load with multi-head engines
6 years ago
Jonathan G Rennison
016f0bdfaf
Through load: Fix getting and checking station veh/tile when leaving station
6 years ago
Jonathan G Rennison
40c7ccd6e6
Merge branch 'enhanced_viewport_overlay' into jgrpp
...
# Conflicts:
# src/saveload/extended_ver_sl.cpp
6 years ago
Jonathan G Rennison
9376dc7089
Change viewport plan save format
...
The previous format stored sparse keys in a non-sparse array chunk,
which resulted in a significant savegame size penalty.
6 years ago
Jonathan G Rennison
03b0931c57
Merge branch 'save_ext' into jgrpp
...
# Conflicts:
# src/debug.cpp
# src/saveload/saveload.cpp
6 years ago
Jonathan G Rennison
decd749d30
Merge branch 'master' into save_ext
6 years ago
Jonathan G Rennison
51e9cc6695
Log save/load chunk sizes at sl debug level 3
6 years ago
cirdan
c06c929771
Remove unused ChunkType flag CH_AUTO_LENGTH
...
CH_AUTO_LENGTH is no longer used anywhere, so remove all code
that depends on it.
(cherry picked from commit 9c620d9de5d45b78f7d992d6b3897009fe988d86)
(cherry picked from commit 4a19babf9e
)
6 years ago
cirdan
4134b81af0
Remove save-only autolength flag from economy chunk handlers
...
CH_AUTO_LENGTH is only used when saving chunks; it makes no sense
to set it for chunks without a save handler.
(cherry picked from commit 8b2fe11d8491fb5f3b9bd7dd5344a0956817e41c)
(cherry picked from commit ec157b4a66
)
6 years ago
Jonathan G Rennison
4007338280
Clear VF_CARGO_UNLOADING flag from vehicles with no cargo_payment
...
Bump train_through_load savegame version
6 years ago
Jonathan G Rennison
5609394b4e
Through load: Fix handling of full-load orders
6 years ago
Jonathan G Rennison
ec8ad55bb5
Clear all VF_CARGO_UNLOADING flags when leaving station
6 years ago
Jonathan G Rennison
777151c34d
Station rating: Track last visited vehicle type separately per-cargo
6 years ago
Jonathan G Rennison
41c1a396ed
Changes to fix issues with cargo payment handling in through load
6 years ago
Jonathan G Rennison
a33153979e
Add scope info logging to LoadUnloadVehicle
6 years ago
Jonathan G Rennison
4aa211e454
Merge branch 'crashlog_improvements' into jgrpp
6 years ago
Jonathan G Rennison
bb8c18b017
Add scope info logging to LoadUnloadStation
6 years ago
Jonathan G Rennison
faf4cdc0f4
Scope info: Add station/waypoint info dumper
6 years ago
Jonathan G Rennison
f2072319cb
Add autosave_on_network_disconnect setting to GUI
6 years ago
Jonathan G Rennison
7559db2bbb
Merge remote-tracking branch 'nielsmh/bug986' into jgrpp
6 years ago
Jonathan G Rennison
d0daffe312
Linkgraph overlay: Ensure line/dot draw order is same in incremental mode
...
Ensure that sort order is maintained
6 years ago
Alexander Weiss
2406500140
Fix: [OSX] Minor 2D scrolling fixes ( #6793 )
...
* Codechange: Check for scrollwheel_scrolling first when scrolling viewport instead of first setting normal values and then overwriting them.
* Fix #6558 : [OSX] Reset 2D scrolling values when not scrolling to prevent unintended window focus changes
* Change: [OSX] Include initial scrolling movement when using 2D scrolling to make it more responsive
* Fix: [OSX] 2D scrolling not working when setting viewport scroll behaviour to use left mouse button
6 years ago
Jonathan G Rennison
e6e93d40e8
Station flow stat save/load performance improvement
...
Avoid use of SlObject in inner loop
6 years ago
Jonathan G Rennison
6187517429
Add whole-map savegame chunk
...
This is to avoid haveing to do many passes to save/load map
6 years ago
Jonathan G Rennison
159909f4b1
Merge branch 'save_ext' into jgrpp
...
# Conflicts:
# src/saveload/saveload.cpp
6 years ago
Jonathan G Rennison
aae7806d5d
Move save/load ReadBuffer and MemoryDumper to separate header
...
Add static accessors
6 years ago
Jonathan G Rennison
bbec436a74
Change SlAutolength to only call proc once
6 years ago
innocenat
7c4bd7d3a3
Add variable std::vector save type
...
SL_VEC in the game currenty only support SlRefType, not VarType. This add another save type, SL_VARVEC, to support saving std::vector with POD type. It supports all integer type.
(cherry picked from commit 2895b1921d
)
Fix bug in new SL_VARVEC save/load code
(cherry picked from commit 59554a5dd2
)
6 years ago
Jonathan G Rennison
c71ed22e7a
Save/memory dumper performance improvements
6 years ago
Jonathan G Rennison
3b83a9e186
Performance improvements to savegame loading
6 years ago
Jonathan G Rennison
8404afd40f
Merge branch 'cpp-11' into save_ext
6 years ago
Jonathan G Rennison
9ca4e915ba
Add 64 bit byte swapping function
6 years ago
Jonathan G Rennison
641e877441
Change grfmsg to be a macro which checks the debug level first
...
This is to avoid doing a sprintf when the result will be thrown away
6 years ago
Alexander Weiss
3e910a5969
Change: [OSX] Disable macOS Sierra's automatic tab feature
6 years ago
Michael Lutz
ce51e54d26
Change: [Win32] Parse and load DLS files for the DirectMusic driver without relying on high-level functions.
6 years ago
Michael Lutz
255549250f
Change: [Win32] Replace the current high-level Direct Music driver with a low-level driver that directly works with MIDI data.
...
This allows using different music sources besides standard MIDI files on disk.
6 years ago
Michael Lutz
3fc9c9522d
Codechange: [Win32] Use a local buffer to store the output text of DEBUG() to make the call thread-safe.
6 years ago
Niels Martin Hansen
db5abdd78a
Feature #986 : Automatic save when losing connection to a network game
6 years ago
Jonathan G Rennison
0d0d55f81d
Scrolling/perf improvements to link graph overlays on viewport and smallmap
6 years ago
Jonathan G Rennison
fe1e0a9d59
Merge branch 'enhanced_viewport_overlay' into jgrpp
6 years ago
Jonathan G Rennison
64815c0d8a
Improve performance of show scrolling viewport on map
6 years ago
Jonathan G Rennison
7f32bb34ac
Clip dirty region to be within viewport in MarkViewportDirty
6 years ago
Jonathan G Rennison
e6e5a96ed3
Fix performance penalty when scrolling viewport map with show scrolling viewport enabled
6 years ago
Jonathan G Rennison
8f2c595378
Merge branch 'template_train_replacement' into jgrpp
...
# Conflicts:
# src/vehicle_gui.cpp
6 years ago
Jonathan G Rennison
45d2726379
TBTR: Add 'all rail types' option to rail type dropdown, use by default
6 years ago
Jonathan G Rennison
cecbf257bc
Merge branch 'save_ext' into template_train_replacement
...
# Conflicts:
# src/saveload/saveload.cpp
# src/vehicle_gui.cpp
6 years ago
Jonathan G Rennison
fa304cdb75
Merge branch 'master' into save_ext
...
# Conflicts:
# src/saveload/saveload.cpp
6 years ago
Jonathan G Rennison
56be293107
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/blitter/32bpp_anim.cpp
# src/blitter/32bpp_anim.hpp
# src/blitter/32bpp_anim_sse2.cpp
# src/blitter/32bpp_base.cpp
# src/blitter/32bpp_base.hpp
# src/ground_vehicle.cpp
# src/linkgraph/linkgraph_gui.h
# src/main_gui.cpp
# src/newgrf_house.cpp
# src/newgrf_house.h
# src/town_cmd.cpp
# src/vehicle_base.h
# src/viewport_gui.cppp
6 years ago
Alexander Weiss
e1a164b531
Change: [OSX] Setting mouse-wheel to scroll the map does not disable pinch to zoom
6 years ago
Alexander Weiss
6df7ced343
Change: [OSX] Reversed pinch to zoom behaviour.
...
Made pinch out zoom in and pinch in zoom out, as virtually all macOS
applications do.
6 years ago
Jonathan G Rennison
17257b9620
Add: 32bpp SSE2 blitter palette animator ( #6795 )
...
Create a new blitter mode: 32bpp-sse2-anim, which is 32bpp-anim + this.
32bpp-sse2-anim is now used by default where 32bpp-anim would have been.
Also use this with the 32bpp-sse4-anim blitter.
See issue #6469 .
6 years ago
translators
306b999cf4
Update: Translations from eints
...
polish: 5 changes by xaxa
6 years ago
PeterN
a07394a63a
Change: Remove direction parameter from Vehicle::UpdateDeltaXY. ( #6792 )
...
The value is either unused or always the same as this->direction.
6 years ago
PeterN
4cebebcf68
Change: Add CargoTypes type for cargo masks. ( #6790 )
6 years ago
PeterN
42b43c9983
Change: Available railtypes is always calculated on load, so no need to load value for old savegames ( #6782 )
6 years ago
PeterN
cad47bbefe
Fix: Tractive effort was slightly too high as per NewGRF spec. ( #6785 )
6 years ago
PeterN
8a7de36463
Change [ #6689 ]: Tweak HashTable hash calculation to reduce collisions. (kernigh2) ( #6786 )
6 years ago
Owen Rudge
7bd2fa3516
Feature: Add XAudio2 driver
6 years ago
Jonathan G Rennison
38779254e5
Check cargo action count consistencies on load
...
Add scope info logging to AfterLoadVehicles
6 years ago
Jonathan G Rennison
a60eff174d
Merge branch 'template_train_replacement' into jgrpp
...
# Conflicts:
# src/saveload/extended_ver_sl.cpp
6 years ago
Jonathan G Rennison
5877cd0f9b
TBTR: Fix display of vehicle sprites for some NewGRFs, fix issues in large UI modes
...
Slight code, GUI layout, and savegame format tidying
6 years ago
translators
fb54dd04a1
Update: Translations from eints
...
greek: 8 changes by Jubilee
6 years ago
Jonathan G Rennison
6342099c4d
Allow 256 NewGRFs in multiplayer
...
Add extended network format for server info
Add general UDP packet fragmentation system
Fix map dimensions >= 64k
Increase length of server revision string
Maintain backwards compatibility with trunk for advertisement/server listing
6 years ago
translators
d738e980d0
Update: Translations from eints
...
dutch: 1 change by mrLeopold
6 years ago
Jonathan G Rennison
793a446062
Zoning: Ensure that screen is refreshed when necessary in authority overlay
6 years ago
Jonathan G Rennison
f373a67610
Fix display of zoning overlay sprites on half-tile foundations
...
Partly based on commit 598b781259a5c1ad25cf3de85807b9c79e9f08fe
6 years ago
translators
7935ac16d1
Update: Translations from eints
...
dutch: 1 change by mrLeopold
6 years ago
Jonathan G Rennison
a08a79a9d8
Fix handling of refit with train through-load
6 years ago
Jonathan G Rennison
8353a4d095
Merge branch 'cpp-btree' into jgrpp
6 years ago
Jonathan G Rennison
133ccabf42
btree: Use static_assert instead of workaround macro
6 years ago
Jonathan G Rennison
53e943386e
Rename Polyline struct due to name collision on Windows
6 years ago
Jonathan G Rennison
71852c3f37
Fix timetable auto-separation with go via station orders
7 years ago
Jonathan G Rennison
ad1c402ad8
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/debug.cpp
# src/saveload/afterload.cpp
# src/saveload/saveload.cpp
# src/settings_type.h
# src/town_cmd.cpp
# src/window.cpp
7 years ago
Jonathan G Rennison
98ade153d2
Fix colour definition for conditional order invalid slot string
7 years ago
Pavel Stupnikov
fef8b831a9
Change: Switch town growth rate and counter to actual game ticks ( #6763 )
7 years ago
translators
61515c9abd
Update: Translations from eints
...
belarusian: 10 changes by KorneySan
russian: 6 changes by KorneySan
spanish (mexican): 10 changes by Absay
7 years ago
Niels Martin Hansen
52655b5849
Change: [Win32 MIDI] Reset pitch bend range controllers on song change
...
Some songs (at least one in OpenMSX) use the MIDI pitch bend range controllers
but don't reset these at the end. This causes all subsequent songs to sound
wrong.
7 years ago
Niels Martin Hansen
99a39c842c
Change: [Win32 MIDI] Send Roland reverb control message like TTD DOS does
7 years ago
Niels Martin Hansen
b902e01e10
Change #6685 : Replace Win32 music driver with one not depending on MCI
...
MCI MIDI is poorly supported on newer versions of Windows and can cause large
delays at the beginning of tracks.
The new driver is based on a from-scratch reader for Standard MIDI Files. This
should be re-usable in other music drivers too, and can allow for finer control
of playback in general.
It also provides a better framework for reading MIDI data from other formats
than just SMF.
7 years ago
Michael Lutz
9959cd9522
Fix 0165fe1: Native OSX doesn't have a __BYTE_ORDER macro but defines a differently named macro.
7 years ago
Michael Lutz
bb5584c835
Fix 74b7f0a: [OSX] Mouse cursor getting occasionally stuck.
7 years ago
J0an Josep
cfb8092397
Fix b4b98e5165: Use FALLTHROUGH attribute with correct indentation.
7 years ago
translators
3f40cd505d
Update: Translations from eints
...
croatian: 10 changes by VoyagerOne
italian: 4 changes by lorenzodv
french: 7 changes by glx
7 years ago
J0anJosep
79a551a83c
Codechange: Use TileAddBy(Diag)Dir when possible.
7 years ago
Joan Josep
944f785be8
Fix: Spelling errors ( #6769 )
7 years ago
Jonathan G Rennison
1cc545c816
Fix iterator invalidation issues in CargoPacketList actions
...
See: #48
7 years ago
Jonathan G Rennison
e0126a1fbc
Merge branch 'signal_tunnels_bridges' into jgrpp
...
# Conflicts:
# src/train_cmd.cpp
7 years ago
Jonathan G Rennison
0dd3ff23de
Fix signalled tunnel/bridge entrance not being marked dirty when reservation cleared
7 years ago
keldorkatarn
c2678b896e
Fix clearing of train reservations in tunnels and on bridges.
...
(cherry picked from commit e2c4fb517d1064b163d8f2b0627506d785ffb3ed)
See: #46
7 years ago
Matthijs Kooijman
fa87212a76
Fix: Some spelling errors in printed messages
7 years ago
Joan Josep
a6b18f0d92
Fix #6090 : And (svn r27822). Run scripts for widgets. ( #6765 )
...
Fix 19f5a6cbb0
, Fix 19d56a33e8: Run scripts to update GS for new widgets (#6765 )
7 years ago
translators
a806424ec1
Update: Translations from eints
...
italian: 6 changes by lorenzodv
french: 6 changes by glx
russian: 9 changes by Lone_Wolf
7 years ago
Niels Martin Hansen
683b46a5b5
Cleanup: Remove unused strings from language files
7 years ago
Niels Martin Hansen
19f5a6cbb0
Feature #6090 : Change music set during gameplay
7 years ago
Niels Martin Hansen
430e20f7e4
Fix: Clipping issues with volume sliders in Music GUI
...
Tested with various languages and GUI font sizes, should look good everywhere.
Also clamps near-end values to minimum and maximum so 0 and 127 are possible to achieve even on small GUI sizes (like the default.)
7 years ago
Niels Martin Hansen
bb809e35ce
Change: Less intrusive "no music" message from Music window
7 years ago
Niels Martin Hansen
e172794947
Change: Disable music control buttons when there is no music
7 years ago
Niels Martin Hansen
76cccc64c9
Codechange: Music GUI comments and function naming
7 years ago
Patric Stout
0165fe1283
Codechange: remove endian_check in favour of __BYTE_ORDER macro (Rubidium) ( #6762 )
7 years ago
Patric Stout
aef69443e7
Remove: WinCE support
7 years ago
Patric Stout
85adde7485
Remove: PSP support
7 years ago
Pavel Stupnikov
8d8b9a026a
Feature #6610 : Allow towns to build houses on road turns ( #6758 )
7 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
Pavel Stupnikov
913119487f
Feature: Add GS method to question a single client ( #6748 )
7 years ago
Jonathan G Rennison
1fe0bb76b9
Merge branches 'crashlog_improvements', 'save_ext', 'version_utils' into jgrpp
7 years ago
Jonathan G Rennison
4bcd05a620
Merge branch 'cpp-11' into save_ext
...
# Conflicts:
# findversion.sh
7 years ago
Jonathan G Rennison
f42cc19aad
Merge branch 'cpp-11' into crashlog_improvements
...
# Conflicts:
# Makefile.src.in
# src/crashlog.cpp
# src/crashlog.h
7 years ago
Jonathan G Rennison
b90c5b9618
Merge branch 'master' into cpp-11
...
# Conflicts:
# src/stdafx.h
7 years ago
Jonathan G Rennison
b7ce21038a
Merge branch 'custom_bridgeheads' into jgrpp
...
# Conflicts:
# src/tunnelbridge_cmd.cpp
7 years ago
Jonathan G Rennison
1911c0cb69
Fix handling of custom bridge head ramp-only pieces/types when upgrading
7 years ago
Jonathan G Rennison
c053549144
Merge branch 'signal_tunnels_bridges' into jgrpp
7 years ago
Jonathan G Rennison
c92a28a072
Preserve signal simulation/reservation data when upgrading bridges.
...
Based on commit 301925f948c9b36966c9c668e1476c2485425338
7 years ago
Jonathan G Rennison
714b9711e4
Merge branch 'custom_bridgeheads' into jgrpp
...
# Conflicts:
# src/tunnelbridge_cmd.cpp
7 years ago
Jonathan G Rennison
ff6a3ed234
Preserve custom bridge head road data when upgrading bridges.
...
Based on commit 301925f948c9b36966c9c668e1476c2485425338
7 years ago
Jonathan G Rennison
78cce81bac
Prevent AIs/scripts from creating road custom bridge heads.
...
(cherry picked from commit f3dde49ff8
)
7 years ago
Jonathan G Rennison
e138d3564b
Fix tram reversing on custom bridge head tiles.
...
(cherry picked from commit 0a345efc27
)
7 years ago
Jonathan G Rennison
de4d958808
Fix tracerestrict current order test on load through advance order
7 years ago
Pavel Stupnikov
8e4bce58ea
Feature: GS methods to scroll viewport for players ( #6745 )
7 years ago
gdinit
34b63930f5
Fix: Typo in game.hpp
...
Just a typo fix in a code comment line.
7 years ago
Jonathan G Rennison
97fd250d21
Remove conditional order refs when removing tracerestrict slot
...
See #40
7 years ago
keldorkatarn
78588d8ce5
First implementation of conditional order checking slot occupancy
...
(cherry picked from commit 524e3e56cb4a357ba60335f91dce1e00cb8d22f2)
Some code adjustments: serialisation/storage, formatting
See: #40
7 years ago
Pavel Stupnikov
6ff81b908e
Feature #6459 : API for querying network clients from GS ( #6736 )
7 years ago
Jonathan G Rennison
2e4ac325e2
Add extra data fields to Order extended data
7 years ago
Michael Lutz
e0ae67cefa
Fix: [OSX] Compiler warning about an unused NULL argument.
7 years ago
Charles Pigott
86012e10ea
Fix: Remove need to instantiate SmallStack's pool object by making it a singleton method
7 years ago
Charles Pigott
5c5267726f
Fix: Warning about base set template instantiations with clang
7 years ago
Ricardo N Feliciano
e8de33a61f
Cleanup: Use new filename for README file. ( #6738 )
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
translators
f4f9e18790
Update: Translations from eints
...
belarusian: 3 changes by KorneySan
7 years ago
Jonathan G Rennison
f96f716a75
Merge branch 'enhanced_viewport_overlay' into jgrpp
7 years ago
keldorkatarn
8df549284f
Route Line Rendering: Properly prevent endless loop due to conditional orders cycle.
...
(cherry picked from commit ac1c26f5fe942ef47c664ff71000053d874a6008)
See #39
7 years ago
keldorkatarn
d154debb5e
FIX: Endless look in vehicle route drawing if conditional orders form a cycle (in the simplest form, a conditional order skipping to itself)
...
(cherry picked from commit 680ddba875208b09160908ad03064b542193df4e)
See: #39
7 years ago
Pavel Stupnikov
9175c349da
Fix #6465 : Add {NORMAL_FONT} and {MONO_FONT} control codes to GS strings ( #6726 )
7 years ago
Jonathan G Rennison
02328680a1
Merge branch 'tracerestrict-sx' into jgrpp
7 years ago
Jonathan G Rennison
8e903b0a85
Merge branch 'departure-boards' into jgrpp
7 years ago
keldorkatarn
4955996b35
Remove costly recalculation of a date format we already have.
...
(cherry picked from commit 6aca18d18252f1c2f6d4a215999b7d7afb7df813)
See #36
7 years ago
keldorkatarn
f10840438e
TraceRestrictSlots: Fix highlighting behavior. Marking group ALL_SLOTS didn't reset the selected slot and dragging from ALL to ALL threw an unnecessary error.
...
(cherry picked from commit c76b560134bd8d9869ead872f7a434e61a5c5a48)
Fixes : #38
7 years ago
keldorkatarn
2f3e4044b7
FIX: TraceRestrictSlots: Fix crash when removing vehicle from slot. Invalid iterator got used. (it was no longer valid after calling erase with it)
...
(cherry picked from commit 3571f1bc898b9ffd8b124040882caa5357085f42)
Fixes : #37
7 years ago
keldorkatarn
d2ca8914ac
Departure Boards: Allow Ctrl-Click on vehicle type buttons to show type exclusively
...
(cherry picked from commit a834d3cd452fe28e2c32fb953d41c0bd0ce20494)
See: #36
7 years ago
keldorkatarn
9ab2b8fa3e
FIX: {PREVIOUS_COLOUR} string control code was not activated for some reason. The logic for it is in place.
...
(cherry picked from commit 9d7c265fdca7884db26b3c2d0f856cc18a751c54)
Fixes : #41
7 years ago
Patric Stout
88be2413ce
Codechange #6729 : mute bogus GCC 7 warning ( #6733 )
...
We do a memset of (byte - byte), which strictly seen ranges from -254 .. 255, for which GCC warns.
But just before this memset is an if() which says the first byte has to be bigger than the second.
So this is a bogus warning.
7 years ago
translators
a72117111e
Update: Translations from eints
...
spanish (mexican): 6 changes by Absay
7 years ago
Michael Lutz
7dd6027194
Codechange: Use a SmallVec for the animated tile list instead of replicating most of the logic.
7 years ago
Michael Lutz
4851feb102
Codechange: Add functions to insert and extract an element at a specific position in a SmallVec.
7 years ago
Michael Lutz
f240274b7e
Codechange: Replace magic numbers with the proper enum.
7 years ago
Charles Pigott
62d79900ec
Add: List recent news messages in crashlog output
7 years ago
frosch
192770e6da
Change: Non-tag revisions are now named '<commitdate>-<branch>-g<shorthash><modified>'.
7 years ago
frosch
e0a62a9e55
Remove: [NewGRF] OpenTTD version no longer contains a revision number.
7 years ago
Patric Stout
17bd580630
Remove: NO_DEBUG_MESSAGES was only read and setting it broke compilation ( #6703 )
...
Given any speed issue cannot be attributed to checking for _debug_NNN_level, removing this is a safe action
This fixes #6652 .
7 years ago
TrueBrain
66f67ac5ac
Fix #6550 : minor spelling mistake in comment (juanjo)
7 years ago
Charles Pigott
dd6b82d6b2
Codechange: Simplify C++11 check for assert_compile
7 years ago
Michael Lutz
6c3902ac41
Codechange: [OSX] Use newer APIs to get resolution information when available.
7 years ago
Michael Lutz
964d310cda
Codechange: [OSX] Use non-deprecated API for displaying an alert where supported.
7 years ago
Michael Lutz
f670277ff5
Codechange: [OSX] Try to set the thread name for debugger display.
7 years ago
Michael Lutz
4971678f52
Codechange: [OSX] Use 10.10+ API to get the OSX version when available.
7 years ago
Michael Lutz
74b7f0a9aa
Fix: [OSX] Remove some OSX compiler warnings on newer SDKs/compilers.
7 years ago
Michael Lutz
fa587ad3cc
Codechange: [OSX] Use 10.6+ APIs to get the path for a font where available.
7 years ago
Michael Lutz
27bfb1df8f
Codechange: [OSX] Use 10.6+ APIs to initialise audio when available.
7 years ago
Michael Lutz
4bfd277017
Codechange: [Win32] Use OS function for mouse tracking if present.
7 years ago
Charles Pigott
19076c24c1
Fix #6690 : Compilation with ICU 61
7 years ago
translators
f84ad5f7c0
(svn r28004) -Update from Eints:
...
belarusian: 42 changes by KorneySan
7 years ago
translators
81f25d4736
(svn r28003) -Update from Eints:
...
indonesian: 4 changes by fanioz
7 years ago
Jonathan G Rennison
9be65dc96d
Fix use of wrong veh tile for station animation/trigger in through load
7 years ago
Jonathan G Rennison
6ec78ff4b0
Add UI setting to disable mass action buttons for top-level vehicle lists
7 years ago
Jonathan G Rennison
53dd010f3b
Add way to mass cancel vehicle go to depot/service
7 years ago
Jonathan G Rennison
2821599f6b
Better handle out of track and depot through load cases
...
Add advice messages for when loading is aborted due to out of track/depot
Handle non-aligned use of platform
Fix full-load behaviour
Fix speed limiting whilst advancing
7 years ago
Jonathan G Rennison
7aab49e282
Add setting to enable through loading in UI
7 years ago
translators
de961e14fb
(svn r28000) -Update from Eints:
...
welsh: 7 changes by kazzie
7 years ago
translators
41b28d7194
(svn r27999) -Update from Eints:
...
bulgarian: 18 changes by kokobongo
7 years ago
Jonathan G Rennison
8337fcb271
Fix disaster vehicles having uninitialised sprite bounds
7 years ago
Jonathan G Rennison
4cdc253c38
Add dev console command to trigger disaster
7 years ago
Jonathan G Rennison
7c620edb52
Avoid auto-refitting to cargo which is marked no-load in per-cargo type order
7 years ago
Jonathan G Rennison
c779915ccb
Fix train through load always advancing last section to far end of platform
7 years ago
Jonathan G Rennison
f012d45491
Merge branch 'signal_tunnels_bridges' into jgrpp
7 years ago
Jonathan G Rennison
df72bc6e09
Fix signal on tun/bridge gradual decel end tile detection
7 years ago
Jonathan G Rennison
78838ee2a2
Add freight train load/unload mode: through load
7 years ago
Jonathan G Rennison
52edafab5e
Add savegame support for 32 bit Train::flags field
7 years ago
Jonathan G Rennison
09ca051ff8
Merge branch 'signal_tunnels_bridges' into jgrpp
...
# Conflicts:
# src/saveload/extended_ver_sl.cpp
# src/train.h
7 years ago
Jonathan G Rennison
def3a3933b
Move dual-use of load_unload_ticks for bridge/tun signals to new field
7 years ago
Jonathan G Rennison
10db379202
Merge branch 'signal_tunnels_bridges' into jgrpp
...
# Conflicts:
# src/train_cmd.cpp
7 years ago
Jonathan G Rennison
38cb80872b
Gradually slow down for red signals on bridges/tunnels
...
Instead of coming to a sudden halt immediately before the signal
7 years ago
Jonathan G Rennison
70b6500d73
Merge branch 'save_ext' into jgrpp
7 years ago
Jonathan G Rennison
c2ab4cb2ae
Fix commit fb946f6a
, which broke new game/map creation
7 years ago
translators
080f7b3cba
(svn r27998) -Update from Eints:
...
welsh: 9 changes by kazzie
7 years ago
Jonathan G Rennison
22724e13bc
Merge branch 'save_ext' into jgrpp
7 years ago
Jonathan G Rennison
fb946f6a2b
Don't reset savegame feature versions at end of DoLoad, so that -q works
7 years ago
translators
328a4ff00d
(svn r27994) -Update from Eints:
...
welsh: 2 changes by kazzie
7 years ago
frosch
09d4735679
(svn r27993) -Change: Heading for 1.9 now
7 years ago
translators
080d57d97a
(svn r27991) -Update from Eints:
...
spanish (mexican): 1 change by Absay
7 years ago
frosch
8c458c153d
(svn r27990) -Update: Docs
7 years ago
Jonathan G Rennison
80c0655c06
Relax validation for conditional order travel time in old savegame load
7 years ago
Jonathan G Rennison
385a2552e9
Merge branch 'enhanced_viewport_overlay' into jgrpp
7 years ago
Jonathan G Rennison
864d94d2c5
Merge branch 'save_ext' into enhanced_viewport_overlay
...
# Conflicts:
# src/industry_cmd.cpp
# src/vehicle.cpp
7 years ago
Jonathan G Rennison
16c67ea484
Merge branch 'master' into enhanced_viewport_overlay
...
# Conflicts:
# src/industry_cmd.cpp
# src/saveload/saveload.cpp
# src/stdafx.h
# src/vehicle.cpp
7 years ago
Jonathan G Rennison
cb2077edd5
Zoning: Fix unserved building/industry highlight not being removed when tile cleared
7 years ago
frosch
55a503e6f2
(svn r27989) -Fix (r27985): VA2 optimisation failed in various special cases:
...
- nvar=0 is meant to return the calculated result.
- Missing references resolve to NULL and got identified with the default result.
- Missing 'break' broke overlapping cases.
- Splitting into non-overlapping cases could result in more than 256 cases.
7 years ago
frosch
a537fd5d0e
(svn r27989) -Fix (r27985): VA2 optimisation failed in various special cases:
...
- nvar=0 is meant to return the calculated result.
- Missing references resolve to NULL and got identified with the default result.
- Missing 'break' broke overlapping cases.
- Splitting into non-overlapping cases could result in more than 256 cases.
7 years ago
frosch
043274afd6
(svn r27987) -Change: Increase maximum allowed vehicle sprite size to reduce clipping of ships.
7 years ago
frosch
25a2b98b4c
(svn r27987) -Change: Increase maximum allowed vehicle sprite size to reduce clipping of ships.
7 years ago
frosch
5558899621
(svn r27986) -Codechange: Name magic constants in the vehicle position hash functions.
7 years ago
frosch
6b088d37bf
(svn r27986) -Codechange: Name magic constants in the vehicle position hash functions.
7 years ago
frosch
07d841d0ef
(svn r27985) -Codechange: Convert VA2 switches into ones with non-overlapping ranges, sort them and resolve them using binary search. Speedup sprite resolving by about 7 percent.
7 years ago
frosch
30f73d907a
(svn r27985) -Codechange: Convert VA2 switches into ones with non-overlapping ranges, sort them and resolve them using binary search. Speedup sprite resolving by about 7 percent.
7 years ago
frosch
d9d669dcf8
(svn r27984) -Codechange: Make ScopeResolver constructors/destructors inlineable. Speedup sprite resolving by about 8 percent.
7 years ago
frosch
29dca1be3b
(svn r27984) -Codechange: Make ScopeResolver constructors/destructors inlineable. Speedup sprite resolving by about 8 percent.
7 years ago
frosch
7c406f0d9d
(svn r27983) -Codechange: Reduce complexity of VA2 add-div/mod adjustments
7 years ago
frosch
2a3d0cea50
(svn r27983) -Codechange: Reduce complexity of VA2 add-div/mod adjustments
7 years ago
frosch
4fc178aebd
(svn r27982) -Codechange: Reduce invocations of GetGlobalVariable. Speedup sprite resolving by about 3 percent.
7 years ago
frosch
aee8ffc73b
(svn r27982) -Codechange: Reduce invocations of GetGlobalVariable. Speedup sprite resolving by about 3 percent.
7 years ago