hedgewars/uVariables.pas
changeset 4371 ae172b2b03ed
parent 4370 d1d5c1a57a50
child 4372 3836973380b9
equal deleted inserted replaced
4370:d1d5c1a57a50 4371:ae172b2b03ed
  2036 {$IFDEF COUNTTICKS}
  2036 {$IFDEF COUNTTICKS}
  2037     cntTicks: LongWord;
  2037     cntTicks: LongWord;
  2038 {$ENDIF}
  2038 {$ENDIF}
  2039     cOffsetY: LongInt;
  2039     cOffsetY: LongInt;
  2040 
  2040 
       
  2041     PixelFormat: PSDL_PixelFormat;
       
  2042     SDLPrimSurface: PSDL_Surface;
       
  2043     PauseTexture,
       
  2044     SyncTexture,
       
  2045     ConfirmTexture: PTexture;
       
  2046     cScaleFactor: GLfloat;
       
  2047     SupportNPOTT: Boolean;
       
  2048     Step: LongInt;
       
  2049     squaresize : LongInt;
       
  2050     numsquares : LongInt;
       
  2051     ProgrTex: PTexture;
       
  2052     MissionIcons: PSDL_Surface;
       
  2053     ropeIconTex: PTexture;
       
  2054     rotationQt: GLfloat;
       
  2055 
       
  2056 
       
  2057     VisualGearsList: PVisualGear;
       
  2058     vobFrameTicks, vobFramesCount, vobCount: Longword;
       
  2059     vobVelocity, vobFallSpeed: LongInt;
       
  2060 
       
  2061 
       
  2062     hideAmmoMenu: boolean;
       
  2063     wheelUp: boolean;
       
  2064     wheelDown: boolean;
       
  2065 
       
  2066     ControllerNumControllers: Integer;
       
  2067     ControllerEnabled: Integer;
       
  2068     ControllerNumAxes: array[0..5] of Integer;
       
  2069     //ControllerNumBalls: array[0..5] of Integer;
       
  2070     ControllerNumHats: array[0..5] of Integer;
       
  2071     ControllerNumButtons: array[0..5] of Integer;
       
  2072     ControllerAxes: array[0..5] of array[0..19] of Integer;
       
  2073     //ControllerBalls: array[0..5] of array[0..19] of array[0..1] of Integer;
       
  2074     ControllerHats: array[0..5] of array[0..19] of Byte;
       
  2075     ControllerButtons: array[0..5] of array[0..19] of Byte;
       
  2076 
       
  2077     DefaultBinds, CurrentBinds: TBinds;
       
  2078 
       
  2079     coeff: LongInt;
       
  2080 {$IFDEF HWLIBRARY}
       
  2081     leftClick: boolean;
       
  2082     middleClick: boolean;
       
  2083     rightClick: boolean;
       
  2084 
       
  2085     upKey: boolean;
       
  2086     downKey: boolean;
       
  2087     rightKey: boolean;
       
  2088     leftKey: boolean;
       
  2089     preciseKey: boolean;
       
  2090 
       
  2091     backspaceKey: boolean;
       
  2092     spaceKey: boolean;
       
  2093     enterKey: boolean;
       
  2094     tabKey: boolean;
       
  2095 
       
  2096     chatAction: boolean;
       
  2097     pauseAction: boolean;
       
  2098 {$ENDIF}
       
  2099 
  2041 procedure initModule;
  2100 procedure initModule;
  2042 procedure freeModule;
  2101 procedure freeModule;
  2043 
  2102 
  2044 implementation
  2103 implementation
  2045 
  2104