00001 /* RageSurface_Load_BMP - simple BMP file loader */ 00002 00003 #ifndef RAGE_SURFACE_LOAD_BMP_H 00004 #define RAGE_SURFACE_LOAD_BMP_H 00005 00006 #include "RageSurface_Load.h" 00007 RageSurfaceUtils::OpenResult RageSurface_Load_BMP( const CString &sPath, RageSurface *&ret, bool bHeaderOnly, CString &error ); 00008 00009 #endif 00010 00011 /* 00012 * (c) 2004 Glenn Maynard 00013 * All rights reserved. 00014 * 00015 * Permission is hereby granted, free of charge, to any person obtaining a 00016 * copy of this software and associated documentation files (the 00017 * "Software"), to deal in the Software without restriction, including 00018 * without limitation the rights to use, copy, modify, merge, publish, 00019 * distribute, and/or sell copies of the Software, and to permit persons to 00020 * whom the Software is furnished to do so, provided that the above 00021 * copyright notice(s) and this permission notice appear in all copies of 00022 * the Software and that both the above copyright notice(s) and this 00023 * permission notice appear in supporting documentation. 00024 * 00025 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00026 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00027 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 00028 * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 00029 * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT 00030 * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 00031 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 00032 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00033 * PERFORMANCE OF THIS SOFTWARE. 00034 */