Don't forget to add 1 to MAX_MEM_LIST.

> -----Original Message-----
> From: Dale Kingston [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 30, 2003 1:03 PM
> To: [email protected]
> Subject: Sending info to players and max size for it.
> 
> 
> Ok I'm having a problem with sending information out to 
> players that gets
> too large and I was wondering if anyone could help explain to 
> me if I can
> make this larger or not. I get the bug Hunk 33000 too large 
> error and so I
> looked into it
> 
>   for( iList = 0; iList < MAX_MEM_LIST && rgSizeList[iList] < sMem;
> iList++ );
>   if( iList == MAX_MEM_LIST )
>   {
>     bug("Hunk size %d too large.", sMem);
>     return NULL;
>   }
> 
> So I looked at this rgSizeList:
> 
> const int  rgSizeList [MAX_MEM_LIST] =
> {
>     16, 32, 64, 128, 256, 1024, 2048, 4096, 8192, 16384, 32768-64
> };
> 
> Now what would be wrong if I were to add another field to 
> this and make it.
> 
> 65536-64
> 
> Would that be bad?
> 
> 
> -- 
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom
> 

Reply via email to