clang-format
b02dfdbc93
Binpack function arguments together
...
Previously when the arguments of a function wouldn't fit on a single line, clang-format would put each argument on its own line instead. By enabling the binpack parameter setting, it tried to fit as many on one line as possible instead.
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
2018-07-23 16:00:22 +02:00
clang-format
95ce592579
Enforce not breaking before assignments and function names
...
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
2018-07-23 16:00:19 +02:00
Hielke Morsink
9bfa8bdbe8
Apply format on new/updated code before rebase
2018-07-23 16:00:17 +02:00
Hielke Morsink
73a7e935c3
Correct formatting for files in the project root
2018-07-23 16:00:17 +02:00
Hielke Morsink
7c6002cb26
Correct formatting in remaining files in libopenrct2
2018-07-23 16:00:17 +02:00
Hielke Morsink
9cf4ea675f
Correct formatting for source files up to the rct2 folder
2018-07-23 16:00:16 +02:00
Hielke Morsink
3bb57f7efd
exclude thirdparty folder from run-clang-format
2018-07-23 16:00:16 +02:00
Hielke Morsink
fdc6e52da1
Correct formatting in files from network to paint
2018-07-23 16:00:15 +02:00
Hielke Morsink
472320d8f3
Correct formatting up to the management folder
...
I went over the commits ab7f22f..8726712 (bulk format commits for game actions to management inclusive) and corrected all mistakes I found. Most of them have to do with arrays missing trailing commas, making clang-format indent the entire array or not add breaks between the values.
2018-07-23 16:00:15 +02:00
Hielke Morsink
6fd9843dc3
Add trailing commas and clang-format comments to tests
2018-07-23 16:00:14 +02:00
Ted John
6753d860c7
Use docker container for clang-format
2018-07-23 16:00:14 +02:00
clang-format
c57bbca827
clang-format root
2018-07-23 16:00:14 +02:00
clang-format
9c022606f1
clang-format UI root
2018-07-23 16:00:14 +02:00
clang-format
e558660860
clang-format UI windows
2018-07-23 16:00:14 +02:00
clang-format
f13e3e83d7
clang-format UI title
2018-07-23 16:00:13 +02:00
clang-format
949a34646e
clang-format UI interface
2018-07-23 16:00:13 +02:00
clang-format
2151b8d75a
clang-format UI input
2018-07-23 16:00:13 +02:00
clang-format
16720f0182
clang-format UI drawing
2018-07-23 16:00:13 +02:00
clang-format
ebb17929a7
clang-format UI audio
2018-07-23 16:00:12 +02:00
clang-format
5c55fd6132
clang-format world
2018-07-23 16:00:12 +02:00
clang-format
adb69a2fe8
clang-format ui/util/windows
2018-07-23 16:00:12 +02:00
clang-format
abb097124c
clang-format title
2018-07-23 16:00:12 +02:00
clang-format
861715a169
clang-format scenario
2018-07-23 16:00:11 +02:00
clang-format
e8310d079d
clang-format ride
2018-07-23 16:00:09 +02:00
clang-format
ca6fda5724
clang-format generated ride files
2018-07-23 16:00:08 +02:00
clang-format
506d4221d3
clang-format rct1/2/12
2018-07-23 16:00:07 +02:00
clang-format
0b3edc70f2
clang-format platform
2018-07-23 16:00:07 +02:00
clang-format
bb3561f70b
clang-format peep
2018-07-23 16:00:07 +02:00
clang-format
191973b202
clang-format paint
2018-07-23 16:00:06 +02:00
clang-format
a6a12af1ec
clang-format object
2018-07-23 16:00:06 +02:00
clang-format
e32189fd98
clang-format network
2018-07-23 16:00:05 +02:00
clang-format
f514c223cb
clang-format management
2018-07-23 16:00:05 +02:00
clang-format
737d2c490c
clang-format localisation
2018-07-23 16:00:05 +02:00
clang-format
17d2693422
clang-format interface
2018-07-23 16:00:04 +02:00
clang-format
602aac47ba
clang-format drawing
2018-07-23 16:00:04 +02:00
clang-format
3a4a11f738
clang-format core
2018-07-23 16:00:03 +02:00
clang-format
6f2e84e593
clang-format config
2018-07-23 15:58:02 +02:00
clang-format
41bf62fd9c
clang-format cmdline
2018-07-23 15:58:02 +02:00
clang-format
77f3513cba
clang-format audio
2018-07-23 15:58:02 +02:00
clang-format
90f1a328ab
clang-format game actions
2018-07-23 15:58:01 +02:00
clang-format
42fa1b0f63
clang-format tests
2018-07-23 15:58:01 +02:00
Hielke Morsink
4d38475f12
Undefine keywords to fix macOS build
2018-07-23 15:58:01 +02:00
Hielke Morsink
02ce0b0b88
Fix #7670 Include header for types instead of common.h
2018-07-23 15:58:01 +02:00
Hielke Morsink
5e0aa9039f
Update clang-format rules
...
Indent namespaces
disallowing short case blocks on a single line
enable for Objective C files too
2018-07-23 15:58:00 +02:00
Hielke Morsink
c5ac6ffb08
Add run-clang-format to be run by Travis CI
2018-07-23 15:58:00 +02:00
Hielke Morsink
ce59ed0ba2
Fix include order and defines for Windows builds
2018-07-23 15:57:59 +02:00
OpenRCT2 git bot
79f1cf5a5c
Merge Localisation/master into OpenRCT2/develop.
2018-07-22 04:00:27 +00:00
Michał Janiszewski
b278dce717
Merge pull request #7792 from oystedal/oystedal/string-memleaks
...
Fix memory leaks related to pointer assignment to std::string
2018-07-21 19:56:55 +02:00
Michael Steenbeek
193c57a3e0
Fix small Ø glyph
2018-07-20 22:03:44 +02:00
Michael Steenbeek
8cb7cc424c
Merge pull request #7797 from Gymnasiast/extra-letters
...
Add sprite font glyphs for Æ and Ø
2018-07-20 18:39:58 +02:00