|
|
ArmageTron -- Just another Tron Lightcycle Game in 3D. | ArmageTron -- Just another Tron Lightcycle Game in 3D. |
Copyright (C) 2000 Manuel Moos (manuel@moosnet.de) | Copyright (C) 2000 Manuel Moos (manuel@moosnet.de) |
#include <stdio> | #include <stdio> |
#include <stdlib.h> |
#include <cstdlib> |
************************************************************************** | ************************************************************************** |
| |
This program is free software; you can redistribute it and/or | This program is free software; you can redistribute it and/or |
|
|
#include "eFloor.h" | #include "eFloor.h" |
#include "rScreen.h" | #include "rScreen.h" |
#include "rTexture.h" | #include "rTexture.h" |
#include <stdlib.h> |
#include <cstdlib> |
| |
eFloor::eFloor(){Floor = this;} | eFloor::eFloor(){Floor = this;} |
| |
|
|
#include "eCamera.h" | #include "eCamera.h" |
//#include "tList.h" | //#include "tList.h" |
#include <iostream> | #include <iostream> |
#include <stdlib.h> |
#include <cstdlib> |
#include "eGrid.h" | #include "eGrid.h" |
| |
//eGrid* eSoundPlayer::S_Grid = NULL; | //eGrid* eSoundPlayer::S_Grid = NULL; |
|
|
#include "md5.h" | #include "md5.h" |
| |
#include <string> | #include <string> |
|
#include <cstring> |
#include <memory> | #include <memory> |
| |
#ifdef TEST | #ifdef TEST |
|
|
| |
#include <memory> | #include <memory> |
#include <string> | #include <string> |
|
#include <cstring> |
| |
static nAuthentification::UserPasswordCallback* S_UserPasswordCallback = NULL; | static nAuthentification::UserPasswordCallback* S_UserPasswordCallback = NULL; |
static nAuthentification::LoginResultCallback* S_LoginResultCallback = NULL; | static nAuthentification::LoginResultCallback* S_LoginResultCallback = NULL; |
|
|
| |
#include "nConfig.h" | #include "nConfig.h" |
#include "tConsole.h" | #include "tConsole.h" |
|
#include <cstring> |
| |
nConfItemBase::nConfItemBase() | nConfItemBase::nConfItemBase() |
:tConfItemBase(""){}; | :tConfItemBase(""){}; |
|
|
#include "tSysTime.h" | #include "tSysTime.h" |
#include "tMemManager.h" | #include "tMemManager.h" |
| |
#include <stdlib.h> |
#include <cstdlib> |
|
#include <cstring> |
#include <string> | #include <string> |
| |
bool nKrawall::MayRequirePassword(tString& adress, unsigned int port) | bool nKrawall::MayRequirePassword(tString& adress, unsigned int port) |
|
|
#ifndef NET_ANET_H | #ifndef NET_ANET_H |
#define NET_ANET_H | #define NET_ANET_H |
| |
#include <stdlib.h> |
#include <cstdlib> |
#include <sys/types.h> | #include <sys/types.h> |
| |
#ifndef WIN32 | #ifndef WIN32 |
|
|
#include "tDirectories.h" | #include "tDirectories.h" |
#include "nNet.h" | #include "nNet.h" |
#include "tSysTime.h" | #include "tSysTime.h" |
#include <stdlib.h> |
#include <cstdlib> |
#include <fstream> | #include <fstream> |
#include <tMath.h> | #include <tMath.h> |
| |
|
|
#include "nNet.h" | #include "nNet.h" |
| |
#include <fstream> | #include <fstream> |
|
#include <cstring> |
| |
static nServerInfo* sn_FirstServer = NULL; | static nServerInfo* sn_FirstServer = NULL; |
static sn_ServerInfoCreator* sn_Creator = NULL; | static sn_ServerInfoCreator* sn_Creator = NULL; |
|
|
#include "nNet.h" | #include "nNet.h" |
| |
#include <string> | #include <string> |
#include <stdio.h> |
#include <cstring> |
|
#include <cstdio> |
| |
#include <sys/types.h> | #include <sys/types.h> |
| |
|
|
| |
| |
#include <errno.h> | #include <errno.h> |
#include <stdlib.h> |
#include <cstdlib> |
| |
| |
#ifdef __sun__ | #ifdef __sun__ |
|
|
#include <winsock.h> | #include <winsock.h> |
#include <sys/timeb.h> | #include <sys/timeb.h> |
#endif | #endif |
#include <stdlib.h> |
#include <cstdlib> |
#include <stdio.h> |
#include <cstdio> |
| |
#include "tString.h" | #include "tString.h" |
#include "nNet.h" | #include "nNet.h" |
|
|
#include "rFont.h" | #include "rFont.h" |
#include "tConfiguration.h" | #include "tConfiguration.h" |
| |
#include <stdio.h> |
#include <cstdio> |
#include <fcntl.h> | #include <fcntl.h> |
#include <sstream> | #include <sstream> |
| |
|
|
#include "rFont.h" | #include "rFont.h" |
#include "rScreen.h" | #include "rScreen.h" |
#include "tConfiguration.h" | #include "tConfiguration.h" |
#include <ctype.h> |
#include <cctype> |
|
#include <cstring> |
| |
#ifndef DEDICATED | #ifndef DEDICATED |
#include "rRender.h" | #include "rRender.h" |
|
|
*/ | */ |
| |
#include <string> | #include <string> |
|
#include <cstring> |
#include <fstream> | #include <fstream> |
#include <stdlib.h> |
#include <cstdlib> |
#include "rScreen.h" | #include "rScreen.h" |
#include "rModel.h" | #include "rModel.h" |
#include "tString.h" | #include "tString.h" |
|
|
#include <stdlib.h> |
#include <cstdlib> |
#include <stdio.h> |
#include <cstdio> |
#include <string> | #include <string> |
| |
#include "rSDL.h" | #include "rSDL.h" |
|
|
| |
#include "tMemManager.h" | #include "tMemManager.h" |
#include <iostream> | #include <iostream> |
#include <stdlib.h> |
#include <cstdlib> |
#include <string> | #include <string> |
|
#include <cstring> |
#include "tArray.h" | #include "tArray.h" |
| |
void GrowingArrayBase::ComplainIfFull(){ | void GrowingArrayBase::ComplainIfFull(){ |
|
|
#include <iomanip> | #include <iomanip> |
#include <iostream> | #include <iostream> |
#include "tConfiguration.h" | #include "tConfiguration.h" |
#include <stdlib.h> |
#include <cstdlib> |
#include <ctype.h> |
#include <cctype> |
|
#include <cstring> |
#include <string> | #include <string> |
#include "tString.h" | #include "tString.h" |
#include "tToDo.h" | #include "tToDo.h" |
|
|
#include "tConsole.h" | #include "tConsole.h" |
#include "tLocale.h" | #include "tLocale.h" |
#include <iostream> | #include <iostream> |
#include <ctype.h> |
#include <cctype> |
| |
| |
class tConfItemBase:public tListItem<tConfItemBase>{ | class tConfItemBase:public tListItem<tConfItemBase>{ |
|
|
#include "tMemManager.h" | #include "tMemManager.h" |
| |
#include <string> | #include <string> |
|
#include <cstring> |
| |
class tCryptDummy: public tCrypt | class tCryptDummy: public tCrypt |
{ | { |
|
|
#include <windows.h> | #include <windows.h> |
#endif | #endif |
| |
|
#include <cstring> |
#include <dirent.h> | #include <dirent.h> |
#include <sys/types.h> | #include <sys/types.h> |
#include <sys/stat.h> | #include <sys/stat.h> |
|
|
| |
*/ | */ |
| |
|
#include <cstdlib> |
#include <iostream> | #include <iostream> |
#ifndef WIN32 | #ifndef WIN32 |
#include <unistd.h> | #include <unistd.h> |
|
|
#ifndef ArmageTron_tLinkedList_H | #ifndef ArmageTron_tLinkedList_H |
#define ArmageTron_tLinkedList_H | #define ArmageTron_tLinkedList_H |
| |
#include <stdlib.h> |
#include <cstdlib> |
| |
class tListItemBase{ | class tListItemBase{ |
protected: | protected: |
|
|
#include "tArray.h" | #include "tArray.h" |
#include "tSafePTR.h" | #include "tSafePTR.h" |
#include <new> | #include <new> |
#include <stdlib.h> |
#include <cstdlib> |
| |
namespace referencing | namespace referencing |
{ | { |
|
|
| |
#include <fstream> | #include <fstream> |
#include <string> | #include <string> |
|
#include <cstring> |
| |
class tLocaleSubItem; // identifies a single string in a single language | class tLocaleSubItem; // identifies a single string in a single language |
| |
|
|
| |
#include <iostream> | #include <iostream> |
#include <sstream> | #include <sstream> |
#include <stdio.h> // need basic C IO since STL IO does memory management |
#include <cstdio> // need basic C IO since STL IO does memory management |
#include "tMemManager.h" | #include "tMemManager.h" |
#include "tError.h" | #include "tError.h" |
| |
|
|
//#endif | //#endif |
#endif | #endif |
| |
#include <stdlib.h> |
#include <cstdlib> |
| |
class tMemMan{ | class tMemMan{ |
public: | public: |
|
|
| |
#include "tMemStack.h" | #include "tMemStack.h" |
#include "tArray.h" | #include "tArray.h" |
#include <stdlib.h> |
#include <cstdlib> |
| |
static int& ST_Size() | static int& ST_Size() |
| |
|
|
#include "tMemManager.h" | #include "tMemManager.h" |
#include "tString.h" | #include "tString.h" |
#include "tLocale.h" | #include "tLocale.h" |
#include <ctype.h> |
#include <cctype> |
|
#include <cstring> |
#include <string> | #include <string> |
#include <iostream> | #include <iostream> |
| |
|
|
*/ | */ |
| |
#include <iostream> | #include <iostream> |
#include <ctype.h> |
#include <cctype> |
#include <string> | #include <string> |
| |
int main(){ | int main(){ |
|
|
#include "eDebugLine.h" | #include "eDebugLine.h" |
#include "gAICharacter.h" | #include "gAICharacter.h" |
#include "tReferenceHolder.h" | #include "tReferenceHolder.h" |
#include <stdlib.h> |
#include <cstdlib> |
| |
#define AI_REACTION 0 | #define AI_REACTION 0 |
#define AI_EMERGENCY 1 | #define AI_EMERGENCY 1 |
|
|
#include "gAICharacter.h" | #include "gAICharacter.h" |
#include "gCycle.h" | #include "gCycle.h" |
//#include <unistd> | //#include <unistd> |
#include <stdio.h> |
#include <cstdio> |
#include <stdlib.h> |
#include <cstdlib> |
#include <fstream> | #include <fstream> |
| |
#include "nServerInfo.h" | #include "nServerInfo.h" |
|
|
#include "gAIBase.h" | #include "gAIBase.h" |
| |
#include "tMath.h" | #include "tMath.h" |
#include <stdlib.h> |
#include <cstdlib> |
| |
#ifndef DEDICATED | #ifndef DEDICATED |
#include "rRender.h" | #include "rRender.h" |
|
|
#include "eVoter.h" | #include "eVoter.h" |
| |
#include <math.h> | #include <math.h> |
#include <stdlib.h> |
#include <cstdlib> |
#include <string> | #include <string> |
#include <fstream> | #include <fstream> |
#include <ctype.h> |
#include <cctype> |
#include <time.h> | #include <time.h> |
| |
#ifdef DEDICATED | #ifdef DEDICATED |
|
|
} | } |
| |
#include <fcntl.h> | #include <fcntl.h> |
#include <stdio.h> |
#include <cstdio> |
#include <errno.h> | #include <errno.h> |
| |
bool GameLoop(bool input=true){ | bool GameLoop(bool input=true){ |
|
|
ArmageTron -- Just another Tron Lightcycle Game in 3D. | ArmageTron -- Just another Tron Lightcycle Game in 3D. |
Copyright (C) 2000 Manuel Moos (manuel@moosnet.de) | Copyright (C) 2000 Manuel Moos (manuel@moosnet.de) |
#include <stdio> | #include <stdio> |
#include <stdlib.h> |
#include <cstdlib> |
************************************************************************** | ************************************************************************** |
| |
This program is free software; you can redistribute it and/or | This program is free software; you can redistribute it and/or |