IRC logs for #opendune on OFTC at 2010-12-22
⏴ go to previous day
10:56:51 *** fjb is now known as Guest1999
17:03:17 <glx> why do they use global variables for local storage ???
19:26:15 *** be_for_children has joined #openDune
19:26:16 *** be_for_children has left #openDune
21:25:26 <TrueBrain> Structure_IsUpgradable is interesting
21:25:32 <TrueBrain> bit hard, as it is easy to make mistakes
21:36:12 <TrueBrain> harkonnen can never upgrade high tech
21:36:31 <TrueBrain> ordos cannot upgrade heavy vehicle after a certain campaign to second upgrade (??)
21:36:58 <TrueBrain> A CY needs a ROCKET TURRET build before it can go to the second upgrade
21:40:11 <TrueBrain> if harkonnen and WOR at no upgrades, but passed campaign 3, you get the upgrade
21:40:31 <TrueBrain> I really wonder why that last one is not in the PAK files ... WOR is harkonnen only, not? Weird :p
21:40:37 <TrueBrain> well, those 4 are the only exceptions
21:40:52 <TrueBrain> but the second one is weird ... dunno ...
21:52:05 <Xaroth> isn't the rocket launcher like the second upgrade?
21:52:25 <Xaroth> and requires a radar to get the upgrade
21:53:27 <TrueBrain> if ((h->structuresBuilt & g_structureInfo[STRUCTURE_ROCKET_TURRET].variable_1C) == g_structureInfo[STRUCTURE_ROCKET_TURRET].variable_1C) return true;
21:53:33 <TrueBrain> might be that 1C is 'requirement' or what ever
21:53:44 <TrueBrain> but that would be weird ...
21:53:46 <TrueBrain> code is weird anyway
21:53:52 <TrueBrain> lost my savegames, so can't really test :p
21:57:47 <Xaroth> I take it no way of knowing the value of variable_1C without hacky stuff?
21:58:19 <Xaroth> cuz if that's the building id of the radar building
22:01:24 <TrueBrain> now I need a tester ...
22:03:12 <TrueBrain> no test by a live test
22:04:37 <DorpsGek> SVN: truebrain (r1213) -Add: C-ified Structure_IsUpgradable()
22:04:49 <TrueBrain> one function every day, keeps the crawlers away
22:05:14 <TrueBrain> one function every day, keeps the idlers away
22:05:19 <TrueBrain> one function every day, keeps the dust away
22:05:30 <Xaroth> a rolling golem gathers no rust.
continue to next day ⏵