/* -*-c-*-
*
- * $Id: game.c,v 1.1 2003/12/12 10:55:30 mdw Exp $
+ * $Id$
*
* Main game logic
*
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: game.c,v $
- * Revision 1.1 2003/12/12 10:55:30 mdw
- * Initial checkin. Not there yet.
- *
- */
-
/*----- Header files ------------------------------------------------------*/
#include "xor.h"
g->ptail = p->prev;
p->prev = 0;
g->p = p;
- g->l->v++;
CELLSET(g->l, g->p->x, g->p->y, C_PLAYER);
ui_switch(g->p->u);
}
;
if (!p) return (0);
if (g->l->v >= g->l->vtot) return (1);
+ g->l->v++;
undo_switch(g);
game_switchto(g, p);
return (1);