summaryrefslogtreecommitdiff
path: root/games/rocksndiamonds
AgeCommit message (Collapse)AuthorFilesLines
2009-11-01wants to link with -lsmpeg when the SDL option is enabledtnn2-3/+4
2009-08-26bump revision because of graphics/jpeg updatesno1-1/+2
2009-06-14Remove @dirrm related logic.joerg1-2/+1
2009-01-12Changes 3.2.6.0:adam4-22/+21
* fixed crash bug when scrolling with cursor keys in editor * fixed X11 crash bug when scaling images with width/height less than 32 * fixed X11 crash bug when blitting masked title screens over background * fixed growing steel wall to also leave behind steel wall * fixed custom element change conditions where a player element is used * fixed bug with player relocation while the player switches an element * fixed problems with re-mapping players on playfield to input devices * fixed wrong behaviour of player option "no centering when relocating" * added condition "deadly when " for custom elements * added possibility to reanimate player immediately after his death * added "element used as action parameter" to element change actions * added optional initial inventory for players (pre-collected elements) * added change page actions "set player inventory" and "set CE artwork" * added switch for EM style dynamite "[ ] explodes with chain reaction" * moved "level settings" and "editor settings" to two tabbed screens * added level setting to start a level with always the same random seed * added CE action "set random seed" to re-initialize random seed in game
2008-03-04Mechanical changes to add DESTDIR support to packages that installjlam1-13/+16
their files via a custom do-install target.
2007-10-13Changes 3.2.4:adam4-14/+14
* fixed crash bug in toon drawing functions for large step offset values * fixed some problems with displaying game panel when quick-loading tape * fixed (experimental only) redrawing of every tile per frame (even if unneeded) for the extended (R'n'D based) EMC graphics engine * added optimization to only calculate element count for panel display if really needed (that is, if element count values defined on panel) * fixed problem with special editor door redraw when entering main menu * fixed bug with displaying background for title messages on info screen * some code cleanup for the extended (R'n'D based) EMC graphics engine * fixed bug with CE action "move player" always resulting in player 4 if there was a CE action with no trigger player (because the player element was calculated by using log_2() from trigger player bits with the value PLAYER_BITS_ANY) -- this is now fixed by also storing the triggering player bit mask and handling all players in "move player" * fixed bug when defined artwork cannot be found for artwork that has default artwork cloned from other artwork (without default filename) * added several fixes to the extended (R'n'D based) EMC graphics engine * fixed broken editor copy and paste for custom elements between levels
2007-05-19Prepared package for installation to DESTDIR. Package not declared readyheinz1-7/+11
because there is still the pkgsrc issue of wrong permissions recorded in +INSTALL scripts.
2007-03-18Changes 3.2.3:adam3-10/+10
* fixed malloc/free bug when updating EMC artwork entries in level list * added workaround (warning and request to quit the current game) when changing elements cause endless recursion loop (which would otherwise freeze the game, causing a crash-like program exit on some systems) * fixed nasty string overflow bug when entering too long envelope text * added feedback sounds for menu navigation "menu.item.activating" and "menu.item.selecting" (for highlighting and executing menu entries) * improved "no scrolling when relocating" to also consider scroll delay (meaning that the player is not automatically centered in this case; this makes it possible to "invisibly" relocate the player to a region of the level playfield which looks the same as the old level region) * fixed bug with not recognizing "main.input.name.align" when active * fixed bug with displaying masked borders over title screens when screen fading is disabled * fixed infinite loop / crash bug when killing the player while having a CE with the setting "kill player X when explosion of <player X>" * added special editor graphic for "char_space" to distinguish it from "empty_space" when editing a level (in-game graphics still the same) * fixed nasty bug with initialization only done for the first player * small change to handle loading empty element/content list micro chunks * uploaded pre-release (test) version 3.2.3-0 binary and source code * some optimizations on startup speed by reducing initial text output * added caching of custom artwork information for faster startup times * fixed graphical bug when using fewer menu entries on level selection screen than usual (with "menu.list_size.LEVELS" directive) * fixed crash bug (Windows/SDL only) caused by BlitBitmap blitting from the backbuffer to the backbuffer by error (with identical rectangle) * fixed bug when displaying titlescreen with size less than element tile * fixed bug that caused elements with "change when digging <e>" event to change for _every_ digged element, not only those specified in <e> * fixed bug that caused impact style collision when dropping element one tile over the player that can both fall down and smash players * fixed bug that caused impact style collision when element changed to falling/smashing element over the player immediately after movement
2007-02-02Modular Xorg support.joerg2-4/+3
2006-10-01Fixed pkglint warnings.rillig2-20/+22
2006-07-22Updated to version 3.2.0.heinz5-129/+62
Pkgsrc changes: - Cleaned up COMMENT: There are no more separate packages for x11 and sdl. - INSTALLATION_DIRS should be extended, not set absolutely. - Simplified PLIST handling: no more @exec in PLIST, replaced by OWN_DIRS_PERMS. - Simplified installation of sounds/graphics/levels etc. All the files are now dynamically added to the PLIST, so the static PLIST is really short now. - Use GAMEOWN and GAMEGRP as user and group now. - No more substitutions in the pre-configure target and no more patch-aa: Replaced by overriding GNU make variables with MAKE_FLAGS. - Simplified patch-ab, also with MAKE_FLAGS. - Changed mode of top-level score directory so that users cannot see the score files. This prevents tampering with high scores :). - The do-install target uses now INSTALL_GAME to honor SETGIDGAME (from mk.conf). Relevant changes since version 3.1.2: ===================================== - finished new native game engine for Emerald Mine (Club) levels - added all new elements from EMC engine also to R'n'D engine - added selection between ECS and AGA graphics for EMC levels to setup - added multi-player support for EMC game engine (with up to four players) - added player switching (visual and quick) to R'n'D and EM game engine - added key shortcut settings for switching player focus to setup menu - added custom element actions for CE change page in level editor - added "CE value" and "CE score" counters for custom elements - added cascaded element lists to element list in level editor - added dynamic element list with all elements used in current level - added special Supaplex animations for Murphy being bored and sleeping - added setup option to display element token name in level editor - added up to five title screens for each level set to show after loading - added credits pages to the "credits" section that were really missing - lots of bugfixes and internal engine changes (see ChangeLog file)
2006-06-12Bump PKGREVISION and BUILDLINK_ABI_DEPENDS (where applicable)wiz1-2/+2
for SDL shlib changes.
2006-03-09Replace references to ossaudio.buildlink3.mk with oss.buildlink3.mk.jlam1-2/+2
Remove deprecated ossaudio.buildlink3.mk.
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg1-1/+2
2006-01-20Changes 3.1.2:adam2-15/+8
* Fixed level editor bug
2005-12-29Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mkjlam1-2/+1
automatically detects whether we want the pkginstall machinery to be used by the package Makefile.
2005-12-28Use PKGMANDIR for man page.reed1-4/+4
2005-12-11Convert aalib to options framework, adding an 'x11' option, and removewiz1-1/+2
aalib-x11 and aview-x11. SDL dependencies change, so bump PKGREVISION (and BUILDLINK_RECOMMENDED) for affected packages. Addresses PR 32046 by Leonard Schmidt.
2005-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig1-2/+2
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-08-16Changes 3.1.1:adam9-102/+136
- added tutorial level set created by Aaron Davidson - added editor element descriptions written by Aaron Davidson - added native game engine for Emerald Mine (Club) levels - added level skipping functionality to main menu - added support for dumping small-sized level sketches from editor - added use of "editorsetup.conf" for different level sets - lots of bugfixes and internal engine changes (see ChangeLog)
2005-06-01Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.jlam1-2/+3
Several changes are involved since they are all interrelated. These changes affect about 1000 files. The first major change is rewriting bsd.builtin.mk as well as all of the builtin.mk files to follow the new example in bsd.builtin.mk. The loop to include all of the builtin.mk files needed by the package is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk is now included by each of the individual builtin.mk files and provides some common logic for all of the builtin.mk files. Currently, this includes the computation for whether the native or pkgsrc version of the package is preferred. This causes USE_BUILTIN.* to be correctly set when one builtin.mk file includes another. The second major change is teach the builtin.mk files to consider files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most of the builtin.mk files test for the presence of built-in software by checking for the existence of certain files, e.g. <pthread.h>, and we now assume that if that file is under ${LOCALBASE}, then it must be from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The exceptions to this new check are the X11 distribution packages, which are handled specially as noted below. The third major change is providing builtin.mk and version.mk files for each of the X11 distribution packages in pkgsrc. The builtin.mk file can detect whether the native X11 distribution is the same as the one provided by pkgsrc, and the version.mk file computes the version of the X11 distribution package, whether it's built-in or not. The fourth major change is that the buildlink3.mk files for X11 packages that install parts which are part of X11 distribution packages, e.g. Xpm, Xcursor, etc., now use imake to query the X11 distribution for whether the software is already provided by the X11 distribution. This is more accurate than grepping for a symbol name in the imake config files. Using imake required sprinkling various builtin-imake.mk helper files into pkgsrc directories. These files are used as input to imake since imake can't use stdin for that purpose. The fifth major change is in how packages note that they use X11. Instead of setting USE_X11, package Makefiles should now include x11.buildlink3.mk instead. This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed. Package buildlink3.mk should also include x11.buildlink3.mk when linking against the package libraries requires also linking against the X11 libraries. Where it was obvious, redundant inclusions of x11.buildlink3.mk have been removed.
2005-05-22Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:jlam1-2/+2
USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-02-23Add RMD160 digests.agc1-1/+2
2005-01-16Move PKGREVISION so that it is set before mk/bsd.pkg.mk is included.kristerw1-3/+3
2004-12-22Install manpage to man section 6. (No patch needed sincereed3-5/+9
was done with do-install target in first place.) Bump PKGREVISION.
2004-12-03Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.wiz1-3/+3
Suggested by Roland Illig, ok'd by various.
2004-11-03Changes 3.1.0:adam5-160/+27
- fixed obvious bug with wrong "Murphy" graphics (when digging etc.) - fixed a lot of Emerald Mine and Supaplex game engine emulation bugs - re-converted Emerald Mine and Supaplex levels to apply engine fixes - changed default snap/drop keys from left/right Shift to Control keys - added level loader for loading native Emerald Mine levels - added level loader for loading native Supaplex packed levels - added group elements for multiple matches and random element creation - added elements that can be digged or left behind by custom elements - added element "Sokoban field with player" missing for Sokoban levels - added custom element features to allow building of teleporters - added option to use step limit instead of time limit for level - added pressing "space" key as valid action to select menu options - added clipboard (cut and paste buttons) for custom and group elements - added shortcut to dump brush (type ":DB" in editor) for use in forum - added network multiplayer code for Windows (still only command line) - replaced old tutorial level set with far better one by Niko Böhm - "contributions" levels now separate package to make base set smaller - too many bugfixes and changes to list them all here (see ChangeLog)
2004-03-08Removed not-for-darwin; builds and works with x11 targetadam1-3/+1
2004-03-07Use bl3.snj1-2/+2
2004-03-06On MacOS X SDL is always needed, so use rocksndiamonds-sdl and mark this ↵heinz1-3/+3
packages with NOT_FOR_PLATFORM
2004-01-26Use find with "-print"heinz1-4/+4
2004-01-24replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make.grant1-2/+2
2003-12-17Let this work on Solaris (verified) and maybe Darwin (please test).heinz2-6/+19
Create user and group if necessary, not every OS has "games:games".
2003-12-15Changes 3.0.8:adam4-19/+25
- added "musicinfo.conf" for menu and level music configuration - added "editorsetup.conf" for editor element list configuration - added "copy" and "exchange" functions for custom elements to editor - added configurable "bored" and "sleeping" animations for the player - added "awakening" sound for player when waking up after sleeping - added configurable element animations for info screen - added configurable music credits for info screen - added configurable level set information for info screen - added warnings for undefined token values in artwork config files - menu entries now also selectable by clicking on entry text - better sniksnak turning movement (two steps instead of only one) - fixed turning movement of butterflies and fireflies (no frame reset) - fixed bug with wrong default impact sound for colored emeralds - fixed bug with double nut cracking sound - fixed a very nasty bug in dragon turning code in TurnRoundExt() - finally fixed tape recording when player is created from CE change - added new contributed levels
2003-11-19Most important changes since last release version 3.0.6:adam4-28/+29
- fixed incorrectly displayed animation for attacking dragon - fixed bug with not setting initial gravity for each new game - fixed bug with teleportation of player by custom element change - fixed bug with player not getting smashed by rock sometimes - fixed serious bug in code for delayed element pushing - fixed little bug in animation frame selection for pushed elements - fixed bug when pushing element that can move away to the side - fixed tape recording when player is created from CE element change - fixed player animation frame reset for identical animations - unavailable setup options now marked as "n/a" instead of "off" - prevent "extended" changed elements from delay change in same frame - speed-up of reading config file for verbose output - added configuration option for opening and closing Supaplex exit - added configuration option for moving up/down animation for Murphy - added animation for "turning" action (for elements with move delay) - added turning animations for bug, spaceship and sniksnak
2003-10-08Changes 3.0.6:adam2-5/+5
- fixed bug when initializing font graphic structure - fixed bug with animation mode "pingpong" when using only 1 frame - fixed bug with extended change target introduced in 3.0.5 - fixed bug where passing over moving element doubles player speed - fixed bug with elements continuing to move into push direction - fixed bug with duplicated player when dropping bomb with shield on - fixed switching bug (resetting flag when not switching but not idle) - fixed element tokens for certain file elements with ".active" etc. - added "switching" event for custom elements ("pressing" only once) - added support for MP3 music for SDL version through SMPEG library
2003-09-30Changes 3.0.5:adam2-5/+5
- fixed bug in multiple config pages loader code that could crash the game - enhanced (remaining low-resolution) Supaplex graphics - active/inactive sides configurable for custom element changes - new movement type "move when pushed" available for custom elements - now four envelope elements available - font, background, animation and sound for envelope now configurable - main menu doors opening/closing animation type now configurable
2003-09-15Changes 3.0.4:adam4-74/+75
- fixed bug in multiple config pages code that caused crash - fixed bug in custom definition of crumbled element graphics
2003-09-09Changes 3.0.3:adam3-18/+21
- fixed bug (missing array boundary check) which could crash the game - fixed problem with setting mouse cursor in SDL version in fullscreen - fixed problem with flickering when drawing toon animations - fixed problem with player animation when snapping and moving - fixed several nasty bugs that may have caused crashes on some systems - added envelope content which gets displayed when collecting envelope - added multiple change event pages for custom elements - added support for loading various music formats through SDL_mixer - added music to Supaplex classic level set
2003-08-26Most important changes since last release version 3.0.1:adam2-5/+5
- fixed bug with messing up custom element properties in 3.0.0 levels - fixed bug with choosing wrong engine version when playing tapes - fixed bug with creating inaccessible elements at player position - fixed bug with not finding current level artwork directory Most important changes since last release version 3.0.0: - fixed bug that caused a crash at startup under Solaris - fixed bug that caused the DOS version not finding its files - fixed bug with missing graphic for active red disk bomb - added custom element property for dropping collected elements - added another 128 custom elements for those who can't get enough - fixed PCX files in the DOS version ("classic" graphics only)
2003-08-05Changes 3.0.0 (since 2.1.1):adam5-1951/+107
- final version bumped to 3.0.0 due to the massive changes - graphics and sounds now completely and dynamically customizable - element animation length, speed and mode now freely configurable - 128 custom elements with lots of configurable element properties - advanced custom element settings for powerful, self-created elements - automatic tape playing function for game engine and level testing - added support for stereo WAV sound files - added support for background images for all menu screens - added some example levels showing how to create custom artwork - fixed Supaplex gravity tubes - fixed very nasty bug in SDL_image (and X11) PCX loading routine - fixed some very nasty bugs in bitmap zoom routine - fixed very nasty bug in level/artwork loading routine
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-04-10make ${PAX} usage consistent:grant1-2/+2
- group 'zrw' and 'p' args, -s last - use the && operator consistently - strip unneeded parens - some whitespace cleanup
2002-10-29Bump package revision to 1. New patch-ak fixes bug in Joystick supportheinz3-3/+28
(tested on i386).
2002-10-23PKGREVISION is now empty (instead of 0), to placate lintpkgsrc.heinz1-2/+2
2002-10-19Update to rocksndiamonds 2.1.1.heinz13-332/+1007
Maybe someone can check how well this works with pkgsrc on MacOS X (see below). Summary of changes since rocksndiamonds-2.0.0 ============================================= - lots of new contributed levels Release Version 2.1.1 [13 AUG 2002] ----------------------------------- - sound bug (causing crashes) fixed (reported by Keith Peterston) - small NetBSD compilation bug fixed (thanks to Adam Ciarcinski) - default keys for "snap field" and "place bomb" fixed for Mac OS X Release Version 2.1.0 [05 AUG 2002] ----------------------------------- - native Mac OS X port (finally!) - graphics, sounds and music now fully configurable - added support for TrueColor PCX graphics files - added support for 16 bit WAV sound files - enhanced sound system (especially regarding stereo and loop sounds) - new structured setup menu (with sub-menues for graphics and sounds) - added "quick save" and "quick load" functions with shortcut key - added single-step playing mode (automatic pause after each step) - behaviour of "Escape" key in level editor now more intuitive - changed default slipping behaviour of gems back to 2.0.0 style; this is now an element property for gems in the level editor, although existing converted levels use the new EM gems behaviour - bug fixed that prevented walking through tubes when gravity on - added Boulder Dash style "snap-pushing" (thanks to Achim Härtel) - fixed memory leak in image loading code - fixed some "solid" elements that were accidentally destructible - fixed some tape stuff - added custom graphics set "Animal Kingdom" by Flyboy Release Version 2.0.1 [19 MAR 2002] ----------------------------------- - bug in explosion code fixed that broke level 24 of "Baby Ghost Mine" - several Supaplex emulation bugs fixed (thanks to Mihail Milushev): + orange disk does not fall off from slippery elements + infotrons kill electrons and snik snaks and trigger orange disks + explosion chain reactions are now a bit slower than murphy - behaviour of robots adjusted to make them less aggressive (needed for quite some Emerald Mine Club levels) - emeralds and diamonds now fall off normal, steel and growing walls, as this is the correct behaviour in Emerald Mine; existing private and contributed levels will still behave as before, unless saved again (with or without modifications) from the level editor of the current version of the game - icon for Windows executable added - bug when selecting default level series fixed - new IFF style file format for level and tape files - bug in storing amoeba content fixed - nasty tape bugs fixed (completely reworked tape stuff) - fullscreen mode now works with Windows (workaround for bug in SDL) - /dev/dsp support for NetBSD added (thanks to Krister Walfridsson) - file permissions when saving files and creating directories changed - some small sound bugs fixed
2002-02-19Minor overhaul.jmc7-35/+45
Not all NetBSD platforms support joysticks. Based on ones which are active in their GENERIC config's only have those actually compile in NetBSD specific joystick support. For the rest let the generic joystick support get pulled in (and then fail to probe so the code will disable it anyways). Otherwise this fails on any system without <machine/joystick.h> XXX...This really should be redone at some point since it's messy now and the original code looks like it had the concept of no joystick support in the first place.
2002-02-02regen: Add joystick support for NetBSDjdolecek1-1/+5
2002-02-02Add joystick support for NetBSDjdolecek6-2/+82