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:
lalien
2006-05-04 15:01:32 +00:00
parent f4bf5fd1f7
commit 0c2dfc30f6
4 changed files with 8 additions and 4 deletions
+2 -1
View File
@@ -106,8 +106,9 @@ TSetting gpSettings[] =
// Maximal search distance for grenades // Maximal search distance for grenades
//{"MaxTossSearchDist", SET_TACTICAL_AI, &guiMaxTossSearchDist, VT_UINT32}, //{"MaxTossSearchDist", SET_TACTICAL_AI, &guiMaxTossSearchDist, VT_UINT32},
// System settings
//{"fEnableEmergencyButton_NumLock_ToSkipStrategicEvents", SET_SPECIAL, &gfEnableEmergencyButton_SkipStrategicEvents, VT_BOOLEAN}, //{"fEnableEmergencyButton_NumLock_ToSkipStrategicEvents", SET_SPECIAL, &gfEnableEmergencyButton_SkipStrategicEvents, VT_BOOLEAN},
{"DeadLockDelay", SET_SPECIAL, &gubDeadLockDelay, VT_UINT8},
// Rain settings // Rain settings
+1 -1
View File
@@ -186,7 +186,7 @@ enum
// CHANGE THIS VALUE TO AFFECT TOTAL SIGHT RANGE // CHANGE THIS VALUE TO AFFECT TOTAL SIGHT RANGE
#define STRAIGHT_RANGE 13 #define STRAIGHT_RANGE ubStraightSightRange
// CHANGE THESE VALUES TO ADJUST VARIOUS FOV ANGLES // CHANGE THESE VALUES TO ADJUST VARIOUS FOV ANGLES
#define STRAIGHT_RATIO 1 //* 1.5 #define STRAIGHT_RATIO 1 //* 1.5
+4 -1
View File
@@ -61,7 +61,10 @@ UINT8 gubAICounter;
// lots of other stuff, I think // 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 // Very representing if this computer is the host, therefore controlling the ai
extern BYTE gfAmIHost; extern BYTE gfAmIHost;
+1 -1
View File
@@ -548,7 +548,7 @@ UINT32 PlayJA2Ambient( UINT32 usNum, UINT32 ubVolume, UINT32 ubLoops)
UINT32 PlayJA2AmbientRandom( UINT32 usNum, UINT32 uiTimeMin, UINT32 uiTimeMax) UINT32 PlayJA2AmbientRandom( UINT32 usNum, UINT32 uiTimeMin, UINT32 uiTimeMax)
{ {
RANDOMPARMS rpParms; RANDOMPARMS rpParms;
memset(&rpParms, 0xff, sizeof(RANDOMPARMS)); memset(&rpParms, 0xff, sizeof(RANDOMPARMS));