asarium
77283e9c7a
Fix conversion warnings
2015-05-14 10:45:32 +02:00
asarium
ab1b12fdd6
Fix "conversion from 'SPPHRASERNG' to 'ULONG'" warning
2015-05-14 10:45:30 +02:00
niffiwan
0ff8c8191f
Remove gcc -Wshadow warnings
2015-04-29 20:55:56 +10:00
MageKing17
26553f1327
Voice recognition upgrades.
...
Switches to an in-process recognizer, removes the hard-coded wing list (which could in accessing invalid memory, when used with a custom grammar file), and fixes up the grammar file a bit.
2015-04-26 10:03:44 -07:00
chief1983
26adf935f7
Globalize various file extension lists littered throughout the code so they can be referenced from other classes as needed, instead of being hardcoded multiple times.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11327 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-23 12:09:18 +10:00
chief1983
4ecc546e34
Backport (?) r3727 and 3733 from fs2_open-unstable_old, the old CVS unstable branch.
...
3727: added MadProf's voice recognition enhancements
3733: fix spelling, and synch with voicerec.cpp
See http://www.hard-light.net/forums/index.php?topic=37643.msg880793#msg880793 for more information.
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11317 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-23 12:08:29 +10:00
niffiwan
8c0f95ced8
Fix mantis 3150
...
Use and set music volume changes requested by sexp_adjust_audio_volume()
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11299 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-11 12:12:06 +10:00
MageKing17
6a77d128c9
Fixing weird problem with snd_update_3d_pos() that, honestly, baffles me as to how the code ever worked on any system.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11208 387891d4-d844-0410-90c0-e4c51a9137d3
2015-01-14 17:29:43 +10:00
Goober5000
709f483617
PAUSE ALL THE STREAMS
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11197 387891d4-d844-0410-90c0-e4c51a9137d3
2014-12-12 16:12:16 +10:00
Goober5000
b02af2ef6e
a more future-proof way to keep track of explicitly paused audio
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11187 387891d4-d844-0410-90c0-e4c51a9137d3
2014-12-04 16:39:40 +10:00
Goober5000
2f734daf0d
when the game returns from a paused state, don't unpause the music paused by sexp
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11185 387891d4-d844-0410-90c0-e4c51a9137d3
2014-12-03 20:31:32 +10:00
Goober5000
435b078157
Yarn's patch for Mantis #3107 (Parts of the interface code assume a font size of 10)
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11082 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-25 16:40:34 +10:00
niffiwan
3052565490
Revert "Silence GCC warning variable ‘max_size’ set but not used"
...
Based on chief1983's comment that this code is still used, I'll take
the safer route of just telling gcc to shaddupaboudit
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11029 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-09 20:37:02 +10:00
niffiwan
1a3336e9bd
Silence GCC warning variable ‘max_size’ set but not used
...
Code seems redundant as dscap_get_raw_data checks for a max size
anyway. And AFAIK the entire voice capture code is non-functional anyway
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11017 387891d4-d844-0410-90c0-e4c51a9137d3
2014-08-23 13:05:06 +10:00
Echelon9
255fef6e47
Address clang warning: unused variable
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10898 387891d4-d844-0410-90c0-e4c51a9137d3
2014-07-14 19:02:31 +10:00
chief1983
d2ffd40d67
Fix an assertion logic reversal in r10797, spotted by MageKing17.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10802 387891d4-d844-0410-90c0-e4c51a9137d3
2014-06-14 13:07:20 +10:00
Zacam
2db5a3b991
Fix for Mantis 2725: Beam sounds not panning correctly
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10798 387891d4-d844-0410-90c0-e4c51a9137d3
2014-06-14 13:07:20 +10:00
m_m
d84d9d31aa
Added multiple scripting features related to messaging as requested by Axem.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10756 387891d4-d844-0410-90c0-e4c51a9137d3
2014-06-06 16:51:18 +10:00
Goober5000
cf8c06f850
follow-up to r10734: in the event of any SND_F flags being added in the future, this is more future-proof
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10742 387891d4-d844-0410-90c0-e4c51a9137d3
2014-06-06 16:51:17 +10:00
Echelon9
ff38404cac
Fix Coverity 1093788 Uninitialized scalar variable - no need for bitwise AND when value is so far unset
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10734 387891d4-d844-0410-90c0-e4c51a9137d3
2014-06-02 18:29:59 +10:00
z64555
8d5fbab768
z64555's debug console. Take 2. Includes changes to most (not Xcode) project files to include the added files of r10621
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10622 387891d4-d844-0410-90c0-e4c51a9137d3
2014-05-08 19:18:37 +10:00
The_E
98355da7d5
Revert 10619: Missing files
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10620 387891d4-d844-0410-90c0-e4c51a9137d3
2014-05-08 19:18:36 +10:00
z64555
2b2ba832f8
z64555's debug console.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10619 387891d4-d844-0410-90c0-e4c51a9137d3
2014-05-08 19:18:36 +10:00
The_E
6e91857745
From Yarn: Fixes interface graphics scaling issues. If, for some reason, you want to have the interface graphics stretched, use the -stretch_menu commandline flag.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10544 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-30 12:39:54 +10:00
Goober5000
f3c902c39b
add wing_bash_ship_name, which handles the hash symbol thing, accommodates Blue Planet's capship trick, and works in FRED and while we're at it, do a little bit of const'ing
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10198 387891d4-d844-0410-90c0-e4c51a9137d3
2013-12-08 19:52:57 +10:00
niffiwan
0299c7e42b
fix gcc warning: [-Wreorder]
...
‘game_snd::flags’ will be initialised after ‘uint game_snd::signature’
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10055 387891d4-d844-0410-90c0-e4c51a9137d3
2013-11-17 20:24:42 +10:00
Goober5000
7e6cb331bf
game_snd has a STL field, so it is properly a class and consequently species_info needs to be a class as well
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10010 387891d4-d844-0410-90c0-e4c51a9137d3
2013-11-10 18:28:56 +10:00
Goober5000
138e6b853f
yeesh... a veritable cascade of const-correctness
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9783 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-13 20:18:32 +10:00
Goober5000
6ab03f2e2b
might as well remove this unnecessary temporary variable
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9528 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
niffiwan
37c132318a
Fix for mantis 2785: when unpausing sounds, use the previous volume, not the detault
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9527 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
Goober5000
a916633b46
onlyjob's spelling fixes, per Mantis #2777
2013-01-13 09:50:08 +00:00
IssMneur
bc713b68bb
Fixes mantis 2711. AudioStream handles are leaked under certain conditions.
...
AudioStream handles that were to destroy and fade would not if the stream was already finished or not started.
2012-09-12 02:41:08 +00:00
Echelon9
d919dc2cb2
Fix LLVM warning: Declaration shadows a field of 'LoopingSoundInfo'
2012-09-06 16:45:52 +00:00
IssMneur
76a889a027
Fixes 2266 by reverting ds_get_free_channel to retail
2012-08-16 04:42:21 +00:00
Goober5000
e541cf0180
m!m's modular sounds patch, with minor modifications
2012-07-29 07:35:37 +00:00
Echelon9
d029db7f88
GCC warning: statement has no effect (clearing this warning as it was prevalent throughout)
2012-06-13 14:18:56 +00:00
Goober5000
f36a76ff5b
the Microsoft documentation was misleading; there is a hidden "queued to speak" state
2012-05-21 05:24:47 +00:00
Goober5000
19fc7728ba
one more bit of const-correctness
2012-03-07 05:22:55 +00:00
Goober5000
75232cc2f3
const-correctness which will be useful for SCP_string
2012-03-06 03:41:57 +00:00
Valathil
21de0f9f73
Fixed the annoying OpenAL error messages in the log. AL_DOPPLER_FACTOR is only valid for alGet. Changed all instances to the correct alDopplerFactor.
2012-02-07 19:12:21 +00:00
Echelon9
bedaf72b94
Fix LoopingSoundInfo constructor, as reported by Goober
2012-01-22 09:30:01 +00:00
Echelon9
f0746c2524
LLVM Warning fix: This is a dead store to the value done_reading.
2012-01-21 06:10:45 +00:00
Echelon9
19ae6528e0
Cases of commented out Int3() indicate areas of old, redundant code.
2011-11-17 11:07:53 +00:00
Valathil
0fe89eedd4
Fixed min(0) and max(0) being recognized as macros on Windows
2011-11-05 19:42:29 +00:00
Echelon9
c852d3a466
Fix Mantis 2535: Game crashes in player select menu, patch from Eli2
2011-11-05 07:09:58 +00:00
Echelon9
6c9598b2ae
And found another offender of the STL capacity() / size() / reserve() type
2011-10-17 13:10:17 +00:00
Echelon9
8543045b15
STL types again. Some of these are just inefficient, like reserving one extra slot for each additional element, and then pushing that element onto the STL type
2011-10-17 13:07:24 +00:00
niffiwan
2713be7140
From Eli2: fix for mantis 2517: loop sounds are always at 100% volume locked and afterburner fade out sound not work
2011-10-09 11:10:13 +00:00
Echelon9
6d4f266e52
Use SCP_* types to access STL types wherever possible. This allows more complete memory monitoring
2011-10-03 09:06:56 +00:00
The_E
ca52181adb
From Eli2: Patch for Mantis 2489: adjust-audio-volume doesn't affect subspace
2011-10-02 11:08:41 +00:00