- Simplify some symlinking
- Don't remove the temporary run directory: umoria allows for dumping
character info, which would be in there and inaccessible after
saving the game otherwise. The system takes care of cleaning up
the temporary directory anyway.
- Allow passing arguments to the wrapped executable, allowing using
different save directories, passing game seeds, checking out
highscores, etc.
It was impossible to continue a saved character before, as the
`cleanup` function would remove the whole temporary RUNDIR, including
the actual save file.
umoria allows passing a custom save file location, which now points to
the already-used data directory ~/.umoria.
Fixes#178136
This makes it possible to compile Angband against SDL2 (and its other
libraries) to have a graphical frontend available, with tiles and
sound. The default remains ASCII-only Angband; enable SDL2 by using
an override.
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Without the change build fails on upstream gcc-10 as:
ld: libgame/libgame.a(system.o):src/libgame/system.c:41: multiple definition of
`setup'; main.o:src/main.c:140: first defined here
Without the change build fails on upstream gcc-10 as:
ld: ball/st_save.o:(.bss+0x0): multiple definition of
`text_input'; share/text.o:(.bss+0x0): first defined here
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: main.o:src/main.c:58: multiple definition of
`eclass'; eclass.o:src/eclass.c:21: first defined here
Without the change build fails on upstream gcc-10 as:
ld: liblibmegaglest.a(ftpLib.c.o):(.bss+0x28): multiple definition of
`VERBOSE_MODE_ENABLED'; liblibmegaglest.a(miniftpserver.cpp.o):(.bss+0x30): first defined here
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: dnd.o:src/main.h:136: multiple definition of
`MENU_EXT'; main.o:src/main.h:136: first defined here
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: build/linux.release/alan3/Location.o:(.bss+0x0): multiple definition of
`logFile'; build/linux.release/alan3/act.o:(.bss+0x0): first defined here
Without the change build fails on upstream gcc-10 as:
ld: evalgraph.o:(.bss+0x20): multiple definition of `ics_type'; backend.o:(.bss+0x1df910): first defined here
ld: nevalgraph.o:(.bss+0x8): multiple definition of `currPvInfo'; backend.o:(.bss+0x1df908): first defined here