Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old February 26, 2008, 17:50   #11
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,414
Donated: $40
Pete Mack is on a distinguished road
Quote:
Originally Posted by s0be View Post
The angband source is a good place to start hacking C. The code is pretty clean, and doesn't use a lot of fancy hand waving tricks.
I confess, it uses more fancy tricks than it used to. I used C-style virtual functions to implement the event and menu UI.

(It's clean, but it may be a bit of a mystery for a beginning programmer.)


Some of the display code, and the macro code is also pretty hairy.
Pete Mack is offline   Reply With Quote
Old February 27, 2008, 09:30   #12
s0be
Apprentice
 
Join Date: Jan 2008
Posts: 96
s0be is on a distinguished road
True, there is some hand waving magic in there (to the uninitiated), but the fortunate thing is, people who want to start hacking on the program usually don't want to hack the way the menuing works, nor do they want to revamp the event system.
s0be is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:19.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.