Commit Graph

75 Commits

Author SHA1 Message Date
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
Christoph Mallon
e40ba4c135 JANITORIAL: Simply use *x instead of *x.get() on smart pointers. 2012-03-13 15:43:59 +01:00
Johannes Schickel
9b51b138db KYRA: Some formatting fixes. 2011-12-26 21:34:22 +01:00
athrxx
c0e782fd0b KYRA: (EOB) - Start implementing EOB1 party transfer (not working yet)
(ScummVM specific solution which allows the selection of save files of all configured EOB1 targets)
2011-12-26 16:18:17 +01:00
athrxx
b3c8173bd4 KYRA: (EOB) - extend save/load dialogue to support 990 slots 2011-12-26 16:18:14 +01:00
athrxx
97e5036bf0 KYRA: (EOB) - more work on ingame menus 2011-12-26 16:18:11 +01:00
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
athrxx
f80b2383e7 KYRA: cleanup last commit 2011-07-04 20:22:16 +02:00
athrxx
38d18a6e78 KYRA: fix ingame menu save slots
- long GMM save descriptions will be trimmed to fit the ingame menu save slots
- prevent writing beyond the right margin in Kyra 1 save slots
2011-07-04 19:52:11 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Johannes Schickel
7d03da14cb KYRA: Clean up of header includes. 2011-04-28 15:39:57 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Johannes Schickel
6d0bb19a51 KYRA: Cleanup static variable usage in LoK. 2011-04-07 00:11:36 +02: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
3653613443 KYRA: Add a datatype for the item ids and convert Kyra1 to use it.
svn-id: r53696
2010-10-22 02:09:16 +00:00
Johannes Schickel
bf17cc1053 In the help of making the new C++ standard a better one, we will now no longer rely on using parent class names in friend classes of a subclass.
svn-id: r50952
2010-07-16 23:30:29 +00:00
Johannes Schickel
7da8c8949b Replace KYRA's strncpy and strncat usages by strlcpy/strlcat.
svn-id: r48954
2010-05-05 17:53:30 +00:00
Johannes Schickel
595a2e16f1 Fix use of undefined behavior. (Thanks to syke for reporting)
svn-id: r47685
2010-01-29 22:43:23 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Johannes Schickel
4fcc82e7a6 Paranoia change: add some explicit terminating 0 after some strncpy uses.
svn-id: r47479
2010-01-23 16:15:18 +00:00
Florian Kagerer
99111a75c1 KYRA: fixed save menu glitch in Japanese versions
svn-id: r45956
2009-11-17 16:26:40 +00:00
Florian Kagerer
9bd5e07d90 KYRA: added kyra 1 pc98 static data to kyra.dat (intro forest sequence is still broken)
svn-id: r45906
2009-11-14 22:51:35 +00:00
Florian Kagerer
7449091202 KYRA: fix sjis dialgue text display
svn-id: r44943
2009-10-11 20:09:35 +00:00
Johannes Schickel
f4288516e8 Revert commits r44912 and r44905, seems like the original FM-Towns/PC98 games did only allow ASCII input, thus they didn't use the SJIS font in the save/load menus.
svn-id: r44916
2009-10-11 12:51:13 +00:00
Johannes Schickel
8f6e9f0bf2 Fix FM-Towns/PC98 menu code.
svn-id: r44905
2009-10-11 11:29:34 +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
Johannes Schickel
a9f1063ae1 Some more paranoia asserts.
svn-id: r44217
2009-09-20 16:56:44 +00:00
Johannes Schickel
5bed17efa9 - Add support for Kyrandia 1 German Amiga in create_kyradat.
- Increase kyra.dat version.
- Rebuilt kyra.dat.
- Some slight adaptions for Kyrandia 1 German in the ScummVM source.

svn-id: r44215
2009-09-20 16:54:23 +00:00
Johannes Schickel
34e30a29b5 Make KYRA only call OSystem::updateScreen from inside Screen::updateScreen, when the screen really changed OR the palette changed.
svn-id: r43537
2009-08-19 16:19:55 +00:00
Johannes Schickel
786024ebb6 Fix thumbnails for savegames made via the in-game GUI of Kyrandia 1 Amiga.
svn-id: r43278
2009-08-11 16:18:43 +00:00
Johannes Schickel
f419386d71 Fix in-game GUI text input field colors for Kyrandia 1 Amiga.
svn-id: r43248
2009-08-11 01:31:34 +00:00
Johannes Schickel
6e9ff8e381 Finally fixed the string extraction for Kyrandia 1 Amiga. This should make the intro/outro strings work fine again.
svn-id: r43246
2009-08-11 01:24:40 +00:00
Johannes Schickel
19d5aa25dc Fix GUI button outline colors in Kyra1 Amiga.
svn-id: r43213
2009-08-10 18:03:37 +00:00
Johannes Schickel
7c6ffa78e0 Fix GUI font colors and text drawing in Kyrandia 1 Amiga.
svn-id: r43212
2009-08-10 18:01:28 +00:00
Johannes Schickel
f9b657c9f4 Implement item to item name list index mapping for Kyrandia 1 Amiga.
svn-id: r43210
2009-08-10 17:14:22 +00:00
Johannes Schickel
8ac9752f8f Fix GUI strings in Kyrandia 1 Amiga.
svn-id: r43209
2009-08-10 17:14:03 +00:00
Johannes Schickel
091ecc8fd0 - Fix extraction of Kyra 1 amiga string tables in kyra.dat
- Fix "taken" string offsets in kyra.dat
- Add temporary workaround for only one "taken" string being present in Kyra 1 amiga.
- Update kyra.dat

svn-id: r43208
2009-08-10 16:42:39 +00:00
Johannes Schickel
6c1bd68aed Fix inventory background color.
svn-id: r43193
2009-08-10 01:32:59 +00:00
Johannes Schickel
5a7f85fbf6 Unbreak basic Kyra1 amiga in game support, by disabling some palette code for the amiga version.
svn-id: r43188
2009-08-09 23:23:48 +00:00
Kostas Nakos
14df573175 hint backend about virtual keyboard on save, in LoK
svn-id: r43095
2009-08-07 10:44:34 +00:00
Johannes Schickel
fbefe917f2 Removed more obsolete TODO messages.
svn-id: r41956
2009-06-29 17:06:17 +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
872e925807 Enable proper umlaut handling in kyra 1-3.
svn-id: r41721
2009-06-21 01:15:37 +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
c7ee0a7ec8 More formatting.
svn-id: r40994
2009-05-29 13:09:26 +00:00
Johannes Schickel
783fb058b0 Formatting.
svn-id: r40717
2009-05-19 01:39:18 +00:00