Code Search for Developers
 
 
  

napp.sh from The Nebula Device at Krugle


Show napp.sh syntax highlighted

//-----------------------------------------------------------------------------
//  %(classNameL)s.h
//
//  (C)%(curYear)s %(author)s
//-----------------------------------------------------------------------------
#ifndef %(classPrefixU)s_%(classNameNoPrefixU)s_H
#define %(classPrefixU)s_%(classNameNoPrefixU)s_H
//-----------------------------------------------------------------------------
/**
    @class %(className)s
    @ingroup %(docGroup)s
    
    @brief %(appBriefDoc)s
    
*/
#include "application/napplication.h"

class %(appStateName)s;

//-----------------------------------------------------------------------------
class %(className)s : public nApplication
{
public:
    %(className)s();
    virtual ~%(className)s();

    // @name nApplication override functions
    // @{
    virtual bool Open();
    virtual void Close();    
    // @}

protected:
    /// create script server object, override in subclass as needed
    virtual nScriptServer* CreateScriptServer();

protected:
    /// app state
    nRef<%(appStateName)s>    %(appStateObjName)s;

};
//------------------------------------------------------------------------------
#endif // %(classPrefixU)s_%(classNameNoPrefixU)s_H 




See more files for this project here

The Nebula Device

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