(svn r23604) -Add: initial support for GameScripts

This commit is contained in:
truebrain
2011-12-19 20:50:54 +00:00
parent 2b381d0765
commit f66f27d249
33 changed files with 729 additions and 37 deletions

View File

@@ -95,11 +95,13 @@ BEGIN {
has_fileheader = "false"
cls_level = 0
RS = "\r|\n"
apis = tolower(api)
if (apis == "gs") apis = "game"
}
/@file/ {
filename = $3
gsub("^" tolower(api) "_", "script_", filename)
gsub("^" apis "_", "script_", filename)
}
# Ignore special doxygen blocks
@@ -133,9 +135,9 @@ BEGIN {
api_selected = "false"
} else if ($0 == "-all") {
api_selected = "false"
} else if (match($0, "-" tolower(api))) {
} else if (match($0, "-" apis)) {
api_selected = "false"
} else if (match($0, tolower(api))) {
} else if (match($0, apis)) {
api_selected = "true"
}