as always had forgotten to add the new files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13364 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
13
src/states_screens/offline_kart_selection.cpp
Normal file
13
src/states_screens/offline_kart_selection.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include "states_screens/offline_kart_selection.hpp"
|
||||
|
||||
DEFINE_SCREEN_SINGLETON( OfflineKartSelectionScreen );
|
||||
|
||||
OfflineKartSelectionScreen::OfflineKartSelectionScreen() : KartSelectionScreen()
|
||||
{
|
||||
KartSelectionScreen::m_instance_ptr = this;
|
||||
}
|
||||
|
||||
OfflineKartSelectionScreen::~OfflineKartSelectionScreen()
|
||||
{
|
||||
//dtor
|
||||
}
|
||||
20
src/states_screens/offline_kart_selection.hpp
Normal file
20
src/states_screens/offline_kart_selection.hpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef OFFLINE_KART_SELECTION_HPP
|
||||
#define OFFLINE_KART_SELECTION_HPP
|
||||
|
||||
#include "states_screens/kart_selection.hpp"
|
||||
#include "guiengine/screen.hpp"
|
||||
|
||||
class OfflineKartSelectionScreen : public KartSelectionScreen, public GUIEngine::ScreenSingleton<OfflineKartSelectionScreen>
|
||||
{
|
||||
friend class GUIEngine::ScreenSingleton<OfflineKartSelectionScreen>;
|
||||
protected:
|
||||
OfflineKartSelectionScreen();
|
||||
virtual ~OfflineKartSelectionScreen();
|
||||
|
||||
public:
|
||||
static bool isRunning() { return singleton!=NULL; }
|
||||
|
||||
// we do not override anything, this class is just there to have a singleton
|
||||
};
|
||||
|
||||
#endif // OFFLINE_KART_SELECTION_HPP
|
||||
Reference in New Issue
Block a user