home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
PROGRAMM
/
GIFLIB.ZIP
/
HERC2GIF.C
< prev
next >
Wrap
C/C++ Source or Header
|
1989-08-01
|
1KB
|
27 lines
/*****************************************************************************
* "Gif-Lib" - Yet another gif library. *
* *
* Written by: Gershon Elber IBM PC Ver 0.1, Jun. 1989 *
******************************************************************************
* Program to dump the hercules graphic screen into a GIF file *
******************************************************************************
* History: *
* 26 Jun 89 - Version 1.0 by Gershon Elber. *
*****************************************************************************/
#include <graphics.h>
#include "gif_lib.h"
#define DEFAULT_NAME "hercules.gif"
/******************************************************************************
* Simple - isnt it? *
******************************************************************************/
void main(int argc, char **argv)
{
if (argc == 2)
DumpScreen(argv[1], HERCMONO, HERCMONOHI);
else
DumpScreen(DEFAULT_NAME, HERCMONO, HERCMONOHI);
}