summaryrefslogtreecommitdiff
path: root/sound.c
AgeCommit message (Collapse)Author
2006-11-19(svn r7219) -Fix: Several warnings by gcc introduced in r7206 which MSVC ↵Darkvater
found not of a problem. Thanks Tron
2006-11-18(svn r7205) -Fix [FS#350, SF#1560913]: Window allocation and deletion messed ↵Darkvater
with the actual window structs inside their array, and possibly invalidating pointers higher up. Meaning that any function called within an wndproc could cause unknown/invalid pointers once control was returned to this function. Solved by the introduction of an extra abstraction layer, an array of z-window positions that is only concerned with the pointers.
2006-11-05(svn r7065) Use simple assignment instead of memcpy()tron
2006-09-27(svn r6532) - Feature: Add support for NewGRF sound effects. Currently sound ↵peter1138
priority isn't supported.
2006-07-26(svn r5609) CodeChange : Apply coding stylebelugas
2006-05-25(svn r4975) - Codechange: increase the number of file handles from 32 to 64 ↵peter1138
(arbitrary powers of 2!) to allow more GRF files to be loaded.
2006-05-02(svn r4674) - Codechange: use correct parameter order for allocating sound ↵peter1138
file memory
2006-04-23(svn r4554) Replace magic numbers by TILE_{HEIGHT,SIZE}tron
2006-04-03(svn r4246) -Codechange. Replaced about 100 occurences of '16' by TILE_SIZEcelestar
2006-02-06(svn r3564) Several smaller changes:tron
- Don't treat non-booleans as booleans - Reduce variable scope - Bracing - Use DeMorgan's law to make conditionals easier to read - if cascade -> switch - Replace some magic numbers by symbolic names - Avoid assignments within other statements
2006-02-05(svn r3552) Remove the global variable _mixertron
2005-11-04(svn r3131) Enable panning of audio relative to screen position.peter1138
2005-08-28(svn r2898) Fix typo in r2897tron
2005-08-27(svn r2897) Check the return values of [cm]alloc and the length of an array, ↵tron
plus some smaller changes
2005-07-24(svn r2701) Insert Id tags into all source filestron
2005-07-22(svn r2673) Include functions.h directly, not globally via openttd.htron
2005-06-02(svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.Darkvater
2005-03-12(svn r2002) Rename MxActivate to MxActivateChannel, which is more appropriatetron
2005-03-12(svn r2000) Split the sound system into backend (mixer.[ch]) and frontend ↵tron
(sound.[ch])
2005-01-24(svn r1637) -Fix: VS6 warningdarkvater
-Added missing files to VS6 and VS.Net project files (bociusz)
2005-01-07(svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn ↵tron
the latter into inline functions names Tile[XY]
2004-12-15(svn r1117) Move map arrays and some related macros into their own files ↵tron
map.c and map.h
2004-11-05(svn r513) Merge revisions 402, 416, 417, 478, 479, 511, 512 from map to trunktron
This includes 2 fixes -Fix: [1048596] Monorail and Maglev sounds are swapped (r511) -Add special case to load the jackhammer sound (r478) The rest are cleanups und enumeration to make merging possible/easier
2004-09-10(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!truelight
2004-08-09(svn r1) Import of revision 975 of old (crashed) SVNtruelight