mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 15:41:13 -04:00
resolving conflicts
This commit is contained in:
parent
4f10138a04
commit
7303d595dd
@ -22,7 +22,7 @@ namespace MWBase
|
|||||||
|
|
||||||
virtual ~InputManager() {}
|
virtual ~InputManager() {}
|
||||||
|
|
||||||
virtual void update() = 0;
|
virtual void update(float duration) = 0;
|
||||||
|
|
||||||
virtual void changeInputMode(bool guiMode) = 0;
|
virtual void changeInputMode(bool guiMode) = 0;
|
||||||
|
|
||||||
|
@ -450,7 +450,7 @@ private:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void toggleControlSwitch(std::string sw, bool value)
|
void toggleControlSwitch(const std::string &sw, bool value)
|
||||||
{
|
{
|
||||||
if (mControlSwitch[sw] == value) {
|
if (mControlSwitch[sw] == value) {
|
||||||
return;
|
return;
|
||||||
@ -472,7 +472,7 @@ private:
|
|||||||
mControlSwitch[sw] = value;
|
mControlSwitch[sw] = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool getControlSwitch(std::string sw)
|
bool getControlSwitch(const std::string &sw)
|
||||||
{
|
{
|
||||||
return mControlSwitch[sw];
|
return mControlSwitch[sw];
|
||||||
}
|
}
|
||||||
@ -536,7 +536,7 @@ private:
|
|||||||
impl->toggleControlSwitch(sw, value);
|
impl->toggleControlSwitch(sw, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool MWInputManager::getControlSwitch(std::string sw)
|
bool MWInputManager::getControlSwitch(const std::string &sw)
|
||||||
{
|
{
|
||||||
return impl->getControlSwitch(sw);
|
return impl->getControlSwitch(sw);
|
||||||
}
|
}
|
||||||
|
@ -60,8 +60,8 @@ namespace MWInput
|
|||||||
|
|
||||||
virtual void setDragDrop(bool dragDrop);
|
virtual void setDragDrop(bool dragDrop);
|
||||||
|
|
||||||
void toggleControlSwitch(std::string sw, bool value);
|
void toggleControlSwitch(const std::string &sw, bool value);
|
||||||
bool getControlSwitch(std::string sw);
|
bool getControlSwitch(const std::string &sw);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user