Debian Codegraph @

src/mission.h

raw symbols SCIP
1 #cxx . . $ `<file>/src/mission.h`/ifndef MISSION_HEADER_FILE__
2 #define MISSION_HEADER_FILE__cxx . . $ `src/mission.h:2:9`!
3
4 #include "submarine.h"cxx . . $ `<file>/src/submarine.h`/
5
6 #define MISSION_STARTEDcxx . . $ `src/mission.h:6:9`! 1
7 #define MISSION_SUCCESScxx . . $ `src/mission.h:7:9`! 2
8 #define MISSION_FAILEDcxx . . $ `src/mission.h:8:9`! 3
9
10 // Go through all ships and see if they still have a mission
11 // flag.
12 // If all mission flags have been set and the mission has not
13 // already failed, then mark the mission a success.
14 // This function returns the new mission status.
15 int Mission_Statuscxx . . $ Mission_Status(8e102eb2bbf433ac).(Submarinecxx . . $ Submarine# *all_subs, int old_status);
16
17
18 // This function checks to see if a ship has its mission status
19 // set to MISSION_FIND. If it does, then we check to see if the
20 // player can detect the ship. If the player can, we clear the
21 // ship's mission flag. This function returns TRUE normally or
22 // FALSE if an error occurs.
23 int Check_Findcxx . . $ Check_Find(e898ed6f8282e8).(Submarinecxx . . $ Submarine# *all_subs);
24
25 // This function checks to see if any vessels need to
26 // remain alive to complete the mission. The function
27 // checks the alive timer and reduces it. If the mission
28 // timer reaches zero (0), then we change the status
29 // of the vessel to MISSION_NONE from MISSION_ALIVE.
30 // Returns TRUE if everything goes normally or FALSE
31 // if an error occurs.
32 int Check_Alivecxx . . $ Check_Alive(e898ed6f8282e8).(Submarinecxx . . $ Submarine# *all_subs);
33
34 #endif
35