Back to index

freedink-data  1.08.20080920
Functions
S3-GH.c File Reference

Go to the source code of this file.

Functions

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

Function Documentation

void die ( void  )

Definition at line 56 of file S3-GH.c.

Here is the call graph for this function:

void hit ( void  )

Definition at line 32 of file S3-GH.c.

{
sp_brain(&current_sprite, 9);
sp_target(&current_sprite, &enemy_sprite);
//lock on to the guy who just hit us
//playsound
playsound(28, 22050,0,&current_sprite, 0);

}

Here is the call graph for this function:

void main ( void  )

Definition at line 3 of file S3-GH.c.

{
int &mcounter;
sp_brain(&current_sprite, 16);
sp_speed(&current_sprite, 1);
sp_distance(&current_sprite, 50);
sp_timing(&current_sprite, 66);
sp_exp(&current_sprite, 150);
sp_base_walk(&current_sprite, 760);
//sp_base_death(&current_sprite, 780);
sp_base_attack(&current_sprite, 750);
sp_defense(&current_sprite, 1);
sp_strength(&current_sprite, 15);
sp_touch_damage(&current_sprite, 10);
sp_hitpoints(&current_sprite, 40);
preload_seq(752);
preload_seq(754);
preload_seq(756);
preload_seq(758);
preload_seq(765);

preload_seq(761);
preload_seq(763);
preload_seq(767);
preload_seq(769);

}

Here is the call graph for this function:

void talk ( void  )

Definition at line 43 of file S3-GH.c.

{
 int &randy = random(4, 1);
 if (&randy == 1)
 say("`4Gro'k ki owab dakis gedi!", &current_sprite);
 if (&randy == 2)
 say("`4Tig glock sigre!", &current_sprite);
 if (&randy == 3)  
 say("`4Oston tewers inat'l meen o mistary!", &current_sprite);
 if (&randy == 4)
 say("`4Hoglim dack byork!", &current_sprite);

}