mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-20 20:09:41 +00:00
Formatting errors
This commit is contained in:
parent
76e6862c82
commit
69b4a4741f
10 changed files with 2 additions and 18 deletions
|
@ -169,8 +169,6 @@ if(BUILD_VR_OPENXR)
|
|||
target_compile_options(openmw_vr PUBLIC -DUSE_OPENXR -DXR_USE_GRAPHICS_API_OPENGL -DXR_USE_PLATFORM_WIN32)
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
# Sound stuff - here so CMake doesn't stupidly recompile EVERYTHING
|
||||
# when we change the backend.
|
||||
include_directories(
|
||||
|
|
|
@ -544,6 +544,7 @@ void OMW::Engine::prepareEngine (Settings::Manager & settings)
|
|||
gameControllerdb = globaldefault;
|
||||
else
|
||||
gameControllerdb = ""; //if it doesn't exist, pass in an empty string
|
||||
|
||||
std::string myguiResources = (mResDir / "mygui").string();
|
||||
osg::ref_ptr<osg::Group> guiRoot = new osg::Group;
|
||||
guiRoot->setName("GUI Root");
|
||||
|
@ -787,7 +788,6 @@ void OMW::Engine::go()
|
|||
}
|
||||
else
|
||||
{
|
||||
|
||||
mViewer->eventTraversal();
|
||||
mViewer->updateTraversal();
|
||||
|
||||
|
|
|
@ -67,7 +67,6 @@ namespace osgViewer
|
|||
class ScreenCaptureHandler;
|
||||
}
|
||||
|
||||
|
||||
struct SDL_Window;
|
||||
|
||||
namespace OMW
|
||||
|
|
|
@ -99,7 +99,6 @@ namespace MWInput
|
|||
|
||||
virtual bool controlsDisabled() { return mControlsDisabled; }
|
||||
|
||||
|
||||
protected:
|
||||
void convertMousePosForMyGUI(int& x, int& y);
|
||||
|
||||
|
|
|
@ -249,6 +249,7 @@ namespace MWInput
|
|||
{
|
||||
mInputWrapper->warpMouse(static_cast<int>(mGuiCursorX / mInvUiScalingFactor), static_cast<int>(mGuiCursorY / mInvUiScalingFactor));
|
||||
}
|
||||
|
||||
void MouseManager::setMousePosition(int x, int y)
|
||||
{
|
||||
mGuiCursorX = x * mInvUiScalingFactor;
|
||||
|
|
|
@ -1679,7 +1679,6 @@ bool CharacterController::updateWeaponState(CharacterState& idle)
|
|||
animPlaying = mAnimation->getInfo(mCurrentWeapon, &complete);
|
||||
if(mUpperBodyState == UpperCharState_MinAttackToMaxAttack && !isKnockedDown())
|
||||
mAttackStrength = complete;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -897,14 +897,6 @@ namespace MWRender
|
|||
return;
|
||||
}
|
||||
|
||||
|
||||
const bool isPlayer = (mPtr == MWMechanics::getPlayer());
|
||||
|
||||
if (isPlayer)
|
||||
{
|
||||
Log(Debug::Verbose) << "groupname=" << groupname << ", start=" << start << ", stop=" << stop << ", accumRoot=" << mAccumRoot->getName();
|
||||
}
|
||||
|
||||
AnimStateMap::iterator stateiter = mStates.begin();
|
||||
while(stateiter != mStates.end())
|
||||
{
|
||||
|
|
|
@ -110,7 +110,6 @@ namespace MWRender
|
|||
osg::NodePathList nodepaths = trackNode->getParentalNodePaths();
|
||||
if (nodepaths.empty())
|
||||
return osg::Vec3d();
|
||||
|
||||
osg::Matrix worldMat = osg::computeLocalToWorld(nodepaths[0]);
|
||||
|
||||
osg::Vec3d position = worldMat.getTrans();
|
||||
|
@ -132,7 +131,6 @@ namespace MWRender
|
|||
return mCamera;
|
||||
}
|
||||
|
||||
|
||||
void Camera::updateCamera()
|
||||
{
|
||||
updateCamera(mCamera);
|
||||
|
|
|
@ -70,7 +70,6 @@ MipmapCallback::~MipmapCallback()
|
|||
|
||||
}
|
||||
|
||||
|
||||
void MipmapCallback::operator()(osg::RenderInfo& renderInfo) const
|
||||
{
|
||||
auto* gl = renderInfo.getState()->get<osg::GLExtensions>();
|
||||
|
|
|
@ -3086,7 +3086,6 @@ namespace MWWorld
|
|||
float distance = getMaxActivationDistance();
|
||||
osg::Vec3f dest = origin + direction * distance;
|
||||
|
||||
|
||||
MWRender::RayResult result2 = mRendering->castRay(origin, dest, true, true);
|
||||
|
||||
float dist1 = std::numeric_limits<float>::max();
|
||||
|
|
Loading…
Reference in a new issue