Package Details: mirrormagic 3.0.0-2

Git Clone URL: (read-only, click to copy)
Package Base: mirrormagic
Description: Arcade style game like Deflektor (C64) or Mindbender (Amiga).
Upstream URL:
Keywords: game
Licenses: GPL2
Submitter: SanskritFritz
Maintainer: SanskritFritz
Last Packager: SanskritFritz
Votes: 2
Popularity: 0.003057
First Submitted: 2016-05-06 21:55
Last Updated: 2021-01-22 11:33

Latest Comments

SanskritFritz commented on 2021-01-22 11:33

Really amazing, thank you!

hotspur commented on 2021-01-13 13:19

I had to apply the following patch, otherwise the build failed with

gcc  main.o conf_gfx.o conf_snd.o conf_mus.o conf_hlp.o init.o config.o events.o tools.o screens.o game.o editor.o files.o tape.o anim.o network.o netserv.o  libgame/libgame.a game_em/game_em.a game_sp/game_sp.a game_mm/game_mm.a -lSDL2_image -lSDL2_mixer -lSDL2_net -L/usr/lib -pthread -lSDL2  -lm -o ../rocksndiamonds
/usr/bin/ld: libgame/libgame.a(system.o):XXXXXXX/src/libgame/system.c:40: multiple definition of `setup'; main.o:XXXXXXX/src/main.c:141: first defined here
/usr/bin/ld: game_sp/game_sp.a(main.o):XXXXXXX/src/game_sp/main.c:12: multiple definition of `GfxFrame'; main.o:XXXXXXX/src/main.c:72: first defined here
--- mirrormagic-3.0.0/src/main.c    2018-04-10 21:44:08.000000000 +0200
+++ mirrormagic-3.0.0/src/main.c    2021-01-13 14:01:34.119828038 +0100
@@ -69,7 +69,7 @@
 int            RunnerVisit[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
 int            PlayerVisit[MAX_LEV_FIELDX][MAX_LEV_FIELDY];

-int            GfxFrame[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
+extern int         GfxFrame[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
 int            GfxRandom[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
 int            GfxElement[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
 int            GfxAction[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
@@ -138,7 +138,7 @@
 struct PlayerInfo  stored_player[MAX_PLAYERS], *local_player = NULL;
 struct HiScore     highscore[MAX_SCORE_ENTRIES];
 struct TapeInfo        tape;
-struct SetupInfo   setup;
+extern struct SetupInfo    setup;
 struct GameInfo        game;
 struct GlobalInfo  global;
 struct BorderInfo  border;