mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-27 01:06:19 +00:00
Merge with hotfix
This commit is contained in:
commit
c02d285b4d
4 changed files with 10 additions and 11 deletions
|
@ -2,7 +2,7 @@
|
||||||
#
|
#
|
||||||
# NeL
|
# NeL
|
||||||
# Authors: Nevrax and the NeL Community
|
# Authors: Nevrax and the NeL Community
|
||||||
# Version: 0.11.0
|
# Version: 0.11.1
|
||||||
#
|
#
|
||||||
# Notes:
|
# Notes:
|
||||||
# * Changing install location: add -DCMAKE_INSTALL_PREFIX:PATH=/my/new/path
|
# * Changing install location: add -DCMAKE_INSTALL_PREFIX:PATH=/my/new/path
|
||||||
|
@ -48,7 +48,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
|
||||||
PROJECT(RyzomCore CXX C)
|
PROJECT(RyzomCore CXX C)
|
||||||
SET(NL_VERSION_MAJOR 0)
|
SET(NL_VERSION_MAJOR 0)
|
||||||
SET(NL_VERSION_MINOR 11)
|
SET(NL_VERSION_MINOR 11)
|
||||||
SET(NL_VERSION_PATCH 0)
|
SET(NL_VERSION_PATCH 1)
|
||||||
SET(NL_VERSION "${NL_VERSION_MAJOR}.${NL_VERSION_MINOR}.${NL_VERSION_PATCH}")
|
SET(NL_VERSION "${NL_VERSION_MAJOR}.${NL_VERSION_MINOR}.${NL_VERSION_PATCH}")
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
|
|
|
@ -96,8 +96,8 @@ END
|
||||||
//
|
//
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION 0, 11, 0, 0
|
FILEVERSION 0, 11, 1, 0
|
||||||
PRODUCTVERSION 0, 11, 0, 0
|
PRODUCTVERSION 0, 11, 1, 0
|
||||||
FILEFLAGSMASK 0x3fL
|
FILEFLAGSMASK 0x3fL
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
FILEFLAGS 0x1L
|
FILEFLAGS 0x1L
|
||||||
|
@ -116,14 +116,14 @@ BEGIN
|
||||||
VALUE "Comments", "TECH: cyril.corvazier\0"
|
VALUE "Comments", "TECH: cyril.corvazier\0"
|
||||||
VALUE "CompanyName", "Ryzom Core\0"
|
VALUE "CompanyName", "Ryzom Core\0"
|
||||||
VALUE "FileDescription", "NeL Patch Paint\0"
|
VALUE "FileDescription", "NeL Patch Paint\0"
|
||||||
VALUE "FileVersion", "0.11.0\0"
|
VALUE "FileVersion", "0.11.1\0"
|
||||||
VALUE "InternalName", "mods\0"
|
VALUE "InternalName", "mods\0"
|
||||||
VALUE "LegalCopyright", "Copyright © 2000 Nevrax Ltd\0"
|
VALUE "LegalCopyright", "Copyright © 2000 Nevrax Ltd\0"
|
||||||
VALUE "LegalTrademarks", "\0"
|
VALUE "LegalTrademarks", "\0"
|
||||||
VALUE "OriginalFilename", "nelpatchpaint.dlm\0"
|
VALUE "OriginalFilename", "nelpatchpaint.dlm\0"
|
||||||
VALUE "PrivateBuild", "\0"
|
VALUE "PrivateBuild", "\0"
|
||||||
VALUE "ProductName", "Ryzom Core\0"
|
VALUE "ProductName", "Ryzom Core\0"
|
||||||
VALUE "ProductVersion", "0.11.0\0"
|
VALUE "ProductVersion", "0.11.1\0"
|
||||||
VALUE "SpecialBuild", "\0"
|
VALUE "SpecialBuild", "\0"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
|
@ -184,8 +184,8 @@ void CEventsListener::operator()(const CEvent& event)
|
||||||
}
|
}
|
||||||
|
|
||||||
// NOTE: No 0, 0 center mouse message in Windows (lower mouse message rate), but safe to assume any movement messages are requeued relative to our new position
|
// NOTE: No 0, 0 center mouse message in Windows (lower mouse message rate), but safe to assume any movement messages are requeued relative to our new position
|
||||||
// In case free look bugs on other platform, we may need to push in our own message on setMousePos for Windows
|
bool outsideBounds = ((abs(scX) > (drW >> 3)) || (abs(scY) > (drH >> 3)));
|
||||||
if (s_MouseFreeLookWaitCenter) // scX == 0 && scY == 0)
|
if (s_MouseFreeLookWaitCenter && !outsideBounds)
|
||||||
{
|
{
|
||||||
// Centered, set last to 0
|
// Centered, set last to 0
|
||||||
s_MouseFreeLookLastX = 0;
|
s_MouseFreeLookLastX = 0;
|
||||||
|
@ -204,8 +204,7 @@ void CEventsListener::operator()(const CEvent& event)
|
||||||
// updateFreeLookPos is called in updateMouseSmoothing per frame
|
// updateFreeLookPos is called in updateMouseSmoothing per frame
|
||||||
|
|
||||||
// Center cursor
|
// Center cursor
|
||||||
bool outsideBounds = ((abs(scX) > (drW >> 3)) || (abs(scY) > (drH >> 3)));
|
if (outsideBounds && !s_MouseFreeLookWaitCenter)
|
||||||
if (outsideBounds)
|
|
||||||
{
|
{
|
||||||
s_MouseFreeLookWaitCenter = true;
|
s_MouseFreeLookWaitCenter = true;
|
||||||
Driver->setMousePos(0.5f, 0.5f);
|
Driver->setMousePos(0.5f, 0.5f);
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#ifndef RYZOM_VERSION_H
|
#ifndef RYZOM_VERSION_H
|
||||||
#define RYZOM_VERSION_H
|
#define RYZOM_VERSION_H
|
||||||
|
|
||||||
#define RYZOM_VERSION "ryzomcore/v0.11.0-dev"
|
#define RYZOM_VERSION "ryzomcore/v0.11.1"
|
||||||
|
|
||||||
#endif // RYZOM_VERSION_H
|
#endif // RYZOM_VERSION_H
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue