Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Amadrias

Main entry point in the application

This topic is 6202 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

hi, I would like to know if it is possible to change winutil.c and winutil.h in order to call another function than the Main(argc,argv) used in current applications ? My point is that I have a C++ Object Oriented application and I would like my main entry point to be a method of the class that holds and manages all my game application. I would like to call something like : myApp.Main(); Is it possible ? Thanks, Amadrias France

Share this post


Link to post
Share on other sites
Advertisement
Yes you can do that. You can split the main function into 3 functions if you wanted (initialize, update, and close).

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!