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 g

⟦751926d60⟧ TextFile

    Length: 593 (0x251)
    Types: TextFile
    Names: »graphics.h«

Derivation

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

TextFile

/*
 * graphics.h  --  xrobots v1.0
 */

 /* some of these are instanciated in main.c! */
extern Display 	*display;
extern Window 	playfield;
extern Widget 	playfield_widget;
extern GC 	gc,
		cleargc;
extern Pixel 	fg, 
		bg;
extern Boolean 	spiffy;

extern void 	update_score();

extern XtEventHandler redisplay_level();

extern void 	init_pixmaps(), 
		display_possible_moves(), 
		display_level(), 
		update_pointer(), 
		free_pixmaps(), 
		do_death(), 
		show_teleport(), 
		show_sonic(), 
		show_movement();

#define CELLSIZE 21

#define pos_to_coord( _pos_ ) (( _pos_ ) * CELLSIZE + 5)