mirror of
https://github.com/opentibiabr/remeres-map-editor
synced 2026-08-15 18:26:04 -04:00
This only works with the canary server: https://github.com/opentibiabr/canary Added support only for client .dat and .spr 11.00 outdated (10x), signature: data format="11" dat="0x4A10" spr="0x59E48E02" Otb cllient 11, version 3, id 62 In addition to the ids being converted to client id (for compatibility with canary), the data folder has been completely reorganized for ease of understanding. The organization of tilesets was also started, which will be further improved in other pulls.
126 lines
3.7 KiB
C
126 lines
3.7 KiB
C
//////////////////////////////////////////////////////////////////////
|
|
// This file is part of Remere's Map Editor
|
|
//////////////////////////////////////////////////////////////////////
|
|
// Remere's Map Editor is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// Remere's Map Editor is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef RME_SPRITES_H_
|
|
#define RME_SPRITES_H_
|
|
|
|
enum {
|
|
SPRITE_FLAME_BLUE = 775,
|
|
SPRITE_FLAG_GREY = 2889,
|
|
SPRITE_FLAG_GREEN = 2890,
|
|
SPRITE_SPAWN = 2138,
|
|
SPRITE_SPAWN_NPC = 2133
|
|
};
|
|
|
|
enum {
|
|
EDITOR_SPRITE_SELECTION_MARKER = -1000,
|
|
EDITOR_SPRITE_BRUSH_CD_1x1,
|
|
EDITOR_SPRITE_BRUSH_CD_3x3,
|
|
EDITOR_SPRITE_BRUSH_CD_5x5,
|
|
EDITOR_SPRITE_BRUSH_CD_7x7,
|
|
EDITOR_SPRITE_BRUSH_CD_9x9,
|
|
EDITOR_SPRITE_BRUSH_CD_15x15,
|
|
EDITOR_SPRITE_BRUSH_CD_19x19,
|
|
EDITOR_SPRITE_BRUSH_SD_1x1,
|
|
EDITOR_SPRITE_BRUSH_SD_3x3,
|
|
EDITOR_SPRITE_BRUSH_SD_5x5,
|
|
EDITOR_SPRITE_BRUSH_SD_7x7,
|
|
EDITOR_SPRITE_BRUSH_SD_9x9,
|
|
EDITOR_SPRITE_BRUSH_SD_15x15,
|
|
EDITOR_SPRITE_BRUSH_SD_19x19,
|
|
EDITOR_SPRITE_OPTIONAL_BORDER_TOOL,
|
|
EDITOR_SPRITE_ERASER,
|
|
EDITOR_SPRITE_PZ_TOOL,
|
|
EDITOR_SPRITE_PVPZ_TOOL,
|
|
EDITOR_SPRITE_NOLOG_TOOL,
|
|
EDITOR_SPRITE_NOPVP_TOOL,
|
|
EDITOR_SPRITE_DOOR_NORMAL,
|
|
EDITOR_SPRITE_DOOR_LOCKED,
|
|
EDITOR_SPRITE_DOOR_MAGIC,
|
|
EDITOR_SPRITE_DOOR_QUEST,
|
|
EDITOR_SPRITE_WINDOW_NORMAL,
|
|
EDITOR_SPRITE_WINDOW_HATCH,
|
|
EDITOR_SPRITE_SELECTION_GEM,
|
|
EDITOR_SPRITE_DRAWING_GEM,
|
|
EDITOR_SPRITE_LAST
|
|
};
|
|
|
|
static const char* selection_marker_xpm16x16[] = {
|
|
// columns rows colors chars-per-pixel
|
|
"16 16 2 1",
|
|
" c None",
|
|
". c #000080",
|
|
// pixels
|
|
" . . . . . . . .",
|
|
". . . . . . . . ",
|
|
" . . . . . . . .",
|
|
". . . . . . . . ",
|
|
" . . . . . . . .",
|
|
". . . . . . . . ",
|
|
" . . . . . . . .",
|
|
". . . . . . . . ",
|
|
" . . . . . . . .",
|
|
". . . . . . . . ",
|
|
" . . . . . . . .",
|
|
". . . . . . . . ",
|
|
" . . . . . . . .",
|
|
". . . . . . . . ",
|
|
" . . . . . . . .",
|
|
". . . . . . . . "
|
|
};
|
|
|
|
static const char* selection_marker_xpm32x32[] = {
|
|
// columns rows colors chars-per-pixel
|
|
"32 32 2 1",
|
|
" c None",
|
|
". c #000080",
|
|
// pixels
|
|
" . . . . . . . . . . . . . . . .",
|
|
". . . . . . . . . . . . . . . . ",
|
|
" . . . . . . . . . . . . . . . .",
|
|
". . . . . . . . . . . . . . . . ",
|
|
" . . . . . . . . . . . . . . . .",
|
|
". . . . . . . . . . . . . . . . ",
|
|
" . . . . . . . . . . . . . . . .",
|
|
". . . . . . . . . . . . . . . . ",
|
|
" . . . . . . . . . . . . . . . .",
|
|
". . . . . . . . . . . . . . . . ",
|
|
" . . . . . . . . . . . . . . . .",
|
|
". . . . . . . . . . . . . . . . ",
|
|
" . . . . . . . . . . . . . . . .",
|
|
". . . . . . . . . . . . . . . . ",
|
|
" . . . . . . . . . . . . . . . .",
|
|
". . . . . . . . . . . . . . . . ",
|
|
" . . . . . . . . . . . . . . . .",
|
|
". . . . . . . . . . . . . . . . ",
|
|
" . . . . . . . . . . . . . . . .",
|
|
". . . . . . . . . . . . . . . . ",
|
|
" . . . . . . . . . . . . . . . .",
|
|
". . . . . . . . . . . . . . . . ",
|
|
" . . . . . . . . . . . . . . . .",
|
|
". . . . . . . . . . . . . . . . ",
|
|
" . . . . . . . . . . . . . . . .",
|
|
". . . . . . . . . . . . . . . . ",
|
|
" . . . . . . . . . . . . . . . .",
|
|
". . . . . . . . . . . . . . . . ",
|
|
" . . . . . . . . . . . . . . . .",
|
|
". . . . . . . . . . . . . . . . ",
|
|
" . . . . . . . . . . . . . . . .",
|
|
". . . . . . . . . . . . . . . . "
|
|
};
|
|
|
|
#endif
|