polserver/testsuite/pol/testpkgs/npc
turleypol d873551c25
removed pol_distance/inrange* functions (#556)
* removed pol_distance/inrange* functions
replaced lastxyz with Pos4d

* replaced WorldIterator::InVisualRange with InMaxVisualRange returning
all objects in maximum update range. Adapted each caller, they now have
to check in_visual_range
Multis should now be send to clients with its footprint in mind.
added testscript for boat moving in/out of range

* removed non pos InRange/InBox functions
gamestate.update_range doesnt need to be a Vector, renamed

* corrected send_action_to_inrange

* replaced clip methods with general numeric type clamp function

* added Range2d constructor with radius

* splitted update_range. chr has now a los_size (how far can it see) and
an object has a visible_size (0 for objects 1/2 footprint for multis)

* use in_range instead of pol_distance

* corrected order of checks

* fixed warnings

* fixed visual size of multis
testclient added wornitems pkt support
added tests for los

* corechanges
2023-12-25 22:02:52 +01:00
..
ai_enteredarea.src Add option to receive only PC or NPC area events (#364) 2021-02-27 23:46:21 +01:00
ai_movement.src Testsuite reorganization, new feature to call exported functions (#237) 2020-12-16 18:56:10 +01:00
ai_speech.src Fix crash when event queue is full (#521) 2023-05-12 20:45:40 +02:00
cleanup.src Testsuite reorganization, new feature to call exported functions (#237) 2020-12-16 18:56:10 +01:00
npcdesc.cfg Fix crash when event queue is full (#521) 2023-05-12 20:45:40 +02:00
pkg.cfg Testsuite reorganization, new feature to call exported functions (#237) 2020-12-16 18:56:10 +01:00
test_npc.src removed pol_distance/inrange* functions (#556) 2023-12-25 22:02:52 +01:00