[decompiler] decompile particle defs using specialized macros (#1077)

* [decompiler] `defpart` and `defpartgroup`

* support sounds in part defs natively

* make `meters_to_string`

* update refs

* clang

* make macros in pair only work inside `(unquote ...`

* update source

* update finish

* fix
This commit is contained in:
ManDude
2022-01-16 01:01:38 +00:00
committed by GitHub
parent f757f1b9ac
commit 27bb6c6384
265 changed files with 101320 additions and 137303 deletions
+1 -11
View File
@@ -5,17 +5,7 @@
(declare-file (debug))
(when *debug-segment*
;; failed to figure out what this is:
(set! (-> *part-group-id-table* 105)
(new 'static 'sparticle-launch-group
:length 2
:duration #xbb8
:linger-duration #x5dc
:name "group-part-tester"
:launcher
(new 'static 'inline-array sparticle-group-item 2 (sp-item 56) (sp-item 57))
:bounds (new 'static 'sphere :w 4096.0)
)
)
(defpartgroup group-part-tester :id 105 :bounds (static-bspherem 0 0 0 1) :parts ((sp-item 56) (sp-item 57)))
;; definition of type part-tester
(deftype part-tester (process)