Added overloads to Draw/DrawRotated for int and float.

This commit is contained in:
James Turk 2003-02-10 05:26:17 +00:00
parent efe93334bb
commit 20c9ba1a5b
2 changed files with 4 additions and 3 deletions

View File

@ -13,7 +13,7 @@
File: ZE_ZImage.h <br>
Description: Header file for core ZEngine Image and Texture Object. <br>
Author(s): James Turk, Gamer Tazar <br>
$Id: ZE_ZImage.h,v 1.15 2003/02/10 05:15:33 cozman Exp $<br>
$Id: ZE_ZImage.h,v 1.16 2003/02/10 05:26:18 cozman Exp $<br>
\file ZE_ZImage.h
\brief Definition file for ZImage.
@ -275,6 +275,7 @@ class ZImage
\brief Draw Image rotated to screen.
Image is rotated about it's own center by specified angle, then drawn to screen.
\since 0.8.3
\param x X coord to draw Image to.
\param y Y coord to draw Image to.
\param angle Angle in degrees to rotate image.

View File

@ -13,7 +13,7 @@
File: ZE_ZImage.cpp <br>
Description: Implementation source file for core ZEngine Image or Texture Object. <br>
Author(s): James Turk, Gamer Tazar <br>
$Id: ZE_ZImage.cpp,v 1.26 2003/02/10 05:15:33 cozman Exp $<br>
$Id: ZE_ZImage.cpp,v 1.27 2003/02/10 05:26:17 cozman Exp $<br>
\file ZE_ZImage.cpp
\brief Source file for ZImage.
@ -178,7 +178,7 @@ void ZImage::SetAlpha(Uint8 alpha)
void ZImage::SetColorKey(Uint8 red, Uint8 green, Uint8 blue)
{
SDL_Surface *temp=NULL;
Uint32 color = SDL_MapRGB(rImage->format,red,green,blue);
Uint32 color = SDL_MapRGB(rImage->format,red,green,blue);
if(rImage)
{