forked from teamnwah/openmw-tes3coop
MSVC build compliance:
- static const float member is not ISO - callback do not match DLL signature
This commit is contained in:
parent
7354d1eccb
commit
fc3a3fc173
2 changed files with 6 additions and 6 deletions
|
@ -16,10 +16,10 @@ namespace MWGui
|
||||||
SettingsWindow(WindowManager& parWindowManager);
|
SettingsWindow(WindowManager& parWindowManager);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static const float sFovMin = 30;
|
static int const sFovMin = 30;
|
||||||
static const float sFovMax = 140;
|
static int const sFovMax = 140;
|
||||||
static const float sViewDistMin = 2000;
|
static int const sViewDistMin = 2000;
|
||||||
static const float sViewDistMax = 5600;
|
static int const sViewDistMax = 5600;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
MyGUI::Button* mOkButton;
|
MyGUI::Button* mOkButton;
|
||||||
|
|
|
@ -41,8 +41,8 @@ class OgreFile : public audiere::File
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t refs;
|
size_t refs;
|
||||||
virtual void ref() { ++refs; }
|
ADR_METHOD(void) ref() { ++refs; }
|
||||||
virtual void unref()
|
ADR_METHOD(void) unref()
|
||||||
{
|
{
|
||||||
if(--refs == 0)
|
if(--refs == 0)
|
||||||
delete this;
|
delete this;
|
||||||
|
|
Loading…
Reference in a new issue