mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Little Alien
- Deadlock delay adjustable in ja2.ini - Sight Range adjustable in ja2.ini git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@55 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+2
-1
@@ -106,8 +106,9 @@ TSetting gpSettings[] =
|
||||
// Maximal search distance for grenades
|
||||
//{"MaxTossSearchDist", SET_TACTICAL_AI, &guiMaxTossSearchDist, VT_UINT32},
|
||||
|
||||
// System settings
|
||||
//{"fEnableEmergencyButton_NumLock_ToSkipStrategicEvents", SET_SPECIAL, &gfEnableEmergencyButton_SkipStrategicEvents, VT_BOOLEAN},
|
||||
|
||||
{"DeadLockDelay", SET_SPECIAL, &gubDeadLockDelay, VT_UINT8},
|
||||
|
||||
|
||||
// Rain settings
|
||||
|
||||
@@ -186,7 +186,7 @@ enum
|
||||
|
||||
|
||||
// CHANGE THIS VALUE TO AFFECT TOTAL SIGHT RANGE
|
||||
#define STRAIGHT_RANGE 13
|
||||
#define STRAIGHT_RANGE ubStraightSightRange
|
||||
|
||||
// CHANGE THESE VALUES TO ADJUST VARIOUS FOV ANGLES
|
||||
#define STRAIGHT_RATIO 1 //* 1.5
|
||||
|
||||
@@ -61,7 +61,10 @@ UINT8 gubAICounter;
|
||||
// lots of other stuff, I think
|
||||
//
|
||||
|
||||
#define DEADLOCK_DELAY 10000 //Madd - let's see what this does -- orig: 15000
|
||||
extern UINT8 gubDeadLockDelay;
|
||||
|
||||
//#define DEADLOCK_DELAY 10000 //Madd - let's see what this does -- orig: 15000
|
||||
#define DEADLOCK_DELAY ( gubDeadLockDelay * 1000 )
|
||||
|
||||
// Very representing if this computer is the host, therefore controlling the ai
|
||||
extern BYTE gfAmIHost;
|
||||
|
||||
@@ -548,7 +548,7 @@ UINT32 PlayJA2Ambient( UINT32 usNum, UINT32 ubVolume, UINT32 ubLoops)
|
||||
|
||||
UINT32 PlayJA2AmbientRandom( UINT32 usNum, UINT32 uiTimeMin, UINT32 uiTimeMax)
|
||||
{
|
||||
RANDOMPARMS rpParms;
|
||||
RANDOMPARMS rpParms;
|
||||
|
||||
memset(&rpParms, 0xff, sizeof(RANDOMPARMS));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user