Max Horn
5749b363d5
KYRA: Replaced Rect class by Common::Rect; replaced dirty rect handling code by code similiar to the one used in SAGA and the frontend GUI code
...
svn-id: r39929
2009-04-11 09:57:57 +00:00
Florian Kagerer
74fdcca04e
LOL: startup fix for floppy version
...
svn-id: r39875
2009-04-06 17:09:02 +00:00
Florian Kagerer
38737e9c07
LOL: fix monsters' strange sliding to the left (like that thug at the beginning)
...
svn-id: r39863
2009-04-05 13:15:33 +00:00
Florian Kagerer
a528efb93d
LOL: implemented two more opcodes (for roland's house and for the sequence where the king gets poisoned)
...
svn-id: r39860
2009-04-05 12:13:21 +00:00
Florian Kagerer
bf160a91b8
LOL: fix speech bug, which would cause a hang up when entering roland's house
...
svn-id: r39858
2009-04-05 11:36:38 +00:00
Florian Kagerer
d52d81fd1c
LOL: implemented opcode for throwing items into or out of the thug's cave
...
svn-id: r39854
2009-04-04 23:35:00 +00:00
Florian Kagerer
7bd305397b
LOL: fix magic atlas back/forward buttons
...
svn-id: r39853
2009-04-04 22:49:14 +00:00
Florian Kagerer
44fa38b2af
LOL: implemented compass
...
svn-id: r39852
2009-04-04 21:10:35 +00:00
Florian Kagerer
3efc9ad51e
LOL: correct character portrait positioning for "full screen sequences" (like grey eagle inn) when playing without sub titles
...
svn-id: r39849
2009-04-04 16:41:21 +00:00
Florian Kagerer
353e0bef7a
LOL: - this should fix a text displayer bug that occured when speaking to the compass gui
...
svn-id: r39848
2009-04-04 16:13:52 +00:00
Florian Kagerer
caf585bcb1
LOL: - minor item drawing bug fix
...
svn-id: r39840
2009-04-04 14:10:53 +00:00
Johannes Schickel
bff93a38ae
Formatting.
...
svn-id: r39839
2009-04-04 13:19:33 +00:00
Florian Kagerer
31118416ab
LOL: - minor sfx bug fix
...
svn-id: r39836
2009-04-04 12:56:49 +00:00
Florian Kagerer
3d608dda3e
LOL: - reverted last commit which would break map shape drawing (I have now changed the map shape coordinates to decimal numbers though since some compiler seems to complain about signed hex numbers)
...
- added support for placing items in wall niches (like that one in the thugs' cave)
svn-id: r39823
2009-04-04 00:19:34 +00:00
Filippos Karapetis
3d556dd9e0
Fixed compilation (a signed byte cannot hold such big values)
...
svn-id: r39821
2009-04-03 23:06:42 +00:00
Florian Kagerer
9638c7ec4b
LOL: - added support for magic atlas
...
- fixed minor palette bug
svn-id: r39818
2009-04-03 21:32:50 +00:00
Johannes Schickel
2b7af654bd
Fix invalid memory writes.
...
svn-id: r39727
2009-03-28 16:35:54 +00:00
Florian Kagerer
7bfa1455bc
LOL: - implemented opcode required for operating the floor plates in the thugs' cave)
...
- fixed bug (only one of the two thugs in front of the cave was deleted when sneaking into the cave)
svn-id: r39721
2009-03-28 12:58:34 +00:00
Johannes Schickel
8dda5f4070
Formatting.
...
svn-id: r39720
2009-03-28 12:08:43 +00:00
Florian Kagerer
8875fdcded
LOL: - Level temp data now get stored in memory so you can now return to a level without everything being broken. Temp data isn't saved to disk. Since total memory requirement for storing this data won't exceed ~100kb I'd rather save memory in other places (like removing some screen page buffers)
...
- Implemented some more opcodes and fixed some bugs (You can now safely pick up coin pouches. The lamp seems to work fine, too).
svn-id: r39719
2009-03-28 11:58:22 +00:00
Florian Kagerer
e9b4124f1d
LOL: - implemented lots of opcodes and fixed a few bugs
...
- it's now possible to leave the castle
svn-id: r39653
2009-03-24 07:18:16 +00:00
Florian Kagerer
0ce597db80
LOL: - added drawing code for certain gfx (blood and slime spots on the floor, teleporters, ice walls)
...
svn-id: r39599
2009-03-21 20:24:36 +00:00
Florian Kagerer
29ebafb5d5
LOL: implemented some missing drawing code for dead monsters
...
svn-id: r39589
2009-03-21 15:33:16 +00:00
Florian Kagerer
b55602180d
LOL: The guards will now attack you when you throw certain items at them. They can't do any damage though, since this isn't implemented yet.
...
svn-id: r39582
2009-03-21 14:30:25 +00:00
Florian Kagerer
769184c483
LOL: added some new drawing code required for some shapes and fixed a minor text displaying bug
...
svn-id: r39487
2009-03-17 18:27:56 +00:00
Florian Kagerer
52726344b7
LOL: - implemented item throwing
...
svn-id: r39455
2009-03-16 21:20:34 +00:00
Johannes Schickel
4d84ae9f20
Align ScummVM version string properly.
...
svn-id: r39432
2009-03-15 21:25:15 +00:00
Florian Kagerer
c826106e44
LOL: - implemented original style random number generator for moving around the monsters
...
svn-id: r39425
2009-03-15 18:21:33 +00:00
Florian Kagerer
dcf32be3f6
LOL: - added some missing animations for the shops
...
- added support for dropping/picking up items (no throwing yet)
svn-id: r39422
2009-03-15 16:48:20 +00:00
Johannes Schickel
f1079ef624
Cleanup.
...
svn-id: r39421
2009-03-15 14:55:48 +00:00
Johannes Schickel
0e8bd97367
Fix for loading Kyra1 Amiga PAK files.
...
svn-id: r39420
2009-03-15 14:48:08 +00:00
Florian Kagerer
7fe0592f0f
LOL: magic atlas can now be picked up (but it can't be used)
...
svn-id: r39393
2009-03-14 15:06:02 +00:00
Florian Kagerer
092f2a37e3
LOL: - complete support for the three "special rooms" in the castle
...
svn-id: r39391
2009-03-14 13:48:12 +00:00
Filippos Karapetis
f496f9932d
Wrap the code in text_lol.* around ENABLE_LOL checks
...
svn-id: r39346
2009-03-11 22:58:26 +00:00
Florian Kagerer
f2a066e42f
LOL: - some opcodes and interface code so that you can at least get out of the shops and Geron's room
...
svn-id: r39284
2009-03-10 00:32:20 +00:00
Max Horn
5181546c63
Rewrote Common::List iterator code to ensure const correctness is preserved.
...
We tried to implement the list iterators in a clever way, to reduce code
duplication. But this is essentially impossible to do properly, sadly --
this is one of the places where the ugly drawbacks of C++ really show.
As a consequence, our implementation had a bug which allowed one to
convert any const_iterator to an iterator, thus allowing modifying
elements of const lists.
This rewrite reintroduces code duplication but at least ensures that no
const list is written to accidentally.
Also fix some places which incorrectly used iterator instead of const_iterator
or (in the kyra code) accidentally wrote into a const list.
svn-id: r39279
2009-03-09 22:26:02 +00:00
Florian Kagerer
cbf2602783
LOL: - fixed inventory bug
...
- fixed monster speed
svn-id: r39275
2009-03-09 20:34:36 +00:00
Florian Kagerer
76ab92f8ec
LOL: added scene animations (like that fountain right at the start)
...
svn-id: r39251
2009-03-09 01:57:42 +00:00
Florian Kagerer
6d9a047276
LOL: minor fix for text displayer (text pages now advance automatically when the speech has reached the next part)
...
svn-id: r39250
2009-03-09 00:54:27 +00:00
Florian Kagerer
6cb3f665af
LOL: some more work on the text displayer so that it handles longer texts (needed for some library books)
...
svn-id: r39249
2009-03-08 23:28:19 +00:00
Johannes Schickel
de6f1ec597
Oops, fix size argument to memset call.
...
svn-id: r39230
2009-03-08 14:33:18 +00:00
Johannes Schickel
8318750f41
- Cleanup
...
- Add FIXME
svn-id: r39225
2009-03-08 13:32:27 +00:00
Johannes Schickel
3524032314
Cleanup.
...
svn-id: r39224
2009-03-08 13:28:22 +00:00
Johannes Schickel
275cf8a383
Cleanup.
...
svn-id: r39221
2009-03-08 13:11:06 +00:00
Florian Kagerer
edc18a2299
LOL: some opcodes for the library room (so that the game will at least not freeze when clicking one of the books)
...
svn-id: r39210
2009-03-08 03:26:21 +00:00
Florian Kagerer
e23fd08dfb
LOL: fixed bug reported by MD5 (crashes and freezes caused by calls to non-existent sub scripts)
...
svn-id: r39209
2009-03-08 02:17:14 +00:00
Max Horn
f9ecd95d69
Whitespace cleanup: Convert space followed by tab to just tab
...
svn-id: r39203
2009-03-07 19:24:31 +00:00
Florian Kagerer
826638d45b
LOL: - implemented some opcodes(
...
svn-id: r39187
2009-03-07 15:46:21 +00:00
Florian Kagerer
d262073193
LOL: - some opcodes for the first throne room sequence
...
svn-id: r39168
2009-03-06 23:59:12 +00:00
Florian Kagerer
8639e34b41
LOL: - doors can now be opened and closed
...
- some more work on monster walk code
svn-id: r39166
2009-03-06 22:53:08 +00:00
Jordi Vilalta Prat
047f116515
Renamed MetaEngine::getCopyright() to getOriginalCopyright() to better match the meaning of the returned string, as discussed some time ago in scummvm-devel
...
svn-id: r39132
2009-03-05 12:04:58 +00:00
Johannes Schickel
efd7c2eac9
Ease conditional LoL compiling with build systems not based on the default one.
...
svn-id: r39125
2009-03-04 11:53:25 +00:00
Filippos Karapetis
f006f94914
Fixed compilation when ENABLE_LOL is not set
...
svn-id: r39123
2009-03-04 10:53:36 +00:00
Johannes Schickel
3a35b5b5f2
- Make Lands of Lore compileable optionally as suggested by _sev. (via ENABLE_LOL define)
...
- Change default build system to support LoL as a subengine of KYRA. LoL is currently disabled by default.
(- Minor enum name fixes for Lands of Lore code.)
svn-id: r39099
2009-03-04 00:45:34 +00:00
Florian Kagerer
3f2af1e8a1
LOL: implemented some walking code for the monsters
...
svn-id: r39097
2009-03-03 22:32:39 +00:00
Florian Kagerer
b42b7a8b40
LOL: implement some opcodes for dialogue sequences
...
svn-id: r39051
2009-03-01 20:37:57 +00:00
Florian Kagerer
7ea5cefef4
LOL: implemented some monster related code (monsters now get placed in the maze, but they still don't do anything)
...
svn-id: r39039
2009-03-01 14:45:30 +00:00
Max Horn
3fcbda829a
Merged Engine::go() and ::init() into a new run() method (currently implemented by calling the existing init&go methods; to be cleaned up by engine authors
...
svn-id: r39002
2009-03-01 04:30:55 +00:00
Florian Kagerer
837ca0683e
LOL: - some more work on the interface (you can now click on the banners and windows) and some bug fixes
...
svn-id: r38818
2009-02-23 20:17:53 +00:00
Florian Kagerer
b5b4cb66a1
LOL: implemented timers (only text fading for now)
...
svn-id: r38766
2009-02-21 23:20:14 +00:00
Florian Kagerer
8a95f02abf
LOL: some work on inventory/item handling
...
svn-id: r38711
2009-02-21 17:24:50 +00:00
Johannes Schickel
bc39dc9d75
Fix valgrind warning about mismatched delete.
...
svn-id: r38429
2009-02-17 18:01:52 +00:00
Johannes Schickel
33934251cb
Fix for long delay while fading palette in Zanthia's home, when mixing potions.
...
svn-id: r38425
2009-02-17 17:17:47 +00:00
Florian Kagerer
57749fc9af
LOL: fixed invalid memory access
...
svn-id: r38383
2009-02-16 21:46:02 +00:00
Florian Kagerer
a43b0bc2dc
LOL: - more work on the user interface
...
- fixed non interactive demo
svn-id: r38374
2009-02-16 17:17:15 +00:00
Florian Kagerer
dee51a77b5
LOL: fix bug in kyra.dat
...
svn-id: r38246
2009-02-15 14:49:01 +00:00
Willem Jan Palenstijn
8b38d0677a
portability fix for platforms with unsigned char
...
svn-id: r38229
2009-02-15 12:11:27 +00:00
Florian Kagerer
16a57f299c
LOL: - implemented proper button processing (works exactly as in Kyra 2 and 3, so we do have some code duplication atm, I just fixed right mouse button support for LOL)
...
- keyboard control now works
svn-id: r38190
2009-02-15 03:36:30 +00:00
Florian Kagerer
6c586b3d44
LOL: fixed a bug in moveParty() and implemented some more gui code
...
svn-id: r36328
2009-02-14 14:33:26 +00:00
Florian Kagerer
02c149e174
LOL: fixed bug in text displayer and some cleanup
...
svn-id: r36327
2009-02-14 13:55:00 +00:00
Florian Kagerer
c13155b83d
LOL: add missing debug info to some script functions
...
svn-id: r36324
2009-02-14 13:29:22 +00:00
Florian Kagerer
f065524949
LOL:
...
- implemented some input code
- you can walk around now (not very far though, since doors don't work yet). Keyboard control is still missing
- processButtonList isn't really implemented yet for LOL. I'll still have to check which features are needed here.
svn-id: r36320
2009-02-14 00:51:07 +00:00
Travis Howell
4131d3d07f
Fix sound noise regression in CD32 version of Simon the Sorcerer 1.
...
svn-id: r36236
2009-02-07 05:05:14 +00:00
Johannes Schickel
7c0a16e422
Allow ScummVM to quit while a character is talking in Kyra3.
...
svn-id: r36221
2009-02-05 19:25:52 +00:00
Florian Kagerer
44e6c3c630
KYRA: cleanup
...
svn-id: r36207
2009-02-02 23:20:55 +00:00
Johannes Schickel
2221650879
Fixed graphics glitches when replaying intro.
...
svn-id: r36193
2009-02-01 21:26:56 +00:00
Johannes Schickel
9df7f7385c
- Cleanup
...
- This time fixed the real cause of the mismatching malloc / delete[] call.
svn-id: r36191
2009-02-01 21:11:03 +00:00
Johannes Schickel
2648f42fc5
Removed uneeded setupPrologueData calls.
...
svn-id: r36188
2009-02-01 20:55:16 +00:00
Johannes Schickel
4662333b81
Oops wrong parameter in last commit.
...
svn-id: r36187
2009-02-01 20:54:24 +00:00
Johannes Schickel
1aa84d4b5e
- Fixed mismatching new[] / free.
...
- Fixed bad casting
svn-id: r36186
2009-02-01 20:53:30 +00:00
Johannes Schickel
574a7924df
Implemented per voice volume control. (Used for example in LoL intro)
...
svn-id: r36184
2009-02-01 20:35:51 +00:00
Johannes Schickel
90184e6812
Moved some code to newly added files sequences_lol.cpp (more static sequence code is coming up in the future anyway...)
...
svn-id: r36183
2009-02-01 20:21:01 +00:00
Johannes Schickel
68b7cb265d
Oops removed accidently commited code.
...
svn-id: r36182
2009-02-01 20:13:05 +00:00
Johannes Schickel
ce4c7f4a11
Removed obsolete fixme.
...
svn-id: r36181
2009-02-01 20:11:05 +00:00
Johannes Schickel
1626c624ba
Fixed out of bounds memory access.
...
svn-id: r36180
2009-02-01 19:56:30 +00:00
Johannes Schickel
dda109ead3
Fixed compilation for now.
...
svn-id: r36179
2009-02-01 19:53:12 +00:00
Florian Kagerer
784c99b3da
svn-id: r36178
2009-02-01 19:27:01 +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
Johannes Schickel
31d40307bc
Fix for bug #2551436 "KYRA2: ScummVM quits after death".
...
svn-id: r36161
2009-01-31 12:00:20 +00:00
Max Horn
7cb437b56f
Renamed SpecialDebugLevel to DebugChannel
...
svn-id: r36142
2009-01-30 05:10:24 +00:00
Max Horn
28cf213605
Moved AdvancedDetector from common/ to engines/
...
svn-id: r36132
2009-01-29 22:13:01 +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
Max Horn
2d866c0483
Renamed Kyra's Resource::getFileStream to createReadStream
...
svn-id: r36022
2009-01-23 04:57:18 +00:00
Max Horn
14c5bbbccf
Renamed Archive::openFile to createReadStreamForMember
...
svn-id: r36021
2009-01-23 04:45:44 +00:00
Max Horn
9861afd8fd
Renamed ArchiveMember::open -> createReadStream, and made it a cv member (const); same for Archive::openFile
...
svn-id: r36020
2009-01-23 04:36:18 +00:00
Johannes Schickel
d9cf723ee9
Minor cleanup (got rid of a dynamic array).
...
svn-id: r35999
2009-01-22 16:56:22 +00:00
Johannes Schickel
d3fb5c1ecc
Fixed GMM save/load functionallity in kyra1.
...
svn-id: r35980
2009-01-21 15:36:31 +00:00
Johannes Schickel
577c8ff27d
Cleanup.
...
svn-id: r35943
2009-01-20 09:38:55 +00:00
Johannes Schickel
bcae0570a6
Yet another two small formatting fixes.
...
svn-id: r35942
2009-01-20 09:32:43 +00:00
Johannes Schickel
6d2278fb81
- Fixed formatting
...
- Added FIXME about falling through case blocks
svn-id: r35940
2009-01-20 09:30:20 +00:00
Johannes Schickel
87d2d96d91
- Moved some script related code to script_lol.cpp
...
- Renamed opcodes from o2_* to olol_*
svn-id: r35938
2009-01-20 09:22:16 +00:00
Max Horn
f60e2836b0
Fixed warnings (nice example of why heeding warnings is useful: one of the changes seems to fix a NULL deref)
...
svn-id: r35933
2009-01-20 02:54:30 +00:00
Florian Kagerer
017b39eae0
LOL: some work on the music handling
...
svn-id: r35929
2009-01-19 23:35:27 +00:00
Florian Kagerer
2a22b9bcc6
LOL: some renaming
...
svn-id: r35919
2009-01-19 07:31:34 +00:00
Torbjörn Andersson
fa0efa0b22
Fixed warning.
...
svn-id: r35918
2009-01-19 05:03:17 +00:00
Florian Kagerer
44918f5f16
LOL: basic music support and some cleanup
...
svn-id: r35917
2009-01-18 23:50:31 +00:00
Florian Kagerer
35c8fd4dad
LOL: fix some valgrind warnings
...
svn-id: r35910
2009-01-18 18:20:33 +00:00
Johannes Schickel
62334395a7
Formatting.
...
svn-id: r35908
2009-01-18 17:38:29 +00:00
Johannes Schickel
12eb45df01
Fixed mismatching delete call.
...
svn-id: r35907
2009-01-18 17:36:25 +00:00
Johannes Schickel
49f756981b
- Fixed some delete[] misuse
...
- Fixed regression introduced with r35904
svn-id: r35906
2009-01-18 17:31:25 +00:00
Johannes Schickel
c003d62429
- Fixed bug in script code of LoL
...
- Cleanup
svn-id: r35905
2009-01-18 17:24:47 +00:00
Johannes Schickel
ec5b64147d
Fixed compilation.
...
svn-id: r35904
2009-01-18 17:17:39 +00:00
Florian Kagerer
ff268e8fd5
LOL: Some drawing code and some opcodes so that the first scene will show up. Playing is not possible. This is still somewhat messy since a lot of stuff hasn't been figured out yet.
...
svn-id: r35903
2009-01-18 17:04:24 +00:00
Johannes Schickel
bf08c82054
Fixed bug in PAK link list code, now file links are correctly initialized.
...
svn-id: r35902
2009-01-18 16:49:03 +00:00
Johannes Schickel
c4a4ffc51b
Update scene number internally so it gets displayed correctly in the debugger.
...
svn-id: r35900
2009-01-18 16:21:30 +00:00
Johannes Schickel
094fca2207
When reverting to text only mode update the config manager settings accordingly.
...
svn-id: r35847
2009-01-13 18:11:11 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Johannes Schickel
ad2fc3ee90
Removed unused variable.
...
svn-id: r35618
2008-12-29 21:46:44 +00:00
Johannes Schickel
030de671b5
Reset screen dimension settings after closing menu.
...
svn-id: r35609
2008-12-29 14:44:06 +00:00
Johannes Schickel
8ea422f415
- Cleanup
...
- Implemented Screen_LoL::fprintString
svn-id: r35608
2008-12-29 14:37:51 +00:00
Johannes Schickel
6639ba726c
Extended some comments.
...
svn-id: r35606
2008-12-29 14:06:31 +00:00
Johannes Schickel
ce73425bef
Fixed character selection screen.
...
svn-id: r35605
2008-12-29 14:03:27 +00:00
Johannes Schickel
e4d2f58417
Cleanup.
...
svn-id: r35604
2008-12-29 13:59:35 +00:00
Florian Kagerer
d81782977e
LOL: - fixed some bugs in the main menu code (premature pak file unloading etc.) and added floppy support
...
svn-id: r35595
2008-12-28 22:09:31 +00:00
Johannes Schickel
1029c94c86
Oops added files I forgot in r35553.
...
svn-id: r35555
2008-12-26 11:07:52 +00:00
Johannes Schickel
5555ba9aaf
Fixed memory leak.
...
svn-id: r35554
2008-12-26 11:05:47 +00:00
Johannes Schickel
91de740d44
Implemented (some) main menu code for LoL.
...
svn-id: r35553
2008-12-26 11:04:45 +00:00
Johannes Schickel
fb14701b68
Cleanup.
...
svn-id: r35552
2008-12-26 08:35:36 +00:00
Max Horn
df20d264fd
Pushing down some header deps (on common/system.h, mostly)
...
svn-id: r35542
2008-12-25 20:40:00 +00:00
Johannes Schickel
e27110d3cc
Fixed yet another valgrind warning.
...
svn-id: r35535
2008-12-25 03:29:55 +00:00
Johannes Schickel
be777935f0
Fixed valgrind warning.
...
svn-id: r35534
2008-12-25 03:00:24 +00:00
Johannes Schickel
3f2e7a6cbf
Cleanup.
...
svn-id: r35451
2008-12-20 15:27:51 +00:00
Florian Kagerer
83194b2188
KYRA: fix mt-32 sysex loading for LOL floppy
...
svn-id: r35434
2008-12-19 07:32:08 +00:00
Florian Kagerer
5aec3bbc64
KYRA1: fixed Serpent Cave/Malcolm scene (where Brandon would instantly get killed without having a chance to grab the dagger)
...
svn-id: r35429
2008-12-18 21:21:09 +00:00
Johannes Schickel
dfc08c823d
Clean up cursor stack on engine quit properly.
...
svn-id: r35427
2008-12-18 20:22:49 +00:00
Johannes Schickel
d15022da78
Cleanup.
...
svn-id: r35424
2008-12-18 18:46:24 +00:00
Johannes Schickel
696ed52959
Switched kyra1 to use the same input functionality as kyra2 and kyra3.
...
svn-id: r35393
2008-12-16 17:40:34 +00:00
Johannes Schickel
c75c681175
Added code to initialize MT-32 properly for Lands of Lore.
...
svn-id: r35347
2008-12-14 00:23:46 +00:00
Johannes Schickel
2f1babd370
Whoops changed integer size of variables storing volume information, now volume of 256 should work as expected.
...
svn-id: r35303
2008-12-11 13:54:18 +00:00
Johannes Schickel
30507498b0
Midi code now allows volume values to be [0, 256] instead of [0, 255] like before, thus removed the clipping the old code used.
...
svn-id: r35302
2008-12-11 13:44:58 +00:00
Johannes Schickel
62d2955d9b
Cleanup.
...
svn-id: r35273
2008-12-07 13:41:00 +00:00
Johannes Schickel
c7c074895a
Prevent MIDI files from being load, when they are already loaded.
...
svn-id: r35272
2008-12-07 13:12:09 +00:00
Max Horn
b085afc451
Removed obsolete refs to OSystem::kFeatureAutoComputeDirtyRects
...
svn-id: r35240
2008-12-04 19:09:10 +00:00
Johannes Schickel
c517045349
Fixed some looping MIDI sound effects.
...
svn-id: r35193
2008-11-30 15:15:14 +00:00
Johannes Schickel
6fd1d462cf
Added MIDI SFX Map, fixes SFX in HoF.
...
svn-id: r35181
2008-11-30 05:11:40 +00:00
Johannes Schickel
2ebe04ac3e
- Extended MidiDriver::sysEx to allow 264 byte sysEx messages
...
- Updated all drivers to allow 264+2 byte sysEx messages
- Implemented sysEx processing for MT-32 for Kyra1 and HoF. MT-32 should now be working properly.
svn-id: r35180
2008-11-30 04:42:30 +00:00
Johannes Schickel
17a699a438
Cleanup.
...
svn-id: r35179
2008-11-30 02:54:39 +00:00
Johannes Schickel
1fc33dbae5
- Fix some valgrind warnings
...
- Added MIDI SFX support for Kyra2
svn-id: r35178
2008-11-30 02:47:20 +00:00
Johannes Schickel
8142873c6a
Implement fade out support for MIDI.
...
svn-id: r35177
2008-11-30 02:38:08 +00:00
Johannes Schickel
25172da444
Cleanup.
...
svn-id: r35175
2008-11-30 01:59:21 +00:00
Johannes Schickel
893a79b01d
Initial version of proper MIDI support for KYRA.
...
svn-id: r35174
2008-11-30 01:53:32 +00:00
Max Horn
a28b531ed0
Added ArchiveMember::getDisplayName() method; changed ArchiveMember::getName() to always return a name compatible with Archive::openFile()
...
svn-id: r35139
2008-11-21 12:17:35 +00:00
Johannes Schickel
bdbae740a6
Don't rename slots anymore when deleting them via the GMM.
...
svn-id: r35110
2008-11-18 15:41:14 +00:00
Florian Kagerer
57e7d5ef62
fixed bug
...
svn-id: r35102
2008-11-16 23:19:54 +00:00
Florian Kagerer
bf721ae682
cleanup
...
svn-id: r35101
2008-11-16 20:59:04 +00:00
Johannes Schickel
c4a7088c5b
Fixed valgrind warning.
...
svn-id: r35099
2008-11-16 20:46:18 +00:00
Johannes Schickel
2ef8a32a01
Fixed various g++ warnings ("format not a string literal and no format arguments").
...
svn-id: r35096
2008-11-16 20:20:31 +00:00
Florian Kagerer
a44994dc89
KYRA 1/2: more fixes for valgrind warnings
...
svn-id: r35093
2008-11-16 14:07:50 +00:00
Florian Kagerer
bd817c0341
(hopefully) fix valgrind warnings
...
svn-id: r35088
2008-11-15 19:08:35 +00:00
Florian Kagerer
06216866ac
svn-id: r35080
2008-11-15 13:00:46 +00:00
Johannes Schickel
5a0556f09c
Committed my patch #2123680 "SDL: Backend transaction / rollback support".
...
svn-id: r35062
2008-11-14 22:08:10 +00:00
Vicent Marti
b98f89c7f0
Merged GUI::Theme and Gui::ThemeEngine into the same class, GUI::ThemeEngine.
...
Massive cleanup.
svn-id: r34983
2008-11-10 11:24:55 +00:00
Johannes Schickel
b9b7b85d54
Disallow overwriting of slot 0, quicksave and autosave slots.
...
svn-id: r34973
2008-11-09 20:20:22 +00:00
Filippos Karapetis
f5729a4a8b
- The GMM save dialog is now working for all engines which support the appropriate features
...
- Added a new method to the MetaEngine class, getMaximumSaveSlot(), and implemented it in all engines for which the listSavefiles() method is implemented (it goes together with the listSavefiles method). It is used to fill the unused save slots in the save/load dialogs of each engine, so that the user can create new save games in empty slots
- Unified the save/load dialog list numbering in the GMM load/save screens and in the load screen of the main menu (before a game is started)
svn-id: r34963
2008-11-09 16:13:34 +00:00
Johannes Schickel
85c1d35ae3
Error out on savegame load failure (again).
...
svn-id: r34953
2008-11-09 13:12:38 +00:00
Johannes Schickel
36de1204e3
- Implemented Engine::saveGameState for KYRA
...
- Changed internal save/load API to use slots instead of filename strings
- Changed internal save/load API to use Common::Error
svn-id: r34952
2008-11-09 13:00:40 +00:00
Johannes Schickel
f2174f5751
Implemented Engine::syncSoundSettings properly for MIDI output.
...
svn-id: r34948
2008-11-09 12:07:20 +00:00
Max Horn
40136f2590
Switched various Engine APIs to use Common::Error
...
svn-id: r34916
2008-11-06 17:05:54 +00:00
Max Horn
fe2935ad4b
Got rid of the unused 'filename' attribute in SaveStateDescriptor
...
svn-id: r34905
2008-11-05 15:41:12 +00:00
Max Horn
61aadb378d
Fixed the EngineFeature vs. MetaEngineFeature mess, clarified some EngineFeature comments
...
svn-id: r34896
2008-11-04 16:11:40 +00:00
Johannes Schickel
6eab0dcc6e
Preliminary support for loading via GMM for KYRA engine.
...
svn-id: r34885
2008-11-03 19:51:34 +00:00
Johannes Schickel
282ebbb0e5
Commit of patch #2207782 "ARCHIVE: New method 'getMember'".
...
svn-id: r34871
2008-11-01 12:49:29 +00:00
Filippos Karapetis
b7a219ebc6
Renamed engine feature kSupportsDirectLoad to kSupportsLoadingDuringStartup, as discussed in patch #2122869
...
svn-id: r34854
2008-10-26 16:42:08 +00:00
Johannes Schickel
7d331b7341
Committed updated version of my patch #2184529 "SearchSet: Get rid of SharedPtr usage".
...
svn-id: r34837
2008-10-22 17:44:12 +00:00
Johannes Schickel
cd38ddc542
Cleanup.
...
svn-id: r34831
2008-10-21 11:42:08 +00:00
Florian Kagerer
e25265425d
- fix installer file support for Kyra 2 and 3
...
- fix bug in pc98 audio driver
svn-id: r34791
2008-10-13 06:29:14 +00:00
Max Horn
b41cd58cee
Renamed some MetaEngine feature flags; removed explicit numbers from this feature flag list (nothing should rely on their specific values, anyway); added a note that Engine::hasFeature should become independant of MetaEngine::hasFeature
...
svn-id: r34738
2008-10-04 13:09:01 +00:00
Johannes Schickel
d89ff31450
Cleanup.
...
svn-id: r34736
2008-10-03 18:23:57 +00:00
Johannes Schickel
f3469eae94
Check all 'kyra.dat' files in setup paths instead of only the first one found.
...
svn-id: r34735
2008-10-03 18:18:42 +00:00
Johannes Schickel
e417471177
Committed slightly modified patch #2034983 "Case-insensitivy and directory handling for engines".
...
svn-id: r34734
2008-10-03 16:57:40 +00:00
Max Horn
3248906156
Engine class changed:
...
- Moved initCommonGFX() && GUIErrorMessage() out of class Engine
- got rid of the _autosavePeriod member (this prevented users from
changing the autosave period during runtime)
- Got rid of an evil 'using GUI::Dialog' statement
- Clarified some Doxygen comments
svn-id: r34720
2008-10-02 17:48:01 +00:00
Max Horn
c7fde102e3
Renamed FilesystemNode -> FSNode
...
svn-id: r34716
2008-10-02 16:58:59 +00:00
Max Horn
9b160804ab
Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
...
svn-id: r34700
2008-09-30 12:27:38 +00:00
Johannes Schickel
259d87a8a6
Added "querySaveMetaInfos" to MetaEngine.
...
-> Allows easy addition of save state specific infos like playtime, save date atc.
-> Removed MetaEngine::loadThumbnailFromSlot, superseded by meta infos
-> Changed SCUMM / KYRA to implement the newly added functionallity
-> Removed hack in KYRAs listSavefiles, which is now handled via meta infos
svn-id: r34581
2008-09-16 14:10:55 +00:00
Willem Jan Palenstijn
395536be6e
also check for premature end-of-stream when loading
...
svn-id: r34563
2008-09-15 19:34:06 +00:00
Johannes Schickel
c1458bd2bb
Fixed regression introduced with latest stream changes (it seems compressed savefiles ioFailed never returned true when only eos was set).
...
svn-id: r34551
2008-09-14 23:14:38 +00:00
Johannes Schickel
a4830d813e
Cleanup.
...
svn-id: r34545
2008-09-14 21:41:27 +00:00
Johannes Schickel
92fc264461
- Added thumbnail support to launcher load dialog.
...
- Adopted KYRA to support displaying thumbnails in load dialog (SCUMM engine has yet to follow)
svn-id: r34539
2008-09-14 21:00:24 +00:00
Johannes Schickel
48adf18e21
Added autosave support in Kyra.
...
svn-id: r34535
2008-09-14 19:48:40 +00:00
Johannes Schickel
20a7a9112f
Fix potentional bug in Screen::setResolution.
...
svn-id: r34533
2008-09-14 19:05:05 +00:00
Johannes Schickel
38097172e2
Typo.
...
svn-id: r34528
2008-09-14 16:48:20 +00:00
Johannes Schickel
eddae0e105
Fixed thumbnail creation / loading in kyra.
...
svn-id: r34527
2008-09-14 16:29:14 +00:00
Johannes Schickel
a716fe8393
Implemented opcode 151: o1_resetMaskRegion
...
svn-id: r34524
2008-09-14 15:36:16 +00:00
Johannes Schickel
fbbe535645
Fixed regression introduced with r34522. (Now games without 'cdaudio' config value set should startup again).
...
svn-id: r34523
2008-09-14 15:35:40 +00:00
Johannes Schickel
53cf9e6409
Only setup 'cdaudio' config default for FM-Towns/PC98.
...
svn-id: r34522
2008-09-14 14:58:37 +00:00
Johannes Schickel
9ec7c3eaca
Added a hack in KyraMetaEngine::listSaves to prevent slot 0 from being listed. Check comment for additional information.
...
svn-id: r34521
2008-09-14 14:08:14 +00:00
Johannes Schickel
ba58358c8d
Rename save slots in KyraMetaEngine::removeSaveState, so it matches behavior in GUI_v2::deleteMenu at least a little bit more.
...
svn-id: r34520
2008-09-14 14:01:24 +00:00
Max Horn
655ce26b3f
Big patch changing the signature of various Stream methods (some ports may need to be slightly tweaked to fix overloading errors/warnings)
...
svn-id: r34514
2008-09-13 16:51:46 +00:00
Johannes Schickel
31c72ace1b
Fixed slot 0 savefile name in Kyra3. (Now using 'New game' instead of 'German')
...
svn-id: r34502
2008-09-12 12:25:56 +00:00
Johannes Schickel
0a35842954
Committed my patch #2105593 "Launcher/MetaEngine: Finnished removeSaveState".
...
svn-id: r34495
2008-09-11 19:47:45 +00:00
Johannes Schickel
25d79f8918
Cleanup.
...
svn-id: r34484
2008-09-10 20:47:58 +00:00
Johannes Schickel
a54d1dbde6
Cleanup.
...
svn-id: r34481
2008-09-10 18:01:02 +00:00
Johannes Schickel
6fad6711d9
Changed static resource code to use Streams instead of operating on buffers.
...
svn-id: r34467
2008-09-09 18:09:46 +00:00
Florian Kagerer
2c0c67c08a
HOF: msvc8 compile fix (ARRAYSIZE used with run-time allocated array)
...
svn-id: r34454
2008-09-08 21:57:38 +00:00
Johannes Schickel
c5e049bce8
Made some filenames uppercase for consistency.
...
svn-id: r34452
2008-09-08 18:55:29 +00:00
Johannes Schickel
c6b6a99f2a
Fixed LoL file loading regression.
...
svn-id: r34451
2008-09-08 18:48:39 +00:00
Johannes Schickel
a8c4ffa93f
Changed priorities for search paths. (Just in case system specific data paths contain an outdated kyra.dat version)
...
svn-id: r34438
2008-09-07 22:41:57 +00:00
Johannes Schickel
06d57a54f3
- Fixed regression in Resource::unloadPakFile
...
- Changed priority value for OSystem::addSysArchivesToSearchSet call
svn-id: r34436
2008-09-07 22:35:13 +00:00
Johannes Schickel
bd10e674a3
Got rid of all Common::File usages in Kyra.
...
svn-id: r34435
2008-09-07 22:30:34 +00:00
Max Horn
3c48fb7eae
Fix warning about missing virtual destructor
...
svn-id: r34433
2008-09-07 22:00:04 +00:00
Johannes Schickel
7aaf6139e2
Moved Kyra resource code to a SearchSet/Archive based implementation, this removes dependencies on Common::File.
...
svn-id: r34428
2008-09-07 21:46:37 +00:00
Max Horn
f5462901b2
Temporary workaround for bug #2098279 : ALL: Game path with no trailing backslash fails
...
svn-id: r34408
2008-09-07 15:16:45 +00:00
Max Horn
6bfa3e274a
Got rid of File::eof()
...
svn-id: r34396
2008-09-06 21:23:08 +00:00
Max Horn
d3642080de
Moved check for shouldRTL() from engines to scummvm_main
...
svn-id: r34310
2008-09-03 16:56:40 +00:00
Max Horn
531bcf847c
Moved FilesystemNode / FSList to namespace Common; also got rid of some 'typedef Common::String String;' name aliases
...
svn-id: r34302
2008-09-03 11:22:51 +00:00
Florian Kagerer
b7d260330b
some minor bug fixes
...
svn-id: r34288
2008-09-02 21:31:53 +00:00
Johannes Schickel
ced14e186e
Cleanup: Remove now unneeded KyraEngine_v1::quitGame.
...
Peres proposal for this commit log was: 'fixing .... as peres pointed out in his very interesting mail on -devel that everybody should read'.
svn-id: r34282
2008-09-02 14:36:47 +00:00
Florian Kagerer
2f884b4f25
- kyra: fm-towns/pc-98 audio: restructured driver, added rhythm channel data
...
svn-id: r34259
2008-09-01 20:23:25 +00:00
Johannes Schickel
8c58e27ab1
Cleanup.
...
svn-id: r34248
2008-09-01 18:14:55 +00:00
Max Horn
91df44f8f6
Merging more of the GSoC 2008 RTL branch: KYRA
...
svn-id: r34246
2008-09-01 17:52:50 +00:00
Johannes Schickel
a6c931459b
Implemented continous screen updating while waiting for text input in v2 GUI. (based on LoK implementation)
...
svn-id: r34157
2008-08-25 15:14:29 +00:00
Johannes Schickel
3b90f69a6e
Added short delay(Millis) call while waiting for text input, should reduce CPU usage a little bit.
...
svn-id: r34149
2008-08-25 13:52:10 +00:00
Florian Kagerer
f0ea072df6
KYRA: Towns/PC-98-Audio: fixed bug where notes for which the hold flag was set were turned off nonetheless
...
svn-id: r34087
2008-08-21 18:24:52 +00:00
Florian Kagerer
513f5ae150
KYRA: Towns/PC-98-Audio: increased precision for envelope generator timing and tempo when using "odd" output rates like 48 kHz or 8 kHz
...
svn-id: r34079
2008-08-21 12:04:55 +00:00
Florian Kagerer
99790e7915
KYRA: Towns/PC-98-Audio: tempo fix for output rates other than 44100 Hz
...
svn-id: r34078
2008-08-21 02:17:52 +00:00
Florian Kagerer
1a7d3ef5ee
KYRA: Towns/PC-98-Audio: fix bug where pitch wheel is processed twice instead of once
...
svn-id: r34076
2008-08-20 22:38:36 +00:00
Florian Kagerer
bfd1723998
- add support for Italian floppy version
...
- more work on fm-towns music tempo
svn-id: r34067
2008-08-20 19:57:57 +00:00
Florian Kagerer
023189d6f1
tempo fix
...
svn-id: r34064
2008-08-20 16:14:10 +00:00
Kari Salminen
f28b93e7c7
Fix compilation: Changed 'not' to '!'.
...
svn-id: r34057
2008-08-20 14:56:46 +00:00
Johannes Schickel
430977e438
Committed patch #2055831 "KYRA: ResFileEntry parent cache optimization".
...
svn-id: r34055
2008-08-20 14:30:40 +00:00
Johannes Schickel
9138128f5c
- Committed Max' compressed save backseeking support from patch #2050337 "KYRA/SCUMM: Thumbnail support/improvement"
...
- Extended SCUMM engine to support savegames without thumbnail header. (Increased savegame version to prevent saves to be loaded from older ScummVM versions)
- Fixed KYRA to properly support savegames without thumbnail header.
svn-id: r34054
2008-08-20 14:24:16 +00:00
Johannes Schickel
f4fc8c3e4c
Committed patch #2050337 "KYRA/SCUMM: Thumbnail support/improvement". (Without Max' compressed backward seeking support for now)
...
svn-id: r34053
2008-08-20 14:03:34 +00:00
Max Horn
05bac1e74e
Fixed GCC warning
...
svn-id: r34032
2008-08-19 10:52:39 +00:00
Lars Persson
983e07ff6e
Use the correct and specified datatype int32 instead of only int.
...
svn-id: r34027
2008-08-19 09:26:41 +00:00
Florian Kagerer
cb5162fad6
fixed warnings
...
svn-id: r34019
2008-08-19 06:31:57 +00:00
Florian Kagerer
95745179f5
fixed bug that caused a lockup in certain configurations when the music was fading
...
svn-id: r34015
2008-08-19 01:00:15 +00:00
Florian Kagerer
92f545ba66
KYRA: FM-Towns/PC-98 Audio:
...
- adpcm decoding for rhythm channel
- cleanup
svn-id: r33993
2008-08-18 17:42:32 +00:00
Florian Kagerer
87164b6c05
KYRA: FM-Towns/PC-98 Audio:
...
- improved accuracy
- complete percussion channel support (does not work atm though, since the instrument data is missing)
- some cleanup
svn-id: r33980
2008-08-17 22:49:34 +00:00
Johannes Schickel
08b4cf127b
Cleanup.
...
svn-id: r33948
2008-08-16 21:51:56 +00:00
Florian Kagerer
cc80af1448
KYRA: Fm-Towns Audio: fixed crash
...
svn-id: r33943
2008-08-16 15:24:52 +00:00
Florian Kagerer
193f52906c
KYRA: Fm-Towns Audio: fixed music fading
...
svn-id: r33942
2008-08-16 14:25:03 +00:00
Florian Kagerer
807bfe5079
- KYRA: FM-Towns/PC-98 Audio: fixed several bugs and got rid of some floating point arithmetic (or at least replaced some doubles with floats)
...
- Improved support for PC-98 music: HOF tracks seem to be fine, KYRA should be okay, too (I can't compare with an emulator since I am missing the floppy boot disk with the executable)
- There are still tempo issues. Some tracks play way too slow, others way too fast
- PC-98 sound effects in Kyra 1 don't work (I would need the floppy disk with the executable for that)
svn-id: r33938
2008-08-16 12:38:37 +00:00
Christopher Page
909b66ef54
Merged revisions 33777,33781-33788,33790,33792-33793,33795,33797,33805,33807-33812,33815-33817,33819,33822,33826,33829,33837,33839,33844,33847,33858-33861,33864,33871-33873,33875,33877-33879,33886,33889-33892,33894,33896,33900,33902-33903,33919 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r33924
2008-08-16 04:30:01 +00:00
Christopher Page
ec8dac5540
Added a MetaEngineFeature for RTL support, the RTL button is disabled in the GMM if the engine doesn't support it
...
svn-id: r33921
2008-08-16 02:53:16 +00:00
Christopher Page
9d3cdcb2da
Defined some MetaEngineFeatures for the engines, the launcher uses these features to allow/disallow loading and deleting saves
...
svn-id: r33909
2008-08-15 18:15:14 +00:00
Florian Kagerer
d6ac646d0b
lol: new detection entry (german floppy extracted)
...
svn-id: r33886
2008-08-14 23:46:37 +00:00
Johannes Schickel
7b87867a48
Formatting.
...
svn-id: r33879
2008-08-14 22:11:56 +00:00
Johannes Schickel
027e6c51a8
Improved version of my resource loading patch from -devel (check also r33876).
...
svn-id: r33878
2008-08-14 22:09:36 +00:00
Florian Kagerer
3f316681a0
- HOF: forgot french and german entries in last commit
...
svn-id: r33875
2008-08-14 21:34:29 +00:00