2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-29 05:21:01 +01:00
hlsdk-xash3d/dlls/squad.h

25 lines
1020 B
C
Raw Normal View History

2018-01-19 18:00:32 +01:00
//========= Copyright (c) 1996-2002, Valve LLC, All rights reserved. ============
2016-06-04 15:24:23 +02:00
//
// Purpose: New version of the slider bar
//
// $NoKeywords: $
//=============================================================================
//=========================================================
// squad.h
//=========================================================
#pragma once
2021-06-20 00:53:07 +02:00
#if !defined(SQUAD_H)
2017-12-10 18:19:34 +01:00
#define SQUAD_H
2016-06-04 15:24:23 +02:00
// 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.
2016-06-04 15:24:23 +02:00
#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 )
2017-12-10 18:19:34 +01:00
#endif // SQUAD_H