Ignore:
Timestamp:
03/15/05 15:21:22 (20 years ago)
Author:
gametools
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/OcclusionCullingSceneManager/src/OgreOcclusionCullingSceneManagerDll.cpp

    r12 r16  
    2626#include "OgreOcclusionCullingSceneManager.h" 
    2727#include "OgreRoot.h" 
    28 //#include "windows.h" 
     28#include <windows.h> 
    2929 
    3030namespace Ogre { 
     
    3636        // Create new scene manager 
    3737        occlusionPlugin = new OcclusionCullingSceneManager(); 
     38                 
     39                // Register 
     40        Root::getSingleton().setSceneManager(ST_INTERIOR, occlusionPlugin); 
     41                //Root::getSingleton().setSceneManager(ST_GENERIC, occlusionPlugin); 
    3842 
    39         // Register 
    40         Root::getSingleton().setSceneManager(ST_INTERIOR, occlusionPlugin); 
    41                 //Root::getSingleton().setSceneManager(ST_GENERIC, bspPlugin); 
    42                 //printf("registered my plugin!!\n"); 
    43                 //MessageBox( NULL, "myplugin", "this is my plugin", MB_OK | MB_ICONERROR | MB_TASKMODAL); 
     43                MessageBox( NULL, "myplugin registered", "this is my plugin", MB_OK | MB_ICONERROR | MB_TASKMODAL); 
    4444    } 
    4545    extern "C" void dllStopPlugin(void) 
Note: See TracChangeset for help on using the changeset viewer.