Stop using the do-nothing Path class.

Instead use the newly imported PhysicsFS through a wrapper.
This commit is contained in:
King_DuckZ 2014-02-13 00:01:29 +01:00
parent 993311d151
commit 93634da6fa
13 changed files with 214 additions and 87 deletions

View file

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