projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
686d488
)
improved step-based engine snapshots for single-step mode
author
Holger Schemel
<info@artsoft.org>
Mon, 30 Mar 2015 11:02:40 +0000
(13:02 +0200)
committer
Holger Schemel
<info@artsoft.org>
Mon, 30 Mar 2015 11:02:40 +0000
(13:02 +0200)
src/game.c
patch
|
blob
|
history
src/tape.c
patch
|
blob
|
history
diff --git
a/src/game.c
b/src/game.c
index 02861925e981cb2510b22c683f206a60cdef1afa..eeb12767d1a042edb8c334c194e205ea7302501a 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-15011,6
+15011,8
@@
void GameUndoRedoExt()
DrawCompleteVideoDisplay();
DrawVideoDisplay(VIDEO_STATE_TIME_ON, TapeTime);
DrawVideoDisplay(VIDEO_STATE_FRAME_ON, FrameCounter);
+ DrawVideoDisplay((tape.single_step ? VIDEO_STATE_1STEP_ON :
+ VIDEO_STATE_1STEP_OFF), 0);
BackToFront();
}
diff --git
a/src/tape.c
b/src/tape.c
index a14690d3b23daaf4c7bf1c5150699ff945ef66c3..ded004fc2a16eb33227a455383fa9f47aa754dee 100644
(file)
--- a/
src/tape.c
+++ b/
src/tape.c
@@
-746,7
+746,7
@@
void TapeTogglePause(boolean toggle_manual)
if (tape.pausing)
MapUndoRedoButtons();
- else
+ else
if (!tape.single_step)
MapStopPlayButtons();
}