Decouple <vector>

This commit is contained in:
Martin Natano
2023-04-20 19:02:13 +02:00
parent aa87f85eef
commit bacecae1f7
422 changed files with 2326 additions and 1295 deletions
+7 -4
View File
@@ -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