Browse Source
Merge pull request #60 from pangrus/master
B operator is no longer used for bounce
master
Devine Lu Linvega
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
sim.c
|
|
@ -159,7 +159,7 @@ static void oper_poke_and_stun(Glyph *restrict gbuffer, Mark *restrict mbuffer, |
|
|
|
|
|
|
|
#define ALPHA_OPERATORS(_) \ |
|
|
|
_('A', add) \ |
|
|
|
_('B', bounce) \ |
|
|
|
_('B', subtract) \ |
|
|
|
_('C', clock) \ |
|
|
|
_('D', delay) \ |
|
|
|
_('E', movement) \ |
|
|
@ -403,7 +403,7 @@ BEGIN_OPERATOR(add) |
|
|
|
POKE(1, 0, glyph_with_case(g, b)); |
|
|
|
END_OPERATOR |
|
|
|
|
|
|
|
BEGIN_OPERATOR(bounce) |
|
|
|
BEGIN_OPERATOR(subtract) |
|
|
|
LOWERCASE_REQUIRES_BANG; |
|
|
|
PORT(0, -1, IN | PARAM); |
|
|
|
PORT(0, 1, IN); |
|
|
|