Go to the source code of this file.
|
|
Definition at line 44 of file g_public.h. Referenced by G_RunMissile(), and WP_DisruptorAltFire(). |
|
|
Definition at line 46 of file g_public.h. Referenced by G_RunMissile(), and WP_DisruptorAltFire(). |
|
|
Definition at line 45 of file g_public.h. Referenced by G_RunMissile(), and WP_DisruptorAltFire(). |
|
|
Definition at line 47 of file g_public.h. Referenced by G_RunMissile(), and WP_DisruptorAltFire(). |
|
|
Definition at line 11 of file g_public.h. |
|
|
Definition at line 673 of file g_public.h. Referenced by NAV_CheckNodeFailedForEnt(). |
|
|
Definition at line 667 of file g_public.h. |
|
|
Definition at line 666 of file g_public.h. Referenced by NPC_Spawn_Do(), and Q3_SetParm(). |
|
|
|
|
|
Definition at line 28 of file g_public.h. |
|
|
Definition at line 37 of file g_public.h. Referenced by Boba_FireDecide(), Client_CheckImpactBBrush(), DoImpact(), G_ClearLOS(), G_Damage(), G_EntIsBreakable(), Grenadier_EvaluateShot(), NPC_BSST_Attack(), NPC_EvaluateShot(), Sniper_EvaluateShot(), SP_func_glass(), and WP_DisruptorAltFire(). |
|
|
Definition at line 35 of file g_public.h. Referenced by NPC_Pain(), NPC_Think(), and Q3_SetICARUSFreeze(). |
|
|
Definition at line 39 of file g_public.h. Referenced by NPC_ParseParms(), NPC_Precache(), NPC_Spawn_Do(), and SP_NPC_spawner(). |
|
|
Definition at line 40 of file g_public.h. Referenced by NPC_ParseParms(), NPC_Precache(), NPC_Spawn_Do(), and SP_NPC_spawner(). |
|
|
Definition at line 41 of file g_public.h. Referenced by NPC_ParseParms(), NPC_Precache(), NPC_Spawn_Do(), and SP_NPC_spawner(). |
|
|
|
Definition at line 25 of file g_public.h. |
|
|
Definition at line 29 of file g_public.h. Referenced by SendPendingPredictableEvents(). |
|
|
Definition at line 32 of file g_public.h. Referenced by charge_stick(), G_RunMissile(), laserTrapStick(), and WP_VehWeapSetSolidToOwner(). |
|
|
|
Definition at line 21 of file g_public.h. Referenced by SP_misc_portal_surface(). |
|
|
Definition at line 24 of file g_public.h. Referenced by ScorePlum(), and Touch_Item(). |
|
|
Definition at line 22 of file g_public.h. Referenced by CreateLaserTrap(), CreateMissile(), G_Dismember(), InitMover(), MakeDeadSaber(), WP_FireThermalDetonator(), and WP_SaberInitBladeData(). |
|
|
Referenced by trap_Nav_CheckFailedEdge(), and trap_Nav_ClearFailedEdge(). |
|
|
Definition at line 675 of file g_public.h. |
|
|
Definition at line 608 of file g_public.h.
00609 {
00610 EDGE_NORMAL,
00611 EDGE_PATH,
00612 EDGE_BLOCKED,
00613 EDGE_FAILED,
00614 EDGE_MOVEDIR
00615 };
|
|
|
Definition at line 617 of file g_public.h.
00618 {
00619 NODE_NORMAL,
00620 NODE_START,
00621 NODE_GOAL,
00622 NODE_NAVGOAL,
00623 };
|
|
|
Definition at line 641 of file g_public.h.
00642 {//This should check to matching a behavior state name first, then look for a script
00643 BSET_INVALID = -1,
00644 BSET_FIRST = 0,
00645 BSET_SPAWN = 0,//# script to use when first spawned
00646 BSET_USE,//# script to use when used
00647 BSET_AWAKE,//# script to use when awoken/startled
00648 BSET_ANGER,//# script to use when aquire an enemy
00649 BSET_ATTACK,//# script to run when you attack
00650 BSET_VICTORY,//# script to run when you kill someone
00651 BSET_LOSTENEMY,//# script to run when you can't find your enemy
00652 BSET_PAIN,//# script to use when take pain
00653 BSET_FLEE,//# script to use when take pain below 50% of health
00654 BSET_DEATH,//# script to use when killed
00655 BSET_DELAYED,//# script to run when self->delayScriptTime is reached
00656 BSET_BLOCKED,//# script to run when blocked by a friendly NPC or player
00657 BSET_BUMPED,//# script to run when bumped into a friendly NPC or player (can set bumpRadius)
00658 BSET_STUCK,//# script to run when blocked by a wall
00659 BSET_FFIRE,//# script to run when player shoots their own teammates
00660 BSET_FFDEATH,//# script to run when player kills a teammate
00661 BSET_MINDTRICK,//# script to run when player does a mind trick on this NPC
00662
00663 NUM_BSETS
00664 } bSet_t;
|
|
|
Definition at line 584 of file g_public.h. Referenced by G_ActivateBehavior(), NPC_ExecuteBState(), and NPC_ParseParms().
00585 {//These take over only if script allows them to be autonomous
00586 BS_DEFAULT = 0,//# default behavior for that NPC
00587 BS_ADVANCE_FIGHT,//# Advance to captureGoal and shoot enemies if you can
00588 BS_SLEEP,//# Play awake script when startled by sound
00589 BS_FOLLOW_LEADER,//# Follow your leader and shoot any enemies you come across
00590 BS_JUMP,//# Face navgoal and jump to it.
00591 BS_SEARCH,//# Using current waypoint as a base, search the immediate branches of waypoints for enemies
00592 BS_WANDER,//# Wander down random waypoint paths
00593 BS_NOCLIP,//# Moves through walls, etc.
00594 BS_REMOVE,//# Waits for player to leave PVS then removes itself
00595 BS_CINEMATIC,//# Does nothing but face it's angles and move to a goal if it has one
00596 //# #eol
00597 //internal bStates only
00598 BS_WAIT,//# Does nothing but face it's angles
00599 BS_STAND_GUARD,
00600 BS_PATROL,
00601 BS_INVESTIGATE,//# head towards temp goal and look for enemies and listen for sounds
00602 BS_STAND_AND_SHOOT,
00603 BS_HUNT_AND_KILL,
00604 BS_FLEE,//# Run away!
00605 NUM_BSTATES
00606 } bState_t;
|
|
|
Definition at line 734 of file g_public.h.
00734 {
00735 GAME_INIT, // ( int levelTime, int randomSeed, int restart );
00736 // init and shutdown will be called every single level
00737 // The game should call G_GET_ENTITY_TOKEN to parse through all the
00738 // entity configuration text and spawn gentities.
00739
00740 GAME_SHUTDOWN, // (void);
00741
00742 GAME_CLIENT_CONNECT, // ( int clientNum, qboolean firstTime, qboolean isBot );
00743 // return NULL if the client is allowed to connect, otherwise return
00744 // a text string with the reason for denial
00745
00746 GAME_CLIENT_BEGIN, // ( int clientNum );
00747
00748 GAME_CLIENT_USERINFO_CHANGED, // ( int clientNum );
00749
00750 GAME_CLIENT_DISCONNECT, // ( int clientNum );
00751
00752 GAME_CLIENT_COMMAND, // ( int clientNum );
00753
00754 GAME_CLIENT_THINK, // ( int clientNum );
00755
00756 GAME_RUN_FRAME, // ( int levelTime );
00757
00758 GAME_CONSOLE_COMMAND, // ( void );
00759 // ConsoleCommand will be called when a command has been issued
00760 // that is not recognized as a builtin function.
00761 // The game can issue trap_argc() / trap_argv() commands to get the command
00762 // and parameters. Return qfalse if the game doesn't recognize it as a command.
00763
00764 BOTAI_START_FRAME, // ( int time );
00765
00766 GAME_ROFF_NOTETRACK_CALLBACK, // int entnum, char *notetrack
00767
00768 GAME_SPAWN_RMG_ENTITY, //rwwRMG - added
00769
00770 //rww - icarus callbacks
00771 GAME_ICARUS_PLAYSOUND,
00772 GAME_ICARUS_SET,
00773 GAME_ICARUS_LERP2POS,
00774 GAME_ICARUS_LERP2ORIGIN,
00775 GAME_ICARUS_LERP2ANGLES,
00776 GAME_ICARUS_GETTAG,
00777 GAME_ICARUS_LERP2START,
00778 GAME_ICARUS_LERP2END,
00779 GAME_ICARUS_USE,
00780 GAME_ICARUS_KILL,
00781 GAME_ICARUS_REMOVE,
00782 GAME_ICARUS_PLAY,
00783 GAME_ICARUS_GETFLOAT,
00784 GAME_ICARUS_GETVECTOR,
00785 GAME_ICARUS_GETSTRING,
00786 GAME_ICARUS_SOUNDINDEX,
00787 GAME_ICARUS_GETSETIDFORSTRING,
00788 GAME_NAV_CLEARPATHTOPOINT,
00789 GAME_NAV_CLEARLOS,
00790 GAME_NAV_CLEARPATHBETWEENPOINTS,
00791 GAME_NAV_CHECKNODEFAILEDFORENT,
00792 GAME_NAV_ENTISUNLOCKEDDOOR,
00793 GAME_NAV_ENTISDOOR,
00794 GAME_NAV_ENTISBREAKABLE,
00795 GAME_NAV_ENTISREMOVABLEUSABLE,
00796 GAME_NAV_FINDCOMBATPOINTWAYPOINTS,
00797
00798 GAME_GETITEMINDEXBYTAG
00799 } gameExport_t;
|
|