Mercurial > fife-parpg
comparison engine/core/controller/enginesettings.h @ 661:e3140f01749d
* Merged the light branch back into trunk.
* Modified the demos so they work with the new loaders and setting.
author | helios2000@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Fri, 05 Nov 2010 15:21:10 +0000 |
parents | 51bbda7676f0 |
children |
comparison
equal
deleted
inserted
replaced
660:b0733d998d0f | 661:e3140f01749d |
---|---|
212 | 212 |
213 void setVideoDriver(const std::string& driver); | 213 void setVideoDriver(const std::string& driver); |
214 | 214 |
215 const std::string& getVideoDriver() const; | 215 const std::string& getVideoDriver() const; |
216 | 216 |
217 /** Sets the light model | |
218 */ | |
219 void setLightingModel(unsigned int lighting); | |
220 | |
221 /** Gets the currently set light model | |
222 */ | |
223 unsigned int getLightingModel() const { | |
224 return m_lighting; | |
225 } | |
226 | |
217 private: | 227 private: |
218 uint8_t m_bitsperpixel; | 228 uint8_t m_bitsperpixel; |
219 bool m_fullscreen; | 229 bool m_fullscreen; |
220 float m_initialvolume; | 230 float m_initialvolume; |
221 std::string m_renderbackend; | 231 std::string m_renderbackend; |
222 bool m_sdlremovefakealpha; | 232 bool m_sdlremovefakealpha; |
223 uint16_t m_screenwidth; | 233 uint16_t m_screenwidth; |
224 uint16_t m_screenheight; | 234 uint16_t m_screenheight; |
225 std::string m_windowtitle; | 235 std::string m_windowtitle; |
226 std::string m_windowicon; | 236 std::string m_windowicon; |
227 | 237 |
228 | 238 |
229 std::string m_defaultfontpath; | 239 std::string m_defaultfontpath; |
230 uint16_t m_defaultfontsize; | 240 uint16_t m_defaultfontsize; |
231 std::string m_defaultfontglyphs; | 241 std::string m_defaultfontglyphs; |
232 bool m_iscolorkeyenabled; | 242 bool m_iscolorkeyenabled; |
233 SDL_Color m_colorkey; | 243 SDL_Color m_colorkey; |
234 std::string m_videodriver; | 244 std::string m_videodriver; |
245 unsigned int m_lighting; | |
235 }; | 246 }; |
236 | 247 |
237 }//FIFE | 248 }//FIFE |
238 | 249 |
239 #endif | 250 #endif |