19 #ifndef HEADER_REPLAY_BASE_HPP 20 #define HEADER_REPLAY_BASE_HPP 22 #include "LinearMath/btTransform.h" 23 #include "utils/no_copy.hpp" 56 float m_suspension_length[4];
101 FILE *
openReplayFile(
bool writeable,
bool full_path =
false,
int replay_file_number=1);
104 virtual const std::string&
getReplayFilename(
int replay_file_number = 1)
const = 0;
float m_nitro_amount
The nitro amount at a certain time.
Definition: replay_base.hpp:71
int m_item_amount
The number of items at a certain time.
Definition: replay_base.hpp:73
Definition: replay_base.hpp:62
int m_attachment
The attachment.
Definition: replay_base.hpp:69
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
virtual const std::string & getReplayFilename(int replay_file_number=1) const =0
Returns the filename that was opened.
int m_item_type
The type of item at a certain time.
Definition: replay_base.hpp:75
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
int m_skidding_effect
Skidding effect for the kart recorded.
Definition: replay_base.hpp:93
bool m_zipper_usage
Zipper usage for the kart recorded.
Definition: replay_base.hpp:91
bool m_red_skidding
Kart skidding showing red flame or not.
Definition: replay_base.hpp:95
Records all other events.
Definition: replay_base.hpp:84
Utility class, you can inherit from this class to disallow the assignment operator and copy construct...
Definition: no_copy.hpp:25
bool m_jumping
True if the kart recorded is jumping.
Definition: replay_base.hpp:97
int m_skidding_state
The skidding state.
Definition: replay_base.hpp:58
A ghost kart.
Definition: ghost_kart.hpp:37
Definition: replay_base.hpp:32
Definition: replay_base.hpp:49
float m_distance
distance on track for the kart recorded.
Definition: replay_base.hpp:87
int m_nitro_usage
Nitro usage for the kart recorded.
Definition: replay_base.hpp:89
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
float m_steer
The steering at a certain time.
Definition: replay_base.hpp:54
float m_speed
The speed at a certain time.
Definition: replay_base.hpp:52
unsigned int getCurrentReplayVersion() const
Returns the version number of the replay file recorderd by this executable.
Definition: replay_base.hpp:108