Commit Graph

53755 Commits (1260e51d84acd8c2222355b33682515e310caf02)
 

Author SHA1 Message Date
Peter Nelson 1260e51d84 Add: Define scaled WidgetDimensions.
Includes RectPadding container.

(cherry picked from commit b5693becdc)
2 years ago
Peter Nelson fb3b2c63bc Add: RectPadding type.
This is similar to Rect but specifies padding to apply to a Rect.

(cherry picked from commit 75b222b0d9)
2 years ago
Peter Nelson cabb4b08d9 Codechange: Add some Rect helpers.
Shrink/Expand/Translate are marked nodiscard as they provide a new Rect
rather than modifying the original Rect.

(cherry picked from commit d8e01f8aa5)
2 years ago
Jonathan G Rennison bbd84815b8 Script: Add missing function wrappers for 6 - 9 arguments 2 years ago
Jonathan G Rennison dc96fbc573 Script: Store CommandCost::GetResultData 2 years ago
Jonathan G Rennison 44c4cc80a1 Fix whitespace in DumpSubCommandLog 2 years ago
Jonathan G Rennison aaf0385dc5 Add command/string helpers for string separator control character 2 years ago
Jonathan G Rennison 690ef6cc22 Saveload: Add support for using upstream save/load for specific chunks 2 years ago
Jonathan G Rennison a608a2592d Add a CommandCost result data field
Allow inlining one of extra_message, tile, result without aux allocation
2 years ago
Jonathan G Rennison 523cf75a7a Change CommandCost success bool to a flags field 2 years ago
Jonathan G Rennison c777c43be2 Fix string codes in galician 2 years ago
Fedello 7e0a86c842
[Feat] Updated galician Translations up to 0.49.2 (#455)
* [Feat] Updated galician Translations up to 0.49.2

* [Fix] commited previous wrong file

Co-authored-by: pvillaverde <pvillaverde@qualigy.com>
2 years ago
Jonathan G Rennison 822c29e6c2 Road stops: Auto-select an available type on selecting a class
Or on opening the road stop window
2 years ago
Jonathan G Rennison f4fcb83efd Road stops: Disable road stop specs for wrong bus/lorry type 2 years ago
Jonathan G Rennison 5fdb82abda Departure boards: Fix repeated departure sets with implicit orders
See: #456
2 years ago
Jonathan G Rennison 1f544c69b5 Departure boards: Ensure conditional order give up mode exits correctly 2 years ago
Jonathan G Rennison afd3004ea0 Debug: Avoid compiler warnings in debug window cargo class printing 2 years ago
Jonathan G Rennison e97781608f Crashlog: Windows: Show some memory stats for out of memory crashes 2 years ago
Jonathan G Rennison 2832fc16f5 Template replacement: Use more descriptive strings for add vehicle button 2 years ago
Jonathan G Rennison 210cec6c98
Merge pull request #453 from telk5093/jgrpp
Update: Korean translation up to 0.49.2
2 years ago
TELK e882ba6063 Update: Korean translation up to 0.49.2 2 years ago
Jonathan G Rennison 81e035dc63 Version: Committing version data for tag: jgrpp-0.49.2 2 years ago
Jonathan G Rennison 2eecf19edb Fix engine changes not updating build template train windows 2 years ago
Jonathan G Rennison 5d171e0023 Add setting for whether dual pane train purchase window uses combined buttons
See: #421
2 years ago
Jonathan G Rennison 7b78a4f1ad Build vehicle window: Fix spelling errors in widget IDs 2 years ago
Jonathan G Rennison 1f36c3f3e4 Merge branch 'master' into jgrpp
# Conflicts:
#	src/ai/ai_gui.cpp
#	src/build_vehicle_gui.cpp
#	src/genworld_gui.cpp
#	src/lang/english.txt
#	src/lang/german.txt
#	src/lang/korean.txt
#	src/newgrf_sound.cpp
#	src/roadveh.h
#	src/sound.cpp
#	src/station_cmd.cpp
#	src/train.h
#	src/train_cmd.cpp
#	src/vehicle.cpp
#	src/vehicle_base.h
#	src/vehicle_gui.cpp
2 years ago
Jonathan G Rennison 0e5a09974a VarAction2: Fix detection of callback handlers which don't inspect var C 2 years ago
Jonathan G Rennison 1364f52405 Fix go to nearest depot orders using the location of a particular depot 2 years ago
Jonathan G Rennison cd6ab2c385 Departure boards: Fix crash with vehicles which only have implicit orders 2 years ago
Jonathan G Rennison 5a419e4bdd VarAction2: Detect callback switches which include other adjusts 2 years ago
Jonathan G Rennison 7cc953618a Documentation: Update low level changes document 2 years ago
Jonathan G Rennison 3d7e5d5369 Avoid unnecessary viewport redraws for unused tile loop house triggers 2 years ago
Jonathan G Rennison bcb917d8c2 VarAction2: Avoid CB quick exit dropping CBID_RANDOM_TRIGGER callbacks 2 years ago
Jonathan G Rennison e8de55adcb Don't start tile animation if it would be stopped immediately
See: https://github.com/OpenTTD/OpenTTD/issues/10192
2 years ago
Jonathan G Rennison 96a6a565a5 Don't mark tile dirty when setting animation frame to its current value
See: https://github.com/OpenTTD/OpenTTD/issues/10192
2 years ago
Jonathan G Rennison a42557fed7 Departure boards: Fix windows not being refreshed when changing settings 2 years ago
Jonathan G Rennison 73efbc7bdd Departure boards: Fix scheduled dispatch departure time when wait time set 2 years ago
Jonathan G Rennison 03a9912a2b Vehicle list commands now take into account cargo type filter
Start/stop
Send to depot type commands
Add to new group
Change order target
2 years ago
Jonathan G Rennison 728b902e9f No longer use CDECL for GUIList::FilterFunction 2 years ago
Jonathan G Rennison b52bb3ca44 Show viewport route overlay for shared order vehicle list windows 2 years ago
Jonathan G Rennison 4990a25e48 Add a "if breakdowns enabled" mode to the no depot order warn setting 2 years ago
Jonathan G Rennison cf6f509859 Add setting flag to enable bool -> int config file load conversion 2 years ago
Jonathan G Rennison 6cf62af092 Change vehicle route overlay settings
Add a mode setting: off, all locations, station stops only
Change show vehicle route setting to on/off
Move settings to their own section in the GUI
Add an unset hotkey to switch the mode setting
2 years ago
Jonathan G Rennison 7ec5450ed1 Settings GUI: Move viewport signal settings to their own section 2 years ago
Jonathan G Rennison f46998696f
Merge pull request #451 from telk5093/jgrpp
Update: Korean translation up to 0.49.1
2 years ago
Jonathan G Rennison 1ddccee0d7 Fix timetable state conditional order not initing timetable field 2 years ago
Jonathan G Rennison cb9c657f59 Fix selected state of dispatch is/not first/last dropdown in order window 2 years ago
Jonathan G Rennison cbf41a6343 Fix crash when clicking counter or schedule non-train conditional order 2 years ago
Jonathan G Rennison ff3e275c43 Change no_depot_order_warn setting default to off 2 years ago
Jonathan G Rennison e92aaade42 NetworkCompanyIsPassworded should return false in single player mode 2 years ago