New code, WiP.

New Path, Character and other simple classes, but a renderer is missing so now nothing gets displayed anymore.
This commit is contained in:
King_DuckZ 2014-02-12 00:27:55 +01:00
parent 8b11e76835
commit bcc0937726
13 changed files with 179 additions and 27 deletions

View file

@ -1,6 +1,7 @@
#ifndef id8C7FE975525B4329BFBEAF364D934EAD
#define id8C7FE975525B4329BFBEAF364D934EAD
#include "path.hpp"
#include <memory>
namespace cloonel {
@ -13,13 +14,13 @@ namespace cloonel {
bool WantsToQuit ( void ) const;
protected:
explicit GameBase ( SDLMain* parSdlMain );
GameBase ( SDLMain* parSdlMain, const char* parBasePath );
virtual ~GameBase ( void ) noexcept;
virtual void Prepare ( void ) = 0;
virtual void Destroy ( void ) noexcept = 0;
std::unique_ptr<Texture> LoadTexture ( const char* parPath );
const Path m_path;
private:
virtual void OnRender ( void ) = 0;