IRC logs for #openttd on OFTC at 2020-07-10
⏴ go to previous day
05:42:26 <CornsMcGowan[m]> i feel its easier to read down the list to find the cargo i want than it is to try match the cargo colour to the chart
06:35:59 <Eddi|zuHause> but would that be the value at the start or the end of the graph?
06:36:39 <CornsMcGowan[m]> the start i reckon
06:36:58 <CornsMcGowan[m]> greatest dispersion of values usually there
06:37:54 <CornsMcGowan[m]> at least in vanilla and firs3 economies, the lines are most spread out at the start
06:37:59 <Eddi|zuHause> i'm not convinced it's a good idea
06:41:55 <CornsMcGowan[m]> are you happy with the current way the cargo payment rates graph is laid out?
06:55:27 <Eddi|zuHause> no, the whole window and the graph itself are horrible, the list order is the least of the problems
06:57:54 <CornsMcGowan[m]> well, until somebody does a full remake of the window, i reckon for now this will be a good improvement
07:17:43 *** sla_ro|master has joined #openttd
07:40:39 *** andythenorth has joined #openttd
09:32:58 *** andythenorth has joined #openttd
09:33:21 <CornsMcGowan[m]> are we guarunteed that only one of the rail/road/tram/canal/airport build toolbarsa will be open/activate at one time?
09:33:47 <CornsMcGowan[m]> or that the toolbar instances will exist simultaneously
09:47:16 <Eddi|zuHause> for what purpose do you need that guarantee?
09:54:54 * andythenorth wonders what the most performant way is to find out if an industry tile is at the edge of a layout
09:55:25 <andythenorth> pre-compute in python by checking offsets to other positions in layout (x, y)?
09:55:42 <andythenorth> or just do it in openttd by checking if neighbouring tiles are same industry?
09:57:29 <andythenorth> and whether it really matters :P
09:58:08 <Eddi|zuHause> intuitively i'd say you should encode that into the ID of the industrytile
09:59:09 <andythenorth> considered that, but (1) it consumes IDs too fast, there aren't that many (2) the ID is already used for animated / non-animated / differently animated
09:59:41 <andythenorth> I think it's probably 5 minutes work in python, if I think about it for a day first :P
10:12:51 <LordAro> andythenorth: don't try optimising before profiling
10:13:04 <LordAro> premature optimisation is the root of all evil, etc etc
10:14:57 <andythenorth> how do you profile newgrf tile varact 2 chain during industry placement? :P
10:15:09 <andythenorth> other than A-B testing, maybe with a GS
10:15:22 <andythenorth> I do tend to agree :)
10:15:54 <LordAro> you could write the algorithm in something that can be profiled?
10:16:08 <andythenorth> I could just ship the change and await complaints
10:16:41 <andythenorth> I want to enforce a bigger minimum gap between industries
10:16:44 <andythenorth> currently 1 tile gap
10:17:02 <andythenorth> 2 tiles is potentially 4 times as many checks, depending how many vectors are checked
10:23:12 <_dp_> how's that even a question? ofc pre-computed stuff will be faster unless it's stored awfully ineffecient
10:34:50 <andythenorth> efficient for who?
10:34:54 <andythenorth> OpenTTD or me? :)
10:35:18 <andythenorth> no I admire grammar pedantry
10:35:34 <andythenorth> 'to lunch' or 'at lunch' not 'on lunch' is the hill I will die on
10:35:57 * LordAro should of pushed andythenorth off of his hill
11:18:37 *** gelignite has joined #openttd
11:38:33 <CornsMcGowan[m]> Eddi|zuHause: was wondering if i could get away with a singleton for the route planner tools or not
11:39:14 <CornsMcGowan[m]> LordAro: isn't it "should have" instead of "should of"
11:39:35 <LordAro> CornsMcGowan[m]: thatsthejoke.jpg
11:42:05 <LordAro> also "off of" is absolutely never correct
11:43:04 <CornsMcGowan[m]> i have been wooshed
11:59:41 *** Webster has joined #openttd
12:04:34 *** ^Spike^ has joined #openttd
12:06:10 *** planetmaker has joined #openttd
12:06:10 *** ChanServ sets mode: +o planetmaker
12:18:24 *** Hazzard has joined #openttd
12:19:16 *** Hirundo has joined #openttd
12:19:46 *** ^Spike^ has joined #openttd
12:48:22 *** blathijs has joined #openttd
14:59:45 *** snail_UES_ has joined #openttd
15:45:12 <DorpsGek_III> [OpenTTD/OpenTTD] LordAro approved pull request #8260: Codechange: Spell 'Viewport' consistently https://git.io/JJmhB
15:46:53 <DorpsGek_III> [OpenTTD/OpenTTD] LordAro approved pull request #8264: Add: [CMake] Source group definitions for MSVC project filters. https://git.io/JJmhE
15:47:09 <DorpsGek_III> [OpenTTD/OpenTTD] LordAro approved pull request #8258: Codechange #8258: Remove unused town cargo caches from the savegame https://git.io/JJmhg
15:47:59 <DorpsGek_III> [OpenTTD/OpenTTD] LordAro merged pull request #8247: Fix #8162: Improve Error Message When Converting Town Owned Road https://git.io/JJvUx
15:48:05 <DorpsGek_III> [OpenTTD/OpenTTD] LordAro closed issue #8162: Converting town-owned road returns ambiguous/unhelpful error message https://git.io/Jfu9j
15:48:25 <DorpsGek_III> [OpenTTD/OpenTTD] LordAro merged pull request #8236: Fix #7772: Show destination on mouseover when vehicle stopped (and not in depot) https://git.io/JfpUS
15:48:50 <DorpsGek_III> [OpenTTD/OpenTTD] LordAro merged pull request #8196: Fix: Adjust .gitignore to CMake build system. https://git.io/JfMLt
15:48:59 <LordAro> crap, should've squashed that one
16:05:16 <CornsMcGowan[m]> hm, inflation affects prices by a fixed multiplier
16:05:42 <CornsMcGowan[m]> so should i use cargo->initial_payment for sorting or cargo->current_payment? they should result in the same outcome right?
16:09:06 *** ChanServ sets mode: +v tokai
16:40:12 <CornsMcGowan[m]> sorted by initial cost
16:44:01 *** WormnestAndroid has quit IRC
16:44:15 *** WormnestAndroid has joined #openttd
16:44:53 <DorpsGek_III> [OpenTTD/OpenTTD] Hexus-One opened pull request #8268: Change: Sort cargo payment rates legend in order of (initial) cost instead of alphabetically https://git.io/JJYvO
16:48:05 <glx> CornsMcGowan[m]: could it be configurable ?
16:48:16 <CornsMcGowan[m]> oh like, as a setting?
16:48:45 <CornsMcGowan[m]> possible to make it as such - i just swap between the macros in graph_gui.cpp
16:48:50 <glx> I think sometimes you want to show only some cargo, and it's easier to find them alphabetically
16:49:19 <CornsMcGowan[m]> oh like, adding extra buttons to sort, in the same way as industry list or station list can be sorted?
16:50:51 <CornsMcGowan[m]> that would be nice
16:51:02 <CornsMcGowan[m]> oh wouldn't that be more strings to mess with
16:51:16 <CornsMcGowan[m]> oh i could just steal the strings from vehicle list (name, cost)
16:51:44 *** WormnestAndroid has quit IRC
16:51:57 *** WormnestAndroid has joined #openttd
16:53:14 <DorpsGek_III> [OpenTTD/OpenTTD] Hexus-One updated pull request #8268: Change: Sort cargo payment rates legend in order of (initial) cost instead of alphabetically https://git.io/JJYvO
16:58:27 <CornsMcGowan[m]> hm i'll leave making it configurable to another day
17:40:14 *** Wormnest has joined #openttd
17:46:57 *** supermop_Home_ has joined #openttd
18:01:42 *** Econhero has joined #openttd
18:03:15 *** HerzogDeXtEr has joined #openttd
18:04:44 *** Progman has joined #openttd
18:06:02 <supermop_Home_> andy looks weird with the flat sided 90s and mk4s, like a poor mans 225
18:06:46 <supermop_Home_> are there that many spare mk4s relative to 91 sets?
18:07:46 *** y2kboy23 has joined #openttd
18:28:15 <Econhero> Is the translation email id up? I have sent a message there to join.
18:37:59 *** frosch123 has joined #openttd
18:38:11 <Eddi|zuHause> it may take some time
19:33:04 <DorpsGek_III> [OpenTTD/OpenTTD] michicc merged pull request #8264: Add: [CMake] Source group definitions for MSVC project filters. https://git.io/JJImg
19:42:40 *** WormnestAndroid has quit IRC
19:42:44 *** WormnestAndroid has joined #openttd
20:03:59 *** Wormnest has joined #openttd
20:28:07 *** b_jonas has joined #openttd
21:02:13 *** jottyfan has joined #openttd
21:37:39 *** sla_ro|master has joined #openttd
21:45:02 *** Wormnest has joined #openttd
22:05:30 *** WormnestAndroid has quit IRC
22:05:44 *** blathijs has joined #openttd
22:05:46 *** WormnestAndroid has joined #openttd
23:51:13 *** HoppyHaus has joined #openttd
23:53:02 <HoppyHaus> Hey, is there a command to actually create a company?
23:55:30 <andythenorth> hmm do I need a OO Hymek
continue to next day ⏵