Changeset 1125 for cacatris/trunk/src/cacatris.h
- Timestamp:
- Sep 28, 2006, 10:29:45 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cacatris/trunk/src/cacatris.h
r1118 r1125 29 29 #define FIELD_CANVAS_WIDTH 20 30 30 #define FIELD_CANVAS_HEIGHT 20 31 32 #define LEVEL_COUNT 11 33 34 unsigned int points[LEVEL_COUNT*4] = { 35 40, 80, 120, 160, 200, 240, 280, 320, 360, 400, 440, 36 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 37 300, 600, 900, 1200, 1500, 1800, 2100, 2400, 2700, 3000, 3300, 38 1200, 2400, 3600, 4800, 6000, 7200, 8400, 9600, 10800, 12000, 13200 39 }; 40 31 41 32 42 unsigned char playfield[FIELD_WIDTH*FIELD_HEIGHT]; … … 50 60 51 61 52 void infos_populate(cucul_canvas_t *, unsigned int score );62 void infos_populate(cucul_canvas_t *, unsigned int score, unsigned char level); 53 63 void playfield_draw(cucul_canvas_t *); 54 64 void put_piece(unsigned int, unsigned int, unsigned int, unsigned int);
Note: See TracChangeset
for help on using the changeset viewer.