Rev 3363 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3363 | Rev 3449 | ||
---|---|---|---|
Line 22... | Line 22... | ||
22 | #include "img\URLgoto.txt"; |
22 | #include "img\URLgoto.txt"; |
Line 23... | Line 23... | ||
23 | 23 | ||
24 | 24 | ||
- | 25 | #define URL param |
|
Line 25... | Line 26... | ||
25 | #define URL param |
26 | int use_truetype = 0; |
26 | int use_truetype = 0; |
27 | char fontlol[64]; |
27 | 28 | ||
Line 48... | Line 49... | ||
48 | 49 | ||
49 | #include "TWB.h" |
50 | #include "TWB.h" |
Line 50... | Line -... | ||
50 | #include "include\menu_rmb.h" |
- | |
51 | - | ||
52 | - | ||
53 | void tre() |
- | |
54 | { |
- | |
55 | char *font_picture; |
- | |
56 | char text[20]; |
- | |
57 | int width=600; |
- | |
58 | int height=20; |
- | |
59 | // char palette[256*4]; |
- | |
60 | int x; |
- | |
61 | - | ||
62 | text_out stdcall ("hello world\0",#fontlol, 17, 0x0, 10, 10); |
- | |
63 | text_out stdcall ("heyeyey!\0",#fontlol, 27, 0x0, 10, 30); |
- | |
64 | text_out stdcall ("alarm!\0", #fontlol, 47, 0x00FF0000, 10, 70); |
- | |
65 | /* |
- | |
66 | strcpy(#text, "hello world\0"); |
- | |
67 | - | ||
68 | debug("get width\n"); |
- | |
69 | get_width stdcall (#text, #fontinfo, height); |
- | |
70 | width=EAX; |
- | |
71 | for (x=0;x<20;x++) { |
- | |
72 | init_font(#fontinfo); |
- | |
73 | debug("yaya\n"); |
- | |
74 | font_picture=mem_Alloc(width*height); |
- | |
75 | text[1]=30+x; |
- | |
76 | truetype stdcall (#text, #fontinfo, font_picture, width, height); |
- | |
77 | - | ||
78 | debug("blyad'!\n"); |
- | |
79 | - | ||
80 | - | ||
81 | - | ||
82 | PutPaletteImage(font_picture,width,height,0,20*x,8,#palette); |
- | |
83 | mem_Free(font_picture); }*/ |
- | |
84 | } |
- | |
85 | 51 | #include "include\menu_rmb.h" |
|
86 | char fontlol[64]; |
52 | |
87 | 53 | ||
88 | void main() |
54 | void main() |
89 | { |
55 | { |