Damdoshi / LibLapin

Multimedia library for rookies and prototyping
http://hangedbunnystudio.com
Other
36 stars 9 forks source link

setf_node, setting a pointer or copying a data? #25

Open Damdoshi opened 3 months ago

Damdoshi commented 3 months ago

Currently, setf_node copy datas from a node to another node. There is no way to set a pointer... And that's too bad, because it is sometimes required.

In Tadventure, pointers are nice, because it avoids using long path everywhere

CurrentCharacter = AddressOf([].Characters.Jacques)

Allows to write CurrentCharacter->Name, instead of [].Characters.Jacques->Name - or, more realistically - with CurrentCharacter being a string instead [].Characters[CurrentCharacter].Name.

And it can be done in Dabsic, but not with bunny configuration API.