1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-19 11:49:09 +00:00

Fix line endings and tabs

This commit is contained in:
Branan Purvine-Riley
2011-04-11 16:27:55 -07:00
parent d4250e19b5
commit 908aaeb6f6
2738 changed files with 702562 additions and 702562 deletions

View File

@ -1,40 +1,40 @@
/*==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/>.
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==*/
/*****************************************************************************
*
* $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniAllIncludes.h
*
***/
#ifdef PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINIALLINCLUDES_H
#error "Header $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniAllIncludes.h included more than once"
#endif
#define PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINIALLINCLUDES_H
#include "pnIniCore.h"
#include "pnIniChange.h"
#include "pnIniSrv.h"
/*==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/>.
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==*/
/*****************************************************************************
*
* $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniAllIncludes.h
*
***/
#ifdef PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINIALLINCLUDES_H
#error "Header $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniAllIncludes.h included more than once"
#endif
#define PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINIALLINCLUDES_H
#include "pnIniCore.h"
#include "pnIniChange.h"
#include "pnIniSrv.h"

View File

@ -1,65 +1,65 @@
/*==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/>.
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==*/
/*****************************************************************************
*
* $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniChange.h
*
***/
#ifdef PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINICHANGE_H
#error "Header $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniChange.h included more than once"
#endif
#define PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINICHANGE_H
/*****************************************************************************
*
* Change notifications for files in the "./Config" directory
*
***/
struct IniChangeReg;
typedef void (* FIniFileChangeCallback)(const wchar fullPath[]);
void IniChangeInitialize (
const wchar dir[] = L"Config"
);
void IniChangeDestroy ();
void IniChangeAdd (
const wchar filename[], // just filename, no path or extension
FIniFileChangeCallback callback,
IniChangeReg ** reg
);
void IniChangeRemove (
IniChangeReg * reg,
bool wait
);
void IniChangeSignal (
IniChangeReg * reg,
bool wait
);
/*==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/>.
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==*/
/*****************************************************************************
*
* $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniChange.h
*
***/
#ifdef PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINICHANGE_H
#error "Header $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniChange.h included more than once"
#endif
#define PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINICHANGE_H
/*****************************************************************************
*
* Change notifications for files in the "./Config" directory
*
***/
struct IniChangeReg;
typedef void (* FIniFileChangeCallback)(const wchar fullPath[]);
void IniChangeInitialize (
const wchar dir[] = L"Config"
);
void IniChangeDestroy ();
void IniChangeAdd (
const wchar filename[], // just filename, no path or extension
FIniFileChangeCallback callback,
IniChangeReg ** reg
);
void IniChangeRemove (
IniChangeReg * reg,
bool wait
);
void IniChangeSignal (
IniChangeReg * reg,
bool wait
);

File diff suppressed because it is too large Load Diff

View File

@ -1,154 +1,154 @@
/*==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/>.
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==*/
/*****************************************************************************
*
* $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniCore.h
*
***/
#ifdef PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINICORE_H
#error "Header $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniCore.h included more than once"
#endif
#define PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINICORE_H
/*****************************************************************************
*
* Ini file parsing functions
*
***/
struct Ini;
struct IniKey;
struct IniValue;
struct IniSection;
// File
Ini * IniOpen (
const wchar filename[]
);
void IniClose (
Ini * ini
);
// Section
const IniSection * IniGetFirstSection (
const Ini * ini,
wchar * name,
unsigned chars
);
const IniSection * IniGetNextSection (
const IniSection * section,
wchar * name,
unsigned chars
);
const IniSection * IniGetSection (
const Ini * ini,
const wchar name[]
);
// Key
const IniKey * IniGetFirstKey (
const IniSection * section,
wchar * name,
unsigned chars
);
const IniKey * IniGetFirstKey (
const Ini * ini,
const wchar sectionName[],
wchar * name,
unsigned chars
);
const IniKey * IniGetNextKey (
const IniKey * key,
wchar * name,
unsigned chars
);
const IniKey * IniGetKey (
const IniSection * ini,
const wchar name[]
);
// Value
const IniValue * IniGetFirstValue (
const IniKey * key,
unsigned * iter
);
const IniValue * IniGetFirstValue (
const IniSection * section,
const wchar keyName[],
unsigned * iter
);
const IniValue * IniGetFirstValue (
const Ini * ini,
const wchar sectionName[],
const wchar keyName[],
unsigned * iter
);
const IniValue * IniGetNextValue (
const IniValue * value,
unsigned * iter
);
// Data
bool IniGetUnsigned (
const IniValue * value,
unsigned * result,
unsigned index = 0,
unsigned defaultValue = 0
);
bool IniGetString (
const IniValue * value,
wchar * result,
unsigned resultChars,
unsigned index = 0,
const wchar defaultValue[] = nil
);
bool IniGetUuid (
const IniValue * value,
Uuid * result,
unsigned index = 0,
const Uuid & defaultValue = kNilGuid
);
// Bounded values
unsigned IniGetBoundedValue (
const Ini * ini,
const wchar sectionName[],
const wchar keyName[],
unsigned index,
unsigned minVal,
unsigned maxVal,
unsigned defVal
);
unsigned IniGetBoundedValue (
const IniValue * value,
unsigned index,
unsigned minVal,
unsigned maxVal,
unsigned defVal
);
/*==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/>.
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==*/
/*****************************************************************************
*
* $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniCore.h
*
***/
#ifdef PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINICORE_H
#error "Header $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniCore.h included more than once"
#endif
#define PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINICORE_H
/*****************************************************************************
*
* Ini file parsing functions
*
***/
struct Ini;
struct IniKey;
struct IniValue;
struct IniSection;
// File
Ini * IniOpen (
const wchar filename[]
);
void IniClose (
Ini * ini
);
// Section
const IniSection * IniGetFirstSection (
const Ini * ini,
wchar * name,
unsigned chars
);
const IniSection * IniGetNextSection (
const IniSection * section,
wchar * name,
unsigned chars
);
const IniSection * IniGetSection (
const Ini * ini,
const wchar name[]
);
// Key
const IniKey * IniGetFirstKey (
const IniSection * section,
wchar * name,
unsigned chars
);
const IniKey * IniGetFirstKey (
const Ini * ini,
const wchar sectionName[],
wchar * name,
unsigned chars
);
const IniKey * IniGetNextKey (
const IniKey * key,
wchar * name,
unsigned chars
);
const IniKey * IniGetKey (
const IniSection * ini,
const wchar name[]
);
// Value
const IniValue * IniGetFirstValue (
const IniKey * key,
unsigned * iter
);
const IniValue * IniGetFirstValue (
const IniSection * section,
const wchar keyName[],
unsigned * iter
);
const IniValue * IniGetFirstValue (
const Ini * ini,
const wchar sectionName[],
const wchar keyName[],
unsigned * iter
);
const IniValue * IniGetNextValue (
const IniValue * value,
unsigned * iter
);
// Data
bool IniGetUnsigned (
const IniValue * value,
unsigned * result,
unsigned index = 0,
unsigned defaultValue = 0
);
bool IniGetString (
const IniValue * value,
wchar * result,
unsigned resultChars,
unsigned index = 0,
const wchar defaultValue[] = nil
);
bool IniGetUuid (
const IniValue * value,
Uuid * result,
unsigned index = 0,
const Uuid & defaultValue = kNilGuid
);
// Bounded values
unsigned IniGetBoundedValue (
const Ini * ini,
const wchar sectionName[],
const wchar keyName[],
unsigned index,
unsigned minVal,
unsigned maxVal,
unsigned defVal
);
unsigned IniGetBoundedValue (
const IniValue * value,
unsigned index,
unsigned minVal,
unsigned maxVal,
unsigned defVal
);

View File

@ -1,40 +1,40 @@
/*==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/>.
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==*/
/*****************************************************************************
*
* $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniSrv.cpp
*
***/
#include "../Pch.h"
#pragma hdrstop
#ifdef SERVER
#endif
/*==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/>.
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==*/
/*****************************************************************************
*
* $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniSrv.cpp
*
***/
#include "../Pch.h"
#pragma hdrstop
#ifdef SERVER
#endif

View File

@ -1,61 +1,61 @@
/*==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/>.
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==*/
/*****************************************************************************
*
* $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniSrv.h
*
***/
#ifdef PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINISRV_H
#error "Header $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniSrv.h included more than once"
#endif
#define PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINISRV_H
#ifdef SERVER
/*****************************************************************************
*
* ServerRights API
*
***/
// These values may never change because server modules
// must use the same values as plServer.exe
enum EServerRights {
kSrvRightsNone = 0,
kSrvRightsBasic = 1,
kSrvRightsServer = 2,
kNumSrvRights
};
EServerRights SrvIniGetServerRightsByNode (NetAddressNode addrNode);
EServerRights SrvIniGetServerRights (const NetAddress & addr);
void SrvIniParseServerRights (Ini * ini);
#endif
/*==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/>.
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==*/
/*****************************************************************************
*
* $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniSrv.h
*
***/
#ifdef PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINISRV_H
#error "Header $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniSrv.h included more than once"
#endif
#define PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINISRV_H
#ifdef SERVER
/*****************************************************************************
*
* ServerRights API
*
***/
// These values may never change because server modules
// must use the same values as plServer.exe
enum EServerRights {
kSrvRightsNone = 0,
kSrvRightsBasic = 1,
kSrvRightsServer = 2,
kNumSrvRights
};
EServerRights SrvIniGetServerRightsByNode (NetAddressNode addrNode);
EServerRights SrvIniGetServerRights (const NetAddress & addr);
void SrvIniParseServerRights (Ini * ini);
#endif