From 7fa04dddb23b6f0ce5a6ab004e6220599bef50ef Mon Sep 17 00:00:00 2001 From: David Capello Date: Fri, 16 Jul 2010 17:00:37 -0300 Subject: [PATCH] Moved check_args.cpp from src/core/ to src/. --- makefile.lst | 2 +- src/app.cpp | 4 ++-- src/{core => }/check_args.cpp | 8 ++++---- src/{core => }/check_args.h | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) rename src/{core => }/check_args.cpp (94%) rename src/{core => }/check_args.h (96%) diff --git a/makefile.lst b/makefile.lst index d6b2480db..f8ac01427 100644 --- a/makefile.lst +++ b/makefile.lst @@ -8,6 +8,7 @@ ASE = aseprite$(EXE) COMMON_SOURCES = \ src/app.cpp \ src/ase_exception.cpp \ + src/check_args.cpp \ src/console.cpp \ src/context.cpp \ src/gfxmode.cpp \ @@ -91,7 +92,6 @@ COMMON_SOURCES = \ src/commands/fx/cmd_replace_color.cpp \ src/commands/fx/effectbg.cpp \ src/core/cfg.cpp \ - src/core/check_args.cpp \ src/core/color.cpp \ src/core/config.cpp \ src/core/core.cpp \ diff --git a/src/app.cpp b/src/app.cpp index b740185d6..5683ed867 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -21,12 +21,12 @@ #include #include /* #include */ +#include #include #include #include #include #include -#include #include "jinete/jinete.h" #include "jinete/jintern.h" @@ -35,11 +35,11 @@ #include "app.h" #include "ase_exception.h" +#include "check_args.h" #include "commands/commands.h" #include "commands/params.h" #include "console.h" #include "core/cfg.h" -#include "core/check_args.h" #include "core/core.h" #include "core/drop_files.h" #include "core/file_system.h" diff --git a/src/core/check_args.cpp b/src/check_args.cpp similarity index 94% rename from src/core/check_args.cpp rename to src/check_args.cpp index 30c7a3434..8b5901bab 100644 --- a/src/core/check_args.cpp +++ b/src/check_args.cpp @@ -21,10 +21,10 @@ #include "Vaca/Application.h" #include "Vaca/String.h" -#include "core/core.h" -#include "core/check_args.h" -#include "core/cfg.h" +#include "check_args.h" #include "console.h" +#include "core/cfg.h" +#include "core/core.h" using namespace Vaca; @@ -141,7 +141,7 @@ void CheckArgs::usage(bool showHelp) if (showHelp) { // copyright console.printf - ("%s v%s | animated sprite editor\n%s\n\n", + ("%s v%s | Allegro Sprite Editor | A pixel art program\n%s\n\n", PACKAGE, VERSION, COPYRIGHT); // usage diff --git a/src/core/check_args.h b/src/check_args.h similarity index 96% rename from src/core/check_args.h rename to src/check_args.h index cc89817ce..d1ede4ce1 100644 --- a/src/core/check_args.h +++ b/src/check_args.h @@ -16,8 +16,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef CORE_CHECK_ARGS_H_INCLUDED -#define CORE_CHECK_ARGS_H_INCLUDED +#ifndef CHECK_ARGS_H_INCLUDED +#define CHECK_ARGS_H_INCLUDED #include "Vaca/String.h" #include