stefanhendriks

D2TM - Help develop! Get the source. (SVN)

91 posts in this topic

I just checked out the source from SVN and wow the msvc sln is really outdated! Lots of files were moved around but the project was not changed to reflect it. Might fix it later when I get back from work if no one has done this yet...

0

Share this post


Link to post
Share on other sites

That is correct, I haven't been working on it with MSVC for quite a while. If you could make it work in MSVC, i'd gladly accept any changes to make it work.

0

Share this post


Link to post
Share on other sites

Woot. I got it working on MSVC. But in a very untidy way. I can make a patch for you once I clean it up.

Also, there is a memory bug in CreditsDrawer. The stack was smashed because currentCredits was not initialized, and sprintf tried to write a 9-digit number to a char[7] array. Fixed that and I was able to finally get into the menu.

But I can't place concrete slabs hahaha

0

Share this post


Link to post
Share on other sites

Great work. I have seen the CreditsDrawer bug. I have fixed that one myself (thx for that, it fixed for me an unexplainable sound for credits dropping/gaining when accessing skirmish mode).

I have to admit, I play starcraft II a lot now, so I really don't develop on this much. But then again, SC2 is a fine rts and could probably bring inspiration for further versions of d2tm :)

0

Share this post


Link to post
Share on other sites

Stefan, the D2TM to Sega Dune conversion project is going on, but the developer has a question about palette issues: he says that editing anything in the palette screws up the remap of faction colours. Anything you would recommend?

0

Share this post


Link to post
Share on other sites

Depends which/what palette he changes. What I do is create a palette for each house, and pre-process them (ie, adjust the colors accordingly). Then, all i need to do when drawing on screen is making sure the right palette is used. So:

- create screen bitmap (which is 16 bit or higher)

- create house palettes (copy default palette, and then change colors for each house)

- when drawing unit/building, use the house palette. And blit it on the screen palette.

If your screen bitmap is 8 bit, you need to convert the indexes accordingly (this basically means it does not matter if you pre-process palettes).

What library is used? Also, is there a topic about it on fed2k? I'd suggest we continue this conversation there then.

0

Share this post


Link to post
Share on other sites

Thanks for the info, I'll tell the guy who does the development to post here.

0

Share this post


Link to post
Share on other sites

Great work. I have seen the CreditsDrawer bug. I have fixed that one myself (thx for that, it fixed for me an unexplainable sound for credits dropping/gaining when accessing skirmish mode).

I have to admit, I play starcraft II a lot now, so I really don't develop on this much. But then again, SC2 is a fine rts and could probably bring inspiration for further versions of d2tm :)

I don't blame you. SC2 is awesome. I've been doing overtime on it myself.

Here's the patch for msvc.

dune 2.vcproj.patch.zip

Were you aware that you can't place buildings?

0

Share this post


Link to post
Share on other sites

Thanks a lot. Will apply the patch shortly.

I can also not place buildings. I bet it has to do with refactoring my placement code ;)

0

Share this post


Link to post
Share on other sites

FYI; fixed the bug that prevented you from placing structures. It is now playable again (skirmish that is, campaign mode is still broken).

0

Share this post


Link to post
Share on other sites

Two SVN updates, adding some new tiny features you might like :)

Revision: 295

Author: stefanhen83

Date: 11:59:32, zaterdag 23 oktober 2010

Message:

New: When selecting a structure, the belonging building list is selected as well.

Revision: 294

Author: stefanhen83

Date: 11:40:15, zaterdag 23 oktober 2010

Message:

Do not select structure when holding R to repair it.

0

Share this post


Link to post
Share on other sites

Why not release a basic engine of Dune 2 The Maker for other members who just want to try to make their own game based on the same engine the D2TM has...

Also, if they liked how the engine was made, they might show-off their skills by contributing in this project

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now