2007-11-16 18:25:45 +00:00
|
|
|
/* ASE - Allegro Sprite Editor
|
2007-09-23 20:13:58 +00:00
|
|
|
* Copyright (C) 2007 David A. Capello
|
|
|
|
*
|
|
|
|
* This program 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 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program 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, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
|
|
|
|
#ifndef USE_PRECOMPILED_HEADER
|
|
|
|
|
2007-12-11 20:05:18 +00:00
|
|
|
#include "jinete/jbase.h"
|
2007-09-23 20:13:58 +00:00
|
|
|
|
2007-12-05 01:30:50 +00:00
|
|
|
#include "commands/commands.h"
|
2007-12-11 20:05:18 +00:00
|
|
|
#include "dialogs/dpaledit.h"
|
2007-09-23 20:13:58 +00:00
|
|
|
#include "modules/sprites.h"
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2007-12-05 01:30:50 +00:00
|
|
|
static void cmd_palette_editor_execute(const char *argument)
|
|
|
|
{
|
2007-12-11 20:05:18 +00:00
|
|
|
dialogs_palette_editor();
|
2007-12-05 01:30:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Command cmd_palette_editor = {
|
|
|
|
CMD_PALETTE_EDITOR,
|
2007-12-11 20:05:18 +00:00
|
|
|
NULL,
|
2007-12-05 01:30:50 +00:00
|
|
|
NULL,
|
|
|
|
cmd_palette_editor_execute,
|
|
|
|
NULL
|
|
|
|
};
|