Jump to content

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


Recommended Posts

Posted

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...

Posted

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

Posted

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 :)

Posted

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?

Posted

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.

Posted

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?

  • 2 weeks later...
Posted

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.

  • 5 months later...
Posted

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

  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.