/** * An x,y zeichnen. * * @author OLiver */ void noDisappearingMapEnvObject::Draw(int x, int y) { // Bild LOADER.GetMapImageN(map_id)->Draw(x, y, 0, 0, 0, 0, 0, 0, GetDrawColor()); // Schatten LOADER.GetMapImageN(map_id + 100)->Draw(x, y, 0, 0, 0, 0, 0, 0, GetDrawShadowColor()); }
/** * An x,y zeichnen. */ void noDisappearingMapEnvObject::Draw(DrawPoint drawPt) { // Bild LOADER.GetMapImageN(map_id)->DrawFull(drawPt, GetDrawColor()); // Schatten LOADER.GetMapImageN(map_id + 100)->DrawFull(drawPt, GetDrawShadowColor()); }
/** * An x,y zeichnen. * * @author OLiver */ void noSign::Draw(int x, int y) { // Wenns verschwindet, muss es immer transparenter werden unsigned color = GetDrawColor(); // Schild selbst if(type != 5) LOADER.GetMapImageN(680 + type * 3 + quantity)->Draw(x, y, 0, 0, 0, 0, 0, 0, color); else // leeres Schild LOADER.GetMapImageN(695)->Draw(x, y, 0, 0, 0, 0, 0, 0, color); // Schatten des Schildes LOADER.GetMapImageN(700)->Draw(x, y, 0, 0, 0, 0, 0, 0, GetDrawShadowColor()); }