(defclass PLAYER (CREATURE)(...)) |
scope | package ORG.LANGBAND.ENGINE |
location | classes.lisp |
inherits | CREATURE |
# variables | 47 |
# methods | 94 |
(CURRENT-MANA (OBJ PLAYER)) [accessor] |
Called By | DISPLAY-PLAYER-MISC, HANDLE-TURN, PRINT-MANA-POINTS, PROCESS-WORLD&, REGENERATE-MANA! and VAN-INVOKE-SPELL! |
((SETF GET-CREATURE-INVENTORY) (OBJ PLAYER)) [accessor] |
Description | quick variable to equipment.backpack.content |
(GET-CREATURE-INVENTORY (OBJ PLAYER)) [accessor] |
Description | quick variable to equipment.backpack.content |
((SETF GET-RESISTANCE-TABLE) (OBJ PLAYER)) [accessor] |
Description | What does the player resist and how much? object is an array with index for each element, each element is an integer which tells the power of the resist |
(GET-RESISTANCE-TABLE (OBJ PLAYER)) [accessor] |
Description | What does the player resist and how much? object is an array with index for each element, each element is an integer which tells the power of the resist |
(MAXIMUM-MANA (OBJ PLAYER)) [accessor] |
Description | can be calculated | |
Called By | DISPLAY-PLAYER-MISC, HANDLE-TURN, PRINT-MANA-POINTS, PROCESS-WORLD&, REGENERATE-MANA! and ROLL-UP-CHARACTER! |
((SETF PLAYER.ACTIVE-STATS) (OBJ PLAYER)) [accessor] |
Description | This is the current active stat-value, it's value is calculated by: (base + curstatmods + race + class + eq) |
(PLAYER.ACTIVE-STATS (OBJ PLAYER)) [accessor] |
Description | This is the current active stat-value, it's value is calculated by: (base + curstatmods + race + class + eq) | |
Called By | CAN-LEARN-MORE-SPELLS?, DISPLAY-PLAYER-STATS, GET-STAT-INFO-VALUE and HANDLE-PLAYER-UPDATES! |
(SETF PLAYER.ACTUAL-ABILITIES)
((SETF PLAYER.ACTUAL-ABILITIES) (OBJ PLAYER)) [accessor] |
Description | A player-abilities object with actual abilties. |
(PLAYER.ACTUAL-ABILITIES (OBJ PLAYER)) [accessor] |
Description | A player-abilities object with actual abilties. | |
Called By |
((SETF PLAYER.BURDEN) (OBJ PLAYER)) [accessor] |
Description | Calculated value for how much player carries. |
((SETF PLAYER.CALC-ATTRS) (OBJ PLAYER)) [accessor] |
Description | Should be a hash-table with calculated attributes. | |
Called By |
(PLAYER.CALC-ATTRS (OBJ PLAYER)) [accessor] |
Description | Should be a hash-table with calculated attributes. | |
Called By | CALCULATE-ABILITIES!, CALCULATE-ABILITIES!, GET-CREATURE-STATE, HANDLE-PLAYER-UPDATES!, PROCESS-WORLD&, PRODUCE-PLAYER-OBJECT, RESET-PLAYER-OBJECT! and UPDATE-SLEEP-STATUS |
((SETF PLAYER.CLASS) (OBJ PLAYER)) [accessor] |
Description | The character-class of the player. | |
Called By |
((SETF PLAYER.CUR-STATMODS) (OBJ PLAYER)) [accessor] |
Description | An array with the diff (possibly drained or raised values) of the base stats |
(PLAYER.CUR-STATMODS (OBJ PLAYER)) [accessor] |
Description | An array with the diff (possibly drained or raised values) of the base stats | |
Called By |
(PLAYER.DEPTH (OBJ PLAYER)) [accessor] |
Called By | GAME-LOOP&, PLAY-GAME&, PRODUCE-PLAYER-OBJECT and USE-STAIR! |
(PLAYER.EQUIPMENT (OBJ PLAYER)) [accessor] |
Description | A pointer to the items worn. | |
Called By | PRODUCE-PLAYER-OBJECT, REMOVE-CURSE! and UPDATE-INVENTORY-ROW |
(PLAYER.GENDER (OBJ PLAYER)) [accessor] |
Description | Pointer to the player-gender. | |
Called By | GET-CHARACTER-PICTURE, GET-GENDER-NAME, IS-FEMALE? and IS-MALE? |
((SETF PLAYER.HP-TABLE) (OBJ PLAYER)) [accessor] |
Description | An array of hitpoints gained each character-level. Note: should be saved. |
(PLAYER.HP-TABLE (OBJ PLAYER)) [accessor] |
Description | An array of hitpoints gained each character-level. Note: should be saved. |
((SETF PLAYER.INFRAVISION) (OBJ PLAYER)) [accessor] |
Description | How far does infravision reach? 0 for no infravision. | |
Called By |
(PLAYER.INFRAVISION (OBJ PLAYER)) [accessor] |
Description | How far does infravision reach? 0 for no infravision. | |
Called By |
((SETF PLAYER.MISC) (OBJ PLAYER)) [accessor] |
Description | An object with misc info about the player character. |
(PLAYER.MISC (OBJ PLAYER)) [accessor] |
Description | An object with misc info about the player character. |
((SETF PLAYER.MODBASE-STATS) (OBJ PLAYER)) [accessor] |
Description | This is the modified base stats (base + race + class + eq) |
(PLAYER.MODBASE-STATS (OBJ PLAYER)) [accessor] |
Description | This is the modified base stats (base + race + class + eq) | |
Called By |
(SETF PLAYER.MONSTER-KNOWLEDGE)
((SETF PLAYER.MONSTER-KNOWLEDGE) (OBJ PLAYER)) [accessor] |
Description | Knowledge about monsters. |
(SETF PLAYER.OBJECT-KNOWLEDGE)
((SETF PLAYER.OBJECT-KNOWLEDGE) (OBJ PLAYER)) [accessor] |
Description | Knowledge about objects. |
(SETF PLAYER.PERCEIVED-ABILITIES)
((SETF PLAYER.PERCEIVED-ABILITIES) (OBJ PLAYER)) [accessor] |
Description | A player-abilities object with perceived abilties. |
(PLAYER.PERCEIVED-ABILITIES (OBJ PLAYER)) [accessor] |
Description | A player-abilities object with perceived abilties. | |
Called By | CALCULATE-ABILITIES!, DISPLAY-PLAYER-COMBAT-RATINGS and HANDLE-PLAYER-UPDATES! |
(PLAYER.POWER-LVL (OBJ PLAYER)) [accessor] |
Description | can be calculated from cur-xp | |
Called By | CALCULATE-ABILITIES!, CALCULATE-ABILITIES!, CAN-LEARN-MORE-SPELLS?, DISPLAY-PLAYER-MISC, LEARN-SPELL! and PRINT-TOMB |
(PLAYER.RACE (OBJ PLAYER)) [accessor] |
Description | Pointer to the player-race. | |
Called By | %QUERY-FOR-CLASS, DISPLAY-PLAYER-STATS, GET-CHARACTER-PICTURE, GET-CLASS-TILE and GET-RACE-NAME |
(PLAYER.SATIATION (OBJ PLAYER)) [accessor] |
Called By | HANDLE-PLAYER-UPDATES!, MODIFY-SATIATION! and PROCESS-WORLD& |
((SETF PLAYER.SEE-INVISIBLE) (OBJ PLAYER)) [accessor] |
Description | How far does 'see invisible' reach? 0 for no see-inv. | |
Called By |
(PLAYER.SEE-INVISIBLE (OBJ PLAYER)) [accessor] |
Description | How far does 'see invisible' reach? 0 for no see-inv. |
((SETF PLAYER.SKILLS) (OBJ PLAYER)) [accessor] |
Description | Meaning depends entirely on variant, engine will not touch this. | |
Called By |
(PLAYER.SKILLS (OBJ PLAYER)) [accessor] |
Description | Meaning depends entirely on variant, engine will not touch this. | |
Called By | CALCULATE-ABILITIES!, CALCULATE-ABILITIES!, DISPLAY-PLAYER-SKILLS, GET-MELEE-ATTACK-SKILL, GET-RANGED-ATTACK-SKILL, GET-SEARCH-SKILL, HANDLE-PLAYER-UPDATES! and RESET-PLAYER-OBJECT! |
((SETF PLAYER.TARGET) (OBJ PLAYER)) [accessor] |
Description | Who/what is the player targeting? | |
Called By | HANDLE-MOUSE-CLICK, INTERACTIVE-TARGETING!, REMOVE-MONSTER-FROM-DUNGEON! and RUN-LEVEL! |
(PLAYER.TARGET (OBJ PLAYER)) [accessor] |
Description | Who/what is the player targeting? | |
Called By | GET-AIM-DIRECTION, GET-DESTINATION-COORDS, HANDLE-MOUSE-CLICK, INTERACTIVE-TARGETING!, IS-TARGETING? and SWAP-MONSTERS! |
((SETF PLAYER.TEMP-ATTRS) (OBJ PLAYER)) [accessor] |
Description | Should be a hash-table with temporary attributes. | |
Called By |
(PLAYER.TEMP-ATTRS (OBJ PLAYER)) [accessor] |
Description | Should be a hash-table with temporary attributes. | |
Called By |
(PLAYER.VIEW-X (OBJ PLAYER)) [accessor] |
(PLAYER.VIEW-Y (OBJ PLAYER)) [accessor] |
slot ACTIVE-STATS is of type T |
Description | This is the current active stat-value, it's value is calculated by: (base + curstatmods + race + class + eq) |
slot CALCULATED-ATTRIBUTES is of type T |
Description | Should be a hash-table with calculated attributes. |
slot CURRENT-STATMODS is of type T |
Description | An array with the diff (possibly drained or raised values) of the base stats |
|
|
slot HP-TABLE is of type T |
Description | An array of hitpoints gained each character-level. Note: should be saved. |
|
slot MODBASE-STATS is of type T |
Description | This is the modified base stats (base + race + class + eq) |
slot PERCEIVED-ABILITIES is of type T |
Description | A player-abilities object with perceived abilties. |
slot RESISTANCE is of type T |
Description | What does the player resist and how much? object is an array with index for each element, each element is an integer which tells the power of the resist |
slot SKILLS is of type T |
Description | Meaning depends entirely on variant, engine will not touch this. |
|
This documentation was generated Autumn 2003 from the original sources by Albert v.0.4.9.