portej05
98f337f701
safe_strings - from Antipodes build #1
2009-07-27 16:06:24 +00:00
portej05
6a8d45c93d
Replace most instances of std::vector with SCP_vector. Memory is now all run through vm_malloc and vm_free.
...
Watch it go up AND down in mission.
2009-07-11 07:07:57 +00:00
portej05
719825f80d
The big CVS comment removal. This chops approx. 3.5mb off a full checkout.
...
I've tested this through compiling and through hand checking.
Normalises line endings in ALL files to \n.
2009-06-20 08:08:20 +00:00
karajorma
a4e623db23
Portej05's preFAST warning fixes.
2009-05-17 11:50:48 +00:00
Wanderer
e302a90a1e
add 'missing' casts
2009-03-06 15:08:16 +00:00
WMCoolmon
ddf75fc7e0
Final scripting, camera code updates.
2008-08-30 11:05:48 +00:00
taylor
461922f046
some minor mprintf() cleanup
2008-03-28 03:32:38 +00:00
taylor
390b00d52f
use strrchr() to be sure that we get the last occurance of any "." (Mantis #1587 )
2008-03-28 02:18:59 +00:00
taylor
1240bc9258
properly handle invalid sound index case, fixes div-by-0 error
2007-05-11 03:14:02 +00:00
taylor
27b25d8e12
support for new finding/loading of sound files
...
add support for automatically figuring out samples-per-measure based on Goober's explanation in the Wiki (not sure if it's actually right though)
remove NO_SOUND
2007-02-11 09:56:25 +00:00
wmcoolmon
83b502b302
Fix OGG bug where sound files were always allocated 16 seconds of wavedata
2006-10-06 04:58:25 +00:00
taylor
806027e4e8
various small compiler warning and strict compiling fixes
2006-09-11 01:00:28 +00:00
taylor
4a867fe2bc
require OpenAL 1.1 under Windows, I think it's causing problems for us to mix users with 1.0 and builds for 1.1
...
(having 1.0 is fatal to sound, but the game should still work, a corresponding Launcher change goes with this too)
clean up some of the error messages to not say "DirectSound" is doing this or that, just say "Audio" instead
2006-07-08 18:10:59 +00:00
Goober5000
7e41877b7b
proper capitalization according to Volition
2006-04-20 06:32:30 +00:00
taylor
ac19ddcadb
address out-of-bounds issues for Sounds[] when unloading
2006-03-22 21:42:55 +00:00
taylor
222a225eb8
I never did really like the old audiostr OpenAL change here, this just seems safer
...
initialize si->data and si->size before loading sound buffer (fixes OGG issue for plats that don't zero-initialize <vector>, this will be handled differently in the new code)
2006-02-16 05:47:32 +00:00
Goober5000
8ab1cf65a9
reordered #include files to quash Microsoft warnings
...
--Goober5000
2006-01-20 07:10:34 +00:00
taylor
7032e999c8
fix crashes and minor slowdowns when sound is disabled (-nosound)
2005-10-23 19:08:01 +00:00
Goober5000
d1ade71cc3
get rid of a whole bunch of Microsoft warnings
...
--Goober5000
2005-09-24 02:40:10 +00:00
taylor
36005939b2
an extra bounds check in sound.cpp
...
fix audiostr error when filename is !NULL but 0 in len might hit on SDL debug code
2005-05-24 03:11:38 +00:00
phreak
10ef1ffbae
fix out of bounds error
2005-05-23 04:58:43 +00:00
taylor
d09574c403
don't let the ogg callbacks close the file handle on us, let us do it ourselves to keep things straight
2005-05-15 06:47:57 +00:00
phreak
e92d2c5590
fixed an out-of-bounds array bug
2005-05-14 21:34:17 +00:00
taylor
3f6e13d20b
use vm_malloc(), vm_free(), vm_realloc(), vm_strdup() rather than system named macros
...
fixes various problems and is past time to make the switch
2005-05-12 17:49:18 +00:00
taylor
ccbda0a839
some extra checks to make sure we don't act on invalid gamesnds (fix for WCS)
2005-04-18 03:31:27 +00:00
taylor
5288098d1c
div-by-zero fix for snd_time_remaining()
2005-04-15 11:28:41 +00:00
taylor
31d59d3c11
remove acm-unix.cpp, replaced by acm-openal.cpp since it's properly cross-platform now
...
better error handling for OpenAL functions
Windows can now build properly with OpenAL
extra check to make sure we don't try and use too many hardware bases sources
fix memory error from OpenAL extension list in certain instances
2005-04-05 11:48:23 +00:00
taylor
7f786136a6
s/vector/vec3d/g, better support for different compilers (Jens Granseuer)
2005-04-05 05:53:25 +00:00
taylor
ba3b396747
fix hanging on exit with OpenAL
...
some better error handling on OpenAL init and make it more Windows friendly too
basic 3d sound stuff for OpenAL, not working right yet
2005-04-01 07:33:08 +00:00
taylor
29c36b04e9
fix to snd_time_remaining() to make sure we are getting the correct index into Sounds[]
2005-03-28 00:40:09 +00:00
taylor
c253042a4a
make sounds.tbl dynamic
...
have snd_time_remaining() be less stupid
some OpenAL error fixerage
be able to turn off some typically useless debug messages
2005-03-24 23:27:26 +00:00
wmcoolmon
13772825dc
Hopefully this will fixx0r Num_sounds
2005-03-14 23:31:54 +00:00
wmcoolmon
4840896a10
Whoops, this isn't needed.
2005-03-14 06:38:31 +00:00
wmcoolmon
eaa70ac0b1
Made sounds dynamically allocated
2005-03-14 06:33:38 +00:00
wmcoolmon
02e75ddd49
Merge of WMC's codebase. "Features and bugs, making Goober say "Grr!", as release would be stalled now for two months for sure"
2005-03-03 06:05:32 +00:00
taylor
bf40c2ebff
merge with Linux/OSX tree - p0202
2005-02-02 10:36:23 +00:00
wmcoolmon
42c5d6978d
Sound quality in Freespace 2 is now controlled by SoundSampleBits, and SoundSampleRate. Also, some sounds will use hardware rather than software buffers if available.
2005-01-08 10:00:59 +00:00
wmcoolmon
89e3aae940
Ogg support for WIN32
2004-12-25 00:23:46 +00:00
Kazan
864e1b5922
remove MCD complete
2004-07-26 20:47:56 +00:00
Kazan
428b3dcbc9
MCD - define _MCD_CHECK to use memory tracking
2004-07-12 16:33:09 +00:00
bobboau
69aa1db7ab
high level index buffer suport and d3d implementation,
...
OGL people need to get this working on your end as it's broke now
2004-06-28 02:13:08 +00:00
wmcoolmon
b1ab3f347f
Nonworking OGG support for sound (not music) added, disabled load-only-used-weapons code, modification to sound system registry code.
...
OGG code has been commented out, so you don't need the SDK yet.
2004-06-22 23:14:10 +00:00
wmcoolmon
ed78b00a8d
Only used weapons paged in instead of all, fixed music box in FRED, sound quality settable with SoundSampleRate and SoundSampleBits registry values
2004-06-18 04:59:55 +00:00
Goober5000
7ef2ab2e39
Uber pass at reducing #includes
...
--Goober5000
2004-03-05 09:02:13 +00:00
penguin
b64f4d9312
Use multimedia headers in local dir, not system's (headers are not present in MinGW distribution)
...
- penguin
2003-03-02 06:37:24 +00:00
penguin
0c503be8d1
The big include file move
2002-08-01 01:41:11 +00:00
penguin
3463682f1a
Back-port to MSVC
2002-07-07 19:56:00 +00:00
penguin
8f92eebd34
Warpcore CVS sync
2002-06-03 04:10:40 +00:00
penguin
663b3471b9
Volition sources -- warpcore CVS import
2002-06-03 03:26:03 +00:00