Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
pipelined_texture.h
Go to the documentation of this file.
1
#ifndef __PIPELINED_TEXTURE_H__INCLUDED_
2
#define __PIPELINED_TEXTURE_H__INCLUDED_
3
4
#include "
aux_texture.h
"
5
6
class
PipelinedTexture
:
public
Texture
7
{
8
int
current;
9
int
last;
10
//clone==2 means both current and last are clones 1 means last is a clone
11
char
clone;
12
public
:
13
bool
operator==
(
const
Texture
&
b
)
14
{
15
return
false
;
16
}
17
bool
operator<
(
const
Texture
&
b
)
18
{
19
return
true
;
20
}
21
virtual
Texture
*
Clone
();
22
virtual
Texture
*
Original
();
23
PipelinedTexture
();
24
PipelinedTexture
(
unsigned
int
width
,
unsigned
int
height
,
unsigned
char
*current,
unsigned
char
*last );
25
~PipelinedTexture
();
26
unsigned
char
*
beginMutate
();
27
void
Swap
();
28
void
endMutate
(
int
xoffset,
int
yoffset,
int
width
,
int
height
);
29
void
MakeBothActive
();
30
void
MakeActive
();
31
void
MakeLastActive
();
32
};
33
34
#endif
35
src
gfx
pipelined_texture.h
Generated on Fri May 29 2015 23:07:27 for Vegastrike 0.5.1 rc1 by
1.8.4