Re: virtual/real variable types

From: krenshala (krenshala@jump.net)
Date: 12/05/01


From: George Greer <greerga@CIRCLEMUD.ORG>

> Index: structs.h
> ===================================================================
> RCS file: /home/circledb/.cvs/circle/src/structs.h,v
> retrieving revision 1.41
> diff -u -p -r1.41 structs.h
> --- structs.h   2001/11/27 06:42:22     1.41
> +++ structs.h   2001/12/04 12:32:32
> @@ -32,14 +32,18 @@
>  /* preamble
*************************************************************/
>
>  /*

<snip>

>  /* Various virtual (human-reference) number types. */
> -typedef sh_int room_vnum;
> -typedef sh_int obj_vnum;
> -typedef sh_int mob_vnum;
> -typedef sh_int zone_vnum;
> -typedef    int shop_vnum;
> +typedef ush_int room_vnum;
> +typedef ush_int obj_vnum;
> +typedef ush_int mob_vnum;
> +typedef ush_int zone_vnum;
> +typedef     int shop_vnum;
>
>  /* Various real (array-reference) number types. */
> -typedef sh_int room_rnum;
> -typedef sh_int obj_rnum;
> -typedef sh_int mob_rnum;
> -typedef sh_int zone_rnum;
> -typedef    int shop_rnum;
> +typedef ush_int room_rnum;
> +typedef ush_int obj_rnum;
> +typedef ush_int mob_rnum;
> +typedef ush_int zone_rnum;
> +typedef     int shop_rnum;

I was trying to apply these changes to my copy of the base (bpl19) code, and
I notice that the typedef for shop_(v|r)num does not appear.  Is this
something that is missing from the aug14 copy of bpl19 code?

     Larry

Larry Robinson
krenshala@jump.net
:wq

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



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