Commit Graph

47 Commits

Author SHA1 Message Date
Florian Kagerer
501df3adf8 LOL: - reduce code duplication
svn-id: r42140
2009-07-05 14:58:22 +00:00
Johannes Schickel
a12b4e7002 Fix LoL cursor in DOS version.
svn-id: r41963
2009-06-29 20:16:59 +00:00
Johannes Schickel
cc0b30370e Fix kyra2/kyra3 mouse cursor related regressions, introduced with r41959.
svn-id: r41960
2009-06-29 18:49:17 +00:00
Johannes Schickel
67f69bcaf2 - Get rid of code duplication for mouse cursor setup
- Fix mouse cursor colors in LoL PC98
(This commit might introduce regressions, since it changes the key color the mouse cursor uses)

svn-id: r41959
2009-06-29 18:00:18 +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
Florian Kagerer
7d876f8a19 LOL: fixed regression
svn-id: r41917
2009-06-27 13:15:47 +00:00
Johannes Schickel
f9b075c50a Change Screen_v2::findLeastDifferentColor to take a Palette object as source.
svn-id: r41886
2009-06-25 20:00:52 +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
df307cfdc8 Change Screen_LoL::generateGrayOverlay to use a Palette object internally.
svn-id: r41882
2009-06-25 19:57:35 +00:00
Johannes Schickel
55cb0c6738 Cleanup.
svn-id: r41876
2009-06-25 19:52:49 +00:00
Johannes Schickel
0ef8d1ffed Implement proper color index conversion for Lands of Lore PC98. (The intro and menu screen work fine now)
svn-id: r41867
2009-06-25 15:22:08 +00:00
Johannes Schickel
4597178cf9 Fix palette regression in Lands of Lore.
svn-id: r41777
2009-06-22 19:46:08 +00:00
Johannes Schickel
5767277d8d - Fixed regression in Screen::fadeToBlack
- Fixed some palette regressions in Kyra1 Amiga (only the intro works currently)

svn-id: r41746
2009-06-22 02:37:57 +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
b448d506b8 Start refactoring palette handling into new class "Palette".
svn-id: r41739
2009-06-22 02:34:35 +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
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
Florian Kagerer
4416881c07 LOL: implemented king richard healing sequence
svn-id: r41314
2009-06-07 00:37:30 +00:00
Florian Kagerer
29cc1efe3c LOL: implemented Vaelan's cube
svn-id: r41179
2009-06-04 22:12:13 +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
86d78bbc8b LOL: - implemented urbish mines gas explosion
svn-id: r41035
2009-05-30 15:52:09 +00:00
Johannes Schickel
64e6c596c7 Formatting.
svn-id: r40991
2009-05-29 12:52:03 +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
6bd5dea027 LOL: - implemented freeze spell
- fixed saveload code
- added some opcode for the swamp

svn-id: r40763
2009-05-21 16:46:40 +00:00
Johannes Schickel
e51481d69b Remove trailing tabs/whitespaces.
svn-id: r40760
2009-05-21 13:13:09 +00:00
Johannes Schickel
783fb058b0 Formatting.
svn-id: r40717
2009-05-19 01:39:18 +00:00
Johannes Schickel
7561bd9dfb Remov lots of superfluous debug output.
svn-id: r40715
2009-05-19 01:13:29 +00:00
Florian Kagerer
6ebdb00965 LOL: some more opcodes for the draracle cave
svn-id: r40628
2009-05-16 12:53:05 +00:00
Florian Kagerer
bee8be58e3 LOL: implemented pit drop animation
svn-id: r40592
2009-05-15 06:29:08 +00:00
Florian Kagerer
670eb3badf LOL: - implemented rest party button
- made button processing code more accurate

svn-id: r40442
2009-05-10 23:08:32 +00:00
Florian Kagerer
dd84aaf648 LOL: - added some spell casting (spark, heal, swarm)
- 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-05-10 13:40:28 +00:00
Florian Kagerer
ccb64ad81e LOL: - Started implementing the fighting system. The damage inflicted is 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-25 13:15:05 +00:00
Florian Kagerer
9638c7ec4b LOL: - added support for magic atlas
- fixed minor palette bug

svn-id: r39818
2009-04-03 21:32:50 +00:00
Florian Kagerer
769184c483 LOL: added some new drawing code required for some shapes and fixed a minor text displaying bug
svn-id: r39487
2009-03-17 18:27:56 +00:00
Florian Kagerer
6cb3f665af LOL: some more work on the text displayer so that it handles longer texts (needed for some library books)
svn-id: r39249
2009-03-08 23:28:19 +00:00
Florian Kagerer
e23fd08dfb LOL: fixed bug reported by MD5 (crashes and freezes caused by calls to non-existent sub scripts)
svn-id: r39209
2009-03-08 02:17:14 +00:00
Johannes Schickel
efd7c2eac9 Ease conditional LoL compiling with build systems not based on the default one.
svn-id: r39125
2009-03-04 11:53:25 +00:00
Florian Kagerer
f065524949 LOL:
- implemented some input code
- you can walk around now (not very far though, since doors don't work yet). Keyboard control is still missing
- processButtonList isn't really implemented yet for LOL. I'll still have to check which features are  needed here.

svn-id: r36320
2009-02-14 00:51:07 +00:00
Florian Kagerer
784c99b3da svn-id: r36178 2009-02-01 19:27:01 +00:00
Johannes Schickel
62334395a7 Formatting.
svn-id: r35908
2009-01-18 17:38:29 +00:00
Florian Kagerer
ff268e8fd5 LOL: Some drawing code and some opcodes so that the first scene will show up. Playing is not possible. This is still somewhat messy since a lot of stuff hasn't been figured out yet.
svn-id: r35903
2009-01-18 17:04:24 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Johannes Schickel
8ea422f415 - Cleanup
- Implemented Screen_LoL::fprintString

svn-id: r35608
2008-12-29 14:37:51 +00:00
Johannes Schickel
5e0df8ad8e Committed slightly modified patch #2029395 "KYRA: Lands of Lore Intro + Character selection".
svn-id: r33463
2008-07-31 10:47:15 +00:00