--Allow admin to send some command in server by cli. (do not use those who require a real player) -Update msg system --Add RU translation from Lilith (give me that in UTF8 plz guys) --Upd FR translation from Capuche --Upd file read for something more dynamic --upd @langtype to display available when no arg enter as specified in doc --Fix few typos git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17255 54d463be-8e91-2dee-dedb-b68131a5f0ec
45 lines
952 B
C
45 lines
952 B
C
/*
|
|
* File: cli.h
|
|
* Author: lighta
|
|
*
|
|
* Created on February 21, 2013, 6:15 PM
|
|
*/
|
|
|
|
#ifndef CLI_H
|
|
#define CLI_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define MAX_CONSOLE_IN 200 //max is map...
|
|
#define MIN_CONSOLE_IN 4 //min is help
|
|
//map
|
|
extern char* MAP_CONF_NAME;
|
|
extern char* INTER_CONF_NAME;
|
|
extern char* LOG_CONF_NAME;
|
|
extern char* BATTLE_CONF_FILENAME;
|
|
extern char* ATCOMMAND_CONF_FILENAME;
|
|
extern char* SCRIPT_CONF_NAME;
|
|
extern char* GRF_PATH_FILENAME;
|
|
//char
|
|
extern char* CHAR_CONF_NAME;
|
|
extern char* SQL_CONF_NAME;
|
|
//login
|
|
extern char* LOGIN_CONF_NAME;
|
|
//common
|
|
extern char* LAN_CONF_NAME; //char-login
|
|
extern char* MSG_CONF_NAME_EN; //all
|
|
|
|
extern void display_helpscreen(bool exit);
|
|
int cli_get_options(int argc, char ** argv);
|
|
int parse_console_timer(int tid, unsigned int tick, int id, intptr_t data);
|
|
extern int parse_console(const char* buf); //particular for each serv
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* CLI_H */
|
|
|