Protocol: | pserver | User: | anonymous |
Machine: | crossfire.cvs.sourceforge.net | CVSROOT: | /cvsroot/crossfire |
Filename: png.c | |||
Revision 1.10 | akirschbaum | 2006/03/16 14:59:51 | +2 -2 |
Apply patch #1439143 (code-cleanup: crossedit) by Stefan Huehner: Remove unused code, add static/const where appropriate. | |||
Show difference between Revision 1.9 and 1.10 | |||
Revision 1.9 | akirschbaum | 2005/08/30 17:15:25 | +2 -2 |
Add (slightly reformatted) patch #1276121 (Crossedit: handle big faces) by Kevin Rudat: crossedit/CrEdit.c: UpdatePosition(): Use new drawing subroutines. crossedit/CrFace.c: DrawObject(): Use new drawing subroutine. crossedit/CrList.c: Redisplay(): Use new drawing subroutine. crossedit/CrUtil.c, crossedit/CrUtil.h: Remove FaceDraw(), add DrawFacePart() and DrawPartObject(). crossedit/png.c: Upload the whole image, not just the top-left corner. | |||
Show difference between Revision 1.8 and 1.9 | |||
Revision 1.8 | akirschbaum | 2005/07/16 16:10:37 | +2 -2 |
Fix spelling errors in string constants. | |||
Show difference between Revision 1.7 and 1.8 | |||
Revision 1.7 | mwedel | 2002/07/14 23:25:39 | +3 -3 |
Update banner copyright with proper contact information. MSW 2002-07-14 | |||
Show difference between Revision 1.6 and 1.7 | |||
Revision 1.6 | mwedel | 2002/05/19 22:11:49 | +3 -3 |
crossedit/png.c, crossedit/xutil.c: Increase size of temporary buffers that are used when loading images - necessary to allow the editor to run without crashing. include/newserver.h: Remove quick_pos from the MapCell structure. server/main.c: Add code to set the coordinates to the EMERGENCY_X/Y values if using the EMERGENCY_MAP. socket/request.c: Fix code that was causing darkness to get repeatedly sent for some spaces. MSW 2002-05-19 | |||
Show difference between Revision 1.5 and 1.6 | |||
Revision 1.5 | mwedel | 2001/07/13 23:05:28 | +2 -2 |
crossedit/Attr.c: Rename Layout to AppLayout so other files can use it. crossedit/CrEdit.c: Modified to use new map header. Modified drawing routines, as face values could be null crossedit/Edit.c: Move many functions from common/map.c that are only used here and thus don't need to be in common/map.c. Modify to use new map structure. crossedit/Makefile.in: Change to use cproto to make proto.h file. crossedit/png.c: change user_read_data to be static so proto doesn't pick it up. MSW 2001-07-13 | |||
Show difference between Revision 1.4 and 1.5 | |||
Revision 1.4 | mwedel | 2001/03/10 02:27:36 | +204 -77 |
MSW 2001/03/09: crossedit/App.c: Move the loading of images to later in the editor startup state. In this way, the client can allocate the colors it needs for its windows before the the png images use up all the colors. crossedit/png.c: New png loader implementation. New version is much faster (50 times faster). As part of this, only 8 bit displays, a private colormap will be allocated, and after that gets filled up, a color mapping routine will be used - this makes the png images loadable on an 8 bit system in addition to the speedup. crossedit/xutil.c: Adding timing information for loading of images. call init_pngx_loader before starting to load png images. Pass colormap to png_to_xpixmap by pointer and not value so that the loader can change the colormap. | |||
Show difference between Revision 1.3 and 1.4 | |||
Revision 1.3 | cvs | 2000/12/24 15:16:46 | +2 -2 |
MSW 2000-12-24: Same fix as was done for client - was not using return value after realloc of pixels, and continued to use small buffer. For the editor, this may not have been an issue, as the load order of images for the editor is predictable, and the first image may have allocated the largest buffer needed. | |||
Show difference between Revision 1.2 and 1.3 | |||
Revision 1.2 | cvs | 2000/12/15 22:34:34 | +1 -3 |
MSW 2000/12/15: Remove some file vestiges from crossedit/png.c - it does everything in memory, but a few file referances were not removed. | |||
Show difference between Revision 1.1 and 1.2 | |||
Revision 1.1 | cvs | 2000/12/04 20:43:19 | None |
Adding file that doesn't seem to have gotten committed. MSW 2000/12/4 | |||
First version |