pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/sdlpop games/sdlpop: update to sdlpop-1.22

branches:  trunk
changeset: 456172:0230dc0c0439
user:      yhardy <>
date:      Wed Jul 21 09:19:51 2021 +0000

games/sdlpop: update to sdlpop-1.22


2021 July 5
(version 1.22)

FIXED: The prince can now grab a ledge at the bottom right corner of
       a room with no room below.
        Testcase: doc/replays-testcases/SNES-PC-set level 11.p1r
        See FIX_CORNER_GRAB in config.h .
FIXED: Don't allow killing a skeleton in cheat mode.
FIXED: Ctrl+S didn't mute music (except death music).
FIXED: A falling tile on the left side of a pillar could cause the
       blue stripe to be drawn over the pillar.
FIXED: The top of moving gates became glitched on levels using
       non-default palettes.
FIXED: The right edge of pressed drop buttons was black if a big
       pillar was next to them.
FIXED: Guards appeared in the current room when they fell into spikes
       in an adjacent room. (Example: original level 11, room 22.)
FIXED: Show an error message if a data file is missing.
FIXED: "Remember guard hp" for non-standard guards.
FIXED: Colored torches were not restored on quickload if you (quit
       and) restarted the game after quicksave.
DONE: Added command-line parameter "mute": Start the game with sound off.
FIXED: Fixed compiling with some features #undefined. (USE_TEXT,
DONE: Hide references to various features if the game was compiled
       without them.
DONE: A scrollbar appears in the pause menu if scrolling is possible.
        It's not clickable yet, it just shows where you are in the list.
DONE: Added command-line parameter "playdemo": Make the demo level
FIXED: Fixed the detection of Ctrl+L during the demo level.
FIXED: Create the screenshots directory in SDLPoP's directory, even
       if the current directory is something else.
        This is to match how the replay folder works.
FIXED: On Windows, use Unicode/UTF-8 for mkdir().
        So the replay and screenshots directories can be created
        within non-ASCII paths.
FIXED: After quickload, show the room where the prince is, even if
       the player moved the view away from it (with the H,J,U,N keys).
FIXED: After quickload, don't draw guard HP if a previously viewed
       room (with the H,J,U,N keys) had a guard but the current room
       doesn't have one.
DONE: Speed up music, sounds, and transitions during fast forwarding.
FIXED: Prevent the modifier remapping from accessing out-of-range rooms.
FIXED: Don't show the mirror image if the prince is not in the
       currently shown room.
DONE: Added a new cheat key: Ctrl+B: Go back to the room where the
      prince is. (Undo H,J,U,N.)
FIXED: Fixed the length of feather fall in fast-forward mode.
FIXED: Prevent torches from being randomly colored when an older
       replay is loaded.
FIXED: If the prince is fighting a guard, and the player does a
       quickload to a state where the prince is near the mouse,
       the prince would draw the sword.
DONE: Added options for changing speeds. They are detected from
       PRINCE.EXE. (Used in Hurry up Prince, for example.)
DONE: In the settings menu, allow using Page Up, Page Down, Home, End.
FIXED: Fixed graphical glitches with an opening gate:
        1. with a loose floor above and a wall above-right.
        2. with the top half of a big pillar above-right.
        See FIX_ABOVE_GATE in config.h .
FIXED: Validate mode crashed with the error "init_scaling:
       SDL_CreateTexture: Invalid renderer".
DONE: Rewrote all mentions of key combinations to the "Ctrl+A" style.
DONE: Marked which features of SDLPoP are not in the original game.
      (To prevent confusions like #197)
DONE: Allow Backspace and Ctrl+C during replay.
DONE: During playback, display the number of ticks since start, if
      the timer is shown (debug cheats: T).
FIXED: Fixed crashing when a MIDI music interrupted another one.
FIXED: Make it possible to go through a certain closed gate on level 11
       of Demo by Suave Prince.
        Testcase: doc/replays-testcases/Demo by Suave Prince level 11.p1r
        See FIX_COLL_FLAGS in config.h .
FIXED: When the prince jumps up at the bottom of a big pillar split
       between two rooms, a part near the top of the screen disappears.
        Example: The top row in the first room of the original level 5.
        Details: See FIX_BIGPILLAR_JUMP_UP in config.h .
DONE: Added a debug cheat to quickload but keep the currently loaded
      level. (Shift+F9)
FIXED: Fixed spiked/chomped/bumped guards teleporting into the wrong room.
       (if fixes are enabled)
FIXED: Quicksave during feather fall mode. (if fixes are enabled)
FIXED: Prevent the prince from entering a glitched room when he falls
       into a wall or he is revived near a wall.
        Details: doc/replays-testcases/Original level 2 falling into wall.txt
        Testcase: doc/replays-testcases/Original level 2 falling into wall.p1r
        See FIX_ENTERING_GLITCHED_ROOMS in config.h .
FIXED: Optimized OPL mixing (MIDI music).
        "More importantly: when run on a Raspberry Pi Zero, the music went
        from unusable to perfect,"
FIXED: Fixed the prince sliding through closed gates when you are using
       the caped prince graphics.
        Details: See FIX_CAPED_PRINCE_SLIDING_THROUGH_GATE in config.h .
DONE: Added a compilation-time flag to disable all fixes for vanilla
FIXED: If the prince dies on level 14, don't return to the intro after
       the level was restarted.
        Details: See FIX_LEVEL_14_RESTARTING in config.h .
DONE: Waste an RNG cycle in loose_shake() to match DOS PoP.
DONE: In new replays, use deprecation_number = 2. On playback, waste
      the RNG cycle only if deprecation_number >= 2.
        Older replays have deprecation_number <= 1, and we don't waste
        the RNG cycle when playing them back.
DONE: When backing offscreen (to the left) from the first guard on
      level 7 (among others), simulate the glitch from DOS PoP, which
      causes the prince to fall through the floor.
        Details: See
FIXED: On Windows, use Unicode/UTF-8 for stat().
        So SDLPoP can load levels from mod folders when a replay file
        restarts the level or advances to the next level.
DONE: Added a more visible error message when a mod referenced by a
      replay file cannot be found in the mods folder.
DONE: Allow guard skill customizations in SDLPoP.ini.


 games/sdlpop/Makefile               |   4 ++--
 games/sdlpop/PLIST                  |  28 +---------------------------
 games/sdlpop/distinfo               |  13 ++++++-------
 games/sdlpop/patches/patch-seg009.c |  10 +++++-----
 4 files changed, 14 insertions(+), 41 deletions(-)

diffs (105 lines):

diff -r 6ef4bb91c866 -r 0230dc0c0439 games/sdlpop/Makefile
--- a/games/sdlpop/Makefile     Wed Jul 21 08:46:40 2021 +0000
+++ b/games/sdlpop/Makefile     Wed Jul 21 09:19:51 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2020/11/24 14:30:31 nia Exp $
+# $NetBSD: Makefile,v 1.5 2021/07/21 09:19:51 yhardy Exp $
-DISTNAME=      sdlpop-1.21
+DISTNAME=      sdlpop-1.22
 CATEGORIES=    games
diff -r 6ef4bb91c866 -r 0230dc0c0439 games/sdlpop/PLIST
--- a/games/sdlpop/PLIST        Wed Jul 21 08:46:40 2021 +0000
+++ b/games/sdlpop/PLIST        Wed Jul 21 09:19:51 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2019/11/02 14:35:37 nia Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/07/21 09:19:51 yhardy Exp $
@@ -1029,31 +1029,5 @@
diff -r 6ef4bb91c866 -r 0230dc0c0439 games/sdlpop/distinfo
--- a/games/sdlpop/distinfo     Wed Jul 21 08:46:40 2021 +0000
+++ b/games/sdlpop/distinfo     Wed Jul 21 09:19:51 2021 +0000
@@ -1,9 +1,8 @@
-$NetBSD: distinfo,v 1.2 2020/11/24 14:30:31 nia Exp $
+$NetBSD: distinfo,v 1.3 2021/07/21 09:19:51 yhardy Exp $
-SHA1 (sdlpop-1.21.tar.gz) = 67992d991cf0f8708a71ee30df7eca04be86057b
-RMD160 (sdlpop-1.21.tar.gz) = 651809d533f468bf33e7994c905cd2b82cb39dc0
-SHA512 (sdlpop-1.21.tar.gz) = 64aa5156122ef5363ae6d61e204141ebd2359f9d230f7411a579ec6e90de93e95a7d7836252464b6730a0b85d84ab1570a6050739ada7d9e60f2f966d92afcca
-Size (sdlpop-1.21.tar.gz) = 627853 bytes
+SHA1 (sdlpop-1.22.tar.gz) = 3b7ef7b0a887705f9d981536db544d0ec3e81534
+RMD160 (sdlpop-1.22.tar.gz) = 8b14edb801e5cfdd6dd48bf803dc5ebb73adbbd8
+SHA512 (sdlpop-1.22.tar.gz) = d25777066c7293742a61aa75bb7be2fc20bad6a2ca8f46918978396a53a25cca532f238d1f8d679021ecb353aadeec9a199791045ffc2b90ae7ee45a3e1041da
+Size (sdlpop-1.22.tar.gz) = 633128 bytes
 SHA1 (patch-options.c) = 26625a4ac6e2113d12b0169f2f69db0455912293
-SHA1 (patch-seg009.c) = 0ac07e6e004cb3fd4061c72b4bc3358456f0131c
-SHA1 (patch-src_Makefile) = 68ed7dbe90ff231a1e2e00b10fb3691b042445eb
+SHA1 (patch-seg009.c) = 9353396d934e9913745c8c9e49473d9b84563266
diff -r 6ef4bb91c866 -r 0230dc0c0439 games/sdlpop/patches/patch-seg009.c
--- a/games/sdlpop/patches/patch-seg009.c       Wed Jul 21 08:46:40 2021 +0000
+++ b/games/sdlpop/patches/patch-seg009.c       Wed Jul 21 09:19:51 2021 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-seg009.c,v 1.1 2019/11/02 14:35:37 nia Exp $
+$NetBSD: patch-seg009.c,v 1.2 2021/07/21 09:19:51 yhardy Exp $
 Use installed data path.
 Disable rumble/haptic support.
---- src/seg009.c.orig  2018-03-17 16:33:14.000000000 +0000
+--- src/seg009.c.orig  2021-07-05 06:42:34.000000000 +0000
 +++ src/seg009.c
-@@ -34,8 +34,8 @@ void sdlperror(const char* header) {
+@@ -37,8 +37,8 @@ void sdlperror(const char* header) {
@@ -16,12 +16,12 @@
  void find_exe_dir() {
        if (found_exe_dir) return;
-@@ -2108,7 +2108,7 @@ void __pascal far set_gr_mode(byte grmod
+@@ -2436,7 +2436,7 @@ void __pascal far set_gr_mode(byte grmod
 -                   SDL_INIT_GAMECONTROLLER | SDL_INIT_HAPTIC ) != 0) {
 +                   SDL_INIT_GAMECONTROLLER ) != 0) {
-               sdlperror("SDL_Init");
+               sdlperror("set_gr_mode: SDL_Init");

Home | Main Index | Thread Index | Old Index