aboutsummaryrefslogtreecommitdiff
path: root/params.h
blob: 464068a7bf44d9c6e8be7fac13b8f4e27acc2797 (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
#pragma once

#define SIZE 20

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

	__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;

}