////////////////////////////////////////////////////////////////////
#include <acknex.h>
#include <default.c>
////////////////////////////////////////////////////////////////////
// Font with asian characters
FONT* some_font = "SimHei#25b"; // true type, WhatEver, bold, size = 25
STRING* aloha = str_create("#100");
STRING* aloha = ""; // Nullify string, TEXT* crack with non initialized STRING*
// Small text saved with notepad and SimHei font
// switch? a, b, c, asian, asian, a, b, c,
// HEX output ef,bb,bf, 61,62,63, e4,bb,a7, e4,bc,bf, 61,62,63,
// Decimal 239,187,191, 97,98,99, 228,187,167, 228,188,191, 97,98,99,
char test[30] = { 239,187,191,97,98,99,228,187,167,228,188,191,97,98,99};
char endtest[30] = { '|',' ','A','n','y',' ','L','u','c','k','?'};
TEXT* greetings_txt =
{
pos_x = 150;
pos_y = 250;
font = some_font;
string (aloha);
flags = VISIBLE;
}
////////////////////////////////////////////////////////////////////
function main()
{
str_cpy(aloha, test);
video_mode = 6;
screen_color.blue = 150;
wait (-3);
str_cat(aloha, endtest);
}