Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

register_trace_handler(3alleg4) [debian man page]

register_trace_handler(3alleg4) 				  Allegro manual				   register_trace_handler(3alleg4)

NAME
register_trace_handler - Registers a custom handler for trace output. Allegro game programming library. SYNOPSIS
#include <allegro.h> void register_trace_handler(int (*handler)(const char *msg)); DESCRIPTION
Supplies a custom handler function for dealing with trace output. Your callback will be passed a formatted error message in ASCII, and should return non-zero if it has processed the message, or zero to continue with the default actions. You could use this to ignore trace output, or to display the messages on a second monochrome monitor, etc. You can call this function even when Allegro has not been ini- tialised. Example: int network_broadcaster(const char *text) { int f; for (int f = 0; f send_msg_to_client(client[f], text); return 0; /* Let normal tracing occur. */ } ... register_trace_handler(network_broadcaster); TRACE("Networked tracing activated "); SEE ALSO
al_trace(3alleg4), TRACE(3alleg4), register_assert_handler(3alleg4) Allegro version 4.4.2 register_trace_handler(3alleg4)

Check Out this Related Man Page

exrotscl(3alleg4)						  Allegro manual						 exrotscl(3alleg4)

NAME
exrotscl - Demonstrates rotate_scaled_sprite functions. Allegro game programming library. SYNOPSIS
#include <allegro.h> Example exrotscl DESCRIPTION
This example demonstrates rotate_scaled_sprite functions. SEE ALSO
BITMAP(3alleg4), END_OF_MAIN(3alleg4), SCREEN_H(3alleg4), SCREEN_W(3alleg4), acquire_screen(3alleg4), allegro_init(3alleg4), allegro_mes- sage(3alleg4), clear_to_color(3alleg4), create_bitmap(3alleg4), destroy_bitmap(3alleg4), draw_trans_sprite(3alleg4), fixed(3alleg4), font(3alleg4), ftofix(3alleg4), install_keyboard(3alleg4), key(3alleg4), keypressed(3alleg4), load_bitmap(3alleg4), makeacol(3alleg4), makecol(3alleg4), readkey(3alleg4), release_screen(3alleg4), rest(3alleg4), rotate_scaled_sprite(3alleg4), rotate_scaled_sprite_lit(3alleg4), rotate_scaled_sprite_trans(3alleg4), screen(3alleg4), set_alpha_blender(3alleg4), set_color_conver- sion(3alleg4), set_color_depth(3alleg4), set_gfx_mode(3alleg4), set_trans_blender(3alleg4), textout_centre_ex(3alleg4) Allegro version 4.4.2 exrotscl(3alleg4)
Man Page