Jump to content
  • Advertisement


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


Tiberian Sun Dialog Boxes

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

Does anyone know what way is best for creating dialog boxes like in many games such as Tiberian Sun''s SAVE GAME, LOAD GAME, OPTIONS, RESUME GAME dialog box? While the box is active I should still be able to see the rest of the game screen around it. I wish to have as much control on the texture the dialog has, etc. Also how do I do check boxes with this? Please help.

Share this post

Link to post
Share on other sites
You're welcome! I know John Carmack... he wants to help you make a 3D Engine. Are you interested??

Let me know,

Edited by - OldManDave on 4/28/00 4:18:15 PM

Share this post

Link to post
Share on other sites
There are for me two types

1) Functions that need to take over the whole process. What I''ve done for that is to create a function that has
its own painting and keychecking functions

while (MessageBoxExist())
int nResult = CheckForWindowsKeys();
if (nResult == EXITHERE) break;

2) A pretty box that shows the choices

other screen stuff
if (pMessageBox->Exists()) pMessageBox->Display();

In this one you create the box somewhere else with a list of choices

if (!pMessageBox == NULL ) pMessageBox = ListBox(LinkedListOfStuff, PosX, PosY);

For checked boxes you''re going to have to store and retrieve the info somewhere. WHere is the information stored?

There''s also an article on the GameDev.Net about C++ and Interfaces

Developing a 2D RPG with skills, weapons, and adventure.
See my character editor, Tile editor, diary, 3D Art resources at
Check out my web-site
Also new links to combat flight sims

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.

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!