aboutsummaryrefslogtreecommitdiff
path: root/src/server/player_sao.cpp
Commit message (Expand)AuthorAge
* Removed some obsolete code (#10562)Zughy2021-01-21
* Implement on_rightclickplayer callback (#10775)JDiaz2021-01-11
* Add on_deactivate callback for luaentities (#10723)hecks2021-01-02
* PlayerSAO: Run on_player_hpchange raw change values (#10478)SmallJoker2020-11-12
* Decouple entity minimap markers from nametags replacing with show_on_minimap ...sfan52020-10-19
* Add First Person Attachments (#10360)Jordan Snelling2020-10-04
* (se)SerializeString: Include max length in the nameSmallJoker2020-10-01
* Patch fast/teleport vulnerability when attached to an entity (#10340)Elias Fleckenstein2020-09-26
* Move shared parameters sending to UnitSAO (#9968)SmallJoker2020-06-04
* Clean up CAO nametag handling and remove deprecated AO_CMDsfan52020-05-29
* Value copy / allocation optimizations mostly in server, SAO and serialize codesfan52020-05-27
* Server: Improve some log messages (#9820)sfan52020-05-05
* Move PlayerSAO to dedicated filesLoic Blot2020-04-11
# # OPENGLES2_FOUND - system has OpenGLES # OPENGLES2_INCLUDE_DIR - the GL include directory # OPENGLES2_LIBRARIES - Link these to use OpenGLES # # EGL_FOUND - system has EGL # EGL_INCLUDE_DIR - the EGL include directory # EGL_LIBRARIES - Link these to use EGL # Win32, Apple, and Android are not tested! # Linux tested and works if(WIN32) if(CYGWIN) find_path(OPENGLES2_INCLUDE_DIR GLES2/gl2.h) find_library(OPENGLES2_LIBRARY libGLESv2) else() if(BORLAND) set(OPENGLES2_LIBRARY import32 CACHE STRING "OpenGL ES 2.x library for Win32") else() # TODO # set(OPENGLES_LIBRARY ${SOURCE_DIR}/Dependencies/lib/release/libGLESv2.lib CACHE STRING "OpenGL ES 2.x library for win32" endif() endif() elseif(APPLE) create_search_paths(/Developer/Platforms) findpkg_framework(OpenGLES2) set(OPENGLES2_LIBRARY "-framework OpenGLES") else() find_path(OPENGLES2_INCLUDE_DIR GLES2/gl2.h PATHS /usr/openwin/share/include /opt/graphics/OpenGL/include /usr/X11R6/include /usr/include ) find_library(OPENGLES2_LIBRARY NAMES GLESv2 PATHS /opt/graphics/OpenGL/lib /usr/openwin/lib /usr/shlib /usr/X11R6/lib /usr/lib ) if(NOT BUILD_ANDROID) find_path(EGL_INCLUDE_DIR EGL/egl.h PATHS /usr/openwin/share/include /opt/graphics/OpenGL/include /usr/X11R6/include /usr/include ) find_library(EGL_LIBRARY NAMES EGL PATHS /opt/graphics/OpenGL/lib /usr/openwin/lib /usr/shlib /usr/X11R6/lib /usr/lib ) # On Unix OpenGL usually requires X11. # It doesn't require X11 on OSX. if(OPENGLES2_LIBRARY) if(NOT X11_FOUND) include(FindX11) endif() if(X11_FOUND) set(OPENGLES2_LIBRARIES ${X11_LIBRARIES}) endif() endif() endif() endif() set(OPENGLES2_LIBRARIES ${OPENGLES2_LIBRARIES} ${OPENGLES2_LIBRARY}) if(BUILD_ANDROID) if(OPENGLES2_LIBRARY) set(EGL_LIBRARIES) set(OPENGLES2_FOUND TRUE) endif() else() if(OPENGLES2_LIBRARY AND EGL_LIBRARY) set(OPENGLES2_LIBRARIES ${OPENGLES2_LIBRARY} ${OPENGLES2_LIBRARIES}) set(EGL_LIBRARIES ${EGL_LIBRARY} ${EGL_LIBRARIES}) set(OPENGLES2_FOUND TRUE) endif() endif() mark_as_advanced( OPENGLES2_INCLUDE_DIR OPENGLES2_LIBRARY EGL_INCLUDE_DIR EGL_LIBRARY ) if(OPENGLES2_FOUND) message(STATUS "Found system OpenGL ES 2 library: ${OPENGLES2_LIBRARIES}") else() set(OPENGLES2_LIBRARIES "") endif()