bugfixes and a temporary optimization

indirect is way too aggressive. It needs to be reworked
This commit is contained in:
2026-03-15 22:32:35 +01:00
parent dd97929a04
commit 9c1062c076
5 changed files with 66 additions and 2 deletions

View File

@@ -467,6 +467,7 @@ nn_ComputerState nn_getComputerState(nn_Computer *computer);
bool nn_isComputerIdle(nn_Computer *computer);
// Shifts over the idle timestamp.
void nn_addIdleTime(nn_Computer *computer, double time);
void nn_resetIdleTime(nn_Computer *computer);
// runs a tick of the computer. Make sure to check the state as well!
// This automatically resets the component budgets and call budget.
// It also sets the idle timestamp to the current uptime.