IRC logs for #opendune on OFTC at 2011-07-12
            
02:51:05 *** glx has quit IRC
12:11:25 *** glx has joined #openDune
12:11:25 *** ChanServ sets mode: +o glx
12:12:09 <glx> hello
16:28:48 *** fjb has quit IRC
16:48:43 *** SmatZ has quit IRC
16:49:46 *** Alberth has joined #openDune
16:49:46 *** ChanServ sets mode: +o Alberth
16:50:35 *** Osai has quit IRC
16:51:53 *** planetmaker has quit IRC
16:52:00 *** tneo has quit IRC
17:03:56 *** SmatZ has joined #openDune
17:04:26 *** tneo has joined #openDune
17:05:56 *** Osai has joined #openDune
17:07:56 *** planetmaker has joined #openDune
17:07:56 *** ChanServ sets mode: +v planetmaker
17:14:02 *** SmatZ- has joined #openDune
17:14:10 *** pm has joined #openDune
17:14:10 *** ChanServ sets mode: +v pm
17:14:16 *** tneo- has joined #openDune
17:14:30 *** Osai has quit IRC
17:15:28 *** Osai has joined #openDune
17:15:35 *** tneo is now known as Guest1871
17:15:35 *** tneo- is now known as tneo
17:15:57 *** planetmaker has quit IRC
17:15:57 *** pm is now known as planetmaker
17:16:02 *** SmatZ has quit IRC
17:16:33 *** Guest1871 has quit IRC
17:27:21 <Alberth> does trying to move variables out of global that are stored break the compile?
17:58:18 <glx> what do you mean ?
17:58:47 <glx> savegame stuff ?
17:59:28 <Alberth> yeah, data that gets saved in a savegame
17:59:37 <glx> you need to update savegame/info.c
18:00:11 <Alberth> ok, and compile fails if I don't?
18:00:17 <glx> yes
18:00:32 <glx> because g_global is a struct
18:01:00 <glx> and at compile time it tries to get address of the variable
18:01:16 <glx> or offset
18:01:58 <Alberth> good, at least I'll be warned then :)
18:02:09 <glx> but the change is easy
18:02:53 <Alberth> probably just the variable name and a extra letter to the macro or so.
18:04:08 <Alberth> I just don't have any idea what is saved and what not, so I wanted to know whether the compiler warns me of /me trying to mess up that part
18:13:25 <Alberth> http://www.fpaste.org/xRup/ <-- wtf is this style? it very much makes no sense with our mostly unlimited line length
18:14:10 <Xaroth|Work> probably because before it was only g_global->stuff->stuff->whatever
18:14:12 <Xaroth|Work> which is quite long
18:58:29 <DorpsGek> SVN: alberth (r2025) -Add: Moved 38C4 out of global.
19:01:20 <glx> hmm we may need to add SLDT_BOOL one day
19:02:32 <Alberth> I was wondering whether to use 'bool' or 'uint8', as C doesn't have booleans
19:39:56 <TrueBrain> we defined bool, as uint8 :P
19:40:05 <TrueBrain> is in types.h I believe
19:40:09 <TrueBrain> same as true and false
19:46:37 <Alberth> when I learned C, int i = 0 was also not allowed :p
19:57:53 *** fjb has joined #openDune
20:11:28 <Alberth> now if only I had kept track of the replacements I did :p
20:40:46 <DorpsGek> SVN: alberth (r2026) -Add: Named text display globals, and moved them out of g_global.
20:42:10 <Alberth> and that concludes todays exercise, have fun, be careful, and see you in a few days :)
20:45:51 *** Alberth has left #openDune