Complete disaster-recovery snapshot: engine/game source, game data assets, VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive. Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false, no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
49 lines
586 B
C++
49 lines
586 B
C++
|
|
#pragma once
|
|
#ifndef AI_SEARCHLIGHT_HPP
|
|
#define AI_SEARCHLIGHT_HPP
|
|
|
|
|
|
|
|
namespace MechWarrior4
|
|
{
|
|
class CombatAI;
|
|
};
|
|
|
|
namespace MW4AI
|
|
{
|
|
class SearchLightController
|
|
{
|
|
public:
|
|
enum State
|
|
{
|
|
ON,
|
|
OFF,
|
|
UNSPECIFIED
|
|
};
|
|
|
|
enum
|
|
{
|
|
STATE_FIRST = ON,
|
|
STATE_LAST = UNSPECIFIED
|
|
};
|
|
|
|
SearchLightController(CombatAI& combat_ai);
|
|
|
|
void Update();
|
|
|
|
void SetState(State state);
|
|
State GetState() const
|
|
{
|
|
return (m_State);
|
|
}
|
|
|
|
private:
|
|
CombatAI& m_CombatAI;
|
|
State m_State;
|
|
};
|
|
};
|
|
|
|
|
|
|
|
#endif // AI_SEARCHLIGHT_HPP
|