Config
Log for #openttd.dev on 17th November 2013:
Times are UTC Toggle Colours
00:52:23  *** tycoondemon has quit IRC
00:52:48  *** tycoondemon has joined #openttd.dev
01:04:40  *** frosch123 has quit IRC
01:13:51  *** Zuu has quit IRC
02:59:14  *** LordAro has quit IRC
03:50:07  *** quvin has joined #openttd.dev
03:50:55  *** quvin has quit IRC
06:05:48  *** LuHa1 has joined #openttd.dev
06:06:16  *** LuHa1 is now known as LuHa
07:24:27  *** ChanServ sets mode: +v LuHa
07:24:39  <LuHa> thx
07:33:13  <LuHa> hello
07:33:13  <LuHa> i have some question.
07:33:14  <LuHa> can i
07:33:14  <LuHa> NWidget(...), SetDataTip(STR_1)
07:33:14  <LuHa> and
07:33:14  <LuHa> NWidget(...), SetDataTip(STR_2)
07:33:14  <LuHa> unify into one by parameter?
07:33:16  <LuHa> ex)
07:33:16  <LuHa> str_type = 1;
07:33:18  <LuHa> NWidget(...), SetDataTip(STR[str_type])
07:37:52  *** LuHa is now known as Guest5927
07:39:09  *** LuHa has joined #openttd.dev
07:39:56  *** LuHa has quit IRC
07:40:07  *** Guest5927 has quit IRC
07:40:40  *** LuHa has joined #openttd.dev
08:09:53  <planetmaker> LuHa for different window layouts you might want to look at the definition of the NewGRF selection window. Or the main toolbar
08:10:10  <planetmaker> you cannot directly give the string there as parameter
08:12:18  <planetmaker> @voice LuHa
08:12:18  *** DorpsGek sets mode: +v LuHa
08:12:29  <LuHa> Oh, thx reply
08:12:46  <LuHa> i coding in FS#5799
08:14:43  <planetmaker> LuHa, look at toolbar_gui.cpp. It differs showing the same window (main toolbar) for different states: game and scenario editor
08:14:54  <planetmaker> an approach like that would imho be approriate here, too
08:15:38  <LuHa> Ok. i'll thx
08:20:29  <planetmaker> actually... maybe order_gui.cpp is even closer to what you want to achieve: the order gui adopts to vehicle type
08:20:56  <planetmaker> and also deals with different strings depending on vehicle type
08:25:03  <planetmaker> and also for own / other company vehicles the window is shown differently there
08:27:50  <planetmaker> thus you still define the different widget layouts. But branch to them depending on the window parameter
08:32:44  <LuHa> yeap, thx. now i read order/toolbar_gui.cpp
08:40:12  <planetmaker> hm, I also need to look at that again... bit ago that I looked at (complex) UI code
08:40:38  <planetmaker> LuHa, even clearer is depot_gui.cpp
08:41:13  <LuHa> depot_gui? yeap :D
08:41:20  <planetmaker> look at depot_gui:535 (void SetupWidgetData(VehicleType type)
08:42:05  <LuHa> oh, i see
08:42:26  <planetmaker> for that to work, the strings need to be placed sequentially in english.txt
08:42:31  <LuHa> it's very clearly to understand
08:42:53  <LuHa> yeap, that's right
08:43:19  <LuHa> omg, it's almost solution!
08:45:23  <LuHa> thanks for your help
08:45:38  <planetmaker> you're welcome
08:45:48  <LuHa> even my poor english skiil :(
08:46:02  <planetmaker> only few are English native speakers here
08:46:22  * planetmaker counts... 1,2,... maybe 4
08:46:54  <LuHa> haha, :)
08:47:18  <planetmaker> and there's 19 people in the channel. So... :-)
08:48:16  <planetmaker> @voice Supercheese
08:48:16  *** DorpsGek sets mode: +v Supercheese
08:48:29  * Supercheese is a native speaker
08:48:46  <planetmaker> yeah, I counted you in the 4 :-)
08:49:29  <Supercheese> seemingly few folks monitor this channel
08:49:47  <planetmaker> #openttd is quite fine to discuss stuff
08:50:05  <Supercheese> I guess few folks also submit patches, so makes sense
08:51:23  <planetmaker> there's some patches, but not too many join IRC to actually discuss them
08:52:19  <planetmaker> while IRC can be most convenient - if people manage to be there at the same time; thus manage to be here long and also accept it can be non-real time on IRC :-)
08:56:24  <Supercheese> I wish cirdan would hop on IRC, there'd be much fruitful discussion to be had, methinks
08:57:39  *** Alberth has joined #openttd.dev
08:57:39  *** ChanServ sets mode: +v Alberth
09:13:10  *** Supercheese has quit IRC
09:39:29  *** tycoondemon has quit IRC
10:13:37  *** Zuu has joined #openttd.dev
10:13:37  *** ChanServ sets mode: +v Zuu
10:28:27  * fonsinchen finally installs ccache on the old mac
10:35:29  *** Zuu_ has joined #openttd.dev
10:38:00  *** LordAro has joined #openttd.dev
10:38:00  *** ChanServ sets mode: +v LordAro
10:44:29  *** Webster has joined #openttd.dev
10:48:43  *** Webster has joined #openttd.dev
10:48:43  *** ChanServ sets mode: +v Webster
10:51:10  *** zydeco has joined #openttd.dev
10:57:43  *** LuHa has quit IRC
11:24:41  *** DorpsGek changes topic to "OpenTTD Dev Channel || Latest SVN: r26020 || Logs: http://webster.openttdcoop.org/?channel=openttd.dev || Voice (talk-right) upon request via #openttd; make sure you are registered to NickServ before asking"
11:29:45  *** DorpsGek changes topic to "OpenTTD Dev Channel || Latest SVN: r26021 || Logs: http://webster.openttdcoop.org/?channel=openttd.dev || Voice (talk-right) upon request via #openttd; make sure you are registered to NickServ before asking"
11:40:01  *** zydeco has quit IRC
11:51:33  *** DorpsGek changes topic to "OpenTTD Dev Channel || Latest SVN: r26022 || Logs: http://webster.openttdcoop.org/?channel=openttd.dev || Voice (talk-right) upon request via #openttd; make sure you are registered to NickServ before asking"
11:56:07  *** zydeco has joined #openttd.dev
12:05:41  *** DorpsGek changes topic to "OpenTTD Dev Channel || Latest SVN: r26023 || Logs: http://webster.openttdcoop.org/?channel=openttd.dev || Voice (talk-right) upon request via #openttd; make sure you are registered to NickServ before asking"
12:40:46  *** zydeco has quit IRC
12:47:49  *** tycoondemon has joined #openttd.dev
12:51:35  *** LuHa has joined #openttd.dev
12:51:35  *** ChanServ sets mode: +v LuHa
13:03:02  *** frosch123 has joined #openttd.dev
13:03:02  *** ChanServ sets mode: +v frosch123
13:25:54  *** adf88 has joined #openttd.dev
13:25:57  *** ChanServ sets mode: +v adf88
13:35:49  *** DorpsGek changes topic to "OpenTTD Dev Channel || Latest SVN: r26024 || Logs: http://webster.openttdcoop.org/?channel=openttd.dev || Voice (talk-right) upon request via #openttd; make sure you are registered to NickServ before asking"
13:42:18  * fonsinchen has upgraded to XCode 2.5 now *gasp*
13:53:35  *** DorpsGek changes topic to "OpenTTD Dev Channel || Latest SVN: r26025 || Logs: http://webster.openttdcoop.org/?channel=openttd.dev || Voice (talk-right) upon request via #openttd; make sure you are registered to NickServ before asking"
13:55:51  *** tycoondemon has quit IRC
14:02:23  *** tycoondemon has joined #openttd.dev
14:33:31  *** adf89 has joined #openttd.dev
14:36:19  *** adf88 has quit IRC
15:56:57  *** Zuu_ is now known as Zuu
16:01:51  *** DorpsGek changes topic to "OpenTTD Dev Channel || Latest SVN: r26026 || Logs: http://webster.openttdcoop.org/?channel=openttd.dev || Voice (talk-right) upon request via #openttd; make sure you are registered to NickServ before asking"
16:02:40  *** DorpsGek changes topic to "OpenTTD Dev Channel || Latest SVN: r26027 || Logs: http://webster.openttdcoop.org/?channel=openttd.dev || Voice (talk-right) upon request via #openttd; make sure you are registered to NickServ before asking"
16:16:56  *** DorpsGek changes topic to "OpenTTD Dev Channel || Latest SVN: r26028 || Logs: http://webster.openttdcoop.org/?channel=openttd.dev || Voice (talk-right) upon request via #openttd; make sure you are registered to NickServ before asking"
17:08:20  *** DorpsGek changes topic to "OpenTTD Dev Channel || Latest SVN: r26029 || Logs: http://webster.openttdcoop.org/?channel=openttd.dev || Voice (talk-right) upon request via #openttd; make sure you are registered to NickServ before asking"
17:27:51  *** DorpsGek changes topic to "OpenTTD Dev Channel || Latest SVN: r26030 || Logs: http://webster.openttdcoop.org/?channel=openttd.dev || Voice (talk-right) upon request via #openttd; make sure you are registered to NickServ before asking"
17:30:42  *** DorpsGek changes topic to "OpenTTD Dev Channel || Latest SVN: r26031 || Logs: http://webster.openttdcoop.org/?channel=openttd.dev || Voice (talk-right) upon request via #openttd; make sure you are registered to NickServ before asking"
17:31:52  *** DorpsGek changes topic to "OpenTTD Dev Channel || Latest SVN: r26032 || Logs: http://webster.openttdcoop.org/?channel=openttd.dev || Voice (talk-right) upon request via #openttd; make sure you are registered to NickServ before asking"
17:36:01  *** DorpsGek changes topic to "OpenTTD Dev Channel || Latest SVN: r26033 || Logs: http://webster.openttdcoop.org/?channel=openttd.dev || Voice (talk-right) upon request via #openttd; make sure you are registered to NickServ before asking"
17:40:09  *** DorpsGek changes topic to "OpenTTD Dev Channel || Latest SVN: r26034 || Logs: http://webster.openttdcoop.org/?channel=openttd.dev || Voice (talk-right) upon request via #openttd; make sure you are registered to NickServ before asking"
18:11:06  *** LuHa has quit IRC
18:38:07  *** Zuu_ has joined #openttd.dev
18:44:55  *** Zuu has quit IRC
19:01:38  *** Zuu_ is now known as Zuu
21:10:45  *** tycoondemon has quit IRC
21:11:00  *** tycoondemon has joined #openttd.dev
21:13:24  *** Rubidium has quit IRC
21:13:24  *** juzza1 has quit IRC
21:13:24  *** michi_cc has quit IRC
21:13:24  *** JGR has quit IRC
21:13:24  *** dihedral has quit IRC
21:13:24  *** DorpsGek has quit IRC
21:13:25  *** frosch123 has quit IRC
21:13:25  *** peter1138 has quit IRC
21:13:25  *** Yexo has quit IRC
21:13:27  *** TheIJ has quit IRC
21:13:27  *** Hirundo has quit IRC
21:13:27  *** orudge has quit IRC
21:13:27  *** Terkhen has quit IRC
21:13:27  *** planetmaker has quit IRC
21:14:18  *** orudge has joined #openttd.dev
21:14:18  *** TheIJ has joined #openttd.dev
21:14:18  *** Hirundo has joined #openttd.dev
21:14:18  *** Terkhen has joined #openttd.dev
21:14:18  *** planetmaker has joined #openttd.dev
21:14:18  *** JGR has joined #openttd.dev
21:14:18  *** dihedral has joined #openttd.dev
21:14:18  *** michi_cc has joined #openttd.dev
21:14:18  *** charon.oftc.net sets mode: +vvvv orudge Terkhen planetmaker michi_cc
21:14:18  *** juzza1 has joined #openttd.dev
21:14:18  *** DorpsGek has joined #openttd.dev
21:14:18  *** Rubidium has joined #openttd.dev
21:14:18  *** charon.oftc.net sets mode: +ovv DorpsGek DorpsGek Rubidium
21:14:29  *** frosch123 has joined #openttd.dev
21:14:29  *** peter1138 has joined #openttd.dev
21:14:29  *** Yexo has joined #openttd.dev
21:14:29  *** coulomb.oftc.net sets mode: +vv frosch123 peter1138
21:19:10  *** ChanServ sets mode: +v Zuu
21:27:42  *** adf89 has quit IRC
21:40:30  *** Alberth has left #openttd.dev
22:05:35  *** frosch123 has quit IRC
22:41:18  *** Supercheese has joined #openttd.dev
22:45:35  *** Supercheese has quit IRC
22:45:55  *** Supercheese has joined #openttd.dev
22:45:55  *** ChanServ sets mode: +v Supercheese
23:07:55  *** Zuu has quit IRC

Powered by YARRSTE version: svn-trunk