# Backup/temporary files:
*~
*.bak
.*.swp
*.log
*.out

# Generated binary files:
*.o
*.lo
*.a
*.la
*.gmo
*.pyc
*.wz
# windows generated binary files:
*.obj
*.lib
*.pdb
*.exe
*.htm
*.pdb
*.idb
*.ilk
*.res
*.manifest
*.ncb
*.suo
*.user
/devpkg/*
build_tools/autorevision/Debug/*
build_tools/autorevision/Release/*
win32/debug
win32/release

# Autogenerated files:
*.lex.[ch]
*.tab.[ch]
*.lex.[ch]pp
*.tab.[ch]pp
#*lexer.[ch]pp
#*parser.[ch]pp
#*lexer.[ch]
#*parser.[ch]
/src/autorevision.h
/src/autorevision.h.new
/autorevision.tmp
/src/autorevision.cache
*moc.h
*moc.cpp
/src/titleui/.dirstamp
/src/3rdparty/.dirstamp

/doc/quickstartguide.html
/doc/quickstartguide.pdf
/doc/warzone2100.6

# Generated executables:
/src/warzone2100
/tests/astartest
/tests/maptest
/tests/pointtree.ppm
/tests/pointtreetest
/tests/qslint
/tools/map/map2lnd
/tools/map/map2png
/tools/map/map2preview
/tools/map/mapconv
/tools/map/mapinfo

# Autotool files:
.deps
.libs
Makefile
Makefile.in
/aclocal.m4
/autom4te.cache/*
/config.*
/configure
/depcomp
/install-sh
/ltmain.sh
/missing
/stamp-h1
/ylwrap
/po/POTFILES
/po/messages.mo
/po/remove-potcdate.sed
/po/stamp-po
/po/update-po
/compile
/test-driver

# Include this one Makefile
!/pkg/dpkg/videos/Makefile

# CScope:
/.cscope
.cscope*
cscope.out

# Waf:
/waf
/.waf-*

# VS Code
.vscode

# Eclipse CDT
.project
.cproject
.settings/

# KDevelop4
/.kdev4/
/warzone*.kdev4
/.kdev_include_paths

# Qt
tools/qwzm/config
tools/qwzm/moc_qwzm.cpp
tools/qwzm/moc_wzmglwidget.cpp
tools/qwzm/qwzm
tools/qwzm/ui_animationview.h
tools/qwzm/ui_connectorview.h
tools/qwzm/ui_qwzm.h

# Patches
commit-*
*.patch
*.diff
*.rej
*.orig

# Debian stuff
/debian
/pkg/dpkg/files
/pkg/dpkg/tmp/
/pkg/dpkg/warzone2100-data.debhelper.log
/pkg/dpkg/warzone2100-data.substvars
/pkg/dpkg/warzone2100-data/
/pkg/dpkg/warzone2100-music.debhelper.log
/pkg/dpkg/warzone2100-music.substvars
/pkg/dpkg/warzone2100-music/
/pkg/dpkg/warzone2100.debhelper.log
/pkg/dpkg/warzone2100.postinst.debhelper
/pkg/dpkg/warzone2100.postrm.debhelper
/pkg/dpkg/warzone2100.substvars
/pkg/dpkg/warzone2100/

#Snapcraft Stuff
/prime
/stage
/parts
/.snapenv

#Mac Stuff
.DS_Store
*.pbxuser
*.perspectivev3
*.xcscmblueprint

# build folders
/build
/build_*/
!/build_tools/

#misc (MSVC)
*.orig
*.bak
*.exe
*.obj
*.suo
*.ncb
*.htm
*.mep
*.res
*.idb
*.pdb
*.diff
*.dep
*.user
*.lib
*.dll
*.lastcodeanalysissucceeded
data/*.dll
data/qt.conf
data/*config*/*
data/config/*
data/etc/*
data/std*.txt
devpkg/*
[Dd]ebug/
*.opensdf
*.aps
*.sdf
*.ipch
*.tlog
*.lastbuildstate
*.cache*
*.exp
warzone*.*build
*.lnk
/CMakeSettings.json
/launch.vs.json

# Tests
/tests/jslist.txt
/tests/maplist.txt
/tests/modellist.txt

# Locale
/locale

# vcpkg
/vcpkg/
/vcpkg_installed/

# ctags file
/tags

# Exclusions
# Do not ignore the *.manifest* files that are used under the /platforms/windows folder
!/platforms/windows/*.manifest*
# Do not ignore NSIS plugins under the pkg/nsis/plugins/*/ folders
!/pkg/nsis/plugins/*/*.dll
# Do not ignore the in-repo template file used for translation integration
!/po/warzone2100_en.pot
!/po/warzone2100.pot
# Do not ignore patches in vcpkg overlay-ports folder
!.ci/vcpkg/overlay-ports/*/*.patch
# Do not ignore patches in quickjs patches folder
!3rdparty/quickjs/patches/*.patch
# Do not ignore patches in sentry folder
!lib/exceptionhandler/3rdparty/sentry/**/*.patch

# JetBrains IDEs like CLion
/.idea/
/cmake-build-*/
/out/

# flatpak
/.flatpak-builder/
/_flatpak_build/
/flatpak_app/
/.ci/flatpak/flatpak-github-action-modified-*
/.ci/flatpak/net.wz2100.wz2100.yaml
/.ci/flatpak/Toolchain-cross-arch.cmake
/.ci/flatpak/meson-cross-file.txt
