Re: player_specials_saved

From: Jeremy Jubenville (jeremy@iglou.com)
Date: 06/14/96


On Thu, 13 Jun 1996, Dave Musser wrote:

> In Structs.h there is a spot for adding variables to the pfiles
> without screwing them up and screwing up memory alocation.
> 
> My question.. can I change the type of variable without killing
> the allocation?  I have programmed for a while.. but this has
> always been a stumbling block for me *grumble*  I have just never
> gotten the hang of how mem allocation works.
> 
> Anyway.. there are no sh_int types in the spares... and I know I
> could just use int, but I want to use the sh_int.  So if I change
> 2 or 3 of the int types to sh_int types in that structure... am I 
> going to screw everything up?
> 
> 
> Dave Musser
> Daedalus the Bold
> 
> -- 
>       /|___                                              ___|\ 
>     //~|/ _\____       You  need to learn to        ____/_ \|~\\
>    /    \  ..  V        howl if you want to         V  ..  /    \ 
>   //    /~____/          run with the pack.          \____~\    \\
>   // \\/  /                                              \  \// \\    
>  ////\\\\\               dmusser@donet.com               //////\\\\
> 

Yes, i do belive you'll need to write either a conversion program, or wipe
the pfile.  The only reason i can think of why you wouldn't have to do it
is (if i am correct)that sh_int is smaller than int.  Why not try it out
and see what happens? :)

Antioch@Dark Chronicles (dc.iglou.com 4000)



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