691 Commits

Author SHA1 Message Date
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
Torbjörn Andersson
2e868658da Cleanup.
svn-id: r18491
2005-07-04 07:47:04 +00:00
Torbjörn Andersson
399bd16ab1 Apparently some masks are bigger than the image they are supposed to be
masking, and therefore need to be clipped. This fixes a slight glitch in the
ITE intro where an actor is drawn partly in the status text field.

svn-id: r18490
2005-07-04 07:46:48 +00:00
Torbjörn Andersson
caa614840d Fixed warning.
svn-id: r18489
2005-07-04 07:43:55 +00:00
Eugene Sandulenko
de14b2337f Implementation of sfShowMap. This was latest unimplemented script function :)
svn-id: r18487
2005-07-03 20:02:56 +00:00
Andrew Kurushin
1fd2c55051 fixed Elara bug
svn-id: r18486
2005-07-03 15:22:59 +00:00
Andrew Kurushin
13b1802a45 implemented sfPickClimbOutPos, sfTossRif
Komodo dragon now works

svn-id: r18480
2005-07-01 17:29:23 +00:00
Jonathan Gray
f4a72b7b58 Fix compilation. FALSE is not a valid value, false however is.
svn-id: r18477
2005-06-30 09:09:59 +00:00
Andrew Kurushin
0a29c11bc9 dragon wip1
svn-id: r18476
2005-06-29 20:00:44 +00:00
Andrew Kurushin
353e8586d4 fix animation timings (now Shiala scene not stucks)
svn-id: r18463
2005-06-25 15:55:43 +00:00
Max Horn
8b1d7b9166 When including files from common/, explicitly use the common/ prefix
svn-id: r18444
2005-06-24 15:23:51 +00:00
Torbjörn Andersson
68907449b7 Use #include "file" instead of #include <file> for consistency.
svn-id: r18443
2005-06-23 20:20:27 +00:00
Eugene Sandulenko
4564f0d3bf Fix gcc4 warnings
svn-id: r18429
2005-06-21 21:59:24 +00:00
Torbjörn Andersson
d38a41e532 When a key is pressed, go back to repeat phase 0 again. This is so that we
won't continue a fast repeat with the new key. (Annoying example: It could
be tricky to type upper-case letters because if you didn't type the letter
fast enough "Shift" would begin to repeat, and then whatever letter you
typed would start repeating immediately.)

svn-id: r18423
2005-06-21 15:41:35 +00:00
Torbjörn Andersson
ee28783c74 Fixed crash when talking to the money changer about the Orb of Storms. The
sound resources were being substituted with animation resources. Now the
substitutions are identified by a resource number *and* a file name.

Could someone verify that ite.rsc is the correct file for all of them?

svn-id: r18422
2005-06-21 13:55:18 +00:00
Eugene Sandulenko
75d868743c sfShowControls implementation is NOP
svn-id: r18417
2005-06-20 12:17:22 +00:00
Andrew Kurushin
c613eaab88 fix animation bug at rats
svn-id: r18416
2005-06-20 11:46:34 +00:00
Eugene Sandulenko
2c9d2ffc97 Support for mouse wheel in Options dialog and in Converse panel
svn-id: r18414
2005-06-19 23:41:40 +00:00
Eugene Sandulenko
ecf8da7230 Implement sfPlayLoopedSound, sfFadeMusic and sfPlayVoice.
sfPlayVoice is untested. Please, inform me where you encounter it.

svn-id: r18412
2005-06-19 21:18:00 +00:00
Andrew Kurushin
97337c4623 implemented sfGetNumber
now use MagicHat (be carefull not to exceed overall scene number)

svn-id: r18410
2005-06-19 14:06:20 +00:00
Andrew Kurushin
37f90ff1fc fix screwdriver bug
svn-id: r18403
2005-06-17 14:09:06 +00:00
Andrew Kurushin
b16a3634bf placard workaround
svn-id: r18402
2005-06-16 16:46:50 +00:00
Andrew Kurushin
7539169c1d fix trothy -> oil lamp
svn-id: r18401
2005-06-16 15:33:44 +00:00
Torbjörn Andersson
b5b4d3d997 Don't access the thread after sfScriptGotoScene. As the comment points out,
the thread has been destroyed. This fixes a crash when leaving the ferret
guild lodge, and probably other places as well.

svn-id: r18399
2005-06-15 20:07:56 +00:00
Andrew Kurushin
1e2131d0ee some renames#2
svn-id: r18398
2005-06-15 19:30:11 +00:00
Andrew Kurushin
e0d9d4eb4a some renames
svn-id: r18397
2005-06-15 19:26:32 +00:00
Andrew Kurushin
c72e77885e fix animation loop
svn-id: r18396
2005-06-15 19:14:19 +00:00
Torbjörn Andersson
1386108adb Corrected error message.
svn-id: r18395
2005-06-15 14:42:40 +00:00
Eugene Sandulenko
01cf8f20ae Fix dock bug
svn-id: r18384
2005-06-14 00:31:54 +00:00
Eugene Sandulenko
4f2cfd5feb Fix crash on chasm.
svn-id: r18383
2005-06-13 13:40:28 +00:00
Andrew Kurushin
dcbd777596 fixed scene entrance
implemented sfEraseDelta, sfSetActorZ, sfGetActorX, sfGetActorY

svn-id: r18380
2005-06-12 21:21:14 +00:00