Commit Graph

330 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
da9e27361a KYRA: Fix missing music in Kyra 1 DOS intro.
This is a regression from 93e69aa4da.
Thanks to eriktorbjorn to noticing that the music is missing.
2013-05-01 15:07:15 +02:00
athrxx
cc465076ee KYRA: (LOL/FM-TOWNS) - adapt static resources 2013-01-09 20:27:35 +01: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
D G Turner
e2948313f3 KYRA: Change loop variable to uint, rather than size_t. 2012-11-30 13:08:52 +00: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
athrxx
086dd66a65 KYRA: fix several GCC compile issues in previous commits 2012-11-11 19:14:33 +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
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
athrxx
11cf6145cb KYRA: update kyra.dat to match the last commit (added support for French LOL floppy) 2012-08-01 01:07:41 +02:00
athrxx
a4223e9c2b KYRA: (EOB) - fix EOB1 door clipping
(this was done in the same way as in EOB2 and LOL, but it has to be slightly different)
2012-02-21 21:48:42 +01:00
athrxx
86a817beb5 KYRA: (EOB) - start work on CGA and EGA graphics modes 2012-02-21 21:48:39 +01:00
Johannes Schickel
d66bfb131c KYRA: Cleanup v2 item animation a little bit. 2012-01-08 23:00:41 +01:00
athrxx
0e2b8413e5 KYRA: add support for another Russian HOF fan translation 2011-12-28 00:01:33 +01:00
Johannes Schickel
9b51b138db KYRA: Some formatting fixes. 2011-12-26 21:34:22 +01:00
athrxx
8716ed1703 KYRA: (EOB/LOL) - again fix static resource loading for EOB when LOL is disabled 2011-12-26 16:18:16 +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
6c8fb30cbd KYRA: (EOB) - fix static resource loading for EOB when LOL is disabled 2011-12-26 16:18:16 +01:00
athrxx
0e4c184e28 KYRA: (EOB) - implement some gui functionality, some bug fixes, etc. 2011-12-26 16:18:13 +01:00
athrxx
540d081a6f KYRA: (EOB) - initial code base commit 2011-12-26 16:18:10 +01:00
Johannes Schickel
1fa858d339 KYRA: Made some more static data const. 2011-09-08 00:33:10 +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
f44874f0a6 KYRA: add support for Russian Kyra 1 floppy fan translation 2011-07-27 16:38:31 +02:00
athrxx
f2f6ddced9 KYRA: add support for Kyra 2 Russian floppy 2011-07-25 17:57:33 +02:00
athrxx
ec55336393 LOL: add support for Russian CD-ROM version 2011-07-24 22:49:21 +02:00
athrxx
7174f14c61 LOL: add support for Russian floppy version 2011-07-24 20:39:08 +02:00
athrxx
4338c4dccf LOL: update kyra.dat for italian fan translation 2011-06-11 16:28:44 +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
Max Horn
4d3a07b494 COMMON: Rename and tweak MD5 functions
* names now comply to our naming conventions
* the function computeStreamMD5AsString which computes the MD5
  as a hex string now returns it as a Common::String
* add doxygen comments

svn-id: r54121
2010-11-07 17:16:59 +00:00
Max Horn
e27b05ef35 COMMON: Rename String::printf() to String::format()
This is a first step towards getting rid of all uses of regular printf,
fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase.

The name format() reflects the purpose of the function, and parallels
String.format() in Java, boost::format, and others.

svn-id: r54004
2010-11-01 16:02:28 +00:00
Florian Kagerer
bf5ae45490 KYRA/PC98: workaround for missing delay opcodes
The sequence data for the forest sequence in the Kyra PC-98 intro has no delay opcodes making it play way too fast on modern systems. This workaround adds the same delay opcodes to the sequence data that the other Kyra versions have.

svn-id: r53761
2010-10-24 13:00:47 +00:00
Johannes Schickel
5ff20cb12d KYRA: Cleanup.
svn-id: r53698
2010-10-22 02:11:00 +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
Torbjörn Andersson
54b2a8c98d JANITORIAL: Cleanup (mostly whitespace)
svn-id: r53161
2010-10-12 04:19:58 +00:00
Florian Kagerer
f4d38ccd40 LOL: added english floppy version
svn-id: r51834
2010-08-07 14:38:07 +00:00
Florian Kagerer
9c8b465505 KYRA: FM-Towns audio driver rewrite
- FM-Towns euphony driver completely rewritten based on KYRA FM-Towns and LOOM towns disasm.

- Split all the emu and driver code from sound_towns.cpp into different files to make things a bit less confusing.

- Move the driver code to common space since the exact same euphony driver is used by LOOM which means we could get rid of the outdated and incomplete ym2612 driver/emu implementation (which doesn't even do things like instrument loading, pan position, etc). I haven't tried to add this to the Scumm engine yet, since I am not  familiar with it and my priority was to get the driver finished first. But from the look of disasm it shouldn't be difficult to do.

- Introduce a generic FM-Towns audio interface based on FM-Towns system file disasm which was necessary for the euphony driver rewrite. Every FM-Towns game I have seen so far seems to access the audio hardware via these system functions. This interface implementation will also allow reasonably simple creation of new FM-Towns audio drivers (e.g. this could be used for Kings Quest 5 FM-Towns or others).

- Move the PC98 driver to common space, too, since I have a strong feeling that this driver is also used in the PC98 version of Future Wars

- This also improves KYRA FM-Towns music quality, sound effects accuracy and music fading.

svn-id: r51645
2010-08-02 18:30:25 +00:00
Johannes Schickel
7fb37db81e KYRA: Move LoL specific static data to its own file.
svn-id: r51175
2010-07-22 22:00:46 +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
Florian Kagerer
2a0b03218c LOL: - added workaround for portrait speech animations which would sometimes "freeze"
- renamed some stuff

svn-id: r46601
2009-12-26 19:02:16 +00:00
Johannes Schickel
46cf13307d Cleanup.
svn-id: r46194
2009-11-29 13:52:02 +00:00
Florian Kagerer
5f3e54fcb7 KYRA: removed hack in staticres loader
svn-id: r46181
2009-11-28 23:44:06 +00:00
Florian Kagerer
c7371320d6 KYRA: added HOF PC-98 static data to kyra.dat
svn-id: r46180
2009-11-28 23:34:12 +00:00
Johannes Schickel
485159f0dc Slight simplification.
svn-id: r46093
2009-11-22 18:21:40 +00:00
Johannes Schickel
fa84949479 Remove dead code.
svn-id: r46092
2009-11-22 18:17:05 +00:00
Johannes Schickel
d2d3a9a9eb - Store ID map for static resources in kyra.dat instead of hardcoding it in the main KYRA source
- Changed how static resource types are specified
- Rebuilt kyra.dat

svn-id: r46091
2009-11-22 18:16:25 +00:00
Johannes Schickel
d167197a52 Cleanup: remove never used support for builtin static data in StaticResource.
svn-id: r46053
2009-11-21 23:06:22 +00:00
Johannes Schickel
ea5bf444d3 Fix mismatching resource type IDs for Lands of Lore in kyra.dat.
svn-id: r46051
2009-11-21 22:15:20 +00:00
Johannes Schickel
1ade0efbf2 Flag credits data for Kyrandia 1 as language specific data. (Fixes language of credits for Amiga versions.)
svn-id: r46049
2009-11-21 20:30:38 +00:00