IRC logs for #opendune on OFTC at 2010-12-21
            
04:46:18 *** glx has quit IRC
10:56:43 *** fjb is now known as Guest1889
10:56:45 *** fjb has joined #openDune
11:04:13 *** Guest1889 has quit IRC
13:11:26 *** glx has joined #openDune
13:11:27 *** ChanServ sets mode: +o glx
13:11:51 <glx> hello
14:33:30 <Xaroth|Work> hi glx
17:41:32 <TrueBrain> I am going to do some structure-related functions .. first .. Structure_Damage :)
18:08:26 <TrueBrain> when you destroy a structure, not the buildCost is used
18:08:27 <TrueBrain> but something else
18:08:32 <TrueBrain> si->variable_20
18:22:01 <TrueBrain> I wonder if it is needed that OpenDUNE uses 100% CPU ... of which 88% is in X ...
18:22:04 <TrueBrain> somehow I think my SDL is broken :p
18:24:51 <TrueBrain> nevermind the variable_20
18:24:53 <TrueBrain> forgot the 0xA offset
18:29:29 <DorpsGek> SVN: truebrain (r1209) -Add: C-ified Structure_Damage()
18:29:34 <glx> it uses 100% here too :)
18:29:37 <TrueBrain> there, removes a few scsip :)
18:29:58 <TrueBrain> function is _very_ straightforward
18:30:01 <TrueBrain> more than the Unit_ one
18:30:12 <TrueBrain> strangely enough, Structure_Damage checks if hitpoints == 0, and does scoring
18:30:16 <TrueBrain> where Unit_Damage does not
18:32:59 <Xaroth|Work> not getting 'range'
18:33:08 <Xaroth|Work> i mean.. shouldn't the Structure define that?
18:33:15 <TrueBrain> Sabatour
18:33:18 <TrueBrain> does explosion of 1
18:33:21 <TrueBrain> that is 'range'
18:33:27 <Xaroth|Work> hm
20:41:48 <glx> Avertissement 1 warning C4244: 'fonction' : conversion de 'uint16' en 'uint8', perte possible de données d:\developpement\opendune\trunk\src\structure.c 1255 ;)
20:53:57 <glx> http://svn.opendune.org/~glx/temp.patch <-- I need a better name I think
20:55:21 <TrueBrain> name is fine?
20:55:22 <TrueBrain> dunno
20:56:02 <glx> too generic
20:56:21 <glx> but well that can be changed later
20:56:46 <glx> it updates something :)
20:57:36 <TrueBrain> line 1255?
20:57:38 <TrueBrain> that is }
20:58:01 <glx> if (House_AreAllied(g_global->playerHouseID, s->o.houseID)) {
20:58:12 <glx> here it's not }
20:58:29 <TrueBrain> you don't have clean SVN :p
20:58:35 <TrueBrain> and I don't get the warning ...
20:58:39 <TrueBrain> is the global uint16?
20:58:47 <glx> it is
20:59:19 <DorpsGek> SVN: truebrain (r1210) -Fix (r1209): MSVC wines
21:00:15 <SmatZ> +h
21:00:16 <SmatZ> :P
21:00:38 <DorpsGek> SVN: glx (r1211) -Add: Map_Update() and Map_IsTileVisible()
23:18:31 <DorpsGek> SVN: glx (r1212) -Fix (r1154): don't use wrappers when converted function exists