Re: long vs. int

From: Katzlberger Thomas (cat@garfield.Vanderbilt.Edu)
Date: 09/20/95

Hi !

unsigned int is 4294967295 or 0xFFFFFFFF which is 2^32-1
int is +-2147483647 or 0x7FFFFFFF
long is as I suspect equal to int (on 32bit machines) (?)
and unsigned long equal to unsigned int.

> Next ....

What do you plan with that ??? 
But some vnum reference in circle are stored as sh_int
or short int which gives a range of +-32767 !!

   room_num load_room;		/* Which room to place char in		*/

changeing this may corrupt your playerfile !
and gives an absolute vnum MAX at 32767. or 326 zones.

typedef signed short int	sh_int;
typedef unsigned short int	ush_int;
typedef char			bool;
typedef char			byte;

typedef sh_int	room_num;
typedef sh_int	obj_num;


This archive was generated by hypermail 2b30 : 12/07/00 PST