IRC logs for #openttd.dev on OFTC at 2014-05-19
⏴ go to previous day
11:32:37 *** Supercheese has joined #openttd.dev
11:32:37 *** ChanServ sets mode: +v Supercheese
15:12:41 *** Alberth has joined #openttd.dev
15:12:41 *** ChanServ sets mode: +v Alberth
17:15:39 *** frosch123 has joined #openttd.dev
17:15:39 *** ChanServ sets mode: +v frosch123
18:32:25 <frosch123> do you check for duplicates multiple times?
18:32:39 <frosch123> there is somethnig around line 1470 and 1530
18:34:29 <Alberth> the latter is for the case !has_grfid, ie the assignment at line 1494
18:35:05 <frosch123> well, but why don't you just add all grfs, and then check for duplciates at the end?
18:35:35 <frosch123> anyway, GRFConfig copy constructor looks fine
18:38:02 <Alberth> I am worried about 1510 the FillGrfDetails, it loads the grf file, instead of relying on already present data
18:41:27 <frosch123> but only makes a difference if that part of the config is loaded before grfscan
18:42:28 <frosch123> but it is called for the !minimal case in LoadFromConfig, thus after the scan
18:42:50 <Alberth> ok, it just looks scary thus :p
19:09:08 *** Klanticus has joined #openttd.dev
21:02:01 *** Alberth has left #openttd.dev
23:11:33 *** Supercheese has joined #openttd.dev
23:11:33 *** ChanServ sets mode: +v Supercheese
continue to next day ⏵