Walt
Joined: 09 Feb 2009 Posts: 4
|
| |
Posted: Tue Feb 10, 2009 11:15 am Post subject: |
 |
|
Python never gets complicated
Sean is right, I do not uspport this, and I have not neede it at the moment, since I am just in the beginning of my IMGUI implementation.
It is a big problem though, and I have'nt found a solution yet.
Adding something like GEN_IDS(count) could not work, since the script is simply search and replace. I could have it unroll loops etc. but that is not really what I want, since it would make the code extremely messy.
I have some ID generation theories involving relfection, which is very powerful in C#. I will explore them more in the weekend when I have time.
I have not done anything involving address comparisons in C#, and don't know how this works with the GC. If anyone has experience with it, please tell. This is the major headache for me currently, hence why I am trying a more "brute force" method involving an outside script.
EDIT: I guess GEN_IDS(count) would work, doing it the way doynax does it. After reading his post again, I realise the whole outside python script is rather unnecessary, and I could do it all his way instead. |
|