yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
room_census_vanilla_fingerprints.h
Go to the documentation of this file.
1#ifndef YAZE_ZELDA3_DUNGEON_ROOM_CENSUS_VANILLA_FINGERPRINTS_H_
2#define YAZE_ZELDA3_DUNGEON_ROOM_CENSUS_VANILLA_FINGERPRINTS_H_
3
4#include <cstdint>
5#include <string>
6#include <vector>
7
8namespace yaze::zelda3 {
9
10// Built-in fingerprints of the vanilla US 1.0 rooms: per room, the sorted
11// 16-bit HashRoomCensusObject() values of its room-stream objects. The hashes
12// are one-way; they let the census tell vanilla leftovers from authored rooms
13// without a vanilla ROM and without shipping room data.
14//
15// Regenerate with:
16// z3ed dungeon-room-census --rom <US 1.0 ROM> \
17// --emit-vanilla-fingerprints src/zelda3/dungeon/room_census_vanilla_fingerprints_data.inc
19std::vector<uint16_t> BuiltinVanillaRoomFingerprint(int room_id);
20
21// Source text for room_census_vanilla_fingerprints_data.inc.
23 const std::vector<std::vector<uint16_t>>& fingerprints,
24 const std::string& source_note);
25
26} // namespace yaze::zelda3
27
28#endif // YAZE_ZELDA3_DUNGEON_ROOM_CENSUS_VANILLA_FINGERPRINTS_H_
Zelda 3 specific classes and functions.
std::vector< uint16_t > BuiltinVanillaRoomFingerprint(int room_id)
std::string FormatVanillaFingerprintTable(const std::vector< std::vector< uint16_t > > &fingerprints, const std::string &source_note)