IRC logs for #opendune on OFTC at 2011-02-25
⏴ go to previous day
03:50:40 <DorpsGek> SVN: glx (r1393) -Add: C-ified GameLoop_B4ED_0200()
12:41:12 *** fjb is now known as Guest2616
15:05:16 * glx likes when functions are easy to test
15:05:42 <glx> like for B4ED I just need to let the intro run
16:59:13 <DorpsGek> SVN: glx (r1394) -Add: C-ified GameLoop_B4ED_07B6()
17:08:52 <glx> do we have a RVB struct or something like that ?
17:33:03 <DorpsGek> SVN: glx (r1395) -Add: C-ified GameLoop_B4ED_075D()
18:00:06 *** Xaroth has joined #openDune
18:00:08 *** ChanServ sets mode: +o Xaroth
21:13:40 <TrueBrain> right, which function shall I do this night ...
21:15:31 <TrueBrain> B4E9 is like Redraw() or something
21:16:38 <TrueBrain> unit.c is only using 2 f__ functions :D
21:16:43 <TrueBrain> opendune.c ... a bit more :p
21:17:42 <DorpsGek> SVN: truebrain (r1396) -Fix: some silly conversion leftover
21:18:22 <TrueBrain> glx: doing any function atm?
21:19:39 <TrueBrain> that is what I meant ;)
21:19:46 <TrueBrain> huge ... but seems nice :D
21:20:09 <glx> yeah huge functions are often nice once done
21:20:28 <TrueBrain> and we seriously need to do something about the emu_Unknown functions
21:20:30 <TrueBrain> they are annoying :p
21:21:03 <TrueBrain> like emu_Unknown_B483_0363 .. I wonder why it is like it is :p
21:21:06 <glx> emu_WSA functions are annoying too ;)
21:21:20 <TrueBrain> if we have all callers, it can be converted
21:21:54 <TrueBrain> B495, B4DA and B511 left :)
21:22:05 <TrueBrain> if those are done, WSA can be converted nicely ... :)
21:23:39 <TrueBrain> on the other hand, if nothing uses the WSA internals, we should be fine converting it to non-emulator memory ..
21:25:32 <TrueBrain> ah, that was the problem ...
21:27:59 <TrueBrain> meh; some other time to give that a spin :)
21:37:59 <TrueBrain> glx: do you happen to hav B4E9:033B .. there are 16 bytes there I need :D
21:47:54 <TrueBrain> yeah, we really should make functions like emu_Unknown_07AE_0000 in a real C function :p Reads like lazy now :D
21:49:25 <glx> (I did B4E9:0331 while at it ;) )
21:49:27 <TrueBrain> bah, guessed wrong :)
22:18:37 <TrueBrain> funny ... normally static info is in emu_cs, but because of the dynamic stuff, it is 2E8A now :D
22:32:36 <TrueBrain> weird .. that struct is 0x12 big, but 6 bytes are never used ...
22:34:38 <TrueBrain> oeh, an emu_sp+=2 is missing in GameLoop_Intro :p
22:36:53 <TrueBrain> but there is only 0x60 room
22:46:30 <glx> indeed 2 missing emu_sp += 2
22:47:06 <glx> luckily GameLoop_Intro is called via C-ified functions
22:49:01 <glx> so it's only stack space waste and there's no corruption
22:49:19 <TrueBrain> and my patches fixes it
22:50:43 <TrueBrain> seems my work is correct :D
22:51:19 <DorpsGek> SVN: truebrain (r1397) -Add: C-ified GUI_ChangeSelectionType() and GUI_Widget_DrawAll()
22:51:24 <TrueBrain> thnk that should be it :)
22:51:53 <TrueBrain> replaced what I could with respect to emu_Unknown functions
22:59:00 <DorpsGek> SVN: truebrain (r1398) -Fix: give Unknown_07AE_0000() his own C-function, so we don't have to call the emulator layer all the time
22:59:06 <TrueBrain> thatone was bugging me :D
23:29:52 <TrueBrain> B483_0000 and B483_04CB exist, but I am doing the first
23:30:28 <TrueBrain> why are they not converted like normal btw?
23:30:47 <glx> I'll unemu it when doing f__B4ED_0AA5_0010_6B85
23:33:29 <DorpsGek> SVN: truebrain (r1399) -Add: C-ified last (unknown) animation function
23:49:11 <TrueBrain> variable_0222 is named, but never used?
23:56:53 <glx> probably one of the variables I named "randomly"
23:58:02 <glx> I guess it was at the same time as variable_0218
23:58:44 <TrueBrain> yeah .. but it is wrong :D
23:59:07 <TrueBrain> most likely 131 long
continue to next day ⏵