From 53e84a13befdc76b319bb538a46cf48943c507a8 Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Thu, 4 May 2006 22:10:23 +0000 Subject: [PATCH] gah --- plugins/include/engine.inc | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/plugins/include/engine.inc b/plugins/include/engine.inc index 4788aed4..ded354db 100755 --- a/plugins/include/engine.inc +++ b/plugins/include/engine.inc @@ -150,8 +150,11 @@ native remove_entity(iIndex); /* Return current number of entities in the map */ native entity_count(); -/* Simulate two entities colliding/touching. */ -native fake_touch(entTouched, entToucher); +/* Simulate two entities colliding/touching. + * ptr - touched entity + * ptd - toucher entity + */ +native fake_touch(ptr, ptd); /* 2 formats. Format: DispatchKeyValue("KeyName","Value") - sets keyvalues for the entity specified in the keyvalue() forward. @@ -234,8 +237,11 @@ native eng_get_string(_string, _returnString[], _len); /* FORWARDS **********/ -/* Called when 2 entities touch. */ -forward pfn_touch(entTouched, entToucher); +/* Called when 2 entities touch. + * ptr - touched entity + * ptd - toucher entity + */ +forward pfn_touch(ptr, ptd); /* Called once every server frame. May cause lag. */ forward server_frame();