26 :
w(0), h(0), nframes(0), own_frames(0),
27 frames(0), frame_index(0), frame_time(100), loop(0), shade(1.0),
28 angle(0.0), blend_mode(4), filter(1), vset(4), poly(0)
33 for (
int i = 0; i < 4; i++) {
58 :
w(0), h(0), nframes(0), own_frames(0),
59 frames(0), frame_index(0), frame_time(67), loop(0), shade(1.0),
60 angle(0.0), blend_mode(4), filter(1), vset(4), poly(0)
66 for (
int i = 0; i < 4; i++) {
105 w = (int) (scale *
w);
106 h = (int) (scale *
h);
108 radius = (float) ((w>h) ? w :
h) / 2.0f;
117 if (scale >= 0 &&
Frame()) {
130 if (w1 >= 0 && h1 >= 0 &&
Frame()) {
182 if (uv_interleaved) {
183 vset.
tu[0] = (float) uv_interleaved[0];
184 vset.
tv[0] = (float) uv_interleaved[1];
185 vset.
tu[1] = (float) uv_interleaved[2];
186 vset.
tv[1] = (float) uv_interleaved[3];
187 vset.
tu[2] = (float) uv_interleaved[4];
188 vset.
tv[2] = (float) uv_interleaved[5];
189 vset.
tu[3] = (float) uv_interleaved[6];
190 vset.
tv[3] = (float) uv_interleaved[7];
215 if (rate > 0.001 && rate < 100) {
255 ColorValue white((
float)
shade, (
float) shade, (
float) shade, (
float) shade);
256 DWORD diff = white.ToColor().Value();
262 (
float) orient(0,2)) * (float) (
w/2.0f);
266 (
float) orient(1,2)) * (float) (
h/2.0f);
320 ColorValue white((
float)
shade, (
float) shade, (
float) shade, (
float) shade);
323 double ca = cos(
Angle());
324 double sa = sin(
Angle());
326 double w2 =
Width() / 2.0;
327 double h2 =
Height() / 2.0;