1152 Commits

Author SHA1 Message Date
Sean Gordon
e899051261 Merge pull request #276 from fjrclean/dev
find lua51.pc on Arch distributions
2017-02-06 16:54:49 +10:00
fjrclean
3f0ea68d3f find lua51.pc on Arch distributions 2017-02-06 13:34:50 +08:00
10se1ucgo
f6b6dbe1f8 portalgun: Change colors on fire (#267)
* portalgun: Change colors on fire

Also fix an (accidental?) global.

* portalgun: Generate colored models once.
2016-09-30 08:23:39 +02:00
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
Felix Kaaman
d644ef6b71 Merge pull request #273 from asiekierka/fixes-cmake
Fix CMake file for other platforms
2016-09-29 18:14:52 +02:00
asiekierka
21d293f2d5 apply fixes for other platforms to CMake file 2016-09-29 11:18:45 +02:00
Ben Russell
a346c3785a use doubles for wav.c as we need it 2016-07-12 12:16:21 +12:00
Ben Russell
6488afcb03 quick fix for LPF ignoring attenuation 2016-07-12 11:53:28 +12:00
Sean Gordon
1a44004a3e Map serialisation union (#264)
* Unify duplicated icemap serialisation functions

* Remove outdated/useless comments

* Store icemap chunk length properly

* Fix memory leak and garbage in buffer

* Fix hanging file handle
2016-07-12 00:39:44 +01:00
Ben Russell
48d31ed7a1 fix dedi build 2016-07-12 11:30:12 +12:00
Sean Gordon
961be5263d Merge pull request #271 from iamgreaser/sound-delays
Sound mixer rewrites and fixes
2016-07-12 00:28:02 +01:00
10se1ucgo
2ae1e3e4d9 Add IDEA project files to .gitignore (#266)
* More IDEA bullshit

* Add *.ipr and *.iws to .gitignore.
2016-07-11 23:07:26 +01:00
Ben Russell
00a10dbd38 fix warnings in src/wav.c 2016-07-11 15:02:27 +12:00
Ben Russell
a9d1ca21a3 add LPF/HPF for better subwoofer handling 2016-07-11 14:56:27 +12:00
Ben Russell
1031b7d8d0 fixed sound crash + incorrect 3d delay 2016-07-11 14:38:11 +12:00
Ben Russell
1827b5f643 mixer rewritten for more accurate 3d sound 2016-07-11 14:09:15 +12:00
Ben Russell
598f691ee5 Use SDL_LockAudio - fixes #67 2016-07-11 12:41:57 +12:00
Sean Gordon
112cc731df Merge pull request #269 from NotAFile/moar_sounds
added intel pickup and drop sounds
2016-07-02 19:54:54 +01:00
notafile
02223b3279 added intel pickup and drop sounds 2016-07-02 16:26:38 +02:00
Ben Russell
be19cfcdbe wav+adpcm directories merged 2016-07-01 13:28:00 +12:00
Ben Russell
7f956f74a1 ADPCM files I forgot to push years ago 2016-07-01 13:06:22 +12:00
rakiru
70e93e1cc0 Make wav parser less strict about allowed chunk types 2016-06-29 23:36:55 +01:00
Felix Kaaman
58ee777402 Add support for passing arguments to the new init functions 2016-06-29 16:13:07 +02:00
Sean Gordon
7065730447 Merge pull request #263 from iamgreaser/wav-parse-checks
Make the WAV parser less easy to break
2016-06-27 21:00:21 +01: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
Sean Gordon
2900f894ce Merge pull request #262 from iamgreaser/glsl-alloca-sucks
kill the remaining alloca() calls with fire
2016-06-26 01:32:27 +01:00
Sean Gordon
c6191aa2b0 Merge pull request #261 from iamgreaser/png-alloca-sucks
PNG saving fixes
2016-06-26 01:32:23 +01:00
rakiru
56ff8922a5 Make the WAV parser less easy to break
Mostly checks to avoid overflows. There is one NULL check that I added
early on as it was really easy to trigger. It's probably less useful now
that there are a bunch of checks before it that should stop stupid things
like trying to malloc a negative number...
2016-06-26 01:12:59 +01:00
Ben Russell
030b659270 kill the remaining alloca() calls with fire
THIS one was completely unnecessary
2016-06-26 11:33:58 +12:00
Ben Russell
24f73678f7 fix PNG saving on multiple compilers
also fixes a PNG dump function bug
2016-06-26 11:26:23 +12: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
Sean Gordon
db4e829e5c Merge pull request #255 from asiekierka/enfield-cleanup
Fix #253 - move Sniper Rifle into its own mod
2016-06-23 23:44:15 +01:00
Sean Gordon
be85c7a341 Merge pull request #256 from iamgreaser/miptree-fixes
miptree fixes + glTexStorage2D support
2016-06-23 23:39:53 +01:00
Sean Gordon
917ec2ca8e Merge pull request #251 from asiekierka/feature-config
Add a better config screen
2016-06-23 22:53:43 +01:00
asiekierka
93d477ee1c fix #253 - move Sniper Rifle into its own mod 2016-06-23 23:01:21 +02:00
Ben Russell
2450936587 miptree fixes; glTexStorage2D support; update GLAD 2016-06-24 08:58:59 +12:00
asiekierka
681bf3b56c add a better config screen, now with options 2016-06-23 11:29:08 +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
rakiru
3bdc3a4c4f Add NULL check to map buffer malloc 2016-06-22 22:34:18 +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
Sean Gordon
55431ba720 Merge pull request #246 from fkaa/root-cleanup
Clean up root directory. Closes #227
2016-06-22 20:44:43 +01:00
Felix Kaaman
8eb9160bdf Clean up root directory. Closes #227 2016-06-21 15:18:04 +02: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
rakiru
b659ed6bb4 Change default shader from "toon" to "simple". 2016-06-20 23:28:59 +01: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