doompanning/README.md

35 lines
702 B
Markdown
Raw Normal View History

2024-12-16 20:14:59 +01:00
# doompanning
2024-12-16 20:24:09 +01:00
@oxmox@chaos.social
2024-12-16 20:14:59 +01:00
## Requirements
2024-12-18 19:18:31 +01:00
### Linux
2024-12-18 19:01:58 +01:00
gcc/clang, cmake, sdl2, doom shareware
2024-12-16 20:14:59 +01:00
See [Dockerfile](Dockerfile) for details.
2024-12-18 19:01:58 +01:00
### MSYS2 (ucrt64)
2024-12-18 19:18:02 +01:00
Copy `doom1.wad` into the build or parent directories. In a `ucrt64` shell:
2024-12-18 19:01:58 +01:00
```bash
2024-12-18 19:53:41 +01:00
pacman -S mingw-w64-ucrt-x86_64-SDL2 mingw-w64-ucrt-x86_64-toolchain mingw-w64-ucrt-x86_64-cmake
2024-12-18 19:01:58 +01:00
cd doompanning
mkdir build
cmake -G"MinGW Makefiles" ..
cmake --build . -j
2024-12-18 19:18:02 +01:00
./doompanning.exe
2024-12-18 19:01:58 +01:00
```
2024-12-16 20:14:59 +01:00
## State
Input forwarding to the dooms is currently broken or at least in a bad state.
Was trying out something, not sure.
2024-12-16 20:24:09 +01:00
Run [sdl_nyan_demo](external/sdl_nyan/src/sdl_nyan_demo.cc) for the cats.
2024-12-18 19:01:58 +01:00
![sdl_nyan_demo](external/sdl_nyan/sdl_nyan_demo.png)