mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-28 11:20:53 +00:00
Changed: Minor changes
This commit is contained in:
parent
3047e92d38
commit
c3def674ba
7 changed files with 5 additions and 9 deletions
|
@ -164,7 +164,7 @@ bool CTextureDrvInfosGL::initFrameBufferObject(ITexture * tex)
|
||||||
|
|
||||||
// generate IDs
|
// generate IDs
|
||||||
nglGenFramebuffersEXT(1, &FBOId);
|
nglGenFramebuffersEXT(1, &FBOId);
|
||||||
|
|
||||||
//nldebug("3D: using depth %d and stencil %d", DepthFBOId, StencilFBOId);
|
//nldebug("3D: using depth %d and stencil %d", DepthFBOId, StencilFBOId);
|
||||||
|
|
||||||
// initialize FBO
|
// initialize FBO
|
||||||
|
|
|
@ -453,7 +453,6 @@ bool CDriverGL::setupEXTVertexShader(const CVPParser::TProgram &program, GLuint
|
||||||
// clear last error
|
// clear last error
|
||||||
GLenum glError = glGetError();
|
GLenum glError = glGetError();
|
||||||
|
|
||||||
//variants[EVSSecondaryColorVariant] = nglGenSymbolsEXT(GL_VECTOR_EXT, GL_VARIANT_EXT, GL_NORMALIZED_RANGE_EXT, 1);
|
|
||||||
//variants[EVSSecondaryColorVariant] = nglGenSymbolsEXT(GL_VECTOR_EXT, GL_VARIANT_EXT, GL_NORMALIZED_RANGE_EXT, 1);
|
//variants[EVSSecondaryColorVariant] = nglGenSymbolsEXT(GL_VECTOR_EXT, GL_VARIANT_EXT, GL_NORMALIZED_RANGE_EXT, 1);
|
||||||
|
|
||||||
// allocate the symbols
|
// allocate the symbols
|
||||||
|
|
|
@ -627,8 +627,8 @@ bool CDriverGL::setDisplay(nlWindow wnd, const GfxMode &mode, bool show, bool re
|
||||||
// Offscreen mode ?
|
// Offscreen mode ?
|
||||||
if (_CurrentMode.OffScreen)
|
if (_CurrentMode.OffScreen)
|
||||||
{
|
{
|
||||||
if (!createWindow(mode))
|
if (!createWindow(mode)) return false;
|
||||||
return false;
|
|
||||||
HWND tmpHWND = _win;
|
HWND tmpHWND = _win;
|
||||||
int width = mode.Width;
|
int width = mode.Width;
|
||||||
int height = mode.Height;
|
int height = mode.Height;
|
||||||
|
|
|
@ -95,7 +95,7 @@ public: // Methods.
|
||||||
inline double distTo(const CAIVectorMirror &dest) const;
|
inline double distTo(const CAIVectorMirror &dest) const;
|
||||||
inline double distSqTo(const CAIVectorMirror &dest) const;
|
inline double distSqTo(const CAIVectorMirror &dest) const;
|
||||||
inline double quickDistTo(const CAIVectorMirror &dest) const;
|
inline double quickDistTo(const CAIVectorMirror &dest) const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
inline void setX(const CAICoord &x) { _x=x; }
|
inline void setX(const CAICoord &x) { _x=x; }
|
||||||
inline void setY(const CAICoord &y) { _y=y; }
|
inline void setY(const CAICoord &y) { _y=y; }
|
||||||
|
|
|
@ -56,8 +56,6 @@ namespace R2
|
||||||
// The ligo config
|
// The ligo config
|
||||||
NLLIGO::CLigoConfig* LigoConfigPtr;
|
NLLIGO::CLigoConfig* LigoConfigPtr;
|
||||||
CR2LigoConfig R2LigoConfig;
|
CR2LigoConfig R2LigoConfig;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -279,7 +279,6 @@ struct CCreatureTakenDamage
|
||||||
{
|
{
|
||||||
if ( PlayerInflictedDamage[i].TotalDamage > maxDmg )
|
if ( PlayerInflictedDamage[i].TotalDamage > maxDmg )
|
||||||
{
|
{
|
||||||
nlinfo("set damage by player");
|
|
||||||
maxDmg = PlayerInflictedDamage[i].TotalDamage;
|
maxDmg = PlayerInflictedDamage[i].TotalDamage;
|
||||||
index = (sint16)i;
|
index = (sint16)i;
|
||||||
}
|
}
|
||||||
|
|
|
@ -625,7 +625,7 @@ namespace RSMGR
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////
|
||||||
// WARNING : this is a generated file, don't change it !
|
// WARNING : this is a generated file, don't change it !
|
||||||
/////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////
|
||||||
class CNelPermission
|
class CNelPermission
|
||||||
|
|
Loading…
Reference in a new issue