Migrate to libmpq
libmpq is a much simpler alternative to StormLib for reading MPQ archives. We use our own fork of libmpq: https://github.com/diasurgical/libmpq Impact: * DevilutionX is now a lot more portable. Unlike StormLib, libmpq only needs platform-specific code for Windows. * Locks around file access **removed** (instead we duplicate the file descriptor for streamed audio only). * RAM usage is **300 KiB** lower than StormLib. * Stripped release linux_x86_64 binary is **32 KiB** smaller. * Amiga build now hangs instead of crashing.
This commit is contained in:
parent
c1aa7f94b7
commit
3d308983a8
64 changed files with 1230 additions and 1074 deletions
|
|
@ -9,10 +9,10 @@
|
|||
#include "DiabloUI/diabloui.h"
|
||||
#include "dx.h"
|
||||
#include "palette.h"
|
||||
#include "storm/storm.h"
|
||||
#include "utils/file_util.h"
|
||||
#include "utils/log.hpp"
|
||||
#include "utils/paths.h"
|
||||
#include "utils/pcx.hpp"
|
||||
#include "utils/ui_fwd.h"
|
||||
|
||||
namespace devilution {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue