Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_save.h File Reference

Go to the source code of this file.

Classes

class  dSv_player_status_a_c
 
class  dSv_player_status_b_c
 
class  dSv_horse_place_c
 
class  dSv_player_return_place_c
 
class  dSv_player_field_last_stay_info_c
 
class  dSv_player_last_mark_info_c
 
class  dSv_player_item_c
 
class  dSv_player_get_item_c
 
class  dSv_player_item_record_c
 
class  dSv_player_item_max_c
 
class  dSv_player_collect_c
 
class  dSv_player_wolf_c
 
class  dSv_light_drop_c
 
class  dSv_letter_info_c
 
class  dSv_fishing_info_c
 
class  dSv_player_info_c
 
class  dSv_player_config_c
 
class  dSv_player_c
 
class  dSv_memBit_c
 
class  dSv_event_c
 
class  dSv_MiniGame_c
 
class  dSv_memory_c
 
class  dSv_memory2_c
 
class  dSv_danBit_c
 
class  dSv_zoneBit_c
 
class  dSv_zoneActor_c
 
class  dSv_zone_c
 
class  dSv_restart_c
 
class  dSv_turnRestart_c
 
class  dSv_turnRestart_c::dSv_turnRestart_camera_c
 
class  dSv_reserve_c
 
class  dSv_save_c
 
class  dSv_info_c
 
class  dSv_event_flag_c
 
class  dSv_event_tmp_flag_c
 

Enumerations

enum  ButtonIndexes { A_BUTTON , B_BUTTON }
 
enum  Wallets { WALLET , BIG_WALLET , GIANT_WALLET }
 
enum  ItemSlots {
  SLOT_0 , SLOT_1 , SLOT_2 , SLOT_3 ,
  SLOT_4 , SLOT_5 , SLOT_6 , SLOT_7 ,
  SLOT_8 , SLOT_9 , SLOT_10 , SLOT_11 ,
  SLOT_12 , SLOT_13 , SLOT_14 , SLOT_15 ,
  SLOT_16 , SLOT_17 , SLOT_18 , SLOT_19 ,
  SLOT_20 , SLOT_21 , SLOT_22 , SLOT_23
}
 
enum  ItemTable {
  HEART , GREEN_RUPEE , BLUE_RUPEE , YELLOW_RUPEE ,
  RED_RUPEE , PURPLE_RUPEE , ORANGE_RUPEE , SILVER_RUPEE ,
  S_MAGIC , L_MAGIC , BOMB_5 , BOMB_10 ,
  BOMB_20 , BOMB_30 , ARROW_10 , ARROW_20 ,
  ARROW_30 , ARROW_1 , PACHINKO_SHOT , noentry1 ,
  noentry2 , noentry3 , WATER_BOMB_5 , WATER_BOMB_10 ,
  WATER_BOMB_20 , WATER_BOMB_30 , BOMB_INSECT_5 , BOMB_INSECT_10 ,
  BOMB_INSECT_20 , BOMB_INSECT_30 , RECOVERY_FAILY , TRIPLE_HEART ,
  SMALL_KEY , KAKERA_HEART , UTAWA_HEART , MAP ,
  COMPUS , DUNGEON_EXIT , BOSS_KEY , DUNGEON_BACK ,
  SWORD , MASTER_SWORD , WOOD_SHIELD , SHIELD ,
  HYLIA_SHIELD , TKS_LETTER , WEAR_CASUAL , WEAR_KOKIRI ,
  ARMOR , WEAR_ZORA , MAGIC_LV1 , DUNGEON_EXIT_2 ,
  WALLET_LV1 , WALLET_LV2 , WALLET_LV3 , noentry4 ,
  noentry5 , noentry6 , noentry7 , noentry8 ,
  noentry9 , ZORAS_JEWEL , HAWK_EYE , WOOD_STICK ,
  BOOMERANG , SPINNER , IRONBALL , BOW ,
  HOOKSHOT , HVY_BOOTS , COPY_ROD , W_HOOKSHOT ,
  KANTERA , LIGHT_SWORD , FISHING_ROD_1 , PACHINKO ,
  COPY_ROD_2 , noentry10 , noentry11 , BOMB_BAG_LV2 ,
  BOMB_BAG_LV1 , BOMB_IN_BAG , noentry12 , LIGHT_ARROW ,
  ARROW_LV1 , ARROW_LV2 , ARROW_LV3 , noentry13 ,
  LURE_ROD , BOMB_ARROW , HAWK_ARROW , BEE_ROD ,
  JEWEL_ROD , WORM_ROD , JEWEL_BEE_ROD , JEWEL_WORM_ROD ,
  EMPTY_BOTTLE , RED_BOTTLE , GREEN_BOTTLE , BLUE_BOTTLE ,
  MILK_BOTTLE , HALF_MILK_BOTTLE , OIL_BOTTLE , WATER_BOTTLE ,
  OIL_BOTTLE_2 , RED_BOTTLE_2 , UGLY_SOUP , HOT_SPRING ,
  FAIRY , HOT_SPRING_2 , OIL2 , OIL ,
  NORMAL_BOMB , WATER_BOMB , POKE_BOMB , FAIRY_DROP ,
  WORM , DROP_BOTTLE , BEE_CHILD , CHUCHU_RARE ,
  CHUCHU_RED , CHUCHU_BLUE , CHUCHU_GREEN , CHUCHU_YELLOW ,
  CHUCHU_PURPLE , LV1_SOUP , LV2_SOUP , LV3_SOUP ,
  LETTER , BILL , WOOD_STATUE , IRIAS_PENDANT ,
  HORSE_FLUTE , noentry14 , noentry15 , noentry16 ,
  noentry17 , noentry18 , noentry19 , noentry20 ,
  noentry21 , noentry22 , noentry23 , noentry24 ,
  RAFRELS_MEMO , ASHS_SCRIBBLING , noentry25 , noentry26 ,
  noentry27 , noentry28 , noentry29 , noentry30 ,
  noentry31 , noentry32 , noentry33 , noentry34 ,
  CHUCHU_YELLOW2 , OIL_BOTTLE3 , SHOP_BEE_CHILD , CHUCHU_BLACK ,
  LIGHT_DROP , DROP_CONTAINER , DROP_CONTAINER02 , DROP_CONTAINER03 ,
  FILLED_CONTAINER , MIRROR_PIECE_2 , MIRROR_PIECE_3 , MIRROR_PIECE_4 ,
  noentry35 , noentry36 , noentry37 , noentry38 ,
  noentry39 , noentry40 , noentry41 , noentry42 ,
  SMELL_YELIA_POUCH , SMELL_PUMPKIN , SMELL_POH , SMELL_FISH ,
  SMELL_CHILDREN , SMELL_MEDICINE , noentry43 , noentry44 ,
  noentry45 , noentry46 , noentry47 , noentry48 ,
  noentry49 , noentry50 , noentry51 , noentry52 ,
  M_BEETLE , F_BEETLE , M_BUTTERFLY , F_BUTTERFLY ,
  M_STAG_BEETLE , F_STAG_BEETLE , M_GRASSHOPPER , F_GRASSHOPPER ,
  M_NANAFUSHI , F_NANAFUSHI , M_DANGOMUSHI , F_DANGOMUSHI ,
  M_MANTIS , F_MANTIS , M_LADYBUG , F_LADYBUG ,
  M_SNAIL , F_SNAIL , M_DRAGONFLY , F_DRAGONFLY ,
  M_ANT , F_ANT , M_MAYFLY , F_MAYFLY ,
  noentry53 , noentry54 , noentry55 , noentry56 ,
  noentry57 , noentry58 , noentry59 , noentry60 ,
  POU_SPIRIT , noentry61 , noentry62 , noentry63 ,
  noentry64 , noentry65 , noentry66 , noentry67 ,
  noentry68 , ANCIENT_DOCUMENT , AIR_LETTER , ANCIENT_DOCUMENT2 ,
  LV7_DUNGEON_EXIT , LINKS_SAVINGS , SMALL_KEY2 , POU_FIRE1 ,
  POU_FIRE2 , POU_FIRE3 , POU_FIRE4 , BOSSRIDER_KEY ,
  TOMATO_PUREE , TASTE , LV5_BOSS_KEY , SURFBOARD ,
  KANTERA2 , L2_KEY_PIECES1 , L2_KEY_PIECES2 , L2_KEY_PIECES3 ,
  KEY_OF_CARAVAN , LV2_BOSS_KEY , KEY_OF_FILONE , NO_ITEM ,
  noentry69 , noentry70 , noentry71 , EQUIP_SWORD ,
  noentry72 , noentry73 , noentry74 , noentry75 ,
  noentry76 , noentry77 , noentry78 , noentry79
}
 
enum  CollectItem {
  COLLECT_CLOTHING , COLLECT_SWORD , COLLECT_SHIELD , COLLECT_SMELL ,
  B_BUTTON_ITEM
}
 
enum  Swords { COLLECT_ORDON_SWORD , COLLECT_MASTER_SWORD , COLLECT_WOODEN_SWORD , COLLECT_LIGHT_SWORD }
 
enum  Shields { COLLECT_WOODEN_SHIELD , COLLECT_ORDON_SHIELD , COLLECT_HYLIAN_SHIELD }
 
enum  Clothes { KOKIRI_CLOTHES_FLAG }
 
enum  LightDropStages { FARON_VESSEL , ELDIN_VESSEL , LANAYRU_VESSEL }
 
enum  ItemMax { ARROW_MAX , NORMAL_BOMB_MAX , WATER_BOMB_MAX , POKE_BOMB_MAX = 6 }
 
enum  {
  SELECT_ITEM_LEFT , SELECT_ITEM_RIGHT , SELECT_ITEM_DOWN , SELECT_ITEM_B ,
  SELECT_ITEM_X = SELECT_ITEM_LEFT , SELECT_ITEM_Y = SELECT_ITEM_RIGHT
}
 
enum  { TF_STATUS_HUMAN , TF_STATUS_WOLF }
 

Functions

 STATIC_ASSERT (sizeof(dSv_memory_c)==0x20)
 
 STATIC_ASSERT (sizeof(dSv_memory2_c)==8)
 
 STATIC_ASSERT (sizeof(dSv_zone_c)==0x20)
 

Enumeration Type Documentation

◆ anonymous enum

Enumerator
SELECT_ITEM_LEFT 
SELECT_ITEM_RIGHT 
SELECT_ITEM_DOWN 
SELECT_ITEM_B 
SELECT_ITEM_X 
SELECT_ITEM_Y 

◆ anonymous enum

Enumerator
TF_STATUS_HUMAN 
TF_STATUS_WOLF 

◆ ButtonIndexes

Enumerator
A_BUTTON 
B_BUTTON 

◆ Clothes

Enumerator
KOKIRI_CLOTHES_FLAG 

◆ CollectItem

Enumerator
COLLECT_CLOTHING 
COLLECT_SWORD 
COLLECT_SHIELD 
COLLECT_SMELL 
B_BUTTON_ITEM 

◆ ItemMax

Enumerator
ARROW_MAX 
NORMAL_BOMB_MAX 
WATER_BOMB_MAX 
POKE_BOMB_MAX 

◆ ItemSlots

Enumerator
SLOT_0 
SLOT_1 
SLOT_2 
SLOT_3 
SLOT_4 
SLOT_5 
SLOT_6 
SLOT_7 
SLOT_8 
SLOT_9 
SLOT_10 
SLOT_11 
SLOT_12 
SLOT_13 
SLOT_14 
SLOT_15 
SLOT_16 
SLOT_17 
SLOT_18 
SLOT_19 
SLOT_20 
SLOT_21 
SLOT_22 
SLOT_23 

◆ ItemTable

Enumerator
HEART 
GREEN_RUPEE 
BLUE_RUPEE 
YELLOW_RUPEE 
RED_RUPEE 
PURPLE_RUPEE 
ORANGE_RUPEE 
SILVER_RUPEE 
S_MAGIC 
L_MAGIC 
BOMB_5 
BOMB_10 
BOMB_20 
BOMB_30 
ARROW_10 
ARROW_20 
ARROW_30 
ARROW_1 
PACHINKO_SHOT 
noentry1 
noentry2 
noentry3 
WATER_BOMB_5 
WATER_BOMB_10 
WATER_BOMB_20 
WATER_BOMB_30 
BOMB_INSECT_5 
BOMB_INSECT_10 
BOMB_INSECT_20 
BOMB_INSECT_30 
RECOVERY_FAILY 
TRIPLE_HEART 
SMALL_KEY 
KAKERA_HEART 
UTAWA_HEART 
MAP 
COMPUS 
DUNGEON_EXIT 
BOSS_KEY 
DUNGEON_BACK 
SWORD 
MASTER_SWORD 
WOOD_SHIELD 
SHIELD 
HYLIA_SHIELD 
TKS_LETTER 
WEAR_CASUAL 
WEAR_KOKIRI 
ARMOR 
WEAR_ZORA 
MAGIC_LV1 
DUNGEON_EXIT_2 
WALLET_LV1 
WALLET_LV2 
WALLET_LV3 
noentry4 
noentry5 
noentry6 
noentry7 
noentry8 
noentry9 
ZORAS_JEWEL 
HAWK_EYE 
WOOD_STICK 
BOOMERANG 
SPINNER 
IRONBALL 
BOW 
HOOKSHOT 
HVY_BOOTS 
COPY_ROD 
W_HOOKSHOT 
KANTERA 
LIGHT_SWORD 
FISHING_ROD_1 
PACHINKO 
COPY_ROD_2 
noentry10 
noentry11 
BOMB_BAG_LV2 
BOMB_BAG_LV1 
BOMB_IN_BAG 
noentry12 
LIGHT_ARROW 
ARROW_LV1 
ARROW_LV2 
ARROW_LV3 
noentry13 
LURE_ROD 
BOMB_ARROW 
HAWK_ARROW 
BEE_ROD 
JEWEL_ROD 
WORM_ROD 
JEWEL_BEE_ROD 
JEWEL_WORM_ROD 
EMPTY_BOTTLE 
RED_BOTTLE 
GREEN_BOTTLE 
BLUE_BOTTLE 
MILK_BOTTLE 
HALF_MILK_BOTTLE 
OIL_BOTTLE 
WATER_BOTTLE 
OIL_BOTTLE_2 
RED_BOTTLE_2 
UGLY_SOUP 
HOT_SPRING 
FAIRY 
HOT_SPRING_2 
OIL2 
OIL 
NORMAL_BOMB 
WATER_BOMB 
POKE_BOMB 
FAIRY_DROP 
WORM 
DROP_BOTTLE 
BEE_CHILD 
CHUCHU_RARE 
CHUCHU_RED 
CHUCHU_BLUE 
CHUCHU_GREEN 
CHUCHU_YELLOW 
CHUCHU_PURPLE 
LV1_SOUP 
LV2_SOUP 
LV3_SOUP 
LETTER 
BILL 
WOOD_STATUE 
IRIAS_PENDANT 
HORSE_FLUTE 
noentry14 
noentry15 
noentry16 
noentry17 
noentry18 
noentry19 
noentry20 
noentry21 
noentry22 
noentry23 
noentry24 
RAFRELS_MEMO 
ASHS_SCRIBBLING 
noentry25 
noentry26 
noentry27 
noentry28 
noentry29 
noentry30 
noentry31 
noentry32 
noentry33 
noentry34 
CHUCHU_YELLOW2 
OIL_BOTTLE3 
SHOP_BEE_CHILD 
CHUCHU_BLACK 
LIGHT_DROP 
DROP_CONTAINER 
DROP_CONTAINER02 
DROP_CONTAINER03 
FILLED_CONTAINER 
MIRROR_PIECE_2 
MIRROR_PIECE_3 
MIRROR_PIECE_4 
noentry35 
noentry36 
noentry37 
noentry38 
noentry39 
noentry40 
noentry41 
noentry42 
SMELL_YELIA_POUCH 
SMELL_PUMPKIN 
SMELL_POH 
SMELL_FISH 
SMELL_CHILDREN 
SMELL_MEDICINE 
noentry43 
noentry44 
noentry45 
noentry46 
noentry47 
noentry48 
noentry49 
noentry50 
noentry51 
noentry52 
M_BEETLE 
F_BEETLE 
M_BUTTERFLY 
F_BUTTERFLY 
M_STAG_BEETLE 
F_STAG_BEETLE 
M_GRASSHOPPER 
F_GRASSHOPPER 
M_NANAFUSHI 
F_NANAFUSHI 
M_DANGOMUSHI 
F_DANGOMUSHI 
M_MANTIS 
F_MANTIS 
M_LADYBUG 
F_LADYBUG 
M_SNAIL 
F_SNAIL 
M_DRAGONFLY 
F_DRAGONFLY 
M_ANT 
F_ANT 
M_MAYFLY 
F_MAYFLY 
noentry53 
noentry54 
noentry55 
noentry56 
noentry57 
noentry58 
noentry59 
noentry60 
POU_SPIRIT 
noentry61 
noentry62 
noentry63 
noentry64 
noentry65 
noentry66 
noentry67 
noentry68 
ANCIENT_DOCUMENT 
AIR_LETTER 
ANCIENT_DOCUMENT2 
LV7_DUNGEON_EXIT 
LINKS_SAVINGS 
SMALL_KEY2 
POU_FIRE1 
POU_FIRE2 
POU_FIRE3 
POU_FIRE4 
BOSSRIDER_KEY 
TOMATO_PUREE 
TASTE 
LV5_BOSS_KEY 
SURFBOARD 
KANTERA2 
L2_KEY_PIECES1 
L2_KEY_PIECES2 
L2_KEY_PIECES3 
KEY_OF_CARAVAN 
LV2_BOSS_KEY 
KEY_OF_FILONE 
NO_ITEM 
noentry69 
noentry70 
noentry71 
EQUIP_SWORD 
noentry72 
noentry73 
noentry74 
noentry75 
noentry76 
noentry77 
noentry78 
noentry79 

◆ LightDropStages

Enumerator
FARON_VESSEL 
ELDIN_VESSEL 
LANAYRU_VESSEL 

◆ Shields

Enumerator
COLLECT_WOODEN_SHIELD 
COLLECT_ORDON_SHIELD 
COLLECT_HYLIAN_SHIELD 

◆ Swords

Enumerator
COLLECT_ORDON_SWORD 
COLLECT_MASTER_SWORD 
COLLECT_WOODEN_SWORD 
COLLECT_LIGHT_SWORD 

◆ Wallets

Enumerator
WALLET 
BIG_WALLET 
GIANT_WALLET 

Function Documentation

◆ STATIC_ASSERT() [1/3]

STATIC_ASSERT ( sizeof(dSv_memory2_c = =8)

◆ STATIC_ASSERT() [2/3]

STATIC_ASSERT ( sizeof(dSv_memory_c = =0x20)

◆ STATIC_ASSERT() [3/3]

STATIC_ASSERT ( sizeof(dSv_zone_c = =0x20)