Atrinik Client  4.0
menu.c File Reference
#include <global.h>
#include <toolkit/packet.h>
#include <toolkit/string.h>

Go to the source code of this file.


int client_command_check (const char *cmd)
int send_command_check (const char *cmd)

Detailed Description

Menu related functions.

Definition in file menu.c.

Function Documentation

int client_command_check ( const char *  cmd)

Analyze /cmd type commands the player has typed in the console or bound to a key. Sort out the "client intern" commands and expand or pre process them for the server.

cmdCommand to check
0 to send command to server, 1 to not send it

Definition at line 44 of file menu.c.

int send_command_check ( const char *  cmd)

Same as send_command(), but also check client commands.

cmdCommand to send.

Definition at line 376 of file menu.c.