Changes between Initial Version and Version 1 of ManualPage


Ignore:
Timestamp:
09/27/07 00:33:51 (17 years ago)
Author:
art
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ManualPage

    v1 v1  
     1= Documentation = 
     2 
     3== Documentation is in progress == 
     4 
     5== Getting started == 
     6 
     7A following code snippet shows you how to start working with the engine. It will initialize the engine singleton and setup a basic logging capabilities.  
     8 
     9{{{ 
     10 
     11#include <nrEngine/nrEngine.h> 
     12 
     13void main() 
     14{ 
     15    // initialize logging 
     16    Engine::instance()->initializeLog("log/"); 
     17    Engine::sLog()->setLevel(Log::LL_WARNING); 
     18 
     19    // initialiye essential parts of the engine 
     20    Engine::instance()->initializeEngine(); 
     21 
     22 
     23    .... 
     24 
     25 
     26    // release the engine and free memory 
     27    Engine::release(); 
     28} 
     29 
     30 
     31}}}