summaryrefslogtreecommitdiff
path: root/src/autoreplace_func.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/autoreplace_func.h')
-rw-r--r--src/autoreplace_func.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/autoreplace_func.h b/src/autoreplace_func.h
index fd5c0568b..fdb889840 100644
--- a/src/autoreplace_func.h
+++ b/src/autoreplace_func.h
@@ -17,42 +17,9 @@
#include "engine_type.h"
#include "group_type.h"
-/**
- * Remove all engine replacement settings for the company.
- * @param erl The renewlist for a given company.
- * @return The new renewlist for the company.
- */
void RemoveAllEngineReplacement(EngineRenewList *erl);
-
-/**
- * Retrieve the engine replacement in a given renewlist for an original engine type.
- * @param erl The renewlist to search in.
- * @param engine Engine type to be replaced.
- * @param group The group related to this replacement.
- * @return The engine type to replace with, or INVALID_ENGINE if no
- * replacement is in the list.
- */
EngineID EngineReplacement(EngineRenewList erl, EngineID engine, GroupID group);
-
-/**
- * Add an engine replacement to the given renewlist.
- * @param erl The renewlist to add to.
- * @param old_engine The original engine type.
- * @param new_engine The replacement engine type.
- * @param group The group related to this replacement.
- * @param flags The calling command flags.
- * @return 0 on success, CMD_ERROR on failure.
- */
CommandCost AddEngineReplacement(EngineRenewList *erl, EngineID old_engine, EngineID new_engine, GroupID group, DoCommandFlag flags);
-
-/**
- * Remove an engine replacement from a given renewlist.
- * @param erl The renewlist from which to remove the replacement
- * @param engine The original engine type.
- * @param group The group related to this replacement.
- * @param flags The calling command flags.
- * @return 0 on success, CMD_ERROR on failure.
- */
CommandCost RemoveEngineReplacement(EngineRenewList *erl, EngineID engine, GroupID group, DoCommandFlag flags);
/**