5 Commits

Author SHA1 Message Date
Adrian Siekierka
8153b68d46 Use LuaJIT when available; add LuaBitOp for bitop accel; remove sackit hack thanks to new API; enforce C99 support in CMake (#250)
* default to LuaJIT when available

* add LuaBitOp for efficient bitwise operations in Lua

* make lib_bits use LuaBitOp if present

* add LuaBitOp licence notice

* fix CMake to work with LuaJIT/LuaBitOp, enforce C99
2016-09-30 08:23:34 +02:00
Felix Kaaman
357d4d2aad Fix CMake support for MinGW, MSVC, and others
This improves the general building experience by integrating with the
newly created `sourceball` for windows. Most fixes involves either
adding `#ifdef WIN32` or replacing GCC-specific extensions with more
portable solutions.

Has been tested with MSVC 15 and MinGW64.
2016-01-05 19:25:51 +01:00
Felix Kaaman
d51dce202a Update to SDL2, start purging screen blitting 2015-11-01 13:01:50 +01:00
Felix Kaaman
7083dbb2c8 CMake is a special little snowflake ☃ 2015-03-03 12:58:49 +01:00
Felix Kaaman
33f6968f0c Fix CMake support (only tested on darwin) 2015-02-28 13:56:23 +01:00