Ignore:
Timestamp:
Nov 1, 2008, 2:46:51 AM (11 years ago)
Author:
bsittler
Message:

define variables before use; jsut comment out the "sprites" item since it apparently does not yet work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca-php/examples/demo.php

    r3175 r3176  
    3333
    3434        /* Main menu */
     35        $bounds = $outline = $dithering = 0;
     36
    3537        display_menu($cv, $dp, $bounds, $outline);
    3638
    3739        /* Go ! */
    38         $bounds = $outline = $dithering = 0;
    3940        $need_refresh = false;
     41        $quit = 0;
    4042        while(!$quit) {
    4143                while ($ev = caca_get_event($dp, CACA_EVENT_ANY, 1000)) {
     
    135137//      caca_put_str($cv, 4, 14, "'r': render");
    136138
    137         if ($sprite)
    138                 caca_put_str($cv, 4, 15, "'s': sprites");
     139//      caca_put_str($cv, 4, 15, "'s': sprites");
    139140
    140141        caca_put_str($cv, 4, 16, "settings:");
Note: See TracChangeset for help on using the changeset viewer.