1
0
mirror of https://github.com/ncblakely/GiantsTools synced 2024-11-23 14:45:37 +01:00
GiantsTools/Sdk/Include/AI/Public/Command.h

32 lines
539 B
C
Raw Normal View History

2021-01-24 00:40:09 +01:00
#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{};
};
}