C programmers

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

Alex Nipal
Engineer
Engineer
Posts: 26
Joined: 08 Mar 2004 17:55
Location: Chomutov (Komotau), Czech Republic
Contact:

Post by Alex Nipal »

Killer 11 wrote:One question:
In wich game's folder i will need to put these files :?:
These are source files ;-) if you haven't compiler, you can't turn it into playable .exe. The sources should be placed with other .c files, such as "ai.c". But I can't compile it too... (something wrong somewhere, using MS VS .NET 2003) I can only post a ttd.exe which I compiled for debbuging purposes, but it's much bigger than normal ttd.exe for release. :cry:
May the blessed Czech hands will be with you...

(A nejlepsi je stejne cesky pivo a cesky holky)
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

Alex Nipal wrote:
Killer 11 wrote:One question:
In wich game's folder i will need to put these files :?:
These are source files ;-) if you haven't compiler, you can't turn it into playable .exe. The sources should be placed with other .c files, such as "ai.c". But I can't compile it too... (something wrong somewhere, using MS VS .NET 2003) I can only post a ttd.exe which I compiled for debbuging purposes, but it's much bigger than normal ttd.exe for release. :cry:
Then compile the release version :)

Build->Configuration Manager->Active Solution Configuration <--- set this to active, then compile
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
Alex Nipal
Engineer
Engineer
Posts: 26
Joined: 08 Mar 2004 17:55
Location: Chomutov (Komotau), Czech Republic
Contact:

Post by Alex Nipal »

Darkvater wrote:
Alex Nipal wrote:
Killer 11 wrote:One question:
In wich game's folder i will need to put these files :?:
These are source files ;-) if you haven't compiler, you can't turn it into playable .exe. The sources should be placed with other .c files, such as "ai.c". But I can't compile it too... (something wrong somewhere, using MS VS .NET 2003) I can only post a ttd.exe which I compiled for debbuging purposes, but it's much bigger than normal ttd.exe for release. :cry:
Then compile the release version :)

Build->Configuration Manager->Active Solution Configuration <--- set this to active, then compile
I did it a hour ago, but read this:
MS VS .NET 2003 wrote:fatal error: can't open dirent.h to include
Do you know where that UNIX's s*** is? :roll:
May the blessed Czech hands will be with you...

(A nejlepsi je stejne cesky pivo a cesky holky)
User avatar
Killer 11
Tycoon
Tycoon
Posts: 2463
Joined: 06 Jan 2004 18:38
Location: Kaunas, Lithuania
Contact:

Post by Killer 11 »

everybody say compile.


HOW TO COMPILE!!
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

Killer 11 wrote:everybody say compile.


HOW TO COMPILE!!
You need either a Linux machine with g++ or a windows machine with a C compiler. I recommend VS.NET :) VS 6 would also suffice.

Bat files won't help you here
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
User avatar
GoneWacko
Tycoon
Tycoon
Posts: 8680
Joined: 10 Jul 2002 15:08
Location: Enschede, The Netherlands
Contact:

Post by GoneWacko »

Killer 11 wrote:everybody say compile.


HOW TO COMPILE!!
if you can't program, don't compile

Unless you are on linux, which I doubt.
GoneWacko. Making [url=irc://irc.oftc.net/tycoon]#tycoon[/url] sexy and exciting since 1784.
skunk
Engineer
Engineer
Posts: 26
Joined: 01 Mar 2004 07:40
Location: Austria, Vienna

Post by skunk »

Hi!

(This is my first post). I'm really enthusiastic about this new OpenTTD Project, and I think I will write some codelines if I have some spare time left.

I already did some changes, in the attached zip you will find the sources for additional Shortcuts:
5=Damage, 6=Lower, 7=Raise, 8=Signal, 9=Bridge, 0=Tunnel, Tab=Remove.
The meaning of the F-Keys is also changed, because I think the original does not make sense.

greetings,
Stephan
Attachments
openttd_shortcut1.zip
(24.76 KiB) Downloaded 328 times
Alex Nipal
Engineer
Engineer
Posts: 26
Joined: 08 Mar 2004 17:55
Location: Chomutov (Komotau), Czech Republic
Contact:

Post by Alex Nipal »

skunk wrote:...I already did some changes, in the attached zip you will find the sources for additional Shortcuts...
Hmmm... I downloaded it and as I see, it isn't compatible with my GUI changes :roll: Probably I'll copy&paste only the changes you've made. At the evening I'll post another changes in GUI.
May the blessed Czech hands will be with you...

(A nejlepsi je stejne cesky pivo a cesky holky)
skunk
Engineer
Engineer
Posts: 26
Joined: 01 Mar 2004 07:40
Location: Austria, Vienna

Post by skunk »

We really need a CVS system ;)
Orudge hurry up! :)

Skunk.
Alex Nipal
Engineer
Engineer
Posts: 26
Joined: 08 Mar 2004 17:55
Location: Chomutov (Komotau), Czech Republic
Contact:

Post by Alex Nipal »

skunk wrote:We really need a CVS system ;)
Orudge hurry up! :)

Skunk.
I agree
May the blessed Czech hands will be with you...

(A nejlepsi je stejne cesky pivo a cesky holky)
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 17 guests