Jonathan G Rennison
4555724da4
Add CBID_VEHICLE_NAME to GetNewGRFCallbackName
2 years ago
Jonathan G Rennison
483e3172af
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/core/strong_typedef_type.hpp
# src/gfx.cpp
# src/group_cmd.cpp
# src/industry_cmd.cpp
# src/map_func.h
# src/newgrf_debug_gui.cpp
# src/order_cmd.cpp
# src/pathfinder/follow_track.hpp
# src/rail_cmd.cpp
# src/road_cmd.cpp
# src/road_gui.cpp
# src/saveload/saveload.cpp
# src/screenshot.cpp
# src/smallmap_gui.cpp
# src/station_cmd.cpp
# src/strings.cpp
# src/tile_type.h
# src/timetable_gui.cpp
# src/town_cmd.cpp
# src/train_cmd.cpp
# src/viewport.cpp
2 years ago
Jonathan G Rennison
9006a47104
Debug: Fix wrong drawing position of extension variables in debug window
2 years ago
Rubidium
f001e84e5e
Codechange: use RAII to automatically restore _cur_dpi after use
2 years ago
Jonathan G Rennison
3435e74c0c
Merge branch 'master' into jgrpp
...
# Conflicts:
# .github/workflows/ci-build.yml
# .github/workflows/release.yml
# CMakeLists.txt
# os/macosx/Info.plist.in
# src/fileio.cpp
# src/landscape.cpp
# src/league_cmd.h
# src/saveload/ai_sl.cpp
# src/saveload/game_sl.cpp
# src/saveload/league_sl.cpp
# src/saveload/saveload.cpp
2 years ago
Peter Nelson
5eb7e1d3ab
Fix: Improve sprite aligner list size and alignment.
2 years ago
Peter Nelson
8adc47858d
Change: Set minimal size on aligner buttons.
2 years ago
Peter Nelson
33eb9688cf
Add: Sprite centre and crosshair toggles on sprite aligner.
2 years ago
Jonathan G Rennison
12b20376b3
Add new landscape flag to enable drawing rocks covered by snow
2 years ago
Jonathan G Rennison
2430a5113e
Debug: Add GRF debug window support for new landscape rocks
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
PeterN
53682b4b6b
Fix #10114 : Wonky depot layout. ( #10191 )
...
Depot lists internal layout was not handled well. This is improved by
throwing more Rects at it:
- Vehicle images are now be vertically centred in the rect.
- Image clipping is relaxed to cover the rect, improving larger sprites.
- Outline highlight is now aware of bevel thickness.
2 years ago
Peter Nelson
f5f035a22b
Codechange: Make use of Rect Width/Height helpers.
2 years ago
Peter Nelson
eb4ba1991b
Change: Use CenterBounds function in more places.
...
CenterBounds may have a 1 pixel difference so the result is not exactly
the same.
2 years ago
Peter Nelson
890b2666d3
Change: Use scaled WidgetDimensions.
2 years ago
Peter Nelson
b6ed595176
Codechange: Prefer suggested widget padding.
2 years ago
Peter Nelson
fea7247072
Change: Use standard 'frametext' padding for settings window.
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
Jonathan G Rennison
2a806cda21
Debug: Allow highlighting multiple registers
2 years ago
Jonathan G Rennison
4e5e85e7aa
Debug: Allow inspecting industry specs before industry is built
...
Add debug box to industry chains window
2 years ago
Jonathan G Rennison
9ed5b6e65c
Debug: Change sprite group indentation handling
2 years ago
Jonathan G Rennison
dbc55274e2
Debug: Show callback ID names in sprite dump
2 years ago
Jonathan G Rennison
b5d0c1d493
Debug: Show signalled tunnel/bridge info in debug window
2 years ago
Jonathan G Rennison
4d04a757cc
Debug: Add new signals support to GRF debug window
2 years ago
Jonathan G Rennison
45798fa533
Debug: Add scroll to sprite number to debug window
2 years ago
Jonathan G Rennison
86324e0fda
Debug: Add mode to sprite dump window to show unoptimised
2 years ago
Jonathan G Rennison
22e10462dc
Debug: Redraw debug window content if line change moves scroll position
2 years ago
Jonathan G Rennison
a818157c57
Debug: Add button to duplicate debug window
2 years ago
Jonathan G Rennison
6825ea5e79
Debug: Show name of root sprite group shown in vehicle debug window
2 years ago
Jonathan G Rennison
cf640cc0cf
Debug: Add sprite group collapsing to sprite group dump window
2 years ago
Jonathan G Rennison
c238bd5012
Debug: Add temp store highlighting to sprite group dump window
...
Add tooltip
2 years ago
Jonathan G Rennison
564d7e5029
Debug: Allow clicking to highlight group in sprite group dump window
2 years ago
Jonathan G Rennison
66db1863f2
Debug: Add NewGRF inspector support for road stops
3 years ago
Jonathan G Rennison
2959221066
Debug: Add support for showing extended variables in object debug window
3 years ago
Jonathan G Rennison
b5521653e0
Debug: Add general mechanism to make lines in debug window clickable
3 years ago
Jonathan G Rennison
2b56ca2b62
Debug: Create struct type for ExtraInfo output parameter
3 years ago
Jonathan G Rennison
da282c3ecc
Merge branch 'master' into jgrpp-beta
...
# Conflicts:
# .github/workflows/ci-build.yml
# CMakeLists.txt
# src/lang/finnish.txt
# src/lang/french.txt
# src/lang/korean.txt
# src/lang/norwegian_bokmal.txt
# src/lang/russian.txt
# src/lang/spanish.txt
# src/misc_gui.cpp
# src/newgrf.cpp
3 years ago
rubidium42
e588923bff
Codechange: add std::string accepting SetDParamStr to ErrorMessageData
3 years ago
Rubidium
6bd12e24d7
Codechange: introduce SpriteFile to be used by the sprite loader instead of the global FIO slot functionality
...
(cherry picked from commit fdc11a9f94
)
3 years ago
glx22
5799402f7a
Codechange: Rename window related DeleteXXX to match new behaviour
3 years ago
Jonathan G Rennison
900a93ac59
Debug: Add sprite dumping to vehicle debug windows
3 years ago
Jonathan G Rennison
12e00624ba
Debug: Fix scrollbar count and logged end marker in extra info only mode
3 years ago
Jonathan G Rennison
5d8f459066
Debug: Add button to debug window to log contents to console
3 years ago
Rubidium
fdc11a9f94
Codechange: introduce SpriteFile to be used by the sprite loader instead of the global FIO slot functionality
3 years ago
Peter Nelson
6e272df9b0
Fix: Tidy up sizing of sprite aligner window sprite list.
...
(cherry picked from commit af70195e44
)
3 years ago
Peter Nelson
af70195e44
Fix: Tidy up sizing of sprite aligner window sprite list.
3 years ago
Jonathan G Rennison
eb8991da2f
Debug: Fix blank detection for persistent storage display
3 years ago
Patric Stout
3744d71b13
Codechange: replace _realtime_tick with std::chrono for mouse events
...
(cherry picked from commit 853bfc3562
)
4 years ago