Skip to content

MichalStrehovsky/sharpfire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOOM fire effect in C#

This is the DOOM fire effect with no dependencies on standard GUI frameworks. Calls into Win32 APIs directly.

This is not idiomatic C# GUI code, but mostly a hack. No sane person writes C# GUI apps like this.

Can be compiled with CoreRT to generate a ~8 kB fully self-contained executable.

To publish with CoreRT simply run the following line from the root of the repo:

dotnet publish -r win-x64 -c Release /p:UseCoreRT=true

The main objective of this was to get this code running on Windows NT 3.51:

C# fire effect on Windows NT 3.51

Mission accomplished.