![]() |
#21 | |
Hellband maintainer
Join Date: Jul 2007
Location: New York, the Big Apple
Age: 43
Posts: 367
Donated: $120
![]() |
Quote:
I guess you dont see the warnings because of -Wno-unused-parameter -Wno-missing-field-initializers -std=c99 -Wdeclaration-after-statement which is most interesting. Also, I read the docs which said 'Cygwin is not advised' which stinks for me personally since I need cygwin and Ming and cygwin dont play nice together ( or at least havent played nicely together in the past ) I will reply to myself with anything else of interest. T. -or- I could just keep editing this message. Whoever took care of the Mac Port is a frickin genius !!! It compiles and works beautifully.... T.
__________________
* Are you ready for something else ? Hellband 0.8.8 is out! * Last edited by konijn_; May 27, 2011 at 02:25. |
|
![]() |
![]() |
![]() |
#22 | |
Hellband maintainer
Join Date: Jul 2007
Location: New York, the Big Apple
Age: 43
Posts: 367
Donated: $120
![]() |
![]() Quote:
see http://en.wikipedia.org/wiki/Direct.h and http://en.wikipedia.org/wiki/Dirent.h I would vote to use dirent.h, since it is posix and direct.h is a c++ header file ? T.
__________________
* Are you ready for something else ? Hellband 0.8.8 is out! * |
|
![]() |
![]() |
![]() |
#23 |
Angband Devteam member
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 40
Posts: 1,516
![]() |
Hey Konijn, Good to see you again!
The Windows port is in a weird state, sadly. Right now only one of the active devs uses Windows (Mingw) and everyone else cross-compiles (also with Mingw) and plays the Windows port with WINE. So... support is a bit bad for other situations (Cygwin and MSVC++ for instance) simply because we can't support them very well without using them. If you haven't already, I would strongly recommend creating yourself a Github account and forking angband, to make it easy to send us patches, suggestsions, features, etc. If you made a patch to Makefile.win that will allow things to work with Cygwin, that would be great. I haven't had time to fully understand your comment about dirent.h versus direct.h but I will try to. Even though I mostly use Linux I'm trying to improve the Windows port (I just checked in PNG support which was mostly written by Blue Baron but hacked in by me), so please feel free to send me feedback about it. Thanks! |
![]() |
![]() |
![]() |
#24 | |
Hellband maintainer
Join Date: Jul 2007
Location: New York, the Big Apple
Age: 43
Posts: 367
Donated: $120
![]() |
Quote:
T.
__________________
* Are you ready for something else ? Hellband 0.8.8 is out! * |
|
![]() |
![]() |
![]() |
#25 | |
Adept
Join Date: Apr 2009
Posts: 231
![]() |
Quote:
-SBux- |
|
![]() |
![]() |
![]() |
#26 |
Swordsman
Join Date: Apr 2011
Location: Göteborg, Sweden
Posts: 348
![]() |
How to commit to GitHub?
I forked angband a while ago, and have been fetching the changes to look at it. Now I felt it was time to start contributing a bit. So, I've made some code changes I'd like to share, but can't get it to work...
This is what I did: // make sure I have latest version git fetch upstream git merge upstream/master // create my own branch git branch feelings git checkout feelings // code Edited the file I wanted to edit (using Notepad), copied the folder (to not mess up the Git folder with compilation junk), compiled and tested. OK, everything is working, time to commit. // commit git push git@github.com:jenschou/angband.git feelings // check result https://github.com/jenschou/angband/commits/feelings ## So nothing happened, except I created a new branch on the remote repo. I can mention that I also did push master, and tried to change the url of origin so I don't have to write the url each time. So, how do I manage to commit to my online repo? Which I suppose is a prerequisite to making a pull request... |
![]() |
![]() |
![]() |
#27 |
Angband Devteam member
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 40
Posts: 1,516
![]() |
I'm about to run, so I don't have time to look at what you did. But this is a procedure that I guarantee will work:
Code:
# assuming you have a remote called official (could be upstream or whatever) git fetch --all git checkout official/staging git checkout -b MYNEWBRANCH #make some changes git commit -m "look some changes" -a git push origin MYNEWBRANCH # go to github and see your new branch with your code changes. |
![]() |
![]() |
![]() |
#28 |
Swordsman
Join Date: Apr 2011
Location: Göteborg, Sweden
Posts: 348
![]() |
Yeay, it works! I have now successfully sent a pull request :-)
The thing I had missed was to make my local commit. I had read the start-up tutorials, and there when talking about contributing they only mentioned how to push your commits. I assumed that pushing commits meant commiting as well, but nope. I tried to enter a better commit message, but I don't know vim, so it seems a bit of a hassle. How do you guys generally do it? Because when checking your commits you don't generally use one liners... |
![]() |
![]() |
![]() |
#29 | |
Angband Devteam member
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 40
Posts: 1,516
![]() |
Quote:
Code:
export EDITOR=emacs |
|
![]() |
![]() |
![]() |
#30 |
Swordsman
Join Date: Apr 2011
Location: Göteborg, Sweden
Posts: 348
![]() |
Neither are very easy to use on Windows... Though I did have Emacs installed in a previous version. Now I know how to insert text, and exit again from vim, and thats all I'll need, so I guess I can keep using it :-)
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compiling Angband on MS-DOS | Zababa | Development | 8 | May 27, 2011 18:36 |
Compiling Angband 3.0.9 w/ xcode on OSX | Iemortal | Vanilla | 8 | April 16, 2011 17:41 |
Compiling Z+Angband under Windows | Altefcat | Variants | 8 | December 11, 2008 10:44 |
compiling vanilla angband on msvc++ 9 express | hugh | Vanilla | 6 | March 17, 2008 16:49 |
Trouble compiling angband 3.0.9 on linux | RastaRuedi | Vanilla | 2 | August 1, 2007 18:28 |