Jump to content
XCOMUFO & Xenocide

Adding A New Lib?


Beatkiller

Recommended Posts

Is it possible to add some libs (allegropak)? Because its much easier to do things with existing code and not to write all by my own.

It is possible, though it is not recommented to add any extra library dependency without a real need. Any extra dependency adds extra work for people trying to compile the game from sources. Also we should make sure that this library works on all the patforms supported by the game (currently windows, linux, macos x, freebsd, 64-bit linux on amd64). The set of supported platforms will probably grow.

 

We currenly include some of the exotic libraries directly into ufo2000 source tree (subdirectories inside of 'src' dir). For example, 'jpgalleg' is currently not amd64 compatible. We have a fixed version included into our source tree (and the fix was sent to jpgalleg author - but no new version with this fix was released yet).

 

As for allegropak, it does not seem to be maintained. Probably if we really need some code from it, the best way to use it is to directly include it in our sources.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...