Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-02-18 | TONY: Make GPL headers consistent in themselves. | Johannes Schickel | |
2014-01-15 | ALL: Remove optimization unstable code on checking for null after new. | D G Turner | |
These issues were identified by the STACK tool. By default, the C++ new operator will throw an exception on allocation failure, rather than returning a null pointer. The result is that testing the returned pointer for null is redundant and _may_ be removed by the compiler. This is thus optimization unstable and may result in incorrect behaviour at runtime. However, we do not use exceptions as they are not supported by all compilers and may be disabled. To make this stable without removing the null check, you could qualify the new operator call with std::nothrow to indicate that this should return a null, rather than throwing an exception. However, using (std::nothrow) was not desirable due to the Symbian toolchain lacking a <new> header. A global solution to this was also not easy by redefining "new" as "new (std::nothrow)" due to custom constructors in NDS toolchain and various common classes. Also, this would then need explicit checks for OOM adding to all new usages as per C malloc which is untidy. For now to remove this optimisation unstable code is best as it is likely to not be present anyway, and OOM will cause a system library exception instead, even without exceptions enabled in the application code. | |||
2013-08-02 | TONY: Add a hack to work around amigaos4 issues. | Alyssa Milburn | |
2012-11-12 | TONY: Cleanup whitespace formatting. | D G Turner | |
This is mainly removal of extraneous blank lines, reformatting indents to tab characters and other minor non-functional changes to improve compliance with Code Formatting Conventions. | |||
2012-10-26 | TONY: fix volumes of sound effects. | Giovanni Bajo | |
The game was using a logarithmic scale (through DirectSound) so we need a log->linear conversion to feed the mixer. | |||
2012-10-15 | TONY: Fix music bug - 2 songs played simultaneously eventually | Strangerke | |
2012-09-08 | TONY: Rename yet more variables. | Alyssa Milburn | |
2012-08-29 | TONY: Replace C-style comments by C++-style ones. | Strangerke | |
Also translate some more Italian comments | |||
2012-08-29 | TONY: Remove useless/commented music code. | Alyssa Milburn | |
2012-08-28 | TONY: Janitorial - remove trailing spaces | Strangerke | |
2012-08-28 | TONY: Fix some for and if statements with bad coding style | Strangerke | |
2012-08-25 | TONY: Reset _hEndOfBuffer when restarting sounds. | Alyssa Milburn | |
2012-08-23 | TONY: Fixed problem with spoken voices being clipped when timed text mode is on. | Paul Gilbert | |
2012-08-22 | TONY: Replace _vm with g_vm. | Alyssa Milburn | |
2012-06-23 | TONY: Bugfix for crash when changing scene whilst music is playing | Paul Gilbert | |
2012-06-23 | TONY: Bugfix for loading ambient music when restoring a savegame | Paul Gilbert | |
2012-06-20 | TONY: Replace the FPStream code. | Alyssa Milburn | |
This just removes the original code and replaces it with a quickly- written trivial implementation similar to clone2727's sfx code. It seems to at least sort of work. :-) | |||
2012-06-19 | TONY: Some bugfixes and cleanup for the music support code | Paul Gilbert | |
2012-06-19 | TONY: Added initialisation of FPSound fields in it's constructor | Paul Gilbert | |
2012-06-19 | TONY: Fix some compiler warnings in the newly added sound code | Paul Gilbert | |
2012-06-19 | TONY: Implement more of the music related code from the original | Paul Gilbert | |
2012-06-18 | TONY: Remove useless void in function declaration | Strangerke | |
2012-06-17 | TONY: Doxygen-ify comments in sound files | Strangerke | |
2012-06-16 | TONY: Translate comments in sound.cpp | Strangerke | |
2012-06-16 | TONY: Rename sound variables | Strangerke | |
2012-06-16 | TONY: Rename sound functions and class names | Strangerke | |
2012-06-12 | TONY: Fix looping some sounds | Matthew Hoops | |
2012-06-11 | TONY: Implemented process to properly set hEndOfBuffer when sound effects end | Paul Gilbert | |
2012-06-10 | TONY: Rewind sounds before playing them | Matthew Hoops | |
Fixes sounds in the menu | |||
2012-06-10 | TONY: Convert FPSFX to our mixer code | Matthew Hoops | |
Only thing missing is the hEndOfBuffer code, but this is a good start | |||
2012-06-09 | TONY: Make FPSOUND work in ScummVM | Matthew Hoops | |
2012-06-09 | TONY: Remove custom sound CODEC classes | Matthew Hoops | |
We already have our own raw PCM and IMA ADPCM classes that we will use | |||
2012-06-09 | TONY: Rework the way wave files are loaded | Matthew Hoops | |
We'll let our own sound code take care of the RIFF header | |||
2012-06-09 | TONY: Rename more globals | Strangerke | |
2012-06-07 | TONY: Some more renaming | Strangerke | |
2012-05-21 | TONY: Some more code formatting | Strangerke | |
2012-05-14 | TONY: Added endian fixes for reading data | Paul Gilbert | |
2012-05-14 | TONY: Remove original header | Strangerke | |
2012-05-13 | TONY: Further globals added to Globals class | Paul Gilbert | |
2012-05-13 | TONY: Beginnings of refactoring Globals into their own class | Paul Gilbert | |
2012-05-13 | TONY: Some further initialisation of object fields | Paul Gilbert | |
2012-05-12 | TONY: Removed old extern, PASCAL, and EXPORT function modifiers | Paul Gilbert | |
2012-05-11 | TONY: Refactored Tony to use the Common coroutine scheduler | Paul Gilbert | |
2012-05-09 | TONY: Refactored out usage of nullContext in favour of proper coroutines | Paul Gilbert | |
2012-05-09 | TONY: Completed bulk of initial coro refactoring | Paul Gilbert | |
2012-05-04 | TONY: Fixed many warnings identified by gcc | Paul Gilbert | |
2012-05-03 | TONY: Engine is now compiling and linking again | Paul Gilbert | |
2012-05-03 | TONY: Implemented methods of sound.cpp (mostly stubbed out) | Paul Gilbert | |
2012-04-30 | TONY: Added include files for graphics engine and all dependent classes | Paul Gilbert | |