Wed Sep 8 19:47:28 PDT 1999

(Raster)

add new samples to brushed metal and disable the move resist sample since its
annoying and doesnt work right...


SVN revision: 214
This commit is contained in:
Carsten Haitzler 1999-09-09 02:25:18 +00:00
parent 0494731381
commit 9becfe432a
3 changed files with 16 additions and 1 deletions

View File

@ -1472,3 +1472,11 @@ Wed Sep 8 18:19:45 PDT 1999
(Mandrake)
apparently I'm still out of sync.
-------------------------------------------------------------------------------
Wed Sep 8 19:47:28 PDT 1999
(Raster)
add new samples to brushed metal and disable the move resist sample since its
annoying and doesnt work right...

View File

@ -554,6 +554,7 @@ SnapEwin(EWin * ewin, int dx, int dy, int *new_dx, int *new_dy)
{
EWin **lst, **gwins;
int gnum, num, i, j, screen_snap_dist, odx, ody;
static char last_res = 0;
EDBUG(5, "SnapEwin");
if (!ewin)
@ -715,8 +716,14 @@ SnapEwin(EWin * ewin, int dx, int dy, int *new_dx, int *new_dy)
Efree(lst);
if ((odx != dx) || (ody != dy))
{
AUDIO_PLAY("SOUND_MOVE_RESIST");
if (!last_res)
{
/* AUDIO_PLAY("SOUND_MOVE_RESIST");*/
last_res = 1;
}
}
else
last_res = 0;
*new_dx = dx;
*new_dy = dy;
EDBUG_RETURN_;