summaryrefslogtreecommitdiff
path: root/src/sound.cpp
AgeCommit message (Collapse)Author
2009-12-22(svn r18608) -Change: add the concept of music setsrubidium
2009-10-04(svn r17698) -Fix (r17140) [FS#3205]: Convert endian after loading sounds ↵frosch
from file.
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-20(svn r17596) -Codechange: constify some tablessmatz
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-20(svn r17241) -Change: make a distinction between missing and corrupted data ↵rubidium
files. If (at least) one data file is missing do not consider the set to be useable. Do also no autodetect sets with missing files.
2009-08-10(svn r17146) -Codechange: improve the sample rate conversion a bitrubidium
2009-08-10(svn r17142) -Fix [FS#3103] (r17139): MSVC didn't like some template stuffrubidium
2009-08-09(svn r17140) -Change: allow higher sample rate and higher quality samples. ↵rubidium
Based on work by orudge.
2009-08-09(svn r17139) -Change: add the concept of sound setsrubidium
2009-07-13(svn r16805) -Codechange: Remove 'unused' mixer channel flags, which always ↵peter1138
had the same value.
2009-05-17(svn r16344) -Codechange: s/FileEntry/SoundEntry/rubidium
2009-05-17(svn r16341) -Codechange: just use a static array instead of a never freed ↵rubidium
malloc
2009-05-17(svn r16340) -Codechange: introduce SoundID (uint16) and use that instead of ↵rubidium
SoundFX, which was used as a byte and uint16 at different places, when the uint16 sound ID is meant.
2009-05-17(svn r16337) -Codechange: remove pointless variable + wrapper function; ↵rubidium
having it return anything else than ORIGINAL_SAMPLE_COUNT is asking for NewGRFs failing to load (due to invalid sample index), thus desyncs
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-11(svn r15672) -Codechange: (left,right,top,bottom)_coord -> ↵rubidium
coord.(left,right,top,bottom), i.e. use Rect.
2009-02-24(svn r15568) -Cleanup: *allocT/AllocaM doesn't return NULL when allocating failssmatz
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-21(svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map.Yexo
2009-01-06(svn r14880) -Codechange: make it clear which way the FOR_ALL_WINDOWS goes ↵rubidium
(from back to front or vice versa) and make it iterate over the Window* instead of Window**.
2008-10-25(svn r14527) -Fix: allocate stub (empty) sound entries when loading an ↵rubidium
empty/corrupt/incorrectly sized sample.cat instead of making valid NewGRFs fail to load.
2008-08-31(svn r14199) -Codechange: split fileio.h into fileio_type.h and ↵rubidium
fileio_func.h so not everything that includes saveload.h needs to include everything else too.
2008-06-17(svn r13551) -Codechange: store offsets to different zoom levels in a ↵smatz
distinguished struct instead in the data stream for 8bpp-optimized
2008-05-27(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.rubidium
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-04-19(svn r12787) -Documentation: add/fix documentation of some functions. Patch ↵rubidium
by Alberth.
2008-04-07(svn r12619) -Codechange: lots of documentation about window related stuff. ↵rubidium
Patch by Alberth.
2008-02-19(svn r12186) -Fix [FS#1784](r12169): assert when trying to play tile sound ↵smatz
at NW border of map (placing buyos, leveling land)
2008-02-18(svn r12176) -Codechange: one division less when playing sounds (patch by ↵smatz
Dominik)
2008-02-17(svn r12169) -Change [FS#1696]: play sounds when there is only small part of ↵smatz
tile/vehicle visible too (original idea by Dominik) It improves the game appearance when playing with very small screen resolution
2008-01-29(svn r12009) -Fix [FS#1707]: Avoid loading sample.cat if it 'looks' ↵peter1138
incorrect, and avoid later null pointer dereferences by moving volume lookup deeper.
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium
2007-12-29(svn r11719) -Codechange: split sound.h in a header with types and one with ↵rubidium
functions.
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-26(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split ↵rubidium
map.h).
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-25(svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵rubidium
it is really needed.
2007-12-19(svn r11667) -Codechange: split window.h into a header that defines some ↵rubidium
'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
2007-12-17(svn r11656) -Codechange: add ZOOM_LVL_BEGIN and postfix operators so ↵smatz
ZoomLevel can be used in some iterations
2007-11-24(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them ↵skidd13
fitting to the naming style
2007-11-19(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit ↵skidd13
with the coding style
2007-10-29(svn r11355) -Fix [FS#1377]: loading too many GRFs was not handled ↵rubidium
gracefully causing crashes and such.
2007-09-15(svn r11118) -Fix: sample.cat can now be in a tar-file too, how nice!truelight
2007-09-13(svn r11095) -Codechange: don't abuse 'file_pos' by storing the file_slot in ↵truelight
it too, but use a nice seperate variable for it -Note: on a side-note, this allows files bigger than 16+ MiB, needed for tar-support
2007-06-13(svn r10138) -Fix: when you got a sufficiently small resolution, there is a ↵rubidium
possibility for a division by zero when a sound is played.
2007-06-11(svn r10093) -Revert: removed 16x zoom-out as it is broken beyond repairtruelight
2007-05-19(svn r9885) -Fix r9846: some last bitshifts with zoom-levels that were forgottentruelight
-Fix r9846: initialize the zoom level for 'screen', as assuming 0 is not correct
2007-05-15(svn r9846) -Codechange: introduced ZOOM_LVL_MIN and ZOOM_LVL_MAX for the ↵truelight
obvious reasons -Codechange: introduced ZOOM_LVL_DETAIL to show/remove details -Codechange: changed << and >> operator with ZoomLevel to a simple wrapper (that in theory also allows zoom-in besides the current zoom-out) -Fix r9845: missed some int -> ZoomLevel
2007-04-12(svn r9609) -Codechange: Move some function prototypes out of functions.h ↵maedhros
and into landscape.h, and add a few where they didn't exist.