Back to index

freedink-data  1.08.20080920
Functions
S1-RAND.c File Reference

Go to the source code of this file.

Functions

void main (void)
void maketraveler (void)
void other (void)

Function Documentation

void main ( void  )

Definition at line 1 of file S1-RAND.c.

{
  int &spawnx;
  int &spawny;
  int &maybe;
  &maybe = random(8,1);
  if (&maybe == 1)
  {
  preload_seq(341);
  preload_seq(343);
  preload_seq(347);
  preload_seq(349);
  preload_seq(381);
  preload_seq(383);
  preload_seq(387);
  preload_seq(389);

         &maybe = random(2,1);
         if (&maybe == 1)
         {
         maketraveler();
         }
         else
         {
         other();
         }
  }
}

Here is the call graph for this function:

Definition at line 30 of file S1-RAND.c.

{
       int &spawnx;
    int &spawny;
       int &crap;
       &spawnx = random(200,200);
       &spawny = random(100,150);
       &crap = create_sprite(&spawnx, &spawny, 9, 341, 5);
    sp_speed(&crap, 1);
       sp_timing(&crap, 33);
        sp_brain(&crap, 16);
       sp_base_walk(&crap, 340);
    sp_script(&crap, "s1-wand");
}

Here is the call graph for this function:

Here is the caller graph for this function:

void other ( void  )

Definition at line 45 of file S1-RAND.c.

{
       int &spawnx;
    int &spawny;
       int &crap;
       &spawnx = random(200,200);
       &spawny = random(100,150);
       &crap = create_sprite(&spawnx, &spawny, 9, 381, 2);
       sp_speed(&crap, 1);
       sp_timing(&crap, 33);
        sp_brain(&crap, 16);
       sp_base_walk(&crap, 380);
    sp_script(&crap, "s1-wand2");
}

Here is the call graph for this function:

Here is the caller graph for this function: