Update of /cvsroot/netrek/client/netrekxp/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29360/include Modified Files: bitmaps.h data.h Log Message: Attempt to incorporate Defcom's high resolution bitmaps (80x80) into game . Right now all that is in, is a fed bitmaps, and they don't rotate yet (goal is to have CPU rotate ships for you). Index: bitmaps.h =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/include/bitmaps.h,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- bitmaps.h 1 May 2006 16:10:18 -0000 1.6 +++ bitmaps.h 2 May 2006 00:55:52 -0000 1.7 @@ -10,12 +10,16 @@ * #define rosette(x) ((((x) + 256/VIEWS/2) / (256/VIEWS) + VIEWS) % VIEWS) * - This function is more generic * An example using 16 views: - * (((x + 8) / 16 + 16) % 16) */ + * (((x + 8) / 16 + 16) % 16) + * Or 32 views: + * (((x + 4) / 8 + 32) % 32) */ #define rosette(x) ((((x) + 256/SHIP_VIEWS/2) / (256/SHIP_VIEWS) + SHIP_VIEWS) % SHIP_VIEWS) #define BMP_SHIP_WIDTH 20 #define BMP_SHIP_HEIGHT 20 +#define BMP_SHIP_WIDTH_HR 80 +#define BMP_SHIP_HEIGHT_HR 80 #define BMP_FED_SHIP 1 #define BMP_ORI_SHIP 4 Index: data.h =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/include/data.h,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- data.h 1 May 2006 16:10:18 -0000 1.11 +++ data.h 2 May 2006 00:55:52 -0000 1.12 @@ -296,6 +296,11 @@ kli_bitmapsT[NUM_TYPES][SHIP_VIEWS], rom_bitmapsT[NUM_TYPES][SHIP_VIEWS], ori_bitmapsT[NUM_TYPES][SHIP_VIEWS], ind_bitmapsT[NUM_TYPES][SHIP_VIEWS]; +extern W_Icon ship_bitmapsHR[5]; +extern W_Icon fed_bitmapsHR[NUM_TYPES], + kli_bitmapsHR[NUM_TYPES], rom_bitmapsHR[NUM_TYPES], + ori_bitmapsHR[NUM_TYPES], ind_bitmapsHR[NUM_TYPES]; + extern W_Icon base_planets; extern W_Icon base_mplanets; extern W_Icon bplanets[PLANET_VIEWS]; @@ -548,6 +553,11 @@ extern char *kli_ship_bmp_M; extern char *ori_ship_bmp_M; extern char *ind_ship_bmp_M; +extern char *fed_ship_bmp_HR; +extern char *rom_ship_bmp_HR; +extern char *kli_ship_bmp_HR; +extern char *ori_ship_bmp_HR; +extern char *ind_ship_bmp_HR; // Added to fix thread creation issue HANDLE MainThread;