forked from azerothcore/mod-npc-talent-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(restructure/git): Add .gitattributes etc. from skeleton-module
Removed useless directories Made crossplatform with gitattributes and dos2unix Added new CMakeFile .editorconfig .gitignore
- Loading branch information
1 parent
411fa45
commit 2828e5e
Showing
14 changed files
with
1,531 additions
and
1,317 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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
!.gitignore | ||
|
||
# | ||
#Generic | ||
# | ||
|
||
.directory | ||
.mailmap | ||
*.orig | ||
*.rej | ||
*.*~ | ||
.hg/ | ||
*.kdev* | ||
.DS_Store | ||
CMakeLists.txt.user | ||
*.bak | ||
*.patch | ||
*.diff | ||
*.REMOTE.* | ||
*.BACKUP.* | ||
*.BASE.* | ||
*.LOCAL.* | ||
|
||
# | ||
# IDE & other softwares | ||
# | ||
/.settings/ | ||
/.externalToolBuilders/* | ||
# exclude in all levels | ||
nbproject/ | ||
.sync.ffs_db | ||
*.kate-swp | ||
|
||
# | ||
# Eclipse | ||
# | ||
*.pydevproject | ||
.metadata | ||
.gradle | ||
tmp/ | ||
*.tmp | ||
*.swp | ||
*~.nib | ||
local.properties | ||
.settings/ | ||
.loadpath | ||
.project | ||
.cproject |
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 @@ | ||
AC_ADD_SCRIPT("${CMAKE_CURRENT_LIST_DIR}/src/MyPlayer.cpp") | ||
AC_ADD_SCRIPT_LOADER("MyPlayer" "${CMAKE_CURRENT_LIST_DIR}/src/loader.h") | ||
|
||
AC_ADD_CONFIG_FILE("${CMAKE_CURRENT_LIST_DIR}/conf/my_custom.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#!/usr/bin/env bash | ||
|
||
# | ||
# CUSTOM | ||
# | ||
|
||
DB_WORLD_CUSTOM_PATHS+=( | ||
$TEMPLATENPC_ROOT"/data/sql/db-characters/" | ||
) | ||
#!/usr/bin/env bash | ||
|
||
# | ||
# CUSTOM | ||
# | ||
|
||
DB_WORLD_CUSTOM_PATHS+=( | ||
$TEMPLATENPC_ROOT"/data/sql/db-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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#!/usr/bin/env bash | ||
|
||
TEMPLATENPC_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/" && pwd )" | ||
|
||
source $TEMPLATENPC_ROOT"/conf/conf.sh.dist" | ||
|
||
if [ -f $TEMPLATENPC_ROOT"/conf/conf.sh" ]; then | ||
source $TEMPLATENPC_ROOT"/conf/conf.sh" | ||
fi | ||
#!/usr/bin/env bash | ||
|
||
TEMPLATENPC_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/" && pwd )" | ||
|
||
source $TEMPLATENPC_ROOT"/conf/conf.sh.dist" | ||
|
||
if [ -f $TEMPLATENPC_ROOT"/conf/conf.sh" ]; then | ||
source $TEMPLATENPC_ROOT"/conf/conf.sh" | ||
fi |
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
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" ; |
File renamed without changes.
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,6 @@ | ||
CU_SET_PATH("CMAKE_TEMPLATE_SRC_DIR" "${CMAKE_CURRENT_LIST_DIR}") | ||
|
||
AC_ADD_SCRIPT("${CMAKE_TEMPLATE_SRC_DIR}/TemplateNPC.cpp") | ||
AC_ADD_SCRIPT("${CMAKE_TEMPLATE_SRC_DIR}/TemplateNPC.h") | ||
|
||
CU_SET_PATH("CMAKE_TEMPLATE_SRC_DIR" "${CMAKE_CURRENT_LIST_DIR}") | ||
|
||
AC_ADD_SCRIPT("${CMAKE_TEMPLATE_SRC_DIR}/TemplateNPC.cpp") | ||
AC_ADD_SCRIPT("${CMAKE_TEMPLATE_SRC_DIR}/TemplateNPC.h") | ||
|
||
AC_ADD_SCRIPT_LOADER("Template" "${CMAKE_TEMPLATE_SRC_DIR}/template_scripts_loader.h") |
Oops, something went wrong.