Commit graph

10 commits

Author SHA1 Message Date
Wyk3d
766654c85d [6828] Added script name indexing for creature, gameobject, item, areatrigger and instance scripts.
* loaded all distinct script names into one vector at server startup
* added custom loaders to convert the script names to indices
* converted all the script lookup functions to use the index instead of the name
2008-11-16 03:20:16 +02:00
Wyk3d
074bd3a08f [6827] Added an interface for defining custom SQLStorage loaders. 2008-11-16 01:02:13 +02:00
VladimirMangos
755717e8ac [6813] Allow have team dependent graveyards at entrance map for instances.
Entrance map graveyards selected by same way as local (by distance from entrance)
Until DB support will work in old way base at current DB data.
2008-11-09 17:02:58 +03:00
VladimirMangos
5222f49820 Use (if available) TR1 unordered_map instead hash_map at Unix/Linux (in GCC 4.0.0 and later) and Windows (VC90 and later) 2008-11-08 11:44:13 +03:00
VladimirMangos
4476d483d4 Fixed comment text and code indentifiers spelling.
GetFieldNames part provided by Paradox.
2008-11-06 19:22:23 +03:00
Wyk3d
c8bd17f67b Added two parameter versions of the AsyncQuery function 2008-11-02 22:21:02 +02:00
VladimirMangos
8563b88859 Fixed some format arg type/value pairs. Other warnings. 2008-11-01 23:53:35 +03:00
ApoC
4658b2b38e Fixed ticket reading when using PGSQL
Optimized ticket deleting by its position
Signed-off-by: ApoC <apoc@nymfe.net>
2008-10-26 12:26:22 +01:00
TheLuda
899d7dec74 Applied new coding standard, see http://github.com/mangos/mangos/wikis/codingstandards for more. 2008-10-15 18:25:10 +02:00
TheLuda
800ee76535 Imported MaNGOS revision 6767 from http://mangos.svn.sourceforge.net/svnroot/mangos/trunk/ 2008-10-14 00:29:20 +02:00