Files
firestorm/Gameleap/code/mw4/Code/MW4/AI_Groups.hpp
T
Cyd 2b8ca921cb Initial full mirror of c:\VWE (source + assets + toolchain + outputs) via Git LFS
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.
2026-06-24 21:28:16 -05:00

38 lines
1.2 KiB
C++

#pragma once
#ifndef AI_GROUPS_HPP
#define AI_GROUPS_HPP
#include "Group.hpp"
namespace MW4AI
{
namespace Groups
{
bool AllDead(Group::identifier group);
void AddObject(Adept::ObjectID object, Group::identifier group);
void RemoveObject(Adept::ObjectID object, Group::identifier group);
int NumDead(Group::identifier group);
int Size(Group::identifier group);
bool ContainsObject(Adept::ObjectID object, Group::identifier group);
bool GetFirstGroup(Adept::ObjectID object, Group::identifier& group_id);
bool GetFirstObject(Group::identifier group, Adept::ObjectID& object);
MechWarrior4::Group& GetGroup(MechWarrior4::Group::identifier group_id);
bool GetMember(Group::identifier group, unsigned int index, Adept::ObjectID& object);
bool GetLancemateGroup(const std::vector<Group::identifier>& groups, Group::identifier& group_id);
void GetLancemates(std::vector<MWObject*>& lancemates, bool include_player = false);
void GetGroupmates(const Adept::ObjectID& of_who, std::vector<MWObject*>& groupmates);
void NotifyPlayerFocusedOnEntity(MechWarrior4::MWObject& player_vehicle, Adept::Entity& entity);
};
};
#endif // AI_GROUPS_HPP