stk-code_catmod/src/auto_kart.hpp
hikerstk 3e6a0cf5ab 1) Removed race_setup and race_mode data structures. All this
information is now only managed by the race_manager, no
   more in-between objects to transfer information along.
2) The scores for grand prix are now defined in the stk_config.dat
   file (10, 8, 6, 5, 4, .., 1, 0, 0) points
3) Bugfix: unlock information wasn't saved anymore. Added specific
   saving after unlocking, plus re-inserted the 'generic' save
   at the end of STK again.
4) bugfix/work around: Visual Studio complains about incompatible
   iterators in sdldrv - apparently caused by using erase, and
   then keep on using the iterator.
5) Fixed bug when running a race in a GP again (scores/times
   were added each time).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1681 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-09 13:52:48 +00:00

40 lines
1.3 KiB
C++

// $Id$
//
// SuperTuxKart - a fun racing game with go-kart
// Copyright (C) 2004-2005 Steve Baker <sjbaker1@airmail.net>
// Copyright (C) 2006 Eduardo Hernandez Munoz, Steve Baker
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifndef HEADER_AUTOKART_H
#define HEADER_AUTOKART_H
#include "kart.hpp"
#include "kart_properties.hpp"
class AutoKart : public Kart
{
public:
AutoKart(const std::string& kart_name, int position,
sgCoord init_pos) :
Kart(kart_name, position, init_pos) { Kart::reset(); }
int isPlayerKart() const {return 0;}
};
#endif
/* EOF */