hedgewars/uVariables.pas
branchhedgeroid
changeset 6328 d14adf1c7721
parent 6224 42b256eca362
parent 6313 12567f6f6f02
child 6415 af2047bb4f70
equal deleted inserted replaced
6236:1998ff75321a 6328:d14adf1c7721
    44     cInitVolume     : LongInt     = 100;
    44     cInitVolume     : LongInt     = 100;
    45     cTimerInterval  : LongInt     = 8;
    45     cTimerInterval  : LongInt     = 8;
    46     PathPrefix      : shortstring = './';
    46     PathPrefix      : shortstring = './';
    47     UserPathPrefix  : shortstring = './';
    47     UserPathPrefix  : shortstring = './';
    48     cShowFPS        : boolean     = false;
    48     cShowFPS        : boolean     = false;
       
    49     cFlattenFlakes  : boolean     = false;
       
    50     cFlattenClouds  : boolean     = false;
    49     cAltDamage      : boolean     = true;
    51     cAltDamage      : boolean     = true;
    50     cReducedQuality : LongWord    = rqNone;
    52     cReducedQuality : LongWord    = rqNone;
    51     UserNick        : shortstring = '';
    53     UserNick        : shortstring = '';
    52     recordFileName  : shortstring = '';
    54     recordFileName  : shortstring = '';
    53     cReadyDelay     : Longword    = 5000;
    55     cReadyDelay     : Longword    = 5000;
    81     cSuddenDTurns   : LongInt;
    83     cSuddenDTurns   : LongInt;
    82     cDamagePercent  : LongInt;
    84     cDamagePercent  : LongInt;
    83     cMineDudPercent : LongWord;
    85     cMineDudPercent : LongWord;
    84     cTemplateFilter : LongInt;
    86     cTemplateFilter : LongInt;
    85     cMapGen         : LongInt;
    87     cMapGen         : LongInt;
    86     cMazeSize       : LongInt;
       
    87     cRopePercent    : LongWord;
    88     cRopePercent    : LongWord;
    88     cGetAwayTime    : LongWord;
    89     cGetAwayTime    : LongWord;
    89 
    90 
    90     cHedgehogTurnTime: Longword;
    91     cHedgehogTurnTime: Longword;
    91     cMinesTime       : LongInt;
    92     cMinesTime       : LongInt;
   124 
   125 
   125     cCaseFactor     : Longword;
   126     cCaseFactor     : Longword;
   126     cLandMines      : Longword;
   127     cLandMines      : Longword;
   127     cExplosives     : Longword;
   128     cExplosives     : Longword;
   128 
   129 
       
   130     cScriptName     : shortstring;
   129     cSeed           : shortstring;
   131     cSeed           : shortstring;
   130     cVolumeDelta    : LongInt;
   132     cVolumeDelta    : LongInt;
   131     cHasFocus       : boolean;
   133     cHasFocus       : boolean;
   132     cInactDelay     : Longword;
   134     cInactDelay     : Longword;
   133 
   135 
   343             (FileName:     'Finger'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   345             (FileName:     'Finger'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   344             Width:  32; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprFinger
   346             Width:  32; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprFinger
   345             (FileName:    'AirBomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   347             (FileName:    'AirBomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   346             Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAirBomb
   348             Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAirBomb
   347             (FileName:   'Airplane'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   349             (FileName:   'Airplane'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   348             Width: 254; Height: 101; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAirplane
   350             Width: 256; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAirplane
   349             (FileName: 'amAirplane'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   351             (FileName: 'amAirplane'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   350             Width:  64; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAmAirplane
   352             Width:  64; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAmAirplane
   351             (FileName:   'amGirder'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil;
   353             (FileName:   'amGirder'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil;
   352             Width: 160; Height:160; imageWidth: 0; imageHeight: 0; saveSurf:  true; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAmGirder
   354             Width: 160; Height:160; imageWidth: 0; imageHeight: 0; saveSurf:  true; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAmGirder
   353             (FileName:     'hhMask'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   355             (FileName:     'hhMask'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
  1207             NumberInCase: 1;
  1209             NumberInCase: 1;
  1208             Ammo: (Propz: ammoprop_NoCrosshair or
  1210             Ammo: (Propz: ammoprop_NoCrosshair or
  1209                             ammoprop_NeedTarget or
  1211                             ammoprop_NeedTarget or
  1210                             ammoprop_AttackingPut or
  1212                             ammoprop_AttackingPut or
  1211                             ammoprop_DontHold or
  1213                             ammoprop_DontHold or
  1212                             ammoprop_NotBorder or
  1214                             ammoprop_NotBorder;
  1213                             ammoprop_SetBounce;
       
  1214                 Count: 1;
  1215                 Count: 1;
  1215                 NumPerTurn: 0;
  1216                 NumPerTurn: 0;
  1216                 Timer: 0;
  1217                 Timer: 0;
  1217                 Pos: 0;
  1218                 Pos: 0;
  1218                 AmmoType: amMineStrike;
  1219                 AmmoType: amMineStrike;
  2336     rotationQt: GLfloat;
  2337     rotationQt: GLfloat;
  2337     // stereoscopic framebuffer and textures
  2338     // stereoscopic framebuffer and textures
  2338     framel, framer, depthl, depthr: GLuint;
  2339     framel, framer, depthl, depthr: GLuint;
  2339     texl, texr: GLuint;
  2340     texl, texr: GLuint;
  2340 
  2341 
  2341     VisualGearLayers: array[0..3] of PVisualGear;
  2342     VisualGearLayers: array[0..6] of PVisualGear;
  2342     lastVisualGearByUID: PVisualGear;
  2343     lastVisualGearByUID: PVisualGear;
  2343     vobFrameTicks, vobFramesCount, vobCount: Longword;
  2344     vobFrameTicks, vobFramesCount, vobCount: Longword;
  2344     vobVelocity, vobFallSpeed: LongInt;
  2345     vobVelocity, vobFallSpeed: LongInt;
  2345     vobSDFrameTicks, vobSDFramesCount, vobSDCount: Longword;
  2346     vobSDFrameTicks, vobSDFramesCount, vobSDCount: Longword;
  2346     vobSDVelocity, vobSDFallSpeed: LongInt;
  2347     vobSDVelocity, vobSDFallSpeed: LongInt;
  2463     cRopePercent        := 100;
  2464     cRopePercent        := 100;
  2464     cGetAwayTime        := 100;
  2465     cGetAwayTime        := 100;
  2465     cMineDudPercent     := 0;
  2466     cMineDudPercent     := 0;
  2466     cTemplateFilter     := 0;
  2467     cTemplateFilter     := 0;
  2467     cMapGen             := 0;   // MAPGEN_REGULAR
  2468     cMapGen             := 0;   // MAPGEN_REGULAR
  2468     cMazeSize           := 0;
       
  2469     cHedgehogTurnTime   := 45000;
  2469     cHedgehogTurnTime   := 45000;
  2470     cMinesTime          := 3000;
  2470     cMinesTime          := 3000;
  2471     cMaxAIThinkTime     := 9000;
  2471     cMaxAIThinkTime     := 9000;
  2472     cCloudsNumber       := 9;
  2472     cCloudsNumber       := 9;
  2473     cSDCloudsNumber     := 9;
  2473     cSDCloudsNumber     := 9;
  2503     isSpeed         := false;
  2503     isSpeed         := false;
  2504     fastUntilLag    := false;
  2504     fastUntilLag    := false;
  2505     isFirstFrame    := true;
  2505     isFirstFrame    := true;
  2506     isSEBackup      := true;
  2506     isSEBackup      := true;
  2507     autoCameraOn    := true;
  2507     autoCameraOn    := true;
       
  2508     cScriptName     := '';
  2508     cSeed           := '';
  2509     cSeed           := '';
  2509     cVolumeDelta    := 0;
  2510     cVolumeDelta    := 0;
  2510     cHasFocus       := true;
  2511     cHasFocus       := true;
  2511     cInactDelay     := 100;
  2512     cInactDelay     := 100;
  2512     ReadyTimeLeft   := 0;
  2513     ReadyTimeLeft   := 0;
  2553     cInitVolume     := 100;
  2554     cInitVolume     := 100;
  2554     cTimerInterval  := 8;
  2555     cTimerInterval  := 8;
  2555     PathPrefix      := './';
  2556     PathPrefix      := './';
  2556     UserPathPrefix  := './';
  2557     UserPathPrefix  := './';
  2557     cShowFPS        := false;
  2558     cShowFPS        := false;
       
  2559     cFlattenFlakes  := false;
       
  2560     cFlattenClouds  := false;
  2558     cAltDamage      := true;
  2561     cAltDamage      := true;
  2559     cReducedQuality := rqNone;
  2562     cReducedQuality := rqNone;
  2560     UserNick        := '';
  2563     UserNick        := '';
  2561     recordFileName  := '';
  2564     recordFileName  := '';
       
  2565     cScriptName     := '';
  2562     cReadyDelay     := 5000;
  2566     cReadyDelay     := 5000;
  2563     cStereoMode     := smNone;
  2567     cStereoMode     := smNone;
  2564 end;
  2568 end;
  2565 
  2569 
  2566 end.
  2570 end.