IRC logs for #openttd.dev on OFTC at 2015-10-29
⏴ go to previous day
13:35:41 *** Supercheese has joined #openttd.dev
13:35:41 *** ChanServ sets mode: +v Supercheese
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:17:50 *** adf88 has joined #openttd.dev
19:17:50 *** ChanServ sets mode: +v adf88
19:22:45 *** adf88 has joined #openttd.dev
19:22:45 *** ChanServ sets mode: +v adf88
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: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:16 <adf88> actually it's not "1x zoom level", it's 4x :) (ZOOM_LVL_BASE)
19:45:04 <frosch123> it's the traditional 1x zoom
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
20:23:29 *** ChanServ sets mode: +o DorpsGek
continue to next day ⏵