Difference between revisions of "Talk:SOLDIER.DAT"

From UFOpaedia
Jump to navigation Jump to search
 
m (Explanation)
Line 1: Line 1:
 
Why would Missions and Kills be signed? You're never going to have negative values. Shouldn't they be unsigned??
 
Why would Missions and Kills be signed? You're never going to have negative values. Shouldn't they be unsigned??
 +
 +
== Explanation ==
 +
 +
You would think that, wouldn't you? At least that's what I would've done in their place. You can't owe a few kills or missions! 
 +
 +
But if you enter values of 0xFFFF into each, the base screen shows -1. Hence why they're signed.
 +
 +
- [[User:NKF|NKF]]

Revision as of 04:42, 13 October 2005

Why would Missions and Kills be signed? You're never going to have negative values. Shouldn't they be unsigned??

Explanation

You would think that, wouldn't you? At least that's what I would've done in their place. You can't owe a few kills or missions!

But if you enter values of 0xFFFF into each, the base screen shows -1. Hence why they're signed.

- NKF