Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 218542
Collapse All | Expand All

(-)file_not_specified_in_diff (-69 / +84 lines)
Line  Link Here
0
-- src/engine/eAdvWall.h
0
++ src/engine/eAdvWall.h
Lines 5-11 Link Here
5
ArmageTron -- Just another Tron Lightcycle Game in 3D.
5
ArmageTron -- Just another Tron Lightcycle Game in 3D.
6
Copyright (C) 2000  Manuel Moos (manuel@moosnet.de)
6
Copyright (C) 2000  Manuel Moos (manuel@moosnet.de)
7
#include <stdio>
7
#include <stdio>
8
#include <stdlib.h> 
8
#include <cstdlib> 
9
**************************************************************************
9
**************************************************************************
10
10
11
This program is free software; you can redistribute it and/or
11
This program is free software; you can redistribute it and/or
12
-- src/engine/eFloor.cpp
12
++ src/engine/eFloor.cpp
Lines 28-34 Link Here
28
#include "eFloor.h"
28
#include "eFloor.h"
29
#include "rScreen.h"
29
#include "rScreen.h"
30
#include "rTexture.h"
30
#include "rTexture.h"
31
#include <stdlib.h>
31
#include <cstdlib>
32
32
33
eFloor::eFloor(){Floor = this;}
33
eFloor::eFloor(){Floor = this;}
34
34
35
-- src/engine/eSound.cpp
35
++ src/engine/eSound.cpp
Lines 36-42 Link Here
36
#include "eCamera.h"
36
#include "eCamera.h"
37
//#include "tList.h"
37
//#include "tList.h"
38
#include <iostream>
38
#include <iostream>
39
#include <stdlib.h>
39
#include <cstdlib>
40
#include "eGrid.h"
40
#include "eGrid.h"
41
41
42
//eGrid* eSoundPlayer::S_Grid = NULL;
42
//eGrid* eSoundPlayer::S_Grid = NULL;
43
-- src/network/md5.cpp
43
++ src/network/md5.cpp
Lines 77-82 Link Here
77
#include "md5.h"
77
#include "md5.h"
78
78
79
#include <string>
79
#include <string>
80
#include <cstring>
80
#include <memory>
81
#include <memory>
81
82
82
#ifdef TEST
83
#ifdef TEST
83
-- src/network/nAuthentification.cpp
84
++ src/network/nAuthentification.cpp
Lines 35-40 Link Here
35
35
36
#include <memory>
36
#include <memory>
37
#include <string>
37
#include <string>
38
#include <cstring>
38
39
39
static nAuthentification::UserPasswordCallback* S_UserPasswordCallback = NULL;
40
static nAuthentification::UserPasswordCallback* S_UserPasswordCallback = NULL;
40
static nAuthentification::LoginResultCallback*  S_LoginResultCallback  = NULL;
41
static nAuthentification::LoginResultCallback*  S_LoginResultCallback  = NULL;
41
-- src/network/nConfig.cpp
42
++ src/network/nConfig.cpp
Lines 27-32 Link Here
27
27
28
#include "nConfig.h"
28
#include "nConfig.h"
29
#include "tConsole.h"
29
#include "tConsole.h"
30
#include <cstring>
30
31
31
nConfItemBase::nConfItemBase()
32
nConfItemBase::nConfItemBase()
32
        :tConfItemBase(""){};
33
        :tConfItemBase(""){};
33
-- src/network/nKrawall.cpp
34
++ src/network/nKrawall.cpp
Lines 41-47 Link Here
41
#include "tSysTime.h"
41
#include "tSysTime.h"
42
#include "tMemManager.h"
42
#include "tMemManager.h"
43
43
44
#include <stdlib.h>
44
#include <cstdlib>
45
#include <cstring>
45
#include <string>
46
#include <string>
46
47
47
bool nKrawall::MayRequirePassword(tString& adress, unsigned int port)
48
bool nKrawall::MayRequirePassword(tString& adress, unsigned int port)
48
-- src/network/nNet.h
49
++ src/network/nNet.h
Lines 25-31 Link Here
25
#ifndef NET_ANET_H
25
#ifndef NET_ANET_H
26
#define NET_ANET_H
26
#define NET_ANET_H
27
27
28
#include <stdlib.h>
28
#include <cstdlib>
29
#include <sys/types.h>
29
#include <sys/types.h>
30
30
31
#ifndef WIN32
31
#ifndef WIN32
32
-- src/network/nNetwork.cpp
32
++ src/network/nNetwork.cpp
Lines 34-40 Link Here
34
#include "tDirectories.h"
34
#include "tDirectories.h"
35
#include "nNet.h"
35
#include "nNet.h"
36
#include "tSysTime.h"
36
#include "tSysTime.h"
37
#include <stdlib.h>
37
#include <cstdlib>
38
#include <fstream>
38
#include <fstream>
39
#include <tMath.h>
39
#include <tMath.h>
40
40
41
-- src/network/nServerInfo.cpp
41
++ src/network/nServerInfo.cpp
Lines 42-47 Link Here
42
#include "nNet.h"
42
#include "nNet.h"
43
43
44
#include <fstream>
44
#include <fstream>
45
#include <cstring>
45
46
46
static nServerInfo*          sn_FirstServer = NULL;
47
static nServerInfo*          sn_FirstServer = NULL;
47
static sn_ServerInfoCreator* sn_Creator     = NULL;
48
static sn_ServerInfoCreator* sn_Creator     = NULL;
48
-- src/network/net_udp.cpp
49
++ src/network/net_udp.cpp
Lines 24-30 Link Here
24
#include "nNet.h"
24
#include "nNet.h"
25
25
26
#include <string>
26
#include <string>
27
#include <stdio.h>
27
#include <cstring>
28
#include <cstdio>
28
29
29
#include <sys/types.h>
30
#include <sys/types.h>
30
31
Lines 60-66 Link Here
60
61
61
62
62
#include <errno.h>
63
#include <errno.h>
63
#include <stdlib.h>
64
#include <cstdlib>
64
65
65
66
66
#ifdef __sun__
67
#ifdef __sun__
67
-- src/network/net_wins.cpp
68
++ src/network/net_wins.cpp
Lines 30-37 Link Here
30
#include <winsock.h>
30
#include <winsock.h>
31
#include <sys/timeb.h> 
31
#include <sys/timeb.h> 
32
#endif
32
#endif
33
#include <stdlib.h> 
33
#include <cstdlib> 
34
#include <stdio.h> 
34
#include <cstdio> 
35
35
36
#include "tString.h"
36
#include "tString.h"
37
#include "nNet.h"
37
#include "nNet.h"
38
-- src/render/rConsoleCout.cpp
38
++ src/render/rConsoleCout.cpp
Lines 29-35 Link Here
29
#include "rFont.h"
29
#include "rFont.h"
30
#include "tConfiguration.h"
30
#include "tConfiguration.h"
31
31
32
#include <stdio.h>
32
#include <cstdio>
33
#include <fcntl.h>
33
#include <fcntl.h>
34
#include <sstream>
34
#include <sstream>
35
35
36
-- src/render/rFont.cpp
36
++ src/render/rFont.cpp
Lines 28-34 Link Here
28
#include "rFont.h"
28
#include "rFont.h"
29
#include "rScreen.h"
29
#include "rScreen.h"
30
#include "tConfiguration.h"
30
#include "tConfiguration.h"
31
#include <ctype.h>
31
#include <cctype>
32
#include <cstring>
32
33
33
#ifndef DEDICATED
34
#ifndef DEDICATED
34
#include "rRender.h"
35
#include "rRender.h"
35
-- src/render/rModel.cpp
36
++ src/render/rModel.cpp
Lines 26-33 Link Here
26
*/
26
*/
27
27
28
#include <string>
28
#include <string>
29
#include <cstring>
29
#include <fstream>
30
#include <fstream>
30
#include <stdlib.h>
31
#include <cstdlib>
31
#include "rScreen.h"
32
#include "rScreen.h"
32
#include "rModel.h"
33
#include "rModel.h"
33
#include "tString.h"
34
#include "tString.h"
34
-- src/render/testgl.cpp
35
++ src/render/testgl.cpp
Lines 1-5 Link Here
1
#include <stdlib.h>
1
#include <cstdlib>
2
#include <stdio.h>
2
#include <cstdio>
3
#include <string>
3
#include <string>
4
4
5
#include "rSDL.h"
5
#include "rSDL.h"
6
-- src/tools/tArray.cpp
6
++ src/tools/tArray.cpp
Lines 29-36 Link Here
29
29
30
#include "tMemManager.h"
30
#include "tMemManager.h"
31
#include <iostream>
31
#include <iostream>
32
#include <stdlib.h>
32
#include <cstdlib>
33
#include <string>
33
#include <string>
34
#include <cstring>
34
#include "tArray.h"
35
#include "tArray.h"
35
36
36
void GrowingArrayBase::ComplainIfFull(){
37
void GrowingArrayBase::ComplainIfFull(){
37
-- src/tools/tConfiguration.cpp
38
++ src/tools/tConfiguration.cpp
Lines 29-36 Link Here
29
#include <iomanip>
29
#include <iomanip>
30
#include <iostream>
30
#include <iostream>
31
#include "tConfiguration.h"
31
#include "tConfiguration.h"
32
#include <stdlib.h>
32
#include <cstdlib>
33
#include <ctype.h>
33
#include <cctype>
34
#include <cstring>
34
#include <string>
35
#include <string>
35
#include "tString.h"
36
#include "tString.h"
36
#include "tToDo.h"
37
#include "tToDo.h"
37
-- src/tools/tConfiguration.h
38
++ src/tools/tConfiguration.h
Lines 35-41 Link Here
35
#include "tConsole.h"
35
#include "tConsole.h"
36
#include "tLocale.h"
36
#include "tLocale.h"
37
#include <iostream>
37
#include <iostream>
38
#include <ctype.h>
38
#include <cctype>
39
39
40
40
41
class tConfItemBase:public tListItem<tConfItemBase>{
41
class tConfItemBase:public tListItem<tConfItemBase>{
42
-- src/tools/tCrypt.cpp
42
++ src/tools/tCrypt.cpp
Lines 29-34 Link Here
29
#include "tMemManager.h"
29
#include "tMemManager.h"
30
30
31
#include <string>
31
#include <string>
32
#include <cstring>
32
33
33
class tCryptDummy: public tCrypt
34
class tCryptDummy: public tCrypt
34
{
35
{
35
-- src/tools/tDirectories.cpp
36
++ src/tools/tDirectories.cpp
Lines 36-41 Link Here
36
#include <windows.h>
36
#include <windows.h>
37
#endif
37
#endif
38
38
39
#include <cstring>
39
#include <dirent.h>
40
#include <dirent.h>
40
#include <sys/types.h>
41
#include <sys/types.h>
41
#include <sys/stat.h>
42
#include <sys/stat.h>
42
-- src/tools/tError.cpp
43
++ src/tools/tError.cpp
Lines 25-30 Link Here
25
25
26
*/
26
*/
27
27
28
#include <cstdlib>
28
#include <iostream>
29
#include <iostream>
29
#ifndef WIN32
30
#ifndef WIN32
30
#include <unistd.h>
31
#include <unistd.h>
31
-- src/tools/tLinkedList.h
32
++ src/tools/tLinkedList.h
Lines 28-34 Link Here
28
#ifndef ArmageTron_tLinkedList_H
28
#ifndef ArmageTron_tLinkedList_H
29
#define ArmageTron_tLinkedList_H
29
#define ArmageTron_tLinkedList_H
30
30
31
#include <stdlib.h>
31
#include <cstdlib>
32
32
33
class tListItemBase{
33
class tListItemBase{
34
protected:
34
protected:
35
-- src/tools/tList.h
35
++ src/tools/tList.h
Lines 31-37 Link Here
31
#include "tArray.h"
31
#include "tArray.h"
32
#include "tSafePTR.h"
32
#include "tSafePTR.h"
33
#include <new>
33
#include <new>
34
#include <stdlib.h>
34
#include <cstdlib>
35
35
36
namespace referencing
36
namespace referencing
37
{
37
{
38
-- src/tools/tLocale.cpp
38
++ src/tools/tLocale.cpp
Lines 32-37 Link Here
32
32
33
#include <fstream>
33
#include <fstream>
34
#include <string>
34
#include <string>
35
#include <cstring>
35
36
36
class tLocaleSubItem; // identifies a single string in a single language
37
class tLocaleSubItem; // identifies a single string in a single language
37
38
38
-- src/tools/tMemManager.cpp
39
++ src/tools/tMemManager.cpp
Lines 29-35 Link Here
29
29
30
#include <iostream>
30
#include <iostream>
31
#include <sstream>
31
#include <sstream>
32
#include <stdio.h>  // need basic C IO since STL IO does memory management
32
#include <cstdio>  // need basic C IO since STL IO does memory management
33
#include "tMemManager.h"
33
#include "tMemManager.h"
34
#include "tError.h"
34
#include "tError.h"
35
35
36
-- src/tools/tMemManager.h
36
++ src/tools/tMemManager.h
Lines 37-43 Link Here
37
//#endif
37
//#endif
38
#endif
38
#endif
39
39
40
#include <stdlib.h>
40
#include <cstdlib>
41
41
42
class tMemMan{
42
class tMemMan{
43
public:
43
public:
44
-- src/tools/tMemStack.cpp
44
++ src/tools/tMemStack.cpp
Lines 27-33 Link Here
27
27
28
#include "tMemStack.h"
28
#include "tMemStack.h"
29
#include "tArray.h"
29
#include "tArray.h"
30
#include <stdlib.h>
30
#include <cstdlib>
31
31
32
static int& ST_Size()
32
static int& ST_Size()
33
33
34
-- src/tools/tString.cpp
34
++ src/tools/tString.cpp
Lines 28-34 Link Here
28
#include "tMemManager.h"
28
#include "tMemManager.h"
29
#include "tString.h"
29
#include "tString.h"
30
#include "tLocale.h"
30
#include "tLocale.h"
31
#include <ctype.h>
31
#include <cctype>
32
#include <cstring>
32
#include <string>
33
#include <string>
33
#include <iostream>
34
#include <iostream>
34
35
35
-- src/tools/transfab.cpp
36
++ src/tools/transfab.cpp
Lines 26-32 Link Here
26
*/
26
*/
27
27
28
#include <iostream>
28
#include <iostream>
29
#include <ctype.h>
29
#include <cctype>
30
#include <string>
30
#include <string>
31
31
32
int main(){
32
int main(){
33
-- src/tron/gAIBase.cpp
33
++ src/tron/gAIBase.cpp
Lines 40-46 Link Here
40
#include "eDebugLine.h"
40
#include "eDebugLine.h"
41
#include "gAICharacter.h"
41
#include "gAICharacter.h"
42
#include "tReferenceHolder.h"
42
#include "tReferenceHolder.h"
43
#include <stdlib.h>
43
#include <cstdlib>
44
44
45
#define AI_REACTION          0 
45
#define AI_REACTION          0 
46
#define AI_EMERGENCY         1 
46
#define AI_EMERGENCY         1 
47
-- src/tron/gArmagetron.cpp
47
++ src/tron/gArmagetron.cpp
Lines 48-55 Link Here
48
#include "gAICharacter.h"
48
#include "gAICharacter.h"
49
#include "gCycle.h"
49
#include "gCycle.h"
50
//#include <unistd>
50
//#include <unistd>
51
#include <stdio.h>
51
#include <cstdio>
52
#include <stdlib.h> 
52
#include <cstdlib> 
53
#include <fstream>
53
#include <fstream>
54
54
55
#include "nServerInfo.h"
55
#include "nServerInfo.h"
56
-- src/tron/gCycle.cpp
56
++ src/tron/gCycle.cpp
Lines 46-52 Link Here
46
#include "gAIBase.h"
46
#include "gAIBase.h"
47
47
48
#include "tMath.h"
48
#include "tMath.h"
49
#include <stdlib.h>
49
#include <cstdlib>
50
50
51
#ifndef DEDICATED
51
#ifndef DEDICATED
52
#include "rRender.h"
52
#include "rRender.h"
53
-- src/tron/gGame.cpp
53
++ src/tron/gGame.cpp
Lines 66-75 Link Here
66
#include "eVoter.h"
66
#include "eVoter.h"
67
67
68
#include <math.h>
68
#include <math.h>
69
#include <stdlib.h>
69
#include <cstdlib>
70
#include <string>
70
#include <string>
71
#include <fstream>
71
#include <fstream>
72
#include <ctype.h>
72
#include <cctype>
73
#include <time.h>
73
#include <time.h>
74
74
75
#ifdef DEDICATED
75
#ifdef DEDICATED
Lines 3586-3592 Link Here
3586
}
3586
}
3587
3587
3588
#include <fcntl.h> 
3588
#include <fcntl.h> 
3589
#include <stdio.h> 
3589
#include <cstdio> 
3590
#include <errno.h> 
3590
#include <errno.h> 
3591
3591
3592
bool GameLoop(bool input=true){
3592
bool GameLoop(bool input=true){
3593
-- src/tron/gWall.h
3593
++ src/tron/gWall.h
Lines 5-11 Link Here
5
ArmageTron -- Just another Tron Lightcycle Game in 3D.
5
ArmageTron -- Just another Tron Lightcycle Game in 3D.
6
Copyright (C) 2000  Manuel Moos (manuel@moosnet.de)
6
Copyright (C) 2000  Manuel Moos (manuel@moosnet.de)
7
#include <stdio>
7
#include <stdio>
8
#include <stdlib.h> 
8
#include <cstdlib> 
9
**************************************************************************
9
**************************************************************************
10
10
11
This program is free software; you can redistribute it and/or
11
This program is free software; you can redistribute it and/or

Return to bug 218542