mirror of
https://github.com/open-goal/jak-project
synced 2026-09-13 05:05:48 -04:00
[jak2] decomp cleanup of traffic things + fix stadium crash (#2319)
This commit is contained in:
@@ -9016,7 +9016,7 @@
|
||||
|
||||
(deftype traffic-suppression-params (structure)
|
||||
((bbox bounding-box :inline :offset-assert 0)
|
||||
(duration uint64 :offset-assert 32)
|
||||
(duration time-frame :offset-assert 32)
|
||||
(id int8 :offset-assert 40)
|
||||
)
|
||||
:method-count-assert 13
|
||||
@@ -9058,6 +9058,21 @@
|
||||
)
|
||||
;; ---traffic-h:traffic-type
|
||||
|
||||
;; +++traffic-h:traffic-spawn-flags
|
||||
(defenum traffic-spawn-flags
|
||||
:type uint32
|
||||
:bitfield #t
|
||||
(trsflags-00)
|
||||
(trsflags-01)
|
||||
(trsflags-02)
|
||||
(dark-guard)
|
||||
(trsflags-04)
|
||||
(trsflags-05)
|
||||
(trsflags-06)
|
||||
(trsflags-07)
|
||||
)
|
||||
;; ---traffic-h:traffic-spawn-flags
|
||||
|
||||
(declare-type nav-mesh basic)
|
||||
(declare-type nav-branch structure)
|
||||
(deftype traffic-object-spawn-params (structure)
|
||||
@@ -9072,7 +9087,7 @@
|
||||
(handle handle :offset-assert 80)
|
||||
(guard-type uint8 :offset-assert 88)
|
||||
(user-data uint32 :offset-assert 92)
|
||||
(flags uint32 :offset-assert 96)
|
||||
(flags traffic-spawn-flags :offset-assert 96)
|
||||
(proc process :offset-assert 100)
|
||||
)
|
||||
:method-count-assert 9
|
||||
@@ -51169,7 +51184,7 @@
|
||||
(v-speed vector :inline :offset-assert 1088)
|
||||
(end-pos vector :inline :offset-assert 1104)
|
||||
(task-done? symbol :offset-assert 1120)
|
||||
(task-node uint16 :offset-assert 1124)
|
||||
(task-node game-task-node :offset-assert 1124)
|
||||
(jump-in-pipe? symbol :offset-assert 1128)
|
||||
(pipe-name string :offset-assert 1132)
|
||||
(coming-from-pw symbol :offset-assert 1136)
|
||||
|
||||
@@ -1923,7 +1923,7 @@
|
||||
],
|
||||
"(method 45 nav-mesh)": [
|
||||
[15, "v1", "entity-nav-mesh"],
|
||||
[[34, 43], "v1", "nav-mesh"]
|
||||
[[34, 43], "v1", "nav-mesh-link"]
|
||||
],
|
||||
"(method 13 nav-engine)": [
|
||||
[[53, 65], "s4", "nav-mesh"],
|
||||
|
||||
Reference in New Issue
Block a user