mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
* hopefull disable of grenades * added a LOS check from your mercs to a door to see if it should be animated or not. * looked into the "ENEMY_ENABLED" issue, it is not double defined, the one in network.h is part of a struct and not connected. made some changes to do tests for ==0 or ==1 rather than boolean. but i believe there must be some misunderstanding possibly. ENEMY_ENABLED only enables or disables the enemy AI, And only when coop is enabled... when its not there is no ai whatsoever, but you can still get into deathmatch battle under the various ini settings. enjoy, the bullets are finishing themselves off much better now ! :) git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2168 3b4a5df2-a311-0410-b5c6-a8a6f20db521
65 lines
1.4 KiB
C
65 lines
1.4 KiB
C
#pragma once
|
|
|
|
//time for a new header :)
|
|
|
|
extern int readyteamreg[10];
|
|
|
|
typedef struct
|
|
{
|
|
UINT16 soldier_id;
|
|
UINT16 attacker_id;
|
|
}death_struct;
|
|
|
|
typedef struct
|
|
{
|
|
UINT16 ubID;
|
|
INT16 sGridNo;
|
|
BOOLEAN fNoAnimations;
|
|
}doors;
|
|
void send_door ( SOLDIERTYPE *pSoldier, INT16 sGridNo, BOOLEAN fNoAnimations );
|
|
|
|
void send_changestate (EV_S_CHANGESTATE * SChangeState);
|
|
|
|
void send_death( SOLDIERTYPE *pSoldier);
|
|
|
|
void send_hitstruct(EV_S_STRUCTUREHIT * SStructureHit);
|
|
void send_hitwindow(EV_S_WINDOWHIT * SWindowHit);
|
|
void send_miss(EV_S_MISS * SMiss);
|
|
|
|
void cheat_func(void);
|
|
//void start_tt(void);
|
|
void unlock (void);
|
|
|
|
void UpdateSoldierToNetwork ( SOLDIERTYPE *pSoldier );
|
|
|
|
extern BOOLEAN gfUIInterfaceSetBusy;
|
|
|
|
void kick_player (void);
|
|
void overide_turn (void);
|
|
|
|
extern bool DISABLE_MORALE;
|
|
|
|
void send_fireweapon ( EV_S_FIREWEAPON * SFireWeapon);
|
|
|
|
void end_interrupt ( BOOLEAN fMarkInterruptOccurred );
|
|
void EndInterrupt( BOOLEAN fMarkInterruptOccurred );
|
|
void sendRT (void);
|
|
|
|
extern int numreadyteams;//for realtime
|
|
|
|
extern bool requested;
|
|
extern bool getReal;
|
|
|
|
extern UINT8 gubCheatLevel;
|
|
|
|
void startCombat(UINT8 ubStartingTeam);
|
|
|
|
extern int WEAPON_READIED_BONUS;
|
|
|
|
void teamwiped (void);
|
|
|
|
BOOLEAN check_status (void);
|
|
extern UINT8 NumEnemyInSector( );
|
|
extern INT8 NumActiveAndConsciousTeamMembers( UINT8 ubTeam );
|
|
|