version	U12.1.00
uid	animationcontroller.u1-1787878920-0
record	graphics3d__AnimationController__state,6
	0,__s
	1,__m
	2,a_clock
	3,animation_step
	4,animation_track
	5,skeleton
record	graphics3d__AnimationController__methods,11
	0,init
	1,set_skeleton
	2,init_timer
	3,set_timer
	4,get_timer
	5,faster
	6,slower
	7,set_animation_track
	8,calc_animation
	9,update_animation
	10,initially
impl	local
global	16
	0,000005,graphics3d__AnimationController_init,1
	1,000005,graphics3d__AnimationController_set_skeleton,2
	2,000005,graphics3d__AnimationController_init_timer,1
	3,000005,graphics3d__AnimationController_set_timer,2
	4,000005,graphics3d__AnimationController_get_timer,1
	5,000005,graphics3d__AnimationController_faster,1
	6,000005,graphics3d__AnimationController_slower,1
	7,000005,graphics3d__AnimationController_set_animation_track,3
	8,000005,graphics3d__AnimationController_calc_animation,2
	9,000005,graphics3d__AnimationController_update_animation,1
	10,000005,graphics3d__AnimationController_initially,1
	11,000011,graphics3d__AnimationController__state,6
	12,000011,graphics3d__AnimationController__methods,11
	13,000001,graphics3d__AnimationController__oprec,0
	14,000005,graphics3d__AnimationController,4
	15,000005,graphics3d__AnimationControllerinitialize,0

proc graphics3d__AnimationController_init
	local	0,001000,self
	con	0,002000,1,0
	con	1,002000,1,1
	declend
	filen	animationcontroller.icn
	line	20
	colm	11
	synt	any
	mark	L1
	pnull
	pnull
	var	0
	line	21
	colm	11
	synt	any
	field	a_clock
	int	0
	line	21
	colm	19
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	pnull
	pnull
	var	0
	line	23
	colm	11
	synt	any
	field	animation_step
	int	1
	line	23
	colm	26
	synt	any
	asgn
	unmark
lab L2
	pnull
	line	24
	colm	1
	synt	any
	pfail
	end
proc graphics3d__AnimationController_set_skeleton
	local	0,001000,self
	local	1,001000,skl
	declend
	line	26
	colm	11
	synt	any
	mark	L1
	pnull
	pnull
	var	0
	line	27
	colm	11
	synt	any
	field	skeleton
	var	1
	line	27
	colm	20
	synt	any
	asgn
	unmark
lab L1
	pnull
	line	28
	colm	1
	synt	any
	pfail
	end
proc graphics3d__AnimationController_init_timer
	local	0,001000,self
	con	0,002000,1,0
	declend
	line	30
	colm	11
	synt	any
	mark	L1
	pnull
	pnull
	var	0
	line	31
	colm	11
	synt	any
	field	a_clock
	int	0
	line	31
	colm	19
	synt	any
	asgn
	unmark
lab L1
	pnull
	line	32
	colm	1
	synt	any
	pfail
	end
proc graphics3d__AnimationController_set_timer
	local	0,001000,self
	local	1,001000,t
	declend
	line	34
	colm	11
	synt	any
	mark	L1
	pnull
	pnull
	var	0
	line	35
	colm	11
	synt	any
	field	a_clock
	var	1
	line	35
	colm	19
	synt	any
	asgn
	unmark
lab L1
	pnull
	line	36
	colm	1
	synt	any
	pfail
	end
proc graphics3d__AnimationController_get_timer
	local	0,001000,self
	declend
	line	38
	colm	11
	synt	any
	mark	L1
	mark	L2
	pnull
	var	0
	line	39
	colm	18
	synt	any
	field	a_clock
	line	39
	colm	7
	synt	any
	pret
lab L2
	synt	any
	pfail
	unmark
lab L1
	pnull
	line	40
	colm	1
	synt	any
	pfail
	end
proc graphics3d__AnimationController_faster
	local	0,001000,self
	con	0,002000,1,1
	con	1,002000,1,0
	con	2,010000,15,141,156,151,155,141,164,151,157,156,137,163,164,145,160,072
	declend
	line	42
	colm	11
	synt	any
	mark	L1
	pnull
	pnull
	var	0
	line	43
	colm	11
	synt	any
	field	animation_step
	dup
	int	0
	line	43
	colm	26
	synt	any
	plus
	asgn
	unmark
lab L1
	mark	L2
	int	1
	str	2
	pnull
	var	0
	line	44
	colm	32
	synt	any
	field	animation_step
	line	44
	colm	8
	synt	any
	invoke	2
	unmark
lab L2
	mark	L3
	mark	L4
	pnull
	var	0
	line	45
	colm	18
	synt	any
	field	animation_step
	line	45
	colm	7
	synt	any
	pret
lab L4
	synt	any
	pfail
	unmark
lab L3
	pnull
	line	46
	colm	1
	synt	any
	pfail
	end
proc graphics3d__AnimationController_slower
	local	0,001000,self
	con	0,002000,1,1
	con	1,002000,1,0
	con	2,010000,15,141,156,151,155,141,164,151,157,156,137,163,164,145,160,072
	declend
	line	48
	colm	11
	synt	any
	mark	L1
	line	49
	colm	7
	synt	if
	mark0
	pnull
	pnull
	var	0
	line	49
	colm	14
	synt	any
	field	animation_step
	int	0
	line	49
	colm	29
	synt	any
	numgt
	unmark
	mark	L2
	pnull
	pnull
	var	0
	line	50
	colm	14
	synt	any
	field	animation_step
	dup
	int	0
	line	50
	colm	29
	synt	any
	minus
	asgn
	unmark
lab L2
	int	1
	str	2
	pnull
	var	0
	line	51
	colm	35
	synt	any
	field	animation_step
	line	51
	colm	11
	synt	any
	invoke	2
	line	49
	colm	7
	synt	endif
	unmark
lab L1
	mark	L3
	mark	L4
	pnull
	var	0
	line	53
	colm	18
	synt	any
	field	animation_step
	line	53
	colm	7
	synt	any
	pret
lab L4
	synt	any
	pfail
	unmark
lab L3
	pnull
	line	54
	colm	1
	synt	any
	pfail
	end
proc graphics3d__AnimationController_set_animation_track
	local	0,001000,self
	local	1,001000,anim_set
	local	2,001000,trk
	local	3,000020,bone
	local	4,000020,anim
	con	0,002000,1,0
	con	1,010000,18,141,156,151,155,040,164,162,141,143,153,040,163,145,164,040,164,157,072
	con	2,010000,29,155,141,160,160,151,156,147,056,056,056,040,141,156,151,155,141,164,151,157,156,040,164,157,040,142,157,156,145,163
	con	3,010000,5,142,157,156,145,072
	con	4,010000,9,040,124,117,040,141,156,151,155,072
	con	5,010000,5,144,157,156,145,041
	declend
	line	57
	colm	11
	synt	any
	mark	L1
	pnull
	pnull
	var	0
	line	59
	colm	11
	synt	any
	field	animation_track
	var	1
	line	59
	colm	27
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	pnull
	pnull
	var	0
	line	61
	colm	11
	synt	any
	field	a_clock
	int	0
	line	61
	colm	19
	synt	any
	asgn
	unmark
lab L2
	mark	L3
	int	0
	str	1
	pnull
	var	1
	line	62
	colm	39
	synt	any
	field	label
	line	62
	colm	8
	synt	any
	invoke	2
	unmark
lab L3
	mark	L4
	int	0
	str	2
	line	64
	colm	8
	synt	any
	invoke	1
	unmark
lab L4
	mark	L5
	line	66
	colm	7
	synt	every
	mark0
	pnull
	var	4
	pnull
	pnull
	var	1
	line	66
	colm	31
	synt	any
	field	lsAnimation
	line	66
	colm	21
	synt	any
	bang
	line	66
	colm	18
	synt	any
	asgn
	pop
	mark0
	mark	L8
	pnull
	var	3
	pnull
	pnull
	var	0
	line	67
	colm	22
	synt	any
	field	skeleton
	line	67
	colm	31
	synt	any
	field	get_bone_by_label
	pnull
	var	4
	line	67
	colm	54
	synt	any
	field	boneName
	line	67
	colm	49
	synt	any
	invoke	1
	line	67
	colm	15
	synt	any
	asgn
	unmark
lab L8
	mark	L9
	pnull
	pnull
	var	3
	line	68
	colm	14
	synt	any
	field	animation
	var	4
	line	68
	colm	25
	synt	any
	asgn
	unmark
lab L9
	int	0
	str	3
	pnull
	var	3
	line	69
	colm	25
	synt	any
	field	label
	str	4
	pnull
	var	4
	line	69
	colm	50
	synt	any
	field	boneName
	line	69
	colm	11
	synt	any
	invoke	4
	unmark
lab L6
	efail
lab L7
	line	66
	colm	7
	synt	endevery
	unmark
lab L5
	mark	L10
	int	0
	str	5
	line	71
	colm	8
	synt	any
	invoke	1
	unmark
lab L10
	pnull
	line	72
	colm	1
	synt	any
	pfail
	end
proc graphics3d__AnimationController_calc_animation
	local	0,001000,self
	local	1,001000,curious
	con	0,002000,1,0
	con	1,010000,17,143,157,156,164,162,157,154,154,145,162,040,143,154,157,143,153,072
	declend
	line	74
	colm	11
	synt	any
	mark	L1
	line	75
	colm	7
	synt	if
	mark0
	pnull
	pnull
	var	0
	line	75
	colm	15
	synt	any
	field	animation_track
	line	75
	colm	10
	synt	any
	null
	unmark
	line	75
	colm	37
	synt	any
	pfail
	line	75
	colm	7
	synt	endif
	unmark
lab L1
	mark	L2
	line	76
	colm	7
	synt	if
	mark0
	pnull
	pnull
	var	0
	line	76
	colm	14
	synt	any
	field	a_clock
	pnull
	pnull
	var	0
	line	76
	colm	27
	synt	any
	field	animation_track
	line	76
	colm	43
	synt	any
	field	get_max_key
	line	76
	colm	55
	synt	any
	invoke	0
	line	76
	colm	22
	synt	any
	numgt
	unmark
	pnull
	pnull
	var	0
	line	77
	colm	14
	synt	any
	field	a_clock
	int	0
	line	77
	colm	22
	synt	any
	asgn
	line	76
	colm	7
	synt	endif
	unmark
lab L2
	mark	L3
	int	0
	str	1
	pnull
	var	0
	line	80
	colm	34
	synt	any
	field	a_clock
	line	80
	colm	8
	synt	any
	invoke	2
	unmark
lab L3
	mark	L4
	pnull
	pnull
	var	0
	line	81
	colm	11
	synt	any
	field	skeleton
	line	81
	colm	20
	synt	any
	field	calc_animation
	pnull
	var	0
	line	81
	colm	40
	synt	any
	field	a_clock
	var	1
	line	81
	colm	35
	synt	any
	invoke	2
	unmark
lab L4
	mark	L5
	pnull
	pnull
	var	0
	line	82
	colm	11
	synt	any
	field	a_clock
	dup
	pnull
	var	0
	line	82
	colm	26
	synt	any
	field	animation_step
	line	82
	colm	19
	synt	any
	plus
	asgn
	unmark
lab L5
	pnull
	line	83
	colm	1
	synt	any
	pfail
	end
proc graphics3d__AnimationController_update_animation
	local	0,001000,self
	con	0,002000,1,0
	declend
	line	86
	colm	11
	synt	any
	mark	L1
	pnull
	pnull
	var	0
	line	87
	colm	11
	synt	any
	field	a_clock
	dup
	pnull
	var	0
	line	87
	colm	26
	synt	any
	field	animation_step
	line	87
	colm	19
	synt	any
	plus
	asgn
	unmark
lab L1
	mark	L2
	line	88
	colm	7
	synt	if
	mark0
	pnull
	pnull
	var	0
	line	88
	colm	14
	synt	any
	field	a_clock
	pnull
	pnull
	var	0
	line	88
	colm	27
	synt	any
	field	animation_track
	line	88
	colm	43
	synt	any
	field	get_max_key
	line	88
	colm	55
	synt	any
	invoke	0
	line	88
	colm	22
	synt	any
	numgt
	unmark
	pnull
	pnull
	var	0
	line	89
	colm	14
	synt	any
	field	a_clock
	int	0
	line	89
	colm	22
	synt	any
	asgn
	line	88
	colm	7
	synt	endif
	unmark
lab L2
	pnull
	line	94
	colm	1
	synt	any
	pfail
	end
proc graphics3d__AnimationController_initially
	local	0,001000,self
	declend
	line	96
	colm	11
	synt	any
	mark	L1
	pnull
	var	0
	line	97
	colm	11
	synt	any
	field	init
	line	97
	colm	16
	synt	any
	invoke	0
	unmark
lab L1
	mark	L2
	mark	L3
	pnull
	line	98
	colm	7
	synt	any
	pret
lab L3
	synt	any
	pfail
	unmark
lab L2
	pnull
	line	99
	colm	1
	synt	any
	pfail
	end
proc graphics3d__AnimationController
	local	0,001000,a_clock
	local	1,001000,animation_step
	local	2,001000,animation_track
	local	3,001000,skeleton
	local	4,000020,self
	local	5,000020,clone
	local	6,000000,graphics3d__AnimationController__oprec
	local	7,000000,graphics3d__AnimationControllerinitialize
	local	8,000000,graphics3d__AnimationController__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	6
	line	8
	colm	6
	synt	any
	null
	unmark
	var	7
	line	8
	colm	92
	synt	any
	invoke	0
	line	8
	colm	3
	synt	endif
	unmark
lab L2
	einit	L1
lab L3
	mark	L4
	pnull
	var	4
	var	8
	line	10
	colm	50
	synt	any
	keywd	null
	var	6
	var	0
	var	1
	var	2
	var	3
	line	10
	colm	49
	synt	any
	invoke	6
	line	10
	colm	8
	synt	any
	asgn
	unmark
lab L4
	mark	L5
	pnull
	pnull
	var	4
	line	11
	colm	7
	synt	any
	field	__s
	var	4
	line	11
	colm	12
	synt	any
	asgn
	unmark
lab L5
	mark	L6
	mark	L7
	pnull
	pnull
	var	4
	line	12
	colm	7
	synt	any
	field	__m
	line	12
	colm	11
	synt	any
	field	initially
	var	4
	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	4
	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__AnimationControllerinitialize
	local	0,000000,graphics3d__AnimationController__oprec
	local	1,000000,graphics3d__AnimationController__methods
	local	2,000000,graphics3d__AnimationController_init
	local	3,000000,graphics3d__AnimationController_set_skeleton
	local	4,000000,graphics3d__AnimationController_init_timer
	local	5,000000,graphics3d__AnimationController_set_timer
	local	6,000000,graphics3d__AnimationController_get_timer
	local	7,000000,graphics3d__AnimationController_faster
	local	8,000000,graphics3d__AnimationController_slower
	local	9,000000,graphics3d__AnimationController_set_animation_track
	local	10,000000,graphics3d__AnimationController_calc_animation
	local	11,000000,graphics3d__AnimationController_update_animation
	local	12,000000,graphics3d__AnimationController_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
	var	7
	var	8
	var	9
	var	10
	var	11
	var	12
	line	17
	colm	93
	synt	any
	invoke	11
	line	17
	colm	50
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	line	18
	colm	1
	synt	any
	pfail
	end
