#doom #game #ffi

sys doomgeneric

Bindings for the doomgeneric doom port

2 releases

0.3.0-beta.3 Mar 6, 2025
0.3.0-beta.2 Nov 14, 2021

#13 in Rendering

Download history 34/week @ 2024-12-04 25/week @ 2024-12-11 6/week @ 2024-12-18 3/week @ 2024-12-25 11/week @ 2025-01-01 12/week @ 2025-01-08 168/week @ 2025-03-05 24/week @ 2025-03-12 34/week @ 2025-03-19

226 downloads per month
Used in lidoom

GPL-2.0-only

3MB
42K SLoC

C 41K SLoC // 0.2% comments Visual Studio Project 339 SLoC Rust 166 SLoC // 0.0% comments Visual Studio Solution 31 SLoC

doomgeneric-rs

cratesio

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