Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 102615 | Differences between
and this patch

Collapse All | Expand All

(-)src_old/engine/ePlayer.cpp (-1 / +1 lines)
Lines 497-503 Link Here
497
497
498
498
499
499
500
static char *default_instant_chat[]=
500
static const char *default_instant_chat[]=
501
    {"/team \\",
501
    {"/team \\",
502
     "/msg \\",
502
     "/msg \\",
503
     "/me \\",
503
     "/me \\",
(-)src_old/engine/eTeam.cpp (-1 / +1 lines)
Lines 45-51 Link Here
45
      {  7,  7,  7 }   // black
45
      {  7,  7,  7 }   // black
46
    };
46
    };
47
47
48
static char* se_team_name[TEAMCOLORS]=
48
static const char* se_team_name[TEAMCOLORS]=
49
    {
49
    {
50
        "$team_name_blue",
50
        "$team_name_blue",
51
        "$team_name_gold",
51
        "$team_name_gold",
(-)src_old/network/md5.cpp (+1 lines)
Lines 78-83 Link Here
78
78
79
#include <string>
79
#include <string>
80
#include <memory>
80
#include <memory>
81
#include <cstring>
81
82
82
#ifdef TEST
83
#ifdef TEST
83
/*
84
/*
(-)src_old/network/nKrawall.cpp (-1 / +2 lines)
Lines 43-49 Link Here
43
#include "tRandom.h"
43
#include "tRandom.h"
44
44
45
#include <stdlib.h>
45
#include <stdlib.h>
46
#include <string>
46
//#include <string>
47
#include <cstring>
47
48
48
bool nKrawall::MayRequirePassword(tString& adress, unsigned int port)
49
bool nKrawall::MayRequirePassword(tString& adress, unsigned int port)
49
{
50
{
(-)src_old/network/nNetObject.h (+1 lines)
Lines 31-36 Link Here
31
#include "nNetwork.h"
31
#include "nNetwork.h"
32
#include "tArray.h"
32
#include "tArray.h"
33
#include "tConsole.h"
33
#include "tConsole.h"
34
#include "cstring"
34
35
35
class nObserver;
36
class nObserver;
36
37
(-)src_old/network/nNetwork.cpp (+1 lines)
Lines 40-45 Link Here
40
#include <stdlib.h>
40
#include <stdlib.h>
41
#include <fstream>
41
#include <fstream>
42
#include "tMath.h"
42
#include "tMath.h"
43
#include <cstring>
43
44
44
#ifndef WIN32
45
#ifndef WIN32
45
#include  <netinet/in.h>
46
#include  <netinet/in.h>
(-)src_old/network/nSocket.cpp (-1 / +1 lines)
Lines 36-42 Link Here
36
36
37
#include "tRandom.h"
37
#include "tRandom.h"
38
38
39
#include <string>
39
#include <cstring>
40
#include <stdio.h>
40
#include <stdio.h>
41
41
42
#include <sys/types.h>
42
#include <sys/types.h>
(-)src_old/render/rModel.cpp (-1 / +1 lines)
Lines 35-41 Link Here
35
#include "tConfiguration.h"
35
#include "tConfiguration.h"
36
#include "tLocale.h"
36
#include "tLocale.h"
37
#include "rGL.h"
37
#include "rGL.h"
38
38
#include "cstring"
39
39
40
static rModel *sr_ModelAnchor;
40
static rModel *sr_ModelAnchor;
41
41
(-)src_old/tools/tArray.cpp (-1 / +1 lines)
Lines 31-37 Link Here
31
#include "tMemManager.h"
31
#include "tMemManager.h"
32
#include <iostream>
32
#include <iostream>
33
#include <stdlib.h>
33
#include <stdlib.h>
34
#include <string>
34
#include <cstring>
35
#include "tArray.h"
35
#include "tArray.h"
36
36
37
void GrowingArrayBase::ComplainIfFull(){
37
void GrowingArrayBase::ComplainIfFull(){
(-)src_old/tools/tCommandLine.cpp (+1 lines)
Lines 34-39 Link Here
34
#include    "tLocale.h"
34
#include    "tLocale.h"
35
#include    "tConfiguration.h"
35
#include    "tConfiguration.h"
36
#include    "tException.h"
36
#include    "tException.h"
37
#include    <cstring>
37
38
38
#ifdef WIN32
39
#ifdef WIN32
39
#include    <windows.h>
40
#include    <windows.h>
(-)src_old/tools/tConfiguration.cpp (-1 / +1 lines)
Lines 32-38 Link Here
32
#include "tConfiguration.h"
32
#include "tConfiguration.h"
33
#include <stdlib.h>
33
#include <stdlib.h>
34
#include <ctype.h>
34
#include <ctype.h>
35
#include <string>
35
#include <cstring>
36
#include <sstream>
36
#include <sstream>
37
#include "tString.h"
37
#include "tString.h"
38
#include "tToDo.h"
38
#include "tToDo.h"
(-)src_old/tools/tCrypt.cpp (-1 / +1 lines)
Lines 28-34 Link Here
28
#include "tCrypt.h"
28
#include "tCrypt.h"
29
#include "tMemManager.h"
29
#include "tMemManager.h"
30
30
31
#include <string>
31
#include <cstring>
32
32
33
class tCryptDummy: public tCrypt
33
class tCryptDummy: public tCrypt
34
{
34
{
(-)src_old/tools/tDirectories.cpp (+1 lines)
Lines 32-37 Link Here
32
#include <sys/types.h>
32
#include <sys/types.h>
33
#include <stdio.h>
33
#include <stdio.h>
34
#include <stdlib.h>
34
#include <stdlib.h>
35
#include <cstring>
35
36
36
#include "tLocale.h"
37
#include "tLocale.h"
37
#include "tDirectories.h"
38
#include "tDirectories.h"
(-)src_old/tools/tError.cpp (+2 lines)
Lines 32-37 Link Here
32
#endif
32
#endif
33
#include "tError.h"
33
#include "tError.h"
34
#include "tString.h"
34
#include "tString.h"
35
#include <cstdlib>
36
#include <cstring>
35
37
36
#ifdef DEBUG
38
#ifdef DEBUG
37
tLevel st_debugLevel[2]={static_cast<tLevel>(DEBUG),static_cast<tLevel>(DEBUG)};
39
tLevel st_debugLevel[2]={static_cast<tLevel>(DEBUG),static_cast<tLevel>(DEBUG)};
(-)src_old/tools/tLocale.cpp (-1 / +1 lines)
Lines 32-38 Link Here
32
#include "tSafePTR.h"
32
#include "tSafePTR.h"
33
33
34
#include <fstream>
34
#include <fstream>
35
#include <string>
35
#include <cstring>
36
#include <map>
36
#include <map>
37
37
38
class tLocaleSubItem; // identifies a single string in a single language
38
class tLocaleSubItem; // identifies a single string in a single language
(-)src_old/tools/tMemManager.cpp (+2 lines)
Line 0 Link Here
1
--- src/tools/tLocale.cpp.orig	2008-09-27 22:48:03.000000000 +0200
Lines 35-40 Link Here
35
#include <stdio.h>  // need basic C IO since STL IO does memory management
35
#include <stdio.h>  // need basic C IO since STL IO does memory management
36
#include "tMemManager.h"
36
#include "tMemManager.h"
37
#include "tError.h"
37
#include "tError.h"
38
#include <cstring>
38
39
39
#ifdef HAVE_STDLIB_H
40
#ifdef HAVE_STDLIB_H
40
#include <stdlib.h>
41
#include <stdlib.h>
(-)src_old/tools/tRandom.cpp (+2 lines)
Lines 36-41 Link Here
36
36
37
#include    "tError.h"
37
#include    "tError.h"
38
#include    "tRecorder.h"
38
#include    "tRecorder.h"
39
#include    <cstring>
40
#include    <cstdlib>
39
41
40
#undef 	INLINE_DEF
42
#undef 	INLINE_DEF
41
#define INLINE_DEF
43
#define INLINE_DEF
(-)src_old/tools/tString.cpp (-1 / +1 lines)
Lines 30-36 Link Here
30
#include "tLocale.h"
30
#include "tLocale.h"
31
#include "tConfiguration.h"
31
#include "tConfiguration.h"
32
#include <ctype.h>
32
#include <ctype.h>
33
#include <string>
33
#include <cstring>
34
#include <iostream>
34
#include <iostream>
35
35
36
tString::tString(){
36
tString::tString(){
(-)src_old/tron/gAIBase.cpp (+2 lines)
Lines 43-48 Link Here
43
#include "tRandom.h"
43
#include "tRandom.h"
44
#include "tRecorder.h"
44
#include "tRecorder.h"
45
#include <stdlib.h>
45
#include <stdlib.h>
46
#include <memory>
47
using namespace std;
46
48
47
#define AI_REACTION          0 
49
#define AI_REACTION          0 
48
#define AI_EMERGENCY         1 
50
#define AI_EMERGENCY         1 
(-)src_old/tron/gCycle.cpp (+2 lines)
Lines 52-57 Link Here
52
#include "tMath.h"
52
#include "tMath.h"
53
#include <stdlib.h>
53
#include <stdlib.h>
54
#include <fstream>
54
#include <fstream>
55
#include <memory>
56
using namespace std;
55
57
56
#ifndef DEDICATED
58
#ifndef DEDICATED
57
#define DONTDOIT
59
#define DONTDOIT
(-)src_old/ui/uInput.cpp (-1 / +1 lines)
Lines 344-350 Link Here
344
//  Menuitem for input selection
344
//  Menuitem for input selection
345
// *****************************************************
345
// *****************************************************
346
346
347
static char *keyname(int sym){
347
static const char *keyname(int sym){
348
#ifndef DEDICATED
348
#ifndef DEDICATED
349
    if (sym<=SDLK_LAST)
349
    if (sym<=SDLK_LAST)
350
        return SDL_GetKeyName(static_cast<SDLKey>(sym));
350
        return SDL_GetKeyName(static_cast<SDLKey>(sym));

Return to bug 102615