Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

RageSurface_Load.h

Go to the documentation of this file.
00001 #ifndef RAGE_SURFACE_LOAD_H 00002 #define RAGE_SURFACE_LOAD_H 00003 00004 struct RageSurface; 00005 namespace RageSurfaceUtils 00006 { 00007 enum OpenResult 00008 { 00009 OPEN_OK, 00010 OPEN_UNKNOWN_FILE_FORMAT=1, 00011 OPEN_FATAL_ERROR=2, 00012 }; 00013 00014 /* If bHeaderOnly is true, the loader is only required to return a surface 00015 * with the width and height set (but may return a complete surface). */ 00016 RageSurface *LoadFile( const CString &sPath, CString &error, bool bHeaderOnly=false ); 00017 } 00018 00019 #endif 00020 00021 /* 00022 * (c) 2004 Glenn Maynard 00023 * All rights reserved. 00024 * 00025 * Permission is hereby granted, free of charge, to any person obtaining a 00026 * copy of this software and associated documentation files (the 00027 * "Software"), to deal in the Software without restriction, including 00028 * without limitation the rights to use, copy, modify, merge, publish, 00029 * distribute, and/or sell copies of the Software, and to permit persons to 00030 * whom the Software is furnished to do so, provided that the above 00031 * copyright notice(s) and this permission notice appear in all copies of 00032 * the Software and that both the above copyright notice(s) and this 00033 * permission notice appear in supporting documentation. 00034 * 00035 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00036 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00037 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 00038 * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 00039 * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT 00040 * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 00041 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 00042 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00043 * PERFORMANCE OF THIS SOFTWARE. 00044 */

Generated on Thu Jan 27 20:57:29 2005 for StepMania by doxygen 1.3.7