summaryrefslogtreecommitdiff
path: root/src/sound.cpp
AgeCommit message (Collapse)Author
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.
2007-04-04(svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. ↵belugas
The end of the preliminary work is near
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-01-11(svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the ↵KUDr
pointer to allocated memory instead of modifying the pointer given as parameter
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)