aboutsummaryrefslogtreecommitdiff
path: root/params.h
blob: f3053dc915653d58051ed847a0d874e02105832f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#pragma once

#define SIZE 18

enum class ins_t{
	set, // #dst, $src
	add, // #dst, $src
	sub, // #dst, $src
	comp, // $v1, $v2
	trans, // $src, $dst
	jump, // $pos
	bjump, // $bank, $pos
	die, // -
	move, // -
	turn, // $dir
	scan, // #dst
	create, // $is, $nbanks, $move
	debugger, // -

	__num_instructions
};

namespace C {

	extern const int numInstructions;

	extern const int autoTimeout;
	extern const int elimTrigger;

	extern const int baseDuration[];
	extern const int pen_transinstr;
	extern const int pen_remote;
	extern const int pen_createbank;
	extern const int pen_createmobilemult;
	extern const int pen_createmobile;
	extern const int pen_createiset1;
	extern const int pen_createiset2;

}