IRC logs for #opendune on OFTC at 2011-05-09
            
02:52:25 *** glx has quit IRC
06:31:49 *** Xaroth has joined #openDune
06:31:49 *** ChanServ sets mode: +o Xaroth
11:48:08 *** Xaroth has quit IRC
11:56:17 *** Xaroth has joined #openDune
11:56:17 *** ChanServ sets mode: +o Xaroth
12:05:03 *** glx has joined #openDune
12:05:03 *** ChanServ sets mode: +o glx
12:05:21 <glx> hello
12:24:38 <Xaroth|Work> o/
14:06:08 <glx> emu_incw(&locdi);
14:06:08 <glx> emu_xorw(&locdi, locdi);
14:06:08 <glx> so useful :)
14:10:35 <TrueBrain> you can't be to sure :D
14:22:50 <glx> I hate local arrays
16:08:41 <glx> yeah totally unsafe code
17:33:12 <glx> and of course it doesn't work :(
17:33:20 <glx> I hate huge functions
17:48:33 * planetmaker gives glx many small functions, all with global arrays ;-)
17:55:48 <glx> ho stupid mistake
17:55:51 <glx> let's test
17:57:57 <glx> hmm another bug
17:58:33 <glx> I had wrong text, now I have no text
18:11:15 *** Alberth has joined #openDune
18:54:06 <glx> ok maybe f__01F7_39F5_0008_F939() is not exactly strtok
18:54:53 <Alberth> :)
18:55:21 <glx> it's more like a strchr with multiple searched chars
18:56:01 <glx> ha looks like strsep indeed
18:56:34 <Alberth> bummer, I thought I had found my mistake in b4da_0ab8, but no :(
18:57:53 <glx> yeah looks like MSVC doesn't know it
18:58:08 <Alberth> I have really run out of ideas, unless you count extreme measures like weaving the translated in the original code, and constantly checking whether the values match
18:58:29 * Alberth also doesn't know str*(), except strlen()
18:58:47 <glx> when that happens I restart the conversion in another repo
18:59:02 <glx> and I do it in runnable steps
18:59:15 <glx> (when possible of course)
18:59:55 <glx> ok mingw doesn't know it either
19:02:02 <glx> hmm it's not really strsep either
19:02:58 <glx> maybe strpbrk then
19:03:40 <glx> description seems exactly like the code
19:03:49 * Alberth votes for Str_Something()
19:04:14 <glx> used only in the function I'm converting
19:04:32 <Alberth> I have the patch now in 31 pieces, and they all seem very reasonable :p
19:05:22 <SmatZ> :)
19:05:35 <glx> yeah strpbrk is known by msvc and mingw
19:05:49 <Alberth> I probably best leave the function for a while :)
19:07:13 <glx> some progress, but still a bug
19:20:49 <glx> looks like strpbrk doesn't work
19:26:20 <glx> oh it's my fault
19:26:55 <glx> global.h says "|\n" when the actual content is 05 0D 00
19:28:23 <glx> it's better with \r
19:31:12 <Alberth> just 3 bits off :)
19:32:13 <glx> | is not 05 ;)
19:35:55 <glx> ok with \x05\r I get a better result
19:36:03 <glx> but there's still a bug :)
19:40:42 <glx> it's too easy to do mistakes in huge functions
20:12:16 *** TinoDidriksen has quit IRC
20:12:35 *** TinoDidriksen has joined #openDune
20:55:28 <Alberth> the intro crashes in clean trunk here
20:56:42 <Alberth> unfortunately, I discover such things right before going to bed
20:57:50 *** Alberth has left #openDune
21:08:15 <glx> no crash here, but hangs
21:08:47 <glx> but music continues
21:26:39 <glx> ok crash confirmed (voices related)
21:42:28 <DorpsGek> SVN: glx (r1543) -Fix: resolved some unresolved jumps triggered when playing voices