#include <ContainModule.h>
Inherited by OpenContain.
Public Member Functions | |
| virtual OpenContain * | asOpenContain ()=0 |
| virtual void | containReactToTransformChange ()=0 |
| virtual Bool | isGarrisonable () const =0 |
| virtual Bool | isBustable () const =0 |
| virtual Bool | isSpecialZeroSlotContainer () const =0 |
| virtual Bool | isHealContain () const =0 |
| virtual Bool | isTunnelContain () const =0 |
| virtual Bool | isRiderChangeContain () const =0 |
| virtual Bool | isImmuneToClearBuildingAttacks () const =0 |
| virtual Bool | isSpecialOverlordStyleContainer () const =0 |
| virtual Bool | isAnyRiderAttacking () const =0 |
| virtual void | clientVisibleContainedFlashAsSelected ()=0 |
| virtual void | onObjectWantsToEnterOrExit (Object *obj, ObjectEnterExitType wants)=0 |
| virtual Bool | hasObjectsWantingToEnterOrExit () const =0 |
| virtual const Player * | getApparentControllingPlayer (const Player *observingPlayer) const =0 |
| virtual void | recalcApparentControllingPlayer ()=0 |
| virtual void | onContaining (Object *obj, Bool wasSelected)=0 |
| object now contains 'obj' | |
| virtual void | onRemoving (Object *obj)=0 |
| object no longer contains 'obj' | |
| virtual void | onCapture (Player *oldOwner, Player *newOwner)=0 |
| virtual void | onSelling ()=0 |
| Container is being sold. Most people respond by kicking everyone out, but not all. | |
| virtual Int | getContainMax () const =0 |
| The max needs to be virtual, but only two inheritors care. -1 means "I don't care". | |
| virtual ExitInterface * | getContainExitInterface ()=0 |
| virtual void | orderAllPassengersToExit (CommandSourceType, Bool instantly)=0 |
| All of the smarts of exiting are in the passenger's AIExit. removeAllFrommContain is a last ditch system call, this is the game Evacuate. | |
| virtual void | orderAllPassengersToIdle (CommandSourceType)=0 |
| Just like it sounds. | |
| virtual void | orderAllPassengersToHackInternet (CommandSourceType)=0 |
| Just like it sounds. | |
| virtual void | markAllPassengersDetected ()=0 |
| Cool game stuff got added to the system calls since this layer didn't exist, so this regains that functionality. | |
| virtual Bool | isValidContainerFor (const Object *obj, Bool checkCapacity) const =0 |
| virtual void | addToContain (Object *obj)=0 |
| add 'obj' to contain list | |
| virtual void | addToContainList (Object *obj)=0 |
| The part of AddToContain that inheritors can override (Can't do whole thing because of all the private stuff involved) | |
| virtual void | removeFromContain (Object *obj, Bool exposeStealthUnits=FALSE)=0 |
| remove 'obj' from contain list | |
| virtual void | removeAllContained (Bool exposeStealthUnits=FALSE)=0 |
| remove all objects on contain list | |
| virtual void | killAllContained (void)=0 |
| kill all objects on contain list | |
| virtual void | harmAndForceExitAllContained (DamageInfo *info)=0 |
| virtual Bool | isEnclosingContainerFor (const Object *obj) const =0 |
| Does this type of Contain Visibly enclose its contents? | |
| virtual Bool | isPassengerAllowedToFire (ObjectID id=INVALID_ID) const =0 |
| Hey, can I shoot out of this container? | |
| virtual void | setPassengerAllowedToFire (Bool permission=TRUE)=0 |
| Hey, can I shoot out of this container? | |
| virtual void | setOverrideDestination (const Coord3D *)=0 |
| Instead of falling peacefully towards a clear spot, I will now aim here. | |
| virtual Bool | isDisplayedOnControlBar () const =0 |
| Does this container display its contents on the ControlBar? | |
| virtual Int | getExtraSlotsInUse (void)=0 |
| virtual Bool | isKickOutOnCapture ()=0 |
| Does this contain module kick people out when captured? | |
| virtual void | iterateContained (ContainIterateFunc func, void *userData, Bool reverse)=0 |
| iterate the contain list | |
| virtual UnsignedInt | getContainCount () const =0 |
| contained count | |
| virtual const ContainedItemsList * | getContainedItemsList () const =0 |
| virtual const Object * | friend_getRider () const =0 |
| Damn. The draw order dependency bug for riders means that our draw module needs to cheat to get around it. | |
| virtual Real | getContainedItemsMass () const =0 |
| virtual UnsignedInt | getStealthUnitsContained () const =0 |
| virtual Bool | calcBestGarrisonPosition (Coord3D *sourcePos, const Coord3D *targetPos)=0 |
| virtual Bool | attemptBestFirePointPosition (Object *source, Weapon *weapon, Object *victim)=0 |
| virtual Bool | attemptBestFirePointPosition (Object *source, Weapon *weapon, const Coord3D *targetPos)=0 |
| virtual PlayerMaskType | getPlayerWhoEntered (void) const =0 |
| virtual void | processDamageToContained (Real percentDamage)=0 |
| Do our % damage to units now. | |
| virtual Object * | getClosestRider (const Coord3D *pos)=0 |
| virtual void | enableLoadSounds (Bool enable)=0 |
| virtual void | setEvacDisposition (EvacDisposition disp)=0 |
| virtual Bool | isWeaponBonusPassedToPassengers () const =0 |
| virtual WeaponBonusConditionFlags | getWeaponBonusPassedToPassengers () const =0 |
| virtual Bool | getContainerPipsToShow (Int &numTotal, Int &numFull) |
Definition at line 80 of file ContainModule.h.
|
pure virtual |
add 'obj' to contain list
Implemented in HelixContain, OpenContain, and OverlordContain.
|
pure virtual |
The part of AddToContain that inheritors can override (Can't do whole thing because of all the private stuff involved)
Implemented in CaveContain, HelixContain, OpenContain, OverlordContain, and TunnelContain.
|
pure virtual |
Implemented in CaveContain, HelixContain, OpenContain, OverlordContain, and TunnelContain.
|
pure virtual |
Implemented in GarrisonContain, and OpenContain.
|
pure virtual |
Implemented in GarrisonContain, and OpenContain.
|
pure virtual |
Implemented in GarrisonContain, and OpenContain.
|
pure virtual |
Implemented in HelixContain, OpenContain, and OverlordContain.
|
pure virtual |
Implemented in OpenContain, and ParachuteContain.
|
pure virtual |
Implemented in OpenContain.
|
pure virtual |
Damn. The draw order dependency bug for riders means that our draw module needs to cheat to get around it.
Implemented in HelixContain, OpenContain, OverlordContain, and RiderChangeContain.
|
pure virtual |
return the player that appears to control this unit, given an observing player. if null, use getObject()->getControllingPlayer() instead.
Implemented in GarrisonContain, and OpenContain.
Implemented in OpenContain.
|
pure virtual |
contained count
Implemented in CaveContain, OpenContain, OverlordContain, and TunnelContain.
|
pure virtual |
Implemented in CaveContain, OpenContain, OverlordContain, and TunnelContain.
|
pure virtual |
Implemented in OpenContain.
|
inlinevirtual |
Reimplemented in HelixContain, OverlordContain, and RiderChangeContain.
Definition at line 201 of file ContainModule.h.
|
pure virtual |
Implemented in OpenContain.
|
pure virtual |
The max needs to be virtual, but only two inheritors care. -1 means "I don't care".
Implemented in CaveContain, MobNexusContain, OpenContain, OverlordContain, RiderChangeContain, TransportContain, and TunnelContain.
|
pure virtual |
Implemented in MobNexusContain, OpenContain, RiderChangeContain, and TransportContain.
|
pure virtual |
Implemented in OpenContain.
|
pure virtual |
Implemented in OpenContain.
|
pure virtual |
Implemented in OpenContain.
|
pure virtual |
Implemented in OpenContain, and TunnelContain.
|
pure virtual |
Implemented in OpenContain.
|
pure virtual |
if my object gets selected, then my visible passengers should, too this gets called from
Implemented in OpenContain.
|
pure virtual |
Implemented in CaveContain, GarrisonContain, OpenContain, and TunnelContain.
|
pure virtual |
Does this container display its contents on the ControlBar?
Implemented in GarrisonContain, OpenContain, OverlordContain, RiderChangeContain, TransportContain, and TunnelContain.
|
pure virtual |
Does this type of Contain Visibly enclose its contents?
Implemented in GarrisonContain, HelixContain, OpenContain, OverlordContain, and ParachuteContain.
|
pure virtual |
Implemented in CaveContain, GarrisonContain, OpenContain, OverlordContain, and TunnelContain.
|
pure virtual |
Implemented in CaveContain, GarrisonContain, HealContain, HelixContain, OpenContain, OverlordContain, and TunnelContain.
|
pure virtual |
Implemented in GarrisonContain, HelixContain, OpenContain, OverlordContain, and TunnelContain.
|
pure virtual |
Does this contain module kick people out when captured?
Implemented in CaveContain, OpenContain, OverlordContain, and TunnelContain.
|
pure virtual |
Hey, can I shoot out of this container?
Implemented in GarrisonContain, HelixContain, OpenContain, OverlordContain, and TransportContain.
|
pure virtual |
Implemented in OpenContain, RiderChangeContain, and TransportContain.
|
pure virtual |
Implemented in GarrisonContain, HelixContain, OpenContain, OverlordContain, TransportContain, and TunnelContain.
|
pure virtual |
Implemented in OpenContain, and ParachuteContain.
|
pure virtual |
Implemented in GarrisonContain, HealContain, HelixContain, OpenContain, OverlordContain, and TunnelContain.
|
pure virtual |
can this container contain this kind of object? and, if checkCapacity is TRUE, does this container have enough space left to hold the given unit?
Implemented in CaveContain, GarrisonContain, HelixContain, MobNexusContain, OpenContain, OverlordContain, ParachuteContain, RiderChangeContain, TransportContain, and TunnelContain.
|
pure virtual |
Implemented in OpenContain.
|
pure virtual |
iterate the contain list
Implemented in CaveContain, OpenContain, OverlordContain, and TunnelContain.
|
pure virtual |
kill all objects on contain list
Implemented in OpenContain, OverlordContain, and TunnelContain.
|
pure virtual |
Cool game stuff got added to the system calls since this layer didn't exist, so this regains that functionality.
Implemented in OpenContain.
|
pure virtual |
Implemented in HelixContain, OpenContain, OverlordContain, RiderChangeContain, TransportContain, and TunnelContain.
object now contains 'obj'
Implemented in CaveContain, GarrisonContain, HelixContain, InternetHackContain, MobNexusContain, OpenContain, OverlordContain, ParachuteContain, RiderChangeContain, TransportContain, and TunnelContain.
|
pure virtual |
this is used for containers that must do something to allow people to enter or exit... eg, land (for Chinook), open door (whatever)... it's called with wants=WANTS_TO_ENTER when something is in the enter state, and wants=ENTS_NOTHING when the unit has either entered, or given up...
Implemented in OpenContain.
|
pure virtual |
object no longer contains 'obj'
Implemented in CaveContain, GarrisonContain, HelixContain, MobNexusContain, OpenContain, OverlordContain, ParachuteContain, RailedTransportContain, RiderChangeContain, TransportContain, and TunnelContain.
|
pure virtual |
Container is being sold. Most people respond by kicking everyone out, but not all.
Implemented in GarrisonContain, OpenContain, and TunnelContain.
|
pure virtual |
All of the smarts of exiting are in the passenger's AIExit. removeAllFrommContain is a last ditch system call, this is the game Evacuate.
Implemented in OpenContain.
|
pure virtual |
Just like it sounds.
Implemented in OpenContain.
|
pure virtual |
Just like it sounds.
Implemented in OpenContain.
|
pure virtual |
Do our % damage to units now.
Implemented in OpenContain.
|
pure virtual |
Implemented in CaveContain, GarrisonContain, and OpenContain.
|
pure virtual |
remove all objects on contain list
Implemented in CaveContain, GarrisonContain, OpenContain, OverlordContain, and TunnelContain.
|
pure virtual |
remove 'obj' from contain list
Implemented in CaveContain, HelixContain, OpenContain, OverlordContain, and TunnelContain.
|
pure virtual |
Implemented in GarrisonContain, and OpenContain.
|
pure virtual |
Instead of falling peacefully towards a clear spot, I will now aim here.
Implemented in OpenContain, and ParachuteContain.
|
pure virtual |
Hey, can I shoot out of this container?
Implemented in OpenContain.