Times are UTC Toggle Colours
05:19:55 *** keikoz has joined #openttd 06:41:06 <rito12_51026> zanooda2000: Maybe symbols from physics could be used e.g.`v[m/s]` instead of speed or `I[A]` for electric current. I'm not sure what should be used for cost though. 06:41:25 *** keikoz has quit IRC 06:46:35 *** keikoz has joined #openttd 06:47:39 *** reldred has joined #openttd 06:47:39 <reldred> rito12_51026: whatever the current currency's symbol is? 06:53:55 <rito12_51026> So just $ for cost if dollars are choosen 06:54:23 <reldred> Yeah I mean if you're trying to keep it as short as possible 06:54:54 <reldred> But things like current are going to be tricky anyway depending on how the sets in question define those badges. 06:55:04 <reldred> Total crapshoot I daresay 06:55:23 <reldred> you're trying to hardcode a search for a pattern that's user defineable 07:01:30 <rito12_51026> Why not something like `C[$]`? 07:02:30 <rito12_51026> The current was only an example 07:03:21 <reldred> Yeah I dunno. At that point 'Cost' is the same amount of characters. 07:04:50 <rito12_51026> But `Koszt` or `Kosten` are a bit longer 07:05:06 <reldred> Yeah was gonna say translations are where things get skewiff 07:05:59 <reldred> But is C going to make sense in another language either? Language wise you're now going to have to define another new string, the one letter abbreviation of whatever 'cost' is and get that translated too. 07:07:03 <rito12_51026> It could be translatable 07:07:52 <rito12_51026> e.g. `k[$]` for pl 07:10:12 <rito12_51026> Or mayby just a first letter from the full word `S`from speed `C` from cost 07:10:23 <reldred> Might be worth waiting for one of the yellow names to pop online again, they're the only ones you have to worry about pleasing 😄 07:12:34 <reldred> Thinking though in terms of what thosee fields are going to contain; speeds are going to be measured in KPH or MPH, so you only need to hit three digits there to already have a budget of 6 characters for the column title, costs will skyrocket with maglev track sets and some of the more realism orientated track sets, so assuming a single character for currency and a four or five digit cost you're 07:13:28 <reldred> And if you add any badge as a column you're up shit creek, probably best to sccale the column automatically to whatever the biggest 'value' is and truncate the badge name. 07:13:37 <rito12_51026> What about game units? 07:13:51 <reldred> hmm? 07:16:54 <rito12_51026> reldred: So the behavior could be displayed as b. or beh... 07:18:11 <reldred> Behavior is a badge, so yeah as soon as you start loading badges in as columns your nice well manicured UI is going to go to hell because you have no control over what a grf author does 07:18:46 <reldred> Which is the current problem with the dropdown list you're trying to solve 🤣 07:18:52 <reldred> I do not envy you. 07:21:04 <rito12_51026> I do not know if it is worth it as my current code causes segmentation faults 07:29:55 <reldred> Keep at it, you've gotten further than most do 🙂 07:30:07 <rito12_51026> It is only reproducible with Horse and U&ReRMM turned on at the same time 07:31:08 <reldred> Yeah Horse and U&Rermm are the only two that support the behavior badge at the moment. Horse would be the one to define it. Nobody else does high speed rail using that method that I know of. JP+ implement Shinkansen a different way. 07:32:39 <rito12_51026> I mean the segfault does not occur when only one of them is on 07:33:22 <reldred> Ah, now that's a difficult pickle. I dare say though it's still related to that badge. See if Peter has any ideas when he's online next, badges are his baby. 07:34:14 <reldred> onl