void Image::drawEffect(int x, int y) {
	if (mEffectCount <= 20) {
		ext += 0.005;
		ang = GetRand(360) * 3.14 / 180;
		int xrand, yrand;
		xrand = GetRand(10);
		yrand = GetRand(10);
		DrawRotaGraph3(x, y, 128, 128, ext*xrand, ext*yrand, ang, mDivHandle[0], true);
		mEffectCount++;
	}
}
Beispiel #2
0
//拡大・回転・中央指定描画
void DrawImpl::exrot3(const Vector2& pos, const Vector2& center_pos, const Vector2& Exrate_vec, double Angle, int GrHandle, int alpha, int TurnFlag, int blendMode){
	SetDrawBlendMode(blendMode, alpha);
	DrawRotaGraph3(pos.x + dx, pos.y + dy, center_pos.x, center_pos.y, Exrate_vec.x, Exrate_vec.y, Angle, GrHandle, 1, TurnFlag);
}