Johannes Schickel
b79c2156d0
KYRA: Make GPL headers consistent in themselves.
2014-02-18 02:39:35 +01:00
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
8d5b4b75d4
KYRA: Make all hex constants use uppercase letters.
...
Done with:
git ls-files "*.cpp" *".h" | xargs sed -i -e 's/0x\([0-9a-f]*\)/0x\U\1/g'
2013-01-09 06:01:28 +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
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
athrxx
f19401b14c
KYRA: (HOF CD Demo) - check shouldQuit() during ending text loop
2011-11-24 00:50:00 +01:00
athrxx
0565d7dc20
KYRA: (HOF) - fix ending text in the playable demo
2011-11-23 22:39:43 +01:00
Christoph Mallon
23a0f5318c
JANITORIAL: Remove trailing empty lines.
2011-08-07 13:53:33 +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
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
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
0fe2ba6a0d
Some more enforcement of our formatting conventions in KYRA too.
...
svn-id: r49069
2010-05-17 23:29:44 +00:00
Johannes Schickel
0d995c5920
Rename all "Adlib" uses to "AdLib" to match the real name of the sound card / company.
...
Check this for reference:
http://en.wikipedia.org/wiki/Ad_Lib,_Inc .
http://www.crossfire-designs.de/images/articles/soundcards/adlib.jpg (note the upper left of the card)
This commit does not touch "adlib" and "ADLIB" uses!
Also it does not update all the SCUMM detection entries, which still use "Adlib".
svn-id: r47279
2010-01-12 21:07:56 +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
cbf0ca2f6d
Typo.
...
svn-id: r44165
2009-09-17 16:08:27 +00:00
Johannes Schickel
d9ea1fd3d5
Enable delay for Ninteno DS in all occasions in o2_isAnySoundPlaying.
...
svn-id: r44164
2009-09-17 16:03:48 +00:00
Johannes Schickel
d98b1472ca
Add workaround in "o2_isAnySoundPlaying", which will hopefully make Kyra2 work on the Nintendo DS.
...
svn-id: r44163
2009-09-17 16:01:21 +00:00
Johannes Schickel
6145ed384b
Cleanup.
...
svn-id: r43534
2009-08-19 08:54:41 +00:00
Johannes Schickel
bfe8ec6d66
Replaced some raw palette loads.
...
svn-id: r41951
2009-06-29 16:49:26 +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
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
64e6c596c7
Formatting.
...
svn-id: r40991
2009-05-29 12:52:03 +00:00
Johannes Schickel
2bcf5c0552
- Moved Sound implementation declarations to the newly added file sound_intern.h
...
- Added support for PC Speaker sound in all Kyra1, Kyra2 and Lands of Lore
- Slight cleanup
svn-id: r40939
2009-05-27 14:40:37 +00:00
Johannes Schickel
c87f3199f8
Reserve opcode array entries beforehand, should save some reallocation and copying.
...
svn-id: r40798
2009-05-23 00:05:16 +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
Johannes Schickel
20d1e78fa6
o2_loadSoundFile is a dummy for non DOS versions.
...
svn-id: r36168
2009-01-31 15:16:51 +00:00
Johannes Schickel
71dcc140f9
Fixed o2_loadSoundFile implementation.
...
svn-id: r36163
2009-01-31 12:06:33 +00:00
Max Horn
ac59693be2
A ton of code formatting fixes; also fixed warnings about single line loops like 'while(cond);' by inserting newlines
...
svn-id: r36127
2009-01-29 05:26:12 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Johannes Schickel
bd5cac4e2e
Fixed macro.
...
svn-id: r33332
2008-07-27 12:05:40 +00:00
Johannes Schickel
51000de162
Cleanup.
...
svn-id: r32754
2008-06-22 12:43:32 +00:00
Florian Kagerer
6360c392f2
missed this in last commit (bug fix for #1997149 )
...
svn-id: r32753
2008-06-22 12:41:46 +00:00
Johannes Schickel
691306f0b7
Fixed KyraEngine_v1::snd_stopVoice and KyraEngine_v1::snd_voiceIsPlaying implementations.
...
svn-id: r32330
2008-05-27 21:04:27 +00:00
Florian Kagerer
5968d62d34
cleanup
...
svn-id: r32253
2008-05-24 18:31:16 +00:00
Florian Kagerer
4641f3fe7b
more fixes for spellbook/letter text in Hof (French and German floppy)
...
svn-id: r32252
2008-05-24 17:56:56 +00:00
Florian Kagerer
d766719a65
fix for missing spellbook and letter text in the floppy versions
...
svn-id: r32242
2008-05-24 13:51:25 +00:00
Johannes Schickel
fad7e1f3c1
Reverted commit #32166 .
...
svn-id: r32170
2008-05-18 13:22:06 +00:00
Johannes Schickel
c72ac9916c
Formatting.
...
svn-id: r32168
2008-05-18 13:03:03 +00:00
Johannes Schickel
1ea774e95f
Fixed fillRect opcode for HoF.
...
svn-id: r32166
2008-05-18 08:04:12 +00:00
Johannes Schickel
0bd8493e7c
Formatting.
...
svn-id: r32113
2008-05-14 13:57:22 +00:00
Torbjörn Andersson
97855800b6
Oops, I definitely meant for that to be '==', not '='. I guess this is what it
...
should look like, but I can't actually test (or even compile) it right now.
svn-id: r32103
2008-05-14 09:43:41 +00:00
Filippos Karapetis
ec0e836925
Added a FIXME regarding commit #32096
...
svn-id: r32102
2008-05-14 07:27:31 +00:00
Torbjörn Andersson
6a9429613b
Added the animation speed workaround for the sheriff animation as well. (See
...
bug #1926838 , "HoF: Animation plays too fast".)
svn-id: r32096
2008-05-14 03:35:06 +00:00