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:
@@ -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)
|
||||
|
||||
9
Runtime/Weapon/CProjectileWeapon.cpp
Normal file
9
Runtime/Weapon/CProjectileWeapon.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "CProjectileWeapon.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
|
||||
CRandom16 CProjectileWeapon::g_GlobalSeed = 99;
|
||||
|
||||
|
||||
}
|
||||
19
Runtime/Weapon/CProjectileWeapon.hpp
Normal file
19
Runtime/Weapon/CProjectileWeapon.hpp
Normal 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__
|
||||
Reference in New Issue
Block a user