Commit Graph

1940 Commits

Author SHA1 Message Date
Jonathan G Rennison
99b2698658 Update vehicle image on demand when image is continuously updated by GRF
This is for trains/RVs only (to avoid issues with variable sprite bounds)

This largely fixes the performance issues of continuously updating
vehicle images
2020-11-08 23:09:01 +00:00
Jonathan G Rennison
cde5e8c79d Add setting to disable continuously updating NewGRF vehicle image 2020-11-08 11:59:29 +00:00
Jonathan G Rennison
2fe5d4339b Add 3 more zoning highlight colours 2020-10-28 00:27:48 +00:00
Jonathan G Rennison
3fa92f5d8e Debug: Add RV path cache length 2020-10-28 00:27:48 +00:00
Jonathan G Rennison
42e7d796aa Debug: Add vehicle position and road veh vars to vehicle debug window 2020-10-24 20:19:13 +01:00
Jonathan G Rennison
63d3f33fd2 Add display setting for income/cost text effects 2020-10-20 18:20:57 +01:00
Jonathan G Rennison
327c088f29 Show road/rail type labels in debug window 2020-10-18 12:09:25 +01:00
Jonathan G Rennison
946442ab6b GRF: Add extra road/tram type flag: towns cannot modify tiles 2020-10-16 22:41:26 +01:00
Jonathan G Rennison
75a964acb0 GRF: Add extra road/tram type flag: not available to AI/GS 2020-10-16 22:12:10 +01:00
Jonathan G Rennison
6c9988f28b Debug: Add road/tram type support to NewGRF debug window 2020-10-16 18:42:47 +01:00
Jonathan G Rennison
0d61ae9567 Debug: Add compatible railtype info to railtype debug window 2020-10-15 20:42:04 +01:00
Jonathan G Rennison
92ca965ef7 Fix PBS rail type handling with incorrect GRF rail type compatibility 2020-10-15 20:37:57 +01:00
Jonathan G Rennison
ca726d79f5 Add company setting for whether to add vehicle to group on copy-clone 2020-10-12 18:11:14 +01:00
Jonathan G Rennison
cbbea0c8f4 Allow several settings to be changed in multiplayer
* construction.command_pause_level
* economy.allow_town_level_crossings
* vehicle.improved_breakdowns
* vehicle.adjacent_crossings
2020-10-05 22:41:21 +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
84dd35b685 Add drive-through train depot emulation (default off) 2020-09-26 18:08:26 +01:00
Jonathan G Rennison
b6f583a799 GRF: Add railtype custom signal sprite restricted flag, and control flag 2020-09-26 11:53:44 +01:00
Jonathan G Rennison
d32672a325 GRF: Allow railtype custom signal sprites for programmable pre-signals 2020-09-26 11:26:33 +01:00
Jonathan G Rennison
481710f95b Show engine rail type info in vehicle debug window 2020-09-23 20:33:38 +01:00
Jonathan G Rennison
2ea3a7d6f4 Add setting for default road/tram types, to match default rail type setting 2020-09-18 23:32:47 +01:00
Jonathan G Rennison
f44d75eaf5 Allow building objects by area (1x1 objects only)
Add setting (default on)
2020-09-14 23:19:45 +01:00
Jonathan G Rennison
2d350d26db Add rate limit for object construction 2020-09-14 23:06:49 +01:00
Jonathan G Rennison
45386efcd0 Script: Allow changing ops limit and memory limit settings in game 2020-09-14 18:04:19 +01:00
Jonathan G Rennison
ff12051ee1 Only show ship is lost messages if lost for a significant time 2020-09-07 18:24:49 +01:00
Jonathan G Rennison
817bc44a3e Initial implementation of tracerestrict counter mechanism 2020-08-31 19:08:35 +01:00
Jonathan G Rennison
cc6be16422 Add news setting for trains waiting due to routing restrictions 2020-08-29 13:31:52 +01:00
Jonathan G Rennison
a63bc23f04 Debug: Add various train fields to the vehicle debug window 2020-08-29 13:27:18 +01:00
Jonathan G Rennison
810bfd276e Add several NewGRF variables to vehicle image callback whitelist
Add vehicle flags to control cached image invalidation

Various refactorings
2020-08-25 01:26:44 +01:00
Jonathan G Rennison
8bf41a6f1d Add setting to show unlisted console commands 2020-08-15 00:37:46 +01:00
Jonathan G Rennison
cc45a99a4d Fix #181: Set max bridge/tunnel length setting max to 4096 (same as trunk) 2020-08-05 22:09:40 +01:00
Jonathan G Rennison
f26143f063 Add setting for alternative linkgraph overlay colour schemes 2020-08-03 23:30:05 +01:00
Jonathan G Rennison
4a21fafd5c Debug: Add stadium and church count to town debug window 2020-08-03 20:27:12 +01:00
Jonathan G Rennison
ce6cdc551f Add anywhere mode to ignore house zone scenario editor setting
See: #177
2020-08-03 19:37:50 +01:00
Jonathan G Rennison
157beb05ed Add settings to ignore date/zone/GRF when placing houses in scenario editor
See: #177
2020-08-03 19:02:11 +01:00
Jonathan G Rennison
b7118b60fe Add setting to enable multiple churches/stadiums in scenario editor
See: #177
2020-08-03 16:39:03 +01:00
Yourself
087cae82fc Add: zero tree growth setting 2020-07-10 15:22:02 -07:00
Jonathan G Rennison
002e99ac34 Debug: Show tile info on separate lines in vehicle debug window 2020-07-09 17:40:00 +01:00
Jonathan G Rennison
1f5de8b82c Auto separation: Remove circular linked list, use new algorithm 2020-07-09 02:15:16 +01:00
Jonathan G Rennison
2219a1a5b7 Debug: Add ahead/behind separation vehicles to vehicle debug window 2020-07-08 19:30:26 +01:00
Jonathan G Rennison
d5ada6a14b Add setting to control RV re-routing on road layout change
Default to road removal only
This is due to poor performance with many RVs when town growth is
continually adding to the road layout
2020-07-02 17:47:26 +01:00
Jonathan G Rennison
38d42795c8 Add setting to disable vehicle expiry after a given year 2020-07-01 20:36:40 +01:00
Jonathan G Rennison
7ccbb6cf16 Debug: Show engine date properties in vehicle debug window 2020-07-01 19:10:14 +01:00
Jonathan G Rennison
3adeff1883 Merge branch 'master' into jgrpp
# Conflicts:
#	CMakeLists.txt
#	cmake/CompileFlags.cmake
#	src/bridge_gui.cpp
#	src/saveload/afterload.cpp
#	src/saveload/saveload.cpp
#	src/saveload/saveload.h
#	src/saveload/town_sl.cpp
#	src/screenshot.cpp
#	src/screenshot.h
#	src/toolbar_gui.cpp
#	src/town.h
#	src/town_cmd.cpp
2020-06-30 21:43:04 +01:00
glx22
909c9656ce Fix: [CMake] cross-compiling requires native tools
(cherry picked from commit fdaf0d0b2f82701c8ea1e9a1125415351cf49e57)
2020-06-30 20:56:45 +01:00
TechGeekNZ
cf8ea74733 Update: Merge branch 'jgrpp_master_cmake' into jgrpp_cmake 2020-06-28 21:56:43 +01:00
dP
a2e1102b15 Feature: Increase max possible distance from border for oil refineries and rigs 2020-06-27 14:18:31 +01:00
Jonathan G Rennison
f5e9805b10 Store time display settings both in savegame and client, add setting 2020-06-23 21:05:21 +01:00
Jonathan G Rennison
12c25be778 Debug: Add station delete counter to NewGRF debug 2020-06-07 19:50:37 +01:00
Jonathan G Rennison
271fac01a7 Add setting to scale station cargo capacity and rating tolerance by size 2020-06-07 19:50:37 +01:00
Jonathan G Rennison
1917a3e0f8 Station: Add field for number of station tiles 2020-06-07 14:37:59 +01:00