IRC logs for #opendune on OFTC at 2011-07-12
⏴ go to previous day
16:49:46 *** Alberth has joined #openDune
16:49:46 *** ChanServ sets mode: +o Alberth
17:07:56 *** planetmaker has joined #openDune
17:07:56 *** ChanServ sets mode: +v planetmaker
17:14:02 *** SmatZ- has joined #openDune
17:15:35 *** tneo is now known as Guest1871
17:15:57 *** pm is now known as planetmaker
17:27:21 <Alberth> does trying to move variables out of global that are stored break the compile?
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: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:58 <Alberth> good, at least I'll be warned then :)
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: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
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 :)
continue to next day ⏵