Back to index

freedink-data  1.08.20080920
Functions
S3-GS.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 57 of file S3-GS.c.

Here is the call graph for this function:

void hit ( void  )

Definition at line 32 of file S3-GS.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-GS.c.

{
int &mcounter;
sp_brain(&current_sprite, 16);
sp_speed(&current_sprite, 1);
sp_distance(&current_sprite, 50);
sp_range(&current_sprite, 35);
sp_timing(&current_sprite, 0);
sp_frame_delay(&current_sprite, 55);
sp_exp(&current_sprite, 150);
sp_base_walk(&current_sprite, 800);
sp_base_attack(&current_sprite, 790);
sp_defense(&current_sprite, 2);
sp_strength(&current_sprite, 20);
sp_touch_damage(&current_sprite, 8);
sp_hitpoints(&current_sprite, 60);
preload_seq(792);
preload_seq(794);
preload_seq(796);
preload_seq(798);
preload_seq(805);

preload_seq(801);
preload_seq(803);
preload_seq(807);
preload_seq(809);
}

Here is the call graph for this function:

void talk ( void  )

Definition at line 42 of file S3-GS.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);

}