Terkhen wrote:The binary provided should work in all windows platforms from XP onwards (never tested Windows 2000)... Or your problem is that the binary is compressed in rar?
Edit: Corrected
works great! thanks a lot pal!
Moderator: OpenTTD Developers
Terkhen wrote:The binary provided should work in all windows platforms from XP onwards (never tested Windows 2000)... Or your problem is that the binary is compressed in rar?
Edit: Corrected
Code: Select all
Index: src/station_gui.cpp
===================================================================
--- src/station_gui.cpp (revision 17288)
+++ src/station_gui.cpp (working copy)
@@ -377,6 +377,7 @@
int max = min(this->vscroll.pos + this->vscroll.cap, this->stations.Length());
y = 40; // start of the list-widget
+ int x_max = this->widget[SLW_LIST].right;
for (int i = this->vscroll.pos; i < max; ++i) { // do until max number of stations of owner
const Station *st = this->stations[i];
@@ -395,8 +396,11 @@
/* show cargo waiting and station ratings */
for (CargoID j = 0; j < NUM_CARGO; j++) {
if (!st->goods[j].cargo.Empty()) {
- StationsWndShowStationRating(x, this->widget[SLW_LIST].right, y, j, st->goods[j].cargo.Count(), st->goods[j].rating);
- x += 20;
+ if (x + 33 > x_max) break;
+ SetDParam(0, st->goods[j].cargo.Count());
+ x = 2 + DrawString(x, x_max, y, STR_TINY_BLACK_COMA);
+ StationsWndShowStationRating(x, x_max, y, j, st->goods[j].cargo.Count(), st->goods[j].rating);
+ x += 23;
}
}
y += 10;
Same place as you'd get all the source code of an arbitrary revision: the source repository, either via svn, mercurial or git. Check the development section of the OpenTTD manual /wiki (see my signature)fatgit wrote:would love to try this compilation, but I can't get it to patch onto the stable or latest nightly (need to compile on linux) as quite a few hunks fail, where would I find r17206 ?
Am I allowed to ask which distro you're using?Terkhen wrote:Here is a new version:
...The first motive for this is that from now on I will be developing my projects in linux (I'm starting my final year project), and that includes compiling (and of course playing) OpenTTD. I could cross compile a win32 build, but I won't!.
I think it would be very convenient to have "ready for windows" version for public use. Could anyone make a build of current version and put it to code.google.com/p/tppp site?Sensation Lover wrote:is it possible to have a "ready for windows" .zip archive please. i know you said you wont compile binaries anymore, but... i can't make it by myself...
can you PM me the .zip?... sorry and thanks anyway!
Code: Select all
svn update -r(Revision)
Code: Select all
patch -p0 -i (diff_file)
Most of game players have never used command line at all. They have icons, they click, they play. They are not interested in how the computers/operating systems works, the just want to have some fun and play a nice game.Terkhen wrote:Compiling OpenTTD is really easy...
Users browsing this forum: No registered users and 15 guests