Skip to content

Commit

Permalink
New Lua dependency and Eluna structure
Browse files Browse the repository at this point in the history
Eluna now supports multiple different Lua versions, and mixed Dynamic and Static mode
  • Loading branch information
Foereaper committed Jul 29, 2023
1 parent a6479fe commit e1ff4e6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dep
Submodule dep updated 744 files
12 changes: 10 additions & 2 deletions src/game/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,12 @@ source_group("World\\Handlers" FILES ${SRC_GRP_WORLD_HANDLERS})

# Build the Eluna library if enabled
if(SCRIPT_LIB_ELUNA)
file(GLOB SRC_GRP_ELUNA ${CMAKE_SOURCE_DIR}/src/modules/Eluna/*.cpp ${CMAKE_SOURCE_DIR}/src/modules/Eluna/*.h)
file(GLOB SRC_GRP_ELUNA
${CMAKE_SOURCE_DIR}/src/modules/Eluna/*.cpp
${CMAKE_SOURCE_DIR}/src/modules/Eluna/*.h
${CMAKE_SOURCE_DIR}/src/modules/Eluna/Mangos/*.cpp
${CMAKE_SOURCE_DIR}/src/modules/Eluna/Mangos/*.h
)
source_group("Eluna" FILES ${SRC_GRP_ELUNA})
endif()

Expand Down Expand Up @@ -255,7 +260,10 @@ target_include_directories(game
Warden
Warden/Modules
WorldHandlers
$<$<BOOL:${SCRIPT_LIB_ELUNA}>:${CMAKE_SOURCE_DIR}/src/modules/Eluna>
$<$<BOOL:${SCRIPT_LIB_ELUNA}>:
${CMAKE_SOURCE_DIR}/src/modules/Eluna
${CMAKE_SOURCE_DIR}/src/modules/Eluna/Mangos
>
$<$<BOOL:${PLAYERBOTS}>:
${CMAKE_SOURCE_DIR}/src/modules/Bots
${CMAKE_SOURCE_DIR}/src/modules/Bots/playerbot
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Eluna
Submodule Eluna updated 65 files
+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
+3,385 −0 CMangos/GlobalMethods.h
+40 −0 CMangos/GroupMethods.h
+334 −0 CMangos/GuildMethods.h
+74 −0 CMangos/ItemMethods.h
+406 −0 CMangos/MapMethods.h
+42 −0 CMangos/ObjectMethods.h
+287 −0 CMangos/PlayerMethods.h
+210 −0 CMangos/QuestMethods.h
+25 −0 CMangos/SpellMethods.h
+188 −1 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
+0 −5 ElunaIncludes.h
+23 −2 ElunaTemplate.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
+114 −0 Mangos/GlobalMethods.h
+469 −0 Mangos/GroupMethods.h
+29 −0 Mangos/GuildMethods.h
+844 −0 Mangos/ItemMethods.h
+32 −0 Mangos/MapMethods.h
+506 −0 Mangos/ObjectMethods.h
+4,597 −0 Mangos/PlayerMethods.h
+23 −0 Mangos/QuestMethods.h
+218 −0 Mangos/SpellMethods.h
+3,301 −0 Mangos/UnitMethods.h
+134 −0 Mangos/VehicleMethods.h
+1,301 −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
+1 −0 lmarshal.cpp

0 comments on commit e1ff4e6

Please sign in to comment.