Compare commits

..

No commits in common. 'add-toggle-free-look-ah' and 'main/gingo-test' have entirely different histories.

@ -844,20 +844,6 @@ protected:
}; };
REGISTER_ACTION_HANDLER( CHandlerContextFreeLook, "context_free_look"); REGISTER_ACTION_HANDLER( CHandlerContextFreeLook, "context_free_look");
// ***************************************************************************
class CHandlerToggleFreeLook : public IActionHandler
{
public:
void execute(CCtrlBase * /* pCaller */, const std::string & /* sParams */)
{
if (UserControls.getFreeLook())
UserControls.stopFreeLook();
else
UserControls.startFreeLook();
}
};
REGISTER_ACTION_HANDLER( CHandlerToggleFreeLook, "toggle_free_look");
// *************************************************************************** // ***************************************************************************
// GCM Move // GCM Move
// *************************************************************************** // ***************************************************************************

@ -177,8 +177,6 @@ public:
/// Stop Free Look (can be called multiple times if needed). Additionaly, the mouse/pointer is restored /// Stop Free Look (can be called multiple times if needed). Additionaly, the mouse/pointer is restored
void stopFreeLook(); void stopFreeLook();
bool getFreeLook() const { return _FreeLook; }
/// Is the camera inside the character. /// Is the camera inside the character.
bool isInternalView() {return _InternalView;} bool isInternalView() {return _InternalView;}

Loading…
Cancel
Save