Help me make my new variant! (please!)
Collapse
X
-
(This isn't really a coding question, but whatever)
IIRC, in 3.4.1 if you were targeting (say) a pile of rubble, you could press 'r' to recall a description for rubble, but that isn't working in the current version. Why was that removed? (I want it so people can easily see descriptions for the new terrain I'm adding)Leave a comment:
-
Today when I opened up Visual Studio to work on RubberBand, it gave me a ton of errors saying "pointer to incomplete class type is not allowed". These errors weren't there yesterday. I hadn't changed anything before those errors appeared and it seems to build and run just fine. Does anyone know why it might suddenly give me all these errors that weren't there when I closed VS yesterday?
EDIT: So I went on working on Rubberband ignoring the errors for now, and after a while they disappeared for no discernable reason. weird.
EDIT: ...and then they reappeared. wth?Leave a comment:
-
IIRC it was because some of the new vaults did not connect nicely with the classic generation algorithm, or at least I suspected they might not. backwardsEric has done quite a bit of work recently on connectivity of vaults, so it's likely that this is not a problem any more.Leave a comment:
-
...Those errors eventually stayed gone, so I'm assuming they're nothing to worry about.
EDIT:...and those error messages are back.
Another question: Why are the newer vaults not allowed in the classic mode of dungeon generation?Last edited by will_asher; May 25, 2021, 08:53.Leave a comment:
-
Today when I opened up Visual Studio to work on RubberBand, it gave me a ton of errors saying "pointer to incomplete class type is not allowed". These errors weren't there yesterday. I hadn't changed anything before those errors appeared and it seems to build and run just fine. Does anyone know why it might suddenly give me all these errors that weren't there when I closed VS yesterday?
EDIT: So I went on working on Rubberband ignoring the errors for now, and after a while they disappeared for no discernable reason. weird.
EDIT: ...and then they reappeared. wth?Last edited by will_asher; May 24, 2021, 12:24.Leave a comment:
-
This is also true of &&. It must short-circuit evaluation if the first part is false.
Code:If (self_destruct_flag && initiate_self_destruct()) { printf("Ten seconds remain"; }
(I do not, however, suggest writing your doomsday device in C. Use a safer language.)Leave a comment:
-
If you want the second part of your or to evaluate regardless, either rearrange things, or just evaluate it into temporary variable first.Leave a comment:
-
BTW, if you do decide to use boolean arithmetic (|, &, ~, ^) for any reason, always use parentheses.
Code:x == 1 | y
Code:( x == 1)| (y)
Leave a comment:
-
-
I believe the answer is no, but it's just possible it's compiler dependent - I'm not the world's greatest C expert.Leave a comment:
-
Quick question:
Say you have:
Code:if ((something) || (get_check(really?))) { do_stuff(); }
Leave a comment:
-
Leave a comment: