Crossfire Server, Trunk
R21670
|
#include <artifact.h>
Data Fields | |
linked_char * | allowed |
int | allowed_size |
uint16_t | chance |
uint8_t | difficulty |
object * | item |
struct artifactstruct * | next |
This is one artifact, ie one special item.
Definition at line 14 of file artifact.h.
linked_char* artifactstruct::allowed |
List of archetypes the artifact can affect.
Definition at line 19 of file artifact.h.
Referenced by artifact_describe(), artifact_get_face(), CREUtils::artifactNode(), dump_artifacts(), free_artifact(), get_empty_artifact(), init_artifacts(), legal_artifact_combination(), CREWrapperArtifact::setArtifact(), and CREArtifactPanel::setItem().
int artifactstruct::allowed_size |
Length of allowed, for faster computation.
Definition at line 20 of file artifact.h.
Referenced by artifact_describe(), artifact_get_face(), CREArtifactPanel::computeMadeViaAlchemy(), get_empty_artifact(), and init_artifacts().
uint16_t artifactstruct::chance |
Chance of the artifact to happen.
Definition at line 16 of file artifact.h.
Referenced by artifact_describe(), dump_artifacts(), generate_artifact(), get_empty_artifact(), init_artifacts(), CREWrapperArtifact::setArtifact(), and CREArtifactPanel::setItem().
uint8_t artifactstruct::difficulty |
Minimum map difficulty for the artifact to happen.
Definition at line 17 of file artifact.h.
Referenced by dump_artifacts(), get_empty_artifact(), init_artifacts(), and CREWrapperArtifact::setArtifact().
object* artifactstruct::item |
Special values of the artifact. Note that this object is malloc() ed.
Definition at line 15 of file artifact.h.
Referenced by add_one_item(), addArchetypes(), artifact_describe(), artifact_get_face(), artifact_msg(), CREArtifactPanel::artifactChanged(), CREUtils::artifactNode(), cast_create_missile(), command_create(), CREArtifactPanel::computeMadeViaAlchemy(), dump_alchemy_costs(), dump_artifacts(), find_artifact(), find_ingred_cost(), free_artifact(), generate_artifact(), get_empty_artifact(), init_artifacts(), knowledge_alchemy_face(), locate_recipe_artifact(), make_item_from_recipe(), CREMainWindow::onReportDuplicate(), save_object_in_sb(), CREWrapperArtifact::setArtifact(), CREFacePanel::setItem(), CREFormulaePanel::setItem(), CREArtifactPanel::setItem(), and CREAnimationPanel::setItem().
struct artifactstruct* artifactstruct::next |
Next artifact in the list.
Definition at line 18 of file artifact.h.
Referenced by artifact_msg(), cast_create_missile(), command_create(), dump_artifacts(), CREResourcesWindow::fillArtifacts(), find_artifact(), find_ingred_cost(), free_artifact(), generate_artifact(), get_empty_artifact(), init_artifacts(), locate_recipe_artifact(), CREMainWindow::onReportDuplicate(), CREFacePanel::setItem(), CREFormulaePanel::setItem(), and CREAnimationPanel::setItem().