turn NIX into a mutator; fix keyhunt
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / base.qh
index 56f20f7f73b9b3d75badde1b035363f4cd9b9e4b..11ea2f6645d5bac0a5db844b92caf9684ef06bee 100644 (file)
@@ -38,9 +38,17 @@ void Mutator_Remove(float(float) func); // calls error() on fail
 // register all possible hooks here
 MUTATOR_HOOKABLE(MakePlayerObserver);
 MUTATOR_HOOKABLE(MakePlayerSpectator);
+MUTATOR_HOOKABLE(PlayerSpawn);
 MUTATOR_HOOKABLE(ClientDisconnect);
 MUTATOR_HOOKABLE(PlayerDies); entity other; entity frag_attacker;
 MUTATOR_HOOKABLE(GiveFragsForKill); entity frag_attacker, frag_target; float frag_score;
 MUTATOR_HOOKABLE(MatchEnd);
 MUTATOR_HOOKABLE(GetTeamCount); float ret_float;
 MUTATOR_HOOKABLE(SpectateCopy); entity other;
+MUTATOR_HOOKABLE(ForbidThrowCurrentWeapon);
+MUTATOR_HOOKABLE(SetStartItems);
+MUTATOR_HOOKABLE(BuildMutatorsString); string ret_string;
+MUTATOR_HOOKABLE(BuildMutatorsPrettyString); string ret_string;
+MUTATOR_HOOKABLE(FilterItem); // return error to request removal, or change self.items or self.weapons
+MUTATOR_HOOKABLE(OnEntityPreSpawn); // return error to prevent entity spawn, or modify the entity
+MUTATOR_HOOKABLE(PlayerPreThink);