mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 21:27:52 -04:00
9b905f903c
* clean-up various files, do `game-h` and `generic-obs-h` * cleanup `smush-control-h` * cleanup `collide-edge-grab-h`, `collide-mesh-h`, `collide-shape-h` * [goal lib]organize minor things * Fix a library command before I forget again * fix
159 lines
4.6 KiB
Common Lisp
159 lines
4.6 KiB
Common Lisp
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
|
|
;; name: sync-info-h.gc
|
|
;; name in dgo: sync-info-h
|
|
;; dgos: GAME, ENGINE
|
|
|
|
(deftype sync-info (structure)
|
|
((offset float :offset-assert 0)
|
|
(period uint32 :offset-assert 4)
|
|
)
|
|
:method-count-assert 18
|
|
:size-assert #x8
|
|
:flag-assert #x1200000008
|
|
(:methods
|
|
(dummy-9 (_type_ float) float 9)
|
|
(dummy-10 (_type_) float 10)
|
|
(dummy-11 (_type_) float 11)
|
|
(dummy-12 (_type_ float) float 12)
|
|
(dummy-13 (_type_) float 13)
|
|
(dummy-14 (_type_ uint float float float) int 14)
|
|
(dummy-15 (_type_ process) float 15) ;; wip
|
|
(dummy-16 (_type_ float) float 16)
|
|
(dummy-17 (_type_) float 17)
|
|
)
|
|
)
|
|
|
|
(deftype sync-info-eased (sync-info)
|
|
((tlo float :offset-assert 8)
|
|
(thi float :offset-assert 12)
|
|
(ylo float :offset-assert 16)
|
|
(m2 float :offset-assert 20)
|
|
(yend float :offset-assert 24)
|
|
)
|
|
:method-count-assert 18
|
|
:size-assert #x1c
|
|
:flag-assert #x120000001c
|
|
(:methods
|
|
;; (dummy-9 () none 9)
|
|
;; (dummy-10 () none 10)
|
|
;; (dummy-11 () none 11)
|
|
(dummy-12 (_type_ float) float 12)
|
|
(dummy-13 (_type_) float 13)
|
|
(dummy-14 (_type_ uint float float float) int 14)
|
|
(dummy-15 (_type_ process) float 15) ;; wip
|
|
;; (dummy-16 () none 16)
|
|
;; (dummy-17 () none 17)
|
|
)
|
|
)
|
|
|
|
(deftype sync-info-paused (sync-info)
|
|
((pause-after-out float :offset-assert 8)
|
|
(pause-after-in float :offset-assert 12)
|
|
)
|
|
:method-count-assert 18
|
|
:size-assert #x10
|
|
:flag-assert #x1200000010
|
|
(:methods
|
|
(dummy-9 (_type_ float) float 9)
|
|
;; (dummy-10 () none 10)
|
|
(dummy-11 (_type_) float 11)
|
|
(dummy-12 (_type_ float) float 12)
|
|
(dummy-13 (_type_) float 13)
|
|
(dummy-14 (_type_ uint float float float) int 14)
|
|
(dummy-15 (_type_ process) float 15) ;; wip
|
|
;; (dummy-16 () none 16)
|
|
;; (dummy-17 () none 17)
|
|
)
|
|
)
|
|
|
|
(deftype delayed-rand-float (structure)
|
|
((min-time int32 :offset-assert 0)
|
|
(max-time int32 :offset-assert 4)
|
|
(max-val float :offset-assert 8)
|
|
(timer int32 :offset-assert 12)
|
|
(start-time uint64 :offset-assert 16)
|
|
(value float :offset-assert 24)
|
|
)
|
|
:method-count-assert 11
|
|
:size-assert #x1c
|
|
:flag-assert #xb0000001c
|
|
(:methods
|
|
(dummy-9 (_type_ int int float) float 9)
|
|
(dummy-10 (_type_ ) float 10)
|
|
)
|
|
)
|
|
|
|
(deftype oscillating-float (structure)
|
|
((value float :offset-assert 0)
|
|
(target float :offset-assert 4)
|
|
(vel float :offset-assert 8)
|
|
(max-vel float :offset-assert 12)
|
|
(damping float :offset-assert 16)
|
|
(accel float :offset-assert 20)
|
|
)
|
|
:method-count-assert 11
|
|
:size-assert #x18
|
|
:flag-assert #xb00000018
|
|
(:methods
|
|
(dummy-9 (_type_ float float float float) float 9)
|
|
(dummy-10 (_type_ float) float 10)
|
|
)
|
|
)
|
|
|
|
(deftype bouncing-float (structure)
|
|
((osc oscillating-float :inline :offset-assert 0)
|
|
(max-value float :offset-assert 24)
|
|
(min-value float :offset-assert 28)
|
|
(elasticity float :offset-assert 32)
|
|
(state int32 :offset-assert 36)
|
|
)
|
|
:method-count-assert 13
|
|
:size-assert #x28
|
|
:flag-assert #xd00000028
|
|
(:methods
|
|
(dummy-9 (_type_ float float float float float float float) float 9)
|
|
(dummy-10 (_type_ float) float 10)
|
|
(dummy-11 (_type_) symbol 11) ;; bool
|
|
(dummy-12 (_type_) symbol 12) ;; bool
|
|
)
|
|
)
|
|
|
|
(deftype delayed-rand-vector (structure)
|
|
((min-time int32 :offset-assert 0)
|
|
(max-time int32 :offset-assert 4)
|
|
(xz-max float :offset-assert 8)
|
|
(y-max float :offset-assert 12)
|
|
(timer int32 :offset-assert 16)
|
|
(start-time uint64 :offset-assert 24)
|
|
(value vector :inline :offset-assert 32)
|
|
)
|
|
:method-count-assert 13
|
|
:size-assert #x30
|
|
:flag-assert #xd00000030
|
|
(:methods
|
|
(dummy-9 (_type_ int int float float) vector 9)
|
|
(dummy-10 (_type_) vector 10)
|
|
(dummy-11 (_type_) vector 11)
|
|
(dummy-12 (_type_) vector 12)
|
|
)
|
|
)
|
|
|
|
(deftype oscillating-vector (structure)
|
|
((value vector :inline :offset-assert 0)
|
|
(target vector :inline :offset-assert 16)
|
|
(vel vector :inline :offset-assert 32)
|
|
(max-vel float :offset-assert 48)
|
|
(damping float :offset-assert 52)
|
|
(accel float :offset-assert 56)
|
|
)
|
|
:method-count-assert 11
|
|
:size-assert #x3c
|
|
:flag-assert #xb0000003c
|
|
(:methods
|
|
(dummy-9 (_type_ vector float float float) vector 9)
|
|
(dummy-10 (_type_ vector) vector 10)
|
|
)
|
|
)
|