allow for delayed map notifications during animations
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user