Klick Spoiler lol
Yoo da bei manchen noch der runde Effekt bei dem Illumina interface fehlt zeig ich euch wie ihr es anpasst (Habe ich gestern gesehen & danke an Sanii)
PythonSlotWindow.h
Such BOOL bActive;
darunter einfügen
Such void DeactivateSlot(DWORD dwIndex);
darunter
Such void __DestroySlotEnableEffect();
darunter
Such CImageBox * m_pToggleSlotImage;
darunter
PythonSlowWindow.cpp
Suche void CSlotWindow::DeactivateSlot(DWORD dwIndex)
darunter
- void CSlotWindow::ActivateSkillSlot(DWORD dwIndex)
- {
- TSlot * pSlot;
- if (!GetSlotPointer(dwIndex, &pSlot))
- return;
- pSlot->bSkillActive = TRUE;
- if (!m_pSlotSkillActiveEffect)
- {
- __CreateSkillSlotEnableEffect();
- }
- }
- void CSlotWindow::DeactivateSkillSlot(DWORD dwIndex)
- {
- TSlot * pSlot;
- if (!GetSlotPointer(dwIndex, &pSlot))
- return;
- pSlot->bSkillActive = FALSE;
- }
Suche pSlot->bActive = FALSE;
darunter
Suche m_ReserveDestroyEffectDeque.clear();
darunter
Suche if (m_pSlotActiveEffect)
und unter der abfrage
Suche void CSlotWindow::__CreateFinishCoolTimeEffect(TSlot * pSlot)
darunter
- void CSlotWindow::__CreateSkillSlotEnableEffect()
- {
- __DestroySlotSkillEnableEffect();
- m_pSlotSkillActiveEffect = new CAniImageBox(NULL);
- m_pSlotSkillActiveEffect->AppendImage("d:/ymir work/ui/public/slotskill/00.sub");
- m_pSlotSkillActiveEffect->AppendImage("d:/ymir work/ui/public/slotskill/01.sub");
- m_pSlotSkillActiveEffect->AppendImage("d:/ymir work/ui/public/slotskill/02.sub");
- m_pSlotSkillActiveEffect->AppendImage("d:/ymir work/ui/public/slotskill/03.sub");
- m_pSlotSkillActiveEffect->AppendImage("d:/ymir work/ui/public/slotskill/04.sub");
- m_pSlotSkillActiveEffect->AppendImage("d:/ymir work/ui/public/slotskill/05.sub");
- m_pSlotSkillActiveEffect->AppendImage("d:/ymir work/ui/public/slotskill/06.sub");
- m_pSlotSkillActiveEffect->AppendImage("d:/ymir work/ui/public/slotskill/07.sub");
- m_pSlotSkillActiveEffect->AppendImage("d:/ymir work/ui/public/slotskill/08.sub");
- m_pSlotSkillActiveEffect->AppendImage("d:/ymir work/ui/public/slotskill/09.sub");
- m_pSlotSkillActiveEffect->AppendImage("d:/ymir work/ui/public/slotskill/10.sub");
- m_pSlotSkillActiveEffect->AppendImage("d:/ymir work/ui/public/slotskill/11.sub");
- m_pSlotSkillActiveEffect->AppendImage("d:/ymir work/ui/public/slotskill/12.sub");
- m_pSlotSkillActiveEffect->SetRenderingMode(CGraphicExpandedImageInstance::RENDERING_MODE_NORMAL);
- m_pSlotSkillActiveEffect->Show();
- }
- void CSlotWindow::__DestroySlotSkillEnableEffect()
- {
- if (m_pSlotSkillActiveEffect)
- {
- delete m_pSlotSkillActiveEffect;
- m_pSlotSkillActiveEffect = NULL;
- }
- }
Suche m_pSlotActiveEffect = NULL;
darunter
PythonWindowManagerModule.cpp
Suche PyObject * wndMgrDeactivateSlot(PyObject * poSelf, PyObject * poArgs)
darunter
- PyObject * wndMgrActivateSkillSlot(PyObject * poSelf, PyObject * poArgs)
- {
- UI::CWindow * pWin;
- if (!PyTuple_GetWindow(poArgs, 0, &pWin))
- return Py_BuildException();
- int iSlotIndex;
- if (!PyTuple_GetInteger(poArgs, 1, &iSlotIndex))
- return Py_BuildException();
- if (!pWin->IsType(UI::CSlotWindow::Type()))
- return Py_BuildException();
- UI::CSlotWindow * pSlotWin = (UI::CSlotWindow *)pWin;
- pSlotWin->ActivateSkillSlot(iSlotIndex);
- return Py_BuildNone();
- }
- PyObject * wndMgrDeactivateSkillSlot(PyObject * poSelf, PyObject * poArgs)
- {
- UI::CWindow * pWin;
- if (!PyTuple_GetWindow(poArgs, 0, &pWin))
- return Py_BuildException();
- int iSlotIndex;
- if (!PyTuple_GetInteger(poArgs, 1, &iSlotIndex))
- return Py_BuildException();
- if (!pWin->IsType(UI::CSlotWindow::Type()))
- return Py_BuildException();
- UI::CSlotWindow * pSlotWin = (UI::CSlotWindow *)pWin;
- pSlotWin->DeactivateSkillSlot(iSlotIndex);
- return Py_BuildNone();
- }
Suche { "SetToggleSlot",
darunter
Jetzt compilen und dannach die Grafiken in den Client reinhauen & SkillActiveSlot benutzen (Clientpart) sollte dannach so aussehen Bitte melden Sie sich an, um diesen Link zu sehen.
Download