mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-24 01:48:44 +00:00
Merge with develop
--HG-- branch : compatibility-develop
This commit is contained in:
commit
81098186e3
6 changed files with 10 additions and 7 deletions
|
@ -1555,7 +1555,8 @@ void postlogInit()
|
|||
{
|
||||
nlwarning("init : Error when creating 'SoundMngr' : %s", e.what());
|
||||
// leak the alocated sound manager...
|
||||
SoundMngr = 0;
|
||||
delete SoundMngr;
|
||||
SoundMngr = NULL;
|
||||
}
|
||||
|
||||
// Play Music just after the SoundMngr is inited
|
||||
|
|
|
@ -329,7 +329,8 @@ void updateFromClientCfg()
|
|||
catch(const Exception &e)
|
||||
{
|
||||
nlwarning("init : Error when creating 'SoundMngr' : %s", e.what());
|
||||
SoundMngr = 0;
|
||||
delete SoundMngr;
|
||||
SoundMngr = NULL;
|
||||
}
|
||||
|
||||
// re-init with good SFX/Music Volume
|
||||
|
|
|
@ -478,7 +478,7 @@ void releaseOutGame()
|
|||
if(SoundMngr)
|
||||
{
|
||||
delete SoundMngr;
|
||||
SoundMngr = 0;
|
||||
SoundMngr = NULL;
|
||||
}
|
||||
|
||||
// Delete the driver.
|
||||
|
@ -573,7 +573,7 @@ void release()
|
|||
if(SoundMngr)
|
||||
{
|
||||
delete SoundMngr;
|
||||
SoundMngr = 0;
|
||||
SoundMngr = NULL;
|
||||
}
|
||||
|
||||
// Release the Entities Animation Manager
|
||||
|
|
|
@ -2381,7 +2381,7 @@ void CUserEntity::updateSound(const TTime &time)
|
|||
H_AUTO_USE ( RZ_Client_Update_Sound );
|
||||
|
||||
// no sound manager, no need to update sound
|
||||
if (SoundMngr == 0)
|
||||
if (SoundMngr == NULL)
|
||||
return;
|
||||
|
||||
if (!(StereoHMD && true)) // TODO: ClientCfg.Headphone
|
||||
|
|
|
@ -26,6 +26,8 @@ ELSE()
|
|||
SET(QT_LIBRARIES Qt5::WinExtras ${QT_LIBRARIES})
|
||||
ENDIF()
|
||||
|
||||
# uncomment this line if you want to update original translations
|
||||
# QT5_CREATE_TRANSLATION(CLIENT_INSTALL_Q ${CLIENT_INSTALL_UIS} ${SRC} ${CLIENT_INSTALL_TRANS})
|
||||
QT5_ADD_TRANSLATION(CLIENT_INSTALL_QM ${CLIENT_INSTALL_TRANS})
|
||||
QT5_ADD_RESOURCES(CLIENT_INSTALL_RC_SRCS ${CLIENT_INSTALL_RCS})
|
||||
QT5_WRAP_CPP(CLIENT_INSTALL_MOC_SRC ${CLIENT_INSTALL_HDR})
|
||||
|
@ -42,7 +44,7 @@ ADD_EXECUTABLE(ryzom_installer_qt WIN32 ${SRC} ${CLIENT_INSTALL_MOC_SRC} ${CLIEN
|
|||
NL_DEFAULT_PROPS(ryzom_installer_qt "Ryzom, Tools: Ryzom Installer" )
|
||||
NL_ADD_RUNTIME_FLAGS(ryzom_installer_qt)
|
||||
NL_ADD_LIB_SUFFIX(ryzom_installer_qt)
|
||||
TARGET_LINK_LIBRARIES(ryzom_installer_qt nelmisc ryzom_sevenzip ${QT_LIBRARIES} ${OPENGL_gl_LIBRARY})
|
||||
TARGET_LINK_LIBRARIES(ryzom_installer_qt nelmisc ryzom_sevenzip ${QT_LIBRARIES})
|
||||
|
||||
IF(WITH_PCH)
|
||||
ADD_NATIVE_PRECOMPILED_HEADER(ryzom_installer_qt ${CMAKE_CURRENT_SOURCE_DIR}/src/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/src/stdpch.cpp)
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
Q_IMPORT_PLUGIN(QCocoaIntegrationPlugin)
|
||||
#elif defined(Q_OS_UNIX)
|
||||
Q_IMPORT_PLUGIN(QXcbIntegrationPlugin)
|
||||
Q_IMPORT_PLUGIN(QXcbGlxIntegrationPlugin)
|
||||
#endif
|
||||
|
||||
Q_IMPORT_PLUGIN(QICOPlugin)
|
||||
|
|
Loading…
Reference in a new issue