Florian Kagerer
44cfd9d615
LOL: fix main menu in floppy version
...
svn-id: r43202
2009-08-10 10:25:53 +00:00
Johannes Schickel
a17333ed1b
Cleanup rollDice (the results of the old and the new function are almost identical).
...
svn-id: r42293
2009-07-09 15:32:25 +00:00
Johannes Schickel
a7c96e1526
Cleanup.
...
svn-id: r42292
2009-07-09 15:32:06 +00:00
Florian Kagerer
c7eedb573a
LOL: cleanup
...
svn-id: r42271
2009-07-08 21:12:03 +00:00
Florian Kagerer
a212a9da7e
LOL: rename new function in last commit according to LordHoto's suggestion
...
svn-id: r42270
2009-07-08 20:32:34 +00:00
Florian Kagerer
2950bc28c4
LOL: fix long standing bugs in the battle system (hit chance, damage, etc) by adapting original style random number generator
...
svn-id: r42269
2009-07-08 20:19:23 +00:00
Florian Kagerer
501df3adf8
LOL: - reduce code duplication
...
svn-id: r42140
2009-07-05 14:58:22 +00:00
Johannes Schickel
179a822b93
Adapted various code parts to use Palette::fill.
...
svn-id: r41953
2009-06-29 16:49:53 +00:00
Johannes Schickel
3b7f11d4cc
Change LoLEngine::generateFlashPalette to take Palette objects as parameters.
...
svn-id: r41948
2009-06-29 16:08:28 +00:00
Johannes Schickel
c09985db2c
Change Screen_LoL::loadSpecialColors to take an Palette object as parameter.
...
svn-id: r41947
2009-06-29 16:08:16 +00:00
Johannes Schickel
0bf94cb194
Chang Palette parameter of LolEngine::setPaletteBrightness to be const.
...
svn-id: r41945
2009-06-29 16:07:46 +00:00
Johannes Schickel
bf81e432e1
Change LoLEngine::generateBrightnessPalette to take Palette objects as parameters.
...
svn-id: r41944
2009-06-29 16:06:31 +00:00
Johannes Schickel
f7bbd359bb
Changed LoLEngine::setPaletteBrightness to take an Palette object.
...
svn-id: r41943
2009-06-29 16:06:18 +00:00
Johannes Schickel
c72dac8dd0
Change LoLEngine::processMagicIce to use Palette objects internally.
...
svn-id: r41942
2009-06-29 16:06:02 +00:00
Florian Kagerer
9b27e2b97c
LOL: add workaround to fix map text display when the language is set to French
...
svn-id: r41922
2009-06-27 16:48:47 +00:00
Florian Kagerer
a7cb4362b4
LOL: cleanup
...
svn-id: r41916
2009-06-27 12:36:12 +00:00
Johannes Schickel
5d4e7b540c
Change Screen_LoL genereta overlay functionallity to accept a Palette object as source.
...
svn-id: r41884
2009-06-25 19:59:06 +00:00
Johannes Schickel
6e69a149cd
Change Screen_v2::generateOverlay to take a const Palette reference instead of a pointer.
...
svn-id: r41881
2009-06-25 19:57:06 +00:00
Johannes Schickel
d2e5166dae
Changed Screen::loadBitmap and Movie::open to take an optional Palette pointer instead of an optional array pointer.
...
svn-id: r41744
2009-06-22 02:37:20 +00:00
Johannes Schickel
73ea378dee
- Changed the following Screen functions to take a reference to a Palette object:
...
-> setScreenPalette
-> fadePalette
-> getFadeParams
-> fadePalStep
- Fixed initialization of 256 color palettes
svn-id: r41743
2009-06-22 02:36:54 +00:00
Johannes Schickel
882662977f
Changed Screen::getPalette to return a reference to a Palette object.
...
svn-id: r41741
2009-06-22 02:35:45 +00:00
Johannes Schickel
9da52cb282
Got rid of Screen::_currentPalette.
...
svn-id: r41740
2009-06-22 02:35:04 +00:00
Johannes Schickel
3424dfda98
Cleanup.
...
svn-id: r41736
2009-06-21 21:17:41 +00:00
Florian Kagerer
df611a5278
LOL: - implemented support for "floating cursors"
...
- prevent complete refresh for audio menu whenever a mouse button is pressed
svn-id: r41734
2009-06-21 20:40:31 +00:00
Johannes Schickel
67119f9c52
Cleanup: Change LoL specific config entries to use underscores instead of whitespaces.
...
svn-id: r41731
2009-06-21 19:01:04 +00:00
Johannes Schickel
76eee406d6
Cleanup: Change LoL code to use KYRA volume handling.
...
svn-id: r41730
2009-06-21 19:00:50 +00:00
Florian Kagerer
5b0b0051c1
LOL: - implemented audio menu
...
- menu settings now get saved
- remove white spaces
svn-id: r41729
2009-06-21 16:59:51 +00:00
Florian Kagerer
ec7d86404c
LOL: - implemented bezel cup opcode
...
- implemented font conversion for certain language specific characters in load game dialogue (only german atm)
svn-id: r41677
2009-06-19 17:03:28 +00:00
Johannes Schickel
2e27c7b492
Replaced "getRandomNumberSpecial" be RandomSource usage. (This is needed for proper event recording, also the probability for generated numbers is actually nearly the same)
...
svn-id: r41646
2009-06-18 21:47:10 +00:00
Florian Kagerer
0b4725d142
LOL: implemented options menu (settings aren't saved yet)
...
svn-id: r41596
2009-06-16 21:23:26 +00:00
Florian Kagerer
583a89be62
LOL: - started on the ingame menu code (death menu, load menu and main menu)
...
- fixed regression in kyra gui code (broken menu highlighting)
- fixed minor bug in animation code
svn-id: r41557
2009-06-15 20:52:09 +00:00
Johannes Schickel
ac46c98fb8
- Moved Screen_v2::copyWsaRect to Screen::copyWsaRect
...
- 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-09 11:26:15 +00:00
Johannes Schickel
5c233c447b
Remove LoLEngine::_gameFlags and convert all Lands of Lore code to use _flagsTable instead.
...
svn-id: r41351
2009-06-07 20:43:43 +00:00
Florian Kagerer
4dd29a5985
LOL: minor bug fix in battle system
...
svn-id: r41348
2009-06-07 18:51:03 +00:00
Florian Kagerer
09fe7b3152
LOL: implemented some missing monster animation code
...
svn-id: r41327
2009-06-07 10:34:01 +00:00
Florian Kagerer
2af195482f
LOL: fixed level temp data size
...
svn-id: r41224
2009-06-06 14:42:03 +00:00
Florian Kagerer
ad1b53472b
LOL: fixed vaelan's cube
...
svn-id: r41223
2009-06-06 14:14:07 +00:00
Florian Kagerer
29cc1efe3c
LOL: implemented Vaelan's cube
...
svn-id: r41179
2009-06-04 22:12:13 +00:00
Johannes Schickel
2dbd81f1f2
Silence some unused variable warnings.
...
svn-id: r41149
2009-06-03 20:03:08 +00:00
Florian Kagerer
f77142c55c
LOL: implemented guardian spell
...
svn-id: r41148
2009-06-03 19:58:06 +00:00
Florian Kagerer
0efe78d0f8
LOL: implemented mist of doom spell
...
svn-id: r41145
2009-06-03 17:35:06 +00:00
Johannes Schickel
a4292afcdc
Formatting and whitespaces again.
...
svn-id: r41120
2009-06-02 00:10:13 +00:00
Johannes Schickel
fae4192b37
Remove "_smoothScrollTimer" from LoLEngine, it was only used as local variable anyway.
...
svn-id: r41119
2009-06-02 00:07:11 +00:00
Johannes Schickel
9a0fff429f
- Remove LoLEngine::delayUntil it was identical to KyraEngine_v1 in its functionallity anyway
...
- Change KyraEngine_v1::delayUntil to a somewhat more LoLEngine::delayUntil like implementation
svn-id: r41117
2009-06-01 23:38:56 +00:00
Johannes Schickel
fb93062def
Allow the user to quit ScummVM, when LoL waits via delayUntil.
...
svn-id: r41116
2009-06-01 23:30:06 +00:00
Johannes Schickel
6fcccb3fcd
Slight cleanup in LoLEngine's delay and delayUntil.
...
svn-id: r41115
2009-06-01 23:29:05 +00:00
Johannes Schickel
6782d3efac
Change LoLEngine::delay to be conform with KyraEngine_v1::delay. (remove special iUpdate parameter, just call updateInput, when "doUpdate" is set to false)
...
svn-id: r41114
2009-06-01 23:25:10 +00:00
Johannes Schickel
f57be08d6d
- Add some basic debugger for Lands of Lore.
...
- Allow the "flags" command in all Kyra games to be working properly with 320x200 GUI.
svn-id: r41113
2009-06-01 22:03:27 +00:00
Johannes Schickel
bdea557d7f
- Fix some valgrind warnings
...
- Fix original bug in the Lands of Lore credits, which messed up some headings (the original didn't display them at all for some reason)
svn-id: r41111
2009-06-01 21:03:44 +00:00
Florian Kagerer
a10287e787
LOL: fix warning
...
svn-id: r41106
2009-06-01 19:11:56 +00:00