1
0
mirror of https://github.com/ncblakely/GiantsTools synced 2024-11-05 14:55:38 +01:00
GiantsTools/Sdk/Include/AI/Public/Command.h
2021-01-23 15:40:09 -08:00

32 lines
539 B
C++

#pragma once
namespace AI
{
enum class CommandType
{
Move = 0,
FireWeapon,
NumTypes
};
struct Command
{
virtual~ Command() { }
CommandType Type{};
};
struct MoveCommand : Command
{
SBYTE Turn{}; // Positive is left (counterclockwise)
SBYTE LookUpDown{};
SBYTE Run{}; // Positive is forward
SBYTE Side{}; // Positive is left
SBYTE Thrust{};
DWORD Flags{};
float TurnGoal{};
P3D MoveGoal{};
};
}