aboutsummaryrefslogtreecommitdiff
path: root/scumm/verbs.cpp
AgeCommit message (Collapse)Author
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-01-16Fix verbs regression.Travis Howell
svn-id: r12429
2004-01-15use Rect in struct VerbSlotMax Horn
svn-id: r12413
2004-01-08more cleanupMax Horn
svn-id: r12234
2004-01-06proper fixMax Horn
svn-id: r12192
2004-01-06fixed warningPaweł Kołodziejski
svn-id: r12186
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2004-01-06renamed VirtScreen::alloctwobuffers to hasTwoBuffers; added lots of doxygen ↵Max Horn
comments to VirtScreen; cleanup svn-id: r12168
2004-01-04replaced many instances of _screenWidth by VirtScreen::width, where ↵Max Horn
approriate (there are cases, like when dealing with the camera, where _screenWidth is correct; in other places we still use it, because the VirtScreen is not available in that place at this time, will be fixed later). Reason for all this: eventually a clean seperation will allow us to use a main screen which is wider than the real screen width -> useful for V7+ smooth scrolling svn-id: r12131
2004-01-03renamed updateDirtyRect to markRectAsDirty (because that's what it really ↵Max Horn
does); used virtual screen id constants in more places svn-id: r12122
2003-12-26got rid of those _maxFOO macros, replaced them by access to the equivalent ↵Max Horn
_numFOO variables svn-id: r11953
2003-12-15Add extra color table entry for v1 games, for inventory/sentence color.Travis Howell
svn-id: r11653
2003-11-16changed some shift operators to *, /Paweł Kołodziejski
svn-id: r11315
2003-10-03introduced namespace Scumm; made #include statements use scumm/ prefix ↵Max Horn
explicitly svn-id: r10571
2003-10-02renamed class Scumm to ScummEngine (consisten with other engine names; also ↵Max Horn
makes room for a potential 'Scumm' namespace) svn-id: r10549
2003-10-02renamed namespace ScummVM to CommonMax Horn
svn-id: r10544
2003-09-24Revert change that caused more problemsTravis Howell
svn-id: r10395
2003-09-24Revert change that caused more problemsTravis Howell
svn-id: r10394
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