DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T o

⟦09fb8eb31⟧ TextFile

    Length: 3519 (0xdbf)
    Types: TextFile
    Names: »objects.h«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/Sun/Mex/objects.h« 

TextFile

/*   ALL code in this program may be used for personal use */
/*   and this program may be distributed as long as this copyright */
/*   heading is attached to each source code file.  Distribution must  */
/*   be done FREE of charge................ */
/*                                           Glenn Kreisel */
/*				             glenn@midget.towson.edu */		
#define piece object_struct
#define LTRED &block
#define LTGREEN &block2
#define YELLOW &block3
#define BLUE &block4
#define WHITE &block5
#define RED &block6
#define GREEN &block7
extern struct piece ltred_piece;
extern struct piece yellow_piece2;
extern struct piece green_piece2;
extern struct piece blue_piece2, blue_piece3, blue_piece4;
extern struct piece white_piece2, white_piece3, white_piece4;
extern struct piece red_piece2, red_piece3, red_piece4;
/* Piece defs taken from Marc Budha's program at UDEL */
/*  --x-
**  --x- Vertical Red Piece
**  --x-
**  --x- */
struct piece ltred_piece2 = { &ltred_piece, LTRED,
	{ 2, 2, 2, 2 }, { 0, 1, 2, 3} };
/*  ----
**  xxxx Horizontal Red Piece
**  ----
**  ---- */
struct piece ltred_piece =  { &ltred_piece2, LTRED,
	{ 1, 0, 3, 2 }, { 1, 1, 1, 1} };
/*  ----
**  -xx- Green Piece
**  -xx-
**  ---- */
struct piece ltgreen_piece =  { &ltgreen_piece, LTGREEN,
	{ 1, 1, 2, 2 }, { 1, 2, 1, 2} };
/*  ----
**  -xx- Yellow Piece 1
**  xx--
**  ---- */
struct piece yellow_piece =  { &yellow_piece2, YELLOW,
	{ 1, 0, 2, 1 }, { 1, 2, 1, 2 } };
/*  -x--
**  -xx- Yellow Piece 2
**  --x-
**  ---- */
struct piece yellow_piece2 =  { &yellow_piece, YELLOW,
	{ 1, 1, 2, 2 }, { 0, 1, 1, 2 } };
/*  -xx-
**  -x-- Blue Piece 1
**  -x--
**  ---- */
struct piece blue_piece =  { &blue_piece4, BLUE,
	{ 1, 1, 2, 1 }, { 0, 1, 0, 2 } };
/*  ----
**  xxx- Blue Piece 2
**  --x-
**  ---- */
struct piece blue_piece2 =  { &blue_piece, BLUE,
	{ 1, 0, 2, 2 }, { 1, 1, 1, 2 } };
/*  --x-
**  --x- Blue Piece 3
**  -xx-
**  ---- */
struct piece blue_piece3 =  { &blue_piece2, BLUE,
	{ 2, 1, 2, 2 }, { 0, 2, 1, 2 } };
/*  -x--
**  -xxx Blue Piece 4
**  ----
**  ---- */
struct piece blue_piece4 =  { &blue_piece3, BLUE,
	{ 1, 1, 3, 2 }, { 0, 1, 1, 1 } };
/*  ----
**  xxx- White Piece 1
**  -x--
**  ---- */
struct piece white_piece =  { &white_piece4, WHITE,
	{ 1, 0, 2, 1 }, { 1, 1, 1, 2 } };
/*  -x--
**  xx-- White Piece 2
**  -x--
**  ---- */
struct piece white_piece2 =  { &white_piece, WHITE,
	{ 1, 0, 1, 1 }, { 0, 1, 1, 2 } };
/*  -x--
**  xxx- White Piece 3
**  ----
**  ---- */
struct piece white_piece3 =  { &white_piece2, WHITE,
	{ 1, 0, 2, 1 }, { 0, 1, 1, 1 } };
/*  -x--
**  -xx- White Piece 4
**  -x--
**  ---- */
struct piece white_piece4 =  { &white_piece3, WHITE,
	{ 1, 1, 2, 1 }, { 0, 1, 1, 2 } };
/*  -xx-
**  --x- Red Piece 1
**  --x-
**  ---- */
struct piece red_piece =  { &red_piece4, RED,
	{ 2, 1, 2, 2 }, { 0, 0, 1, 2 } };
/*  ---x
**  -xxx Red Piece 2
**  ----
**  ---- */
struct piece red_piece2 =  { &red_piece, RED,
	{ 3, 1, 3, 2 }, { 0, 1, 1, 1 } };
/*  -x--
**  -x-- Red Piece 3
**  -xx-
**  ---- */
struct piece red_piece3 =  { &red_piece2, RED,
	{ 1, 1, 2, 1 }, { 0, 1, 2, 2 } };
/*  ----
**  -xxx Red Piece 4
**  -x--
**  ---- */
struct piece red_piece4 =  { &red_piece3, RED,
	{ 2, 1, 3, 1 }, { 1, 1, 1, 2 } };
/*  ----
**  xx-- Green Piece 1
**  -xx-
**  ---- */
struct piece green_piece =  { &green_piece2, GREEN,
	{ 1, 0, 2, 1 }, { 1, 1, 2, 2 } };
/*  --x-
**  -xx- Green Piece 2
**  -x--
**  ---- */
struct piece green_piece2 =  { &green_piece, GREEN,
	{ 2, 1, 2, 1 }, { 0, 1, 1, 2 } };