5 #include "IFireworksLocationRepository.h"
7 #include "FireworksLocation.h"
18 typedef Helpers::ICallback1<const IFireworksLocation&> TFireworkLocationAddedCallback;
24 static const int BaseCellDepth;
30 void RemoveFireworksLocation(u32 uid);
34 void GetLocationsAtMortonKey(
const Streaming::MortonKey& key, std::vector<IFireworksLocation*> & out_locations);
43 void ValidateAndFindFireworksLocationForRemoval(u32 uid,
44 std::map<u32, FireworksLocation*>::iterator& out_iterator,
50 typedef std::vector<FireworksLocation*> TLocations;
51 std::map<u32, FireworksLocation*> m_uniqueIdToLocationMap;
52 std::map<Streaming::MortonKey, TLocations> m_mortonKeyToLocationsMap;
54 std::vector<TFireworkLocationAddedCallback*> m_locationAddedCallbacks;
55 std::vector<TFireworkLocationAddedCallback*> m_locationRemovedCallbacks;