Decouple <vector>

This commit is contained in:
Martin Natano
2023-04-21 22:13:41 +02:00
parent aa87f85eef
commit bacecae1f7
422 changed files with 2326 additions and 1295 deletions
+8 -5
View File
@@ -5,6 +5,9 @@
#include "XmlFile.h"
#include "ThemeManager.h"
#include <vector>
ThemeMetric<bool> RadarValues::WRITE_SIMPLE_VALIES( "RadarValues", "WriteSimpleValues" );
ThemeMetric<bool> RadarValues::WRITE_COMPLEX_VALIES( "RadarValues", "WriteComplexValues" );
@@ -55,7 +58,7 @@ XNode* RadarValues::CreateNode( bool bIncludeSimpleValues, bool bIncludeComplexV
return pNode;
}
void RadarValues::LoadFromNode( const XNode* pNode )
void RadarValues::LoadFromNode( const XNode* pNode )
{
ASSERT( pNode->GetName() == "RadarValues" );
@@ -99,13 +102,13 @@ void RadarValues::FromString( RString sRadarValues )
{
(*this)[rc] = StringToFloat(saValues[rc]);
}
}
// lua start
#include "LuaBinding.h"
/** @brief Allow Lua to have access to the RadarValues. */
/** @brief Allow Lua to have access to the RadarValues. */
class LunaRadarValues: public Luna<RadarValues>
{
public:
@@ -123,7 +126,7 @@ LUA_REGISTER_CLASS( RadarValues )
/*
* (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
@@ -133,7 +136,7 @@ LUA_REGISTER_CLASS( RadarValues )
* 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