aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/scene_lol.cpp
AgeCommit message (Collapse)Author
2009-08-16Fix format arugments in LoL code. (triggered via -Wformat-security)Johannes Schickel
svn-id: r43444
2009-07-08LOL: rename new function in last commit according to LordHoto's suggestionFlorian Kagerer
svn-id: r42270
2009-07-08LOL: fix long standing bugs in the battle system (hit chance, damage, etc) ↵Florian Kagerer
by adapting original style random number generator svn-id: r42269
2009-06-29Change Screen_LoL::loadSpecialColors to take an Palette object as parameter.Johannes Schickel
svn-id: r41947
2009-06-29Change LoLEngine::generateBrightnessPalette to take Palette objects as ↵Johannes Schickel
parameters. svn-id: r41944
2009-06-29Changed LoLEngine::setPaletteBrightness to take an Palette object.Johannes Schickel
svn-id: r41943
2009-06-25Change Screen_LoL genereta overlay functionallity to accept a Palette object ↵Johannes Schickel
as source. svn-id: r41884
2009-06-25Use Screen::loadPalette instead of Resource::loadFileToBuf.Johannes Schickel
svn-id: r41877
2009-06-22- Changed the following Screen functions to take a reference to a Palette ↵Johannes Schickel
object: -> setScreenPalette -> fadePalette -> getFadeParams -> fadePalStep - Fixed initialization of 256 color palettes svn-id: r41743
2009-06-22Changed Screen::getPalette to return a reference to a Palette object.Johannes Schickel
svn-id: r41741
2009-06-22Got rid of Screen::_currentPalette.Johannes Schickel
svn-id: r41740
2009-06-21LOL: minor fix for floating cursorsFlorian Kagerer
svn-id: r41735
2009-06-18Replaced "getRandomNumberSpecial" be RandomSource usage. (This is needed for ↵Johannes Schickel
proper event recording, also the probability for generated numbers is actually nearly the same) svn-id: r41646
2009-06-09- Moved Screen_v2::copyWsaRect to Screen::copyWsaRectJohannes Schickel
- Made WSAMovie_v1::displayFrame code match the original - Changed WSAMovieAmiga::displayFrame to use Screen::copyWsaRect too - Got rid of '...' parameter usage in all WSA player classes svn-id: r41398
2009-06-07Remove LoLEngine::_gameFlags and convert all Lands of Lore code to use ↵Johannes Schickel
_flagsTable instead. svn-id: r41351
2009-06-03LOL: fixed minor bug in shakeScene() which caused a graphics glitch when ↵Florian Kagerer
dropping into pits svn-id: r41140
2009-06-02Formatting and whitespaces again.Johannes Schickel
svn-id: r41120
2009-06-02Remove "_smoothScrollTimer" from LoLEngine, it was only used as local ↵Johannes Schickel
variable anyway. svn-id: r41119
2009-06-01Cleanup.Johannes Schickel
svn-id: r41118
2009-06-01Change LoLEngine::delay to be conform with KyraEngine_v1::delay. (remove ↵Johannes Schickel
special iUpdate parameter, just call updateInput, when "doUpdate" is set to false) svn-id: r41114
2009-05-31LOL: implemented magic viper attack (used by wraiths in white tower level 3)Florian Kagerer
svn-id: r41074
2009-05-30LOL: - implemented urbish mines gas explosion Florian Kagerer
svn-id: r41035
2009-05-29Formatting.Johannes Schickel
svn-id: r40991
2009-05-28LOL: - fix valgrind warningFlorian Kagerer
- fix more input code issues - add workround for another script bug (some invalid monster sound index in urbish mine level 2) svn-id: r40974
2009-05-25LOL: implemented support for the mine carFlorian Kagerer
svn-id: r40897
2009-05-21LOL: - implemented Lightning SpellFlorian Kagerer
svn-id: r40776
2009-05-21LOL: - implemented freeze spellFlorian Kagerer
- fixed saveload code - added some opcode for the swamp svn-id: r40763
2009-05-21Remove trailing tabs/whitespaces.Johannes Schickel
svn-id: r40760
2009-05-17Formatting.Johannes Schickel
svn-id: r40670
2009-05-15LOL: implemented pit drop animationFlorian Kagerer
svn-id: r40592
2009-05-10LOL: - added some spell casting (spark, heal, swarm)Florian Kagerer
- fixed several bugs (not the one in the fighting system though) - added several opcodes. there shouldn't be any real show stoppers in the draracle cave now. - simplified wsa code (which required 4 lines of code for displaying a frame) - added support for wsa animations that don't have a last frame (apparently kyra 2 and 3 don't have this type of wsa file) svn-id: r40420
2009-04-25LOL: - Started implementing the fighting system. The damage inflicted is ↵Florian Kagerer
wrong, however (at least the damage inflicted by the monsters). I'm sowewhat clueless about that bug atm. - added support for monsters with distance attacks (like those orcs in front of roland's house) - lots of small bug fixes - Some startup support for the pc-98 16 color version. The intro will run, but the font drawing/coloring is still wrong. svn-id: r40144
2009-04-04LOL: implemented compassFlorian Kagerer
svn-id: r39852
2009-04-04LOL: - minor item drawing bug fixFlorian Kagerer
svn-id: r39840
2009-04-04LOL: - reverted last commit which would break map shape drawing (I have now ↵Florian Kagerer
changed the map shape coordinates to decimal numbers though since some compiler seems to complain about signed hex numbers) - added support for placing items in wall niches (like that one in the thugs' cave) svn-id: r39823
2009-04-03LOL: - added support for magic atlasFlorian Kagerer
- fixed minor palette bug svn-id: r39818
2009-03-28LOL: - implemented opcode required for operating the floor plates in the ↵Florian Kagerer
thugs' cave) - fixed bug (only one of the two thugs in front of the cave was deleted when sneaking into the cave) svn-id: r39721
2009-03-28LOL: - Level temp data now get stored in memory so you can now return to a ↵Florian Kagerer
level without everything being broken. Temp data isn't saved to disk. Since total memory requirement for storing this data won't exceed ~100kb I'd rather save memory in other places (like removing some screen page buffers) - Implemented some more opcodes and fixed some bugs (You can now safely pick up coin pouches. The lamp seems to work fine, too). svn-id: r39719
2009-03-24LOL: - implemented lots of opcodes and fixed a few bugsFlorian Kagerer
- it's now possible to leave the castle svn-id: r39653
2009-03-21LOL: - added drawing code for certain gfx (blood and slime spots on the ↵Florian Kagerer
floor, teleporters, ice walls) svn-id: r39599
2009-03-21LOL: The guards will now attack you when you throw certain items at them. ↵Florian Kagerer
They can't do any damage though, since this isn't implemented yet. svn-id: r39582
2009-03-16LOL: - implemented item throwingFlorian Kagerer
svn-id: r39455
2009-03-15LOL: - implemented original style random number generator for moving around ↵Florian Kagerer
the monsters svn-id: r39425
2009-03-15LOL: - added some missing animations for the shopsFlorian Kagerer
- added support for dropping/picking up items (no throwing yet) svn-id: r39422
2009-03-14LOL: magic atlas can now be picked up (but it can't be used)Florian Kagerer
svn-id: r39393
2009-03-10LOL: - some opcodes and interface code so that you can at least get out of ↵Florian Kagerer
the shops and Geron's room svn-id: r39284
2009-03-09LOL: added scene animations (like that fountain right at the start)Florian Kagerer
svn-id: r39251
2009-03-08LOL: fixed bug reported by MD5 (crashes and freezes caused by calls to ↵Florian Kagerer
non-existent sub scripts) svn-id: r39209
2009-03-07Whitespace cleanup: Convert space followed by tab to just tabMax Horn
svn-id: r39203
2009-03-06LOL: - doors can now be opened and closedFlorian Kagerer
- some more work on monster walk code svn-id: r39166