author | unc0rr |
Wed, 04 Apr 2012 15:05:14 +0400 | |
changeset 6854 | 873929cbd54b |
parent 6853 | affeaba0af71 |
child 6855 | 807156c01475 |
permissions | -rw-r--r-- |
6512 | 1 |
system; |
2 |
||
3 |
type |
|
6635
c2fa29fe2a58
Some progress, still can't find the source of bad behavior
unc0rr
parents:
6552
diff
changeset
|
4 |
Integer = integer; |
6512 | 5 |
LongInt = integer; |
6 |
LongWord = integer; |
|
6516 | 7 |
Cardinal = integer; |
8 |
PtrInt = integer; |
|
6520 | 9 |
Word = integer; |
10 |
Byte = integer; |
|
11 |
SmallInt = integer; |
|
12 |
ShortInt = integer; |
|
6653 | 13 |
QWord = integer; |
14 |
GLInt = integer; |
|
15 |
GLUInt = integer; |
|
6838 | 16 |
gl_unsigned_byte = integer; |
6516 | 17 |
|
18 |
pointer = pointer; |
|
19 |
PChar = pointer; |
|
20 |
||
6649
7f78e8a6db69
Fix a bug with type declaration trying to resolve type being declared
unc0rr
parents:
6635
diff
changeset
|
21 |
float = float; |
6838 | 22 |
single = float; |
6516 | 23 |
double = float; |
24 |
real = float; |
|
6653 | 25 |
extended = float; |
26 |
GLFloat = float; |
|
6838 | 27 |
gl_float = float; |
6516 | 28 |
|
29 |
boolean = boolean; |
|
30 |
LongBool = boolean; |
|
31 |
||
32 |
string = string; |
|
33 |
shortstring = string; |
|
34 |
ansistring = string; |
|
6838 | 35 |
widechar = string; |
6516 | 36 |
|
37 |
char = char; |
|
6520 | 38 |
|
39 |
PByte = ^Byte; |
|
40 |
PLongInt = ^LongInt; |
|
41 |
PLongWord = ^LongWord; |
|
42 |
PInteger = ^Integer; |
|
6663 | 43 |
|
44 |
Handle = integer; |
|
45 |
stderr = Handle; |
|
6838 | 46 |
|
6512 | 47 |
var |
48 |
false, true: boolean; |
|
6838 | 49 |
write, writeLn, read, readLn: procedure; |
6520 | 50 |
StrLen, ord, Succ, Pred : function : integer; |
6838 | 51 |
inc, dec, Low, High, Lo, Hi : function : integer; |
52 |
odd, even : function : boolean; |
|
53 |
||
6520 | 54 |
Now : function : integer; |
6663 | 55 |
Length : function : integer; |
6838 | 56 |
SetLength, val : procedure; |
57 |
||
58 |
new, dispose, FillChar, Move : procedure; |
|
59 |
||
60 |
trunc, round : function : integer; |
|
6837
a137733c5776
Much better types handling, work correctly with functions
unc0rr
parents:
6835
diff
changeset
|
61 |
Abs, Sqr : function : integer; |
6838 | 62 |
|
6843
59da15acb2f2
Finally fix the bug with pointer declarations polluting namespace with bad records
unc0rr
parents:
6838
diff
changeset
|
63 |
StrPas, FormatDateTime, copy, delete, str, pos : function : shortstring; |
6838 | 64 |
|
6843
59da15acb2f2
Finally fix the bug with pointer declarations polluting namespace with bad records
unc0rr
parents:
6838
diff
changeset
|
65 |
assign, rewrite, reset, flush, BlockWrite, close : procedure; |
6838 | 66 |
IOResult : function : integer; |
6853 | 67 |
exit, break, halt, continue : procedure; |
6843
59da15acb2f2
Finally fix the bug with pointer declarations polluting namespace with bad records
unc0rr
parents:
6838
diff
changeset
|
68 |
TextFile, file : Handle; |
6853 | 69 |
FileMode : integer; |
70 |
eof : function : boolean; |
|
71 |
||
72 |
ParamCount : function : integer; |
|
73 |
ParamStr : function : string; |
|
6838 | 74 |
|
75 |
Sqrt, ArcTan2, pi, cos, sin : function : float; |
|
76 |
||
77 |
TypeInfo, GetEnumName : function : shortstring; |
|
78 |
||
79 |
UTF8ToUnicode, WrapText: function : shortstring; |
|
80 |
||
81 |
sizeof : function : integer; |
|
82 |
||
83 |
GetMem : function : pointer; |
|
84 |
FreeMem : procedure; |
|
85 |
||
86 |
gl_texture_2d, glbindtexture, gltexparameterf, gl_rgba, |
|
87 |
glteximage2d, glvertexpointer, gltexcoordpointer, |
|
88 |
gl_triangle_fan, gldrawarrays, glpushmatrix, glpopmatrix, |
|
89 |
gltranslatef, glscalef, glrotatef, gldisable, glenable, |
|
90 |
gl_line_smooth, gllinewidth, gl_lines, gl_line_loop, |
|
91 |
glcolor4ub, gl_texture_wrap_s, gltexparameteri, |
|
92 |
gl_texture_wrap_t, gl_texture_min_filter, |
|
93 |
gl_linear, gl_texture_mag_filter, glgentextures, |
|
6843
59da15acb2f2
Finally fix the bug with pointer declarations polluting namespace with bad records
unc0rr
parents:
6838
diff
changeset
|
94 |
gldeletetextures, glreadpixels : procedure; |
6838 | 95 |
|
96 |
TThreadId : function : integer; |
|
6854
873929cbd54b
Normalize RecordFields before conversion. Helps with namespaces problem.
unc0rr
parents:
6853
diff
changeset
|
97 |
BeginThread, ThreadSwitch : procedure; |
873929cbd54b
Normalize RecordFields before conversion. Helps with namespaces problem.
unc0rr
parents:
6853
diff
changeset
|
98 |
InterlockedIncrement, InterlockedDecrement : procedure; |
6853 | 99 |
|
100 |
random : function : integer; |
|
101 |
||
102 |
Assigned : function : boolean; |
|
6854
873929cbd54b
Normalize RecordFields before conversion. Helps with namespaces problem.
unc0rr
parents:
6853
diff
changeset
|
103 |
|
873929cbd54b
Normalize RecordFields before conversion. Helps with namespaces problem.
unc0rr
parents:
6853
diff
changeset
|
104 |