version	U12.1.00
uid	material.u1-1787878900-0
record	graphics3d__Material__state,9
	0,__s
	1,__m
	2,label
	3,diffuse
	4,power
	5,specular
	6,emissive
	7,textureFileName
	8,textureRecord
record	graphics3d__Material__methods,5
	0,init
	1,has_texture_filename
	2,get_texture_filename
	3,apply
	4,initially
impl	local
global	10
	0,000005,graphics3d__Material_init,1
	1,000005,graphics3d__Material_has_texture_filename,1
	2,000005,graphics3d__Material_get_texture_filename,1
	3,000005,graphics3d__Material_apply,1
	4,000005,graphics3d__Material_initially,1
	5,000011,graphics3d__Material__state,9
	6,000011,graphics3d__Material__methods,5
	7,000001,graphics3d__Material__oprec,0
	8,000005,graphics3d__Material,7
	9,000005,graphics3d__Materialinitialize,0

proc graphics3d__Material_init
	local	0,001000,self
	con	0,004000,1.0
	con	1,004000,0.0
	con	2,002000,2,50
	declend
	filen	material.icn
	line	25
	colm	11
	synt	any
	mark	L1
	pnull
	pnull
	var	0
	line	26
	colm	11
	synt	any
	field	diffuse
	pnull
	real	0
	real	0
	real	0
	real	0
	line	26
	colm	21
	synt	any
	llist	4
	line	26
	colm	19
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	pnull
	pnull
	var	0
	line	27
	colm	11
	synt	any
	field	specular
	pnull
	real	0
	real	0
	real	0
	line	27
	colm	22
	synt	any
	llist	3
	line	27
	colm	20
	synt	any
	asgn
	unmark
lab L2
	mark	L3
	pnull
	pnull
	var	0
	line	28
	colm	11
	synt	any
	field	emissive
	pnull
	real	1
	real	1
	real	1
	line	28
	colm	22
	synt	any
	llist	3
	line	28
	colm	20
	synt	any
	asgn
	unmark
lab L3
	mark	L4
	pnull
	pnull
	var	0
	line	29
	colm	11
	synt	any
	field	power
	int	2
	line	29
	colm	17
	synt	any
	asgn
	unmark
lab L4
	mark	L5
	pnull
	pnull
	var	0
	line	31
	colm	11
	synt	any
	field	textureFileName
	line	31
	colm	29
	synt	any
	keywd	null
	line	31
	colm	27
	synt	any
	asgn
	unmark
lab L5
	mark	L6
	pnull
	pnull
	var	0
	line	32
	colm	11
	synt	any
	field	textureRecord
	line	32
	colm	27
	synt	any
	keywd	null
	line	32
	colm	25
	synt	any
	asgn
	unmark
lab L6
	pnull
	line	33
	colm	1
	synt	any
	pfail
	end
proc graphics3d__Material_has_texture_filename
	local	0,001000,self
	declend
	line	35
	colm	11
	synt	any
	mark	L1
	mark	L2
	pnull
	pnull
	var	0
	line	36
	colm	18
	synt	any
	field	textureFileName
	line	36
	colm	13
	synt	any
	nonnull
	line	36
	colm	6
	synt	any
	pret
lab L2
	synt	any
	pfail
	unmark
lab L1
	pnull
	line	37
	colm	1
	synt	any
	pfail
	end
proc graphics3d__Material_get_texture_filename
	local	0,001000,self
	declend
	line	39
	colm	11
	synt	any
	mark	L1
	mark	L2
	pnull
	pnull
	var	0
	line	40
	colm	18
	synt	any
	field	textureFileName
	line	40
	colm	13
	synt	any
	nonnull
	line	40
	colm	6
	synt	any
	pret
lab L2
	synt	any
	pfail
	unmark
lab L1
	pnull
	line	41
	colm	1
	synt	any
	pfail
	end
proc graphics3d__Material_apply
	local	0,001000,self
	local	1,000020,diff
	local	2,000020,spec
	local	3,000020,emis
	local	4,000020,shin
	local	5,000020,rec
	local	6,000020,f
	local	7,000020,t
	local	8,000000,string
	local	9,000000,Fg
	local	10,000000,WAttrib
	local	11,000000,Texture
	con	0,010000,8,144,151,146,146,165,163,145,040
	con	1,002000,1,1
	con	2,002000,5,65535
	con	3,010000,1,054
	con	4,002000,1,2
	con	5,002000,1,3
	con	6,010000,9,145,155,151,163,163,151,157,156,040
	con	7,010000,9,163,160,145,143,165,154,141,162,040
	con	8,010000,10,163,150,151,156,151,156,145,163,163,040
	con	9,010000,1,073
	con	10,010000,7,164,145,170,155,157,144,145
	con	11,010000,3,157,146,146
	con	12,010000,10,164,145,170,155,157,144,145,075,157,156
	con	13,002000,1,0
	con	14,010000,9,124,145,170,164,165,162,145,040,072
	declend
	line	43
	colm	11
	synt	any
	mark	L1
	pnull
	var	1
	pnull
	pnull
	pnull
	pnull
	pnull
	str	0
	var	8
	pnull
	pnull
	pnull
	var	0
	line	45
	colm	40
	synt	any
	field	diffuse
	int	1
	line	45
	colm	48
	synt	any
	subsc
	int	2
	line	45
	colm	51
	synt	any
	mult
	line	45
	colm	34
	synt	any
	invoke	1
	line	45
	colm	25
	synt	any
	cat
	str	3
	line	45
	colm	58
	synt	any
	cat
	var	8
	pnull
	pnull
	pnull
	var	0
	line	46
	colm	40
	synt	any
	field	diffuse
	int	4
	line	46
	colm	48
	synt	any
	subsc
	int	2
	line	46
	colm	51
	synt	any
	mult
	line	46
	colm	34
	synt	any
	invoke	1
	line	45
	colm	64
	synt	any
	cat
	str	3
	line	46
	colm	58
	synt	any
	cat
	var	8
	pnull
	pnull
	pnull
	var	0
	line	47
	colm	40
	synt	any
	field	diffuse
	int	5
	line	47
	colm	48
	synt	any
	subsc
	int	2
	line	47
	colm	51
	synt	any
	mult
	line	47
	colm	34
	synt	any
	invoke	1
	line	46
	colm	64
	synt	any
	cat
	line	45
	colm	11
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	pnull
	var	3
	pnull
	pnull
	pnull
	pnull
	pnull
	str	6
	var	8
	pnull
	pnull
	pnull
	var	0
	line	49
	colm	41
	synt	any
	field	emissive
	int	1
	line	49
	colm	50
	synt	any
	subsc
	int	2
	line	49
	colm	53
	synt	any
	mult
	line	49
	colm	35
	synt	any
	invoke	1
	line	49
	colm	26
	synt	any
	cat
	str	3
	line	49
	colm	60
	synt	any
	cat
	var	8
	pnull
	pnull
	pnull
	var	0
	line	50
	colm	41
	synt	any
	field	emissive
	int	4
	line	50
	colm	50
	synt	any
	subsc
	int	2
	line	50
	colm	53
	synt	any
	mult
	line	50
	colm	35
	synt	any
	invoke	1
	line	49
	colm	67
	synt	any
	cat
	str	3
	line	50
	colm	60
	synt	any
	cat
	var	8
	pnull
	pnull
	pnull
	var	0
	line	51
	colm	41
	synt	any
	field	emissive
	int	5
	line	51
	colm	50
	synt	any
	subsc
	int	2
	line	51
	colm	53
	synt	any
	mult
	line	51
	colm	35
	synt	any
	invoke	1
	line	50
	colm	66
	synt	any
	cat
	line	49
	colm	11
	synt	any
	asgn
	unmark
lab L2
	mark	L3
	pnull
	var	2
	pnull
	pnull
	pnull
	pnull
	pnull
	str	7
	var	8
	pnull
	pnull
	pnull
	var	0
	line	53
	colm	41
	synt	any
	field	specular
	int	1
	line	53
	colm	50
	synt	any
	subsc
	int	2
	line	53
	colm	53
	synt	any
	mult
	line	53
	colm	35
	synt	any
	invoke	1
	line	53
	colm	26
	synt	any
	cat
	str	3
	line	53
	colm	60
	synt	any
	cat
	var	8
	pnull
	pnull
	pnull
	var	0
	line	54
	colm	41
	synt	any
	field	specular
	int	4
	line	54
	colm	50
	synt	any
	subsc
	int	2
	line	54
	colm	53
	synt	any
	mult
	line	54
	colm	35
	synt	any
	invoke	1
	line	53
	colm	66
	synt	any
	cat
	str	3
	line	54
	colm	60
	synt	any
	cat
	var	8
	pnull
	pnull
	pnull
	var	0
	line	55
	colm	41
	synt	any
	field	specular
	int	5
	line	55
	colm	50
	synt	any
	subsc
	int	2
	line	55
	colm	53
	synt	any
	mult
	line	55
	colm	35
	synt	any
	invoke	1
	line	54
	colm	65
	synt	any
	cat
	line	53
	colm	11
	synt	any
	asgn
	unmark
lab L3
	mark	L4
	pnull
	var	4
	pnull
	str	8
	var	8
	pnull
	var	0
	line	57
	colm	41
	synt	any
	field	power
	line	57
	colm	36
	synt	any
	invoke	1
	line	57
	colm	27
	synt	any
	cat
	line	57
	colm	11
	synt	any
	asgn
	unmark
lab L4
	mark	L5
	pnull
	var	6
	var	9
	pnull
	pnull
	pnull
	pnull
	pnull
	pnull
	var	1
	str	9
	line	62
	colm	18
	synt	any
	cat
	var	3
	line	62
	colm	25
	synt	any
	cat
	str	9
	line	62
	colm	33
	synt	any
	cat
	var	2
	line	62
	colm	40
	synt	any
	cat
	str	9
	line	62
	colm	48
	synt	any
	cat
	var	4
	line	62
	colm	55
	synt	any
	cat
	line	62
	colm	11
	synt	any
	invoke	1
	line	62
	colm	7
	synt	any
	asgn
	unmark
lab L5
	mark	L6
	line	65
	colm	6
	synt	if
	mark0
	pnull
	var	0
	line	65
	colm	13
	synt	any
	field	has_texture_filename
	line	65
	colm	34
	synt	any
	invoke	0
	unmark
	mark	L7
	line	66
	colm	9
	synt	if
	mark0
	pnull
	var	10
	str	10
	line	66
	colm	19
	synt	any
	invoke	1
	str	11
	line	66
	colm	30
	synt	any
	lexeq
	unmark
	var	10
	str	12
	line	66
	colm	50
	synt	any
	invoke	1
	line	66
	colm	9
	synt	endif
	unmark
lab L7
	mark	L8
	pnull
	var	7
	var	11
	pnull
	var	0
	line	67
	colm	24
	synt	any
	field	get_texture_filename
	line	67
	colm	45
	synt	any
	invoke	0
	line	67
	colm	19
	synt	any
	invoke	1
	line	67
	colm	10
	synt	any
	asgn
	unmark
lab L8
	mark	L9
	int	13
	str	14
	pnull
	var	0
	line	68
	colm	29
	synt	any
	field	get_texture_filename
	line	68
	colm	50
	synt	any
	invoke	0
	line	68
	colm	10
	synt	any
	invoke	2
	unmark
lab L9
	mark	L10
	pnull
	var	7
	line	69
	colm	16
	synt	any
	nonnull
	line	69
	colm	9
	synt	any
	pret
lab L10
	synt	any
	pfail
	line	65
	colm	6
	synt	endif
	unmark
lab L6
	mark	L11
	mark	L12
	pnull
	var	6
	line	71
	colm	13
	synt	any
	nonnull
	line	71
	colm	6
	synt	any
	pret
lab L12
	synt	any
	pfail
	unmark
lab L11
	pnull
	line	72
	colm	1
	synt	any
	pfail
	end
proc graphics3d__Material_initially
	local	0,001000,self
	declend
	line	75
	colm	11
	synt	any
	mark	L1
	pnull
	var	0
	line	76
	colm	11
	synt	any
	field	init
	line	76
	colm	16
	synt	any
	invoke	0
	unmark
lab L1
	mark	L2
	mark	L3
	pnull
	line	77
	colm	7
	synt	any
	pret
lab L3
	synt	any
	pfail
	unmark
lab L2
	pnull
	line	78
	colm	1
	synt	any
	pfail
	end
proc graphics3d__Material
	local	0,001000,label
	local	1,001000,diffuse
	local	2,001000,power
	local	3,001000,specular
	local	4,001000,emissive
	local	5,001000,textureFileName
	local	6,001000,textureRecord
	local	7,000020,self
	local	8,000020,clone
	local	9,000000,graphics3d__Material__oprec
	local	10,000000,graphics3d__Materialinitialize
	local	11,000000,graphics3d__Material__state
	declend
	filen	__faux.icn
	line	5
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	line	8
	colm	3
	synt	if
	mark0
	pnull
	var	9
	line	8
	colm	6
	synt	any
	null
	unmark
	var	10
	line	8
	colm	70
	synt	any
	invoke	0
	line	8
	colm	3
	synt	endif
	unmark
lab L2
	einit	L1
lab L3
	mark	L4
	pnull
	var	7
	var	11
	line	10
	colm	39
	synt	any
	keywd	null
	var	9
	var	0
	var	1
	var	2
	var	3
	var	4
	var	5
	var	6
	line	10
	colm	38
	synt	any
	invoke	9
	line	10
	colm	8
	synt	any
	asgn
	unmark
lab L4
	mark	L5
	pnull
	pnull
	var	7
	line	11
	colm	7
	synt	any
	field	__s
	var	7
	line	11
	colm	12
	synt	any
	asgn
	unmark
lab L5
	mark	L6
	mark	L7
	pnull
	pnull
	var	7
	line	12
	colm	7
	synt	any
	field	__m
	line	12
	colm	11
	synt	any
	field	initially
	var	7
	line	12
	colm	21
	synt	any
	invoke	1
	line	12
	colm	28
	synt	any
	esusp
	goto	L8
lab L7
	line	12
	colm	30
	synt	any
	pfail
lab L8
	unmark
lab L6
	mark	L9
	mark	L10
	var	7
	line	13
	colm	3
	synt	any
	pret
lab L10
	synt	any
	pfail
	unmark
lab L9
	pnull
	line	14
	colm	1
	synt	any
	pfail
	end
proc graphics3d__Materialinitialize
	local	0,000000,graphics3d__Material__oprec
	local	1,000000,graphics3d__Material__methods
	local	2,000000,graphics3d__Material_init
	local	3,000000,graphics3d__Material_has_texture_filename
	local	4,000000,graphics3d__Material_get_texture_filename
	local	5,000000,graphics3d__Material_apply
	local	6,000000,graphics3d__Material_initially
	declend
	line	16
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	0
	var	1
	var	2
	var	3
	var	4
	var	5
	var	6
	line	17
	colm	71
	synt	any
	invoke	5
	line	17
	colm	39
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	line	18
	colm	1
	synt	any
	pfail
	end
