Commit graph

23 commits

Author SHA1 Message Date
Steven Fuller
edfaaf9b96 updated sound code. pitch code needs recent openal cvs. 2019-08-20 02:22:37 +02:00
Steven Fuller
d3d12c5f46 leftover sound changes 2019-08-20 02:22:37 +02:00
Steven Fuller
553fa56442 misc changes 2019-08-20 02:22:37 +02:00
Steven Fuller
08545b98c6 Cleanups (Tim Beckmann) 2019-08-20 02:22:37 +02:00
Steven Fuller
080430b3bd Redid the most of the file loading/saving. Now uses $HOME/.avp/ and
$AVP_DIR to look for files.
2019-08-20 02:22:37 +02:00
Steven Fuller
a2d3afb314 Better error checking in winapi.c. (Tim Beckmann)
Keep track of profile timestamps. (Tim Beckmann)

Implemented a few other missing bits.
2019-08-20 02:22:37 +02:00
Steven Fuller
aff53cc9ba Disable sound, not crash, when OpenAL init fails. 2019-08-20 02:22:37 +02:00
Steven Fuller
790a20ef7c Silenced most of the debug messages.
Vidmode changing should work now.
2019-08-20 02:22:37 +02:00
Steven Fuller
9f006f18fe Many warnings cleaned up (Tim Beckmann)
Menus.
2019-08-20 02:22:36 +02:00
Steven Fuller
7ef81cbc6e More work on menus. 2019-08-20 02:22:36 +02:00
Steven Fuller
ea23e5a1bb Documented -DREGULAR_EDITION
Disabled the sound printfs for now.
2019-08-20 02:22:36 +02:00
Steven Fuller
47dfa780d5 Fix stupid mistake: accidently had volume changing commented out 2019-08-20 02:22:36 +02:00
Steven Fuller
b7e1c7cb2f Documentation updates. 2019-08-20 02:22:36 +02:00
Steven Fuller
1aed07b16a Tried to get OpenAL panning to work. 2019-08-20 02:22:36 +02:00
Steven Fuller
95977a17d4 Month old OpenAL changes (Pitch changing, currently disabled). 2019-08-20 02:22:36 +02:00
Steven Fuller
35d91a5da3 Added AvP-Style attenuation code. 2019-08-20 02:22:36 +02:00
Steven Fuller
e49862a2d2 Fixed compilation with GCC 3.0.
Fixed invalid cast (ushort * -> uint *) in openal.c.
2019-08-20 02:22:36 +02:00
Steven Fuller
241e98c3d8 Basic 3D sound fixed. 2019-08-20 02:22:36 +02:00
Steven Fuller
14d3cc45bc Fixed sound length and looping. (Setting looping on a source must be done
after setting the buffer)
2019-08-20 02:22:36 +02:00
Steven Fuller
48c6088c27 Fixed common sound loading. Still debugging OpenAL code. 2019-08-20 02:22:36 +02:00
Steven Fuller
c7d772650f More OpenAL changes (Chuck Mason). 2019-08-20 02:22:36 +02:00
Steven Fuller
0200ee9777 Checking in basic OpenAL support (Chuck Mason).
Don't default to fullscreen for now.
2019-08-20 02:22:36 +02:00
Steven Fuller
f169c0479c Moved psndplat stubs to a separate file. 2019-08-20 02:22:36 +02:00