Skip to content

Commit

Permalink
Fix slots animation
Browse files Browse the repository at this point in the history
Add a rendering delay to `XSLOTS::roll_face` to make the slot animation
run at normal speed, instead of hyperspeed.

Addresses one part of #33.
  • Loading branch information
laanwj committed Sep 23, 2024
1 parent 64d854d commit 6e3e66d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sundog.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ static const struct {
{ "WINDOWLI", 0x070e, -1 }, /* WINDOWLI:0x12 entry point on creating a dialog (see issue #18) */
{ "WINDOWLI", 0x09e1, -1 }, /* WINDOWLI:0x15 make_zoom return */
{ "XDOINTER", 0x0fa2, -1 }, /* XDOINTER:0x1f new_frame, on return after drawing a dialog */
{ "XSLOTS ", 0x00ca, 1 }, /* XSLOTS:0x06 roll_face, fixup for slot machine animation */
};

/* Called before every instruction executed.
Expand Down

0 comments on commit 6e3e66d

Please sign in to comment.