aboutsummaryrefslogtreecommitdiff
path: root/engines/draci
AgeCommit message (Collapse)Author
2010-01-26Moved audio stream implementations (for MP3, FLAC, etc.) to new dir ↵Max Horn
sound/decoders/ svn-id: r47579
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-23Reorder params to Audio::makeRawMemoryStreamMax Horn
svn-id: r47492
2010-01-19Started to get rid of Audio::FLAG_LOOPMax Horn
svn-id: r47397
2010-01-19Move raw audio flags from sound/mixer.h to sound/raw.hMax Horn
svn-id: r47395
2010-01-19Remove loop start/end params from Mixer::playRaw; convert some code from ↵Max Horn
Mixer::playRaw to Mixer::playInputStream svn-id: r47375
2010-01-19Get rid of Mixer::FLAG_AUTOFREE.Max Horn
Also fix several recently introduced new/delete vs. malloc/free mismatches. svn-id: r47369
2010-01-12Rename all "Adlib" uses to "AdLib" to match the real name of the sound card ↵Johannes Schickel
/ company. Check this for reference: http://en.wikipedia.org/wiki/Ad_Lib,_Inc. http://www.crossfire-designs.de/images/articles/soundcards/adlib.jpg (note the upper left of the card) This commit does not touch "adlib" and "ADLIB" uses! Also it does not update all the SCUMM detection entries, which still use "Adlib". svn-id: r47279
2010-01-10Handle properly shouldQuit()Robert Špalek
svn-id: r47215
2010-01-07The default keycolor for mouse pointers used to be 255.Marcus Comstedt
This makes sense as a default for CLUT8 modes, but not really for anything else. As part of the gsoc2009-16bit merge, the default was changed to "all ones", with extra code in the SDL backend to truncate this to the depth of the mode. However, "all ones" (white) still isn't a very useful default for RGB modes. So rather than jumping through hoops to provide a bad default, it's better to remove the default altogether. Engines which relied on the old default of 255 have been updated to specify it explicitly. svn-id: r47118
2009-12-09Silence gcc warning.Johannes Schickel
svn-id: r46326
2009-12-09Fix compilation for systems without USE_RGB_COLOR defined.Johannes Schickel
svn-id: r46323
2009-12-09DRACI: Reduce header interdependencies; some cleanupMax Horn
svn-id: r46320
2009-12-09Changed MidiDriver::createMidi to take a MidiDriverType instead of an intMax Horn
svn-id: r46316
2009-12-08Attempt to fix MSVC warning C4121.Johannes Schickel
svn-id: r46299
2009-12-07For consistency, make F5 bring up the main menu in the Draci engine too, justTorbjörn Andersson
like megath just did in the TeenAgent engine. svn-id: r46284
2009-11-30Removed <cmath> includes since a) not a part of Symbian OS b) Compiles fine ↵Lars Persson
without it (at least with Symbian OS GCCE 3.4.3 and CW 2) svn-id: r46213
2009-11-28Hopefully fix switching to the map right after switching the locationRobert Špalek
It seems that the mouse was simply on the below line and triggered the switch to the map without the user realizing. svn-id: r46171
2009-11-28Fixed bug with exhausting sound handlesRobert Špalek
It was caused by forever re-starting the same sample when the animation was stopped and the same frame got displayed over and over, each time triggering playing the same sample. svn-id: r46168
2009-11-26Fix SIGSEGV found by ValGrindRobert Špalek
svn-id: r46142
2009-11-24Added Doxygen comments for the various engine namespaces (currently mostly ↵Max Horn
without details; help filling these out is welcome) svn-id: r46128
2009-11-23DRACI: Reduce header interdependencyMax Horn
svn-id: r46117
2009-11-23Fixed breaking long lines instead of using smaller font (which is sometimes ↵Robert Špalek
not enough) svn-id: r46101
2009-11-22Move setIsReloaded(false) in enterNewRoom() to the right place.Robert Špalek
Last commit moved it below, but that cancelled GPL2 programs run right after loading the game. svn-id: r46099
2009-11-22Remove obsolete and unneeded logic bypassing reloading a location.Robert Špalek
I have tested that this could only possibly happen when the game has been loaded with last location being the map. Then pressing Escape calls enterNewRoom() and this superfluous optimization takes place. It is harmless to simply reload the map. After having removed it, enterNewRoom() needs not return any return value, because the test at the tail can be done by the caller. I have then restructured the code a little to make it cleaner. svn-id: r46098
2009-11-22Further cleaned up the hack with removing old animations.Robert Špalek
Now only a long-term (complete rewrite) TODO is left in the code, but nothing urgent to solve. svn-id: r46097
2009-11-22Make sure hands are empty after loading the gameRobert Špalek
(otherwise we could have in our hands an unreachable object). This works thanks to moving clearing _currentItem into putItem(), which gets called in inventoryReload(). svn-id: r46096
2009-11-22Clearing object animations in a cleaner wayRobert Špalek
Verified that we really do not need object animations even if they are in a different location, and clearing them thus regardless of their location. Although the game was not crashing due to previous work-arounds at this moment, this cleanup obliterates the most horrible hack and makes sure animations will never get stale. svn-id: r46095
2009-11-22Fixed assert() on already loaded animationRobert Špalek
Now the game seems fully playable with crazy loading all the time, even though it is a hacky solution. Updated the TODOs svn-id: r46094
2009-11-22Updated an urgent TODO to make the game playableRobert Špalek
svn-id: r46070
2009-11-22Fix SIGSEGV by an absolutely brutally horrible hackRobert Špalek
I have thoroughly documented why this hack is needed and added ideas how to fix it properly. svn-id: r46068
2009-11-22Only enable changing rooms by left/right arrows when debuggingRobert Špalek
svn-id: r46059
2009-11-22Opening the inventory stops hero walkingRobert Špalek
(otherwise the relative animation would repeat itself unhandled until the hero disappears from the screen.) svn-id: r46058
2009-11-22Fix positioning of one-time hero animations.Robert Špalek
With the previous code, the position of the animation was doubled (due to counting the position twice, the second time being a relative shift), which put it mostly outside the screen. This is because one-time hero animations are actually stored using absolute coordinates. svn-id: r46057
2009-11-22Fixed Animation::getTopAnimation()Robert Špalek
It does not return kTitleText and others. This caused flickering of speech texts on/off when the title got displayed under the mouse. svn-id: r46056
2009-11-21Fixed re-entering the same room using a different gateRobert Špalek
svn-id: r46044
2009-11-12Handled loading/saving from the map locationRobert Špalek
svn-id: r45876
2009-11-12Removed 2 old TODOsRobert Špalek
svn-id: r45874
2009-11-12Implemented "Mute All"Robert Špalek
svn-id: r45873
2009-11-12Implementing switching to/from the map room by mouseRobert Špalek
svn-id: r45872
2009-11-12Display/remove the inventory based on mouse "gestures"Robert Špalek
svn-id: r45855
2009-11-12Removed 2 TODOsRobert Špalek
svn-id: r45851
2009-11-12Fixed Script::icoStat()Robert Špalek
svn-id: r45850
2009-11-12Subtitles are positioned correctly in the inventoryRobert Špalek
svn-id: r45849
2009-11-12Added runWrapper() calling run() and some actions around it.Robert Špalek
This simplifies a lot of code calling run(). Also, scripts called from the inventory are now called with disabled mouse and title, as desired. svn-id: r45848
2009-11-11Refactored draw() according to drawReScaled()Robert Špalek
svn-id: r45826
2009-11-11Documented palette shiftRobert Špalek
svn-id: r45825
2009-11-11Cleaned up searching the closest point.Robert Špalek
The old comments were completely misleading although the algorithm was good. svn-id: r45824
2009-11-10Fixed walking to unreachable positionsRobert Špalek
svn-id: r45823
2009-11-10Fixed two bugs.Robert Špalek
Putting items back to the inventory into clipped coordinates, and exiting running GPL2 programs when the game engine it to be interrupted. svn-id: r45822