mirror of
https://github.com/open-goal/jak-project
synced 2026-09-12 20:56:09 -04:00
58a5440c8a
Makes a bunch of missions mostly playable, including: - `arena-training-1` - `arena-fight-1` - `wascity-chase` - `arena-fight-2` - `arena-fight-3` - `volcano-darkeco` - `desert-hover` - `nest-eggs` - `temple-climb` - `temple-oracle` - `temple-tests` - `desert-beast-battle` - `desert-turtle-training` - `desert-course-race` - `desert-artifact-race1` - `wascity-leaper-race` - `wascity-pre-game` - `sewer-met-hum` - `forest-kill-plants` - `forest-ring-chase` - `temple-defend` - `tower-destroy` - `desert-glide` --- Files: - `ripple` - `waswide-mood` - `sig-rider` - `nst-tasks` - `nst-part` - `nst-gas` - `nst-eggs-h` - `nst-obs` - `nst-mood` - `egg-spider` - `wasdoors-init` - `wasall-tasks` - `wvehicle-race` - `wcar-marauder` - `wcar-marauder-b` - `turret-control` - `was-squad-control` - `turtle-training` - `kleever-rider` - `course-race` - `artifact-race` - `desert-hover` - `desbeast-path-h` - `des-beast` - `desertg-obs` - `desertf-obs` - `desertd-obs` - `desert-dust-storm` - `des-cactus` - `race-hud` - `race-info` - `race-manager` - `tizard` - `flyingsaw` - `hover-training` - `temple-mood` - `temple-obs` - `temple-obs2` - `temple-part` - `temple-scenes` - `templex-mood` - `templex-obs` - `templex-part` - `tomb-baby-spider` - `target-turret-shot` - `target-turret` - `beast-battle-path` - `des-beast-2` - `mh-flyer` - `scorpion-gun` - `hover-enemy-h` - `hover-enemy` - `hover-formation-h` - `hover-formation` - `hover-nav-control-h` - `hover-nav-control` - `flamer-hover` - `hover-nav-templea` - `robo-hover` - `hover-nav-sewb` - `hover-nav-sewg` - `hover-nav-sewj` - `hover-nav-sewl` - `hover-nav-sewo` - `hover-nav-towera` - `tower-mood` - `tower-obs` - `tower-scenes` - `tower-part` - `eco-green-collider` - `forest-bridges` - `forest-kill-plants` - `forest-mood` - `forest-ring-chase` - `forest-tasks` - `forest-part` - `foresta-obs` - `hover-nav-foresta` - `mh-plant` - `dp-bipedal-part` - `dp-bipedal-shot` - `dp-bipedal` - `neo-spawner` - `for-turret` - `for-turret-shot` - `neo-wasp` - `neo-wasp-part` - `volcanox-scenes` - `volcanox-mood` - `volcano-scenes` - `volcano-mood` - `volcano-obs` - `volcano-obs2` - `chain-physics` - `rigid-body-plat` - `volcano-part` - `flamer-lava` - `flitter` - `spiky-frog` - `flut-wild` - `target-indax` - `target-indax-hang` - `mantis` - `volcanox-obs` - `spyder` - `wcar-faccar` - `mhcity-obs2` - `mhcity-part` - `mhcity-obs` - `dm-mine-spider` - `rapid-gunner` - `stadium-mood` - `stadium-scenes` - `stadiuma-mood` - `stadiuma-part` - `kanga-lizard` - `marauder` - `arena-scenes` - `wasstada-mood` - `wasstada-obs` - `wasstada-part` - `wasstadb-obs` - `wasstadc-obs` - `dm-flyer` - `maker-part` - `maker-projectile` - `skeet-part` - `wascity-turret` - `wasgun-h` - `wasgun-hud` - `wasgun-manager` - `nav-graph-h` - `traffic-engine-h` - `waswide-init` - `cty-borrow-manager-h` - `cty-borrow-manager` - `desert-part` - `height-map-h` - `height-map` - `traffic-height-map` - `vehicle-control` - `hvehicle-h` - `hvehicle` - `hvehicle-effects` - `hvehicle-physics` - `hvehicle-util` - `glider-h` - `glider-hud` - `glider-manager` - `glider-ring` - `glider-ring-part` - `h-glider` - `hanga-init` - `was-pre-game` - `was-leaper-race` - `flut-racer` - `desert-scenes` - `desert-lizard-h` - `desert-lizard-task` - `desert-lizard` - `throne-scenes` - `waspal-mood` - `waspala-obs` - `waspala-part` - `deswalk-obs` - `deswalk-part` - `terraformer-drone` - `terraformer-head` - `terraformer-part` - `terraformer-setup`
109 lines
2.7 KiB
Common Lisp
Vendored
Generated
109 lines
2.7 KiB
Common Lisp
Vendored
Generated
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
|
|
;; definition for function restore-wascity-speeches
|
|
(defun restore-wascity-speeches ()
|
|
(speech-table-set!
|
|
*speech-control*
|
|
(speech-type civ-m-shot-by-player)
|
|
(new 'static 'speech-type-info
|
|
:channel #x1
|
|
:flags (speech-type-flag random-order)
|
|
:priority 1
|
|
:delay-pre-time (seconds 1)
|
|
:request-timeout (seconds 0.1)
|
|
:min-delay (seconds 2)
|
|
:max-delay (seconds 6)
|
|
:list (new 'static 'boxed-array :type string
|
|
"cit220"
|
|
"cit220a"
|
|
"cit221"
|
|
"cit221a"
|
|
"cit222"
|
|
"cit222a"
|
|
"cit223"
|
|
"cit223a"
|
|
"cit224"
|
|
)
|
|
)
|
|
)
|
|
(speech-table-set!
|
|
*speech-control*
|
|
(speech-type civ-f-shot-by-player)
|
|
(new 'static 'speech-type-info
|
|
:channel #x1
|
|
:flags (speech-type-flag random-order)
|
|
:priority 1
|
|
:delay-pre-time (seconds 1)
|
|
:request-timeout (seconds 0.1)
|
|
:min-delay (seconds 2)
|
|
:max-delay (seconds 6)
|
|
:list (new 'static 'boxed-array :type string "citi097" "citi098" "citi099" "citi138")
|
|
)
|
|
)
|
|
(none)
|
|
)
|
|
|
|
;; definition for function waswide-login
|
|
;; WARN: Return type mismatch int vs none.
|
|
(defun waswide-login ((arg0 level))
|
|
(format 0 "waswide-login~%")
|
|
(set! *traffic-engine* (new 'loading-level 'traffic-engine))
|
|
(set! *waswide-squad-control* (new 'loading-level 'squad-control))
|
|
(set! *city-mode* 'waswide)
|
|
0
|
|
(none)
|
|
)
|
|
|
|
;; definition for function waswide-activate
|
|
;; WARN: Return type mismatch int vs none.
|
|
(defun waswide-activate ((arg0 level) (arg1 symbol))
|
|
(format 0 "waswide-activate~%")
|
|
(let ((v1-0 *traffic-info*))
|
|
(set! (-> v1-0 ctywide-level) arg0)
|
|
(set! (-> v1-0 traffic-object-levels 11) 'waswide)
|
|
(set! (-> v1-0 traffic-object-levels 12) 'waswide)
|
|
)
|
|
(set! *traffic-fast-spawn* (or (= arg1 'life) (= arg1 'debug)))
|
|
(if (and (= arg1 'debug) (not *spawn-actors*))
|
|
(traffic-kill)
|
|
(traffic-start)
|
|
)
|
|
(let ((v1-9 *traffic-engine*))
|
|
(when v1-9
|
|
(dotimes (a0-7 29)
|
|
(set! (-> v1-9 object-type-info-array a0-7 level) #f)
|
|
)
|
|
(when *waswide-squad-control*
|
|
)
|
|
)
|
|
)
|
|
(let ((v1-13 *traffic-info*)
|
|
(a0-10 *traffic-engine*)
|
|
)
|
|
(when a0-10
|
|
(dotimes (a1-5 29)
|
|
(set! (-> a0-10 object-type-info-array a1-5 level) (-> v1-13 traffic-object-levels a1-5))
|
|
)
|
|
)
|
|
)
|
|
(market-activate arg0)
|
|
(restore-wascity-speeches)
|
|
0
|
|
(none)
|
|
)
|
|
|
|
;; definition for function waswide-deactivate
|
|
;; WARN: Return type mismatch int vs none.
|
|
(defun waswide-deactivate ((arg0 level))
|
|
(format 0 "waswide-deactivate~%")
|
|
(set! (-> *traffic-info* ctywide-level) (the-as level #f))
|
|
(set! *city-mode* #f)
|
|
0
|
|
(none)
|
|
)
|
|
|
|
|
|
|
|
|