Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old October 27, 2019, 15:48   #1
Tibarius
Swordsman
 
Tibarius's Avatar
 
Join Date: Jun 2011
Location: Germany
Age: 50
Posts: 399
Tibarius is an unknown quantity at this point
bolt types

What is the difference between the following BOLT types please?

BOLT (example priest spall Annihilation)
BOLT_AWARE (used by confuse/hold monster)
BOLT_STATUS (used by teleport other)
__________________
Blondes are more fun!
Tibarius is offline   Reply With Quote
Old October 27, 2019, 17:07   #2
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,414
Donated: $40
Pete Mack is on a distinguished road
Install grep. This is trivially easy, and it has functionality that yoy cannot do without in development, even of all you change is config data. Alternatively install a "real" editor that gives the same funcrionality.
Pete Mack is offline   Reply With Quote
Old October 27, 2019, 18:04   #3
Tibarius
Swordsman
 
Tibarius's Avatar
 
Join Date: Jun 2011
Location: Germany
Age: 50
Posts: 399
Tibarius is an unknown quantity at this point
grep

Triviality ends if the recommendated application requires another operating system, i am using a windows machine.
__________________
Blondes are more fun!
Tibarius is offline   Reply With Quote
Old October 27, 2019, 18:32   #4
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,414
Donated: $40
Pete Mack is on a distinguished road
Again: mingw or cygwin gives you grep.
MSVC express and other IDEs let you do multifile regexp search from the editor.
Pete Mack is offline   Reply With Quote
Old October 27, 2019, 18:34   #5
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 8,941
Derakon is on a distinguished road
grep does not require a Linux machine. Install the cygwin toolkit -- or better yet, install Git for Windows, which comes with a Bash shell and a bunch of Linux standard tools, and will also let you pull source code from Vanilla's GitHub site (or from your own fork of that) and push your changes back.

Part of making things is learning to use the tools that best enable you to make things. That includes in this case learning how to read code and how to search the codebase. We can and will answer questions, but not to the extent of telling you how to do your job.

In this case, you can search the code on GitHub, see that the only reference to BOLT_AWARE outside of the data files is in list-effects.h, and compare the entry there to the entries for other kinds of spells. That will be the full extent of the difference between the different kinds of bolts.
Derakon 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lightning Bolt vs Frost Bolt chandergovind Vanilla 4 November 27, 2018 08:30
Cant get adom bolt tiles to work in frogcomposband ghost0087 Variants 3 April 19, 2018 21:43
Adam Bolt tileset desmondch Development 1 October 31, 2011 15:50
Feature request: lightning bolt wands and rods should work like the spell bron Vanilla 2 December 20, 2009 01:33
Wands / Rods of xxx Bolt AceRimmer Vanilla 8 August 2, 2009 07:18


All times are GMT +1. The time now is 04:56.


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