summaryrefslogtreecommitdiff
path: root/src/sound.cpp
AgeCommit message (Collapse)AuthorFilesLines
2010-09-25Merge branch '1.0'Thorbjørn Lindeijer1-8/+2
Conflicts: src/actorspritemanager.h src/beingmanager.cpp src/game.cpp src/gui/beingpopup.cpp src/gui/chat.cpp src/gui/chat.h src/gui/inventorywindow.h src/gui/itempopup.cpp src/gui/socialwindow.cpp src/gui/statuswindow.cpp src/gui/widgets/chattab.cpp src/gui/widgets/chattab.h src/net/tmwa/inventoryhandler.cpp src/net/tmwa/partyhandler.cpp src/party.cpp src/sound.cpp src/utils/stringutils.cpp src/utils/stringutils.h
2010-09-13Avoid loading non-existing music and minimapsStefan Dombrowski1-6/+1
Reviewed-by: Thorbjorn
2010-09-09Fixing sound effectsStefan Dombrowski1-2/+1
The sound effects did not get played, because the path was wrong. Reviewed-by: Turmfalke
2010-07-28Centralized configuration default values using the VariableData system.Yohann Ferreira1-3/+3
Please note that I didn't turned all the getValue() call into new ones, simply because I have to have config object initiated which is not forcefully the case the branding file. Resolves: Manasource Mantis #170.
2010-07-11Made the different hard-coded paths and files be now taken from theYohann Ferreira1-2/+7
data/paths.xml configuration file. Also added default gui theme path in branding and default wallpaper path and file searched respectively in the branding and paths.xml files. Hard-coded values are still used as fallbacks. Resolves: Manasource Mantis #148. Reviewed-by: jaxad0127.
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-07Updated Copyright year to 2010!Bertram1-1/+1
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2010-01-10Change code styleAndrei Karas1-8/+12
2009-04-18Removed superfluous include of physfs.h from sound.cpp (remnant of an ↵Philipp Sehmisch1-1/+0
earlier solution)
2009-04-16Merge branch '0.0.29'Bjørn Lindeijer1-1/+1
2009-04-16Some more cleanupsBjørn Lindeijer1-1/+1
Nothing in particular worth mentioning.
2009-04-16Renamed ResourceManager::moveFile to ResourceManager::copyFile and catched ↵Philipp Sehmisch1-2/+7
error when it fails.
2009-04-16Added support for playing music in zip files.Philipp Sehmisch1-1/+13
2009-04-14Cleanup of Sound class, fixing restoring of volumes and musicBjørn Lindeijer1-49/+72
While a previous commit fixed the restoring of music of the current map in the setup window, this commit makes sure that the Sound class itself will resume a previously playing song when it is re-initialized. Other fixes: * Restore the correct volumes when enabling sound * Play the right audio track during login * Specify which font to use for bold text
2009-04-09Some random cleanupsBjørn Lindeijer1-12/+18
2009-02-11Removed many pointless comparisons with NULLBjørn Lindeijer1-4/+4
Sometimes it's nice for clarity, but most of the time this is just clutter. C++ != Java. :)
2009-01-23Removed unnecessary references to The Mana World in code headersBjørn Lindeijer1-4/+4
This dates back to the old days of TMW, but the usage instructions of GPLv2 don't mention this being necessary. Since it doesn't add anything, avoid the branding in these sections.
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-4/+2
statements, as well as removing the new skill dialog, which we do not, nor will we use (if we do, it'd be a new one that we'd make). WARNING!!! This, and all other previous builds have a linker error for the Gnome libraries version 4.3.2 on my setup. It's assumed that this is also the case for other users of this library as well. I'm currently assuming that there's a bug in the compiler itself, and will look into reporting this, but in the mean time, it doesn't build for these users, unfortunately. Sorry about this.
2008-07-18Import of client treeLloyd Bryant1-1/+1
2008-02-18Forgot a %sEugenio Favalli1-1/+1
2008-02-18Fixed image name.Eugenio Favalli1-1/+2
2008-01-14ixed an error in Davids last commit (couldn't compile that way).Philipp Sehmisch1-2/+3
2008-01-13Fixed non-default location music loadingDavid Athay1-1/+3
2007-09-27Merged another bunch of changes from trunk to 0.0 to reduce the difference.Bjørn Lindeijer1-7/+9
2007-09-20Merged a bunch of small changes from trunk to 0.0 and set svn:eol-style Bjørn Lindeijer1-1/+1
to native for some files that were still missing this property. This is a feeble attempt to reduce the amount of conflicts for future merges.
2006-12-03Don't try to play empty strings as sounds, and don't return a SoundEffectBjørn Lindeijer1-3/+3
instance when Mix_Chunk loading failed.
2006-03-09Made all class members named like mClassMember.Björn Steinbrink1-30/+30
2005-10-09* Made Sprite into an interface implemented by both FloorItem and Being, whichBjørn Lindeijer1-1/+1
hook themselves into the map on construction. The improved fringe layer is working as expected now. * Made sure TMW compiles without warnings even when using "-Wconversion -Wshadow -Wcast-qual -Wwrite-strings -ansi -pedantic", lots of cleanups. * Added two new small tilesets that contain the desert tiles that are twice and three times the height of a normal tile. One well in new_3-1 has been converted to use the new double tiles for testing purposes.
2005-09-23Merged most of the changes in biggeruniverse's second memory cleanup patch.Bjørn Lindeijer1-2/+2
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-0/+4
2005-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer1-1/+1
2005-05-27autoTarget is now a Being*, also may have fixed related crash and added labelBjørn Lindeijer1-4/+5
to show current target.
2005-05-02Made config.xml, tmw.log and chatlog.txt always appear in ~/.tmw on *nix.Bjørn Lindeijer1-17/+17
2005-04-26Changed keyboard control to integrate better with mouse walk, changed locationBjørn Lindeijer1-22/+22
of packet.list and chatlog.txt and removed name from player chat "balloon".
2005-04-16- Readding stripping to executable (Dev-cpp project options)Eugenio Favalli1-43/+2
- New slider skin - Some updates to win32 compile guide - Cleaned sound engine - Improved setup window (need testing)
2005-04-14Fixed pixel alignment error in playerset that was just introduced, and fixedBjørn Lindeijer1-2/+13
initialization and cleanup in sound engine (solved crash at least in case of no sound).
2005-04-11Improving sound engine (now it loads samples through resource manager)Eugenio Favalli1-85/+155
and support music fading (still somthing to fix)
2005-04-07* Fixed crash on exit when trying to delete listbox that wasn't created.Bjørn Lindeijer1-2/+2
* Disabled Ok button in Buy and Sell dialog when amount is 0 * Corrected the three known map bugs
2005-04-06Adding some debug infos to the sound engineEugenio Favalli1-3/+13
2005-04-06Following a suggestion from the SDLEugenio Favalli1-2/+5
irc channel to fix sound rcash bug.
2005-04-03Added playing hardcoded background song during login, stops when game starts.Bjørn Lindeijer1-1/+6
2005-03-24Logger Implemented. (3/3)Yohann Ferreira1-8/+9
2005-03-16Advanced version to 0.0.11, updated desert tilesets and made sound code log aBjørn Lindeijer1-36/+18
bit more.
2005-03-13* Moved Being public char *speech to private std::string speechBjørn Lindeijer1-3/+2
* Moved Being public PATH_NODE *path to private std::list<PATH_NODE> path * Fixed warping issue which corrupted player (which also applies to respawning) * Got rid of sound error in Setup window
2005-02-21Added parameter names in header.Bjørn Lindeijer1-1/+1
2005-02-21Updates to change log, file lists, lots of doxygen comments and small changes.Bjørn Lindeijer1-83/+4
2005-02-13Largely cleanups.Bjørn Lindeijer1-0/+247