Commit Graph
80 Commits
Author SHA1 Message Date
Dries Harnie f393929c6f EMI: Always enable subtitles for the demo
Fixes #1161.
Tested on the German and Spanish demo.
2020-05-17 13:49:54 +02:00
Bastien Bouclet f31ef249ba GRIM: Only request actual save slots in listSaves and lua. 2016-01-31 07:02:02 +01:00
Christian Krause 09bb2d7b0d EMI: Fix sanity check in Lua_V2::SetLayerSortOrder
Correct typo in sanity check and add an error message for
wrong parameters.
2015-05-05 23:22:42 +02:00
David Cardwell 9b1bbd61dc EMI: Change the file-extension of PS2 saves
Prevent conflicts with incompatible save files by changing the
file-extension of PS2 saves to “*.ps2”.
2015-02-14 14:18:09 -05:00
David Cardwell 3952fda0e3 EMI: Append filename to PS2 saves
Append “.gsv” to filenames so that ResidualVM’s load screen will show
them.  However, the description text is internal names such as
“/txtsavwed/“.
2015-02-14 14:18:09 -05:00
David Cardwell c2d0941890 EMI: Allow saving in-game on the PS2 version
Change the memory card id and the reported free space so that the game
is able to save.
2015-02-14 14:18:09 -05:00
Christian Krause ad2ce4a87e EMI: Fix memleaks caused by specialtyTextures
- delete screenshot after texture is created
- free _data[] entries in BitmapData::freeData()
- destroy _specialtyTextures[] entries in
  graphic driver's destructors
2014-12-31 15:47:36 +01:00
Joseph Jezak 68bf45f373 EMI: Additional conversions from interest/roll to _rot. 2014-08-19 21:15:18 -04:00
Joseph Jezak 32a41525ee EMI: Implement Lua functions for getting camera rotation. 2014-08-19 18:35:32 -04:00
Joel Teichroeb 67440488ff Merge pull request #964 from JoseJX/FixTextPositions
EMI: Correct problems with text positions and word wrapping.
2014-08-06 09:51:58 -07:00
Joni Vähämäki 7a3cdcdca2 EMI: Pause sounds in draw mode. 2014-08-06 19:43:04 +03:00
Joseph Jezak 5478023fae EMI: Remove warning from GetFontDimensions. 2014-08-04 22:01:21 -04:00
Joseph Jezak febd94c8db EMI: WorldToScreen returns a float representation of the screen position. 2014-08-04 21:12:23 -04:00
Joseph Jezak e638c09ba6 GRIM/EMI: Adjust the width and height names to better reflect usage. 2014-08-04 11:14:28 -04: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
Pawel Kolodziejski a39576d921 GRIM/EMI: attempt to fix over read buffer. cleanup types 2014-07-24 15:37:11 +02:00
Christian Krause 1e82136592 EMI: Implement screenshot thumbnails for savegames 2014-07-16 23:18:43 +02:00
Dries Harnie df517ea6fc EMI: Implement WorldToScreen 2014-06-05 07:50:49 -07:00
Joel Teichroeb 0f3da43694 GRIM: Change NULL to nullptr. 2014-05-30 17:43:08 -07:00
Pawel Kolodziejski 8759900b6a ALL: synced with ScummVM 2014-04-05 18:18:42 +02:00
Christian Krause 446f56eb67 GRIM/EMI: Fix compile warnings 2014-02-15 18:40:19 +01:00
Christian Krause ff930b84de EMI: use enableSubtitles parameter of StartMovie lua function 2014-01-05 12:58:19 +01: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 e8ffe93119 EMI: save/restore layer pool
- this fixes one crash after savegame restore when
Lua_V2::AdvanceLayerFrame() was trying to dereference a non-existing
layer object
2013-12-04 00:55:14 +01:00
Ingo van Lil 5d2e2240b7 EMI: Rework text stack handling
The text stack in EMI must be saved and restored in save games because
the game will call PopText after returning from the menu. Instead of
managing separate lists for each text stack level this patch adds a
_stackLevel field that is incremented for PushText and decremented for
PopText. Only text objects from the stack top (level 0) are rendered.
2013-12-01 23:45:07 +01:00
Dries Harnie 14ee118208 EMI: Un-stub Lua_v2#NukeAllScriptLocks 2013-11-05 07:40:22 -08: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 46eec672a8 EMI: Properly initialize msgId in Lua_V2::LocalizeString. Fixes a memory corruption crash 2013-07-14 12:11:58 -07: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 2772e8fb3b EMI: Implement Layer. Still need to draw it though 2013-07-12 09:29:30 -07:00
Einar Johan Trøan Sømåen 2b5a11db72 Merge pull request #747 from somaen/stubs
EMI: Stub more Lua_V2-functions, and read most parameters.
2013-07-12 09:22:40 -07:00
Einar Johan Trøan Sømåen ec697300b3 EMI: Stub more Lua_V2-functions, and read most parameters.
CompleteChore
GetSoundVolume
SetSoundVolume
UpdateSoundPosition
ImStateHasLooped
GetCameraPitch
PitchCamera
RollCamera
YawCamera
NukeAllScriptLocks
FRUTEY_Begin
FRUTEY_End
2013-07-12 17:34:37 +02:00
Einar Johan Trøan Sømåen 03002c97e7 EMI: Add casts to Layer-functions, to get rid of warnings. 2013-07-12 17:10:45 +02:00
Joel Teichroeb 8637a4adfe EMI: Stub functions related to layers 2013-07-11 20:58:57 -07:00
Joel Teichroeb 48bc8de2c8 EMI: Allow lighting to be enabled 2013-07-10 15:08:47 -07:00
Joel Teichroeb 08d749e730 GRIM: Remove including savefile.h from savegame.h 2013-07-09 22:54:45 -07:00
Einar Johan Trøan Sømåen fe3883cecd GRIM: Reformat code to be closer to convention. 2013-07-09 21:12:55 +02:00
Joel Teichroeb 1593fefb45 EMI: Add support for pushing and popping text objects 2013-07-07 12:39:58 -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
Dries Harnie 91b18b9041 EMI: Filter savegame list to avoid GRIM-saves polluting it. 2013-07-01 23:05:52 +02:00
Dries Harnie 59d192bcc3 EMI: Stub for EnableActorPuck 2013-05-22 20:58:48 +02:00
Dries Harnie 50c0c32b3d EMI: Implement Lua_V2::GetCameraPos 2013-05-22 20:26:30 +02:00
Giulio Camuffo e93e33fb80 GRIM: Save and restore the movie subtitle. Bump save version to 22.6. 2013-01-16 14:49:37 +01:00
Giulio Camuffo c167a27315 GRIM: Make Sector::getName() return a Common::String. 2012-12-28 21:17:11 +01: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
Einar Johan Trøan Sømåen 4f1f4aeb4d EMI: Implement DimScreen and add hacks to UnDimRegion to make it work 2012-11-21 18:17:24 +01:00
Dries Harnie 908feae9d3 EMI: Reset engine mode to normal after loading 2012-11-14 00:08:07 +01:00