#50: Fixes 64bit issue with iV_DrawTextRotatedFv()
-----------------------+----------------------------------------------------
 Reporter:  Buginator  |              Owner:           
     Type:  defect     |             Status:  new      
 Priority:  critical   |          Milestone:  2.1      
Component:  other      |            Version:  all      
 Keywords:             |   Operating_system:  GNU/Linux
-----------------------+----------------------------------------------------
 Since windows don't have a va_copy() function, was forced to rewrite
 function.
 {{{
 void iV_DrawTextRotatedFv(float x, float y, float rotation, const char*
 format, va_list ap)
 {
         char str[255];

         // Print into our string buffer
         vsnprintf(str, sizeof(str),format, ap);

         // Draw the produced string to the screen at the given position
 and rotation
         iV_DrawTextRotated(str, x, y, rotation);
 }
 }}}

-- 
Ticket URL: <http://developer.wz2100.net/ticket/50>
Warzone 2100 Trac <http://wz2100.net/>
The Warzone 2100 Resurrection Project
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to