IRC logs for #opendune on OFTC at 2011-05-10
            
03:06:19 *** glx has quit IRC
08:39:48 *** DorpsGek has joined #openDune
08:39:48 *** ChanServ sets mode: +o DorpsGek
11:59:06 *** glx has joined #openDune
11:59:06 *** ChanServ sets mode: +o glx
11:59:33 <glx> hello
12:38:13 *** glx has quit IRC
12:43:11 *** glx has joined #openDune
12:43:11 *** ChanServ sets mode: +o glx
13:08:41 <glx> Xaroth: improvement for diff viewer (not tested)
13:13:18 <DorpsGek> SVN: glx (r1544) -Add: C-ified PlayCredits()
13:26:36 <Xaroth> ?
13:30:48 <glx> line counter are wrong
13:31:55 <Xaroth|Work> it gets those from the diff :o
13:32:06 <Xaroth|Work> link me a broken diff then
13:32:06 <glx> @@ -964,13 +1199,7 @@ <-- you take only the first one
13:32:18 <glx> http://svn.opendune.org/~glx/temp.patch
13:32:19 <Xaroth|Work> er, hm
13:33:01 <Xaroth|Work> true that
13:33:05 <Xaroth|Work> error noted :)
13:33:17 <Xaroth|Work> still in dubio if i want to re-do some of the sites for opendune
13:33:31 <Xaroth|Work> like 1 generic interface for svn browsing, front page and diff viewing etc
13:34:51 <glx> my changes to svn.class.php and diff.tpl should be enough if I understood the code :)
13:35:58 <Xaroth|Work> feel free to apply them :)
13:39:11 <glx> I can't
13:49:08 <Xaroth|Work> got me a diff then? :P
13:56:02 <glx> I just modified the files from /var without making a diff
14:07:26 <Xaroth|Work> ah
14:07:33 <Xaroth|Work> then they are already applied?
14:08:39 <glx> modified on my computer :)
14:08:50 <glx> I don't have write access in /var
14:09:15 <glx> http://devs.opendune.org/~glx/svnview/
14:09:26 <glx> I just noticed I forgot to paste the link
14:09:31 <glx> :)
14:09:53 <glx> the modified files are there
14:10:53 <Xaroth|Work> ah
14:14:31 <Xaroth|Work> applied
14:15:00 <Xaroth|Work> hmm
14:15:14 <glx> there's a bug
14:15:30 <Xaroth|Work> I think you mixed the left and right hand up :P
14:16:16 <glx> indeed, bug in tpl
14:16:45 <glx> invert index and indexnew
14:16:53 <glx> line 6
14:17:37 <Xaroth|Work> like so
14:18:03 <glx> now it works well
14:18:06 <Xaroth|Work> :)
14:18:14 <Xaroth|Work> how's your python skillz btw? :o
14:18:27 <glx> not very good
14:18:48 <Xaroth|Work> ack :P
14:19:01 <Xaroth|Work> ah well, it's not like it's a hard language :P
14:19:10 <glx> but I'm able to read almost any language :)
14:19:30 <glx> except lisp
14:19:38 <glx> too many parenthesis ;)
14:20:33 <Xaroth> hehehe
15:22:24 <DorpsGek> SVN: glx (r1545) -Add: C-ified GameCredits_LoadPaletteAndSprites()
17:59:23 *** Alberth has joined #openDune
18:39:46 *** Alberth has quit IRC
18:41:10 *** Alberth has joined #openDune
18:59:54 <Alberth> why was r1543 needed? that is, how did the new jumps get triggered?
19:10:25 <glx> timing issues I guess
19:11:02 <glx> more conversion implies faster code
19:11:45 <glx> so interrupt happens at different "places"
19:13:51 <glx> btw usually voices are not enabled for me (detection fails due to timing issues ;) )
19:16:39 <Alberth> for me it is only on because that is the default in the data files :p
19:17:06 <glx> it's on for me, but rarely starts :)
19:17:52 <glx> but when I forced them yesterday intro crashed
19:31:25 <Alberth> for me too, of course it took a while to realize it was not my patch :p
20:53:55 <DorpsGek> SVN: glx (r1546) -Add: C-ified GameCredits_1DD2_0008()
20:59:20 <DorpsGek> SVN: glx (r1547) -Fix: removed unused functions
20:59:40 <Alberth> less stuff is better :p
21:00:32 <glx> especially the emu_empty2 call you left in a conversion ;)
21:02:22 <Alberth> :p
21:02:32 <Alberth> http://www.fpaste.org/242v/ <-- how to translate this?
21:02:51 <Alberth> function pointers in the middle of global space?
21:03:26 <glx> widget->drawproc.csip = 0x353F25DE
21:04:30 <glx> hmm emu_ds is probably not 0x353F in this case
21:05:35 <Alberth> I was thinking that too, but that seems not true, cs__B4E0.c line 1926
21:06:11 <Alberth> above you have 80xx addresses accessed which nicely fit in some unallocated global space
21:07:04 <Alberth> drawmode is text, so perhaps it points to some string?
21:07:04 <glx> oh it's not always a function
21:07:21 <glx> can be a sprite too (but not there)
21:08:25 <glx> if offsets in global.h are right it points to '\0'
21:09:37 <Alberth> perhaps the drawproc does something special
21:09:55 <glx> yup it's \0
21:10:23 <Alberth> it is probably the list of items where you can ask info about from the mentat in-game
21:10:52 <glx> case DRAW_MODE_TEXT: {
21:10:52 <glx> GUI_DrawText((char *)emu_get_memorycsip(drawProc), positionLeft, positionTop, fgColour, bgColour);
21:10:52 <glx> } break;
21:11:27 <Alberth> aka 'draw nothing' :)
21:31:07 <Alberth> thanks for all the explanations, and good night
21:35:36 *** Alberth has left #openDune
21:43:33 <DorpsGek> SVN: glx (r1548) -Add: C-ified GUI_ClearScreen()
22:18:27 *** TrueBrain has quit IRC
22:18:32 *** TrueBrain has joined #openDune
23:08:17 *** glx has quit IRC