Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-05-24 | returning 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-23 | bypass for Zak256 copy protection (can't test this right now, though) | Max Horn | |
svn-id: r7870 | |||
2003-05-23 | Added 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-23 | cleanup | Torbjörn Andersson | |
svn-id: r7866 | |||
2003-05-23 | Fixed VC++ warning | Jamieson Christian | |
svn-id: r7861 | |||
2003-05-23 | some more derefActorSafe -> derefActor changes; found out why in COMI ↵ | Max Horn | |
o6_getActorRoom is called with param 0 svn-id: r7860 | |||
2003-05-23 | replaced 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-23 | when 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-23 | clarified / 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-23 | don't hardcode 9 but rather use the default actor talk color as given in the ↵ | Max Horn | |
(v2) bootscript svn-id: r7856 | |||
2003-05-23 | Patch #742132: o2_setobjectname script overwrite fix | James Brown | |
svn-id: r7854 | |||
2003-05-23 | Fixed PPQN for old 'AD' music resources | Jamieson Christian | |
svn-id: r7852 | |||
2003-05-23 | Revamped 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-23 | Fixed VC++ warnings | Jamieson Christian | |
svn-id: r7847 | |||
2003-05-23 | added 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-23 | v2 fix for o5_getDist (thx segra) | Max Horn | |
svn-id: r7845 | |||
2003-05-23 | added 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-23 | fixed butterknife + cashcard | Max Horn | |
svn-id: r7843 | |||
2003-05-23 | added two more redrawV2Inventory invocations; removed calls to runHook (it ↵ | Max Horn | |
does nothing in V2) svn-id: r7842 | |||
2003-05-23 | o5_walkActorToActor cleanup, and fixed for V2 | Max Horn | |
svn-id: r7841 | |||
2003-05-23 | some 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-23 | this fixme doesn't seem to be needed anymore | Max Horn | |
svn-id: r7839 | |||
2003-05-22 | oops, swapped set/clear state 2 | Max Horn | |
svn-id: r7838 | |||
2003-05-22 | fixed more V2 clear/set state opcodes | Max Horn | |
svn-id: r7837 | |||
2003-05-22 | fixed Zak cashcard | Max Horn | |
svn-id: r7836 | |||
2003-05-22 | Added new module to project files | Jamieson Christian | |
svn-id: r7833 | |||
2003-05-22 | Separated IMuse Player into its own file | Jamieson Christian | |
svn-id: r7832 | |||
2003-05-22 | not needed anymore since we read the preposition flag directly from the obcd ↵ | Max Horn | |
data again svn-id: r7830 | |||
2003-05-22 | restricted 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-22 | endian fix | Max Horn | |
svn-id: r7828 | |||
2003-05-22 | from the MM/Zak scripts, the code etc. it's clear that unk2 is the sentence ↵ | Max Horn | |
preposition svn-id: r7827 | |||
2003-05-22 | fixed o2_ifClassOfIs | Max Horn | |
svn-id: r7826 | |||
2003-05-22 | small V2 doSentence tweak | Max Horn | |
svn-id: r7825 | |||
2003-05-22 | Fix sentence building | James Brown | |
svn-id: r7824 | |||
2003-05-22 | make drawSentence not crash on us | Jonathan Gray | |
svn-id: r7823 | |||
2003-05-22 | fixed meteor animation in MM (and probably others in MM and Zak) | Max Horn | |
svn-id: r7822 | |||
2003-05-22 | renamed talkFrame1/talkFrame2 to talkStartFrame/talkStopFrame | Max Horn | |
svn-id: r7819 | |||
2003-05-22 | fix V2 actor initial mouth's (they were missing) | Max Horn | |
svn-id: r7818 | |||
2003-05-22 | V2 Inventory scrolling, etc | James Brown | |
svn-id: r7817 | |||
2003-05-22 | Fix V2 userface stuff in savestate | James Brown | |
svn-id: r7816 | |||
2003-05-22 | freeze 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-22 | fix o2_getObjUnknown -> fixes 'use' verb | Max Horn | |
svn-id: r7814 | |||
2003-05-21 | cleaned up V2 input code | Max Horn | |
svn-id: r7811 | |||
2003-05-21 | add in preposition to dual verbs (e.g. 'give'); put in hard coded key codes ↵ | Max Horn | |
for V2 verbs svn-id: r7810 | |||
2003-05-21 | cutscene override fix for V3 games (bug #731985) | Max Horn | |
svn-id: r7809 | |||
2003-05-21 | Added ParameterFader into savegame format. | Jamieson Christian | |
Savegames are now version 17 (VER_V17). svn-id: r7808 | |||
2003-05-21 | turn off lots of silly debug output ;-) | Max Horn | |
svn-id: r7804 | |||
2003-05-21 | Replaced VolumeFader with more generic ParameterFader | Jamieson Christian | |
svn-id: r7803 | |||
2003-05-21 | Integrated VolumeFader into each Player | Jamieson Christian | |
svn-id: r7801 | |||
2003-05-21 | fix verb 250 is mapped to 253 in V2, with the 'recursive' flag set | Max Horn | |
svn-id: r7800 |