# Path: core/settings.py
# LANGUAGES          = (     'en',      'es')
# LANGUAGE_NAMES     = ("English", "Español")
# LANGUAGE_DICT      = dict(zip(LANGUAGES, LANGUAGE_NAMES))
# SETTINGS_KEYS      = (
#     'resolution'  ,
#     'fullscreen'  ,
#     'color_blind' ,
#     'language_id'    ,
#     'sound_volume',
#     'music_volume',
# )
# SETTINGS_FILE_NAME = 'settings.wtf'
# SETTINGS = {
#             'color_blind'  : False     ,
#             'fullscreen'   : False     ,
#             'language_id'  : 0         ,
#             'music_volume' : 1.0       ,
#             'resolution'   : (640, 480),
#             'sound_volume' : 1.0       ,
#             }
# def toggle_color_blind_mode():
# def save_settings(path):
# def load_settings(path):
# def set_language(lang):
# def get_language_code():
# def get_language_name():


from time      import strftime
from functools import lru_cache
from os        import environ
from os.path   import join
from pygame.display   import set_caption
from pygame.constants import *
from pygame import Color
from pygame import Rect
from core import settings
import sys
import pygame.image
'''
Contains a whole bunch of game-specific miscellaneous constants, functions,
utilities, etc.  It's a Python convention to call this sort of file config.py.
'''



### Globals ####################################################################



_limit_frame = True
#True if we're restricting framerate to 60FPS

_music_playing = None

_pause = False
#True if the game is paused

_sounds = []

_sound_looping = None

fps_timer = pygame.time.Clock()

#The window we blit graphics onto.

# Path: core/settings.py
# LANGUAGES          = (     'en',      'es')
# LANGUAGE_NAMES     = ("English", "Español")
# LANGUAGE_DICT      = dict(zip(LANGUAGES, LANGUAGE_NAMES))
# SETTINGS_KEYS      = (
#     'resolution'  ,
#     'fullscreen'  ,
#     'color_blind' ,
#     'language_id'    ,
#     'sound_volume',
#     'music_volume',
# )
# SETTINGS_FILE_NAME = 'settings.wtf'
# SETTINGS = {
#             'color_blind'  : False     ,
#             'fullscreen'   : False     ,
#             'language_id'  : 0         ,
#             'music_volume' : 1.0       ,
#             'resolution'   : (640, 480),
#             'sound_volume' : 1.0       ,
#             }
# def toggle_color_blind_mode():
# def save_settings(path):
# def load_settings(path):
# def set_language(lang):
# def get_language_code():
# def get_language_name():


# Path: core/config.py
from time      import strftime
from functools import lru_cache
from os        import environ
from os.path   import join
from pygame.display   import set_caption
from pygame.constants import *
from pygame import Color
from pygame import Rect
from core import settings
import sys
import pygame.image

'''
Contains a whole bunch of game-specific miscellaneous constants, functions,
utilities, etc.  It's a Python convention to call this sort of file config.py.
'''



### Globals ####################################################################



_limit_frame = True
#True if we're restricting framerate to 60FPS

_music_playing = None

_pause = False
#True if the game is paused

_sounds = []

_sound_looping = None

fps_timer = pygame.time.Clock()

#The window we blit graphics onto.

screen = pygame.display.set_mode(settings.SETTINGS['resolution'], DOUBLEBUF)