281 |
281 |
282 ///////////////////////////////////// |
282 ///////////////////////////////////// |
283 //Buttons |
283 //Buttons |
284 {$IFDEF USE_TOUCH_INTERFACE} |
284 {$IFDEF USE_TOUCH_INTERFACE} |
285 buttonScale: GLFloat; |
285 buttonScale: GLFloat; |
|
286 bounceButtonPressed: boolean; |
286 |
287 |
287 arrowUp, arrowDown, arrowLeft, arrowRight : TOnScreenWidget; |
288 arrowUp, arrowDown, arrowLeft, arrowRight : TOnScreenWidget; |
288 firebutton, jumpWidget, AMWidget : TOnScreenWidget; |
289 firebutton, jumpWidget, AMWidget : TOnScreenWidget; |
289 pauseButton, utilityWidget : TOnScreenWidget; |
290 pauseButton, utilityWidget : TOnScreenWidget; |
|
291 utilityWidget2 : TOnScreenWidget; |
290 {$ENDIF} |
292 {$ENDIF} |
291 |
293 |
292 |
294 |
293 var |
295 var |
294 // these consts are here because they would cause circular dependencies in uConsts/uTypes |
296 // these consts are here because they would cause circular dependencies in uConsts/uTypes |
485 Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprTimerButton |
487 Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprTimerButton |
486 (FileName: 'targetbutton'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil; |
488 (FileName: 'targetbutton'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil; |
487 Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprTargetButton |
489 Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprTargetButton |
488 (FileName: 'switchbutton'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil; |
490 (FileName: 'switchbutton'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil; |
489 Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprSwitchButton |
491 Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprSwitchButton |
|
492 (FileName: 'bouncebutton'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil; |
|
493 Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprBounceButton |
490 {$ENDIF} |
494 {$ENDIF} |
491 (FileName: 'Flake'; Path:ptCurrTheme; AltPath: ptNone; Texture: nil; Surface: nil; |
495 (FileName: 'Flake'; Path:ptCurrTheme; AltPath: ptNone; Texture: nil; Surface: nil; |
492 Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprFlake |
496 Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprFlake |
493 (FileName: 'amRope'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
497 (FileName: 'amRope'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; |
494 Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandRope |
498 Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandRope |