source: trunk/src/tiler.h @ 218

Last change on this file since 218 was 218, checked in by sam, 12 years ago

The Tile size can now be specified upon TileSet load. Add a sample
with the Monsterz tiles.

  • Property svn:keywords set to Id
File size: 470 bytes
Line 
1//
2// Deus Hax (working title)
3// Copyright (c) 2010 Sam Hocevar <sam@hocevar.net>
4//
5
6//
7// The Tiler class
8// ---------------
9// The Tiler is a static class that manages tilesets.
10//
11
12#if !defined __DH_TILER_H__
13#define __DH_TILER_H__
14
15#include <stdint.h>
16
17class Tiler
18{
19public:
20    static int Register(char const *path, int size);
21    static void Deregister(int id);
22
23    static void BlitTile(uint32_t code, int x, int y, int z, int o);
24};
25
26#endif // __DH_TILER_H__
27
Note: See TracBrowser for help on using the repository browser.