diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-31 18:49:08 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-31 18:49:08 (GMT) |
| commit | 1d258eab6b0ec3740d634f014af5dbff882e0069 (patch) | |
| tree | 956d446f144415d4f188dcca17c7dffba08851c2 /src/client/Client.cpp | |
| parent | 303b546ceb134df48763730cbfd8ce7b6df008a2 (diff) | |
| download | powder-1d258eab6b0ec3740d634f014af5dbff882e0069.zip powder-1d258eab6b0ec3740d634f014af5dbff882e0069.tar.gz | |
ThumbnailBroker for background retrieval and rendering
Diffstat (limited to 'src/client/Client.cpp')
| -rw-r--r-- | src/client/Client.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/Client.cpp b/src/client/Client.cpp index f5ea91d..7f26a4c 100644 --- a/src/client/Client.cpp +++ b/src/client/Client.cpp @@ -21,10 +21,12 @@ #include "graphics/Graphics.h" #include "Misc.h" +#include "simulation/SaveRenderer.h" #include "interface/Point.h" #include "client/SaveInfo.h" #include "ClientListener.h" #include "Update.h" +#include "ThumbnailBroker.h" extern "C" { @@ -232,6 +234,9 @@ std::vector<unsigned char> Client::ReadFile(std::string filename) void Client::Tick() { + //Check thumbnail queue + ThumbnailBroker::Ref().FlushThumbQueue(); + //Check status on version check request if(versionCheckRequest && http_async_req_status(versionCheckRequest)) { |
