static char *default_instant_chat[]=
static const char *default_instant_chat[]=
{"/team \\",
"/msg \\",
"/me \\",
{ 7, 7, 7 } // black
};
static char* se_team_name[TEAMCOLORS]=
static const char* se_team_name[TEAMCOLORS]=
{
"$team_name_blue",
"$team_name_gold",
#include <string>
#include <memory>
#include <cstring>
#ifdef TEST
/*
#include "tRandom.h"
#include <stdlib.h>
//#include <string>
bool nKrawall::MayRequirePassword(tString& adress, unsigned int port)
#include "nNetwork.h"
#include "tArray.h"
#include "tConsole.h"
#include "cstring"
class nObserver;
#include <fstream>
#include "tMath.h"
#ifndef WIN32
#include <netinet/in.h>
#include <stdio.h>
#include <sys/types.h>
#include "tConfiguration.h"
#include "tLocale.h"
#include "rGL.h"
static rModel *sr_ModelAnchor;
#include "tMemManager.h"
#include <iostream>
void GrowingArrayBase::ComplainIfFull(){
#include "tException.h"
#ifdef WIN32
#include <windows.h>
#include <ctype.h>
#include <sstream>
#include "tString.h"
#include "tToDo.h"
#include "tCrypt.h"
class tCryptDummy: public tCrypt
#include "tDirectories.h"
#endif
#include "tError.h"
#include <cstdlib>
#ifdef DEBUG
tLevel st_debugLevel[2]={static_cast<tLevel>(DEBUG),static_cast<tLevel>(DEBUG)};
#include "tSafePTR.h"
#include <map>
class tLocaleSubItem; // identifies a single string in a single language
--- src/tools/tLocale.cpp.orig 2008-09-27 22:48:03.000000000 +0200
#include <stdio.h> // need basic C IO since STL IO does memory management
#ifdef HAVE_STDLIB_H
#include "tRecorder.h"
#undef INLINE_DEF
#define INLINE_DEF
tString::tString(){
using namespace std;
#define AI_REACTION 0
#define AI_EMERGENCY 1
#ifndef DEDICATED
#define DONTDOIT
// Menuitem for input selection
// *****************************************************
static char *keyname(int sym){
static const char *keyname(int sym){
if (sym<=SDLK_LAST)
return SDL_GetKeyName(static_cast<SDLKey>(sym));