Tomb Titivator
Posts: 799
Joined: Saturday, 23rd February 2013, 22:25
Questions, Explanations, Howtos
Tomb Titivator
Posts: 799
Joined: Saturday, 23rd February 2013, 22:25
Ziggurat Zagger
Posts: 3163
Joined: Friday, 6th January 2012, 18:45
Dungeon Master
Posts: 1531
Joined: Saturday, 5th March 2011, 06:29
khalil wrote:I've found the enum for rods, but that's about it. Does anyone know where their properties are kept?
Tomb Titivator
Posts: 799
Joined: Saturday, 23rd February 2013, 22:25
mumra wrote:I'm thinking if you want to learn to code, Crawl's source might not be the best place for you to dive in (or for anyone for that matter). It's huge and complex and frequently it's non-obvious how things work; and it's far from being some gleaming example of best practices to follow.
Ziggurat Zagger
Posts: 3163
Joined: Friday, 6th January 2012, 18:45
Dungeon Master
Posts: 4031
Joined: Thursday, 16th December 2010, 20:37
Location: France
khalil wrote:I already know c++, allthough I use it in conjunction with visual studio for most things. Can't use it for this, because it screws up the code somehow.
khalil wrote:I have only worked with crawl for a few weeks, and I already hate Linley with a passion. It's like he was trying to make it obscure and impenetrable. Did does anyone know if he started off trying to code it procedurally and switched to OOP halfway through or something? Cuz that would explain a lot.
Dungeon Master
Posts: 1531
Joined: Saturday, 5th March 2011, 06:29
khalil wrote:I already know c++, allthough I use it in conjunction with visual studio for most things. Can't use it for this, because it screws up the code somehow. Either way, I'm stuck editing in notepad, which means a lot of my time is spent looking for the missing semicolon.
I have only worked with crawl for a few weeks, and I already hate Linley with a passion. It's like he was trying to make it obscure and impenetrable. Did does anyone know if he started off trying to code it procedurally and switched to OOP halfway through or something? Cuz that would explain a lot.
Dungeon Master
Posts: 1531
Joined: Saturday, 5th March 2011, 06:29
galehar wrote:At some point, a good debugger helps a lot and eclipse has a great GUI for gdb.
Dungeon Master
Posts: 4031
Joined: Thursday, 16th December 2010, 20:37
Location: France
mumra wrote:galehar wrote:At some point, a good debugger helps a lot and eclipse has a great GUI for gdb.
... Having said the above, I should actually try eclipse at some point if debugging is fairly painless to set up.
Dungeon Master
Posts: 1531
Joined: Saturday, 5th March 2011, 06:29
Tomb Titivator
Posts: 799
Joined: Saturday, 23rd February 2013, 22:25
Users browsing this forum: No registered users and 5 guests