]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/uncrustify.cfg
Uncrustify client/{commands,mutators,weapons}/*
[xonotic/xonotic-data.pk3dir.git] / qcsrc / uncrustify.cfg
index 4709cdc2dfe21586582fb6245eb0e0d12a901592..5af29fc9b29e9011016cd39e66b83a8b2b781de8 100644 (file)
@@ -1636,7 +1636,7 @@ mod_sort_using                           = false    # false/true
 
 # If TRUE, will sort consecutive single-line '#include' statements [C/C++] and '#import' statements [Obj-C]
 # This is generally a bad idea, as it may break your code.
-mod_sort_include                         = false    # false/true
+mod_sort_include                         = true     # false/true
 
 # If TRUE, it will move a 'break' that appears after a fully braced 'case' before the close brace.
 # WARNING: Code doesn't seem to use this feature - delete from the config?
@@ -1645,7 +1645,7 @@ mod_move_case_break                      = false    # false/true
 # Will add or remove the braces around a fully braced case statement.
 # Will only remove the braces if there are no variable declarations in the block.
 # NOTE: is 78 worse than ignore
-mod_case_brace                           = remove   # ignore/add/remove/force
+mod_case_brace                           = add      # ignore/add/remove/force
 
 # If TRUE, it will remove a void 'return;' that appears as the last statement in a function.
 mod_remove_empty_return                  = true     # false/true #force
@@ -1696,7 +1696,7 @@ cmt_cpp_to_c                             = false    # false/true
 
 # Whether to put a star on subsequent comment lines
 # WARNING: Code doesn't seem to use this feature - delete from the config?
-cmt_star_cont                            = false    # false/true
+cmt_star_cont                            = true     # false/true
 
 # The number of spaces to insert at the start of subsequent comment lines
 # WARNING: Code doesn't seem to use this feature - delete from the config?
@@ -1788,11 +1788,15 @@ pp_define_at_level                       = true     # false/true
 # type myfoo1 myfoo2
 
 type void
+type bool
+type int
 type float
 type vector
 type entity
 type string
 type .void
+type .bool
+type .int
 type .float
 type .vector
 type .entity
@@ -1809,7 +1813,7 @@ type .string
 # You can assign any keyword to any type with the set option.
 # set func_call_user _ N_
 
-# menu QC OO
+# QC OO
 macro-open CLASS
 macro-else EXTENDS
 macro-close ENDCLASS