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
/** | |
* Turbo C implementation of https://gist.github.com/specht/7c3fd49400643d923c66de88a272f5e5 | |
*/ | |
#include <conio.h> | |
#include <math.h> | |
#include <stdlib.h> | |
#include "vga.h" | |
void fire(int x1, int y1, int x2, int y2) { |
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
program firetest; | |
{ Classic fire animation using VGA mode 13h and colors 0 to 63... wee !!! } | |
uses Crt, VGA; | |
var i, heat: Integer; | |
quit: Boolean; | |
c: Char; |