From: Digital X. <dig...@us...> - 2007-03-30 20:14:43
|
Update of /cvsroot/openrpg/openrpg1/orpg/mapper In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv24959/orpg/mapper Modified Files: fog.py Log Message: Index: fog.py =================================================================== RCS file: /cvsroot/openrpg/openrpg1/orpg/mapper/fog.py,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** fog.py 30 Mar 2007 19:47:51 -0000 1.33 --- fog.py 30 Mar 2007 20:14:42 -0000 1.34 *************** *** 374,381 **** while ri.HaveRects(): ! x1 = ri.GetX()/COURSE ! x2 = x1+(ri.GetW()/COURSE)-1 ! y1 = ri.GetY()/COURSE ! y2 = y1+(ri.GetH()/COURSE)-1 poly = FogArea(str(x1) + "," + str(y1) + ";" + str(x2) + "," + str(y1) + ";" + --- 374,388 ---- while ri.HaveRects(): ! if "__WXGTK__" not in wx.PlatformInfo: ! x1 = ri.GetX()/COURSE ! x2 = x1+(ri.GetW()/COURSE)-1 ! y1 = ri.GetY()/COURSE ! y2 = y1+(ri.GetH()/COURSE)-1 ! else: ! x1 = ri.GetX() ! x2 = x1+ri.GetW()-1 ! y1 = ri.GetY() ! y2 = y1+ri.GetH()-1 ! poly = FogArea(str(x1) + "," + str(y1) + ";" + str(x2) + "," + str(y1) + ";" + |