18#ifndef HEADER_OVERWORLD_HPP
19#define HEADER_OVERWORLD_HPP
23#include "modes/world.hpp"
24#include "utils/aligned_array.hpp"
26#include "LinearMath/btTransform.h"
41 bool m_return_to_garage;
49 virtual void update(
int ticks) OVERRIDE;
52 std::vector<RaceGUIBase::KartIconDisplayInfo> *info) OVERRIDE;
61 virtual const std::string&
62 getIdent() const OVERRIDE {
return IDENT_OVERWORLD; }
73 void scheduleSelectKart() { m_return_to_garage =
true; }
An abstract interface for the actual karts.
Definition: abstract_kart.hpp:62
This is the base class for kart controller - that can be a player or a a robot.
Definition: controller.hpp:46
Definition: overworld.hpp:35
virtual void onMouseClick(int x, int y) OVERRIDE
Called when a mouse click happens.
Definition: overworld.cpp:288
static void enterOverWorld()
Function to simplify the start process.
Definition: overworld.cpp:58
virtual void getKartsDisplayInfo(std::vector< RaceGUIBase::KartIconDisplayInfo > *info) OVERRIDE
This function is not used in the overworld race gui.
Definition: overworld.cpp:210
virtual void createRaceGUI() OVERRIDE
Override from base class.
Definition: overworld.cpp:218
virtual void update(int ticks) OVERRIDE
General update function called once per frame.
Definition: overworld.cpp:117
virtual bool isRaceOver() OVERRIDE
The overworld is not a race per se so it's never over.
Definition: overworld.hpp:58
virtual void onFirePressed(Controller *who) OVERRIDE
Override base class method.
Definition: overworld.cpp:225
virtual const std::string & getIdent() const OVERRIDE
Implement base class method.
Definition: overworld.hpp:62
virtual bool useChecklineRequirements() const OVERRIDE
Override settings from base class.
Definition: overworld.hpp:71
virtual bool raceHasLaps() OVERRIDE
Returns if this race mode has laps.
Definition: overworld.hpp:55
virtual bool shouldDrawTimer() const OVERRIDE
Override base class method.
Definition: overworld.hpp:65
unsigned int getRescuePositionIndex(AbstractKart *kart) OVERRIDE
Finds the starting position which is closest to the kart.
Definition: overworld.cpp:180
base class for all game modes This class is responsible for running the actual race.
Definition: world.hpp:88