196 ///////////////////////////////////// |
196 ///////////////////////////////////// |
197 //Buttons |
197 //Buttons |
198 {$IFDEF USE_TOUCH_INTERFACE} |
198 {$IFDEF USE_TOUCH_INTERFACE} |
199 buttonScale: GLFloat; |
199 buttonScale: GLFloat; |
200 |
200 |
201 arrowUp, arrowDown, arrowLeft, arrowRight: TOnScreenWidget; |
201 arrowUp, arrowDown, arrowLeft, arrowRight : TOnScreenWidget; |
202 firebutton, backjump, forwardjump: TOnScreenWidget; |
202 firebutton, jumpWidget, AMWidget : TOnScreenWidget; |
203 pauseButton: TOnScreenWidget; |
203 pauseButton : TOnScreenWidget; |
204 {$ENDIF} |
204 {$ENDIF} |
205 const |
205 const |
206 cHHFileName = 'Hedgehog'; |
206 cHHFileName = 'Hedgehog'; |
207 cCHFileName = 'Crosshair'; |
207 cCHFileName = 'Crosshair'; |
208 cThemeCFGFilename = 'theme.cfg'; |
208 cThemeCFGFilename = 'theme.cfg'; |
393 Width: 100; Height: 100; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprArrowDown |
393 Width: 100; Height: 100; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprArrowDown |
394 (FileName: 'arrowLeft'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil; |
394 (FileName: 'arrowLeft'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil; |
395 Width: 100; Height: 100; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprArrowLeft |
395 Width: 100; Height: 100; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprArrowLeft |
396 (FileName: 'arrowRight'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil; |
396 (FileName: 'arrowRight'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil; |
397 Width: 100; Height: 100; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprArrowRight |
397 Width: 100; Height: 100; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprArrowRight |
|
398 (FileName: 'forwardjump'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil; |
|
399 Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprAMWidget |
398 (FileName: 'backjump'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil; |
400 (FileName: 'backjump'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil; |
399 Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprBackjump |
401 Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprJumpWidget |
400 (FileName: 'forwardjump'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil; |
|
401 Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprForwardJump |
|
402 (FileName: 'pause'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil; |
402 (FileName: 'pause'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil; |
403 Width: 120; Height: 100; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprPauseButton |
403 Width: 120; Height: 100; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprPauseButton |
404 {$ENDIF} |
404 {$ENDIF} |
405 (FileName: 'Flake'; Path:ptCurrTheme; AltPath: ptNone; Texture: nil; Surface: nil; |
405 (FileName: 'Flake'; Path:ptCurrTheme; AltPath: ptNone; Texture: nil; Surface: nil; |
406 Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprFlake |
406 Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprFlake |