mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +03:00
Remove some SourceMod namespace.
This commit is contained in:
parent
1ae40316a8
commit
41f6932b68
@ -35,8 +35,6 @@
|
|||||||
#include <ITextParsers.h>
|
#include <ITextParsers.h>
|
||||||
#include <am-vector.h>
|
#include <am-vector.h>
|
||||||
|
|
||||||
using namespace SourceMod;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param void * IN: Stream pointer
|
* @param void * IN: Stream pointer
|
||||||
* @param char * IN/OUT: Stream buffer
|
* @param char * IN/OUT: Stream buffer
|
||||||
|
@ -14,8 +14,6 @@
|
|||||||
#include "amxmodx.h"
|
#include "amxmodx.h"
|
||||||
#include "trie_natives.h"
|
#include "trie_natives.h"
|
||||||
|
|
||||||
using namespace SourceMod;
|
|
||||||
|
|
||||||
TrieHandles<CellTrie> g_TrieHandles;
|
TrieHandles<CellTrie> g_TrieHandles;
|
||||||
TrieHandles<TrieSnapshot> g_TrieSnapshotHandles;
|
TrieHandles<TrieSnapshot> g_TrieSnapshotHandles;
|
||||||
|
|
||||||
|
@ -15,8 +15,6 @@
|
|||||||
#include <sm_memtable.h>
|
#include <sm_memtable.h>
|
||||||
#include "CVector.h"
|
#include "CVector.h"
|
||||||
|
|
||||||
using namespace SourceMod;
|
|
||||||
|
|
||||||
enum EntryType
|
enum EntryType
|
||||||
{
|
{
|
||||||
EntryType_Cell,
|
EntryType_Cell,
|
||||||
|
@ -16,8 +16,6 @@
|
|||||||
#include "CDetour/detours.h"
|
#include "CDetour/detours.h"
|
||||||
#include <sm_stringhashmap.h>
|
#include <sm_stringhashmap.h>
|
||||||
|
|
||||||
using namespace SourceMod; // hashmap
|
|
||||||
|
|
||||||
void CtrlDetours_ClientCommand(bool set);
|
void CtrlDetours_ClientCommand(bool set);
|
||||||
void CtrlDetours_BuyCommands(bool set);
|
void CtrlDetours_BuyCommands(bool set);
|
||||||
|
|
||||||
|
@ -19,8 +19,6 @@
|
|||||||
#include <sm_stringhashmap.h>
|
#include <sm_stringhashmap.h>
|
||||||
#include <am-string.h>
|
#include <am-string.h>
|
||||||
|
|
||||||
using namespace SourceMod;
|
|
||||||
|
|
||||||
enum JOp
|
enum JOp
|
||||||
{
|
{
|
||||||
Journal_Nop=0, //no operation
|
Journal_Nop=0, //no operation
|
||||||
|
@ -19,8 +19,6 @@
|
|||||||
#include "IVault.h"
|
#include "IVault.h"
|
||||||
#include "Journal.h"
|
#include "Journal.h"
|
||||||
|
|
||||||
using namespace SourceMod;
|
|
||||||
|
|
||||||
#define VAULT_MAGIC 0x6E564C54 //nVLT
|
#define VAULT_MAGIC 0x6E564C54 //nVLT
|
||||||
#define VAULT_VERSION 0x0200 //second version
|
#define VAULT_VERSION 0x0200 //second version
|
||||||
|
|
||||||
|
@ -16,8 +16,6 @@
|
|||||||
#include "NVault.h"
|
#include "NVault.h"
|
||||||
#include <sm_queue.h>
|
#include <sm_queue.h>
|
||||||
|
|
||||||
using namespace SourceMod;
|
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#define MKDIR(p) mkdir(p)
|
#define MKDIR(p) mkdir(p)
|
||||||
#else
|
#else
|
||||||
|
@ -36,8 +36,8 @@
|
|||||||
* @file ITextParsers.h
|
* @file ITextParsers.h
|
||||||
* @brief Defines various text/file parsing functions, as well as UTF-8 support code.
|
* @brief Defines various text/file parsing functions, as well as UTF-8 support code.
|
||||||
*/
|
*/
|
||||||
namespace SourceMod
|
//namespace SourceMod
|
||||||
{
|
//{
|
||||||
|
|
||||||
#define SMINTERFACE_TEXTPARSERS_NAME "ITextParsers"
|
#define SMINTERFACE_TEXTPARSERS_NAME "ITextParsers"
|
||||||
#define SMINTERFACE_TEXTPARSERS_VERSION 4
|
#define SMINTERFACE_TEXTPARSERS_VERSION 4
|
||||||
@ -450,9 +450,9 @@ namespace SourceMod
|
|||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
//}
|
||||||
|
|
||||||
extern SourceMod::ITextParsers *textparsers;
|
extern ITextParsers *textparsers;
|
||||||
|
|
||||||
#endif //_INCLUDE_SOURCEMOD_TEXTPARSERS_INTERFACE_H_
|
#endif //_INCLUDE_SOURCEMOD_TEXTPARSERS_INTERFACE_H_
|
||||||
|
|
||||||
|
@ -50,8 +50,8 @@
|
|||||||
#include <am-moveable.h>
|
#include <am-moveable.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
namespace SourceMod
|
//namespace SourceMod
|
||||||
{
|
//{
|
||||||
|
|
||||||
namespace detail
|
namespace detail
|
||||||
{
|
{
|
||||||
@ -236,6 +236,6 @@ private:
|
|||||||
size_t memory_used_;
|
size_t memory_used_;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
//}
|
||||||
|
|
||||||
#endif // _include_sourcemod_hashtable_h_
|
#endif // _include_sourcemod_hashtable_h_
|
||||||
|
Loading…
Reference in New Issue
Block a user