Show nappstate.sh syntax highlighted
//----------------------------------------------------------------------------
// %(appStateNameL)s.h
//
// (C)%(curYear)s %(author)s
//----------------------------------------------------------------------------
#ifndef %(classPrefixU)s_%(appStateNameNoPrefixU)s_H
#define %(classPrefixU)s_%(appStateNameNoPrefixU)s_H
//----------------------------------------------------------------------------
/**
@class %(appStateName)s
@ingroup %(docGroup)s
@brief %(appStateBriefDoc)s
*/
//----------------------------------------------------------------------------
#include "application/napplication.h"
#include "application/nappstate.h"
//----------------------------------------------------------------------------
class %(appStateName)s : public nAppState
{
public:
/// constructor
%(appStateName)s();
/// destructor
virtual ~%(appStateName)s();
/// @name Overrided functions from nAppState
/// @{
virtual void OnStateEnter(const nString &prevState);
virtual void OnRender3D();
virtual void OnRender2D();
virtual void OnFrameBefore();
virtual void OnFrameRendered();
virtual void OnFrame();
/// @}
protected:
matrix44 viewMatrix;
};
//----------------------------------------------------------------------------
#endif // %(classPrefixU)s_%(appStateNameNoPrefixU)s_H
See more files for this project here
Realtime 3D game/visualization engine, written in C++, scriptable through Tcl/Tk, Python and Lua. Supports D3D and OpenGL for rendering, runs under Linux and Windows.
Project homepage:
http://sourceforge.net/projects/nebuladevice
Programming language(s): C,C++,Python
License: other
app.sbld
app.sc
napp.sh
napp_cmds.sc
napp_main.sc
nappstate.sh
nappstate_cmds.sc
nappstate_main.sc