Rev 1764 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1005 | barsuk | 1 | |
2 | |||
3 | |||
4 | #include "kosFile.h" |
||
5 | #include "MCSMEMM.H" |
||
6 | |||
7 | |||
8 | |||
9 | |||
10 | |||
11 | #define ERROR_END 8888888888.7 |
||
12 | |||
13 | |||
14 | |||
15 | |||
16 | typedef int DWORD; |
||
17 | |||
18 | |||
19 | extern char debuf[50]; |
||
20 | |||
21 | |||
22 | |||
23 | |||
24 | { |
||
25 | double x, y; |
||
26 | } TCoord; |
||
27 | |||
28 | |||
29 | |||
7648 | leency | 30 | void kos_DrawLine( Word x1, Word y1, Word x2, Word y2, Dword colour, Dword invert); |
1005 | barsuk | 31 | void DrawRegion(Dword x,Dword y,Dword width,Dword height,Dword color1); |
32 | int atoi(const char* string); |
||
33 | |||
34 | |||
1764 | clevermous | 35 | double __cdecl cos(double x); |
36 | double __cdecl sin(double x); |
||
37 | int di(double x); |
||
1005 | barsuk | 38 | |
39 | |||
40 | bool isalpha(char c); |
||
41 | double convert(char *s, int *len=NULL); |
||
42 | void format( char *Str, int len, char* Format, ... ); |
||
43 | |||
44 | |||
45 | |||
46 | |||
47 | void settextstyle( int a1, int a2, int a3); |
||
48 | |||
49 | |||
50 | |||
51 | double textheight( char *s, int len); |
||
52 | void setcolor( DWORD color); |
||
53 | void unsetcolor(HDC hdc); |
||
54 | void rectangle( int x1, int y1, int x2, int y2); |
||
55 | |||
56 | |||
57 | { |
||
58 | unsigned p00 ; |
||
59 | unsigned p04 ; |
||
60 | unsigned p08 ; |
||
61 | unsigned p12 ; |
||
62 | unsigned p16 ; |
||
63 | char p20 ; |
||
64 | char *p21 ; |
||
65 | } kol_struct70 ; |
||
66 | |||
67 | |||
68 | |||
69 | { |
||
70 | unsigned p00 ; |
||
71 | char p04 ; |
||
72 | char p05[3] ; |
||
73 | unsigned p08 ; |
||
74 | unsigned p12 ; |
||
75 | unsigned p16 ; |
||
76 | unsigned p20 ; |
||
77 | unsigned p24 ; |
||
78 | unsigned p28 ; |
||
79 | unsigned p32[2] ; |
||
80 | unsigned p40 ; |
||
81 | } kol_struct_BDVK ; |
||
82 | |||
83 | |||
84 | { |
||
85 | char *name ; |
||
86 | void *data ; |
||
87 | } kol_struct_import ; |
||
88 | |||
89 | |||
90 | |||
91 | |||
92 | void* kol_cofflib_procload (kol_struct_import *imp, char *name); |
||
93 | unsigned kol_cofflib_procnum (kol_struct_import *imp); |
||
94 | void kol_cofflib_procname (kol_struct_import *imp, char *name, unsigned n); |
||
95 | int strcmp(const char* string1, const char* string2); |
||
96 |