An OpenMW mod that lets you play the whole Elder Scrolls III: Morrowind as a top-down isometric game — with full online co-op or MMO modes.
C++
#include "controllers.hpp"
#include <MyGUI_InputManager.h>
#include <MyGUI_Widget.h>
namespace MWGui
{
namespace Controllers
{
void ControllerFollowMouse::prepareItem(MyGUI::Widget* widget) {}
bool ControllerFollowMouse::addTime(MyGUI::Widget* widget, float time)
{
widget->setPosition(MyGUI::InputManager::getInstance().getMousePosition());
return true;
}
}
}