Another one?
Moderator: OpenTTD Developers
Firstly we need to discover Ludde's strategy. Is it a direct translation to C or did he add extendability along the way
Secondly play this thing and catalog the bugs and limits.
Quickly had a look at some files in Visual C, they are impressive and beautifully laid out.
Incidently you can look at C files in any editor i think.
Secondly play this thing and catalog the bugs and limits.
Quickly had a look at some files in Visual C, they are impressive and beautifully laid out.
Incidently you can look at C files in any editor i think.
I doubt it, there's no real reason to. The Patch and OpenTTD are totally different.George wrote:Would the work on OpenTTD and TTDPatch be coordinated?
Not currently, but I would imagine that would be one of the first extensions to OpenTTD. However, it's possible that OpenTTD would be designed to use a cleaner way of programming what the various sprites are for, rather than the somewhat cumbersome pseudosprites.George wrote: Would it be possible to use TTDPatch graphics with OpenTTD?
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
I don't know if you have any insight in the code, but the design is horrible. The way I see it only Ludde can work with it at the moment, and for someone else it's just a big mess.Bart wrote:This is big. I think at least the guys from TTU have to stop working on their project, and start working on this. I know plurarity(? - diversity - ) is good, but this is much better!
TTU will continue, as you can read in my announcement in our section.
"Peace cannot be kept by force. It can only be achieved by understanding." - Albert Einstein
I've taken a look, and I can understand at least half of it. As soon as I can get it to compile, I'm bound to take a look and possibly make changes. I've been suggesting adding a queue to the aircraft landing code TTDPatch for a while, but nobody really wanted to do it. Now I can do it myself - it took almost no time to find the point where the aircraft decide whether the runway is taken, and now it'll be trivial to implement my suggested changes now that everything's in C.The way I see it only Ludde can work with it at the moment, and for someone else it's just a big mess.
"If a man does not keep pace with his companions, perhaps it is because he hears a different drummer. Let him step to the music he hears, however measured or far away" --Henry David Thoreau
- orudge
- Administrator
- Posts: 25146
- Joined: 26 Jan 2001 20:18
- Skype: orudge
- Location: Banchory, UK
- Contact:
Precisely. If you take a good look at the code, it really isn't that hard to understand. It doesn't have the best structure, no, but that's why we should improve it (but not totally rewrite it using OO C++ or anything like that). Gradually, it'd also move away from Chris Sawyer's code to our own.
Attached are Ludde's latest changes to the code, by the way - I tried to attach these earlier, but something was playing up.
Attached are Ludde's latest changes to the code, by the way - I tried to attach these earlier, but something was playing up.
- Attachments
-
- changes.zip
- Latest code. This code is licensed under the GNU General Public License.
- (38.11 KiB) Downloaded 295 times
note the "ttd Patch" writer said 80% of the work, this is bad bad bad.
and the TTU writer said "the code is a mess"
some on guys its a comunity, i know that competition is here, but A the patch team doesn't need to feel like anything is a waste its been years of good fun and work, TTD was better than ever because of you.
and the TTU team i dunno whats happening with it, i havn't follwed it much sorry.
Alltaken
and the TTU writer said "the code is a mess"
some on guys its a comunity, i know that competition is here, but A the patch team doesn't need to feel like anything is a waste its been years of good fun and work, TTD was better than ever because of you.
and the TTU team i dunno whats happening with it, i havn't follwed it much sorry.
Alltaken
Why not? We get modularity and flexibility if we write it in OO! I think we should.(but not totally rewrite it using OO C++ or anything like that)
"If a man does not keep pace with his companions, perhaps it is because he hears a different drummer. Let him step to the music he hears, however measured or far away" --Henry David Thoreau
== TTUCobraA1 wrote:Why not? We get modularity and flexibility if we write it in OO! I think we should.(but not totally rewrite it using OO C++ or anything like that)
I said that because as a developer I really think it's a mess. It's kinda like the style me and balloz had when we began with TTS. Since then our style increased tremendously.Alltaken wrote: and the TTU writer said "the code is a mess"
The style of the openttd code can be much better, even in C, and I think that's the point to focus on right now for the openttd developers, not all the little extensions...
"Peace cannot be kept by force. It can only be achieved by understanding." - Albert Einstein
Who is online
Users browsing this forum: No registered users and 2 guests