IRC logs for #opendune on OFTC at 2011-07-31
            
03:34:10 *** glx has quit IRC
06:53:40 *** Alberth has joined #openDune
06:53:40 *** ChanServ sets mode: +o Alberth
11:59:07 *** glx has joined #openDune
11:59:07 *** ChanServ sets mode: +o glx
11:59:30 <glx> hello
12:01:23 <TrueBrain> o/
12:05:48 <glx> http://svn.opendune.org/~glx/temp.patch <-- work in progress :)
12:06:14 <glx> user event is a temporary thing
12:09:20 <TrueBrain> haha, most things just are removed :D
12:09:52 <TrueBrain> nice work :D
12:09:57 <TrueBrain> how much left? (line-wise)
12:10:25 <glx> 1124 lines
12:10:27 <TrueBrain> owh, and you use USEREVENT for the interrupt
12:10:30 <TrueBrain> not bad
12:10:34 <TrueBrain> can't you call it immediatly btw?
12:10:43 <glx> I prefer not try :)
12:10:50 <TrueBrain> :D
12:10:55 <TrueBrain> you most likely can, but yeah, I understand :)
12:11:27 <glx> interrupt handler calls SDL_PauseAudio(1);
12:11:43 <glx> which may be a problem if called from the callback I think
12:12:12 <TrueBrain> possible
12:12:17 <TrueBrain> and this is not a bad solution
12:13:01 <glx> anyway I still use DMA way, but if I skip this part and use the full buffer the interrupt will be useless
12:13:14 <TrueBrain> even better
12:13:19 <TrueBrain> but nice progress :D:D
12:13:27 <TrueBrain> we are getting close in getting ride of libemu :D
12:13:37 <glx> some voices are now ok btw
12:13:40 <glx> but not all
12:38:22 <TrueBrain> I guess I can try to get the animation stuff out of the 16bit world
12:38:28 <TrueBrain> that will be a hell tbh
12:38:31 <TrueBrain> all over the place :P
12:51:59 <TrueBrain> calc 256 / 16
12:52:00 <TrueBrain> duh
12:52:03 <TrueBrain> lolz
13:20:31 <DorpsGek> SVN: truebrain (r2144) -Codechange: convert the 'uint16' to a struct for Animation, and use enums etc
13:20:39 <TrueBrain> glx: this _might_ trigger an assert on MSVC, I am not 100% sure it works
13:20:40 <TrueBrain> it should
13:20:44 <TrueBrain> but I added an assert in case it doesn't
13:24:42 <glx> Erreur 1 error C2034: 'parameter' : type de champ de bits trop petit pour le nombre de bits d:\developpement\opendune\trunk2\src\animation.h 32
13:24:52 <glx> 12 bits don't fit in 8 :)
13:25:16 <TrueBrain> we use that everywhere .. hmm ..
13:25:28 <TrueBrain> if you make BITTYPE_S int16 ?
13:25:31 <TrueBrain> bit hackish, but meh
13:26:00 <TrueBrain> if it works, I know a more nice solution, but I need to know if it works first :D
13:28:36 <glx> hmm where are the buildings ???
13:28:48 <TrueBrain> so something fails :D
13:29:08 <TrueBrain> why can't compilers don't do the same :(
13:31:03 <TrueBrain> http://devs.opendune.org/~truebrain/temp.patch
13:31:05 <TrueBrain> does that fix it?
13:32:24 <TrueBrain> hmm, that breaks GCC again
13:33:06 <glx> still no buildings
13:33:24 <TrueBrain> wth
13:33:42 <TrueBrain> that also makes no sense, no buildings at all ..
13:35:47 <TrueBrain> new patch
13:35:49 <TrueBrain> doesn't compile on GCC
13:35:53 <TrueBrain> but I wonder if MSVC accepts it
13:36:32 <glx> command 14
13:37:15 <TrueBrain> 14?
13:37:18 <TrueBrain> BE/LE?
13:37:23 <TrueBrain> no ...
13:37:44 <glx> compile fails now
13:37:52 <TrueBrain> so the struct is not 2 bytes ...
13:37:55 <TrueBrain> what am I doing wrong?
13:38:52 <TrueBrain> new patch
13:38:55 <TrueBrain> how does thatone behave?
13:39:01 <TrueBrain> works on GCC with warnings
13:40:03 <TrueBrain> and another one, this time without GCC warnings
13:42:19 <glx> assert_compile triggered
13:42:23 <TrueBrain> on both?
13:42:24 <glx> previous worked
13:44:40 <TrueBrain> then how about thisone?
13:59:33 <DorpsGek> SVN: truebrain (r2145) -Fix (r2144): hopefully fix MSVC problems
14:00:32 <glx> works
14:00:40 <TrueBrain> :D
14:00:42 <TrueBrain> awesome
14:00:59 <TrueBrain> tnx glx :)
14:01:29 <TrueBrain> I am going to put these animations in a table, and switch the parameters; the order is annoying :P
14:04:23 <TrueBrain> not easy to collect the animations, as some are 8 long, others 16
14:04:24 <TrueBrain> lolz
14:07:40 <DorpsGek> SVN: alberth (r2146) -Add: Removed cache of displayed gui data out of global.
14:22:53 <DorpsGek> SVN: alberth (r2147) -Add: Removed activeAction from global.
14:29:31 <DorpsGek> SVN: alberth (r2148) -Codechange: Introduce s_ prefix for static opendune.c variables.
14:34:03 <TrueBrain> oef .. something is wrong :P
14:34:06 <TrueBrain> turrets are no longer visible :D
14:34:44 <Xaroth|Work> whoops :P
14:37:29 <Alberth> it's a safe bet they are aimed at you :p
14:37:57 <TrueBrain> now I need to find a sandworm
14:39:39 <TrueBrain> seems slightly flawed
14:39:41 <TrueBrain> not sure
14:40:03 <Alberth> atreides 3? can make you a save game if you want
14:40:28 <TrueBrain> no, I found one
14:40:30 <TrueBrain> but tnx :)
14:41:33 <TrueBrain> http://devs.opendune.org/~truebrain/temp.patch
14:41:37 <TrueBrain> hope I didnt forget anything
14:44:18 <TrueBrain> something is still off
14:44:20 <TrueBrain> hmm
14:44:30 <TrueBrain> slabs are wrong
14:46:22 <glx> http://svn.opendune.org/~glx/temp.patch <-- it works \o/
14:46:52 <TrueBrain> glx: NICE :D
14:47:11 <glx> I think I will commit it as is and do the final cleanup later ;)
14:47:23 <TrueBrain> go for it :)
14:47:52 <glx> oh btw the intro animation seems a little to fast now :)
14:48:06 <glx> voices are a little to late
14:48:20 <glx> *too
14:50:07 <DorpsGek> SVN: glx (r2149) -Add: move the PCM code from libemu to OpenDUNE. Works but needs some cleanup.
14:51:50 <TrueBrain> and fixed my patch :D
14:51:51 <TrueBrain> woei
14:51:55 <TrueBrain> just comimtting kinda hangs .. hmm ..
14:52:05 <DorpsGek> SVN: truebrain (r2150) -Add: move Animations into table/
14:52:37 <TrueBrain> there it is :D
14:55:23 <DorpsGek> SVN: truebrain (r2151) -Codechange: change the animation table comments from easy-conversion to index, like all other tables
15:00:51 <DorpsGek> SVN: alberth (r2152) -Add: Move array 359E out of global.
15:18:57 * Alberth afk for some dinner
15:30:40 <TrueBrain> argh, a patch that should be just a codechange makes WSAs no longer work :'(
15:37:09 <TrueBrain> this is just weird :)
15:37:30 <TrueBrain> LOL!
15:37:32 <TrueBrain> oops
15:38:01 <TrueBrain> hmm, doesn't solve it either
15:38:32 <TrueBrain> there it is :)
15:38:52 <TrueBrain> glx: if you have the time, can you try http://devs.opendune.org/~truebrain/temp.patch
15:38:54 <TrueBrain> under MSVC
15:38:57 <TrueBrain> see if it all still works etc
15:39:05 <TrueBrain> I got annoyed by the endless unions we still had :D
15:41:28 <glx> assert
15:41:49 <TrueBrain> where / which? :(
15:42:03 <glx> structure.c:1824 assert(animationID < 28);
15:42:15 <TrueBrain> oops, should be < 29
15:42:23 <glx> ID is 28 ;)
15:42:48 <TrueBrain> so yeah, please make that 29 :P
15:44:59 <DorpsGek> SVN: truebrain (r2153) -Fix (r2150): structure animation table is 29 in size
15:45:29 <glx> still works :)
15:46:17 <DorpsGek> SVN: truebrain (r2154) -Codechange: removed 'all' from flags where possible, changing it to a real struct, no a silly union
15:46:17 <DorpsGek> SVN: truebrain (r2154) -Codechange: BITTYPE -> BIT_U8, to allow more types (already defined).
15:46:20 <TrueBrain> plop
15:52:34 <TrueBrain> only Object and Widgets still have flags as union
15:52:41 <TrueBrain> didn't want to spend too much time on it :P
16:05:08 <TrueBrain> this is weird ...
16:05:14 <TrueBrain> I was converting MovementType lookup function
16:05:19 <TrueBrain> in the table are named like Wheeled
16:05:21 <TrueBrain> Tracked
16:05:26 <TrueBrain> but in scenarios it is Track
16:05:27 <TrueBrain> Wheel
16:06:23 <TrueBrain> ah, yes, MrFlibbles pak solves that
16:06:24 <TrueBrain> k k
16:08:19 <DorpsGek> SVN: truebrain (r2155) -Add: moved MovementType to his own table/
16:08:43 <TrueBrain> running low on easy emu_get_memorycsip to remove :(
16:11:57 <glx> on start westwood logo acts weird
16:12:33 <glx> but when using replay introduction it's ok
16:12:56 <TrueBrain> can you be a bit more specific?
16:13:20 <glx> wrong colors
16:13:49 <glx> it starts with wrong colors but rapidely gets the right ones
16:14:12 <TrueBrain> most likely the timer
16:14:19 <TrueBrain> setpalette is started a bit late I guess
16:14:22 <TrueBrain> will be fixed over time :)
16:15:18 <DorpsGek> SVN: truebrain (r2156) -Add: moved out 2BBE from g_global, and unified with custom switches
16:15:43 <glx> http://svn.opendune.org/~glx/temp.patch <-- more red lines ;)
16:16:16 <TrueBrain> nice nice :)
16:16:17 <TrueBrain> keep it up :)
16:16:24 <TrueBrain> we might be able to get ride of libemu sooner than expected :D
16:20:01 <Alberth> 1.0 next week? :p
16:20:49 <TrueBrain> that, or 0.6, good possible
16:20:56 <TrueBrain> if we remove libemu, we release after a day of testing
16:21:06 <TrueBrain> as that really is a milestone
17:21:27 <planetmaker> sounds good :-)
17:51:59 <DorpsGek> SVN: glx (r2157) -Add: moved DSP out of decompiled
17:52:25 <glx> (added a Global_GetCSIP() ;) )
19:54:02 *** Alberth has left #openDune
20:39:02 *** glx_ has joined #openDune
20:39:02 *** glx is now known as Guest4314
20:39:03 *** glx_ is now known as glx
20:46:19 *** Guest4314 has quit IRC
21:29:30 <TrueBrain> ghehe :D
21:29:32 <TrueBrain> that ia AB00?
21:29:35 <TrueBrain> so AB01 left, or?
21:48:15 <TrueBrain> very nice and clean code, nice job :D
21:49:05 <TrueBrain> so only 1000 lines left, woei :D
21:49:06 <TrueBrain> SO CLOSE
21:49:22 <TrueBrain> you even managed to remove the interrupt
21:49:23 <TrueBrain> nice :D
21:57:13 <glx> I'm on AB01 :)
21:57:45 <TrueBrain> :D:D:D
21:57:48 <glx> interrupt is useless when you are not forced to split the data ;)
22:58:42 *** SmatZ has quit IRC
22:59:42 *** SmatZ has joined #openDune