diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-10-08 14:01:51 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-10-08 14:01:51 +0000 |
commit | 1e1e15dd3ab111383b27f09f70eb590878254e00 (patch) | |
tree | 9f47098a3c1758d6d49b40e3b02442e2cae8fe85 /src/graphic/2xsai.h | |
parent | 75da526f11f74b9bffb9580c2daf63108c294ca8 (diff) | |
download | mana-1e1e15dd3ab111383b27f09f70eb590878254e00.tar.gz mana-1e1e15dd3ab111383b27f09f70eb590878254e00.tar.bz2 mana-1e1e15dd3ab111383b27f09f70eb590878254e00.tar.xz mana-1e1e15dd3ab111383b27f09f70eb590878254e00.zip |
*** empty log message ***
Diffstat (limited to 'src/graphic/2xsai.h')
-rw-r--r-- | src/graphic/2xsai.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/graphic/2xsai.h b/src/graphic/2xsai.h new file mode 100644 index 00000000..7a9128bf --- /dev/null +++ b/src/graphic/2xsai.h @@ -0,0 +1,25 @@ +#ifdef WIN32 +#pragma warning(disable:4312) +#endif + +#ifndef _2XSAI_H +#define _2XSAI_H + +#include <allegro.h> +#include <allegro/internal/aintern.h> +//#include <string.h> + + + +#define uint32 unsigned long +#define uint16 unsigned short +#define uint8 unsigned char + +int Init_2xSaI(int depth); +void Super2xSaI(BITMAP * src, BITMAP * dest, int s_x, int s_y, int d_x, int d_y, int w, int h); +void Super2xSaI_ex(uint8 *src, uint32 src_pitch, uint8 *unused, BITMAP *dest, uint32 width, uint32 height); + +void SuperEagle(BITMAP * src, BITMAP * dest, int s_x, int s_y, int d_x, int d_y, int w, int h); +void SuperEagle_ex(uint8 *src, uint32 src_pitch, uint8 *unused, BITMAP *dest, uint32 width, uint32 height); + +#endif |