head 1.4; access; symbols pkgsrc-2018Q2:1.3.0.98 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.96 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.94 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.92 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.88 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.86 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.84 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.82 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.80 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.78 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.76 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.74 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.72 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.70 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.68 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.66 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.64 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.62 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.60 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.58 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.56 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.54 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.52 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.50 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.48 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.46 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.44 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.42 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.40 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.38 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.36 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.34 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.32 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.30 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.28 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.26 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.24 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.22 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.20 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.18 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.16 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.14 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.12 pkgsrc-2008Q1:1.3.0.10 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.8 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.6 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.4 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.2 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.2.0.26 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.24 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.22 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.20 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.18 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.16 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.14 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.12 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.10 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.8 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.6 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 netbsd-1-6:1.1.0.8 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.0.4 pkgviews-base:1.1 buildlink2:1.1.0.2 buildlink2-base:1.1 netbsd-1-5-PATCH003:1.1; locks; strict; comment @# @; 1.4 date 2018.07.13.17.28.47; author adam; state dead; branches; next 1.3; commitid poyJKYTaaXij30KA; 1.3 date 2007.04.03.16.57.06; author dillo; state Exp; branches; next 1.2; 1.2 date 2002.09.11.23.43.43; author wiz; state dead; branches; next 1.1; 1.1 date 2001.07.05.22.13.08; author kristerw; state Exp; branches; next ; desc @@ 1.4 log @mirrormagic: updated to 3.0.0 3.0.0: There are not many new features and changes to the game itself, as the main goal of this release is to keep the game playable on modern systems, and there is finally also support for Mac and Android systems. This was all done by integrating the classic Mirror Magic game engine into the game Rocks’n’Diamonds as a new custom game engine, therefore using R’n’D as the new technical platform for this and any future release. @ text @$NetBSD: patch-ad,v 1.3 2007/04/03 16:57:06 dillo Exp $ Fix compilation with gcc4, from Andreas Jochens via Debian. --- src/main.h.orig 2003-06-07 18:04:37.000000000 +0200 +++ src/main.h @@@@ -459,7 +459,7 @@@@ extern struct PlayerInfo stored_player[] #endif extern struct HiScore highscore[]; extern struct TapeInfo tape; -extern struct JoystickInfo joystick[]; +/* extern struct JoystickInfo joystick[]; */ extern struct SetupInfo setup; extern struct GameInfo game; extern struct LaserInfo laser; @ 1.3 log @Add patch from Debian package to fix compilation with gcc4. Okayed by maintainer. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update to 2.0.1, provided by Adam Ciarcinski, with minor fixes. Changes: - icon for Windows executable added - bug when selecting default level series fixed - new IFF style file format for level files - 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 @ text @d1 15 a15 43 $NetBSD: patch-ad,v 1.1 2001/07/05 22:13:08 kristerw Exp $ --- src/libgame/sound.c.orig Sun Dec 31 11:47:19 2000 +++ src/libgame/sound.c Thu Jul 5 23:37:59 2001 @@@@ -291,7 +291,30 @@@@ - 2 buffers / 512 bytes (giving 1/16 second resolution for 8 kHz) - (with stereo the effective buffer size will shrink to 256) => fragment_size = 0x00020009 */ +#if defined(PLATFORM_NETBSD) + { + audio_info_t a_info; + AUDIO_INITINFO(&a_info); + a_info.play.encoding = AUDIO_ENCODING_LINEAR8; + a_info.play.precision = 8; + a_info.play.channels = 2; + a_info.play.sample_rate = sample_rate; + a_info.blocksize = fragment_size; + if (ioctl(audio.device_fd, AUDIO_SETINFO, &a_info) < 0) + { + /* Try to disable stereo. */ + a_info.play.channels = 1; + stereo = FALSE; + if (ioctl(audio.device_fd, AUDIO_SETINFO, &a_info) < 0) + { + Error(ERR_EXIT_SOUND_SERVER, + "cannot set sample rate of /dev/audio - no sounds"); + playing_sounds = 0; + } + } + } +#else if (ioctl(audio.device_fd,SNDCTL_DSP_SETFRAGMENT,&fragment_spec) < 0) Error(ERR_EXIT_SOUND_SERVER, "cannot set fragment size of /dev/dsp - no sounds"); @@@@ -319,7 +342,7 @@@@ if (ioctl(audio.device_fd, SNDCTL_DSP_GETBLKSIZE,&fragment_size) < 0) Error(ERR_EXIT_SOUND_SERVER, "cannot get fragment size of /dev/dsp - no sounds"); - +#endif max_sample_size = fragment_size / (stereo ? 2 : 1); } @ 1.1 log @Update mirrormagic to version 2.0.0 Changes since version 1.3: - complete code redesign (based on new Rocks'n'Diamonds game engine) - contains now 60 levels from the classic game "Deflektor" - can be compiled with SDL library to build native Windows version - can be compiled with Allegro library to build native DOS version - DOS and Windows versions can be compiled with gcc cross-compiler - changed levels 43 and 45 due to changed (faster) pac man behaviour @ text @d1 1 a1 1 $NetBSD$ @