Ignore:
Timestamp:
Sep 26, 2006, 11:16:35 PM (14 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Add Blocks interractions and line removing
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cacatris/trunk/src/cacatris.h

    r1097 r1108  
    11/*
    22 *   $Id: cacatris.h 1 2006-09-22 16:56:18Z jylam $
    3  *
    4  *   This program is free software; you can redistribute it and/or modify
    5  *   it under the terms of the GNU General Public License as published by
    6  *   the Free Software Foundation; either version 2 of the License, or
    7  *   (at your option) any later version.
    83 *
    94 *   This program is free software; you can redistribute it and/or
     
    3126#define INFO_WIDTH 20
    3227#define FIELD_WIDTH 20
    33 #define FIELD_HEIGHT 35
     28#define FIELD_HEIGHT 32
    3429#define FIELD_CANVAS_WIDTH 40
    35 #define FIELD_CANVAS_HEIGHT 35
     30#define FIELD_CANVAS_HEIGHT 32
    3631
    3732unsigned char playfield[FIELD_WIDTH*FIELD_HEIGHT];
     
    5550
    5651
    57 
    58 
    5952void infos_populate(cucul_canvas_t *);
    6053void playfield_draw(cucul_canvas_t *);
     
    6255void remove_piece(unsigned int id, unsigned int x, unsigned int y, unsigned int rot);
    6356unsigned char movable(unsigned int id, int x, int y, unsigned int rot);
    64 
     57unsigned char has_landed(unsigned int id, unsigned int x, unsigned int y, unsigned int rot);
     58unsigned char maybe_remove_line(void);
    6559
    6660piece_t pieces[] = {
Note: See TracChangeset for help on using the changeset viewer.