mirror of
https://github.com/SourMesen/VisualNes.git
synced 2025-04-02 10:31:49 -04:00
17 lines
474 B
C++
17 lines
474 B
C++
#pragma once
|
|
#include "datastructures.h"
|
|
|
|
constexpr int MaxNodeCount = 60000;
|
|
constexpr int MaxC1C2Count = 95;
|
|
|
|
extern vector<node> nodes;
|
|
extern uint8_t nodeCount[MaxNodeCount];
|
|
extern uint16_t nodeC1c2s[MaxNodeCount][95];
|
|
extern vector<transistor> transistors;
|
|
extern unordered_map<string, uint16_t> transistorIndexByName;
|
|
extern unordered_map<uint16_t, std::string> nodenameByNumber;
|
|
|
|
constexpr uint16_t ngnd = 2;
|
|
constexpr uint16_t npwr = 1;
|
|
|
|
void initDataStructures();
|