Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Brie Doom (SDL Eiffel DOOM)

Recommended Posts

Posted (edited)

Hello, doomworld!


Just registered here to share my project with you. It is called Brie Doom (brie like cheese) https://github.com/imustafin/brie_doom.


I'm working on a source port of Doom in Eiffel language. It is based on https://github.com/id-Software/DOOM with audio/video from Chocolate Doom.


Right now the code supports sfx and music (mus2mid) via SDL2 and some in-game rendering.


Currently the code is more like a word-by-word translation of C to Eiffel. Automatic translation seems to be too hard for the moment, mostly because Eiffel to C is like Java to C and similar problems as in Mocha Doom's development arise.


I was really hesitant about sharing this anywhere until I had something remotely working, but now should be the time! Just several minutes ago I saw some walls got finally rendered (see screenshots). I believe that if I got at least this to work, then all the other things should be possible too :)



Additionally, I hope to do some scientific research on comparing Eiffel and C for purposes of developing such applications. My plan for this is:

  1. Translate the essential single-player features from C to Eiffel mostly word-by-word
  2. Refactor the code a bit (use Eiffel contracts to avoid bugs)
  3. Try to highlight and fix some known Doom bugs using contracts
  4. Compare the results based on some metrics

Your input on this plan would be highly appreciated.


P.S. I really believed the Doom's code to be much smaller :)



Main menu



Some walls rendered on E1M1.



Edited by imustafin

Share this post

Link to post

Hi, @imustafin! I was wondering when you would show up with your port :) I have been keeping tabs on your work and the unusual environment you are putting it through. Very nice! Any port that does more than the barebones is a winner to me :)

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now