File: beTypes.h

package info (click to toggle)
devil 1.6.7-5%2Betch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 11,536 kB
  • ctags: 7,441
  • sloc: ansic: 35,573; sh: 8,075; cpp: 7,465; pascal: 792; makefile: 399; python: 47
file content (21 lines) | stat: -rw-r--r-- 704 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//============================================================//
// File:		beTypes.h
// 
// Date:		10-19-2000
//============================================================//
#ifndef BETYPES_H
#define BETYPES_H

#define beDirectDraw                    IDirectDraw7
#define beDirectDrawIID                 IID_IDirectDraw7
#define beDirectDrawSurface             IDirectDrawSurface7
#define beDirectDrawSurfaceIID			IID_IDirectDrawSurface7

#define beSafeRelease(ptr)              if ((ptr) != NULL) { (ptr)->Release(); (ptr) = NULL; }

void dxutil_InitStructure(DDPIXELFORMAT& structure);
void dxutil_InitStructure(DDSURFACEDESC& structure);
void dxutil_InitStructure(DDSURFACEDESC2& structure);


#endif