Category : Windows 3.X Files
Archive   : TERMITE.ZIP
Filename : TERMITE.H

 
Output of file : TERMITE.H contained in archive : TERMITE.ZIP
//-------------------------------------------------------------------
//
// Program: Simple state machine simulation
// Filename: TERMITE.H
// Description:
//
// This program uses state machine theory to generate
// 'termites'. These termites move within the window
// using their individual state tables.
//
// Author: Hans D. Kellner
// Version: 1.0
// Notes: none
//
//-------------------------------------------------------------------

#define IDM_OPEN 100
#define IDM_EXIT 101
#define IDM_ABOUT 102

#define IDM_RESTART 200
#define IDM_PAUSE 201
#define IDM_INS 202
#define IDM_DEL 203

#define MAX_MITES 25

#define MAX_COLORS 14

#define MAX_STATES (int)25

#define FORWARD 0
#define LEFT 1
#define RIGHT 2

#define NORTH 0
#define SOUTH 1
#define EAST 2
#define WEST 3

// Prototypes for TERMITE.C

int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int);
BOOL InitApplication(HANDLE);
long FAR PASCAL MainWndProc(HWND, unsigned, WORD, LONG);
BOOL FAR PASCAL AboutDlgWndProc(HWND, unsigned, WORD, LONG);

// Prototypes for TERMTOOL.C

void HandleTermites(HWND);
int InitTermiteData(void);
int LoadTermiteTables(char *);
int InsertTermite(void);
int DeleteTermite(void);
int ClipTermites(void);

// Prototypes for OPENDLG.C

HANDLE FAR PASCAL OpenDlgWndProc(HWND, unsigned, WORD, LONG);

// Globals from TERMITE.C

extern short xClient, yClient;

// Globals from TERMTOOL.C

extern int pauseFlag;



  3 Responses to “Category : Windows 3.X Files
Archive   : TERMITE.ZIP
Filename : TERMITE.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/