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
+8 -5
View File
@@ -6,6 +6,9 @@
#include "Steps.h"
#include "Song.h"
#include <vector>
PlayerState::PlayerState()
{
m_PlayerNumber = PLAYER_INVALID;
@@ -59,8 +62,8 @@ void PlayerState::Update( float fDelta )
Attack &attack = m_ActiveAttacks[s];
// You must add sattack by calling GameState::LaunchAttack,
// or else the sentinel value won't be
// converted into the current music time.
// or else the sentinel value won't be
// converted into the current music time.
ASSERT( attack.fStartSecond != ATTACK_STARTS_NOW );
bool bCurrentlyEnabled =
@@ -213,7 +216,7 @@ const TimingData &PlayerState::GetDisplayedTiming() const
// lua start
#include "LuaBinding.h"
/** @brief Allow Lua to have access to the PlayerState. */
/** @brief Allow Lua to have access to the PlayerState. */
class LunaPlayerState: public Luna<PlayerState>
{
public:
@@ -291,7 +294,7 @@ LUA_REGISTER_CLASS( PlayerState )
/*
* (c) 2001-2004 Chris Danford, Chris Gomez
* 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
@@ -301,7 +304,7 @@ LUA_REGISTER_CLASS( PlayerState )
* 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