// Header File // Created 10/03/2004; 20:53:51 //Variables menu. static BOOL CST_DECORS=TRUE; //Affiche décors? static BOOL CST_SHADOW=TRUE; //Affiche ombre? //Choix décors void MNU_ShowDecors (BOOL mode) { //Simple changement if (CST_DECORS) SetDecors (MAP_GetDecors); else SetDecors (0); //Changement complet if (mode) ENV_SetDecors2 (C_DECORS); } //Fonctions graphiques ombres void DrawSmallShadowBlock (short x, short y, void *dest) { if (CST_SHADOW) _DrawSmallShadowBlock (x, y, dest);} void DrawBonusShadow (short x, short y, short h, short *sprt, void *dest) { if (CST_SHADOW) _DrawBonusShadow (x, y, h, sprt, dest);} void DrawSprite8_SHADOW (short x, short y, short h, short *sprt, void *dest) { if (CST_SHADOW) _DrawSprite8_SHADOW (x, y, h, sprt, dest);} void DrawSprite16_SHADOW (short x, short y, short h, short *sprt, void *dest) { if (CST_SHADOW) _DrawSprite16_SHADOW (x, y, h, sprt, dest);} void DrawSprite32_SHADOW (short x, short y, short h, short *sprt, void *dest) { if (CST_SHADOW) _DrawSprite32_SHADOW (x, y, h, sprt, dest);} #define DrawBlock(x,y,sprite,dest) _DrawBlock(x,y,sprite,dest,CST_SHADOW)