It's not the newlines, but thanks. It's the odd extra space or tab.
Vanilla Code Questions
Collapse
X
-
-
Here is my recommendation for managing your own version of the angband git repository:- Fork the official repo (angband/angband) using the fork button on github
- Clone/download this to get your own local copy
- Keep your master branch up-to-date with the official master branch, do not do development work on your master branch
- For development work, create a branch and do your work there. Once it's ready for inclusion, push it to your github repo and make a pull request
- The official master branch will be updated frequently. Make sure that you (fairly frequently):
- Pull changes from the official repo and update your master (it should be just a fast-forward, since you are not developing on your master);
- Rebase your development branch or branches against your master branch, resolving any conflicts that arise
This is how I work, and it should keep confusion to a minimum.One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.Comment
-
OK, good tips. I know less about version control than I probably should.Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGamesComment
-
I got my changes into a new branch, rolled my master back (via CLI couldn't find this option on github), and can now pull in the 13 commits at the press of a button. Github gives me 3 choices for this:
- Create a merge commit
- Squash and merge
- Rebase and merge
Which do you recommend?Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGamesComment
-
I got my changes into a new branch, rolled my master back (via CLI couldn't find this option on github), and can now pull in the 13 commits at the press of a button. Github gives me 3 choices for this:
- Create a merge commit
- Squash and merge
- Rebase and merge
Which do you recommend?One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.Comment
-
OK, maybe I'm doing it wrong. I thought the first step was to pull from angband:master to myband:master.Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGamesComment
-
Heh, sorry. I need to read a book :-(
I have a master branch that is exactly like the master branch from Mar 17, 2020. From there I created a BGmod branch, and all my changes are in there. Then I tried this https://github.com/damedley/myband/pull/1 "damedley wants to merge 13 commits into damedley:master from angband:master". And that's where I paused, pondering the merge/squash/rebase choice.Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGamesComment
-
Heh, sorry. I need to read a book :-(
I have a master branch that is exactly like the master branch from Mar 17, 2020. From there I created a BGmod branch, and all my changes are in there. Then I tried this https://github.com/damedley/myband/pull/1 "damedley wants to merge 13 commits into damedley:master from angband:master". And that's where I paused, pondering the merge/squash/rebase choice.One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.Comment
-
Via which command?Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGamesComment
-
Having Trouble with Timed Resistance
I tried adding a timed free action effect. I copied everywhere I saw confusion or att_conf. It compiles and runs. When cast, it gives the message I wrote. The notice shows at the bottom. The flag is set in the character sheet. But when something tries to slow or paralyze the character it simply doesn't work. Can anyone suggest why this might be?Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGamesComment
-
I tried adding a timed free action effect. I copied everywhere I saw confusion or att_conf. It compiles and runs. When cast, it gives the message I wrote. The notice shows at the bottom. The flag is set in the character sheet. But when something tries to slow or paralyze the character it simply doesn't work. Can anyone suggest why this might be?Code:if (p->timed[TMD_SINVIS]) { of_on(state->flags, OF_SEE_INVIS); }
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.Comment
-
Do you see anything wrong with this?
Code:if (p->timed[TMD_FREE_ACT]) { of_on(state->flags, OF_FREE_ACT); }
Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGamesComment
-
Comment
Comment