Add infos into target window
[ryzomcore.git] / ryzom / server / src / ai_share / ai_spawn_commands.cpp
blobd21602c2b3b3b1e5b8c4574ec367f1a73f1f655b
1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
18 #include "stdpch.h"
19 #include "ai_spawn_commands.h"
21 // Fix the stupid Visual 6 Warning
22 void foo_ai_spawn_commands() {};
25 using namespace NLMISC;
26 using namespace std;
29 namespace AI_SHARE
32 //-------------------------------------------------------------------------
33 // SPAWNING COMMANDS
35 //NLMISC_COMMAND(spawnGrps,"spawn one of the versions of the group","<group id>")
36 //{
37 // if(args.size() <1) return false;
39 // for (uint i=0;i<args.size();++i)
40 // CAISpawnCtrl::spawnGrp(args[i]);
41 //
42 // return true;
43 //}
45 //NLMISC_COMMAND(spawnMgrs,"spawn the population of one or more mgrs","[<mgr id>[...]]")
46 //{
47 // if(args.size() <1) return false;
49 // for (uint i=0;i<args.size();++i)
50 // CAISpawnCtrl::spawnMgr(args[i]);
51 //
52 // return true;
53 //}
55 //NLMISC_COMMAND(spawnMaps,"spawn the population of one or more continents","[<continent name>[...]]")
56 //{
57 // if(args.size() <1) return false;
59 // for (uint i=0;i<args.size();++i)
60 // CAISpawnCtrl::spawnMap(args[i]);
61 //
62 // return true;
63 //}
65 //NLMISC_COMMAND(spawnAll,"spawn the populations of all managers","")
66 //{
67 // if(args.size() !=0) return false;
68 //
69 // CAISpawnCtrl::spawnAll();
70 //
71 // return true;
72 //}
75 //-------------------------------------------------------------------------
76 // DESPAWNING COMMANDS
78 //NLMISC_COMMAND(despawnGrps,"despawn populations of one or more groups","<group id> [<group id>[...]]")
79 //{
80 // if(args.size() <1) return false;
82 // for (uint i=0;i<args.size();++i)
83 // CAISpawnCtrl::despawnGrp(args[i]);
85 // return true;
86 //}
88 //NLMISC_COMMAND(despawnMgrs,"despawn the populations of one or more mgrs","[<mgr id>[...]]")
89 //{
90 // if(args.size() <1) return false;
92 // for (uint i=0;i<args.size();++i)
93 // CAISpawnCtrl::despawnMgr(args[i]);
94 //
95 // return true;
96 //}
98 //NLMISC_COMMAND(despawnMaps,"despawn the population of one or more continents","[<continent id>[...]]")
99 //{
100 // if(args.size() <1) return false;
102 // for (uint i=0;i<args.size();++i)
103 // CAISpawnCtrl::despawnMap(args[i]);
105 // return true;
108 //NLMISC_COMMAND(despawnAll,"despawn the populations of all managers in service","")
110 // if(args.size() !=0) return false;
112 // CAISpawnCtrl::despawnAll();
114 // return true;
117 // THIS LINE EXISTS TO MAKE SURE THE LINKER DOESN'T THROW OUT THIS MODULE AT LINK TIME!!!
118 bool LinkWithAiSpawnCommands=false;
120 } // end of namespace