Commit Graph

161 Commits

Author SHA1 Message Date
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
Florian Kagerer
19a6eac4ca LOL: implemented hand of fate spell
svn-id: r41103
2009-06-01 16:29:13 +00:00
Florian Kagerer
cc8cc6f452 LOL: implemented magic viper attack (used by wraiths in white tower level 3)
svn-id: r41074
2009-05-31 15:42:26 +00:00
Johannes Schickel
f59176cd46 Fix various memory leaks in Lands of Lore.
svn-id: r41066
2009-05-31 12:28:56 +00:00
Florian Kagerer
c938667d4b LOL: - fix shape memory allocation/release issue
svn-id: r41055
2009-05-31 01:24:08 +00:00
Johannes Schickel
bccca104d0 - Add support for the Lands of Lore outro TIM file
- Cleanup

svn-id: r41053
2009-05-31 00:42:44 +00:00
Florian Kagerer
a126a05dc4 LOL: implemented some opcodes required for yvel city
svn-id: r41041
2009-05-30 19:48:13 +00:00
Florian Kagerer
9823f60146 LOL: - fixed crash that occured when entering yvel city
- added another opcode for yvel woods

svn-id: r41031
2009-05-30 14:13:27 +00:00
Florian Kagerer
7463fe3f1b LOL: implemented opcode required for magic wands
svn-id: r41016
2009-05-29 22:36:01 +00:00
Johannes Schickel
c7ee0a7ec8 More formatting.
svn-id: r40994
2009-05-29 13:09:26 +00:00
Johannes Schickel
64e6c596c7 Formatting.
svn-id: r40991
2009-05-29 12:52:03 +00:00
Johannes Schickel
637a432b1f Formatting.
svn-id: r40975
2009-05-29 00:09:56 +00:00
Florian Kagerer
69d054660a LOL: - fix valgrind warning
- 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-28 23:49:41 +00:00
Johannes Schickel
212271f1ce Fix mismatching new/delete[]
svn-id: r40967
2009-05-28 22:13:17 +00:00
Johannes Schickel
2bcf5c0552 - Moved Sound implementation declarations to the newly added file sound_intern.h
- Added support for PC Speaker sound in all Kyra1, Kyra2 and Lands of Lore
- Slight cleanup

svn-id: r40939
2009-05-27 14:40:37 +00:00
Florian Kagerer
9d4776ebc5 LOL: implemented support for the mine car
svn-id: r40897
2009-05-25 22:58:05 +00:00
Johannes Schickel
7c1eb05714 Strip trailing whitespaces.
svn-id: r40866
2009-05-24 15:06:28 +00:00
Florian Kagerer
84a2651e63 LOL: fixed some input code issues:
- party would move 2 steps instead of one when using keyboad while magic menu was open 
- viewing notes would abort at once instead of waiting for the next click

svn-id: r40863
2009-05-24 14:33:41 +00:00
Florian Kagerer
c281214027 LOL: fix valgrind warning
svn-id: r40847
2009-05-24 00:53:22 +00:00