@@ -321,6 +321,30 @@ def __iter__(self):
321321KEY_PRESSED = 1
322322KEY_RELEASED = 2
323323
324+
325+ #class char_t(Structure):
326+ # _fields_ = [('c', c_int), # character ascii code
327+ # ('cf', c_int), # character number in font
328+ # ('fore', _Color), ('back', _Color),
329+ # ('dirty', c_uint8)]
330+
331+
332+ #class TCOD_console_t(Structure):
333+ # _fields_ = [('buf', POINTER(char_t)), # current console
334+ # ('oldbuf', POINTER(char_t)), # console for last frame
335+ # ('w', c_int), ('h', c_int), # console width and height (in characters,not pixels)
336+ # ]
337+
338+ # /* default background operator for print & print_rect functions */
339+ # TCOD_bkgnd_flag_t bkgnd_flag;
340+ # /* default alignment for print & print_rect functions */
341+ # TCOD_alignment_t alignment;
342+ # /* foreground (text), background and key colors */
343+ # TCOD_color_t fore,back,key;
344+ # uint8 fade;
345+ # bool haskey; /* a key color has been defined */
346+ #} TCOD_console_data_t;
347+
324348TCOD_console_t = c_void_p
325349
326350_lib .TCOD_console_init_root .restype = None
0 commit comments