|
DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
|
Go to the source code of this file.
Classes | |
| struct | COM_ITEM_INFO |
| struct | ITEM_DATA |
| struct | ATTACH_DATA |
| struct | ATTACH_LIST |
| struct | WEAPON_DATA |
| struct | WEAPON_HAVE |
Enumerations | |
| enum | ItemStackKind { ITEM_STACK_MULTI = 0 , ITEM_STACK_SINGLE = 1 , ITEM_STACK_NEVER = 2 } |
| enum | ItemSortKey { ITEM_SORT_NONE = 0 , ITEM_SORT_FOOD = 1 , ITEM_SORT_THROW = 2 , ITEM_SORT_POWDER = 3 , ITEM_SORT_QUEST = 4 , ITEM_SORT_KEY_ITEM = 5 , ITEM_SORT_GOODS = 6 , ITEM_SORT_FISH = 7 , ITEM_SORT_ROTTEN = 8 , ITEM_SORT_COUNT = 9 } |
| enum | Item { ITEM_ATTACH_START = 81 , ITEM_CONSUMABLE_START = 81 , ITEM_ATTACH_FIRE = 81 , ITEM_ATTACH_ICE = 82 , ITEM_ATTACH_THUNDER = 83 , ITEM_ATTACH_WIND = 84 , ITEM_ATTACH_HOLY = 85 , ITEM_ATTACH_ELEMENT_END = 86 , ITEM_ATTACH_SYNTHESIS_SPHERE = 90 , ITEM_ATTACH_STAT_START = 91 , ITEM_ATTACH_ATTACK = 91 , ITEM_ATTACH_ENDURANCE = 92 , ITEM_ATTACH_SPEED = 93 , ITEM_ATTACH_MAGICAL_POWER = 94 , ITEM_ATTACH_GEM_START = 95 , ITEM_ATTACH_GARNET = 95 , ITEM_ATTACH_AMETHYST = 96 , ITEM_ATTACH_AQUAMARINE = 97 , ITEM_ATTACH_DIAMOND = 98 , ITEM_ATTACH_EMERALD = 99 , ITEM_ATTACH_PEARL = 100 , ITEM_ATTACH_RUBY = 101 , ITEM_ATTACH_PERIDOT = 102 , ITEM_ATTACH_SAPPHIRE = 103 , ITEM_ATTACH_OPAL = 104 , ITEM_ATTACH_TOPAZ = 105 , ITEM_ATTACH_TURQUOISE = 106 , ITEM_ATTACH_SUN = 107 , ITEM_ATTACH_GEM_END = 110 , ITEM_ATTACH_SLAYER_START = 111 , ITEM_ATTACH_DINOSLAYER = 111 , ITEM_ATTACH_UNDEAD_BUSTER = 112 , ITEM_ATTACH_SEA_KILLER = 113 , ITEM_ATTACH_STONE_BREAKER = 114 , ITEM_ATTACH_PLANT_BUSTER = 115 , ITEM_ATTACH_BEAST_BUSTER = 116 , ITEM_ATTACH_SKY_HUNTER = 117 , ITEM_ATTACH_METALBREAKER = 118 , ITEM_ATTACH_MIMIC_BREAKER = 119 , ITEM_ATTACH_MAGE_SLAYER = 120 , ITEM_ATTACH_SLAYER_END = 121 , ITEM_DUNGEON_START = 132 , ITEM_ANTI_FREEZE_AMULET = 132 , ITEM_ANTICURSEAMULET = 133 , ITEM_ANTIGOO_AMULET = 134 , ITEM_ANTIDOTE_AMULET = 135 , ITEM_FLUFFY_DOUGHNUT = 136 , ITEM_FISH_CANDY = 137 , ITEM_GRASS_CAKE = 138 , ITEM_WITCH_PARFAIT = 139 , ITEM_SCORPION_JERKY = 140 , ITEM_CARROT_COOKIE = 141 , ITEM_DUMMY = 142 , ITEM_REGULAR_WATER = 145 , ITEM_TASTY_WATER = 146 , ITEM_PREMIUM_WATER = 147 , ITEM_BREAD = 148 , ITEM_PREMIUM_CHICKEN = 149 , ITEM_STAMINA_DRINK = 150 , ITEM_ANTIDOTE_DRINK = 151 , ITEM_HOLY_WATER = 152 , ITEM_SOAP = 153 , ITEM_MIGHTY_HEALING = 154 , ITEM_CHEESE = 155 , ITEM_UNUSED_156 = 156 , ITEM_BOMB = 159 , ITEM_STONE = 160 , ITEM_FIRE_GEM = 161 , ITEM_ICE_GEM = 162 , ITEM_THUNDER_GEM = 163 , ITEM_WIND_GEM = 164 , ITEM_HOLY_GEM = 165 , ITEM_THROBBING_CHERRY = 166 , ITEM_GOOEY_PEACH = 167 , ITEM_BOMB_NUTS = 168 , ITEM_POISONOUS_APPLE = 169 , ITEM_MELLOW_BANANA = 170 , ITEM_MEDUSA_POWDER = 171 , ITEM_HARDENING_POWDER = 172 , ITEM_WARP_POWDER = 173 , ITEM_STAND_IN_POWDER = 174 , ITEM_ESCAPE_POWDER = 175 , ITEM_REVIVAL_POWDER = 176 , ITEM_REPAIR_POWDER = 177 , ITEM_POWERUP_POWDER = 178 , ITEM_POCKET = 179 , ITEM_FRUIT_OF_EDEN = 180 , ITEM_TREASURE_KEY = 181 , ITEM_GOURD = 182 , ITEM_AUTO_REPAIR_POWDER = 183 , ITEM_FISHING_ROD = 185 , ITEM_CARROT = 186 , ITEM_POTATO_CAKE = 187 , ITEM_MINON = 188 , ITEM_BATTAN = 189 , ITEM_PETITE_FISH = 190 , ITEM_SAVING_BOOK = 191 , ITEM_GOLD_BULLION = 192 , ITEM_EVY = 193 , ITEM_DRAN_S_CREST = 195 , ITEM_SHINY_STONE = 196 , ITEM_MIMI = 197 , ITEM_RED_BERRY = 198 , ITEM_PRICKLY = 199 , ITEM_CANDY = 200 , ITEM_HOOK = 201 , ITEM_KING_S_SLATE = 202 , ITEM_GUN_POWDER = 203 , ITEM_CLOCK_HANDS = 204 , ITEM_POINTY_CHESTNUT = 205 , ITEM_BLACK_KNIGHT_CREST = 206 , ITEM_HORNED_KEY = 207 , ITEM_MOON_GRASS_SEED = 208 , ITEM_MUSIC_BOX_KEY = 209 , ITEM_SUN_SIGNET = 210 , ITEM_MOON_SIGNET = 211 , ITEM_ADMISSION_TICKET = 212 , ITEM_SUN_SWORD = 213 , ITEM_BONE_KEY = 216 , ITEM_MOUSTACHE_KEY = 217 , ITEM_SHIPCABIN_KEY = 218 , ITEM_STONE_KEY = 219 , ITEM_HANDLE = 220 , ITEM_PITCHDARK_KEY = 221 , ITEM_SILVER_KEY = 222 , ITEM_TRAM_OIL = 224 , ITEM_SUN_DEW = 225 , ITEM_FLAPPING_FISH = 226 , ITEM_ROTTEN_FISH = 227 , ITEM_SECRET_PATH_KEY = 228 , ITEM_BRAVERY_LAUNCH = 229 , ITEM_FLAPPING_DUSTER = 230 , ITEM_CRYSTAL_EYEBALL = 231 , ITEM_MAP = 233 , ITEM_MAGICAL_CRYSTAL = 234 , ITEM_DRAN_S_FEATHER = 235 , ITEM_CAVE_KEY = 236 , ITEM_CHANGING_POTION = 237 , ITEM_WORLDMAP = 238 , ITEM_BONE_PENDANT = 239 , ITEM_ODD_TONE_FLUTE = 240 , ITEM_MAGICAL_LAMP = 241 , ITEM_MOON_ORB = 242 , ITEM_SHELL_RING = 243 , ITEM_SEARCH_WARRANT = 244 , ITEM_ICE_BLOCK = 245 , ITEM_SMALL_ICE = 246 , ITEM_TINY_ICE = 247 , ITEM_FLAME_KEY = 248 , ITEM_HUNTER_S_EARRING = 249 , ITEM_OINTMENT_LEAF = 250 , ITEM_FOUNDATION = 251 , ITEM_CLAY_DOLL = 252 , ITEM_MANUAL = 253 , ITEM_SUN_SPHERE = 254 , ITEM_DUNGEON_END = 255 , ITEM_ALMIGHTY_PASS = 255 , ITEM_WEAPON_START = 257 , ITEM_WEAPON_SLOT_EMPTY = 257 , ITEM_WEAPON_DAGGER_BROKEN = 257 , ITEM_WEAPON_DAGGER = 258 , ITEM_WEAPON_BASELARD = 259 , ITEM_WEAPON_GLADIUS = 260 , ITEM_WEAPON_WISE_OWL_SWORD = 261 , ITEM_WEAPON_CRYSKNIFE = 262 , ITEM_WEAPON_ANTIQUE_SWORD = 263 , ITEM_WEAPON_BUSTER_SWORD = 264 , ITEM_WEAPON_KITCHEN_KNIFE = 265 , ITEM_WEAPON_TSUKIKAGE = 266 , ITEM_WEAPON_SUN_SWORD = 267 , ITEM_WEAPON_SERPENT_SWORD = 268 , ITEM_WEAPON_MACHO_SWORD = 269 , ITEM_WEAPON_SHAMSHIR = 270 , ITEM_WEAPON_HEAVEN_S_CLOUD = 271 , ITEM_WEAPON_LAMB_S_SWORD = 272 , ITEM_WEAPON_DARK_CLOUD = 273 , ITEM_WEAPON_BRAVE_ARK = 274 , ITEM_WEAPON_BIG_BANG = 275 , ITEM_WEAPON_ATLAMILLIA_SWORD = 276 , ITEM_WEAPON_WEAPON_NO_277 = 277 , ITEM_WEAPON_MARDAN_EINS = 278 , ITEM_WEAPON_MARDAN_TWEI = 279 , ITEM_WEAPON_ARISE_MARDAN = 280 , ITEM_WEAPON_AGA_S_SWORD = 281 , ITEM_WEAPON_EVILCISE = 282 , ITEM_WEAPON_SMALL_SWORD = 283 , ITEM_WEAPON_SAND_BREAKER = 284 , ITEM_WEAPON_DRAIN_SEEKER = 285 , ITEM_WEAPON_CHOPPER = 286 , ITEM_WEAPON_CHOORA = 287 , ITEM_WEAPON_CLAYMORE = 288 , ITEM_WEAPON_MANEATER = 289 , ITEM_WEAPON_BONE_RAPIER = 290 , ITEM_WEAPON_SAX = 291 , ITEM_WEAPON_7BRANCH_SWORD = 292 , ITEM_WEAPON_DUSACK = 293 , ITEM_WEAPON_CROSS_HINDER = 294 , ITEM_WEAPON_7THHEAVEN = 295 , ITEM_WEAPON_SWORD_OF_ZEUS = 296 , ITEM_WEAPON_CHRONICLE_SWORD = 297 , ITEM_WEAPON_CHRONICLE2 = 298 , ITEM_WEAPON_WOODENSLINGSHOT_BROKEN = 299 , ITEM_WEAPON_WOODEN_SLINGSHOT = 300 , ITEM_WEAPON_STEEL_SLINGSHOT = 301 , ITEM_WEAPON_BANDIT_SLINGSHOT = 302 , ITEM_WEAPON_STEVE = 303 , ITEM_WEAPON_BONE_SLINGSHOT = 304 , ITEM_WEAPON_HARDSHOOTER = 305 , ITEM_WEAPON_DOUBLE_IMPACT = 306 , ITEM_WEAPON_DRAGON_S_Y = 307 , ITEM_WEAPON_DIVINEBEASTTITLE = 308 , ITEM_WEAPON_ANGEL_SHOOTER = 309 , ITEM_WEAPON_FLAMINGO = 310 , ITEM_WEAPON_MATADOR = 311 , ITEM_WEAPON_SUPER_STEVE = 312 , ITEM_WEAPON_ANGE_GEAR = 313 , ITEM_WEAPON_MALLET_BROKEN = 314 , ITEM_WEAPON_MALLET = 315 , ITEM_WEAPON_STEEL_HAMMER = 316 , ITEM_WEAPON_MAGICAL_HAMMER = 317 , ITEM_WEAPON_BATTLE_AX = 318 , ITEM_WEAPON_TURTLE_SHELL = 319 , ITEM_WEAPON_BIG_BUCKS_HAMMER = 320 , ITEM_WEAPON_FROZEN_TUNA = 321 , ITEM_WEAPON_GAIA_HAMMER = 322 , ITEM_WEAPON_LAST_JUDGEMENT = 323 , ITEM_WEAPON_TALL_HAMMER = 324 , ITEM_WEAPON_SATAN_S_AX = 325 , ITEM_WEAPON_UNUSED_326 = 326 , ITEM_WEAPON_PLATE_HAMMER = 327 , ITEM_WEAPON_TRIAL_HAMMER = 328 , ITEM_WEAPON_INFERNO = 329 , ITEM_WEAPON_GOLD_RING_BROKEN = 331 , ITEM_WEAPON_GOLD_RING = 332 , ITEM_WEAPON_BANDIT_S_RING = 333 , ITEM_WEAPON_CRYSTAL_RING = 334 , ITEM_WEAPON_PLATINUM_RING = 335 , ITEM_WEAPON_GODDESS_RING = 336 , ITEM_WEAPON_FAIRY_S_RING = 337 , ITEM_WEAPON_DESTRUCTION_RING = 338 , ITEM_WEAPON_SATAN_S_RING = 339 , ITEM_WEAPON_ATHENA_S_ARMLET = 340 , ITEM_WEAPON_MOBIUS_RING = 341 , ITEM_WEAPON_UNUSED_342 = 342 , ITEM_WEAPON_POCKLEKUL = 343 , ITEM_WEAPON_THORN_ARMLET = 344 , ITEM_WEAPON_SECRET_ARMLET = 345 , ITEM_WEAPON_FIGHTING_STICK_BROKEN = 347 , ITEM_WEAPON_FIGHTING_STICK = 348 , ITEM_WEAPON_JAVELIN = 349 , ITEM_WEAPON_HALBERT = 350 , ITEM_WEAPON_DE_SANGA = 351 , ITEM_WEAPON_SCORPION = 352 , ITEM_WEAPON_PARTISAN = 353 , ITEM_WEAPON_MIRAGE = 354 , ITEM_WEAPON_TERRA_SWORD = 355 , ITEM_WEAPON_HERCULES_WRATH = 356 , ITEM_WEAPON_BABEL_S_SPEAR = 357 , ITEM_WEAPON_UNUSED_358 = 358 , ITEM_WEAPON_5_FOOT_NAIL = 359 , ITEM_WEAPON_CACTUS = 360 , ITEM_WEAPON_MACHINE_GUN_BROKEN = 363 , ITEM_WEAPON_MACHINE_GUN = 364 , ITEM_WEAPON_JACKAL = 365 , ITEM_WEAPON_LAUNCHER = 366 , ITEM_WEAPON_LAUNCHERV2 = 367 , ITEM_WEAPON_BLESSING_GUN = 368 , ITEM_WEAPON_SKUNK = 369 , ITEM_WEAPON_G_CRUSHER = 370 , ITEM_WEAPON_HEXA_BLASTER = 371 , ITEM_WEAPON_STAR_BREAKER = 372 , ITEM_WEAPON_SUPERNOVA = 373 , ITEM_WEAPON_SNAIL = 374 , ITEM_WEAPON_SWALLOW = 375 , ITEM_WEAPON_END = 377 } |
| enum | WeaponFlag { WEAPONFLAG_QUENCH = 0x0008 , WEAPONFLAG_THIRST = 0x0010 , WEAPONFLAG_FRAGILE = 0x0100 , WEAPONFLAG_DURABLE = 0x0200 } |
| enum | Character { CHARA_TOAN = 0 , CHARA_XIAO = 1 , CHARA_GORO = 2 , CHARA_RUBY = 3 , CHARA_UNGAGA = 4 , CHARA_OSMOND = 5 } |
| enum | ItemKind { ITEMKIND_ATTACH = 0 , ITEMKIND_ITEM = 1 , ITEMKIND_WEAPON = 2 } |
| enum | ItemUseFlag { ITEMUSE_STATUS = 0x0020 , ITEMUSE_HEAL_HP = 0x0040 , ITEMUSE_DRINK = 0x0080 } |
| enum | ItemKindFlag { ITEMKINDF_CONSUMABLE = 0x0004 , ITEMKINDF_THROWABLE = 0x0010 , ITEMKINDF_RANDOM = 0x0020 } |
| enum | AttachStat { ATTACHSTAT_UNK0 = 0 , ATTACHSTAT_ATTACK = 1 , ATTACHSTAT_ENDURANCE = 2 , ATTACHSTAT_SPEED = 3 , ATTACHSTAT_MAGIC = 4 , ATTACHSTAT_FIRE = 8 , ATTACHSTAT_ICE = 9 , ATTACHSTAT_THUNDER = 10 , ATTACHSTAT_WIND = 11 , ATTACHSTAT_HOLY = 12 , ATTACHSTAT_DINO = 14 , ATTACHSTAT_UNDEAD = 15 , ATTACHSTAT_SEA = 16 , ATTACHSTAT_STONE = 17 , ATTACHSTAT_PLANT = 18 , ATTACHSTAT_BEAST = 19 , ATTACHSTAT_SKY = 20 , ATTACHSTAT_METAL = 21 , ATTACHSTAT_MIMIC = 22 , ATTACHSTAT_MAGE = 23 } |
| enum | AttachKind { ATTACHKIND_ELEMENT = 1 , ATTACHKIND_STAT = 2 , ATTACHKIND_GEM = 3 , ATTACHKIND_SLAYER = 4 , ATTACHKIND_OTHER = 5 } |
Functions | |
| int | TEIGIAnalyz (char *path) |
| void | TEIGIImgLoad (u_int *pack, CDataAlloc2< 1 > *arena) |
| void | TEIGIMdsLoad (u_int *pack, int reuse_only) |
| STATIC_ASSERT (sizeof(COM_ITEM_INFO)==0x8) | |
| STATIC_ASSERT (sizeof(ITEM_DATA)==0x14) | |
| STATIC_ASSERT (sizeof(ATTACH_DATA)==0x20) | |
| STATIC_ASSERT (sizeof(ATTACH_LIST)==0x20) | |
| STATIC_ASSERT (sizeof(WEAPON_DATA)==0x4C) | |
| STATIC_ASSERT (sizeof(WEAPON_HAVE)==0xF8) | |
| WEAPON_DATA * | GetWeaponDataInfo (int weapon_no) |
| COM_ITEM_INFO * | GetCommonItemInfo (int item_no) |
| int | GetItemTypeInfo (int item_no, s8 *kind) |
| ITEM_DATA * | GetItemData (int item_no) |
| ATTACH_DATA * | GetAttachData (int item_no) |
| WEAPON_DATA * | GetWeaponData (int item_no) |
| int | GetCommonItemDataMsg (int item_no) |
| int | GetCommonItemDataSystemMsg (int item_no) |
| int | GetDungeonItemStart () |
| int | GetDungeonItemEnd () |
Variables | |
| char | pathName [256] |
| char | filePathList [72][64] |
| CFrame * | frameList [72] |
| char | filePathColList [144][64] |
| CFrame * | frameListCol [144] |
| int | errFlag2 |
| int | FrameObjAnimCnt |
| int | filePathNum |
| int | filePathColNum |
| int | VERSION_VOL |
| float | run_speed |
| int | TEIGI_LIGHT_C [] |
| int | TEIGI_SET_PATH [] |
| int | TEIGI_VIEWLEVEL [] |
| int | TEIGI_DRANS_PARTS [] |
| int | TEIGI_DRANS_COLS [] |
| int | TEIGI_URA_AMBIENT [] |
| int | TEIGI_URA_LIGHT_C [] |
| int | TEIGI_URA_FOG [] |
| int | TEIGI_URA_BG_COL [] |
| int | TEIGI_MINIMAP_IMG [] |
| int | TEIGI_PT_CAM [] |
| int | TEIGI_PT_LIGHT [] |
| int | TEIGI_PT_GLIGHT [] |
| int | TEIGI_BG_MODEL [] |
| int | TEIGI_DUMMY_MODEL [] |
| int | TEIGI_PT_TAKI00 [] |
| int | TEIGI_PT_DRAW_FLAG [] |
| int | TEIGI_DRAW_FLAG [] |
| int | TEIGI_PT_MARKER [] |
| int | TEIGI_PT_NPC [] |
| int | TEIGI_PT_ROT [] |
| int | TEIGI_PT_HEAL_ZONE [] |
| int | TEIGI_PT_HIT_MARKER [] |
| int | TEIGI_PT_SCALE [] |
| char * | TEIGI_TABLE [] |
| int * | TEIGI_ARG_TABLE [] |
| ITEM_DATA | ITEM_LIST [] |
Item, weapon and attachment definitions, and their accessors.
Definition in file itemdata.hpp.
| enum ItemStackKind |
How an item sits in a quick-use slot, as ITEM_DATA::stack_kind holds it.
| Enumerator | |
|---|---|
| ITEM_STACK_MULTI | Stacks with copies of itself. |
| ITEM_STACK_SINGLE | Sits alone. |
| ITEM_STACK_NEVER | Cannot be placed. |
Definition at line 9 of file itemdata.hpp.
| enum ItemSortKey |
Groups the menus sort items by, as ITEM_DATA::sort_key holds them.
Definition at line 21 of file itemdata.hpp.
| enum Item |
In-game item ids.
Definition at line 188 of file itemdata.hpp.
| enum WeaponFlag |
Per-weapon behaviour flags.
| Enumerator | |
|---|---|
| WEAPONFLAG_QUENCH | Reduced thirst drain. |
| WEAPONFLAG_THIRST | Increases thirst drain. |
| WEAPONFLAG_FRAGILE | Double durability loss. |
| WEAPONFLAG_DURABLE | Halved durability loss. |
Definition at line 472 of file itemdata.hpp.
| enum Character |
The six playable characters.
Definition at line 485 of file itemdata.hpp.
| enum ItemKind |
The kind of an item.
Definition at line 500 of file itemdata.hpp.
| enum ItemUseFlag |
What using an item does.
| Enumerator | |
|---|---|
| ITEMUSE_STATUS | Grants a status effect. |
| ITEMUSE_HEAL_HP | Restores HP. |
| ITEMUSE_DRINK | Restores thirst. |
Definition at line 541 of file itemdata.hpp.
| enum ItemKindFlag |
Which menus and actions an item is eligible for.
| Enumerator | |
|---|---|
| ITEMKINDF_CONSUMABLE | Item is consumed on use. |
| ITEMKINDF_THROWABLE | Item can be thrown. |
| ITEMKINDF_RANDOM | Item has random properties. |
Definition at line 553 of file itemdata.hpp.
| enum AttachStat |
Definition at line 605 of file itemdata.hpp.
| enum AttachKind |
The category GetAttachKind sorts an attachment into.
The categories are identifier ranges rather than anything the attachment carries, so they only roughly follow what the items are. Garnet is the first of the twelve birthstones but sits below the 96 boundary and so comes out ATTACHKIND_STAT, apart from the eleven that follow it. Identifier 110 falls in the gap the gem and slayer ranges leave between them and comes out ATTACHKIND_OTHER, alongside everything that is not an attachment at all.
Definition at line 643 of file itemdata.hpp.
| int TEIGIAnalyz | ( | char * | path | ) |
Reads the item-definition text file into the intermediate command table and returns its size.
Reads the item definition file into the parsed command table and returns its size.
Definition at line 478 of file itemdata.cpp.
| void TEIGIImgLoad | ( | u_int * | pack, |
| CDataAlloc2< 1 > * | arena | ||
| ) |
Loads texture resources named by the parsed item-definition commands.
Reads the textures the item definitions name.
Definition at line 585 of file itemdata.cpp.
| void TEIGIMdsLoad | ( | u_int * | pack, |
| int | reuse_only | ||
| ) |
Loads dungeon models and applies scene directives from the parsed definitions.
Loads the models and places the map parts the item definitions describe.
Definition at line 693 of file itemdata.cpp.
| WEAPON_DATA * GetWeaponDataInfo | ( | int | weapon_no | ) |
Get the weapon data for an item, or null if invalid.
Definition at line 2131 of file itemdata.cpp.
| COM_ITEM_INFO * GetCommonItemInfo | ( | int | item_no | ) |
Get the common item info for an id, or null if the id is not an item.
Definition at line 2139 of file itemdata.cpp.
| int GetItemTypeInfo | ( | int | item_no, |
| s8 * | kind | ||
| ) |
Get the type info for an item, or null if the id is not an item.
Definition at line 2154 of file itemdata.cpp.
| ITEM_DATA * GetItemData | ( | int | item_no | ) |
Get the item data for an id, or null if the id is not an item.
Definition at line 2169 of file itemdata.cpp.
| ATTACH_DATA * GetAttachData | ( | int | item_no | ) |
Get the attachment data for an id, or null if the id is not an attachment.
Definition at line 2180 of file itemdata.cpp.
| WEAPON_DATA * GetWeaponData | ( | int | item_no | ) |
Get the weapon data for an item, or null if invalid.
Definition at line 2191 of file itemdata.cpp.
| int GetCommonItemDataMsg | ( | int | item_no | ) |
Gets the message id for an item, or zero if the id has no entry.
Definition at line 2202 of file itemdata.cpp.
| int GetCommonItemDataSystemMsg | ( | int | item_no | ) |
Gets the system message id for an item, or zero if the id has no entry.
Definition at line 2213 of file itemdata.cpp.
|
inline |
First id in the dungeon-item range.
Definition at line 783 of file itemdata.hpp.
|
inline |
One past the last dungeon-item id.
Definition at line 786 of file itemdata.hpp.
|
extern |
Directory prefix applied to resource names in the item definition file.
Definition at line 33 of file itemdata.cpp.
|
extern |
Resource paths of the dungeon-part models already loaded.
Definition at line 35 of file itemdata.cpp.
|
extern |
Frames of the dungeon-part models already loaded, parallel to filePathList.
Definition at line 36 of file itemdata.cpp.
|
extern |
Resource paths of the dungeon-part collision models already loaded.
Definition at line 37 of file itemdata.cpp.
|
extern |
Frames of the dungeon-part collision models already loaded, parallel to filePathColList.
Definition at line 38 of file itemdata.cpp.
|
extern |
Parser integrity marker changed by malformed definition data.
Definition at line 40 of file itemdata.cpp.
| int FrameObjAnimCnt |
Number of entries of FrameObjAnim in use.
Definition at line 87 of file itemdata.hpp.
|
extern |
Number of entries of filePathList in use.
Definition at line 52 of file itemdata.cpp.
|
extern |
Number of entries of filePathColList in use.
Definition at line 53 of file itemdata.cpp.
|
extern |
Revision of the weapon list reported by the debug display.
Definition at line 54 of file itemdata.cpp.
|
extern |
Movement speed multiplier set by the RUN_SPEED directive.
Definition at line 59 of file itemdata.cpp.
|
extern |
Command number and argument kinds of the LIGHT_C directive.
Definition at line 82 of file itemdata.cpp.
|
extern |
Command number and argument kinds of the SET_PATH directive.
Definition at line 92 of file itemdata.cpp.
|
extern |
Command number and argument kinds of the VIEWLEVEL directive.
Definition at line 93 of file itemdata.cpp.
|
extern |
Command number and argument kinds of the DRANS_PARTS directive.
Definition at line 94 of file itemdata.cpp.
|
extern |
Command number and argument kinds of the DRANS_COLS directive.
Definition at line 95 of file itemdata.cpp.
|
extern |
Command number and argument kinds of the URA_AMBIENT directive.
Definition at line 96 of file itemdata.cpp.
|
extern |
Command number and argument kinds of the URA_LIGHT_C directive.
Definition at line 97 of file itemdata.cpp.
|
extern |
Command number and argument kinds of the URA_FOG directive.
Definition at line 98 of file itemdata.cpp.
|
extern |
Command number and argument kinds of the URA_BG_COL directive.
Definition at line 99 of file itemdata.cpp.
|
extern |
Command number and argument kinds of the MINIMAP_IMG directive.
Definition at line 100 of file itemdata.cpp.
|
extern |
Command number and argument kinds of the PT_CAM directive.
Definition at line 107 of file itemdata.cpp.
|
extern |
Command number and argument kinds of the PT_LIGHT directive.
Definition at line 111 of file itemdata.cpp.
|
extern |
Command number and argument kinds of the PT_GLIGHT directive.
Definition at line 112 of file itemdata.cpp.
|
extern |
Command number and argument kinds of the BG_MODEL directive.
Definition at line 116 of file itemdata.cpp.
|
extern |
Command number and argument kinds of the DUMMY_MODEL directive.
Definition at line 117 of file itemdata.cpp.
|
extern |
Command number and argument kinds of the PT_TAKI00 directive.
Definition at line 118 of file itemdata.cpp.
|
extern |
Command number and argument kinds of the PT_DRAW_FLAG directive.
Definition at line 119 of file itemdata.cpp.
|
extern |
Command number and argument kinds of the DRAW_FLAG directive.
Definition at line 120 of file itemdata.cpp.
|
extern |
Command number and argument kinds of the PT_MARKER directive.
Definition at line 121 of file itemdata.cpp.
|
extern |
Command number and argument kinds of the PT_NPC directive.
Definition at line 122 of file itemdata.cpp.
|
extern |
Command number and argument kinds of the PT_ROT directive.
Definition at line 123 of file itemdata.cpp.
|
extern |
Command number and argument kinds of the PT_HEAL_ZONE directive.
Definition at line 124 of file itemdata.cpp.
|
extern |
Command number and argument kinds of the PT_HIT_MARKER directive.
Definition at line 125 of file itemdata.cpp.
|
extern |
Command number and argument kinds of the PT_SCALE directive.
Definition at line 126 of file itemdata.cpp.
|
extern |
Item-definition command names, terminated by a null entry.
Definition at line 127 of file itemdata.cpp.
|
extern |
Argument format of each item-definition command, parallel to TEIGI_TABLE.
Definition at line 168 of file itemdata.cpp.
|
extern |
The item data table, one entry per item from ITEM_ATTACH_START on.
Definition at line 1654 of file itemdata.cpp.