#include <replay.h>
|
| bool | StartRecording (GekkoConfig config, Frame frame, bool save_state, bool disable_compression) |
| const u8 * | StopRecording (u32 &length) |
| const u8 * | PeekRecording (u32 &length) |
| void | RecordInputs (SyncSystem &sync) |
| void | RecordState (const u8 *state, u32 length, Frame frame) |
| bool | SetChecksumInterval (u32 interval) |
| bool | SetUserData (const u8 *data, u32 length) |
| void | RecordChecksums (StateStorage &storage, Frame up_to) |
| void | RecordChecksum (Frame frame, u32 checksum) |
| bool | WantsChecksum (Frame frame) const |
| bool | NeedsState () |
| StateEntry * | PendingState () |
| bool | LoadReplay (const u8 *replay_data, u32 length) |
| const u8 * | ReplayState () |
| bool | NextReplayInput (u8 *input) |
| bool | RecordedChecksum (Frame frame, u32 &checksum) |
| const u8 * | UserData (u32 &length) const |
| GekkoConfig | Config () |
| bool | IsRecording () const |
| bool | IsReplaying () const |
| void | Reset () |
Definition at line 38 of file replay.h.
◆ Mode
| Enumerator |
|---|
| None | |
| Recording | |
| Replaying | |
Definition at line 82 of file replay.h.
◆ Config()
◆ InputSize()
| u32 Gekko::ReplaySystem::InputSize |
( |
| ) |
const |
|
private |
◆ IsRecording()
| bool Gekko::ReplaySystem::IsRecording |
( |
| ) |
const |
◆ IsReplaying()
| bool Gekko::ReplaySystem::IsReplaying |
( |
| ) |
const |
◆ LoadReplay()
| bool Gekko::ReplaySystem::LoadReplay |
( |
const u8 * | replay_data, |
|
|
u32 | length ) |
◆ NeedsState()
| bool Gekko::ReplaySystem::NeedsState |
( |
| ) |
|
◆ NextReplayInput()
| bool Gekko::ReplaySystem::NextReplayInput |
( |
u8 * | input | ) |
|
◆ PeekRecording()
| const u8 * Gekko::ReplaySystem::PeekRecording |
( |
u32 & | length | ) |
|
◆ PendingState()
◆ RecordChecksum()
| void Gekko::ReplaySystem::RecordChecksum |
( |
Frame | frame, |
|
|
u32 | checksum ) |
◆ RecordChecksums()
◆ RecordedChecksum()
| bool Gekko::ReplaySystem::RecordedChecksum |
( |
Frame | frame, |
|
|
u32 & | checksum ) |
◆ RecordInput()
| void Gekko::ReplaySystem::RecordInput |
( |
Frame | frame, |
|
|
const u8 * | input ) |
|
private |
◆ RecordInputs()
| void Gekko::ReplaySystem::RecordInputs |
( |
SyncSystem & | sync | ) |
|
◆ RecordPendingState()
| void Gekko::ReplaySystem::RecordPendingState |
( |
| ) |
|
|
private |
◆ RecordState()
| void Gekko::ReplaySystem::RecordState |
( |
const u8 * | state, |
|
|
u32 | length, |
|
|
Frame | frame ) |
◆ ReplayState()
| const u8 * Gekko::ReplaySystem::ReplayState |
( |
| ) |
|
◆ Reset()
| void Gekko::ReplaySystem::Reset |
( |
| ) |
|
◆ Serialize()
| const u8 * Gekko::ReplaySystem::Serialize |
( |
u32 & | length | ) |
|
|
private |
◆ SetChecksumInterval()
| bool Gekko::ReplaySystem::SetChecksumInterval |
( |
u32 | interval | ) |
|
◆ SetUserData()
| bool Gekko::ReplaySystem::SetUserData |
( |
const u8 * | data, |
|
|
u32 | length ) |
◆ StartRecording()
| bool Gekko::ReplaySystem::StartRecording |
( |
GekkoConfig | config, |
|
|
Frame | frame, |
|
|
bool | save_state, |
|
|
bool | disable_compression ) |
◆ StopRecording()
| const u8 * Gekko::ReplaySystem::StopRecording |
( |
u32 & | length | ) |
|
◆ UserData()
| const u8 * Gekko::ReplaySystem::UserData |
( |
u32 & | length | ) |
const |
◆ ValidChecksums()
| bool Gekko::ReplaySystem::ValidChecksums |
( |
| ) |
const |
|
private |
◆ WantsChecksum()
| bool Gekko::ReplaySystem::WantsChecksum |
( |
Frame | frame | ) |
const |
◆ _bin_buffer
| std::vector<u8> Gekko::ReplaySystem::_bin_buffer |
|
private |
◆ _current_frame
| Frame Gekko::ReplaySystem::_current_frame = 0 |
|
private |
◆ _last_checksum_frame
◆ _last_recorded_frame
◆ _mode
◆ _needs_state
| bool Gekko::ReplaySystem::_needs_state = false |
|
private |
◆ _next_checksum
| u32 Gekko::ReplaySystem::_next_checksum = 0 |
|
private |
◆ _no_compression
| bool Gekko::ReplaySystem::_no_compression = false |
|
private |
◆ _pending_state
| bool Gekko::ReplaySystem::_pending_state = false |
|
private |
◆ _replay
◆ _start_frame
| Frame Gekko::ReplaySystem::_start_frame = 0 |
|
private |
◆ _state
The documentation for this struct was generated from the following files: