Re: Pfile spares

From: Phillip A. Ames (kirk47@JUNO.COM)
Date: 08/29/98

>On your system and architecture, do the compile and run the following.
>#include <stdio.h>
>void main () {
>        printf ("int: %d  long: %d\n", sizeof (int), sizeof (long));
>If they're the same, you can probably get away with changing an int to
>long.  If not, you might to bundle two int's together.
>Try to keep like types grouped together within a structure, this will
>prevent unwanted byte padding as much as possible.

Alright, the int is 4 and the long is 4, so I spose I can do that.
Thanks for the help.

Anyone here use room depths?  I have a few questions about them...  First
is, where do I define a weapons range?  Second, where do I find the
"give" range?  Thanks in advance!


Phillip Ames    | Satisfaction is not guaranteed. | -Ferengi Rule of Acquisition #19
ICQ: 8778335    | AOL IM: Grathol

You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at
Or call Juno at (800) 654-JUNO [654-5866]

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

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