include/replay.h File Reference

#include <stdio.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <SDL/SDL.h>
#include <SDL/SDL_image.h>
#include <string>
#include <iostream>
#include <fstream>
#include <cmath>
#include <cassert>
#include <vamos/geometry/Three_Vector.h>
#include <vamos/geometry/Three_Matrix.h>
#include "utility.h"
#include "timer.h"
#include "gamestate.h"
#include "globals.h"

Include dependency graph for replay.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  REPLAY_PACKET
struct  FUNCTION_MEMORY
struct  FUNCTION_MEMORY_SYNC
class  CARSTATE
class  REPLAY

Defines

#define MAX_PACKETS   83000
#define FUNCTION_CHARS   50
#define MAX_STATES   3600
#define REPLAY_VERSION   "VDRIFTREPLAYV06"
#define CHAR_FUNCNUM   0
#define CHAR_STATE   1
#define CHARDATA_SIZE   2
#define FUNCTION_NETCONTROL   255
#define FUNCTION_STATEINFO   254
#define FUNCTION_NOOP   253
#define FUNCTION_PACKET_ARRAY   252
#define STATE_FREQUENCY   1.0
#define DBG_REPLAY   false
#define _REPLAY_H


Define Documentation

#define _REPLAY_H
 

Definition at line 216 of file replay.h.

#define CHAR_FUNCNUM   0
 

Definition at line 62 of file replay.h.

Referenced by REPLAY::Get_CharFuncnum(), REPLAY::IncrementFrame(), MULTIPLAY::QueuePacket(), and MULTIPLAY::UpdateFuncmem().

#define CHAR_STATE   1
 

Definition at line 63 of file replay.h.

Referenced by REPLAY::Get_CharState(), REPLAY::IncrementFrame(), MULTIPLAY::QueuePacket(), and MULTIPLAY::UpdateFuncmem().

#define CHARDATA_SIZE   2
 

Definition at line 64 of file replay.h.

#define DBG_REPLAY   false
 

Definition at line 74 of file replay.h.

Referenced by REPLAY::GetNextState(), and REPLAY::PlayProcessFrame().

#define FUNCTION_CHARS   50
 

Definition at line 56 of file replay.h.

Referenced by MULTIPLAY::ExchangeWorldInfo(), REPLAY::Get_FuncChars(), REPLAY::PlayStart(), and REPLAY::WriteHeader().

#define FUNCTION_NETCONTROL   255
 

Definition at line 66 of file replay.h.

Referenced by REPLAY::Get_FuncNetControl().

#define FUNCTION_NOOP   253
 

Definition at line 68 of file replay.h.

Referenced by REPLAY::Get_FuncNoop().

#define FUNCTION_PACKET_ARRAY   252
 

Definition at line 69 of file replay.h.

Referenced by REPLAY::Get_FuncPacketArray().

#define FUNCTION_STATEINFO   254
 

Definition at line 67 of file replay.h.

Referenced by REPLAY::Get_FuncStateInfo(), and REPLAY::WritePackets().

#define MAX_PACKETS   83000
 

Definition at line 53 of file replay.h.

Referenced by REPLAY::AddRecord(), REPLAY::IncrementFrame(), and REPLAY::Recording().

#define MAX_STATES   3600
 

Definition at line 58 of file replay.h.

Referenced by REPLAY::RememberCarState(), and REPLAY::REPLAY().

#define REPLAY_VERSION   "VDRIFTREPLAYV06"
 

Definition at line 60 of file replay.h.

Referenced by REPLAY::PlayStart(), and REPLAY::WriteHeader().

#define STATE_FREQUENCY   1.0
 

Definition at line 72 of file replay.h.

Referenced by REPLAY::Jump(), MULTIPLAY::ReceiveState(), and MULTIPLAY::SendState().


Generated on Thu Oct 19 04:07:52 2006 by  doxygen 1.4.6