Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp

This commit is contained in:
Jonathan 2022-11-06 18:06:52 -05:00
commit b0ac2754ff
4 changed files with 11 additions and 2 deletions

5
.gitignore vendored
View File

@ -4,7 +4,10 @@ cmake-*/
build*/
CMakeFiles/
*.xcodeproj
.*/
.vscode/**
.vs
.idea
!.vscode/settings.json
testmaps/*.bsp
**/*decompile*.map
testmaps/*.bsp.qbsplog

5
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"search.exclude": {
"3rdparty/**": true
}
}

View File

@ -43,6 +43,7 @@ set(CMAKE_C_STANDARD 99)
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON)
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_DEBUG OFF)
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELWITHDEBINFO OFF)
add_definitions(-DERICWTOOLS_VERSION="${GIT_DESCRIBE}")

View File

@ -2713,7 +2713,7 @@ void PrintBSPFileSizes(const bspdata_t *bspdata)
}
if (bspdata->bspx.entries.size()) {
logging::print("\n{:<16 {:10}\n", "BSPX lump name", "byte size");
logging::print("\n{:<16} {:10}\n", "BSPX lump name", "byte size");
for (auto &x : bspdata->bspx.entries) {
logging::print("{:<16} {:10}\n", x.first, x.second.size());