www.pudn.com > nucsrc > PROTOTYP.H
/*============================================================================*/ /* PROJECT NUCLEUS. (c) RocSoft, 1995. */ /* v1.0 18 Jan 95. */ /*============================================================================*/ /*=========================[ General Prototypes ]=============================*/ void Add_Particle_To_Nucleus ( int nuc, int par, int dist ); int Calculate_Rogue_Interval ( int mintime, int maxtime ); void Check_Beam_Collisions ( void ); void Check_Bonus_Pickup ( int x, int y ); void Colour_Cycle_Switcher ( int page ); void Create_Animations ( void ); int Create_Protective_Shield ( int x, int y ); int Create_Rogue_Beam ( void ); int Create_Rogue_Particle ( void ); void Cycle_Fractal_Colours ( void ); void Detect_Particle_Collisions( void ); void Display_Title_Screen ( void ); void Display_Neutron ( void ); void Display_Panel ( void ); void Display_Score ( void ); void Display_Shields ( void ); void Display_Time ( void ); void Draw_Edged_Box ( int x1, int y1, int x2, int y2, int sun, int shdw, int fill, int page ); void Draw_Fractal_Background ( int page ); void End_Of_Level_Bonus ( void ); void Fade_Screen ( int mode ); void Initialise_Level ( void ); void Load_Game_Data ( void ); int Load_Level_Data ( char *name ); void MouseTrap ( int event, int b, int x, int y, int mx, int my ); void interrupt NewINT9H ( void ); int Particle_Hit_Shield ( PARTICLE *p, int wth, int ht ); int Play_Level ( void ); void Play_Demo ( void ); void Print_Banner ( int set_mode ); void Process_Keystroke ( int key ); int Save_Level_Data ( char *name ); int Set_Particle_Velocity ( int speed_mask, int min ); void Sfx ( SFX_TYPE type ); int Show_Error_Message ( char **msgs, SFX_TYPE sfx, int wait, int page ); int Show_Experiment_Guide ( void ); void Slow_Timer_Hook ( void ); void Split_Nucleus ( NUCLEUS *n, int nidx, SFX_TYPE sfx ); void Terminate ( ERROR_TYPE errno ); void Update_Particle_Positions ( void ); void Wait_For_Event ( int delay ); /*==================[ Background Replacement Functions ]======================*/ /*===================[ Animation AUTOMATON Prototypes ]=======================*/ int Beam_Mover ( void *object, int *x, int *y ); int Counter_Mover ( void *object, int *x, int *y ); int Logo_Mover ( void *object, int *x, int *y ); int Particle_Mover ( void *object, int *x, int *y ); int PowerUp_Mover ( void *object, int *x, int *y ); int Rogue_Mover ( void *object, int *x, int *y ); int Shield_Mover ( void *object, int *x, int *y ); int Syringe_Mover ( void *object, int *x, int *y ); /*====================[ Animation MORPHING Prototypes ]=======================*/ int Beam_Morph ( void *object, int *idx ); int Counter_Morph ( void *object, int *idx ); int PowerUp_Morph ( void *object, int *idx ); int Rogue_Morph ( void *object, int *idx ); int Shield_Morph ( void *object, int *idx ); int Syringe_Morph ( void *object, int *idx ); /*=========================[ Menu Service Prototypes ]========================*/ int Menu_Back_To_Game ( int page ); int Menu_Demo ( int page ); int Menu_Exit ( int page ); int Menu_Help ( int page ); int Menu_High_Scores ( int page ); int Menu_Load_Game ( int page ); int Menu_New_Game ( int page ); int Menu_Options ( int page ); void Menu_Postdisplay ( int page ); void Menu_Predisplay ( int page ); int Menu_Register ( int page ); int Menu_Save_Game ( int page ); void Menu_Soundfx ( void ); /*======================[ Game Slot Service Prototypes ]======================*/ void GSlot_Postdisplay ( int page ); void GSlot_Predisplay ( int page ); /*====================[ High Scores Service Prototypes ]======================*/ void High_Scores_Postdisplay ( int page ); void High_Scores_Predisplay ( int page ); void High_Scores_Soundfx ( void ); /*===================[ Game Options Service Prototypes ]=====================*/ void GOptions_Music ( int page ); void GOptions_No_Sound ( int page ); void GOptions_Postdisplay ( int page ); void GOptions_Predisplay ( int page ); /*==========================[ End Of Include ]================================*/