Skip to content

Commit

Permalink
CREATE_PROJECT: Add the libfaad and libmpeg2 libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegr committed Jul 7, 2013
1 parent bd82ca9 commit 747863e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions devtools/create_project/create_project.cpp
Expand Up @@ -816,6 +816,8 @@ const Feature s_features[] = {
{ "vorbis", "USE_VORBIS", "libvorbisfile_static libvorbis_static libogg_static", true, "Ogg Vorbis support" },
{ "flac", "USE_FLAC", "libFLAC_static", true, "FLAC support" },
{ "png", "USE_PNG", "libpng", true, "libpng support" },
{ "faad", "USE_FAAD", "libfaad", false, "AAC support" },
{ "mpeg2", "USE_MPEG2", "libmpeg2", false, "MPEG-2 support" },
{ "theora", "USE_THEORADEC", "libtheora_static", true, "Theora decoding support" },
{"freetype", "USE_FREETYPE2", "freetype", true, "FreeType support" },

Expand Down

4 comments on commit 747863e

@clone2727
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are these being disabled by default?

@bluegr
Copy link
Member Author

@bluegr bluegr commented on 747863e Jul 7, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because they are not required dependencies, IMHO: libmpeg2 is not a required dependency for sword1/sword2 (SMK/DXA cutscenes work fine) and libfaad is used only for the iOS version of T7G, thus it didn't feel right to force them as required dependencies.

@clone2727
Copy link
Contributor

@clone2727 clone2727 commented on 747863e Jul 7, 2013 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bluegr
Copy link
Member Author

@bluegr bluegr commented on 747863e Jul 7, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

libpng is essential to run sword25 and a lot of wintermute games.

The default create_project batch file, which runs the actual executable, just passes the MSVC version. So we can change these to be required by default, but we'll need to update the MSVC libraries, too. I got libfaad and libmpeg2 compiled locally, so I can just update the required dependencies

Please sign in to comment.