871 Commits

Author SHA1 Message Date
Torbjörn Andersson
f773d76c54 Removed "const" to silence GCC warning. I don't know if GCC was right or
wrong to warn, but it annoyed me.

svn-id: r18581
2005-07-24 17:07:16 +00:00
Torbjörn Andersson
830cc9c9b8 Fixed regression that broke IHNM intro animation.
svn-id: r18580
2005-07-24 17:04:15 +00:00
Andrew Kurushin
fbc04b1ac7 assign sf94 name
svn-id: r18579
2005-07-24 13:41:49 +00:00
Torbjörn Andersson
71436ff1de Allow multiple resource contexts of the same type. IHNM has serveral
different voice files, presumably one for each section of the game plus one
for shared voices. The getContext() function takes an optional second
parameter to indicate which of the resource files is requested.

svn-id: r18575
2005-07-23 15:23:01 +00:00
Eugene Sandulenko
a641c3add7 More IHNM differences
svn-id: r18574
2005-07-21 22:13:06 +00:00
Eugene Sandulenko
6c9f6e8def Partially implemented differences in IHNM script functions.
svn-id: r18573
2005-07-21 01:33:28 +00:00
Andrew Kurushin
2084718180 ite mac demo patch files correction
svn-id: r18570
2005-07-20 19:34:47 +00:00
Torbjörn Andersson
7180c24b4e Nope, I was mistaken. The Linux patch files are almost - but not quite -
like the Windows ones.

svn-id: r18569
2005-07-20 16:38:57 +00:00
Torbjörn Andersson
8cf83e3435 Fixed crash when quitting.
svn-id: r18568
2005-07-19 21:48:59 +00:00
Torbjörn Andersson
d58e018004 Play the correct digital music. (And removed some unnecessary blank lines.)
svn-id: r18567
2005-07-19 21:34:46 +00:00
Torbjörn Andersson
1a8f4ae3be The Linux release had patch files too, but I don't have that CD here so I
can't verify whether or not I got them right. I think they were the same as
the Mac version.

svn-id: r18566
2005-07-19 21:27:25 +00:00
Torbjörn Andersson
0009b36293 If we're not going to detect music "engine" at run-time, then we do need
separate entries for the original Windows CD and the first Wyrmkeep
version. The latter has the "patch" files, which include the standalone
MIDI files.

However, since the data files are otherwise indistinguishable, we also need
to be able to detect multiple versions and let the user to the
disambiguation. I've added that functionality in the simplest way I could
think of, in case we want to revert it later.

svn-id: r18565
2005-07-19 21:15:56 +00:00
Torbjörn Andersson
a818b83858 Removed unused variable.
svn-id: r18564
2005-07-19 20:31:10 +00:00
Torbjörn Andersson
993c262e2b Cleanup.
svn-id: r18563
2005-07-19 20:25:48 +00:00
Andrew Kurushin
6904278e23 fix Music crash on exit
svn-id: r18562
2005-07-19 19:44:20 +00:00
Andrew Kurushin
606e7d0fc5 remove rscfile_mod.h
svn-id: r18561
2005-07-19 19:33:51 +00:00
Andrew Kurushin
50c2d8954d finally Resource manager rewritten:
-adds patch file support
-global _vm removed

cleanups

svn-id: r18560
2005-07-19 19:05:52 +00:00
Torbjörn Andersson
d3ba7a1543 When redrawing the inventory, clear every inventory slot - even the empty
ones - before drawing the object. This fixes a glitch when getting the ring
from the mud.

svn-id: r18553
2005-07-18 14:37:55 +00:00
Torbjörn Andersson
56657a1bcb Cleanup.
svn-id: r18552
2005-07-18 14:37:04 +00:00
Torbjörn Andersson
62a7474174 Fixed ITE inventory redraw glitch when exchanging the medallion for money.
svn-id: r18551
2005-07-17 15:10:08 +00:00
Torbjörn Andersson
8df01d4aac Cleanup
svn-id: r18550
2005-07-17 13:36:38 +00:00
Andrew Kurushin
090cbc45ae fix Win32 demo font list
svn-id: r18549
2005-07-16 21:46:32 +00:00
Torbjörn Andersson
51e76c703f Added the puzzle voices from the CD version. I don't know if this breaks
the floppy version, and it's still not flawless. But it's a start.

svn-id: r18544
2005-07-15 15:23:19 +00:00
Andrew Kurushin
b0d342be10 removing text module
svn-id: r18543
2005-07-14 17:52:32 +00:00
Andrew Kurushin
528eedb2de font & text related changes:
-rewritten font loading
-actors box text output implemented
-many fixes
-implemented nonactors textoutput

svn-id: r18542
2005-07-14 17:46:21 +00:00
Torbjörn Andersson
f65586dd0f German translations for some interface texts, as pointed out by Simon
Sawatzki.

svn-id: r18539
2005-07-13 12:48:35 +00:00
Torbjörn Andersson
f756b74d04 Made it possible to terminate dialog windows with Enter. (We could already
terminate them with Esc.) This is so that, for instance, if you type a
savegame name you can press Enter, rather than clicking on the "Save"
button.

I don't know if the original did this as well, but it feels natural to me.

svn-id: r18537
2005-07-12 18:31:48 +00:00
Lars Persson
d1e58e6036 Updated interface.cpp so it compiles for VC6 without errors. Moved loop variable declaration
svn-id: r18532
2005-07-10 15:25:30 +00:00
Lars Persson
4ea61fb13e Remove packing on Color, as it was n't needed. Keeping packing on PalEntry
svn-id: r18531
2005-07-10 15:23:36 +00:00
Max Horn
40ecfe03ec No reason to pack ClipData; since it's not a POD-type, that wouldn't be valid anyway. Likewise for Surface.
svn-id: r18530
2005-07-10 14:39:04 +00:00
Lars Persson
b3aac821fd 1. Fixed divide by zero defect (exception on my symbian target, Windows just return max val)
2. Fixed so Saga compiles for VC6.
3. Added GCC_PACK & pragma pack to gfx.h

svn-id: r18527
2005-07-09 23:07:46 +00:00
Eugene Sandulenko
02d28a96ce Fix bug #1235211: "SAGA: Fails to compile with gcc4.0"
svn-id: r18526
2005-07-09 21:29:54 +00:00
Eugene Sandulenko
237eefba64 Remove leftovers
svn-id: r18525
2005-07-09 20:32:59 +00:00
Andrew Kurushin
150fe60d88 code cleanups
transitionDissolve -> gfx
del sdebug

svn-id: r18524
2005-07-09 17:11:41 +00:00
Andrew Kurushin
c2f1691bad gfx rearangement
code cleanups

svn-id: r18523
2005-07-09 16:23:45 +00:00
Andrew Kurushin
866d3e3db3 remove 1pixel dos clipping
svn-id: r18521
2005-07-09 10:34:09 +00:00
Andrew Kurushin
376738bb03 fix final sequence scene height
svn-id: r18518
2005-07-08 18:39:53 +00:00
Andrew Kurushin
d944bd7793 implemented per scene actors clipping
so last sequence should look much better (not perfect)

svn-id: r18516
2005-07-08 16:56:03 +00:00
Torbjörn Andersson
7e0033983f Extended the sprite draw() functions so that a clip rect can be specified,
and used that to clip the puzzle piece being moved around to avoid
graphics glitches.

svn-id: r18515
2005-07-08 16:43:36 +00:00
Torbjörn Andersson
660ea5e66f Redraw the interface (primarily the inventory icons) after loading a saved
game.

svn-id: r18512
2005-07-08 15:09:58 +00:00
Lars Persson
bcc3bd9708 Declared destructor virtual and testing Tortoise CVS output to see how the notification works (not)
svn-id: r18505
2005-07-06 20:46:10 +00:00
Torbjörn Andersson
e25587d74b Fixed stopping sounds. I think that at one point our 'param' used to be
unsigned, but it isn't any more.

svn-id: r18504
2005-07-06 17:55:53 +00:00
Andrew Kurushin
8294d21739 fix end sequence - show inventory bug during converse
svn-id: r18503
2005-07-06 17:51:41 +00:00
Andrew Kurushin
cff8568562 fix converse pal bug
svn-id: r18502
2005-07-06 17:07:58 +00:00
Lars Persson
d4716a1fb5 * Start of generic key configuration support for ScummVM
* Moved KeyConfigDialog, key from WinCE to gui
* Updated wince code to inherit and use new GUI::Keys and launch new dialog
* New definition SMALL_SCREEN_DEVICE when keysdialog should be inittialized from options.cpp
* Added new function to SDL\Events that handles key remapping.  LINUPY & QTOPIA remapping moved to that function. SymbianOs.cpp overrides this function to enable key remapping to events
* Compiled VC6++ project. This with warnings and errors, but NOT in the changed code. (SAGA,KYRA)
* Compiled using WCE tools 3 for X86 target and running Scummvm in emulator to test
* Compiled with UIQ target. The rest Symbian platforms might require further configuration to operate properly
* Actor.h in Saga now compiles for default VC6 setting.
* Aspect.cpp does not compile in VC6/WCE due to template problems with the kFastAndNiceAspectMode setting.
* Changed order of creation of gamedetector and mainsystem in Main.cpp
* If anything does not compile, or is totally out of order, please revert changes.

svn-id: r18498
2005-07-05 20:22:56 +00:00
Eugene Sandulenko
57858a8757 Hid most of debug output to deeper levels. We're pretty close to official
launch so it should be invisible to users.

svn-id: r18497
2005-07-05 16:58:36 +00:00
Torbjörn Andersson
34d6c7de8c Clarified the comment slightly.
svn-id: r18496
2005-07-05 15:34:26 +00:00
Torbjörn Andersson
9895b64cfe SAGA no longer has its own line-drawing code, so this comment no longer
applies.

svn-id: r18495
2005-07-05 15:33:09 +00:00
Eugene Sandulenko
cdead6d57b - Stripped down unused SURFACE parameter in palette-related functions
- Fixed scenes glitch when loading saved game. This is done by closing
  load window right after game is loaded which differs from original but
  seems more logical to me
- Fixed wrong palette when Dragon maze was loaded from a savegame. We just
  didn't process Palette resource for it.

svn-id: r18494
2005-07-05 15:15:35 +00:00
Torbjörn Andersson
792ca1aec4 Clip actors and objects to the scene (which may be an inset), and only
allow interaction with actors and objects inside this same area. Other hit
zones may - indeed must - still exist outside the inset, and they are not
affected by this patch.

This fixes some glitches at the glass makers's house in ITE.

svn-id: r18493
2005-07-05 06:12:40 +00:00