Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

IVideoManager.h

Go to the documentation of this file.
00001 // mortic - A game engine for the Expanses of Naryan.
00002 // Copyright (C) 2007  Aaron Griffith
00003 // This file is under the LGPL. See mortic.h for more information.
00004 
00006 // __      ___     _            __  __                                        //
00007 // \ \    / (_)   | |          |  \/  |                                       //
00008 //  \ \  / / _  __| | ___  ___ | \  / | __ _ _ __   __ _  __ _  ___ _ __      //
00009 //   \ \/ / | |/ _` |/ _ \/ _ \| |\/| |/ _` | '_ \ / _` |/ _` |/ _ \ '__|     //
00010 //    \  /  | | (_| |  __/ (_) | |  | | (_| | | | | (_| | (_| |  __/ |        //
00011 //     \/   |_|\__,_|\___|\___/|_|  |_|\__,_|_| |_|\__,_|\__, |\___|_|        //
00012 //                                                        __/ |               //
00013 //                                                       |___/                //
00014 // IVideoManager.h - Interface of VideoManager                                //
00016 
00017 #ifndef __IVideoManager_h_INCLUDED__
00018 #define __IVideoManager_h_INCLUDED__
00019 
00020 #include "IRoot.h"
00021 #include "IObject.h"
00022 #include "irrlicht.h"
00023 
00024 #include <string>
00025 
00026 namespace mortic
00027 {
00029     
00042     class IVideoManager : public IObject
00043     {
00044     public:
00046         IVideoManager(IRoot* root) : IObject(root, "VideoManager")
00047         { }
00049         virtual ~IVideoManager()
00050         { }
00051         
00053         
00057         virtual irr::IrrlichtDevice* getDevice() = 0;
00058         
00060         
00064         virtual irr::scene::ISceneManager* getSceneManager() = 0;
00065         
00067         
00071         virtual irr::video::IVideoDriver* getVideoDriver() = 0;
00072         
00074         
00078         virtual void run() = 0;
00079 
00081         
00084         virtual void console(std::string str) = 0;
00085         
00087         
00093         virtual unsigned int getTextSize(std::string txt) = 0;
00094         
00096         
00100         virtual void screenshot(std::string filename) = 0;
00101     };
00102 
00103 }
00104 ; // namespace mortic
00105 #endif // __IVideoManager_h_INCLUDED__

Generated on Sat Dec 30 21:21:59 2006 for mortic by  doxygen 1.4.4