Back to index

supertuxkart  0.5+dfsg1
replay_base.cpp
Go to the documentation of this file.
00001 //  $Id$
00002 //
00003 //  SuperTuxKart - a fun racing game with go-kart
00004 //  Copyright (C) 2007 Maik Semder <ikework@gmx.de>
00005 //
00006 //  This program is free software; you can redistribute it and/or
00007 //  modify it under the terms of the GNU General Public License
00008 //  as published by the Free Software Foundation; either version 2
00009 //  of the License, or (at your option) any later version.
00010 //
00011 //  This program is distributed in the hope that it will be useful,
00012 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014 //  GNU General Public License for more details.
00015 //
00016 //  You should have received a copy of the GNU General Public License
00017 //  along with this program; if not, write to the Free Software
00018 //  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00019 
00020 #ifdef HAVE_GHOST_REPLAY
00021 
00022 #include "replay_base.hpp"
00023 
00024 
00025 const std::string ReplayBase::REPLAY_FOLDER = "replay";
00026 const std::string ReplayBase::REPLAY_FILE_EXTENSION_HUMAN_READABLE = "rph";
00027 const std::string ReplayBase::REPLAY_FILE_EXTENSION_BINARY = "rpb";
00028 
00029 
00030 ReplayBase::ReplayBase()
00031 : m_ReplayBuffers()
00032 {
00033 }
00034 
00035 ReplayBase::~ReplayBase()
00036 {
00037     destroy();
00038 }
00039 
00040 void ReplayBase::destroy()
00041 {
00042     m_ReplayBuffers.destroy();
00043 }
00044 
00045 
00046 
00047 
00048 #endif // HAVE_GHOST_REPLAY