(svn r6552) -Feature: [depot window] added a "autoreplace all vehicles in depot" button

Like the "sell all" button, this one lacks a sprite as well. We will hopefully get one shortly
This commit is contained in:
bjarni
2006-09-28 14:17:08 +00:00
parent f469d3fe76
commit 371f080182
5 changed files with 102 additions and 12 deletions

View File

@@ -161,6 +161,7 @@ DEF_COMMAND(CmdSetAutoReplace);
DEF_COMMAND(CmdCloneVehicle);
DEF_COMMAND(CmdMassStartStopVehicle);
DEF_COMMAND(CmdDepotSellAllVehicles);
DEF_COMMAND(CmdDepotMassAutoReplace);
/* The master command table */
@@ -307,6 +308,7 @@ static const Command _command_proc_table[] = {
{CmdCloneVehicle, 0}, /* 116 */
{CmdMassStartStopVehicle, 0}, /* 117 */
{CmdDepotSellAllVehicles, 0}, /* 118 */
{CmdDepotMassAutoReplace, 0}, /* 119 */
};
/* This function range-checks a cmd, and checks if the cmd is not NULL */