00001 /*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 00002 || NoX-Wizard UO Server Emulator (NXW) [http://noxwizard.sourceforge.net] || 00003 || || 00004 || This software is free software released under GPL2 license. || 00005 || You can find detailed license information in nox-wizard.cpp file. || 00006 || || 00007 || For any question post to NoX-Wizard forums. || 00008 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/ 00009 00015 #ifndef _CONTAINERS_H 00016 #define _CONTAINERS_H 00017 00018 void loadcontainers(); 00019 00020 typedef struct { 00021 SI16 x; 00022 SI16 y; 00023 } BasicPosition; 00024 00025 00026 typedef struct { 00027 UI32 gump; 00028 BasicPosition upperleft; 00029 BasicPosition downright; 00030 } cont_gump_st; 00031 00032 typedef std::map< UI32, cont_gump_st > CONTINFOGUMPMAP; 00033 typedef std::map< UI32, CONTINFOGUMPMAP::iterator > CONTINFOMAP; 00034 00035 extern CONTINFOGUMPMAP contInfoGump; 00036 extern CONTINFOMAP contInfo; 00037 00038 #endif