Archived

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

vietstylist

Can someone please help me!!!!!!!!

Recommended Posts

I need to know how to make undo/redo commands for this project i''m working on. I program in DarkBASIC which is a cross between VB and directx. Can you just give me some tips,strategy or techniques on how to do this.Thanx Vs

Share this post


Link to post
Share on other sites
You have to log what user commands where executed and what in the apps data was changed.

Give us more details.

[edited by - Jonus on July 27, 2002 10:34:45 AM]

Share this post


Link to post
Share on other sites
VB is an IDE for an object-oriented version of BASIC. DX is an API. A cross between them would be very wierd indeed.

-----------------------
"When I have a problem on an Nvidia, I assume that it is my fault. With anyone else''s drivers, I assume it is their fault" - John Carmack

Share this post


Link to post
Share on other sites
Dark Basic is a language that is a basic varient that makes it easy to code 3d games.

Oh why would using dx api and vb be wierd? People use vb and dx to make games all the time.

As for the undo function do as jonus said. Log everything the user does then when they go undo do the reverse of what they just did. I can't get more specific till I see code

[edited by - Monder on July 27, 2002 11:49:27 AM]

[edited by - Monder on July 27, 2002 11:49:54 AM]

Share this post


Link to post
Share on other sites
quote:
Original post by Monder
Oh why would using dx api and vb be wierd? People use vb and dx to make games all the time.



Using one with the other isnt wierd, but he said a cross between them. Its like a cross between a computer and a set of speakers. The speakers can be used with a computer, but you cant breed them together.

A cross between an IDE and an API would certainally be wierd.

-----------------------
"When I have a problem on an Nvidia, I assume that it is my fault. With anyone else''s drivers, I assume it is their fault" - John Carmack

Share this post


Link to post
Share on other sites
For future reference, why not name the topic "Need help with ''X''" instead of AHHHH I NEED HELP! Or something equally uninformative. Not a flame, just a suggestion.

Share this post


Link to post
Share on other sites
quote:
Original post by Maximus
Using one with the other isnt wierd, but he said a cross between them. Its like a cross between a computer and a set of speakers. The speakers can be used with a computer, but you cant breed them together.

A cross between an IDE and an API would certainally be wierd.



Try a cross between a compiler and an API. Not weird at all; just many more keywords.



Don''t listen to me. I''ve had too much coffee.

Share this post


Link to post
Share on other sites