Vnum - rnum of mob obj room and zones

From: Emanuele (
Date: 02/09/02


This is a part of struct.h :
typedef sh_int room_vnum;  /* A room's vnum type.     */
typedef sh_int obj_vnum; /* An object's vnum type. */
typedef sh_int mob_vnum; /* A mob's vnum type.  */
typedef sh_int zone_vnum;  /* A virtual zone number. */
typedef sh_int shop_vnum;  /* A virtual shop number. */

typedef sh_int room_rnum;  /* A room's real (internal) number type */
typedef sh_int obj_rnum; /* An object's real (internal) num type */
typedef sh_int mob_rnum; /* A mobile's real (internal) num type */
typedef sh_int zone_rnum;  /* A zone's real (array index) number. */
typedef sh_int shop_rnum;  /* A shop's real (array index) number. */

I want use more than 32k number, so instead of "signed short int" I want to
use a long integer (for example).
But, it made a lot of problem when i compile the src.
So my question is : ( :)))
If using a long integer type is possible, how many changes do I have to do
to the src?
Or why it is not possible?



ICQ# 43149645
        We don't need no education
      We don't need no thought control
      No dark sarcarm in the classroom
       Teachers leave the kids alone
All in all it's just another brick in the wall
_______________[Pink Floyd]__________________

   | FAQ: |
   | Archives: |
   | Newbie List:   |

This archive was generated by hypermail 2b30 : 06/25/03 PDT