|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T p
Length: 1527 (0x5f7) Types: TextFile Names: »puzzletool.h«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987 └─⟦this⟧ »EUUGD18/Sun/Puzzle/puzzletool.h«
#include <stdio.h> #include <strings.h> #include <ctype.h> #include <suntool/sunview.h> #include <suntool/canvas.h> #include <suntool/panel.h> char *sprintf() ; #define FGETS (void) fgets /* To make lint happy. */ #define FPRINTF (void) fprintf #define IOCTL (void) ioctl #define PANEL_SET (void) panel_set #define READ (void) read #define SPRINTF (void) sprintf #define SSCANF (void) sscanf #define STRCAT (void) strcat #define STRCPY (void) strcpy #define STRNCAT (void) strncat #define STRNCPY (void) strncpy #define WINDOW_DESTROY (void) window_destroy #define WINDOW_READ_EVENT (void) window_read_event #define WINDOW_SET (void) window_set #define NORMALFONT "/usr/lib/fonts/fixedwidthfonts/screen.r.12" #define PIECE_COLS 4 /* No of columns of pieces. */ #define PIECE_H 32 /* Number of pixels for height. */ #define PIECE_ROWS 5 /* No of rows of pieces. */ #define PIECE_W 32 /* No of pixels for width. */ #define DISPLAY 30 /* Calculators numerical display. */ #define EQUAL !strcmp /* For character comparisons. */ #define MAXLINE 80 /* Length of character strings. */ #define TOTAL_HEIGHT (PIECE_ROWS * PIECE_H) #define TOTAL_WIDTH (PIECE_COLS * PIECE_W) #define PTYPE 0 #define PX 1 #define PY 2 #define PDX 3 #define PDY 4