mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-25 08:22:17 +00:00
Codechange: Un-bitstuff vehicle/engine commands.
This commit is contained in:
+4
-4
@@ -12,10 +12,10 @@
|
||||
|
||||
#include "command_type.h"
|
||||
|
||||
CommandProc CmdWantEnginePreview;
|
||||
CommandProc CmdEngineCtrl;
|
||||
CommandProc CmdRenameEngine;
|
||||
CommandProc CmdSetVehicleVisibility;
|
||||
CommandCost CmdWantEnginePreview(DoCommandFlag flags, EngineID engine_id);
|
||||
CommandCost CmdEngineCtrl(DoCommandFlag flags, EngineID engine_id, CompanyID company_id, bool allow);
|
||||
CommandCost CmdRenameEngine(DoCommandFlag flags, EngineID engine_id, const std::string &text);
|
||||
CommandCost CmdSetVehicleVisibility(DoCommandFlag flags, EngineID engine_id, bool hide);
|
||||
|
||||
DEF_CMD_TRAIT(CMD_WANT_ENGINE_PREVIEW, CmdWantEnginePreview, 0, CMDT_VEHICLE_MANAGEMENT)
|
||||
DEF_CMD_TRAIT(CMD_ENGINE_CTRL, CmdEngineCtrl, CMD_DEITY, CMDT_VEHICLE_MANAGEMENT)
|
||||
|
||||
Reference in New Issue
Block a user