IRC logs for #openttd.dev on OFTC at 2015-10-29
            
13:35:11 *** Supercheese has quit IRC
13:35:41 *** Supercheese has joined #openttd.dev
13:35:41 *** ChanServ sets mode: +v Supercheese
16:56:53 *** Supercheese has quit IRC
18:12:28 *** frosch123 has joined #openttd.dev
18:12:28 *** ChanServ sets mode: +v frosch123
19:07:36 *** Zuu has joined #openttd.dev
19:07:36 *** ChanServ sets mode: +v Zuu
19:17:50 *** adf88 has joined #openttd.dev
19:17:50 *** ChanServ sets mode: +v adf88
19:21:27 *** adf88 has quit IRC
19:22:45 *** adf88 has joined #openttd.dev
19:22:45 *** ChanServ sets mode: +v adf88
19:42:52 <adf88> hi there
19:42:59 <adf88> ScaleGUITrad documentation is confusing IMO
19:43:15 <adf88> a value in units relative to "normal" interface size
19:43:31 <adf88> and converts it to units relative to currently set interface size
19:43:36 <adf88> the doc says:
19:43:50 <adf88> * @param value Pixel amount at 1x zoom level.
19:43:50 <adf88> * @return value Pixel amount at #ZOOM_LVL_GUI.
19:44:02 <adf88> see the problem already>
19:44:04 <adf88> ?
19:44:16 <adf88> actually it's not "1x zoom level", it's 4x :) (ZOOM_LVL_BASE)
19:44:47 <frosch123> duplicate "value"?
19:45:04 <frosch123> it's the traditional 1x zoom
19:45:06 <adf88> no
19:45:07 <frosch123> no 4x-zoom in
19:45:12 <adf88> yes, that too
19:45:19 <adf88> but i'm proposing something like
19:45:20 <adf88> - * @param value Pixel amount at 1x zoom level.
19:45:20 <adf88> - * @return value Pixel amount at #ZOOM_LVL_GUI.
19:45:20 <adf88> + * @param value Pixel amount at #ZOOM_LVL_BASE ("normal" interface size).
19:45:20 <adf88> + * @return value Pixel amount at #ZOOM_LVL_GUI (current interface size).
19:45:54 <frosch123> ok, ZOOM_LVL_BASE is fair enough
19:47:10 <frosch123> "1x" refers to LVL_BASE, because it makes no sense to make stuff depend on LVL_BEGIN
19:47:20 <frosch123> LVL_BEGIN changes whenever someone adds more zoom-in levels
19:47:27 <frosch123> LVL_BASE stays forever :p
19:49:49 <frosch123> https://paste.openttdcoop.org/pckjrpqne?/pckjrpqne <- something like that?
19:50:55 <adf88> ok to me
20:23:29 <frosch123> @services op
20:23:29 *** ChanServ sets mode: +o DorpsGek
20:45:41 *** adf88 has quit IRC
22:55:32 *** frosch123 has quit IRC
22:55:47 *** Zuu has quit IRC