diff --git a/doc/samples/physics/bulletcharactercontroller.cpp b/doc/samples/physics/bulletcharactercontroller.cpp index e5673a76..3a7d4341 100644 --- a/doc/samples/physics/bulletcharactercontroller.cpp +++ b/doc/samples/physics/bulletcharactercontroller.cpp @@ -2,7 +2,7 @@ // Lol Engine // // Copyright: (c) 2010-2013 Sam Hocevar -// (c) 2009-2013 Cédric Lecacheur +// (c) 2009-2013 CĂ©dric Lecacheur // (c) 2009-2013 Benjamin "Touky" Huet // This program is free software; you can redistribute it and/or // modify it under the terms of the Do What The Fuck You Want To diff --git a/doc/samples/physics/easycharactercontroller.cpp b/doc/samples/physics/easycharactercontroller.cpp index 6b2600f3..8afaa3a6 100644 --- a/doc/samples/physics/easycharactercontroller.cpp +++ b/doc/samples/physics/easycharactercontroller.cpp @@ -2,7 +2,7 @@ // Lol Engine // // Copyright: (c) 2010-2013 Sam Hocevar -// (c) 2009-2013 Cédric Lecacheur +// (c) 2009-2013 CĂ©dric Lecacheur // (c) 2009-2013 Benjamin "Touky" Huet // This program is free software; you can redistribute it and/or // modify it under the terms of the Do What The Fuck You Want To diff --git a/src/easymesh/easymeshbuild.cpp b/src/easymesh/easymeshbuild.cpp index f092aecd..f73bc77c 100644 --- a/src/easymesh/easymeshbuild.cpp +++ b/src/easymesh/easymeshbuild.cpp @@ -1,14 +1,15 @@ // -// EasyMesh-Build: The code belonging to Vertex build operations +// Lol Engine // -// Copyright: (c) 2010-2013 Sam Hocevar -// (c) 2009-2013 CĂ©dric Lecacheur -// (c) 2009-2013 Benjamin "Touky" Huet -// This program is free software; you can redistribute it and/or -// modify it under the terms of the Do What The Fuck You Want To -// Public License, Version 2, as published by Sam Hocevar. See -// http://www.wtfpl.net/ for more details. +// Copyright © 2009—2013 Benjamin “Touky” Huet +// © 2010—2017 Sam Hocevar +// © 2009—2013 CĂ©dric Lecacheur // +// Lol Engine is free software. It comes without any warranty, to +// the extent permitted by applicable law. You can redistribute it +// and/or modify it under the terms of the Do What the Fuck You Want +// to Public License, Version 2, as published by the WTFPL Task Force. +// See http://www.wtfpl.net/ for more details. #include diff --git a/src/image/resource.cpp b/src/image/resource.cpp index 77e460f4..b3aad059 100644 --- a/src/image/resource.cpp +++ b/src/image/resource.cpp @@ -21,39 +21,39 @@ namespace lol { /* HACK: We cannot make this an ImageLoader member function, because the -* REGISTER_IMAGE_CODEC macro forward-declares free functions from -* the "lol" namespace. An apparent bug in Visual Studio's compiler -* makes it think these functions are actually in the top-level -* namespace when the forward declaration is in a class member function. -* To avoid the problem, we make the forward declaration in a free -* function. -* The bug was reported to Microsoft and fixed by them, but the fix -* is not yet available. -* https://connect.microsoft.com/VisualStudio/feedback/details/730878/ */ + * REGISTER_IMAGE_CODEC macro forward-declares free functions from + * the "lol" namespace. An apparent bug in Visual Studio's compiler + * makes it think these functions are actually in the top-level + * namespace when the forward declaration is in a class member function. + * To avoid the problem, we make the forward declaration in a free + * function. + * The bug was reported to Microsoft and fixed by them, but the fix + * is not yet available. + * https://connect.microsoft.com/VisualStudio/feedback/details/730878/ */ static bool RegisterAllCodecs(array &codeclist) { #if defined __ANDROID__ REGISTER_IMAGE_CODEC(AndroidImageCodec) #endif #if defined LOL_USE_GDIPLUS - REGISTER_IMAGE_CODEC(GdiPlusImageCodec) + REGISTER_IMAGE_CODEC(GdiPlusImageCodec) #endif #if defined __APPLE__ && defined __MACH__ && defined __arm__ - REGISTER_IMAGE_CODEC(IosImageCodec) + REGISTER_IMAGE_CODEC(IosImageCodec) #endif #if defined LOL_USE_SDL_IMAGE - REGISTER_IMAGE_CODEC(SdlImageCodec) + REGISTER_IMAGE_CODEC(SdlImageCodec) #endif #if defined LOL_USE_IMLIB2 - REGISTER_IMAGE_CODEC(Imlib2ImageCodec) + REGISTER_IMAGE_CODEC(Imlib2ImageCodec) #endif - REGISTER_IMAGE_CODEC(ZedImageCodec) - REGISTER_IMAGE_CODEC(ZedPaletteImageCodec) - REGISTER_IMAGE_CODEC(OricImageCodec) + REGISTER_IMAGE_CODEC(ZedImageCodec) + REGISTER_IMAGE_CODEC(ZedPaletteImageCodec) + REGISTER_IMAGE_CODEC(OricImageCodec) - REGISTER_IMAGE_CODEC(DummyImageCodec) + REGISTER_IMAGE_CODEC(DummyImageCodec) - return true; + return true; } /* @@ -108,7 +108,7 @@ bool ResourceLoader::Save(char const *path, ResourceCodecData* data) last_codec = codec; if (codec->Save(path, data)) { - msg::info("image::save: codec %s succesfully saved %s.\n", + msg::debug("image::save: codec %s succesfully saved %s.\n", codec->GetName(), path); return true; }