| 1 | // Aseprite | 
|---|
| 2 | // Copyright (C) 2019-2020  Igara Studio S.A. | 
|---|
| 3 | // | 
|---|
| 4 | // This program is distributed under the terms of | 
|---|
| 5 | // the End-User License Agreement for Aseprite. | 
|---|
| 6 |  | 
|---|
| 7 | #ifndef APP_TILESET_MODE_H_INCLUDED | 
|---|
| 8 | #define APP_TILESET_MODE_H_INCLUDED | 
|---|
| 9 | #pragma once | 
|---|
| 10 |  | 
|---|
| 11 | namespace app { | 
|---|
| 12 |  | 
|---|
| 13 | // These modes are available edition modes for the tileset when an | 
|---|
| 14 | // tilemap is edited. | 
|---|
| 15 | enum class TilesetMode { | 
|---|
| 16 | Manual,   // Modify existent tiles (don't create new ones) | 
|---|
| 17 | Auto,     // Add/remove tiles automatically when needed | 
|---|
| 18 | Stack,    // Stack modified tiles as new ones | 
|---|
| 19 | }; | 
|---|
| 20 |  | 
|---|
| 21 | } // namespace app | 
|---|
| 22 |  | 
|---|
| 23 | #endif | 
|---|
| 24 |  | 
|---|