Changed: Minor changes
This commit is contained in:
parent
fe9e52931d
commit
bdfa7a624e
48 changed files with 78 additions and 100 deletions
|
@ -1422,7 +1422,6 @@ protected:
|
|||
|
||||
private:
|
||||
bool _StaticMemoryToVRAM;
|
||||
|
||||
};
|
||||
|
||||
// --------------------------------------------------
|
||||
|
|
|
@ -1509,9 +1509,6 @@ bool CDriverD3D::setDisplay(nlWindow wnd, const GfxMode& mode, bool show, bool r
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
// _D3D->CreateDevice (adapter, _Rasterizer, _HWnd, D3DCREATE_SOFTWARE_VERTEXPROCESSING, ¶meters, &_DeviceInterface);
|
||||
|
||||
// Check some caps
|
||||
D3DCAPS9 caps;
|
||||
if (_DeviceInterface->GetDeviceCaps(&caps) == D3D_OK)
|
||||
|
|
|
@ -2178,7 +2178,7 @@ void CDriverGL::flush()
|
|||
// ***************************************************************************
|
||||
void CDriverGL::setSwapVBLInterval(uint interval)
|
||||
{
|
||||
H_AUTO_OGL(CDriverGL_setSwapVBLInterval)
|
||||
H_AUTO_OGL(CDriverGL_setSwapVBLInterval);
|
||||
|
||||
if (!_Initialized)
|
||||
return;
|
||||
|
|
|
@ -392,7 +392,6 @@ bool CMeshVPWindTree::begin(IDriver *driver, CScene *scene, CMeshBaseInstance *m
|
|||
sint numPls= renderTrav->getNumVPLights()-1;
|
||||
clamp(numPls, 0, CRenderTrav::MaxVPLight-1);
|
||||
|
||||
|
||||
// Enable normalize only if requested by user. Because lighting don't manage correct "scale lighting"
|
||||
uint idVP= (SpecularLighting?2:0) + (driver->isForceNormalize()?1:0) ;
|
||||
// correct VP id for correct unmber of pls.
|
||||
|
|
|
@ -592,11 +592,9 @@ void CScene::renderPart(UScene::TRenderPart rp, bool doHrcPass, bool doTrav, boo
|
|||
//
|
||||
nlassert(CurrentCamera);
|
||||
|
||||
|
||||
// update models.
|
||||
updateModels();
|
||||
|
||||
|
||||
// Use the camera to setup Clip / Render pass.
|
||||
float left, right, bottom, top, znear, zfar;
|
||||
CurrentCamera->getFrustum(left, right, bottom, top, znear, zfar);
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
|
||||
#include "stdmisc.h"
|
||||
|
||||
#include <nel/misc/types_nl.h>
|
||||
#include <nel/misc/debug.h>
|
||||
#include "nel/misc/types_nl.h"
|
||||
#include "nel/misc/debug.h"
|
||||
|
||||
#ifdef NL_OS_UNIX
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
# Don't add other subdirectories if only max plugins are selected.
|
||||
IF(WITH_NEL_TOOLS)
|
||||
ADD_SUBDIRECTORY(misc)
|
||||
|
|
|
@ -30,8 +30,8 @@
|
|||
///////////
|
||||
// CLASS //
|
||||
class CCombo;
|
||||
class CActionsManager;
|
||||
class CAction;
|
||||
class CActionsManager;
|
||||
|
||||
/**
|
||||
* The goal of CCombo is to gather together Inputs that will validate an Action.
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
#include <string>
|
||||
|
||||
#include "../../common/src/game_share/ryzom_database_banks.h"
|
||||
#include "game_share/ryzom_database_banks.h"
|
||||
|
||||
|
||||
////////////////
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#include "nel/misc/types_nl.h"
|
||||
|
||||
#ifdef NL_OS_WINDOWS
|
||||
#include <windows.h>
|
||||
#include <shellapi.h>
|
||||
#else
|
||||
#include <csignal>
|
||||
|
|
|
@ -969,8 +969,6 @@ void CClientChatManager::buildTellSentence(const ucstring &sender, const ucstrin
|
|||
name = STRING_MANAGER::CStringManagerClient::getTitleLocalizedName(CEntityCL::getTitleFromName(name), bWoman);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1052,8 +1050,6 @@ void CClientChatManager::buildChatSentence(TDataSetIndex /* compressedSenderInde
|
|||
senderName = STRING_MANAGER::CStringManagerClient::getTitleLocalizedName(CEntityCL::getTitleFromName(senderName), bWoman);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
switch(type)
|
||||
|
|
|
@ -2296,6 +2296,7 @@ void CEntityCL::onStringAvailable(uint /* stringId */, const ucstring &value)
|
|||
}
|
||||
|
||||
ucstring replacement(STRING_MANAGER::CStringManagerClient::getTitleLocalizedName(_TitleRaw, womanTitle));
|
||||
|
||||
// Sometimes translation contains another title
|
||||
{
|
||||
ucstring::size_type pos = replacement.find('$');
|
||||
|
|
|
@ -189,7 +189,6 @@ const std::string& CLoginStateMachine::toString(CLoginStateMachine::TEvent event
|
|||
break; \
|
||||
} \
|
||||
|
||||
|
||||
extern std::string LoginLogin, LoginPassword;
|
||||
extern bool noUserChar;
|
||||
extern bool userChar;
|
||||
|
|
|
@ -1957,6 +1957,7 @@ public:
|
|||
{
|
||||
copyInout = STRING_MANAGER::CStringManagerClient::getTitleLocalizedName(CEntityCL::getTitleFromName(copyInout), womanTitle);
|
||||
}
|
||||
|
||||
CStringPostProcessRemoveTitle::cbIDStringReceived(copyInout);
|
||||
inout = copyInout;
|
||||
}
|
||||
|
|
|
@ -777,7 +777,7 @@ void CHandlerMemorizePhraseOrMacro::execute (CCtrlBase *pCaller, const string &P
|
|||
sint32 dstPhraseId= pCSDst->getSPhraseId();
|
||||
sint32 dstMacroId= pCSDst->getMacroId();
|
||||
|
||||
if ((src.empty()) && (CHandlerPhraseMemoryCopy::haveLastPhraseElement))
|
||||
if (src.empty() && (CHandlerPhraseMemoryCopy::haveLastPhraseElement))
|
||||
{
|
||||
// get the slot ids from save
|
||||
srcIsMacro= CHandlerPhraseMemoryCopy::isMacro;
|
||||
|
@ -1600,7 +1600,6 @@ public:
|
|||
}
|
||||
}
|
||||
};
|
||||
|
||||
REGISTER_ACTION_HANDLER(CHandlerPhraseSelectMemory2, "phrase_select_memory_2");
|
||||
|
||||
// ***************************************************************************
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#undef LOG_WARNING
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* class used to display console text commands in the chat window
|
||||
* \author Nicolas Brigand
|
||||
|
|
|
@ -47,7 +47,6 @@ CChatTextManager::~CChatTextManager()
|
|||
_TextShadowed = NULL;
|
||||
delete _ShowTimestamps;
|
||||
_ShowTimestamps = NULL;
|
||||
|
||||
}
|
||||
//=================================================================================
|
||||
uint CChatTextManager::getTextFontSize() const
|
||||
|
@ -96,6 +95,7 @@ bool CChatTextManager::showTimestamps() const
|
|||
}
|
||||
return _ShowTimestamps->getValueBool();
|
||||
}
|
||||
|
||||
//=================================================================================
|
||||
static CInterfaceGroup *parseCommandTag(ucstring &line)
|
||||
{
|
||||
|
@ -186,7 +186,6 @@ CViewBase *CChatTextManager::createMsgText(const ucstring &cstMsg, NLMISC::CRGBA
|
|||
msg = cur_time + msg;
|
||||
}
|
||||
|
||||
|
||||
vt->setTextFormatTaged(msg);
|
||||
vt->setColor(NLMISC::CRGBA::White);
|
||||
}
|
||||
|
|
|
@ -652,7 +652,6 @@ CGroupInSceneUserInfo *CGroupInSceneUserInfo::build (CEntityCL *entity)
|
|||
if (pPlayer == NULL)
|
||||
needPvPLogo = false;
|
||||
|
||||
|
||||
if (pPlayer != NULL && needPvPLogo)
|
||||
{
|
||||
if (pvpFactionLogo)
|
||||
|
@ -756,7 +755,6 @@ CGroupInSceneUserInfo *CGroupInSceneUserInfo::build (CEntityCL *entity)
|
|||
view = leftGroup->getView ("win_jauge_bot");
|
||||
if (view)
|
||||
leftGroup->delView (view);
|
||||
|
||||
}
|
||||
|
||||
// Delete remaining strings
|
||||
|
@ -772,7 +770,6 @@ CGroupInSceneUserInfo *CGroupInSceneUserInfo::build (CEntityCL *entity)
|
|||
if (win_mid)
|
||||
{
|
||||
win_mid->setH (win_mid->getH() - spaceBar/2);
|
||||
|
||||
}
|
||||
|
||||
// Set player name
|
||||
|
|
|
@ -398,7 +398,6 @@ void CGuildManager::update()
|
|||
bool dummy;
|
||||
PeopleInterraction.ChatInput.Guild.displayMessage(msg, col, 2, &dummy);
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -3982,5 +3982,3 @@ bool CInterfaceManager::parseTokens(ucstring& ucstr)
|
|||
ucstr = str;
|
||||
return true;;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -2193,7 +2193,6 @@ class CHandlerTellContact : public IActionHandler
|
|||
CInterfaceGroup *ig = pCaller->getParent();
|
||||
if (!ig) return;
|
||||
CGroupContainer *gc = static_cast< CGroupContainer* >( ig->getEnclosingContainer() );
|
||||
|
||||
if (!gc) return;
|
||||
CPeopleList *list;
|
||||
uint peopleIndex;
|
||||
|
|
|
@ -474,16 +474,16 @@ void CSPhraseManager::memorizePhrase(uint32 memoryLine, uint32 memorySlot, ui
|
|||
}
|
||||
}
|
||||
|
||||
void CSPhraseManager::selectMemoryLineDBalt(sint32 memoryLine)
|
||||
// ***************************************************************************
|
||||
void CSPhraseManager::selectMemoryLineDB(sint32 memoryLine)
|
||||
{
|
||||
if(memoryLine<0)
|
||||
memoryLine= -1;
|
||||
|
||||
if(_SelectedMemoryDBalt!=memoryLine)
|
||||
if(_SelectedMemoryDB!=memoryLine)
|
||||
{
|
||||
_SelectedMemoryDBalt= memoryLine;
|
||||
_SelectedMemoryDB= memoryLine;
|
||||
// since memory selection changes then must update all the DB and the Ctrl states
|
||||
|
||||
updateMemoryDBAll();
|
||||
updateAllMemoryCtrlState();
|
||||
updateAllMemoryCtrlRegenTickRange();
|
||||
|
@ -492,14 +492,14 @@ void CSPhraseManager::selectMemoryLineDBalt(sint32 memoryLine)
|
|||
}
|
||||
}
|
||||
|
||||
// ***************************************************************************
|
||||
void CSPhraseManager::selectMemoryLineDB(sint32 memoryLine)
|
||||
void CSPhraseManager::selectMemoryLineDBalt(sint32 memoryLine)
|
||||
{
|
||||
if(memoryLine<0)
|
||||
memoryLine= -1;
|
||||
if(_SelectedMemoryDB!=memoryLine)
|
||||
|
||||
if(_SelectedMemoryDBalt!=memoryLine)
|
||||
{
|
||||
_SelectedMemoryDB= memoryLine;
|
||||
_SelectedMemoryDBalt= memoryLine;
|
||||
// since memory selection changes then must update all the DB and the Ctrl states
|
||||
updateMemoryDBAll();
|
||||
updateAllMemoryCtrlState();
|
||||
|
|
Loading…
Reference in a new issue