Jump to content
  • Advertisement
Sign in to follow this  
Jason Goepel

Multiple Initialization Lists

This topic is 2073 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is there any reason one cannot register multiple formats for initialization lists?

 

I attempted to do so and didn't get any registration errors, but it ended up replacing the first one I registered.

Share this post


Link to post
Share on other sites
Advertisement

I haven't implement support for multiple list patterns yet. It will require quite a bit more work to get this supported, as the compiler will need to try to determine which one should be used based on what it sees in the script.

 

For now I'll add a check for this in the code so the engine doesn't silently accept when the application tries to register multiple list factories.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!