![]() |
#41 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,913
Donated: $40
![]() |
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.
|
![]() |
![]() |
![]() |
#42 | |
Swordsman
Join Date: May 2016
Posts: 330
![]() |
Quote:
Anyway, you can separate code and data in C just fine. Angband's edit files just move parsing from C compiler's parser to the ones in parser.c or z-dice.c. And as far as I can tell, the only advantage is avoiding recompilation. It's indeed some advantage (justifying the existence of parser.c), but not a huge one for an open source game like Angband (so I don't think z-dice.c should exist). Last edited by t4nk; February 6, 2019 at 10:50. |
|
![]() |
![]() |
![]() |
#43 | |
Knight
Join Date: Mar 2015
Posts: 755
![]() |
Quote:
After a while new CSS technology appeared, which gave possibility to put all design to separate sheet file, so to changes something @ website, you had to change it only at one place, not in hundreds pages. BUT. Loads of people was against CSS at the beggining. They get used to HTML, they didn't want to learn new technology (CSS is kinda 'language'). And they argued at forums and tried to prove that websites should be created only with HTML and do not need CSS (lets use 'frames' they said lol). Than this story repeated when CMS with databases appeared. A lot of 'old' folk didn't want to move forward in technological way and liked how it was in old times. This is the same story. Angband moved forward a lot and put it's config out of the code, so now it's easy and comfortable to work with it. But as always, there are some folk who do not like 'new ways' and want to put all stuff back ![]() ![]()
__________________
https://tangaria.com - persistent online multiplayer roguelike game tangar.info - my website ⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽ My chars @ angband.oook.cz youtube.com/GameGlaz — streams in English ⍽ youtube.com/StreamGuild — streams in Russian |
|
![]() |
![]() |
![]() |
#44 | |
Swordsman
Join Date: May 2016
Posts: 330
![]() |
Quote:
Also, if you think the unholy combination of HTML, CSS and Javascript is something good, maybe God have mercy on your soul ![]() |
|
![]() |
![]() |
![]() |
#45 | |
Knight
Join Date: Mar 2015
Posts: 755
![]() |
Quote:
![]() And how come Your Holiness contaminates your soul at this corrupted unholy forum which is made with HTML, CSS and JavaScript? ![]()
__________________
https://tangaria.com - persistent online multiplayer roguelike game tangar.info - my website ⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽ My chars @ angband.oook.cz youtube.com/GameGlaz — streams in English ⍽ youtube.com/StreamGuild — streams in Russian |
|
![]() |
![]() |
![]() |
#46 |
Knight
Join Date: Mar 2015
Posts: 755
![]() |
lol t4nk please could you leave me alone and do not send insults in my PM
![]() some 'if' conditions for you: if you don't have arguments - you start insults.. it won't make you right, dude. if you have nothing to say - better to be silent, then you could look like a smart person (tm)
__________________
https://tangaria.com - persistent online multiplayer roguelike game tangar.info - my website ⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽ My chars @ angband.oook.cz youtube.com/GameGlaz — streams in English ⍽ youtube.com/StreamGuild — streams in Russian |
![]() |
![]() |
![]() |
#47 | ||
Swordsman
Join Date: May 2016
Posts: 330
![]() |
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#48 |
Knight
Join Date: Mar 2015
Posts: 755
![]() |
No thank you, sir, I do not want to answer on your insults via PM or in any other way of correspondence. Let's just leave this tiny unpleasantness behind and do not repeat it again.
== Back to gamedata customization.. Some new stuff were added @ trac, such as 'Make hunger a timed effect'. It could look tiny thing, but actually it would bring huge possibilities to make hunger system more flexible. New objects (eg RNG food items which could be sometimes bad and sometings good), curses, traps, types of attacks.. It's quite revolutionary to food managment system ![]() Next question (or /rfe) is about DoT (damage per time) type of damage. I wonder, is it possible to assign such effect to monsters and player attacks or to the objects? So it would work like 'poison', but would be different type, eg give possibility to add 'burning' or damaging curse effect?
__________________
https://tangaria.com - persistent online multiplayer roguelike game tangar.info - my website ⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽ My chars @ angband.oook.cz youtube.com/GameGlaz — streams in English ⍽ youtube.com/StreamGuild — streams in Russian |
![]() |
![]() |
![]() |
#49 |
Knight
Join Date: Mar 2015
Posts: 755
![]() |
damm. this toxic person (t4nk) continues to write insults in PM. Dear moderators, is there way to block PM somehow? Please help to solve this nasty issue. Thanks.
p.s. It's appeared that t4nk is Russian-speaking (as I am) and he's got some problems I'm not aware of. Please do not judge all Russian-speaking people by such behaivour. Several years ago I've recording video: "Why players hate RUSSIAN gamers?": https://www.youtube.com/watch?v=UYsA7t-LYNQ which explains a bit a source of this issues.. But I didn't expect to meet such person in this nice community. I'm sorry for this inconvenience. Actually it's quite typical problem for Russian-speaking people - when one meet another abroad in real-life or at international web platform - they could start hating behaivour. An interesting social phenomena. USSR heritage.
__________________
https://tangaria.com - persistent online multiplayer roguelike game tangar.info - my website ⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽ My chars @ angband.oook.cz youtube.com/GameGlaz — streams in English ⍽ youtube.com/StreamGuild — streams in Russian |
![]() |
![]() |
![]() |
#50 | |
Prophet
Join Date: Dec 2009
Posts: 9,024
![]() |
Quote:
In general I feel that devolving more attributes to the data files is a good thing, but I'm definitely sensitive to the fact that we don't want to be making a DSL (domain-specific language) just for Angband data. |
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
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 |