Pol  Revision:f37d500
testenv.h
Go to the documentation of this file.
1 
7 #ifndef POL_TESTENV_H
8 #define POL_TESTENV_H
9 namespace Pol
10 {
11 namespace Mobile
12 {
13 class NPC;
14 }
15 namespace Items
16 {
17 class Item;
18 }
19 namespace Testing
20 {
21 extern Mobile::NPC* test_banker;
22 extern Mobile::NPC* test_banker2;
23 extern Mobile::NPC* test_banker3;
24 extern Items::Item* test_guard_door;
25 extern Mobile::NPC* test_water_elemental;
26 extern Mobile::NPC* test_seaserpent;
27 extern Items::Item* test_chest1;
28 extern Items::Item* test_chest2;
29 extern Mobile::NPC* test_orclord;
30 
31 Items::Item* add_item( unsigned int objtype, unsigned short x, unsigned short y, short z );
32 void add_multi( unsigned int objtype, unsigned short x, unsigned short y, short z );
33 void add_multi( unsigned int objtype, unsigned short x, unsigned short y, short z, int flags );
34 Mobile::NPC* add_npc( const char* npctype, unsigned short x, unsigned short y, short z );
35 
36 
38 void inc_failures();
39 void inc_successes();
41 
42 void map_test();
43 void skilladv_test();
44 void walk_test();
45 void multiwalk_test();
46 void drop_test();
47 void los_test();
48 void dynprops_test();
49 void dummy();
50 void packet_test();
51 }
52 }
53 #endif
void add_multi(unsigned int objtype, unsigned short x, unsigned short y, short z)
Definition: testenv.cpp:75
void los_test()
Definition: testlos.cpp:114
void display_test_results()
Definition: testenv.cpp:43
Item * test_chest1
Definition: testenv.cpp:58
void multiwalk_test()
Definition: testwalk.cpp:279
void inc_failures()
Definition: testenv.cpp:33
Mobile::NPC * test_banker2
Definition: testenv.cpp:53
void create_test_environment()
Definition: testenv.cpp:120
Mobile::NPC * test_seaserpent
Definition: testenv.cpp:57
void packet_test()
Definition: testmisc.cpp:56
void drop_test()
Definition: testdrop.cpp:53
Mobile::NPC * add_npc(const char *npctype, unsigned short x, unsigned short y, short z)
Definition: testenv.cpp:93
void dummy()
Definition: testmisc.cpp:23
void skilladv_test()
Definition: testskill.cpp:38
void walk_test()
Definition: testwalk.cpp:91
Mobile::NPC * test_orclord
Definition: testenv.cpp:60
Item * test_guard_door
Definition: testenv.cpp:55
Mobile::NPC * test_banker3
Definition: testenv.cpp:54
void dynprops_test()
Definition: testmisc.cpp:31
void map_test()
Definition: testmisc.cpp:25
void inc_successes()
Definition: testenv.cpp:38
Mobile::NPC * test_water_elemental
Definition: testenv.cpp:56
Definition: berror.cpp:12
Item * add_item(unsigned int objtype, unsigned short x, unsigned short y, short z)
Definition: testenv.cpp:62
Item * test_chest2
Definition: testenv.cpp:59
Mobile::NPC * test_banker
Definition: testenv.cpp:52