@@ -6,19 +6,23 @@ | |||||
# Usage: | # Usage: | ||||
# astyle --suffix=none --options=.astylerc filename.cpp | # astyle --suffix=none --options=.astylerc filename.cpp | ||||
--style=java | |||||
--indent=tab | |||||
--indent-switches | |||||
--attach-closing-while | |||||
--pad-oper | |||||
--pad-comma | |||||
--pad-header | |||||
--unpad-paren | |||||
--align-pointer=name | |||||
--align-reference=name | |||||
--break-closing-braces | |||||
--break-one-line-headers | |||||
--attach-return-type | |||||
--attach-return-type-decl | |||||
--keep-one-line-statements | |||||
--close-templates | |||||
style=java | |||||
indent=tab | |||||
attach-closing-while | |||||
indent-switches | |||||
indent-after-parens | |||||
indent-preproc-block | |||||
indent-preproc-define | |||||
indent-col1-comments | |||||
pad-oper | |||||
pad-comma | |||||
pad-header | |||||
unpad-paren | |||||
align-pointer=name | |||||
align-reference=name | |||||
break-closing-braces | |||||
break-one-line-headers | |||||
attach-return-type | |||||
attach-return-type-decl | |||||
keep-one-line-statements | |||||
close-templates |
@@ -76,8 +76,8 @@ int main(int argc, char *argv[]) { | |||||
case 'h': { | case 'h': { | ||||
settings::headless = true; | settings::headless = true; | ||||
} break; | } break; | ||||
// Due to Mac app translocation and Apple adding a -psn... flag when launched, disable screenshots on Mac for now. | |||||
#if !defined ARCH_MAC | #if !defined ARCH_MAC | ||||
// Due to Mac app translocation and Apple adding a -psn... flag when launched, disable screenshots on Mac for now. | |||||
case 'p': { | case 'p': { | ||||
screenshot = true; | screenshot = true; | ||||
// If parsing number failed, use default value | // If parsing number failed, use default value | ||||