Page 2 of 4

Re: Patch: Console Watch Command

Posted: 06 Oct 2009 23:44
by Muxy
[..]

Re: Patch: Console Watch Command

Posted: 06 Oct 2009 23:55
by Muxy
[..]

Re: Patch: Console Watch Command

Posted: 07 Oct 2009 00:34
by Yexo
I got a lot of compile errors so it didn't even get to a linking stage. This might be because I applied it to r17734 though.

My best guess at the reason for that error is because you declare WatchWindow twice. Try declaring it once in a header file and then just implementing the functions in smallmap_gui.cpp instead of duplicating the definition.

Re: Patch: Console Watch Command

Posted: 07 Oct 2009 20:27
by Muxy
[..]

Re: Patch: Console Watch Command [GUI]

Posted: 08 Oct 2009 10:03
by Muxy
[..]

Re: Patch: Console Watch Command [GUI]

Posted: 08 Oct 2009 20:26
by Muxy
[..]

Re: Patch: Console Watch Command [GUI]

Posted: 14 Oct 2009 18:30
by Muxy
[..]

Re: Patch: Watch Other Companies GUI

Posted: 13 Dec 2009 18:44
by Muxy
[..]

Re: Patch: Watch Other Companies GUI

Posted: 13 Dec 2009 18:59
by petert
I got these errors (against 0.7.4) when making.

Re: Patch: Watch Other Companies GUI

Posted: 13 Dec 2009 19:05
by Muxy
[..]

Re: Patch: Watch Other Companies GUI

Posted: 28 Dec 2009 12:39
by Muxy
[..]

Re: Patch: Watch Other Companies GUI

Posted: 28 Dec 2009 13:49
by petert
Muxy wrote:Hello,

Just updated the diff file.

The two files watch_gui.h & watch_gui.cpp were missing.
Is this for the new release, OpenTTD 1.0.0-beta1?

Re: Patch: Watch Other Companies GUI

Posted: 08 Jan 2010 04:39
by WWTBAM
If this was updated for nightly versions, I could see a potential pthe use for this patch if combined with an older patch that allows OpenTTD to be run as a windows screensaver.

Re: Patch: Watch Other Companies GUI

Posted: 24 Jan 2010 16:42
by Muxy
[..]

Re: Patch: Watch Other Companies GUI

Posted: 29 Jan 2010 01:05
by petert
I got an error when trying to compile your patch against 1.0.0-beta3:

Code: Select all

3>command.obj : error LNK2001: unresolved external symbol "public: void __thiscall WatchCompany::OnDoCommand(struct TinyEnumT<enum Owner>,unsigned int)" (?OnDoCommand@WatchCompany@@QAEXU?$TinyEnumT@W4Owner@@@@I@Z)
3>toolbar_gui.obj : error LNK2001: unresolved external symbol "void __fastcall ShowWatchWindow(enum Owner)" (?ShowWatchWindow@@YIXW4Owner@@@Z)
3>..\objs\Win32\Release\\openttd.exe : fatal error LNK1120: 2 unresolved externals

Re: Patch: Watch Other Companies GUI

Posted: 29 Jan 2010 17:58
by Muxy
[..]

Re: Patch: Watch Other Companies GUI

Posted: 31 Jan 2010 20:59
by petert
I've managed to get it compiling on MSYS. I've also made a diff with the changes to the vcprojects included.

Also, I thought it was funny that you can use the watch gui on the main screen :-)

Re: Patch: Watch Other Companies GUI

Posted: 31 Jan 2010 21:30
by petert
Ok, the MSVC compile now works on my system with watch GUI. You can find 0.7.5 binaries at my dev site: http://users.tt-forums.net/petert/dev/Watch_GUI/

Re: Patch: Watch Other Companies GUI

Posted: 02 Feb 2010 07:23
by Muxy
[..]

Re: [Patch] Watch Other Companies GUI

Posted: 06 Feb 2010 15:17
by Ammler
Hello

Might it be possible to make (and use for releases) a bit less "cheatish" version of that patch. Something like

- only watch other companies with rcon
- only watch unpassworded companies
- everybody can only watch the own company

I am fully aware someone could still patch it to use with the features you have already. But somehow the way to do it should be made a bit harder. At least no easy access to binaries.

I guess, from develpment view, there is no possibility to make something against this feature.

Don't get me wrong, it is a nice patch, we use this kind already quite some time on #openttdcoop too. But for competition games, it is a simply cheat, specially if not everyone has access to that patch.

Greets
Ammler