Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix(LuaEngine): Remove unused #if statement (TrinityCore, Mangos, AzerothCore, TBC, Classic, Mists, Cata) #217

Merged
merged 10 commits into from
Jan 21, 2025

Conversation

iThorgrim
Copy link

Remove all #ifdef statement on mod-eluna related to : #186

iThorgrim and others added 6 commits January 9, 2025 17:05
### Eluna Module Updates: Lua Version and Static Linking Support

Recent updates to the **Eluna** module in **AzerothCore** introduce new configuration options to manage Lua versions and static linking:

- **`-DLUA_VERSION=luajit/lua52/lua53/lua54`**: Select the Lua version for the module, supporting LuaJIT, Lua 5.2, 5.3, or 5.4.
- **`-DLUA_STATIC=on/off`**: Configure whether Lua should be linked statically or dynamically.

These options allow flexible Lua integration, building on Eluna's existing capabilities to handle different Lua versions. The changes also improve compatibility and performance by enabling static linking where needed.

#### Integration with Eluna

This functionality extends Eluna's existing support for Lua compatibility, mainly in **ElunaCompat.cpp**, which handles Lua version-specific interactions. These updates enhance Eluna’s adaptability for various Lua configurations in **AzerothCore**.
Copy link
Member

@55Honey 55Honey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Founds just this tiny thing. Thanks for the PR. let's wait a day for one we just merged and then get this done.

src/LuaEngine/CreatureHooks.cpp Outdated Show resolved Hide resolved
@55Honey 55Honey merged commit 2e89531 into azerothcore:master Jan 21, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants