IRC logs for #opendune on OFTC at 2011-05-17
            
02:29:15 *** glx has quit IRC
11:56:53 *** glx has joined #openDune
11:56:53 *** ChanServ sets mode: +o glx
11:57:10 <glx> hello
16:08:15 <DorpsGek> SVN: glx (r1560) -Add (#73): C-ified GUI_Mentat_Create_HelpScreen_Widgets() (patch by Alberth)
16:14:48 <DorpsGek> SVN: glx (r1561) -Add (#73): C-ified GUI_Get_Scrollbar_Position() (patch by Alberth)
17:38:15 *** Alberth has joined #openDune
18:53:50 <Alberth> emu_get_memory16(emu_ds, 0x00, 0x9AE2) = emu_dx; <-- g_global too short?
18:55:56 <glx> feel free to increase it :)
18:56:01 <glx> happened already
18:57:40 <DorpsGek> SVN: glx (r1562) -Add: C-ified GUI_Production_List_Click()
20:20:05 <Alberth> src/scenario.c looks quite old :)
20:21:56 <glx> it is
20:57:53 <Alberth> do you have a segment for B4FC ? (assuming emu_Ini_* funcs are interesting enough to translate
21:00:46 <glx> IIRC TrueBrain is on Ini functions
21:01:46 <TrueBrain> yup
21:01:48 <TrueBrain> almost done
21:01:49 <TrueBrain> need to test it
21:01:54 <Alberth> oh, he'll do the scenario code done :)
21:02:26 <Alberth> did f__01F7_3AF8_001D_A439 already?
21:02:59 <TrueBrain> I am only doing scenario.c and all INI related calls
21:03:37 <Alberth> http://devs.openttd.org/~alberth/f__01F7_3AF8_001D_A439.txt <-- I made a rough translation, it looks like a str function from the stdlib
21:04:55 <TrueBrain> 01F7 are all standard functions
21:04:58 <TrueBrain> so expect many of them
21:05:49 <Alberth> hmm
21:11:00 <glx> just name 01F7 functions ;)
21:11:07 <glx> no need to convert them
21:12:54 <glx> strtok maybe
21:13:06 <glx> based on second arg
21:14:11 <glx> yup really looks like strtok :)
21:18:19 <Alberth> never heard of it :)
21:18:29 <Alberth> anyway, good night
21:18:36 <TrueBrain> string to ......
21:18:40 <TrueBrain> what is the k?
21:18:41 <TrueBrain> night Alberth
21:18:46 <glx> token
21:19:06 *** Alberth has left #openDune
22:30:33 <DorpsGek> SVN: glx (r1563) -Add: C-ified GUI_Production_ResumeGame_Click() and GUI_Production_Upgrade_Click()
22:34:50 <glx> emu_xorw(&emu_si, emu_si);
22:34:50 <glx> emu_ax = emu_si;
22:34:50 <glx> emu_orw(&emu_ax, emu_ax);
22:34:50 <glx> if (emu_ax == 0) goto l__0115;
22:34:50 <glx> emu_cmpw(&emu_ax, 0x1);
22:34:52 <glx> if (emu_ax == 0x1) goto l__014B;
22:34:52 <glx> goto l__0194;
22:34:55 <glx> that's silly :)
23:04:48 <TrueBrain> clearly a jump didn't decompile :p
23:04:53 <TrueBrain> as there should be a label somewhere :)
23:09:41 <glx> no
23:09:52 <glx> it's a switch with always 0
23:10:19 <glx> and emu_si is incremented later but not used
23:21:28 <DorpsGek> SVN: glx (r1564) -Add: C-ified GUI_Production_Down_Click() and GUI_Production_Up_Click()