Commit Graph

298 Commits

Author SHA1 Message Date
Jonathan G Rennison
cf3ea7b6af Debug: Include x_offs/y_offs in vehicle debug window 2022-05-23 19:16:19 +01:00
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
2022-03-04 18:17:44 +00:00
Jonathan G Rennison
2ce5a93527 Add road stop variables for one-way road info 2022-02-25 14:41:07 +00:00
Jonathan G Rennison
cb573a1523 Add road stop property to set cost multipliers 2022-02-24 21:13:46 +00:00
Jonathan G Rennison
650a359a16 Fix road stop road/tram type variables when not present and in GUI 2022-02-16 19:03:41 +00:00
Jonathan G Rennison
2cbbae16da Add roadstop GRF properties to set bridge heights and disallowed pillars 2022-02-15 18:21:32 +00:00
Jonathan G Rennison
23c472d2a0 Add support for road stop animation, availability callback
Add animation, callback mask, general flags properties
Add animation frame variables
2022-02-15 00:22:18 +00:00
Jonathan G Rennison
3b8c73acad Add/adjust NewGRF road stop variables 2022-02-14 18:24:45 +00:00
Jonathan G Rennison
66db1863f2 Debug: Add NewGRF inspector support for road stops 2022-02-14 00:31:14 +00:00
Jonathan G Rennison
1084bb8566 Initial support for NewGRF road stops (bus and lorry stops) 2022-02-14 00:31:14 +00:00
Jonathan G Rennison
2959221066 Debug: Add support for showing extended variables in object debug window 2022-02-08 18:59:56 +00:00
Jonathan G Rennison
d4f11eca42 Add NewGRF object properties to set viewport map mode/smallmap tile type 2022-02-07 01:16:45 +00:00
Jonathan G Rennison
b4fc0b4dc5 Initial implementation of road waypoints 2022-01-26 21:46:36 +00:00
Jonathan G Rennison
eddc6ddcdb Debug: Add sprite dumping to house inspect window 2022-01-26 18:10:49 +00:00
Jonathan G Rennison
2e7f8d2e1e Add inclined foundation option to object edge foundation mode
Bump feature version
2022-01-23 13:17:13 +00:00
Jonathan G Rennison
8ffe519179 Debug: Fix title of waypoint inspector window 2022-01-21 02:53:33 +00:00
Jonathan G Rennison
7b0c083c11 Debug: Add vehicle cargo type, refit mask and age period to debug window 2021-12-18 11:49:31 +00:00
Jonathan G Rennison
15b0231821 Debug: Add object intro and end of life dates to debug window 2021-12-10 19:49:00 +00:00
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