Johannes Schickel
10c4baad5f
KYRA: Move SoundDigital declaration to its own header.
2012-11-23 03:01:48 +01:00
Johannes Schickel
138db7f39d
KYRA: Get rid of pointless SoundDigital::init method.
2012-11-23 02:54:28 +01:00
Johannes Schickel
bbb83f132b
KYRA: Make "const type *const" use consistent.
...
I used this command for changing "const type * const" to "const type *const":
git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/const \([a-zA-Z0-9_]*\) \* const/const \1 \*const/g'
2012-11-19 13:06:09 +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
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
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
7e2f7dce3a
KYRA: fix pauseEngineIntern regression in MR
2011-07-04 19:52:14 +02:00
athrxx
3f2b5b9e8b
KYRA: revert d7e700f370
...
The GMM mouse cursor bug has now been fixed inside the GMM and CursorMan code.
2011-06-25 15:54:37 +02:00
Johannes Schickel
80d0bc0c85
KYRA: Get rid of most snprintf usages.
...
Thanks to digitall for his initial patch, which I only altered slightly.
2011-06-09 19:10:54 +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
eb731514f7
KYRA: Slight cleanup.
...
This more or less silently fixes the silent music introduced with f19e201
, by
me setting volume to "true" instead of "255". Whoops.
2011-04-07 01:09:52 +02:00
Johannes Schickel
f19e2019b8
KYRA: Cleanup background music looping of Kyra3.
2011-04-07 01:01:55 +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
Max Horn
2d1c8a3533
ALL: Fix whitespaces / indention
...
svn-id: r55818
2011-02-07 23:01:06 +00:00
Johannes Schickel
2cc3bd880f
KYRA: Clean up main menu code in Kyra2/Kyra3.
...
svn-id: r55620
2011-01-29 18:40:04 +00:00
David Turner
f050e2d66f
KYRA: Close Memory Leaks in Kyra 3 (Malcolm's Revenge) Menu.
...
svn-id: r55618
2011-01-29 18:18:29 +00: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
d8d8857276
KYRA: Remove superfluous music fade out on Kyra 3 startup.
...
svn-id: r52201
2010-08-19 02:39:07 +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
6da04bc13b
KYRA: Implement support for selecting the VQA quality via "video_quality".
...
svn-id: r51187
2010-07-23 00:39:23 +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
7da8c8949b
Replace KYRA's strncpy and strncat usages by strlcpy/strlcat.
...
svn-id: r48954
2010-05-05 17:53:30 +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
4991a87b53
Kyra: fix kyra 3 font
...
svn-id: r44710
2009-10-06 17:28:32 +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
c22010b3d2
Fix RTL from Kyra3 main menu. (It now doesn't quit ScummVM anymore)
...
svn-id: r42180
2009-07-06 16:17:03 +00:00
Johannes Schickel
3919bd2aed
Fix palette regression caused by r41949.
...
svn-id: r41961
2009-06-29 18:49:28 +00:00
Johannes Schickel
11dafd2ded
Resolved some TODOs in Kyra3 code.
...
svn-id: r41957
2009-06-29 17:26:43 +00:00
Johannes Schickel
179a822b93
Adapted various code parts to use Palette::fill.
...
svn-id: r41953
2009-06-29 16:49:53 +00:00
Johannes Schickel
6f46b69236
Cleanup KyraEngine_MR::updateCharPal.
...
svn-id: r41949
2009-06-29 16:08:39 +00:00
Johannes Schickel
6e69a149cd
Change Screen_v2::generateOverlay to take a const Palette reference instead of a pointer.
...
svn-id: r41881
2009-06-25 19:57:06 +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
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
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
Johannes Schickel
64e6c596c7
Formatting.
...
svn-id: r40991
2009-05-29 12:52:03 +00:00