Log for #openttdcoop.devzone on 10th August 2011:
Times are UTC Toggle Colours
00:15:33  *** Webster has joined #openttdcoop.devzone
06:35:36  <planetmaker> moin
06:54:13  <Brot6> FIRS Industry Replacement Set - Revision 2292:0b997ae05710: Fix #2266: The tile has to accept LVS... (planetmaker) @
06:55:24  <Brot6> FIRS Industry Replacement Set - Bug #2944 (Rejected): Livestock is not accepted by any industry (andythenorth) @
06:55:24  <Brot6> FIRS Industry Replacement Set - Bug #2938 (Closed): Stockyard accepts FMSP instead of LVST (planetmaker) @
07:08:27  *** ODM has joined #openttdcoop.devzone
07:30:59  <Brot6> FIRS Industry Replacement Set - Revision 2293:e4c7cfd5f05a: Codechange: Apply secondary industry ... (planetmaker) @
07:44:12  <Brot6> FIRS Industry Replacement Set - Bug #2952 (New): Hotel production (planetmaker) @
07:46:59  <Brot6> FIRS Industry Replacement Set - Revision 2294:13f34c310505: Change: Make sure black hole industri... (planetmaker) @
07:46:59  <Brot6> FIRS Industry Replacement Set - Revision 2295:23f365bd2b5e: Codechange: Hotel uses templates for ... (planetmaker) @
07:50:57  <Brot6> FIRS Industry Replacement Set - Revision 2296:b92a078c847d: Codechange: Hardware store uses templ... (planetmaker) @
07:52:51  <Terkhen> fast :P
07:53:21  <planetmaker> that's not much to do for black hole industries
07:53:29  <Terkhen> :)
07:53:32  <planetmaker> actually I think already extend them: they now can also close down
07:53:43  <Terkhen> they couldn't before?
07:53:47  <planetmaker> or use the same closure mechanism as the others, if they could
07:53:57  <planetmaker> but I didn't see any code related to closures there
07:54:00  <Terkhen> did you borrow the random closure code from ogfx-industries? :P
07:54:37  <planetmaker> no, I didn't yet. I use 60 month minimum live time and then 25% per monthly callback
07:54:46  <planetmaker> that's what FIRS did, I didn't change that
07:55:04  <Terkhen> sounds quite similar to what I remember for ogfx-industries, maybe we borrowed the idea from FIRS first
07:55:22  <planetmaker> :-)
07:55:40  <planetmaker> I think of adding there a random component and displaying the livetime in the extra text
07:55:43  <planetmaker> but that's for later
07:55:50  <Terkhen> yes :P
07:55:55  <planetmaker> random component as in random extra livetime
07:56:14  <Terkhen> <--- that's what ogfx-industries do
07:56:15  <planetmaker> like 48 month + 4bit random months
07:56:40  <Terkhen> IIRC waiting for the random production callback gave us a bigger random interval instead of "a few months"
07:56:41  <planetmaker> that's deterministic after 60 months
07:56:55  <Terkhen> I remember testing it :P
07:57:04  <planetmaker> hm, yes, I think the random callback only closes
07:57:20  <planetmaker> but the monthly only randomly decides upon closure
07:57:42  <planetmaker> so yes, very similar :-)
08:03:00  <planetmaker> templating luckily is now mostly quick. I only need to adjust the location checks and production ratios in most cases
08:04:02  <planetmaker> thus he speaketh and finds something odd in the location code of grain mill...
08:05:05  <planetmaker> hm... what's variable 0x86?
08:05:05  *** andythenorth has joined #openttdcoop.devzone
08:05:23  <Terkhen> :P
08:05:27  <Terkhen> industry var?
08:06:02  <planetmaker> yes
08:07:04  <Terkhen>
08:08:53  <planetmaker> err... industry size?!
08:09:11  <planetmaker> that makes no sense in this context...
08:09:30  <planetmaker> and why is that not documented...
08:09:32  * planetmaker wonders
08:09:43  <planetmaker>
08:09:45  <Webster> Title: VariationalAction2/Industries - GRFSpecs (at
08:11:55  <Terkhen> that's what newgrf_industries.cpp says :P
08:12:09  <planetmaker> :-)
08:12:17  <andythenorth> I never considered that one :P
08:12:23  <andythenorth> wonder if I can find a use for it :D
08:14:16  <Terkhen> it is supposedly being used already :P
08:15:45  <andythenorth> :o
08:15:49  <andythenorth> where?
08:22:25  <planetmaker> grain mill
08:23:35  <planetmaker> Terkhen: but is it location or width and height?
08:24:19  <planetmaker> I love this line of code: 		case 0x85: DEBUG(grf, 0, "NewGRFs shouldn't be doing pointer magic"); break; // not supported
08:25:46  <Terkhen> location is probably a TileArea, in that case it is width and height of the industry
08:37:25  <planetmaker> as in tiles
08:37:49  <planetmaker> that doesn't make sense there, thus I'll edit it out :-P
08:38:58  <planetmaker> especially as I don't see a reason for checking for a value of 255 only for that variable
08:39:11  <planetmaker> and only then disallowing construction
08:41:43  <planetmaker> actually I only hope that the production texts for all industries are correct wrt production ratios... if not they'll be after I dealt with an industry ;-)
08:42:37  <planetmaker> Terkhen: if I can have a wish: address dairy and machine shop first :-) - they produce the most pointless warnings about unused action2s
08:44:24  <Brot6> FIRS Industry Replacement Set - Revision 2297:462a37878328: Codechange: Grain mill uses templates... (planetmaker) @
08:49:04  <Brot6> FIRS Industry Replacement Set - Revision 2298:fc7ef2592255: Codechange: Glass works uses template... (planetmaker) @
08:54:41  <Brot6> FIRS Industry Replacement Set - Revision 2299:a67ae7f54323: Codechange: Furniture factory uses te... (planetmaker) @
09:06:46  <Brot6> FIRS Industry Replacement Set - Revision 2300:4915073973d4: Codechange: Cement plant uses templat... (planetmaker) @
09:06:46  <Brot6> FIRS Industry Replacement Set - Revision 2301:6881b0a43b51: Fix: error in template description (planetmaker) @
09:07:59  <Terkhen> ok, I'll do them first :)
09:21:06  <Brot6> FIRS Industry Replacement Set - Revision 2302:4525cf8a197d: Codechange: Oil refinery uses templat... (planetmaker) @
09:27:13  <Brot6> FIRS Industry Replacement Set - Revision 2303:68139acd9bad: Codechange: Paper mill uses templates... (planetmaker) @
09:34:47  <Brot6> FIRS Industry Replacement Set - Revision 2304:77e2fbe91c7f: Codechange: Steelmill uses templates ... (planetmaker) @
09:34:55  *** andythenorth has left #openttdcoop.devzone
09:41:51  <Brot6> FIRS Industry Replacement Set - Revision 2305:f74158dce4c0: Codechange: Brickworks uses templates... (planetmaker) @
10:20:44  <Hirundo> planetmaker: var 0x86 is probably a special location check variable
10:22:44  <Hirundo> hmm.. 86	B	Supported by OpenTTD Supported by TTDPatch	Number of the selected layout, according to property 0A <- comparing with 255 doesn't make a lot of sense here either
10:28:51  <planetmaker> hm, thanks. Strange thing, still. But... it's removed and we can check it when something with the placement of grain mills would work funkily. Now it uses the default rules
10:29:04  <planetmaker> with its specific distance requirements to other industries only
10:30:39  <Brot6> FIRS Industry Replacement Set - Revision 2306:0f7a6d8e56dc: Codechange: Bauxite mine uses templat... (planetmaker) @
10:34:16  <Hirundo> #define THIS_STR_EXTRA_TEXT       STR_EXTRA_GLASS_WORKS <- for bauxite mine, is that correct?
10:35:38  <Brot6> FIRS Industry Replacement Set - Revision 2307:addbbc7bf13e: Cleanup: too many pointless things de... (planetmaker) @
10:36:48  <planetmaker> Hirundo: no, it's not :-)
10:36:54  <planetmaker> it's pointless as it's not used
10:38:14  <Hirundo> quite :)
10:38:36  <Brot6> FIRS Industry Replacement Set - Revision 2308:f842e94da426: Codechange: Unify naming of random pr... (planetmaker) @
10:47:21  <Brot6> FIRS Industry Replacement Set - Revision 2309:1219963f1808: Codechange: Rename the primary indust... (planetmaker) @
10:47:21  <Brot6> FIRS Industry Replacement Set - Revision 2310:4cd0db00c7a5: Codechange: Unify the naming of the c... (planetmaker) @
10:48:09  <planetmaker> Hirundo: all industries have still the callback_flags set - but use the new style of callbacks. Does it matter or is it then silently ignored?
10:48:17  <planetmaker> I just noticed...
10:48:41  <Hirundo> If you set the callbacks after setting the callback flags, they are overwritten/ignored
10:48:52  <planetmaker> good :-)
10:49:15  <planetmaker> and thanks
10:49:15  <Hirundo> Best to remove them, though
10:49:36  <planetmaker> yes, but that'd be part of a "cleanup properties" patch
10:50:09  <planetmaker> though... for the remaining primaries I can just remove it
10:54:01  <Brot6> FIRS Industry Replacement Set - Revision 2311:1f9db6ceb30f: Codechange: Give the file with the se... (planetmaker) @
11:01:06  <planetmaker> long live hg mv and sed -i.bak :-)
11:02:32  <planetmaker> hm, 31 secondary and 14 primary industries it seems :-)
11:02:50  <Brot6> FIRS Industry Replacement Set - Revision 2312:83945c5e1386: Codechange: Use similar filenames for... (planetmaker) @
11:05:07  <Ammler> planetmaker: you need the ".bak" for?
11:05:24  <planetmaker> I can't do that inplace without giving a backup filename
11:05:25  <Ammler> or is osx not able to use -i, still?
11:05:48  <planetmaker> the .bak then contains the old code
11:06:15  <Ammler> is that a osx issue or just an old sed?
11:06:29  <planetmaker> it's a matter of sed surely
11:06:51  <Ammler> well, on windows it isn't possible, no matter of sed :-)
11:07:36  <planetmaker> well, sed only accepts -i with an extension
11:07:50  <planetmaker> it doesn't accept -i without
11:08:29  <planetmaker> and... my man page... is from 2005 and from BSD:
11:08:31  <planetmaker> AUTHORS
11:08:31  <planetmaker>      Diomidis D. Spinellis <>
11:09:03  <planetmaker> and...      The -E, -a and -i options are non-standard FreeBSD extensions and may not be available on other operating systems.
11:09:13  <planetmaker> thus -i is never cross-platform
11:09:38  <Ammler> this sed is gnu 2009
11:09:59  <planetmaker> yes. But gnu-sed != sed
11:15:23  <Brot6> FIRS Industry Replacement Set - Revision 2313:3f86bc8dc1b9: Fix: Set the proper extra text for th... (planetmaker) @
11:20:29  <Brot6> FIRS Industry Replacement Set - Revision 2314:94af4e18bf71: Codechange: Sheep farm uses primary t... (planetmaker) @
11:26:12  <Brot6> FIRS Industry Replacement Set - Revision 2315:4af8245ca515: Codechange: Quarry uses templates for... (planetmaker) @
11:33:11  <Brot6> FIRS Industry Replacement Set - Revision 2316:e409c39f0d4b: Codechange: Oil wells use templates f... (planetmaker) @
11:54:09  <Brot6> FIRS Industry Replacement Set - Revision 2317:d96e6714baa6: Add: Template to check location for c... (planetmaker) @
11:54:09  <Brot6> FIRS Industry Replacement Set - Revision 2318:157237cabab2: Codechange: Oil rigs use templates fo... (planetmaker) @
12:01:43  <Brot6> FIRS Industry Replacement Set - Revision 2319:f2f5dfe26107: Codechange: Mixed farms use templates... (planetmaker) @
12:11:34  <Brot6> FIRS Industry Replacement Set - Revision 2320:cec9e5d28f59: Codechange: Junkyard uses templates f... (planetmaker) @
12:17:25  <Brot6> FIRS Industry Replacement Set - Revision 2321:6984a7790370: Codechange: Iron ore mine uses templa... (planetmaker) @
12:22:32  <Brot6> FIRS Industry Replacement Set - Revision 2322:0a1daf743e23: Codechange: Fruit plantation uses tem... (planetmaker) @
12:32:39  <Brot6> FIRS Industry Replacement Set - Revision 2323:56243257d290: Codechange: Forest uses templates for... (planetmaker) @
12:37:45  <planetmaker> @base 16 10 41
12:37:45  <Webster> planetmaker: 65
12:37:57  <planetmaker> @base 10 16 41
12:37:57  <Webster> planetmaker: 29
12:38:03  <planetmaker> @base 10 16 53
12:38:03  <Webster> planetmaker: 35
12:40:38  *** Lakie has joined #openttdcoop.devzone
12:49:29  <Brot6> FIRS Industry Replacement Set - Feature #2953 (New): Fishing grounds (planetmaker) @
12:51:08  *** Sylf has quit IRC
12:52:48  <Brot6> FIRS Industry Replacement Set - Feature #2742: Farms - location hint needed in fund menu (planetmaker) @
12:55:10  <Brot6> FIRS Industry Replacement Set - Bug #1901: Town industries failing to enforce separation distances (planetmaker) @
12:56:12  <Brot6> FIRS Industry Replacement Set - Feature #1824: Oil Well animation (planetmaker) @
12:59:37  <Brot6> FIRS Industry Replacement Set - Revision 2324:75bb5d28c17e: Codechange: Fishing ground uses (some... (planetmaker) @
13:21:49  <planetmaker> hm... availability code is seriously borked
13:22:13  <planetmaker> seems it forbids industry creation at map creation
13:33:06  <Brot6> FIRS Industry Replacement Set - Revision 2325:8b862ae28558: Fix: Coastal distance also applies to... (planetmaker) @
13:45:46  <Brot6> FIRS Industry Replacement Set - Revision 2326:593a75b6662b: Fix: Availability code was broken (planetmaker) @
13:50:55  <planetmaker> it was stupid to allow construction only by the player ;-)
13:59:12  <Brot6> FIRS Industry Replacement Set - Feature #2954 (New): Improved placement of fishing harbour (planetmaker) @
14:03:18  <Brot6> DictatorAI - Revision 133:e9327be3c64c: - Add structure to handle train stations (krinn) @
14:22:48  <Brot6> 2cc train set - Bug #2955 (New): shinkansen missing a graphic on one view (romazoon) @
14:42:50  <planetmaker> @calc 713307 / 365
14:42:51  <Webster> planetmaker: 1954.26575342
14:42:57  <planetmaker> @calc 713307 / 365.25
14:42:57  <Webster> planetmaker: 1952.92813142
14:50:53  <Brot6> DictatorAI - Revision 134:5d4e1cf72a2e: - Autopick train engine if we don't know what railtype to... (krinn) @
15:04:40  <planetmaker> hm... what size are the permanent storages for industries? DWord, right?
15:07:23  <Rubidium> aren't they all?
15:08:30  <planetmaker> so I assume, yes
15:09:56  <planetmaker> <-- but I'm having troubles understanding the difference between what I see in the debug string and the debug window
15:09:57  <Webster> Title: Imagebin - A place to slap up your images. (at
15:10:21  <planetmaker> (and actually the "why production doesn't work as I think it should")
15:11:34  <planetmaker> prod. rations are perm. storage 1...3. That's ok
15:11:53  <planetmaker> cargo processed... is something different
15:12:18  <Rubidium> not 7..9?
15:12:33  <planetmaker> and the dates received obviously are wrong, too; one of the should be the equiv. of 713xyz
15:13:04  <Rubidium> the 3 dates look awfully like 0, 0 and 0
15:13:24  <Rubidium> so.. 12..14?
15:13:24  <planetmaker> cargo processed is perm. storage 7..9, yes
15:13:33  <planetmaker> but values differ. Yes. 12..14 is date
15:13:52  <Rubidium> so which value differs?
15:13:56  <planetmaker> in the string, yes. In the debug window it's correct
15:14:08  <planetmaker> there we have a value of 713xyz for one of the dates
15:14:15  <planetmaker> which is the date last a ship visited the dock
15:14:24  <Rubidium> no, that's 11. Which isn't printed
15:14:47  <Rubidium> printed in the industry window string that is
15:15:15  <planetmaker> <-- that's my perm. storage assignment
15:15:33  <Rubidium> @calc 713421 / 365
15:15:33  <Webster> Rubidium: 1954.57808219
15:15:45  <planetmaker> that's the date of the game, yes
15:15:55  <Rubidium> hmm, that's a long date. Where the other dates seem to be short dates
15:16:26  <planetmaker> <-- added debug string definition
15:16:37  <planetmaker> yes, seems strings only take short dates
15:16:59  <planetmaker> but even if I print it as dword, I don't get anything else than 0
15:17:40  <Rubidium> dec vs hex?
15:18:14  <Rubidium> don't know what LOAD_PERM looks like
15:19:09  <planetmaker> that's just the call to load permanent storage.
15:19:32  <planetmaker> it should return a number not string
15:20:30  *** Sylf has joined #openttdcoop.devzone
15:23:12  <Rubidium> but if it doesn't add  a \b stuff'll go wrong, won't it?
15:24:38  <planetmaker> you mean... for the ID of the register?
15:25:49  * Rubidium has no clue what he means. He just types whatever comes to mind might be a probable cause
15:32:45  <planetmaker> hm... writing nfo takes ages :-|
15:48:17  <planetmaker> and I can't say the NFO looks readable
16:21:17  <Hirundo> planetmaker: What debug string is displayed?
16:22:45  <planetmaker> STR_EXTRA_TEXT_DEBUG_SECONDARY
16:23:09  <planetmaker> see sprites/nml/templates/extra_text_secondary.pnml
16:26:55  <planetmaker> most likely I screwed up somewhere in my production code... as that doesn't quite work out
16:27:07  <planetmaker> but I currently fail to see where or how :-)
16:28:18  <Hirundo> planetmaker: only the first 6 registers are copied, I think
16:31:11  <planetmaker> yes... the old debug string only uses 6...
16:31:47  <planetmaker> hm... it uses rotate...
16:32:09  <planetmaker> rotate is shift, right?
16:32:49  <Rubidium> not quite
16:33:01  <planetmaker> with adding the bits on the other end
16:33:07  <Hirundo> I do wonder how it actually works in the first place, since you write the values as dwords and read them as words
16:33:23  <planetmaker> Hirundo: it doesn't matter if I use DWORD_S
16:33:53  <Hirundo> I'm seeing WORD_S, you have a modified local copy?
16:34:12  <Rubidium> rotate does basically tmp = head[0]; head[0] = head[1]; head[1] = head[2]; head[2] = head[3]; head[3] = tmp;
16:34:36  <Rubidium> at least, if you're talking about the rotate string code
16:34:40  <planetmaker> yes, but my results are not different when I change the WORD_S to DWORD_S in the lang file
16:35:20  <planetmaker> I mean the NML rotate command which applies to numbers.
16:35:29  <planetmaker> switch(FEAT_INDUSTRIES, SELF, action2_4213, STORE_TEMP((rotate((LOAD_PERM(2) & 65535), 16) | (LOAD_PERM(1) & 65535)), 256)) {
16:36:18  <Rubidium> rotate != shift
16:37:27  <Rubidium> binary 11100000: (byte) shift 2: 10000000, rotate 2: 1000011
16:37:35  <planetmaker> well. rotate(a,16) = ((a & 0xFFFF0000) >> 16) | ((a & 0x0000FFFF) << 16)
16:37:44  <planetmaker> yes
16:39:36  <planetmaker> anyway. I think my main issue is most probably here somewhere in the variable juggling in sprites/nml/templates/produce_secondary.pnml
16:40:07  <planetmaker> as the automatic conversion code works
16:40:35  <planetmaker> but is there a 6 parameter limit for strings?
16:41:14  <Hirundo> there is (in this case) a 6 dword limit
16:41:45  <planetmaker> ok, good to know... what is "this case"?
16:41:53  <Hirundo> This callback
16:41:59  <planetmaker> ok
16:42:20  <Hirundo> Other callbacks may have different limits, limits might be lower on tuesdays... the usual stuff when dealing with NFO
16:42:46  <planetmaker> :-)
16:43:02  <planetmaker> thus I'll have to rework the extra_text_secondary anyway
16:43:11  <planetmaker> thanks
16:43:59  <Hirundo> although in OTTD, the limit seems 6 for all callbacks that support the stack
16:45:44  *** frosch123 has joined #openttdcoop.devzone
16:46:16  <Hirundo> Supported by OpenTTD 0.60.6 Supported by TTDPatch 2.6 (r1755)2.6  Since TTDPatch r1755, you can use the text reference stack for your error messages, similarly to callback 3A. The only difference is that only 4 registers are copied instead of 6 because error messages support 20 bytes of reference stack only, and two of those bytes may be used by TTD.
16:46:58  <Hirundo> (^location check)
16:51:34  <planetmaker> hm :-)
16:54:26  <planetmaker> quak :-)
16:55:16  <frosch123> moin
16:56:01  <Brot6> Nutracks - Revision 204:0521d3d542c9: Corrected fence and bridge offsets (oberhuemer) @
16:57:53  <Brot6> nutracks: update from r203 to r204 done -
17:04:53  <Brot6> Nutracks - Revision 205:9afec2764d2e: Fixed rails on vertical track sections (oberhuemer) @
17:06:58  <Brot6> nutracks: update from r204 to r205 done -
17:16:34  <planetmaker> suddenly the numbers in the debug string start to make sense, Hirundo :-)
17:18:14  *** LordAro has joined #openttdcoop.devzone
17:20:30  <Brot6> firs: update from r2284 to r2326 done (37 warnings) -
17:22:00  <Brot6> nutracks: update from r203 to r205 done -
17:23:09  <Brot6> Following repos didn't need a nightlies update: ogfx-trains (r248), narvs (r37), bros (r52), ogfx-industries (r122), opengfx (r721), ailib-tile (r16), foobarstramtracks (r23), transrapidtrackset (r28), 2cctrainset (r750), cets (r126), ailib-list (r32), opensfx (r97), ttdviewer (r34), worldairlinersset (r672), heqs (r638), openmsx (r97), basecosts (r25), nml (r1589), 32bpp-extra (r40), manindu (r7), newgrf_makefile (r305),
17:23:09  <Brot6> ailib-direction (r17), ailib-common (r21), snowlinemod (r49), dutchtramset (r87), ai-admiralai (r75), swisstowns (r22), metrotrackset (r56), spanishtowns (r10), frenchtowns (r6), grfpack (r279), ogfx-rv (r107), fish (r684), ogfx-landscape (r76), ttrs (r36), ogfx-trees (r51), swedishrails (r205), grfcodec (r833), ai-aroai (r39), german-townnames (r34), smts (r19), chips (r143), belarusiantowns (r8), indonesiantowns (r41), ailib-string
17:23:11  <Brot6> (r29), airportsplus (r107), comic-houses (r71)
17:23:52  <Brot6> narvs: compile of r37 still failed (#2789) -
17:25:03  <Brot6> NewGRF Meta Language - Revision 1590:2606f31dbb4e: Codechange: Remove the ability to pass (bogus)... (Hirundo) @
17:29:03  *** Sylf has quit IRC
17:41:01  *** Sylf has joined #openttdcoop.devzone
17:44:56  *** Lakie has quit IRC
17:59:24  <Brot6> Nutracks - Bug #2948 (Closed): Slope offsets (oberhuemer) @
18:06:07  <Brot6> Nutracks - Feature #2711: New fence sprites (oberhuemer) @
18:06:07  <Brot6> Nutracks - Feature #2711 (Closed): New fence sprites (oberhuemer) @
18:09:25  <Brot6> Nutracks - Feature #2956 (New): Change look of "track planning" (oberhuemer) @
18:16:46  *** andythenorth has joined #openttdcoop.devzone
18:22:21  *** LordAro has quit IRC
18:24:35  *** LordAro has joined #openttdcoop.devzone
18:38:39  <planetmaker> @base 16 10 34
18:38:39  <Webster> planetmaker: 52
18:43:31  <Brot6> NewGRF Meta Language - Revision 1591:b7abe9df00d3: Codechange: Always call remove_tmp_locations f... (Hirundo) @
18:50:39  *** LordAro has quit IRC
18:52:29  *** JVassie has joined #openttdcoop.devzone
18:54:17  *** LordAro has joined #openttdcoop.devzone
19:03:12  *** LordAro has quit IRC
19:05:32  <planetmaker> hm... debugging FIRS with FISH ;-)
19:05:49  <planetmaker> easy to build and nice to look at :-)
19:05:53  <Brot6> clientpatches: update from r22731 to r22732 done (6 warnings) -
19:06:02  <planetmaker> good to have a water-rich map, though
19:06:03  <andythenorth> :)
19:07:11  <planetmaker> current FIRS trunk is totally borked. Luckily it mostly works locally again ;-)
19:07:24  <andythenorth> ach
19:07:29  <andythenorth> nvm
19:07:38  <planetmaker> hm?
19:10:32  <planetmaker> andythenorth: what do you want in the debug strings?
19:10:46  <planetmaker> what you cannot just as easily see in the debug window?
19:10:51  <Brot6> openttd-vehiclevars: update from r22731 to r22732 done -
19:10:58  <andythenorth> planetmaker: can't recall
19:11:06  <andythenorth> debug window didn't exist when I created debug strings
19:11:16  <andythenorth> and I haven't changed production code much since I wrote it
19:11:24  <planetmaker> ah
19:11:33  <andythenorth> it might just be a prettified output of the persistent storage
19:11:34  <planetmaker> because the dbg window shows all persistant storage
19:11:35  <andythenorth> not sure
19:12:01  <planetmaker> and the dbg text can only have 6 vars... so it's rather compact and can only show less
19:12:24  <planetmaker> btw, andythenorth, I got the idea to show something like a closure countdown in the industry view
19:12:43  <andythenorth> I tested that with power station code - long deprecated
19:12:47  <andythenorth> didn't you do it in opengfx+
19:12:49  <andythenorth> ?
19:13:10  <andythenorth> planetmaker: there is a ticket for it also
19:13:12  <planetmaker> like "few customers" etc... up to "we're at the brink of closing down"
19:13:29  <planetmaker> not sure the months should be displayed directly
19:13:38  <andythenorth> #1088
19:13:38  <Brot6> andythenorth: #1088 is "FIRS Industry Replacement Set - Feature #1088: Indication of closure for all secondary industries - #openttdcoop Development Zone"
19:14:31  <planetmaker> oh, oooold :-)
19:15:28  <planetmaker> let's assign it to me. Then I can't forget ;-)
19:15:28  <Brot6> FIRS Industry Replacement Set - Feature #1088: Indication of closure for all secondary industries (planetmaker) @
19:15:49  <Brot6> serverpatches: update from r22731 to r22732 done (10 warnings) -
19:16:57  *** LordAro has joined #openttdcoop.devzone
19:18:05  <Brot6> 32bpp-ez-patches: compile of r22732 still failed (#2446) -
19:23:08  <Brot6> NewGRF Meta Language - Revision 1592:ea1db7e1379b: Doc: Improve railtype documentation. (Hirundo) @
19:24:17  <planetmaker> hm, not all bounding boxes in FIRS are correct
19:24:47  <andythenorth> no
19:24:55  <andythenorth> some are, to put it politely, fucked
19:25:08  <andythenorth> I've asked for help to understand them but got silence
19:25:14  <andythenorth> so I assume nobody understands them
19:25:28  <Rubidium> oh... when are they going to have little child sprites? ;)
19:26:19  <andythenorth> there are multiple that are known to flicker
19:26:34  <andythenorth> there are others almost certainly wrong
19:26:54  <andythenorth> and there are *numerous* that will be too big, or have wrong xetents or yextents, or even zextents
19:28:16  <Brot6> NewGRF Meta Language - Revision 1593:cc404004c861: Fix: Temp storage is var 7D, not 7F. (Hirundo) @
19:29:33  <Ammler> any good idea for the openttd mq spec, so building fails if qpush wasn't able to apply patches?
19:37:23  <V453000> hello from windows :D
19:43:36  <Ammler> @kick V453000
19:43:55  <Ammler> @services op
19:43:55  *** ChanServ sets mode: +o Webster
19:43:58  <planetmaker> andythenorth: well, they're not too easy to understand, but ... the x,y and zextend are in 1/16 of a tile
19:44:38  <planetmaker> or in the case of z, 1 = 8px
19:44:45  <planetmaker> offsets I mean. Offsets
19:45:26  <V453000> Ammler: evil :)
19:47:44  <Ammler> hello V :-)
19:48:00  <V453000> hi love :)
19:48:07  <V453000> I can finally continue drawing :D
19:48:24  <Ammler> yeah, better draw on windows as nowhere :-P
19:48:58  <V453000> quite :D
19:49:10  <V453000> coding has to wait
19:49:11  <Ammler> any you could use the devzone to build the grf
19:49:24  <Ammler> just enable build on push
19:49:38  <V453000> dude realize I have no clue what build on push is
19:49:48  <V453000> especially when it comes to enabling it
19:50:00  <V453000> :p
19:50:02  <Ammler> that about all I can do for you :-)
19:50:08  <V453000> :D k :)
19:50:35  <Ammler> but you need someone else to setup initial system
19:50:50  <V453000> :)
19:51:20  <Ammler> I am not sure, if simply installing the newgrf_framwork zip is fine enough
19:58:46  <Brot6> NewGRF Meta Language - Revision 1594:8a239c001779: Codechange: Allocate registers for the produce... (Hirundo) @
19:58:46  <Brot6> NewGRF Meta Language - Revision 1595:2da4dc23085d: Codechange: No longer allocate registers 0x80-... (Hirundo) @
20:00:33  *** andythenorth has quit IRC
20:06:02  *** andythenorth has joined #openttdcoop.devzone
20:19:15  <planetmaker> @calc 0x85 / 80
20:19:15  <Webster> planetmaker: 1.6625
20:19:24  <planetmaker> @base 16 10 85
20:19:24  <Webster> planetmaker: 133
20:19:31  <planetmaker> @calc 133/80
20:19:31  <Webster> planetmaker: 1.6625
20:19:33  <planetmaker> hm
20:20:22  <planetmaker> @calc 133/8*5
20:20:23  <Webster> planetmaker: 83.125
20:20:40  <planetmaker> @calc 133/8
20:20:40  <Webster> planetmaker: 16.625
20:35:01  <planetmaker> @calc floor(52/8)*5
20:35:01  <Webster> planetmaker: 30
20:35:37  <planetmaker> @calc 52/8*5
20:35:37  <Webster> planetmaker: 32.5
20:35:52  <planetmaker> @calc floor(52/8)*8
20:35:52  <Webster> planetmaker: 48
20:35:58  <planetmaker> hm, aha
20:36:50  <planetmaker> @calc floor(52*8)/8)
20:36:53  <planetmaker> @calc floor(52*8)/8
20:36:53  <Webster> planetmaker: 52
20:40:57  <planetmaker> Hirundo: I get a "This expression is not supported in a switch-block" for line 8 of
20:42:15  <Hirundo> hmm... tests
20:43:40  <Hirundo> planetmaker: try the newest nml (r1594+)
20:45:06  <planetmaker> :-)
20:45:30  <planetmaker> I didn't notice that anything changed there, brilliant :-)
20:46:37  <Hirundo> I didn't either, it's an unexpected surprise
20:47:04  <Hirundo> It was really meant as "just a codechange" :)
20:56:09  <planetmaker> :-)
20:59:46  <planetmaker> hm...
21:01:03  <Brot6> DictatorAI - Revision 135:b3104e5d095b: - Working on old code for trains (krinn) @
21:10:46  *** LordAro has quit IRC
21:12:03  <Brot6> FISH - Bug #2957 (New): alignment of purchase menu sprites (planetmaker) @
21:23:13  *** frosch123 has quit IRC
21:30:58  *** JVassie has quit IRC
21:34:56  *** ODM has quit IRC
21:45:26  <andythenorth> good night
21:45:27  *** andythenorth has left #openttdcoop.devzone
21:53:03  <Brot6> NewGRF Meta Language - Revision 1596:ad15cfa1590b: Fix: Fixing regression is pointless if you don... (Hirundo) @
21:53:04  <Brot6> NewGRF Meta Language - Revision 1597:9a37ca182521: Doc: Improve railtype documentation (again). (Hirundo) @
22:14:57  <planetmaker> @calc 52/8
22:14:57  <Webster> planetmaker: 6.5
22:16:22  <planetmaker> @calc floor(52/8)*5
22:16:22  <Webster> planetmaker: 30
22:16:38  <planetmaker> @calc floor(189/8)*5
22:16:38  <Webster> planetmaker: 115
22:31:37  <planetmaker> calc floor(86/8)
22:40:16  <Brot6> FIRS Industry Replacement Set - Revision 2327:ec77a38ac094: Fix: Produce both primary output cargos (planetmaker) @
22:40:16  <Brot6> FIRS Industry Replacement Set - Revision 2328:60b882b61bbb: Fix: Secondary production template an... (planetmaker) @

Powered by YARRSTE version: svn-trunk