forked from azerothcore/mod-transmog
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(CPP/DB): fix config parameters; use new cmake macros; take over preferences, templates, scripts etc. from the skeleton module; replace NPC text IDs - fix config parameters "Transmogrification.AllowMixedArmorTypes" and "Transmogrification.AllowMixedWeaponTypes" - replace NPC text IDs: 500000 -> 601083 500001 -> 601084
- Loading branch information
Stoabrogga
authored
Jan 26, 2019
1 parent
4a34d00
commit 9adab60
Showing
12 changed files
with
190 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 4 | ||
tab_width = 4 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
max_line_length = 80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
### TITLE | ||
## Type(Scope/Subscope): Commit ultra short explanation | ||
## |---- Write below the examples with a maximum of 50 characters ----| | ||
## Example 1: fix(DB/SAI): Missing spell to NPC Hogger | ||
## Example 2: fix(CORE/Raid): Phase 2 of Ragnaros | ||
## Example 3: feat(CORE/Commands): New GM command to do something | ||
|
||
|
||
### DESCRIPTION | ||
## Explain why this change is being made, what does it fix etc... | ||
## |---- Write below the examples with a maximum of 72 characters per lines ----| | ||
## Example: Hogger (id: 492) was not charging player when being engaged. | ||
|
||
|
||
## Provide links to any issue, commit, pull request or other resource | ||
## Example 1: Closes issue #23 | ||
## Example 2: Ported from other project's commit (link) | ||
## Example 3: References taken from wowpedia / wowhead / wowwiki / https://wowgaming.altervista.org/aowow/ | ||
|
||
|
||
|
||
## ======================================================= | ||
## EXTRA INFOS | ||
## ======================================================= | ||
## "Type" can be: | ||
## feat (new feature) | ||
## fix (bug fix) | ||
## refactor (refactoring production code) | ||
## style (formatting, missing semi colons, etc; no code change) | ||
## docs (changes to documentation) | ||
## test (adding or refactoring tests; no production code change) | ||
## chore (updating bash scripts, git files etc; no production code change) | ||
## -------------------- | ||
## Remember to | ||
## Capitalize the subject line | ||
## Use the imperative mood in the subject line | ||
## Do not end the subject line with a period | ||
## Separate subject from body with a blank line | ||
## Use the body to explain what and why rather than how | ||
## Can use multiple lines with "-" for bullet points in body | ||
## -------------------- | ||
## More info here https://www.conventionalcommits.org/en/v1.0.0-beta.2/ | ||
## ======================================================= | ||
## "Scope" can be: | ||
## CORE (core related, c++) | ||
## DB (database related, sql) | ||
## ======================================================= | ||
## "Subscope" is optional and depends on the nature of the commit. | ||
## ======================================================= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
## AUTO-DETECT | ||
## Handle line endings automatically for files detected as | ||
## text and leave all files detected as binary untouched. | ||
## This will handle all files NOT defined below. | ||
* text=auto eol=lf | ||
|
||
# Text | ||
*.conf text | ||
*.conf.dist text | ||
*.cmake text | ||
|
||
## Scripts | ||
*.sh text | ||
*.fish text | ||
*.lua text | ||
|
||
## SQL | ||
*.sql text | ||
|
||
## C++ | ||
*.c text | ||
*.cc text | ||
*.cxx text | ||
*.cpp text | ||
*.c++ text | ||
*.hpp text | ||
*.h text | ||
*.h++ text | ||
*.hh text | ||
|
||
|
||
## For documentation | ||
|
||
# Documents | ||
*.doc diff=astextplain | ||
*.DOC diff=astextplain | ||
*.docx diff=astextplain | ||
*.DOCX diff=astextplain | ||
*.dot diff=astextplain | ||
*.DOT diff=astextplain | ||
*.pdf diff=astextplain | ||
*.PDF diff=astextplain | ||
*.rtf diff=astextplain | ||
*.RTF diff=astextplain | ||
|
||
## DOCUMENTATION | ||
*.markdown text | ||
*.md text | ||
*.mdwn text | ||
*.mdown text | ||
*.mkd text | ||
*.mkdn text | ||
*.mdtxt text | ||
*.mdtext text | ||
*.txt text | ||
AUTHORS text | ||
CHANGELOG text | ||
CHANGES text | ||
CONTRIBUTING text | ||
COPYING text | ||
copyright text | ||
*COPYRIGHT* text | ||
INSTALL text | ||
license text | ||
LICENSE text | ||
NEWS text | ||
readme text | ||
*README* text | ||
TODO text | ||
|
||
## GRAPHICS | ||
*.ai binary | ||
*.bmp binary | ||
*.eps binary | ||
*.gif binary | ||
*.ico binary | ||
*.jng binary | ||
*.jp2 binary | ||
*.jpg binary | ||
*.jpeg binary | ||
*.jpx binary | ||
*.jxr binary | ||
*.pdf binary | ||
*.png binary | ||
*.psb binary | ||
*.psd binary | ||
*.svg text | ||
*.svgz binary | ||
*.tif binary | ||
*.tiff binary | ||
*.wbmp binary | ||
*.webp binary | ||
|
||
|
||
## ARCHIVES | ||
*.7z binary | ||
*.gz binary | ||
*.jar binary | ||
*.rar binary | ||
*.tar binary | ||
*.zip binary | ||
|
||
## EXECUTABLES | ||
*.exe binary | ||
*.pyc binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
!.gitignore | ||
|
||
!* | ||
|
||
# | ||
#Generic | ||
# | ||
|
@@ -10,7 +8,7 @@ | |
.mailmap | ||
*.orig | ||
*.rej | ||
*~ | ||
*.*~ | ||
.hg/ | ||
*.kdev* | ||
.DS_Store | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
CU_SET_PATH("CMAKE_TRANSM_DIR" "${CMAKE_CURRENT_LIST_DIR}") | ||
CU_SET_PATH("CMAKE_TRANSM_SRC_DIR" "${CMAKE_CURRENT_LIST_DIR}/src/") | ||
|
||
include("${CMAKE_TRANSM_SRC_DIR}/CMakeLists.txt") | ||
|
||
AC_ADD_SCRIPT("${CMAKE_CURRENT_LIST_DIR}/src/transmog_scripts.cpp") | ||
AC_ADD_SCRIPT("${CMAKE_CURRENT_LIST_DIR}/src/Transmogrification.cpp") | ||
AC_ADD_SCRIPT_LOADER("Transmog" "${CMAKE_CURRENT_LIST_DIR}/src/transmog_scripts_loader.h") | ||
|
||
AC_ADD_CONFIG_FILE("${CMAKE_CURRENT_LIST_DIR}/conf/transmog.conf.dist") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env bash | ||
|
||
## Set a local git commit template | ||
git config --local commit.template ".git_commit_template.txt" ; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.