#include <input.h>
Definition at line 30 of file input.h.
◆ InputBuffer()
| Gekko::InputBuffer::InputBuffer |
( |
| ) |
|
◆ AddInput()
| void Gekko::InputBuffer::AddInput |
( |
Frame | frame, |
|
|
u8 * | input ) |
◆ AddLocalInput()
| void Gekko::InputBuffer::AddLocalInput |
( |
Frame | frame, |
|
|
u8 * | input ) |
◆ CanPredictInput()
| bool Gekko::InputBuffer::CanPredictInput |
( |
| ) |
|
|
private |
◆ ClearIncorrectFrames()
| void Gekko::InputBuffer::ClearIncorrectFrames |
( |
Frame | clear_limit | ) |
|
◆ GetDelay()
| u8 Gekko::InputBuffer::GetDelay |
( |
| ) |
|
◆ GetIncorrectPredictionFrame()
| Frame Gekko::InputBuffer::GetIncorrectPredictionFrame |
( |
| ) |
|
◆ GetInput()
| std::unique_ptr< Gekko::GameInput > Gekko::InputBuffer::GetInput |
( |
Frame | frame, |
|
|
bool | prediction = false ) |
◆ GetLastReceivedFrame()
| Frame Gekko::InputBuffer::GetLastReceivedFrame |
( |
| ) |
|
◆ HandleInputPrediction()
| bool Gekko::InputBuffer::HandleInputPrediction |
( |
Frame | frame | ) |
|
|
private |
◆ Init()
◆ OverwriteInput()
| void Gekko::InputBuffer::OverwriteInput |
( |
Frame | frame, |
|
|
u8 * | input ) |
◆ PreviousFrame()
| u32 Gekko::InputBuffer::PreviousFrame |
( |
Frame | frame | ) |
|
|
private |
◆ ResetPrediction()
| void Gekko::InputBuffer::ResetPrediction |
( |
| ) |
|
|
private |
◆ SetDelay()
| void Gekko::InputBuffer::SetDelay |
( |
u8 | delay | ) |
|
◆ SetInputPredictionWindow()
| void Gekko::InputBuffer::SetInputPredictionWindow |
( |
u8 | input_window | ) |
|
◆ SetLastReceivedFrame()
| void Gekko::InputBuffer::SetLastReceivedFrame |
( |
Frame | frame | ) |
|
◆ SetRunaheadMode()
| void Gekko::InputBuffer::SetRunaheadMode |
( |
bool | running_ahead | ) |
|
◆ _buff_size
| u32 Gekko::InputBuffer::_buff_size |
|
private |
◆ _empty_input
| std::unique_ptr<u8[]> Gekko::InputBuffer::_empty_input |
|
private |
◆ _first_predicted_input
| Frame Gekko::InputBuffer::_first_predicted_input |
|
private |
◆ _incorrent_predicted_inputs
| std::deque<Frame> Gekko::InputBuffer::_incorrent_predicted_inputs |
|
private |
◆ _input_delay
| u8 Gekko::InputBuffer::_input_delay |
|
private |
◆ _input_prediction_window
| u8 Gekko::InputBuffer::_input_prediction_window |
|
private |
◆ _input_size
| u32 Gekko::InputBuffer::_input_size |
|
private |
◆ _inputs
| std::deque<std::unique_ptr<GameInput> > Gekko::InputBuffer::_inputs |
|
private |
◆ _last_predicted_input
| Frame Gekko::InputBuffer::_last_predicted_input |
|
private |
◆ _last_received_input
| Frame Gekko::InputBuffer::_last_received_input |
|
private |
◆ _running_ahead
| bool Gekko::InputBuffer::_running_ahead |
|
private |
◆ DEFAULT_BUFF_SIZE
| const u32 Gekko::InputBuffer::DEFAULT_BUFF_SIZE = 128 |
|
static |
The documentation for this struct was generated from the following files: