|
|
@@ -2374,7 +2374,7 @@ Properties:
|
|
|
Methods:
|
|
|
|
|
|
- void SetToggleFullscreen(bool enable)
|
|
|
-- void SetMouseVisible(bool enable)
|
|
|
+- void SetMouseVisible(bool enable, bool suppressEvent = false)
|
|
|
- void SetMouseGrabbed(bool grab)
|
|
|
- void SetMouseMode(MouseMode mode)
|
|
|
- int AddScreenJoystick(XMLFile* layoutFile = 0, XMLFile* styleFile = 0)
|
|
|
@@ -2439,6 +2439,7 @@ Properties:
|
|
|
- unsigned numJoysticks (readonly)
|
|
|
- bool toggleFullscreen (readonly)
|
|
|
- bool screenKeyboardSupport (readonly)
|
|
|
+- MouseMode mouseMode
|
|
|
- bool screenKeyboardVisible
|
|
|
- bool touchEmulation
|
|
|
- bool mouseVisible
|
|
|
@@ -2844,10 +2845,10 @@ Methods:
|
|
|
- bool CreateObject(LuaFile* scriptFile, const String scriptObjectType)
|
|
|
- void SetScriptFile(LuaFile* scriptFile)
|
|
|
- void SetScriptObjectType(const String scriptObjectType)
|
|
|
-- void SubscribeToEvent(const String eventName, const String functionName)
|
|
|
+- void SubscribeToEvent(const String eventName, void* functionOrFunctionName)
|
|
|
- void UnsubscribeFromEvent(const String eventName)
|
|
|
- void UnsubscribeFromAllEvents()
|
|
|
-- void SubscribeToEvent(void* sender, const String eventName, const String functionName)
|
|
|
+- void SubscribeToEvent(void* sender, const String eventName, void* functionOrFunctionName)
|
|
|
- void UnsubscribeFromEvent(void* sender, const String eventName)
|
|
|
- void UnsubscribeFromEvents(void* sender)
|
|
|
- LuaFile* GetScriptFile() const
|
|
|
@@ -7244,11 +7245,11 @@ Properties:
|
|
|
- void PrintLine(const String str, bool error = false)
|
|
|
- int Rand()
|
|
|
- float RandStandardNormal()
|
|
|
+- float Random()
|
|
|
- float Random(float min, float max)
|
|
|
- float Random(float range)
|
|
|
-- float Random()
|
|
|
-- int RandomInt(int range)
|
|
|
- int RandomInt(int min, int max)
|
|
|
+- int RandomInt(int range)
|
|
|
- float RandomNormal(float meanValue, float variance)
|
|
|
- String RemoveTrailingSlash(const String pathName)
|
|
|
- String ReplaceExtension(const String fullPath, const String newExtension)
|
|
|
@@ -7259,8 +7260,8 @@ Properties:
|
|
|
- float Sign(float value)
|
|
|
- float Sin(float angle)
|
|
|
- float SmoothStep(float lhs, float rhs, float t)
|
|
|
-- void SubscribeToEvent(const String eventName, const String functionName)
|
|
|
-- void SubscribeToEvent(void* sender, const String eventName, const String functionName)
|
|
|
+- void SubscribeToEvent(const String eventName, void* functionOrFunctionName)
|
|
|
+- void SubscribeToEvent(void* sender, const String eventName, void* functionOrFunctionName)
|
|
|
- float Tan(float angle)
|
|
|
- bool ToBool(const String source)
|
|
|
- Color ToColor(const String source)
|
|
|
@@ -7282,8 +7283,9 @@ Properties:
|
|
|
- Vector3 ToVector3(const String source)
|
|
|
- Vector4 ToVector4(const String source, bool allowMissingCoords = false)
|
|
|
- void UnsubscribeFromAllEvents()
|
|
|
-- void UnsubscribeFromEvent(const String eventName, const String functionName = String::EMPTY)
|
|
|
-- void UnsubscribeFromEvent(void* sender, const String eventName, const String functionName = String::EMPTY)
|
|
|
+- void UnsubscribeFromEvent(void* sender, const String eventName, void* functionOrFunctionName)
|
|
|
+- void UnsubscribeFromEvent(const String eventName)
|
|
|
+- void UnsubscribeFromEvent(const String eventName, void* functionOrFunctionName)
|
|
|
- void UnsubscribeFromEvents(void* sender)
|
|
|
|
|
|
|