Am Montag, 21. Mai 2007 schrieb Giel van Schijndel:
> Author: muggenhor
> Date: Mon May 21 00:55:12 2007
> New Revision: 1314
> URL:
> Log:
> use (u)intX_t types for structs send accross the network (for the size
> guarantees)
> Modified:
>     trunk/lib/netplay/netplay.h
// These are actually boolean values so uint8_t would suffice just as well.
// The problem is however that these where previously declared as BOOL,
// which is typedef'd as int, which on most platforms is equal to uint32_t.

Actually it doesn't matter what they were before, since 2.1 is incompatible 
anyway and will be a lot more if the netcode should be rewritten.

But still I'd leave the BOOL in there (you could make it C99 bool though), 
since neither uint8_t nor uint32_t are really descriptive about the boolean 
meaning of their contents.


Attachment: signature.asc
Description: This is a digitally signed message part.

Warzone-dev mailing list

Reply via email to