engine/include/SalmonEngineIos.h
2013-02-06 20:37:32 +00:00

47 lines
902 B
C++

#ifndef SALMON_ENGINE_ANDROID_H_INCLUDED
#define SALMON_ENGINE_ANDROID_H_INCLUDED
/*
This code combines all headers for Salmon engine into one header file
*/
#include "include/SalmonEngineInterface.h"
namespace SE
{
extern TIosConsole* Console;
extern TSalmonRendererIos* Renderer;
extern TResourceManager* ResourceManager;
class TApplication : public TApplicationAncestor
{
protected:
public:
};
void CreateEngine();
void DestroyEngine();
extern TApplication* App;
template<typename APPTYPE>
APPTYPE* AppInit(int width, int height)
{
CreateEngine();
APPTYPE* result = new APPTYPE;
App = result;
App->OuterInit(width, height, static_cast<float>(width), static_cast<float>(height));
return result;
}
} //namespace SE
#include "include/GUIManager/WidgetTemplatesImpl.h"
#include "include/Utils/ThreadUtilsImpl.h"
#endif