--- a/src/video/SDL_blit.h Thu Jul 06 18:01:37 2006 +0000
+++ b/src/video/SDL_blit.h Mon Jul 10 21:04:37 2006 +0000
@@ -27,54 +27,55 @@
#include "SDL_endian.h"
/* The structure passed to the low level blit functions */
-typedef struct {
- Uint8 *s_pixels;
- int s_width;
- int s_height;
- int s_skip;
- Uint8 *d_pixels;
- int d_width;
- int d_height;
- int d_skip;
- void *aux_data;
- SDL_PixelFormat *src;
- Uint8 *table;
- SDL_PixelFormat *dst;
+typedef struct
+{
+ Uint8 *s_pixels;
+ int s_width;
+ int s_height;
+ int s_skip;
+ Uint8 *d_pixels;
+ int d_width;
+ int d_height;
+ int d_skip;
+ void *aux_data;
+ SDL_PixelFormat *src;
+ Uint8 *table;
+ SDL_PixelFormat *dst;
} SDL_BlitInfo;
/* The type definition for the low level blit functions */
-typedef void (*SDL_loblit)(SDL_BlitInfo *info);
+typedef void (*SDL_loblit) (SDL_BlitInfo * info);
/* This is the private info structure for software accelerated blits */
-struct private_swaccel {
- SDL_loblit blit;
- void *aux_data;
+struct private_swaccel
+{
+ SDL_loblit blit;
+ void *aux_data;
};
/* Blit mapping definition */
-typedef struct SDL_BlitMap {
- SDL_Surface *dst;
- int identity;
- Uint8 *table;
- SDL_blit hw_blit;
- SDL_blit sw_blit;
- struct private_hwaccel *hw_data;
- struct private_swaccel *sw_data;
+typedef struct SDL_BlitMap
+{
+ SDL_Surface *dst;
+ int identity;
+ Uint8 *table;
+ SDL_blit sw_blit;
+ struct private_swaccel *sw_data;
- /* the version count matches the destination; mismatch indicates
- an invalid mapping */
- unsigned int format_version;
+ /* the version count matches the destination; mismatch indicates
+ an invalid mapping */
+ unsigned int format_version;
} SDL_BlitMap;
/* Functions found in SDL_blit.c */
-extern int SDL_CalculateBlit(SDL_Surface *surface);
+extern int SDL_CalculateBlit(SDL_Surface * surface);
/* Functions found in SDL_blit_{0,1,N,A}.c */
-extern SDL_loblit SDL_CalculateBlit0(SDL_Surface *surface, int complex);
-extern SDL_loblit SDL_CalculateBlit1(SDL_Surface *surface, int complex);
-extern SDL_loblit SDL_CalculateBlitN(SDL_Surface *surface, int complex);
-extern SDL_loblit SDL_CalculateAlphaBlit(SDL_Surface *surface, int complex);
+extern SDL_loblit SDL_CalculateBlit0(SDL_Surface * surface, int complex);
+extern SDL_loblit SDL_CalculateBlit1(SDL_Surface * surface, int complex);
+extern SDL_loblit SDL_CalculateBlitN(SDL_Surface * surface, int complex);
+extern SDL_loblit SDL_CalculateAlphaBlit(SDL_Surface * surface, int complex);
/*
* Useful macros for blitting routines
@@ -520,3 +521,4 @@
#endif
#endif /* _SDL_blit_h */
+/* vi: set ts=4 sw=4 expandtab: */