Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
main_loop.h
Go to the documentation of this file.
1 #ifndef _MAIN_LOOP_H_
2 #define _MAIN_LOOP_H_
3 #include "in.h"
4 #include "cmd/unit_generic.h"
5 void bootstrap_draw( const std::string &message, Animation *SplashScreen = NULL );
6 
7 namespace CockpitKeys
8 {
9 void SkipMusicTrack( const KBData&, KBSTATE newState );
10 void PitchDown( const KBData&, KBSTATE newState );
11 void PitchUp( const KBData&, KBSTATE newState );
12 void YawLeft( const KBData&, KBSTATE newState );
13 void YawRight( const KBData&, KBSTATE newState );
14 void LookDown( const KBData&, KBSTATE newState );
15 void LookUp( const KBData&, KBSTATE newState );
16 void LookLeft( const KBData&, KBSTATE newState );
17 void LookRight( const KBData&, KBSTATE newState );
18 void Inside( const KBData&, KBSTATE newState );
19 void ZoomOut( const KBData&, KBSTATE newState );
20 void ZoomIn( const KBData&, KBSTATE newState );
21 void ZoomReset( const KBData&, KBSTATE newState );
22 void InsideLeft( const KBData&, KBSTATE newState );
23 void InsideRight( const KBData&, KBSTATE newState );
24 void InsideBack( const KBData&, KBSTATE newState );
25 void SwitchLVDU( const KBData&, KBSTATE newState );
26 void SwitchRVDU( const KBData&, KBSTATE newState );
27 void SwitchMVDU( const KBData&, KBSTATE newState );
28 void SwitchULVDU( const KBData&, KBSTATE newState );
29 void SwitchURVDU( const KBData&, KBSTATE newState );
30 void SwitchUMVDU( const KBData&, KBSTATE newState );
31 void CommModeVDU( const KBData &, KBSTATE );
32 void ObjectiveModeVDU( const KBData &, KBSTATE );
33 void TargetModeVDU( const KBData &, KBSTATE );
34 void ManifestModeVDU( const KBData &, KBSTATE );
35 void DamageModeVDU( const KBData &, KBSTATE );
36 void GunModeVDU( const KBData &, KBSTATE );
37 void MissileModeVDU( const KBData &, KBSTATE );
38 void ScanningModeVDU( const KBData &, KBSTATE );
39 void ReverseGunModeVDU( const KBData &, KBSTATE );
40 void ReverseMissileModeVDU( const KBData &, KBSTATE );
41 void ViewModeVDU( const KBData &, KBSTATE );
42 void ScrollUp( const KBData&, KBSTATE newState );
43 void ScrollDown( const KBData&, KBSTATE newState );
44 void Behind( const KBData&, KBSTATE newState );
45 void Pan( const KBData&, KBSTATE newState );
46 void PanTarget( const KBData&, KBSTATE newState );
47 void ViewTarget( const KBData&, KBSTATE newState );
48 void OutsideTarget( const KBData&, KBSTATE newState );
49 void Quit( const KBData&, KBSTATE newState );
50 void TextMessageKey( const KBData&, KBSTATE newState );
51 void QuitNow();
52 }
53 
54 struct SavedUnits;
55 void AddUnitToSystem( const SavedUnits *su );
56 void createObjects( std::vector< std::string > &playersaveunit,
57  std::vector< StarSystem* > &ssys,
58  std::vector< QVector > &savedloc,
59  vector< vector< string > > &savefiles );
60 void destroyObjects();
61 void InitializeInput();
62 void main_loop();
63 void restore_main_loop();
64 
65 #endif
66