Jonathan G Rennison
|
c4cb700738
|
Viewport map: Don't double draw north tile of bridge/tunnel
|
2021-06-17 17:22:50 +01:00 |
|
Jonathan G Rennison
|
1002c6d9d2
|
Fix various compiler warnings
See: #267
|
2021-06-11 22:54:27 +01:00 |
|
Jonathan G Rennison
|
c0bb428e9e
|
Fix vehicle sprites not being updated when moving viewport
When move is instantaneous and old and new viewport rects do not overlap
|
2021-06-07 18:08:51 +01:00 |
|
Jonathan G Rennison
|
aa0c1ba2e0
|
Only update vehicle image when in the vicinity of a viewport
This reduces the performance impact of expensive NewGRF
graphics chains.
|
2021-05-20 18:03:11 +01:00 |
|
Jonathan G Rennison
|
6ea97d6068
|
Viewport: Cache viewport areas for use in MarkAllViewportsDirty
|
2021-05-18 21:37:05 +01:00 |
|
glx22
|
dfe616bef4
|
Codechange: Replace window related FOR_ALL with range-based for loops
(cherry picked from commit 14e92bd8e2 )
|
2021-05-06 19:32:36 +01:00 |
|
Jonathan G Rennison
|
227041008f
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/debug.cpp
# src/lang/russian.txt
# src/misc_gui.cpp
# src/os/windows/crashlog_win.cpp
# src/os/windows/font_win32.cpp
# src/os/windows/win32.cpp
# src/rail_cmd.cpp
# src/window_gui.h
|
2021-04-11 03:05:08 +01:00 |
|
Jonathan G Rennison
|
f39b6f4ba3
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/cheat_gui.cpp
# src/genworld_gui.cpp
# src/landscape.cpp
# src/lang/english.txt
# src/saveload/afterload.cpp
# src/screenshot.cpp
# src/settings_gui.cpp
# src/settings_internal.h
# src/settings_type.h
# src/table/settings.ini
# src/tile_type.h
# src/widgets/genworld_widget.h
|
2021-04-10 18:29:36 +01:00 |
|
Jonathan G Rennison
|
3ede756d23
|
Fix: Viewport drag tooltips not being removed when dragging over other windows
|
2021-04-08 19:34:45 +02:00 |
|
Jonathan G Rennison
|
e3d9cce3ae
|
Fix viewport drag tooltips not being removed when dragging over other windows
|
2021-04-05 12:30:58 +01:00 |
|
Jonathan G Rennison
|
7ad8b69a74
|
Fix old polyrail tooltips being left on screen
|
2021-04-05 11:37:37 +01:00 |
|
Jonathan G Rennison
|
aec2793487
|
Fix flickering of polyrail measurement tooltip
|
2021-03-20 11:59:48 +00:00 |
|
Jonathan G Rennison
|
42e57995dd
|
Improve visibility of slopes under trees in viewport map vegetation mode
Loosely based on tree slope brightness adjustment from
https://github.com/nielsmh/OpenTTD/tree/tree-slope-brightness
|
2021-02-25 20:35:46 +00:00 |
|
Jonathan G Rennison
|
2a0acd9d91
|
Fix viewport order lines with unconditional jump orders
|
2021-02-14 20:40:26 +00:00 |
|
Loïc Guilloux
|
f06c16fda0
|
Fix 81d335b081 : Use non-pulsating red highlight for coverage (#8622)
(cherry picked from commit b927da73c1 )
|
2021-02-14 20:19:41 +00:00 |
|
Loïc Guilloux
|
b927da73c1
|
Fix 81d335b081 : Use non-pulsating red highlight for coverage (#8622)
|
2021-02-07 16:20:26 +01:00 |
|
Jonathan G Rennison
|
e75e2b5bdc
|
Fix left mouse button scroll in viewport map mode
|
2021-02-05 11:56:08 +00:00 |
|
SamuXarick
|
a4035af337
|
Codechange: Apply coding style (#8640)
* Fix: Missing or needed spaces
* Codechange: Remove space
* Codechange: Remove space
* Codechange: More missing spaces
* Codechange: Missing spaces
* Codechange: Remove space
* Codechange: Remove space
|
2021-02-05 11:00:36 +01:00 |
|
Jonathan G Rennison
|
b7ddd486cf
|
Merge branch 'master' into jgrpp
# Conflicts:
# cmake/CompileFlags.cmake
# src/aircraft_cmd.cpp
# src/blitter/32bpp_anim.cpp
# src/cargopacket.cpp
# src/cheat_gui.cpp
# src/company_cmd.cpp
# src/company_gui.cpp
# src/core/pool_func.hpp
# src/date.cpp
# src/economy.cpp
# src/error_gui.cpp
# src/ground_vehicle.cpp
# src/ground_vehicle.hpp
# src/group_gui.cpp
# src/industry_cmd.cpp
# src/lang/dutch.txt
# src/lang/french.txt
# src/lang/german.txt
# src/linkgraph/linkgraph_gui.cpp
# src/linkgraph/mcf.cpp
# src/network/network_content.cpp
# src/network/network_server.cpp
# src/network/network_udp.cpp
# src/newgrf_engine.cpp
# src/newgrf_station.cpp
# src/order_cmd.cpp
# src/order_gui.cpp
# src/pathfinder/follow_track.hpp
# src/pathfinder/yapf/yapf_common.hpp
# src/saveload/saveload.cpp
# src/settings_gui.cpp
# src/station_cmd.cpp
# src/station_kdtree.h
# src/string_func.h
# src/table/settings.ini
# src/tgp.cpp
# src/timetable_cmd.cpp
# src/timetable_gui.cpp
# src/toolbar_gui.cpp
# src/town_cmd.cpp
# src/train_cmd.cpp
# src/train_gui.cpp
# src/tree_gui.cpp
# src/tunnelbridge_cmd.cpp
# src/vehicle.cpp
# src/vehicle_gui.cpp
# src/video/sdl2_v.cpp
# src/video/sdl_v.cpp
# src/video/win32_v.cpp
# src/viewport.cpp
# src/viewport_sprite_sorter_sse4.cpp
# src/window.cpp
|
2021-02-01 17:07:34 +00:00 |
|
Jonathan G Rennison
|
6c3e5642f8
|
Merge branch 'master' into jgrpp
# Conflicts:
# cmake/CompileFlags.cmake
# src/crashlog.cpp
# src/fileio.cpp
# src/fileio_func.h
# src/fios_gui.cpp
# src/ini_load.cpp
# src/ini_type.h
# src/lang/english.txt
# src/lang/german.txt
# src/lang/korean.txt
# src/network/network_client.cpp
# src/order_base.h
# src/order_cmd.cpp
# src/os/windows/win32.cpp
# src/road_cmd.cpp
# src/saveload/saveload.cpp
# src/saveload/saveload.h
# src/settings.cpp
# src/station_cmd.cpp
# src/stdafx.h
# src/table/settings.ini
# src/tree_cmd.cpp
# src/tree_gui.cpp
# src/vehicle_base.h
# src/video/cocoa/cocoa_v.mm
# src/video/cocoa/event.mm
# src/video/cocoa/wnd_quartz.mm
# src/viewport.cpp
# src/widgets/tree_widget.h
|
2021-01-31 01:08:35 +00:00 |
|
Jonathan G Rennison
|
43980639de
|
Merge branch 'master' into jgrpp
# Conflicts:
# .gitignore
# CMakeLists.txt
# src/3rdparty/optional/optional.hpp
# src/group_cmd.cpp
# src/industry_cmd.cpp
# src/misc_gui.cpp
# src/video/sdl2_v.cpp
|
2021-01-29 17:45:15 +00:00 |
|
Matt Kimber
|
40d5fe1631
|
Fix eeb88e8 : Trains reversed while paused do not correctly update sprite bounds (#8540)
|
2021-01-17 19:57:16 +01:00 |
|
Charles Pigott
|
9b800a96ed
|
Codechange: Remove min/max functions in favour of STL variants (#8502)
|
2021-01-08 11:16:18 +01:00 |
|
Niels Martin Hansen
|
2d9fa81bd0
|
Feature: Plant clumps of trees in editor by dragging on the landscape
|
2020-12-27 01:03:27 +01:00 |
|
dP
|
e82333cf77
|
Feature #7962: Improve rendering of large viewports
|
2020-12-20 10:13:35 +01:00 |
|
dP
|
5ca8a0bda9
|
Feature #7962: Significantly improve sprite sorter performance
|
2020-12-20 10:13:35 +01:00 |
|
Michael Lutz
|
79240eab1e
|
Codechange: Make use of the improved C++17 emplace_back function.
|
2020-12-15 00:29:30 +01:00 |
|
Jonathan G Rennison
|
760a1f0163
|
Fix assert failure in MarkAllViewportMapsDirty
Assertion is incorrect
|
2020-11-07 23:37:50 +00:00 |
|
Jonathan G Rennison
|
0902243ab3
|
Allow changing the colour of plans
|
2020-11-06 22:40:02 +00:00 |
|
Jonathan G Rennison
|
ddaffef632
|
Add viewport map mode: routes
|
2020-10-13 23:06:33 +01:00 |
|
Jonathan G Rennison
|
2c4808e239
|
Viewport: Add debug flag to disable landscape cache
|
2020-10-03 16:01:59 +01:00 |
|
Jonathan G Rennison
|
7e68459ebd
|
Fix plans/route line viewport mark dirty not being wide enough
|
2020-10-02 03:05:31 +01:00 |
|
Jonathan G Rennison
|
b4ceb93406
|
Plans: Improve drawing performance of current plan line
|
2020-10-02 03:04:33 +01:00 |
|
Jonathan G Rennison
|
d29a08dfe1
|
Add gfx_debug console command
|
2020-10-02 02:10:09 +01:00 |
|
Jonathan G Rennison
|
a474e71243
|
Viewport: Cache landscape pixels in map mode
Avoid invalidating landscape pixels for non-landscape updates
(vehicles, overlays, etc.)
|
2020-10-01 23:18:39 +01:00 |
|
Jonathan G Rennison
|
35565a115b
|
Viewport: Fix casing of ClearViewportCache(s)
|
2020-10-01 23:18:39 +01:00 |
|
Jonathan G Rennison
|
352b361e1b
|
Viewport: Replace viewport mark dirty if zoom level below with flags param
Fix missing flags for tracerestrict and effect vehicles
|
2020-10-01 23:18:39 +01:00 |
|
Jonathan G Rennison
|
38ebad6123
|
Plans: Fix adding plan lines in viewport map mode
|
2020-09-29 17:48:15 +01:00 |
|
Jonathan G Rennison
|
3b47b7b091
|
Plans: Improve performance of viewport plan rendering
|
2020-09-29 01:40:12 +01:00 |
|
Jonathan G Rennison
|
3b49f892fa
|
Redraw connecting link graph overlay links when moving station sign
Add test console command
|
2020-09-18 18:58:16 +01:00 |
|
Jonathan G Rennison
|
5b78090a61
|
Merge branch 'master' into jgrpp
# Conflicts:
# CMakeLists.txt
# src/saveload/town_sl.cpp
# src/screenshot.h
# src/script/api/ai/ai_date.hpp.sq
# src/script/api/ai/ai_marine.hpp.sq
# src/script/api/ai/ai_station.hpp.sq
# src/script/api/game/game_date.hpp.sq
# src/script/api/game/game_marine.hpp.sq
# src/script/api/game/game_station.hpp.sq
# src/script/api/game/game_window.hpp.sq
# src/script/api/script_window.hpp
# src/script/api/template/template_window.hpp.sq
# src/signal.cpp
# src/statusbar_gui.cpp
# src/toolbar_gui.cpp
# src/viewport.cpp
# src/viewport_func.h
|
2020-08-27 18:31:09 +01:00 |
|
TechGeekNZ
|
a10013dd00
|
Codechange: Spell 'Viewport' consistently
Some places in the codebase misspell 'Viewport' as 'ViewPort' or 'view_port'.
This patch makes everything consistent.
|
2020-07-27 17:31:29 +01:00 |
|
TechGeekNZ
|
8652a4db76
|
Cleanup: Give SetDirtyBlocks a more descriptive name.
|
2020-06-09 13:15:47 +01:00 |
|
Jonathan G Rennison
|
e559bb98c4
|
Viewport: Fix scroll region sort comparison not meeting strict weak ordering
fa90b567 was not a proper fix
|
2020-04-30 18:53:19 +01:00 |
|
Jonathan G Rennison
|
686ff03817
|
Fix graphical glitch when rendering narrow viewport slices
|
2020-04-27 17:34:47 +01:00 |
|
Jonathan G Rennison
|
60dabc68a0
|
Add a scope info logger for DoSetViewportPosition calls
|
2020-04-27 17:21:11 +01:00 |
|
Jonathan G Rennison
|
3cb521afb3
|
Viewport: Fix screen bounds of empty bounding box sprites when splitting
|
2020-04-19 11:30:20 +01:00 |
|
Jonathan G Rennison
|
89902f2f4a
|
Debug: Add viewport debug flags for sprite split control
|
2020-04-19 10:58:18 +01:00 |
|
Jonathan G Rennison
|
4b374cb84a
|
Add half-tile margin when horizontally splitting viewport drawing region
|
2020-04-18 23:34:46 +01:00 |
|
Jonathan G Rennison
|
e0902c93a4
|
Revert "Viewport: Trim parent sprites to redraw area before sorting"
This reverts commit f563dfe194 .
This caused rendering issues with vehicles passing under bridges
at the very edge of the drawing area.
|
2020-04-18 23:06:38 +01:00 |
|