aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v2.cpp
AgeCommit message (Collapse)Author
2005-04-20Moved v2 verb code into class ScummEngine_v2Max Horn
svn-id: r17725
2005-04-20Replaced the platform specific GF_FOO switches (using _platform instead now)Max Horn
svn-id: r17716
2005-04-10Reduce dependencies on scumm/util.h; modified ScummNESFile a bit so that it ↵Max Horn
complies a bit better with our code formatting rules svn-id: r17508
2005-04-10Do not hardcode character translation tables and verbs prepositionsEugene Sandulenko
in MM NES but extract it directly from ROM. Patch from Quietust svn-id: r17505
2005-04-07Patch from Quietust:Eugene Sandulenko
1. properly handle costume colors in dark rooms (verified against disasm) 2. optimize NES audio generation a little bit - instead of calling a function ~80 times to get one audio sample, it calls it once and just loops ~80 times internally 3. NES audio now obeys the volume control 4. in MM NES, o2_setObjPreposition is a no-op 5. o2_lights uses new-style light values (i.e. bitfields) in MM NES 6. o2_delay, use ssPaused identifier rather than a literal '1' 7. in MM NES, o5_saveLoadGame only explicitly checks for type '1' (load), defaulting to save for any other value svn-id: r17443
2005-04-01Normalize verb/invenotry areas in MM NES. Patch from QuietustEugene Sandulenko
svn-id: r17316
2005-03-31Started to move some resource related code into a new class ResourceManager ↵Max Horn
(hypothetic goal for the future: use ResourceManager in ScummEx) svn-id: r17311
2005-03-27Patch from Quietust for MM NESEugene Sandulenko
o Fix number of global objects o Camera-related differences o Proper user states o Updated MD5 for new 00.lfl svn-id: r17268
2005-03-26Fixes for MM NES costume mask from Quietust.Eugene Sandulenko
svn-id: r17235
2005-03-24Correct positioning of inventory and verbs in MM NES.Eugene Sandulenko
Started to tackle inventory. svn-id: r17219
2005-03-24First attempt to position NES graphics correctly on screen. Still verbsEugene Sandulenko
are at wrong places. svn-id: r17217
2005-03-24Lots of MM NES changes from Quietust and meEugene Sandulenko
o Swap palette entries 0x00 and 0x1D in all necessary places. This gets rid of gray background o added a function NES_loadCostumeSet(int n) in order to do #1 for sprites o Widen screen to 256 pixels and center narrow rooms in it o Partial fix for subtitle rendering, now at least first line is rendered with identation svn-id: r17212
2005-03-21Many MM NES fixes/improvements from Quietust:Eugene Sandulenko
o Doesn't crash when going upstairs. Now game is playable up to the green tentacle o Proper subtitles colors o Room mask is decoded but doesn't affect sprites yet o Inventory draw issues fixed o Fix actors position when they're facing right svn-id: r17191
2005-03-21NES palette fixes from Quietust.Eugene Sandulenko
Some fixes of gray background for NES. Though maybe proper approach would be to add global vars instead of checking every time. svn-id: r17190
2005-03-16Preliminary support for NES charsets. Colors are wrong and we get glitchesEugene Sandulenko
caused by too narrow screen. Also text clearing doesn't work. svn-id: r17164
2005-03-15Properly wipe out animation trails in MM NES. It appeared that itEugene Sandulenko
just uses different constants for VAR_CURRENT_LIGHTS. So now it uses proper double buffering as well svn-id: r17159
2005-03-15Fix verbs position in NES maniac for now.Travis Howell
svn-id: r17146
2005-03-13Preliminary support for MM NES.Eugene Sandulenko
svn-id: r17133
2005-03-11Mass-renamed all variables of Actor object according to our current codeEugene Sandulenko
formatting standards. Earlier we had half of vars named with leading underscore and half without it. Now code in actor.cpp is considerably more readable. svn-id: r17068
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-10-22WhitespaceTorbjörn Andersson
svn-id: r15647
2004-10-19Help PalmOS (and more ?) to save memoryChris Apers
svn-id: r15611
2004-10-11cleanup / updated some commentsMax Horn
svn-id: r15524
2004-09-28Changed more of the actor class members to match our coding guidelines (in ↵Max Horn
the future, when adding new member vars here, please always use our conventions, i.e. prefix them with _ and use CamelBackStyle svn-id: r15331
2004-08-22Switch to debug channelTravis Howell
svn-id: r14678
2004-08-21Removed some obsolete TODO commentsMax Horn
svn-id: r14669
2004-08-14whitespaceMax Horn
svn-id: r14600
2004-07-26CleanupTravis Howell
svn-id: r14336
2004-04-05Renamed StringTab::backup to StringTab::_default, as that describes better ↵Max Horn
what it does svn-id: r13476
2004-04-03cleanup StringTab stuffMax Horn
svn-id: r13448
2004-03-17Fix for bug #893254 (MI1VGA: Changes in object names are not saved); this ↵Max Horn
may introduce regressions, please report them (overall, this is a neat patch, it removes so many ugly hacks :-) svn-id: r13325
2004-03-15OoopsTravis Howell
svn-id: r13303
2004-03-15refactor use of _messagePtr -> instead of using it as an implicit parameter ↵Max Horn
for various methods, pass its value explicitly to those methods. Note: this *should* be just a code transformation, with no change to the program logic - unless I messed up once again <sigh> svn-id: r13298
2004-03-13Forward-port maniac hack :)James Brown
svn-id: r13242
2004-03-04Add hack for demo script in maniac (Enchanced)Travis Howell
svn-id: r13174
2004-03-03Add back HE sound differences for AKOS.Travis Howell
Remove old define Avoid crash if using demo script in maniac (Enchanced) svn-id: r13166
2004-03-03That should have been maniac specific.Travis Howell
svn-id: r13163
2004-03-03Adjustments for Enchanced Maniac Mansion demo.Travis Howell
svn-id: r13161
2004-03-03Adjustments for Enchanced Maniac Mansion demo.Travis Howell
svn-id: r13160
2004-02-23Add back hackTravis Howell
svn-id: r13007
2004-02-23the code was still wrongMax Horn
svn-id: r13005
2004-02-23Ooops, missed a call.Travis Howell
svn-id: r13000
2004-02-22Is used in maniac and zak.Travis Howell
svn-id: r12992
2004-02-22This should fix zak lotto bug correctly.Travis Howell
svn-id: r12989
2004-01-15use Rect in struct VerbSlotMax Horn
svn-id: r12413
2004-01-11changed the name of the former removeObjectFromRoom yet again, to ↵Max Horn
markObjectRectAsDirty - that describes its functionality more accurately, I hope :-) svn-id: r12326
2004-01-11renamed removeObjectFromRoom to forceObjectRedrawMax Horn
svn-id: r12325
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2004-01-05more cleanupMax Horn
svn-id: r12161
2004-01-05added Actor::getElevation and Actor::setElevation; cleaned up costume API a ↵Max Horn
bit; some minor cleanup/tweaks svn-id: r12160