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
Sean Gordon
64e9121086
Merge pull request #252 from fkaa/rewrite-init
...
Rewrite initialisation to not restart process
2016-09-29 21:16:46 +01:00
Ben Russell
a346c3785a
use doubles for wav.c as we need it
2016-07-12 12:16:21 +12:00
Ben Russell
a9d1ca21a3
add LPF/HPF for better subwoofer handling
2016-07-11 14:56:27 +12:00
Ben Russell
1827b5f643
mixer rewritten for more accurate 3d sound
2016-07-11 14:09:15 +12:00
Felix Kaaman
58ee777402
Add support for passing arguments to the new init functions
2016-06-29 16:13:07 +02:00
Sean Gordon
9cced69857
Merge pull request #260 from fkaa/msvc-fix
...
MSVC & MinGW fixes on Windows
2016-06-26 20:48:22 +01:00
Felix Kaaman
4adfe2e01f
Fix MinGW build
2016-06-26 10:13:14 +02:00
Felix Kaaman
90d30f083d
Fix MSVC build
2016-06-25 16:43:21 +02:00
Felix Kaaman
c48e30c26f
Fix IB_LAUNCHER bitflag
2016-06-24 01:34:08 +02:00
Felix Kaaman
7d1491892c
Rewrite initialization to not restart process
2016-06-24 01:33:05 +02:00
rakiru
ed9e75088f
Add -l boot mode.
...
Currently stands for "launcher", but "local" might be a better term.
Replaces "-s 0" mode (port 0 is no longer special).
Provides client with full read/write (!) access to clsave/svsave/pkg.
There are a couple of TODOs, but I'm done on this for now.
2016-06-23 01:56:22 +01:00
Sean Gordon
141c36542a
Merge pull request #248 from fkaa/cleanup
...
Clean up magic constants and command line parsing
2016-06-22 20:45:34 +01:00
Felix Kaaman
ceb8ab13d5
Clean up magic constants and command line parsing
...
Gets rid of dirty ‘ol cruft like magic numbers with `boot_mode`. Also
makes the command line parsing much cleaner.
2016-06-21 04:02:27 +02:00
Ben Russell (300178622)
f26ded9a7b
[0.2.1-37] fixes for ARM clients
2016-04-23 06:05:08 +00:00
rakiru
154166ceaa
Add support for Lua require function
...
Note: This is only require, not the full package system. The list of search
paths is predefined and cannot be altered, there is no C-lib loading
(obviously), etc.
2016-03-17 22:19:46 +00:00
rakiru
307bc3879e
[0.2.1-35] Version bump (PRNG support)
2016-01-25 22:51:13 +00:00
rakiru
4c20dea060
Add prng_jump to allow taking arbitrary steps through the PRNG
2016-01-25 22:50:27 +00:00
rakiru
f87fe1cb99
Add a pseudo-random number generator in C
2016-01-25 22:26:04 +00:00
Felix Kaaman
10b1cc8e57
Fix preprocessor define on MinGW
2016-01-09 22:32:49 +01:00
Felix Kaaman
fbad7cddff
Replace GLEW dependency with Glad and set the bar at 2.0. Fixes #229 and #228
...
This removes GLEW as a dependency and adds [Glad](http://glad.dav1d.de/ )
instead. We are also bumping the OpenGL version to 2.0.
This means we are doing a few things differently now:
* We ignore the `vbo` and `gl_vbo` options, VBOs are "core" in 2.0.
* We show a message box on startup on version mismatch instead of a
simple `printf`.
* We remove `gl_max_texunits`. This was used incorrectly. If we want to
ever go beyond `VA_MAX_IMG` (8), look into
`GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS`.
If more extensions are required simply generate a new loader and replace
the files. The extensions that Glad (3.3 compat) was generated with are
the following:
* GL_ARB_debug_output,
* GL_ARB_framebuffer_object
* GL_ARB_framebuffer_sRGB
* GL_ARB_occlusion_query
* GL_EXT_framebuffer_object
* GL_EXT_framebuffer_sRGB
* GL_KHR_debug
2016-01-09 17:05:45 +01: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
Ben Russell (300178622)
f8eb5c070b
bump version to 0.2.1-34
2015-11-02 12:39:29 +13:00
Felix Kaaman
d51dce202a
Update to SDL2, start purging screen blitting
2015-11-01 13:01:50 +01:00
Ben Russell (300178622)
63389f4ca1
[0.2.1-33] fix issue with a given assertion
2015-11-01 08:00:09 +13:00
rakiru
fdbf7ada50
malloc => calloc, and bump version
2015-10-25 01:03:51 +01:00
rakiru
e41ccb372f
Bump version
2015-10-20 23:08:45 +01:00
SneakyB
f1d61323e1
Added net_pack_array and net_unpack_array, also fixed a bug with string unpacking
2015-06-17 00:39:16 +03:00
Ben Russell (300178622)
6a8aa56946
[0.2.1-29] preliminary B-format mixer
2015-04-09 10:44:34 +12:00
rakiru
8d5f7c885d
...and I was working on an old copy - version bump (also, closes #198 )
2015-03-21 20:42:12 +00:00
Ben Russell (300178622)
bb2f0bf7b3
use newer sackit playback API ( closes #84 )
2015-03-12 16:05:17 +13:00
Ben Russell (300178622)
54550f9cd3
[0.2.1-26] IMA ADPCM sample support ( closes #195 )
2015-03-11 11:32:34 +13:00
Ben Russell (300178622)
55d5c79974
[0.2.1-25] png screenshot support
2015-03-05 12:29:26 +13:00
Ben Russell (300178622)
ff8b7d0c88
[0.2.1-24] sackit dependency dropped from dedi builds
2015-03-03 10:16:39 +13:00
B R
f699a6dad3
[0.2.1-23] Sandbox the image dumper properly
2015-03-01 16:35:26 -08:00
Felix Kaaman
e42d7fb550
Add basic screenshot functionality, bump version. Closes #184 .
2015-03-01 22:25:15 +01:00
Ben Russell (300178622)
283507bc26
[0.2.1-22] fix gl_flip_quads ( closes #187 )
2015-03-02 09:56:18 +13:00
rakiru
2152e9ac61
Bump version after merge conflict
2015-03-01 05:11:39 +00:00
Felix Kaaman
cb002c7746
Remove unused shader objects, bump version
2015-03-01 03:34:03 +01:00
Ben Russell (300178622)
fa4d4b50dd
[0.2.1-19] map_render + FBO improvements ( closes #176 )
2015-02-27 11:05:02 +13:00
Ben Russell (300178622)
3b634bf763
[0.2.1-18] remove a glFinish() (speeds things up); improved plebshader
2015-02-25 10:16:18 +13:00
rakiru
a2e4f353f2
[0.2.1-17] Forgot to bump version
2015-02-24 05:28:01 +00:00
Ben Russell (300178622)
9efb32c872
[0.2.1-16] preliminary FBO support
2015-02-23 16:53:23 +13:00
Ben Russell (300178622)
3bb4975a2b
[0.2.1-15] preliminary map_render support
2015-02-23 13:39:01 +13:00
Ben Russell (300178622)
1289f478fa
[0.2.1-14] GLSL vertex attributes ( closes #166 )
2015-02-23 11:37:13 +13:00
Ben Russell (300178622)
b71c008536
[0.2.1-13] music volume in clsave/config.json ( closes #175 )
2015-02-23 10:05:49 +13:00
Ben Russell (300178622)
90c70a9350
[0.2.1-12] fixed non-VBO VAs; made the code more GLES-friendly
2015-02-23 09:50:22 +13:00
Ben Russell (300178622)
735ca9ff60
[0.2.1-11] here's one for those who don't like shaders
2015-02-22 09:32:12 +13:00
Ben Russell (300178622)
4096ffbe45
[0.2.1-10] fix a crash in img_blit_to w/o screen; faster text print on Lua side!
2015-02-21 11:19:12 +13:00
Ben Russell (300178622)
383351b659
[0.1.2-9] Add normal information; fix normals for VAs
2015-02-20 17:23:20 +13:00