paragui-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-cvs] CVS: paragui/include pgfilearchive.h,1.3.6.5,1.3.6.6


From: Alexander Pipelka <address@hidden>
Subject: [paragui-cvs] CVS: paragui/include pgfilearchive.h,1.3.6.5,1.3.6.6
Date: Fri, 18 Apr 2003 07:15:31 -0400

Update of /cvsroot/paragui/paragui/include
In directory subversions:/tmp/cvs-serv16859/include

Modified Files:
      Tag: devel-1-0
        pgfilearchive.h 
Log Message:
- added new PG_FileArchive::LoadSurface method
  (Thanks Keith)



Index: pgfilearchive.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pgfilearchive.h,v
retrieving revision 1.3.6.5
retrieving revision 1.3.6.6
diff -C2 -r1.3.6.5 -r1.3.6.6
*** pgfilearchive.h     4 Jan 2003 21:13:37 -0000       1.3.6.5
--- pgfilearchive.h     18 Apr 2003 11:15:28 -0000      1.3.6.6
***************
*** 262,265 ****
--- 262,276 ----
  
        /**
+       Load a surface (image) from the archive and apply a colorkey
+       all loaded surface will be cached
+       @param filename imagefile to load
+       @param usekey true - apply colorkey
+       @param colorkey colorkey
+       @param convert convert the loaded surface into screen format (default = 
false)
+       @return pointer to loaded SDL_Surface or NULL
+       */
+       static SDL_Surface* LoadSurface(const char* filename, bool usekey, 
Uint32 colorkey, bool convert = false);
+       
+       /**
        Removes the surface from the cache
        @param bDeleteIfExists delete (free) the surface if it isn't in the 
cache





reply via email to

[Prev in Thread] Current Thread [Next in Thread]