forked from teamnwah/openmw-tes3coop
resolving conflicts
This commit is contained in:
parent
4f10138a04
commit
7303d595dd
3 changed files with 6 additions and 6 deletions
|
@ -22,7 +22,7 @@ namespace MWBase
|
|||
|
||||
virtual ~InputManager() {}
|
||||
|
||||
virtual void update() = 0;
|
||||
virtual void update(float duration) = 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) {
|
||||
return;
|
||||
|
@ -472,7 +472,7 @@ private:
|
|||
mControlSwitch[sw] = value;
|
||||
}
|
||||
|
||||
bool getControlSwitch(std::string sw)
|
||||
bool getControlSwitch(const std::string &sw)
|
||||
{
|
||||
return mControlSwitch[sw];
|
||||
}
|
||||
|
@ -536,7 +536,7 @@ private:
|
|||
impl->toggleControlSwitch(sw, value);
|
||||
}
|
||||
|
||||
bool MWInputManager::getControlSwitch(std::string sw)
|
||||
bool MWInputManager::getControlSwitch(const std::string &sw)
|
||||
{
|
||||
return impl->getControlSwitch(sw);
|
||||
}
|
||||
|
|
|
@ -60,8 +60,8 @@ namespace MWInput
|
|||
|
||||
virtual void setDragDrop(bool dragDrop);
|
||||
|
||||
void toggleControlSwitch(std::string sw, bool value);
|
||||
bool getControlSwitch(std::string sw);
|
||||
void toggleControlSwitch(const std::string &sw, bool value);
|
||||
bool getControlSwitch(const std::string &sw);
|
||||
};
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue