Back to Molly Rocket Molly Rocket
Molly Rocket games and everything even tangentially related
 

  FAQFAQ  SearchSearch  UsergroupsUsergroups 
Log inLog in  RegisterRegister
 

ID generation and data lifetime
Goto page Previous  1, 2
 
Post new topic Reply to topic    Molly Rocket Forum Index -> IMGUI
View previous topic :: View next topic  
Author Message
Walt



Joined: 09 Feb 2009
Posts: 4

PostPosted: Tue Feb 10, 2009 11:15 am    Post subject: Reply with quote

Python never gets complicated Smile
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.
Back to top
View user's profile
Display posts from previous:   
Post new topic Reply to topic    Molly Rocket Forum Index -> IMGUI All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Molly Rocket topic RSS feed 
Molly Rocket topic RSS feed 
Molly Rocket topic RSS feed, first posts only 


Powered by phpBB © 2001, 2005 phpBB Group