24 lines
737 B
C
24 lines
737 B
C
/*=========================================================================
|
|
* Snasnd.c : Save & Read the sound pointers
|
|
*
|
|
* Version 1.0
|
|
* Creation date 03/09/97
|
|
* Revision date
|
|
*
|
|
* (c) Ubi R&D 1997
|
|
*=======================================================================*/
|
|
|
|
|
|
#include "ToolsCPA.h"
|
|
#include "SNA.h"
|
|
|
|
unsigned long SNA_fn_ulGetMaxVignetteValueForLevel()
|
|
{
|
|
return( 2*SNA_g_ulNbBlocksInLevel+1 // 2 for each level block+1 for the reloc table
|
|
+ 2 // 2 for global pointers (1 for reloc table+1 for all pointers)
|
|
+ 1 // 1 for textures.
|
|
+ 1 // 1 for fn_vInitAllObjectsWhenMapJustLoaded()
|
|
);
|
|
}
|
|
|