14444 Commits

Author SHA1 Message Date
Torbjörn Andersson
a2d809f854 In o_quit_if_user_presses_y(), assume that any unknown language (e.g.
"English (GB)") behaves like "English (US)". This is consistent with how we
handle language in the rest of the Simon engine, as far as I can see.

Should "n" really be the key for a negative answer in all languages?

svn-id: r18536
2005-07-11 13:22:55 +00:00
Max Horn
d1e7144a02 Yet another GCC 4 fix
svn-id: r18535
2005-07-11 10:59:14 +00:00
Max Horn
71bc3a3ba6 Move scaler key handling to a separate method (this helps to fix a GCC 4.0 warning, makes pollEvent() cleaner); fixed some code formatting issues
svn-id: r18534
2005-07-11 10:54:53 +00:00
Max Horn
8a59ff208c Fix more GCC 4.0 warnings
svn-id: r18533
2005-07-11 00:48:27 +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
Torbjörn Andersson
c598bb78bb Cleanup.
svn-id: r18529
2005-07-10 13:37:03 +00:00
Lars Persson
215efc3ed9 Updated build files for Symbian/Epoc so they now also includes SAGA
svn-id: r18528
2005-07-09 23:25:45 +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
Torbjörn Andersson
f7a6729a01 This should really be two or three different commits, but I'm too lazy for
that:

* Re-worked the elevator script bug workaround so that it's more consistent
  with the other two script bug workarounds.

* Some renamings to make it more clear that game events and input events
  are two completely different things.

* Added function for clearing pending input events, and used that to fix an
  annoying keyboard repeat bug when closing the debug console. (The console
  would keep re-opening because the key press to open it kept repeating
  even though the key had been released.)

svn-id: r18522
2005-07-09 13:21:21 +00:00
Andrew Kurushin
866d3e3db3 remove 1pixel dos clipping
svn-id: r18521
2005-07-09 10:34:09 +00:00
Eugene Sandulenko
aa13ccd6c3 Commited patch to fix bug #1210836: "ALL: Failed assertion in AdvMame scaler".
Thanks cyx for actual fixing.

svn-id: r18520
2005-07-09 06:44:00 +00:00
Eugene Sandulenko
f8eb0bffdf Mention Zak C64 support.
svn-id: r18519
2005-07-09 06:30:46 +00:00
Andrew Kurushin
376738bb03 fix final sequence scene height
svn-id: r18518
2005-07-08 18:39:53 +00:00
Max Horn
1a54a5e0e2 Undo previous 'fix' - Bob != bob = blit object
svn-id: r18517
2005-07-08 18:21:55 +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
Max Horn
07b5d93eaa Fixes for RISC OS
svn-id: r18514
2005-07-08 16:16:32 +00:00
Max Horn
954b578063 Spelling fix
svn-id: r18513
2005-07-08 16:16:05 +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
Torbjörn Andersson
e98a0bd15f Added note about GCC 4 fixes. (By the time we make a new stable release it
ought to be fairly well tested, and GCC 4 should have stabilized a bit.)

svn-id: r18511
2005-07-07 17:54:33 +00:00
Travis Howell
56b766f001 Add patch:
1233352 - Fix hanging descheduled entry/exit scripts

svn-id: r18510
2005-07-07 09:52:04 +00:00
Torbjörn Andersson
a89e9ce188 Applied my own patch #1233980 to fix compilation on my unstable Debian box,
and to hopefully fix the previously rejected bug #1233194.

svn-id: r18509
2005-07-07 09:10:19 +00:00
Torbjörn Andersson
e23e1aa1f6 This allows ScummVM to run pre-Dig/FT SCUMM games again when compiled with
GCC 4.0, at least for me. I'm not enough of a language lawyer to say for
certain whether the old code was really undefined, but it's a simple enough
change that shouldn't possibly do any harm.

svn-id: r18507
2005-07-07 06:45:33 +00:00
Gregory Montoir
fc4c06309c possible 'fix' for bug #1233495 (FOTAQ code is so hackish...)
svn-id: r18506
2005-07-06 22:35:18 +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
9d5ee0b9eb Added S60 RSS file if it shall be working with ECompXL. Works on emulator but not for target right now
svn-id: r18501
2005-07-05 21:27:32 +00:00
Lars Persson
caf6151bba Last modifications for Actions to WinCE.
svn-id: r18500
2005-07-05 20:51:54 +00:00
Lars Persson
a5af0165ba * Updated WINCE files to compile with new code sharing with other small screen devices (such as Symbian)
svn-id: r18499
2005-07-05 20:27:14 +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
8b460fdf89 Added note about BS2 script bug.
svn-id: r18492
2005-07-04 07:53:17 +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
Jerome Fisher
407dd03e28 - Small changes to sync with Munt.
svn-id: r18488
2005-07-03 22:56:51 +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