Add prerequisite info

This commit is contained in:
Fierelier 2023-08-09 20:56:58 +02:00
parent 4e1052d5ee
commit 613ff3b89e
1 changed files with 15 additions and 0 deletions

View File

@ -1,5 +1,20 @@
A software accelerated (CPU-only) game engine for older computers. It uses a layer of abstraction, so different implementations can be ported to it. It primarily uses SDL2. This can also be used to more easily port the engine to different consoles.
Compiles for Linux. If you want to compile for OpenBSD, run: git apply patches/openbsd/generic.patch
> Prerequisites, Debian/Ubuntu:
sudo apt install python3-toml libsdl2-dev liblua5.3-dev
> Prerequisites, OpenBSD:
* Enable ports: https://www.openbsd.org/faq/ports/ports.html
doas pkg_add py3-toml
cd /usr/ports/devel/sdl2
doas make
doas make install
cd /usr/ports/lang/lua/5.3
doas make
doas make install
>>> FUNCTIONS
>> WINDOW
> void engine_window_init(int width,int height,char * title)