TWP: Indicate dependencies in configure.engine

This commit is contained in:
scemino 2024-02-18 07:45:01 +01:00 committed by Eugene Sandulenko
parent c27cbbaf63
commit f6073f1d48
3 changed files with 2 additions and 6 deletions

View File

@ -29,10 +29,6 @@
#include "twp/twp.h"
#include "twp/squtil.h"
#ifndef USE_VORBIS
#error TWP engine requires USE_VORBIS flag
#endif
namespace Twp {
void SoundStream::open(Common::SharedPtr<SoundDefinition> sndDef) {

View File

@ -1,3 +1,3 @@
# This file is included from the main "configure" script
# add_engine [name] [desc] [build-by-default] [subengines] [base games] [deps]
add_engine twp "Thimbleweed Park" yes "" "" ""
add_engine twp "Thimbleweed Park" yes "" "" "16bit highres vorbis png imgui opengl_game_shaders"

View File

@ -50,7 +50,7 @@ void ResManager::loadTexture(const Common::String &name) {
d.loadStream(r);
const Graphics::Surface *surface = d.getSurface();
if(!surface) {
error("PNG %s not loaded, please check USE_PNG flag", name.c_str());
error("PNG %s not loaded", name.c_str());
return;
}