Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

VCS_Surface Struct Reference
[Image Rotation]

#include <RotateImage.h>

List of all members.

Public Attributes

int RotationMode
 Rotation Mode.

SDL_Surface * OldSurface
 Old surface.

SDL_Surface * LockedSurface
 Location of locked surface.

int VCS_Locked
 Number of times locked, for recursive locks.


Detailed Description

This is the secret of VCS. RotateImage.cpp uses the VCS_Surface struct. The REAL member values are kept in OldSurface, and the base-class SDL_Surface members are filled with fake VCS-translated values.

When it's locked, however, the the surface is unrotated to match the fake values; then re-rotated upon unlock.

Definition at line 36 of file RotateImage.h.


The documentation for this struct was generated from the following file:
Generated on Sat Oct 11 13:19:40 2003 for Spritelib by doxygen 1.3.4