#doom #game #ffi

sys doomgeneric

Bindings for the doomgeneric doom port

1 unstable release

0.3.0-beta.2 Nov 14, 2021

#168 in Rendering

GPL-2.0-only

3MB
39K SLoC

C 38K SLoC // 0.2% comments Visual Studio Project 336 SLoC Rust 157 SLoC // 0.0% comments Visual Studio Solution 31 SLoC

doomgeneric-rs

This was primarily a test whether a doom port could be integrated into rust without much hassle (to later integrate with another platform).

The awesome doom port doomgeneric was used as a basis.

This repo was originally started as piston-doom and later turned into a standalone lib. Therefore this is technically a fork of that repo with the piston-components removed.

piston-doom


This lib uses doomgeneric as a submodule. Therefore ensure this gets cloned as well or the build will fail.

For more instructions and a running demo, see piston-doom.


TODO:

  • Setting myargv and myargc to support the -iwad-flag: You need to the file named in a default way for now. The console will show you all the names
  • Support other resolutions. Not sure if this is possible without forking doomgeneric.

Dependencies