Mercurial > fife-parpg
comparison engine/core/controller/engine.cpp @ 653:01acc9fc35ea
* Moved getCurrentScreenMode() to the renderbackend as renderbackend is what initializes the screen.
* Updated the Color masks to follow the integer standards
* Added some new SDL modes (HW Surface and double buffer) to check for in DeviceCaps.
* RenderBackend now saves the actual flags used to initialize the screen.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Fri, 15 Oct 2010 18:54:34 +0000 |
parents | da9c4cfe8f8e |
children | 5d6b1820b953 |
comparison
equal
deleted
inserted
replaced
652:da9c4cfe8f8e | 653:01acc9fc35ea |
---|---|
129 | 129 |
130 const DeviceCaps& Engine::getDeviceCaps() const { | 130 const DeviceCaps& Engine::getDeviceCaps() const { |
131 return m_devcaps; | 131 return m_devcaps; |
132 } | 132 } |
133 | 133 |
134 const ScreenMode& Engine::getCurrentScreenMode() const{ | |
135 return m_screenMode; | |
136 } | |
137 | |
138 void Engine::preInit() { | 134 void Engine::preInit() { |
139 m_logmanager = LogManager::instance(); | 135 m_logmanager = LogManager::instance(); |
140 | 136 |
141 FL_LOG(_log, "================== Engine pre-init start ================="); | 137 FL_LOG(_log, "================== Engine pre-init start ================="); |
142 m_timemanager = new TimeManager(); | 138 m_timemanager = new TimeManager(); |