mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-22 14:17:43 +02:00
Corrected CalmaRead to remove a syntax error that managed to end up in
the last commit, unfortunately. Thanks to Matt Guthaus for alerting me to this. Also updated parts of the extresist code that remove the dependence on ResConDCS; this is a minor update and should not affect the operation of extresist. It is preparatory to doing more work to support additional device types like capacitors, bipolars, and diodes.
This commit is contained in:
+3
-1
@@ -247,6 +247,7 @@ typedef struct resdevtile
|
||||
struct resdevtile *nextDev;
|
||||
Rect area;
|
||||
TileType type;
|
||||
ExtDevice *devptr;
|
||||
int perim;
|
||||
int overlap;
|
||||
} ResDevTile;
|
||||
@@ -297,7 +298,8 @@ typedef struct rdev
|
||||
Point location; /* Location of lower left point of */
|
||||
/* device. */
|
||||
float resistance; /* "Resistance" of device. */
|
||||
int rs_ttype; /* device type */
|
||||
TileType rs_ttype; /* tile type for device */
|
||||
ExtDevice *rs_devptr; /* device extraction record */
|
||||
char *rs_gattr; /* Gate attributes, if any */
|
||||
char *rs_sattr;
|
||||
char *rs_dattr;
|
||||
|
||||
Reference in New Issue
Block a user