code
stringlengths
1
1.72M
language
stringclasses
1 value
#!/usr/bin/env python import unittest from flickrapi import shorturl class ShortUrlTest(unittest.TestCase): '''Tests the shorturl module.''' def test_encoding(self): '''Test ID to Base58 encoding.''' self.assertEqual(shorturl.encode(u'4325695128'), u'7Afjsu') self.assertEqual(shortu...
Python
# -*- coding: utf-8 -*- import doctest import glob import os import os.path import sys import unittest import flickrapi failure = False def exit(statuscode): '''Replacement for sys.exit that records the status code instead of exiting. ''' global failure if statuscode: failure = True de...
Python
import urllib import cStringIO import Image def get_static_google_map(filename_wo_extension, center=None, zoom=None, imgsize="500x500", imgformat="jpeg", maptype="roadmap", markers=None ): """retrieve a map (image) from the static google maps server See: http://code.google....
Python
#!/usr/bin/env python '''Python distutils install script. Run with "python setup.py install" to install FlickrAPI ''' import distribute_setup distribute_setup.use_setuptools() import sys # Check the Python version (major, minor) = sys.version_info[:2] if (major, minor) < (2, 4): raise SystemExit("Sorry, Pytho...
Python
#!python """Bootstrap distribute installation If you want to use setuptools in your package's setup.py, just include this file in the same directory with it, and add this to the top of your setup.py:: from distribute_setup import use_setuptools use_setuptools() If you want to require a specific version of se...
Python
#!/usr/bin/env python import tests tests.run_tests()
Python
from pythonmap import * get_static_google_map("amsterdam", center="52.38,4.9", zoom=12, imgsize=(800,800), imgformat="png", maptype="satellite" )
Python
# adjust cwd and sys.path def adjust_to_correct_appdir(): import os, sys try: appdir = __file__ print appdir if not appdir: raise ValueError appdir = os.path.abspath(os.path.dirname(__file__)) os.chdir(appdir) sys.path = [ e for e in sys.path if e != a...
Python
# kytten/button.py # Copyrighted (C) 2009 by Conrad "Lynx" Wong import pyglet from widgets import Control from override import KyttenLabel class Button(Control): """ A simple text-labeled button. """ def __init__(self, text="", id=None, on_click=None, disabled=False): """ Creates a new...
Python
# kytten/theme.py # Copyrighted (C) 2009 by Conrad "Lynx" Wong import os import pyglet from pyglet import gl try: import json json_load = json.loads except ImportError: try: import simplejson as json json_load = json.loads except ImportError: import sys print >>sys.stderr, \ "Warning: usin...
Python
# kytten/dialog.py # Copyrighted (C) 2009 by Conrad "Lynx" Wong import pyglet from pyglet import gl from widgets import Widget, Control, Label from button import Button from frame import Wrapper, Frame from layout import GetRelativePoint, ANCHOR_CENTER from layout import VerticalLayout, HorizontalLayout class Dialog...
Python
# safe_eval # Copyrighted (C) Michael Spencer # # Source: http://code.activestate.com/recipes/364469/ import compiler class Unsafe_Source_Error(Exception): def __init__(self,error,descr = None,node = None): self.error = error self.descr = descr self.node = node self.lineno = getattr(node,"lineno",None) d...
Python
# kytten/input.py # Copyrighted (C) 2009 by Conrad "Lynx" Wong import pyglet from widgets import Control from override import KyttenInputLabel class Input(Control): """A text input field.""" def __init__(self, id=None, text="", length=20, max_length=None, padding=0, on_input=None, disabled=Fa...
Python
# kytten/widgets.py # Copyrighted (C) 2009 by Conrad "Lynx" Wong # Simple widgets belong in this file, to avoid cluttering the directory with # many small files. More complex widgets should be placed in separate files. # Widget: the base GUI element. A fixed area of space. # Control: a Widget which accepts events. ...
Python
# kytten/override.py # Copyrighted (C) 2009 by Conrad "Lynx" Wong import pyglet KYTTEN_LAYOUT_GROUPS = {} KYTTEN_LAYOUT_GROUP_REFCOUNTS = {} def GetKyttenLayoutGroups(group): if not KYTTEN_LAYOUT_GROUPS.has_key(group): top_group = pyglet.text.layout.TextLayoutGroup(group) background_group = pygle...
Python
# kytten/checkbox.py # Copyrighted (C) 2009 by Conrad "Lynx" Wong import pyglet from widgets import Control from layout import HALIGN_LEFT, HALIGN_RIGHT from override import KyttenLabel class Checkbox(Control): """ A two-state checkbox. """ def __init__(self, text="", is_checked=False, id=None, ...
Python
# kytten/scrollable.py # Copyrighted (C) 2009 by Conrad "Lynx" Wong import pyglet from pyglet import gl from dialog import DialogEventManager from frame import Wrapper from scrollbar import HScrollbar, VScrollbar from widgets import Widget class ScrollableGroup(pyglet.graphics.Group): """ We restrict what's ...
Python
# kytten/layout.py # Copyrighted (C) 2009 by Conrad "Lynx" Wong # Layouts are arrangements of multiple Widgets. # # VerticalLayout: a stack of Widgets, one on top of another. # HorizontalLayout: a row of Widgets, side by side. # GridLayout: a table of Widgets. # FreeLayout: an open area within which Widgets may be pos...
Python
# kytten/menu.py # Copyrighted (C) 2009 by Conrad "Lynx" Wong import pyglet from widgets import Widget, Control from dialog import Dialog from frame import Frame from layout import GetRelativePoint, VerticalLayout from layout import ANCHOR_CENTER, ANCHOR_TOP_LEFT, ANCHOR_BOTTOM_LEFT from layout import HALIGN_CENTER f...
Python
# kytten/file_dialogs.py # Copyrighted (C) 2009 by Conrad "Lynx" Wong import glob import os import pyglet from pyglet import gl from button import Button from dialog import Dialog from frame import Frame, SectionHeader from layout import VerticalLayout, HorizontalLayout from layout import ANCHOR_CENTER, HALIGN_LEFT, ...
Python
# kytten/scrollbar.py # Copyrighted (C) 2009 by Conrad "Lynx" Wong import pyglet from widgets import Control class HScrollbar(Control): """ A horizontal scrollbar. Position is measured from 0.0 to 1.0, and bar size is set as a percentage of the maximum. """ IMAGE_LEFT = ['hscrollbar', 'left'] ...
Python
# kytten/slider.py # Copyrighted (C) 2009 by Conrad "Lynx" Wong import pyglet from widgets import Control class Slider(Control): """ A horizontal slider. Position is measured from 0.0 to 1.0. """ IMAGE_BAR = ['slider', 'bar'] IMAGE_KNOB = ['slider', 'knob'] IMAGE_STEP = ['slider', 'step'] ...
Python
# kytten/frame.py # Copyrighted (C) 2009 by Conrad "Lynx" Wong # Classes which wrap one Widget. # Wrapper: a base class for Widgets which contain one other Widget. # Frame: positions its contained Widget within a graphic, which it stretches # to cover the Widget's area, or the space within which it is containe...
Python
# Copyright (c) 2009 Conrad "Lynx" Wong # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions...
Python
# kytten/document.py # Copyrighted (C) 2009 by Conrad "Lynx" Wong import pyglet from widgets import Control from scrollbar import VScrollbar class Document(Control): """ Allows you to embed a document within the GUI, which includes a vertical scrollbar as needed. """ def __init__(self, document, ...
Python
import os import pyglet import kytten from kytten import * from kytten.widgets import Control, Widget from kytten.layout import * from kytten.dialog import Dialog from kytten.frame import * from kytten.button import * from kytten.menu import * class PaletteOption(Control): """ PaletteOption is a choice within...
Python
import pyglet import cocos from cocos.director import director import kytten class DialogNode(cocos.batch.BatchableNode): def __init__(self, dialog=None): super(DialogNode, self).__init__() self.dialog = dialog def set_batch(self, batch, group=None, z=0): super(DialogNode, self).set...
Python
''' Copyright (c) 2009, Devon Scott-Tunkin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and t...
Python
''' Copyright (c) 2009, Devon Scott-Tunkin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and t...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the follow...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
## pygame - Python Game Library ## Copyright (C) 2000-2003 Pete Shinners ## ## This library is free software; you can redistribute it and/or ## modify it under the terms of the GNU Library General Public ## License as published by the Free Software Foundation; either ## version 2 of the License, or (...
Python
#!/usr/bin/env python '''Pygame module for controlling streamed audio The music module is closely tied to pygame.mixer. Use the music module to control the playback of music in the sound mixer. The difference between the music playback and regular Sound playback is that the music is streamed, and never actually load...
Python
#!/usr/bin/env python '''Pygame module for loading and playing sounds. This module contains classes for loading Sound objects and controlling playback. The mixer module is optional and depends on SDL_mixer. Your program should test that pygame.mixer is available and intialized before using it. The mixer module has a...
Python
#!/usr/bin/env python '''Pygame core routines Contains the core routines that are used by the rest of the pygame modules. Its routines are merged directly into the pygame namespace. This mainly includes the auto-initialization `init` and `quit` routines. There is a small module named `locals` that also gets merged i...
Python
## pygame - Python Game Library ## Copyright (C) 2000-2001 Pete Shinners ## ## This library is free software; you can redistribute it and/or ## modify it under the terms of the GNU Library General Public ## License as published by the Free Software Foundation; either ## version 2 of the License, or (...
Python
#!/usr/bin/env python '''Time management routines. ''' __docformat__ = 'restructuredtext' __version__ = '$Id: $' from ctypes import * import dll SDL_GetTicks = dll.function('SDL_GetTicks', '''Get the number of milliseconds since the SDL library initialization. Note that this value wraps if the program run...
Python
#!/usr/bin/env python '''An abstract sound format decoding API. The latest version of SDL_sound can be found at: http://icculus.org/SDL_sound/ The basic gist of SDL_sound is that you use an SDL_RWops to get sound data into this library, and SDL_sound will take that data, in one of several popular formats, and decode...
Python
#!/usr/bin/env python '''Functions related to the SDL shared library version. ''' __docformat__ = 'restructuredtext' __version__ = '$Id: $' from ctypes import * import dll class SDL_version(Structure): '''Version structure. :Ivariables: `major` : int Major version number `minor...
Python
#!/usr/bin/env python '''Darwin (OS X) support. Appropriated from pygame.macosx ''' __docformat__ = 'restructuredtext' __version__ = '$Id: $' import os import sys # SDL-ctypes on OS X requires PyObjC from Foundation import * from AppKit import * import objc import MacOS import cocos.audio.SDL.dll import cocos.aud...
Python
#!/usr/bin/env python '''Constants and enums for all SDL submodules. ''' __docformat__ = 'restructuredtext' __version__ = '$Id: $' import sys # enum SDLKey { # The keyboard syms have been cleverly chosen to map to ASCII SDLK_UNKNOWN = 0 SDLK_FIRST = 0 SDLK_BACKSPACE = 8 SDLK_TAB ...
Python
#!/usr/bin/env python ''' ''' __docformat__ = 'restructuredtext' __version__ = '$Id: $' from ctypes import * from ctypes.util import find_library import sys # Private version checking declared before SDL.version can be # imported. class _SDL_version(Structure): _fields_ = [('major', c_ubyte), ('...
Python
#!/usr/bin/env python '''A simple multi-channel audio mixer. It supports 8 channels of 16 bit stereo audio, plus a single channel of music, mixed by MidMod MOD, Timidity MIDI or SMPEG MP3 libraries. The mixer can currently load Microsoft WAVE files and Creative Labs VOC files as audio samples, and can load MIDI file...
Python
#!/usr/bin/env python ''' ''' __docformat__ = 'restructuredtext' __version__ = '$Id: $' from ctypes import * class SDL_array: def __init__(self, ptr, count, ctype): '''Construct an array at memory location `ptr` with `count` elements of type `ctype`. :Parameters: `ptr` : cty...
Python
#!/usr/bin/env python '''Functions for converting to native byte order ''' __docformat__ = 'restructuredtext' __version__ = '$Id: $' import sys from cocos.audio.SDL.constants import SDL_BIG_ENDIAN, SDL_LIL_ENDIAN def SDL_Swap16(x): return (x << 8 & 0xff00) | \ (x >> 8 & 0x00ff) def SDL_Swap32(x): ...
Python
#!/usr/bin/env python '''General interface for SDL to read and write data sources. For files, use `SDL_RWFromFile`. Other Python file-type objects can be used with `SDL_RWFromObject`. If another library provides a constant void pointer to a contiguous region of memory, `SDL_RWFromMem` and `SDL_RWFromConstMem` can b...
Python
#!/usr/bin/env python '''Access to the raw audio mixing buffer. ''' __docformat__ = 'restructuredtext' __version__ = '$Id: $' from ctypes import * import sys import array import constants import dll import rwops _SDL_AudioSpec_fn = \ CFUNCTYPE(POINTER(c_ubyte), POINTER(c_ubyte), POINTER(c_ubyte), c_int) class...
Python
#!/usr/bin/env python '''Main module for importing SDL-ctypes. This module defines the intialization and cleanup functions: - `SDL_Init` - `SDL_InitSubSystem` - `SDL_WasInit` - `SDL_QuitSubSystem` - `SDL_Quit` It also imports all functions, constants and classes from the package submodules. Typi...
Python
#!/usr/bin/env python '''Error detection and error handling functions. ''' __docformat__ = 'restructuredtext' __version__ = '$Id: $' from ctypes import * import dll class SDL_Exception(Exception): '''Exception raised for all SDL errors. The message is as returned by `SDL_GetError`. ''' def _...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
#!/usr/bin/env python # # euclid graphics maths module # # Copyright (c) 2006 Alex Holkner # Alex.Holkner@mail.google.com # # This library is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by the # Free Software Foundation; either version ...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
Python
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributi...
Python
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributi...
Python
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributi...
Python
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributi...
Python
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributi...
Python
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributi...
Python
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributi...
Python