Skip to content

Commit

Permalink
Update Eluna files for repo reorg
Browse files Browse the repository at this point in the history
-Update submodule
  • Loading branch information
Niam5 committed Jul 28, 2023
1 parent d62ae18 commit e8c388b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions src/game/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,28 @@ if(NOT BUILD_ELUNA)
endif ()
endforeach()
else()
# Exclude other cores
set (EXCLUDE_DIR "LuaEngine/Mangos/")
foreach (TMP_PATH ${LIBRARY_SRCS})
string (FIND ${TMP_PATH} ${EXCLUDE_DIR} EXCLUDE_DIR_FOUND)
if (NOT ${EXCLUDE_DIR_FOUND} EQUAL -1)
list(REMOVE_ITEM LIBRARY_SRCS ${TMP_PATH})
endif ()
endforeach()
set (EXCLUDE_DIR "LuaEngine/TrinityCore/")
foreach (TMP_PATH ${LIBRARY_SRCS})
string (FIND ${TMP_PATH} ${EXCLUDE_DIR} EXCLUDE_DIR_FOUND)
if (NOT ${EXCLUDE_DIR_FOUND} EQUAL -1)
list(REMOVE_ITEM LIBRARY_SRCS ${TMP_PATH})
endif ()
endforeach()
set (EXCLUDE_DIR "LuaEngine/AzerothCore/")
foreach (TMP_PATH ${LIBRARY_SRCS})
string (FIND ${TMP_PATH} ${EXCLUDE_DIR} EXCLUDE_DIR_FOUND)
if (NOT ${EXCLUDE_DIR_FOUND} EQUAL -1)
list(REMOVE_ITEM LIBRARY_SRCS ${TMP_PATH})
endif ()
endforeach()
add_definitions(-DBUILD_ELUNA -DCMANGOS -DCLASSIC)
endif()

Expand Down Expand Up @@ -109,6 +131,7 @@ set(ADDITIONAL_INCLUDE_DIRS
${CMAKE_CURRENT_SOURCE_DIR}/BattleGround
${CMAKE_CURRENT_SOURCE_DIR}/OutdoorPvP
${CMAKE_CURRENT_SOURCE_DIR}/PlayerBot
${CMAKE_CURRENT_SOURCE_DIR}/LuaEngine/CMangos
${CMAKE_SOURCE_DIR}/dep/lualib
${CMAKE_BINARY_DIR}
)
Expand Down
2 changes: 1 addition & 1 deletion src/game/LuaEngine
Submodule LuaEngine updated 61 files
+0 −80 CMakeLists.txt
+23 −0 CMangos/AuraMethods.h
+25 −0 CMangos/BattleGroundMethods.h
+14 −0 CMangos/CorpseMethods.h
+97 −1 CMangos/CreatureMethods.h
+26 −0 CMangos/ElunaQueryMethods.h
+378 −0 CMangos/GameObjectMethods.h
+3,385 −0 CMangos/GlobalMethods.h
+470 −0 CMangos/GroupMethods.h
+334 −0 CMangos/GuildMethods.h
+842 −0 CMangos/ItemMethods.h
+406 −0 CMangos/MapMethods.h
+42 −0 CMangos/ObjectMethods.h
+4,584 −0 CMangos/PlayerMethods.h
+210 −0 CMangos/QuestMethods.h
+25 −0 CMangos/SpellMethods.h
+3,301 −0 CMangos/UnitMethods.h
+134 −0 CMangos/VehicleMethods.h
+1,301 −0 CMangos/WorldObjectMethods.h
+36 −0 CMangos/WorldPacketMethods.h
+22 −2 ElunaTemplate.h
+1,062 −1,072 LuaFunctions.cpp
+240 −0 Mangos/AuraMethods.h
+281 −0 Mangos/BattleGroundMethods.h
+95 −0 Mangos/CorpseMethods.h
+1,599 −0 Mangos/CreatureMethods.h
+399 −0 Mangos/ElunaQueryMethods.h
+32 −0 Mangos/GameObjectMethods.h
+112 −0 Mangos/GlobalMethods.h
+38 −0 Mangos/GroupMethods.h
+27 −0 Mangos/GuildMethods.h
+66 −0 Mangos/ItemMethods.h
+31 −0 Mangos/MapMethods.h
+506 −0 Mangos/ObjectMethods.h
+273 −0 Mangos/PlayerMethods.h
+21 −0 Mangos/QuestMethods.h
+218 −0 Mangos/SpellMethods.h
+177 −0 Mangos/UnitMethods.h
+17 −0 Mangos/VehicleMethods.h
+58 −0 Mangos/WorldObjectMethods.h
+350 −0 Mangos/WorldPacketMethods.h
+195 −0 TrinityCore/AuraMethods.h
+249 −0 TrinityCore/BattleGroundMethods.h
+91 −0 TrinityCore/CorpseMethods.h
+1,351 −0 TrinityCore/CreatureMethods.h
+342 −0 TrinityCore/ElunaQueryMethods.h
+341 −0 TrinityCore/GameObjectMethods.h
+2,937 −0 TrinityCore/GlobalMethods.h
+415 −0 TrinityCore/GroupMethods.h
+270 −0 TrinityCore/GuildMethods.h
+779 −0 TrinityCore/ItemMethods.h
+360 −0 TrinityCore/MapMethods.h
+498 −0 TrinityCore/ObjectMethods.h
+3,935 −0 TrinityCore/PlayerMethods.h
+199 −0 TrinityCore/QuestMethods.h
+198 −0 TrinityCore/SpellMethods.h
+2,705 −0 TrinityCore/UnitMethods.h
+110 −0 TrinityCore/VehicleMethods.h
+1,153 −0 TrinityCore/WorldObjectMethods.h
+347 −0 TrinityCore/WorldPacketMethods.h
+2 −1 docs/ElunaDoc/__main__.py

0 comments on commit e8c388b

Please sign in to comment.