[Patch] Watch Other Companies GUI
Moderator: OpenTTD Developers
Re: Patch: Console Watch Command
[..]
Last edited by Muxy on 19 Sep 2010 15:19, edited 1 time in total.
Pourquoi faire simple quand on peut faire compliqué ?
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum
Re: Patch: Console Watch Command
[..]
Last edited by Muxy on 19 Sep 2010 15:20, edited 2 times in total.
Pourquoi faire simple quand on peut faire compliqué ?
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum
Re: Patch: Console Watch Command
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.
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
[..]
Last edited by Muxy on 19 Sep 2010 15:20, edited 1 time in total.
Pourquoi faire simple quand on peut faire compliqué ?
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum
Re: Patch: Console Watch Command [GUI]
[..]
Last edited by Muxy on 19 Sep 2010 15:20, edited 1 time in total.
Pourquoi faire simple quand on peut faire compliqué ?
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum
Re: Patch: Console Watch Command [GUI]
[..]
Last edited by Muxy on 19 Sep 2010 15:20, edited 1 time in total.
Pourquoi faire simple quand on peut faire compliqué ?
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum
Re: Patch: Console Watch Command [GUI]
[..]
Last edited by Muxy on 19 Sep 2010 15:21, edited 1 time in total.
Pourquoi faire simple quand on peut faire compliqué ?
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum
Re: Patch: Watch Other Companies GUI
[..]
Last edited by Muxy on 19 Sep 2010 15:21, edited 1 time in total.
Pourquoi faire simple quand on peut faire compliqué ?
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum
Re: Patch: Watch Other Companies GUI
I got these errors (against 0.7.4) when making.
- Attachments
-
- make.txt
- (1.46 KiB) Downloaded 172 times
Re: Patch: Watch Other Companies GUI
[..]
Last edited by Muxy on 19 Sep 2010 15:21, edited 1 time in total.
Pourquoi faire simple quand on peut faire compliqué ?
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum
Re: Patch: Watch Other Companies GUI
[..]
Last edited by Muxy on 19 Sep 2010 15:21, edited 1 time in total.
Pourquoi faire simple quand on peut faire compliqué ?
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum
Re: Patch: Watch Other Companies GUI
Is this for the new release, OpenTTD 1.0.0-beta1?Muxy wrote:Hello,
Just updated the diff file.
The two files watch_gui.h & watch_gui.cpp were missing.
Re: Patch: Watch Other Companies GUI
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.
Formerly known as r0b0t_b0y2003, robotboy, roboboy and beclawat. The best place to get the most recent nightly builds of TTDPatch is: http://roboboy.users.tt-forums.net/TTDPatch/nightlies/
Re: Patch: Watch Other Companies GUI
[..]
Last edited by Muxy on 19 Sep 2010 15:21, edited 3 times in total.
Pourquoi faire simple quand on peut faire compliqué ?
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum
Re: Patch: Watch Other Companies GUI
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
- Attachments
-
- BuildLog.zip
- (9.16 KiB) Downloaded 136 times
Re: Patch: Watch Other Companies GUI
[..]
Last edited by Muxy on 19 Sep 2010 15:22, edited 1 time in total.
Pourquoi faire simple quand on peut faire compliqué ?
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum
Re: Patch: Watch Other Companies GUI
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
Also, I thought it was funny that you can use the watch gui on the main screen

- Attachments
-
- watchgui_main-screen.PNG (105.36 KiB) Viewed 4225 times
Re: Patch: Watch Other Companies GUI
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
[..]
Last edited by Muxy on 19 Sep 2010 15:22, edited 1 time in total.
Pourquoi faire simple quand on peut faire compliqué ?
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum
Re: [Patch] Watch Other Companies GUI
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
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
Town Names:


Still work in progress: OpenGFX or/and OpenSFX - Please help!
Who is online
Users browsing this forum: No registered users and 17 guests