44 PathPrefix : shortstring; |
44 PathPrefix : shortstring; |
45 UserPathPrefix : shortstring; |
45 UserPathPrefix : shortstring; |
46 cShowFPS : boolean; |
46 cShowFPS : boolean; |
47 cFlattenFlakes : boolean; |
47 cFlattenFlakes : boolean; |
48 cFlattenClouds : boolean; |
48 cFlattenClouds : boolean; |
|
49 cIce : boolean; |
|
50 cSnow : boolean; |
|
51 |
49 cAltDamage : boolean; |
52 cAltDamage : boolean; |
50 cReducedQuality : LongWord; |
53 cReducedQuality : LongWord; |
51 UserNick : shortstring; |
54 UserNick : shortstring; |
52 recordFileName : shortstring; |
55 recordFileName : shortstring; |
53 cReadyDelay : Longword; |
56 cReadyDelay : Longword; |
67 isCursorVisible : boolean; |
70 isCursorVisible : boolean; |
68 isInLag : boolean; |
71 isInLag : boolean; |
69 isPaused : boolean; |
72 isPaused : boolean; |
70 isInMultiShoot : boolean; |
73 isInMultiShoot : boolean; |
71 isSpeed : boolean; |
74 isSpeed : boolean; |
|
75 isAFK : boolean; |
72 SpeedStart : LongWord; |
76 SpeedStart : LongWord; |
73 |
77 |
74 fastUntilLag : boolean; |
78 fastUntilLag : boolean; |
75 fastScrolling : boolean; |
79 fastScrolling : boolean; |
76 autoCameraOn : boolean; |
80 autoCameraOn : boolean; |
81 GameState : TGameState; |
85 GameState : TGameState; |
82 GameType : TGameType; |
86 GameType : TGameType; |
83 InputMask : LongWord; |
87 InputMask : LongWord; |
84 GameFlags : Longword; |
88 GameFlags : Longword; |
85 WorldEdge : TWorldEdge; |
89 WorldEdge : TWorldEdge; |
|
90 LeftImpactTimer : LongWord; |
|
91 RightImpactTimer: LongWord; |
86 TurnTimeLeft : Longword; |
92 TurnTimeLeft : Longword; |
|
93 TurnClockActive : boolean; |
87 TagTurnTimeLeft : Longword; |
94 TagTurnTimeLeft : Longword; |
88 ReadyTimeLeft : Longword; |
95 ReadyTimeLeft : Longword; |
89 cSuddenDTurns : LongInt; |
96 cSuddenDTurns : LongInt; |
90 cDamagePercent : LongInt; |
97 cDamagePercent : LongInt; |
91 cMineDudPercent : LongWord; |
98 cMineDudPercent : LongWord; |
126 LAND_WIDTH : LongInt; |
133 LAND_WIDTH : LongInt; |
127 LAND_HEIGHT : LongInt; |
134 LAND_HEIGHT : LongInt; |
128 LAND_WIDTH_MASK : LongWord; |
135 LAND_WIDTH_MASK : LongWord; |
129 LAND_HEIGHT_MASK : LongWord; |
136 LAND_HEIGHT_MASK : LongWord; |
130 |
137 |
|
138 CrosshairTexture : PTexture; |
|
139 GenericHealthTexture : PTexture; |
|
140 |
131 cLeftScreenBorder : LongInt; |
141 cLeftScreenBorder : LongInt; |
132 cRightScreenBorder : LongInt; |
142 cRightScreenBorder : LongInt; |
133 cScreenSpace : Longword; |
143 cScreenSpace : Longword; |
134 |
144 |
135 cCaseFactor : Longword; |
145 cCaseFactor : Longword; |
136 cLandMines : Longword; |
146 cLandMines : Longword; |
137 cExplosives : Longword; |
147 cExplosives : Longword; |
138 |
148 |
139 cScriptName : shortstring; |
149 cScriptName : shortstring; |
|
150 cScriptParam : shortstring; |
140 cSeed : shortstring; |
151 cSeed : shortstring; |
141 cVolumeDelta : LongInt; |
152 cVolumeDelta : LongInt; |
142 cHasFocus : boolean; |
153 cHasFocus : boolean; |
143 cInactDelay : Longword; |
154 cInactDelay : Longword; |
144 |
155 |
152 cDrownSpeed : hwFloat; |
163 cDrownSpeed : hwFloat; |
153 cDrownSpeedf : real; |
164 cDrownSpeedf : real; |
154 cMaxWindSpeed : hwFloat; |
165 cMaxWindSpeed : hwFloat; |
155 cWindSpeed : hwFloat; |
166 cWindSpeed : hwFloat; |
156 cWindSpeedf : real; |
167 cWindSpeedf : real; |
|
168 cElastic : hwFloat; |
157 cGravity : hwFloat; |
169 cGravity : hwFloat; |
158 cGravityf : real; |
170 cGravityf : real; |
159 cDamageModifier : hwFloat; |
171 cDamageModifier : hwFloat; |
160 cLaserSighting : boolean; |
172 cLaserSighting : boolean; |
161 cVampiric : boolean; |
173 cVampiric : boolean; |
185 TargetPoint : TPoint; |
197 TargetPoint : TPoint; |
186 |
198 |
187 ScreenFade : TScreenFade; |
199 ScreenFade : TScreenFade; |
188 ScreenFadeValue : LongInt; |
200 ScreenFadeValue : LongInt; |
189 ScreenFadeSpeed : LongInt; |
201 ScreenFadeSpeed : LongInt; |
|
202 |
|
203 UIDisplay : TUIDisplay; |
|
204 LocalMessage : LongWord; |
190 |
205 |
191 Theme : shortstring; |
206 Theme : shortstring; |
192 disableLandBack : boolean; |
207 disableLandBack : boolean; |
193 |
208 |
194 WorldDx: LongInt; |
209 WorldDx: LongInt; |
439 (FileName: 'TurnsLeft'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
454 (FileName: 'TurnsLeft'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
440 Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprTurnsLeft |
455 Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprTurnsLeft |
441 (FileName: 'amKamikaze'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
456 (FileName: 'amKamikaze'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
442 Width: 128; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprKamikaze |
457 Width: 128; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprKamikaze |
443 (FileName: 'amWhip'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
458 (FileName: 'amWhip'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
444 Width: 128; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprWhip |
459 Width: 128; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprWhip |
445 (FileName: 'Kowtow'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
460 (FileName: 'Kowtow'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
446 Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprKowtow |
461 Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprKowtow |
447 (FileName: 'Sad'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
462 (FileName: 'Sad'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
448 Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprSad |
463 Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLowest; getDimensions: false; getImageDimensions: true),// sprSad |
449 (FileName: 'Wave'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
464 (FileName: 'Wave'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
668 (FileName: 'icetexture'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
683 (FileName: 'icetexture'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
669 Width: 128; Height: 128; imageWidth: 128; imageHeight: 128; saveSurf: true; priority: tpLow; getDimensions: false; getImageDimensions: true), // sprIceTexture |
684 Width: 128; Height: 128; imageWidth: 128; imageHeight: 128; saveSurf: true; priority: tpLow; getDimensions: false; getImageDimensions: true), // sprIceTexture |
670 (FileName: 'amIceGun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
685 (FileName: 'amIceGun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
671 Width: 32; Height: 32; imageWidth: 32; imageHeight: 32; saveSurf: false; priority: tpLow; getDimensions: false; getImageDimensions: false), // sprIceGun |
686 Width: 32; Height: 32; imageWidth: 32; imageHeight: 32; saveSurf: false; priority: tpLow; getDimensions: false; getImageDimensions: false), // sprIceGun |
672 (FileName: 'amFrozenHog'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
687 (FileName: 'amFrozenHog'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
673 Width: 64; Height: 64; imageWidth: 64; imageHeight: 64; saveSurf: false; priority: tpLow; getDimensions: false; getImageDimensions: false) // sprFrozenHog |
688 Width: 64; Height: 64; imageWidth: 64; imageHeight: 64; saveSurf: false; priority: tpLow; getDimensions: false; getImageDimensions: false), // sprFrozenHog |
|
689 (FileName: 'amRubber'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil; |
|
690 Width: 160; Height:160; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpMedium; getDimensions: false; getImageDimensions: true), // sprAmRubber |
|
691 (FileName: 'boing'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
|
692 Width: 101; Height: 97; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpLow; getDimensions: false; getImageDimensions: false) // sprBoing |
674 ); |
693 ); |
675 |
694 |
676 const |
695 const |
677 Wavez: array [TWave] of record |
696 Wavez: array [TWave] of record |
678 Sprite: TSprite; |
697 Sprite: TSprite; |
2395 cLocale:= ExtractDelimited(1, cLocaleFName, StdWordDelims); |
2446 cLocale:= ExtractDelimited(1, cLocaleFName, StdWordDelims); |
2396 {$ENDIF} |
2447 {$ENDIF} |
2397 |
2448 |
2398 cFlattenFlakes := false; |
2449 cFlattenFlakes := false; |
2399 cFlattenClouds := false; |
2450 cFlattenClouds := false; |
|
2451 cIce := false; |
|
2452 cSnow := false; |
2400 lastVisualGearByUID := nil; |
2453 lastVisualGearByUID := nil; |
2401 lastGearByUID := nil; |
2454 lastGearByUID := nil; |
2402 cReadyDelay := 5000; |
2455 cReadyDelay := 5000; |
2403 |
2456 |
2404 {* REFERENCE |
2457 {* REFERENCE |
2442 cDrownSpeed.QWordValue := 257698038; // 0.06 |
2495 cDrownSpeed.QWordValue := 257698038; // 0.06 |
2443 cDrownSpeedf := 0.06; |
2496 cDrownSpeedf := 0.06; |
2444 cMaxWindSpeed.QWordValue:= 1073742; // 0.00025 |
2497 cMaxWindSpeed.QWordValue:= 1073742; // 0.00025 |
2445 cWindSpeed.QWordValue := 0; // 0.0 |
2498 cWindSpeed.QWordValue := 0; // 0.0 |
2446 cWindSpeedf := 0.0; |
2499 cWindSpeedf := 0.0; |
|
2500 cElastic := _0_9; |
2447 cGravity := cMaxWindSpeed * 2; |
2501 cGravity := cMaxWindSpeed * 2; |
2448 cGravityf := 0.00025 * 2; |
2502 cGravityf := 0.00025 * 2; |
2449 cDamageModifier := _1; |
2503 cDamageModifier := _1; |
2450 TargetPoint := cTargetPointRef; |
2504 TargetPoint := cTargetPointRef; |
2451 |
2505 |
2470 cGearScrEdgesDist := 240; |
2524 cGearScrEdgesDist := 240; |
2471 |
2525 |
2472 InputMask := $FFFFFFFF; |
2526 InputMask := $FFFFFFFF; |
2473 GameFlags := 0; |
2527 GameFlags := 0; |
2474 WorldEdge := weNone; |
2528 WorldEdge := weNone; |
|
2529 LeftImpactTimer := 0; |
|
2530 RightImpactTimer := 0; |
2475 TurnTimeLeft := 0; |
2531 TurnTimeLeft := 0; |
|
2532 TurnClockActive := true; |
2476 TagTurnTimeLeft := 0; |
2533 TagTurnTimeLeft := 0; |
2477 cSuddenDTurns := 15; |
2534 cSuddenDTurns := 15; |
2478 cDamagePercent := 100; |
2535 cDamagePercent := 100; |
2479 cRopePercent := 100; |
2536 cRopePercent := 100; |
2480 cGetAwayTime := 100; |
2537 cGetAwayTime := 100; |