mirror of
https://github.com/cmosher01/v6502cpp.git
synced 2024-10-31 16:05:31 +00:00
new trans structs (wip)
This commit is contained in:
parent
b5446cca3f
commit
abe1e7d2e6
36
trans.h
Normal file
36
trans.h
Normal file
@ -0,0 +1,36 @@
|
||||
/*
|
||||
* File: trans.h
|
||||
* Author: cmosher
|
||||
*
|
||||
* Created on December 10, 2013, 2:37 PM
|
||||
*/
|
||||
|
||||
#ifndef TRANS_H
|
||||
#define TRANS_H
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class Trans;
|
||||
|
||||
class Segment {
|
||||
public:
|
||||
std::string id;
|
||||
std::vector<Trans*> gates;
|
||||
std::vector<Trans*> c1c2s;
|
||||
|
||||
bool pullup;
|
||||
bool pulldown;
|
||||
bool on;
|
||||
};
|
||||
|
||||
class Trans {
|
||||
public:
|
||||
Segment* c1;
|
||||
Segment* gate;
|
||||
Segment* c2;
|
||||
|
||||
bool on;
|
||||
};
|
||||
|
||||
#endif /* TRANS_H */
|
Loading…
Reference in New Issue
Block a user