[aquaria] 2 Patches
False.Genesis
false.genesis at googlemail.com
Sun Jul 31 12:45:12 EDT 2011
Hi, found a crash and a bug:
- There is a crash in the editor when moving tiles to the front or back
of a layer (Z/X keys) - some pointers in the tile array are NULL. Added
checks for this, that fixed it.
- The node_getAmount() and node_getContent() functions were useless
because the game forgot to set the node's member vars.
Custom nodes with scripts attached did not work if one tried to pass
parameters (like "current 500 0.1" always worked because it's internal,
but "setflag 301 5" didn't even find its Lua script).
Also cleaned up the code a bit.
Patch files are attached.
Happy modding!
-- fg
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: layercrash.patch
URL: <http://icculus.org/pipermail/aquaria/attachments/20110731/3ecb6181/attachment.diff>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nodecleanup.patch
URL: <http://icculus.org/pipermail/aquaria/attachments/20110731/3ecb6181/attachment-0001.diff>
More information about the aquaria
mailing list