aboutsummaryrefslogtreecommitdiff
path: root/include/evolver.h
blob: ea26c58cf2499e6df7332f2a342d60841c5cd781 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef SALIS_EVOLVER_H
#define SALIS_EVOLVER_H

void  se_init           (void);
void  se_quit           (void);
void  se_load           (FILE *file);
void  se_save           (FILE *file);

sbool se_isInit         (void);
sword se_getLastAddress (void);
sbyte se_getLastInst    (void);
sword se_getState       (sword eidx);
void  se_setState       (sword eidx, sword state);

void  se_randomizeAt    (sword addr);
void  se_cycle          (void);

#endif