Question about Source

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
FoxAlpha
Engineer
Engineer
Posts: 85
Joined: 06 May 2005 18:19
Location: Germany
Contact:

Question about Source

Post by FoxAlpha »

Hi all Devs,

i love OTTD very much.

But the Source is very confused without explore it from the beginning and spend some Time on it.

My Question is. Which Files will i need if i try to extract the hole Widget/Window/GUI system for an own Projekt ? I need all the things for SDL. The Windows related things are not on my interest.

*OFFTOPIC*
Please go on with the Work on this Project. I had love this Game 10 years ago and i love OpenTTD. Its very cool to see this great game grow where a lokomotive never go.

Fox
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

You should use widget.c and window.[ch]. There are some small defines in ttd.h for the window types, but basically these two are enough for the windows.
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."
FoxAlpha
Engineer
Engineer
Posts: 85
Joined: 06 May 2005 18:19
Location: Germany
Contact:

Post by FoxAlpha »

OK, Thanx for ur Answer. This will help me A LOT.

Looks very interesting the Widget System

Fox
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 12 guests