2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 17:04:55 +00:00

various implementations

This commit is contained in:
Jack Andersen
2015-08-19 16:52:07 -10:00
parent e1d45fd01c
commit 746eb46026
34 changed files with 643 additions and 23 deletions

View File

@@ -2,6 +2,7 @@
#define __RETRO_CPLAYERSTATE_HPP__
#include "RetroTypes.hpp"
#include "CBasics.hpp"
#include "CStaticInterference.hpp"
namespace Retro
@@ -12,13 +13,17 @@ class CPlayerState
CStaticInterference m_staticIntf;
class CPowerUp
{
int m_a;
int m_b;
int m_a = 0;
int m_b = 0;
public:
CPowerUp() : m_a(-1), m_b(-1) {}
CPowerUp() {}
CPowerUp(int a, int b) : m_a(a), m_b(b) {}
};
CPowerUp m_powerups[29];
public:
CPlayerState() : m_staticIntf(5) {}
CPlayerState(CInputStream& stream);
};
}