delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/20/19:48:46

From: Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro: rotate_sprite?
Date: Fri, 20 Mar 1998 22:09:08 +0000
Organization: None
Message-ID: <274+qJAEkuE1EwoK@talula.demon.co.uk>
References: <kp4h0JW00WB=0eaEU0 AT andrew DOT cmu DOT edu>
NNTP-Posting-Host: talula.demon.co.uk
MIME-Version: 1.0
Lines: 12
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

James W Sager Iii writes:
>Can you look through my code, and see why the rotate command isn't 
>working?

You are passing an integer argument, when it should be a fixed point
value. Use the itofix() macro to convert your angle into the correct
format.


--
Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
"Pigs use it for a tambourine" - Frank Zappa

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019