Commit Graph

12435 Commits

Author SHA1 Message Date
Torbjörn Andersson
080483109a Start intro animations with events to prevent the first frame from being
drawn too early. (Scorry still shows up too early, though.)

svn-id: r16411
2005-01-02 15:59:01 +00:00
Torbjörn Andersson
b944ad808b Pausing an animation is done by changing its state now, not by setting a
flag. Added yet another event, and changed the ITE intro to reflect that.
(Which means the waterfalls are no longer drawn over the game title.)

svn-id: r16410
2005-01-02 15:45:38 +00:00
Max Horn
2c7f25435e MT32 support was already added in 0.7.0, clarify that. Small remark: Porters are also very welcome to update the NEWS file (so our users know what great advances occured on the WinCE, PalmOS, Dreamcast, ... ports)
svn-id: r16409
2005-01-02 15:40:09 +00:00
Torbjörn Andersson
5f6108052e Changed "sizeof x" to "sizeof(x)" for consistency with the rest of ScummVM,
and used ARRAYSIZE() instead in two cases.

svn-id: r16408
2005-01-02 14:52:11 +00:00
Torbjörn Andersson
1bc636aaa6 Fixed a few things in the IHNM intro. Most noticeably I've added an event
for starting animations, which I use to prevent the first animation frame
from being drawn too early.

svn-id: r16407
2005-01-02 14:36:00 +00:00
Torbjörn Andersson
9678589779 The 'n_voices' field of the voice LUT was never assigned a value. So if
anyone heard any voices - I did, except under Valgrind - it was pure luck.

svn-id: r16406
2005-01-02 14:30:50 +00:00
Joost Peters
5930ba2ed8 Some spelling/grammar fixes.
svn-id: r16405
2005-01-01 21:00:24 +00:00
Max Horn
74bf578bda Changed the singleton code to allow for custom object factories; this allowed me to change OSystem to use the singleton base class, too
svn-id: r16404
2005-01-01 19:19:06 +00:00
Max Horn
c418282ec7 One day I wanna switch to STL. Really
svn-id: r16403
2005-01-01 18:56:03 +00:00
Max Horn
f52be9df68 Changed OSystem::instance() to return a reference, not a pointer (it now matches the Singleton interface)
svn-id: r16402
2005-01-01 18:53:47 +00:00
Max Horn
03d4a6fa47 Removing obsolete comment
svn-id: r16401
2005-01-01 17:52:17 +00:00
Max Horn
6797144568 BS2 copyright text needs to be clarified
svn-id: r16400
2005-01-01 16:25:56 +00:00
Max Horn
2664ca7eb1 oops, correct copyright string
svn-id: r16399
2005-01-01 16:20:17 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Torbjörn Andersson
5178822833 Updated copyright year.
svn-id: r16397
2005-01-01 15:10:22 +00:00
Torbjörn Andersson
cab8e3a66d Applied patch #1093830, with slight modifications proposed by Fingolfin.
svn-id: r16396
2004-12-31 17:51:45 +00:00
Torbjörn Andersson
c27969d5db Slight adjustment of placard text position. It's still not identical to the
original, but I don't consider that to be a problem.

svn-id: r16395
2004-12-31 17:39:57 +00:00
Gregory Montoir
a44e824815 added some comments and re-indented some parts of code
svn-id: r16394
2004-12-31 00:25:18 +00:00
Gregory Montoir
f06348440f correction for previous correction :)
svn-id: r16393
2004-12-30 23:59:30 +00:00
Gregory Montoir
a8f58dcacc minor correction, checked against disasm
svn-id: r16392
2004-12-30 23:44:44 +00:00
Max Horn
acd1f910d5 Handle SCUMMVM_SAVEPATH exactly like the command line option --savepath (but the command line option has higher priority); i.e. it's affecting the config system (see also bug #1045171)
svn-id: r16391
2004-12-30 21:48:22 +00:00
Eugene Sandulenko
75f31d28c9 o COde formatting
o Improved debug output
o Do not produce a lot of frameCount < 0 messages
o Okk now appears after first scene
o implemented yet another animation function
o Renamed SF_* -> sf* for functions I know are correct

svn-id: r16390
2004-12-30 18:45:48 +00:00
Max Horn
682dfbcaf7 cleanup
svn-id: r16389
2004-12-30 15:30:26 +00:00
Max Horn
6fb82b2494 Final part of the fix for bug #1091802 (GUI: Credits scroll glitch)
svn-id: r16388
2004-12-30 14:55:20 +00:00
Torbjörn Andersson
1a27617a95 Renamed the "placard" opcode functions. They should be reasonably bug free
now.

svn-id: r16387
2004-12-30 14:54:40 +00:00
Torbjörn Andersson
8ce71ebb20 Fixed warning.
svn-id: r16386
2004-12-30 14:54:08 +00:00
Max Horn
92a43e14a0 silly me, shouldn't test a variable which wasn't even set <sigh>
svn-id: r16385
2004-12-30 14:53:17 +00:00
Max Horn
989ae40402 Swallow ctrl-alt keyup events, too
svn-id: r16384
2004-12-30 14:48:21 +00:00
Max Horn
f0d0ce7979 Reduce time till scrolling starts inthe about dialog; pressing shift/alt now causes faster/reverse scrolling (this is an insider trick and not documented on purpose :-)
svn-id: r16383
2004-12-30 14:21:16 +00:00
Max Horn
60deb4200b cleanup
svn-id: r16382
2004-12-30 14:13:14 +00:00
Max Horn
246f14bb40 set key modifiers for keyup events, too; use SDL_GetModState to determine mod flags, so that the modifier flags get set if e.g. the shift key is pressed alone
svn-id: r16381
2004-12-30 14:11:00 +00:00
Max Horn
9581bd5691 Fix for bug #1091801 (ALL: Possible to create corrupt config file)
svn-id: r16379
2004-12-30 12:54:04 +00:00
Andrew Kurushin
8531caf822 - fixed canWalk bug
svn-id: r16378
2004-12-29 22:50:19 +00:00
Andrew Kurushin
5019da43bd - some update
svn-id: r16377
2004-12-29 22:31:21 +00:00
Andrew Kurushin
cc2f79394b - fixing compilation
svn-id: r16376
2004-12-29 22:00:47 +00:00
Andrew Kurushin
41a5251e28 - some work in progress
svn-id: r16375
2004-12-29 21:49:25 +00:00
Eugene Sandulenko
8cf04e3928 Just compared with original. Correct fade durations confirmed. I just used
to our 3x slower ones :).

svn-id: r16374
2004-12-29 19:45:57 +00:00
Eugene Sandulenko
80647dd424 PALETTE_FADE_DURATION -> kNormalFadeDuration
svn-id: r16373
2004-12-29 19:40:59 +00:00
Eugene Sandulenko
904af077e3 Let user exit at the transition, i.e. process user input
svn-id: r16372
2004-12-29 19:17:20 +00:00
Torbjörn Andersson
a5656fa83e Implemented the "placard" functions, because they're such a nice visual
feedback that something right is happening.

svn-id: r16371
2004-12-29 16:10:53 +00:00
Torbjörn Andersson
fd0efdc654 Might as well initialise this variable.
svn-id: r16370
2004-12-29 16:05:12 +00:00
Andrew Kurushin
6b4264d3a8 - fixed fingolfin notification
svn-id: r16369
2004-12-29 14:33:14 +00:00
Gregory Montoir
4d46b7882a oops... thanks wjp for pointing me this one
svn-id: r16368
2004-12-29 14:25:20 +00:00
Max Horn
44531e4aee Fix warning. SAGA coders should fix this properly :-)
svn-id: r16367
2004-12-29 12:59:17 +00:00
Travis Howell
d6547ea536 Compile fix from cyx
svn-id: r16366
2004-12-29 05:01:27 +00:00
Eugene Sandulenko
db249a8fe1 Fix regression with IHNM.
Add IHNM demo MD5s. demo does not work at all yet

svn-id: r16365
2004-12-28 23:18:11 +00:00
Andrew Kurushin
cc18520fe5 -addition to previous
svn-id: r16364
2004-12-28 21:33:46 +00:00
Andrew Kurushin
d6a4ffc2b0 - many actor walk related functions added
- implemented script functions for scriptDoors (except iso mode)
- introduced getDisplayWidth() getDisplayHeight() getStatusYOffset getPathYOffset()

svn-id: r16363
2004-12-28 21:27:18 +00:00
Max Horn
a40ed29abd Renamed _clickedWidget -> _dragWidget; if a drag is in process, send the mouse moved / mouse up events to the widget on which the drag is performed (this fixes at least one bug and improves the user experience)
svn-id: r16362
2004-12-28 21:07:34 +00:00
Eugene Sandulenko
8e42cbde2a Remove leftover debug message
svn-id: r16361
2004-12-28 21:04:58 +00:00