- Timestamp:
- 03/15/05 15:21:22 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/OcclusionCullingSceneManager/src/OgreOcclusionCullingSceneManagerDll.cpp
r12 r16 26 26 #include "OgreOcclusionCullingSceneManager.h" 27 27 #include "OgreRoot.h" 28 //#include "windows.h" 28 #include <windows.h> 29 29 30 30 namespace Ogre { … … 36 36 // Create new scene manager 37 37 occlusionPlugin = new OcclusionCullingSceneManager(); 38 39 // Register 40 Root::getSingleton().setSceneManager(ST_INTERIOR, occlusionPlugin); 41 //Root::getSingleton().setSceneManager(ST_GENERIC, occlusionPlugin); 38 42 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); 44 44 } 45 45 extern "C" void dllStopPlugin(void)
Note: See TracChangeset
for help on using the changeset viewer.