Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old September 15, 2022, 06:29   #141
backwardsEric
Swordsman
 
Join Date: Aug 2019
Posts: 339
backwardsEric is on a distinguished road
Quote:
Originally Posted by animal_waves View Post
Unrelated, but if someone know if it's possible for the SDL2 fronted to use system fonts instead of those fonts shipped with the game I'll be interested to know how!
An ugly way to do it would be to symbolically link the other fonts you want to use into lib/fonts in the Angband directories. As an example, on a Debian system with the fonts-liberation package installed, you could:
  1. Change directories to lib/fonts in the directory where Angband is installed.
  2. Run "ln -s /usr/share/fonts/truetype/liberation/LiberationMono-*.ttf ."
  3. Now those fonts will be available the next time you start the SDL2 front end.

The caveats with that are:
  1. You have to have write access to the directories where Angband installed.
  2. The font files linked will have to be monospaced and in a format that the SDL2_ttf library can read.
  3. There's a hardwired limit of at most 128 fonts the SDL2 front end will show in its font selector.
  4. lib/customize/font-sdl2.prf references a centered dot for open floors that's present in Angband's .fon files but may not work well with other fonts. Setting up a custom font-sdl2.prf in your Angband user directory, ~/.angband/Angband, would work around that. Having "feat:open floor:*:1:0x2e" (to use a plain period, referenced by its ASCII code) or "feat:open floor:*:1:0xb7" (Unicode centered dot) in that font-sdl2.prf file may work.

Last edited by backwardsEric; September 15, 2022 at 06:35. Reason: inserted missing verb; disable smilies
backwardsEric is offline   Reply With Quote
Old September 21, 2022, 16:58   #142
Naranathu Bhranthan
Rookie
 
Join Date: Mar 2022
Posts: 4
Naranathu Bhranthan is on a distinguished road
Books

Hi there,
I can not find any books in the object.txt.
Can anyone please tell me where they are listed?
I am mainly interested in the level I have the best chances to find those that are not available in the shop, so that info would be of help, too.
Thanks!
Naranathu Bhranthan is offline   Reply With Quote
Old September 21, 2022, 19:48   #143
DudeMan
Rookie
 
Join Date: Jul 2019
Posts: 9
DudeMan is on a distinguished road
Quote:
Originally Posted by Naranathu Bhranthan View Post
Hi there,
I can not find any books in the object.txt.
Can anyone please tell me where they are listed?
They can be found from class.txt. The information you seek is on a line with 'book-properties'.
DudeMan is offline   Reply With Quote
Old September 22, 2022, 04:26   #144
Naranathu Bhranthan
Rookie
 
Join Date: Mar 2022
Posts: 4
Naranathu Bhranthan is on a distinguished road
Found the ranger-book properties with the druid. Thanks a lot!
Naranathu Bhranthan is offline   Reply With Quote
Old October 22, 2022, 02:58   #145
Chud
Swordsman
 
Join Date: Jun 2010
Posts: 309
Chud is on a distinguished road
I think I have possibly found a bug with the order actions are taken in the dev release I'm playing -- 4.2.4-99-g3b1884c5c on Windows

I realize that this is not the most current, but I did skim the notes in later updates and didn't see anything that looked related.

It seems that sometimes when actions are done for a turn, and the game is sitting waiting for my input, I will enter an action, and then the monsters make their moves, and only after they are done my action then executes.

I've noticed what I thought were odd behaviors before that could be the same thing, but I found an example that's more clear.

High level priest fighting 3 huorns. My glyph of warding breaks, I get hit a few times, and then it's my turn. I cast glyph of warding again. Next I get a series of messages about them casting darkness and me resisting the effect, during which "glyph of warding" is not displayed in the status line. Only once those messages are cleared does the status line update.

It might well be just a message-order glitch though, since as far as I remember they do not actually hit me in this situation. It does seem like there are times when I enter a move and the monsters get to move before my input executes though - it is hard to duplicate, but I'll grab a save if I can.

My guess is the 4.2.4 release version does the same thing; I jumped to the dev version because I thought the 4.2.4 release seemed like it was being occasionally weird like this.
Chud is offline   Reply With Quote
Old October 22, 2022, 22:10   #146
Chud
Swordsman
 
Join Date: Jun 2010
Posts: 309
Chud is on a distinguished road
The more I think about it the less sense this makes - sorry. I'm sure the order of who moves when is governed by a fairly outer-level loop, and I imagine there probably can't really be any way to get it out of sync. Hmm...
Chud is offline   Reply With Quote
Old October 31, 2022, 11:58   #147
smbhax
Swordsman
 
Join Date: Oct 2021
Location: WA
Posts: 311
smbhax is on a distinguished road
^c ("special - break") seems to have a default keymap to Q ("Kill character & quit").

Is that supposed to be there? Did it always do that? In the past few weeks I started noticing that I was getting "Are you sure you want to kill your character?" when I would accidentally hit ^c instead of the key right next to it, ^x, when I wanted to save. Seems like a dangerous arrangement. But I don't *think* I somehow set that keymap myself; found it in a fresh install even after deleting all the old junk from my Windows\User\[username]\AppData\Local\VirtualStore\ProgramFiles\angband folder. Besides in the Windows standard version, I also get it in my MSYS2 SDL2 version.

And if I clear that keymap:
- pressing ^c just pops up the usual unmapped key "press ? for help" text--so does "special - break" just mean keymap Q?
- if I ^x (save and quit), then run the game again, ^c is back to being keymapped to Q!

Is any of that supposed to be happening?
__________________
My Angband videos

Last edited by smbhax; October 31, 2022 at 12:53.
smbhax is offline   Reply With Quote
Old October 31, 2022, 21:04   #148
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,425
Donated: $60
Nick will become famous soon enoughNick will become famous soon enough
Quote:
Originally Posted by smbhax View Post
^c ("special - break") seems to have a default keymap to Q ("Kill character & quit").
Back in the old days before Microsoft started using Ctrl-C for copy, it was the key combination to stop a running program. Rather than actually allowing that to happen, Angband catches the key combination and asks the player if they're trying to kill the character.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick 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 05:36.


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