engine/include/SalmonEngineIos.h

47 lines
902 B
C
Raw Normal View History

2013-01-19 20:02:34 +00:00
#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:
};
2013-02-05 20:17:58 +00:00
void CreateEngine();
void DestroyEngine();
2013-02-06 20:37:32 +00:00
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;
}
2013-01-19 20:02:34 +00:00
} //namespace SE
2013-01-28 09:51:30 +00:00
#include "include/GUIManager/WidgetTemplatesImpl.h"
2013-02-03 13:13:42 +00:00
#include "include/Utils/ThreadUtilsImpl.h"
2013-01-28 09:51:30 +00:00
2013-01-19 20:02:34 +00:00
#endif