Commit Graph

203 Commits (6d877b5e70ead2d2e885e2dc322dc768a8bc00bc)

Author SHA1 Message Date
Jonathan G Rennison 42e20d3d99 Industry: Determine which tiles in industry layouts are not animated
Do not set these as animated tiles for new industries
2 years ago
Jonathan G Rennison 9a131a90ca Debug: Fix crash when inspecting train with realistic braking disabled
When realistic braking is otherwise enabled
2 years ago
Jonathan G Rennison 74eaa77538 Debug: Add sprite dump button to industry/station tile debug windows 2 years ago
Jonathan G Rennison 381aa04660 Debug: Add sprite dump button to industry debug window 2 years ago
Jonathan G Rennison 502980ba61 Support railtype-dependant GRF train speed limits with realistic braking
See: #389
2 years ago
Jonathan G Rennison cf3ea7b6af Debug: Include x_offs/y_offs in vehicle debug window 2 years ago
Jonathan G Rennison e5a421b65a Merge branch 'master' into jgrpp
# Conflicts:
#	src/economy.cpp
#	src/linkgraph/refresh.cpp
#	src/order_cmd.cpp
#	src/saveload/vehicle_sl.cpp
#	src/station.cpp
#	src/station_base.h
#	src/timetable_cmd.cpp
#	src/timetable_gui.cpp
#	src/vehicle.cpp
#	src/vehicle_base.h
#	src/vehicle_cmd.cpp
3 years ago
Jonathan G Rennison 2ce5a93527 Add road stop variables for one-way road info 3 years ago
Jonathan G Rennison cb573a1523 Add road stop property to set cost multipliers 3 years ago
Jonathan G Rennison 650a359a16 Fix road stop road/tram type variables when not present and in GUI 3 years ago
Jonathan G Rennison 2cbbae16da Add roadstop GRF properties to set bridge heights and disallowed pillars 3 years ago
Jonathan G Rennison 23c472d2a0 Add support for road stop animation, availability callback
Add animation, callback mask, general flags properties
Add animation frame variables
3 years ago
Jonathan G Rennison 3b8c73acad Add/adjust NewGRF road stop variables 3 years ago
Jonathan G Rennison 66db1863f2 Debug: Add NewGRF inspector support for road stops 3 years ago
Jonathan G Rennison 1084bb8566 Initial support for NewGRF road stops (bus and lorry stops) 3 years ago
Jonathan G Rennison 2959221066 Debug: Add support for showing extended variables in object debug window 3 years ago
Jonathan G Rennison d4f11eca42 Add NewGRF object properties to set viewport map mode/smallmap tile type 3 years ago
Jonathan G Rennison b4fc0b4dc5 Initial implementation of road waypoints 3 years ago
Jonathan G Rennison eddc6ddcdb Debug: Add sprite dumping to house inspect window 3 years ago
Jonathan G Rennison 2e7f8d2e1e Add inclined foundation option to object edge foundation mode
Bump feature version
3 years ago
Jonathan G Rennison 8ffe519179 Debug: Fix title of waypoint inspector window 3 years ago
Jonathan G Rennison 7b0c083c11 Debug: Add vehicle cargo type, refit mask and age period to debug window 3 years ago
Jonathan G Rennison 15b0231821 Debug: Add object intro and end of life dates to debug window 3 years ago
Jonathan G Rennison 24fb390e9f Add NewGRF object property for flood-resistance
Does not imply being able to be built on water
3 years ago
Jonathan G Rennison 06fa1ae332 Add object shore/flooding support, adjust handling of foundations
Add info to debug window
3 years ago
Jonathan G Rennison d9116106ca Add NewGRF object property for new edge foundation mode 3 years ago
Jonathan G Rennison 2c8b462708 Debug: Add object view and colour to debug window 3 years ago
Jonathan G Rennison 924ffb013f Add NewGRF object property/flag to use land as object ground sprite
This handles variable ground densities, snow/desert, etc.
3 years ago
Jonathan G Rennison 76fcfd3efd Debug: Add sprite dump support to NewGRF objects 3 years ago
Jonathan G Rennison 5d56d12bf3 Debug: Show object class/type IDs in object debug window 3 years ago
Jonathan G Rennison bc75c3af6f Debug: Show ObjectSpec flags and more fields in debug window 3 years ago
Jonathan G Rennison a8f879251b Debug: Allow inspecting non-GRF houses 3 years ago
Jonathan G Rennison 766fbacd57 Debug: Click toggle between long and short vehicle flag dump in window 3 years ago
Jonathan G Rennison 2b56ca2b62 Debug: Create struct type for ExtraInfo output parameter 3 years ago
Jonathan G Rennison 3308edf792 Try to extend reservation when passing sighting distance of non-end signal 3 years ago
Jonathan G Rennison 3cff5e53e4 Add train cached_curve_speed_mod to VENC, cache checks and debug window 3 years ago
Jonathan G Rennison 1e0bea5b8d Replace FindFirstBit/FindFirstBit64 with a single template function 3 years ago
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