Jump to content

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


Recommended Posts

Posted

ah yes, resource files should be named lowercase. Source files will be like they are now;

c for classes <Name (with capital)>

ie:

cGame

or

cMyVeryCoolClass

Any changes are welcome. I think i also forgot to reformat the naming for raknet. Will look into that now

Posted

I commited all the changes, it compiles perfectly on Linux. Hope it does on VS as well :)

Oh, and one more question. I can now start the campaign but all the buildings are disabled.

I don't know why. Perhaps there are still some case issues...

Posted

I noticed i forgot the add the campaign to the SVN repository. So i added it. Your changes are great, it compiles fine and it works (which is also very important). If you do not see any structures (disabled), try another team perhaps. Also, be sure the game.ini file is loaded.

Posted

nice work t0th... by the way, is there any needed libs to install before we can compile in linux? somehow i can't compile it (before your changes) coz it was looking for the alfont and almp3 headers... ill try updating my copy to the new changes :) it'd be cool to see it running in my linux partition

by the way, i have allegro 4.2

Posted

Yes, you need some additional libraries:

- raknet

- allegrofont

- allegromp3

- fblend

none of which compiled out-of-the-box :D So i will upload fixed versions of them somewhere. What linux distribution do you have?

Posted

ahh thank you for that list :)

ill try installing them now and see if i can get it running already hehe :D

i have Gentoo 2006.1, how bout you?

[edit]

typo - grammar

Posted

I have committed quite a bunch of code. Nothing really changes by functionaly, but under the hood things are a bit more clean (the main.cpp file is very short now). I have encapsulated d2tmc.h in d2tmh.h so you only need to put one header file at top. Besides that a lot of other changes. Tonight i have more time, will then clean the code in the TimeManagement class and probably begin to introduce another class DrawManagement.

The structure of classes and their relationship begin taking shape, but its a long way to go (as you can see, 3 empty class files , factories named are yet to be created). Eventually the goal is clean code, which should make it easier to expand the game with nice (more complex) features.

Posted

I attach a howto which describes the process of compiling D2TM on linux and also patches and a script

for automated patching, compilation and installation of needed libraries. Hope it will work well on other

distributions :)

I also commited some linux specific files which are the base for Makefile and configure scripts (these

are generated automatically by autoconf and automake)

howto.zip

Posted

Stefan: changes you have made to source code made it run very slow now. I mean, the program runs fast (mouse movement is smooth) but all the fade-in's and -out's and unit movement is very slow, it must be something with timers. Can i contact you on some IM? Google Talk perhaps? MSN? ICQ?

Posted

Nice of you to releas the source Stefan. Maybe I'll join as a programmer after a few years of IT education :P

Keep up the good work with D2TM, I will follow further development closely via this forum. Give me a word if you need any non-coding help.

Posted

Well you can always assign issues.. If you have a google account that is. (just mail me @ google, will set it up in a few mins). And you can always download the source, get it compiling (its all described in a doc how to do that, even for a non-it'r ;)) and test the very latest (really latest) version... :D

  • 6 months later...
Posted

Is there anyone who is willing to participate in a project concerning d2tm. Can't tell more, but anyone who really can provide code, and some serious work (and i mean, seriously some commits here and there) about that project. Its on free basis ofcourse...

If you are interested, despite the limited info, please email me -> stefanhen83@gmail.com

  • 3 weeks later...
Posted

One of my friends who is a serious programmer got involved with Dune Legacy for a while. He left the project after taking a good hard look at the engine and its limitations from an AI perspective. He is very keen on doing AI stuff. At present he is working on an AI system to manage security cameras that can distinguish between humans and animals and follow their movement.

I know he prefers working through sourceforge though.

I'm glad to see your project is still going. You may well end up releasing the best RTS for Linux. There is alot of great FPS games for Linux (most notably Tremulous), but no good RTS games.

Posted

I'm trying to compile D2TM by the book/manual. Everything went all fine except running the game. It says it's missing MSVCR70D.dll. Where can I get the file and where do I have to put it?

  • 1 month later...
Posted

I've just downloaded and compiled the source, and hit the same problem - missing MSVCR70D.dll and MSVCR70.dll. Both can be googled (I dled them from dll-files).

After getting things running, I ran into the following issues -

On Campaign, after clicking a House banner, the Bene Gesserit mentat intro asking whether you would like to join that house ends in "Would you like to join house" with no Atreides, Harkonnen, Ordos or Yes/No buttons, forcing an ESC-quit.

On Skirmish, after selecting either of the two maps, with two random teams, and entering the map, buildings cannot be placed - the Construction Yard can be upgraded, but all building options build instantly, and show no placement outline to actually put them down.

I was hoping to do a little bug-testing, but between those two, I can't really get anywhere  :-[ Are they code issues, or am I missing files / have I made an error somewhere while compiling?

Posted

Actually they are showstopper issues. To be concrete; there was a rewrite in progress, but half-way it stopped. Therefor the code can compile, but functionality is not brought back. I suggest you try to grab the source of an older revision.

  • 2 weeks later...
Posted

I've got the mentats working again. The code probably isn't too pretty, but it can hold till someone refines it. Would you like an upload? Or is this version of D2TM now officially dead, what with the new project planned?

Posted

any uploads are welcome. From which revision did you fix this? Send me an email at gmail (stefanhen83@gmail.com) , you need a gmail account as well if you want to be able to upload the code to svn.

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.