diff --git a/src/road.cpp b/src/road.cpp index 0bc93ba3..1ee3618d 100644 --- a/src/road.cpp +++ b/src/road.cpp @@ -973,10 +973,11 @@ _MEM_STATISTIC_("AFTER TABLE OPEN -> "); #ifdef ACTINT if (XGR_Obj.get_screen_scale_x() == 1) { curGMap = new iGameMap(aScrDisp -> curIbs -> CenterX,aScrDisp -> curIbs -> CenterY,XSIDE,YSIDE); + COMPAS_RIGHT = DEFAULT_COMPAS_RIGHT; } else { curGMap = new iGameMap(XGR_MAXX / 2, XGR_MAXY / 2, XGR_MAXX / 2, XGR_MAXY / 2); + COMPAS_RIGHT = HD_COMPAS_RIGHT; } - COMPAS_RIGHT = DEFAULT_COMPAS_RIGHT; #else curGMap = new iGameMap(XGR_MAXX/2,XGR_MAXY/2,XSIDE,YSIDE); #endif @@ -1720,10 +1721,6 @@ iGameMap::iGameMap(int _x,int _y,int _xside,int _yside) UcutRight = xc + xside; VcutUp = yc - yside; VcutDown = yc + yside; - - if (XGR_Obj.get_screen_scale_x() == 1.6f) { - UcutRight = (XGR_MAXX - (800 - aScrDisp -> curIbs -> SizeX)); - } // focus = (xside*540)/180; focus_flt = focus = 512; @@ -1783,10 +1780,6 @@ void iGameMap::change(int Dx,int Dy,int mode,int xcenter,int ycenter) UcutRight = xc + xside; VcutUp = yc - yside; VcutDown = yc + yside; - - if (XGR_Obj.get_screen_scale_x() == 1.6f) { - UcutRight = (XGR_MAXX - (I_RES_X - aScrDisp -> curIbs -> SizeX)); - } TurnSecX = TurnSecX*xsize/xsize_old; camera_zmin = camera_zmin*xsize/xsize_old; @@ -1805,7 +1798,7 @@ void iGameMap::change(int Dx,int Dy,int mode,int xcenter,int ycenter) void iGameMap::reset(void) { - std::cout<<"iGameMap::reset"<