aboutsummaryrefslogtreecommitdiff
path: root/scumm
AgeCommit message (Collapse)Author
2003-05-24returning 1 instead of the id is the correct behaviour I believe, but the ↵Jonathan Gray
scripts check for a 0 result so either will work. I'm just picky :) svn-id: r7871
2003-05-23bypass for Zak256 copy protection (can't test this right now, though)Max Horn
svn-id: r7870
2003-05-23Added XMIDI support to IMuse. IMuse now plays music from Humongous games.Jamieson Christian
Added some IMuse property options to support some assumptions that seem to be made by Humongous games. This is still preliminary. It will play music, and it will switch between songs. But I don't know if it's switching to the right song at the right time. svn-id: r7869
2003-05-23cleanupTorbjörn Andersson
svn-id: r7866
2003-05-23Fixed VC++ warningJamieson Christian
svn-id: r7861
2003-05-23some more derefActorSafe -> derefActor changes; found out why in COMI ↵Max Horn
o6_getActorRoom is called with param 0 svn-id: r7860
2003-05-23replaced many unsafe uses of derefActorSafe by derefActor; replaced ↵Max Horn
derefActorSafe/assert pairs by derefActor (gives better error message); replaced various derefActorSafe/if(a!=0) pairs by derefActor (in cases where the deref should never fail, ever, except due to a bug in ScummVM) svn-id: r7859
2003-05-23when iterating from 1 to _numActors over all actors, use _actors[] directly ↵Max Horn
instead of derefActor() (unnecessary overhead); added range check to derefActor, and error out if invalid actor is accessed svn-id: r7858
2003-05-23clarified / tightened the o5_actorSet hack for actor 0 (it seems to be there ↵Max Horn
for the same reasons as in V2: only to set a default actor talk color) svn-id: r7857
2003-05-23don't hardcode 9 but rather use the default actor talk color as given in the ↵Max Horn
(v2) bootscript svn-id: r7856
2003-05-23Patch #742132: o2_setobjectname script overwrite fixJames Brown
svn-id: r7854
2003-05-23Fixed PPQN for old 'AD' music resourcesJamieson Christian
svn-id: r7852
2003-05-23Revamped iMuse and Player classes. Player now uses MidiParser to parse its ↵Jamieson Christian
data, which will allow it to parse other MIDI formats. To receive parsed data, Player now derives from MidiDriver to act as a "fake MIDI driver". Miscellaneous upgrades and fixes to MidiParser, including the Smart Jump (which could not be tested before iMuse started making use of the MidiParser). *** THIS IS A BIG UPGRADE! EXTENSIVE REGRESSION TESTING IS NEEDED! *** This has been tested through the intros and a number of other scenes from MI2, FOA and S&M. NOTE! This upgrade introduces savegame format version V19. Earlier version savegames will load, but the music will simply start over from the beginning. Only V19 and later games will properly restore the position of the music! Don't say you weren't warned.... svn-id: r7849
2003-05-23Fixed VC++ warningsJamieson Christian
svn-id: r7847
2003-05-23added support in the save/load system for 2 dimensional arrays; used this ↵Max Horn
for save/load of localvars -> this fixes many old save games, and allows us to be future compatible svn-id: r7846
2003-05-23v2 fix for o5_getDist (thx segra)Max Horn
svn-id: r7845
2003-05-23added tons of asserts; added warnings for other cases where we so far ↵Max Horn
silently ignored invalid actors; replaced a few of such warnings with asserts (if they are needed somewhere, feel free to re-add them, but this time with a comment explaining *why* - i.e. bug id, or explanation on how to reproduce the problem) svn-id: r7844
2003-05-23fixed butterknife + cashcardMax Horn
svn-id: r7843
2003-05-23added two more redrawV2Inventory invocations; removed calls to runHook (it ↵Max Horn
does nothing in V2) svn-id: r7842
2003-05-23o5_walkActorToActor cleanup, and fixed for V2Max Horn
svn-id: r7841
2003-05-23some well placed asserts (triggering any of those means with 99% a bug in ↵Max Horn
some other place; so don't just remove the asserts if you trigger one of 'em! svn-id: r7840
2003-05-23this fixme doesn't seem to be needed anymoreMax Horn
svn-id: r7839
2003-05-22oops, swapped set/clear state 2Max Horn
svn-id: r7838
2003-05-22fixed more V2 clear/set state opcodesMax Horn
svn-id: r7837
2003-05-22fixed Zak cashcardMax Horn
svn-id: r7836
2003-05-22Added new module to project filesJamieson Christian
svn-id: r7833
2003-05-22Separated IMuse Player into its own fileJamieson Christian
svn-id: r7832
2003-05-22not needed anymore since we read the preposition flag directly from the obcd ↵Max Horn
data again svn-id: r7830
2003-05-22restricted getObjectIndex to only search thru _objs, not _inventory(to avoid ↵Max Horn
future confusion), this might cause regressions, though; fixed o2_getObjPreposition; adapted some code to the changed getObjectIndex svn-id: r7829
2003-05-22endian fixMax Horn
svn-id: r7828
2003-05-22from the MM/Zak scripts, the code etc. it's clear that unk2 is the sentence ↵Max Horn
preposition svn-id: r7827
2003-05-22fixed o2_ifClassOfIsMax Horn
svn-id: r7826
2003-05-22small V2 doSentence tweakMax Horn
svn-id: r7825
2003-05-22Fix sentence buildingJames Brown
svn-id: r7824
2003-05-22make drawSentence not crash on usJonathan Gray
svn-id: r7823
2003-05-22fixed meteor animation in MM (and probably others in MM and Zak)Max Horn
svn-id: r7822
2003-05-22renamed talkFrame1/talkFrame2 to talkStartFrame/talkStopFrameMax Horn
svn-id: r7819
2003-05-22fix V2 actor initial mouth's (they were missing)Max Horn
svn-id: r7818
2003-05-22V2 Inventory scrolling, etcJames Brown
svn-id: r7817
2003-05-22Fix V2 userface stuff in savestateJames Brown
svn-id: r7816
2003-05-22freeze scripts & hide mouse during cutscenes; addde Actor::isPlayer method ↵Max Horn
that should work in V2, too; fixed o2_walkActorToObject svn-id: r7815
2003-05-22fix o2_getObjUnknown -> fixes 'use' verbMax Horn
svn-id: r7814
2003-05-21cleaned up V2 input codeMax Horn
svn-id: r7811
2003-05-21add in preposition to dual verbs (e.g. 'give'); put in hard coded key codes ↵Max Horn
for V2 verbs svn-id: r7810
2003-05-21cutscene override fix for V3 games (bug #731985)Max Horn
svn-id: r7809
2003-05-21Added ParameterFader into savegame format.Jamieson Christian
Savegames are now version 17 (VER_V17). svn-id: r7808
2003-05-21turn off lots of silly debug output ;-)Max Horn
svn-id: r7804
2003-05-21Replaced VolumeFader with more generic ParameterFaderJamieson Christian
svn-id: r7803
2003-05-21Integrated VolumeFader into each PlayerJamieson Christian
svn-id: r7801
2003-05-21fix verb 250 is mapped to 253 in V2, with the 'recursive' flag setMax Horn
svn-id: r7800