Commit Graph

166 Commits (d585ce75ddd481d7d24af1d86dbd73c39d90ce65)

Author SHA1 Message Date
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
3 years ago
Jonathan G Rennison 9254be5b3c Debug: Show info of all aircraft parts in vehicle debug window 3 years ago
Jonathan G Rennison c64f48f2bd Debug: Add direction and spritenum info to vehicle debug window 3 years ago
Jonathan G Rennison c47fd30330 Include docking tiles in station debug window 3 years ago
Jonathan G Rennison 2e626d70e8 Debug: Add minimum_life to house debug window 3 years ago
Jonathan G Rennison 964ea7b910 Debug: Show realistic braking approach speeds in debug window 3 years ago
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.
3 years ago
Jonathan G Rennison bfef89344d Show depot reservation state in railtype debug window 3 years ago
Jonathan G Rennison b2ef6c0de8 Add implementation of multi-aspect signalling and GRF support
Requires realistic braking

See: #247
3 years ago
Jonathan G Rennison 84f973880b Add signal speed restriction to vehicle debug info 3 years ago
Jonathan G Rennison 900a93ac59 Debug: Add sprite dumping to vehicle debug windows 3 years ago
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.
3 years ago
Jonathan G Rennison e3193e7b9e Fix #248: Crash in debug window -> parent button for non-GRF industries 3 years ago
Jonathan G Rennison c14dcdadaf Debug: Log town growth fields in town debug window 3 years ago
Jonathan G Rennison 1fd620fd1f Debug: Show untranslated house IDs in debug window 3 years ago
Jonathan G Rennison 6a62b94263 Add NewGRF railtype flag to disable realistic braking for vehs of that type
See: #242
3 years ago
Jonathan G Rennison ba2e6087b2 Add train cache flag for whether train using realistic braking physics 3 years ago
Jonathan G Rennison b514d29db1 Replace TrainCache::cached_tilt with a flags field 3 years ago
Jonathan G Rennison d484c32d44 Reduce sensitivity of train overheated breakdown 3 years ago
Jonathan G Rennison 26a123b708 Realistic braking: Cache offset of centre of mass of train 4 years ago
Jonathan G Rennison 865cf79915 Fix missing override keywords 4 years ago
Jonathan G Rennison ed9410aba9 Debug: Add house population and mail generation to debug window 4 years ago
Michael Lutz 84636fc2af Codechange: Remove all remaining uses of cpp_offset. 4 years ago
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
4 years ago
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
4 years ago
Jonathan G Rennison ed0ffb6220 Add feature: realistic train braking
Add setting to select train braking model.
4 years ago
frosch f6abc81cf1 Fix: add missing variables to NewGRF inspect window. 4 years ago
frosch 868d84bbfc Add: [NewGRF] vehicle variable 63 to test the tracktype of the current tile against a given tracktype. 4 years ago
Jonathan G Rennison bf313338c0 Debug: Show cached sprite bounds in vehicle debug window 4 years ago
Jonathan G Rennison 77bf073939 Debug: Show all town persistent storage registers, not just the caller GRFID 4 years ago
Charles Pigott 860c270c73 Codechange: Replace assert_compile macro with static_assert 4 years ago
Jonathan G Rennison 9906916b7b Debug: Include aircraft fields and station XY in debug window 4 years ago
Jonathan G Rennison 7b445cd436 Debug: Show vehicle cargo subtype in debug window 4 years ago
Jonathan G Rennison c82f31bf03 Fix industry production scaling of periodic production callback 4 years ago
Jonathan G Rennison 5665d88067 Debug: Industries are now always inspectable in the debug window 4 years ago
Jonathan G Rennison 7b75fcf487 Show industry production callback mask values in industry debug window 4 years ago
Jonathan G Rennison 93e7899c7f Debug: Show cargo in/out values in industry debug window 4 years ago
Jonathan G Rennison d818630c34 Debug: Show company ratings in town debug window 4 years ago
Jonathan G Rennison 141e52658b Debug: Add road types to RV debug window 4 years ago
Jonathan G Rennison 320a8da283 Show tile animation info in debug window 4 years ago
Jonathan G Rennison 3fa92f5d8e Debug: Add RV path cache length 4 years ago
Jonathan G Rennison 42e7d796aa Debug: Add vehicle position and road veh vars to vehicle debug window 4 years ago
Jonathan G Rennison 327c088f29 Show road/rail type labels in debug window 4 years ago
Jonathan G Rennison 946442ab6b GRF: Add extra road/tram type flag: towns cannot modify tiles 4 years ago
Jonathan G Rennison 75a964acb0 GRF: Add extra road/tram type flag: not available to AI/GS 4 years ago
Jonathan G Rennison 6c9988f28b Debug: Add road/tram type support to NewGRF debug window 4 years ago
Jonathan G Rennison 0d61ae9567 Debug: Add compatible railtype info to railtype debug window 4 years ago
Jonathan G Rennison b6f583a799 GRF: Add railtype custom signal sprite restricted flag, and control flag 4 years ago
Jonathan G Rennison d32672a325 GRF: Allow railtype custom signal sprites for programmable pre-signals 4 years ago
Jonathan G Rennison 481710f95b Show engine rail type info in vehicle debug window 4 years ago