summaryrefslogtreecommitdiff
path: root/src/sound.h
AgeCommit message (Collapse)AuthorFilesLines
2012-08-14Can now build using cmake on OSXSocapex1-4/+0
Tested-by: Frost.
2012-02-18Added notification sound on receiving whisperThorbjørn Lindeijer1-0/+9
One of the sound channels is reserved for notification sounds, of which the volume can be configured separately. Currently, the only notification sound that is played is for receiving whispers. That can be extended later. The newmessage.ogg sound used currently is the one for receiving a message with the Psi instant messenger. Parts of this patch are based on the new message notification in ManaPlus. Reviewed-by: Erik Schilling
2012-02-10Arbitrary small code cleanupsThorbjørn Lindeijer1-1/+1
Reviewed-by: Erik Schilling
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2012-01-24Stream music files directly from the archivesThorbjørn Lindeijer1-10/+12
Use Mix_LoadMUS_RW to stream music files directly from PhysFS. I kept around ResourceManager:copyFile for now, since it may have other uses. Also cleaned up some initialization of configuration defaults. Reviewed-by: Yohann Ferreira
2011-12-02Mac: Change to local SDL inclues.David Athay1-1/+1
2011-04-26Made the client use a unique kind of movement code.Yohann Ferreira1-2/+2
This is fixng many issues and (hopefully) will make the movement rendering much smoother. Merge branch 'master' of gitorious.org:~bertram/mana/mana-movement-code-merge Conflicts: src/being.cpp src/net/manaserv/beinghandler.cpp Resolves: TMW-Mantis #946. Reviewed-by: Thorbjorn.
2011-04-11Implemented a simple non-blocking fadeOutAndPlay system.Yohann Ferreira1-3/+25
It's currently used when changing maps. Resolves: TMW-Mantis: #750. Reviewed-by: Thorbjorn.
2011-03-15Basically merged the two movement algorithms into one.Yohann Ferreira1-2/+2
This was made in favour of the manaserv way of doing things. I also added a way to keep the original server speed value so the pixel value can be recomputed at each map change, as this was necessary since the speed is given before the first map is loaded. The code is much more simpler now about movement handling, and we can already see improvements on other characters movements in The Mana World with this. Everything can't be perfect the first time; here are bugs identified so far: - Monsters direction isn't updated on TmwAthena for obscure reasons. - Remote players walking animation is sometimes reset on each steps. - When changing map, the local player sometimes walks randomly until the player reacts. Stay tuned!
2011-01-11Added a distance based positional sfx sound system. Thanks to 4144.Yohann Ferreira1-1/+3
Based on: http://gitorious.org/manaplus/manaplus/commit/ef7f53e43ce4306080efae3b86443a6016a3e66a Resolves: TMW-Mantis #536 Reviewed-by: 4144.
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 )
2009-04-14Cleanup of Sound class, fixing restoring of volumes and musicBjørn Lindeijer1-21/+11
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-9/+2
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-0/+2
This merge involved major changes on both sides, and as such took several weeks. Lots of things are expected to be broken now, however, we now have a single code base to improve and extend, which can be compiled to support either eAthena or tmwserv. In the coming months, the plan is to work towards a client that supports both eAthena and tmwserv, without needing to be recompiled. Conflicts: Everywhere!
2009-02-15Merge commit 'aethyra/master'Bjørn Lindeijer1-0/+4
Conflicts: CMakeLists.txt configure.ac data/help/header.txt packaging/windows/setup.nsi po/POTFILES.in src/being.cpp src/being.h src/game.cpp src/gui/color.cpp src/gui/color.h src/gui/equipmentwindow.h src/gui/popupmenu.cpp src/gui/recorder.cpp src/gui/setup_colors.h src/gui/setup_keyboard.cpp src/gui/setup_keyboard.h src/gui/skill.cpp src/gui/speechbubble.cpp src/gui/speechbubble.h src/gui/table.cpp src/keyboardconfig.cpp src/keyboardconfig.h src/localplayer.cpp src/main.cpp src/main.h src/map.cpp src/resources/colordb.cpp src/resources/colordb.h src/resources/emotedb.cpp src/resources/emotedb.h src/text.cpp src/text.h src/tmw.rc src/winver.h
2009-02-13Fixed a break in building for non-mac users which was caused by usingIra Rice1-1/+1
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-13Added in mac build support, contributed to us by allenmoatallen> fromIra Rice1-0/+4
Legends of Mazzeroth. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-10Fixed header files, as well as removed the unused buddy list class (notIra Rice1-2/+3
useful since buddy lists are tracked through the player relation interface instead) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-25Removed the TMW branding from header guardsBjørn Lindeijer1-2/+2
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-3/+0
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-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-2/+0
I don't know why we dealt with these things for so long. Did we ever get anything out of it?
2008-09-25Merged the Tametomo branch into trunk.Ira Rice1-1/+1
2008-07-18Import of client treeLloyd Bryant1-1/+1
2007-09-27Merged another bunch of changes from trunk to 0.0 to reduce the difference.Bjørn Lindeijer1-2/+3
2007-09-20Merged a bunch of small changes from trunk to 0.0 and set svn:eol-style Bjørn Lindeijer1-9/+9
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.
2007-01-29Some trivial documentation work. Fixes all Doxygen warnings.Bjørn Lindeijer1-11/+12
2006-12-11Merged 0.0 changes from revision 2825 to 2898 to trunk.Bjørn Lindeijer1-1/+3
2006-12-03Don't try to play empty strings as sounds, and don't return a SoundEffectBjørn Lindeijer1-1/+3
instance when Mix_Chunk loading failed.
2006-07-19Merged new_animation branch until r2415 into trunk. Eugenio Favalli1-1/+1
2006-03-09Made all class members named like mClassMember.Björn Steinbrink1-4/+4
2006-02-25Added a logic method to the being manager.Björn Steinbrink1-0/+2
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-1/+0
2005-07-12windows compilation fixesEugenio Favalli1-1/+0
2005-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer1-2/+0
2005-04-26Changed keyboard control to integrate better with mouse walk, changed locationBjørn Lindeijer1-5/+6
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-26/+0
- 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-4/+10
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-69/+58
and support music fading (still somthing to fix)
2005-04-03Added playing hardcoded background song during login, stops when game starts.Bjørn Lindeijer1-1/+1
2005-02-21Added parameter names in header.Bjørn Lindeijer1-7/+7
2005-02-21Updates to change log, file lists, lots of doxygen comments and small changes.Bjørn Lindeijer1-12/+86
2005-02-13Largely cleanups.Bjørn Lindeijer1-0/+79