Page 1 of 1

How can I look at the source?

PostPosted: Tuesday, 3rd January 2012, 03:03
by Night2o1
Ok, I'm a fat newb when it comes to programming etc. so bare with me.

I don't like having to rely on the knowledgebot or wiki for formula information (ie. what is the damage formula for unarmed auxiliary attacks, how frequently do they proc.) How can I find/view this information for myself?

thx

Re: How can I look at the source?

PostPosted: Tuesday, 3rd January 2012, 06:00
by nicolae
Night2o1 wrote:Ok, I'm a fat newb when it comes to programming etc. so bare with me.

I don't like having to rely on the knowledgebot or wiki for formula information (ie. what is the damage formula for unarmed auxiliary attacks, how frequently do they proc.) How can I find/view this information for myself?

thx


http://gitorious.org/crawl/crawl/trees/master/crawl-ref

Though I'm not sure how sourcediving is easier than using the learndb, especially since some of the formulas are pretty opaque.

Re: How can I look at the source?

PostPosted: Tuesday, 3rd January 2012, 20:11
by CommanderC
I recommend to make a local copy of the repository. That way, you can use tools like grep, ctags/etags, and your favorite editor/IDE.

To copy the repository:
  Code:
git clone git://gitorious.org/crawl/crawl.git

To update your copy:
  Code:
git pull