Wizards Magic  3.2.20
MTG based computer game
 All Classes Namespaces Files Functions Variables Typedefs Macros
Namespaces | Functions | Variables
globals.py File Reference

Namespaces

 globals
 

Functions

def globals.clean
 
def globals.playmusic
 
def globals.set_element_sound
 

Variables

 globals.yes_pygame = True
 
tuple globals.current_folder = os.path.dirname(os.path.abspath(__file__))
 
tuple globals.panels = pygame.sprite.Group()
 
tuple globals.interface = pygame.sprite.Group()
 
tuple globals.cards_in_deck = pygame.sprite.Group()
 
tuple globals.ccards_1 = pygame.sprite.Group()
 
tuple globals.ccards_2 = pygame.sprite.Group()
 
tuple globals.magic_cards = pygame.sprite.Group()
 
tuple globals.card_info_group = pygame.sprite.Group()
 
tuple globals.information_group = pygame.sprite.Group()
 
tuple globals.menu_group = pygame.sprite.Group()
 
tuple globals.font = pygame.font.Font(current_folder+"/misc/Neocyr.ttf", 15)
 
tuple globals.font2 = pygame.font.Font(current_folder+"/misc/Domestic_Manners.ttf", 15)
 
string globals.cards_of_element_shower_element = "water"
 
 globals.selected_card = False
 
 globals.selected_elem = None
 
 globals.screen = None
 
 globals.player = None
 
 globals.player1 = None
 
 globals.player2 = None
 
int globals.player_id = 0
 
list globals.players = [[]]
 
list globals.games_cards = [{}]
 
 globals.opponent_disconnect = False
 
 globals.cast_focus = False
 
 globals.cast_focus_wizard = None
 
list globals.animations_running = []
 
list globals.cards_attacking = []
 
 globals.turn_ended = False
 
 globals.cli = False
 
int globals.stage = 0
 
 globals.question = False
 
string globals.answer = ""
 
int globals.answer_maxchar = 0
 
string globals.answer_cmd = ""
 
 globals.itemfocus = None
 
 globals.running = True
 
 globals.server_thread = None
 
string globals.music = 'Y'
 
string globals.sound = 'Y'
 
string globals.nick = ""
 
string globals.server = ""
 
string globals.port = ""