effects_internal.c
changeset 488 94b190330355
parent 386 695494546b3c
child 490 6ed75d34edc9
equal deleted inserted replaced
487:485a29de2b2d 488:94b190330355
    28 
    28 
    29 
    29 
    30 
    30 
    31 #include <stdio.h>
    31 #include <stdio.h>
    32 #include <stdlib.h>
    32 #include <stdlib.h>
       
    33 #include "SDL_getenv.h"
    33 #include "SDL_mixer.h"
    34 #include "SDL_mixer.h"
    34 
    35 
    35 #define __MIX_INTERNAL_EFFECT__
    36 #define __MIX_INTERNAL_EFFECT__
    36 #include "effects_internal.h"
    37 #include "effects_internal.h"
    37 
    38 
    39 int _Mix_effects_max_speed = 0;
    40 int _Mix_effects_max_speed = 0;
    40 
    41 
    41 
    42 
    42 void _Mix_InitEffects(void)
    43 void _Mix_InitEffects(void)
    43 {
    44 {
    44     _Mix_effects_max_speed = (getenv(MIX_EFFECTSMAXSPEED) != NULL);
    45     _Mix_effects_max_speed = (SDL_getenv(MIX_EFFECTSMAXSPEED) != NULL);
    45 }
    46 }
    46 
    47 
    47 void _Mix_DeinitEffects(void)
    48 void _Mix_DeinitEffects(void)
    48 {
    49 {
    49     _Eff_PositionDeinit();
    50     _Eff_PositionDeinit();