您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

38 行
747 B

  1. //
  2. // Lol Engine
  3. //
  4. // Copyright: (c) 2010-2012 Sam Hocevar <sam@hocevar.net>
  5. // This program is free software; you can redistribute it and/or
  6. // modify it under the terms of the Do What The Fuck You Want To
  7. // Public License, Version 2, as published by Sam Hocevar. See
  8. // http://sam.zoy.org/projects/COPYING.WTFPL for more details.
  9. //
  10. //
  11. // The Tiler class
  12. // ---------------
  13. // The Tiler is a static class that manages tilesets.
  14. //
  15. #if !defined __LOL_TILER_H__
  16. #define __LOL_TILER_H__
  17. #include <stdint.h>
  18. #include "tileset.h"
  19. namespace lol
  20. {
  21. class Tiler
  22. {
  23. public:
  24. static TileSet *Register(char const *path, ivec2 size, ivec2 count);
  25. static void Deregister(TileSet *);
  26. };
  27. } /* namespace lol */
  28. #endif // __LOL_TILER_H__