aboutsummaryrefslogtreecommitdiff
path: root/src/visualizations/Goom/goom2k4-0/sdl-goom/surface.h
blob: 61c73d19a4bde5360d630a914cda83b8860cf9ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _SURFACE_H
#define _SURFACE_H

typedef struct {
  int * buf;
  int width;
  int height;
  int size;

  int * realstart;
} Surface;

Surface * surface_new (int w, int h) ;
void surface_delete (Surface **s) ;

#endif