1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-24 15:09:10 +00:00

(svn r221) -Feature: console command and variable hooking

-Fix: added another network.c stub
-Consolecommand: "scrollto <tile>" center main view on <tile> [Darkvater]
-Consolecommand: "resettile <tile>" force bulldoze <tile> without any checks (DEBUG only) [Darkvater]
-Fix: resetengines is hooked to be not available in network games
-Codechange: "connect <connectstr>": the connect command now uses a connectionstring like the network-gui
-Fix: Direct Connect editbox can handle up to max ~35 characters [Darkvater]
This commit is contained in:
signde
2004-09-12 20:15:18 +00:00
parent 7cb5b1954d
commit d6cab2e06d
8 changed files with 1296 additions and 1015 deletions

View File

@@ -7,7 +7,6 @@
#include "vehicle.h"
#include "news.h"
#include "saveload.h"
#include "console.h"
#define UPDATE_PLAYER_RAILTYPE(e,p) if ((byte)(e->railtype + 1) > p->max_railtype) p->max_railtype = e->railtype + 1;
@@ -165,8 +164,6 @@ void StartupEngines()
AdjustAvailAircraft();
}
_iconsole_var * IConsoleResetEngines(byte argc, byte* argv[], byte argt[]) {StartupEngines(); return 0;}
uint32 _engine_refit_masks[256];