View Single Post
  #44  
Unread 11-20-2007, 05:37 AM
Othesus's Avatar
Othesus Othesus is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Lucan DLere
Posts: 847
Default

I was just working on a really cool map plugin and I ran into the same problem Drumstix42 did.

I need to be able to set Top = A + B - C but we all know that this doesn't work because all math is done in some kind of floating point type and Top or Left wont take a floating point number. Would it be possible for the + - * operators to be overloaded to preserve type? Otherwise would it be possible to convert from float to integer?

Thanks, Rothgar!
__________________

Visit Othesus World!
Reply With Quote