author | krdrt5367 |
Tue, 03 Apr 2012 10:06:58 +0100 | |
changeset 6849 | 7b5e5410f5e8 |
parent 6843 | 59da15acb2f2 |
child 6853 | affeaba0af71 |
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; |
67 |
exit, break, halt : procedure; |
|
6843
59da15acb2f2
Finally fix the bug with pointer declarations polluting namespace with bad records
unc0rr
parents:
6838
diff
changeset
|
68 |
TextFile, file : Handle; |
6838 | 69 |
|
70 |
Sqrt, ArcTan2, pi, cos, sin : function : float; |
|
71 |
||
72 |
TypeInfo, GetEnumName : function : shortstring; |
|
73 |
||
74 |
UTF8ToUnicode, WrapText: function : shortstring; |
|
75 |
||
76 |
sizeof : function : integer; |
|
77 |
||
78 |
GetMem : function : pointer; |
|
79 |
FreeMem : procedure; |
|
80 |
||
81 |
gl_texture_2d, glbindtexture, gltexparameterf, gl_rgba, |
|
82 |
glteximage2d, glvertexpointer, gltexcoordpointer, |
|
83 |
gl_triangle_fan, gldrawarrays, glpushmatrix, glpopmatrix, |
|
84 |
gltranslatef, glscalef, glrotatef, gldisable, glenable, |
|
85 |
gl_line_smooth, gllinewidth, gl_lines, gl_line_loop, |
|
86 |
glcolor4ub, gl_texture_wrap_s, gltexparameteri, |
|
87 |
gl_texture_wrap_t, gl_texture_min_filter, |
|
88 |
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
|
89 |
gldeletetextures, glreadpixels : procedure; |
6838 | 90 |
|
91 |
TThreadId : function : integer; |