]> icculus.org git repositories - divverent/nexuiz.git/commit
exact triggers: jumppads, teleporters and race checkpoints now work EXACTLY as
authordiv0 <div0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Fri, 22 Aug 2008 11:01:02 +0000 (11:01 +0000)
committerdiv0 <div0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Fri, 22 Aug 2008 11:01:02 +0000 (11:01 +0000)
commitc99ff12a5db3bc53a19838d7a945931952047c66
tree8fdcf6a13548beafce85bd2707b888046f36bec7
parentfeba314efa70c8048efc5a7fd8f92c9b7d6f0c17
exact triggers: jumppads, teleporters and race checkpoints now work EXACTLY as
made in the map editor (not as bbox any more). This change might be desirable
on other entity types too.

Usage:

- In the spawn functions, call EXACTTRIGGER_INIT; instead of InitTrigger();
- In the touch function, first do the classname checks, then call EXACTTRIGGER_TOUCH;
  (this will abort the touch function if it is a bad touch)

git-svn-id: svn://svn.icculus.org/nexuiz/trunk@4142 f962a42d-fe04-0410-a3ab-8c8b0445ebaa
data/qcsrc/server/miscfunctions.qc
data/qcsrc/server/race.qc
data/qcsrc/server/t_jumppads.qc
data/qcsrc/server/t_teleporters.qc