Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old February 6, 2019, 02:43   #23
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,382
Donated: $40
Pete Mack is on a distinguished road
That is very much not in the usual design patterns model. For dice, it would be an interpreted mini-language. Same for the various case statements for melee types (CRUSH, HURT, SHATTER, etc.) By and large, separation of code and data is very much a usual design goal.


Quote:
Originally Posted by t4nk View Post
Well, if I were modding Angband, I'd move quite a lot of that back to C - that is, a .c file, to be parsed and compiled by the C compiler... Especially stuff like dices.
Pete Mack is online now   Reply With Quote
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
RST help files fph Development 13 September 6, 2011 21:08
Pref files relic Vanilla 11 August 9, 2011 21:40
Updating help files fizzix Vanilla 23 August 3, 2010 05:19
delete.me files konijn_ Development 2 December 8, 2009 23:43
edit files? tummychow Vanilla 2 September 13, 2009 21:38


All times are GMT +1. The time now is 18:00.


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