Update of /cvsroot/netrek/client/netrekxp/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23153/include
Modified Files:
proto.h wlib.h
Log Message:
Added new scaling function that will allow us to use higher resolution bitmaps - requires a set of x,y coords for the source bitmap (all defined in bitmap.h already) and a set for the diplay coords (defined in data.h for most bitmaps already).
Index: wlib.h
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/include/wlib.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- wlib.h 12 Apr 2006 04:20:03 -0000 1.2
+++ wlib.h 1 May 2006 18:06:21 -0000 1.3
@@ -127,6 +127,12 @@
int y,
W_Icon bit,
W_Color color);
+extern void W_WriteScaleBitmap (int x,
+ int y,
+ float SCALEX,
+ float SCALEY,
+ W_Icon icon,
+ W_Color color);
extern void W_ClearArea (W_Window window,
int x,
int y,
Index: proto.h
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/include/proto.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- proto.h 29 Apr 2006 22:48:06 -0000 1.10
+++ proto.h 1 May 2006 18:06:21 -0000 1.11
@@ -626,6 +626,12 @@
int y,
W_Icon icon,
W_Color color);
+void W_WriteScaleBitmap (int x,
+ int y,
+ float SCALEX,
+ float SCALEY,
+ W_Icon icon,
+ W_Color color);
void W_WriteBitmapGrey (int x,
int y,
W_Icon icon,