Adapted from https://github.com/mwh204/id-quake.x11. My personal notes are in notes.md.
I've split this into several folders:
- src - the original, Linux-only source with minor modifications
- newsrc - ported to SDL and actively under development but mostly maintaining Quake compatibility
- Install SDL2:
- macOS -
brew install sdl2
- Linux -
sudo apt-get install libsdl2-dev
- macOS -
cd newsrc
make
sudo dpkg --add-architecture i386
- Check that it worked:
sudo dpkg --print-foreign-architectures
sudo apt-get update
sudo apt-get install linux-libc-dev:i386 g++-multilib libx11-dev:i386 libxext-dev:i386
make
- Ensure the id1 folder and/or any mod folders you want are in the root dir of this repo
cd newsrc
- Modify the
run
rule in Makefile as desired make run
- port to SDL
- input - WIP
- sound
- graphics - DONE
- remove unnecessary code
- Replace QuakeC with Lua
- Transition codebase to C++ (use namespaces, classes as simple structs with methods)