mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-05 14:59:01 +00:00
Changed: #825 Remove all warning when compiling Ryzom on Linux
This commit is contained in:
parent
b4db9534be
commit
8496b990a1
8 changed files with 20 additions and 8 deletions
|
@ -239,7 +239,8 @@ void CBotChatManager::debugLocalReceiveMissionInfo()
|
|||
{
|
||||
viewTextID->setTextId(infos.Prerequisits[i].Description);
|
||||
}
|
||||
/*if (!help->ScrollTextGroup.empty())
|
||||
#if 0
|
||||
if (!help->ScrollTextGroup.empty())
|
||||
{
|
||||
CInterfaceGroup *viewTextGroup = help->HelpWindow->getGroup(help->ScrollTextGroup);
|
||||
if (viewTextGroup)
|
||||
|
@ -248,8 +249,8 @@ void CBotChatManager::debugLocalReceiveMissionInfo()
|
|||
CInterfaceGroup *viewTextGroup = help->HelpWindow->getGroup(help->ScrollTextIdGroup);
|
||||
if (viewTextGroup)
|
||||
viewTextGroup->setActive(true);
|
||||
*/
|
||||
/* }
|
||||
#endif
|
||||
}
|
||||
|
||||
_MissionHelpWindowsWaiting.erase(index);
|
||||
}
|
||||
|
|
|
@ -69,9 +69,9 @@ extern CClientChatManager ChatMngr;
|
|||
|
||||
CChatWindowDesc::CChatWindowDesc() : InsertPosition(-1),
|
||||
ParentBlink(false),
|
||||
Listener(NULL),
|
||||
Savable(false),
|
||||
Localize(false)
|
||||
Localize(false),
|
||||
Listener(NULL)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -80,7 +80,7 @@ CChatWindowDesc::CChatWindowDesc() : InsertPosition(-1),
|
|||
/////////////////
|
||||
|
||||
//=================================================================================
|
||||
CChatWindow::CChatWindow() : _Listener(NULL), _Chat(NULL), _ParentBlink(false), _EB(NULL)
|
||||
CChatWindow::CChatWindow() : _Listener(NULL), _Chat(NULL), _EB(NULL), _ParentBlink(false)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -192,6 +192,8 @@ void CCtrlButton::draw ()
|
|||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
color.A = (uint8)(((sint32)color.A*((sint32)globalColor.A+1))>>8);
|
||||
|
|
|
@ -342,6 +342,8 @@ void CCtrlTextButton::draw ()
|
|||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
// *** Draw
|
||||
|
|
|
@ -126,7 +126,7 @@ bool CDBGroupListSheetText::parse (xmlNodePtr cur, CInterfaceGroup *parentGroup)
|
|||
|
||||
// get item size.
|
||||
CViewRenderer &rVR = pIM->getViewRenderer();
|
||||
sint32 dispSlotBmpId;
|
||||
sint32 dispSlotBmpId = 0;
|
||||
switch(_CtrlInfo._Type)
|
||||
{
|
||||
case CCtrlSheetInfo::SheetType_Auto:
|
||||
|
@ -144,6 +144,7 @@ bool CDBGroupListSheetText::parse (xmlNodePtr cur, CInterfaceGroup *parentGroup)
|
|||
case CCtrlSheetInfo::SheetType_Macro: dispSlotBmpId = rVR.getTextureIdFromName ("w_slot_brick.tga"); break;
|
||||
case CCtrlSheetInfo::SheetType_GuildFlag: dispSlotBmpId = rVR.getTextureIdFromName ("w_slot_blason.tga"); break;
|
||||
case CCtrlSheetInfo::SheetType_ElevatorDestination: dispSlotBmpId = rVR.getTextureIdFromName ("w_slot_blason.tga"); break;
|
||||
default: break;
|
||||
}
|
||||
rVR.getTextureSizeFromId (dispSlotBmpId, _WSlot, _HSlot);
|
||||
|
||||
|
|
|
@ -615,6 +615,8 @@ void CGroupTable::updateCoords()
|
|||
alignmentX = _Columns[column].Width - cell->WidthMax;
|
||||
widthReduceX = alignmentX;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -665,6 +667,8 @@ void CGroupTable::updateCoords()
|
|||
case CGroupCell::Bottom:
|
||||
alignmentY = _Rows[row].Height - (sint32)cell->Group->getH();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -123,6 +123,8 @@ static bool affect(const CInterfaceExprValue &value, CInterfaceElement &destElem
|
|||
return false;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
@ -2907,7 +2907,7 @@ bool CInterfaceManager::handleEvent (const CEventDescriptor& event)
|
|||
// window handling. if not handled by a control
|
||||
if (!handled)
|
||||
{
|
||||
if ((pNewCurrentWnd != NULL) && _ModalStack.empty() || (!_ModalStack.empty() && _ModalStack.back().ModalWindow == pNewCurrentWnd))
|
||||
if (((pNewCurrentWnd != NULL) && _ModalStack.empty()) || ((!_ModalStack.empty() && _ModalStack.back().ModalWindow == pNewCurrentWnd)))
|
||||
{
|
||||
CEventDescriptorMouse ev2 = eventDesc;
|
||||
sint32 x= eventDesc.getX(), y = eventDesc.getY();
|
||||
|
|
Loading…
Reference in a new issue