Added
Link Here
|
1 |
--- src/graphic.cpp.orig Sat Jan 1 14:51:18 2005 |
2 |
+++ src/graphic.cpp Sat Jan 1 14:52:31 2005 |
3 |
@@ -44,11 +44,11 @@ |
4 |
if (pixels) free(pixels); |
5 |
} |
6 |
|
7 |
-void Graphic::setAlpha(char value=OPAQUE){ |
8 |
+void Graphic::setAlpha(char value){ |
9 |
SDL_SetAlpha(surface, SDL_SRCALPHA, value); |
10 |
} |
11 |
|
12 |
-void Graphic::enableClipping(bool flag=true){ |
13 |
+void Graphic::enableClipping(bool flag){ |
14 |
|
15 |
if (flag){ |
16 |
SDL_Rect rect; |
17 |
@@ -68,7 +68,7 @@ |
18 |
clip_height=height; |
19 |
} |
20 |
|
21 |
-void Graphic::flip(Axis a=HAxis){ |
22 |
+void Graphic::flip(Axis a){ |
23 |
if (surface){ |
24 |
if (SDL_MUSTLOCK(surface)) |
25 |
if (SDL_LockSurface(surface)<0) return; |