122 Commits

Author SHA1 Message Date
Matthew Hoops
0031c41db8 COMMON: Change kPlatformPC to kPlatformDOS
"PC" was very ambiguous and now it matches what we show in the GUI.

This also corrects sword2's platform to Windows.
2013-05-02 18:43:10 -04:00
Johannes Schickel
f5a3260ee8 KYRA: Properly mark digital sfx as sfx in HoF and LoL again.
This is a regression from e016e7dfc2b1e3cdb39c01d81c5a34eee66a277b.
2012-11-23 02:43:38 +01:00
athrxx
93e69aa4da KYRA: clean up audio resource handling
(this was really ugly, now it's somewhat less ugly)
2012-11-11 19:14:31 +01:00
athrxx
1bb8f22567 KYRA: finish implementation of new HOF sequence player code 2012-11-11 19:14:30 +01:00
athrxx
9840744acc KYRA: move HOF sequence player into its own class
(also cleaning up and fixing things while doing that)
2012-11-11 19:14:29 +01:00
Johannes Schickel
34c5751948 KYRA: Reduce amount of updateScreen calls.
This fixes some slowdowns in Kyra2 with the OpenGL backend for me. Most of the
updateScreen calls saved were introduced by us implementing the original
behavior of hiding the mouse before drawing onto the screen and showing it
again afterwards, since the mouse cursor is not drawn on the game screen in our
implementation (and unlike in the original) this is not necessary.
2012-06-13 04:13:16 +02:00
athrxx
ecd1a9f943 KYRA: (EOB) - cleanup CGA/EGA code a bit 2012-02-24 18:09:37 +01:00
athrxx
66da4777d4 KYRA: (EOB) - implement EGA mode (hi res dithering) for EOB II
(also fix various thing connected to CGA/EGA modes)
2012-02-21 21:48:46 +01:00
Tarek Soliman
921f602ab8 JANITORIAL: Fix whitespace in pointer template arg 2012-02-15 10:07:08 -06:00
Johannes Schickel
d66bfb131c KYRA: Cleanup v2 item animation a little bit. 2012-01-08 23:00:41 +01:00
athrxx
0aa3238523 KYRA: (EOB/LOL) - rename some vars
(all cases of Eob to EoB, all cases of Lol to LoL, all cases of LolEobCommon to RpgCommon)
2011-12-26 16:18:16 +01:00
athrxx
540d081a6f KYRA: (EOB) - initial code base commit 2011-12-26 16:18:10 +01:00
Johannes Schickel
cfac223cee KYRA: "Fix" bug #3166235 "KYRA: Crash on startup on OS X due to invalid PAK file".
Now we can show such errors in the debugger, since we initialize and the
screen resolution and the debugger before initializing the resource manager.
This allows our error function to open up the debugger and show the error at
least.

A better feedback to the user might be desirable, but it is not really
feasible with our current possibilites for error reporting.
2011-11-18 03:47:51 +01:00
Johannes Schickel
61795739f8 COMMON: Rename Common::set_to to Common::fill.
This makes the name match with the name of the STL function with the same
behavior.
2011-11-16 18:06:30 +01:00
Johannes Schickel
951cb8ea71 KYRA: Get rid of Sound's voiceFileIsPresent in favor of isVoicePresent. 2011-10-29 01:00:18 +02:00
athrxx
9b2848ba90 KYRA: fix typo 2011-10-01 18:35:05 +02:00
Johannes Schickel
1fa858d339 KYRA: Made some more static data const. 2011-09-08 00:33:10 +02:00
Christoph Mallon
3ee307e6b3 KYRA: Simplify initializing a buffer with a string. 2011-08-07 15:19:08 +02:00
Christoph Mallon
ab80b20a30 COMMON: Replace x + ARRAYSIZE(x) by the simpler ARRAYEND(x). 2011-08-07 15:19:08 +02:00
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
athrxx
3f2b5b9e8b KYRA: revert d7e700f370c258a5f4786d972af3666b93b71f94
The GMM mouse cursor bug has now been fixed inside the GMM and CursorMan code.
2011-06-25 15:54:37 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Johannes Schickel
9fb92f4b7e KYRA: Fix compilation when LoL is disabled. 2011-04-28 18:16:01 +02:00
Johannes Schickel
7d03da14cb KYRA: Clean up of header includes. 2011-04-28 15:39:57 +02:00
Johannes Schickel
8fe9f8e73a KYRA: Cleanup. 2011-04-11 00:31:24 +02:00
Johannes Schickel
ee4699a495 KYRA: Get rid of non-const static variables in HoF. 2011-04-11 00:21:18 +02:00
athrxx
e23696d900 KYRA/LOL: add comments for last commit 2011-02-16 16:31:22 +01:00
athrxx
d7e700f370 KYRA/LOL: fixed hand item cursor bug
This fixes a bug when loading savegames with different active hand items via GMM. The mouse cursor was not set to the active hand item in these cases.
2011-02-16 16:23:44 +01:00
Johannes Schickel
32338876f8 KYRA: Rename KyraEngine::saveGameState to KyraEngine::saveGameStateIntern.
This is to avoid name similarity between KyraEngine::saveGameState(Intern)
and Engine::saveGameState.

svn-id: r53912
2010-10-28 23:57:24 +00:00
Johannes Schickel
03e2d54ca7 KYRA: Adapt Kyra2+3 to use the newly added item type too.
svn-id: r53697
2010-10-22 02:10:22 +00:00
Johannes Schickel
38463e6161 KYRA: A little refactoring (name change).
svn-id: r53695
2010-10-22 02:08:26 +00:00
Johannes Schickel
9cd333152b KYRA: Add support for subtitle options changes via GMM.
svn-id: r51757
2010-08-05 14:41:00 +00:00
Johannes Schickel
0fe2ba6a0d Some more enforcement of our formatting conventions in KYRA too.
svn-id: r49069
2010-05-17 23:29:44 +00:00
Johannes Schickel
46cf13307d Cleanup.
svn-id: r46194
2009-11-29 13:52:02 +00:00
Florian Kagerer
45fda46cf3 KYRA/LOL: - get rid of ascii/sjis detection which could cause problems when typing savegame names
- fixed some minor bugs

svn-id: r44709
2009-10-06 17:22:40 +00:00
Max Horn
f242266f6d Change a couple places from 'end of namespace' to 'End of namespace', for consistency
svn-id: r44634
2009-10-04 21:26:33 +00:00
Florian Kagerer
548d139b48 LOL: cleanup
svn-id: r44549
2009-10-02 23:13:47 +00:00
Johannes Schickel
871f832fe1 Fix valgrind warnings.
svn-id: r43428
2009-08-16 06:33:34 +00:00
Johannes Schickel
1ebcec73bf Implement missing bits in KyraEngine_HoF::setCauldronState.
svn-id: r42773
2009-07-25 16:37:25 +00:00
Johannes Schickel
495d93de1e Fix palette regression in Kyra2.
svn-id: r42771
2009-07-25 16:34:01 +00:00
Johannes Schickel
c810f9645a Removed obsolete TODOs in HoF code.
svn-id: r41958
2009-06-29 17:26:56 +00:00
Johannes Schickel
fbefe917f2 Removed more obsolete TODO messages.
svn-id: r41956
2009-06-29 17:06:17 +00:00
Johannes Schickel
bfe8ec6d66 Replaced some raw palette loads.
svn-id: r41951
2009-06-29 16:49:26 +00:00
Johannes Schickel
dca6ec2653 Use Screen::loadPalette instead of Resource::loadFileToBuf.
svn-id: r41877
2009-06-25 19:53:55 +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
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
c7ee0a7ec8 More formatting.
svn-id: r40994
2009-05-29 13:09:26 +00:00