aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sprites_lol.cpp
AgeCommit message (Collapse)Author
2010-03-10Silenced some harmless cppcheck warnings about unreachable code after a return.Torbjörn Andersson
In this case, it was always a break after a return in a switch case. There are similar cases which cppcheck didn't detect, and a couple of cases where we have a break after a continue in a switch case (where the continue refers to an outer loop), but I didn't touch those. Not yet, at least. svn-id: r48218
2010-02-07LOL: fixed handling of invalid monster attack sfx in the Urbish mines ↵Florian Kagerer
(should fix bug no #2945950) svn-id: r47967
2010-01-29Fix use of undefined behavior. (Thanks to syke for reporting)Johannes Schickel
svn-id: r47685
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2009-11-11LOL: - fixed transparency tables in PC-98 16 color versionFlorian Kagerer
- renamed some variables svn-id: r45847
2009-10-18LOL: this should fix a valgrind warningFlorian Kagerer
svn-id: r45221
2009-10-10LOL/PC-98: implemented drawing code for teleportersFlorian Kagerer
svn-id: r44883
2009-10-09LOL/PC-98: fixed last commitFlorian Kagerer
svn-id: r44849
2009-10-09LOL/PC-98: fixed monster drawing bug (some wrong pixels)Florian Kagerer
svn-id: r44847
2009-10-04Change a couple places from 'end of namespace' to 'End of namespace', for ↵Max Horn
consistency svn-id: r44634
2009-09-20LOL/PC-98: start fixing color issues (still not working correctly though)Florian Kagerer
svn-id: r44223
2009-09-13LOL/Floppy: fixed size of menu boxesFlorian Kagerer
svn-id: r44061
2009-09-02LOL: update kyra.dat with floppy version data (floppy version still doesn't ↵Florian Kagerer
work, though) svn-id: r43904
2009-08-16Fix format arugments in LoL code. (triggered via -Wformat-security)Johannes Schickel
svn-id: r43444
2009-08-11LOL: some minor fixesFlorian Kagerer
svn-id: r43269
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-25Strip trailing whitespaces and tabs.Johannes Schickel
svn-id: r41848
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-07LOL: implemented some missing monster animation codeFlorian Kagerer
svn-id: r41327
2009-06-02Formatting and whitespaces again.Johannes Schickel
svn-id: r41120
2009-06-01LOL: add workaround comment (at LordHoto's repeated insistence)Florian Kagerer
svn-id: r41105
2009-05-31Add support for the Lands of Lore scrolling credits.Johannes Schickel
svn-id: r41081
2009-05-31LOL: implemented magic viper attack (used by wraiths in white tower level 3)Florian Kagerer
svn-id: r41074
2009-05-31LOL: - fix shape memory allocation/release issueFlorian Kagerer
svn-id: r41055
2009-05-31LOL: fix some valgrind warningsFlorian Kagerer
svn-id: r41052
2009-05-29More formatting.Johannes Schickel
svn-id: r40994
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-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: - implemented rest party buttonFlorian Kagerer
- made button processing code more accurate svn-id: r40442
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-27LOL: added some drawing code and fixed some bugsFlorian Kagerer
svn-id: r40167
2009-04-25Changed the attacker parameter from 0 to 0xFFFF in inflictDamage() (which ↵Filippos Karapetis
was probably the original intended value) and added a FIXME svn-id: r40149
2009-04-25The "attacker" parameter is an unsigned integer, so we can't pass a negative ↵Filippos Karapetis
number to it (hopefully this doesn't break anything) svn-id: r40148
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-05LOL: fix monsters' strange sliding to the left (like that thug at the beginning)Florian Kagerer
svn-id: r39863
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-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: implemented some missing drawing code for dead monstersFlorian Kagerer
svn-id: r39589
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-17LOL: added some new drawing code required for some shapes and fixed a minor ↵Florian Kagerer
text displaying bug svn-id: r39487
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