├── .clang-format ├── .editorconfig ├── .gitattributes ├── .github └── workflows │ └── ci-build.yml ├── .gitignore ├── CMakeLists.txt ├── CMakePresets.json ├── LICENSE.md ├── README.md ├── example └── main.c ├── first_party ├── bink_compat │ ├── CMakeLists.txt │ ├── README.md │ ├── include │ │ └── bink_compat.h │ └── src │ │ └── bink_compat.c └── mss_compat │ ├── CMakeLists.txt │ ├── README.md │ ├── include │ └── mss_compat.h │ └── src │ └── mss_compat.c ├── include └── tig │ ├── art.h │ ├── bmp.h │ ├── bsearch.h │ ├── button.h │ ├── color.h │ ├── compat.h │ ├── core.h │ ├── database.h │ ├── debug.h │ ├── draw.h │ ├── file.h │ ├── file_cache.h │ ├── find_file.h │ ├── font.h │ ├── guid.h │ ├── idxtable.h │ ├── kb.h │ ├── memory.h │ ├── message.h │ ├── mouse.h │ ├── movie.h │ ├── palette.h │ ├── rect.h │ ├── sound.h │ ├── str_parse.h │ ├── tig.h │ ├── timer.h │ ├── types.h │ ├── video.h │ └── window.h ├── src ├── art.c ├── bmp.c ├── bsearch.c ├── button.c ├── color.c ├── compat.c ├── core.c ├── database.c ├── debug.c ├── draw.c ├── file.c ├── file_cache.c ├── find_file.c ├── font.c ├── guid.c ├── idxtable.c ├── kb.c ├── memory.c ├── message.c ├── mouse.c ├── movie.c ├── palette.c ├── rect.c ├── sound.c ├── str_parse.c ├── timer.c ├── video.c └── window.c ├── test ├── art_tests.cc ├── bsearch_tests.cc ├── color_tests.cc ├── database_tests.cc ├── idxtable_tests.cc ├── memory_tests.cc ├── palette_tests.cc ├── rect_tests.cc └── str_parse_tests.cc └── third_party ├── fpattern ├── CMakeLists.txt ├── LICENSE └── README.md ├── googletest ├── CMakeLists.txt └── LICENSE ├── sdl3 ├── CMakeLists.txt └── LICENSE ├── sdl3_mixer ├── CMakeLists.txt └── LICENSE └── zlib ├── CMakeLists.txt ├── LICENSE └── README.md /.clang-format: -------------------------------------------------------------------------------- 1 | BasedOnStyle: WebKit 2 | AllowShortIfStatementsOnASingleLine: WithoutElse 3 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/ci-build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/.github/workflows/ci-build.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/.gitignore -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /CMakePresets.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/CMakePresets.json -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/README.md -------------------------------------------------------------------------------- /example/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/example/main.c -------------------------------------------------------------------------------- /first_party/bink_compat/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/first_party/bink_compat/CMakeLists.txt -------------------------------------------------------------------------------- /first_party/bink_compat/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/first_party/bink_compat/README.md -------------------------------------------------------------------------------- /first_party/bink_compat/include/bink_compat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/first_party/bink_compat/include/bink_compat.h -------------------------------------------------------------------------------- /first_party/bink_compat/src/bink_compat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/first_party/bink_compat/src/bink_compat.c -------------------------------------------------------------------------------- /first_party/mss_compat/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/first_party/mss_compat/CMakeLists.txt -------------------------------------------------------------------------------- /first_party/mss_compat/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/first_party/mss_compat/README.md -------------------------------------------------------------------------------- /first_party/mss_compat/include/mss_compat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/first_party/mss_compat/include/mss_compat.h -------------------------------------------------------------------------------- /first_party/mss_compat/src/mss_compat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/first_party/mss_compat/src/mss_compat.c -------------------------------------------------------------------------------- /include/tig/art.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/art.h -------------------------------------------------------------------------------- /include/tig/bmp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/bmp.h -------------------------------------------------------------------------------- /include/tig/bsearch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/bsearch.h -------------------------------------------------------------------------------- /include/tig/button.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/button.h -------------------------------------------------------------------------------- /include/tig/color.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/color.h -------------------------------------------------------------------------------- /include/tig/compat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/compat.h -------------------------------------------------------------------------------- /include/tig/core.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/core.h -------------------------------------------------------------------------------- /include/tig/database.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/database.h -------------------------------------------------------------------------------- /include/tig/debug.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/debug.h -------------------------------------------------------------------------------- /include/tig/draw.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/draw.h -------------------------------------------------------------------------------- /include/tig/file.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/file.h -------------------------------------------------------------------------------- /include/tig/file_cache.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/file_cache.h -------------------------------------------------------------------------------- /include/tig/find_file.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/find_file.h -------------------------------------------------------------------------------- /include/tig/font.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/font.h -------------------------------------------------------------------------------- /include/tig/guid.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/guid.h -------------------------------------------------------------------------------- /include/tig/idxtable.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/idxtable.h -------------------------------------------------------------------------------- /include/tig/kb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/kb.h -------------------------------------------------------------------------------- /include/tig/memory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/memory.h -------------------------------------------------------------------------------- /include/tig/message.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/message.h -------------------------------------------------------------------------------- /include/tig/mouse.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/mouse.h -------------------------------------------------------------------------------- /include/tig/movie.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/movie.h -------------------------------------------------------------------------------- /include/tig/palette.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/palette.h -------------------------------------------------------------------------------- /include/tig/rect.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/rect.h -------------------------------------------------------------------------------- /include/tig/sound.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/sound.h -------------------------------------------------------------------------------- /include/tig/str_parse.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/str_parse.h -------------------------------------------------------------------------------- /include/tig/tig.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/tig.h -------------------------------------------------------------------------------- /include/tig/timer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/timer.h -------------------------------------------------------------------------------- /include/tig/types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/types.h -------------------------------------------------------------------------------- /include/tig/video.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/video.h -------------------------------------------------------------------------------- /include/tig/window.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/include/tig/window.h -------------------------------------------------------------------------------- /src/art.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/art.c -------------------------------------------------------------------------------- /src/bmp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/bmp.c -------------------------------------------------------------------------------- /src/bsearch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/bsearch.c -------------------------------------------------------------------------------- /src/button.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/button.c -------------------------------------------------------------------------------- /src/color.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/color.c -------------------------------------------------------------------------------- /src/compat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/compat.c -------------------------------------------------------------------------------- /src/core.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/core.c -------------------------------------------------------------------------------- /src/database.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/database.c -------------------------------------------------------------------------------- /src/debug.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/debug.c -------------------------------------------------------------------------------- /src/draw.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/draw.c -------------------------------------------------------------------------------- /src/file.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/file.c -------------------------------------------------------------------------------- /src/file_cache.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/file_cache.c -------------------------------------------------------------------------------- /src/find_file.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/find_file.c -------------------------------------------------------------------------------- /src/font.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/font.c -------------------------------------------------------------------------------- /src/guid.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/guid.c -------------------------------------------------------------------------------- /src/idxtable.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/idxtable.c -------------------------------------------------------------------------------- /src/kb.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/kb.c -------------------------------------------------------------------------------- /src/memory.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/memory.c -------------------------------------------------------------------------------- /src/message.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/message.c -------------------------------------------------------------------------------- /src/mouse.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/mouse.c -------------------------------------------------------------------------------- /src/movie.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/movie.c -------------------------------------------------------------------------------- /src/palette.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/palette.c -------------------------------------------------------------------------------- /src/rect.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/rect.c -------------------------------------------------------------------------------- /src/sound.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/sound.c -------------------------------------------------------------------------------- /src/str_parse.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/str_parse.c -------------------------------------------------------------------------------- /src/timer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/timer.c -------------------------------------------------------------------------------- /src/video.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/video.c -------------------------------------------------------------------------------- /src/window.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/src/window.c -------------------------------------------------------------------------------- /test/art_tests.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/test/art_tests.cc -------------------------------------------------------------------------------- /test/bsearch_tests.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/test/bsearch_tests.cc -------------------------------------------------------------------------------- /test/color_tests.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/test/color_tests.cc -------------------------------------------------------------------------------- /test/database_tests.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/test/database_tests.cc -------------------------------------------------------------------------------- /test/idxtable_tests.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/test/idxtable_tests.cc -------------------------------------------------------------------------------- /test/memory_tests.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/test/memory_tests.cc -------------------------------------------------------------------------------- /test/palette_tests.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/test/palette_tests.cc -------------------------------------------------------------------------------- /test/rect_tests.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/test/rect_tests.cc -------------------------------------------------------------------------------- /test/str_parse_tests.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/test/str_parse_tests.cc -------------------------------------------------------------------------------- /third_party/fpattern/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/third_party/fpattern/CMakeLists.txt -------------------------------------------------------------------------------- /third_party/fpattern/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/third_party/fpattern/LICENSE -------------------------------------------------------------------------------- /third_party/fpattern/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/third_party/fpattern/README.md -------------------------------------------------------------------------------- /third_party/googletest/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/third_party/googletest/CMakeLists.txt -------------------------------------------------------------------------------- /third_party/googletest/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/third_party/googletest/LICENSE -------------------------------------------------------------------------------- /third_party/sdl3/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/third_party/sdl3/CMakeLists.txt -------------------------------------------------------------------------------- /third_party/sdl3/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/third_party/sdl3/LICENSE -------------------------------------------------------------------------------- /third_party/sdl3_mixer/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/third_party/sdl3_mixer/CMakeLists.txt -------------------------------------------------------------------------------- /third_party/sdl3_mixer/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/third_party/sdl3_mixer/LICENSE -------------------------------------------------------------------------------- /third_party/zlib/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/third_party/zlib/CMakeLists.txt -------------------------------------------------------------------------------- /third_party/zlib/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/third_party/zlib/LICENSE -------------------------------------------------------------------------------- /third_party/zlib/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexbatalov/tig/HEAD/third_party/zlib/README.md --------------------------------------------------------------------------------