lot of progress on computer

This commit is contained in:
2025-05-22 18:12:27 +02:00
parent 934a59d2aa
commit 06c6a099fd
6 changed files with 258 additions and 6 deletions

View File

@@ -5,6 +5,8 @@
typedef struct nn_computer {
char state;
bool allocatedError;
char *err;
nn_guard *lock;
nn_component *components;
size_t componentLen;
@@ -21,6 +23,8 @@ typedef struct nn_computer {
nn_universe *universe;
char *users[NN_MAX_USERS];
size_t userCount;
size_t energy;
size_t maxEnergy;
} nn_computer;
#endif