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

Make CMaNGOS compatible with Ninja #502

Closed
wants to merge 1 commit into from
Closed

Conversation

insunaa
Copy link
Contributor

@insunaa insunaa commented Feb 5, 2022

🍰 Pullrequest

This PR allows CMaNGOS build files to be generated by Ninja. Tested only on Linux.

Issues

How2Test

  • in mangos-tbc do:
mkdir build && cd build && cmake -GNinja .. -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ && ninja

Todo / Checklist

  • Test on Windows
  • Test on MacOS

cyberium added a commit to cmangos/mangos-wotlk that referenced this pull request Feb 13, 2022
@insunaa insunaa deleted the patch-1 branch April 27, 2022 09:40
killerwife pushed a commit that referenced this pull request Mar 23, 2024
* Config: Implement config override with env vars

Implement overriding of configuration from the .conf file with environment variables.
Environment variables keys are autogenerated based on the keys defined in .conf file.
Usage example:
$ export CM_DATA_DIR=/usr
$ CM_WORLD_SERVER_PORT=8080 ./mangosd

* Update env var key format and encapsulated env loading logic.

The new env key format:
Mangosd_Rate_Health
Mangosd_DataDir

* Add suggestions from code review.

* Add missing includes.
Diabloxx added a commit to Diabloxx/Eluna-CMaNGOS-TBC that referenced this pull request Mar 23, 2024
Diabloxx added a commit to Diabloxx/Eluna-CMaNGOS-TBC that referenced this pull request Mar 23, 2024
davidonete pushed a commit to davidonete/mangos-tbc that referenced this pull request Mar 25, 2024
* Config: Implement config override with env vars

Implement overriding of configuration from the .conf file with environment variables.
Environment variables keys are autogenerated based on the keys defined in .conf file.
Usage example:
$ export CM_DATA_DIR=/usr
$ CM_WORLD_SERVER_PORT=8080 ./mangosd

* Update env var key format and encapsulated env loading logic.

The new env key format:
Mangosd_Rate_Health
Mangosd_DataDir

* Add suggestions from code review.

* Add missing includes.
davidonete added a commit to davidonete/mangos-tbc that referenced this pull request Apr 3, 2024
* fix ProcSystemArguments constructor arg mismatch

* [Quest] rework Missing in Action quest using new systems (cmangos#660)

* [Quest] rework Missing in Action quest using new systems

* add changes requested in comments

* SpawnGroup: Implement CREATURE_GROUP_FORMATION_MIRRORING

* Config: Implement config override with env vars (cmangos#502)

* Config: Implement config override with env vars

Implement overriding of configuration from the .conf file with environment variables.
Environment variables keys are autogenerated based on the keys defined in .conf file.
Usage example:
$ export CM_DATA_DIR=/usr
$ CM_WORLD_SERVER_PORT=8080 ./mangosd

* Update env var key format and encapsulated env loading logic.

The new env key format:
Mangosd_Rate_Health
Mangosd_DataDir

* Add suggestions from code review.

* Add missing includes.

* Pet: Tryfix double unsummon crash due to visibility

Close cmangos/mangos-wotlk#508

Credit @insunaa for the general idea

* [Quest] modernize defias brotherhood escort quest
Closes cmangos#662

* [Quest] modernize 'Protect the Shipment' escort quest
Closes cmangos#663

* Remove gameobject los temp fix for playerbots

* G3D: Extend Support for new MacOS Versions (+Apple Silicon)

* Pet: Fix compilation for pch on linux

* Network: Minor rework of code to make it same as wotlk

* Move spell to proper section

* G3D: Fix MacOS/Apple Silicon compile

* Spell/Unit: Remove now redundant default coeff calculation

I am expecting trouble, but we need to threat 0 as 0

Closes cmangos/issues#3685

* AC: Add ignore los to shirrak inhibit magic aoe

* Playerbots: Fix grid loading issue (cmangos#536) - Exxenoz

* Spell/Unit: Fix default for coefficient being 0 and fix coeff for npc pets

Closes cmangos/issues#3685

again

---------

Co-authored-by: cdkr <[email protected]>
Co-authored-by: _daanieL <[email protected]>
Co-authored-by: killerwife <[email protected]>
Co-authored-by: Anton Popovichenko <[email protected]>
Co-authored-by: insunaa <[email protected]>
Co-authored-by: insunaa <[email protected]>
davidonete added a commit to davidonete/mangos-tbc that referenced this pull request Apr 4, 2024
* fix ProcSystemArguments constructor arg mismatch

* [Quest] rework Missing in Action quest using new systems (cmangos#660)

* [Quest] rework Missing in Action quest using new systems

* add changes requested in comments

* SpawnGroup: Implement CREATURE_GROUP_FORMATION_MIRRORING

* Config: Implement config override with env vars (cmangos#502)

* Config: Implement config override with env vars

Implement overriding of configuration from the .conf file with environment variables.
Environment variables keys are autogenerated based on the keys defined in .conf file.
Usage example:
$ export CM_DATA_DIR=/usr
$ CM_WORLD_SERVER_PORT=8080 ./mangosd

* Update env var key format and encapsulated env loading logic.

The new env key format:
Mangosd_Rate_Health
Mangosd_DataDir

* Add suggestions from code review.

* Add missing includes.

* Pet: Tryfix double unsummon crash due to visibility

Close cmangos/mangos-wotlk#508

Credit @insunaa for the general idea

* [Quest] modernize defias brotherhood escort quest
Closes cmangos#662

* [Quest] modernize 'Protect the Shipment' escort quest
Closes cmangos#663

* Remove gameobject los temp fix for playerbots

* G3D: Extend Support for new MacOS Versions (+Apple Silicon)

* Pet: Fix compilation for pch on linux

* Network: Minor rework of code to make it same as wotlk

* Move spell to proper section

* G3D: Fix MacOS/Apple Silicon compile

* Spell/Unit: Remove now redundant default coeff calculation

I am expecting trouble, but we need to threat 0 as 0

Closes cmangos/issues#3685

* AC: Add ignore los to shirrak inhibit magic aoe

* Playerbots: Fix grid loading issue (cmangos#536) - Exxenoz

* Spell/Unit: Fix default for coefficient being 0 and fix coeff for npc pets

Closes cmangos/issues#3685

again

* Playerbots: Handle spell item requirements by the bot system

---------

Co-authored-by: cdkr <[email protected]>
Co-authored-by: _daanieL <[email protected]>
Co-authored-by: killerwife <[email protected]>
Co-authored-by: Anton Popovichenko <[email protected]>
Co-authored-by: insunaa <[email protected]>
Co-authored-by: insunaa <[email protected]>
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.

1 participant