;;-*-Lisp-*- (in-package goal) ;; definition for symbol *kor-transform-texture-anim-array*, type (texture-anim-array texture-anim) (define *kor-transform-texture-anim-array* (the-as (texture-anim-array texture-anim) (new 'static 'texture-anim-array :type texture-anim (new 'static 'texture-anim :num-layers #x2 :func #f :init-func #f :tex #f :tex-name "kor-eyeeffect-formorph" :color (new 'static 'rgba :a #x80) :frame-mod 2.0 :test (new 'static 'gs-test :ate #x1 :afail #x1 :zte #x1 :ztst (gs-ztest always)) :alpha (new 'static 'gs-alpha :b #x1 :d #x1) :data (new 'static 'array texture-anim-layer 2 (new 'static 'texture-anim-layer :func-id 'blend-clut-texture-anim-layer-func :init-func #f :tex #f :end-time 1.0 :tex-name "kor-eyeeffect-formorph-start" :test (new 'static 'gs-test :ate #x1 :afail #x3 :zte #x1 :ztst (gs-ztest always)) :alpha (new 'static 'gs-alpha :b #x1 :d #x1) :start-color (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) :start-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :start-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :start-st-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :start-st-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :start-qs (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) :end-color (new 'static 'vector :x 1.0 :y 1.0 :z 1.0) :end-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :end-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :end-st-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :end-st-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :end-qs (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) ) (new 'static 'texture-anim-layer :func-id 'blend-clut-texture-anim-layer-func :init-func #f :tex #f :end-time 1.0 :tex-name "kor-eyeeffect-formorph-end" :test (new 'static 'gs-test :ate #x1 :afail #x3 :zte #x1 :ztst (gs-ztest always)) :alpha (new 'static 'gs-alpha :b #x1 :d #x1) :start-color (new 'static 'vector :x 1.0 :y 1.0 :z 1.0) :start-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :start-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :start-st-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :start-st-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :start-qs (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) :end-color (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) :end-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :end-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :end-st-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :end-st-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :end-qs (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) ) ) ) (new 'static 'texture-anim :num-layers #x2 :func #f :init-func #f :tex #f :tex-name "kor-hair-formorph" :color (new 'static 'rgba :a #x80) :frame-mod 2.0 :test (new 'static 'gs-test :ate #x1 :afail #x1 :zte #x1 :ztst (gs-ztest always)) :alpha (new 'static 'gs-alpha :b #x1 :d #x1) :data (new 'static 'array texture-anim-layer 2 (new 'static 'texture-anim-layer :func-id 'blend-clut-texture-anim-layer-func :init-func #f :tex #f :end-time 1.0 :tex-name "kor-hair-formorph-start" :test (new 'static 'gs-test :ate #x1 :afail #x3 :zte #x1 :ztst (gs-ztest always)) :alpha (new 'static 'gs-alpha :b #x1 :d #x1) :start-color (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) :start-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :start-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :start-st-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :start-st-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :start-qs (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) :end-color (new 'static 'vector :x 1.0 :y 1.0 :z 1.0) :end-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :end-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :end-st-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :end-st-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :end-qs (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) ) (new 'static 'texture-anim-layer :func-id 'blend-clut-texture-anim-layer-func :init-func #f :tex #f :end-time 1.0 :tex-name "kor-hair-formorph-end" :test (new 'static 'gs-test :ate #x1 :afail #x3 :zte #x1 :ztst (gs-ztest always)) :alpha (new 'static 'gs-alpha :b #x1 :d #x1) :start-color (new 'static 'vector :x 1.0 :y 1.0 :z 1.0) :start-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :start-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :start-st-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :start-st-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :start-qs (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) :end-color (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) :end-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :end-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :end-st-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :end-st-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :end-qs (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) ) ) ) (new 'static 'texture-anim :num-layers #x2 :func #f :init-func #f :tex #f :tex-name "kor-head-formorph" :color (new 'static 'rgba :a #x80) :frame-mod 2.0 :test (new 'static 'gs-test :ate #x1 :afail #x1 :zte #x1 :ztst (gs-ztest always)) :alpha (new 'static 'gs-alpha :b #x1 :d #x1) :data (new 'static 'array texture-anim-layer 2 (new 'static 'texture-anim-layer :func-id 'blend-clut-texture-anim-layer-func :init-func #f :tex #f :end-time 1.0 :tex-name "kor-head-formorph-start" :test (new 'static 'gs-test :ate #x1 :afail #x3 :zte #x1 :ztst (gs-ztest always)) :alpha (new 'static 'gs-alpha :b #x1 :d #x1) :start-color (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) :start-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :start-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :start-st-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :start-st-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :start-qs (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) :end-color (new 'static 'vector :x 1.0 :y 1.0 :z 1.0) :end-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :end-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :end-st-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :end-st-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :end-qs (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) ) (new 'static 'texture-anim-layer :func-id 'blend-clut-texture-anim-layer-func :init-func #f :tex #f :end-time 1.0 :tex-name "kor-head-formorph-end" :test (new 'static 'gs-test :ate #x1 :afail #x3 :zte #x1 :ztst (gs-ztest always)) :alpha (new 'static 'gs-alpha :b #x1 :d #x1) :start-color (new 'static 'vector :x 1.0 :y 1.0 :z 1.0) :start-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :start-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :start-st-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :start-st-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :start-qs (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) :end-color (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) :end-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :end-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :end-st-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :end-st-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :end-qs (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) ) ) ) (new 'static 'texture-anim :num-layers #x2 :func #f :init-func #f :tex #f :tex-name "kor-head-formorph-noreflect" :color (new 'static 'rgba :a #x80) :frame-mod 2.0 :test (new 'static 'gs-test :ate #x1 :afail #x1 :zte #x1 :ztst (gs-ztest always)) :alpha (new 'static 'gs-alpha :b #x1 :d #x1) :data (new 'static 'array texture-anim-layer 2 (new 'static 'texture-anim-layer :func-id 'blend-clut-texture-anim-layer-func :init-func #f :tex #f :end-time 1.0 :tex-name "kor-head-formorph-noreflect-start" :test (new 'static 'gs-test :ate #x1 :afail #x3 :zte #x1 :ztst (gs-ztest always)) :alpha (new 'static 'gs-alpha :b #x1 :d #x1) :start-color (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) :start-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :start-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :start-st-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :start-st-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :start-qs (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) :end-color (new 'static 'vector :x 1.0 :y 1.0 :z 1.0) :end-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :end-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :end-st-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :end-st-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :end-qs (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) ) (new 'static 'texture-anim-layer :func-id 'blend-clut-texture-anim-layer-func :init-func #f :tex #f :end-time 1.0 :tex-name "kor-head-formorph-noreflect-end" :test (new 'static 'gs-test :ate #x1 :afail #x3 :zte #x1 :ztst (gs-ztest always)) :alpha (new 'static 'gs-alpha :b #x1 :d #x1) :start-color (new 'static 'vector :x 1.0 :y 1.0 :z 1.0) :start-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :start-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :start-st-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :start-st-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :start-qs (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) :end-color (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) :end-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :end-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :end-st-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :end-st-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :end-qs (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) ) ) ) (new 'static 'texture-anim :num-layers #x2 :func #f :init-func #f :tex #f :tex-name "kor-lowercaps-formorph" :color (new 'static 'rgba :a #x80) :frame-mod 2.0 :test (new 'static 'gs-test :ate #x1 :afail #x1 :zte #x1 :ztst (gs-ztest always)) :alpha (new 'static 'gs-alpha :b #x1 :d #x1) :data (new 'static 'array texture-anim-layer 2 (new 'static 'texture-anim-layer :func-id 'blend-clut-texture-anim-layer-func :init-func #f :tex #f :end-time 1.0 :tex-name "kor-lowercaps-formorph-start" :test (new 'static 'gs-test :ate #x1 :afail #x3 :zte #x1 :ztst (gs-ztest always)) :alpha (new 'static 'gs-alpha :b #x1 :d #x1) :start-color (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) :start-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :start-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :start-st-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :start-st-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :start-qs (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) :end-color (new 'static 'vector :x 1.0 :y 1.0 :z 1.0) :end-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :end-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :end-st-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :end-st-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :end-qs (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) ) (new 'static 'texture-anim-layer :func-id 'blend-clut-texture-anim-layer-func :init-func #f :tex #f :end-time 1.0 :tex-name "kor-lowercaps-formorph-end" :test (new 'static 'gs-test :ate #x1 :afail #x3 :zte #x1 :ztst (gs-ztest always)) :alpha (new 'static 'gs-alpha :b #x1 :d #x1) :start-color (new 'static 'vector :x 1.0 :y 1.0 :z 1.0) :start-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :start-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :start-st-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :start-st-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :start-qs (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) :end-color (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) :end-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :end-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :end-st-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :end-st-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :end-qs (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) ) ) ) (new 'static 'texture-anim :num-layers #x2 :func #f :init-func #f :tex #f :tex-name "kor-uppercaps-formorph" :color (new 'static 'rgba :a #x80) :frame-mod 2.0 :test (new 'static 'gs-test :ate #x1 :afail #x1 :zte #x1 :ztst (gs-ztest always)) :alpha (new 'static 'gs-alpha :b #x1 :d #x1) :data (new 'static 'array texture-anim-layer 2 (new 'static 'texture-anim-layer :func-id 'blend-clut-texture-anim-layer-func :init-func #f :tex #f :end-time 1.0 :tex-name "kor-uppercaps-formorph-start" :test (new 'static 'gs-test :ate #x1 :afail #x3 :zte #x1 :ztst (gs-ztest always)) :alpha (new 'static 'gs-alpha :b #x1 :d #x1) :start-color (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) :start-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :start-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :start-st-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :start-st-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :start-qs (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) :end-color (new 'static 'vector :x 1.0 :y 1.0 :z 1.0) :end-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :end-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :end-st-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :end-st-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :end-qs (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) ) (new 'static 'texture-anim-layer :func-id 'blend-clut-texture-anim-layer-func :init-func #f :tex #f :end-time 1.0 :tex-name "kor-uppercaps-formorph-end" :test (new 'static 'gs-test :ate #x1 :afail #x3 :zte #x1 :ztst (gs-ztest always)) :alpha (new 'static 'gs-alpha :b #x1 :d #x1) :start-color (new 'static 'vector :x 1.0 :y 1.0 :z 1.0) :start-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :start-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :start-st-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :start-st-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :start-qs (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) :end-color (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) :end-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :end-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :end-st-scale (new 'static 'vector2 :data (new 'static 'array float 2 1.0 1.0)) :end-st-offset (new 'static 'vector2 :data (new 'static 'array float 2 0.5 0.5)) :end-qs (new 'static 'vector :x 1.0 :y 1.0 :z 1.0 :w 1.0) ) ) ) ) ) ) ;; definition for function set-kor-texture-morph! ;; WARN: Return type mismatch symbol vs none. (defun set-kor-texture-morph! ((time float)) (let ((tex-arr *kor-transform-texture-anim-array*)) (dotimes (tex-idx (-> tex-arr length)) (set! (-> tex-arr array-data tex-idx frame-time) time) ) ) (none) )