text: #include "types.h"
  
  /// address: 0x525764
  ///
  /// l1_tile_bit_map represents a tile ID map of twice the size, repeating each
  /// tile of the original map in blocks of 4.
  ///
  /// PSX ref: 0x8013A3B0
  /// PSX def: unsigned char L5dungeon[80][80]
  l1_tile_id l1_tile_bit_map[80][80];
  
  /// TODO: Define l1_flag enum.
  
  /// address: 0x527064
  ///
  /// l1_flag_map contains flags used for dungeon generation of the Cathedral.
  ///
  /// PSX ref: 0x8011C0D8
  /// PSX def: unsigned char* mydflags
  uint8_t l1_flag_map[40][40];
  
  /// address: 0x5276A4
  ///
  /// l1_single_player_quest_dun_loaded specifies whether a single player quest DUN
  /// has been loaded.
  ///
  /// PSX ref: 0x8011C0F4
  /// PSX def: unsigned char setloadflag
  bool32_t l1_single_player_quest_dun_loaded;
  
  /// address: 0x5276A8
  ///
  /// l1_horiz_room1 specifies whether to generate a horizontal room at position 1
  /// in the Cathedral.
  ///
  /// PSX ref: 0x8011C8D8
  /// PSX def: unsigned char HR1
  bool32_t l1_horiz_room1;
  
  /// address: 0x5276AC
  ///
  /// l1_horiz_room2 specifies whether to generate a horizontal room at position 2
  /// in the Cathedral.
  ///
  /// PSX ref: 0x8011C8D9
  /// PSX def: unsigned char HR2
  bool32_t l1_horiz_room2;
  
  /// address: 0x5276B0
  ///
  /// l1_horiz_room3 specifies whether to generate a horizontal room at position 3
  /// in the Cathedral.
  ///
  /// PSX ref: 0x8011C8DA
  /// PSX def: unsigned char HR3
  bool32_t l1_horiz_room3;
  
  /// address: 0x5276B4
  ///
  /// l1_vert_room1 specifies whether to generate a vertical room at position 1 in
  /// the Cathedral.
  ///
  /// PSX ref: 0x8011C8DB
  /// PSX def: unsigned char VR1
  bool32_t l1_vert_room1;
  
  /// address: 0x5276B8
  ///
  /// l1_vert_room2 specifies whether to generate a vertical room at position 2 in
  /// the Cathedral.
  ///
  /// PSX ref: 0x8011C8DC
  /// PSX def: unsigned char VR2
  bool32_t l1_vert_room2;
  
  /// address: 0x5276BC
  ///
  /// l1_vert_room3 specifies whether to generate a vertical room at position 3 in
  /// the Cathedral.
  ///
  /// PSX ref: 0x8011C8DD
  /// PSX def: unsigned char VR3
  bool32_t l1_vert_room3;
  
  /// address: 0x5276C0
  ///
  /// l1_single_player_quest_dun contains the contents of the single player quest
  /// DUN file.
  ///
  /// PSX ref: 0x8011C0DC
  /// PSX def: unsigned char* pSetPiece
  void *l1_single_player_quest_dun;
  