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 c80abda commit ef5214a
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 -DTBC)
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 74 files
+52 −10 .github/workflows/build.yml
+0 −80 CMakeLists.txt
+23 −0 CMangos/AuraMethods.h
+25 −0 CMangos/BattleGroundMethods.h
+14 −0 CMangos/CorpseMethods.h
+96 −0 CMangos/CreatureMethods.h
+26 −0 CMangos/ElunaQueryMethods.h
+32 −0 CMangos/GameObjectMethods.h
+112 −0 CMangos/GlobalMethods.h
+470 −0 CMangos/GroupMethods.h
+334 −0 CMangos/GuildMethods.h
+74 −0 CMangos/ItemMethods.h
+33 −0 CMangos/MapMethods.h
+42 −0 CMangos/ObjectMethods.h
+287 −0 CMangos/PlayerMethods.h
+23 −0 CMangos/QuestMethods.h
+25 −0 CMangos/SpellMethods.h
+3,301 −0 CMangos/UnitMethods.h
+17 −0 CMangos/VehicleMethods.h
+60 −0 CMangos/WorldObjectMethods.h
+36 −0 CMangos/WorldPacketMethods.h
+64 −0 ElunaCompat.cpp
+30 −0 ElunaCompat.h
+3 −3 ElunaCreatureAI.h
+8 −2 ElunaIncludes.h
+23 −2 ElunaTemplate.h
+4 −1 ElunaUtility.cpp
+11 −0 GroupHooks.cpp
+57 −0 GuildHooks.cpp
+8 −0 ItemHooks.cpp
+13 −0 LuaEngine.h
+1,062 −1,070 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
+378 −0 Mangos/GameObjectMethods.h
+3,426 −0 Mangos/GlobalMethods.h
+38 −0 Mangos/GroupMethods.h
+27 −0 Mangos/GuildMethods.h
+918 −0 Mangos/ItemMethods.h
+411 −0 Mangos/MapMethods.h
+506 −0 Mangos/ObjectMethods.h
+4,600 −0 Mangos/PlayerMethods.h
+212 −0 Mangos/QuestMethods.h
+218 −0 Mangos/SpellMethods.h
+182 −1 Mangos/UnitMethods.h
+136 −0 Mangos/VehicleMethods.h
+1,312 −0 Mangos/WorldObjectMethods.h
+350 −0 Mangos/WorldPacketMethods.h
+27 −0 PlayerHooks.cpp
+4 −1 README.md
+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
+1 −0 lmarshal.cpp

0 comments on commit ef5214a

Please sign in to comment.