IRC logs for #opendune on OFTC at 2011-05-01
⏴ go to previous day
00:14:46 <DorpsGek> SVN: glx (r1503) -Add: C-ified Drivers_Reset()
01:43:21 *** TinoDidriksen has joined #openDune
06:39:46 *** Alberth has joined #openDune
09:24:01 <Xaroth|Work> design with original dune 2 sprites is ugly as boot :P
11:24:45 <Alberth> this list is not in trunk?
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:37:40 <Alberth> +o implies +v ? (just wondering why you don't get +v here)
11:38:32 <glx> well not really but as +o has more power than +v :)
11:39:11 <Alberth> Xaroth|Work: interesting picture :)
12:01:27 <Alberth> doesn't seem to be very much related to mentats :)
12:28:15 <glx> about #67, maybe a md5 check at start
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:30:00 <TrueBrain> Unknown_259E_00B1 is static? Lol
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: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:16 <TrueBrain> in general, 1 function per commit
12:36:15 <TrueBrain> sometimes not, and that then bites us in the ass later
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: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:31:58 <glx> oh indeed dune2 uses AIL2.00 (source is for 2.14 with version 2.11 internally)
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: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())
16:31:16 <DorpsGek> SVN: glx (r1505) -Change: renamed some functions
16:45:34 <Alberth> you got inspiration from reading AIL2.00 ?
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: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
19:36:23 <Alberth> glx: do you have the segment of B4DA ?
23:41:55 *** Xaroth_ has joined #openDune
continue to next day ⏵