DSA: dynamic JUMP (CSBwin)
Forum rules
Please read the Forum rules and policies before posting.
Please read the Forum rules and policies before posting.
DSA: dynamic JUMP (CSBwin)
Could you add J* and G* commands where you jump to the state given by the stack?
ie: LA L3 &* LB &+ &-1 J*
will jump to the state 3*A+B-1 (at S0)
ie: LA L3 &* LB &+ &-1 J*
will jump to the state 3*A+B-1 (at S0)
- Paul Stevens
- CSBwin Guru
- Posts: 4318
- Joined: Sun Apr 08, 2001 6:00 pm
- Location: Madison, Wisconsin, USA
- Paul Stevens
- CSBwin Guru
- Posts: 4318
- Joined: Sun Apr 08, 2001 6:00 pm
- Location: Madison, Wisconsin, USA
Mikko, it would be possible to make a post-nuclear DM scenario with CSbuild & ADGE (no magic, guns and monsters like in Hired Guns, etc). But it would be a LOT of work, especially with replacing the graphics (100 % of them, I guess) and changing object`s functions.
Spoiler
(\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/)
Spoiler
(@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@)
Spoiler
(>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<)
- Paul Stevens
- CSBwin Guru
- Posts: 4318
- Joined: Sun Apr 08, 2001 6:00 pm
- Location: Madison, Wisconsin, USA
CSBwin-CSBuild.zip has the lastest version with the
computed GOTO. J*/G* ( messageType state . . . ),
almost like you specified but with the message type
parameter thrown in. It is untested so be careful
and quick to report bugs.
Also, I fixed the automatic increment of VITALITY.
It was caused by the feeding filter. The original
subroutine that incremented attributes divided the
increment by two and then added one under certain
circumstances. 0/2+1 = 1. It was not expecting to
be asked to increment by zero, I guess. I added a
quick exit if the increment is zero.
computed GOTO. J*/G* ( messageType state . . . ),
almost like you specified but with the message type
parameter thrown in. It is untested so be careful
and quick to report bugs.
Also, I fixed the automatic increment of VITALITY.
It was caused by the feeding filter. The original
subroutine that incremented attributes divided the
increment by two and then added one under certain
circumstances. 0/2+1 = 1. It was not expecting to
be asked to increment by zero, I guess. I added a
quick exit if the increment is zero.
- Paul Stevens
- CSBwin Guru
- Posts: 4318
- Joined: Sun Apr 08, 2001 6:00 pm
- Location: Madison, Wisconsin, USA