diff options
author | tomsmeding <tom.smeding@gmail.com> | 2017-03-01 15:53:02 +0100 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2017-03-01 15:53:02 +0100 |
commit | fd56574a4d60e553c610615660198f0a84bcb7a1 (patch) | |
tree | bd9e1dd576fa4494187a5176099772f22aeb360c /params.h |
Initial
Diffstat (limited to 'params.h')
-rw-r--r-- | params.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/params.h b/params.h new file mode 100644 index 0000000..464068a --- /dev/null +++ b/params.h @@ -0,0 +1,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; + +} |