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