1exunicod(3) Allegro manual exunicod(3)
2
3
4
6 exunicod - Using Unicode string functions. Allegro game programming
7 library.
8
10 #include <allegro.h>
11
12
13 Example exunicod
14
16 This program demonstrates the use of the 16-bit Unicode text encoding
17 format with Allegro. The example displays a message translated to dif‐
18 ferent languages scrolling on the screen using an external font con‐
19 taining the required characters to display those messages.
20
21 Note how the Allegro unicode string functions resemble the functions
22 you can find in the standard C library, only these handle Unicode on
23 all platforms.
24
25
27 BITMAP(3), DATAFILE(3), END_OF_MAIN(3), FONT(3), SCREEN_H(3),
28 SCREEN_W(3), allegro_error(3), allegro_init(3), allegro_message(3),
29 blit(3), clear_to_color(3), create_bitmap(3), destroy_bitmap(3),
30 font(3), install_int_ex(3), install_keyboard(3), install_timer(3), key‐
31 pressed(3), load_datafile(3), replace_filename(3), rest(3), screen(3),
32 set_gfx_mode(3), set_uformat(3), set_window_title(3), text_height(3),
33 text_length(3), textout_ex(3), uconvert_ascii(3), unload_datafile(3),
34 ustrcat(3), ustrcpy(3), ustrsize(3), ustrsizez(3)
35
36
37
38Allegro version 4.2.2 exunicod(3)