04650efe7a
Lots of gcc -Wall fixes. The common ones:
...
- switch() statements don't handle all values in an enum
- missing \n at end of file
- non-virtual destructors in classes containing virtual functions
- order of initializers in constructor initializer lists
... some other stuff (signedness, nested comments, unused variables) as
well.
This was SVN commit r2864.
2005-10-07 15:24:29 +00:00
3c9ad073bc
minor error reporting / wording changes while cruising through.
...
This was SVN commit r2691.
2005-09-08 01:48:57 +00:00
4aa740bff5
- split up lib/res into file, graphics and sound.
...
- wposix.cpp: initial support for MEM_RESERVE and MEM_COMMIT semantics
in mmap
- cstr: removed no longer necessary serialization header
- xmlutils: wrap new() calls in nommgr/mmgr; allows tracking other
allocs in this file.
- add u64_from_u32
- various minor comments/improvements.
This was SVN commit r2604.
2005-08-12 17:06:53 +00:00
a69ac0dee9
- fix w4 warnings
...
- add convenience macros for config_db(CFG_GET_SYS_VAL)
- VFSUtil::EnumDirEnts now uses flags instead of bool recursive
- UNUSED() for params, UNUSED2 (<- need better name) for variables
- config.h defines must be tested with #if (always defined) -> allows
detecting misspellings thanks to compiler warnings
- replace debug_assert(0) with debug_warn (its sole purpose)
- replace ScriptingHost::ValueToInt et al with ToPrimitive
- use nommgr.h to disable both mmgr and VC debug heap
This was SVN commit r2585.
2005-08-09 15:55:44 +00:00
c0b4abafb6
main: slight bugfix: typo -> compiler optimizations were left disabled instead of only temporarily.
...
JSI_Sound: add special case to prevent exceptions from being thrown when
sound is disabled via quickstart
This was SVN commit r2486.
2005-07-15 17:58:27 +00:00
ec6b78b252
rename assert2 debug_assert; use instead of all plain assert(), since there are no longer any issues (e.g. can't use while handling an exception)
...
This was SVN commit r2447.
2005-06-28 04:06:25 +00:00
fd4eb91e93
debug_out -> debug_printf; MICROLOG moved to ps/Pyrogenesis.h
...
This was SVN commit r2285.
2005-05-11 18:56:30 +00:00
28b92f3c43
add error handling: recover and return false if file not found
...
This was SVN commit r2264.
2005-05-09 17:10:52 +00:00
748e8d50e8
remove suspicious #undef free. if that was due to conflict with mmgr, #include "nommgr.h" instead.
...
This was SVN commit r2222.
2005-05-03 05:06:06 +00:00
11419fc1fe
add pitch shift capability to snd.cpp and JS binding
...
This was SVN commit r1977.
2005-03-09 16:17:26 +00:00
38b30e5eb4
Corrected ICC errors and some warnings. Removed some unnecessarily verbose logging. Did minor things.
...
This was SVN commit r1718.
2005-01-13 00:17:31 +00:00
6539cfc935
Playlist now uses VFS.
...
This was SVN commit r1504.
2004-12-15 14:25:09 +00:00
196229add7
add JS sound binding interface rationale
...
This was SVN commit r1474.
2004-12-08 13:10:11 +00:00
77196dbe06
less dependencies on res/res.h in headers (a bad thing) => less recompiles when I change vfs.h :)
...
This was SVN commit r1467.
2004-12-07 02:04:38 +00:00
30ad195c0b
Linux/GCC Compat
...
This was SVN commit r1393.
2004-11-23 23:56:10 +00:00
daab6788b9
add SetPosition and SetGain wrappers. untested
...
This was SVN commit r1366.
2004-11-20 21:32:00 +00:00
MarkT
d30e10042f
Minor changes to sound-script interface.
...
This was SVN commit r1332.
2004-11-15 22:30:01 +00:00
c3a331b73f
add JS sound binding
...
This was SVN commit r1328.
2004-11-15 18:23:39 +00:00
022964c43b
moved low-level sound code to res/snd.cpp. CMusicPlayer is now an empty shell, pretty much; it will contain higher-level music logic (selecting track, fading in/out) implemented via snd calls
...
This was SVN commit r1164.
2004-09-19 16:01:41 +00:00
9cd4cab693
A few log categories
...
This was SVN commit r994.
2004-08-15 20:57:31 +00:00
4e7b132bfd
sound/music player now responsible for calling oal_Init, due to delay-loading.
...
This was SVN commit r985.
2004-08-12 17:32:37 +00:00
1768ccded3
Miscellaneous GCC fixes
...
This was SVN commit r948.
2004-08-09 16:44:08 +00:00
778862f429
Opening a second music file now closes (rather than leaks) the first
...
This was SVN commit r925.
2004-08-06 15:04:16 +00:00
aa1c08f6be
Fixed double negative (#ifndef NDEBUG), to choose debug/release Vorbis libraries correctly
...
This was SVN commit r911.
2004-08-05 13:02:23 +00:00
5bc8cb1ddb
when something goes wrong, LOG instead of exit
...
This was SVN commit r900.
2004-08-05 02:14:00 +00:00
aff7bd83e6
Some logging and more detailed error reporting
...
This was SVN commit r864.
2004-07-31 15:56:18 +00:00
36c502713b
Used mem_free_h on the Handle returned by vfs_load
...
This was SVN commit r842.
2004-07-29 16:12:27 +00:00
4b4146e4a9
some cleanup and a little bit more robust
...
This was SVN commit r836.
2004-07-28 18:00:44 +00:00
00420a8815
fix some minor warnings
...
This was SVN commit r834.
2004-07-28 15:07:54 +00:00
2dce89b1f9
integrated (add oal and VFS bindings)
...
This was SVN commit r833.
2004-07-28 12:08:49 +00:00
2bd2dfd6ab
Minor changes to make the sound code compile without any errors
...
This was SVN commit r802.
2004-07-22 13:24:03 +00:00
kezz
ec978d968d
no message
...
This was SVN commit r789.
2004-07-21 02:04:20 +00:00