aboutsummaryrefslogtreecommitdiff
path: root/scumm/verbs.cpp
AgeCommit message (Collapse)Author
2003-09-06Patch #790433: Fix potential buffer overflowMax Horn
svn-id: r10049
2003-08-29My last commit was wrong, this is correct solution.Travis Howell
svn-id: r9908
2003-08-24Ooops, inventory still needs to be clear when moving through inventory.Travis Howell
svn-id: r9840
2003-08-24Handle hiding of verbs/inventory in v1-v2 games correctly.Travis Howell
According to diasm. the verbs areas is only enabled and shown when (_userState & 128) is true and verbs/inventory area is cleared/redrawn on each state change. svn-id: r9837
2003-08-19Revert color change for v1 maniac, which actually used in pool room.Travis Howell
svn-id: r9778
2003-08-19Cleanup v1/v2 color settings for sentance/inventory/verb area.Travis Howell
Add highlight color for v1 maniac svn-id: r9774
2003-07-27fix inventory scrolling V1/V2 games (there were problems with an odd ↵Max Horn
inventory count) svn-id: r9201
2003-07-15factored out some duplicate code into a new method ↵Max Horn
translateTextAndPlaySpeech; removed some completely useless code (why compute 'pointer' when we then throw away the result?) svn-id: r9045
2003-07-14Inventory position is the same in both v1 and v2 gamesTravis Howell
svn-id: r9008
2003-07-14A few color fixes for v1/v2Travis Howell
svn-id: r8997
2003-07-13For some reason, changing the kSentenceLine color stops highlighting working.Travis Howell
svn-id: r8992
2003-07-13Correct v1 games inventory positionsTravis Howell
svn-id: r8990
2003-07-13Add correct palette for pc versions of v1 gamesTravis Howell
Add some correct colors for v1 games svn-id: r8988
2003-07-12run script 5 in startScene (room transition script, it seems); don't invoke ↵Max Horn
runInputScript(4) - it is not needed (runInputScript will be called by checkExecVerbs), and causes the buggy 'What is' command behavior); fixed V2 sentence line svn-id: r8955
2003-07-12fix existing ego actor change detection codeMax Horn
svn-id: r8941
2003-07-12Fix fix for 769896James Brown
svn-id: r8938
2003-07-12Fix for bug 769896, update README a littleJames Brown
svn-id: r8935
2003-06-26added getOBIMFromObject and getObjectImage methods; changed code to use thoseMax Horn
svn-id: r8651
2003-06-25more const qualifiersMax Horn
svn-id: r8649
2003-06-17Make the mouse-over hilight work again on the inventory arrows in V2 games.Torbjörn Andersson
svn-id: r8523
2003-06-16V2 inventory arrow tweaks - closes cosmetic bug #751659James Brown
svn-id: r8516
2003-06-14Patch #754151: Removed READ_*_UNALIGNED and always read stuff bytewise; ↵Max Horn
augmented by some more changes of mine svn-id: r8482
2003-06-13fix for bug #752843 (based on patch #748675)Max Horn
svn-id: r8458
2003-06-07replaced GF_AFTER with _versionMax Horn
svn-id: r8372
2003-06-06v1 object drawing updates from aquadranJonathan Gray
svn-id: r8346
2003-06-06fixed almost object drawing for v1 games, (ugly hack for drawBitmap)Paweł Kołodziejski
svn-id: r8345
2003-05-30Modified version of erik's patch #745986: Experimental V2 mouseover stuffMax Horn
svn-id: r8142
2003-05-28const as const can!Max Horn
svn-id: r8058
2003-05-22V2 Inventory scrolling, etcJames Brown
svn-id: r7817
2003-05-21cleaned up V2 input codeMax Horn
svn-id: r7811
2003-05-21many pedantic warning fixes (and some actual potential buglets fixed, too)Max Horn
svn-id: r7795
2003-05-21constness fixesMax Horn
svn-id: r7787
2003-05-21Work on V2 inventory hack a little moreJames Brown
svn-id: r7776
2003-05-21Move stuff aroundJames Brown
svn-id: r7775
2003-05-17Fix invalid variableJames Brown
svn-id: r7599
2003-05-17CleanupJames Brown
svn-id: r7598
2003-05-15make some more use of ScummVM::Point; cleanupMax Horn
svn-id: r7549
2003-05-15some more ScummVM::RectMax Horn
svn-id: r7548
2003-05-15Make use of ScummVM::RectMax Horn
svn-id: r7546
2003-05-12fix regression in MI1 (and possibly others)Max Horn
svn-id: r7472
2003-05-10renamed _scrWidth/_scrHeight -> _roomWidht/_roomHeight, and ↵Max Horn
_realWidth/_realHeight -> _screenWidth/_screenHeight (inspired by MadMoose, but I'll take the blame - still this seems much more logical & intuitive) svn-id: r7423
2003-05-10added a 'width' parameter to drawBitmap (contrary to 'numstrips', it ↵Max Horn
specifies the full width of the image passed in, not how much we shoul draw of it) - this will be used for the new V2 drawBitmap code; renamed drawBitmap parameter 'h' to 'height' svn-id: r7412
2003-05-09super hackish mouse click support for Zak (doesn't do anything useful in MM ↵Max Horn
yet; and in Zak, all clicks are for the scene, i.e. no verb clicks etc.) svn-id: r7408
2003-04-30assert in compile mode expands to ... nnothing!Max Horn
svn-id: r7236
2003-04-29fixed LoomEGA distaff (you'll need to start a new game); added FIXME commentMax Horn
svn-id: r7189
2003-04-26fixed verb objects for GF_OLD_BUNDLE gamesMax Horn
svn-id: r7143
2003-04-13img and imgh should be readed from offset +2, but i'm not sure about imptr ↵Paweł Kołodziejski
(it should skip only length) svn-id: r7007
2003-04-12oops, copy&paste, I should avoid 'em or check better :-(Max Horn
svn-id: r6998
2003-04-12hacked in some verb object support for OLD_BUNDLE (drawVerbBitmap part not ↵Max Horn
yet tested; but the setVerbObject is needed now already) svn-id: r6993
2003-04-07removed -1's in image verb code: a) the original code doesn't have these b) ↵Max Horn
it's not clear why they were added c) this should fix the distaff in LoomCD svn-id: r6929