

\c           @  sa  d  d l  m Z d  d l Z d  d l Z d  d l Z e Z g  Z d Z	 d Z
 d Z d Z d Z e Z e Z d Z e Z d Z e Z e Z d Z g  Z g  Z e Z d Z d Z d Z d Z d	 e j k Z e Z  e Z! d Z" d
 Z# g  Z$ g  Z% e Z& d Z' d Z( d Z) e Z* d d d d g Z+ d g Z, d g Z- d g Z. g  Z/ e Z0 e Z1 d Z2 e Z3 i  Z4 i  Z5 e Z6 g  Z7 g  Z8 g  Z9 d Z: d Z; d Z< d Z= d Z> d Z? i  Z@ d ZA d ZB d ZC d ZD d ZE d ZF e ZG e ZH e ZI d ZJ g  ZK d ZL d ZM d ZN e ZO d ZP d ZQ g  ZR e ZS e ZT i  ZU e ZV e ZW d ZX g  ZY d ZZ e[ e j j\ d d   Z] d a^ d a_ d a` e Za d Zb e Zc d Zd d Ze d Zf i  Zg d Zh d Zi d Zj d Zk d Zl d Zm d Zn g  Zo e Zp d Zq d Zr d Zs d Zt d Zu e Zv d Zw d Zx d Zy d Zz d Z{ d Z| d Z} e Z~ g  Z e Z e Z e Z e Z g  Z e Z e Z e Z d g Z d Z e Z e Z e Z d Z d Z d Z d Z e Z e Z e Z e Z e Z d Z d Z e Z g  Z e Z e Z g  Z d Z dM Z d Z g  Z d  Z d! Z d" Z g  Z d# d$ d% d& d' g Z g  Z d Z d Z d( e j k Z d a d) g Z d* Z d Z e Z d) g Z d  Z d  Z e Z d Z e Z d Z i d+ d, 6Z d- Z d. Z e Z i  Z i  Z d Z d Z e Z d/ d0 g Z d Z e Z e e[ e j j\ d1 d2    Z e e[ e j j\ d3 d2    Z e e[ e j j\ d4 d5    Z i  Z g  Z d Z d Z e Z d d6 g Z e Z i  Z e Z e Z e Z e Z e Z g  Z i  Z d Z i  Z i  Z d7 Z d. Z d8 Z d8 Z e Z i d9 d: 6Z d; Z i dN d= 6Z d= Z d Z d Z d Z g  Z e Z e Z g  Z g  Z g  Z e Z d Z e Z d Z d> Z e Z e Z e j e  Z d Z g  Z e Z e Z g  Z g  Z e Z e Z e Z g  Z e Z g  Z g  Z e Zg  Ze Zg  Ze Zd Ze Ze Zg  Z	e Z
e jre Z
n  g  Ze Zd Zd* Zd? Zg  Zd@ Zd8 dA ZdB Ze Ze Ze Ze ZdO ZdD ZdE e j k Zd* Ze Ze Ze Ze Z e Z!dF dG dH g Z"dI Z#e Z$i  Z%e Z&d Z'e Z(dJ Z)e Z*e Z+e Z,e Z-e Z.e Z/e Z0d Z1e Z2e Z3i  Z4i  Z5i  Z6dK   Z7e Z8d a9e Z:d Z;e Z<e Z=e Z>[ [ dL   Z?d S(P   i(   t   print_functionNi   iX  i   id   i,  i    t   RENPY_DEBUG_IMAGE_CACHEi   i  g        t   mastert	   transientt   screenst   overlayi   i   i   i    i
   t   RENPY_AUTOSAVE_FREQUENCYt   200i   i   i   t    t   autot   tlg333333?gQ?g      ?i   g?s   .rpycs   .rpymcs   .rpybs   .pycs   .pyot   RENPY_RAW_TRACEBACKSt   voicei   t   progress_screent   n_s_w_e_w_eg?g?t   helpt   quitt   RENPY_USE_DRAWABLE_RESOLUTIONt   1t   RENPY_DRAWABLE_RESOLUTION_TEXTt   RENPY_DRAW_VIRTUAL_TEXT_BOXt   0s   images/iN   g      ?t   preferencest   _game_menu_screent   musict   sfxt   audioi    s   #000g      @g      I@t   flipia  i	  t   RENPY_GC_PRINT_UNREACHABLEt   showt   replacet   updatei  t   sidec          G  s   t  j j t  j j f S(   s(  
    :args: (tag, attrs, mode)

    Returns the say attribute transition to use, and the layer the transition
    should be applied to (with None being a valid layer.

    Attrs is the list of tags/attributes of the incoming image.

    Mode is one of "permanent", "temporary", or "restore".
    (   t   renpyt   configt   say_attribute_transitiont   say_attribute_transition_layer(   t   args(    (    s   renpy/config.pyt!   say_attribute_transition_callback  s    c          C  sO   d d  l  }  |  j j a |  j j a |  j j a |  j j j a |  j j	 a
 d  S(   Ni(   t   renpy.displayt   exportst   sceneR   t   hidet   displayt   ttst   default_tts_functiont   tts_functiont   display_notifyt   notify(   R!   (    (    s   renpy/config.pyt   init  s    (   g333333?gQ?(   s   sfxR   R   (   ia  i
   i
   (@  t
   __future__R    t   collectionst   osR!   t   Falset   lockedR   t   Nonet   window_titlet   window_icont   windows_icont   screen_widtht   screen_heightt   Truet   soundt   debugt   debug_soundt   rollback_enabledt   rollback_lengtht   keep_rollback_datat   fix_rollback_without_choicet   hard_rollback_limitt   overlay_functionst   underlayt   profilet   savedirt   image_cache_sizet   image_cache_size_mbt   predict_statementst   environt   debug_image_cachet   allow_skippingt   fast_skippingt   skippingt
   skip_delayt   archivest
   searchpatht   force_archivest   mouset   sound_sample_ratet
   fade_musict   sticky_positionst   layerst   transient_layerst   overlay_layerst   context_clear_layerst
   top_layerst   overlay_during_witht   enable_fast_dissolvet   focus_crossrange_penaltyt   load_before_transitiont   keymapt   default_keymapt   joystickt   interact_callbackst   start_interact_callbackst   say_sustain_callbackst   say_allow_dismisst   text_tokenizert   afm_characterst	   afm_bonust   afm_callbackt   auto_choice_delayt   font_replacement_mapt   with_callbackt	   frameratet   framest   editort   editor_transientt   editor_file_separatort	   developert   original_developert   default_developert   logt
   lint_hookst   hyperlink_stylert   hyperlink_callbackt   hyperlink_focust   recolor_sfontst   text_layoutt   periodic_callbackt   periodic_callbackst   check_propertiest   implicit_with_nonet   layer_clippingt   disable_fullscreen_optt   reject_midit   character_callbackt   all_character_callbackst   autosave_slotst   intt   gett   autosave_frequencyR)   R   R*   t   use_cpicklet	   inspectort   reject_backslasht   mouse_hide_timet   missing_image_callbackt   say_menu_text_filtert   label_overridest   auto_save_extra_infot   save_directoryt   missing_scenet   missing_showt   missing_hidet   label_callbackt   empty_windowt   window_overlay_functionst   rtlt   file_open_callbackt   thumbnail_widtht   thumbnail_heightt   end_game_transitiont   default_transformt   transform_uses_child_positiont   quit_actiont   screenshot_cropt   gamedirt   basedirt
   renpy_baset	   commondirt   logdirt	   gl_enablet   mode_callbackst   movetransition_respects_offsetst    imagereference_respects_positiont   simulate_androidt   imagemap_cachet   predict_callbackst   predict_screenst   choice_screen_chosent   narrator_menut   variantst   imagemap_auto_functiont   keep_running_transformt   image_attributest   new_character_image_argumentR#   R$   t   namet   versiont
   log_enablet   debug_text_overflowt   save_physical_sizet   new_substitutionst   old_substitutionst   renderert
   translatort   broken_line_spacingt   python_callbackst	   save_dumpt	   gl_resizet   change_language_callbackst   tl_directoryt
   key_repeatt   voice_tag_callbackt   save_json_callbackst   longpress_durationt   longpress_radiust   longpress_vibratet   statement_callbackst   autoreload_blacklistt   reload_modulest	   say_layert   choice_layert   raw_tracebacksR.   t   tts_voice_channelst   screen_cache_sizet   adjust_view_sizet   autosave_on_choicet   emphasize_audio_channelst   emphasize_audio_volumet   emphasize_audio_timet   transition_screenst   predict_statements_callbackt   hw_videot   dispatch_gesturet   gesturest   gesture_component_sizet   gesture_stroke_sizet   log_to_stdoutt   custom_text_tagst   self_closing_custom_text_tagst   replace_textt   missing_label_callbackt   preserve_zordert   lint_ignore_replacest   minimum_presplash_timet   nearest_neighbort   boolt   use_drawable_resolutiont   drawable_resolution_textt   draw_virtual_text_boxt   pad_bindingst   pygame_eventst   map_pad_eventt   after_replay_callbackt   wrap_shown_transformst   search_prefixest   clear_linest   special_namespacest   line_logt   dynamic_imagest   save_on_mobile_backgroundt   quit_on_mobile_backgroundt   pass_joystick_eventst   overlay_screenst	   tag_layert   default_tag_layert   tag_transformt
   tag_zordert	   log_widtht   rollback_side_sizet   de_minimus_dpi_scalet   windows_dpi_scale_headt   enable_rollback_sidet   replay_scopet   movie_mixert   auto_channelst   play_channelt   speaking_attributet   list_compression_lengtht   history_lengtht   history_callbackst   new_translate_ordert   defer_stylest   translate_clean_storest   translate_filest   translate_commentst   enable_language_autodetectt   locale_to_language_functiont   old_say_argst	   tts_voicet   max_fit_sizet   enforce_window_max_sizet   translate_launchert   defaultdictt   listt   language_callbackst   init_system_stylest   build_styles_callbackst   auto_movie_channelt   ignore_duplicate_labelst   line_log_callbackst   profile_screenst   allow_sysfontst   tight_loop_defaultt    prefix_viewport_scrollbar_stylest   needs_redraw_callbackst   hyperlink_inherit_sizet   stdout_callbackst   stderr_callbackst   automatic_polar_motiont   lint_stats_callbackst   position_viewport_sidet   character_id_prefixest   nw_voicet   say_arguments_callbackt   atl_one_framet   keep_show_layer_statet   fast_skipping_callbackst   audio_periodic_threadt
   emscriptent   preload_fontst   atl_multiple_eventst   loadable_callbackt   fast_redraw_framest   gl_clear_colort   per_frame_screenst   performance_windowt   profile_timet   profile_to_eventt   fast_unhandled_eventt   fast_empty_windowt   all_nodes_rollbackt	   manage_gct   gc_thresholdst   idle_gc_countt   gc_print_unreachablet
   idle_framet   take_state_from_targett   scrollbar_child_sizet   cache_surfacest   optimize_texture_boundst   conditionswitch_predict_allt   repeat_transform_eventst
   warp_limitt   dissolve_force_alphat   displayable_prefixt   replay_movie_spritest   context_callbackt   reject_relativet   side_image_prefix_tagt   say_attributes_use_side_imaget   menu_showed_windowt   menu_actionst   menu_include_disabledt   report_extraneous_attributest   skip_soundst   lint_screens_without_parameterst   menu_arguments_callbackt   auto_clear_screenshott   allow_duplicate_labelst   font_transformst   ftfont_scalet   ftfont_vertical_extent_scaleR&   t'   say_attribute_transition_callback_attrsR0   t   keyword_after_pythont   load_failed_labelt
   equal_monot   disable_inputt   keep_side_render_orderR1   (    (    (    s   renpy/config.pyt   <module>   sr  						
!!!		
	