Include base/base.h on files that use MIN/MID/MAX

This commit is contained in:
David Capello 2016-03-03 19:18:46 -03:00
parent 4f6a7a7742
commit 5f97e66a8b
21 changed files with 40 additions and 18 deletions

View File

@ -1,5 +1,5 @@
// Aseprite Base Library
// Copyright (c) 2001-2013, 2015 David Capello
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -10,6 +10,8 @@
#include "base/program_options.h"
#include "base/base.h"
#include <algorithm>
#include <sstream>
#include <iomanip>

View File

@ -1,5 +1,5 @@
// Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -10,6 +10,7 @@
#include <math.h>
#include "base/base.h"
#include "doc/algo.h"
namespace doc {

View File

@ -15,6 +15,7 @@
#include "config.h"
#endif
#include "base/base.h"
#include "doc/algo.h"
#include "doc/image.h"
#include "doc/mask.h"

View File

@ -1,5 +1,5 @@
// Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -8,6 +8,7 @@
#include "config.h"
#endif
#include "base/base.h"
#include "base/unique_ptr.h"
#include "doc/algorithm/rotate.h"
#include "doc/image_impl.h"

View File

@ -18,6 +18,7 @@
#include "doc/blend_funcs.h"
#include "base/base.h"
#include "base/debug.h"
#include "doc/blend_internals.h"

View File

@ -1,5 +1,5 @@
// Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -8,6 +8,7 @@
#include "config.h"
#endif
#include "base/base.h"
#include "base/cfile.h"
#include "base/clamp.h"
#include "doc/color_scales.h"

View File

@ -1,5 +1,5 @@
// Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -10,6 +10,7 @@
#include "doc/handle_anidir.h"
#include "base/base.h"
#include "doc/frame.h"
#include "doc/frame_tag.h"
#include "doc/sprite.h"

View File

@ -1,5 +1,5 @@
// Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -10,6 +10,7 @@
#include "doc/image_io.h"
#include "base/base.h"
#include "base/exception.h"
#include "base/serialization.h"
#include "base/unique_ptr.h"

View File

@ -1,5 +1,5 @@
// Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -10,6 +10,7 @@
#include "doc/mask.h"
#include "base/base.h"
#include "base/memory.h"
#include "doc/image_impl.h"

View File

@ -1,5 +1,5 @@
// Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -10,6 +10,7 @@
#include "doc/palette.h"
#include "base/base.h"
#include "doc/image.h"
#include "doc/remap.h"

View File

@ -1,5 +1,5 @@
// Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -10,6 +10,7 @@
#include "doc/remap.h"
#include "base/base.h"
#include "doc/palette.h"
#include "doc/palette_picks.h"
#include "doc/rgbmap.h"

View File

@ -1,5 +1,5 @@
// Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -10,6 +10,7 @@
#include "doc/site.h"
#include "base/base.h"
#include "doc/cel.h"
#include "doc/layer.h"
#include "doc/sprite.h"

View File

@ -1,5 +1,5 @@
// Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -10,6 +10,7 @@
#include "doc/sprite.h"
#include "base/base.h"
#include "base/memory.h"
#include "base/remove_from_container.h"
#include "base/unique_ptr.h"

View File

@ -1,5 +1,5 @@
// Aseprite
// Copyright (C) 2001-2015 David Capello
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@ -11,8 +11,7 @@
#include "filters/color_curve_filter.h"
#include <vector>
#include "base/base.h"
#include "filters/color_curve.h"
#include "filters/filter_indexed_data.h"
#include "filters/filter_manager.h"
@ -21,6 +20,8 @@
#include "doc/rgbmap.h"
#include "doc/sprite.h"
#include <vector>
namespace filters {
using namespace doc;

View File

@ -1,5 +1,5 @@
// Aseprite
// Copyright (C) 2001-2015 David Capello
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@ -11,6 +11,7 @@
#include "filters/convolution_matrix_filter.h"
#include "base/base.h"
#include "filters/convolution_matrix.h"
#include "filters/filter_indexed_data.h"
#include "filters/filter_manager.h"

View File

@ -1,5 +1,5 @@
// Aseprite
// Copyright (C) 2001-2015 David Capello
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@ -11,6 +11,7 @@
#include "filters/replace_color_filter.h"
#include "base/base.h"
#include "doc/image.h"
#include "doc/palette.h"
#include "doc/rgbmap.h"

View File

@ -1,5 +1,5 @@
// Aseprite Render Library
// Copyright (c) 2001-2015 David Capello
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -10,6 +10,7 @@
#include "render/quantization.h"
#include "base/base.h"
#include "doc/image_impl.h"
#include "doc/images_collector.h"
#include "doc/layer.h"

View File

@ -1,5 +1,5 @@
// Aseprite Render Library
// Copyright (c) 2001-2015 David Capello
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -10,6 +10,7 @@
#include "render/render.h"
#include "base/base.h"
#include "doc/blend_internals.h"
#include "doc/blend_mode.h"
#include "doc/doc.h"

View File

@ -8,6 +8,7 @@
#include "config.h"
#endif
#include "base/base.h"
#include "base/debug.h"
#include "render/zoom.h"

View File

@ -8,6 +8,7 @@
#define SHE_SKIA_SKIA_SYSTEM_INCLUDED
#pragma once
#include "base/base.h"
#include "base/file_handle.h"
#include "SkImageDecoder.h"

View File

@ -14,6 +14,7 @@
#include <shellapi.h>
#include <sstream>
#include "base/base.h"
#include "gfx/size.h"
#include "she/event.h"
#include "she/keys.h"