Logo Search packages:      
Sourcecode: freecraft version File versions  Download package

Defines

intern_video.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define CLIP_RECTANGLE(x, y, width, height)
#define CLIP_RECTANGLE(x, y, width, height)
#define CLIP_RECTANGLE(x, y, width, height)
#define CLIP_RECTANGLE(x, y, width, height)
#define CLIP_RECTANGLE(x, y, width, height)
#define CLIP_RECTANGLE_OFS(x, y, width, height, ofsx, ofsy, endx)
#define CLIP_RECTANGLE_OFS(x, y, width, height, ofsx, ofsy, endx)
#define CLIP_RECTANGLE_OFS(x, y, width, height, ofsx, ofsy, endx)
#define CLIP_RECTANGLE_OFS(x, y, width, height, ofsx, ofsy, endx)
#define CLIP_RECTANGLE_OFS(x, y, width, height, ofsx, ofsy, endx)

#define CLIP_RECTANGLE(x, y, width, height)
 current clipping bottom right
#define CLIP_RECTANGLE_OFS(x, y, width, height, ofsx, ofsy, endx)
int ClipX1
 Flag Color Cycle with all palettes.
int ClipY1
 current clipping top left
int ClipX2
 current clipping top left
int ClipY2
 current clipping bottom right

Detailed Description

THIS HEADER FILE SHOULD ONLY BE INCLUDED BY SOURCE-FILES IN VIDEO !!!

This delivers an interface to basic video operations in video.c, while keeping these detailed operations out of the main include-file video.h

Todo:
FIXME: Currently some interfaces listed in video.h should be moved in here, this includes possible "extern" declarations in source-files themselves. The doxygen docs looks not good, but now contains all info.

Draw translucent rectangle.

Parameters:
colorColor index.
xx coordinate on the screen
yy coordinate on the screen
hheight of rectangle (0=don't draw).
wwidth of rectangle (0=don't draw).
alphaalpha value of pixel. Draw rectangle clipped.
colorColor index.
xx coordinate on the screen
yy coordinate on the screen
hheight of rectangle (0=don't draw).
wwidth of rectangle (0=don't draw).

Draw 25% translucent rectangle clipped.

Parameters:
colorColor index.
xx coordinate on the screen
yy coordinate on the screen
hheight of rectangle (0=don't draw).
wwidth of rectangle (0=don't draw).

Draw 50% translucent rectangle clipped.

Parameters:
colorColor index.
xx coordinate on the screen
yy coordinate on the screen
hheight of rectangle (0=don't draw).
wwidth of rectangle (0=don't draw).

Draw 75% translucent rectangle clipped.

Parameters:
colorColor index.
xx coordinate on the screen
yy coordinate on the screen
hheight of rectangle (0=don't draw).
wwidth of rectangle (0=don't draw).

Draw translucent rectangle clipped.

Parameters:
colorColor index.
xx coordinate on the screen
yy coordinate on the screen
hheight of rectangle (0=don't draw).
wwidth of rectangle (0=don't draw).
alphaalpha value of pixel.

Definition in file intern_video.h.


Generated by  Doxygen 1.6.0   Back to index