mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-01 09:11:32 +00:00
Merge pull request #1664
This commit is contained in:
commit
0065f277ef
2 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,7 @@ namespace MWBase
|
||||||
class ResponseCallback
|
class ResponseCallback
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~ResponseCallback() = default;
|
||||||
virtual void addResponse(const std::string& title, const std::string& text) = 0;
|
virtual void addResponse(const std::string& title, const std::string& text) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,8 @@ namespace SceneUtil
|
||||||
class ControllerFunction
|
class ControllerFunction
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~ControllerFunction() = default;
|
||||||
|
|
||||||
virtual float calculate(float input) const = 0;
|
virtual float calculate(float input) const = 0;
|
||||||
|
|
||||||
/// Get the "stop time" of the controller function, typically the maximum of the calculate() function.
|
/// Get the "stop time" of the controller function, typically the maximum of the calculate() function.
|
||||||
|
|
Loading…
Reference in a new issue