hedgewars/uVariables.pas
branchwebgl
changeset 9950 2759212a27de
parent 9521 8054d9d775fd
parent 9902 eb8e8b09b2f0
child 9954 bf51bc7e2808
equal deleted inserted replaced
9521:8054d9d775fd 9950:2759212a27de
    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;
   842             (NameId: sidShotgun;
   861             (NameId: sidShotgun;
   843             NameTex: nil;
   862             NameTex: nil;
   844             Probability: 0;
   863             Probability: 0;
   845             NumberInCase: 1;
   864             NumberInCase: 1;
   846             Ammo: (Propz: ammoprop_ForwMsgs or
   865             Ammo: (Propz: ammoprop_ForwMsgs or
   847                           ammoprop_NeedUpDown;
   866                           ammoprop_NeedUpDown or
       
   867                           ammoprop_DoesntStopTimerInMultiShoot;
   848                 Count: AMMO_INFINITE;
   868                 Count: AMMO_INFINITE;
   849                 NumPerTurn: 1;
   869                 NumPerTurn: 1;
   850                 Timer: 0;
   870                 Timer: 0;
   851                 Pos: 0;
   871                 Pos: 0;
   852                 AmmoType: amShotgun;
   872                 AmmoType: amShotgun;
   894             (NameId: sidSkip;
   914             (NameId: sidSkip;
   895             NameTex: nil;
   915             NameTex: nil;
   896             Probability: 0;
   916             Probability: 0;
   897             NumberInCase: 1;
   917             NumberInCase: 1;
   898             Ammo: (Propz: ammoprop_NoCrosshair or
   918             Ammo: (Propz: ammoprop_NoCrosshair or
       
   919                           ammoprop_AttackInMove or
   899                           ammoprop_DontHold;
   920                           ammoprop_DontHold;
   900                 Count: AMMO_INFINITE;
   921                 Count: AMMO_INFINITE;
   901                 NumPerTurn: 0;
   922                 NumPerTurn: 0;
   902                 Timer: 0;
   923                 Timer: 0;
   903                 Pos: 0;
   924                 Pos: 0;
   923             Ammo: (Propz: ammoprop_NoRoundEnd or
   944             Ammo: (Propz: ammoprop_NoRoundEnd or
   924                           ammoprop_ForwMsgs or
   945                           ammoprop_ForwMsgs or
   925                           ammoprop_AttackInMove or
   946                           ammoprop_AttackInMove or
   926                           ammoprop_Utility or
   947                           ammoprop_Utility or
   927                           ammoprop_AltAttack or
   948                           ammoprop_AltAttack or
   928                           ammoprop_NeedUpDown;
   949                           ammoprop_NeedUpDown or
       
   950                           ammoprop_DoesntStopTimerWhileAttacking;
   929                     Count: 5;
   951                     Count: 5;
   930                     NumPerTurn: 0;
   952                     NumPerTurn: 0;
   931                     Timer: 0;
   953                     Timer: 0;
   932                     Pos: 0;
   954                     Pos: 0;
   933                     AmmoType: amRope;
   955                     AmmoType: amRope;
   975 // DEagle
   997 // DEagle
   976             (NameId: sidDEagle;
   998             (NameId: sidDEagle;
   977             NameTex: nil;
   999             NameTex: nil;
   978             Probability: 20;
  1000             Probability: 20;
   979             NumberInCase: 2;
  1001             NumberInCase: 2;
   980             Ammo: (Propz: ammoprop_NeedUpDown;
  1002             Ammo: (Propz: ammoprop_NeedUpDown or ammoprop_DoesntStopTimerInMultiShoot;
   981                 Count: 3;
  1003                 Count: 3;
   982                 NumPerTurn: 3;
  1004                 NumPerTurn: 3;
   983                 Timer: 0;
  1005                 Timer: 0;
   984                 Pos: 0;
  1006                 Pos: 0;
   985                 AmmoType: amDEagle;
  1007                 AmmoType: amDEagle;
  1739             NameTex: nil;
  1761             NameTex: nil;
  1740             Probability: 20;
  1762             Probability: 20;
  1741             NumberInCase: 2;
  1763             NumberInCase: 2;
  1742             Ammo: (Propz: ammoprop_NeedUpDown or
  1764             Ammo: (Propz: ammoprop_NeedUpDown or
  1743                     ammoprop_OscAim or
  1765                     ammoprop_OscAim or
  1744                     ammoprop_NoMoveAfter;
  1766                     ammoprop_NoMoveAfter or
       
  1767                     ammoprop_DoesntStopTimerInMultiShoot;
  1745                 Count: 2;
  1768                 Count: 2;
  1746                 NumPerTurn: 1;
  1769                 NumPerTurn: 1;
  1747                 Timer: 0;
  1770                 Timer: 0;
  1748                 Pos: 0;
  1771                 Pos: 0;
  1749                 AmmoType: amSniperRifle;
  1772                 AmmoType: amSniperRifle;
  1858                 Timer: 0;
  1881                 Timer: 0;
  1859                 Pos: 0;
  1882                 Pos: 0;
  1860                 AmmoType: amPortalGun;
  1883                 AmmoType: amPortalGun;
  1861                 AttackVoice: sndNone;
  1884                 AttackVoice: sndNone;
  1862                 Bounciness: 1000);
  1885                 Bounciness: 1000);
  1863             Slot: 6;
  1886             Slot: 7;
  1864             TimeAfterTurn: 0;
  1887             TimeAfterTurn: 0;
  1865             minAngle: 0;
  1888             minAngle: 0;
  1866             maxAngle: 0;
  1889             maxAngle: 0;
  1867             isDamaging: false;
  1890             isDamaging: false;
  1868             SkipTurns: 0;
  1891             SkipTurns: 0;
  2123                 Timer: 0;
  2146                 Timer: 0;
  2124                 Pos: 0;
  2147                 Pos: 0;
  2125                 AmmoType: amTardis;
  2148                 AmmoType: amTardis;
  2126                 AttackVoice: sndNone;
  2149                 AttackVoice: sndNone;
  2127                 Bounciness: 1000);
  2150                 Bounciness: 1000);
  2128             Slot: 7;
  2151             Slot: 8;
  2129             TimeAfterTurn: 0;
  2152             TimeAfterTurn: 0;
  2130             minAngle: 0;
  2153             minAngle: 0;
  2131             maxAngle: 0;
  2154             maxAngle: 0;
  2132             isDamaging: false;
  2155             isDamaging: false;
  2133             SkipTurns: 0;
  2156             SkipTurns: 0;
  2235             maxAngle: 0;
  2258             maxAngle: 0;
  2236             isDamaging: true;
  2259             isDamaging: true;
  2237             SkipTurns: 0;
  2260             SkipTurns: 0;
  2238             PosCount: 1;
  2261             PosCount: 1;
  2239             PosSprite: sprWater;
  2262             PosSprite: sprWater;
       
  2263             ejectX: 0;
       
  2264             ejectY: 0),
       
  2265 // Rubber
       
  2266             (NameId: sidRubber;
       
  2267             NameTex: nil;
       
  2268             Probability: 150;
       
  2269             NumberInCase: 1;
       
  2270             Ammo: (Propz: ammoprop_NoRoundEnd or
       
  2271                           ammoprop_NoCrosshair or
       
  2272                           ammoprop_NeedTarget or
       
  2273                           ammoprop_Utility or
       
  2274                           ammoprop_AttackingPut;
       
  2275                     Count: 1;
       
  2276                     NumPerTurn: 0;
       
  2277                     Timer: 0;
       
  2278                     Pos: 0;
       
  2279                     AmmoType: amRubber;
       
  2280                     AttackVoice: sndNone;
       
  2281                 Bounciness: 1000);
       
  2282             Slot: 6;
       
  2283             TimeAfterTurn: 3000;
       
  2284             minAngle: 0;
       
  2285             maxAngle: 0;
       
  2286             isDamaging: false;
       
  2287             SkipTurns: 0;
       
  2288             PosCount: 4;
       
  2289             PosSprite: sprAmRubber;
  2240             ejectX: 0;
  2290             ejectX: 0;
  2241             ejectY: 0)
  2291             ejectY: 0)
  2242         );
  2292         );
  2243 
  2293 
  2244 var
  2294 var
  2288     cntTicks: LongWord;
  2338     cntTicks: LongWord;
  2289 {$ENDIF}
  2339 {$ENDIF}
  2290 
  2340 
  2291 
  2341 
  2292     PauseTexture,
  2342     PauseTexture,
       
  2343     AFKTexture,
  2293     SyncTexture,
  2344     SyncTexture,
  2294     ConfirmTexture: PTexture;
  2345     ConfirmTexture: PTexture;
  2295     cScaleFactor: GLfloat;
  2346     cScaleFactor: GLfloat;
  2296     cStereoDepth: GLfloat;
  2347     cStereoDepth: GLfloat;
  2297     SupportNPOTT: Boolean;
  2348     SupportNPOTT: Boolean;
  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;
  2511     isCursorVisible := false;
  2568     isCursorVisible := false;
  2512     isInLag         := false;
  2569     isInLag         := false;
  2513     isPaused        := false;
  2570     isPaused        := false;
  2514     isInMultiShoot  := false;
  2571     isInMultiShoot  := false;
  2515     isSpeed         := false;
  2572     isSpeed         := false;
       
  2573     isAFK           := false;
  2516     SpeedStart      := 0;
  2574     SpeedStart      := 0;
  2517     fastUntilLag    := false;
  2575     fastUntilLag    := false;
  2518     fastScrolling   := false;
  2576     fastScrolling   := false;
  2519     autoCameraOn    := true;
  2577     autoCameraOn    := true;
  2520     cScriptName     := '';
  2578     cScriptName     := '';
       
  2579     cScriptParam    := '';
  2521     cSeed           := '';
  2580     cSeed           := '';
  2522     cVolumeDelta    := 0;
  2581     cVolumeDelta    := 0;
  2523     cHasFocus       := true;
  2582     cHasFocus       := true;
  2524     cInactDelay     := 100;
  2583     cInactDelay     := 100;
  2525     ReadyTimeLeft   := 0;
  2584     ReadyTimeLeft   := 0;
  2560 
  2619 
  2561     LuaGoals:= '';
  2620     LuaGoals:= '';
  2562     cMapName:= '';
  2621     cMapName:= '';
  2563 
  2622 
  2564     LuaTemplateNumber:= 0;
  2623     LuaTemplateNumber:= 0;
  2565     cStereoDepth := 0;
  2624 
  2566 
  2625     UIDisplay:= uiAll;
  2567 //    MatrixLoadIdentity(mModelview);
  2626     LocalMessage:= 0;
  2568 //    MatrixLoadIdentity(mProjection);
       
  2569     aVertex:= 0;
       
  2570     aTexCoord:= 1;
       
  2571     aColor:= 2;
       
  2572 end;
  2627 end;
  2573 
  2628 
  2574 procedure freeModule;
  2629 procedure freeModule;
  2575 begin
  2630 begin
  2576 end;
  2631 end;