14 clock
:array[0..7] of image
;
18 function getBlockTrans(id
:integer;):boolean;
19 function getBlockFore(id
:integer;):boolean;
20 function getBlockSet(id
:integer;):boolean;
22 function getItemIndNum(id
:integer):boolean;
23 function getItemIndLine(id
:integer):boolean;
24 function getItemDiv(id
:integer):boolean;
25 function getItemTexType(id
:integer):integer;
27 procedure setMaxItemList(i
:integer);
28 procedure setItemList(item
, i
:integer);
29 function getItemList(i
:integer):integer;
40 itemList
: array [0..0] of integer;
42 function getBlockTrans(id
:integer;):boolean;
44 getBlockTrans
:=(getBlockFlags(id
) and BLOCK_FLAG_Trans
)>0;
47 function getBlockFore(id
:integer;):boolean;
49 getBlockFore
:=(getBlockFlags(id
) and BLOCK_FLAG_FORE
)>0;
52 function getBlockSet(id
:integer;):boolean;
54 getBlockSet
:=(getBlockFlags(id
) and BLOCK_FLAG_SET
)>0;
57 function getItemIndNum(id
:integer):boolean;
59 getItemIndNum
:=(getItemFlags(id
) and ITEM_FLAG_IND1
)>0;
62 function getItemIndLine(id
:integer):boolean;
64 getItemIndLine
:=(getItemFlags(id
) and ITEM_FLAG_IND2
)>0;
67 function getItemDiv(id
:integer):boolean;
69 getItemDiv
:=(getItemFlags(id
) and ITEM_FLAG_DIV
)>0;
72 function getItemTexType(id
:integer):integer;
74 getItemTexType
:=(getItemFlags(id
) and ITEM_FLAG_TEX
)>>3;
77 procedure setMaxItemList(i
:integer);
84 putstatic field
'items', 'itemlist', '[I';
88 procedure setItemList(i
, item
:integer);
93 function getItemList(i
:integer):integer;
95 if (i
>=0) and (i
<=itemListSize
) then
96 getItemList
:=itemList
[i
];