|
Nestopia Core API | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Base
|
+--Nes::Api::Rewinder
Game rewinder interface.
| Inner Classes, Typedefs, and Enums | |
enum |
Nes::Api::Rewinder::Direction
Direction. |
enum |
Nes::Api::Rewinder::State
Rewinder state. |
typedef |
Nes::Api::Rewinder::StateCallback
Rewinder state callback prototype. |
| Field Summary | |
static Nes::Api::Rewinder::StateCaller |
stateCallback
Rewinder state callback manager. |
| Constructor Summary | |
Rewinder( T& instance )
Interface constructor. |
|
| Method Summary | |
Result |
Enable( bool state = true )
Enables rewinder. |
void |
EnableSound( bool state = true )
Enables backward sound. |
Nes::Api::Rewinder::Direction |
GetDirection() const
Returns the current direction. |
bool |
IsEnabled() const
Checks if rewinder is enabled. |
bool |
IsSoundEnabled() const
Checks if backward sound is enabled. |
void |
Reset()
Resets rewinder. |
Result |
SetDirection( Nes::Api::Rewinder::Direction direction )
Sets direction. |
| Field Detail |
public static Nes::Api::Rewinder::StateCaller stateCallback;
| Constructor Detail |
public Rewinder( T& instance );
instance - emulator instance| Method Detail |
public Result Enable( bool state = true ) throw();
state - true to enablepublic void EnableSound( bool state = true ) throw();
state - true to enablepublic Nes::Api::Rewinder::Direction GetDirection() const throw();
public bool IsEnabled() const throw();
public bool IsSoundEnabled() const throw();
public void Reset() throw();
public Result SetDirection( Nes::Api::Rewinder::Direction direction ) throw();
direction - direction, FORWARD or BACKWARD
|
Nestopia Core API | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||