How can I look at the source?


Problems running or configuring the software, commands & options, compiling, different platforms, using the interface, documentation, etc.

Snake Sneak

Posts: 129

Joined: Saturday, 27th August 2011, 22:00

Post Tuesday, 3rd January 2012, 03:03

How can I look at the source?

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

Tartarus Sorceror

Posts: 1888

Joined: Saturday, 9th July 2011, 20:57

Post Tuesday, 3rd January 2012, 06:00

Re: How can I look at the source?

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.

Spider Stomper

Posts: 243

Joined: Sunday, 28th August 2011, 14:04

Post Tuesday, 3rd January 2012, 20:11

Re: How can I look at the source?

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

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 3 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.