mirror of
https://github.com/open-goal/jak-project
synced 2026-07-29 07:33:59 -04:00
formatter: better support for function calls from functions but it's still not great, requires more research
This commit is contained in:
@@ -150,39 +150,18 @@ Long array creation
|
||||
(the-as (function none) (-> arr i)))))
|
||||
|
||||
===
|
||||
!Nested function call
|
||||
TODO - Nested function call
|
||||
===
|
||||
|
||||
(set! (-> this attack-event)
|
||||
(the-as symbol ((the-as
|
||||
(function res-lump symbol symbol float structure (pointer res-tag) pointer object)
|
||||
(method-of-type res-lump get-property-struct)
|
||||
)
|
||||
(-> this entity)
|
||||
'attack-event
|
||||
'interp
|
||||
-1000000000.0
|
||||
'dark-eco-pool
|
||||
(the-as (pointer res-tag) #f)
|
||||
*res-static-buf*
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
(the-as symbol
|
||||
((the-as (function res-lump symbol symbol float structure (pointer res-tag) pointer object) (method-of-type res-lump get-property-struct))
|
||||
(-> this entity)
|
||||
'attack-event)))
|
||||
---
|
||||
|
||||
(set! (-> this attack-event)
|
||||
(the-as symbol ((the-as
|
||||
(function res-lump symbol symbol float structure (pointer res-tag) pointer object)
|
||||
(method-of-type res-lump get-property-struct)
|
||||
)
|
||||
(-> this entity)
|
||||
'attack-event
|
||||
'interp
|
||||
-1000000000.0
|
||||
'dark-eco-pool
|
||||
(the-as (pointer res-tag) #f)
|
||||
*res-static-buf*
|
||||
)
|
||||
)
|
||||
)
|
||||
(the-as symbol
|
||||
((the-as (function res-lump symbol symbol float structure (pointer res-tag) pointer object) (method-of-type res-lump get-property-struct))
|
||||
(-> this entity)
|
||||
'attack-event)))
|
||||
Reference in New Issue
Block a user