You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Generals/Code/GameEngine/Include/GameLogic/Module/TunnelContain.h
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,8 @@ class TunnelContain : public OpenContain, public CreateModuleInterface
98
98
virtualvoidonRemoving( Object *obj ); ///< object no longer contains 'obj'
99
99
virtualvoidonSelling();///< Container is being sold. Tunnel responds by kicking people out if this is the last tunnel.
100
100
101
+
virtualvoidorderAllPassengersToExit( CommandSourceType commandSource ); ///< All of the smarts of exiting are in the passenger's AIExit. removeAllFrommContain is a last ditch system call, this is the game Evacuate
virtualvoidaddToContainList( Object *obj ); ///< The part of AddToContain that inheritors can override (Can't do whole thing because of all the private stuff involved)
103
105
virtualvoidremoveFromContain( Object *obj, Bool exposeStealthUnits = FALSE ); ///< remove 'obj' from contain list
Copy file name to clipboardExpand all lines: GeneralsMD/Code/GameEngine/Include/GameLogic/Module/TunnelContain.h
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -102,6 +102,9 @@ class TunnelContain : public OpenContain, public CreateModuleInterface
102
102
virtualvoidonSelling();///< Container is being sold. Tunnel responds by kicking people out if this is the last tunnel.
103
103
virtualvoidonCapture( Player *oldOwner, Player *newOwner ); // Need to change who we are registered with.
104
104
105
+
virtualvoidorderAllPassengersToExit( CommandSourceType commandSource, Bool instantly ); ///< All of the smarts of exiting are in the passenger's AIExit. removeAllFrommContain is a last ditch system call, this is the game Evacuate
106
+
virtualvoidorderAllPassengersToIdle( CommandSourceType commandSource ); ///< Just like it sounds
virtualvoidaddToContainList( Object *obj ); ///< The part of AddToContain that inheritors can override (Can't do whole thing because of all the private stuff involved)
107
110
virtualvoidremoveFromContain( Object *obj, Bool exposeStealthUnits = FALSE ); ///< remove 'obj' from contain list
0 commit comments