19#ifndef HEADER_REPLAY_BASE_HPP
20#define HEADER_REPLAY_BASE_HPP
22#include "LinearMath/btTransform.h"
23#include "utils/no_copy.hpp"
101 FILE *
openReplayFile(
bool writeable,
bool full_path =
false,
int replay_file_number=1);
A ghost kart.
Definition: ghost_kart.hpp:38
Utility class, you can inherit from this class to disallow the assignment operator and copy construct...
Definition: no_copy.hpp:26
Definition: replay_base.hpp:33
unsigned int getCurrentReplayVersion() const
Returns the version number of the replay file recorderd by this executable.
Definition: replay_base.hpp:108
FILE * openReplayFile(bool writeable, bool full_path=false, int replay_file_number=1)
Opens a replay file which is determined by sub classes.
Definition: replay_base.cpp:33
virtual const std::string & getReplayFilename(int replay_file_number=1) const =0
Returns the filename that was opened.
unsigned int getMinSupportedReplayVersion() const
This is used to check that a loaded replay file can still be understood by this executable.
Definition: replay_base.hpp:113
Definition: replay_base.hpp:63
int m_item_amount
The number of items at a certain time.
Definition: replay_base.hpp:73
int m_special_value
Used to store mode-specific values : eggs in egg-hunt, number of lives in battle-mode.
Definition: replay_base.hpp:78
int m_item_type
The type of item at a certain time.
Definition: replay_base.hpp:75
float m_nitro_amount
The nitro amount at a certain time.
Definition: replay_base.hpp:71
int m_attachment
The attachment.
Definition: replay_base.hpp:69
Records all other events.
Definition: replay_base.hpp:85
bool m_red_skidding
Kart skidding showing red flame or not.
Definition: replay_base.hpp:95
int m_nitro_usage
Nitro usage for the kart recorded.
Definition: replay_base.hpp:89
bool m_jumping
True if the kart recorded is jumping.
Definition: replay_base.hpp:97
float m_distance
distance on track for the kart recorded.
Definition: replay_base.hpp:87
bool m_zipper_usage
Zipper usage for the kart recorded.
Definition: replay_base.hpp:91
int m_skidding_effect
Skidding effect for the kart recorded.
Definition: replay_base.hpp:93
Definition: replay_base.hpp:50
float m_suspension_length[4]
The suspension length of 4 wheels at a certain time.
Definition: replay_base.hpp:56
float m_speed
The speed at a certain time.
Definition: replay_base.hpp:52
int m_skidding_state
The skidding state.
Definition: replay_base.hpp:58
float m_steer
The steering at a certain time.
Definition: replay_base.hpp:54