Category : A Collection of Games for DOS and Windows
Archive   : SPCWAR.ZIP
Filename : SWR.H

 
Output of file : SWR.H contained in archive : SPCWAR.ZIP
#define MAX_ANG 128
#define PI 3.141593

void rotate(int *from, int *to,int npts,
int xpos, int ypos, int angle);
void init_tables(void);
void draw_p1(int a[][2]);
void draw_p2(int a[][2]);
void Init_Graph(void);

typedef struct uvector {
unsigned phz;
unsigned mag;
} ;
typedef struct uvector uvector;

typedef struct {
int mx,my;
int yellow,green,red,black;
int pcolor;
unsigned int XRatio,YRatio;
} graph;


/* routines contained in FAST.ASM */
extern unsigned short Umul();
extern short mul(); /* assembly language quick multiply */
extern unsigned invsqr();
extern uvector magphz();

#define Rshift(x,n) ((( (x) >> ((n)-1) ) + 1) >> 1)

#define Xscale(x) mul(x,G.XRatio)
#define Yscale(y) mul(y,G.YRatio)


  3 Responses to “Category : A Collection of Games for DOS and Windows
Archive   : SPCWAR.ZIP
Filename : SWR.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/