2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-24 10:50:48 +01:00
hlsdk-xash3d/dlls/squad.h
2018-01-18 22:36:32 +03:00

25 lines
1013 B
C

//========= Copyright © 1996-2002, Valve LLC, All rights reserved. ============
//
// Purpose: New version of the slider bar
//
// $NoKeywords: $
//=============================================================================
//=========================================================
// squad.h
//=========================================================
#pragma once
#ifndef SQUAD_H
#define SQUAD_H
// these are special group roles that are assigned to members when the group is formed.
// the reason these are explicitly assigned and tasks like throwing grenades to flush out
// enemies is that it's bad to have two members trying to flank left at the same time, but
// ok to have two throwing grenades at the same time. When a squad member cannot attack the
// enemy, it will choose to execute its special role.
#define bits_SQUAD_FLANK_LEFT ( 1 << 0 )
#define bits_SQUAD_FLANK_RIGHT ( 1 << 1 )
#define bits_SQUAD_ADVANCE ( 1 << 2 )
#define bits_SQUAD_FLUSH_ATTACK ( 1 << 3 )
#endif // SQUAD_H