Johannes Schickel
18940ffd46
Fix bug in drawShape.
...
svn-id: r41964
2009-06-29 20:17:10 +00:00
Johannes Schickel
e15502d381
Fix bug in drawShape, which caused invisibility in Kyra1 to be displayed incorrectly.
...
svn-id: r41962
2009-06-29 19:02:15 +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
07cdbd273d
Add a "fill" method to Palette.
...
svn-id: r41952
2009-06-29 16:49:38 +00:00
Johannes Schickel
b12496d1dd
Modified Palette::load*Palette definition.
...
svn-id: r41941
2009-06-29 16:05:50 +00:00
Johannes Schickel
e212c06845
Implement palette difference in Kanji drawing code for PC98.
...
svn-id: r41896
2009-06-26 00:12:08 +00:00
Johannes Schickel
e45a941f9d
Implement PC98 text mode color palette.
...
svn-id: r41895
2009-06-26 00:11:56 +00:00
Johannes Schickel
44e2f4c929
Only initialize palettes with 16 colors in (real) 16 color games.
...
svn-id: r41892
2009-06-25 23:04:32 +00:00
Johannes Schickel
7bbad2738a
Store palettes in a Common::Array instead of a fixed size array.
...
svn-id: r41891
2009-06-25 23:04:21 +00:00
Johannes Schickel
fc0d0e2323
Cleanup palette setup.
...
svn-id: r41890
2009-06-25 23:04:08 +00:00
Johannes Schickel
86b63e0e4e
Implement proper AMIGA to VGA color conversion.
...
svn-id: r41852
2009-06-25 02:39:23 +00:00
Johannes Schickel
bd4b5d8336
Implement proper VGA (a color component in [0, 63]) to our palette format (color component in [0, 255]) conversion.
...
svn-id: r41851
2009-06-25 02:39:00 +00:00
Johannes Schickel
951e82a921
Readd PC98 palette loading for LoL 16 color.
...
svn-id: r41850
2009-06-25 02:38:19 +00:00
Johannes Schickel
6e299e4777
Strip trailing whitespaces and tabs.
...
svn-id: r41848
2009-06-25 01:30:12 +00:00
Johannes Schickel
4c01d4a954
Fix memory leak.
...
svn-id: r41747
2009-06-22 02:41:56 +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
d7432e18ea
Changed Screen::loadPalette to take a reference to a Palette object instead of an array.
...
svn-id: r41745
2009-06-22 02:37:41 +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
4bb392b593
Add wrapper functionality for copying full palettes.
...
svn-id: r41742
2009-06-22 02:36:16 +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
Johannes Schickel
0fa9b569bf
Cleanup.
...
svn-id: r41723
2009-06-21 01:22:23 +00:00
Johannes Schickel
89607d994b
Fix drawing of sharp s.
...
svn-id: r41719
2009-06-21 01:15:09 +00:00
Johannes Schickel
d4248b10c8
Prevent font code to draw characters not included in the font.
...
svn-id: r41718
2009-06-21 01:14:57 +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
0f116f1c38
Cleanup.
...
svn-id: r41381
2009-06-08 18:30:28 +00:00
Johannes Schickel
aef8d2b04b
Fix out of bounds memory access in Screen::drawShape.
...
svn-id: r41379
2009-06-08 17:47:37 +00:00
Johannes Schickel
897c0104c9
Remove unneeded functionality from Screen.
...
svn-id: r41357
2009-06-07 22:41:38 +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
Johannes Schickel
c7ee0a7ec8
More formatting.
...
svn-id: r40994
2009-05-29 13:09:26 +00:00
Johannes Schickel
17b761d1e9
Cleanup.
...
svn-id: r40986
2009-05-29 11:58:21 +00:00
Johannes Schickel
e23a229999
Fix valgrind warnings.
...
svn-id: r40983
2009-05-29 11:43:22 +00:00
Johannes Schickel
fd34892cd5
Cleanup and slight bugfix in drawShapeProcessLineScale* functions.
...
svn-id: r40982
2009-05-29 11:07:35 +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
Johannes Schickel
aa4964a46f
- Fix mouse cursor visibilty on load game in LoL
...
- Only show mouse cursor after cursor change, when the mouse was visible
svn-id: r40669
2009-05-17 23:42:54 +00:00
Florian Kagerer
6e566a9b1e
LOL: added some drawing code and fixed some bugs
...
svn-id: r40167
2009-04-27 19:38: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
Max Horn
5749b363d5
KYRA: Replaced Rect class by Common::Rect; replaced dirty rect handling code by code similiar to the one used in SAGA and the frontend GUI code
...
svn-id: r39929
2009-04-11 09:57:57 +00:00
Florian Kagerer
0ce597db80
LOL: - added drawing code for certain gfx (blood and slime spots on the floor, teleporters, ice walls)
...
svn-id: r39599
2009-03-21 20:24:36 +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
7ea5cefef4
LOL: implemented some monster related code (monsters now get placed in the maze, but they still don't do anything)
...
svn-id: r39039
2009-03-01 14:45:30 +00:00
Johannes Schickel
33934251cb
Fix for long delay while fading palette in Zanthia's home, when mixing potions.
...
svn-id: r38425
2009-02-17 17:17:47 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Johannes Schickel
dfc08c823d
Clean up cursor stack on engine quit properly.
...
svn-id: r35427
2008-12-18 20:22:49 +00:00