Commit Graph

49091 Commits

Author SHA1 Message Date
Jonathan G Rennison
8fb0b638fa Merge branch 'master' into jgrpp
# Conflicts:
#	src/network/network.cpp
2020-03-11 23:16:32 +00:00
Jonathan G Rennison
692d836664 Fix rendering issue with scheduled dispatch tag in timetable/order list 2020-03-11 18:22:37 +00:00
Jonathan G Rennison
f3145030b7 Fix false positive in ValidateVehicleTileHash 2020-03-09 09:22:51 +00:00
Jonathan G Rennison
cb6a01cab3 Fix cases where departures board data was not invalidated 2020-03-09 09:22:38 +00:00
Charles Pigott
7191360754 Change: Keep News Window usable by only storing the 1024 latest news messages 2020-03-06 00:05:06 +00:00
Jonathan G Rennison
749b9da602 Documentation: Update low level changes document 2020-03-05 23:06:01 +00:00
Jonathan G Rennison
b4a814d371 Improve performance of vehicle route overlay rendering 2020-03-05 23:06:01 +00:00
Jonathan G Rennison
a4608f6f72 Cache vehicle positions across draw blocks in viewport map mode 2020-03-05 23:06:01 +00:00
Jonathan G Rennison
7949de2c05 Add a minimum visible height and no ground tile parameter to DrawTileProc.
Filter out tile parts which are entirely outside the drawing area.
2020-03-05 23:06:01 +00:00
Jonathan G Rennison
8ef367b126 Add viewport debug commands 2020-03-05 00:27:17 +00:00
Jonathan G Rennison
8f442500ea Change how dirty screen, window and viewport areas are tracked for later redrawing
Track dirty viewport areas seperately form general screen redraws.
Maintain a dirty block grid per viewport, with a smaller block size.
Use even smaller block size in viewport map mode.

Use a rectangle array for general screen redraws instead of a block grid.

Add a dirty bit to windows and widgets, to simplify the common case
of repainting a whole window or widget, without catching
neighbouring windows or viewports.
2020-03-05 00:27:17 +00:00
Jonathan G Rennison
d740a19e5f Increase viewport chunking size 2020-03-03 22:05:42 +00:00
Jonathan G Rennison
8956b1ab02 Improve performance of tunnel rendering in viewport map mode 2020-03-03 06:57:50 +00:00
Jonathan G Rennison
4108672cf6 Use separate tile hash for each vehicle type 2020-03-03 06:57:50 +00:00
Jonathan G Rennison
4020719227 Exclude effect and disaster vehicles from vehicle tile hash 2020-03-03 06:57:50 +00:00
Jonathan G Rennison
1d79a7610d Increase width of signal state change viewport invalidation area 2020-03-03 06:57:50 +00:00
Jonathan G Rennison
475a3651b2 Lang: Delete stray line 2020-02-28 01:44:55 +00:00
Jonathan G Rennison
db9e088801 Pre-filter signs by Y coordinate in DrawTextEffects 2020-02-28 01:36:28 +00:00
Jonathan G Rennison
91e12ac2bb Merge branch 'pr-132' into jgrpp 2020-02-28 01:34:23 +00:00
TELK
f5ca33328c ko-KR: Fix #133 2020-02-28 02:34:48 +09:00
TELK
199f0ac3e8 ko-KR: Update for 0.33.2 2020-02-28 02:34:48 +09:00
Jonathan G Rennison
1d577c8267 Add utility functions for integer division towards +/- infinity 2020-02-27 02:08:08 +00:00
Jonathan G Rennison
de2c2f7cea Fix 37adf9be: Fix last effect flag not being checked if front has no effect 2020-02-27 01:57:35 +00:00
Jonathan G Rennison
65152503de Viewport: Do not process tile selection sprites below drawing area 2020-02-27 01:57:35 +00:00
Jonathan G Rennison
f563dfe194 Viewport: Trim parent sprites to redraw area before sorting 2020-02-27 01:57:35 +00:00
Jonathan G Rennison
61dfca98c7 Fix text effects using the wrong size for viewport dirtying at 8x zoom 2020-02-25 23:16:14 +00:00
Jonathan G Rennison
5240b46d1d Reduce viewport invalidation area of signal state changes 2020-02-25 21:31:29 +00:00
Jonathan G Rennison
b9eaef9fe1 Fix 81a67b5b: Fix fake house case not being handled in GetHouseCallback 2020-02-25 21:31:29 +00:00
Jonathan G Rennison
f2bc12bb21 Avoid integer overflow in MoveGoodsToStation
In case where input cargo amount > 255
2020-02-23 23:43:04 +00:00
Quipyowert2
d1b7eb2de1 Codechange: Limit field width to avoid sscanf crash 2020-02-23 19:04:34 +00:00
translators
a4a6e5dfb4 Update: Translations from eints
croatian: 20 changes by VoyagerOne
2020-02-23 19:45:39 +01:00
SamuXarick
ea7044a74b
Fix f5381798: Station::GetTileArea reduced docks to a single tile (#8014) 2020-02-22 15:51:58 +01:00
frosch
0ade8b20fe Fix #7998: Crash when scripts tried to access companies with invalid IDs. 2020-02-22 14:32:43 +00:00
Jonathan G Rennison
fa73e42dfd Version: Committing version data for tag: jgrpp-0.33.2 2020-02-21 21:32:05 +00:00
Jonathan G Rennison
b96e7f78fb Merge branch 'master' into jgrpp 2020-02-21 21:18:01 +00:00
Jonathan G Rennison
70794644cc Fix crash in distributing residual cargo in MoveGoodsToStation 2020-02-21 08:18:14 +00:00
Jonathan G Rennison
f08032f6ef Fix #131: Partially revert 4d9e07e8: Use unaligned loads for SSE4 on 32 bit 2020-02-20 17:28:48 +00:00
Andy
75031c9693 Fix: provide two sets of tram tracks not one in the GUI icon for building tramway 2020-02-20 12:26:53 +01:00
Jonathan G Rennison
3517068e30 Clip widget draw calls which are outside _cur_dpi 2020-02-20 00:49:32 +00:00
Jonathan G Rennison
08af3b38d9 Do not mark map-mode viewports dirty when changing rail ground type 2020-02-20 00:38:01 +00:00
Jonathan G Rennison
c13ff2a1d3 Reduce viewport invalidation area of track reservation changes 2020-02-20 00:16:51 +00:00
glx
9116b22386 Fix #8011, f5381798: Dock tile in TTD savegame was only 2 bytes 2020-02-19 17:45:42 +01:00
Charles Pigott
4bc78835e8 Fix #6399: Create parent directories if they don't already exist 2020-02-19 11:28:42 +01:00
Charles Pigott
5c19668fdb Doc: [Script] Add a note about how wagon connectivity works for scripts 2020-02-19 11:26:58 +01:00
Jonathan G Rennison
2c2184f89d Fix viewport signs always using the larger font size for marking dirty 2020-02-17 23:23:56 +00:00
Jonathan G Rennison
c42ce832ae Fix viewport signs and text effects marking viewports dirty unnecessarily
* When at high zoom levels where the signs are not shown
* Where the sign type is disabled in the display options
2020-02-17 23:23:15 +00:00
Quipyowert2
4552b17691 Codechange: Avoid copying function parameters by using const references 2020-02-17 09:15:28 +01:00
glx
0c80ae5288 Fix: Ignore not printable characters when layouting a string 2020-02-15 23:15:58 +00:00
LCD 47
7f693ce497 Fix: [SDL2] support pasting from clipboard on Linux 2020-02-15 19:38:25 +00:00
translators
87909855c8 Update: Translations from eints
italian: 2 changes by AlphaJack
korean: 8 changes by telk5093
2020-02-15 19:45:40 +01:00