-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c750678
commit fee3999
Showing
4 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# 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](win351fire.gif) | ||
|
||
Mission accomplished. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.