Jonathan G Rennison
bc07331056
Remove src/3rdparty/optional
1 year ago
Jonathan G Rennison
13183d3f13
Add command result flag for whether SetResultData was called
...
Use for tracerestrict validation result fail offset
1 year ago
Jonathan G Rennison
bac8f032da
Re-add company shares
1 year ago
Jonathan G Rennison
02fe4af934
Merge branch 'master' into jgrpp
...
# Conflicts:
# .github/workflows/release-windows.yml
# src/company_base.h
# src/company_cmd.cpp
# src/company_gui.cpp
# src/console_cmds.cpp
# src/economy.cpp
# src/economy_cmd.h
# src/fios.h
# src/goal.cpp
# src/group_gui.cpp
# src/network/core/config.h
# src/network/network_admin.cpp
# src/newgrf_config.cpp
# src/os/windows/win32.cpp
# src/saveload/afterload.cpp
# src/saveload/company_sl.cpp
# src/saveload/saveload.cpp
# src/saveload/saveload_error.hpp
# src/settings_gui.cpp
# src/ship_cmd.cpp
# src/stdafx.h
# src/story.cpp
# src/story_base.h
# src/string.cpp
# src/table/settings/economy_settings.ini
# src/tests/CMakeLists.txt
# src/tests/math_func.cpp
1 year ago
Jonathan G Rennison
8e2319ad68
Scheduled dispatch: Add button to adjust departure slots
1 year ago
Jonathan G Rennison
8f92668e22
Scheduled dispatch: Add menu item to append schedules from another vehicle
1 year ago
Jonathan G Rennison
62ecad1b63
Scheduled dispatch: Add menu item to duplicate current schedule
1 year ago
Jonathan G Rennison
31f476220d
Allow converting track by individual track pieces instead of whole tiles
...
Ctrl-click on convert button
See: #509
1 year ago
Jonathan G Rennison
211c1ba61d
Allow naming scheduled dispatch schedules
1 year ago
Patric Stout
36a0818bc5
Remove: buying/selling/owning company shares ( #10709 )
1 year ago
Jonathan G Rennison
87fabe99df
Allow exchanging a station's name with another station in the same town
2 years ago
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
2 years ago
Tyler Trahan
44848f4edf
Add: CommandCost supports an optional second error string
2 years ago
dP
c73b88ddca
Fix: Don't send unused tile field over the network ( #10507 )
2 years ago
dP
fe2c8a1240
Codechange: Decouple INDUSTRY_CTRL into separate commands ( #10475 )
2 years ago
Jonathan G Rennison
17f1d92072
Template replacement: Allow naming templates
...
See: #481
2 years ago
Rubidium
6dfd2cad69
Fix: comparison result is always the same warnings
2 years ago
Tyler Trahan
8063fcb6e0
Feature: Ctrl-click to bulk edit timetable speeds/waiting times ( #10265 )
2 years ago
Jonathan G Rennison
3412e43608
Use optional span for return type of CommandAuxiliaryBase::GetDeserialisationSrc
2 years ago
Jonathan G Rennison
6a03e7ba97
Command: Remove unused CMD_STR_SEP flag
2 years ago
Jonathan G Rennison
f32733ef22
Command: Replace binary_length field with auxiliary data
...
Use for CMD_ADD_PLAN_LINE
2 years ago
Jonathan G Rennison
b0329ec77a
Add auxiliary data type for extra command data
2 years ago
dP
c91033ac5e
Feature: [GS] Scriptable league tables ( #10001 )
...
(cherry picked from commit 5e14a20b3b
)
2 years ago
Jonathan G Rennison
aaf0385dc5
Add command/string helpers for string separator control character
2 years ago
Jonathan G Rennison
a608a2592d
Add a CommandCost result data field
...
Allow inlining one of extra_message, tile, result without aux allocation
2 years ago
Jonathan G Rennison
523cf75a7a
Change CommandCost success bool to a flags field
2 years ago
dP
5e14a20b3b
Feature: [GS] Scriptable league tables ( #10001 )
2 years ago
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
2 years ago
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
2 years ago
Jonathan G Rennison
e6e9a0c2f3
Show cost/income float over end tile of rail or road construction
2 years ago
Tyler Trahan
3d45bc4abe
Feature: Build objects by area
2 years ago
Jonathan G Rennison
02cb1dc2c4
CommandCost: Add a tile auxiliary field
2 years ago
Jonathan G Rennison
135dc547e2
Split rarely used CommandCost fields into aux struct via unique_ptr
...
Move static text ref stack into aux struct
2 years ago
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
2 years ago
Jonathan G Rennison
839746d2bb
Fix template train move/sell command category for build while paused
2 years ago
Jonathan G Rennison
5cb6d2240a
Add command flag to disable shift-key estimate mode in DoCommandP
2 years ago
Jonathan G Rennison
b4fc0b4dc5
Initial implementation of road waypoints
3 years ago
Jonathan G Rennison
fcc581fba9
Add static assert that number of commands does not exceed limit
3 years ago
Jonathan G Rennison
d81cbc25b8
Add setting to allow hiding viewport labels of inidivudal waypoints
3 years ago
Jonathan G Rennison
ff3473fe6a
Add support for multiple scheduled dispatch schedules per order list
3 years ago
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.
3 years ago
Jonathan G Rennison
66ce6c5090
Scheduled dispatch: Add clear schedule GUI function
...
Add management dropdown box to window
3 years ago
Michael Lutz
3e85e833a7
Codechange: Add support for additional command result values.
3 years ago
Michael Lutz
8503854655
Codechange: Pass unpacked command arguments to command callbacks (except Script).
3 years ago
Michael Lutz
13528bfcd0
Codechange: Un-bitstuff all remaining commands.
3 years ago
Michael Lutz
eab18f06a4
Codechange: Pass additional data as byte stream to command callbacks.
3 years ago
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.
3 years ago
Michael Lutz
996b16de70
Codechange: Use lambdas instead of CommandContainer to manage station picker commands.
3 years ago
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.
3 years ago
Michael Lutz
4fc055d6e9
Codechange: Align parameter order of command callbacks to command handlers.
3 years ago