Merge pull request #4 from upiter/master

CMake Flags
This commit is contained in:
Christoph Oelckers 2017-10-01 07:37:45 +02:00 committed by GitHub
commit 50be5c5bb7
3 changed files with 73 additions and 10 deletions

58
.gitignore vendored Normal file
View file

@ -0,0 +1,58 @@
# cmake
CMakeCache.txt
CMakeFiles
CMakeTools
CMakeScripts
Testing
Makefile
cmake_install.cmake
install_manifest.txt
compile_commands.json
CTestTestfile.cmake
wadext
wadext.exe
# c
# Prerequisites
*.d
# Object files
*.o
*.ko
*.obj
*.elf
# Linker output
*.ilk
*.map
*.exp
# Precompiled Headers
*.gch
*.pch
# Libraries
*.lib
*.a
*.la
*.lo
# Shared objects
*.dll
*.so
*.so.*
*.dylib
# Executables
*.exe
*.out
*.app
*.i*86
*.x86_64
*.hex
# Debug files
*.dSYM/
*.su
*.idb
*.pdb

View file

@ -52,7 +52,7 @@ if( MSVC )
endif( MSVC )
if( CMAKE_COMPILER_IS_GNUCXX )
set( ALL_C_FLAGS "${ALL_C_FLAGS} -ffast-math -pipe" )
set( ALL_C_FLAGS "${ALL_C_FLAGS} -Wc++11-extensions -ffast-math -pipe" )
if( GPROF )
set( ALL_C_FLAGS "${ALL_C_FLAGS} -pg -g" )
else( GPROF )

View file

@ -1,17 +1,22 @@
# wadext
A simple WAD extraction command line tool for Doom-engine mods.<br>
##Usage:
wadext [options] filename
## Intro
##Options:
-nogfxconvert : Leave Doom format patches and flats in their original form, if not specified they will be converted to PNG.
A simple [WAD](https://en.wikipedia.org/wiki/Doom_WAD) extraction command line tool for [Doom engine (id Tech 1)](https://en.wikipedia.org/wiki/Doom_engine) mods.<br>
-nosndconvert : Leave Doom format sounds in their original form, if not specified they will be converted to WAV.
## Usage
-heretic, -hexen, -strife: Force usage of the named game's palette if the WAD does not contain one. Default is Doom palette
`wadext [options] filename`
-strip: Remove node lumps from extracted maps.
## Options
-tx: Converts a set of TEXTURE1/TEXTURE2/PNAMES in the current directory to a textures.txt file.
`-nogfxconvert` : Leave Doom format patches and flats in their original form, if not specified they will be converted to PNG.
`-nosndconvert` : Leave Doom format sounds in their original form, if not specified they will be converted to WAV.
`-heretic`, `-hexen`, `-strife`: Force usage of the named game's palette if the WAD does not contain one. Default is `Doom` palette
`-strip`: Remove node lumps from extracted maps.
`-tx`: Converts a set of `TEXTURE1/TEXTURE2/PNAMES` in the current directory to a textures.txt file.