IRC logs for #opendune on OFTC at 2011-05-01
            
00:14:46 <DorpsGek> SVN: glx (r1503) -Add: C-ified Drivers_Reset()
01:42:55 *** TinoDidriksen has quit IRC
01:43:21 *** TinoDidriksen has joined #openDune
02:18:12 *** glx has quit IRC
06:39:46 *** Alberth has joined #openDune
09:24:01 <Xaroth|Work> design with original dune 2 sprites is ugly as boot :P
09:24:03 * Xaroth|Work tried it
11:24:45 <Alberth> this list is not in trunk?
11:27:16 <Xaroth|Work> ?
11:27:43 <Alberth> the sprite list
11:28:15 <Xaroth|Work> nope, googled it
11:28:28 <Xaroth|Work> you can probably extract them from the data files
11:28:48 <Xaroth|Work> but they aren't fit to make a website out of :P
11:34:36 <Alberth> I don't really need the graphics (although that would be quite useful too), a list of descriptions would be a nice first step.
11:35:24 <Alberth> g_global->variable_7FC6[0][i] = g_sprites[14 + i]; <-- I may be able to understand what happens eg here
11:36:27 *** glx has joined #openDune
11:36:28 *** ChanServ sets mode: +o glx
11:36:50 <glx> hello
11:36:57 <Alberth> hello glx
11:37:40 <Alberth> +o implies +v ? (just wondering why you don't get +v here)
11:37:57 <glx> yes it's implied
11:38:16 <Xaroth|Work> http://eabmobile.abime.net/attachment.php?attachmentid=20137&d=1233738531
11:38:30 <Xaroth|Work> +o > +v
11:38:32 <glx> well not really but as +o has more power than +v :)
11:39:11 <Alberth> Xaroth|Work: interesting picture :)
11:39:46 <Xaroth|Work> found http://eabmobile.abime.net/showthread.php?p=508113#post508113
11:39:59 <glx> http://www.dune2.dk/icon_map.asp
11:40:25 <Xaroth|Work> even better
12:01:27 <Alberth> doesn't seem to be very much related to mentats :)
12:25:02 <DorpsGek> Bugs: http://bugs.opendune.org/view.php?id=67 :: New Status: closed (not fixable)
12:26:56 <TrueBrain> glx: http://bugs.opendune.org/view.php?id=68 < you see any problems with it?
12:27:26 <glx> no it's ok
12:28:15 <glx> about #67, maybe a md5 check at start
12:28:19 <TrueBrain> fails to apply :(
12:28:31 <TrueBrain> glx: yea h... something like that ... at later stage :p
12:28:42 <glx> hmm I think I know why it fails to apply :)
12:28:57 <TrueBrain> found it, yes
12:30:00 <TrueBrain> Unknown_259E_00B1 is static? Lol
12:30:14 <TrueBrain> and used once ...
12:30:17 <TrueBrain> lets change that a bit then :p
12:30:22 <Alberth> called from exactly one place :)
12:31:41 <TrueBrain> most likely once was called from more, but meh
12:32:22 <DorpsGek> SVN: truebrain (r1504) -Add (#68): C-ified Unknown_259E_0006() (patch by Alberth)
12:32:31 <DorpsGek> Bugs: http://bugs.opendune.org/view.php?id=68 :: New Status: closed (fixed)
12:32:35 <Alberth> more likely, it was a generic do-something function, and they needed it in just one way :)
12:32:54 <TrueBrain> so I removed that function now btw
12:34:20 <Alberth> interesting to see that you lump everything together, unlike in openttd where you do 1 conceptual change == 1 commit :)
12:34:58 <TrueBrain> we lumped what together?
12:35:09 <Alberth> changes in the code
12:35:16 <TrueBrain> in general, 1 function per commit
12:36:15 <TrueBrain> sometimes not, and that then bites us in the ass later
12:36:23 <TrueBrain> :D
12:37:44 <glx> for small functions we can commit more than one at a time
12:37:53 <glx> but I no longer do it with big ones
12:38:02 <TrueBrain> we learnt that the hard way :D
12:44:45 <Alberth> the best way to make it really stick :p
12:46:27 <Alberth> eg #63 would be something like 6-10 patches for me
12:52:59 <TrueBrain> 6-10?!
12:53:01 <TrueBrain> lol
12:53:16 <TrueBrain> 3, okay .. but 6 to 10? :p
12:53:23 <TrueBrain> and it has more to do with the stage of this project tbh
12:53:40 <Alberth> and probably my experience :)
12:54:18 <planetmaker> pay by commit count ;-)
12:58:54 * Alberth looks for a different project
13:20:35 * glx is reading AIL2 source code
13:20:42 <glx> very interresting
13:20:52 <glx> (dune uses AIL1 IIRC)
13:27:09 <glx> from http://www.thegleam.com/ke5fx/
13:31:58 <glx> oh indeed dune2 uses AIL2.00 (source is for 2.14 with version 2.11 internally)
15:48:20 <Alberth> +{
15:48:20 <Alberth> + if (g_global->playerHouseID == HOUSE_MERCENARY) {
15:48:20 <Alberth> + File_ReadBlockFile("IBM.PAL", (void *)emu_get_memorycsip(global->variable_3C32), 0x300);
15:48:20 <Alberth> + }
15:48:20 <Alberth> }
15:48:35 <Alberth> suggestions for placing this function?
15:49:25 <Alberth> file.c seems too low level, house.c seems too much house oriented
15:51:19 <Alberth> (translated f__B4DA_02E0_0023_E297())
15:51:25 <Alberth> first some food :)
16:31:16 <DorpsGek> SVN: glx (r1505) -Change: renamed some functions
16:45:34 <Alberth> you got inspiration from reading AIL2.00 ?
16:47:40 <glx> yes
16:48:24 <glx> it helped to translate functionID to function
16:49:27 <glx> anyway now I'm trying to understand f__AB00_1068_0020_E6F1() (play_VOC_file in AIL)
16:49:45 <glx> will help to understand VOC format
16:51:13 <glx> As of May 26, 2000, all source code and compiled object code in this package may be considered "open-source freeware," usable by anyone for any purpose, commercial or otherwise, without restriction or limitation.
16:51:32 <glx> so I could just "steal" the naming ;)
16:51:55 <glx> but better to understand the format and write our own player
16:52:16 <glx> without relying on libemu
17:09:06 <Alberth> that should help a lot for the audio feedback of orders :)
17:15:32 <glx> http://www.inversereality.org/tutorials/sound%20programming/examples/soundblaster16example3.html <-- that's nice too
17:17:27 <Alberth> :)
17:18:20 <glx> but this page doesn't give all info
17:19:46 <Alberth> it reads as a bit messy indeed
17:20:41 <Alberth> not to mention a hideous code style :p
17:21:06 <glx> :)
17:23:25 <DorpsGek> Bugs: http://bugs.opendune.org/view.php?id=69 :: Bug Created :: f__B4DA_02E0_0023_E297
19:36:23 <Alberth> glx: do you have the segment of B4DA ?
19:36:43 <glx> 4AB0
19:37:39 <Alberth> thank you
20:50:34 *** Alberth has left #openDune
23:41:55 *** Xaroth_ has joined #openDune
23:48:13 *** Xaroth has quit IRC