Commit Graph

2279 Commits

Author SHA1 Message Date
Jonathan G Rennison
40cdf7944a Fix 583663bc, 7953a1f8: Loading autosave setting from config file 2022-03-10 00:09:07 +00:00
Jonathan G Rennison
60a33feac8 Merge branch 'desert-tweaks' into jgrpp 2022-03-06 19:38:18 +00:00
Jonathan G Rennison
39d39a5c61 Reduce duplication in desert or rainforeset data search arrays 2022-03-06 02:05:12 +00:00
reldred
59022c40f9 adjustments;
added lake tropic width adjustment
added an extra large setting to the coasts (51radius)
set minimum width for rivers and lakes to 2 (setting it to 1 actually CTD'd the game)
made max for rivers and lakes be 51 tiles to match the 51tiles of the coast setting.
2022-03-06 11:03:46 +10:30
reldred
22305e8795 Allows configuring the width of the coast in tropic maps that generates as tropiczone_normal before the desert kicks in, it does this by creating two additional arrays which house the coordinates to create a filled circle of radius of 19 tiles, and 25 tiles. the default creates a radius of 13 tiles.
I'd eventually like to add an Extra Large setting but manually creating the array of coordinates is horrible.

I wedged this setting in beside the setting for tropic width around rivers despite it not fitting into the rivers/lakes category because it still feels the most relevant place for now.
2022-03-05 16:25:50 +10:30
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
bffff8e357 Add feature array as parameter to SlXvIsFeaturePresent methods 2022-02-04 21:27:20 +00:00
Jonathan G Rennison
3353546966 Adjust linkgraph.aircraft_link_scale feature test 2022-02-04 19:19:58 +00:00
Tyler Trahan
7f0efbe00e Feature: Remember the last-used signal between games (#9792) 2022-02-02 21:26:46 +00:00
Jonathan G Rennison
47f219d66d Settings GUI: Label sprite_zoom_min as should be left at default 2022-01-31 01:31:13 +00:00
Jonathan G Rennison
7ff885fc96 Add replacement sprites for road waypoint buildings
Add action 5 sprite replacement support
2022-01-26 21:46:36 +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
96d789dfbf Fix window preference save/load of build vehicle windows 2022-01-23 13:58:34 +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
d81cbc25b8 Add setting to allow hiding viewport labels of inidivudal waypoints 2022-01-21 23:37:53 +00:00
Jonathan G Rennison
c65901fef2 Add a baseset GRF for misc GUI sprites 2022-01-21 23:34:39 +00:00
Jonathan G Rennison
8ffe519179 Debug: Fix title of waypoint inspector window 2022-01-21 02:53:33 +00:00
Jonathan G Rennison
26fb0940c6 Add client setting for whether to sync locale settings with server in multiplayer 2022-01-21 01:37:15 +00:00
Tyler Trahan
bec218069c Feature: Remember the last-used signal between games
(cherry picked from commit a9de36ad23f30d125ed495f0bd84342b594d19df)

See: https://github.com/OpenTTD/OpenTTD/pull/9792
2022-01-19 18:51:30 +00:00
Jonathan G Rennison
a64a6aeeb8 Fix text input of velocity setting values
See: #357
2022-01-11 21:17:19 +00:00
Jonathan G Rennison
a4ea155d33 Merge PR #357 into jgrpp 2022-01-11 20:44:47 +00:00
Yourself
7823c81597 Add: Through load speed limit setting 2022-01-08 22:27:43 -07:00
Jonathan G Rennison
a14df8dfe2 Merge PR #351 into jgrpp 2022-01-03 19:18:57 +00:00
Yourself
e4fa9f8465 Add: Cargo delivery distribution modes 2022-01-03 17:55:28 +00:00
Jonathan G Rennison
e993afcd99 Store encrypted company password hashes in server saves
Restore when loading back into the server if server has required secret
2022-01-03 03:09:32 +00:00
Jonathan G Rennison
00cfb00537 Fix auto-generated network.network_id setting value not being saved in config 2022-01-02 22:27:40 +00:00
Jonathan G Rennison
89181ea9fd Add setting to increase cost/distance of aircraft linkgraph links 2022-01-02 01:15:54 +00:00
Jonathan G Rennison
f65a166308 Add client setting to show all signals using the default sprites 2021-12-27 18:31:27 +00:00
Jonathan G Rennison
621677343f Fix wrong sprite count for duplicated prog signal sprites 2021-12-27 18:26:35 +00:00
Jonathan G Rennison
2c7ec68b76 Enable news warning for missing depot order in order list by default 2021-12-27 17:01:05 +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
Michael Lutz
33ca4f2b99 Codechange: Let the compile generate the master command table out of templated command traits.
This is using a non-intrusive type-traits like templated system, which
allows compile-time validation that the command table and the command
enum match up.
2021-12-16 22:28:32 +01:00
Jonathan G Rennison
7953a1f8d1 Allow setting autosave interval to a custom number of real-time minutes 2021-12-14 18:48:57 +00:00
Jonathan G Rennison
583663bca1 Allow setting autosave interval to a custom number of days 2021-12-14 18:08:06 +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
b69521ea87 Allow specifying a custom number of industries in map generation window 2021-12-08 17:33:32 +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