heroes-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Heroes] CVS: heroes/src/media video.h,1.4,1.4.6.1


From: Alexandre Duret-Lutz
Subject: [Heroes] CVS: heroes/src/media video.h,1.4,1.4.6.1
Date: Wed, 20 Nov 2002 04:32:35 -0800

Update of /cvsroot/heroes/heroes/src/media
In directory sc8-pr-cvs1:/tmp/cvs-serv18448/src/media

Modified Files:
      Tag: heroes_0_19_errata
        video.h 
Log Message:
* src/media.video.h (ybuf, sbuf): Enlarge the height of the rendering
buffer, otherwise rendering tutorial arrows can overflow and
cause segfaults.
Reported by Christoph Claus and Jean Delvare.


Index: video.h
===================================================================
RCS file: /cvsroot/heroes/heroes/src/media/video.h,v
retrieving revision 1.4
retrieving revision 1.4.6.1
diff -u -r1.4 -r1.4.6.1
--- video.h     21 Sep 2001 10:43:57 -0000      1.4
+++ video.h     20 Nov 2002 12:32:33 -0000      1.4.6.1
@@ -25,8 +25,8 @@
 /* the three macro below configure the rendering buffers used in the game */
 #define xbuf 512               /* large width to suppress any clipping need,
                                   power of two of easier multiplications */
-#define ybuf 300               /* height */
-#define sbuf (50*xbuf)         /* keep sbuf empty line on top of the buffers
+#define ybuf 320               /* height */
+#define sbuf (60*xbuf)         /* keep sbuf empty line on top of the buffers
                                   (to avoid clipping) */
 
 



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html




reply via email to

[Prev in Thread] Current Thread [Next in Thread]