tdl.tcod | index c:\users\kyle\dropbox\python\python-tdl\tdl\tcod.py

`This module is used internally to access libtcod functions from ctypes.
It should never be accessed directly.`

Package Contents
`` |  |
event | tcod |  |

Functions
`` |  | FormatError(...) `FormatError([integer]) -> string Convert a win32 error code into a string. If the error code is not given, the return value of a call to GetLastError() is used.` POINTER(...) addressof(...) `addressof(C instance) -> integer Return the address of the C instance internal buffer` alignment(...) `alignment(C type) -> integer alignment(C instance) -> integer Return the alignment requirements of a C instance` byref(...) `byref(C instance[, offset=0]) -> byref-object Return a pointer lookalike to a C instance, only usable as function argument` get_errno(...) get_last_error(...) pointer(...) resize(...) `Resize the memory buffer of a ctypes instance` set_conversion_mode(...) `set_conversion_mode(encoding, errors) -> (previous-encoding, previous-errors) Set the encoding and error handling ctypes uses when converting between unicode and strings. Returns the previous values.` set_errno(...) set_last_error(...) sizeof(...) `sizeof(C type) -> integer sizeof(C instance) -> integer Return the size in bytes of a C instance`

Data
`` |  | BKGND_ADD = 8 BKGND_ADDA = 9 BKGND_ALPH = 12 BKGND_BURN = 10 BKGND_COLOR_BURN = 7 BKGND_COLOR_DODGE = 6 BKGND_DARKEN = 4 BKGND_LIGHTEN = 3 BKGND_MULTIPLY = 2 BKGND_NONE = 0 BKGND_OVERLAY = 11 BKGND_SCREEN = 5 BKGND_SET = 1 CHAR_ARROW_E = 26 CHAR_ARROW_N = 24 CHAR_ARROW_S = 25 CHAR_ARROW_W = 27 CHAR_BLOCK = 219 CHAR_BLOCK1 = 178 CHAR_BLOCK2 = 177 CHAR_BLOCK3 = 176 CHAR_BLOCK_B = 220 CHAR_BLOCK_T = 223 CHAR_CHECKER = 178 CHAR_CROSS = 197 CHAR_DHLINE = 205 CHAR_DNE = 187 CHAR_DNW = 201 CHAR_DSE = 188 CHAR_DSW = 200 CHAR_DS_CROSSH = 216 CHAR_DS_CROSSV = 215 CHAR_DTEEE = 198 CHAR_DTEEN = 208 CHAR_DTEES = 210 CHAR_DTEEW = 181 CHAR_DVLINE = 186 CHAR_HLINE = 196 CHAR_LIGHT = 15 CHAR_NE = 191 CHAR_NW = 218 CHAR_SE = 217 CHAR_SW = 192 CHAR_TEEE = 195 CHAR_TEEN = 193 CHAR_TEES = 194 CHAR_TEEW = 180 CHAR_TREE = 5 CHAR_VLINE = 179 COLCTRL_1 = 1 COLCTRL_2 = 2 COLCTRL_3 = 3 COLCTRL_4 = 4 COLCTRL_5 = 5 COLCTRL_BACK_RGB = 7 COLCTRL_FORE_RGB = 6 COLCTRL_NUMBER = 5 COLCTRL_STOP = 8 DEFAULT_MODE = 0 GetLastError = <_FuncPtr object> KEY_PRESSED = 1 KEY_RELEASED = 2 K_0 = 24 K_1 = 25 K_2 = 26 K_3 = 27 K_4 = 28 K_5 = 29 K_6 = 30 K_7 = 31 K_8 = 32 K_9 = 33 K_ALT = 7 K_APPS = 23 K_BACKSPACE = 2 K_CAPSLOCK = 9 K_CHAR = 65 K_CONTROL = 6 K_DELETE = 20 K_DOWN = 17 K_END = 12 K_ENTER = 4 K_ESCAPE = 1 K_F1 = 50 K_F10 = 59 K_F11 = 60 K_F12 = 61 K_F2 = 51 K_F3 = 52 K_F4 = 53 K_F5 = 54 K_F6 = 55 K_F7 = 56 K_F8 = 57 K_F9 = 58 K_HOME = 13 K_INSERT = 19 K_KP0 = 34 K_KP1 = 35 K_KP2 = 36 K_KP3 = 37 K_KP4 = 38 K_KP5 = 39 K_KP6 = 40 K_KP7 = 41 K_KP8 = 42 K_KP9 = 43 K_KPADD = 44 K_KPDEC = 48 K_KPDIV = 46 K_KPENTER = 49 K_KPMUL = 47 K_KPSUB = 45 K_LEFT = 15 K_LWIN = 21 K_NONE = 0 K_NUMLOCK = 62 K_PAGEDOWN = 11 K_PAGEUP = 10 K_PAUSE = 8 K_PRINTSCREEN = 18 K_RIGHT = 16 K_RWIN = 22 K_SCROLLLOCK = 63 K_SHIFT = 5 K_SPACE = 64 K_TAB = 3 K_UP = 14 RTLD_GLOBAL = 0 RTLD_LOCAL = 0 TCOD_EVENT_ANY = 31 TCOD_EVENT_KEY = 3 TCOD_EVENT_KEY_PRESS = 1 TCOD_EVENT_KEY_RELEASE = 2 TCOD_EVENT_MOUSE = 28 TCOD_EVENT_MOUSE_MOVE = 4 TCOD_EVENT_MOUSE_PRESS = 8 TCOD_EVENT_MOUSE_RELEASE = 16 cdll = <ctypes.LibraryLoader object> memmove = <CFunctionType object> memset = <CFunctionType object> oledll = <ctypes.LibraryLoader object> pydll = <ctypes.LibraryLoader object> pythonapi = <PyDLL 'python dll', handle 1e000000 at 254af30> windll = <ctypes.LibraryLoader object>