Jonathan G Rennison
24fb390e9f
Add NewGRF object property for flood-resistance
...
Does not imply being able to be built on water
2021-12-05 21:46:09 +00:00
Jonathan G Rennison
06fa1ae332
Add object shore/flooding support, adjust handling of foundations
...
Add info to debug window
2021-12-05 21:46:09 +00:00
Jonathan G Rennison
d9116106ca
Add NewGRF object property for new edge foundation mode
2021-12-05 21:33:56 +00:00
Jonathan G Rennison
2c8b462708
Debug: Add object view and colour to debug window
2021-12-05 17:41:36 +00:00
Jonathan G Rennison
924ffb013f
Add NewGRF object property/flag to use land as object ground sprite
...
This handles variable ground densities, snow/desert, etc.
2021-12-05 11:54:13 +00:00
Jonathan G Rennison
76fcfd3efd
Debug: Add sprite dump support to NewGRF objects
2021-12-03 18:13:58 +00:00
Jonathan G Rennison
5d56d12bf3
Debug: Show object class/type IDs in object debug window
2021-12-03 17:04:48 +00:00
Jonathan G Rennison
bc75c3af6f
Debug: Show ObjectSpec flags and more fields in debug window
2021-12-03 03:23:54 +00:00
Jonathan G Rennison
a8f879251b
Debug: Allow inspecting non-GRF houses
2021-11-30 23:13:21 +00:00
Jonathan G Rennison
766fbacd57
Debug: Click toggle between long and short vehicle flag dump in window
2021-11-23 19:29:40 +00:00
Jonathan G Rennison
2b56ca2b62
Debug: Create struct type for ExtraInfo output parameter
2021-11-23 18:16:51 +00:00
Jonathan G Rennison
3308edf792
Try to extend reservation when passing sighting distance of non-end signal
2021-11-12 01:02:29 +00:00
Jonathan G Rennison
3cff5e53e4
Add train cached_curve_speed_mod to VENC, cache checks and debug window
2021-11-02 22:37:34 +00:00
Jonathan G Rennison
1e0bea5b8d
Replace FindFirstBit/FindFirstBit64 with a single template function
2021-11-01 23:00:44 +00:00
Jonathan G Rennison
f54d69a60a
Merge branch 'master' into jgrpp-beta
...
# Conflicts:
# src/economy.cpp
# src/elrail.cpp
# src/graph_gui.cpp
# src/linkgraph/linkgraph_gui.cpp
# src/network/core/game_info.cpp
# src/newgrf_station.cpp
# src/saveload/saveload.cpp
# src/settings.cpp
# src/station_cmd.cpp
# src/station_gui.cpp
# src/strings_func.h
# src/table/settings/network_settings.ini
# src/table/settings/settings.ini
2021-11-01 21:18:24 +00:00
Jonathan G Rennison
9254be5b3c
Debug: Show info of all aircraft parts in vehicle debug window
2021-10-12 20:35:07 +01:00
Jonathan G Rennison
c64f48f2bd
Debug: Add direction and spritenum info to vehicle debug window
2021-10-12 20:26:13 +01:00
Jonathan G Rennison
c47fd30330
Include docking tiles in station debug window
2021-10-02 22:43:55 +01:00
Jonathan G Rennison
2e626d70e8
Debug: Add minimum_life to house debug window
2021-09-18 12:43:22 +01:00
Jonathan G Rennison
964ea7b910
Debug: Show realistic braking approach speeds in debug window
2021-09-04 21:40:26 +01:00
Jonathan G Rennison
5d351a14d2
Add new signal type: no-entry signal
...
This is only passable in one direction, but does not have a signal
or show an aspect in the opposite direction
Add a setting for whether this is shown in the signal UI.
Off by default.
2021-09-04 11:39:54 +01:00
Jonathan G Rennison
bfef89344d
Show depot reservation state in railtype debug window
2021-08-28 17:40:18 +01:00
Jonathan G Rennison
b2ef6c0de8
Add implementation of multi-aspect signalling and GRF support
...
Requires realistic braking
See: #247
2021-08-28 12:54:18 +01:00
Jonathan G Rennison
84f973880b
Add signal speed restriction to vehicle debug info
2021-06-27 04:41:46 +01:00
Jonathan G Rennison
900a93ac59
Debug: Add sprite dumping to vehicle debug windows
2021-05-21 19:36:19 +01:00
Jonathan G Rennison
a15e26f369
NewGRF: Elide unmasked vehicle callbacks where possible
...
This includes:
* CBID_VEHICLE_32DAY_CALLBACK
* CBID_VEHICLE_REFIT_COST
* CBID_VEHICLE_MODIFY_PROPERTY
This is on a per-property basis
The main benefit of this is to avoid callbacks not handled by the
vehicle's current sprite group from using the full graphics chain as
the "default" branch in the callback switch.
In the case where the graphics chain is long/expensive, a lot of work
had to be done before a callback failure result was eventually returned.
2021-05-18 19:07:44 +01:00
Jonathan G Rennison
e3193e7b9e
Fix #248 : Crash in debug window -> parent button for non-GRF industries
2021-04-25 00:12:57 +01:00
Jonathan G Rennison
c14dcdadaf
Debug: Log town growth fields in town debug window
2021-04-24 01:05:07 +01:00
Jonathan G Rennison
1fd620fd1f
Debug: Show untranslated house IDs in debug window
2021-04-19 22:47:55 +01:00
Jonathan G Rennison
6a62b94263
Add NewGRF railtype flag to disable realistic braking for vehs of that type
...
See: #242
2021-04-15 20:56:45 +01:00
Jonathan G Rennison
ba2e6087b2
Add train cache flag for whether train using realistic braking physics
2021-04-15 20:56:45 +01:00
Jonathan G Rennison
b514d29db1
Replace TrainCache::cached_tilt with a flags field
2021-04-15 20:56:45 +01:00
Jonathan G Rennison
d484c32d44
Reduce sensitivity of train overheated breakdown
2021-04-11 22:53:02 +01:00
Jonathan G Rennison
26a123b708
Realistic braking: Cache offset of centre of mass of train
2021-04-03 21:25:04 +01:00
Jonathan G Rennison
865cf79915
Fix missing override keywords
2021-03-02 23:45:08 +00:00
Jonathan G Rennison
ed9410aba9
Debug: Add house population and mail generation to debug window
2021-02-16 21:35:17 +00:00
Michael Lutz
84636fc2af
Codechange: Remove all remaining uses of cpp_offset.
2021-02-13 20:08:53 +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
ed0ffb6220
Add feature: realistic train braking
...
Add setting to select train braking model.
2021-01-28 19:03:18 +00:00
frosch
f6abc81cf1
Fix: add missing variables to NewGRF inspect window.
2021-01-10 21:24:38 +01:00
frosch
868d84bbfc
Add: [NewGRF] vehicle variable 63 to test the tracktype of the current tile against a given tracktype.
2021-01-10 21:24:38 +01:00
Jonathan G Rennison
bf313338c0
Debug: Show cached sprite bounds in vehicle debug window
2021-01-03 14:44:29 +00:00
Jonathan G Rennison
77bf073939
Debug: Show all town persistent storage registers, not just the caller GRFID
2020-12-29 21:33:51 +00:00
Charles Pigott
860c270c73
Codechange: Replace assert_compile macro with static_assert
2020-12-27 10:55:42 +00:00
Jonathan G Rennison
9906916b7b
Debug: Include aircraft fields and station XY in debug window
2020-12-27 00:43:39 +00:00
Jonathan G Rennison
7b445cd436
Debug: Show vehicle cargo subtype in debug window
2020-12-26 08:51:37 +00:00
Jonathan G Rennison
c82f31bf03
Fix industry production scaling of periodic production callback
2020-12-24 19:11:10 +00:00
Jonathan G Rennison
5665d88067
Debug: Industries are now always inspectable in the debug window
2020-12-24 19:09:57 +00:00
Jonathan G Rennison
7b75fcf487
Show industry production callback mask values in industry debug window
2020-12-23 23:03:56 +00:00