allow for delayed map notifications during animations

This commit is contained in:
Justin R. Miller
2014-07-15 18:48:01 -07:00
parent cdda9f12b5
commit 1f06f518b2
5 changed files with 15 additions and 7 deletions

View File

@@ -1,6 +1,8 @@
#ifndef LLMR_PLATFORM_PLATFORM
#define LLMR_PLATFORM_PLATFORM
#include <llmr/util/time.hpp>
#include <memory>
#include <functional>
#include <string>
@@ -49,7 +51,7 @@ std::shared_ptr<Request> request_http(const std::string &url,
void cancel_request_http(const std::shared_ptr<Request> &req);
// Notifies a watcher of map changes.
void notify_map_change(MapChange key);
void notify_map_change(MapChange key, timestamp delay = 0);
// Shows an alpha image with the specified dimensions in a named window.
void show_debug_image(std::string name, const char *data, size_t width, size_t height);