Revert "Merge branch 'Isometric-Dev' into master"

This reverts commit ae0648fccc, reversing
changes made to d7243e8265.
This commit is contained in:
Justin Marshall
2020-08-06 15:50:30 -07:00
parent ae0648fccc
commit 6685b5d51a
433 changed files with 8487 additions and 172344 deletions
+1 -5
View File
@@ -2200,7 +2200,7 @@ void UnitClass::Draw_It(int x, int y, WindowNumberType window) const
if (Flagged != HOUSE_NONE) {
shapefile = MFCD::Retrieve("FLAGFLY.SHP");
int flag_x = x + (ICON_PIXEL_W / 2) - 2;
int flag_y = y + (3 * ICON_PIXEL_H / 4) - Get_Build_Frame_Height(shapefile, 0);
int flag_y = y + (3 * ICON_PIXEL_H / 4) - Get_Build_Frame_Height(shapefile);
CC_Draw_Shape(this, "FLAGFLY", shapefile, Frame % 14, flag_x, flag_y, window, SHAPE_CENTER|SHAPE_FADING|SHAPE_GHOST, HouseClass::As_Pointer(Flagged)->Remap_Table(false, Class->Remap), Map.UnitShadow, DIR_N, 0x0100, Flagged);
}
@@ -3189,10 +3189,6 @@ MoveType UnitClass::Can_Enter_Cell(CELL cell, FacingType ) const
if ((unsigned)cell >= MAP_CELL_TOTAL) return(MOVE_NO);
if (cellptr->bigOverlay != NULL) {
return MOVE_NO;
}
/*
** Moving off the edge of the map is not allowed unless
** this is a loaner vehicle.