mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
CoreLib Precompiled Header
NOTE: I used a different header name this time because CoreLib headers are visible top-level to the rest of the codebase.
This commit is contained in:
@ -98,6 +98,7 @@ set(CoreLib_HEADERS
|
||||
plViewTransform.h
|
||||
)
|
||||
|
||||
use_precompiled_header(_CoreLibPch.h Pch.cpp CoreLib_HEADERS CoreLib_SOURCES)
|
||||
add_library(CoreLib STATIC ${CoreLib_SOURCES} ${CoreLib_HEADERS})
|
||||
target_link_libraries(CoreLib ${PCRE_LIBRARY})
|
||||
|
||||
|
@ -46,6 +46,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifdef _MSC_VER
|
||||
# include <crtdbg.h>
|
||||
#endif
|
||||
#pragma hdrstop
|
||||
|
||||
#include "hsTemplates.h"
|
||||
#include "plString.h"
|
||||
|
43
Sources/Plasma/CoreLib/Pch.cpp
Normal file
43
Sources/Plasma/CoreLib/Pch.cpp
Normal file
@ -0,0 +1,43 @@
|
||||
/*==LICENSE==*
|
||||
|
||||
CyanWorlds.com Engine - MMOG client, server and tools
|
||||
Copyright (C) 2011 Cyan Worlds, Inc.
|
||||
|
||||
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 3 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, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional permissions under GNU GPL version 3 section 7
|
||||
|
||||
If you modify this Program, or any covered work, by linking or
|
||||
combining it with any of RAD Game Tools Bink SDK, Autodesk 3ds Max SDK,
|
||||
NVIDIA PhysX SDK, Microsoft DirectX SDK, OpenSSL library, Independent
|
||||
JPEG Group JPEG library, Microsoft Windows Media SDK, or Apple QuickTime SDK
|
||||
(or a modified version of those libraries),
|
||||
containing parts covered by the terms of the Bink SDK EULA, 3ds Max EULA,
|
||||
PhysX SDK EULA, DirectX SDK EULA, OpenSSL and SSLeay licenses, IJG
|
||||
JPEG Library README, Windows Media SDK EULA, or QuickTime SDK EULA, the
|
||||
licensors of this Program grant you additional
|
||||
permission to convey the resulting work. Corresponding Source for a
|
||||
non-source form of such a combination shall include the source code for
|
||||
the parts of OpenSSL and IJG JPEG Library used as well as that of the covered
|
||||
work.
|
||||
|
||||
You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
or by snail mail at:
|
||||
Cyan Worlds, Inc.
|
||||
14617 N Newport Hwy
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "_CoreLibPch.h"
|
74
Sources/Plasma/CoreLib/_CoreLibPch.h
Normal file
74
Sources/Plasma/CoreLib/_CoreLibPch.h
Normal file
@ -0,0 +1,74 @@
|
||||
/*==LICENSE==*
|
||||
|
||||
CyanWorlds.com Engine - MMOG client, server and tools
|
||||
Copyright (C) 2011 Cyan Worlds, Inc.
|
||||
|
||||
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 3 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, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional permissions under GNU GPL version 3 section 7
|
||||
|
||||
If you modify this Program, or any covered work, by linking or
|
||||
combining it with any of RAD Game Tools Bink SDK, Autodesk 3ds Max SDK,
|
||||
NVIDIA PhysX SDK, Microsoft DirectX SDK, OpenSSL library, Independent
|
||||
JPEG Group JPEG library, Microsoft Windows Media SDK, or Apple QuickTime SDK
|
||||
(or a modified version of those libraries),
|
||||
containing parts covered by the terms of the Bink SDK EULA, 3ds Max EULA,
|
||||
PhysX SDK EULA, DirectX SDK EULA, OpenSSL and SSLeay licenses, IJG
|
||||
JPEG Library README, Windows Media SDK EULA, or QuickTime SDK EULA, the
|
||||
licensors of this Program grant you additional
|
||||
permission to convey the resulting work. Corresponding Source for a
|
||||
non-source form of such a combination shall include the source code for
|
||||
the parts of OpenSSL and IJG JPEG Library used as well as that of the covered
|
||||
work.
|
||||
|
||||
You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
or by snail mail at:
|
||||
Cyan Worlds, Inc.
|
||||
14617 N Newport Hwy
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include <cmath>
|
||||
#include <cstddef>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <cctype>
|
||||
#include <functional>
|
||||
#include <limits.h>
|
||||
#include <memory>
|
||||
#include <stdarg.h>
|
||||
#include <stdint.h>
|
||||
#include <wchar.h>
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "hsWindows.h"
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#if HS_BUILD_FOR_WIN32
|
||||
# include <io.h>
|
||||
# include <process.h>
|
||||
# include <shlobj.h>
|
||||
#else
|
||||
# include <unistd.h>
|
||||
# include <dirent.h>
|
||||
# include <fnmatch.h>
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# include <crtdbg.h>
|
||||
#endif
|
@ -41,6 +41,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "hsStream.h"
|
||||
#include "hsBitVector.h"
|
||||
#include "hsTemplates.h"
|
||||
|
@ -41,6 +41,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "hsBounds.h"
|
||||
#include "hsStream.h"
|
||||
|
||||
|
@ -39,20 +39,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
/*****************************************************************************
|
||||
*
|
||||
* $/Plasma20/Sources/Plasma/CoreLib/hsCritSect.cpp
|
||||
*
|
||||
*
|
||||
* By Eric Anderson (10/23/2005)
|
||||
* Copyright 2005 Cyan Worlds, Inc.
|
||||
*
|
||||
***/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "hsCritSect.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "hsCritSect.h"
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
*
|
||||
|
@ -41,6 +41,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "hsGeometry3.h"
|
||||
#include "hsFastMath.h"
|
||||
|
||||
|
@ -39,9 +39,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include <cmath>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "hsGeometry3.h"
|
||||
#include "hsStream.h"
|
||||
#include <cmath>
|
||||
|
||||
hsVector3 operator%(const hsVector3& t, const hsVector3& s)
|
||||
{
|
||||
|
@ -41,6 +41,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "hsMatrix33.h"
|
||||
#include "hsStream.h"
|
||||
|
||||
|
@ -40,12 +40,15 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include <cmath>
|
||||
#include "HeadSpin.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "hsGeometry3.h"
|
||||
#include "hsQuat.h"
|
||||
#include "hsMatrix44.h"
|
||||
#include "hsStream.h"
|
||||
#include <cmath>
|
||||
|
||||
#ifdef HS_SIMD_INCLUDE
|
||||
# include HS_SIMD_INCLUDE
|
||||
|
@ -40,6 +40,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include <cstring>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "hsMemory.h"
|
||||
#include "hsExceptions.h"
|
||||
|
||||
|
@ -39,7 +39,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "hsQuat.h"
|
||||
#include "hsMatrix44.h"
|
||||
#include "hsStream.h"
|
||||
|
@ -41,6 +41,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "hsExceptions.h"
|
||||
#include "hsRefCnt.h"
|
||||
|
||||
|
@ -39,19 +39,20 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include <cctype>
|
||||
#if HS_BUILD_FOR_WIN32
|
||||
# include <io.h>
|
||||
#endif
|
||||
#pragma hdrstop
|
||||
|
||||
#include "hsStream.h"
|
||||
#include "hsMemory.h"
|
||||
|
||||
#include "hsTemplates.h"
|
||||
|
||||
#if HS_BUILD_FOR_UNIX
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#if HS_BUILD_FOR_WIN32
|
||||
#include <io.h>
|
||||
#endif
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void hsStream::FastFwd()
|
||||
|
@ -40,9 +40,11 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "hsThread.h"
|
||||
#include "hsWindows.h"
|
||||
#include <process.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "hsThread.h"
|
||||
#include "hsExceptions.h"
|
||||
#include "hsMemory.h"
|
||||
|
||||
|
@ -41,7 +41,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "plFileSystem.h"
|
||||
|
||||
#if HS_BUILD_FOR_WIN32
|
||||
# include "hsWindows.h"
|
||||
@ -57,6 +56,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
# include <memory>
|
||||
#endif
|
||||
#include <sys/stat.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plFileSystem.h"
|
||||
#include "plProduct.h"
|
||||
|
||||
/* NOTE For this file: Windows uses UTF-16 filenames, and does not support
|
||||
|
@ -41,6 +41,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plLoadMask.h"
|
||||
#include "hsStream.h"
|
||||
#include "hsTemplates.h"
|
||||
|
@ -40,6 +40,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plProduct.h"
|
||||
#include "plString.h"
|
||||
|
||||
|
@ -41,13 +41,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "plString.h"
|
||||
|
||||
#include <cstring>
|
||||
#include <cstdlib>
|
||||
#include <wchar.h>
|
||||
#include <memory>
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <wchar.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plString.h"
|
||||
#include <pcre.h>
|
||||
|
||||
const plString plString::Null;
|
||||
|
@ -41,6 +41,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "hsBounds.h"
|
||||
#include "hsStream.h"
|
||||
#include "plViewTransform.h"
|
||||
|
Reference in New Issue
Block a user