Loïc Guilloux
|
c890f96d07
|
Fix: no fast forward in network was ensured only from GUI side (#11206)
(cherry picked from commit 2bf3c02fbf )
|
11 months ago |
Jonathan G Rennison
|
e94f9699de
|
Picker tool: Remember rail/road/tram as last used when opening from picker
|
1 year ago |
Jonathan G Rennison
|
32ec1bc77b
|
Add hotkey for picker tool in scenario editor
|
1 year ago |
Jonathan G Rennison
|
371a555324
|
Disable picker tool in spectator mode
|
1 year ago |
Jonathan G Rennison
|
ccdca8ae52
|
Add setting to increase size of main toolbar
|
1 year ago |
Jonathan G Rennison
|
61e9c3084f
|
Add picker tool to main toolbar help menu
See: #498
Supports:
* Rail types
* Road/tram types
* Objects
* Rail stations/waypoints
* Road stops/waypoints
Add unset hotkey
|
1 year ago |
Jonathan G Rennison
|
6215e326fd
|
Add constants for toolbar help menu items
|
1 year ago |
Jonathan G Rennison
|
2ed248a61d
|
Merge branch 'master' into jgrpp
# Conflicts:
# .github/workflows/ci-build.yml
# .github/workflows/release-linux.yml
# src/aircraft_cmd.cpp
# src/airport_gui.cpp
# src/articulated_vehicles.cpp
# src/build_vehicle_gui.cpp
# src/company_gui.cpp
# src/genworld_gui.cpp
# src/gfx_layout.cpp
# src/misc_gui.cpp
# src/newgrf.cpp
# src/newgrf_config.h
# src/newgrf_engine.cpp
# src/news_gui.cpp
# src/order_gui.cpp
# src/roadveh_cmd.cpp
# src/saveload/saveload.h
# src/saveload/vehicle_sl.cpp
# src/ship_cmd.cpp
# src/statusbar_gui.cpp
# src/table/settings/network_private_settings.ini
# src/table/settings/network_settings.ini
# src/toolbar_gui.cpp
# src/train_cmd.cpp
# src/vehicle_gui.cpp
|
1 year ago |
Peter Nelson
|
d5fb9e7dc6
|
Codechange: Remove various DATE_LONG strings.
|
1 year ago |
Tyler Trahan
|
6501f84b4a
|
Codechange: Move calendar date functions inside TimerGameCalendar (#10753)
|
1 year ago |
Tyler Trahan
|
930f0a16d8
|
Codechange: Define Date/Year/Month/Day within TimerGameCalendar class
|
1 year ago |
Patric Stout
|
7aa2b9ab0a
|
Codechange: move all date-related variables inside the timer (#10706)
|
1 year ago |
Jonathan G Rennison
|
7da25820ea
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/widgets/dropdown.cpp
# src/widgets/dropdown_type.h
|
1 year ago |
Patric Stout
|
1ba4dcc924
|
Codechange: migrate all Window-related timers to the new framework
This means we also say goodbye to GUITimers.
|
1 year ago |
Peter Nelson
|
e5af5907ec
|
Change: Make all dropdown lists extend width if necessary.
This removes the auto_width parameter from ShowDropDown(At).
|
1 year ago |
Jonathan G Rennison
|
3d1b0af8f6
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/newgrf_debug_gui.cpp
# src/object_cmd.cpp
# src/object_gui.cpp
|
1 year ago |
Tyler Trahan
|
066ae6f3fb
|
Codechange: Simplify some CodeQL-flagged trivial switches
|
1 year ago |
Jonathan G Rennison
|
ae9b416684
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/ai/ai_core.cpp
# src/ai/ai_gui.cpp
# src/ai/ai_instance.cpp
# src/console_cmds.cpp
# src/engine_type.h
# src/game/game_gui.cpp
# src/game/game_instance.cpp
# src/goal.cpp
# src/goal_cmd.h
# src/lang/english.txt
# src/lang/estonian.txt
# src/network/network_client.cpp
# src/newgrf.cpp
# src/newgrf_generic.h
# src/openttd.cpp
# src/saveload/saveload.h
# src/script/api/script_log.cpp
# src/script/api/script_town.cpp
# src/settings_table.cpp
# src/station_cmd.cpp
# src/station_cmd.h
# src/station_map.h
# src/strings.cpp
# src/table/settings/difficulty_settings.ini
# src/table/settings/gui_settings.ini
# src/tbtr_template_gui_main.h
# src/timetable_cmd.cpp
# src/timetable_cmd.h
# src/timetable_gui.cpp
# src/town_gui.cpp
# src/train_gui.cpp
# src/water_cmd.cpp
|
1 year ago |
glx22
|
b080f24bd8
|
Codechange: move windows common to AI and GS out of ai_gui
|
1 year ago |
Jonathan G Rennison
|
4761750eae
|
Fix asserts due to main window not existing yet
Partial revert of https://github.com/OpenTTD/OpenTTD/pull/10327
|
1 year ago |
Jonathan G Rennison
|
1bfd96c7f2
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/3rdparty/fmt/core.h
# src/command_type.h
# src/console_cmds.cpp
# src/core/overflowsafe_type.hpp
# src/landscape.cpp
# src/network/network.cpp
# src/newgrf_object.h
# src/object_cmd.cpp
# src/order_gui.cpp
# src/saveload/vehicle_sl.cpp
# src/script/api/script_industrytype.cpp
# src/script/api/script_object.hpp
# src/script/api/script_town.cpp
# src/table/object_land.h
# src/timetable_cmd.cpp
# src/tree_cmd.cpp
# src/vehicle_gui.cpp
# src/window.cpp
|
1 year ago |
Rubidium
|
bcfe0fb076
|
Codechange: introduce GetMainWindow() to properly account for nullptr checks
Some nullptr checks have been removed as they were not triggered with nullptr
with the null video driver and in dedicated server mode.
|
1 year ago |
Jonathan G Rennison
|
1a05e95945
|
Fix #10214: League and graph buttons in toolbar not having a default action
|
2 years ago |
Jonathan G Rennison
|
321cfee96a
|
Fix league and graph buttons in toolbar not having a default action
See: https://github.com/OpenTTD/OpenTTD/issues/10214
|
2 years ago |
Jonathan G Rennison
|
6d4474b84e
|
Merge tag '13.0-beta2' into jgrpp
# Conflicts:
# src/cheat_gui.cpp
# src/company_gui.cpp
# src/console_gui.cpp
# src/depot_gui.cpp
# src/error_gui.cpp
# src/gfx.cpp
# src/graph_gui.cpp
# src/group_gui.cpp
# src/lang/english.txt
# src/lang/korean.txt
# src/lang/polish.txt
# src/misc_gui.cpp
# src/network/network_content_gui.h
# src/newgrf_debug_gui.cpp
# src/order_gui.cpp
# src/rail_gui.cpp
# src/road_gui.cpp
# src/settings_gui.cpp
# src/settings_type.h
# src/station_gui.cpp
# src/subsidy_gui.cpp
# src/table/settings/gui_settings.ini
# src/timetable_gui.cpp
# src/town_gui.cpp
# src/train_cmd.cpp
# src/vehicle_gui.cpp
# src/viewport.cpp
# src/water_cmd.cpp
# src/widgets/dropdown.cpp
# src/window_gui.h
|
2 years ago |
Jonathan G Rennison
|
02e19521bc
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/build_vehicle_gui.cpp
# src/cheat_gui.cpp
# src/company_gui.cpp
# src/error_gui.cpp
# src/fios_gui.cpp
# src/gfx_func.h
# src/graph_gui.cpp
# src/group_gui.cpp
# src/misc_gui.cpp
# src/newgrf_debug_gui.cpp
# src/order_gui.cpp
# src/road_gui.cpp
# src/roadveh_gui.cpp
# src/settings_gui.cpp
# src/ship_gui.cpp
# src/station_gui.cpp
# src/statusbar_gui.cpp
# src/subsidy_gui.cpp
# src/timetable_gui.cpp
# src/town_gui.cpp
# src/train_gui.cpp
# src/tree_gui.cpp
# src/vehicle_gui.cpp
# src/widget.cpp
# src/widgets/dropdown.cpp
# src/window_gui.h
|
2 years ago |
Jonathan G Rennison
|
5bbf1f5375
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/core/geometry_type.hpp
# src/error_gui.cpp
# src/rail_gui.cpp
# src/tree_gui.cpp
# src/vehicle_gui.cpp
# src/widgets/dropdown.cpp
|
2 years ago |
dP
|
c91033ac5e
|
Feature: [GS] Scriptable league tables (#10001)
(cherry picked from commit 5e14a20b3b )
|
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 |
dP
|
5e14a20b3b
|
Feature: [GS] Scriptable league tables (#10001)
|
2 years ago |
Peter Nelson
|
632464a623
|
Codechange: Use Rect in DropDownListItem::Draw().
|
2 years ago |
Peter Nelson
|
890b2666d3
|
Change: Use scaled WidgetDimensions.
|
2 years ago |
Peter Nelson
|
dd9f6bc803
|
Change: Use RectPadding Horizontal()/Vertical() helpers.
|
2 years ago |
Peter Nelson
|
04cbe57d2a
|
Change: Use RectPadding for widget padding/uz_padding.
|
2 years ago |
Peter Nelson
|
6f95e04005
|
Change: Use Rect helpers for widget drawing.
This replaces repetitive and sometimes unwieldy use of constants.
|
2 years ago |
Artin Alavi
|
cbac243216
|
Feature: [UI] Split AI/Game Script configuration windows and add them to world gen window (#10058)
|
2 years ago |
Jonathan G Rennison
|
0a9c44d1a2
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/airport_gui.cpp
# src/blitter/32bpp_anim_sse4.cpp
# src/console_cmds.cpp
# src/linkgraph/linkgraph_gui.cpp
# src/newgrf_object.h
# src/road_gui.cpp
# src/widgets/road_widget.h
# src/window.cpp
|
2 years ago |
Peter Nelson
|
dc1b84aa1e
|
Cleanup: Text widgets are capable of drawing text without assistance.
Remove custom text drawing of some widgets in favour of standard text
widgets.
|
2 years ago |
Jonathan G Rennison
|
23b974fb39
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/fontcache.cpp
# src/openttd.cpp
# src/os/macosx/font_osx.cpp
# src/os/unix/font_unix.cpp
# src/os/windows/font_win32.cpp
# src/strings.cpp
|
2 years ago |
PeterN
|
0c20a5f39f
|
Fix: Open scenario editor date query once. (#10050)
Clearing `_left_button_clicked` causes the button callback to be fired
constantly while the mouse button is held.
|
2 years ago |
Jonathan G Rennison
|
d81cbc25b8
|
Add setting to allow hiding viewport labels of inidivudal waypoints
|
2 years ago |
Jonathan G Rennison
|
904ff6757d
|
Add slot support to road vehicles, ships and aircraft
|
2 years ago |
Michael Lutz
|
13528bfcd0
|
Codechange: Un-bitstuff all remaining commands.
|
3 years ago |
Michael Lutz
|
0f64ee5ce1
|
Codechange: Template DoCommandP to automagically reflect the parameters of the command proc.
When finished, this will allow each command handler to take individually
different parameters, obliviating the need for bit-packing.
|
3 years ago |
Michael Lutz
|
549caca39c
|
Codechange: Move command arguments to the back of the networked command function calls.
|
3 years ago |
Jonathan G Rennison
|
9e946d4c5d
|
Merge branch 'master' into jgrpp-beta
# Conflicts:
# src/command.cpp
# src/console_cmds.cpp
# src/group_gui.cpp
# src/lang/catalan.txt
# src/lang/czech.txt
# src/lang/danish.txt
# src/lang/greek.txt
# src/lang/hungarian.txt
# src/lang/irish.txt
# src/lang/japanese.txt
# src/lang/luxembourgish.txt
# src/lang/norwegian_bokmal.txt
# src/lang/romanian.txt
# src/lang/russian.txt
# src/lang/serbian.txt
# src/lang/simplified_chinese.txt
# src/lang/slovak.txt
# src/lang/spanish_MX.txt
# src/lang/swedish.txt
# src/lang/tamil.txt
# src/lang/traditional_chinese.txt
# src/lang/turkish.txt
# src/lang/ukrainian.txt
# src/lang/vietnamese.txt
# src/network/network.cpp
# src/network/network_client.cpp
# src/network/network_func.h
# src/network/network_internal.h
# src/network/network_server.cpp
# src/network/network_server.h
# src/saveload/afterload.cpp
# src/saveload/newgrf_sl.cpp
# src/saveload/saveload.h
# src/script/script_instance.cpp
# src/toolbar_gui.cpp
# src/toolbar_gui.h
# src/vehicle_gui.cpp
# src/widgets/rail_widget.h
# src/widgets/vehicle_widget.h
# src/window.cpp
|
3 years ago |
Danny de Bruijne
|
753b1d7e15
|
Feature: Add selected toolbar buttons to MacBook Pro Touch Bar
|
3 years ago |
Patric Stout
|
cd03bac3dd
|
Fix: add back 'Spectate' option to company toolbar menu (#9556)
This was removed in ce7406f88b, but people used this to quickly
mark themselves as away.
Co-authored-by: dP <dp@dpointer.org>
|
3 years ago |
dP
|
40a6181a16
|
Change: Return 'New company/Spectate' option to company toolbar menu
(cherry picked from commit dc2bbfd3f4c78ea14631c2005544bb6898faf1b0)
Include spectate option part
|
3 years ago |
Peter Nelson
|
a4a0da1d4b
|
Codechange: Apply minimum size to toolbar widgets
(cherry picked from commit 63cc340dc1 )
|
3 years ago |