Back to index

freedink-data  1.08.20080920
Functions
S5-FD.c File Reference

Go to the source code of this file.

Functions

void main (void)
void hit (void)
void die (void)
void talk (void)

Function Documentation

void die ( void  )

Definition at line 24 of file S5-FD.c.

{
 //dink fails
if (&life > 0)
{
 say("Noooo!  The girl has died!  I HAVE FAILED!!!!!!!", 1);
 &life = 0;
 }
}
void hit ( void  )

Definition at line 19 of file S5-FD.c.

{
playsound(12, 22050, 0, &temp3hold, 0);
}
void main ( void  )

Definition at line 1 of file S5-FD.c.

{
 //setup daugher

 sp_base_walk(&current_sprite, 220);
 sp_speed(&current_sprite, 1);
 sp_brain(&current_sprite, 16);
 sp_hitpoints(&current_sprite, 50);
 preload_seq(221);
 preload_seq(223);
 preload_seq(225);
 preload_seq(227);
 preload_seq(229);
 sp_pseq(&temp3hold, 223);
 sp_pframe(&temp3hold, 1);

}

Here is the call graph for this function:

void talk ( void  )

Definition at line 34 of file S5-FD.c.

{
if (&story > 11)
  say("`#Where did you learn to fight like that?",&current_sprite);
}

Here is the call graph for this function: