Jonathan G Rennison
211c1ba61d
Allow naming scheduled dispatch schedules
2023-04-29 12:19:28 +01:00
Jonathan G Rennison
87fabe99df
Allow exchanging a station's name with another station in the same town
2023-04-11 19:22:15 +01:00
Jonathan G Rennison
ae7c86c49d
Merge branch 'master' into jgrpp
...
# Conflicts:
# .github/workflows/release-linux.yml
# .github/workflows/release-macos.yml
# src/industry_cmd.cpp
# src/industry_cmd.h
# src/network/core/http_curl.cpp
# src/network/core/tcp_http.cpp
# src/network/core/tcp_http.h
# src/network/network_content.h
# src/script/api/script_goal.cpp
# src/script/api/script_industry.cpp
# src/script/api/script_league.cpp
# src/script/api/script_story_page.cpp
# src/script/api/script_town.cpp
# src/train.h
# src/train_cmd.cpp
2023-03-04 01:17:27 +00:00
dP
fe2c8a1240
Codechange: Decouple INDUSTRY_CTRL into separate commands ( #10475 )
2023-02-14 11:29:11 +01:00
Jonathan G Rennison
17f1d92072
Template replacement: Allow naming templates
...
See: #481
2023-02-06 23:48:46 +00:00
Rubidium
6dfd2cad69
Fix: comparison result is always the same warnings
2023-01-15 00:24:20 +01:00
Tyler Trahan
8063fcb6e0
Feature: Ctrl-click to bulk edit timetable speeds/waiting times ( #10265 )
2022-12-25 13:20:31 -05:00
Jonathan G Rennison
3412e43608
Use optional span for return type of CommandAuxiliaryBase::GetDeserialisationSrc
2022-12-11 15:27:48 +00:00
Jonathan G Rennison
6a03e7ba97
Command: Remove unused CMD_STR_SEP flag
2022-12-07 21:14:50 +00:00
Jonathan G Rennison
f32733ef22
Command: Replace binary_length field with auxiliary data
...
Use for CMD_ADD_PLAN_LINE
2022-12-07 21:14:34 +00:00
Jonathan G Rennison
b0329ec77a
Add auxiliary data type for extra command data
2022-12-07 21:04:20 +00:00
dP
c91033ac5e
Feature: [GS] Scriptable league tables ( #10001 )
...
(cherry picked from commit 5e14a20b3b
)
2022-12-03 22:28:49 +00:00
Jonathan G Rennison
aaf0385dc5
Add command/string helpers for string separator control character
2022-12-03 22:28:49 +00:00
Jonathan G Rennison
a608a2592d
Add a CommandCost result data field
...
Allow inlining one of extra_message, tile, result without aux allocation
2022-12-03 22:28:49 +00:00
Jonathan G Rennison
523cf75a7a
Change CommandCost success bool to a flags field
2022-12-03 22:28:49 +00:00
dP
5e14a20b3b
Feature: [GS] Scriptable league tables ( #10001 )
2022-11-26 18:03:03 +01:00
Jonathan G Rennison
95a646d09b
Fix #449 : Town setting override not being allowed for MP admins
...
When the setting to enable for clients was not enabled
2022-10-31 18:59:08 +00:00
Jonathan G Rennison
a8361cd608
Allow overriding town settings on a per-town basis
...
Add a setting for whether this is allowed for non-privileged
multiplayer clients
2022-10-23 22:07:51 +01:00
Jonathan G Rennison
e6e9a0c2f3
Show cost/income float over end tile of rail or road construction
2022-10-22 19:56:41 +01:00
Tyler Trahan
3d45bc4abe
Feature: Build objects by area
2022-10-16 18:28:08 +02:00
Jonathan G Rennison
02cb1dc2c4
CommandCost: Add a tile auxiliary field
2022-10-13 20:52:30 +01:00
Jonathan G Rennison
135dc547e2
Split rarely used CommandCost fields into aux struct via unique_ptr
...
Move static text ref stack into aux struct
2022-10-13 20:52:30 +01:00
Jonathan G Rennison
d61fbb977e
Add order management dropdown, add duplicate order and move jump target
...
Add setting to control if order management button shown
Move order list management to order management dropdown if enabled
See: #439
2022-10-08 00:46:22 +01:00
Jonathan G Rennison
839746d2bb
Fix template train move/sell command category for build while paused
2022-09-16 13:06:08 +01:00
Jonathan G Rennison
5cb6d2240a
Add command flag to disable shift-key estimate mode in DoCommandP
2022-09-14 21:42:39 +01:00
Jonathan G Rennison
b4fc0b4dc5
Initial implementation of road waypoints
2022-01-26 21:46:36 +00:00
Jonathan G Rennison
fcc581fba9
Add static assert that number of commands does not exceed limit
2022-01-26 21:46:35 +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
ff3473fe6a
Add support for multiple scheduled dispatch schedules per order list
2022-01-13 19:46:43 +00:00
Michael Lutz
b11bd185e3
Fix #9756 : Network command unpack proc was not generated in all cases.
...
The case where the callback proc takes all command results but not any of
the command parameters was not handled properly.
2021-12-20 23:32:23 +01:00
Jonathan G Rennison
66ce6c5090
Scheduled dispatch: Add clear schedule GUI function
...
Add management dropdown box to window
2021-12-18 12:46:25 +00:00
Michael Lutz
3e85e833a7
Codechange: Add support for additional command result values.
2021-12-16 22:28:32 +01:00
Michael Lutz
8503854655
Codechange: Pass unpacked command arguments to command callbacks (except Script).
2021-12-16 22:28:32 +01:00
Michael Lutz
13528bfcd0
Codechange: Un-bitstuff all remaining commands.
2021-12-16 22:28:32 +01:00
Michael Lutz
eab18f06a4
Codechange: Pass additional data as byte stream to command callbacks.
2021-12-16 22:28:32 +01:00
Michael Lutz
e740c24eb7
Codechange: Template DoCommand to automagically reflect the parameters of the command proc.
...
When finished, this will allow each command handler to take individually
different parameters, obliviating the need for bit-packing.
2021-12-16 22:28:32 +01:00
Michael Lutz
996b16de70
Codechange: Use lambdas instead of CommandContainer to manage station picker commands.
2021-12-16 22:28:32 +01:00
Michael Lutz
a05fd7aa50
Change: [Network] Transfer command data as serialized byte stream without fixed structure.
...
The data will be transmitted as the length followed by the serialized data. This allows the command
data to be different for every command type in the future.
2021-12-16 22:28:32 +01:00
Michael Lutz
4fc055d6e9
Codechange: Align parameter order of command callbacks to command handlers.
2021-12-16 22:28:32 +01:00
Michael Lutz
7048e1522f
Codechange: Move flags in CommandProc in front of the command arguments.
2021-12-16 22:28:32 +01: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
Michael Lutz
a38bbefe1b
Codechange: Untangle command code, flags and error string for DoCommand*.
2021-12-16 22:28:32 +01:00
Jonathan G Rennison
ec8512e2ea
When declining to buy a company, ask the next company immediately
2021-10-24 00:07:54 +01:00
Jonathan G Rennison
a026d82c6b
Allow cloning trains directly from the template train list
...
See: #312
2021-08-22 15:01:26 +01:00
rubidium42
ef991b1772
Codechange: [Network] Use std::string in CommandPacket
2021-05-29 19:02:18 +02:00
rubidium42
2e136285e1
Codechange: move from C-string to std::string for DoCommand
2021-05-29 19:02:18 +02:00
Jonathan G Rennison
253772e9af
Merge branch 'master' into jgrpp
...
# Conflicts:
# CMakeLists.txt
# COMPILING.md
# src/console.cpp
# src/console_cmds.cpp
# src/console_internal.h
# src/rev.cpp.in
2021-04-25 02:14:58 +01:00
peter1138
c56fce70b4
Codechange: Replace CMD_SET_GROUP_REPLACE_PROTECTION with generic CMD_SET_GROUP_FLAG.
2021-04-22 22:57:00 +02:00
Jonathan G Rennison
3f4333bcc8
Add setting to enable non-admin multiplayer clients to rename towns
2021-03-14 16:44:15 +00:00
Jonathan G Rennison
f9956d88c3
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/aircraft_cmd.cpp
# src/company_gui.cpp
# src/lang/arabic_egypt.txt
# src/lang/czech.txt
# src/lang/esperanto.txt
# src/lang/faroese.txt
# src/lang/finnish.txt
# src/lang/german.txt
# src/lang/korean.txt
# src/lang/latvian.txt
# src/lang/malay.txt
# src/lang/polish.txt
# src/lang/spanish.txt
# src/lang/spanish_MX.txt
# src/lang/unfinished/urdu.txt
# src/main_gui.cpp
# src/rail_cmd.cpp
# src/rail_gui.cpp
# src/road_cmd.cpp
# src/settings_type.h
# src/station_cmd.cpp
# src/table/settings.ini
2021-01-31 01:11:12 +00:00