607011 / impac-t

A Breakout/Bolo clone, improved with a physics engine
15 stars 11 forks source link

Linux Port #23

Closed schwebke closed 9 years ago

schwebke commented 9 years ago

Linux port which is working on Ubuntu LTS 14.04 AMD64 (no other distros tested). It's playable, with the following features still to be ported/implemented: recorder, direct level open from file, system load percentage.

Changes include: Make the code independent of static initialization order by using getter functions for globals. Otherwise an instant crash happened during startup, when other static objects where accessing the not yet initialized gLocalSettings. Provide an unzip implemention (based on minizip) for non-Windows systems. And some smaller fixes to completely disable the recorder feature and make the code compile with stock g++.

These are the key dependencies required to build (all of them are available in the distro repos): libbox2d-dev, libsfml-dev, libboost-dev, libglew-dev, libavutil-dev, libavcodec-dev, libavformat-dev, libswscale-dev, libboost-serialization-dev, libboost-regex-dev.