summaryrefslogtreecommitdiff
path: root/src/sound.cpp
AgeCommit message (Collapse)Author
2020-07-27Codechange: Spell 'Viewport' consistentlyTechGeekNZ
Some places in the codebase misspell 'Viewport' as 'ViewPort' or 'view_port'. This patch makes everything consistent.
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-03-19(svn r24052) -Fix (r23883) [FS#5107]: Imported GRF sounds were inserted into ↵frosch
the wrong slots.
2012-02-04(svn r23882) -Codechange: Delay parsing of NewGRF sound effects until first ↵michi_cc
usage.
2011-11-24(svn r23316) -Feature: Add ability to zoom in to 2x and 4x level.peter1138
2011-11-14(svn r23214) -Codechange: for base media sets pass the "search in tars" ↵rubidium
parameter to determine what to do
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)