www.pudn.com > TestForNetwonOgre.rar > TestForNetwonOgre.h


/* 
----------------------------------------------------------------------------- 
Filename:    TestForNetwonOgre.h 
----------------------------------------------------------------------------- 
 
This source file is generated by the Ogre AppWizard. 
 
Check out: http://conglomerate.berlios.de/wiki/doku.php?id=ogrewizards 
 
Based on the Example Framework for OGRE 
(Object-oriented Graphics Rendering Engine) 
 
Copyright (c) 2000-2007 The OGRE Team 
For the latest info, see http://www.ogre3d.org/ 
 
You may use this sample code for anything you like, it is not covered by the 
LGPL like the rest of the OGRE engine. 
----------------------------------------------------------------------------- 
*/ 
#ifndef __TestForNetwonOgre_h_ 
#define __TestForNetwonOgre_h_ 
 
#include "BaseApplication.h" 
#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32 
#include "../scripts/res/resource.h" 
#endif 
 
#include "OgreNewt.h" 
 
class TestForNetwonOgreApp : public BaseApplication 
{ 
public: 
	TestForNetwonOgreApp(void); 
	virtual ~TestForNetwonOgreApp(void); 
	void ForceCallBack(OgreNewt::Body* body); 
	bool quit(const CEGUI::EventArgs &e); 
	virtual bool frameStarted(const FrameEvent& evt); 
 
protected: 
	virtual void createScene(void); 
	virtual void createFrameListener(void); 
private: 
	OgreNewt::World* m_World; 
	Ogre::FrameListener* mNewtonListener; 
	BOOL mContinue; 
	OgreNewt::Body* MoveBody; 
}; 
 
 
#endif // #ifndef __TestForNetwonOgre_h_