Decouple <vector>
This commit is contained in:
@@ -5,6 +5,9 @@
|
||||
|
||||
#include "LuaManager.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
||||
#define CHARACTERS_DIR "/Characters/"
|
||||
|
||||
CharacterManager* CHARMAN = nullptr; // global object accessible from anywhere in the program
|
||||
@@ -45,7 +48,7 @@ CharacterManager::CharacterManager()
|
||||
else
|
||||
delete pChar;
|
||||
}
|
||||
|
||||
|
||||
if( !FoundDefault )
|
||||
RageException::Throw( "'Characters/default' is missing." );
|
||||
|
||||
@@ -119,7 +122,7 @@ Character* CharacterManager::GetCharacterFromID( RString sCharacterID )
|
||||
// lua start
|
||||
#include "LuaBinding.h"
|
||||
|
||||
/** @brief Allow Lua to have access to the CharacterManager. */
|
||||
/** @brief Allow Lua to have access to the CharacterManager. */
|
||||
class LunaCharacterManager: public Luna<CharacterManager>
|
||||
{
|
||||
public:
|
||||
@@ -176,7 +179,7 @@ LUA_REGISTER_CLASS( CharacterManager )
|
||||
/*
|
||||
* (c) 2001-2004 Chris Danford
|
||||
* All rights reserved.
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
@@ -186,7 +189,7 @@ LUA_REGISTER_CLASS( CharacterManager )
|
||||
* copyright notice(s) and this permission notice appear in all copies of
|
||||
* the Software and that both the above copyright notice(s) and this
|
||||
* permission notice appear in supporting documentation.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
|
||||
|
||||
Reference in New Issue
Block a user