Feature #1436 ยป 0071-server-.h-Remove-trailing-spaces.patch
server/commands.h | ||
---|---|---|
eg accidentally removing a player in a running game.
|
||
*/
|
||
enum command_id {
|
||
/* old one-letter commands: */
|
||
/* Old one-letter commands: */
|
||
CMD_START_GAME = 0,
|
||
CMD_HELP,
|
||
CMD_LIST,
|
||
CMD_QUIT,
|
||
CMD_CUT,
|
||
/* completely non-harmful: */
|
||
/* Completely non-harmful: */
|
||
CMD_EXPLAIN,
|
||
CMD_SHOW,
|
||
CMD_WALL,
|
||
CMD_CONNECTMSG,
|
||
CMD_VOTE,
|
||
|
||
/* mostly non-harmful: */
|
||
/* Mostly non-harmful: */
|
||
CMD_DEBUG,
|
||
CMD_SET,
|
||
CMD_TEAM,
|
||
... | ... | |
CMD_PLAYERCOLOR,
|
||
CMD_PLAYERNATION,
|
||
/* potentially harmful: */
|
||
/* Potentially harmful: */
|
||
CMD_END_GAME,
|
||
CMD_SURRENDER, /* not really harmful, info level */
|
||
CMD_SURRENDER, /* Not really harmful, info level */
|
||
CMD_REMOVE,
|
||
CMD_SAVE,
|
||
CMD_SCENSAVE,
|
||
... | ... | |
CMD_LOCK,
|
||
CMD_UNLOCK,
|
||
/* undocumented */
|
||
/* Undocumented */
|
||
CMD_RFCSTYLE,
|
||
CMD_SRVID,
|
||
/* pseudo-commands: */
|
||
CMD_NUM, /* the number of commands - for iterations */
|
||
CMD_UNRECOGNIZED, /* used as a possible iteration result */
|
||
CMD_AMBIGUOUS /* used as a possible iteration result */
|
||
/* Pseudo-commands: */
|
||
CMD_NUM, /* The number of commands - for iterations */
|
||
CMD_UNRECOGNIZED, /* Used as a possible iteration result */
|
||
CMD_AMBIGUOUS /* Used as a possible iteration result */
|
||
};
|
||
const struct command *command_by_number(int i);
|
server/console.h | ||
---|---|---|
/**********************************************************************
|
||
/***********************************************************************
|
||
Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
|
||
This program is free software; you can redistribute it and/or modify
|
||
it under the terms of the GNU General Public License as published by
|
||
... | ... | |
#define MAX_LEN_CONSOLE_LINE 1024 /* closing '\0' included */
|
||
/*
|
||
/*
|
||
* A note on "rfc-style":
|
||
*
|
||
* This style of server output, started with the /rfcstyle server
|
||
... | ... | |
/* write to console and add line-break, and show prompt if required.
|
||
ie, same as con_write, but without the format string stuff. */
|
||
void con_puts(enum rfc_status rfc_status, const char *str);
|
||
|
||
/* ensure timely update */
|
||
void con_flush(void);
|
||
server/handchat.h | ||
---|---|---|
/**********************************************************************
|
||
/***********************************************************************
|
||
Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
|
||
This program is free software; you can redistribute it and/or modify
|
||
it under the terms of the GNU General Public License as published by
|
server/notify.h | ||
---|---|---|
/**********************************************************************
|
||
/***********************************************************************
|
||
Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
|
||
This program is free software; you can redistribute it and/or modify
|
||
it under the terms of the GNU General Public License as published by
|
server/sanitycheck.h | ||
---|---|---|
/**********************************************************************
|
||
/***********************************************************************
|
||
Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
|
||
This program is free software; you can redistribute it and/or modify
|
||
it under the terms of the GNU General Public License as published by
|
server/settings.h | ||
---|---|---|
#include "server_settings.h"
|
||
struct sset_val_name {
|
||
const char *support; /* Untranslated long support name, used
|
||
const char *support; /* Untranslated long support name, used
|
||
* for saving. */
|
||
const char *pretty; /* Translated, used to display to the
|
||
* users. */
|
server/srv_log.h | ||
---|---|---|
struct ai_data;
|
||
/*
|
||
* Change these and remake to watch logs from a specific
|
||
/*
|
||
* Change these and remake to watch logs from a specific
|
||
* part of the AI code.
|
||
*/
|
||
#define LOGLEVEL_BODYGUARD LOG_DEBUG
|