|
Techncially, a float is longer (natively, 4 bytes) or
equal to (2 byte conversion in WRITE_FLOAT) than a word (2 bytes). If you want
to use a percentage you could use a single byte or less (7 bits, actually, which
represents 0-127. You can use less bits by sacrificing
fidelity).
Is
your HUD a numerical representation? For instance, in "The Opera" the action
meter is not, so even though the server keeps it as a value from 0-100+, it's
sent to the client as a value from 0-63 and scaled proportionally on the
draw.
if
it's a number you're displaying, is it really that much of an issue if it's a
few digits off? I mean, if the max is 6000 I won't be all that tramatized at the
difference between a difference of 50 points, for instance.
Tnx & Rgds...
"When Alexander saw the breadth of his domain he wept for there were no more worlds to conquer…" -----Original Message-----From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of omega Sent: Wednesday, November 28, 2001 5:47 PM To: [EMAIL PROTECTED] Subject: Re: [hlcoders] Overflow problem
|
Title: Message
- Re: [hlcoders] Singing Walter plugin Miguel Aleman
- [hlcoders] Overflow problem _Phantom_
- Re: [hlcoders] Overflow problem botman
- Re: [hlcoders] Overflow problem _Phantom_
- Re: [hlcoders] Overflow problem Reedbeta
- Re: [hlcoders] Overflow problem Cortex
- RE: [hlcoders] Overflow problem David Flor
- Re: [hlcoders] Overflow problem _Phantom_
- Re: [hlcoders] Overflow problem omega
- Re: [hlcoders] Singing Walter plug... David Flor
- Re: [hlcoders] Singing Walter plugin Nathan Taylor
- RE: [hlcoders] Singing Walter plugin R�my Rakic
- Re: [hlcoders] Singing Walter plugin Miguel Aleman

