Ported surface tests.
This commit is contained in:
parent
63d7c3faa6
commit
d0e9372d99
15 changed files with 424 additions and 14 deletions
|
@ -7,12 +7,9 @@
|
|||
*/
|
||||
|
||||
|
||||
#include "SDL.h"
|
||||
#include "../SDL_at.h"
|
||||
|
||||
#include "common.h"
|
||||
|
||||
|
||||
/**
|
||||
* @brief Compares a surface and a surface image for equality.
|
||||
*/
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#ifndef COMMON_H
|
||||
# define COMMON_H
|
||||
|
||||
#include "SDL/SDL.h"
|
||||
|
||||
# define FORMAT SDL_PIXELFORMAT_ARGB8888
|
||||
# define AMASK 0xff000000 /**< Alpha bit mask. */
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
/* GIMP RGB C-Source image dump (blit.c) */
|
||||
|
||||
#include "common.h"
|
||||
|
||||
static const SurfaceImage_t img_blit = {
|
||||
80, 60, 3,
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/* GIMP RGB C-Source image dump (alpha.c) */
|
||||
#include "common.h"
|
||||
|
||||
static const SurfaceImage_t img_blendAdd = {
|
||||
80, 60, 3,
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/* GIMP RGBA C-Source image dump (face.c) */
|
||||
#include "common.h"
|
||||
|
||||
static const SurfaceImage_t img_face = {
|
||||
32, 32, 4,
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/* GIMP RGB C-Source image dump (primitives.c) */
|
||||
#include "common.h"
|
||||
|
||||
static const SurfaceImage_t img_primitives = {
|
||||
80, 60, 3,
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/* GIMP RGB C-Source image dump (alpha.c) */
|
||||
#include "common.h"
|
||||
|
||||
static const SurfaceImage_t img_blend = {
|
||||
80, 60, 3,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue