~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Game completion detection was occasionally failing to spot a
[sgt/puzzles]
/
netslide.c
diff --git
a/netslide.c
b/netslide.c
index
6bbd813
..
ec40852
100644
(file)
--- a/
netslide.c
+++ b/
netslide.c
@@
-14,6
+14,7
@@
#include "tree234.h"
const char *const game_name = "Netslide";
#include "tree234.h"
const char *const game_name = "Netslide";
+const char *const game_winhelp_topic = "games.netslide";
const int game_can_configure = TRUE;
#define PI 3.141592653589793238462643383279502884197169399
const int game_can_configure = TRUE;
#define PI 3.141592653589793238462643383279502884197169399
@@
-1286,7
+1287,7
@@
static void draw_arrow(frontend *fe, int x, int y, int xdx, int xdy)
}
void game_redraw(frontend *fe, game_drawstate *ds, game_state *oldstate,
}
void game_redraw(frontend *fe, game_drawstate *ds, game_state *oldstate,
- game_state *state, game_ui *ui, float t, float ft)
+ game_state *state,
int dir,
game_ui *ui, float t, float ft)
{
int x, y, tx, ty, frame;
unsigned char *active;
{
int x, y, tx, ty, frame;
unsigned char *active;
@@
-1480,12
+1481,12
@@
void game_redraw(frontend *fe, game_drawstate *ds, game_state *oldstate,
sfree(active);
}
sfree(active);
}
-float game_anim_length(game_state *oldstate, game_state *newstate)
+float game_anim_length(game_state *oldstate, game_state *newstate
, int dir
)
{
return ANIM_TIME;
}
{
return ANIM_TIME;
}
-float game_flash_length(game_state *oldstate, game_state *newstate)
+float game_flash_length(game_state *oldstate, game_state *newstate
, int dir
)
{
/*
* If the game has just been completed, we display a completion
{
/*
* If the game has just been completed, we display a completion