home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Best of Select: Games 3
/
cd.iso
/
os2
/
life2
/
life2.h
< prev
next >
Wrap
Text File
|
1993-09-05
|
3KB
|
108 lines
/*-----------------------
LIFE2.H header file
----------------------*/
#define INCL_PM
#define INCL_DOS
#define INCL_WINWINDOWMGR
#define INCL_WINWORKPLACE
#define INCL_WINFRAMEMGR
#define INCL_WINSYS
#define INCL_DOSMEMMGR
#define INCL_DOSPROCESS
#define NULLH NULLHANDLE
#include <math.h>
#include <time.h>
#include <stdlib.h>
#include <stdio.h>
#include <memory.h>
#include <string.h>
#include <os2.h>
typedef struct {
ULONG colorF ;
ULONG colorB ;
} TWOCOLORS ;
typedef struct {
SHORT cScale ;
} SCALE ;
MRESULT EXPENTRY ClientWndProc ( HWND, ULONG, MPARAM, MPARAM ) ;
#define szAppName "Life2"
#define szKeyPos "Window Pos"
#define szKeyColor "Colors"
#define szKeyScale "Grid Scale"
#define COUNT 10
#define ID_RESOURCE 1
#define ID_TIMER 1
#define IDM_SIZE 10
#define IDM_LARGE 1
#define IDM_SMALL 2
#define IDM_TINY 4
#define RAN_BORDER 0
#define IDM_RANDOM 24
#define IDM_COLOR 25
#define IDM_BACK_COLOR 26
#define IDM_FORE_COLOR 27
#define IDM_RAN100 200
#define IDM_RAN90 190
#define IDM_RAN80 180
#define IDM_RAN70 170
#define IDM_RAN60 160
#define IDM_RAN50 150
#define IDM_RAN40 140
#define IDM_RAN30 130
#define IDM_RAN20 120
#define IDM_RAN10 110
#define IDM_CLEAR 20
#define IDM_START 21
#define IDM_STOP 22
#define IDM_STEP 23
#define FCLR_BLACK 100
#define FCLR_DARKBLUE 99
#define FCLR_DARKGREEN 98
#define FCLR_DARKCYAN 97
#define FCLR_DARKRED 96
#define FCLR_DARKPINK 95
#define FCLR_BROWN 94
#define FCLR_PALEGRAY 93
#define FCLR_DARKGRAY 92
#define FCLR_BLUE 91
#define FCLR_GREEN 90
#define FCLR_CYAN 89
#define FCLR_RED 88
#define FCLR_PINK 87
#define FCLR_YELLOW 86
#define FCLR_WHITE 85
#define BCLR_BLACK 300
#define BCLR_DARKBLUE 299
#define BCLR_DARKGREEN 298
#define BCLR_DARKCYAN 297
#define BCLR_DARKRED 296
#define BCLR_DARKPINK 295
#define BCLR_BROWN 294
#define BCLR_PALEGRAY 293
#define BCLR_DARKGRAY 292
#define BCLR_BLUE 291
#define BCLR_GREEN 290
#define BCLR_CYAN 289
#define BCLR_RED 288
#define BCLR_PINK 287
#define BCLR_YELLOW 286
#define BCLR_WHITE 285