GarageGames / Torque2D

MIT Licensed Open Source version of Torque 2D game engine from GarageGames
MIT License
1.67k stars 1.56k forks source link

No good array support #420

Open Mpskydog opened 5 years ago

Mpskydog commented 5 years ago

Torque 2D, like some of the previous iterations, doesn't support true arrays. Torque 3D has adopted an old TGE arrayObject that was released as a resource on GarageGames but that resource page doesn't appear to be accessible any more. I still have a copy of the arrayObject by Daniel Neilsen which I've added to my own Torque 2D console folders to add array support. arrayObject.txt

greenfire27 commented 5 years ago

Thanks for offering this. I'll have to take a look.

Mpskydog commented 5 years ago

No problem. I believe the Torque 3D's array was still based off this if I read stuff correctly. Actually, yes - it still references Daniel in the .h file. https://github.com/GarageGames/Torque3D/blob/development/Engine/source/console/arrayObject.h