From: <eg...@us...> - 2007-05-17 08:35:54
|
Revision: 467 http://svn.sourceforge.net/opengate/?rev=467&view=rev Author: egore Date: 2007-05-17 01:35:54 -0700 (Thu, 17 May 2007) Log Message: ----------- [QA] Add an appropriate GPLv2 header to all files [QA] Add some doxygen comments to common.[cpp|h] Modified Paths: -------------- branches/ogsector/src/GameState.cpp branches/ogsector/src/GameState.h branches/ogsector/src/InputManager.cpp branches/ogsector/src/InputManager.h branches/ogsector/src/LogManager.cpp branches/ogsector/src/LogManager.h branches/ogsector/src/Sector.cpp branches/ogsector/src/Sector.h branches/ogsector/src/SectorObjects.cpp branches/ogsector/src/SectorObjects.h branches/ogsector/src/UnDockedState.cpp branches/ogsector/src/UnDockedState.h branches/ogsector/src/VesselManager.cpp branches/ogsector/src/VesselManager.h branches/ogsector/src/common.cpp branches/ogsector/src/common.h branches/ogsector/src/networkClient.cpp branches/ogsector/src/networkClient.h branches/ogsector/src/networkProtocol.h branches/ogsector/src/networkServer.cpp branches/ogsector/src/networkServer.h branches/ogsector/src/networkServerUser.cpp branches/ogsector/src/networkServerUser.h branches/ogsector/src/openALSoundManager.cpp branches/ogsector/src/openALSoundManager.h branches/ogsector/src/opengateclient.cpp branches/ogsector/src/opengateserver.cpp branches/ogsector/src/testopenalmanager.cpp Modified: branches/ogsector/src/GameState.cpp =================================================================== --- branches/ogsector/src/GameState.cpp 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/GameState.cpp 2007-05-17 08:35:54 UTC (rev 467) @@ -1 +1,21 @@ +/*************************************************************************** + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #include "GameState.h" Modified: branches/ogsector/src/GameState.h =================================================================== --- branches/ogsector/src/GameState.h 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/GameState.h 2007-05-17 08:35:54 UTC (rev 467) @@ -1,3 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #ifndef GAMESTATELISTENER__H #define GAMESTATELISTENER__H Modified: branches/ogsector/src/InputManager.cpp =================================================================== --- branches/ogsector/src/InputManager.cpp 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/InputManager.cpp 2007-05-17 08:35:54 UTC (rev 467) @@ -1,3 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #include "InputManager.h" #include "LogManager.h" #include "OgreStringConverter.h" Modified: branches/ogsector/src/InputManager.h =================================================================== --- branches/ogsector/src/InputManager.h 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/InputManager.h 2007-05-17 08:35:54 UTC (rev 467) @@ -1,3 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #ifndef INPUTMANAGER_H // INPUTMANAGER_H #define INPUTMANAGER_H Modified: branches/ogsector/src/LogManager.cpp =================================================================== --- branches/ogsector/src/LogManager.cpp 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/LogManager.cpp 2007-05-17 08:35:54 UTC (rev 467) @@ -1,3 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #include "LogManager.h" #include "ogconsole.h" Modified: branches/ogsector/src/LogManager.h =================================================================== --- branches/ogsector/src/LogManager.h 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/LogManager.h 2007-05-17 08:35:54 UTC (rev 467) @@ -1,3 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #ifndef LOGMANAGER__H #define LOGMANAGER__H Modified: branches/ogsector/src/Sector.cpp =================================================================== --- branches/ogsector/src/Sector.cpp 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/Sector.cpp 2007-05-17 08:35:54 UTC (rev 467) @@ -1,3 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #include "Sector.h" namespace OpenGate{ Modified: branches/ogsector/src/Sector.h =================================================================== --- branches/ogsector/src/Sector.h 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/Sector.h 2007-05-17 08:35:54 UTC (rev 467) @@ -1,3 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #ifndef SECTOR__H #define SECTOR__H Modified: branches/ogsector/src/SectorObjects.cpp =================================================================== --- branches/ogsector/src/SectorObjects.cpp 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/SectorObjects.cpp 2007-05-17 08:35:54 UTC (rev 467) @@ -1,3 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #include "Sector.h" #include "SectorObjects.h" #include "common.h" Modified: branches/ogsector/src/SectorObjects.h =================================================================== --- branches/ogsector/src/SectorObjects.h 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/SectorObjects.h 2007-05-17 08:35:54 UTC (rev 467) @@ -1,3 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #ifndef PLAYERSHIP__H #define PLAYERSHIP__H Modified: branches/ogsector/src/UnDockedState.cpp =================================================================== --- branches/ogsector/src/UnDockedState.cpp 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/UnDockedState.cpp 2007-05-17 08:35:54 UTC (rev 467) @@ -1,3 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #include "UnDockedState.h" #include "Sector.h" #include "networkProtocol.h" Modified: branches/ogsector/src/UnDockedState.h =================================================================== --- branches/ogsector/src/UnDockedState.h 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/UnDockedState.h 2007-05-17 08:35:54 UTC (rev 467) @@ -1,3 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #ifndef UNDOCKEDSTATE__H #define UNDOCKEDSTATE__H Modified: branches/ogsector/src/VesselManager.cpp =================================================================== --- branches/ogsector/src/VesselManager.cpp 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/VesselManager.cpp 2007-05-17 08:35:54 UTC (rev 467) @@ -1,3 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #include <OgreResourceManager.h> #include "VesselManager.h" #include "tinyxml/tinyxml.h" Modified: branches/ogsector/src/VesselManager.h =================================================================== --- branches/ogsector/src/VesselManager.h 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/VesselManager.h 2007-05-17 08:35:54 UTC (rev 467) @@ -1,3 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #ifndef VESSELMANAGER__H #define VESSELMANAGER__H Modified: branches/ogsector/src/common.cpp =================================================================== --- branches/ogsector/src/common.cpp 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/common.cpp 2007-05-17 08:35:54 UTC (rev 467) @@ -1,29 +1,28 @@ /*************************************************************************** - * common.cpp - * - * Copyright: 2007 spo...@so... - ****************************************************************************/ -/* - * 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 - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ #include "common.h" long createGlobalID( int userId, int childId ) { return childId * MAXUSERID + userId; } -void myMSleep( int s ){ +void myMSleep( int s ) { #ifdef WIN32 Sleep( s ); #else Modified: branches/ogsector/src/common.h =================================================================== --- branches/ogsector/src/common.h 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/common.h 2007-05-17 08:35:54 UTC (rev 467) @@ -1,26 +1,36 @@ /*************************************************************************** - * common.h + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +/*! + * \file * - * Copyright: 2007 spo...@so... - ****************************************************************************/ -/* - * 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 - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * \brief This file contains several functions that can be used in common. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * For example you can find methods here that are used to enable opengate to be + * cross platform. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * \author Carsten <spo...@us...> */ -#ifndef COMMON__H -#define COMMON__H COMMON__H +#ifndef _OPENGATE_COMMON__H +#define _OPENGATE_COMMON__H #ifdef HAVE_CONFIG_H #include <config.h> @@ -40,28 +50,75 @@ #define MAXUSERID 1000000 long createGlobalID( int userId, int childId ); +/*! + * \brief This method compares two values and returns the smaller one + * \param a One of the values to compare + * \param b The other value to compare + */ template < class T > T max( const T & a, const T & b ) { if ( a < b ) return b; else return a; } + +/*! + * \brief This method compares two values and returns the bigger one + * \param a One of the values to compare + * \param b The other value to compare + */ template < class T > T min( const T & a, const T & b ) { if ( a > b ) return b; else return a; } -template< typename T > inline std::string toStr( const T & value ){ +/*! + * \brief This method converts any given value to a string using streams + * \param value The value to convert to a string + */ +template< typename T > inline std::string toStr( const T & value ) { std::ostringstream streamOut; streamOut << value; return streamOut.str(); } -inline int toInt( const std::string & str ){ return atoi( str.c_str() ); } -inline float toFloat( const std::string & str ){ return strtof( str.c_str(), NULL ); } -inline double toDouble( const std::string & str ){ return strtod( str.c_str(), NULL ); } +/*! + * \brief This method converts a string to int + * \param str The string you want to convert + */ +inline int toInt( const std::string & str ) { + return atoi( str.c_str() ); +} -template< typename Real > Real round( Real val, int digits ){ - Real fak = std::pow((Real)10.0, (Real)digits); +/*! + * \brief This method converts a string to float + * \param str The string you want to convert + */ +inline float toFloat( const std::string & str ) { + return strtof( str.c_str(), NULL ); +} + +/*! + * \brief This method converts a string to double + * \param str The string you want to double + */ +inline double toDouble( const std::string & str ) { + return strtod( str.c_str(), NULL ); +} + +/*! + * \brief Round a Real by a given amount of digits + * \param val The Real you want to round + * \param digits The amount amount of digits the new Real should have + */ +template< typename Real > Real round( Real val, int digits ) { + Real fak = std::pow((Real)10.0, (Real)digits); return rint( val * fak) / fak; } +/*! + * \brief This method is used as a cross plattform sleep method. + * + * You pass an amount of seconds to this function that you want the program or + * a single thread to sleep. + * \param s The amount of seconds to sleep + */ void myMSleep( int s ); // template< typename Vec > std::ostream & operator << ( std::ostream & str, const Vec & vec ){ // str << vec[ 0 ] << " " << vec[ 1 ] << " " << vec[ 2 ]; // } -#endif // COMMON__H +#endif // _OPENGATE_COMMON__H Modified: branches/ogsector/src/networkClient.cpp =================================================================== --- branches/ogsector/src/networkClient.cpp 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/networkClient.cpp 2007-05-17 08:35:54 UTC (rev 467) @@ -1,3 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #include "common.h" #include "networkProtocol.h" #include "networkClient.h" Modified: branches/ogsector/src/networkClient.h =================================================================== --- branches/ogsector/src/networkClient.h 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/networkClient.h 2007-05-17 08:35:54 UTC (rev 467) @@ -1,3 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #ifndef NETWORKCLIENT__H #define NETWORKCLIENT__H Modified: branches/ogsector/src/networkProtocol.h =================================================================== --- branches/ogsector/src/networkProtocol.h 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/networkProtocol.h 2007-05-17 08:35:54 UTC (rev 467) @@ -1,24 +1,22 @@ /*************************************************************************** - * networkProtocoll.h - * - * Copyright 2007 Spom Spom - * Email <spo...@so...> - ****************************************************************************/ -/* - * 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 - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ #ifndef NETWORK_PROTOCOL__H #define NETWORK_PROTOCOL__H Modified: branches/ogsector/src/networkServer.cpp =================================================================== --- branches/ogsector/src/networkServer.cpp 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/networkServer.cpp 2007-05-17 08:35:54 UTC (rev 467) @@ -1,3 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #include "networkServerUser.h" #include "networkServer.h" #include <iostream> Modified: branches/ogsector/src/networkServer.h =================================================================== --- branches/ogsector/src/networkServer.h 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/networkServer.h 2007-05-17 08:35:54 UTC (rev 467) @@ -1,3 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #ifndef NETWORKSERVER__H #define NETWORKSERVER__H Modified: branches/ogsector/src/networkServerUser.cpp =================================================================== --- branches/ogsector/src/networkServerUser.cpp 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/networkServerUser.cpp 2007-05-17 08:35:54 UTC (rev 467) @@ -1,3 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #include "networkServer.h" #include "networkServerUser.h" #include "common.h" Modified: branches/ogsector/src/networkServerUser.h =================================================================== --- branches/ogsector/src/networkServerUser.h 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/networkServerUser.h 2007-05-17 08:35:54 UTC (rev 467) @@ -1,3 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #ifndef NETWORKSERVERUSER__H #define NETWORKSERVERUSER__H Modified: branches/ogsector/src/openALSoundManager.cpp =================================================================== --- branches/ogsector/src/openALSoundManager.cpp 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/openALSoundManager.cpp 2007-05-17 08:35:54 UTC (rev 467) @@ -1,3 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #include "openALSoundManager.h" #include <iostream> Modified: branches/ogsector/src/openALSoundManager.h =================================================================== --- branches/ogsector/src/openALSoundManager.h 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/openALSoundManager.h 2007-05-17 08:35:54 UTC (rev 467) @@ -1,3 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #ifndef OPENALSOUNDMANAGER__H #define OPENALSOUNDMANAGER__H OPENALSOUNDMANAGER__H Modified: branches/ogsector/src/opengateclient.cpp =================================================================== --- branches/ogsector/src/opengateclient.cpp 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/opengateclient.cpp 2007-05-17 08:35:54 UTC (rev 467) @@ -1,3 +1,22 @@ +/*************************************************************************** + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ #ifdef WIN32 #if OGRE_PLATFORM == OGRE_PLATFORM_WIN32 Modified: branches/ogsector/src/opengateserver.cpp =================================================================== --- branches/ogsector/src/opengateserver.cpp 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/opengateserver.cpp 2007-05-17 08:35:54 UTC (rev 467) @@ -1,7 +1,6 @@ /*************************************************************************** - * Copyright (C) 2006 by Christoph Brill * - * eg...@us... * - * 2007 spom_spom@.sourceforge.net * + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * * * * 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 * @@ -19,7 +18,6 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ - #ifdef HAVE_CONFIG_H #include <config.h> #endif Modified: branches/ogsector/src/testopenalmanager.cpp =================================================================== --- branches/ogsector/src/testopenalmanager.cpp 2007-05-16 21:54:28 UTC (rev 466) +++ branches/ogsector/src/testopenalmanager.cpp 2007-05-17 08:35:54 UTC (rev 467) @@ -1,3 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2006-2007 by OpenGate development team * + * spo...@us... * + * * + * 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 * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #include "openALSoundManager.h" #include <iostream> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |