IRC logs for #opendune on OFTC at 2011-05-08
⏴ go to previous day
00:27:54 <DorpsGek> SVN: glx (r1538) -Add: C-ified Sprites_SetCursorSprite()
03:24:28 *** Xaroth has joined #openDune
03:24:28 *** ChanServ sets mode: +o Xaroth
04:30:48 *** Xaroth has joined #openDune
04:30:48 *** ChanServ sets mode: +o Xaroth
07:02:14 *** Alberth has joined #openDune
11:55:21 <glx> emu_GUI_ShowMap() <-- another small one :)
12:31:30 <Alberth> rather than my suggested stdlib.h :)
12:32:20 <Alberth> time for a meta-fix :p
12:33:49 <DorpsGek> SVN: glx (r1539) -Fix (r1537): wrong include
12:39:06 <glx> weird dune2 uses global memory for different things
12:39:51 <glx> 81BA is in the middle of 80B4 but used for a totally different thing
12:42:13 <glx> or maybe I incorrectly defined 80B4
12:42:25 <Alberth> perhaps static memory allocated by the compiler
12:43:07 <Alberth> I think variable_76AC is actually an int32 instead of the current uint32
12:46:09 <glx> indeed I made a small mistake, savegameDesc[6][51] should be savegameDesc[5][51]
12:52:26 <Alberth> but it gives you room for the new data
13:41:04 <TrueBrain> either I am converting this function completely wrong, or it reall makes no sense :D
14:14:09 <glx> oups I somehow broke the palette
14:15:43 <TrueBrain> right, Ini_GetString does in fact do 2 things
14:15:48 <TrueBrain> depending on the variables given
14:16:52 <TrueBrain> glx: in the array characterClass, do you happen to know if
14:16:56 <TrueBrain> \r\n are also whitespaces?
14:18:05 <TrueBrain> 353F:76BD, are you able to check .. euh .. offset 0xA and 0xD in that array
14:20:48 <TrueBrain> so yeah, they are whitespaces
14:26:46 <DorpsGek> SVN: glx (r1540) -Add: C-ified GUI_ShowMap()
14:43:49 <TrueBrain> I really don't understand how this function works :p
14:43:55 <TrueBrain> but that is about it :p
14:53:14 <TrueBrain> I kinda freely translated pieces to what I think it should do :D
14:56:38 <Alberth> I did that too by accident, and now I am trying to find out where all afternoon :(
15:01:47 <DorpsGek> SVN: glx (r1541) -Add: C-ified Sprites_CPS_LoadRegionClick()
15:09:16 <TrueBrain> right, compiles it seems
15:09:22 <TrueBrain> now I need to fix all callers, and make sure it works :p
15:25:00 <glx> for (i = 0; i < 120; i++) memcpy(buf + (i * 304), buf + 7688 + (i * 320), 304); <-- nice isn't it
16:12:11 <Alberth> writing lines to the screen I guess
16:17:01 <glx> no it's picking some data blocks from RGNCLK.CPS file
16:17:43 <glx> but I finally decided to inline it :)
16:21:21 <DorpsGek> SVN: glx (r1542) -Add: C-ified File_ReadFile() and inlined B503:116F function
16:22:01 * Alberth has had enough of f__B4DA_0AB8_002A_AAB2() :(
16:22:20 <glx> f__B503_122D_002D_E562() parses INI data, but I won't do it now ;)
18:56:25 *** Xaroth has joined #openDune
18:56:25 *** ChanServ sets mode: +o Xaroth
continue to next day ⏵