Rev 2413 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2413 | Rev 2444 | ||
---|---|---|---|
Line 20... | Line 20... | ||
20 | copystr(#URL, #temp1); |
20 | copystr(#URL, #temp1); |
21 | temp1[len] = 0x00; |
21 | temp1[len] = 0x00; |
22 | return #temp1; |
22 | return #temp1; |
23 | } |
23 | } |
Line 24... | Line 24... | ||
24 | 24 | ||
- | 25 | inline byte chTag(dword text) {return strcmp(#tag,text);} |
|
- | 26 | ||
- | 27 | ||
- | 28 | void GetURLfromPageLinks(int id) //ñòîëüêî áðåäà, ïîòîìó ÷òî íåëüçÿ ñîçäàòü ìàññèâ ñòðèíãîâ |
|
- | 29 | { |
|
- | 30 | j = 0; |
|
25 | inline fastcall CopyScreen(dword EBX, ECX, EDX) |
31 | for (i = 0; i <= id - 401; i++) |
26 | { |
32 | { |
- | 33 | do j++; |
|
- | 34 | while (page_links[j] <>'|'); |
|
27 | EAX = 36; |
35 | } |
- | 36 | page_links[j] = 0x00; |
|
28 | $int 0x40; |
37 | copystr(#page_links[find_symbol(#page_links, '|')], #URL); |
Line 29... | Line -... | ||
29 | } |
- | |
- | 38 | } |
|
Line 30... | Line 39... | ||
30 | 39 | ||
31 | inline byte chTag(dword text) {return strcmp(#tag,text);} |
40 | |
32 | 41 | ||
33 | // á ¥â ª«®ëå èà¨ä⮢, ¯®í⮬㠤¥« ¥¬ ª®áâë«ì ¨§ |
42 | // á ¥â ª«®ëå èà¨ä⮢, ¯®í⮬㠤¥« ¥¬ ª®áâë«ì ¨§ |
Line 46... | Line 55... | ||
46 | 55 | ||
Line 47... | Line 56... | ||
47 | italic_buf = mem_Alloc(w*h*3); |
56 | italic_buf = mem_Alloc(w*h*3); |
Line 48... | Line 57... | ||
48 | 57 | ||
Line 49... | Line 58... | ||
49 | skin_width = GetSkinWidth(); |
58 | skin_width = GetSkinWidth(); |
50 | 59 | ||
51 | CopyScreen(italic_buf, w * 65536 + h, x + Form.left + 2 * 65536 + y + Form.top + skin_width); |
60 | CopyScreen(italic_buf, x+Form.left+2, y+Form.top+skin_width, w, h); |
52 | 61 | ||
53 | 62 | ||
54 | FOR (i=0;i*tile_height |
- | |
55 | PutImage(w*3*tile_height*i+italic_buf,w,tile_height,x+shift-i+1,i*tile_height+y); |
- | |
56 | } |
- | |
57 | mem_Free(italic_buf); |
- | |
58 | } |
- | |
59 | - | ||
60 | void GetURLfromPageLinks(int id) //ñòîëüêî áðåäà, ïîòîìó ÷òî íåëüçÿ ñîçäàòü ìàññèâ ñòðèíãîâ |
- | |
61 | { |
- | |
62 | j = 0; |
- | |
63 | for (i = 0; i <= id - 401; i++) |
- | |
64 | { |
- | |
65 | do j++; |
- | |
66 | while (page_links[j] <>'|'); |
63 | FOR (i=0;i*tile_height |