source: subversion/applications/utils/mod_tile/gen_tile.h @ 8961

Last change on this file since 8961 was 6571, checked in by jonb, 12 years ago

mod_tile: Implement meta-tiles. Add speed test and tool to allow bulk rendering of tile list from stdin

File size: 537 bytes
Line 
1#ifndef GEN_TILE_H
2#define GEN_TILE_H
3
4#include "protocol.h"
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10struct item {
11    struct item *next;
12    struct item *prev;
13    struct protocol req;
14    int mx, my;
15    int fd;
16    struct item *duplicates;
17};
18
19//int render(Map &m, int x, int y, int z, const char *filename);
20void *render_thread(void *unused);
21struct item *fetch_request(void);
22void delete_request(struct item *item);
23void send_response(struct item *item, enum protoCmd);
24void render_init(void);
25
26#ifdef __cplusplus
27}
28#endif
29
30#endif
Note: See TracBrowser for help on using the repository browser.