Ignore:
Timestamp:
Nov 9, 2003, 2:32:04 PM (19 years ago)
Author:
Sam Hocevar
Message:
  • libee/io.c: + Moved ee_get_key() here.
  • libee/math.c: + Moved r00t() here and renamed it to ee_sqrt(). + Moved GET_RAND() here and renamed it to ee_rand().
  • src/math.c: + Removed this deprecated file.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/collide.c

    r87 r89  
    126126                {
    127127                    add_explosion(g, ex, GET_MIN(t->left[y-j], x+3), y-j, 0, 1, EXPLOSION_SMALL);
    128                     t->left[y-j] -= GET_RAND(0,3);
     128                    t->left[y-j] -= ee_rand(0,3);
    129129                }
    130130                else if(x + 3 >= t->right[y-j])
    131131                {
    132132                    add_explosion(g, ex, GET_MAX(t->right[y-j], x-2), y-j, 0, 1, EXPLOSION_SMALL);
    133                     t->right[y-j] += GET_RAND(0,3);
     133                    t->right[y-j] += ee_rand(0,3);
    134134                }
    135135            }
Note: See TracChangeset for help on using the changeset viewer.