Ignore:
Timestamp:
Nov 9, 2003, 2:52:40 PM (17 years ago)
Author:
Sam Hocevar
Message:
  • libee/ee.c: + got rid of DELAY.
  • test/demo.c: + Minor animation effect.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ttyvaders/trunk/test/demo.c

    r86 r94  
    3535    while(!quit)
    3636    {
     37        int i;
    3738        char key = ee_get_key();
    3839        if(key)
     
    4243
    4344        ee_clear();
    44         ee_goto(12,14);
    45         ee_putchar('#');
     45        for(i=1000; i--;)
     46        {
     47            ee_goto(ee_rand(0,ee_get_width()-1),
     48                    ee_rand(0,ee_get_height()-1));
     49            ee_color(ee_rand(1,10));
     50            ee_putchar('#');
     51        }
     52
    4653        ee_refresh();
    4754    }
Note: See TracChangeset for help on using the changeset viewer.