[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/src/include video.h
From: |
address@hidden |
Subject: |
[Stratagus-CVS] stratagus/src/include video.h |
Date: |
17 Dec 2003 06:48:31 +1100 |
CVSROOT: /home/strat
Module name: stratagus
Changes by: <address@hidden> 03/12/17 06:48:31
Modified files:
src/include : video.h
Log message:
Temporary fix for translucent functions with SDL_SURFACE
Patches:
Index: stratagus/src/include/video.h
diff -u stratagus/src/include/video.h:1.104 stratagus/src/include/video.h:1.105
--- stratagus/src/include/video.h:1.104 Tue Dec 16 22:02:22 2003
+++ stratagus/src/include/video.h Wed Dec 17 06:48:30 2003
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: video.h,v 1.104 2003/12/16 11:02:22 mohydine Exp $
+// $Id: video.h,v 1.105 2003/12/16 19:48:30 jsalmon3 Exp $
#ifndef __VIDEO_H__
#define __VIDEO_H__
@@ -514,6 +514,16 @@
/// Draw a graphic object clipped and flipped in X direction.
extern void VideoDrawClipX(const Graphic*, unsigned frame, int x, int y);
+ /// Translucent Functions
+ /// Draw a graphic object unclipped.
+#define VideoDrawTrans50(o, f, x, y) VideoDraw((o), (f), (x), (y))
+ /// Draw a graphic object unclipped and flipped in X direction.
+#define VideoDrawXTrans50(o, f, x, y) VideoDrawX((o), (f), (x), (y))
+ /// Draw a graphic object clipped to the current clipping.
+#define VideoDrawClipTrans50(o, f, x, y) VideoDrawClip((o), (f), (x),
(y))
+ /// Draw a graphic object clipped and flipped in X direction.
+#define VideoDrawClipXTrans50(o, f, x, y) VideoDrawClipX((o), (f), (x),
(y))
+
/// Draw a shadow graphic object clipped to the current clipping.
extern void VideoDrawShadowClip(const Graphic*, unsigned frame,
int x, int y);
@@ -1137,10 +1147,9 @@
#define VideoDrawClip(o, f, x, y) ((o)->Type->DrawClip)((o), (f), (x),
(y))
/// Draw a graphic object clipped and flipped in X direction.
#define VideoDrawClipX(o, f, x, y) ((o)->Type->DrawClipX)((o), (f), (x),
(y))
- /// Draw a shadow graphic object clipped to the current clipping.
- ///Translucide Functions
- /// Draw a graphic object unclipped.
+ /// Translucent Functions
+ /// Draw a graphic object unclipped.
#define VideoDrawTrans50(o, f, x, y) ((o)->Type->DrawTrans50)((o), (f), (x),
(y))
/// Draw a graphic object unclipped and flipped in X direction.
#define VideoDrawXTrans50(o, f, x, y) ((o)->Type->DrawXTrans50)((o), (f),
(x), (y))
@@ -1148,8 +1157,8 @@
#define VideoDrawClipTrans50(o, f, x, y)
((o)->Type->DrawClipTrans50)((o), (f), (x), (y))
/// Draw a graphic object clipped and flipped in X direction.
#define VideoDrawClipXTrans50(o, f, x, y)
((o)->Type->DrawClipXTrans50)((o), (f), (x), (y))
- /// Draw a shadow graphic object clipped to the current clipping.
+ /// Draw a shadow graphic object clipped to the current clipping.
#define VideoDrawShadowClip(o, f, x, y)
((o)->Type->DrawShadowClip)((o),(f),(x),(y))
/// Draw a shadow graphic object clipped and flipped in X direction.
#define VideoDrawShadowClipX(o, f, x, y)
((o)->Type->DrawShadowClipX)((o),(f),(x),(y))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Stratagus-CVS] stratagus/src/include video.h,
address@hidden <=