Permalink
Browse files

Fix whitespace in files.

The problems fixed:
  1) Mixed LF and CR-LF file endings, turned them all to LF:
     $ sed -i -e 's/^M$//g'
  2) Spaces or tabs at end of lines, removed them:
     $ sed -i -e 's/[\t ]\+$//g'
  3) Mixed tabs and spaces indentation, fixed it by forcing 4-space indent:
     $ sed -i -e 's/\t/    /g'
  • Loading branch information...
BloodyRabbit committed Apr 7, 2012
1 parent 3d87cf5 commit 3e51f1d5bb810a5528a76a80b8ca25c0746bb2d6
Showing 489 changed files with 44,607 additions and 44,610 deletions.
View
@@ -61,21 +61,21 @@ SET( GNUC ${CMAKE_COMPILER_IS_GNUCXX} )
FIND_PACKAGE( "Threads" REQUIRED )
IF (WIN32)
- FIND_PACKAGE( "MySQL" 5.0 QUIET )
- FIND_PACKAGE( "ZLIB" QUIET )
- FIND_PACKAGE( "Boost" QUIET )
+ FIND_PACKAGE( "MySQL" 5.0 QUIET )
+ FIND_PACKAGE( "ZLIB" QUIET )
+ FIND_PACKAGE( "Boost" QUIET )
ELSE()
- FIND_PACKAGE( "MySQL" 5.0 REQUIRED )
- FIND_PACKAGE( "ZLIB" REQUIRED )
-
- FIND_PACKAGE( "Boost" REQUIRED )
- LINK_DIRECTORIES(${Boost_LIBRARY_DIRS})
- INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
+ FIND_PACKAGE( "MySQL" 5.0 REQUIRED )
+ FIND_PACKAGE( "ZLIB" REQUIRED )
+
+ FIND_PACKAGE( "Boost" REQUIRED )
+ LINK_DIRECTORIES(${Boost_LIBRARY_DIRS})
+ INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
ENDIF (WIN32)
IF ( NOT WIN32)
- FIND_PACKAGE( "ICONV" REQUIRED )
+ FIND_PACKAGE( "ICONV" REQUIRED )
ENDIF ( NOT WIN32 )
IF( EVEMU_DOC_ENABLE )
@@ -126,7 +126,7 @@ ENDIF( MSVC )
IF ( NOT MSVC )
# to avoid linking any boost libs
- SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -DBOOST_DATE_TIME_NO_LIB -DBOOST_REGEX_NO_LIB" )
+ SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -DBOOST_DATE_TIME_NO_LIB -DBOOST_REGEX_NO_LIB" )
ENDIF ( NOT MSVC )
IF( NOT EVEMU_SOURCE_REVISION )
@@ -197,31 +197,31 @@ IF( NOT UTF8CPP_FOUND )
ENDIF( NOT UTF8CPP_FOUND )
IF(NOT BOOST_FOUND)
- ADD_SUBDIRECTORY("dep/boost")
-
- SET(BOOST_FOUND TRUE)
- SET(Boost_INCLUDE_DIR "${boost_INCLUDE_DIR}")
- SET(Boost_DIR "${boost_INCLUDE_DIR}")
- SET(BOOST_LIBRARIES "boost")
-
- #LINK_DIRECTORIES(${Boost_LIBRARY_DIRS})
- INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIR})
+ ADD_SUBDIRECTORY("dep/boost")
+
+ SET(BOOST_FOUND TRUE)
+ SET(Boost_INCLUDE_DIR "${boost_INCLUDE_DIR}")
+ SET(Boost_DIR "${boost_INCLUDE_DIR}")
+ SET(BOOST_LIBRARIES "boost")
+
+ #LINK_DIRECTORIES(${Boost_LIBRARY_DIRS})
+ INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIR})
ENDIF(NOT BOOST_FOUND)
IF(NOT MYSQL_FOUND)
- ADD_SUBDIRECTORY("dep/mysql/include")
-
- SET(MYSQL_FOUND TRUE)
- SET(MYSQL_INCLUDE_DIR "${mysql_INCLUDE_DIR}")
- SET(MYSQL_LIBRARIES "${mysql_INCLUDE_DIR}/../lib/opt/libmysql.lib")
+ ADD_SUBDIRECTORY("dep/mysql/include")
+
+ SET(MYSQL_FOUND TRUE)
+ SET(MYSQL_INCLUDE_DIR "${mysql_INCLUDE_DIR}")
+ SET(MYSQL_LIBRARIES "${mysql_INCLUDE_DIR}/../lib/opt/libmysql.lib")
ENDIF(NOT MYSQL_FOUND)
IF(NOT ZLIB_FOUND)
- ADD_SUBDIRECTORY("dep/zlib")
-
- SET(ZLIB_FOUND TRUE)
- SET(ZLIB_INCLUDE_DIR "${zlib_INCLUDE_DIR}")
- SET(ZLIB_LIBRARIES "zlib")
+ ADD_SUBDIRECTORY("dep/zlib")
+
+ SET(ZLIB_FOUND TRUE)
+ SET(ZLIB_INCLUDE_DIR "${zlib_INCLUDE_DIR}")
+ SET(ZLIB_LIBRARIES "zlib")
ENDIF(NOT ZLIB_FOUND)
ADD_SUBDIRECTORY( "dep/asio" )
View
@@ -3,12 +3,12 @@ EVEmu modified to support the latest Crucible client v353549
# Disclaimer
-***EVEmu is an educational project.***
- This means, our primary interest is to learn and teach us
-and our users more about C++ project development in a large
-scale. Our software is not intended for running public servers,
-and we do not support that. We are not responsible for what others
-do with the source code downloaded from this project.
+***EVEmu is an educational project.***
+ This means, our primary interest is to learn and teach us
+and our users more about C++ project development in a large
+scale. Our software is not intended for running public servers,
+and we do not support that. We are not responsible for what others
+do with the source code downloaded from this project.
# Status
- Login works again
@@ -19,25 +19,25 @@ do with the source code downloaded from this project.
- Destiny are not sure
# Legal
- ------------------------------------------------------------------------------------
- LICENSE:
- ------------------------------------------------------------------------------------
- This file is part of EVEmu: EVE Online Server Emulator
- Copyright 2006 - 2011 The EVEmu Team
- For the latest information visit http://evemu.org
- ------------------------------------------------------------------------------------
- This program is free software; you can redistribute it and/or modify it under
- the terms of the GNU Lesser General Public License as published by the Free Software
- Foundation; either version 2 of the License, or (at your option) any later
- version.
+ ------------------------------------------------------------------------------------
+ LICENSE:
+ ------------------------------------------------------------------------------------
+ This file is part of EVEmu: EVE Online Server Emulator
+ Copyright 2006 - 2011 The EVEmu Team
+ For the latest information visit http://evemu.org
+ ------------------------------------------------------------------------------------
+ This program is free software; you can redistribute it and/or modify it under
+ the terms of the GNU Lesser 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 Lesser General Public License for more details.
+ 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 Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser 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, or go to
+ http://www.gnu.org/copyleft/lesser.txt.
+ ------------------------------------------------------------------------------------
- You should have received a copy of the GNU Lesser 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, or go to
- http://www.gnu.org/copyleft/lesser.txt.
- ------------------------------------------------------------------------------------
-
View
@@ -63,7 +63,7 @@ else(ICONV_FOUND)
set(ICONV_LIBRARIES)
endif(ICONV_FOUND)
-if(ICONV_FOUND)
+if(ICONV_FOUND)
set(CMAKE_REQUIRED_INCLUDES ${ICONV_INCLUDE_DIR})
set(CMAKE_REQUIRED_LIBRARIES ${ICONV_LIBRARIES})
View
@@ -17,7 +17,7 @@ SET( TARGET_SOURCE_DIR "${PROJECT_SOURCE_DIR}/dep/${TARGET_NAME}" )
SET( INCLUDE
"${TARGET_INCLUDE_DIR}/asio.hpp" )
SET( SOURCE
- "${TARGET_SOURCE_DIR}/dummy.cpp" )
+ "${TARGET_SOURCE_DIR}/dummy.cpp" )
#####################
# Setup the library #
View
@@ -39,38 +39,38 @@ SET( INCLUDE
"${TARGET_INCLUDE_DIR}/lvm.h"
"${TARGET_INCLUDE_DIR}/lzio.h" )
SET( SOURCE
- "${TARGET_SOURCE_DIR}/lapi.c"
- "${TARGET_SOURCE_DIR}/lauxlib.c"
- "${TARGET_SOURCE_DIR}/lbaselib.c"
- "${TARGET_SOURCE_DIR}/lcode.c"
- "${TARGET_SOURCE_DIR}/ldblib.c"
- "${TARGET_SOURCE_DIR}/ldebug.c"
- "${TARGET_SOURCE_DIR}/ldo.c"
- "${TARGET_SOURCE_DIR}/ldump.c"
- "${TARGET_SOURCE_DIR}/lfunc.c"
- "${TARGET_SOURCE_DIR}/lgc.c"
- "${TARGET_SOURCE_DIR}/linit.c"
- "${TARGET_SOURCE_DIR}/liolib.c"
- "${TARGET_SOURCE_DIR}/llex.c"
- "${TARGET_SOURCE_DIR}/lmathlib.c"
- "${TARGET_SOURCE_DIR}/lmem.c"
- "${TARGET_SOURCE_DIR}/loadlib.c"
- "${TARGET_SOURCE_DIR}/lobject.c"
- "${TARGET_SOURCE_DIR}/lopcodes.c"
- "${TARGET_SOURCE_DIR}/loslib.c"
- "${TARGET_SOURCE_DIR}/lparser.c"
- "${TARGET_SOURCE_DIR}/lstate.c"
- "${TARGET_SOURCE_DIR}/lstring.c"
- "${TARGET_SOURCE_DIR}/lstrlib.c"
- "${TARGET_SOURCE_DIR}/ltable.c"
- "${TARGET_SOURCE_DIR}/ltablib.c"
- "${TARGET_SOURCE_DIR}/ltm.c"
- "${TARGET_SOURCE_DIR}/lua.c"
- "${TARGET_SOURCE_DIR}/luac.c"
- "${TARGET_SOURCE_DIR}/lundump.c"
- "${TARGET_SOURCE_DIR}/lvm.c"
- "${TARGET_SOURCE_DIR}/lzio.c"
- "${TARGET_SOURCE_DIR}/print.c" )
+ "${TARGET_SOURCE_DIR}/lapi.c"
+ "${TARGET_SOURCE_DIR}/lauxlib.c"
+ "${TARGET_SOURCE_DIR}/lbaselib.c"
+ "${TARGET_SOURCE_DIR}/lcode.c"
+ "${TARGET_SOURCE_DIR}/ldblib.c"
+ "${TARGET_SOURCE_DIR}/ldebug.c"
+ "${TARGET_SOURCE_DIR}/ldo.c"
+ "${TARGET_SOURCE_DIR}/ldump.c"
+ "${TARGET_SOURCE_DIR}/lfunc.c"
+ "${TARGET_SOURCE_DIR}/lgc.c"
+ "${TARGET_SOURCE_DIR}/linit.c"
+ "${TARGET_SOURCE_DIR}/liolib.c"
+ "${TARGET_SOURCE_DIR}/llex.c"
+ "${TARGET_SOURCE_DIR}/lmathlib.c"
+ "${TARGET_SOURCE_DIR}/lmem.c"
+ "${TARGET_SOURCE_DIR}/loadlib.c"
+ "${TARGET_SOURCE_DIR}/lobject.c"
+ "${TARGET_SOURCE_DIR}/lopcodes.c"
+ "${TARGET_SOURCE_DIR}/loslib.c"
+ "${TARGET_SOURCE_DIR}/lparser.c"
+ "${TARGET_SOURCE_DIR}/lstate.c"
+ "${TARGET_SOURCE_DIR}/lstring.c"
+ "${TARGET_SOURCE_DIR}/lstrlib.c"
+ "${TARGET_SOURCE_DIR}/ltable.c"
+ "${TARGET_SOURCE_DIR}/ltablib.c"
+ "${TARGET_SOURCE_DIR}/ltm.c"
+ "${TARGET_SOURCE_DIR}/lua.c"
+ "${TARGET_SOURCE_DIR}/luac.c"
+ "${TARGET_SOURCE_DIR}/lundump.c"
+ "${TARGET_SOURCE_DIR}/lvm.c"
+ "${TARGET_SOURCE_DIR}/lzio.c"
+ "${TARGET_SOURCE_DIR}/print.c" )
#####################
# Setup the library #
@@ -87,5 +87,5 @@ SET( ${TARGET_NAME}_INCLUDE_DIR "${TARGET_INCLUDE_DIR}" PARENT_SCOPE )
# Disable safety warnings because this is a C library
IF (WIN32)
- ADD_DEFINITIONS(/D _CRT_SECURE_NO_WARNINGS)
+ ADD_DEFINITIONS(/D _CRT_SECURE_NO_WARNINGS)
ENDIF (WIN32)
View
@@ -1,4 +1,4 @@
-
+
*** 22/07/2008 ***
- Added autotools
@@ -13,7 +13,7 @@
- Improved NPC AI to make them consistently follow, orbit and attack.
- Hybrid and Laser modules consistently fire on NPCs now.
- Implemented damage code including basic messages.
-- Implemented NPC death logic.
+- Implemented NPC death logic.
- Implement code to support asteroids in space.
- Add new command to spawn an asteroid: /roid (typeID) (radius)
- Implemented graphics for mining lasers (they do not yet actually mine though)
@@ -49,7 +49,7 @@ alter table chrOwnerNote CHANGE content note TEXT NOT NULL;
- Place immediate buy orders
- you prolly need to log out&in before seeing new orders right now.
- Major destiny (space) work:
- - Much improved event broadcasting to allow players to
+ - Much improved event broadcasting to allow players to
observe the actions of another player.
- New module manager to handle different weapon types
- Improved timer support for module activation/deactivation.
@@ -76,7 +76,7 @@ New Table: market_history_old
*** 07/25/2007 ***
- Major revelation with destiny updates, fixes 'jumpy' movement in space.
- Much better understanding of the binary destiny update structure.
-- Significant work on the destiny manager. Server now tracks client movement for
+- Significant work on the destiny manager. Server now tracks client movement for
warp, goto direction, and follow movement modes (orbit is the only major mode pending).
- Some initial drone launching code (not working yet)
- A bunch of makefile cleanup.
View
@@ -1,26 +1,26 @@
/*
- ------------------------------------------------------------------------------------
- LICENSE:
- ------------------------------------------------------------------------------------
- This file is part of EVEmu: EVE Online Server Emulator
- Copyright 2006 - 2011 The EVEmu Team
- For the latest information visit http://evemu.org
- ------------------------------------------------------------------------------------
- This program is free software; you can redistribute it and/or modify it under
- the terms of the GNU Lesser 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 Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser 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, or go to
- http://www.gnu.org/copyleft/lesser.txt.
- ------------------------------------------------------------------------------------
- Author: Aim, Captnoord, Zhur, Bloody.Rabbit
+ ------------------------------------------------------------------------------------
+ LICENSE:
+ ------------------------------------------------------------------------------------
+ This file is part of EVEmu: EVE Online Server Emulator
+ Copyright 2006 - 2011 The EVEmu Team
+ For the latest information visit http://evemu.org
+ ------------------------------------------------------------------------------------
+ This program is free software; you can redistribute it and/or modify it under
+ the terms of the GNU Lesser 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 Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser 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, or go to
+ http://www.gnu.org/copyleft/lesser.txt.
+ ------------------------------------------------------------------------------------
+ Author: Aim, Captnoord, Zhur, Bloody.Rabbit
*/
#ifndef __COMMON_H__INCL__
@@ -99,7 +99,7 @@ class DBResultRow
const char* GetText( uint32 index ) const { return mRow[ index ]; }
int32 GetInt( uint32 index ) const;
- bool GetBool( uint32 index ) const;
+ bool GetBool( uint32 index ) const;
uint32 GetUInt( uint32 index ) const;
int64 GetInt64( uint32 index ) const;
uint64 GetUInt64( uint32 index ) const;
@@ -68,7 +68,7 @@ enum DBTYPE
DBTYPE_UI2 = 0x12,
DBTYPE_UI4 = 0x13,
DBTYPE_I8 = 0x14,
- DBTYPE_UI8 = 0x15,
+ DBTYPE_UI8 = 0x15,
DBTYPE_FILETIME = 0x40, // 64-bit timestamp
//DBTYPE_GUID = 0x48, // not supported
DBTYPE_BYTES = 0x80,
@@ -44,7 +44,7 @@ class NewLog
public:
/// Primary constructor, initializes logging.
NewLog();
- NewLog(std::string logPath);
+ NewLog(std::string logPath);
/// Destructor, closes the logfile.
~NewLog();
@@ -53,7 +53,7 @@ class NewLog
*
* @param[in] logPath is the absolute or relative path where log files are to be stored
*/
- void InitializeLogging( std::string logPath );
+ void InitializeLogging( std::string logPath );
/**
* @brief Logs a message to file.
*
@@ -184,7 +184,7 @@ class NewLog
/**
* @brief Sets the default logfile.
*/
- void SetLogfileDefault(std::string logPath);
+ void SetLogfileDefault(std::string logPath);
/// The active logfile.
FILE* mLogfile;
@@ -193,7 +193,7 @@ class NewLog
/// Protection against concurrent log messages
Mutex mMutex;
- bool m_initialized;
+ bool m_initialized;
#ifdef WIN32
/// Handle to standard output stream.
Oops, something went wrong.

0 comments on commit 3e51f1d

Please sign in to comment.