comparison engine/core/controller/engine.i @ 650:51bbda7676f0

* Fixed some more integer definitions * All vars containing bits per pixel should now be uint16_t
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Thu, 14 Oct 2010 15:32:09 +0000
parents 6e2151325017
children 01acc9fc35ea
comparison
equal deleted inserted replaced
649:b9c132cb6ea4 650:51bbda7676f0
45 class EngineSettings { 45 class EngineSettings {
46 public: 46 public:
47 ~EngineSettings(); 47 ~EngineSettings();
48 void validate() const; 48 void validate() const;
49 void setBitsPerPixel(uint8_t bitsperpixel); 49 void setBitsPerPixel(uint8_t bitsperpixel);
50 uint8_t getBitsPerPixel() const; 50 uint16_t getBitsPerPixel() const;
51 std::vector<uint8_t> getPossibleBitsPerPixel() const; 51 std::vector<uint16_t> getPossibleBitsPerPixel() const;
52 std::vector<std::pair<uint16_t, uint16_t> > getPossibleResolutions() const; 52 std::vector<std::pair<uint16_t, uint16_t> > getPossibleResolutions() const;
53 void setFullScreen(bool fullscreen); 53 void setFullScreen(bool fullscreen);
54 bool isFullScreen() const; 54 bool isFullScreen() const;
55 void setInitialVolume(float volume); 55 void setInitialVolume(float volume);
56 float getInitialVolume() const; 56 float getInitialVolume() const;