Browse Source

Reformatting the entire tool

master
parent
commit
18a013a620
3 changed files with 553 additions and 511 deletions
  1. +14
    -0
      .clang-format
  2. +7
    -1
      Makefile
  3. +532
    -510
      dae2mdlx.cpp

+ 14
- 0
.clang-format View File

@@ -0,0 +1,14 @@
---
BasedOnStyle: LLVM
AllowShortBlocksOnASingleLine: 'true'
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
Cpp11BracedListStyle: 'false'
IndentWidth: '4'
SortIncludes: 'true'
SpacesInCStyleCastParentheses: 'false'
SpacesInContainerLiterals: 'false'
SpacesInParentheses: 'false'
UseTab: Never

...

+ 7
- 1
Makefile View File

@@ -1,7 +1,13 @@
WCC = i686-w64-mingw32-g++
CXX = g++
CF = clang-format

all: format linux

format:
$(CF) -i dae2mdlx.cpp
linux:
$(CXX) -std=c++11 dae2mdlx.cpp -lassimp -o dae2mdlx
$(CXX) -g -std=c++11 dae2mdlx.cpp -lassimp -o dae2mdlx
clean:
rm -rf *.kh2v *.kh2m *.o *.dsm *.exe dae2mdlx
windows:


+ 532
- 510
dae2mdlx.cpp
File diff suppressed because it is too large
View File


Loading…
Cancel
Save