Ignore:
Timestamp:
2010-05-28 07:39:52 (2 years ago)
Author:
kpoole
Message:

Episode 5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Classes/preferences.cpp

    r23 r26  
    241241int idle_anim_rate() 
    242242{ 
    243     return lexical_cast_default<int>(get("idle_anim_rate"), 0); 
     243    return lexical_cast_default<int>(get("idle_anim_rate"), -20); 
    244244} 
    245245 
     
    378378        preferences::set("turn_bell", "no"); 
    379379        sound::stop_bell(); 
    380         if(!music_on() && !sound_on() && !UI_sound_on()) 
    381             sound::close_sound(); 
     380//      if(!music_on() && !sound_on() && !UI_sound_on()) 
     381//          sound::close_sound(); 
    382382    } 
    383383    return true; 
     
    402402        preferences::set("UI_sound", "no"); 
    403403        sound::stop_UI_sound(); 
    404         if(!music_on() && !sound_on() && !turn_bell()) 
    405             sound::close_sound(); 
     404//      if(!music_on() && !sound_on() && !turn_bell()) 
     405//          sound::close_sound(); 
    406406    } 
    407407    return true; 
     
    430430        preferences::set("sound", "no"); 
    431431        sound::stop_sound(); 
    432         if(!music_on() && !turn_bell() && !UI_sound_on()) 
    433             sound::close_sound(); 
     432//      if(!music_on() && !turn_bell() && !UI_sound_on()) 
     433//          sound::close_sound(); 
    434434    } 
    435435    return true; 
     
    454454    } else if(music_on() && !ison) { 
    455455        preferences::set("music", "no"); 
    456         if(!sound_on() && !turn_bell() && !UI_sound_on()) 
    457             sound::close_sound(); 
    458         else 
     456//      if(!sound_on() && !turn_bell() && !UI_sound_on()) 
     457//          sound::close_sound(); 
     458//      else 
    459459            sound::stop_music(); 
    460460    } 
     
    511511int scroll_speed() 
    512512{ 
    513     const int value = lexical_cast_in_range<int>(get("scroll"), 50, 1, 100); 
     513    const int value = lexical_cast_in_range<int>(get("scroll"), 100, 1, 100); 
    514514    scroll = value/100.0; 
    515515 
Note: See TracChangeset for help on using the changeset viewer.