-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* init skeleton for orb placer * fix a lot * port to jak 2 * rest of jak2 files * print positions to console * copy back over fine-tuning from orb hunt
- Loading branch information
Showing
13 changed files
with
955 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
;;-*-Lisp-*- | ||
(in-package goal) | ||
|
||
;; For debug-only additions to the mod-base. Anything defined in this file will be unavailable in retail mode. | ||
(declare-file (debug)) | ||
|
||
;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
;; Additional debug menu(s) | ||
;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
|
||
(defun-debug debug-menu-make-modding-tools-menu ((ctx debug-menu-context)) | ||
(let ((modding-tools-menu (new 'debug 'debug-menu ctx "Modding Tools"))) | ||
|
||
;; orb-placer menu | ||
(let ((orb-placer-menu (new 'debug 'debug-menu ctx "Orb Placer"))) | ||
(debug-menu-append-item orb-placer-menu (new-dm-bool "Edit Mode?" *orb-placer-enabled?* dm-boolean-toggle-pick-func)) | ||
(debug-menu-append-item orb-placer-menu (new-dm-func "Add Orb" #f orb-placer-add)) | ||
(let ((select-orb-menu (new 'debug 'debug-menu ctx "Select Orb"))) | ||
(set! *orb-placer-select-menu* select-orb-menu) | ||
;; populated on orb add | ||
(debug-menu-append-item orb-placer-menu (new-dm-submenu "Select Orb" select-orb-menu)) | ||
) | ||
(debug-menu-append-item orb-placer-menu (new-dm-func "Print Selected Orb Position" #f orb-placer-print-selected)) | ||
(debug-menu-append-item orb-placer-menu (new-dm-func "Print All Orb Positions" #f orb-placer-print-all)) | ||
|
||
(debug-menu-append-item modding-tools-menu (new-dm-submenu "Orb Placer" orb-placer-menu)) | ||
) | ||
(new-dm-submenu "Modding Tools" modding-tools-menu) | ||
) | ||
) | ||
|
||
(when (-> *debug-menu-context* root-menu) | ||
(debug-menu-append-item (-> *debug-menu-context* root-menu) (debug-menu-make-modding-tools-menu *debug-menu-context*)) | ||
) |
Oops, something went wrong.