Update of /cvsroot/netrek/client/netrekxp/include
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv27015/include
Modified Files:
bitmaps.h data.h
Log Message:
Fixed KRP dashboard hull display upon death
Added "warnHull: on/(off)" to visually display hull status as a series of dots
around your ship. Modelled after warnHull implementation in COW, except that I
use an actual bitmap rather than the hullbitmap header file to define the
bitmaps.
Index: bitmaps.h
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/include/bitmaps.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- bitmaps.h 11 Jun 2006 20:53:52 -0000 1.12
+++ bitmaps.h 13 Jun 2006 11:18:22 -0000 1.13
@@ -35,6 +35,7 @@
#define BMP_TORPDET_FRAMES 5
#define BMP_TORP_FRAMES 8
+#define BMP_HULL_FRAMES 8
#define BMP_EPLASMA 6
#define BMP_ETORP 7
@@ -81,6 +82,7 @@
#define BMP_CLOAK 15
#define BMP_SHIELD 16
#define BMP_VSHIELD 17
+#define BMP_HULL 18
#define BMP_STIPPLE 22
#define BMP_GENO 23
#define BMP_GENO2 24
Index: data.h
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/include/data.h,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- data.h 12 Jun 2006 14:10:29 -0000 1.32
+++ data.h 13 Jun 2006 11:18:22 -0000 1.33
@@ -20,6 +20,8 @@
#define shield_height 20
#define cloak_width 20
#define cloak_height 20
+#define hull_width 22
+#define hull_height 22
#define etorp_width 3
#define etorp_height 3
@@ -280,6 +282,10 @@
#endif
+extern W_Icon base_hull;
+extern W_Icon hull[BMP_HULL_FRAMES];
+extern int vary_hull;
+
extern W_Icon tractbits, pressbits;
//Ships
_______________________________________________
netrek-cvs mailing list
[email protected]
http://mailman.us.netrek.org/mailman/listinfo/netrek-cvs