head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.26 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.24 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.22 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.20 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.18 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.16 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.14 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.12 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.10 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.8 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.6 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.4 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.2 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.1.0.14 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.0.12 pkgsrc-2006Q4-base:1.1 pkgsrc-2006Q3:1.1.0.10 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.8 pkgsrc-2006Q2-base:1.1 pkgsrc-2006Q1:1.1.0.6 pkgsrc-2006Q1-base:1.1 pkgsrc-2005Q4:1.1.0.4 pkgsrc-2005Q4-base:1.1 pkgsrc-2005Q3:1.1.0.2 pkgsrc-2005Q3-base:1.1; locks; strict; comment @# @; 1.2 date 2007.06.14.17.55.05; author heinz; state dead; branches; next 1.1; 1.1 date 2005.08.29.10.50.57; author rillig; state Exp; branches; next ; desc @@ 1.2 log @Updated to version 1.01. Pkgsrc changes: - Download source is now berlios.de - The package supports installation to DESTDIR. - GCC 2.95 is not enough anymore. Changes since version 0.92: =========================== Changes in Version 1.01 ======================= User-Visible changes -------------------- - 60++ new level - added easy mode to some existing levels - fixes of all levels with known shortcuts - Finnish translation - French and Russian 1.0 manuals - support of updatable cross internet level packs - return to last played level via F6 - sound damping for noisy levels - level developer inspector with developer attributes - mouse wheel enabled for many buttons like user ratings, volume,... - logo cleaned - moved backup of score and state to backup subdirectory - level menu string display optimization of level title, wr-holders,... - visualize inherited user rating in level inspector - vista compatible marble icon - windows installer reengineering to modern NSI Internal changes ---------------- - fix of various engine bugs that did not yet show up with bundled levels - fixed properties of various glass stones - sound handling reengineering - support of user sound sets - autorecovery from state / score mismatches - re-Id of Windows users Changes in Version 1.00 ======================= User-Visible changes -------------------- - 200++ new levels, fixes to all broken levels - new levelpack sorting - grouping of levelpacks - level inspector for viewing ratings and statistic information about levels - screenshot viewer - personal annotations and rating of levels - score registration and download of world records and statistic information - PAR and handicap as messures for a player - drop & play of new levels and new levelpacks - history and search of levels - composer for own levelpacks and levelpack groups - instant language change - Translations of level titles and documents - Swedish, Russian, Hungarian, Portuguese translation - German and French manuals - 100++ pages Reference manual Internal changes ---------------- - XMLification of all data files - reengineering of level and levelpack - catch many errors intenally, display messages, continue or clean shutdown - portability issues - Unix, Windows, MacOS as unified platform - switch from Lua 4.* to Lua 5.1.1, from tolua to tolua++ - switch return value of messages from void/nil to Value - added sender object as second argument to callback function - common floor attributes (gradient, mouseforce, friction) - border stones are swappable - improved fire system: eternal, secure fire, heat transformation, ... - new stones: st-chess, st-lightpassenger, st-polarswitch, st-redrock, st-firebreak[_move], st-bigbluesand-, st-camouflage - new floors: fl-thief, fl-nomouse, fl-woven_orange - new items: it-rubberband, it-booze-broken, it-death, it-drop - removed: fl-ice_001 - it-pencil -> it-cross, it-crack - it-brush -> it-cross, it-squashed - st-scissor actions - bigbricks unswappable and unpullable - st-flash/actorimpulse*/spitter : distorted forces - small whiteballs can jump - new libraries: andreas_itemfreeze, andreas_ghosts, libpuzzle, libterrain - icons polish - sound additions, volume reduction on stone hit for details on the subjects read the reference manual, for a complete list of changes see svn commit messages at berlios.de: http://svn.berlios.de/wsvn/enigma-game/tags/1.00/?op=log&rev=0&sc=0&isdir=1) @ text @$NetBSD: patch-ap,v 1.1 2005/08/29 10:50:57 rillig Exp $ ISO C90 compatibility mode. --- src/px/IMG_SavePNG.c.orig Thu Dec 30 14:21:11 2004 +++ src/px/IMG_SavePNG.c Mon Aug 29 12:26:59 2005 @@@@ -63,10 +63,11 @@@@ int IMG_SavePNG_RW(SDL_Surface *face, SD rmask, gmask, bmask, amask); if (surface) { + png_structp png_ptr; SDL_BlitSurface(face, NULL, surface, NULL); SDL_LockSurface(surface); - png_structp png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, NULL, png_user_error, png_user_warn); + png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, NULL, png_user_error, png_user_warn); if (!png_ptr) { IMG_SetError("Couldn't allocate memory for PNG file"); } @@@@ -84,6 +85,8 @@@@ int IMG_SavePNG_RW(SDL_Surface *face, SD IMG_SetError("Error writing the PNG file"); } else { + int colortype; + png_set_write_fn(png_ptr, src, png_write_data, png_io_flush); /* Set the image information here. Width and height are up to 2^31, * bit_depth is one of 1, 2, 4, 8, or 16, but valid values also depend on @@@@ -93,7 +96,7 @@@@ int IMG_SavePNG_RW(SDL_Surface *face, SD * PNG_INTERLACE_ADAM7, and the compression_type and filter_type MUST * currently be PNG_COMPRESSION_TYPE_BASE and PNG_FILTER_TYPE_BASE. REQUIRED */ - int colortype = png_colortype_from_surface(surface); + colortype = png_colortype_from_surface(surface); png_set_IHDR(png_ptr, info_ptr, surface->w, surface->h, 8, colortype, PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE); @ 1.1 log @Added two patches to make enigma run on NetBSD-1.6.2/i386 with g++-2.95. @ text @d1 1 a1 1 $NetBSD$ @