heroes-commits
[Top][All Lists]
Advanced

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

[Heroes] CVS: heroes/src people.def,1.9.2.4,1.9.2.5 render.c,1.57,1.57.2


From: Alexandre Duret-Lutz
Subject: [Heroes] CVS: heroes/src people.def,1.9.2.4,1.9.2.5 render.c,1.57,1.57.2.1
Date: Wed, 20 Nov 2002 04:32:35 -0800

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

Modified Files:
      Tag: heroes_0_19_errata
        people.def render.c 
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: people.def
===================================================================
RCS file: /cvsroot/heroes/heroes/src/people.def,v
retrieving revision 1.9.2.4
retrieving revision 1.9.2.5
diff -u -r1.9.2.4 -r1.9.2.5
--- people.def  22 Aug 2002 11:45:51 -0000      1.9.2.4
+++ people.def  20 Nov 2002 12:32:33 -0000      1.9.2.5
@@ -58,6 +58,12 @@
 };
 
 person = {
+  name    = "Christoph Claus";
+  email   = address@hidden;
+  bugs;
+};
+
+person = {
   name    = "Beiad Ian Q. Dalton";
   email   = address@hidden;
   bugs;

Index: render.c
===================================================================
RCS file: /cvsroot/heroes/heroes/src/render.c,v
retrieving revision 1.57
retrieving revision 1.57.2.1
diff -u -r1.57 -r1.57.2.1
--- render.c    22 Jan 2002 20:21:22 -0000      1.57
+++ render.c    20 Nov 2002 12:32:33 -0000      1.57.2.1
@@ -592,7 +592,7 @@
     int arrow_index = (wavepos * NBR_ARROW_FRAMES / 70) % NBR_ARROW_FRAMES;
     a_sprite *s = tutorial_arrow[arrow_index];
     double d  = 10.0 + 4.0 * sin (wavepos / 40.0); /* arbitrary */
-    /* Substract M_PI_4 so the arrow looks a bit inclinded.  */
+    /* Substract M_PI_4 so the arrow looks a bit inclined.  */
     int dx =   d * cos (angle - M_PI_4);
     int dy = - d * sin (angle - M_PI_4);
     int color = minisinus[wavepos & 31] + 10;



-------------------------------------------------------
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]