| 848 | } |
| 849 | |
| 850 | void init_states() |
| 851 | { |
| 852 | static state_player_halt player_halt; |
| 853 | shared.states[STATE_PLAYER_HALT] = &player_halt; |
| 854 | |
| 855 | static state_player_aim player_aim; |
| 856 | shared.states[STATE_PLAYER_AIM] = &player_aim; |
| 857 | |
| 858 | static state_player_fire player_fire; |
| 859 | shared.states[STATE_PLAYER_FIRE] = &player_fire; |
| 860 | |
| 861 | static state_player_wait player_wait; |
| 862 | shared.states[STATE_PLAYER_WAIT] = &player_wait; |
| 863 | |
| 864 | static state_missle_appear missle_appear; |
| 865 | shared.states[STATE_MISSLE_APPEAR] = &missle_appear; |
| 866 | |
| 867 | static state_missle_fly missle_fly; |
| 868 | shared.states[STATE_MISSLE_FLY] = &missle_fly; |
| 869 | |
| 870 | static state_missle_explode missle_explode; |
| 871 | shared.states[STATE_MISSLE_EXPLODE] = &missle_explode; |
| 872 | |
| 873 | static state_camera_aim camera_aim; |
| 874 | shared.states[STATE_CAMERA_AIM] = &camera_aim; |
| 875 | |
| 876 | static state_camera_seize camera_seize; |
| 877 | shared.states[STATE_CAMERA_SEIZE] = &camera_seize; |
| 878 | |
| 879 | static state_camera_attach camera_attach; |
| 880 | shared.states[STATE_CAMERA_ATTACH] = &camera_attach; |
| 881 | |
| 882 | static state_camera_survey camera_survey; |
| 883 | shared.states[STATE_CAMERA_SURVEY] = &camera_survey; |
| 884 | |
| 885 | static state_camera_restore camera_return; |
| 886 | shared.states[STATE_CAMERA_RESTORE] = &camera_return; |
| 887 | } |
| 888 | |
| 889 | cruise_bubble::state_camera_restore::state_camera_restore() |
| 890 | : state_type(STATE_CAMERA_RESTORE) |