astrobunny Posted September 26, 2010 Share Posted September 26, 2010 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... Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted September 27, 2010 Author Share Posted September 27, 2010 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. Quote Link to comment Share on other sites More sharing options...
astrobunny Posted September 27, 2010 Share Posted September 27, 2010 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 Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted September 29, 2010 Author Share Posted September 29, 2010 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 :) Quote Link to comment Share on other sites More sharing options...
MrFlibble Posted September 30, 2010 Share Posted September 30, 2010 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? Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted October 1, 2010 Author Share Posted October 1, 2010 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. Quote Link to comment Share on other sites More sharing options...
MrFlibble Posted October 1, 2010 Share Posted October 1, 2010 Thanks for the info, I'll tell the guy who does the development to post here. Quote Link to comment Share on other sites More sharing options...
astrobunny Posted October 3, 2010 Share Posted October 3, 2010 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.zipWere you aware that you can't place buildings? Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted October 5, 2010 Author Share Posted October 5, 2010 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 ;) Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted October 5, 2010 Author Share Posted October 5, 2010 FYI: Patch is applied to project. Thx! Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted October 17, 2010 Author Share Posted October 17, 2010 FYI; fixed the bug that prevented you from placing structures. It is now playable again (skirmish that is, campaign mode is still broken). Quote Link to comment Share on other sites More sharing options...
astrobunny Posted October 23, 2010 Share Posted October 23, 2010 oooh awesome! *checks it out* Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted October 23, 2010 Author Share Posted October 23, 2010 Let me know what you think of it so far ;) Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted October 23, 2010 Author Share Posted October 23, 2010 Two SVN updates, adding some new tiny features you might like :)Revision: 295Author: stefanhen83Date: 11:59:32, zaterdag 23 oktober 2010Message:New: When selecting a structure, the belonging building list is selected as well.Revision: 294Author: stefanhen83Date: 11:40:15, zaterdag 23 oktober 2010Message:Do not select structure when holding R to repair it. Quote Link to comment Share on other sites More sharing options...
Reverie_Aveline Posted March 24, 2011 Share Posted March 24, 2011 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 Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted September 18, 2013 Author Share Posted September 18, 2013 For completeness sake: The code is now hosted at github: https://github.com/stefanhendriks/Dune-II---The-Maker Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.