Commit Graph
45 Commits
Author SHA1 Message Date
Paweł Kołodziejski 06902574b4 GRIM: Janitorial 2022-06-08 01:12:00 +02:00
Paweł Kołodziejski 25b50c058e GRIM: Fixed compilation 2022-06-05 22:46:34 +02:00
Paweł Kołodziejski 74e5684257 GRIM: Added Lua V1 'GetCameraPosition' opcode 2022-06-05 22:14:43 +02:00
Paweł Kołodziejski 20cb0ae228 ALL: Cleanup ResidualVM -> ScummVM 2021-12-26 21:19:38 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh ee57380de7 ENGINES: JANITORIAL: Remove 'virtual' when override is specified 2021-11-14 14:32:04 +02:00
Pawel Kolodziejski 490bedb584 ALL: Fixed some compiler warnings while using c++11 2020-09-25 18:51:18 +02:00
Christian Krause 36b037c81d EMI: Refactor conversion of sound volume values
- LUA code uses a range of 0 .. 100
- the LUA group volumes are in the range 25 .. 100, otherwise the sound
  group is muted
- residualvm engine uses a range of 0 .. Audio::Mixer::kMaxChannelVolume
- do most of the conversion in lua_v2_sound.cpp
- most parts of the engine will solely use the engine internal range
- only when reading/writing the registry residualvm continues to use
  a special conversion for compatibility with the volume settings
  of the residualvm engine settings
- proper handling of volumes close to 0.0f in SoundTrack::updatePosition()
2014-10-27 01:10:29 +01:00
Joni Vähämäki faee19636f EMI: Implement ImPause and ImResume. 2014-08-09 14:14:15 +03:00
Joni Vähämäki 7a3cdcdca2 EMI: Pause sounds in draw mode. 2014-08-06 19:43:04 +03:00
Joel Teichroeb bed29f07b3 EMI: Stub SetReplayMode 2014-07-29 14:53:18 -07:00
Joni Vähämäki 2e3cf9ac2d EMI: Implement WalkActorVector. 2014-07-29 13:37:44 -07:00
Joni Vähämäki 39fa931012 EMI: Continuously update the look at vector when looking at an actor. 2014-07-05 14:14:53 +03:00
Joni Vähämäki 3adbd1fdcf EMI: Implement head tracking. 2014-07-02 22:43:50 +03:00
Dries Harnie df517ea6fc EMI: Implement WorldToScreen 2014-06-05 07:50:49 -07:00
Joel Teichroeb 21ca0acedc GRIM: Add override to overriden functions 2014-05-30 17:45:22 -07:00
Pawel Kolodziejski 8759900b6a ALL: synced with ScummVM 2014-04-05 18:18:42 +02:00
Christian Krause 967d0b0589 EMI: Minor refactoring for setting chores and costumes
Refactor some repeated code blocks into a single function.
2014-01-08 23:19:46 +01:00
Einar Johan Trøan Sømåen e843d7855b Merge pull request #775 from inguin/emi-pause
EMI: Improve pause handling
2013-12-11 16:26:09 -08:00
Ingo van Lil 4788a21e0a EMI: Improve pause handling
Both EMI and Grim call RenderModeUser when entering the menus or dialogs,
but EMI does not use special "blast" commands to display text or images,
so we cannot suspend regular screen updates. The current implementation
does not switch engine modes in RenderModeUser, which has the drawback
that the frame time is not stopped during pause or menu.

With this patch, EMI handles draw mode like normal mode with frozen frame
time.
2013-12-12 01:17:27 +01:00
Christian Krause 469d1297e6 EMI: Fix costume handling
If a costume is not found in the existing costume stack of an actor,
try to load it via actor->pushCostume().
2013-12-12 01:10:12 +01:00
Einar Johan Trøan Sømåen e036a5bccb Merge pull request #766 from chkr-private/sound-fixes
EMI: Music and sound effect enhancements
2013-12-02 04:54:13 -08:00
Christian Krause a0476168af EMI: Implement IsSoundPlaying
IsSoundPlaying is needed for the ambient sounds in EMI. It needs to
return true during playing to avoid a premature lua call to free_sfx
and it needs to return false once the sound is finished to allow the
transition to the next ambient sound effect.
2013-12-01 23:30:15 +01:00
Einar Johan Trøan Sømåen 52cdd432b0 EMI: Fix the intro at cs_dock getting stuck in the PS2-version.
IsActorChoring takes different parameters in EMI than it does in Grim,
the original code was prudent enough about checking it’s parameters that
it actually ran fine, however the problem was that the argument that
said whether we should ignore looping chores was moved. This lets the
intro play the cut scene on the docks.
2013-11-29 22:16:59 +01:00
Christian Krause 56605c02aa EMI: Fix turn_rate of voodoo chair
The turn rate for the chair of the voodoo lady is set to 1 in the lua
code which makes the turn animation very slow (> 30s).

Since the rate value of 1 is not used otherwise in EMI, adjust the
turnrate in this case.
2013-11-26 21:04:55 +01:00
Andrea Corna fcadc4af48 EMI: Add functions to handle saving preferences outside efmi.cfg and relative hooks in scripts 2013-09-10 00:00:24 +02:00
Joel Teichroeb 7a4b847fdf Revert "EMI: Allow lighting to be enabled"
This reverts commit 48bc8de2c8.
2013-07-12 12:08:14 -07:00
Joel Teichroeb 48bc8de2c8 EMI: Allow lighting to be enabled 2013-07-10 15:08:47 -07:00
Einar Johan Trøan Sømåen fa507a2153 EMI: Stub OverWorldToScreen, breaking the Control Options in ways. 2013-07-05 19:38:53 +02:00
Christian Mayer 3627ec88a9 EMI: opcode LocalizeString in overwritten in lua_v2 2013-07-01 23:32:14 +02:00
Paweł Kołodziejski 175620b62a ALL: change license headers from LGPL to GPL, and few updates 2012-12-19 23:15:43 +01:00
Einar Johan Trøan Sømåen 0a9f72bc41 EMI: Tell EMI-PS2 we have no memory card inserted 2012-11-26 17:54:19 +01:00
Dries Harnie a545481d56 EMI: Remove Saves/ prefix for load dialog 2012-11-14 00:08:06 +01:00
Dries Harnie 0a3858dc62 EMI: Return float coordinates in Lua_V2::GetTextCharPosition 2012-11-13 01:14:30 +01:00
Joel Teichroeb 1bfbc0c64b EMI: Stub some functions that are needed in the scumm bar 2012-08-19 12:16:28 -07:00
Dries Harnie 381ae8e95c EMI: Implement missing SetChoreLooping opcode 2012-07-12 23:15:11 +02:00
Joel Teichroeb 41ac993793 EMI: Stub GammaEnabled 2012-04-19 20:24:49 -07:00
Joel Teichroeb 393fd3ebe6 EMI: Stub GetFontDimensions 2012-04-19 20:23:31 -07:00
Giulio Camuffo d9a311b96a Merge pull request #550 from Botje/better-anims
EMI: Render animations properly
2012-03-06 13:00:32 -08:00
Paweł Kołodziejski 0086e799e4 EMI: formatting 2012-03-05 12:19:04 +01:00
Dries Harnie f21f2867fb EMI: Support strings as walk/rest/mumble/turn chores 2012-03-04 22:52:49 +01:00
Joel Teichroeb 5d99091f25 EMI: Implement and stub various opcodes 2012-02-18 14:13:28 -08:00
Joel Teichroeb faa0c3430a EMI: Implement opcode PlaySound 2012-02-17 20:06:04 -08:00
Joel Teichroeb a979958479 EMI: Implement opcode StopSound 2012-02-17 17:04:16 -08:00
Einar Johan T. Sømåen 5a3c3cc779 EMI: Move lua_v2 into the emi-subfolder 2012-01-29 16:37:30 +01:00