- Joined
- Jul 10, 2007
- Messages
- 6,306
What I have here is possibly a new submission style and way to organize code. Rather than include the code in the map, I include the code in a map folder. The map folder contains both the map (in this case the demo map) and the resource folder (plus all required resource folders). With this, cnping a resource into a map is just about cnping all of the folders that come with the demo map and including the 1 resource you want. That one resource should automatically import all required resources. Pretty nifty eh?
There are some other added benefits. No more multiple triggers to CnP. Organize code across several folders and files to make things easier to read and manage. GitHub your projects more easily. Need I say more? lol.
So please give feedback on how you like this new style. Also, for this new style of List, please give feedback on the address in the API. Address is for memory tracking, for memory leaks and stuff. Right now only the collection itself is being given an address. Given that nodes can also get data, should nodes be given an address too? For example, if you created a unit for a specific node, wouldn't you want that node to track the unit? What happens when the node is removed but the unit isn't removed? Shouldn't a leak be thrown if the node is still tracking that unit?
Tx
There are some other added benefits. No more multiple triggers to CnP. Organize code across several folders and files to make things easier to read and manage. GitHub your projects more easily. Need I say more? lol.
So please give feedback on how you like this new style. Also, for this new style of List, please give feedback on the address in the API. Address is for memory tracking, for memory leaks and stuff. Right now only the collection itself is being given an address. Given that nodes can also get data, should nodes be given an address too? For example, if you created a unit for a specific node, wouldn't you want that node to track the unit? What happens when the node is removed but the unit isn't removed? Shouldn't a leak be thrown if the node is still tracking that unit?
Tx