20 #ifndef INC_C4GameScript
21 #define INC_C4GameScript
34 #define PSF_Initialize "~Initialize"
35 #define PSF_InitializePlayers "~InitializePlayers"
36 #define PSF_InitializeAmbience "~InitializeAmbience"
37 #define PSF_Construction "~Construction"
38 #define PSF_Destruction "~Destruction"
39 #define PSF_ContentsDestruction "~ContentsDestruction"
40 #define PSF_InitializePlayer "~InitializePlayer"
41 #define PSF_InitializeScriptPlayer "~InitializeScriptPlayer"
42 #define PSF_PreInitializePlayer "~PreInitializePlayer"
43 #define PSF_InitializePlayerControl "~InitializePlayerControl"
44 #define PSF_InitializeMap "~InitializeMap"
45 #define PSF_InitializeObjects "~InitializeObjects"
46 #define PSF_RemovePlayer "~RemovePlayer"
47 #define PSF_RelaunchPlayer "~RelaunchPlayer"
48 #define PSF_Time1 "~Time1"
49 #define PSF_Hit "~Hit"
50 #define PSF_Hit2 "~Hit2"
51 #define PSF_Hit3 "~Hit3"
52 #define PSF_Grab "~Grab"
53 #define PSF_Grabbed "~Grabbed"
54 #define PSF_Get "~Get"
55 #define PSF_Put "~Put"
56 #define PSF_Collection "~Collection"
57 #define PSF_Collection2 "~Collection2"
58 #define PSF_Ejection "~Ejection"
59 #define PSF_Entrance "~Entrance"
60 #define PSF_Departure "~Departure"
61 #define PSF_Purchase "~Purchase"
62 #define PSF_Sale "~Sale"
63 #define PSF_Damage "~Damage"
64 #define PSF_Incineration "~Incineration"
65 #define PSF_IncinerationEx "~IncinerationEx"
66 #define PSF_Death "~Death"
67 #define PSF_ActivateEntrance "~ActivateEntrance"
68 #define PSF_LiftTop "~LiftTop"
69 #define PSF_Contact "~Contact%s"
70 #define PSF_ControlCommand "~ControlCommand"
71 #define PSF_ControlCommandFinished "~ControlCommandFinished"
72 #define PSF_CatchBlow "~CatchBlow"
73 #define PSF_QueryCatchBlow "~QueryCatchBlow"
74 #define PSF_Stuck "~Stuck"
75 #define PSF_GrabLost "~GrabLost"
76 #define PSF_OnLineBreak "~OnLineBreak"
77 #define PSF_OnLineChange "~OnLineChange"
78 #define PSF_ControlTransfer "~ControlTransfer"
79 #define PSF_OnSynchronized "~OnSynchronized"
80 #define PSF_CalcValue "~CalcValue"
81 #define PSF_CalcDefValue "~CalcDefValue"
82 #define PSF_InputCallback "InputCallback"
83 #define PSF_MenuQueryCancel "~MenuQueryCancel"
84 #define PSF_IsFulfilled "~IsFulfilled"
85 #define PSF_AttachTargetLost "~AttachTargetLost"
86 #define PSF_CrewSelection "~CrewSelection"
87 #define PSF_GetObject2Drop "~GetObject2Drop"
88 #define PSF_LeagueGetResult "~LeagueGetResult"
89 #define PSF_FireMode "~FireMode"
90 #define PSF_FrameDecoration "~FrameDecoration%s"
91 #define PSF_CalcBuyValue "~CalcBuyValue"
92 #define PSF_CalcSellValue "~CalcSellValue"
93 #define PSF_OnJoinCrew "~Recruitment"
94 #define PSF_OnRemoveCrew "~DeRecruitment"
95 #define PSF_OnInIncendiaryMaterial "OnInIncendiaryMaterial"
96 #define PSF_EditCursorSelection "~EditCursorSelection"
97 #define PSF_EditCursorDeselection "~EditCursorDeselection"
98 #define PSF_EditCursorMoved "~EditCursorMoved"
99 #define PSF_DigOutObject "~DigOutObject"
100 #define PSF_OnDugOut "~DugOut"
101 #define PSF_SaveScenarioObjects "~SaveScenarioObjects"
102 #define PSF_CommandFailure "~CommandFailure"
103 #define PSF_OnCompletionChange "~OnCompletionChange"
105 #define PSF_CollectStatistics "CollectStatistics"
109 #define PSF_FxStart "Fx%sStart"
110 #define PSF_FxStop "Fx%sStop"
111 #define PSF_FxTimer "Fx%sTimer"
112 #define PSF_FxEffect "Fx%sEffect"
113 #define PSF_FxDamage "Fx%sDamage"
114 #define PSF_FxCustom "Fx%s%s"
118 #define PSF_PlayerControl "PlayerControl"
119 #define PSF_MouseSelection "~MouseSelection"
120 #define PSF_MouseSelectionAlt "~MouseSelectionAlt"
121 #define PSF_MouseDragDrop "~MouseDragDrop"
122 #define PSF_MouseHover "~MouseHover"
126 #define PSF_Definition "~Definition"
130 #define PSF_RejectHostilityChange "~RejectHostilityChange"
131 #define PSF_RejectTeamSwitch "~RejectTeamSwitch"
132 #define PSF_RejectEntrance "~RejectEntrance"
133 #define PSF_RejectCollection "~RejectCollect"
134 #define PSF_RejectContents "~RejectContents"
138 #define PSF_OnGameOver "~OnGameOver"
139 #define PSF_MenuSelection "~OnMenuSelection"
140 #define PSF_OnActionJump "~OnActionJump"
141 #define PSF_OnOwnerChanged "~OnOwnerChanged"
142 #define PSF_EnergyChange "~OnEnergyChange"
143 #define PSF_BreathChange "~OnBreathChange"
144 #define PSF_OnHostilityChange "~OnHostilityChange"
145 #define PSF_OnTeamSwitch "~OnTeamSwitch"
146 #define PSF_OnOwnerRemoved "~OnOwnerRemoved"
147 #define PSF_Promotion "~OnPromotion"
148 #define PSF_CrewEnabled "~OnCrewEnabled"
149 #define PSF_CrewDisabled "~OnCrewDisabled"
150 #define PSF_NameChange "~OnNameChanged"
151 #define PSF_OnWealthChanged "~OnWealthChanged"
152 #define PSF_OnActionChanged "~OnActionChanged"
153 #define PSF_OnMaterialChanged "~OnMaterialChanged"
156 #define PSFS_FxAdd "Add"
157 #define PSFS_FxInfo "Info"
163 #define PSF_ControlCommandAcquire "~ControlCommandAcquire"
164 #define PSF_ControlCommandConstruction "~ControlCommandConstruction"
void InitGameFunctionMap(C4AulScriptEngine *pEngine)
bool C4ValueToMatrix(C4Value &value, StdMeshMatrix *matrix)
void InitObjectFunctionMap(C4AulScriptEngine *pEngine)