mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-13 23:15:09 +01:00
616b1bdf4c
- fix booting wii discs when starting without a HDD (channel mode) - add parental control option to block priiloader override on return to system menu - add prompt asking for downloading new language files when trying to update and no language files exist yet - reduced amount of checks for inserted disc (now every 100ms) - fixed booting gamecube games (datatype bug for mount method) - fix winnertag for gamecube games - add per game nand emu path setting
33 lines
592 B
C++
33 lines
592 B
C++
#ifndef _GUIDISCCOVER_H_
|
|
#define _GUIDISCCOVER_H_
|
|
|
|
#include "gui.h"
|
|
|
|
class GuiDiskCover: public GuiImage
|
|
{
|
|
public:
|
|
GuiDiskCover();
|
|
GuiDiskCover(GuiImageData * img);
|
|
virtual ~GuiDiskCover();
|
|
void SetBeta(f32 beta);
|
|
void SetBetaRotateEffect(f32 beta, u16 Step);
|
|
bool GetBetaRotateEffect();
|
|
|
|
void SetSpin(bool Up) { spin_up = Up; }
|
|
void SetState(int s, int c = -1);
|
|
void Draw();
|
|
private:
|
|
f32 deg_beta;
|
|
f32 eff_beta;
|
|
u16 eff_step;
|
|
|
|
// f32 spin_angle;
|
|
f32 spin_speedup;
|
|
int PosZ;
|
|
int Distance;
|
|
f32 OldDegBeta;
|
|
bool spin_up;
|
|
};
|
|
|
|
#endif /* _GUIDISCCOVER_H_ */
|