| version 1.6 | | version 1.7 |
|---|
| | |
| * Routines for EndGame, EndLevel, etc. | | * Routines for EndGame, EndLevel, etc. |
| * | | * |
| * $Log$ | | * $Log$ |
| | | * Revision 1.7 1999/11/21 14:05:00 sekmu |
| | | * observer mode |
| | | * |
| * Revision 1.6 1999/10/07 02:27:14 donut | | * Revision 1.6 1999/10/07 02:27:14 donut |
| * OGL includes to remove warnings | | * OGL includes to remove warnings |
| * | | * |
| | |
| #include "script.h" | | #include "script.h" |
| #endif | | #endif |
| | | |
| | | //added on 11/20/99 by Victor Rachels to add observer mode |
| | | #include "observer.h" |
| | | //end this section addition - VR |
| | | |
| | | |
| void init_player_stats_new_ship(); | | void init_player_stats_new_ship(); |
| void copy_defaults_to_robot_all(void); | | void copy_defaults_to_robot_all(void); |
| int AdvanceLevel(int secret_flag); | | int AdvanceLevel(int secret_flag); |
| | |
| Assert( Player_num > -1 ); | | Assert( Player_num > -1 ); |
| Assert( Players[Player_num].objnum > -1 ); | | Assert( Players[Player_num].objnum > -1 ); |
| ConsoleObject = &Objects[Players[Player_num].objnum]; | | ConsoleObject = &Objects[Players[Player_num].objnum]; |
| Assert( ConsoleObject->type==OBJ_PLAYER ); | | //added/edited on 11/20/99 by Victor Rachels to add observer mode |
| | | Assert( ConsoleObject->type==OBJ_PLAYER || |
| | | (ConsoleObject->type==OBJ_GHOST && I_am_observer)); |
| | | //end this section edit - VR |
| | | |
| Assert( ConsoleObject->id==Player_num ); | | Assert( ConsoleObject->id==Player_num ); |
| } | | } |
| | | |