(svn r12346) -Fix [FS#1748, FS#1825](r9874, r11872): Remove duplicated and inconsistent code wrt. autoreplace with rules in both vehicles' group and ALL_GROUP.
/* $Id$ *//** @file functions.h */#ifndef FUNCTIONS_H#define FUNCTIONS_H#include"core/random_func.hpp"#include"command_type.h"#include"tile_cmd.h"/* clear_land.cpp */voidDrawHillyLandTile(constTileInfo*ti);voidDrawClearLandTile(constTileInfo*ti,byteset);voidDrawClearLandFence(constTileInfo*ti);voidTileLoopClearHelper(TileIndextile);/* players.cpp */boolCheckPlayerHasMoney(CommandCostcost);voidSubtractMoneyFromPlayer(CommandCostcost);voidSubtractMoneyFromPlayerFract(PlayerIDplayer,CommandCostcost);boolCheckOwnership(Ownerowner);boolCheckTileOwnership(TileIndextile);/* texteff.cpp */voidAddAnimatedTile(TileIndextile);voidDeleteAnimatedTile(TileIndextile);voidAnimateAnimatedTiles();voidInitializeAnimatedTiles();/* misc_cmd.cpp */voidPlaceTreesRandomly();voidInitializeLandscapeVariables(boolonly_constants);/* misc.cpp */boolIsCustomName(StringIDid);char*CopyFromOldName(StringIDid);/* misc functions *//** * Mark a tile given by its coordinate dirty for repaint. * * @ingroup dirty */voidMarkTileDirty(intx,inty);/** * Mark a tile given by its index dirty for repaint. * * @ingroup dirty */voidMarkTileDirtyByTile(TileIndextile);/** * Mark all viewports dirty for repaint. * * @ingroup dirty */voidMarkAllViewportsDirty(intleft,inttop,intright,intbottom);voidShowCostOrIncomeAnimation(intx,inty,intz,Moneycost);voidShowFeederIncomeAnimation(intx,inty,intz,Moneycost);voidShowHighscoreTable(intdifficulty,int8rank);voidAskExitGame();voidAskExitToGameMenu();voidRedrawAutosave();StringIDRemapOldStringID(StringIDs);voidUpdateViewportSignPos(ViewportSign*sign,intleft,inttop,StringIDstr);/* callback from drivers that is called if the game size changes dynamically */voidGameSizeChanged();constchar*GetCurrentLocale(constchar*param);intttd_main(intargc,char*argv[]);voidHandleExitGameRequest();#endif /* FUNCTIONS_H */