Jump to content
  • Advertisement

Archived

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

ironhell3

Various openGL questions

This topic is 5921 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 am developing a game and i have some questions to ask. First, i want to make a visual c application to let the user change various aspects of the game like resolution etc. How can i call this exe from inside my game( i have two .exe''s on for the game and one for the configuring application) Second i have some data files (bmp''s).Is there a way to add them as resources to the executable? Is this a good way to "hide" them or the game will be slower? I am using Visual studio. You can find the game at http://www.angelfire.com/on3/ironhell3index/HellWorld.html Thanks a lot!

Share this post


Link to post
Share on other sites
Advertisement
a good idea would be to put the graphics/other settings at the beginning of the game, similar to nehe''s basecode... check out the basecode to see how its done :D

Share this post


Link to post
Share on other sites
To include resources in visual studio, follow this thread that I started:

http://www.gamedev.net/community/forums/topic.asp?topic_id=92264

Share this post


Link to post
Share on other sites

"Basecode? what basecode? you mean the v2 one?"

this basecode... http://nehe.gamedev.net/nehegl2.asp

Share this post


Link to post
Share on other sites
Ok, thanks for your help.
I think i understood the dialog resource from basecode2 and i hope i understood the graphics resource from jeeky''s url , although i didn''t understand what type is in
type *pData = static_cast(LockResource(hGlobal));
Thanks again!

http://www.angelfire.com/on3/ironhell3index/HellWorld.html


Share this post


Link to post
Share on other sites
Apparently you didn''t read all of jeeky''s post:

"Note: "type" means a data type, such as char, float, etc."

Share this post


Link to post
Share on other sites
You can make the dialog to select resolution a different app, then write the settings to a file, then you use the function WinExec to start up your engine, and in your engine you load in the settings from the file.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!