some translations and sounds, and most of all adds a dedicated network game server. See website for hints on how to use/configure it. Remove now unneeded build_dep on automake-1.9.
24 lines
1.0 KiB
Plaintext
24 lines
1.0 KiB
Plaintext
$OpenBSD: patch-src_interface_interface_cpp,v 1.2 2009/07/21 19:16:49 landry Exp $
|
|
--- src/interface/interface.cpp.orig Sat Jul 4 23:16:39 2009
|
|
+++ src/interface/interface.cpp Wed Jul 15 20:17:46 2009
|
|
@@ -358,7 +358,8 @@ void Interface::DrawMapPreview()
|
|
Rectanglei water(0, rect_preview.GetSizeY()-h, rect_preview.GetSizeX(), h);
|
|
|
|
|
|
- Surface water_surf(Surface(GetWorld().ground.GetPreviewSize(),SDL_SWSURFACE, true));
|
|
+ Surface water_surf;
|
|
+ water_surf = Surface(GetWorld().ground.GetPreviewSize(),SDL_SWSURFACE, true);
|
|
|
|
// Draw box with color according to water type
|
|
water_surf.BoxColor(water, water_color);
|
|
@@ -399,7 +400,8 @@ void Interface::DrawMapPreview()
|
|
void Interface::GenerateStyledBox(Surface & source)
|
|
{
|
|
|
|
- Surface save_surf(Surface(GetWorld().ground.GetPreviewSize(),SDL_SWSURFACE, true));
|
|
+ Surface save_surf;
|
|
+ save_surf = Surface(GetWorld().ground.GetPreviewSize(),SDL_SWSURFACE, true);
|
|
save_surf.MergeSurface(source, Point2i(0,0));
|
|
Rectanglei temp_rect;
|
|
|