summaryrefslogtreecommitdiff
path: root/src/sound.cpp
AgeCommit message (Collapse)Author
2011-11-04(svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z ↵rubidium
related variables
2011-11-04(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ ↵rubidium
functions if they return the Z in pixels (like TilePixelHeight)
2011-09-02(svn r22874) -Fix [FS#4747]: Check size of various buffers before ↵michi_cc
allocation. (monoid)
2011-08-24(svn r22825) -Codechange: pass subdir to FioOpenFilerubidium
2011-03-05(svn r22202) -Codechange: make MusicFileSettings a proper citizen of the ↵rubidium
client settings
2011-01-02(svn r21698) -Fix: incorrectly named global variablerubidium
2010-04-12(svn r19614) -Codechange: "it's" => "its" where appropriatesmatz
2010-03-06(svn r19332) -Codechange: Simplify sound panning by using float data, and ↵peter1138
switch to sinusoidal algorithm to maintain output level.
2010-02-22(svn r19211) -Change: allow sound sets without a sample.cat file (blathijs)yexo
2010-02-22(svn r19206) -Add: concept of fallback base sets, i.e. do not automatically ↵rubidium
load the NoMusic/NoSound sets when there is another set
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
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.