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

Implement CStateManager::Update

This commit is contained in:
Jack Andersen
2017-03-23 19:30:16 -10:00
parent 5a6e40c5aa
commit db12dd2ea2
68 changed files with 1165 additions and 117 deletions

View File

@@ -23,6 +23,7 @@ set(WEAPON_SOURCES
CBeamInfo.hpp CBeamInfo.cpp
CPlasmaProjectile.hpp CPlasmaProjectile.cpp
CEnergyProjectile.cpp CEnergyProjectile.cpp
CProjectileWeapon.hpp CProjectileWeapon.cpp
CExplosion.hpp CExplosion.cpp
CBomb.hpp CBomb.cpp
CPowerBomb.hpp CPowerBomb.cpp)

View File

@@ -0,0 +1,9 @@
#include "CProjectileWeapon.hpp"
namespace urde
{
CRandom16 CProjectileWeapon::g_GlobalSeed = 99;
}

View File

@@ -0,0 +1,19 @@
#ifndef __URDE_CPROJECTILEWEAPON_HPP__
#define __URDE_CPROJECTILEWEAPON_HPP__
#include "RetroTypes.hpp"
#include "CRandom16.hpp"
namespace urde
{
class CProjectileWeapon
{
static CRandom16 g_GlobalSeed;
public:
static void SetGlobalSeed(u16 seed) { g_GlobalSeed.SetSeed(seed); }
};
}
#endif // __URDE_CPROJECTILEWEAPON_HPP__