...his variant is much more popular than mine.
Oops, sorry, actually I meant to talk about this half:
So I've simplified the combat system. You need to have STR at least equal to your weapon's weight in lbs to swing it without problems. Wielding it two-handed (without a shield) adds +2 to your STR for weapon wielding purposes.
You don't roll for damage, a Falchion always deals six points. You get at most two-and-a-half blows with it, even if your Max Blows (depending solely on DEX) is higher.
Having half-blows might seem slightly inelegant, but playtesting showed me that I need that extra bit of granularity here.
One problem. The above screenshot is from the X11 Linux version, here ½ shows right. On the console or in Windows it shows as ? or something else.
It seems that sometimes I can simply enter the half character in the code, and it shows right in the X11 Linux version. Like this:
But if I enter the half character in Term_putstr...
...it shows like this:
I have no idea why. That might have something do with the fact that I learned everything I know about C by studying the Angband source code.
Even if I managed to solve this in the X11 Linux version, I would still have problems in Windows and in the Linux console.
There are also warnings when I compile (in Finnish):
Could someone please educate me on how to handle non-ASCII characters in Angband? I know that modern variants are able to deal with all sorts of fancy characters (I'm stuck with the ancient EyAngband source code).
Solving this problem and updating the manual are the only remaining steps until I can release Halls of Mist 1.4.
Oops, sorry, actually I meant to talk about this half:
So I've simplified the combat system. You need to have STR at least equal to your weapon's weight in lbs to swing it without problems. Wielding it two-handed (without a shield) adds +2 to your STR for weapon wielding purposes.
You don't roll for damage, a Falchion always deals six points. You get at most two-and-a-half blows with it, even if your Max Blows (depending solely on DEX) is higher.
Having half-blows might seem slightly inelegant, but playtesting showed me that I need that extra bit of granularity here.
One problem. The above screenshot is from the X11 Linux version, here ½ shows right. On the console or in Windows it shows as ? or something else.
It seems that sometimes I can simply enter the half character in the code, and it shows right in the X11 Linux version. Like this:
Code:
if (blows % 10) object_desc_chr_macro(t, '½');
Code:
Term_putstr(col, 14, -1, TERM_WHITE, "Half ½");
I have no idea why. That might have something do with the fact that I learned everything I know about C by studying the Angband source code.
Even if I managed to solve this in the X11 Linux version, I would still have problems in Windows and in the Linux console.
There are also warnings when I compile (in Finnish):
Code:
object1.c:1489:49: varoitus: monimerkkikirjainvakio [-Wmultichar] if (blows % 10) object_desc_chr_macro(t, '½'); ^ object1.c:1489:4: varoitus: ylivuoto implisiittisessä vakiomuunnoksessa [-Woverflow] if (blows % 10) object_desc_chr_macro(t, '½');
Could someone please educate me on how to handle non-ASCII characters in Angband? I know that modern variants are able to deal with all sorts of fancy characters (I'm stuck with the ancient EyAngband source code).
Solving this problem and updating the manual are the only remaining steps until I can release Halls of Mist 1.4.
Comment