forked from mirror/OpenTTD
(svn r2243) -Fix: Rework of console. Use 'help command|variable' to get help about it. You can assign variables with =, ++, --, or just new value. Console parser is now lenient towards typed spaces, and more robust in general (at least readable). Removed the 'set' command, instead implemented all such variables as 'variables'.
- Some variables are really special and cannot be assigned normally, use their callback procedure for assignment/querying. This commit also obsoletes "[1172804] Console set command cleanup"
This commit is contained in:
@@ -217,6 +217,6 @@ void ParseConnectionString(const char **player, const char **port, char *connect
|
||||
void NetworkUpdateClientInfo(uint16 client_index);
|
||||
void NetworkAddServer(const char *b);
|
||||
void NetworkRebuildHostList(void);
|
||||
void NetworkChangeCompanyPassword(const char *str);
|
||||
bool NetworkChangeCompanyPassword(byte argc, char *argv[]);
|
||||
|
||||
#endif /* NETWORK_H */
|
||||
|
Reference in New Issue
Block a user