IRC logs for #opendune on OFTC at 2011-04-04
            
01:19:41 <DorpsGek> SVN: glx (r1458) -Add: C-ified GUI_DrawLine()
01:31:21 <DorpsGek> SVN: glx (r1459) -Change: 22A6:017D is an array of screen offset for the begining of each lines, so remove an indirection and replace it with line * 320
02:37:40 *** glx has quit IRC
13:03:20 *** glx has joined #openDune
13:03:20 *** ChanServ sets mode: +o glx
13:03:36 <glx> hello
14:08:22 <glx> hmm I think I'll add SCREEN_WIDTH and SCREEN_HEIGHT, but where to put that ?
14:09:32 <glx> hmm gfx.h should be a good place
14:15:24 <TrueBrain> go for it
14:17:39 <glx> http://svn.opendune.org/~glx/temp.patch
14:17:43 <glx> looks better :)
14:18:24 <TrueBrain> please also check for 319 :p
14:18:44 <glx> hehe
14:19:21 <TrueBrain> and 199 of course :p
14:19:32 <TrueBrain> not many
14:19:34 <TrueBrain> but a few
14:20:17 <glx> emu_push(0);
14:20:17 <glx> emu_push(199);
14:20:17 <glx> emu_push(319);
14:20:17 <glx> emu_push(var805A->top == 85 ? 0 : var805A->top);
14:20:17 <glx> emu_push(0);
14:20:19 <glx> emu_push(emu_cs); emu_push(0x091B); emu_cs = 0x22A6; emu_GUI_DrawFilledRectangle();
14:20:19 <glx> emu_sp += 10;
14:20:23 <glx> does this count ?
14:20:34 <TrueBrain> dunno
14:20:35 <TrueBrain> guess
14:21:14 <glx> hmm I think it draws a black screen to clear text in intro
14:21:44 <glx> let's keep the values for now
14:23:24 <glx> updated
14:23:39 <glx> only mouse.c has 319 and 199
14:25:01 <glx> GUI_DrawText_Wrapper("V1.07", 319, 192, 133, 0, 0x231, 0x39); <-- hmm that means some flags determine how to align
14:30:17 <DorpsGek> SVN: glx (r1460) -Add: introduce SCREEN_WIDTH and SCREEN_HEIGHT, and use them
14:32:49 <glx> now converting emu_GUI_DrawFilledRectangle()
14:43:04 <glx> I like dune2: if (right >= 320) return; if (right >=320) right = 319;
14:43:13 <glx> nice code ;)
14:44:07 <glx> though it's 22A6 so maybe not their fault
15:07:28 *** SmatZ- has joined #openDune
15:10:49 *** SmatZ has quit IRC
17:02:54 <DorpsGek> SVN: glx (r1461) -Add: C-ified GUI_DrawFilledRectangle()
17:26:55 <DorpsGek> SVN: glx (r1462) -Add: C-ified GUI_SetClippingArea()